From d769b84431913171f0ae9a372a4bd98523322e6e Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Fri, 18 Jun 2021 14:27:11 -0400 Subject: [PATCH 001/134] Change default branch name to main (#15840) --- eng/pipelines/mgmt-ci.yml | 3 ++- eng/pipelines/templates/jobs/ci.yml | 2 +- sdk/storage/test-resources-post.ps1 | 4 ++-- sdk/tables/test-resources-post.ps1 | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/eng/pipelines/mgmt-ci.yml b/eng/pipelines/mgmt-ci.yml index 99f3a3ee0ec7..ca673f27b163 100644 --- a/eng/pipelines/mgmt-ci.yml +++ b/eng/pipelines/mgmt-ci.yml @@ -2,6 +2,7 @@ trigger: branches: include: - master + - main paths: include: - eng/pipelines/mgmt-pr.yml @@ -220,7 +221,7 @@ jobs: inputs: verbose: false - - script: 'gulp pack --base-reference=master --head-reference=master' + - script: 'gulp pack --base-reference=main --head-reference=main' displayName: 'gulp pack' - task: CopyFiles@2 diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index eec9b5624fc6..22ad61dda60e 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -33,7 +33,7 @@ jobs: - script: | echo "##vso[build.addbuildtag]Scheduled" displayName: "Tag scheduled builds" - condition: and(always(),and(eq(variables['Build.SourceBranchName'],'master'),eq(variables['Build.Reason'],'Schedule'))) + condition: and(always(),and(eq(variables['Build.SourceBranchName'],'main'),eq(variables['Build.Reason'],'Schedule'))) - template: ../steps/common.yml diff --git a/sdk/storage/test-resources-post.ps1 b/sdk/storage/test-resources-post.ps1 index 3e61bc86c32d..d838305fec31 100644 --- a/sdk/storage/test-resources-post.ps1 +++ b/sdk/storage/test-resources-post.ps1 @@ -5,8 +5,8 @@ # There are no documented approaches to specifying CORS rules using ARM, this is a workaround until # support for setting CORS rules is added to ARM for Queues -# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/master/eng/New-TestResources.ps1 -# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/test-resources.json, +# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/main/eng/New-TestResources.ps1 +# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/test-resources.json, # is finished being deployed. The ARM template is responsible for creating the Storage accounts needed for live tests. param ( diff --git a/sdk/tables/test-resources-post.ps1 b/sdk/tables/test-resources-post.ps1 index c4d042cdae42..6108ae34feed 100644 --- a/sdk/tables/test-resources-post.ps1 +++ b/sdk/tables/test-resources-post.ps1 @@ -5,8 +5,8 @@ # There are no documented approaches to specifying CORS rules using ARM, this is a workaround until # support for setting CORS rules is added to ARM for Tables -# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/master/eng/New-TestResources.ps1 -# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/test-resources.json, +# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/main/eng/New-TestResources.ps1 +# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/test-resources.json, # is finished being deployed. The ARM template is responsible for creating the Storage accounts needed for live tests. param ( @@ -35,4 +35,4 @@ $corsRules = (@{ Set-AzStorageCORSRule -ServiceType 'Table' -CorsRules $corsRules -Context $context -Write-Verbose "CORS rule set for $storageAccountName" \ No newline at end of file +Write-Verbose "CORS rule set for $storageAccountName" From 1d0b3dd7ae5a2192ca902ac1835fc31a6898121d Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 18 Jun 2021 13:45:45 -0700 Subject: [PATCH 002/134] Fix hard-coded master (#15843) Co-authored-by: Chidozie Ononiwu --- eng/common/pipelines/templates/steps/set-default-branch.yml | 4 ++-- eng/common/scripts/update-docs-metadata.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/common/pipelines/templates/steps/set-default-branch.yml b/eng/common/pipelines/templates/steps/set-default-branch.yml index e3eed4512d97..491edaa8b68d 100644 --- a/eng/common/pipelines/templates/steps/set-default-branch.yml +++ b/eng/common/pipelines/templates/steps/set-default-branch.yml @@ -5,8 +5,8 @@ steps: - pwsh: | $setDefaultBranch = (git remote show ${{ parameters.RemoteRepo }} | Out-String) -replace "(?ms).*HEAD branch: (\w+).*", '$1' if ($LASTEXITCODE -ne 0) { - Write-Host "Not able to fetch the default branch from git command. Set to master." - $setDefaultBranch = 'master' + Write-Host "Not able to fetch the default branch from git command. Set to main." + $setDefaultBranch = 'main' } Write-Host "Setting DefaultBranch=$setDefaultBranch" Write-Host "##vso[task.setvariable variable=DefaultBranch]$setDefaultBranch" diff --git a/eng/common/scripts/update-docs-metadata.ps1 b/eng/common/scripts/update-docs-metadata.ps1 index fc16fea9e552..6154afd51591 100644 --- a/eng/common/scripts/update-docs-metadata.ps1 +++ b/eng/common/scripts/update-docs-metadata.ps1 @@ -24,7 +24,7 @@ param ( . (Join-Path $PSScriptRoot common.ps1) -$releaseReplaceRegex = "(https://github.com/$RepoId/(?:blob|tree)/)master" +$releaseReplaceRegex = "(https://github.com/$RepoId/(?:blob|tree)/)main" function GetMetaData { if (Test-Path Variable:MetadataUri) { From ddf4714fb8069c86934e93383fcd5285cf700e11 Mon Sep 17 00:00:00 2001 From: Jianping Chen Date: Fri, 18 Jun 2021 13:54:27 -0700 Subject: [PATCH 003/134] [Communication]: Always use x-ms-date for Hmac (#15807) * Always use x-ms-date for Hmac * Try to fix phone number tests * Still another error in phone number tests * Update phoneNumber session records * Update phone numbers node sessions * Manually fix node record sessions for phone numbers * Update missed session files Co-authored-by: JP Chen --- .../communicationAccessKeyCredentialPolicy.ts | 2 +- ...communicationIdentityClient.mocked.spec.ts | 2 +- ...ding_can_get_a_purchased_phone_number.json | 12 +- ...ding_errors_if_phone_number_not_found.json | 12 +- ...ding_can_get_a_purchased_phone_number.json | 20 +- ...ding_errors_if_phone_number_not_found.json | 20 +- ..._can_list_all_purchased_phone_numbers.json | 12 +- ..._can_list_all_purchased_phone_numbers.json | 20 +- ...n_purchase_and_release_a_phone_number.json | 228 +++++++--------- ...n_purchase_and_release_a_phone_number.json | 249 ++++++++---------- ...r_1_available_phone_number_by_default.json | 40 +-- ...ding_throws_on_invalid_search_request.json | 10 +- ...r_1_available_phone_number_by_default.json | 48 ++-- ...ding_throws_on_invalid_search_request.json | 18 +- ...n_update_a_phone_numbers_capabilities.json | 93 +++---- ...e_throws_when_phone_number_isnt_owned.json | 14 +- ...n_update_a_phone_numbers_capabilities.json | 99 +++---- ...e_throws_when_phone_number_isnt_owned.json | 20 +- ...ording_can_get_a_purchased_phone_number.js | 12 +- ...ording_errors_if_phone_number_not_found.js | 12 +- ...ording_can_get_a_purchased_phone_number.js | 40 +-- ...ording_errors_if_phone_number_not_found.js | 40 +-- ...ng_can_list_all_purchased_phone_numbers.js | 12 +- ...ng_can_list_all_purchased_phone_numbers.js | 46 ++-- ...can_purchase_and_release_a_phone_number.js | 248 +++++++---------- ...can_purchase_and_release_a_phone_number.js | 232 ++++++++-------- ...for_1_available_phone_number_by_default.js | 40 +-- ...ording_throws_on_invalid_search_request.js | 10 +- ...for_1_available_phone_number_by_default.js | 72 ++--- ...ording_throws_on_invalid_search_request.js | 38 +-- ...can_update_a_phone_numbers_capabilities.js | 70 ++--- ...ate_throws_when_phone_number_isnt_owned.js | 18 +- ...can_update_a_phone_numbers_capabilities.js | 120 +++++---- ...ate_throws_when_phone_number_isnt_owned.js | 50 ++-- .../test/internal/headers.spec.ts | 2 +- .../test/public/get.spec.ts | 7 +- .../test/public/smsClient.mocked.spec.ts | 2 +- 37 files changed, 931 insertions(+), 1059 deletions(-) diff --git a/sdk/communication/communication-common/src/credential/communicationAccessKeyCredentialPolicy.ts b/sdk/communication/communication-common/src/credential/communicationAccessKeyCredentialPolicy.ts index 502017abec82..1e28dae030b0 100644 --- a/sdk/communication/communication-common/src/credential/communicationAccessKeyCredentialPolicy.ts +++ b/sdk/communication/communication-common/src/credential/communicationAccessKeyCredentialPolicy.ts @@ -58,7 +58,7 @@ class CommunicationAccessKeyCredentialPolicy extends BaseRequestPolicy { const verb = webResource.method.toUpperCase(); const utcNow = new Date().toUTCString(); const contentHash = await shaHash(webResource.body || ""); - const dateHeader = isNode ? "date" : "x-ms-date"; + const dateHeader = "x-ms-date"; const signedHeaders = `${dateHeader};host;x-ms-content-sha256`; const url = URLBuilder.parse(webResource.url); diff --git a/sdk/communication/communication-identity/test/public/communicationIdentityClient.mocked.spec.ts b/sdk/communication/communication-identity/test/public/communicationIdentityClient.mocked.spec.ts index a83e1412484d..4817709b686d 100644 --- a/sdk/communication/communication-identity/test/public/communicationIdentityClient.mocked.spec.ts +++ b/sdk/communication/communication-identity/test/public/communicationIdentityClient.mocked.spec.ts @@ -13,7 +13,7 @@ import { TestCommunicationIdentityClient } from "./utils/testCommunicationIdenti import { exchangeTeamsTokenHttpClient, getTokenHttpClient } from "./utils/mockHttpClients"; describe("CommunicationIdentityClient [Mocked]", () => { - const dateHeader = isNode ? "date" : "x-ms-date"; + const dateHeader = "x-ms-date"; const user: CommunicationUserIdentifier = { communicationUserId: "ACS_ID" }; afterEach(() => { diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.json index 46ae9f72f3a4..eed58ef6f638 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.json @@ -8,17 +8,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:17 GMT", - "ms-cv": "6ChZTTXvHEeRtFNpl7OP3w.0", + "date": "Fri, 18 Jun 2021 16:38:55 GMT", + "ms-cv": "R4GWZrAg1UCUw0Vf0xqNBw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0nFy2YAAAAAAGsRbCOzR3R5TAhHzDcrp5WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0H8zMYAAAAADvV2KoWrgAR5NAw11afSD9WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1074ms" + "x-processing-time": "1105ms" } } ], @@ -26,5 +26,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9b48c99747b8d694d1693146c9f46244" + "hash": "6ae4c43f2e4aa30856ac043ba5656ee5" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.json index 292b25d5e716..7095aa78f56a 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.json @@ -8,17 +8,17 @@ }, "requestBody": null, "status": 404, - "response": "{\"error\":{\"code\":\"PhoneNumberNotFound\",\"message\":\"The specified phone number +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", + "response": "{\"error\":{\"code\":\"NotFound\",\"message\":\"Input phoneNumber +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json", - "date": "Tue, 01 Jun 2021 16:13:18 GMT", - "ms-cv": "2r+SvqDDbEi2+zhSjnrAWw.0", + "date": "Fri, 18 Jun 2021 16:38:56 GMT", + "ms-cv": "9bMvqBAnQkejBpqaGzO5Sw.0", "request-context": "appId=", "status": "404", - "x-azure-ref": "0nVy2YAAAAAB1mBqGyi+VT6YBwebKoRwJWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0IMzMYAAAAAAysZHi4x8YR63Eg1oivYSlWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "952ms" + "x-processing-time": "375ms" } } ], @@ -26,5 +26,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "90e064cb005516c2fa1918bdcded2120" + "hash": "6f59980391ba29cbfe24ed7a38b9500d" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.json index c0f4b523411d..25096db9b3df 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:10 GMT", + "date": "Fri, 18 Jun 2021 16:38:52 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -32,17 +32,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:15 GMT", - "ms-cv": "UoiZEntyqU+5422iYmwaJw.0", + "date": "Fri, 18 Jun 2021 16:38:53 GMT", + "ms-cv": "X7KoivmRI0ORvOvQiRe5Yw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0lly2YAAAAACjlj+c38MrR56259OJBCz9WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0HczMYAAAAADurcVbQQZMT6IQ1w5A9EM3WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "4870ms" + "x-processing-time": "1050ms" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9b48c99747b8d694d1693146c9f46244" + "hash": "6ae4c43f2e4aa30856ac043ba5656ee5" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.json index 10b783aa51e1..1bf17e39b33d 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:15 GMT", + "date": "Fri, 18 Jun 2021 16:38:54 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -32,17 +32,17 @@ }, "requestBody": null, "status": 404, - "response": "{\"error\":{\"code\":\"PhoneNumberNotFound\",\"message\":\"The specified phone number +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", + "response": "{\"error\":{\"code\":\"NotFound\",\"message\":\"Input phoneNumber +14155550100 cannot be found.\",\"target\":\"phonenumber\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json", - "date": "Tue, 01 Jun 2021 16:13:16 GMT", - "ms-cv": "dry4h3yhHkSyYFJ+91SzcQ.0", + "date": "Fri, 18 Jun 2021 16:38:54 GMT", + "ms-cv": "RJENxzbm60KRcH6zKkveOQ.0", "request-context": "appId=", "status": "404", - "x-azure-ref": "0nFy2YAAAAACWQNDhSRKpSrTiqZ4jEkq5WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0HszMYAAAAABTQe7SBlVDQrRXkRelezQPWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "452ms" + "x-processing-time": "343ms" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "90e064cb005516c2fa1918bdcded2120" + "hash": "6f59980391ba29cbfe24ed7a38b9500d" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.json index 9c80c0277f1a..f42666e8f8c0 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.json @@ -9,17 +9,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-14T00:23:52.1861991+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-06T23:27:52.858607+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-25T00:03:06.2985305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-24T23:39:11.2079613+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-26T23:18:22.4715623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-27T03:05:50.816041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T17:52:41.818335+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T18:01:46.4199999+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2000-01-01T00:00:00+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", + "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-14T00:23:52.1861991+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-06T23:27:52.858607+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-25T00:03:06.2985305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-24T23:39:11.2079613+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-26T23:18:22.4715623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-27T03:05:50.816041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T17:52:41.818335+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T18:01:46.4199999+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2000-01-01T00:00:00+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:22 GMT", - "ms-cv": "UTybx4M+kU60+C+v6I4S8A.0", + "date": "Fri, 18 Jun 2021 16:38:59 GMT", + "ms-cv": "ev0eI8vIb02Mw9Bk1YS5Wg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0oFy2YAAAAADZn/nxyhIKRKhGg11jftIDWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0IszMYAAAAABZJmgvc8ANT4lgye/4RsscWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1394ms" + "x-processing-time": "1582ms" } } ], @@ -27,5 +27,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "b5b5bc3aa53df9cf7b960ec1c7c85595" + "hash": "eca17e433a83b791fc096978816d8e48" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.json index c603d598e8bd..a3c0e27c1d7f 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:18 GMT", + "date": "Fri, 18 Jun 2021 16:38:56 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - NCUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -33,17 +33,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-14T00:23:52.1861991+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-06T23:27:52.858607+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-25T00:03:06.2985305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-24T23:39:11.2079613+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-26T23:18:22.4715623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-27T03:05:50.816041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T17:52:41.818335+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T18:01:46.4199999+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2000-01-01T00:00:00+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", + "response": "{\"phoneNumbers\":[{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"inbound+outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-14T00:23:52.1861991+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"geographic\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-04-06T23:27:52.858607+00:00\",\"cost\":{\"amount\":1.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-25T00:03:06.2985305+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-24T23:39:11.2079613+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-26T23:18:22.4715623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"inbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-05-27T03:05:50.816041+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T17:52:41.818335+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-02-10T18:01:46.4199999+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}},{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2000-01-01T00:00:00+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}]}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:20 GMT", - "ms-cv": "/9cT9XOY6k6orVd9bq4o4A.0", + "date": "Fri, 18 Jun 2021 16:38:57 GMT", + "ms-cv": "gro5f7D8/kKMSt1bnqv7Kw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0nly2YAAAAADt4S/YqLxXQJLFzTP4wym1WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0IczMYAAAAAC5ABiSWvh6RqeE1fy7j4F8WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1837ms" + "x-processing-time": "1427ms" } } ], @@ -51,5 +51,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "b5b5bc3aa53df9cf7b960ec1c7c85595" + "hash": "eca17e433a83b791fc096978816d8e48" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.json index 4aecd1f27551..f7a084fb8859 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.json @@ -13,17 +13,17 @@ "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:14:17 GMT", + "date": "Fri, 18 Jun 2021 16:39:53 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "x4AjC3qOhEWieMXVN5h0Ww.0", + "ms-cv": "57s/f5hy40anKMY/Gvb1Qw.0", "operation-id": "search_sanitized", "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2021-03-07", "request-context": "appId=", "search-id": "sanitized", "status": "202", - "x-azure-ref": "02Fy2YAAAAACA3heNf19pQaODAAg681IRWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0V8zMYAAAAABseXURYwRfS5FRoa1Bhg5jWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2018ms" + "x-processing-time": "1740ms" } }, { @@ -34,19 +34,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:18 GMT", + "date": "Fri, 18 Jun 2021 16:39:54 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "WTYd7qwOL0y84VxxPv4GEw.0", + "ms-cv": "gErObopvEUWXV59PpEoaNg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "02ly2YAAAAABHufyAKCdJS7S/+O0AaFacWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0WczMYAAAAAA0u6Og8d2LRphi7e0bdmrEWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "356ms" + "x-processing-time": "628ms" } }, { @@ -57,19 +57,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:20 GMT", + "date": "Fri, 18 Jun 2021 16:39:56 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "wrcTacu1gkSUyJqQZ70agQ.0", + "ms-cv": "56hyq7kfTEq3db0TaI8nxw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "03Fy2YAAAAAB2X5ELZPfDQIwIRTL9nSQ4WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0XMzMYAAAAABAqO0qMtdTRJCcuMrhZJVSWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "331ms" + "x-processing-time": "367ms" } }, { @@ -80,17 +80,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-01T16:30:20.5719924+00:00\"}", + "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-18T16:55:55.1811708+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:23 GMT", - "ms-cv": "xrys6b8RcEOgkkTHJrd6bg.0", + "date": "Fri, 18 Jun 2021 16:39:59 GMT", + "ms-cv": "r8OA3p+8zEOjP4bSG8EHtA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "031y2YAAAAABC9o/zvAvuQodaE9njVYnpWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0XszMYAAAAABqD1AX/+JzQpZG/q3yIZWwWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "756ms" + "x-processing-time": "885ms" } }, { @@ -106,16 +106,16 @@ "access-control-expose-headers": "Operation-Location,operation-id,purchase-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:14:26 GMT", - "ms-cv": "UpdtTM5eNkKqjbHhI0YIfQ.0", + "date": "Fri, 18 Jun 2021 16:40:03 GMT", + "ms-cv": "1CDST4G+T0GSJj0apgWmHg.0", "operation-id": "purchase_sanitized", "operation-location": "/phoneNumbers/operations/purchase_sanitized?api-version=2021-03-07", "purchase-id": "sanitized", "request-context": "appId=", "status": "202", - "x-azure-ref": "04ly2YAAAAACgoloGOD6fTLCUxevsMGD+WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0YczMYAAAAADtUqa7DCvJRq+d+tHcTDTFWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1671ms" + "x-processing-time": "2178ms" } }, { @@ -126,17 +126,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:27 GMT", - "ms-cv": "N4/RXFwg7EK9/O2JUVJC+Q.0", + "date": "Fri, 18 Jun 2021 16:40:04 GMT", + "ms-cv": "H5s/w7ueyEqZ+cZT8LMMLQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "041y2YAAAAABxoOPdl8swRrOLP5AfhYflWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0Y8zMYAAAAABm+PIqHj77QpTr4fqXyycDWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "335ms" + "x-processing-time": "364ms" } }, { @@ -147,17 +147,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:29 GMT", - "ms-cv": "hTYqXfkDA06xv1GB7OSalw.0", + "date": "Fri, 18 Jun 2021 16:40:06 GMT", + "ms-cv": "MJ1LCbWxBU6Kw+9z4qXKsg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "05ly2YAAAAADoU5BMbhgKTaZe+785ko3BWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0ZszMYAAAAACpmThvAKq9RYgNK48ohX7gWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "337ms" + "x-processing-time": "416ms" } }, { @@ -168,17 +168,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:32 GMT", - "ms-cv": "K4TT7n5rlEyf5Gzy4ynxEA.0", + "date": "Fri, 18 Jun 2021 16:40:09 GMT", + "ms-cv": "jU0AE7k1OUO4jmtTc3hGlQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "06Fy2YAAAAACZNLYun50aSL3ctCZWzf2cWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0aMzMYAAAAAAuYBF5YTKARLX+0SzKKkk9WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "336ms" + "x-processing-time": "615ms" } }, { @@ -189,17 +189,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:34 GMT", - "ms-cv": "eecySp2cZEu/zlH3/EFjKw.0", + "date": "Fri, 18 Jun 2021 16:40:11 GMT", + "ms-cv": "iKzxKh7ywE6rlYMC/LuvAQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "061y2YAAAAADXJcnCxqmjQrPKUde9f1b2WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0a8zMYAAAAACGT1mOMP5GSIFT6C0g3L+nWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "351ms" + "x-processing-time": "384ms" } }, { @@ -210,17 +210,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:37 GMT", - "ms-cv": "4nbPV4KJgEqnyqxPw+bgKQ.0", + "date": "Fri, 18 Jun 2021 16:40:14 GMT", + "ms-cv": "mKQuQSF6KEeiZTiCM/2hJw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "07Vy2YAAAAAD6r3sZmi2pR7lja9mjrD5qWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0bczMYAAAAAAIZw5rlCDeQIKcvjMLSr7WWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "335ms" + "x-processing-time": "388ms" } }, { @@ -231,17 +231,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:40 GMT", - "ms-cv": "aS94SZh1P0SmIRpxpVy65Q.0", + "date": "Fri, 18 Jun 2021 16:40:16 GMT", + "ms-cv": "h4Y6zQQAyEGGPAyu6dAJgQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "071y2YAAAAADJbgSAxCu2R7z7+Lus0qUFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0cMzMYAAAAAAfrusJvEzfQYKLqJedlS3QWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "611ms" + "x-processing-time": "680ms" } }, { @@ -252,17 +252,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:42 GMT", - "ms-cv": "c8DfVMH7B0a8rdaCAxdbRA.0", + "date": "Fri, 18 Jun 2021 16:40:19 GMT", + "ms-cv": "oSqwLQQZt0WKjsXkSjyAgg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "08ly2YAAAAAChdSECKB5dQLw+j8G5GZYZWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0c8zMYAAAAAC0Im3BYXAxQrFIjItzP6pnWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "383ms" + "x-processing-time": "543ms" } }, { @@ -273,38 +273,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:53.1151841+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:45 GMT", - "ms-cv": "WwI+TTXJaka5kT4KJPKOWA.0", + "date": "Fri, 18 Jun 2021 16:40:22 GMT", + "ms-cv": "twqfxXio60yo/ZkN5gkjPA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "09Fy2YAAAAAC2J4m4ApT5QYK6xuqqsJECWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0dczMYAAAAAC7CMIxXGpCTY0m33BnvvCrWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "346ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:18.1389714+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:48 GMT", - "ms-cv": "Mw7veKvC1UGhawQf9GlBTg.0", - "request-context": "appId=", - "status": "200", - "x-azure-ref": "091y2YAAAAABd5a7Am3CITo8/+g2Ex+xeWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1367ms" + "x-processing-time": "634ms" } }, { @@ -315,17 +294,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-01T16:14:44.4901882+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-18T16:40:19.3249552+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:53 GMT", - "ms-cv": "0CrfcOCua0uPO1qZz6ZovA.0", + "date": "Fri, 18 Jun 2021 16:40:28 GMT", + "ms-cv": "FTiIZg9yREObXl9yQsf/Rg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0/Fy2YAAAAAAyhVx02lbQS4cjmCe1YqRlWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0eszMYAAAAABRXW9KfNf4RYJ48hh3sX/6WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1093ms" + "x-processing-time": "2385ms" } }, { @@ -341,37 +320,16 @@ "access-control-expose-headers": "Operation-Location,operation-id,release-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:14:54 GMT", - "ms-cv": "1eL3kmnVeUqDWwcGUQAJlQ.0", + "date": "Fri, 18 Jun 2021 16:40:29 GMT", + "ms-cv": "68LsZHlN2ki23H22wLDXtw.0", "operation-id": "release_sanitized", "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2021-03-07", "release-id": "sanitized", "request-context": "appId=", "status": "202", - "x-azure-ref": "0/Vy2YAAAAACWEYkqvHDcQ4rXKmuj574+WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1065ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/release_sanitized", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:55 GMT", - "ms-cv": "kb0a/FAJeUWSylnqHelb7Q.0", - "request-context": "appId=", - "status": "200", - "x-azure-ref": "0/ly2YAAAAAC0kNrAMIxhS7ghe4Z8O8yEWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0fMzMYAAAAAAxQ4bzDZipTYKAyvQxiXr4WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "397ms" + "x-processing-time": "1329ms" } }, { @@ -382,17 +340,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:40:29.5428606+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:57 GMT", - "ms-cv": "Vi6L/YHmzU2UGl9mVInfsg.0", + "date": "Fri, 18 Jun 2021 16:40:30 GMT", + "ms-cv": "w8/68MBd2EiZyWWw5Azc3A.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0AV22YAAAAADPEjlU9H//SKIxzdyhGO8QWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0fszMYAAAAAD92dxiY2KmS4uNPY39WI82WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "283ms" + "x-processing-time": "421ms" } }, { @@ -403,17 +361,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:40:29.5428606+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:59 GMT", - "ms-cv": "+pjTHMyKr0KejJ1UtROxdw.0", + "date": "Fri, 18 Jun 2021 16:40:32 GMT", + "ms-cv": "rEaGIDZ0qE6E1+je7QPJAA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0A122YAAAAABPh+Ce1ZV/SpsDfq3eBnDFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0gMzMYAAAAAAa1yS2I1w7QJwx5LEXf5ifWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "286ms" + "x-processing-time": "316ms" } }, { @@ -424,17 +382,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:40:29.5428606+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:02 GMT", - "ms-cv": "NcyNORO5gU6c60LFhrWmGQ.0", + "date": "Fri, 18 Jun 2021 16:40:35 GMT", + "ms-cv": "D6Sbrpgr7EC5Lpq+s6MMlg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Bl22YAAAAABzNK8Gty4zSLHYFpeT0zKtWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0g8zMYAAAAAD38WRkFGyNS6rfOWLZAfhXWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "288ms" + "x-processing-time": "348ms" } }, { @@ -445,17 +403,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:54.1894372+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:40:29.5428606+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:04 GMT", - "ms-cv": "IMWiMgFOkE+7c9MKZYnxUA.0", + "date": "Fri, 18 Jun 2021 16:40:37 GMT", + "ms-cv": "aVA3m72hO0+Mwb+jXv+D9Q.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0CF22YAAAAAClCoAO6e0OT7my2xESnXxJWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0hczMYAAAAADIO5qsadWaSIWQ4T4KkjCgWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "342ms" + "x-processing-time": "307ms" } } ], @@ -463,5 +421,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "fa44f3995964677cea8445a9b6dfd114" + "hash": "416927590c0eb89a1bcfcaeaaa937d51" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.json index dd14b8e04e8f..6d0db3b9d5bf 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:21 GMT", + "date": "Fri, 18 Jun 2021 16:39:00 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - SCUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -37,17 +37,17 @@ "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:13:24 GMT", + "date": "Fri, 18 Jun 2021 16:39:01 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "qNhaJikjN0iFJq9cbeA5Tg.0", + "ms-cv": "JsYlaRO4SEmfcsfq2ca3tw.0", "operation-id": "search_sanitized", "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2021-03-07", "request-context": "appId=", "search-id": "sanitized", "status": "202", - "x-azure-ref": "0oly2YAAAAACGNOIpKcvHSIZPAmgMfSKeWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0JMzMYAAAAADl4CINcT8MQoe8fgMIE4SlWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2473ms" + "x-processing-time": "1633ms" } }, { @@ -58,19 +58,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:25 GMT", + "date": "Fri, 18 Jun 2021 16:39:02 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "rhNnxJvxsUCnfvG0uprrKQ.0", + "ms-cv": "3/gFcGL3VE+T3vC3eQmuAg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0pFy2YAAAAAB72OTtMyCmQr8dJVV8zY0qWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0JszMYAAAAACH0zIs6VnlR4KKuMnpHy2ZWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "355ms" + "x-processing-time": "349ms" } }, { @@ -81,19 +81,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:27 GMT", + "date": "Fri, 18 Jun 2021 16:39:04 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "MiDnggRx2U6WbmXE6Nl/Gg.0", + "ms-cv": "HLFjkcE5CEexGXGU6bgi+g.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0p1y2YAAAAABpnr/sgZo7Tp01GNyFWAcuWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0KMzMYAAAAAD6NQpBPZ8yTq1GgoKFDgWbWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "332ms" + "x-processing-time": "358ms" } }, { @@ -104,17 +104,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-01T16:29:26.6554035+00:00\"}", + "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-18T16:55:03.3952323+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:30 GMT", - "ms-cv": "EJmp74VyV0WHh9SGGuru9w.0", + "date": "Fri, 18 Jun 2021 16:39:07 GMT", + "ms-cv": "PJG/XK29UEOCwLImjhKkMQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0qVy2YAAAAABphl/yodM1RqBYoRHSAMT1WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0K8zMYAAAAADa5lZoB+TsSaan+Hu12hZ+WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "662ms" + "x-processing-time": "782ms" } }, { @@ -130,16 +130,16 @@ "access-control-expose-headers": "Operation-Location,operation-id,purchase-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:13:34 GMT", - "ms-cv": "mfeGtczkTEisDpTrJLq2kA.0", + "date": "Fri, 18 Jun 2021 16:39:10 GMT", + "ms-cv": "+ymU6BbRdUmCBEVvSMBuzQ.0", "operation-id": "purchase_sanitized", "operation-location": "/phoneNumbers/operations/purchase_sanitized?api-version=2021-03-07", "purchase-id": "sanitized", "request-context": "appId=", "status": "202", - "x-azure-ref": "0rFy2YAAAAADYCpihEAOjQK8DDWsrwv90WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0LczMYAAAAAAmug57kVcnSaRjQZkWyc/jWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2654ms" + "x-processing-time": "1594ms" } }, { @@ -150,17 +150,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:35 GMT", - "ms-cv": "SRB33ZT88EybuUSxrN0paA.0", + "date": "Fri, 18 Jun 2021 16:39:11 GMT", + "ms-cv": "dWgwVu5qW0CGpl7BWk+tYg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0r1y2YAAAAACqYJ1VlFMZRoeOUZJDB4bAWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0L8zMYAAAAADl4Lh1gXMiTZhzo4RkE3Q3WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "339ms" + "x-processing-time": "452ms" } }, { @@ -171,17 +171,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:37 GMT", - "ms-cv": "gsmckL4+FEaTNS/jQXbVtw.0", + "date": "Fri, 18 Jun 2021 16:39:13 GMT", + "ms-cv": "FuzKJulbsEmumXvcHokbYQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0sVy2YAAAAAA9YrSL2ymvTK4LYdDFWbfyWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0MszMYAAAAABAnRCK5sfcSbH/SPW1GXKiWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "349ms" + "x-processing-time": "434ms" } }, { @@ -192,17 +192,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:40 GMT", - "ms-cv": "vkZF/2v2jkSWLKJgvV+XSg.0", + "date": "Fri, 18 Jun 2021 16:39:16 GMT", + "ms-cv": "sy0V7yHT902T4DgEv7Pdow.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0s1y2YAAAAAAnv8VW2b3URYNWoJKJ+9WBWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0NMzMYAAAAABmNURB2qdoRKuiM0Wuubr6WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "345ms" + "x-processing-time": "663ms" } }, { @@ -213,17 +213,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:42 GMT", - "ms-cv": "nQ5dYEoJfE6/Y55jY2llXg.0", + "date": "Fri, 18 Jun 2021 16:39:19 GMT", + "ms-cv": "5qU2JujD4kOIYkW1iWY/FA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0tly2YAAAAAC6bYzhrloZRqQHVGYjqALKWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0N8zMYAAAAABVAkr8nTo7RpaIkYZwYVRcWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "328ms" + "x-processing-time": "417ms" } }, { @@ -234,17 +234,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:44 GMT", - "ms-cv": "tuM7P/EQ30Wr3eoCoU1IEg.0", + "date": "Fri, 18 Jun 2021 16:39:21 GMT", + "ms-cv": "klYBj98SvUKPTyNxB7BDkg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0uFy2YAAAAABnmt2Sf+laRJBrRfGdhPCXWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0OczMYAAAAADrHAVeS7+hQLIOrMCXmkKdWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "337ms" + "x-processing-time": "804ms" } }, { @@ -255,17 +255,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:47 GMT", - "ms-cv": "CYmQc/b+ik2o57Ag/LbwMg.0", + "date": "Fri, 18 Jun 2021 16:39:24 GMT", + "ms-cv": "HENZcQRpDEaRHT2g+GdqRQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0u1y2YAAAAAD7pHRVK1ZDRJusGE56XqR9WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0PMzMYAAAAABEXsmpXughQr9qqIETq/C0WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "740ms" + "x-processing-time": "394ms" } }, { @@ -276,17 +276,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:50 GMT", - "ms-cv": "15dekCbT20W4EEgv8t/X5g.0", + "date": "Fri, 18 Jun 2021 16:39:26 GMT", + "ms-cv": "M4Qv46JQaEKPEup5RsyoCQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0vVy2YAAAAADPSPG74mb0SplJQTzP6XfkWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0P8zMYAAAAABC4hfrfOy0R43BU0ii5UoeWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "459ms" + "x-processing-time": "412ms" } }, { @@ -297,105 +297,84 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:01.7862614+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:52 GMT", - "ms-cv": "62DDEO0rBU2xgTyFR9sYAA.0", + "date": "Fri, 18 Jun 2021 16:39:29 GMT", + "ms-cv": "L6Ns+ZzZ20S3cc/J9jT9Vw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0wFy2YAAAAABDhqKXVAFbTIWycSSYPqP6WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0QczMYAAAAABlut55ZA1jRZfQP/ojMlLvWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "428ms" + "x-processing-time": "693ms" } }, { "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", + "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { "api-version": "2021-03-07" }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-18T16:39:25.8583623+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:54 GMT", - "ms-cv": "DQR2zNw2RUehwyG5EII3EQ.0", + "date": "Fri, 18 Jun 2021 16:39:34 GMT", + "ms-cv": "6UVBO64m906Dr+AsvBHh0g.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0wly2YAAAAADaUUN6nsClS4Lo1btlPailWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0RszMYAAAAADVjKrAbW9wQpA/z/b/jwHaWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "343ms" + "x-processing-time": "1250ms" } }, { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/purchase_sanitized", + "method": "DELETE", + "url": "https://endpoint/phoneNumbers/%2B14155550100", "query": { "api-version": "2021-03-07" }, "requestBody": null, - "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:13:24.2919684+00:00\",\"id\":\"purchase_sanitized\",\"operationType\":\"purchase\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "status": 202, + "response": "", "responseHeaders": { + "access-control-expose-headers": "Operation-Location,operation-id,release-id", "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:13:57 GMT", - "ms-cv": "2TUsfo29UE2VyaOuI+7EHA.0", + "content-length": "0", + "date": "Fri, 18 Jun 2021 16:39:36 GMT", + "ms-cv": "rKfdKRXDHEy/Ye1/iNq2ZA.0", + "operation-id": "release_sanitized", + "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2021-03-07", + "release-id": "sanitized", "request-context": "appId=", - "status": "200", - "x-azure-ref": "0xVy2YAAAAAAsESdKjLaORrxkZ7+ld2lfWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "status": "202", + "x-azure-ref": "0R8zMYAAAAACm7AskygTVQ6IHXYGCLx4eWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "343ms" + "x-processing-time": "1437ms" } }, { "method": "GET", - "url": "https://endpoint/phoneNumbers/%2B14155550100", + "url": "https://endpoint/phoneNumbers/operations/release_sanitized", "query": { "api-version": "2021-03-07" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"inbound+outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-06-01T16:13:54.2335149+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:02 GMT", - "ms-cv": "Q9RqhRf2rEmU+dp/QMRqkg.0", + "date": "Fri, 18 Jun 2021 16:39:36 GMT", + "ms-cv": "/RFouUS2+kOYiZhO2k+CKw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0yVy2YAAAAAD6JDmd3dE3RZJnwogpX3RyWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1296ms" - } - }, - { - "method": "DELETE", - "url": "https://endpoint/phoneNumbers/%2B14155550100", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 202, - "response": "", - "responseHeaders": { - "access-control-expose-headers": "Operation-Location,operation-id,release-id", - "api-supported-versions": "2021-03-07", - "content-length": "0", - "date": "Tue, 01 Jun 2021 16:14:03 GMT", - "ms-cv": "1rK16Wn8xUiAgj2TWrqg8Q.0", - "operation-id": "release_sanitized", - "operation-location": "/phoneNumbers/operations/release_sanitized?api-version=2021-03-07", - "release-id": "sanitized", - "request-context": "appId=", - "status": "202", - "x-azure-ref": "0yly2YAAAAABJ1joOrrrDQYtQ6Ykq+eiSWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0SczMYAAAAADF58LrzSzASK7OMGDY2OsEWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1510ms" + "x-processing-time": "378ms" } }, { @@ -406,17 +385,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:03.9464053+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:04 GMT", - "ms-cv": "lKCfYAkP9EmdMNAZWLHmAA.0", + "date": "Fri, 18 Jun 2021 16:39:40 GMT", + "ms-cv": "6VaISi5veke/E6jpd3YyMg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0zFy2YAAAAADGWtQN0eMMTLQdJmqMC04/WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0S8zMYAAAAAARcbw4zLIkRKuAeAxizAkyWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "622ms" + "x-processing-time": "319ms" } }, { @@ -427,17 +406,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:03.9464053+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:06 GMT", - "ms-cv": "8rXSKPktu0WO7UNsoBd94A.0", + "date": "Fri, 18 Jun 2021 16:39:42 GMT", + "ms-cv": "Etw/nePLx0eVKisAwn6WHQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0z1y2YAAAAACtivPCBpiiQqqdCx8EbHXiWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0TszMYAAAAACMbP9Kq2SYTr2eP3pBZAgnWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "282ms" + "x-processing-time": "334ms" } }, { @@ -448,17 +427,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:03.9464053+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:09 GMT", - "ms-cv": "CwQY1En1gkqRQvnUAVs9pw.0", + "date": "Fri, 18 Jun 2021 16:39:44 GMT", + "ms-cv": "ILxK20odD0WMSbEhor7Buw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "00Vy2YAAAAAAZQFr2p96NSLE21P63hI8iWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0UMzMYAAAAACJ2YnuleR4R5V7kcIeAgbnWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "512ms" + "x-processing-time": "333ms" } }, { @@ -469,17 +448,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-01T16:14:03.9464053+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":null,\"createdDateTime\":\"2021-06-18T16:39:36.7719624+00:00\",\"id\":\"release_sanitized\",\"operationType\":\"releasePhoneNumber\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:14:11 GMT", - "ms-cv": "giBW71y60UW6Sx28C+jPFQ.0", + "date": "Fri, 18 Jun 2021 16:39:47 GMT", + "ms-cv": "zHHzh1CO+EK65oEpXsLaAg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "01Fy2YAAAAACpspsKYLvjSaJZXS3rTspQWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0U8zMYAAAAAAur+f/DbyuRKcEggsmRPSYWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "332ms" + "x-processing-time": "308ms" } } ], @@ -487,5 +466,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "fa44f3995964677cea8445a9b6dfd114" + "hash": "416927590c0eb89a1bcfcaeaaa937d51" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.json index cba49d729caf..6bd912c335b1 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.json @@ -13,17 +13,17 @@ "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:15:22 GMT", + "date": "Fri, 18 Jun 2021 16:40:55 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "lWRWCoActkCLH3si46Pp4g.0", + "ms-cv": "/rVl2dQlYEWN6rWbpD4dZg.0", "operation-id": "search_sanitized", "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2021-03-07", "request-context": "appId=", "search-id": "sanitized", "status": "202", - "x-azure-ref": "0GF22YAAAAABp7tjCyodzTZ/DU2GAAm5sWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0lszMYAAAAAD6DZk5C8dxSY9p8/lzH/lCWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2061ms" + "x-processing-time": "2114ms" } }, { @@ -34,19 +34,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:22.3286246+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:40:56.0363557+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:22 GMT", + "date": "Fri, 18 Jun 2021 16:40:56 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "Yi3DLbjozE+8BvNx59qQJQ.0", + "ms-cv": "H1VFmar+vkS8wvw2SNQC+Q.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Gl22YAAAAADYpnA1caGpSppF5PHe2+fAWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0mMzMYAAAAAD3PhFgvWDUS4dabm2PZvB0WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "347ms" + "x-processing-time": "381ms" } }, { @@ -57,19 +57,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:22.3286246+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:40:56.0363557+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:25 GMT", + "date": "Fri, 18 Jun 2021 16:40:58 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "usyn7yJfYESuB+J9T50+Bw.0", + "ms-cv": "25alJz+EBEWiNh/vQeb96g.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0HV22YAAAAAA7ohcRXRaBSL+KhUN1WSouWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0mszMYAAAAAAYDOsp+QyhT7CHSp8nim/6WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "338ms" + "x-processing-time": "418ms" } }, { @@ -80,17 +80,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-01T16:31:24.3085493+00:00\"}", + "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-18T16:56:57.5740076+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:27 GMT", - "ms-cv": "xaFHL0q0NE6/DnbED2+7pQ.0", + "date": "Fri, 18 Jun 2021 16:41:01 GMT", + "ms-cv": "bSmbaaFlW0S6eTgonFUysg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0H122YAAAAAC8ml30p6vlRqx785JYD4AmWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0nczMYAAAAADLECAt5/yXSLyp9tRT8VEKWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "884ms" + "x-processing-time": "1039ms" } } ], @@ -98,5 +98,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "6fc2d9523d9988e48e74d4517b232cb1" + "hash": "9442c43ae11a0869c2b1a10b96165777" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.json index c962153f1b91..890264ff45ee 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.json @@ -12,13 +12,13 @@ "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json", - "date": "Tue, 01 Jun 2021 16:15:31 GMT", - "ms-cv": "D8mBUIfXZ0OHrP4SXSq/OQ.0", + "date": "Fri, 18 Jun 2021 16:41:05 GMT", + "ms-cv": "6UNU0hmm5EWgilZGg36oEg.0", "request-context": "appId=", "status": "400", - "x-azure-ref": "0Il22YAAAAABTZ31Vei09TqNojP38iXqbWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0oMzMYAAAAAAT+jpuH2jeT7dub0MLmKf8WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1707ms" + "x-processing-time": "1332ms" } } ], @@ -26,5 +26,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "0a8d65017395f38f7d477e7592233ac0" + "hash": "182bac91e121262aabae40506fbaf691" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.json index 384c99b73501..dc8322d8571d 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:08 GMT", + "date": "Fri, 18 Jun 2021 16:40:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - EUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -37,17 +37,17 @@ "access-control-expose-headers": "Location,Operation-Location,operation-id,search-id", "api-supported-versions": "2021-03-07", "content-length": "0", - "date": "Tue, 01 Jun 2021 16:15:10 GMT", + "date": "Fri, 18 Jun 2021 16:40:44 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "Wivt8LoldEaKWkj493TqVA.0", + "ms-cv": "s1OE1j8mokiHpItyl6zlWA.0", "operation-id": "search_sanitized", "operation-location": "/phoneNumbers/operations/search_sanitized?api-version=2021-03-07", "request-context": "appId=", "search-id": "sanitized", "status": "202", - "x-azure-ref": "0DF22YAAAAAB07+ikZYWmTYgTwQLRU4pqWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0iszMYAAAAAAzzfgmwWw1QpULSO9yxg6zWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1742ms" + "x-processing-time": "2162ms" } }, { @@ -58,19 +58,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:10.3041624+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:40:44.1498283+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:10 GMT", + "date": "Fri, 18 Jun 2021 16:40:44 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "n7rQjRwJF0KMho+k+xya2w.0", + "ms-cv": "abTNcM4oGE6aQwl3aHra+Q.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Dl22YAAAAADmJV/WN+riQolnxZsLxecTWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0jMzMYAAAAABFblSs8MXPSYjmURtVlIxvWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "360ms" + "x-processing-time": "364ms" } }, { @@ -81,19 +81,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:10.3041624+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:40:44.1498283+00:00\",\"id\":\"search_sanitized\",\"operationType\":\"search\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:13 GMT", + "date": "Fri, 18 Jun 2021 16:40:46 GMT", "location": "/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07", - "ms-cv": "yHiMzbmK20a2dW6FI1EX8g.0", + "ms-cv": "0GWTDBa8nU+qTdfHUajV/w.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0EV22YAAAAAD1u7fvdu04TJQM6hrHqH1VWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0j8zMYAAAAADxJeUF4o4lS6iZpaUCxTzIWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "335ms" + "x-processing-time": "421ms" } }, { @@ -104,17 +104,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-01T16:31:12.3600957+00:00\"}", + "response": "{\"searchId\":\"sanitized\",\"phoneNumbers\":[\"+14155550100\"],\"phoneNumberType\":\"tollFree\",\"assignmentType\":\"application\",\"capabilities\":{\"calling\":\"outbound\",\"sms\":\"none\"},\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"},\"searchExpiresBy\":\"2021-06-18T16:56:46.1994694+00:00\"}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:16 GMT", - "ms-cv": "Al+eGVH+5EyEP4BhoM2tFQ.0", + "date": "Fri, 18 Jun 2021 16:40:49 GMT", + "ms-cv": "W9Ld6j3tNEmp6sPul6+17Q.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0E122YAAAAAD1liehfHOnRqbXfApMshLSWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0kczMYAAAAADtiuA9adtnSL+tx0saTZm7WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1762ms" + "x-processing-time": "865ms" } } ], @@ -122,5 +122,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "6fc2d9523d9988e48e74d4517b232cb1" + "hash": "9442c43ae11a0869c2b1a10b96165777" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.json index 6f91c3fd64bb..ebdcc0489874 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.json @@ -4,23 +4,23 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:19 GMT", + "date": "Fri, 18 Jun 2021 16:40:52 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+est\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - EUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -36,13 +36,13 @@ "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json", - "date": "Tue, 01 Jun 2021 16:15:20 GMT", - "ms-cv": "oHIWgAVztUC7M+1WhM2+1A.0", + "date": "Fri, 18 Jun 2021 16:40:53 GMT", + "ms-cv": "gMwSo0Qh5kCpm5hZPN83hw.0", "request-context": "appId=", "status": "400", - "x-azure-ref": "0F122YAAAAACW4XtHMykAS40QMghTHN3VWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0lMzMYAAAAAAO+8UKIBgVT4yt5q+Wl95IWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1120ms" + "x-processing-time": "1507ms" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "0a8d65017395f38f7d477e7592233ac0" + "hash": "182bac91e121262aabae40506fbaf691" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.json index 126053c7fb12..494c174340e4 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.json @@ -14,16 +14,16 @@ "api-supported-versions": "2021-03-07", "capabilities-id": "sanitized", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:55 GMT", + "date": "Fri, 18 Jun 2021 16:41:26 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "0jXv0yuGtEmT1eH1/AZ+NQ.0", + "ms-cv": "g7QIT4MTvEaCTIwqy/9kGw.0", "operation-id": "capabilities_sanitized", "operation-location": "/phoneNumbers/operations/capabilities_sanitized?api-version=2021-03-07", "request-context": "appId=", "status": "202", - "x-azure-ref": "0Ol22YAAAAAByS8J5XnGWTLHbkF2I8olZWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0tMzMYAAAAADUA6rQgNKmSKflNjvHwTLfWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1584ms" + "x-processing-time": "1690ms" } }, { @@ -34,19 +34,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:55 GMT", + "date": "Fri, 18 Jun 2021 16:41:26 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "Y1oFbYvXKk6nJdexNK2FwQ.0", + "ms-cv": "rK6mePe6BkWZ25ODJWWaCg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0O122YAAAAAApG+8LoAsaRYeu7dWZpVAHWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0tszMYAAAAAAeZ33w8MDfT46VSHQ0dDBQWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "690ms" + "x-processing-time": "304ms" } }, { @@ -57,19 +57,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:58 GMT", + "date": "Fri, 18 Jun 2021 16:41:29 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "HBojhsVrnkOca0wc0blbew.0", + "ms-cv": "KrmyNeWG/0aFeUSkJSZHxQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Pl22YAAAAAAJ+zc5JDdOQJmetqRODVpuWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0uMzMYAAAAAB7wP0xWw82TIc7VO69C0NGWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "481ms" + "x-processing-time": "337ms" } }, { @@ -80,19 +80,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:00 GMT", + "date": "Fri, 18 Jun 2021 16:41:31 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "0NUF4/igkkuUxZyDV/Amsw.0", + "ms-cv": "M93aXOZk70m978IoP/ZnHQ.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0QV22YAAAAABGElHhvyuyQKSnDvfMhRhFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0u8zMYAAAAACIq4fMXFeiTpfVgZSk7P+bWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "309ms" + "x-processing-time": "307ms" } }, { @@ -103,19 +103,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:02 GMT", + "date": "Fri, 18 Jun 2021 16:41:33 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "aKHJaesJmEe0fdv2VWjrNQ.0", + "ms-cv": "B/sVkdJsUEW2W2cnLyYXDA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Q122YAAAAADOSj7JEbaUS4rPpv9ME7PtWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0vczMYAAAAAAu3z+5dNlsT4zPb3kwYPkoWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "295ms" + "x-processing-time": "330ms" } }, { @@ -126,42 +126,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:26.098649+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:05 GMT", + "date": "Fri, 18 Jun 2021 16:41:36 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "MIxwxCa9CEOwo4zASJ959g.0", + "ms-cv": "V2tmOWicUUec8GWXCc0xUw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0RV22YAAAAABbU8wTKCVIQoFOUjU3/oOMWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0wMzMYAAAAACcJ8pWoFdUTrNUHjq3NcKCWVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "334ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/capabilities_sanitized", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:55.4470086+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:07 GMT", - "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "/3eK9QRNuEW6c8MJSHnytg.0", - "request-context": "appId=", - "status": "200", - "x-azure-ref": "0SF22YAAAAACxfCv2IA6qRLx8M4UcVMiWWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "285ms" + "x-processing-time": "678ms" } }, { @@ -172,17 +149,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:16:11 GMT", - "ms-cv": "LPgeQK18c0ayVIkCek63iA.0", + "date": "Fri, 18 Jun 2021 16:41:40 GMT", + "ms-cv": "qoqNs+bDA02+4hi5lLniKg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Sl22YAAAAAAHs2DK/8pVRI9uIN1cVreEWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0w8zMYAAAAABgXo1pkAM6TrPHA4fkSJhFWVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1191ms" + "x-processing-time": "2200ms" } } ], @@ -190,5 +167,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "bc0d3c040f4257989e64826eb468a2d3" + "hash": "b1d336b2900ec126a1a01a0cde95ad4d" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.json index 24924585d231..0a86c03f8a62 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.json @@ -8,17 +8,17 @@ }, "requestBody": "{\"calling\":\"none\",\"sms\":\"outbound\"}", "status": 404, - "response": "", + "response": "{\"error\":{\"code\":\"InternalError\",\"message\":\"The server encountered an internal error.\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", - "content-length": "0", - "date": "Tue, 01 Jun 2021 16:16:14 GMT", - "ms-cv": "CLxQWORZA0S02B6whk9RLA.0", + "content-type": "application/json", + "date": "Fri, 18 Jun 2021 16:41:43 GMT", + "ms-cv": "8+4Hy1+iXkC4kB6Qe2VKtg.0", "request-context": "appId=", "status": "404", - "x-azure-ref": "0TV22YAAAAACjKkP8z6SxRLkrVvhRqZnOWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0x8zMYAAAAADfEfTkkMGsSbyOgxzuT2oZWVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "284ms" + "x-processing-time": "461ms" } } ], @@ -26,5 +26,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1b01834067bf928c6bbe8df5701149c4" + "hash": "94c6d18150d845a6914ed056b481f079" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.json index f50e26dcd5f0..a4b240259cc3 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:31 GMT", + "date": "Fri, 18 Jun 2021 16:41:06 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,7 +20,7 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - WUS2 ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -38,16 +38,16 @@ "api-supported-versions": "2021-03-07", "capabilities-id": "sanitized", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:33 GMT", + "date": "Fri, 18 Jun 2021 16:41:07 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "hlvtxDls9UCIES6eZIa+AQ.0", + "ms-cv": "B/FwPMZLq0mk9U9FuoSFGA.0", "operation-id": "capabilities_sanitized", "operation-location": "/phoneNumbers/operations/capabilities_sanitized?api-version=2021-03-07", "request-context": "appId=", "status": "202", - "x-azure-ref": "0JF22YAAAAADU7eshr5RMQLO6NjCIG6yHWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0oszMYAAAAAApOCOXxug5SqxBgwCh2VR0WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "2062ms" + "x-processing-time": "1763ms" } }, { @@ -58,42 +58,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"notStarted\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:34 GMT", + "date": "Fri, 18 Jun 2021 16:41:07 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "A/4fTVc2Q0Gj0g8NNnP0Ug.0", + "ms-cv": "R0A/iCTJ90qFSR0eaiXTvA.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Jl22YAAAAAAVNnFQ1uuWTr1g3JZm8Ou0WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0pMzMYAAAAACTiBonKwPhRIeZ3Wk2vGrvWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "323ms" - } - }, - { - "method": "GET", - "url": "https://endpoint/phoneNumbers/operations/capabilities_sanitized", - "query": { - "api-version": "2021-03-07" - }, - "requestBody": null, - "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", - "responseHeaders": { - "access-control-expose-headers": "Location", - "api-supported-versions": "2021-03-07", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:36 GMT", - "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "r2PWSZacUESU40CN1q//Uw.0", - "request-context": "appId=", - "status": "200", - "x-azure-ref": "0KF22YAAAAAAuQXhL5P8lT70UqVH2YQ5DWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "325ms" + "x-processing-time": "306ms" } }, { @@ -104,19 +81,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:38 GMT", + "date": "Fri, 18 Jun 2021 16:41:10 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "yZY+I0kEKUWDQjO7Nyr0FQ.0", + "ms-cv": "adxl2J4nREOzAwC78DZcpg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0K122YAAAAAD5z9wuqaVfRaJC7k4OA3WQWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0pszMYAAAAADxpvqKPpm5Q6G2Ctk4BligWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "374ms" + "x-processing-time": "426ms" } }, { @@ -127,19 +104,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:41 GMT", + "date": "Fri, 18 Jun 2021 16:41:12 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "FFLNcENNMker8F4eZvhK+g.0", + "ms-cv": "ASqKWl2us0COydY85Hy72w.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0LV22YAAAAAB0DYIWWMn4SbAV1LOpbqXyWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0qczMYAAAAADbQc0bjkGEToRogPx8W2IuWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "450ms" + "x-processing-time": "300ms" } }, { @@ -150,19 +127,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"running\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:44 GMT", + "date": "Fri, 18 Jun 2021 16:41:15 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "mUn2H6g2tkSgoDJo8Aa7zw.0", + "ms-cv": "LYb6x8VpDUueaZ80DI7PQw.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0MF22YAAAAAC+cqm4dfs3TJ1xOCG2LHBFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0q8zMYAAAAAAno3sNc1+nTbLMHkOUXz/7WVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1457ms" + "x-processing-time": "323ms" } }, { @@ -173,19 +150,19 @@ }, "requestBody": null, "status": 200, - "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-01T16:15:34.1612403+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", + "response": "{\"status\":\"succeeded\",\"resourceLocation\":\"/phoneNumbers/+14155550100?api-version=2021-03-07\",\"createdDateTime\":\"2021-06-18T16:41:07.8993673+00:00\",\"id\":\"capabilities_sanitized\",\"operationType\":\"updatePhoneNumberCapabilities\",\"lastActionDateTime\":\"0001-01-01T00:00:00+00:00\"}", "responseHeaders": { "access-control-expose-headers": "Location", "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:47 GMT", + "date": "Fri, 18 Jun 2021 16:41:17 GMT", "location": "/phoneNumbers/+14155550100?api-version=2021-03-07", - "ms-cv": "58R3VH1sb0q3QLsOwbi5SA.0", + "ms-cv": "qmbQMyUsq0eTqXRHcjUVgg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0M122YAAAAABGnaoMInRFSZXQVWge5H/nWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0rszMYAAAAADUm9CQ6ZaoSrBX1GLM3+GkWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "442ms" + "x-processing-time": "410ms" } }, { @@ -196,17 +173,17 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:01:55.0949003+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", + "response": "{\"id\":\"14155550100\",\"phoneNumber\":\"+14155550100\",\"countryCode\":\"US\",\"phoneNumberType\":\"tollFree\",\"capabilities\":{\"calling\":\"none\",\"sms\":\"outbound\"},\"assignmentType\":\"application\",\"purchaseDate\":\"2021-03-09T15:03:04.7513808+00:00\",\"cost\":{\"amount\":2.0,\"currencyCode\":\"USD\",\"billingFrequency\":\"monthly\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:50 GMT", - "ms-cv": "svnTsGxlyEOVTQ9lz+B8Fw.0", + "date": "Fri, 18 Jun 2021 16:41:21 GMT", + "ms-cv": "7v1ieyrUq0q8CJGIjC53Hg.0", "request-context": "appId=", "status": "200", - "x-azure-ref": "0Nl22YAAAAAD0cwUYC+GdSoGhyjkK64ZqWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0sMzMYAAAAACnmJ9NLyfEQ5aIH7sOaDeYWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "1333ms" + "x-processing-time": "1256ms" } } ], @@ -214,5 +191,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "bc0d3c040f4257989e64826eb468a2d3" + "hash": "b1d336b2900ec126a1a01a0cde95ad4d" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.json b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.json index 4c99e380cf6f..5681787874ac 100644 --- a/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.json +++ b/sdk/communication/communication-phone-numbers/recordings/browsers/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://endpoint/SomeTenantId/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=SomeClientId&client_secret=SomeClientSecret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1327", "content-type": "application/json; charset=utf-8", - "date": "Tue, 01 Jun 2021 16:15:53 GMT", + "date": "Fri, 18 Jun 2021 16:41:23 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,7 +20,7 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://endpoint/api/report?catId=GW+estsfd+chi\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.26 - EUS ProdSlices", + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", "x-ms-request-id": "sanitized" } }, @@ -32,17 +32,17 @@ }, "requestBody": "{\"calling\":\"none\",\"sms\":\"outbound\"}", "status": 404, - "response": "", + "response": "{\"error\":{\"code\":\"InternalError\",\"message\":\"The server encountered an internal error.\"}}", "responseHeaders": { "api-supported-versions": "2021-03-07", - "content-length": "0", - "date": "Tue, 01 Jun 2021 16:15:53 GMT", - "ms-cv": "T0NOysEXYUes/clnSchzuw.0", + "content-type": "application/json", + "date": "Fri, 18 Jun 2021 16:41:24 GMT", + "ms-cv": "BPux1vYFaEyEyvflEmvGdQ.0", "request-context": "appId=", "status": "404", - "x-azure-ref": "0OV22YAAAAACn1GqJ/fUFQIjoihsSslFAWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", + "x-azure-ref": "0tMzMYAAAAABb6TsNmY77SKjStG8wAKUZWVZSMzBFREdFMDMxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", "x-cache": "CONFIG_NOCACHE", - "x-processing-time": "446ms" + "x-processing-time": "481ms" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1b01834067bf928c6bbe8df5701149c4" + "hash": "94c6d18150d845a6914ed056b481f079" } \ No newline at end of file diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.js index 6a78804982e2..197ecbc74d8b 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_can_get_a_purchased_phone_number.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "8c038731046781a9e29a78b4d4a229af"; +module.exports.hash = "c277fc9e40dbe9b6a340b0fd4b58a391"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,15 +15,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'olq7Da4IwEuplq58lOuV1A.0', + 'avMtrDgfgUexccUBmHHr/A.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1236ms', + '1984ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0w1i2YAAAAACwDvYWNgBhR71O/bYG13H6WVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0asvMYAAAAACoUwqyuTBjTrkMNZtKF6tZWVZSMzBFREdFMDQxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:52 GMT' + 'Fri, 18 Jun 2021 16:35:56 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.js index a61e9c534da9..442d3eba0820 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number/recording_errors_if_phone_number_not_found.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "9db468d876f027cff1a56c0b2ccac1a5"; +module.exports.hash = "72d3da66787ce7ec1b5bd2e51979dcaa"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(404, {"error":{"code":"PhoneNumberNotFound","message":"The specified phone number +14155550100 cannot be found.","target":"phonenumber"}}, [ + .reply(404, {"error":{"code":"NotFound","message":"Input phoneNumber +14155550100 cannot be found.","target":"phonenumber"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,15 +15,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iHCcarEEpkiclAyzF4xJhg.0', + 'AZ8qSl3bbUOTHzj9Jcll4Q.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '345ms', + '539ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0xVi2YAAAAAC4ob71ReBlQYzjbDLSxmjbWVZSMzBFREdFMDMxOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0bcvMYAAAAAB+AlTO8wGzRbUJewscu6gCWVZSMzBFREdFMDQwNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:52 GMT' + 'Fri, 18 Jun 2021 16:35:57 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.js index d7b1a250c522..222d668d89b1 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_can_get_a_purchased_phone_number.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "8c038731046781a9e29a78b4d4a229af"; +module.exports.hash = "c277fc9e40dbe9b6a340b0fd4b58a391"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVw; expires=Thu, 01-Jul-2021 15:56:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmg; expires=Sun, 18-Jul-2021 16:35:50 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8PQYpFdsowHS04Y6tyD9N5KHDqIFRzHIA_S3ie5MlZJAUExByi7iPai-P4L6muavxtTwfdifo_nJOLEumFQk_sC-wGRQshOunMsHSORt7PZMPysF0Kbnd4gXMUEPMpPEXf5VGFoU6hMUMvG0S49bfAeHIZz4BGEOxrs-jdxpWiMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUP5rFdyppgto6T8-nEb-weSXa06T3sZE0rV4WBtoC_dTrep1oqXIpsRCNXtWIukOmPj92Gt26VyOLN6XE-XKvJ7XcQE59_vz-dNlkBc_J8VZ7GjgG7S6CjdxulZVzMzMlDdkM2yRKeusNVCWgiDqTSO48fqvon-NDB76qnBZdyogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:42 GMT', + 'Fri, 18 Jun 2021 16:35:50 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVw; expires=Thu, 01-Jul-2021 15:56:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmg; expires=Sun, 18-Jul-2021 16:35:50 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQ_AIHhJRmi45G1N0mOSc91sNhh01hILUsXIBdK3Tj_CQnardwqBuFCki9NGYp_IZWHiAqYhLbNClAniRygOSLTF-pE8YgCcrk6M0gG6nExH1L0oqA6jpowXt30C4YA7baFnqwgKA-hbQO9fvqfm9xr-EN0KwIMqKrMjyJxyJaD0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-b_WLBcSGjYlr0c9ILgUCAhxmoTuW9ANnvF1jvK4yIU6kvPeEZFJEwqFquJGp1ev-2w7nImXRUY5U6GdZumMW_KTH7UkZ2Z7jEfg1wvr6ckWSTsfXUaxiIuFT_DHYmkmbqt740_YXWVtpF5Sixv0NI4uFhfxCVw1-fcltiwag1EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:42 GMT', + 'Fri, 18 Jun 2021 16:35:50 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:42 GMT', + 'Fri, 18 Jun 2021 16:35:51 GMT', 'Content-Length', '1327' ]); @@ -113,7 +113,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -121,15 +121,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iFDJ7sWMOE61WCbwMH2sOQ.0', + '0/oqhO7TbE6ufoLEkR1wNg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '7302ms', + '2125ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0uli2YAAAAAA8JGja/66xT7IHX8Lm8WMrWVZSMzBFREdFMDQyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0Z8vMYAAAAAAfP6LIwgfUQI0EYqw1q7UYWVZSMzBFREdFMDQwNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:49 GMT' + 'Fri, 18 Jun 2021 16:35:53 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.js index dcc80b115816..5148bcd26851 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__get_phone_number_aad/recording_errors_if_phone_number_not_found.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "9db468d876f027cff1a56c0b2ccac1a5"; +module.exports.hash = "72d3da66787ce7ec1b5bd2e51979dcaa"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:53 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrwyherwr3PetcWM38RupvIQ3jt-26FVx_ZdGWwqu4C3XS9yRmf1F27LFwfMFytlmQAjhXi799PpkZ0N_UFjBLcdjJeBaEv9IdxefkD-ksZf0tk8wivE-su4xvVAmTlh2EATlnHvMCD3MUaKQCaa3OhoD80KzreyVXIJVTW4pmh2MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrnfjf2K7DTXof3wGZvv9ZDysn28V48vQHNugP3J7CwDDWrA9aVOdUKTmA1GIfqxaJDk8Ic3F0gFEoH6J5gEP_heNhVzVe7UcV_DIQWsozfpwznmPRER9se7CpOMt-nz5O2vw3LiDuo7X1w3AhtIxg2nfOIg52UwoRcfJKqAj-T_ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:50 GMT', + 'Fri, 18 Jun 2021 16:35:53 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - NCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:54 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTKRNrPew_Z0UX6g6rt73MV7hV-8WuWYWBrqQ3n94TjLrZi25r0OoQE0CuFeDI0tePqCDRyaR0tuoFAZ5-iDo0cyBInUc2xk8_dEHxGQL0rrt-Spw0iPoakhZ7--XI8GmOMIDfk-Uoj1qbEtwod5EsJVAXqsWcHNzz11vARJmTk0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrU3HrRnd8zj66-dWn9DMNrlFDX_fB141Hp8zV3JEKxpOPpfZjzeRLGKwAejBu7fhvyXr1Y-86P5tHdMjHh_ruBln6Dj9av0kHW79L-qIF71xgXVXJpb5UwKkQQdhMd85_Oq3n-NZvK6tFI6VlC3_jjniY3TkKqQNwFz22cGwUXkIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:50 GMT', + 'Fri, 18 Jun 2021 16:35:53 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:54 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:50 GMT', + 'Fri, 18 Jun 2021 16:35:54 GMT', 'Content-Length', '1327' ]); @@ -113,7 +113,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(404, {"error":{"code":"PhoneNumberNotFound","message":"The specified phone number +14155550100 cannot be found.","target":"phonenumber"}}, [ + .reply(404, {"error":{"code":"NotFound","message":"Input phoneNumber +14155550100 cannot be found.","target":"phonenumber"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -121,15 +121,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '5yk9p4TWLUqOwzMX5IuPiA.0', + 'QzR59mUqFkSbodgsmrnmxQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '950ms', + '351ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0wli2YAAAAADOTk79dFXdQoLL7hJPmgr3WVZSMzBFREdFMDQxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0asvMYAAAAADnaDVouiPgR7+UuwybRNbjWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:51 GMT' + 'Fri, 18 Jun 2021 16:35:54 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.js index ab14d1294c7c..dbd063adf362 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists/recording_can_list_all_purchased_phone_numbers.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "abe2e819f7fadb19bc1a53535c53a6a0"; +module.exports.hash = "43b58e99c6ce1c8d4df4f3bcbd767346"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers') .query(true) - .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-14T00:23:52.1861991+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-06T23:27:52.858607+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-25T00:03:06.2985305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-24T23:39:11.2079613+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-26T23:18:22.4715623+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-27T03:05:50.816041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T17:52:41.818335+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T18:01:46.4199999+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2000-01-01T00:00:00+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ + .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-14T00:23:52.1861991+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-06T23:27:52.858607+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-25T00:03:06.2985305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-24T23:39:11.2079613+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-26T23:18:22.4715623+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-27T03:05:50.816041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T17:52:41.818335+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T18:01:46.4199999+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2000-01-01T00:00:00+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,15 +15,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'cjAYMqMxbUKz6ep3e3bnbQ.0', + 'kM9OuVzFn0KXEbCP8o/0Rw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1589ms', + '2142ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0yFi2YAAAAADzJmFN0024S5PTfeT4cVtrWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0csvMYAAAAACjDu27xlBWSo+EhXJjLdP3WVZSMzBFREdFMDMwNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:57 GMT' + 'Fri, 18 Jun 2021 16:36:04 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.js index 92e49459a898..f00f4a355543 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lists_aad/recording_can_list_all_purchased_phone_numbers.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "abe2e819f7fadb19bc1a53535c53a6a0"; +module.exports.hash = "43b58e99c6ce1c8d4df4f3bcbd767346"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,26 +25,28 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrmb6byl4EvAHuSIWwOrJU-06UDUeR8IYOiPKHTeH7l_Ps8mkrHv6csI0sg4h2xuMkHfFsCNflpn-ModolO2SMtt6jtdt8C9ZX051M0PNBQ27xTPOT3AKq3HSeMStgDCMEqiQnED8UrYiwOPBdRy_CVq2UI0OUeYHNQOeWKbdT3h0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrVJFqZCjOekoTs62J6jyvtagwjZGc9kiRS5ML98fmH3DaqGk8SAuApx2yuycv_g9i4wruWn-ZtCXPlUVHIJ1eLtGrZwtsBYfBneqtLOJjgxAu7ybvQ3uF6VTChCDAg2HUQmvFa_HXsg2obM3-5IxrCSkHbRZj9mROuYRB_rNY1i0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:53 GMT', + 'Fri, 18 Jun 2021 16:35:58 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,28 +62,28 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXjmLnAR6El3MybADvo96oyQhgMp0RveMEgLTpjc9JLa6yKw_7DtIvdpUTwhnxsw9cuE_eGvv57bK4s2nx9wKx4tz7-uic-pYokK5u6CzorNW47wS90qfnNuGZAM-vRpk4QLJcTgdKtrSsQPYPYV20QCHR60y6yv33sSMyC5GgRwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtwhQ4NKfzT2yS98l0eCa_oJeQ2fQc-vbWwFsFasT32GBrzUX7189gsbyg6bm89aJpKXXO5WjLeGSy14xemL81Bt8FlAjQeDA3tOGqe-f6L-8XsEU9rUuWKyOXXnPQi3nzjxkJawJE8v4b2VC2jybqJ659US6pyUSYHDq0I7e1nAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:53 GMT', - 'Content-Length', - '1651' + 'Fri, 18 Jun 2021 16:35:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', + 'Content-Length', + '1327', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,25 +97,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:35:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:54 GMT', - 'Content-Length', - '1327' + 'Fri, 18 Jun 2021 16:35:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers') .query(true) - .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-14T00:23:52.1861991+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-06T23:27:52.858607+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-25T00:03:06.2985305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-24T23:39:11.2079613+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-26T23:18:22.4715623+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-27T03:05:50.816041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T17:52:41.818335+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T18:01:46.4199999+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2000-01-01T00:00:00+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ + .reply(200, {"phoneNumbers":[{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"inbound+outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-14T00:23:52.1861991+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"geographic","capabilities":{"calling":"outbound","sms":"none"},"assignmentType":"application","purchaseDate":"2021-04-06T23:27:52.858607+00:00","cost":{"amount":1,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-25T00:03:06.2985305+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-05-24T23:39:11.2079613+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-26T23:18:22.4715623+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"inbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-05-27T03:05:50.816041+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T17:52:41.818335+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-02-10T18:01:46.4199999+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}},{"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"outbound","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2000-01-01T00:00:00+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -121,15 +121,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '/quyVzeSOESA+FBltAje4w.0', + 'NBvvSQa3A0CvjJlgAjMgdA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1819ms', + '2628ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0xli2YAAAAAAT6IjKzaFaSbVoOJo3K5aZWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0b8vMYAAAAABxlFqyNE3CT4vwaNDMrViqWVZSMzBFREdFMDQxOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:56:55 GMT' + 'Fri, 18 Jun 2021 16:36:02 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.js index 61aa9c7c4493..4a84c81c558d 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release/recording_can_purchase_and_release_a_phone_number.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "5b6afe760ef7a0d2145b0dd4fd19d7ff"; +module.exports.hash = "24cf17e5a184ecc379d3cf483e2ba7f3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -15,7 +15,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'FLvEw029BU2btreSnceLwQ.0', + 'DieGANRAa0WmwFcbtKuzEg.0', 'Operation-Location', '/phoneNumbers/operations/search_sanitized?api-version=2021-03-07', 'operation-id', @@ -25,13 +25,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1919ms', + '2161ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0/1i2YAAAAACyywQxltI8RJKl8hb9Tt4QWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0psvMYAAAAAAtYidbFB2uSafOHC7ZZ8tjWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:52 GMT', + 'Fri, 18 Jun 2021 16:36:56 GMT', 'Content-Length', '0' ]); @@ -39,7 +39,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -51,23 +51,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '88BoN1DDa0yYVwkcxFPWpA.0', + '1T/zZ5bS50CtzJ9fRSh69A.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '402ms', + '344ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0AVm2YAAAAAA0hDroit6nRIcHELD5rf40WVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0qcvMYAAAAABzz0FuCvqdRa6b42prNckkWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:52 GMT' + 'Fri, 18 Jun 2021 16:36:56 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -79,23 +79,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'wdEMMPNMYkG1v/6xek6KjQ.0', + 'wQtY6/dRSUGJ9hR2n+E+Sw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '381ms', + '352ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0A1m2YAAAAACmdVKAbl+NSYxnzAqNsIYnWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0q8vMYAAAAAC6iI69oqKuQ65TsFjEsRC7WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:53 GMT' + 'Fri, 18 Jun 2021 16:36:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-01T16:13:54.5394538+00:00"}, [ + .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-18T16:52:58.2705202+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -103,17 +103,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '2NL42cg4Wku+EMTPWuQwqA.0', + 'VCqmhgsvCk+aRkMdXwkX7w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '819ms', + '811ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Blm2YAAAAACpbPDIDenwQ5rZqnrH5//LWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0rsvMYAAAAADzUisO3hqzRJdIiy3VTuMCWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:54 GMT' + 'Fri, 18 Jun 2021 16:37:02 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -125,7 +125,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iXNzZyUtEUm/KN847boecg.0', + 'gwNsT0DPMki6FAs+Qv/8WQ.0', 'Operation-Location', '/phoneNumbers/operations/purchase_sanitized?api-version=2021-03-07', 'operation-id', @@ -135,13 +135,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1881ms', + '1693ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0CFm2YAAAAAA2acgAGSulSoJtzDCgsVnUWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0scvMYAAAAADRjDFPBEUmRooJwSnVQ0WAWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:55 GMT', + 'Fri, 18 Jun 2021 16:37:06 GMT', 'Content-Length', '0' ]); @@ -149,7 +149,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -157,23 +157,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'gyPmVQFGfkmhXXyEgv9bkg.0', + 'eOcBORrJVk6iXVtDgQ8UWQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '361ms', + '370ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Clm2YAAAAAD1X1RMo/WhTpZIJhqu6KwgWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0s8vMYAAAAAAuVx6vEF44RqQcws6Rg4PfWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:56 GMT' + 'Fri, 18 Jun 2021 16:37:06 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -181,23 +181,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'VI3JbCOGvkyw3MuusQ+FdA.0', + 'WgbUm76zZEGJSf3/C31j0w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '368ms', + '350ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0DVm2YAAAAAB9vt/b65n9T4+qtTCJzi4oWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0tcvMYAAAAABjbyg+HIN/Q6EMFRvbgtAhWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:57 GMT' + 'Fri, 18 Jun 2021 16:37:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -205,23 +205,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'KEC9IEx1PkC96uMBzJnr+A.0', + 'lWHEF2MUCk6MeQHuewgCtg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '355ms', + '365ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0D1m2YAAAAACb7L/5fWUBTJFmesZbgireWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0uMvMYAAAAABiJEbbi0wfQbcQO4pOfx0JWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:58 GMT' + 'Fri, 18 Jun 2021 16:37:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -229,23 +229,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'DBIyKSL1sU2/yKWCy8mcHw.0', + 'EKsQNa4vsUqaRR2IbgRXBQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '378ms', + '354ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Elm2YAAAAACjgrSXajmzQoPGlbcvAb/kWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0usvMYAAAAADHKdY6tdPpSrATSu3njonxWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:59 GMT' + 'Fri, 18 Jun 2021 16:37:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -253,23 +253,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'dlb2FUnzW0yOUbD1Ah/ctQ.0', + 'n81KbP5enkOgkSoWcSYK0g.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '381ms', + '347ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0FFm2YAAAAADd77ZrL3RtSI07U6bsZP7fWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0vMvMYAAAAAD0y9QuyONwQZy4IyfEMzfJWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:00 GMT' + 'Fri, 18 Jun 2021 16:37:16 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -277,23 +277,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iuxorzOhO0mrKndGJU4Svg.0', + 'W/aNNWNGuUa9qLnnFqiQSg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '345ms', + '399ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Flm2YAAAAAB8FWbDWOxNSroh+6oPUeOPWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0v8vMYAAAAADtXdXdnoT2QbbxRB5wUQLVWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:01 GMT' + 'Fri, 18 Jun 2021 16:37:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:56.7155171+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -301,71 +301,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'E/XuZHjVg0W5pEZBmXTsAQ.0', + 'd1sltkFiNkSn/EFbRAVnvw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '398ms', + '366ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0GVm2YAAAAAC+NFti/1mkRpM6bhUpeC3VWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0wcvMYAAAAADUM9XeWSfHQKKJ74M20jcoWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:02 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'PnzKsb2xwEyPjThV8LdZCA.0', - 'api-supported-versions', - '2021-03-07', - 'X-Processing-Time', - '449ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0G1m2YAAAAAATOtp8iCIKR4wxZH46ZiWGWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', - 'Date', - 'Tue, 01 Jun 2021 15:58:03 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/purchase_sanitized') - .query(true) - .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:52.7430147+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'my4pCCqy6kmRWFuimc8pZg.0', - 'api-supported-versions', - '2021-03-07', - 'X-Processing-Time', - '339ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0Hlm2YAAAAADI94AZ15dyTpIVQHKmzBNMWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', - 'Date', - 'Tue, 01 Jun 2021 15:58:04 GMT' + 'Fri, 18 Jun 2021 16:37:21 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-01T15:58:19.4862785+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-18T16:37:20.3026265+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -373,17 +325,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '8PlkZTw44k6h5kwGe89CjA.0', + 'atpOGnc/u0apvAmrMCAh4w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '969ms', + '1645ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Ilm2YAAAAABPQ/rqgDQ0TaX9It8iO0cIWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0xsvMYAAAAABRhOWGBIkwSLkkzxhGiSPtWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:05 GMT' + 'Fri, 18 Jun 2021 16:37:27 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -395,7 +347,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'jMTssUPyf0qiNTw7Q6PcAQ.0', + 'WTZqSK4nREOgYUY8mteyOg.0', 'Operation-Location', '/phoneNumbers/operations/release_sanitized?api-version=2021-03-07', 'operation-id', @@ -405,13 +357,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1115ms', + '898ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0I1m2YAAAAABNP40PPFHOQ7qWLU8Y6tP/WVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0x8vMYAAAAACipTCHnOdhRb2+E9uYdl7DWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:06 GMT', + 'Fri, 18 Jun 2021 16:37:28 GMT', 'Content-Length', '0' ]); @@ -419,31 +371,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'Request-Context', - 'appId=', - 'MS-CV', - 'M76a9ifx4UqOjueerFG/uA.0', - 'api-supported-versions', - '2021-03-07', - 'X-Processing-Time', - '289ms', - 'X-Cache', - 'CONFIG_NOCACHE', - 'X-Azure-Ref', - '0JFm2YAAAAACQ4W1nwiP/RpxzZXtxnhsYWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', - 'Date', - 'Tue, 01 Jun 2021 15:58:07 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":false}) - .get('/phoneNumbers/operations/release_sanitized') - .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:37:28.2952621+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -451,23 +379,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'ES0IiedtvEmSBRe01VLEBw.0', + 'BdyZE9us80aVO9qDcDR35w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '305ms', + '366ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0J1m2YAAAAAArqyd8BbNtT43F0j3/sBrrWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0yMvMYAAAAAClDzOmiOgQTJMw3HOmgVf6WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:08 GMT' + 'Fri, 18 Jun 2021 16:37:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:37:28.2952621+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -475,23 +403,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'GQspO9IHcUKWzJtf93uLew.0', + '4j8IUPXIJ0KdlC1TJf2q7w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '292ms', + '344ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0KVm2YAAAAAAmVaqYO0WiRJCGhHUO3l3vWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0y8vMYAAAAACRqh6EWKYcQ4nTtapCKTiaWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:09 GMT' + 'Fri, 18 Jun 2021 16:37:30 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:37:28.2952621+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -499,23 +427,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'dcnP9ahoX0KVIMjFI9wojQ.0', + '05zAtU0w7ESebe/UGsONng.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '286ms', + '300ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0K1m2YAAAAAAeNbES2xajRIglazztyrWOWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0zcvMYAAAAACN65igcqQ5R7kLLUePmo0AWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:10 GMT' + 'Fri, 18 Jun 2021 16:37:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-01T15:58:28.1397279+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-18T16:37:28.2952621+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -523,15 +451,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'm7X5MakuYkmPOw4cO3mPTw.0', + 'aXMIop8aOEubCbValAmYSg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '296ms', + '457ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Llm2YAAAAACTJFJumsMvRYlmUp2eX+vNWVZSMzBFREdFMDQwOAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '00MvMYAAAAADyOD26hk30Rp3tgszNU4EPWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:11 GMT' + 'Fri, 18 Jun 2021 16:37:35 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.js index 0d2657644643..ae0679bc6d36 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__purchase_and_release_aad/recording_can_purchase_and_release_a_phone_number.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "5b6afe760ef7a0d2145b0dd4fd19d7ff"; +module.exports.hash = "24cf17e5a184ecc379d3cf483e2ba7f3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://endpoint', {"encodedQueryParams":false}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/SomeTenantId/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -27,22 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:36:04 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1VBlTEYVdYsFvnGijYbG8p-tJbfAe1Ibfuk0T4Bzdr4UfyyD1-O3MVq2_gBU6lVBH0AD5TPNGWRSjhEZ-PtowI2u9BR8ZHL6eZ-v6H6ik593RumP1vKo6nwUoQ9YM5BSXRoNStXXcPMduBM0sO7AQK2giCwhNXHgt2qm26VPh8YgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWA4TVTVJ--yV-tAaRKSw82dQmlRZrksVnk1wIMoEy4eFe6yyeOum9TXxGrscjBsZRVVQ4JhONBgQ-RGH_8p-epdAGxxjwaiT36ngO5jm9CdDDMM22ThkyoB54Kxs7ETEdqDUFX5VrF1mFJbj8r0AznXWIyNQwDE_xsob-j7n2OggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:58 GMT' + 'Fri, 18 Jun 2021 16:36:04 GMT', + 'Content-Length', + '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - WUS2 ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:36:05 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNlyd1bz9nvJhSlmuPq-dJ7oTHXfYqmO-HwT--eL3j4kIqejYvse5AtBuiy0Z46TBCmBObxzho_tJgP_NnyWImLME1b0QJoLKpUXQRR6pI4u_bi37LcaRYzXQDg7ZBkiXjLsfwUwLZwjpB2b3TDlMby_XWtX5Mh8LjeRgCNWsDFsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWUfqJo6CJ7-tp8l1uQZdnbH5Hg3QtJJ3YV6l5FSvSrts7dc0Mtw98QKHGHX-hHDUihskQhI24tjh274XbYTBtohP00omgTX1ZCid6oA_zJjD0B8nq-HcHlOiO6tKY4uRG25JG0O9S7-TxPEjctoxvthAaT2RJXZhVFrPxlzo2z4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:58 GMT', + 'Fri, 18 Jun 2021 16:36:04 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAwAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:56:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAwAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:36:05 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:56:58 GMT', + 'Fri, 18 Jun 2021 16:36:05 GMT', 'Content-Length', '1327' ]); @@ -121,7 +121,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'TJzSmfJoskiLffWsT42DYA.0', + 'MCw5jaxsc0OKKIdsD/rFKA.0', 'Operation-Location', '/phoneNumbers/operations/search_sanitized?api-version=2021-03-07', 'operation-id', @@ -131,13 +131,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2668ms', + '2804ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0yli2YAAAAACMvo7fBkEkQrzPoJwr36dhWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0dcvMYAAAAAAf9JYYxgNPRKbq+nb9n31RWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:01 GMT', + 'Fri, 18 Jun 2021 16:36:08 GMT', 'Content-Length', '0' ]); @@ -145,7 +145,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -157,23 +157,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Ap1V/tUgm0WHmZU0Ln54Zg.0', + 'CigSHtcSJ06zyHQ11V6dbQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '397ms', + '569ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0zVi2YAAAAAC17jxolXNFTZRNH/2pBI6hWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0eMvMYAAAAABIMnGIbChPTYPe2kzfIyR9WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:01 GMT' + 'Fri, 18 Jun 2021 16:36:08 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -185,23 +185,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'm6qcQ+jP3UaJHH73jR1swA.0', + '2iKmajM+XUaK0rHac9hVyg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '451ms', + '357ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0z1i2YAAAAADX8Vo73J4/RqfyOlsSaJTNWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0esvMYAAAAAA86FWamU90QqkDHK5oQzyGWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:02 GMT' + 'Fri, 18 Jun 2021 16:36:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-01T16:13:02.5226656+00:00"}, [ + .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"none","sms":"inbound+outbound"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-18T16:52:09.6164096+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -209,17 +209,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'LpLZN9h4mkitnAtt+SOv5w.0', + 'ApF14udBC0yfrcC1FqW77Q.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '684ms', + '924ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '00li2YAAAAADOQlvM9hJfR7FiuFyjvPZ+WVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0fcvMYAAAAACP0u5xWy5GT46rTuMAMSikWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:03 GMT' + 'Fri, 18 Jun 2021 16:36:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -231,7 +231,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'rbI7uWm8AUOb9fQuW7dERQ.0', + 'Ijj8faEWRUWp3xbyTZ+mhQ.0', 'Operation-Location', '/phoneNumbers/operations/purchase_sanitized?api-version=2021-03-07', 'operation-id', @@ -241,13 +241,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1880ms', + '1862ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01Vi2YAAAAAD6cllVxVeNQZLojX6beXDcWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0gMvMYAAAAAB24pCALPnWTJxkK7MTldEZWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:04 GMT', + 'Fri, 18 Jun 2021 16:36:18 GMT', 'Content-Length', '0' ]); @@ -255,7 +255,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -263,23 +263,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'rzuqG/7s8k2TYWky2nd0Tw.0', + '5OuM8uL8Xk64AQMf33n5pQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '386ms', + '379ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01li2YAAAAACvQBD/qnwJR6AIF6thrPSlWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0gsvMYAAAAAB3vCaS82geSI0b3IFTK411WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:05 GMT' + 'Fri, 18 Jun 2021 16:36:18 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -287,23 +287,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'x/anJLWK0ki6l0rsM9ytBg.0', + '0qJeHyB9CU2OsQbAhf9FKg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '448ms', + '590ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02Vi2YAAAAADZ9yLpCHcETrS8eNagxB4uWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0hMvMYAAAAACJbAgwjlDXR59x/3KHHbGTWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:06 GMT' + 'Fri, 18 Jun 2021 16:36:21 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -311,23 +311,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'JoVIil8EKUud4lUgJCcZxg.0', + 'xX1s5HSj8kixxn15HyHtTw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '373ms', + '432ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '021i2YAAAAADA+fwEC2SEQ5PhyGymivLrWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0h8vMYAAAAAD8AUDDixgdQLaGr2hrH+PpWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:07 GMT' + 'Fri, 18 Jun 2021 16:36:23 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -335,23 +335,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'gj78CoR4OU6h6I8ZgI1ZmA.0', + 'eY9D/SqXJUm4JWXTVepS8Q.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '603ms', + '379ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '03li2YAAAAABTcvdrjFCzTaAi3LSuLOMdWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0icvMYAAAAABxjdOXjcJZQYQKS4Shn+8JWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:08 GMT' + 'Fri, 18 Jun 2021 16:36:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -359,23 +359,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'uW7f1tXH1U+dOzsTPUpIhg.0', + '+HLcTPqDY06YvTkZfL+uQg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '387ms', + '388ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '04Fi2YAAAAACp1khBTDucTYBa9ZM5KkrIWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0jMvMYAAAAAAQV17OMRsgR6xULrUZhpO5WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:09 GMT' + 'Fri, 18 Jun 2021 16:36:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -383,23 +383,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Ek1TA1dTW0m1lVGKQWTLRg.0', + 'asqsJTp/Ck66+WDunA9Wlw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '672ms', + '359ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '041i2YAAAAAADmUXeU5JrQbtv+ofTyujQWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0jsvMYAAAAADjiRBQweHjTb9hGK5JynmwWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:10 GMT' + 'Fri, 18 Jun 2021 16:36:30 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -407,23 +407,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '33L4rG8Jd0SzYMMkR/juMQ.0', + 'iqSaEKWk/0aTV1f+80JQ5g.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '729ms', + '577ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '05li2YAAAAAAEhsH50DQIQLRdZLiZaeigWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0kcvMYAAAAADWIoF679ZKTK9BiKrK5mumWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:11 GMT' + 'Fri, 18 Jun 2021 16:36:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/purchase_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:00.9955753+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:07.8086229+00:00","id":"purchase_sanitized","operationType":"purchase","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -431,23 +431,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '0ihd+d1SRUyZkgDeYXcssQ.0', + '8V/chfNreUCOKu5ASrFGdw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '692ms', + '373ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '06Fi2YAAAAABJme+tg2heRrPFJ/svPTxSWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0k8vMYAAAAAADVch+A5aOSrao/RG66cK2WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:12 GMT' + 'Fri, 18 Jun 2021 16:36:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/%2B14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-01T15:57:27.6669826+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"inbound+outbound"},"assignmentType":"application","purchaseDate":"2021-06-18T16:36:33.156404+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -455,17 +455,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'PmXjXtFZCEusd71L2afsZA.0', + 'JZ4SOp+HVE6fmkxRQ+FdWw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1105ms', + '1384ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '07Vi2YAAAAAAPcZHK/POaR6dyKg5eMKLtWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0mMvMYAAAAAAGkDyRTGvaRLdWYYDdRkKBWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:13 GMT' + 'Fri, 18 Jun 2021 16:36:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -477,7 +477,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Nsgyp/U1F0id/x0STSwsGA.0', + 'xOeRAOQsL0KQKUSRWqRzKA.0', 'Operation-Location', '/phoneNumbers/operations/release_sanitized?api-version=2021-03-07', 'operation-id', @@ -487,13 +487,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1507ms', + '1052ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '07li2YAAAAACHvS8YEezYQoz5lydnwvmEWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0mcvMYAAAAAC1AH9pxpUJQ45YpADcvLLuWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:14 GMT', + 'Fri, 18 Jun 2021 16:36:42 GMT', 'Content-Length', '0' ]); @@ -501,7 +501,31 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:35.7085025+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:42.286569+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'Request-Context', + 'appId=', + 'MS-CV', + 'V+bSK7fs9UKnasknwxKm/w.0', + 'api-supported-versions', + '2021-03-07', + 'X-Processing-Time', + '294ms', + 'X-Cache', + 'CONFIG_NOCACHE', + 'X-Azure-Ref', + '0msvMYAAAAAAWZl8/zoSoRobIkdZ5DNbVWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + 'Date', + 'Fri, 18 Jun 2021 16:36:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":false}) + .get('/phoneNumbers/operations/release_sanitized') + .query(true) + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:42.286569+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -509,23 +533,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'GM4vHzUqtkSExZif9ZQpKg.0', + 'OFXGT/BLFESM9xOZweSqug.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '370ms', + '310ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '08Fi2YAAAAADUZNsYXiO/Rbvm3elvPs3iWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0ncvMYAAAAAD4ClT0E8MaQosaL4JpA738WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:15 GMT' + 'Fri, 18 Jun 2021 16:36:45 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:35.7085025+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:42.286569+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -533,23 +557,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'kQL1fHVVLkG9Zog/i4y99w.0', + 'n/OyEPhqWkSJSv9+9jSMpQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '3865ms', + '491ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '08li2YAAAAAAvIDRX/nqNTrmiJd9JgoP3WVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0n8vMYAAAAAAy88rNBfegSpb+NyFYKkg6WVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:16 GMT' + 'Fri, 18 Jun 2021 16:36:47 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/release_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-01T15:57:35.7085025+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":null,"createdDateTime":"2021-06-18T16:36:42.286569+00:00","id":"release_sanitized","operationType":"releasePhoneNumber","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -557,15 +581,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'lkWcKyZykU+VEIN8GsBauQ.0', + '4K25XunquEaJ9P6alt4kqg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2260ms', + '296ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0+Fi2YAAAAAD4z1WA+05dSba3hrwduFjgWVZSMzBFREdFMDMxMgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0osvMYAAAAABnZayl7tXrT7iETkScwtYRWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:57:17 GMT' + 'Fri, 18 Jun 2021 16:36:50 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.js index bd5609b31861..099e1d01364b 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_can_search_for_1_available_phone_number_by_default.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "f76a45252c41cb8825081d8f3c86bb35"; +module.exports.hash = "54fc9ee98e5f24aed78d2ab61a21b45d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -15,7 +15,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'l78/KijTj0CkZbD6DuLGYA.0', + 'WXU0FowMukeSmU0otcpQpA.0', 'Operation-Location', '/phoneNumbers/operations/search_sanitized?api-version=2021-03-07', 'operation-id', @@ -25,13 +25,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2332ms', + '2387ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0QVm2YAAAAADmp+5cdpBiTIzXEtlL1VYNWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '04svMYAAAAAA5FFbmfg9KTb5JC40Efg1iWVZSMzBFREdFMDMyMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:00 GMT', + 'Fri, 18 Jun 2021 16:37:56 GMT', 'Content-Length', '0' ]); @@ -39,7 +39,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:58:59.6143975+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:37:56.5914269+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -51,23 +51,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'CbnAj5r0+kezHxfOjoblAw.0', + 'RAbU/uvvv0OpAOf6kA922w.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '377ms', + '615ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0RFm2YAAAAAAOlby80ufYTpzIWKnVv6xFWVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '05cvMYAAAAACr56b98+JERopbN28ZjuVlWVZSMzBFREdFMDMyMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:00 GMT' + 'Fri, 18 Jun 2021 16:37:57 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:58:59.6143975+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:37:56.5914269+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -79,23 +79,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Iyd4lTRBbU+vfnoEVDy/xA.0', + 'hMOpri8/y02V1tUBaGflvg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '390ms', + '363ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Rlm2YAAAAACLI0G8AWOwRasVEVTfrW43WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '058vMYAAAAAAII6T1XHFNQry51VLFnrftWVZSMzBFREdFMDMyMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:02 GMT' + 'Fri, 18 Jun 2021 16:37:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-01T16:15:01.7257558+00:00"}, [ + .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-18T16:53:58.7981179+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -103,15 +103,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '8ofmiOuEEk+vNIVqtfmMiw.0', + 'kHkM6d/VTEefTQAIEzY5yw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '837ms', + '802ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0SFm2YAAAAADmiyy9U6OeT6qEAz4oMaU+WVZSMzBFREdFMDMyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '06svMYAAAAAA62ZdvDyhITKTYBWXedyjeWVZSMzBFREdFMDMyMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:05 GMT' + 'Fri, 18 Jun 2021 16:38:02 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.js index 0ce55b53c590..736a15e1a076 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search/recording_throws_on_invalid_search_request.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "762f6deafb4b1dcf3df7b9c9b10d521b"; +module.exports.hash = "c2062ea5f2048a6c30795f545cbe7db3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -15,15 +15,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'Lxe8VXgtdECePdz4k2+OsQ.0', + '6h62eGZKf0y3cvasS5Kvag.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1033ms', + '1940ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0S1m2YAAAAABQDwGYqogrSo+iSEKdCtx1WVZSMzBFREdFMDQyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '07cvMYAAAAACRMlGwBt7bTLnOHBy0AY/LWVZSMzBFREdFMDQyMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:08 GMT' + 'Fri, 18 Jun 2021 16:38:07 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.js index c1fa41efacc4..915c9042170b 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_can_search_for_1_available_phone_number_by_default.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "f76a45252c41cb8825081d8f3c86bb35"; +module.exports.hash = "54fc9ee98e5f24aed78d2ab61a21b45d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAwAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAwAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevraGbc4njBZuToWvIbAoRUYKFnPaSvOJSgFwtQJTsqWCa3GSuHDgmzlKe42ndiijgGrXhy1H_DB9UawCIdrb8ZGdR6JBbO0uF637_4RataXiLVQW6qAJEiAvqAHXcTv0qb9O61cNgcU30aT_IO9XPdJInjvxXqN8PyjTYfNk3eFlwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrgdMc9h8KJ75v5G-v0HfiAzyi9ITWARQgp4lxHUQkfumoATegsBqc-K4292CZAKSivejnGE7g3nl6416xV1tXqPsY_A0-jvw80cscWA4HNMI73QJNnFtXtfjz9jBuma8n4r6wAYZXDpXluY4TBm8VnALNoJlrU3LGv7yCUEpV0-kgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:42 GMT', + 'Fri, 18 Jun 2021 16:37:40 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,28 +60,30 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SAwAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SAwAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrFf34oSaittwxALtxlBB0Kg1uS81_g-xnrXWMl6if7ekeryVnOSkcOZyRXtxcmmqMRwSEPfeaPQyjLeqM2DqMF-XKTNoV4320rIiQKNK-pMBuRiTY7eT8b_4TAbtxtsJiNesQtENStrywlH3pO2C_avlcgwDWduLjfI0v9a0XixogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrW22qCpT7bKjAbHGZJFmKj9DnCWNKxHdeUYm_3KsgbvfYAsil4TNZiydAav9xli9RtLswD_5Cdxy8PBuYe8U7A7p42jrFeI7tqkD7i8Z9F0GWLD7Hvsm4AIC7b-U0Wzb8sr6Pf2oEF8w9cr3bGavWNN5dZN5W1AX39qk-aJqU3eMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:42 GMT', + 'Fri, 18 Jun 2021 16:37:40 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', + 'Content-Length', + '1327', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,19 +97,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBAAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:41 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:42 GMT', - 'Content-Length', - '1327' + 'Fri, 18 Jun 2021 16:37:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) @@ -121,7 +121,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'ZcSC+9iKykCWPf+xE59pRA.0', + 'I/lcNC72+0WVuF3L0JY0KA.0', 'Operation-Location', '/phoneNumbers/operations/search_sanitized?api-version=2021-03-07', 'operation-id', @@ -131,13 +131,13 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2267ms', + '1669ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0M1m2YAAAAABNO7P4GXZPQLmjSuDz9AutWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '01cvMYAAAAADpWh/Xzy5XRpGEG7edZf+LWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:44 GMT', + 'Fri, 18 Jun 2021 16:37:43 GMT', 'Content-Length', '0' ]); @@ -145,7 +145,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:58:45.1779544+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"notStarted","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:37:42.865191+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -157,23 +157,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'oW9HISo5MUy628W+WlMdgw.0', + 'y/qGANY9oUSFi+fB/Gy6Eg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '509ms', + '350ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0NVm2YAAAAAA7vFCTwrczTJ715o9f5HOdWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '018vMYAAAAAAOpbIZaMegSJF4vNZCWs55WVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:45 GMT' + 'Fri, 18 Jun 2021 16:37:43 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/search_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-01T15:58:45.1779544+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/availablePhoneNumbers/searchResults/sanitized?api-version=2021-03-07","createdDateTime":"2021-06-18T16:37:42.865191+00:00","id":"search_sanitized","operationType":"search","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -185,23 +185,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'nfK8OJfRP0GmBUryuZfNHw.0', + '8Q8/LwRwXkC1CN+EG45FJA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '385ms', + '377ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0OFm2YAAAAABRw2fvHLVDQZ7bIFoprpglWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '02cvMYAAAAAAceSSo4hfGSbkqg3TS5kSyWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:47 GMT' + 'Fri, 18 Jun 2021 16:37:46 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/availablePhoneNumbers/searchResults/sanitized') .query(true) - .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-01T16:14:48.1312872+00:00"}, [ + .reply(200, {"searchId":"sanitized","phoneNumbers":["+14155550100"],"phoneNumberType":"tollFree","assignmentType":"application","capabilities":{"calling":"outbound","sms":"none"},"cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"},"searchExpiresBy":"2021-06-18T16:53:44.3704025+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -209,15 +209,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'VfbbdjPAnU+Gw0tSanUk1g.0', + 'Krt+hD2Sz069yZ5HDUQujg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '739ms', + '744ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Olm2YAAAAABhmeTsSwkvTYiaJ9j/dqCvWVZSMzBFREdFMDMxNgA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '03MvMYAAAAABFqfoSHW+WTpKiwB5vRTiOWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:50 GMT' + 'Fri, 18 Jun 2021 16:37:48 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.js index 6e99c63416dd..3c1b0f147f5a 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__search_aad/recording_throws_on_invalid_search_request.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "762f6deafb4b1dcf3df7b9c9b10d521b"; +module.exports.hash = "c2062ea5f2048a6c30795f545cbe7db3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBAAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJs4k13CFamT3NSGl_mC8dv0ZpbmUZ21WPabwEMt3N5nfiumJAieFKB6LXo-dRuxpGLR5iUldzSzJST24ymwsnZm4PNsWQPq-pW2LF-_q5HLJqisZZfCJjKezTvkzcAkFMbOCBAsKOvWfYkhYTSzed4PRvhgKAR2yJwlzvwnl4lwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxNJRycxIR1EL2MFv93WAsUIdcWznq33KPLLkZEpk6meUe_8mtj4OGh1u2njff47_PKVFdiJlswUAPoZNUk-lhxOZ4SVRIzm4IInaoUr11XFYKFtmG2Gia1HugFPcfVGu3N201BpSPH5UAYCY8BbLGPvK-XxnGZ6qqAUcjCZ6sSQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:53 GMT', + 'Fri, 18 Jun 2021 16:37:50 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBAAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrELDBizGHwxj5d2lV8T1TM8lwa5NS2eSoNCQMqolvJ2DItLIJZc-2-dsCPMgnAda32kNiu4m0_MAX2tFvpj4Hzc5Imlfb25DZIlr6PatP25oFGSk1C6UZy2TPTVFf5JTgQMDxHCfsprs_GfPJF9a2iSLGnF4EBbQK9NB3yyLEucsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrjRrwfd7JZZMY774lJvDeEU0o9RONVjoJCCYqbLtQxnN4MA4J9BxvQlBCbnro_OvXTcqxBA4b8uegZ5YlLnI7WWatMPtjPujYEE-JlBHf1fLaiZjRt0J7Shtq9pxv8xJaFtz_lOsLZD2o-x2lsBsGkpgSZwfK1xfGZ9cer-XzEHQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:53 GMT', + 'Fri, 18 Jun 2021 16:37:51 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - WUS2 ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:58:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:37:51 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:58:53 GMT', + 'Fri, 18 Jun 2021 16:37:51 GMT', 'Content-Length', '1327' ]); @@ -121,15 +121,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'yvR2BaQK20aM/y4RJiPC2A.0', + 'WkgNKq8tNEOophFF/SODkA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '3453ms', + '2002ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0PVm2YAAAAAAZQPk1nuhZS7ZV+qoGJHZ2WVZSMzBFREdFMDQxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '04MvMYAAAAAAz+Djd8HsRQ4LIYv4ZVh/WWVZSMzBFREdFMDMxOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:58:57 GMT' + 'Fri, 18 Jun 2021 16:37:53 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.js index 1d9e716f7ac6..ebbb8bef9550 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_can_update_a_phone_numbers_capabilities.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "d283ef4ee7ab0823ebb4f6397922c643"; +module.exports.hash = "c712c9c77d67bd041a87c0cfd72c611f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -19,7 +19,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'ZNng7olGG0q3e0Ep/Lvl3w.0', + 'I99VikQapUCozl5S/WyOtw.0', 'Operation-Location', '/phoneNumbers/operations/capabilities_sanitized?api-version=2021-03-07', 'operation-id', @@ -29,19 +29,19 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '2022ms', + '1785ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0XVm2YAAAAABiHHm0keUdSKduK2gG+RepWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0A8zMYAAAAAB3ggB+vQgHTpdUTovnM/l3WVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:26 GMT' + 'Fri, 18 Jun 2021 16:38:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -53,23 +53,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'v6D9Bli9OkuYgMyivF/5Ug.0', + 'jqhrRy/v5ECHH4kHTR89aw.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '318ms', + '391ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0X1m2YAAAAACVkAZmPGJAT6Scq806HEHZWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0BMzMYAAAAACnEkLQqM1SQ4u8ASmgNGrbWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:27 GMT' + 'Fri, 18 Jun 2021 16:38:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -81,23 +81,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'PrrOv5kQU0yiX0CP7s21yQ.0', + 'nq3C7t8F+UOL/4yGWj8NIg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '324ms', + '298ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0YVm2YAAAAACThWXxs+1pQZU/GmsXaYS7WVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0B8zMYAAAAACJyLQn5ajbS7RH4GQNWKltWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:29 GMT' + 'Fri, 18 Jun 2021 16:38:31 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -109,23 +109,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'FRe0z8D7Uk253pGHfnQKDA.0', + 'jXXTRhZlrUCMOdmQpWppFg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '326ms', + '304ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0ZFm2YAAAAAAjDcqiPACOTryCiOuREeBzWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0CczMYAAAAAB3VvNfPGagSoG0bGVhlzeZWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:31 GMT' + 'Fri, 18 Jun 2021 16:38:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -137,23 +137,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'jtqtFnGE6EyuGByegQdfnQ.0', + 'gfq27MjhO06jUEOjSLl5PQ.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '325ms', + '297ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Zlm2YAAAAAAYC+tttu42RYIUM3KQb69OWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0DMzMYAAAAACWu1aerjVCRYGLexL5MS8SWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:34 GMT' + 'Fri, 18 Jun 2021 16:38:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:26.9785389+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:28.5782722+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -165,23 +165,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - '4V6cApOZaE2aD4p59tuqpg.0', + 'ibRBzJvoFky4Uh8URmmGEg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '341ms', + '294ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0aFm2YAAAAABVp/CH69/BR5rKJgQOvQxPWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0DszMYAAAAACwoYCPkDb5SaTcKFXPUFtHWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:36 GMT' + 'Fri, 18 Jun 2021 16:38:38 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/+14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -189,15 +189,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'WgQQDptpKUew5zLIo+4U8A.0', + 'aXFNE3dQS0Wr+aC0R3a9GA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1442ms', + '1153ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0a1m2YAAAAAAMiBKwlXTSRoiEMBzb6i7EWVZSMzBFREdFMDMxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0EMzMYAAAAACfhh7GaNiZSJXoebTY7IjOWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:39 GMT' + 'Fri, 18 Jun 2021 16:38:41 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.js index 152e3cb9ee2f..7e178fb2a2fe 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update/recording_update_throws_when_phone_number_isnt_owned.js @@ -1,27 +1,29 @@ let nock = require('nock'); -module.exports.hash = "a029440b94d74f4bb37d8021fa55d003"; +module.exports.hash = "9d22e91b3c0859e19eebf021b89a898f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":false}) .patch('/phoneNumbers/%2B14155550100/capabilities', {"calling":"none","sms":"outbound"}) .query(true) - .reply(404, "", [ + .reply(404, {"error":{"code":"InternalError","message":"The server encountered an internal error."}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json', 'Request-Context', 'appId=', 'MS-CV', - 'A1uTBbq3nk2rB2RHx2xxiQ.0', + 'QdMD7Y75oUuEz/OnGua9RA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '277ms', + '301ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0blm2YAAAAAApYfcZTdxvQ4um59ELvNWHWVZSMzBFREdFMDMxNAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0FMzMYAAAAAAJQcr/2q+HTrABQAGhIAtoWVZSMzBFREdFMDQxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:42 GMT', - 'Content-Length', - '0' + 'Fri, 18 Jun 2021 16:38:43 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.js index c4f071a6151f..b8c0d8bada6b 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_can_update_a_phone_numbers_capabilities.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "d283ef4ee7ab0823ebb4f6397922c643"; +module.exports.hash = "c712c9c77d67bd041a87c0cfd72c611f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,6 +10,8 @@ nock('https://endpoint', {"encodedQueryParams":false}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/SomeTenantId/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +27,22 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:07 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrwoi2iwp2FqJTHHrEUb8OOxFK3AbrYkK1dz-2DieHdOv8zEtAdSha35VOoqy12mEvulJHPar7a1DxT8fTcMg8mtrdwN_UucjHwT6boS4bzHvCQbDu3fHGOyahGU7sEVAFAB4UKRTdmf3jYaS5weC5mkeLfPkgPVB0BtixLvw710EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQLLp2GiTlCwtak-vNuGKhmWT9ZIfsNIQkbygbgi26gc8MELamdFQ22t9rtt8XZAAXxr637cxo2RyRd6kpKU1jGYSMm_wPZRqtT1U4W1Vw9GnMSOaJKEpUrV-b55ME6yBwZY4p_w5ORdsdVyGou5Zc_mC6pWxtApCMXxrPsTrUmUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:09 GMT', - 'Content-Length', - '980' + 'Fri, 18 Jun 2021 16:38:07 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,23 +60,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBQAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBAAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:07 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd7SWgSyhEUyUws6pob7eZZzvfiahwd95DoOxxmqhu5IlJVpiIC8x6SanJm07cPYBWqyBbz0gvohetw-NsCDoWMIylitQgueaR-CY3Y3kqJ9Xqa_3kTGIl6H0lpOnLhr4NdKLMLq3AlBV_ZJ__JTLJhY2sH9e7y4sSVjOBahUh68gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTEfa8rKIDDZeYvLoB0YlDO8TzsLnWieJkJV3_UF2de8aVvdGVXP2hlOM4NCA_XNt4O3w2sTpyt_lJ0UH3nv7ta6TStCzpKYarA77vR7339ebPVGkB1GuhzglpAEI4PbKUoxSIHS5GSK6cWT_1IsM21cJtNlh_XHK3jzt8Fvt_q4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:09 GMT', + 'Fri, 18 Jun 2021 16:38:07 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -95,17 +95,17 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - WUS2 ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:07 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:09 GMT', + 'Fri, 18 Jun 2021 16:38:07 GMT', 'Content-Length', '1327' ]); @@ -125,7 +125,7 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'TLxm0aJrKE6R5971NCZYfA.0', + 'tggij5FFtUiiWqfEdemqDA.0', 'Operation-Location', '/phoneNumbers/operations/capabilities_sanitized?api-version=2021-03-07', 'operation-id', @@ -135,19 +135,47 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1702ms', + '2254ms', + 'X-Cache', + 'CONFIG_NOCACHE', + 'X-Azure-Ref', + '078vMYAAAAACb4UfzFLE7S52RpLriak1wWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + 'Date', + 'Fri, 18 Jun 2021 16:38:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":false}) + .get('/phoneNumbers/operations/capabilities_sanitized') + .query(true) + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'Location', + '/phoneNumbers/+14155550100?api-version=2021-03-07', + 'Access-Control-Expose-Headers', + 'Location', + 'Request-Context', + 'appId=', + 'MS-CV', + 'Iu8y07y+GUGEs3Go8s53Jg.0', + 'api-supported-versions', + '2021-03-07', + 'X-Processing-Time', + '433ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0TVm2YAAAAAAXrPYkZtVdSZpgTLVCSPPBWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '08svMYAAAAAC+cW6hXAp8Q6albT3fzJeqWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:11 GMT' + 'Fri, 18 Jun 2021 16:38:10 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"notStarted","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:11.1185548+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -159,23 +187,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'p5alFMGbYkK1mRdo1eg3AA.0', + 'oXomvaAW0EC5u9BA5m9VQA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '316ms', + '308ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0T1m2YAAAAABd5rH+gIATQ6Ba3JP+wrKEWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '09MvMYAAAAAAloP2DIGrTSqPQXbTozxtTWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:11 GMT' + 'Fri, 18 Jun 2021 16:38:12 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:11.1185548+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -187,23 +215,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'ojjnbYg5QECEkWpBFMBBpg.0', + 'L2/xcxMI+kSoohQJafrAKg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '552ms', + '304ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0UVm2YAAAAAClePrdyMnHSKNG8NcIC+FsWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '098vMYAAAAADttYVy9qodS47hqHRreS0fWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:14 GMT' + 'Fri, 18 Jun 2021 16:38:15 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:11.1185548+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"running","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -215,23 +243,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'iwPUuQmXdEiumaQ6CCMVBg.0', + 'h15uC+rPcE6AU1DsMIQ8Tg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '316ms', + '302ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0VFm2YAAAAACBGWfOkI30RKGUZLlnuHnoWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0+cvMYAAAAAAY3DoyNBV5R6GtWaWImU4sWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:16 GMT' + 'Fri, 18 Jun 2021 16:38:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/operations/capabilities_sanitized') .query(true) - .reply(200, {"status":"succeeded","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-01T15:59:11.1185548+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ + .reply(200, {"status":"succeeded","resourceLocation":"/phoneNumbers/+14155550100?api-version=2021-03-07","createdDateTime":"2021-06-18T16:38:09.7065242+00:00","id":"capabilities_sanitized","operationType":"updatePhoneNumberCapabilities","lastActionDateTime":"0001-01-01T00:00:00+00:00"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -243,23 +271,23 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'HJmsVjC11UOr39yEjf5MjQ.0', + 'hqUA5kh2nUWKf4M2F6690Q.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '344ms', + '307ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0Vlm2YAAAAAAUc9mEODOCRKVWtX/kWHqDWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0+8vMYAAAAAA1VptBHeVSSoUjTtzXGppkWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:18 GMT' + 'Fri, 18 Jun 2021 16:38:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/phoneNumbers/+14155550100') .query(true) - .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:01:55.0949003+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ + .reply(200, {"id":"14155550100","phoneNumber":"+14155550100","countryCode":"US","phoneNumberType":"tollFree","capabilities":{"calling":"none","sms":"outbound"},"assignmentType":"application","purchaseDate":"2021-03-09T15:03:04.7513808+00:00","cost":{"amount":2,"currencyCode":"USD","billingFrequency":"monthly"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -267,15 +295,15 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'Request-Context', 'appId=', 'MS-CV', - 'FTy6B6yfT0OP+gqD8eKi0w.0', + 'Jy4qSxQn40GQyH3yYwUhlg.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '1021ms', + '1346ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0WVm2YAAAAADI8N6jcD4MSoSSO5GBzfiNWVZSMzBFREdFMDQwOQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0/svMYAAAAADzyRudf9A8TrBjhM4bNAEQWVZSMzBFREdFMDMxMQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:21 GMT' + 'Fri, 18 Jun 2021 16:38:23 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.js b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.js index 9a4802debde4..4c1a127dc915 100644 --- a/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.js +++ b/sdk/communication/communication-phone-numbers/recordings/node/phonenumbersclient__lro__update_aad/recording_update_throws_when_phone_number_isnt_owned.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "a029440b94d74f4bb37d8021fa55d003"; +module.exports.hash = "9d22e91b3c0859e19eebf021b89a898f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7TnBck8pxKJmCT4YxyorRwpqVuhN2c8uaM5mifipybCge_mRADKP1R6UJlQP4Srq1DYxNUhyDkkV5-BSG0vLqwiJyyk7hTkUY2yk5L4Dbn39JxlnnsM4-cLDRof47CtRjKvEax-4NdxQ1F843TBaAnuxY6bjNTHWxi4J1v_riuAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrE8dretEml899GRHl-N341VdqX3sFB_f-YrQAn6-DKWoBTUZaLK8OfSFA8Faf8B9_CsSrDrKBhe4wpA3tNswfsJS5AVbNzlIQfIHjvXCROLQ2tkf1JsXQwE3t1PE_7GhroiN11nTDwu6j_FzsfKhehlHulvgsv-LgzuMN8XZ36YogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:24 GMT', + 'Fri, 18 Jun 2021 16:38:25 GMT', 'Content-Length', '980' ]); nock('https://endpoint', {"encodedQueryParams":false}) .get('/SomeTenantId/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/SomeTenantId/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/SomeTenantId/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/devicecode","http_logout_supported":false,"frontchannel_logout_supported":false,"end_session_endpoint":"https://login.microsoftonline.com/SomeTenantId/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/SomeTenantId/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -60,28 +60,30 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBQAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5erknc1cq2HiqJ1ikxgqep9Eve5MZR9MQXljQPwQ7pV6mv-BeP2pMJKZm2MuV8MjkfK8c72w7aknetj7AfIEeVO6UseONgb_xszpvL8L4BjbC1nalYgXEJRKN5heKfJwmzcaN44ig-FF04QeVlAxmjwZPTBqYEt7goI6F5O9QtYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfKsrZEh5TYxNLB6-bIyRz80-dst8wyjToCRTCX5lpnvJRMtL9l4PSQUmUZ2epK96OsQYzyKzCXQbd6avpa0OMsO731PZW6c7Ek8-h_iIIge8ziHuoI3ltL2ecPZMGjChpwp5zPLvfjje716FV25dh3FpwIVDouAILfBNZSUx6BMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:24 GMT', + 'Fri, 18 Jun 2021 16:38:25 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://endpoint', {"encodedQueryParams":false}) - .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fcommunication.azure.com%2F%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=sanitized&client_secret=SomeClientSecret") + .post('/SomeTenantId/oauth2/v2.0/token', "client_id=SomeClientId&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=sanitized&client_secret=SomeClientSecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', + 'Content-Length', + '1327', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,39 +97,39 @@ nock('https://endpoint', {"encodedQueryParams":false}) 'x-ms-request-id', 'sanitized', 'x-ms-ests-server', - '2.1.11722.26 - WUS2 ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AtoRK8gNCytBsgelMsPAEVxWyo4SBgAAALlPSNgOAAAA; expires=Thu, 01-Jul-2021 15:59:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Akx-rKIenedChRbNwm0wEmhWyo4SBgAAAGbCXtgOAAAA; expires=Sun, 18-Jul-2021 16:38:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 01 Jun 2021 15:59:24 GMT', - 'Content-Length', - '1327' + 'Fri, 18 Jun 2021 16:38:25 GMT' ]); nock('https://endpoint', {"encodedQueryParams":false}) .patch('/phoneNumbers/%2B14155550100/capabilities', {"calling":"none","sms":"outbound"}) .query(true) - .reply(404, "", [ + .reply(404, {"error":{"code":"InternalError","message":"The server encountered an internal error."}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json', 'Request-Context', 'appId=', 'MS-CV', - 'i4XGcpfr/0SW7kuxkulw9g.0', + 'ON3o+UzWtUiWFeOM/BghGA.0', 'api-supported-versions', '2021-03-07', 'X-Processing-Time', - '327ms', + '442ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0XFm2YAAAAADhsEI3RfgsSreBUV32r4ZAWVZSMzBFREdFMDMxMwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', + '0AszMYAAAAABDyph1+u3WQandjyKyumqTWVZSMzBFREdFMDQxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=', 'Date', - 'Tue, 01 Jun 2021 15:59:25 GMT', - 'Content-Length', - '0' + 'Fri, 18 Jun 2021 16:38:26 GMT' ]); diff --git a/sdk/communication/communication-phone-numbers/test/internal/headers.spec.ts b/sdk/communication/communication-phone-numbers/test/internal/headers.spec.ts index 82ce3fc08dcb..8f90bfe44959 100644 --- a/sdk/communication/communication-phone-numbers/test/internal/headers.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/internal/headers.spec.ts @@ -48,7 +48,7 @@ describe("PhoneNumbersClient - headers", function() { }); it("sets date header", function() { - const dateHeader = isNode ? "date" : "x-ms-date"; + const dateHeader = "x-ms-date"; assert.typeOf(request.headers.get(dateHeader), "string"); }); diff --git a/sdk/communication/communication-phone-numbers/test/public/get.spec.ts b/sdk/communication/communication-phone-numbers/test/public/get.spec.ts index fd8480e90990..d1e770135138 100644 --- a/sdk/communication/communication-phone-numbers/test/public/get.spec.ts +++ b/sdk/communication/communication-phone-numbers/test/public/get.spec.ts @@ -37,11 +37,8 @@ matrix([[true, false]], async function(useAad) { try { await client.getPurchasedPhoneNumber(fake); } catch (error) { - assert.strictEqual(error.code, "PhoneNumberNotFound"); - assert.strictEqual( - error.message, - "The specified phone number +14155550100 cannot be found." - ); + assert.strictEqual(error.code, "NotFound"); + assert.strictEqual(error.message, "Input phoneNumber +14155550100 cannot be found."); } }); }); diff --git a/sdk/communication/communication-sms/test/public/smsClient.mocked.spec.ts b/sdk/communication/communication-sms/test/public/smsClient.mocked.spec.ts index b20e288cd1a9..56dd6e75b526 100644 --- a/sdk/communication/communication-sms/test/public/smsClient.mocked.spec.ts +++ b/sdk/communication/communication-sms/test/public/smsClient.mocked.spec.ts @@ -15,7 +15,7 @@ const TEST_NUMBER = "+14255550123"; describe("[mocked] SmsClient", async () => { const baseUri = "https://contoso.api.fake:443"; const connectionString = `endpoint=${baseUri};accesskey=banana`; - const dateHeader = isNode ? "date" : "x-ms-date"; + const dateHeader = "x-ms-date"; let sendRequestSpy: sinon.SinonSpy; const mockHttpClient: HttpClient = new MockHttpClient(TEST_NUMBER); From c0751558800e76e78be0ae66e97af7aa40d3d833 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 18 Jun 2021 14:04:45 -0700 Subject: [PATCH 004/134] Automatic rush update recheck (#15839) --- common/config/rush/pnpm-lock.yaml | 62 ++++++++++++++++++------------- 1 file changed, 37 insertions(+), 25 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 001264213125..9356e0eb9327 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -342,7 +342,7 @@ packages: integrity: sha512-CxaMaEjwtsmIhWtjHyGimKO7RmES0YxPqGQ9+jKqGygNlhG5NYHktDaiQu6w7k3g+I51VaLXtVSt+BVFd6VWfQ== /@azure/identity/1.2.5_debug@4.3.1: dependencies: - '@azure/core-http': 1.2.3 + '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.2 '@azure/msal-node': 1.0.0-beta.6_debug@4.3.1 @@ -1378,7 +1378,7 @@ packages: /@types/body-parser/1.19.0: dependencies: '@types/connect': 3.4.34 - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ== @@ -1404,7 +1404,7 @@ packages: integrity: sha512-bsjleuRKWmGqajMerkzox19aGbscQX5rmmvvXl3wlIp5gMG1HgkiwPxsN5p070fBDKTNSPgojVbuY1+HWMbFhg== /@types/connect/3.4.34: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-ePPA/JuI+X0vb+gSWlPKOY0NdNAie/rPUqX2GUPpbZwiKTkSPhjXWuee47E4MtE54QVzGCQMQkAL6JhV2E1+cQ== @@ -1437,7 +1437,7 @@ packages: integrity: sha512-LfZwXoGUDo0C3me81HXgkBg5CTQYb6xzEl+fNmbO4JdRiSKQ8A0GD1OBBvKAIsbCUgoyAty7m99GqqMQe784ew== /@types/express-serve-static-core/4.17.21: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 '@types/qs': 6.9.6 '@types/range-parser': 1.2.3 dev: false @@ -1461,20 +1461,20 @@ packages: integrity: sha512-IyNhGHu71jH1jCXTHmafuoAAdsbBON3kDh7u/UUhLmjYgN5TYB54e1R8ckTCiIevl2UuZaCsi9XRxineY5yUjw== /@types/fs-extra/8.1.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-TcUlBem321DFQzBNuz8p0CLLKp0VvF/XH9E4KHNmgwyp4E3AfgI5cjiIVZWlbfThBop2qxFIh4+LeY6hVWWZ2w== /@types/glob/7.1.3: dependencies: '@types/minimatch': 3.0.4 - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w== /@types/is-buffer/2.0.0: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw== @@ -1488,13 +1488,13 @@ packages: integrity: sha1-7ihweulOEdK4J7y+UnC86n8+ce4= /@types/jsonwebtoken/8.5.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-rNAPdomlIUX0i0cg2+I+Q1wOUr531zHBQ+cV/28PJ39bSPKjahatZZ2LMuhiguETkCgLVzfruw/ZvNMNkKoSzw== /@types/jws/3.2.3: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-g54CHxwvaHvyJyeuZqe7VQujV9SfCXwEkboJp355INPL+kjlS3Aq153EHptaeO/Cch/NPJ1i2sHz0sDDizn7LQ== @@ -1508,7 +1508,7 @@ packages: integrity: sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w== /@types/md5/2.3.0: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-556YJ7ejzxIqSSxzyGGpctuZOarNZJt/zlEkhmmDc1f/slOEANHuwu2ZX7YaZ40rMiWoxt8GvAhoDpW1cmSy6A== @@ -1534,13 +1534,13 @@ packages: integrity: sha512-ZvO2tAcjmMi8V/5Z3JsyofMe3hasRcaw88cto5etSVMwVQfeivGAlEYmaQgceUSVYFofVjT+ioHsATjdWcFt1w== /@types/mock-fs/4.10.0: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-FQ5alSzmHMmliqcL36JqIA4Yyn9jyJKvRSGV3mvPh108VFatX7naJDzSG4fnFQNZFq9dIx0Dzoe6ddflMB2Xkg== /@types/mock-require/2.0.0: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-nOgjoE5bBiDeiA+z41i95makyHUSMWQMOPocP+J67Pqx/68HAXaeWN1NFtrAYYV6LrISIZZ8vKHm/a50k0f6Sg== @@ -1550,7 +1550,7 @@ packages: integrity: sha512-DPxmjiDwubsNmguG5X4fEJ+XCyzWM3GXWsqQlvUcjJKa91IOoJUy51meDr0GkzK64qqNcq85ymLlyjoct9tInw== /@types/node-fetch/2.5.10: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 form-data: 3.0.1 dev: false resolution: @@ -1604,7 +1604,7 @@ packages: /@types/serve-static/1.13.9: dependencies: '@types/mime': 1.3.2 - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-ZFqF6qa48XsPdjXV5Gsz0Zqmux2PerNd3a/ktL45mHpa19cuMi/cL8tcxdAx497yRh+QtYPuofjT9oWw9P7nkA== @@ -1620,7 +1620,7 @@ packages: integrity: sha512-dIPoZ3g5gcx9zZEszaxLSVTvMReD3xxyyDnQUjA6IYDG9Ba2AV0otMPs+77sG9ojB4Qr2N2Vk5RnKeuA0X/0bg== /@types/stoppable/1.1.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw== @@ -1630,7 +1630,7 @@ packages: integrity: sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A== /@types/tunnel/0.0.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A== @@ -1644,19 +1644,19 @@ packages: integrity: sha512-eQ9qFW/fhfGJF8WKHGEHZEyVWfZxrT+6CLIJGBcZPfxUh/+BnEj+UCGYMlr9qZuX/2AltsvwrGqp0LhEW8D0zQ== /@types/ws/7.4.4: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-d/7W23JAXPodQNbOZNXvl2K+bqAQrCMwlh/nuQsPSQk6Fq0opHoPrUw43aHsvSbIiQPr8Of2hkFbnz1XBFVyZQ== /@types/xml2js/0.4.8: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false resolution: integrity: sha512-EyvT83ezOdec7BhDaEcsklWy7RSIdi6CNe95tmOAK0yx/Lm30C9K75snT3fYayK59ApC2oyW+rcHErdG05FHJA== /@types/yauzl/2.9.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.2 dev: false optional: true resolution: @@ -2788,7 +2788,7 @@ packages: integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== /debug/3.2.6: dependencies: - ms: 2.1.1 + ms: 2.1.3 deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dev: false resolution: @@ -6696,7 +6696,7 @@ packages: /rollup/1.32.1: dependencies: '@types/estree': 0.0.48 - '@types/node': 8.10.66 + '@types/node': 15.12.2 acorn: 7.4.1 dev: false hasBin: true @@ -8435,7 +8435,7 @@ packages: dev: false name: '@rush-temp/app-configuration' resolution: - integrity: sha512-4Y/gFY7cxIWiTDNFxwPHq13jW5yOrhs/kXb7hqXt47VsNN2RtbICi0g7cxVDnPlR6z2Zs7aeXSa4TW5Ylhc4Jg== + integrity: sha512-HVlcQjKcWPO7j8OLEmvcEXVcBYpxEJFK0FPCYHwvSdviWASM1klDmUh14KgBI5ukXUOQceDPtEJBKn/ox/5g8g== tarball: file:projects/app-configuration.tgz version: 0.0.0 file:projects/attestation.tgz: @@ -8898,7 +8898,7 @@ packages: dev: false name: '@rush-temp/container-registry' resolution: - integrity: sha512-EtCnuuPQBPDJdlInE2BVGrFIoEvplHQI0YhO5px+KPEgjLBAspIKyc5/htsLtIB6nsuXG4jjdXtUPf/qNYxdxQ== + integrity: sha512-DFt88tLfBmEUwAR8+6xpAupuO1aKe9m2Ajb5uNRjiDzQBA6GlFEG6+hV5ToyDt6pGxGOpFH+T60ij7pjEuUkqg== tarball: file:projects/container-registry.tgz version: 0.0.0 file:projects/core-amqp.tgz: @@ -9340,6 +9340,17 @@ packages: cross-env: 7.0.3 eslint: 7.28.0 inherits: 2.0.4 + karma: 6.3.4 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.0.3 + karma-edge-launcher: 0.4.2_karma@6.3.4 + karma-env-preprocessor: 0.1.1 + karma-firefox-launcher: 1.3.0 + karma-ie-launcher: 1.0.0_karma@6.3.4 + karma-junit-reporter: 2.0.1_karma@6.3.4 + karma-mocha: 2.0.1 + karma-mocha-reporter: 2.2.5_karma@6.3.4 + karma-sourcemap-loader: 0.3.8 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 prettier: 1.19.1 @@ -9356,7 +9367,7 @@ packages: dev: false name: '@rush-temp/core-tracing' resolution: - integrity: sha512-8DVpttwoStfTVGZM2XsYARGD6+Gi+DruU0I7WudAoHKzkfmpCuytc597UHeLsjtDZscuTIYYdrJXT8k5bXg/eQ== + integrity: sha512-WKF4Y6QQ34GMRVUm7b5wj4L16AQP+Yu+/H/LoreZzm7NCnV4C5F0V5OsDkfXdvQvVjspW6CBCZxr6p+a9/LhjA== tarball: file:projects/core-tracing.tgz version: 0.0.0 file:projects/core-util.tgz: @@ -9978,7 +9989,7 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-2H4J3QdHPuGaq/U642XgXcnHAl8JKjyAGkIX7HLykIvf5/6LQk8uFb+kp3DdlQVRU8rDKAcxu25bB9JWN9s7fw== + integrity: sha512-r3u9P6Nl7eZfRVHi+xzt5cfkfOnAt0xbCpGVnwSz0wYIUQFhTIC/9PpuB1iZ3pTdqm6cBzAy3SFMIbWOYTpXjA== tarball: file:projects/identity.tgz version: 0.0.0 file:projects/iot-device-update.tgz: @@ -11875,6 +11886,7 @@ packages: integrity: sha512-7AUtluOH0BIwZus4j+s3KNgdoU1B5xmPTBJbZN7zUvSlIUeHIIOwZtnp7/eb9/LNn5GYyBUD+Nf5+QGRscKm1g== tarball: file:projects/web-pubsub.tgz version: 0.0.0 +registry: '' specifiers: '@rush-temp/abort-controller': file:./projects/abort-controller.tgz '@rush-temp/agrifood-farming': file:./projects/agrifood-farming.tgz From bdff63d2f44f030218aae96ea3f067de30caef92 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Fri, 18 Jun 2021 15:08:03 -0700 Subject: [PATCH 005/134] [KeyVault] - Add networkAcls to MHSM ARM template (#15830) This PR makes three changes to our deployment template: - Add networkAcls to the Managed HSM properties - Remove the 60 second sleep after activation - Speed up challenge auth tests for KV Keys by using methods that don't require creating and deleting keys. The first is now needed, and without it deployment will fail. The second is no longer needed, since it looks like the az cli appropriately waits before coming back. Finally, the third is something I noticed - there's no reason to create and purge keys which takes a long time in order to test CAE. --- ...ion_should_work_for_parallel_requests.json | 1143 +---------------- ...equests_should_not_authenticate_again.json | 841 +----------- ...perties_on_the_wwwauthenticate_header.json | 2 +- ..._shapes_of_the_wwwauthenticate_header.json | 2 +- ...ation_should_work_for_parallel_requests.js | 800 ++---------- ..._requests_should_not_authenticate_again.js | 763 +---------- ...challengeBasedAuthenticationPolicy.spec.ts | 17 +- sdk/keyvault/test-resources-post.ps1 | 10 +- sdk/keyvault/test-resources.json | 2 + 9 files changed, 212 insertions(+), 3368 deletions(-) diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.json b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.json index dcaadaaae913..3fc463b3d0f6 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.json @@ -1,58 +1,58 @@ { "recordings": [ { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/create", + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", "query": { "api-version": "7.2" }, "requestBody": "", "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", "responseHeaders": { "cache-control": "no-cache", - "content-length": "87", + "content-length": "97", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:03 GMT", + "date": "Thu, 17 Jun 2021 22:28:57 GMT", "expires": "-1", "pragma": "no-cache", "status": "401", "strict-transport-security": "max-age=31536000;includeSubDomains", "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c0d51578-0c0e-4fea-8c2e-47b694cdae8e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-client-request-id": "ed067b2c-333e-42dd-a526-b1592bac0f5f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c3579639-4463-4be5-87af-5b73efc1bf44", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "be104998-e1d5-4d79-8c40-33eaf62c5a12", "x-powered-by": "ASP.NET" } }, { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/create", + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", "query": { "api-version": "7.2" }, "requestBody": "", "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", "responseHeaders": { "cache-control": "no-cache", - "content-length": "87", + "content-length": "97", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:03 GMT", + "date": "Thu, 17 Jun 2021 22:28:57 GMT", "expires": "-1", "pragma": "no-cache", "status": "401", "strict-transport-security": "max-age=31536000;includeSubDomains", "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cd0d0897-fafc-4a1d-baba-6d60657e3377", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-client-request-id": "68fb0167-aff6-487d-aa2f-a5d86b02abc1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0d946851-2aad-43b1-abbd-3820985a557a", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "5738fba5-6936-4cad-a542-6b0fdaadab8d", "x-powered-by": "ASP.NET" } }, @@ -60,1150 +60,101 @@ "method": "POST", "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1315", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:03 GMT", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "cda45f29-c2d1-4ffa-bcae-a62ba9635701" + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", + "x-ms-request-id": "a867aa5c-ca07-4596-b271-331a3b58c200" } }, { "method": "POST", "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1315", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:03 GMT", + "date": "Thu, 17 Jun 2021 22:28:57 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "bdddb7dd-f411-4f99-a419-89977f975901" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/2a51e751a9364664b6b99e56d9a9e6a7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"17CjCeQS5w7j0cPRWtbsXk7qacwDREJJcv-1i-ZSW8Nv7YvTYvRak7F_BlC4ykpf9XGDzL62o0jD_1z6sMz9kvAPyWRZVGBZ9vcjn4Jj_yWnIwVfktWbC0-bkrt8NqG08c4zjpx6a_WNo1WAENsv_vT_aVgK00GtWxtG1NvTZ6Z18wOqZ9voP_v6-IqWOSaQgkR7-Z74ysKYTAdo4Hidt2NZALJyjYt5TGG9zEJpHOT3KiQ6tgj9zOjDiKJgrVHeSIIvu4M-Y9L0uU0_zRigZ3SI6WHlBoXuqfGQVdn5Bgppnt84fhhZ9We5QIi4kNhvBRk5G_-entPHwO1f0LjgGQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647263,\"updated\":1619647263,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "758", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c0d51578-0c0e-4fea-8c2e-47b694cdae8e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0314a6da-b304-44b5-8997-a7bbf57ba8b0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/5598cc80b3f447ff935cd2d739170b81\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"222WxmRX30FAas-1kMvpgIuTbG-cb_ESeM4ymftTtscpYARymQgd7taetTFB2aH4VHml2BKZtmuN72bdUWJd0ImkyrC06Ti6eV5X9lvs3DIbO7PwJzMEbHBIHFC2dl6uVeodD5d5SVYdecQL0UYyzkWgHeIrXV2f4Ka7-uYoTpjX_7bRMeDzO41ZQkZRkXNhy9FRDR3knWEewOx4OwiWukmiBhorr06GWvqhP2Hp9c3yaTio-UD3Ao_mwfhtqbj0cF68C-rYkDpFCYI5n1M4_B6-jyEGT_rfE9XdikWzxxmkz9SLiiu7TvTi2N7ZtLbrsAcFOc1IdWUnA7itwzsOyQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647264,\"updated\":1619647264,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "758", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cd0d0897-fafc-4a1d-baba-6d60657e3377", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "959e4090-e9de-467c-8c50-73f5d8387d36", - "x-powered-by": "ASP.NET" + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", + "x-ms-request-id": "b9509a54-3fe4-47e5-ae1b-42f173a37100" } }, { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", "query": { "api-version": "7.2" }, "requestBody": null, "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\",\"deletedDate\":1619647264,\"scheduledPurgeDate\":1620252064,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/2a51e751a9364664b6b99e56d9a9e6a7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"17CjCeQS5w7j0cPRWtbsXk7qacwDREJJcv-1i-ZSW8Nv7YvTYvRak7F_BlC4ykpf9XGDzL62o0jD_1z6sMz9kvAPyWRZVGBZ9vcjn4Jj_yWnIwVfktWbC0-bkrt8NqG08c4zjpx6a_WNo1WAENsv_vT_aVgK00GtWxtG1NvTZ6Z18wOqZ9voP_v6-IqWOSaQgkR7-Z74ysKYTAdo4Hidt2NZALJyjYt5TGG9zEJpHOT3KiQ6tgj9zOjDiKJgrVHeSIIvu4M-Y9L0uU0_zRigZ3SI6WHlBoXuqfGQVdn5Bgppnt84fhhZ9We5QIi4kNhvBRk5G_-entPHwO1f0LjgGQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647263,\"updated\":1619647263,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-1\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-1\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", "responseHeaders": { "cache-control": "no-cache", - "content-length": "961", + "content-length": "585", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:04 GMT", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", "expires": "-1", "pragma": "no-cache", "status": "200", "strict-transport-security": "max-age=31536000;includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "31127ed4-e56b-45dc-b4ac-38bb88cb6228", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4411ff4f-1dbc-48ca-b3e1-b79ea639116c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fcf24e5e-d00c-4ce9-8148-69e4b32521d4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ab06c8eb-ba9e-491e-83ca-e8f2a162828c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1f3b44ca-2800-4e0a-904d-e455a0c4562a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "84a4a74a-c5aa-4b4c-9943-9347357d502a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "19143b06-539f-418f-87b4-baf8c413c38a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2ba25187-4fdb-4add-9d71-db6b6ad2c0e8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "407832d0-7f85-4aca-8abc-b7d2c4514822", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4e66945e-dd14-432b-bac0-e8ad615a2305", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f2042e92-d89f-473f-8f94-5ad50b8d3430", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8232c1fd-a874-4efb-a987-7eb603906eff", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "67076461-271f-40be-9d15-ec9585fb715a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "91e55084-28ec-46d9-9542-0537b91ca186", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bf131e35-309f-44c2-8f8d-33632711c660", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f5a95e20-6485-44f4-bb28-7be03878feb1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "450adb61-d8e5-4e74-8f6d-d95d7eeb67ce", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ef66b383-5a9c-41bd-9703-83b5b164fd38", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ba247f25-1d61-4385-9372-f6637ff276ee", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ce6efdae-3f6a-4ad1-b478-3dfdc3a5b84d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c906efa5-7e38-440d-9ff1-6edae3f9b1d5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "61b7b14c-bc62-4b35-8494-b088f9462bba", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "02ae80ad-4f44-4830-8a7d-d92ef24c7ac8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2d8ae957-e46d-4c70-bb8f-4a99b297fa6a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "56b3f498-4837-4d40-932e-679cb4fca533", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-client-request-id": "68fb0167-aff6-487d-aa2f-a5d86b02abc1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "145b8a4e-da66-465c-a002-b2dc467ddb9d", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "a784515e-27b5-4022-bbd9-5236aedb905b", "x-powered-by": "ASP.NET" } }, { "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", + "url": "https://keyvault_name.vault.azure.net/keys", "query": { "api-version": "7.2" }, "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", + "status": 200, + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-1\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-1\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", "responseHeaders": { "cache-control": "no-cache", - "content-length": "151", + "content-length": "585", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "70786cde-5e01-4fe0-ab61-e4ce6b91864a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "24d00040-4d0f-4fa2-a6f9-d93f80584ea0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fd900836-1c3e-4d20-bf30-bd01223b43d7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6530c539-a960-46e6-8351-3c922b0c7116", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0eaecff4-9c82-41a4-b8d8-4b50158f4058", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6a3d0b7d-54be-4057-8af4-ff7d36027679", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "01083114-8452-4eab-8908-679c908229b5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f37522ee-35cc-4deb-a4a6-c1b66efd12e4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "aa758474-3c1e-466e-a422-434d70fddd0a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b7ec685d-18f5-4851-b429-0b54b333a160", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d41cd2b7-5a8b-47e7-8d10-d37e50fa584d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c7dc33a6-143b-470d-9b8f-2807afe5b5fe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "66b4a33a-f41c-46f4-92b3-e003a6717309", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c36b499e-4117-4efb-8643-748f9e1f379a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0\",\"deletedDate\":1619647264,\"scheduledPurgeDate\":1620252064,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/2a51e751a9364664b6b99e56d9a9e6a7\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"17CjCeQS5w7j0cPRWtbsXk7qacwDREJJcv-1i-ZSW8Nv7YvTYvRak7F_BlC4ykpf9XGDzL62o0jD_1z6sMz9kvAPyWRZVGBZ9vcjn4Jj_yWnIwVfktWbC0-bkrt8NqG08c4zjpx6a_WNo1WAENsv_vT_aVgK00GtWxtG1NvTZ6Z18wOqZ9voP_v6-IqWOSaQgkR7-Z74ysKYTAdo4Hidt2NZALJyjYt5TGG9zEJpHOT3KiQ6tgj9zOjDiKJgrVHeSIIvu4M-Y9L0uU0_zRigZ3SI6WHlBoXuqfGQVdn5Bgppnt84fhhZ9We5QIi4kNhvBRk5G_-entPHwO1f0LjgGQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647263,\"updated\":1619647263,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "961", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "207626b3-d813-4866-8c37-2e767dd7bd41", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c4b9b0b4-35e9-4c26-9374-a310ececd74f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:01:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4804cd47-d6b6-408e-bd00-ef594e707077", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "561bbb6d-8e01-4432-9663-26e1ce97be4c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\",\"deletedDate\":1619647302,\"scheduledPurgeDate\":1620252102,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/5598cc80b3f447ff935cd2d739170b81\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"222WxmRX30FAas-1kMvpgIuTbG-cb_ESeM4ymftTtscpYARymQgd7taetTFB2aH4VHml2BKZtmuN72bdUWJd0ImkyrC06Ti6eV5X9lvs3DIbO7PwJzMEbHBIHFC2dl6uVeodD5d5SVYdecQL0UYyzkWgHeIrXV2f4Ka7-uYoTpjX_7bRMeDzO41ZQkZRkXNhy9FRDR3knWEewOx4OwiWukmiBhorr06GWvqhP2Hp9c3yaTio-UD3Ao_mwfhtqbj0cF68C-rYkDpFCYI5n1M4_B6-jyEGT_rfE9XdikWzxxmkz9SLiiu7TvTi2N7ZtLbrsAcFOc1IdWUnA7itwzsOyQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647264,\"updated\":1619647264,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "961", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:42 GMT", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", "expires": "-1", "pragma": "no-cache", "status": "200", "strict-transport-security": "max-age=31536000;includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "357e84c7-19f2-48db-a2fd-678dfd4d4d71", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "69ebecc9-82c3-4e84-b803-8704fe3cbb8f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c092cf7d-12f0-4f6b-878e-03a6e7f47c82", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6eb89a32-0ed7-4967-90b0-30dece334b13", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3998abdd-3c05-4332-8f0d-adbcb119f27f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "75faffbd-9838-4456-8166-e4f883d199dc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "35e1377e-99f0-4713-b48c-e016a95c66b7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "206328ee-17fb-4f5e-85f5-5133d9cd095f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b3b7d199-b3f0-495b-bae5-2279c7c97ac8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ff0c2d24-0c95-463f-9f50-7ced7c2e0313", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "eeed7b20-56ed-4b9d-bd7a-d30c94e9fd79", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cead2980-1ab3-4399-8f8e-e67d4a659da5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "130896bc-6347-4469-8950-7099b9f0ea00", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "47d08a2c-eb86-41cb-b93b-ca4006b96c4b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "80382463-7501-4593-bc6b-e67539c5ef5d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c253da4c-1cc1-49b1-b481-8d4bf8a5420b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a75e0f49-9e71-4aff-ae6a-26779ce94573", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "05d3561d-03f2-4a16-9468-ab6a9ab1bfd5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f06a7a64-5ae1-4a1e-bb33-6e4a15306881", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "094d6e5f-a92c-46f6-9147-a3b0cc9a392e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:01:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4a5a7ea3-3eda-4eab-80df-30a80624404f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e82daaaa-568c-4bb4-9354-1144e3def318", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8d6f1a53-814b-4dce-8449-bbd8991e60eb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b1c56830-805a-4e69-9c14-8330eb64612c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e5a80f93-e193-40be-9fdb-717e2e6713ab", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a54cafe6-47e6-4a5b-b703-e6c4100cb5de", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "db074074-d649-42e0-a6b1-b4742b7bce05", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4e633b57-12ec-4944-8995-0751f24b13a8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "151", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dc3ad068-79d6-4358-8d0c-f532776e6a5c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bf907fb4-89a2-4a12-986c-f1b49f38ac02", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1\",\"deletedDate\":1619647302,\"scheduledPurgeDate\":1620252102,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/5598cc80b3f447ff935cd2d739170b81\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"222WxmRX30FAas-1kMvpgIuTbG-cb_ESeM4ymftTtscpYARymQgd7taetTFB2aH4VHml2BKZtmuN72bdUWJd0ImkyrC06Ti6eV5X9lvs3DIbO7PwJzMEbHBIHFC2dl6uVeodD5d5SVYdecQL0UYyzkWgHeIrXV2f4Ka7-uYoTpjX_7bRMeDzO41ZQkZRkXNhy9FRDR3knWEewOx4OwiWukmiBhorr06GWvqhP2Hp9c3yaTio-UD3Ao_mwfhtqbj0cF68C-rYkDpFCYI5n1M4_B6-jyEGT_rfE9XdikWzxxmkz9SLiiu7TvTi2N7ZtLbrsAcFOc1IdWUnA7itwzsOyQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647264,\"updated\":1619647264,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "961", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5a261f42-3244-4da3-8bd1-cdd02bf4b07f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a8476e86-f990-424d-b965-652d5e1e1801", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:02:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1de935e9-bcce-4877-a996-8da89e0e9962", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-client-request-id": "ed067b2c-333e-42dd-a526-b1592bac0f5f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6dc1066d-3fde-46ab-945b-942b72d1d16f", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "29782669-986b-484b-be52-2bc0a2882a7c", "x-powered-by": "ASP.NET" } } @@ -1212,5 +163,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "3941290142852679600642c5ff88e569" + "hash": "9c6eaed2ebe372dd12aa2b3b7d5155e9" } \ No newline at end of file diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.json b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.json index b7cb8df3054a..4138ace45287 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.json @@ -1,30 +1,30 @@ { "recordings": [ { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/create", + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", "query": { "api-version": "7.2" }, "requestBody": "", "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", "responseHeaders": { "cache-control": "no-cache", - "content-length": "87", + "content-length": "97", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:10 GMT", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", "expires": "-1", "pragma": "no-cache", "status": "401", "strict-transport-security": "max-age=31536000;includeSubDomains", "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c7bd4ba5-df11-4e36-9a1d-3fb3d5f831e6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-client-request-id": "7736f559-035b-4ca4-b0c8-ac2fa40210ff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "95ba86af-d8a3-4ffc-ad52-76f815ca1fa8", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "d11e35f6-71da-459c-bed5-2ddb3a5fef14", "x-powered-by": "ASP.NET" } }, @@ -32,856 +32,77 @@ "method": "POST", "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1315", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:10 GMT", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "bdddb7dd-f411-4f99-a419-89976da45901" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/099f65d16ee64e11b9d659cda5c344dc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tlhyOCWLeGj0v5gONw5eBIxMV5ET9mYJkl_T4J2jv4D6ikKgmIF0FKwFGTn7fpO5RxYMrfEXeD8mekyvpBYhpGG1Oq6ZEZnorft-vD7tYavUyiseC0-O0-RCFczgGlMSqN6TuhQH0lv3k8kP7zmJpflklkJ7L5qM9M-8IqBeQEbf_VY4pAz3B98EDyfViVaNZXBBKUBSODvjKgdFS16h5NuCmeay9v42X5VYwPfr1JYZmvCg7Q3IcoZGKaQTBDfMmoJ915AjoDbBWPknVTlJ4Av1My6f-cRUHQZXiFgBF1fHEAg2F57-L9yEHdl4zffs7zIdTfCHXlgUTCcO9_fipQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647331,\"updated\":1619647331,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "770", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c7bd4ba5-df11-4e36-9a1d-3fb3d5f831e6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5de64f54-b35d-47ec-95ee-f54fe03b5715", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1/ae4a4d7025954fbd892bf029c273a2a1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuQ9R-hMobBcWPzHZ-g5rE_GYmh7pmIwA9ltnlncwENos6oAeuudbLu_pDB80-2TbAZpsmBGmntDAcwd-uKcnH08tsu9Y2uJCGZP-B9h8HtRfOOX1yYXxYHl-bBOZx2wYK4Padf8KDpFpW6estsFfDWnnThNBe7j7nxFr5K4HmXlo5RNHYgXpJSLWw2mer7AYaJ6UqSxsTZlGVjA69iHV5VxkIA2D3GezlV8hUs3dKpG96IPCLqFrmehifdsArfyFi0bBI5VAYImTPAj65EeSyd9qx9rCt7r7XW61rcQ2-x2OCSFNMtMUAlsG25_ApmJjzVwy-KHO6W2TfdqU4z04Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647331,\"updated\":1619647331,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "770", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6c517f63-01b1-4643-9aa6-7739dd37c7df", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7eff579c-4c34-4448-8c1e-2823743f04c5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\",\"deletedDate\":1619647331,\"scheduledPurgeDate\":1620252131,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/099f65d16ee64e11b9d659cda5c344dc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tlhyOCWLeGj0v5gONw5eBIxMV5ET9mYJkl_T4J2jv4D6ikKgmIF0FKwFGTn7fpO5RxYMrfEXeD8mekyvpBYhpGG1Oq6ZEZnorft-vD7tYavUyiseC0-O0-RCFczgGlMSqN6TuhQH0lv3k8kP7zmJpflklkJ7L5qM9M-8IqBeQEbf_VY4pAz3B98EDyfViVaNZXBBKUBSODvjKgdFS16h5NuCmeay9v42X5VYwPfr1JYZmvCg7Q3IcoZGKaQTBDfMmoJ915AjoDbBWPknVTlJ4Av1My6f-cRUHQZXiFgBF1fHEAg2F57-L9yEHdl4zffs7zIdTfCHXlgUTCcO9_fipQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647331,\"updated\":1619647331,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "985", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b73f8df9-0e11-4185-9ac7-0f798fd764b4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "46241eeb-eb00-44e9-847b-ef11e83b9c4f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "69ee483a-d3c6-4882-bcbc-2d06a1d6276b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "baa4eec7-df3c-4748-a160-547e286e530b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fa29b38b-553f-48e6-85e4-99f624a6fee3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1320f074-eac2-4020-bda6-6be2b7a812a8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3e7b2930-8c41-4581-be9f-cf1d4817bd3e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "00afe1cf-547e-48c9-b19d-303d57f4db34", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3dc33c0d-2b09-4f0d-9c5a-d4a6986c0bbc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "902307e4-52e2-4b5c-b98a-c37c4a6a1c79", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "659638fd-2f9b-4912-b595-67edb68cf279", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "524d049b-38ff-4aad-b31f-945d754524cf", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0bfeaa65-507d-4b5b-847d-6d1862ae1951", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a1423cc1-e77d-4c6e-8cfa-9cbce38e4a6a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b448b28f-faba-4f08-abed-82e910e0c48b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7d18e02c-762d-4d8d-af5b-7cb7f36a8d71", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "65ad86ca-9567-45fe-9938-d2227b55df02", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "18f0f54d-060c-43ad-be52-680eb5ababc7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f606b777-0ab9-40a4-b241-5ca534b48ab8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1a394739-bce7-4518-b284-85afeba82e9f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d1abd6e9-c805-4931-a1ee-4f0a9d97c748", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1ef6b3de-6e14-48f7-965e-9171be98c935", - "x-powered-by": "ASP.NET" + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", + "x-ms-request-id": "823a5ee1-ec9f-4230-9b62-25d78e285300" } }, { "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "564f5e2b-b7bd-43c2-9963-b1c12d8e9766", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "87e71aac-1d47-4a42-973c-51a0bcf82c06", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", "query": { "api-version": "7.2" }, "requestBody": null, "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0\",\"deletedDate\":1619647331,\"scheduledPurgeDate\":1620252131,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/099f65d16ee64e11b9d659cda5c344dc\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tlhyOCWLeGj0v5gONw5eBIxMV5ET9mYJkl_T4J2jv4D6ikKgmIF0FKwFGTn7fpO5RxYMrfEXeD8mekyvpBYhpGG1Oq6ZEZnorft-vD7tYavUyiseC0-O0-RCFczgGlMSqN6TuhQH0lv3k8kP7zmJpflklkJ7L5qM9M-8IqBeQEbf_VY4pAz3B98EDyfViVaNZXBBKUBSODvjKgdFS16h5NuCmeay9v42X5VYwPfr1JYZmvCg7Q3IcoZGKaQTBDfMmoJ915AjoDbBWPknVTlJ4Av1My6f-cRUHQZXiFgBF1fHEAg2F57-L9yEHdl4zffs7zIdTfCHXlgUTCcO9_fipQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647331,\"updated\":1619647331,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"deletedDate\":1623968152,\"scheduledPurgeDate\":1624572952,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"attributes\":{\"enabled\":true,\"created\":1623968038,\"updated\":1623968038,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"deletedDate\":1623967880,\"scheduledPurgeDate\":1624572680,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"attributes\":{\"enabled\":true,\"created\":1623967755,\"updated\":1623967755,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"deletedDate\":1623967959,\"scheduledPurgeDate\":1624572759,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"deletedDate\":1623968786,\"scheduledPurgeDate\":1624573586,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", "responseHeaders": { "cache-control": "no-cache", - "content-length": "985", + "content-length": "1953", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:32 GMT", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", "expires": "-1", "pragma": "no-cache", "status": "200", "strict-transport-security": "max-age=31536000;includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4bfb0ee0-75d7-48d0-a94a-05c91675f944", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-client-request-id": "7736f559-035b-4ca4-b0c8-ac2fa40210ff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a7d0c270-2902-478f-b541-ac457a82ef27", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:02:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5252ec4b-45ce-485f-a12f-a50765d3d4a4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "efc92669-c8a8-4b89-82cc-132b2b497a51", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\",\"deletedDate\":1619647353,\"scheduledPurgeDate\":1620252153,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1/ae4a4d7025954fbd892bf029c273a2a1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuQ9R-hMobBcWPzHZ-g5rE_GYmh7pmIwA9ltnlncwENos6oAeuudbLu_pDB80-2TbAZpsmBGmntDAcwd-uKcnH08tsu9Y2uJCGZP-B9h8HtRfOOX1yYXxYHl-bBOZx2wYK4Padf8KDpFpW6estsFfDWnnThNBe7j7nxFr5K4HmXlo5RNHYgXpJSLWw2mer7AYaJ6UqSxsTZlGVjA69iHV5VxkIA2D3GezlV8hUs3dKpG96IPCLqFrmehifdsArfyFi0bBI5VAYImTPAj65EeSyd9qx9rCt7r7XW61rcQ2-x2OCSFNMtMUAlsG25_ApmJjzVwy-KHO6W2TfdqU4z04Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647331,\"updated\":1619647331,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "985", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f7699cec-dd07-4ae7-9706-945e08048f69", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c051414e-c53d-41e7-b7d5-943cb14406a2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "08ef22c3-eadc-4f45-91ae-2cb39faf3b6f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fbdc550e-1a80-4709-9e0e-2487febb9026", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "aafc6920-a91a-4a87-808d-d6dfcfa7d1db", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8df6d8ab-6e05-4b32-bfa2-96bbf8898edb", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "e01d43f2-6e0e-4f3a-8494-1d0a859e2005", "x-powered-by": "ASP.NET" } }, { "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3800fab9-d8cb-4f48-911e-6c855d57ab16", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "68a0e78b-1911-4800-89f8-eedf7280c79c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "770eff9a-3f7c-4aad-9330-de2357d80ea5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "032cdf86-a7e0-402a-b7bc-1f99c1d48143", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "640e7f1f-995e-4bf7-b36a-d5876302dd75", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3ecf777f-3be3-4293-8648-d5837740d3e3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5e981ca2-9d6d-4dc8-b228-927ca51bb60a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f9d7a595-d586-4d2d-9049-d454519b5634", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ac986a56-b2a0-4119-bf27-2f1f270aadf9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "13618779-a22a-4986-8410-70278b2aaab4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d3c9dbf3-497e-4f9c-a9b2-5fc70dc483e8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "79c570e4-c926-4699-8717-b91d272b6eaf", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "be14bf76-6483-450d-897e-c8b240eb8e91", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d6c8fd29-6f69-405e-ae35-ab2e2aba05b6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1202c346-9656-474c-a27f-4669a0fb6cce", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e74c6055-b95e-402b-85b9-8533af2be974", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1f33ba11-4e0b-40fc-9a63-3345d623043f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "84584808-360a-41d9-97dd-dad636086de0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "163", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6ff433b8-a22e-4d2a-adf8-6a3a553cb4b1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "096057ea-34b0-42e2-866b-054fb7d751c5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", "query": { "api-version": "7.2" }, "requestBody": null, "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1\",\"deletedDate\":1619647353,\"scheduledPurgeDate\":1620252153,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1/ae4a4d7025954fbd892bf029c273a2a1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuQ9R-hMobBcWPzHZ-g5rE_GYmh7pmIwA9ltnlncwENos6oAeuudbLu_pDB80-2TbAZpsmBGmntDAcwd-uKcnH08tsu9Y2uJCGZP-B9h8HtRfOOX1yYXxYHl-bBOZx2wYK4Padf8KDpFpW6estsFfDWnnThNBe7j7nxFr5K4HmXlo5RNHYgXpJSLWw2mer7AYaJ6UqSxsTZlGVjA69iHV5VxkIA2D3GezlV8hUs3dKpG96IPCLqFrmehifdsArfyFi0bBI5VAYImTPAj65EeSyd9qx9rCt7r7XW61rcQ2-x2OCSFNMtMUAlsG25_ApmJjzVwy-KHO6W2TfdqU4z04Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647331,\"updated\":1619647331,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"deletedDate\":1623968152,\"scheduledPurgeDate\":1624572952,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"attributes\":{\"enabled\":true,\"created\":1623968038,\"updated\":1623968038,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"deletedDate\":1623967880,\"scheduledPurgeDate\":1624572680,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"attributes\":{\"enabled\":true,\"created\":1623967755,\"updated\":1623967755,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"deletedDate\":1623967959,\"scheduledPurgeDate\":1624572759,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"deletedDate\":1623968786,\"scheduledPurgeDate\":1624573586,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", "responseHeaders": { "cache-control": "no-cache", - "content-length": "985", + "content-length": "1953", "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:56 GMT", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", "expires": "-1", "pragma": "no-cache", "status": "200", "strict-transport-security": "max-age=31536000;includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-client-request-id": "765f26f4-7cdf-476c-919c-252ec21ccc49", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "57f4f83f-5b92-486c-a661-2aeea284e586", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:02:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fdef981f-b15e-4d77-aec4-bb1fd60fc70c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-client-request-id": "d6c488d9-f0c5-4252-9d28-325ee4b403c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e2df8ee7-e5ff-4eba-be7d-6316890fc61c", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "c7cc40e2-cb52-4695-9263-810a77695fad", "x-powered-by": "ASP.NET" } } @@ -890,5 +111,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "fe0ec113d9766925d232a4e3a9c7ddb9" + "hash": "9f2d93241a593aee460253e5c0a48bca" } \ No newline at end of file diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests_parsewwwauthenticate_tests/recording_should_skip_unexpected_properties_on_the_wwwauthenticate_header.json b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests_parsewwwauthenticate_tests/recording_should_skip_unexpected_properties_on_the_wwwauthenticate_header.json index 539b108a5ea9..fabb6733b99a 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests_parsewwwauthenticate_tests/recording_should_skip_unexpected_properties_on_the_wwwauthenticate_header.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests_parsewwwauthenticate_tests/recording_should_skip_unexpected_properties_on_the_wwwauthenticate_header.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "cf98903365cb28ca09595b575b7f48df" + "hash": "03b9330c9921c9f2e4bad266d38a1810" } \ No newline at end of file diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests_parsewwwauthenticate_tests/recording_should_work_for_known_shapes_of_the_wwwauthenticate_header.json b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests_parsewwwauthenticate_tests/recording_should_work_for_known_shapes_of_the_wwwauthenticate_header.json index 851cac615b51..59a72e60e3a7 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests_parsewwwauthenticate_tests/recording_should_work_for_known_shapes_of_the_wwwauthenticate_header.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests_parsewwwauthenticate_tests/recording_should_work_for_known_shapes_of_the_wwwauthenticate_header.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "188b994850775d6558e141b77cef014f" + "hash": "ef4a12d626aa4a453cd7dd1cc395049f" } \ No newline at end of file diff --git a/sdk/keyvault/keyvault-keys/recordings/node/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.js b/sdk/keyvault/keyvault-keys/recordings/node/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.js index f661a4708c86..b450bb32fe4f 100644 --- a/sdk/keyvault/keyvault-keys/recordings/node/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.js +++ b/sdk/keyvault/keyvault-keys/recordings/node/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.js @@ -1,19 +1,19 @@ let nock = require('nock'); -module.exports.hash = "e3934ac4f2e65a6ed21b91952a328e5a"; +module.exports.hash = "3138840c62d5525d51e48591fcb982f7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .post('/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/create') + .get('/keys') .query(true) - .reply(401, {"error":{"code":"Unauthorized","message":"Request is missing a Bearer or PoP token."}}, [ + .reply(401, {"error":{"code":"Unauthorized","message":"AKV10000: Request is missing a Bearer or PoP token."}}, [ 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', 'Content-Length', - '87', + '97', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,13 +23,13 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'x-ms-keyvault-region', 'westus2', 'x-ms-client-request-id', - '10e659a5-a622-4f06-b9d7-a5cbbca9b545', + 'fbd8541d-4d8f-4964-a1d0-237def9e36cf', 'x-ms-request-id', - 'a1247a71-0f5a-4312-a23c-fc7597f1a1fd', + '47032a68-c26c-4efe-b72c-3ce584437d51', 'x-ms-keyvault-service-version', - '1.2.265.0', + '1.9.12.0', 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;', 'X-Powered-By', 'ASP.NET', 'Strict-Transport-Security', @@ -37,19 +37,19 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'Date', - 'Wed, 28 Apr 2021 21:21:59 GMT' + 'Thu, 17 Jun 2021 22:28:51 GMT' ]); nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .post('/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/create') + .get('/keys') .query(true) - .reply(401, {"error":{"code":"Unauthorized","message":"Request is missing a Bearer or PoP token."}}, [ + .reply(401, {"error":{"code":"Unauthorized","message":"AKV10000: Request is missing a Bearer or PoP token."}}, [ 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', 'Content-Length', - '87', + '97', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -59,13 +59,13 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'x-ms-keyvault-region', 'westus2', 'x-ms-client-request-id', - '9f2f394c-483f-4815-8731-b24792f7d2ea', + '9495860f-384c-482d-ae6e-28a855ee4861', 'x-ms-request-id', - '9bd106ef-f920-49b9-b073-7a5a0f6f99e3', + 'abce7d6f-ee7b-492e-b4e4-177975807b0a', 'x-ms-keyvault-service-version', - '1.2.265.0', + '1.9.12.0', 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;', 'X-Powered-By', 'ASP.NET', 'Strict-Transport-Security', @@ -73,7 +73,7 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'Date', - 'Wed, 28 Apr 2021 21:21:59 GMT' + 'Thu, 17 Jun 2021 22:28:51 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) @@ -82,8 +82,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -97,28 +95,29 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8b5e5033-5fc7-428a-be78-2f1c72c45c01', + '160957e1-d225-4c45-9f25-b1f19d6a0f00', 'x-ms-ests-server', - '2.1.11654.16 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA; expires=Fri, 28-May-2021 21:22:00 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ao1gVB6FGWJOvs35Dc7NsqQ; expires=Sat, 17-Jul-2021 22:28:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCqkxdEhHvf1NtK5404MGwyzgVwPKDjCQy3gjTdNDcDQEe9UtMFlsNEfaL9XGoXGxTzOpD_cxw6RgemoHZhYnacSlAQOY5ZSKab4V6gzIbnaSypIyj6dDqxn47yPvx2xoNN2V8FzBH0c7nvfV1I7YlyZhnOLcbCFoTh4qSKaVaOMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRC7b662Q1R5V6LcRH2bTGvaJJhUlWEKca2OV2k9DH6E44f9NXUypTFuzubr75TCn00acGhfWudhINDVPNn7h48WCUt7xdXfB10-bReXPSTIswtP7bxqvwnK5QmA_stVTiur5mJcIpvOuF6Y_bk303mJLCi4kuuz5xMulLqUbA_YgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT' + 'Thu, 17 Jun 2021 22:28:52 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -132,25 +131,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd398971b-bb3f-48fb-a127-957b3df64001', + '91eaa44f-2d7c-4f74-94a8-4845fccf6b00', 'x-ms-ests-server', - '2.1.11654.16 - SCUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA; expires=Fri, 28-May-2021 21:22:00 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AiON2Z5V_ydHrb8RPEU9_5s; expires=Sat, 17-Jul-2021 22:28:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr24LxKHHoUdd9UfEvDD4XQkT0JwF61Clz9eawzcQmI7vG4iKtEA8FXfeoCglkMA8YKjwfEbMhqg07YK2kpvBlUKQfku36g_V08MDAKNLNGix7lCjE5RZO4nYpdQGKO2UhhXCQ60bhsNm5XC457riY9VWi0m7AM2HdmhRyDQQXvbogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrztqC-5j1M9lUIMAbaIq2gT4f1H58oB-XUam_djk40eUyd713t9OjOPLTsjaLAV8HCXj4kPC2XV9D-3AqumMxdqGN3ore_BlE72wKDTgv2rwTMhfzbmQHERb6Z__9AKzF7n6wg5I-c6bM1r_fAijJsaijommGhA4S2tiQMz9mX3ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT' + 'Thu, 17 Jun 2021 22:28:52 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -166,26 +166,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '7041e92b-155b-472f-994c-876625cdc902', + 'c37bbbcf-7b48-4569-a1c6-fe5667604700', 'x-ms-ests-server', - '2.1.11654.16 - WUS2 ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA; expires=Fri, 28-May-2021 21:22:00 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ao1gVB6FGWJOvs35Dc7NsqQ; expires=Sat, 17-Jul-2021 22:28:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWFAZjf6-Z0zooszv-84dJ0l-ymSDbDGDwgfHujsQEA8sFWVUdkcOznSAK-8aq08rwMCW7khq6SeirpnZNaH0RXsG7o4KVPOdQc9u7IQqOdlKZ02Sv3H84UKMg9B6Z0-13B7t5HFsXnajtVSsKwLTAyeMf9_snkdD68hfbyiVWLcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0R5ErPBrSv9KUmg0MH7oge1ec_A0FuGjgvcPJmrdl2-O1RMuRtxCp9YVZMiX4p3Q5rdyXSLb_lpQbcvTkLQM2KUdrxH3xbLa8H88DXrW8hiuPhuOZiZviRSTY3PguDkpKDPf4hdeZgqx5FqGmbJvFH8-CN90XtsBHlHq7RvHLKogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT', + 'Thu, 17 Jun 2021 22:28:52 GMT', 'Content-Length', - '980' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -201,35 +201,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'cab7963a-ca27-4f30-bc5b-918a6cba5001', + 'e82e7891-eb58-40f4-a1dd-57a97f1a8100', 'x-ms-ests-server', - '2.1.11654.16 - EUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA; expires=Fri, 28-May-2021 21:22:00 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AiON2Z5V_ydHrb8RPEU9_5s; expires=Sat, 17-Jul-2021 22:28:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7OCgoywTeApdWaAM_wYlwMZw8iKXtIWqKCRyr6VRnr6DpWVr5sBhgTfTAf5T2134d8m4ycX8w8SehkuLSX_co9ueqHiptdkKuNYIxMYBVCH0BhDKk9X5HC7kzfLjBgwNFKb6SpDsZbXmckCQ5UE6d_ECAwMvoPTwZhAO8SmS3-ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1kyeMIAhG6c2DNS4_Diig7tvhQtisdOFEcQtqhks8f15DP2NJ1gQnN6UJFnGXE_tPPhx876xofjx1AsTa7XKFj6duJnfZahAkKZc9H_uXMdCGxwhuxbIpJQo9YqTDnVWZMsKWb4YVNalIw_FWuTXKHRsuopzWuIfvSoLg95_I1IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT', + 'Thu, 17 Jun 2021 22:28:52 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=dcb0332a-7673-423d-9386-511f8b2c7cc2&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1315', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -241,33 +236,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '422bd614-376f-4bda-ad74-35cb32794201', + '271dc4c1-09b0-4f2a-a1f7-d3cbc5324700', 'x-ms-ests-server', - '2.1.11654.16 - EUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA4BL6UwEAAAD4yBvYDgAAAA; expires=Fri, 28-May-2021 21:22:00 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ao1gVB6FGWJOvs35Dc7NsqQNEFROAQAAAKTDXdgOAAAA; expires=Sat, 17-Jul-2021 22:28:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT' + 'Thu, 17 Jun 2021 22:28:52 GMT', + 'Content-Length', + '1315' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=c7e22fa7-90ee-4661-ac9f-d8d94b1175c8&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1315', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -279,59 +271,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a5c23f86-3c48-4fd5-9d25-a439c6f35f01', + 'bfa72bca-3bba-4ee3-a33b-e8a8bd826400', 'x-ms-ests-server', - '2.1.11654.16 - EUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA4BL6UwEAAAD3yBvYDgAAAA; expires=Fri, 28-May-2021 21:22:00 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AiON2Z5V_ydHrb8RPEU9_5sNEFROAQAAAKTDXdgOAAAA; expires=Sat, 17-Jul-2021 22:28:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .post('/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/create', {"kty":"RSA"}) - .query(true) - .reply(200, {"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/36606918bb1d49a6af8ab8335b7f3c8c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oHTwiHZ9AcRwEm6V80MeDJXBJ2ezVp5WLFTX30zQshSnQ25zhIV3uo0b5cDvLBUYN_2EU4fLOgyDx3MwLq-JSZt7FxUDXaMjb8CCMhcIqGORMeNIBcriIRX6dtBiF3nTosmXuaigzK5VuOxJxfrB50FoviJ8GPg4HTEnYmWHmGHVLysu3UoW-8RVO2ZTkLmMnMPhxb-Fn5sqdD2HJ4ZbE800irZIJaARQ7mAPBsWDV1XcNASDlL5TxOt2DU7Nt5v4tZzBoMaBK1mkJqamSJmaF6z4onLFO4adbXyfXe0F2m2CuYJ5hG2vtlv9sMnBdECeV2pi4NoFWc1oxchCwGeTQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644920,"updated":1619644920,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '10e659a5-a622-4f06-b9d7-a5cbbca9b545', - 'x-ms-request-id', - '42bbc385-b29e-4022-be11-bf52e892b5be', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT', + 'Thu, 17 Jun 2021 22:28:52 GMT', 'Content-Length', - '759' + '1315' ]); nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .post('/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/create', {"kty":"RSA"}) + .get('/keys') .query(true) - .reply(200, {"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/5f2d292ee95242a487cfc425219d9124","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"voyWZZb4sL6v60qPCuY85WOt3GTGatXko5vLEwUvJ3sPI6hPqQhxnsiCfE9Ksg2m198ooONqEyN59KwJybUyt0dWf44WyAOaQRCmz0LhhokYG6geFSd6aXBIMxsXVqcFI-q8YjhCFAQhTdLebVJJZrx-brcdxM3KcGzb-tK1we-QpfOxEdBV7vgClaG4h9ie0ws3BGMCnU6VREAlNC6x2htMSLJEEkF656Aoco5Uiq3xXTY_az_lPYcyg6xkim24jInqBwhDkEy76I1ibHHzmNDWRfKuPGyYz6ZqLiKnP7rybHW9zjkqUw5QEA8AuSYDrxGZKqNct_LVvj4nzTtJXQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644920,"updated":1619644920,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ + .reply(200, {"value":[{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-1","attributes":{"enabled":true,"created":1623967959,"updated":1623967959,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}},{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-1","attributes":{"enabled":true,"created":1623968785,"updated":1623968785,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}],"nextLink":null}, [ 'Cache-Control', 'no-cache', 'Pragma', @@ -343,13 +303,13 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'x-ms-keyvault-region', 'westus2', 'x-ms-client-request-id', - '9f2f394c-483f-4815-8731-b24792f7d2ea', + '9495860f-384c-482d-ae6e-28a855ee4861', 'x-ms-request-id', - 'e0562fe7-67d5-4faf-8d97-191f6c1326ea', + '8b648788-81d5-4f11-95b8-39fc143b0bdc', 'x-ms-keyvault-service-version', - '1.2.265.0', + '1.9.12.0', 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;', 'X-Powered-By', 'ASP.NET', 'Strict-Transport-Security', @@ -357,15 +317,15 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT', + 'Thu, 17 Jun 2021 22:28:52 GMT', 'Content-Length', - '759' + '585' ]); nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .delete('/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') + .get('/keys') .query(true) - .reply(200, {"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0","deletedDate":1619644921,"scheduledPurgeDate":1620249721,"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/5f2d292ee95242a487cfc425219d9124","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"voyWZZb4sL6v60qPCuY85WOt3GTGatXko5vLEwUvJ3sPI6hPqQhxnsiCfE9Ksg2m198ooONqEyN59KwJybUyt0dWf44WyAOaQRCmz0LhhokYG6geFSd6aXBIMxsXVqcFI-q8YjhCFAQhTdLebVJJZrx-brcdxM3KcGzb-tK1we-QpfOxEdBV7vgClaG4h9ie0ws3BGMCnU6VREAlNC6x2htMSLJEEkF656Aoco5Uiq3xXTY_az_lPYcyg6xkim24jInqBwhDkEy76I1ibHHzmNDWRfKuPGyYz6ZqLiKnP7rybHW9zjkqUw5QEA8AuSYDrxGZKqNct_LVvj4nzTtJXQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644920,"updated":1619644920,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ + .reply(200, {"value":[{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-1","attributes":{"enabled":true,"created":1623967959,"updated":1623967959,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}},{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-1","attributes":{"enabled":true,"created":1623968785,"updated":1623968785,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}],"nextLink":null}, [ 'Cache-Control', 'no-cache', 'Pragma', @@ -377,13 +337,13 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'x-ms-keyvault-region', 'westus2', 'x-ms-client-request-id', - '442daa64-d930-4c58-b64e-2f9a306df967', + 'fbd8541d-4d8f-4964-a1d0-237def9e36cf', 'x-ms-request-id', - '41769ea6-5ca5-43f7-beb1-7a93552a3b76', + '3ffa1155-f729-4f52-8367-ce2700818857', 'x-ms-keyvault-service-version', - '1.2.265.0', + '1.9.12.0', 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;', 'X-Powered-By', 'ASP.NET', 'Strict-Transport-Security', @@ -391,611 +351,7 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT', - 'Content-Length', - '963' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', + 'Thu, 17 Jun 2021 22:28:52 GMT', 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '3151150b-8766-4fdf-b44f-a7e044ff2588', - 'x-ms-request-id', - '3efb1776-7b21-41fc-b795-81d80880c00a', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'de8384f8-9891-4cf1-9468-ac81360bd167', - 'x-ms-request-id', - 'cbc142d3-113c-4844-b787-77723df4dda7', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:00 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '8b52d3d7-f1d8-4c36-82b8-e25519b956ca', - 'x-ms-request-id', - 'f6c12798-ba6e-48d4-a001-bedc3fe81de5', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:03 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '3e0c0c87-eb5f-4ce5-95c2-3ead07af5157', - 'x-ms-request-id', - 'ee7ed6c9-cc83-4a35-b924-423524378b31', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:05 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '6e88fe93-24a9-4f23-9c0e-5580ecbf18ad', - 'x-ms-request-id', - '31fcbde6-fcb9-43c7-a411-2c2af5b2851d', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:07 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '976d0a92-ade3-4c7a-b2ba-2e8ef29fb9ce', - 'x-ms-request-id', - '1cbf230d-f345-4869-b3b5-6dcb196dea96', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:09 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '28475bc4-ff71-46f4-a096-1481d8ec2cb1', - 'x-ms-request-id', - 'a5061e04-1339-4842-9f88-ea57449063b9', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:12 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(200, {"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0","deletedDate":1619644921,"scheduledPurgeDate":1620249721,"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0/5f2d292ee95242a487cfc425219d9124","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"voyWZZb4sL6v60qPCuY85WOt3GTGatXko5vLEwUvJ3sPI6hPqQhxnsiCfE9Ksg2m198ooONqEyN59KwJybUyt0dWf44WyAOaQRCmz0LhhokYG6geFSd6aXBIMxsXVqcFI-q8YjhCFAQhTdLebVJJZrx-brcdxM3KcGzb-tK1we-QpfOxEdBV7vgClaG4h9ie0ws3BGMCnU6VREAlNC6x2htMSLJEEkF656Aoco5Uiq3xXTY_az_lPYcyg6xkim24jInqBwhDkEy76I1ibHHzmNDWRfKuPGyYz6ZqLiKnP7rybHW9zjkqUw5QEA8AuSYDrxGZKqNct_LVvj4nzTtJXQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644920,"updated":1619644920,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '75cfb79a-1644-42d6-aa87-fd9e7eba5930', - 'x-ms-request-id', - 'a6a96fff-c898-4310-b455-03f5907aa114', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:14 GMT', - 'Content-Length', - '963' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .delete('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--0') - .query(true) - .reply(204, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '90d1c0f6-e102-4af1-95c9-247639713d92', - 'x-ms-request-id', - '84f7ecbc-d19a-455a-afa1-fb9f9706b3e2', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:14 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .delete('/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(200, {"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1","deletedDate":1619644934,"scheduledPurgeDate":1620249734,"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/36606918bb1d49a6af8ab8335b7f3c8c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oHTwiHZ9AcRwEm6V80MeDJXBJ2ezVp5WLFTX30zQshSnQ25zhIV3uo0b5cDvLBUYN_2EU4fLOgyDx3MwLq-JSZt7FxUDXaMjb8CCMhcIqGORMeNIBcriIRX6dtBiF3nTosmXuaigzK5VuOxJxfrB50FoviJ8GPg4HTEnYmWHmGHVLysu3UoW-8RVO2ZTkLmMnMPhxb-Fn5sqdD2HJ4ZbE800irZIJaARQ7mAPBsWDV1XcNASDlL5TxOt2DU7Nt5v4tZzBoMaBK1mkJqamSJmaF6z4onLFO4adbXyfXe0F2m2CuYJ5hG2vtlv9sMnBdECeV2pi4NoFWc1oxchCwGeTQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644920,"updated":1619644920,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '542c04d4-f45b-4b76-a232-1ac569a49b5e', - 'x-ms-request-id', - '5085bf1b-2170-4d03-b0c7-ff6598d804ec', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:14 GMT', - 'Content-Length', - '963' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '9bf070db-b3f8-4204-a7bd-82f78029bd9e', - 'x-ms-request-id', - '1f6d923d-810b-4573-aa02-5cf9014488c5', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:14 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '5180401d-4217-4210-a619-dcfefb229c86', - 'x-ms-request-id', - '98fce25e-6733-4dc5-8d77-26eb23387d5f', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:14 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '79b44d6c-1d41-4e9d-ba77-2acc92dfabad', - 'x-ms-request-id', - '8a736778-337f-449c-a7b2-0d691a50ac42', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:16 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'bc76453b-5846-41bf-a43b-d3a905a558e4', - 'x-ms-request-id', - 'e18205aa-d7c8-4f80-91a8-a6ecf3aa0976', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:19 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'c71876a6-9e8f-415a-81af-e46ba5c0fdaa', - 'x-ms-request-id', - '0cf9bc86-0027-43df-acfa-c6138a460ca0', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:20 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '152', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'f5317334-460e-4e83-947c-908ec52f2313', - 'x-ms-request-id', - '4e3f76c2-c374-4e89-88d7-493973b3a79f', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:22 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(200, {"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1","deletedDate":1619644934,"scheduledPurgeDate":1620249734,"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1/36606918bb1d49a6af8ab8335b7f3c8c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"oHTwiHZ9AcRwEm6V80MeDJXBJ2ezVp5WLFTX30zQshSnQ25zhIV3uo0b5cDvLBUYN_2EU4fLOgyDx3MwLq-JSZt7FxUDXaMjb8CCMhcIqGORMeNIBcriIRX6dtBiF3nTosmXuaigzK5VuOxJxfrB50FoviJ8GPg4HTEnYmWHmGHVLysu3UoW-8RVO2ZTkLmMnMPhxb-Fn5sqdD2HJ4ZbE800irZIJaARQ7mAPBsWDV1XcNASDlL5TxOt2DU7Nt5v4tZzBoMaBK1mkJqamSJmaF6z4onLFO4adbXyfXe0F2m2CuYJ5hG2vtlv9sMnBdECeV2pi4NoFWc1oxchCwGeTQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644920,"updated":1619644920,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'd8b47d1e-4968-4263-9714-451e9a30775d', - 'x-ms-request-id', - '51df215f-a88c-4a8d-aefe-08a7b7e2baa8', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:25 GMT', - 'Content-Length', - '963' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .delete('/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests--1') - .query(true) - .reply(204, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '626e97b0-dd49-490f-8ce2-8db3dd7f969e', - 'x-ms-request-id', - 'b171962d-824b-4014-a519-664a3bd3e57c', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:25 GMT' + '585' ]); diff --git a/sdk/keyvault/keyvault-keys/recordings/node/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.js b/sdk/keyvault/keyvault-keys/recordings/node/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.js index 5cf1421b5c72..8dc3c88f2511 100644 --- a/sdk/keyvault/keyvault-keys/recordings/node/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.js +++ b/sdk/keyvault/keyvault-keys/recordings/node/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.js @@ -1,19 +1,19 @@ let nock = require('nock'); -module.exports.hash = "48ebd398ae9a388f2fc207b93dce0aaf"; +module.exports.hash = "5e42e75e0ca126095658671dd4970a60"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .post('/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/create') + .get('/deletedkeys') .query(true) - .reply(401, {"error":{"code":"Unauthorized","message":"Request is missing a Bearer or PoP token."}}, [ + .reply(401, {"error":{"code":"Unauthorized","message":"AKV10000: Request is missing a Bearer or PoP token."}}, [ 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', 'Content-Length', - '87', + '97', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,13 +23,13 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'x-ms-keyvault-region', 'westus2', 'x-ms-client-request-id', - 'f804f9bf-d476-497a-8275-0120370a910e', + '273c6f9b-eaa2-4ff0-8d3e-9d1ae8387dc2', 'x-ms-request-id', - 'ab514680-9277-480e-93f2-a098899052f8', + '9560ab58-7e5d-45bc-b3f8-92fd688b4946', 'x-ms-keyvault-service-version', - '1.2.265.0', + '1.9.12.0', 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;', 'X-Powered-By', 'ASP.NET', 'Strict-Transport-Security', @@ -37,7 +37,7 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'Date', - 'Wed, 28 Apr 2021 21:22:25 GMT' + 'Thu, 17 Jun 2021 22:28:52 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) @@ -46,8 +46,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -61,24 +59,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '422bd614-376f-4bda-ad74-35cb7f7d4201', + '08cc0894-c3ac-41f4-863c-469f5fdd0800', 'x-ms-ests-server', - '2.1.11654.16 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA4BL6UwEAAAD3yBvYDgAAAA; expires=Fri, 28-May-2021 21:22:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AiON2Z5V_ydHrb8RPEU9_5sNEFROAQAAAKTDXdgOAAAA; expires=Sat, 17-Jul-2021 22:28:53 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrw8Kc0x-6EBM5E9kBPlqkWxHDrKRLFYjymsHn7DF1GwldluUw2_poT8EWHaWbtxGuf-KlAqXAmVBAMjA87kaZPI0ZEyQGI1dIl6mvk267Nj7VUdYGWVSvu7OaQ1mqQJLiuq2hYnlNV4A_gDiPK4Xo18EarksX58N9xeQH9-xl03cgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrBID13mA4BFn_vG1WRddieZVyUtyjVT3AJeKHjvJUrHDcux1-5KNbKJxQJP3nwvk1jJ4eYaIOybdfaziyMWTRprWmZTxKfNTJQexG89CIpznSZcVwTHRnM_XUyGOj0hInjAThUVtMXaBMchP7aIA--BgVZ0vpboPyYr8QBoiDOMcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:25 GMT' + 'Thu, 17 Jun 2021 22:28:52 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -94,28 +94,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '3aa6bb8b-6bcb-414d-bd57-37833dfd5801', + '2e823231-c5db-469e-afc7-e58d26de6f00', 'x-ms-ests-server', - '2.1.11654.16 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA4BL6UwEAAAD3yBvYDgAAAA; expires=Fri, 28-May-2021 21:22:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AiON2Z5V_ydHrb8RPEU9_5sNEFROAQAAAKTDXdgOAAAA; expires=Sat, 17-Jul-2021 22:28:53 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLhXAnc1OTgqZ39ewDp3sgO32aHT8gk1i2Tsoq5RY6HcE7rbrIuqMqrCEy_jdWeu_tNZCQbH5Ff_XrQnwwy_f8D4VgH8GgU-q_vqOfIcFWcZqorivIqgdUvGzT_9uxJr2SGndU4wEePW_UNEODO271mwjWSp8aSZfHqTs50M7j48gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpNd_6G74SrCJiVuZiYCO4fECvHHEifjdn5-JyT0SdhYOx24HLIEgB9-QR4NXyxYDUEB0WsfLeYqPJvndM42JA36iXRI2fzdInevzdHV4ECJDwYnGlVbREYiuY4vhUijmhBXlJcB509yrVodrD0EiNwijHjvR_Kco-tvsXrEs-fkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:25 GMT', + 'Thu, 17 Jun 2021 22:28:53 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fvault.azure.net%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=88f2bc92-c8d8-4ac3-857f-1d687d5515a5&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -134,303 +131,29 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '78ca8339-4e14-4418-b2c8-9ef284f4d001', + 'c37bbbcf-7b48-4569-a1c6-fe5694604700', 'x-ms-ests-server', - '2.1.11654.16 - WUS2 ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=Au5BirxN9hhJvoEMGUBOFo6nSoKIBQAAAO_IG9gOAAAA4BL6UwIAAAD3yBvYDgAAAA; expires=Fri, 28-May-2021 21:22:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AiON2Z5V_ydHrb8RPEU9_5sNEFROAgAAAKTDXdgOAAAA; expires=Sat, 17-Jul-2021 22:28:53 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 28 Apr 2021 21:22:25 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .post('/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/create', {"kty":"RSA"}) - .query(true) - .reply(200, {"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/91124a0eaae54b849622867e7de65549","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rEqPnf7HEk-5pTdqm5k1eLvWefhCT_slvRpFTege5awlDWaJcP5DioeMKqr4Gix8g9rhWD767TEN2ToN5dWx77XuG_u5Y2yMVxE-2vuK0LH45LPN3goMDBh3EUJOhHDnuLWymhcFOxsjU9Z0yy7ZRgM1bYpk0SIToaXfGrPtzZXoRHP5SREluoHIhSkWiclER0YYw47lkXozi-sPdxrhJJbhfADMFbzDRFhfYoCTXWSCtuyf8mXvifMdduS5dlSnsXnTInsagIDw824GfztqRgKIC6HEloA0850XNmGkSDNqhWQnQgTe8UVBTGhN7FJtC9jD14OnvSsvl4HQKwEKOQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644946,"updated":1619644946,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'f804f9bf-d476-497a-8275-0120370a910e', - 'x-ms-request-id', - 'ee093f5e-6db8-4cfd-b568-2433c1804f95', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:26 GMT', - 'Content-Length', - '769' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .post('/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1/create', {"kty":"RSA"}) - .query(true) - .reply(200, {"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1/e8302fbcbda34bd7b8495b7f02e33e44","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rWWkfHiEkyhhPbynXI9loV6Ge0lT3hUEd2nu_lHGgLsPzrhSI0rv_g8cnQP86zB_qkurfioTNRI9VdaS0TnnziXnCIlm1OF06hFedtWHbOEXrGyvrCRZ57uYwhdR_uI-H4UyGzb28kXReuQMlnkxpfNx4iC3ZYuDGAN4OUxW6hy5D5b9KWT2vDfGsf6GvRogNJL1B_5ki4tGlbX-_ts2Bb68j6R5B9yWyXMg0hl8MhNWSkopQe42t7GPW5pi-BJSgWp9PvICqtjjC0uggtoAHo3PurddXNgjvjrj5Py-6T_i70eVxtlUO9EoWLinq0rdsD2xeijKPKYmgCtYOIzMbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644946,"updated":1619644946,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '176f73f1-ee18-4a1f-8353-f4eae81d60b1', - 'x-ms-request-id', - 'b01df8fd-6260-449a-b779-b6c28e1be8a6', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:26 GMT', - 'Content-Length', - '769' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .delete('/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(200, {"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0","deletedDate":1619644946,"scheduledPurgeDate":1620249746,"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/91124a0eaae54b849622867e7de65549","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rEqPnf7HEk-5pTdqm5k1eLvWefhCT_slvRpFTege5awlDWaJcP5DioeMKqr4Gix8g9rhWD767TEN2ToN5dWx77XuG_u5Y2yMVxE-2vuK0LH45LPN3goMDBh3EUJOhHDnuLWymhcFOxsjU9Z0yy7ZRgM1bYpk0SIToaXfGrPtzZXoRHP5SREluoHIhSkWiclER0YYw47lkXozi-sPdxrhJJbhfADMFbzDRFhfYoCTXWSCtuyf8mXvifMdduS5dlSnsXnTInsagIDw824GfztqRgKIC6HEloA0850XNmGkSDNqhWQnQgTe8UVBTGhN7FJtC9jD14OnvSsvl4HQKwEKOQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644946,"updated":1619644946,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'f502d32d-d1f3-4004-aaef-030db944615e', - 'x-ms-request-id', - '56714b05-f23c-4152-9b7c-28a57d5e2b4f', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:26 GMT', - 'Content-Length', - '983' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '13088fac-3024-4d0a-9ea9-54fdd48faa72', - 'x-ms-request-id', - '721d5f03-16e2-4f6c-b51c-c0c7a70f6e93', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:26 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '28a4da57-dae0-47e8-a095-6d4f979b46f6', - 'x-ms-request-id', - '8c5fde09-07c8-45ba-b780-95f2007c5ed8', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:27 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'e7796036-28a0-48f0-8bac-8305fb22efea', - 'x-ms-request-id', - '3af7d5cb-e5d0-4415-9aa5-ccd5c6f6e493', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:28 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '82628345-b0c2-48c7-8e6c-6122c90bf526', - 'x-ms-request-id', - '1a4cea02-a857-4846-90c9-a624f35525a1', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:31 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '4e4dd564-8f5d-4dd2-9c40-0d979c0409ec', - 'x-ms-request-id', - '4e2e6f53-afdc-4c00-aa06-a3e270a6f26e', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:33 GMT' + 'Thu, 17 Jun 2021 22:28:52 GMT' ]); nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') + .get('/deletedkeys') .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ + .reply(200, {"value":[{"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1","deletedDate":1623968152,"scheduledPurgeDate":1624572952,"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1","attributes":{"enabled":true,"created":1623968038,"updated":1623968038,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}},{"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1","deletedDate":1623967880,"scheduledPurgeDate":1624572680,"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1","attributes":{"enabled":true,"created":1623967755,"updated":1623967755,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}},{"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0","deletedDate":1623967959,"scheduledPurgeDate":1624572759,"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0","attributes":{"enabled":true,"created":1623967959,"updated":1623967959,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}},{"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0","deletedDate":1623968786,"scheduledPurgeDate":1624573586,"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0","attributes":{"enabled":true,"created":1623968785,"updated":1623968785,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}],"nextLink":null}, [ 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '162', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -438,13 +161,13 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'x-ms-keyvault-region', 'westus2', 'x-ms-client-request-id', - '87629bb0-1b3c-496c-ac98-e96f1433956d', + '273c6f9b-eaa2-4ff0-8d3e-9d1ae8387dc2', 'x-ms-request-id', - '4db3475c-d402-44ea-a5d2-7f9f1805ae99', + '8aedcbb1-1c73-40b4-b752-37ea38d64603', 'x-ms-keyvault-service-version', - '1.2.265.0', + '1.9.12.0', 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;', 'X-Powered-By', 'ASP.NET', 'Strict-Transport-Security', @@ -452,53 +175,19 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'Date', - 'Wed, 28 Apr 2021 21:22:35 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', + 'Thu, 17 Jun 2021 22:28:53 GMT', 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '43513063-9844-4acd-b7a1-bf332f90f241', - 'x-ms-request-id', - '70de7756-6a08-4fc4-b9d9-c2d1572959b6', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:37 GMT' + '1953' ]); nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') + .get('/deletedkeys') .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ + .reply(200, {"value":[{"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1","deletedDate":1623968152,"scheduledPurgeDate":1624572952,"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1","attributes":{"enabled":true,"created":1623968038,"updated":1623968038,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}},{"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1","deletedDate":1623967880,"scheduledPurgeDate":1624572680,"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1","attributes":{"enabled":true,"created":1623967755,"updated":1623967755,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}},{"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0","deletedDate":1623967959,"scheduledPurgeDate":1624572759,"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0","attributes":{"enabled":true,"created":1623967959,"updated":1623967959,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}},{"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0","deletedDate":1623968786,"scheduledPurgeDate":1624573586,"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0","attributes":{"enabled":true,"created":1623968785,"updated":1623968785,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}],"nextLink":null}, [ 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '162', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -506,13 +195,13 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'x-ms-keyvault-region', 'westus2', 'x-ms-client-request-id', - 'c46c91c8-a024-43b7-a5eb-f84d33db8508', + '293d9435-4354-4a3f-a460-fc0aef94a510', 'x-ms-request-id', - 'b37949ae-832a-4708-ba25-e3053f8de2c6', + '12230913-d2c2-478b-8f05-ed2d2dc37a78', 'x-ms-keyvault-service-version', - '1.2.265.0', + '1.9.12.0', 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;', 'X-Powered-By', 'ASP.NET', 'Strict-Transport-Security', @@ -520,371 +209,7 @@ nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) 'X-Content-Type-Options', 'nosniff', 'Date', - 'Wed, 28 Apr 2021 21:22:39 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', + 'Thu, 17 Jun 2021 22:28:52 GMT', 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '53b583aa-323c-4fb5-a10e-2d11ddcb984e', - 'x-ms-request-id', - '19703ae8-f0d9-47a2-9ceb-5eff50f5af1b', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:41 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(200, {"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0","deletedDate":1619644946,"scheduledPurgeDate":1620249746,"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0/91124a0eaae54b849622867e7de65549","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rEqPnf7HEk-5pTdqm5k1eLvWefhCT_slvRpFTege5awlDWaJcP5DioeMKqr4Gix8g9rhWD767TEN2ToN5dWx77XuG_u5Y2yMVxE-2vuK0LH45LPN3goMDBh3EUJOhHDnuLWymhcFOxsjU9Z0yy7ZRgM1bYpk0SIToaXfGrPtzZXoRHP5SREluoHIhSkWiclER0YYw47lkXozi-sPdxrhJJbhfADMFbzDRFhfYoCTXWSCtuyf8mXvifMdduS5dlSnsXnTInsagIDw824GfztqRgKIC6HEloA0850XNmGkSDNqhWQnQgTe8UVBTGhN7FJtC9jD14OnvSsvl4HQKwEKOQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644946,"updated":1619644946,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '421cb305-0815-4b90-91cc-c8c9e096daae', - 'x-ms-request-id', - '8ac3c5ad-31cb-4824-870a-2f423ba39323', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:43 GMT', - 'Content-Length', - '983' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .delete('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--0') - .query(true) - .reply(204, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '8075bf37-9960-4290-9b1d-6373b244912a', - 'x-ms-request-id', - 'f02b09a4-bc3a-4b89-8c2c-045253b26519', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:44 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .delete('/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1') - .query(true) - .reply(200, {"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1","deletedDate":1619644964,"scheduledPurgeDate":1620249764,"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1/e8302fbcbda34bd7b8495b7f02e33e44","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rWWkfHiEkyhhPbynXI9loV6Ge0lT3hUEd2nu_lHGgLsPzrhSI0rv_g8cnQP86zB_qkurfioTNRI9VdaS0TnnziXnCIlm1OF06hFedtWHbOEXrGyvrCRZ57uYwhdR_uI-H4UyGzb28kXReuQMlnkxpfNx4iC3ZYuDGAN4OUxW6hy5D5b9KWT2vDfGsf6GvRogNJL1B_5ki4tGlbX-_ts2Bb68j6R5B9yWyXMg0hl8MhNWSkopQe42t7GPW5pi-BJSgWp9PvICqtjjC0uggtoAHo3PurddXNgjvjrj5Py-6T_i70eVxtlUO9EoWLinq0rdsD2xeijKPKYmgCtYOIzMbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644946,"updated":1619644946,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '3a90aa46-519f-4aef-b0a0-81fe81a10d71', - 'x-ms-request-id', - '71851b11-58d7-41e6-a1f9-ba6efd32797b', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:44 GMT', - 'Content-Length', - '983' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'f77a3ea2-9762-4c93-9183-21964b890736', - 'x-ms-request-id', - '0424b778-fc67-4a08-b396-5de396c0b833', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:44 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'af9c442e-31f5-4e2f-8ca1-0877e2112fb4', - 'x-ms-request-id', - '98775794-bc17-4848-a293-ae0725e3dccc', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:44 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '88293bcc-dab3-4467-9b89-45a1de76eb54', - 'x-ms-request-id', - '60976f5c-c86e-4a4e-ab39-e7ff67dcdf84', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:46 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '0659b4a5-31e7-4217-b623-437b5bff219b', - 'x-ms-request-id', - '3dfd3756-40da-4fc8-9912-e17b07101bb1', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:48 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1') - .query(true) - .reply(404, {"error":{"code":"KeyNotFound","message":"Deleted Key not found: challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1"}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '162', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'ac50c6ba-00c7-457f-8923-9d9f441db6f7', - 'x-ms-request-id', - 'a423ad08-bd81-4d6e-8893-7f99f989af86', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:50 GMT' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .get('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1') - .query(true) - .reply(200, {"recoveryId":"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1","deletedDate":1619644964,"scheduledPurgeDate":1620249764,"key":{"kid":"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1/e8302fbcbda34bd7b8495b7f02e33e44","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"rWWkfHiEkyhhPbynXI9loV6Ge0lT3hUEd2nu_lHGgLsPzrhSI0rv_g8cnQP86zB_qkurfioTNRI9VdaS0TnnziXnCIlm1OF06hFedtWHbOEXrGyvrCRZ57uYwhdR_uI-H4UyGzb28kXReuQMlnkxpfNx4iC3ZYuDGAN4OUxW6hy5D5b9KWT2vDfGsf6GvRogNJL1B_5ki4tGlbX-_ts2Bb68j6R5B9yWyXMg0hl8MhNWSkopQe42t7GPW5pi-BJSgWp9PvICqtjjC0uggtoAHo3PurddXNgjvjrj5Py-6T_i70eVxtlUO9EoWLinq0rdsD2xeijKPKYmgCtYOIzMbQ","e":"AQAB"},"attributes":{"enabled":true,"created":1619644946,"updated":1619644946,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7}}, [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - '0245c842-a36d-4529-a6dc-5c277a68ef1e', - 'x-ms-request-id', - '513b1041-e802-4685-8a18-e85b3202032f', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:52 GMT', - 'Content-Length', - '983' -]); - -nock('https://keyvault_name.vault.azure.net:443', {"encodedQueryParams":true}) - .delete('/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain--1') - .query(true) - .reply(204, "", [ - 'Cache-Control', - 'no-cache', - 'Pragma', - 'no-cache', - 'Expires', - '-1', - 'x-ms-keyvault-region', - 'westus2', - 'x-ms-client-request-id', - 'aef19dd9-eead-4742-bb3f-847aea7bb2b5', - 'x-ms-request-id', - 'f6e04a5f-c942-4691-b868-ee03df174cd2', - 'x-ms-keyvault-service-version', - '1.2.265.0', - 'x-ms-keyvault-network-info', - 'conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;', - 'X-Powered-By', - 'ASP.NET', - 'Strict-Transport-Security', - 'max-age=31536000;includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Date', - 'Wed, 28 Apr 2021 21:22:52 GMT' + '1953' ]); diff --git a/sdk/keyvault/keyvault-keys/test/internal/challengeBasedAuthenticationPolicy.spec.ts b/sdk/keyvault/keyvault-keys/test/internal/challengeBasedAuthenticationPolicy.spec.ts index 732e5194b4b1..01ffdb8a7642 100644 --- a/sdk/keyvault/keyvault-keys/test/internal/challengeBasedAuthenticationPolicy.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/internal/challengeBasedAuthenticationPolicy.spec.ts @@ -54,13 +54,13 @@ describe("Challenge based authentication tests", () => { const spyEqualTo = sandbox.spy(AuthenticationChallenge.prototype, "equalTo"); const promises = keyNames.map((name) => { - const promise = client.createKey(name, "RSA"); + const promise = client.listPropertiesOfKeys().next(); return { promise, name }; }); for (const promise of promises) { await promise.promise; - await testClient.flushKey(promise.name); + // await testClient.flushKey(promise.name); } // Even though we had parallel requests, only one authentication should have happened. @@ -84,17 +84,8 @@ describe("Challenge based authentication tests", () => { const sandbox = createSandbox(); const spy = sandbox.spy(AuthenticationChallengeCache.prototype, "setCachedChallenge"); - // Now we run what would be a normal use of the client. - // Here we will create two keys, then flush them. - // testClient.flushKey deletes, then purges the keys. - const keyName = testClient.formatName(`${keyPrefix}-${this!.test!.title}-${keySuffix}`); - const keyNames = [`${keyName}-0`, `${keyName}-1`]; - for (const name of keyNames) { - await client.createKey(name, "RSA"); - } - for (const name of keyNames) { - await testClient.flushKey(name); - } + await client.listDeletedKeys().next(); + await client.listDeletedKeys().next(); // The challenge should have been written to the cache exactly ONCE. assert.equal(spy.getCalls().length, 1); diff --git a/sdk/keyvault/test-resources-post.ps1 b/sdk/keyvault/test-resources-post.ps1 index 9f48a247365b..f6de5833bed8 100644 --- a/sdk/keyvault/test-resources-post.ps1 +++ b/sdk/keyvault/test-resources-post.ps1 @@ -107,11 +107,9 @@ az keyvault security-domain download --hsm-name $hsmName --security-domain-file Log "Security domain downloaded to '$sdPath'; Managed HSM is now active at '$hsmUrl'" -# Force a sleep to wait for Managed HSM activation to propagate through Cosmos replication. Issue tracked in AzDo. -Log "Sleeping for 60 seconds to allow activation to propagate..." -Start-Sleep -Seconds 60 +$testApplicationOid = $DeploymentOutputs["CLIENT_OBJECT_ID"] Log "Creating additional required role assignments for resource access." -New-AzKeyVaultRoleAssignment -HsmName $hsmName -RoleDefinitionName "Managed HSM Crypto Officer" -ObjectID $DeploymentOutputs["CLIENT_OBJECT_ID"] -New-AzKeyVaultRoleAssignment -HsmName $hsmName -RoleDefinitionName "Managed HSM Crypto User" -ObjectID $DeploymentOutputs["CLIENT_OBJECT_ID"] -Log "Done." +New-AzKeyVaultRoleAssignment -HsmName $hsmName -RoleDefinitionName "Managed HSM Crypto Officer" -ObjectID $testApplicationOid +New-AzKeyVaultRoleAssignment -HsmName $hsmName -RoleDefinitionName "Managed HSM Crypto User" -ObjectID $testApplicationOid +Log "Role assignments created for '$testApplicationOid'" diff --git a/sdk/keyvault/test-resources.json b/sdk/keyvault/test-resources.json index 0b0fda99d1ee..f366f446f965 100644 --- a/sdk/keyvault/test-resources.json +++ b/sdk/keyvault/test-resources.json @@ -173,6 +173,8 @@ "name": "Standard_B1" }, "properties": { + "publicNetworkAccess": "Enabled", + "networkAcls": "[variables('networkAcls')]", "tenantId": "[parameters('tenantId')]", "initialAdminObjectIds": ["[parameters('testApplicationOid')]"], "enablePurgeProtection": false, From d0232046bb53dac821f10dc47280a6a0770f7706 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Fri, 18 Jun 2021 15:57:58 -0700 Subject: [PATCH 006/134] [Core] - Move core-tracing to @opentelemetry/api 0.20.0 (#15672) ## What - Bump @opentelemetry/api to 0.20.0 in @azure/core-tracing - Move all packages that are on core-http to the next core-tracing version - Remove version collision check from the tracer cache ## Why This is part of our effort to move everyone to OTel 0.20.0 - but we have to stage it due to a transitive dependency and a breaking change in OTel. This PR updates core-tracing to use the latest OTel, fixes any breaking changes, and moves packages that we can move to the latest version of core-tracing. Once core-rest-pipeline 1.1.0 is GA'd we'll be able to move the rest of the packages over to the latest core-tracing as well. Removing the version collision came out of an offline discussion after these changes were reviewed - since it's a common source of pain and hasn't added much benefit (tracer conflicts incompatibility was never a problem) we decided to remove that logic and always grab a unique symbol per OT compatibility. ## Callouts The packages that are already on core-v2 will _not_ be upgraded at this time - we'll coordinate that with the GA of core-rest-pipeline 1.1.0 --- common/config/rush/common-versions.json | 4 +- common/config/rush/pnpm-lock.yaml | 197 +++++++++--------- .../ai-anomaly-detector/package.json | 2 +- .../app-configuration/package.json | 4 +- .../communication-chat/package.json | 2 +- .../communication-common/package.json | 2 +- .../communication-identity/package.json | 2 +- .../package.json | 2 +- .../communication-phone-numbers/package.json | 2 +- .../communication-sms/package.json | 2 +- sdk/core/README.md | 6 +- sdk/core/core-http/package.json | 2 +- .../core-http/src/policies/tracingPolicy.ts | 2 +- .../test/policies/tracingPolicyTests.ts | 44 ++-- sdk/core/core-lro/package.json | 2 +- sdk/core/core-rest-pipeline/package.json | 2 +- .../src/policies/tracingPolicy.ts | 2 +- .../test/tracingPolicy.spec.ts | 2 +- sdk/core/core-tracing/package.json | 2 +- .../core-tracing/review/core-tracing.api.md | 14 +- sdk/core/core-tracing/src/index.ts | 1 - sdk/core/core-tracing/src/interfaces.ts | 30 +-- .../core-tracing/src/tracers/noop/noOpSpan.ts | 2 +- .../core-tracing/src/tracers/test/testSpan.ts | 2 +- .../src/tracers/test/testTracer.ts | 4 +- sdk/core/core-tracing/src/utils/cache.ts | 40 +--- sdk/core/core-tracing/test/cache.spec.ts | 28 +++ sdk/core/core-tracing/test/createSpan.spec.ts | 6 +- sdk/core/core-tracing/test/interfaces.spec.ts | 4 +- .../iot-device-update/package.json | 2 +- .../digital-twins-core/package.json | 2 +- sdk/eventhub/event-hubs/package.json | 2 +- .../src/diagnostics/instrumentEventData.ts | 2 +- .../event-hubs/src/diagnostics/tracing.ts | 2 +- sdk/eventhub/event-hubs/src/eventDataBatch.ts | 2 +- .../internal/diagnostics/messageSpan.spec.ts | 4 +- .../test/internal/partitionPump.spec.ts | 6 +- .../event-hubs/test/internal/sender.spec.ts | 16 +- .../event-hubs/test/public/hubruntime.spec.ts | 12 +- .../ai-form-recognizer/package.json | 4 +- .../ai-form-recognizer/package.json | 2 +- sdk/identity/identity/package.json | 2 +- sdk/identity/identity/test/msalTestUtils.ts | 2 +- .../node/authorizationCodeCredential.spec.ts | 2 +- sdk/keyvault/keyvault-admin/package.json | 4 +- .../keyvault-certificates/package.json | 4 +- sdk/keyvault/keyvault-common/package.json | 4 +- .../test/utils/supportsTracing.ts | 2 +- sdk/keyvault/keyvault-keys/package.json | 4 +- .../test/public/recoverBackupRestore.spec.ts | 5 +- sdk/keyvault/keyvault-secrets/package.json | 4 +- .../keyvault-certificates/package.json | 2 +- .../perf-tests/keyvault-keys/package.json | 2 +- .../perf-tests/keyvault-secrets/package.json | 2 +- .../ai-metrics-advisor/package.json | 2 +- .../mixedreality-authentication/package.json | 2 +- sdk/monitor/monitor-query/package.json | 6 +- sdk/quantum/quantum-jobs/package.json | 2 +- .../schema-registry-avro/package.json | 4 +- .../schema-registry/package.json | 4 +- .../perf-tests/search-documents/package.json | 2 +- sdk/search/search-documents/package.json | 2 +- sdk/servicebus/service-bus/package.json | 4 +- .../service-bus/src/diagnostics/tracing.ts | 6 +- .../internal/operationOptionsForATOM.spec.ts | 2 +- .../service-bus/test/internal/tracing.spec.ts | 10 +- .../test/internal/unit/messageSpan.spec.ts | 4 +- .../test/internal/unit/tracing.spec.ts | 4 +- .../storage-blob-changefeed/package.json | 2 +- sdk/storage/storage-blob/package.json | 4 +- .../storage-blob/test/blobclient.spec.ts | 2 +- .../storage-blob/test/containerclient.spec.ts | 2 +- .../storage-file-datalake/package.json | 4 +- .../test/filesystemclient.spec.ts | 2 +- .../test/pathclient.spec.ts | 2 +- sdk/storage/storage-file-share/package.json | 2 +- .../test/directoryclient.spec.ts | 2 +- .../test/fileclient.spec.ts | 2 +- sdk/storage/storage-queue/package.json | 4 +- .../storage-queue/test/queueclient.spec.ts | 2 +- .../synapse-access-control/package.json | 2 +- sdk/synapse/synapse-artifacts/package.json | 2 +- .../package.json | 2 +- sdk/synapse/synapse-monitoring/package.json | 2 +- sdk/synapse/synapse-spark/package.json | 2 +- sdk/template/template/package.json | 2 +- sdk/test-utils/recorder/package.json | 2 +- .../perf-tests/text-analytics/package.json | 2 +- .../video-analyzer-edge/package.json | 3 +- .../web-pubsub-express/package.json | 2 +- sdk/web-pubsub/web-pubsub/package.json | 2 +- 91 files changed, 318 insertions(+), 298 deletions(-) create mode 100644 sdk/core/core-tracing/test/cache.spec.ts diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index 6998f9ce9fde..77b7991698a1 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -72,6 +72,8 @@ "@azure/identity": ["2.0.0-beta.3", "^1.1.0"], // Issue #14771 tracks updating to these versions "@microsoft/api-extractor": ["7.13.2"], - "prettier": ["2.2.1"] + "prettier": ["2.2.1"], + // All packages should move to 1.0.0-preview.12 once core-rest-pipeline 1.1.0 GAs + "@azure/core-tracing": ["1.0.0-preview.11"] } } diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 9356e0eb9327..9335db93b216 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1062,22 +1062,28 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg== + /@opentelemetry/api/0.20.0: + dev: false + engines: + node: '>=8.0.0' + resolution: + integrity: sha512-n06MtDYEc2H07S/NTvGMlxF2Ijp0YbNrI/rBgLcxpEh3hxOkPZA12gxlUoZkBHWCZYau2j3b/uL+QFpiQKOjSw== /@opentelemetry/api/1.0.0-rc.0: dev: false engines: node: '>=8.0.0' resolution: integrity: sha512-iXKByCMfrlO5S6Oh97BuM56tM2cIBB0XsL/vWF/AtJrJEKx4MC/Xdu0xDsGXMGcNWpqF7ujMsjjnp0+UHBwnDQ== - /@opentelemetry/context-async-hooks/0.19.0_@opentelemetry+api@1.0.0-rc.0: + /@opentelemetry/context-async-hooks/0.20.0_@opentelemetry+api@0.20.0: dependencies: - '@opentelemetry/api': 1.0.0-rc.0 + '@opentelemetry/api': 0.20.0 dev: false engines: node: '>=8.1.0' peerDependencies: - '@opentelemetry/api': ^1.0.0-rc.0 + '@opentelemetry/api': ^0.20.0 resolution: - integrity: sha512-+lkG1nw3XJMm5dkOlwa9tZ6PQOJmH8moMEXzty10PlmvTcJgIq+gW8iHIPLocNTkuKKh+B/vNDVURJOSarAJUg== + integrity: sha512-4cuTIPpufWRDdShtvT0c30/jHfO9eXzUh6tU087J8aO8J/hckyCIlN03eB7pfqPwQzLnWONGdHOpGjLSY7q4tg== /@opentelemetry/context-base/0.10.2: dev: false engines: @@ -1093,54 +1099,56 @@ packages: node: '>=8.5.0' resolution: integrity: sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA== - /@opentelemetry/core/0.19.0_@opentelemetry+api@1.0.0-rc.0: + /@opentelemetry/core/0.20.0_@opentelemetry+api@0.20.0: dependencies: - '@opentelemetry/api': 1.0.0-rc.0 + '@opentelemetry/api': 0.20.0 + '@opentelemetry/semantic-conventions': 0.20.0 semver: 7.3.5 dev: false engines: node: '>=8.5.0' peerDependencies: - '@opentelemetry/api': ^1.0.0-rc.0 + '@opentelemetry/api': ^0.20.0 resolution: - integrity: sha512-t83FleVbHH6SWdUegclZbsnHn0OaHjq17Hd1zsJIRMM6WNuVzbXWA+3V6LCKXqUYyu3qwtZ/w45u/Nqfr5mEeQ== - /@opentelemetry/node/0.19.0_@opentelemetry+api@1.0.0-rc.0: + integrity: sha512-09zQqB4vp2jcyBnglA/TFklDQoVgWrFKtr9pDm0q3Oa1bD2Hwpq+JapBAw18YdMQsLNQM/qsXhFlS3gFDVEy4A== + /@opentelemetry/node/0.20.0_@opentelemetry+api@0.20.0: dependencies: - '@opentelemetry/api': 1.0.0-rc.0 - '@opentelemetry/context-async-hooks': 0.19.0_@opentelemetry+api@1.0.0-rc.0 - '@opentelemetry/core': 0.19.0_@opentelemetry+api@1.0.0-rc.0 - '@opentelemetry/propagator-b3': 0.19.0_@opentelemetry+api@1.0.0-rc.0 - '@opentelemetry/propagator-jaeger': 0.19.0_@opentelemetry+api@1.0.0-rc.0 - '@opentelemetry/tracing': 0.19.0_@opentelemetry+api@1.0.0-rc.0 + '@opentelemetry/api': 0.20.0 + '@opentelemetry/context-async-hooks': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/propagator-b3': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/propagator-jaeger': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/tracing': 0.20.0_@opentelemetry+api@0.20.0 semver: 7.3.5 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^1.0.0-rc.0 + '@opentelemetry/api': ^0.20.0 resolution: - integrity: sha512-mfUw4pEHoF6RLfO36yY3gv8BxNX1sItb16HwY27ipRO92BUKRZyclWI5XgpgPkBjZ07bbPwmru+mBOBVyadtOQ== - /@opentelemetry/propagator-b3/0.19.0_@opentelemetry+api@1.0.0-rc.0: + integrity: sha512-MVwnH/AoHQTz1jOhJTYXoAoQD4CA/3L7QQkiiA93f6QGaWKIHjI/+3fUtA/GCfPR9Kf0sItQ/aag8KtCJClPCw== + /@opentelemetry/propagator-b3/0.20.0_@opentelemetry+api@0.20.0: dependencies: - '@opentelemetry/api': 1.0.0-rc.0 + '@opentelemetry/api': 0.20.0 + '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^1.0.0-rc.0 + '@opentelemetry/api': ^0.20.0 resolution: - integrity: sha512-/4ef5RA5xtzPAdtab9ml49DUd8I9mtLtUb3k3HfNYAy5RkJfJ5j4lpnUe0ZFPCOsonGyFHjtkN4s1j9MGHT5cQ== - /@opentelemetry/propagator-jaeger/0.19.0_@opentelemetry+api@1.0.0-rc.0: + integrity: sha512-TGI2D45oUVlbXVEWDedqxwO0WUtzchN/tuYghEHjRTNcVLLKT2ci9JwzHormC+ls98SYPDfvuzpB0+ParoexPQ== + /@opentelemetry/propagator-jaeger/0.20.0_@opentelemetry+api@0.20.0: dependencies: - '@opentelemetry/api': 1.0.0-rc.0 - '@opentelemetry/core': 0.19.0_@opentelemetry+api@1.0.0-rc.0 + '@opentelemetry/api': 0.20.0 + '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 dev: false engines: node: '>=8.5.0' peerDependencies: - '@opentelemetry/api': ^1.0.0-rc.0 + '@opentelemetry/api': ^0.20.0 resolution: - integrity: sha512-y2HgU5JzBKIJvRnlhRdcnokWKe7doWlBK60bTWawMYhThproa5Pn4h7dOKSnvtcBljhugXqkfhI8nkg3Syzwyw== + integrity: sha512-6kdnd1ePADx4XDaFw4Ea47fdIZohhJbd30Fc4yvl0DO+RR5WEAiAho0IsoTj6L/qvOb/+LAfvjvdk2UOXgb/3Q== /@opentelemetry/resources/0.18.2: dependencies: '@opentelemetry/api': 0.18.1 @@ -1150,29 +1158,30 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-EBPqFsreXgFaqkMmWCE8vh6pFhbWExRHSO24qSeGhxFmM5SQP/D1jJqMp/jVUSmrF97fPkMS0aEH5z7NOWdxQA== - /@opentelemetry/resources/0.19.0_@opentelemetry+api@1.0.0-rc.0: + /@opentelemetry/resources/0.20.0_@opentelemetry+api@0.20.0: dependencies: - '@opentelemetry/api': 1.0.0-rc.0 - '@opentelemetry/core': 0.19.0_@opentelemetry+api@1.0.0-rc.0 + '@opentelemetry/api': 0.20.0 + '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/semantic-conventions': 0.20.0 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^1.0.0-rc.0 + '@opentelemetry/api': ^0.20.0 resolution: - integrity: sha512-wrgclhxBH4ZO86u6veSXRtH3hv9q2kaQ1/cfstWun2y6YqjajpqAdyEHrlFWYyjr3t1ze0R68GjYQxPVWYURzg== + integrity: sha512-nnd3vIM+A9ih6kOVBc2CF5NkTYmdNci5aQ+A5lQjf3HqjEptcGubpg1J1Q84LSFVoITvuH2O6+GhPBrdxYBt8g== /@opentelemetry/semantic-conventions/0.18.2: dev: false engines: node: '>=8.0.0' resolution: integrity: sha512-+0P+PrP9qSFVaayNdek4P1OAGE+PEl2SsufuHDRmUpOY25Wzjo7Atyar56Trjc32jkNy4lID6ZFT6BahsR9P9A== - /@opentelemetry/semantic-conventions/0.19.0: + /@opentelemetry/semantic-conventions/0.20.0: dev: false engines: node: '>=8.0.0' resolution: - integrity: sha512-MMXhYEvNakvXC+oa5muX8KS2z+rsXLXwabjuzXcbJPH+rvo5XFNQ1c7svxb0B1xPpm4KT7fnH2DVfYqQzsCteQ== + integrity: sha512-x40C3vQMttFlnNEfhFwO49jHrY6AoWnntL35TCem3LINr/aw1W0hGhdKY/zweC64CBJEyiHumaae480rqF8eOA== /@opentelemetry/tracing/0.18.2: dependencies: '@opentelemetry/api': 0.18.1 @@ -1185,20 +1194,20 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-IQSu+NwMhX8O9Wkjc4HjNqs/aKfkcInCE3dQuAOBBec/saLrM6jqd+Fa5QUzg03WMOqpDuZm5KTkr5+6DUrr0g== - /@opentelemetry/tracing/0.19.0_@opentelemetry+api@1.0.0-rc.0: + /@opentelemetry/tracing/0.20.0_@opentelemetry+api@0.20.0: dependencies: - '@opentelemetry/api': 1.0.0-rc.0 - '@opentelemetry/core': 0.19.0_@opentelemetry+api@1.0.0-rc.0 - '@opentelemetry/resources': 0.19.0_@opentelemetry+api@1.0.0-rc.0 - '@opentelemetry/semantic-conventions': 0.19.0 + '@opentelemetry/api': 0.20.0 + '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/resources': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/semantic-conventions': 0.20.0 lodash.merge: 4.6.2 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^1.0.0-rc.0 + '@opentelemetry/api': ^0.20.0 resolution: - integrity: sha512-RUmPZLQi4+nlHwTFpHqU45TMW+osIraDtf0jcFKLacKltGIft65tVxIEVn1uF9N9eG7NZzjXLo3jsvCzpavJ8Q== + integrity: sha512-8ZIH0IBxIucgza0BFNiCCLByUsvu45Dm5k292RlO/E8Z1q/J7otJmh9r/EkaFb0ZSyjNdawmJ1CXnlU7+IQN1w== /@rollup/plugin-commonjs/11.0.2_rollup@1.32.1: dependencies: '@rollup/pluginutils': 3.1.0_rollup@1.32.1 @@ -8201,7 +8210,7 @@ packages: dev: false name: '@rush-temp/ai-anomaly-detector' resolution: - integrity: sha512-GOknI4gRYMnDD0S243OOfEZ+fBKRUyboXYQXYAUwIlQKl4f5klKrOBJoCfiWSMytaniZyXIvZIskYYBhgsuvog== + integrity: sha512-UAqCxcDDBSZGFVOEnudBw/8NhxgecArsuqft804NK03x42otRc88mxgBvkl+CNnhfdowlmOcZMsIOduXGOqt4w== tarball: file:projects/ai-anomaly-detector.tgz version: 0.0.0 file:projects/ai-document-translator.tgz: @@ -8287,7 +8296,7 @@ packages: dev: false name: '@rush-temp/ai-form-recognizer' resolution: - integrity: sha512-PE4K3pYykld39wlagDs2LhfGRwflCxOdxGdHWNhbPzSBpqYgmiXWyS+8r8QWxSKQVqDCsff3b7vN3x0BtuLD+g== + integrity: sha512-Srr3ktLMdIW3tZsNv7fS4ATz06mhYaWC760VUvo3d/p31RGT0DXFlKyL9TAOMEPMl8Qd4kUZB7yP0hgEHHRxXA== tarball: file:projects/ai-form-recognizer.tgz version: 0.0.0 file:projects/ai-metrics-advisor.tgz: @@ -8332,7 +8341,7 @@ packages: dev: false name: '@rush-temp/ai-metrics-advisor' resolution: - integrity: sha512-9wwCObjf/0zlhyHr7g5GH8+G884F3F8noVLWBGnG9dAncuiRPSN3I7i2b/hpnAlRbGt5++o50aUJ5Zeyhw6Cgg== + integrity: sha512-l8niJqS6qP7ELTJPG2ytZ4h7o2GVgby/RxIdw7SyeEbHw46Tif/LoIzU1EVuKLD1PqEm4D2UdG946JeyvGtL0A== tarball: file:projects/ai-metrics-advisor.tgz version: 0.0.0 file:projects/ai-text-analytics.tgz: @@ -8435,7 +8444,7 @@ packages: dev: false name: '@rush-temp/app-configuration' resolution: - integrity: sha512-HVlcQjKcWPO7j8OLEmvcEXVcBYpxEJFK0FPCYHwvSdviWASM1klDmUh14KgBI5ukXUOQceDPtEJBKn/ox/5g8g== + integrity: sha512-hYJ2Lj/Ytr0bj0SwC6UlHWkmFFm7c0z9H5Caic14Cd9liyHs/6ae8yP+N+Rqd9PNV/JstbjHlcbtgpyH/hvZFA== tarball: file:projects/app-configuration.tgz version: 0.0.0 file:projects/attestation.tgz: @@ -8546,7 +8555,7 @@ packages: dev: false name: '@rush-temp/communication-chat' resolution: - integrity: sha512-ubGcvenOv8xFMNLLe3mDQVm2sU4z9939aPrZnu1ajCZL1GXBdcZoXnPIDFJ7/qEm5oRZbCZ7bhYRGMa2elil6g== + integrity: sha512-M48ACwIHKYHqfp3DLWqmPoLqgOdPLu1M5ew2gQh9riQdJuYKCkfwridZssYv1R+GrVRHIQgOGGV9LwPTXn9vRg== tarball: file:projects/communication-chat.tgz version: 0.0.0 file:projects/communication-common.tgz: @@ -8600,7 +8609,7 @@ packages: dev: false name: '@rush-temp/communication-common' resolution: - integrity: sha512-m708g4feYifMJni1VLzBLbJEU1wzfw3pzB7ZvXbUAdgk4ikR+wkvD9j5TXlF37y59dF6ltRtY3fBZ4qoxXm7oA== + integrity: sha512-3r1o3XqYCECrYUxeVFLvgWACp8Hg2LBQw0eDflZDHWUsXmNyXdNJpnBHQuY8A/b5i7myuv7u0DUiBwGPg8gmTQ== tarball: file:projects/communication-common.tgz version: 0.0.0 file:projects/communication-identity.tgz: @@ -8653,7 +8662,7 @@ packages: dev: false name: '@rush-temp/communication-identity' resolution: - integrity: sha512-iRCXsinvg/D/ZeuNqYCN/8vT81D3ch5RpmIN2RdDRY6pSAADf4oM962yuRSwjHduvwD5G4SkfBNxGpKuNJyUAQ== + integrity: sha512-DU3BXq1v9EwcqeGfsIhi8ILI2Eacn/lzjpY+kT9lUeVWrWdrcKu+GqLU/Nwohx49C28DNqUAHNtwCmuW+pa3Xw== tarball: file:projects/communication-identity.tgz version: 0.0.0 file:projects/communication-network-traversal.tgz: @@ -8707,7 +8716,7 @@ packages: dev: false name: '@rush-temp/communication-network-traversal' resolution: - integrity: sha512-e4OQvoZW1wniyCZZwReejuCS5NLzQ6kqlF5jmbd68V5dAMw2p0I7T/uxx53dGVsAnql2osJLF7hFe9wQPiyN4A== + integrity: sha512-F1T6zU4yFjAaG3tkEUgBLRSMrMsmDvsuEWzSlJVYIrHfTZygDNR/eDQWAmjgF3TQwcn5btAEJFBNjripDSnkiQ== tarball: file:projects/communication-network-traversal.tgz version: 0.0.0 file:projects/communication-phone-numbers.tgz: @@ -8760,7 +8769,7 @@ packages: dev: false name: '@rush-temp/communication-phone-numbers' resolution: - integrity: sha512-rLZK5gAPEgmZNeMJ0wffFow/QRjAHn6IQSNk9zpUPKrga9lHD6CFZsvhbtkgsWTA2oS/wLbd5WdgiyILRr0b0Q== + integrity: sha512-flZAFiS2wvGEEBPwghkL7qsPkJGsNzAwFXteSh6ESKbZ+DeeRETVyCN5ItiL93I5PDZup3Iqfv8nR3tuuOWoRQ== tarball: file:projects/communication-phone-numbers.tgz version: 0.0.0 file:projects/communication-sms.tgz: @@ -8812,7 +8821,7 @@ packages: dev: false name: '@rush-temp/communication-sms' resolution: - integrity: sha512-+Kp99e9aleFfZ9dNecXvlvw33O8MSe4MJZZzq8c/JrI0F4tbr+qt2rv6sdNKp0bi4AZpR80nPtsxecOHjRjaIw== + integrity: sha512-zUaVWSyuQ9ddNUiWJ8XLHHJfIaRPnuXMxPN67Gve0Orx95YTyectyZmJSFK8qMUKuvcNsKP7cMg4hhhkejM8IA== tarball: file:projects/communication-sms.tgz version: 0.0.0 file:projects/confidential-ledger.tgz: @@ -9203,7 +9212,7 @@ packages: dev: false name: '@rush-temp/core-http' resolution: - integrity: sha512-bK3vk+L+XzYgsDtIDSJaGK28O2uEWbaHqrrXnEzLc55vW8WotxDSJ4dugJAtmCOyc22BKmuYONA7YngGgT2AGA== + integrity: sha512-6X7ZmkgSI5TtG0bUativYtE4MCsHUzXSM9ZuiOaJkGAgpRctDHeS+EMzA6BgL3ASSu+jIySqhI6Eo1k4K8t81Q== tarball: file:projects/core-http.tgz version: 0.0.0 file:projects/core-lro.tgz: @@ -9252,7 +9261,7 @@ packages: dev: false name: '@rush-temp/core-lro' resolution: - integrity: sha512-ixIn6iLbTI8F8ArD5n6tJ0+nLntWWZFe5nNklaf30pHmafzK1pzpVs3xaSqTPLz53ZdUA5ZI27lCSnU01m3cIQ== + integrity: sha512-qGsbhY42+yb7/ZND4jJU68QDnFa1/q2Aw++lfViXx/wohdotqvkmY08PS6+ma9e62WFwrFjItZvQU/sw4yYvFQ== tarball: file:projects/core-lro.tgz version: 0.0.0 file:projects/core-paging.tgz: @@ -9320,14 +9329,14 @@ packages: dev: false name: '@rush-temp/core-rest-pipeline' resolution: - integrity: sha512-zojuz/HSp53v8H/nOSzpSDLTCo1p6cjkcVQ+F4bNKUJ6TPNNKlo7++PBthtyS8TT/rwXhpIAeKuke+RaifY1fA== + integrity: sha512-B30gNDjvYMKn9TTL3Li38tIe02Gn9y/2pz9MLrKoWFzITzyQwaht729dCk6oSYXfesN+LipPoM26kw5lkOQ0rg== tarball: file:projects/core-rest-pipeline.tgz version: 0.0.0 file:projects/core-tracing.tgz: dependencies: '@microsoft/api-extractor': 7.7.11 '@opencensus/web-types': 0.0.7 - '@opentelemetry/api': 1.0.0-rc.0 + '@opentelemetry/api': 0.20.0 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9367,7 +9376,7 @@ packages: dev: false name: '@rush-temp/core-tracing' resolution: - integrity: sha512-WKF4Y6QQ34GMRVUm7b5wj4L16AQP+Yu+/H/LoreZzm7NCnV4C5F0V5OsDkfXdvQvVjspW6CBCZxr6p+a9/LhjA== + integrity: sha512-YWHGTfZMkeR5xkd5N7cg8Cs8xqgn5CdqqL9A+TTh2CHdDZE6sK1wkzXrSqD3aO2PcWBQ2bXr0eSlgkR1a2JuQw== tarball: file:projects/core-tracing.tgz version: 0.0.0 file:projects/core-util.tgz: @@ -9665,7 +9674,7 @@ packages: dev: false name: '@rush-temp/digital-twins-core' resolution: - integrity: sha512-2bQLTapTbOHAdI5qLxuBzKVY98kKRYwhpYqLrXPosx/9cKUplfmDWgmHy+32m8lSnkTpaQgqrlIAWIx9UOJcDg== + integrity: sha512-ZDdMr3qllyTdU+WuhJSoEb3eVwuGddKn79fKcdajDoJMqde0PIFjAjMg61bR+iR4Ij2AfznBrvjl0DshNTgB9Q== tarball: file:projects/digital-twins-core.tgz version: 0.0.0 file:projects/eslint-plugin-azure-sdk.tgz: @@ -9773,7 +9782,7 @@ packages: dev: false name: '@rush-temp/event-hubs' resolution: - integrity: sha512-hqSwpxNEfx0EqgIlkxvAhM9h9ocfi6rERq71QQGJZL7fOMIEVzI461Z+7pNt3+0Kk/q3j2ymAFkQk74NIc5mzA== + integrity: sha512-waVb3W/FR4mFFVJXs9lMDzAfshanVmja0vWAJggGYu+5fGnd3Cp61En1S10hP+VUHRSqFCvuSX0lJq/+BclbAw== tarball: file:projects/event-hubs.tgz version: 0.0.0 file:projects/event-processor-host.tgz: @@ -9989,7 +9998,7 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-r3u9P6Nl7eZfRVHi+xzt5cfkfOnAt0xbCpGVnwSz0wYIUQFhTIC/9PpuB1iZ3pTdqm6cBzAy3SFMIbWOYTpXjA== + integrity: sha512-OFIS+gx/7T0Bs3YObe7wv2MKfdGawdgRQ7UvRN6mQUYDCjkW37NpPdP8QoLCNQi1m3u0BwWf2HhuKEUhG/Y/Bw== tarball: file:projects/identity.tgz version: 0.0.0 file:projects/iot-device-update.tgz: @@ -10016,7 +10025,7 @@ packages: dev: false name: '@rush-temp/iot-device-update' resolution: - integrity: sha512-satKqBTPzyTeyC3KDD2fOauf6SpJzXevUwl2/qa9TRl6IBBFcgxJCAZgHv9SfvhiqgglqN6u+q3FXyU1s6cCmw== + integrity: sha512-6tJv5E6OLIpAoRhOoofXqsG5/QqEXSyXHRY0pPfegzAsUPd6Q9/nOCdnJdEcJefSzE8gtUotJVUr0wT3kFtW1w== tarball: file:projects/iot-device-update.tgz version: 0.0.0 file:projects/iot-modelsrepository.tgz: @@ -10114,7 +10123,7 @@ packages: dev: false name: '@rush-temp/keyvault-admin' resolution: - integrity: sha512-gMC9p+W6CAB2lQWRyn5gMX5fPZxrqcfyeBhDpVE5EeJn4qIVqtGZbXU7ZHUGAwbXRRWSicr4HgTferuy51fXqQ== + integrity: sha512-pvrTD1Fp+QI8mhhePrtbSOrwrAtGzwdsrnWHphylLXk5ihA3CMCKTQgwiWKN5juadDQ7ikbdtgTnMDegyNq5dA== tarball: file:projects/keyvault-admin.tgz version: 0.0.0 file:projects/keyvault-certificates.tgz: @@ -10173,7 +10182,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-mOQOv05qCpNK+lLfPYUrip7aATQgbj8aAFGp1xwbpgkUAirK6WPdAoyXasmGwmN70OLX74vw5MfM0sfL77cvcQ== + integrity: sha512-DHF+8x775VowWkTR284qcDoRPR0ADBERVWkB4alQE6Qf8Xl8Wfg7QGSAZAzPjTgtw4vmZaHL9c9EzysyEQNqrA== tarball: file:projects/keyvault-certificates.tgz version: 0.0.0 file:projects/keyvault-common.tgz: @@ -10187,7 +10196,7 @@ packages: dev: false name: '@rush-temp/keyvault-common' resolution: - integrity: sha512-s1nJxrKkSBSfYJvrOTJpGcF5HK0IKLlVW+SFhjVccKAVCDYjhvegZUhBdn97hL9D74wTybPcU3pmf0OQ5ZoDJw== + integrity: sha512-GRiP+Js7NDvQqLYkl8FpmDyaJbN+DdiHA97LxaNliDBYMb+9O9h5716lJYbtFAq0K4f5BcN1VWHlW0xIVfrYPg== tarball: file:projects/keyvault-common.tgz version: 0.0.0 file:projects/keyvault-keys.tgz: @@ -10247,7 +10256,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-O0gIAqRcHQfU0DyeOO4W+gykiQq48m1WlWTq0bsekJuT7GHKnyGYe0bBCvHwo6o8I4aomBY6L6zTNPOs9lN1DQ== + integrity: sha512-RgDNeqtWdvrmIBrwvvmV8S3LhGNTgxrEpNITdH3ELrzK25OQmDgbB+38oDqk9b8xCpbEAar7d1vyfsPYsubFiw== tarball: file:projects/keyvault-keys.tgz version: 0.0.0 file:projects/keyvault-secrets.tgz: @@ -10305,7 +10314,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-B21xycEmaazY328U1vqyFw4taoWpa1PxXPJZuwJScce/tRnTU/DAh6XWlwCApNvL2i98HwnirRIwgVpJ+vdx5g== + integrity: sha512-W6y3Hbxq5NJm4gUSeJRCPrefdvdyKdGwwnX83QpXUyv0+/e2cjUNtLSPcubfwqp08+lA4CRkFxhC5SA1rtIMPw== tarball: file:projects/keyvault-secrets.tgz version: 0.0.0 file:projects/logger.tgz: @@ -10396,7 +10405,7 @@ packages: dev: false name: '@rush-temp/mixedreality-authentication' resolution: - integrity: sha512-KKDbeIwKMfnH0fHha63by8Y/365C+kIvl8RJk/HnK7mDTlfq/VfVQqXmVADW4IKDhdr/F4EKRCUqsRpViv7IaQ== + integrity: sha512-Wotv/XF90O+vucRT0Tq6IEdgaSlERZ2GU0DO6hx5h/tg6DTyjeJvZ1wCt0YdjT2lUb9IuWFOOevpO4vwQzQkUw== tarball: file:projects/mixedreality-authentication.tgz version: 0.0.0 file:projects/mock-hub.tgz: @@ -10450,8 +10459,8 @@ packages: '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 - '@opentelemetry/api': 1.0.0-rc.0 - '@opentelemetry/node': 0.19.0_@opentelemetry+api@1.0.0-rc.0 + '@opentelemetry/api': 0.20.0 + '@opentelemetry/node': 0.20.0_@opentelemetry+api@0.20.0 '@opentelemetry/tracing': 0.18.2 '@types/chai': 4.2.18 '@types/chai-as-promised': 7.1.4 @@ -10491,7 +10500,7 @@ packages: dev: false name: '@rush-temp/monitor-query' resolution: - integrity: sha512-1a+a+z8wd1qXLKUmKQ3D6piq6WY49sb0Rq/nGwS22Uiq1yJii9Gc0ENIn18/04KmJNT7Jdj/hHkgfM0/KhXKdg== + integrity: sha512-7tuRnoGWczKV3/cBlQljU7Uh3VsiKULIIA7IBVB2+NeZjo4QWWj0aJeKWFTlO4T4HAZyU2o1vWsjmTT8YbvpuA== tarball: file:projects/monitor-query.tgz version: 0.0.0 file:projects/perf-ai-form-recognizer.tgz: @@ -10509,7 +10518,7 @@ packages: dev: false name: '@rush-temp/perf-ai-form-recognizer' resolution: - integrity: sha512-2yJhMmPYvcKmfy2o1DZed05GwUoLcZc4dI1WMNc7hObuSgmLAV5V6fnJZyu7d+rRYUMUALHBmsmlCWdSuNU+5Q== + integrity: sha512-Cdcpa3QsglrMNYbuwiDH70V1n9ID+ur65l/cTKce0RjsvZVAfKfxD3spUHJkg4AOOUdr+j+srPISWvFGobhr7A== tarball: file:projects/perf-ai-form-recognizer.tgz version: 0.0.0 file:projects/perf-ai-metrics-advisor.tgz: @@ -10543,7 +10552,7 @@ packages: dev: false name: '@rush-temp/perf-ai-text-analytics' resolution: - integrity: sha512-OjCVRfqezh/fSdMsibaqraqnO+kwkO/an50ZKzwY17IeXmxu0joRqr6T8WuYbrANjvmzb76/amWPYl9oLAwomQ== + integrity: sha512-Kvl28eIyB/TUFjHazX20V+clKd8zLCBx+Tb7zTU3Yp1kei9JNZfqMaDmDlCyfw1bmRLDslq5/xfo/NEMWks0wQ== tarball: file:projects/perf-ai-text-analytics.tgz version: 0.0.0 file:projects/perf-core-rest-pipeline.tgz: @@ -10610,7 +10619,7 @@ packages: dev: false name: '@rush-temp/perf-keyvault-certificates' resolution: - integrity: sha512-4//pIdPhCj2R5lVDRuVpKsX0B7oJlL1o+HkZNounvtZIK82XIQpFgG6YaXqxlTUsUVbDyzOyM+FWBGZ0JneKow== + integrity: sha512-XpNksm//ffFe1xUNxcecC+XrTLkeLn/z5C/aihHKQibCk6taCoraSjhKd59NeC1nqch1S/ns/qd1rIQ0H92phQ== tarball: file:projects/perf-keyvault-certificates.tgz version: 0.0.0 file:projects/perf-keyvault-keys.tgz: @@ -10629,7 +10638,7 @@ packages: dev: false name: '@rush-temp/perf-keyvault-keys' resolution: - integrity: sha512-oxilWE4b/H49CSh5D1XEBp7RtB0E4HEwF5aZGw7ZnP6/gjuG+8KDpFayZZ/Z4C3+HPT2eDn85OlP4kol4feApQ== + integrity: sha512-VFoveWAzBYJEbJmaezcvRjNYSfxnXbs5rvXnxlAyb5CxxyuWgdVzTD6p0fq5UjUfHWZ20kdUFSvOKUp9EKEKBA== tarball: file:projects/perf-keyvault-keys.tgz version: 0.0.0 file:projects/perf-keyvault-secrets.tgz: @@ -10648,7 +10657,7 @@ packages: dev: false name: '@rush-temp/perf-keyvault-secrets' resolution: - integrity: sha512-TE/BwyyUp0hpRF5B3u2jg3Oli+Ni6CVb2usjvY2MFXb2ZSvliNGvlMtRNlMGbh8QLQObSQ2bavzBi817tYdc5g== + integrity: sha512-AQw7amiRSQwUcEgs9E288A7yVM1JfIbTBHlNEIt+EvpsZ6MytQJDpSropVmoI7aJPC6XYfz3diprco9yLJ4ffA== tarball: file:projects/perf-keyvault-secrets.tgz version: 0.0.0 file:projects/perf-search-documents.tgz: @@ -10665,7 +10674,7 @@ packages: dev: false name: '@rush-temp/perf-search-documents' resolution: - integrity: sha512-8BV9jxnlf8zHN4PCmJbF7tWIdjn9cbPh5MEFHNu78+DFMvY0ckuCfTvdNvfyHvSEbl7BgZhuFiYJVIbYT8pdXA== + integrity: sha512-vTU34zY2iUB1V//n2VLEyqcrHX+FAUZG3qZp1zKn8Kxq4uDqS/j2Zgk+JE3KkhLvYSpfjZUIBYm5pAbBF5pwKA== tarball: file:projects/perf-search-documents.tgz version: 0.0.0 file:projects/perf-storage-blob.tgz: @@ -10862,7 +10871,7 @@ packages: dev: false name: '@rush-temp/quantum-jobs' resolution: - integrity: sha512-GaSMcSb2ZHuckwS3x3CRDCnmXsMe3tuU4VOu1TuG3DOo1g/G9AXe+4sTPQWSWkU/TjtROxj1qJ8E9JIMUc6D6w== + integrity: sha512-upn0yiRQfNXukzJK3UktrUiKGxVYOq83fsqT1AUnXtVKE/Skg7vF7GgPqXmZ7WZfYFfkZBTWvqTnPUD+ZXSsuQ== tarball: file:projects/quantum-jobs.tgz version: 0.0.0 file:projects/schema-registry-avro.tgz: @@ -10918,7 +10927,7 @@ packages: dev: false name: '@rush-temp/schema-registry-avro' resolution: - integrity: sha512-ymBBc1Nl3VY49X7lmauhchRURR7Ma8QeLOHS3pWBxKRNMW+xnZiUDqdsvXOm3ZEFyyplnU59vBa8reQq2bg5kw== + integrity: sha512-YThr/Ltxi5X65AtKzecvNSoDN7p+74dXCgDLZN6h6+bhUN2GIyZvyNPwCUrG0MSeRvF1DC7HYvYwo00/2hFnMw== tarball: file:projects/schema-registry-avro.tgz version: 0.0.0 file:projects/schema-registry.tgz: @@ -10970,7 +10979,7 @@ packages: dev: false name: '@rush-temp/schema-registry' resolution: - integrity: sha512-pL9/2K0oudjaq514sWx2J/C8IKe5F7Zvf9hHHeiaxdYWOS/Cv1H+bS5U4Z4QvRBwisEvQUKeKiKVlZphFEnkZw== + integrity: sha512-YT9wQqawJcplFXXt8QMZBzCTnMrtlMAzLZGpWw73hfhr94oPAjEFol54qJd3O7HL4ZAoeIUM8Lip1gGTgcqiYw== tarball: file:projects/schema-registry.tgz version: 0.0.0 file:projects/search-documents.tgz: @@ -11024,7 +11033,7 @@ packages: dev: false name: '@rush-temp/search-documents' resolution: - integrity: sha512-4jXeLMPpLdf19WYQ9lr3t1WXmzSseDeFeH7vACxkihoaiEJF4Cl5frhhQeibTgMWgZl9eQs5YVaqV/EyzkX+SA== + integrity: sha512-RaYfwmjKEeuaRMKTLJvd1bhl3zRNKNXm8jMgbQCtAvbztsqMUa1nER1//BRRttdhZyocX6bTQwxoaWyurC9ySw== tarball: file:projects/search-documents.tgz version: 0.0.0 file:projects/service-bus.tgz: @@ -11100,7 +11109,7 @@ packages: dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-zrlAqdm69f3tOJf9Ik7n5vzZo+CxOMXgl3ai1QEc2f/yjPfh71MoTyFBSbaShxT0qlhU1KN1+VdiZgfcirknng== + integrity: sha512-nmjsnu4i71YU0BKjM5mWBOotfzNPx9n9qhFWxeRhQ1vRepucjY1e5e2opdyRuVM3jJabE/nJL1f0SU1lOeTwwA== tarball: file:projects/service-bus.tgz version: 0.0.0 file:projects/storage-blob-changefeed.tgz: @@ -11157,7 +11166,7 @@ packages: dev: false name: '@rush-temp/storage-blob-changefeed' resolution: - integrity: sha512-7R3Bsnzf3Uebb5AHqb5fqVMLPIoNPB4SbcrF7gKCGavGvenf/CclmbD7Bz+A3ZY8wbv8vFADEh1cq4/TKmzIPQ== + integrity: sha512-TAYIp08XH6wUYN0Q7phk+InW7NcAf3Yc5iUEooKGwygVPjwyQJ1DwX5lRdHERwU5njCtdpK4plnV1H8l5GOFmQ== tarball: file:projects/storage-blob-changefeed.tgz version: 0.0.0 file:projects/storage-blob.tgz: @@ -11217,7 +11226,7 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-Cfsjh8AyVanyzUOIy60gQixLKP0ufWc5aw9DrQbGPUoL5URRO1YBN2ENhSVhI3eqhp9CPoVwjFlx3ATJwGZByQ== + integrity: sha512-IoUxzovMJaRnbE5J0Cex9+20xg62IW1junKpaph1XELiwsT+RD/c6Ecim/aVDuX1lQuNykZfbMayUWw+4JQtfw== tarball: file:projects/storage-blob.tgz version: 0.0.0 file:projects/storage-file-datalake.tgz: @@ -11277,7 +11286,7 @@ packages: dev: false name: '@rush-temp/storage-file-datalake' resolution: - integrity: sha512-cZ2msGKmv4SO7QRysUpX6K1QrWkWhOKEfh1gxyDSRViMQdNj3cDOuWddySfaT6yek1NNOP/rR2vX8DQeLP1pVg== + integrity: sha512-GSXIBdYBUFknYcqm0yyf0BQFERTz4Gp0wL68GrZzV+8R955SE1mrWaQHj/P0FdieF8OhtjkRpdqL7lLkV0h0wg== tarball: file:projects/storage-file-datalake.tgz version: 0.0.0 file:projects/storage-file-share.tgz: @@ -11332,7 +11341,7 @@ packages: dev: false name: '@rush-temp/storage-file-share' resolution: - integrity: sha512-ulZXCFqZoQpyg1awS4AaoWUyWkKcV6BvbO2HJ/Uh1A6XSBb/64lOUuh3YXG1zo2Y0YhE/bRISzg8rBnWOvaiog== + integrity: sha512-j2TuqNfjmOV+hVI9t3sRto2kAX0tNEJGKRxgO3ZKWEBPKi2m9qiOqIoCw0cT4u7Hsri8WYckxBC+Fy9n0vXabg== tarball: file:projects/storage-file-share.tgz version: 0.0.0 file:projects/storage-internal-avro.tgz: @@ -11438,7 +11447,7 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-+2Jxvir1OTWngF44vLgUGTKhKENyUPNue0H6nbyEdQO0HSgYgO6XXnCoDKuQFGPXfc1vIM7cq3Xk5kGmtdn65w== + integrity: sha512-GpLMmYAA4M3r4FAqNw06BFVyx8/be7iP+YuqBZF54QwowCpoUbU/NnBN4lCmTYg/QfbPxN3lfLTcw8xqUWqB2w== tarball: file:projects/storage-queue.tgz version: 0.0.0 file:projects/synapse-access-control.tgz: @@ -11458,7 +11467,7 @@ packages: dev: false name: '@rush-temp/synapse-access-control' resolution: - integrity: sha512-/pxVblJixB3+8YzN4T0+mlULaw26tiIg4NdYqkO6XF3xZy7U+UgYwvMGIwGu/osFtWd5sb43Rp7V0MGzxp/VtA== + integrity: sha512-cTj+TIV66H+n36HhogXdHLPHo+qBWVx6/A3/c/tAa0YdMMGUNLrS7m2f2WcANDJivLHl38gkAY9Nzm5kWIg6Vg== tarball: file:projects/synapse-access-control.tgz version: 0.0.0 file:projects/synapse-artifacts.tgz: @@ -11508,7 +11517,7 @@ packages: dev: false name: '@rush-temp/synapse-artifacts' resolution: - integrity: sha512-SMPNAmMY1Gf40sjr/Z7TAp47CV8rL4mYAheFBNhwj2Q8ivr9WSFeskIS9AuNb+sx5H/MKxI9s/0Ui1EZWVhh/Q== + integrity: sha512-wmrO52GPGKpUtaBRypEqdktg4lIsmTVxG3QsW5TeKk2hzID2BPW/WB2Q+yyiRmVAsbeqwBv90khanONpg2fOow== tarball: file:projects/synapse-artifacts.tgz version: 0.0.0 file:projects/synapse-managed-private-endpoints.tgz: @@ -11528,7 +11537,7 @@ packages: dev: false name: '@rush-temp/synapse-managed-private-endpoints' resolution: - integrity: sha512-D3f9jhlAgzKk/Y/RyYB7FxIKi4IW9kJPcQ0/Yo/mF3vSbwQe1spj5D8VeTNdY/L0EeT1B847R08BOc7MadCHxw== + integrity: sha512-TxDjc/JaUiPvOTSomuZm5zbnZYGV7PHbmn6jACR/TKb174c/qA58bTOcsk5NgpJGYM5bsGICVLlc1zcme8mf6Q== tarball: file:projects/synapse-managed-private-endpoints.tgz version: 0.0.0 file:projects/synapse-monitoring.tgz: @@ -11548,7 +11557,7 @@ packages: dev: false name: '@rush-temp/synapse-monitoring' resolution: - integrity: sha512-eOSS/v2N9ceVol7B16SV7mB/fCH8INh3r4IIu7p41uncKoQKbDrQ+yWcAlT5dsTZ5NZ31XVftACsbzYFImPhWg== + integrity: sha512-czBS9LdKdlhgQTikMWqNQJZrvH6lLWREePSMOrc14+a3a0m8AuqukIG9oP4ChtxMU460+uiP85SUIBD3m6DynA== tarball: file:projects/synapse-monitoring.tgz version: 0.0.0 file:projects/synapse-spark.tgz: @@ -11568,7 +11577,7 @@ packages: dev: false name: '@rush-temp/synapse-spark' resolution: - integrity: sha512-jtEPP+8SwrlqkSVH3eX1FbywVcfw4JtkrIu18m1lE3xrBko+X8UnvhDitHCKZ/SLI4N7BgaYv9WrjZrvos9zrQ== + integrity: sha512-0EQSRYbZpxXr2lIJNnJBzLnxNtIg8vvKbZgP8m4BEY/Bh6zePj/040ofZb7oyjDTJ2GBG/6xGSXe6rWcQYbueQ== tarball: file:projects/synapse-spark.tgz version: 0.0.0 file:projects/template.tgz: @@ -11613,7 +11622,7 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-QFUihYe9zf/MLVpQVDyOPVMflgamzdQ+LTs8HNDGtnaWY4TTSJ98pY27DSsIA8YdgM38rehu8rCyNKnajf5cbg== + integrity: sha512-3fbGqkIaKqvCh8c+NNU0di1d3N/83L3/4VReIw0YOCpTSUOABqCeyJXuI4CrlcuvPjR4W8e+FS4bJU3WknmxJg== tarball: file:projects/template.tgz version: 0.0.0 file:projects/test-utils-perfstress.tgz: @@ -11692,7 +11701,7 @@ packages: dev: false name: '@rush-temp/test-utils-recorder' resolution: - integrity: sha512-Ue5C7FU0GJqkmO177LzZP2VxwZIKhTb3jEn0vSIabo/beh2yUAG8aIdgFhnQwn7+G4W1aR8cJNOsXhEjoF19Jg== + integrity: sha512-fGHrJYrVCdiA8F/jXpnMAdz1b/Xz68JAMfGSHwdiEki22yPna09NHn0kSceTlHuj4OGetNAxk0+ZeY7hhICaHA== tarball: file:projects/test-utils-recorder.tgz version: 0.0.0 file:projects/test-utils.tgz: @@ -11763,7 +11772,7 @@ packages: dev: false name: '@rush-temp/video-analyzer-edge' resolution: - integrity: sha512-kl5835YkIbgMiF6nnZOcK6Q9D1MF5BosgCptZKssBzaJOVZ6S9NXdKkZ4zpK8e20qm07TKeuiupoq4VN9AQqOA== + integrity: sha512-989HvDXIApeDGqoTNg6I8JUTUtpBn6pzLuYST0JYrKE7/2sJq7x1yp8CtKi+jeqhnG7aiDa9GjacpxgdrQbXEQ== tarball: file:projects/video-analyzer-edge.tgz version: 0.0.0 file:projects/web-pubsub-express.tgz: @@ -11825,7 +11834,7 @@ packages: dev: false name: '@rush-temp/web-pubsub-express' resolution: - integrity: sha512-W0ULxg67MAQ8RTfSq2esPGEi6mqf92gCqdWl20upUEg0bGmDG4SNNjsx/KRJFZArvPzfrG3qmm4HGTlzgq5Cug== + integrity: sha512-Lr9G7CThq8ki5jg+j6J8n8kGVpRlCHDtlZWjahAwvL0Y+xHD0CdeHW5Ey95lTdtLQkRUm4LRXrgQezq9J81+XA== tarball: file:projects/web-pubsub-express.tgz version: 0.0.0 file:projects/web-pubsub.tgz: @@ -11883,7 +11892,7 @@ packages: dev: false name: '@rush-temp/web-pubsub' resolution: - integrity: sha512-7AUtluOH0BIwZus4j+s3KNgdoU1B5xmPTBJbZN7zUvSlIUeHIIOwZtnp7/eb9/LNn5GYyBUD+Nf5+QGRscKm1g== + integrity: sha512-vR4Y02jE/bLss6v013XQnI7fHgUp+r4ENYXoaHKRAtNMixhfeobUozzrZuMQJjCTyh0ps8FxxEn3BB3It5SySQ== tarball: file:projects/web-pubsub.tgz version: 0.0.0 registry: '' diff --git a/sdk/anomalydetector/ai-anomaly-detector/package.json b/sdk/anomalydetector/ai-anomaly-detector/package.json index b9d22d3755aa..92749f3efee9 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/package.json +++ b/sdk/anomalydetector/ai-anomaly-detector/package.json @@ -67,7 +67,7 @@ "@azure/core-paging": "^1.1.1", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", - "@azure/core-tracing": "1.0.0-preview.11" + "@azure/core-tracing": "1.0.0-preview.12" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index a8896b927af1..90c0dd71c775 100644 --- a/sdk/appconfiguration/app-configuration/package.json +++ b/sdk/appconfiguration/app-configuration/package.json @@ -90,13 +90,13 @@ "@azure/core-asynciterator-polyfill": "^1.0.0", "@azure/core-http": "^1.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/keyvault-secrets": "^4.2.0", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index 2c68cb6223fa..d646a102ae89 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -69,7 +69,7 @@ "@azure/communication-signaling": "1.0.0-beta.5", "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0", diff --git a/sdk/communication/communication-common/package.json b/sdk/communication/communication-common/package.json index 63a61506ce99..92b999b32e86 100644 --- a/sdk/communication/communication-common/package.json +++ b/sdk/communication/communication-common/package.json @@ -66,7 +66,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "events": "^3.0.0", "jwt-decode": "~2.2.0", "tslib": "^2.2.0" diff --git a/sdk/communication/communication-identity/package.json b/sdk/communication/communication-identity/package.json index 8cbfa80e95de..70ffa5434c30 100644 --- a/sdk/communication/communication-identity/package.json +++ b/sdk/communication/communication-identity/package.json @@ -79,7 +79,7 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" diff --git a/sdk/communication/communication-network-traversal/package.json b/sdk/communication/communication-network-traversal/package.json index c6ebebe4e203..7b3076ccc711 100644 --- a/sdk/communication/communication-network-traversal/package.json +++ b/sdk/communication/communication-network-traversal/package.json @@ -77,7 +77,7 @@ "@azure/communication-common": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index 4c4d7611e0ed..94b1226c93c6 100644 --- a/sdk/communication/communication-phone-numbers/package.json +++ b/sdk/communication/communication-phone-numbers/package.json @@ -67,7 +67,7 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" diff --git a/sdk/communication/communication-sms/package.json b/sdk/communication/communication-sms/package.json index c34ffd1ffe60..6ddf7b497368 100644 --- a/sdk/communication/communication-sms/package.json +++ b/sdk/communication/communication-sms/package.json @@ -69,7 +69,7 @@ "@azure/communication-common": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" diff --git a/sdk/core/README.md b/sdk/core/README.md index 2b274d599379..b4cd153f0554 100644 --- a/sdk/core/README.md +++ b/sdk/core/README.md @@ -122,14 +122,14 @@ Client libraries have preliminary support for [OpenTelemetry](https://openteleme Each client library internally does the work to create a new OpenTelemetry `Span` for each service operation, making sure to end the `Span` after the result is returned back to the consumer. Many clients use a helper method called [createSpan](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/textanalytics/ai-text-analytics/src/tracing.ts) to create the new `Span`. -When `tracingOptions.spanOptions.parent` is set on an operation, a default request policy will automatically create a span for each HTTP request that is issued. +When `tracingOptions.tracingContext` is set on an operation, a default request policy will automatically create a span for each HTTP request that is issued. -Consumers are expected to pass in the `SpanContext` of the parent `Span` when calling an operation, such as: +Consumers are expected to pass in the `Context` of the parent `Span` when calling an operation, such as: ```ts const result = await blobClient.download(undefined, undefined, { tracingOptions: { - spanOptions: { parent: rootSpan.context() }, + tracingContext: activeContext }, }); ``` diff --git a/sdk/core/core-http/package.json b/sdk/core/core-http/package.json index 32904218700d..0744f4a118b2 100644 --- a/sdk/core/core-http/package.json +++ b/sdk/core/core-http/package.json @@ -129,7 +129,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-asynciterator-polyfill": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "@types/node-fetch": "^2.5.0", "@types/tunnel": "^0.0.1", diff --git a/sdk/core/core-http/src/policies/tracingPolicy.ts b/sdk/core/core-http/src/policies/tracingPolicy.ts index d53599233e0a..660ebd4684d6 100644 --- a/sdk/core/core-http/src/policies/tracingPolicy.ts +++ b/sdk/core/core-http/src/policies/tracingPolicy.ts @@ -76,7 +76,7 @@ export class TracingPolicy extends BaseRequestPolicy { try { // set headers - const spanContext = span.context(); + const spanContext = span.spanContext(); const traceParentHeader = getTraceParentHeader(spanContext); if (traceParentHeader) { request.headers.set("traceparent", traceParentHeader); diff --git a/sdk/core/core-http/test/policies/tracingPolicyTests.ts b/sdk/core/core-http/test/policies/tracingPolicyTests.ts index 19821736d7b6..1e871fef7538 100644 --- a/sdk/core/core-http/test/policies/tracingPolicyTests.ts +++ b/sdk/core/core-http/test/policies/tracingPolicyTests.ts @@ -12,7 +12,6 @@ import { import { setTracer, NoOpTracer, - NoOpSpan, SpanOptions, SpanContext, TraceFlags, @@ -20,24 +19,42 @@ import { setSpan, context, SpanStatusCode, - SpanStatus + SpanStatus, + Span, + SpanAttributes, + SpanAttributeValue, + Tracer } from "@azure/core-tracing"; import { tracingPolicy } from "../../src/policies/tracingPolicy"; -class MockSpan extends NoOpSpan { +class MockSpan implements Span { private _endCalled = false; private _status: SpanStatus = { code: SpanStatusCode.UNSET }; - private _attributes: { [s: string]: unknown } = {}; + private _attributes: SpanAttributes = {}; constructor( private traceId: string, private spanId: string, private flags: TraceFlags, private state: string - ) { - super(); + ) {} + + addEvent(): this { + throw new Error("Not implemented."); + } + + isRecording(): boolean { + return true; + } + + recordException(): void { + throw new Error("Not implemented."); + } + + updateName(): this { + throw new Error("Not implemented."); } didEnd(): boolean { @@ -57,7 +74,12 @@ class MockSpan extends NoOpSpan { return this; } - setAttribute(key: string, value: unknown) { + setAttributes(attributes: SpanAttributes): this { + this._attributes = attributes; + return this; + } + + setAttribute(key: string, value: SpanAttributeValue) { this._attributes[key] = value; return this; } @@ -66,7 +88,7 @@ class MockSpan extends NoOpSpan { return this._attributes[key]; } - context(): SpanContext { + spanContext(): SpanContext { const state = this.state; const traceState = { @@ -95,7 +117,7 @@ class MockSpan extends NoOpSpan { } } -class MockTracer extends NoOpTracer { +class MockTracer implements Tracer { private spans: MockSpan[] = []; private _startSpanCalled = false; @@ -104,9 +126,7 @@ class MockTracer extends NoOpTracer { private spanId = "", private flags = TraceFlags.NONE, private state = "" - ) { - super(); - } + ) {} getStartedSpans(): MockSpan[] { return this.spans; diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index a24195811e8b..5126c076de12 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -97,7 +97,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "events": "^3.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/core/core-rest-pipeline/package.json b/sdk/core/core-rest-pipeline/package.json index 75e7e6aa5e6c..fb00f11b74a9 100644 --- a/sdk/core/core-rest-pipeline/package.json +++ b/sdk/core/core-rest-pipeline/package.json @@ -93,7 +93,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "form-data": "^3.0.0", "tslib": "^2.2.0", diff --git a/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts b/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts index 3ada95732249..fd6125a05201 100644 --- a/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts +++ b/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts @@ -77,7 +77,7 @@ export function tracingPolicy(options: TracingPolicyOptions = {}): PipelinePolic try { // set headers - const spanContext = span.context(); + const spanContext = span.spanContext(); const traceParentHeader = getTraceParentHeader(spanContext); if (traceParentHeader) { request.headers.set("traceparent", traceParentHeader); diff --git a/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts b/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts index 034d47b93208..5643463b7b56 100644 --- a/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts +++ b/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts @@ -66,7 +66,7 @@ class MockSpan extends NoOpSpan { return this._attributes[key]; } - context(): SpanContext { + spanContext(): SpanContext { const state = this.state; const traceState = { diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index 7056b43d6425..db31dc5281ed 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -60,7 +60,7 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/README.md", "sideEffects": false, "dependencies": { - "@opentelemetry/api": "1.0.0-rc.0", + "@opentelemetry/api": "0.20.0", "tslib": "^2.2.0" }, "devDependencies": { diff --git a/sdk/core/core-tracing/review/core-tracing.api.md b/sdk/core/core-tracing/review/core-tracing.api.md index 32e6bd900d86..824fbba74ab5 100644 --- a/sdk/core/core-tracing/review/core-tracing.api.md +++ b/sdk/core/core-tracing/review/core-tracing.api.md @@ -81,25 +81,19 @@ export type HrTime = [number, number]; // @public export interface Link { attributes?: SpanAttributes; - context: LinkContext; + context: SpanContext; } -// @public -export type LinkContext = { - traceId: string; - spanId: string; -}; - // @public export class NoOpSpan implements Span { addEvent(_name: string, _attributes?: SpanAttributes): this; - context(): SpanContext; end(_endTime?: number): void; isRecording(): boolean; recordException(_exception: Exception, _time?: TimeInput): void; setAttribute(_key: string, _value: unknown): this; setAttributes(_attributes: SpanAttributes): this; setStatus(_status: SpanStatus): this; + spanContext(): SpanContext; updateName(_name: string): this; } @@ -129,13 +123,13 @@ export function setTracer(tracer: Tracer): void; // @public export interface Span { addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this; - context(): SpanContext; end(endTime?: TimeInput): void; isRecording(): boolean; recordException(exception: Exception, time?: TimeInput): void; setAttribute(key: string, value: SpanAttributeValue): this; setAttributes(attributes: SpanAttributes): this; setStatus(status: SpanStatus): this; + spanContext(): SpanContext; updateName(name: string): this; } @@ -200,7 +194,6 @@ export enum SpanStatusCode { export class TestSpan extends NoOpSpan { constructor(parentTracer: Tracer, name: string, context: SpanContext, kind: SpanKind, parentSpanId?: string, startTime?: TimeInput); readonly attributes: SpanAttributes; - context(): SpanContext; end(_endTime?: number): void; endCalled: boolean; isRecording(): boolean; @@ -210,6 +203,7 @@ export class TestSpan extends NoOpSpan { setAttribute(key: string, value: SpanAttributeValue): this; setAttributes(attributes: SpanAttributes): this; setStatus(status: SpanStatus): this; + spanContext(): SpanContext; readonly startTime: TimeInput; status: SpanStatus; tracer(): Tracer; diff --git a/sdk/core/core-tracing/src/index.ts b/sdk/core/core-tracing/src/index.ts index 179a319278ba..46efb7f36c34 100644 --- a/sdk/core/core-tracing/src/index.ts +++ b/sdk/core/core-tracing/src/index.ts @@ -23,7 +23,6 @@ export { getSpanContext, HrTime, Link, - LinkContext, OperationTracingOptions, setSpan, setSpanContext, diff --git a/sdk/core/core-tracing/src/interfaces.ts b/sdk/core/core-tracing/src/interfaces.ts index ed9cc191ae13..cfab37fa8a55 100644 --- a/sdk/core/core-tracing/src/interfaces.ts +++ b/sdk/core/core-tracing/src/interfaces.ts @@ -1,13 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { - context as otContext, - getSpan as otGetSpan, - getSpanContext as otGetSpanContext, - setSpan as otSetSpan, - setSpanContext as otSetSpanContext -} from "@opentelemetry/api"; +import { context as otContext, trace as otTrace } from "@opentelemetry/api"; /** * A Tracer. @@ -178,7 +172,7 @@ export interface ExceptionWithName { * @param context - context to get span from */ export function getSpan(context: Context): Span | undefined { - return otGetSpan(context); + return otTrace.getSpan(context); } /** @@ -188,7 +182,7 @@ export function getSpan(context: Context): Span | undefined { * @param span - span to set active */ export function setSpan(context: Context, span: Span): Context { - return otSetSpan(context, span); + return otTrace.setSpan(context, span); } /** @@ -199,7 +193,7 @@ export function setSpan(context: Context, span: Span): Context { * @param spanContext - span context to be wrapped */ export function setSpanContext(context: Context, spanContext: SpanContext): Context { - return otSetSpanContext(context, spanContext); + return otTrace.setSpanContext(context, spanContext); } /** @@ -208,7 +202,7 @@ export function setSpanContext(context: Context, spanContext: SpanContext): Cont * @param context - context to get values from */ export function getSpanContext(context: Context): SpanContext | undefined { - return otGetSpanContext(context); + return otTrace.getSpanContext(context); } /** @@ -260,7 +254,7 @@ export interface Span { * * @returns the SpanContext object associated with this Span. */ - context(): SpanContext; + spanContext(): SpanContext; /** * Sets an attribute to the span. * @@ -388,20 +382,12 @@ export interface SpanContext { traceState?: TraceState; } -/** - * Context for the linked span. - */ -export type LinkContext = { - traceId: string; - spanId: string; -}; - /** * Used to specify a span that is linked to another. */ export interface Link { - /** The {@link LinkContext} of a linked span. */ - context: LinkContext; + /** The {@link SpanContext} of a linked span. */ + context: SpanContext; /** A set of {@link SpanAttributes} on the link. */ attributes?: SpanAttributes; diff --git a/sdk/core/core-tracing/src/tracers/noop/noOpSpan.ts b/sdk/core/core-tracing/src/tracers/noop/noOpSpan.ts index 55f442111b02..93e8ee94f182 100644 --- a/sdk/core/core-tracing/src/tracers/noop/noOpSpan.ts +++ b/sdk/core/core-tracing/src/tracers/noop/noOpSpan.ts @@ -18,7 +18,7 @@ export class NoOpSpan implements Span { /** * Returns the SpanContext associated with this Span. */ - context(): SpanContext { + spanContext(): SpanContext { return { spanId: "", traceId: "", diff --git a/sdk/core/core-tracing/src/tracers/test/testSpan.ts b/sdk/core/core-tracing/src/tracers/test/testSpan.ts index 50f11fd584a5..9cd23cd73351 100644 --- a/sdk/core/core-tracing/src/tracers/test/testSpan.ts +++ b/sdk/core/core-tracing/src/tracers/test/testSpan.ts @@ -96,7 +96,7 @@ export class TestSpan extends NoOpSpan { /** * Returns the SpanContext associated with this Span. */ - context(): SpanContext { + spanContext(): SpanContext { return this._context; } diff --git a/sdk/core/core-tracing/src/tracers/test/testTracer.ts b/sdk/core/core-tracing/src/tracers/test/testTracer.ts index 99bbcd282755..fe85831fa610 100644 --- a/sdk/core/core-tracing/src/tracers/test/testTracer.ts +++ b/sdk/core/core-tracing/src/tracers/test/testTracer.ts @@ -88,14 +88,14 @@ export class TestTracer extends NoOpTracer { */ getSpanGraph(traceId: string): SpanGraph { const traceSpans = this.knownSpans.filter((span) => { - return span.context().traceId === traceId; + return span.spanContext().traceId === traceId; }); const roots: SpanGraphNode[] = []; const nodeMap: Map = new Map(); for (const span of traceSpans) { - const spanId = span.context().spanId; + const spanId = span.spanContext().spanId; const node: SpanGraphNode = { name: span.name, children: [] diff --git a/sdk/core/core-tracing/src/utils/cache.ts b/sdk/core/core-tracing/src/utils/cache.ts index 0b53650f9a22..92defea17019 100644 --- a/sdk/core/core-tracing/src/utils/cache.ts +++ b/sdk/core/core-tracing/src/utils/cache.ts @@ -4,17 +4,13 @@ import { Tracer } from "../interfaces"; import { getGlobalObject } from "./global"; -// V1 = OpenTelemetry 0.1 -// V2 = OpenTelemetry 0.2 -// V3 = OpenTelemetry 0.6.1 -// V4 = OpenTelemetry 1.0.0-rc.0 -const GLOBAL_TRACER_VERSION = 4; -// preview5 shipped with @azure/core-tracing.tracerCache -// and didn't have smart detection for collisions -const GLOBAL_TRACER_SYMBOL = Symbol.for("@azure/core-tracing.tracerCache3"); +// tracerCache will be updated when a new incompatible version of OTel is +// shipped in core-tracing. +// tracerCache3 - OpenTelemetry 1.0.0-rc.1 +// tracerCache4 - OpenTelemetry 0.20.0 +const GLOBAL_TRACER_SYMBOL = Symbol.for(`@azure/core-tracing.tracerCache4`); export interface TracerCache { - version: number; tracer?: Tracer; } @@ -22,31 +18,13 @@ let cache: TracerCache; function loadTracerCache(): void { const globalObj = getGlobalObject(); - const existingCache: TracerCache = globalObj[GLOBAL_TRACER_SYMBOL]; - let setGlobalCache = true; - if (existingCache) { - if (existingCache.version === GLOBAL_TRACER_VERSION) { - cache = existingCache; - } else { - setGlobalCache = false; - if (existingCache.tracer) { - throw new Error( - `Two incompatible versions of @azure/core-tracing have been loaded. - This library is ${GLOBAL_TRACER_VERSION}, existing is ${existingCache.version}.` - ); - } - } - } - if (!cache) { - cache = { - tracer: undefined, - version: GLOBAL_TRACER_VERSION + if (!globalObj[GLOBAL_TRACER_SYMBOL]) { + globalObj[GLOBAL_TRACER_SYMBOL] = { + tracer: undefined }; } - if (setGlobalCache) { - globalObj[GLOBAL_TRACER_SYMBOL] = cache; - } + cache = globalObj[GLOBAL_TRACER_SYMBOL]; } export function getCache(): TracerCache { diff --git a/sdk/core/core-tracing/test/cache.spec.ts b/sdk/core/core-tracing/test/cache.spec.ts new file mode 100644 index 000000000000..6bde9dda7291 --- /dev/null +++ b/sdk/core/core-tracing/test/cache.spec.ts @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import assert from "assert"; +import * as fs from "fs"; +import { Context } from "mocha"; +import * as path from "path"; + +const validOpenTelemetryVersions = ["0.20.0"]; + +describe("cache", () => { + it("ensure current @opentelemetry/api has been validated", function(this: Context) { + if (!fs) { + this.skip(); + } + // This test ensures that we make a conscious and deliberate decision whether two tracers are compatible. + // When upgrading our @opentelemetry/api version, if the changes to the _tracer_ are incompatible we should + // Update GLOBAL_TRACER_SYMBOL to be unique by incrementing the version and remove the existing entries in `validOpenTelemetryVersions`. Otherwise we can share a tracer cache. + // When finished, you can add this version to the `validOpenTelemetryVersions` array. + const packageJson = JSON.parse( + fs.readFileSync(path.join(__dirname, "../package.json"), { encoding: "utf8" }) + ); + assert.ok( + validOpenTelemetryVersions.includes(packageJson["dependencies"]["@opentelemetry/api"]), + "Detected new version of @opentelemetry/api. Please ensure compatibility with current versions or bump the cache version to ensure uniqueness, then add it to the `validOpenTelemetryVersions` list." + ); + }); +}); diff --git a/sdk/core/core-tracing/test/createSpan.spec.ts b/sdk/core/core-tracing/test/createSpan.spec.ts index 8379548cfd73..74baa0a00499 100644 --- a/sdk/core/core-tracing/test/createSpan.spec.ts +++ b/sdk/core/core-tracing/test/createSpan.spec.ts @@ -10,7 +10,7 @@ import { context as otContext, getSpanContext, Context -} from "@opentelemetry/api"; +} from "../src/interfaces"; import { setTracer } from "../src/tracerProxy"; import { TestTracer } from "../src/tracers/test/testTracer"; @@ -197,7 +197,7 @@ describe("createSpan", () => { assert.notDeepEqual(parentContext, otContext.active(), "new child context should be created"); assert.equal( getSpanContext(parentContext!)?.spanId, - span.context().spanId, + span.spanContext().spanId, "context returned in the updated options should point to our newly created span" ); } @@ -212,7 +212,7 @@ describe("createSpan", () => { assert.ok(updatedOptions.tracingOptions.tracingContext); assert.equal( getSpanContext(updatedOptions.tracingOptions.tracingContext!)?.spanId, - childSpan.context().spanId + childSpan.spanContext().spanId ); }); }); diff --git a/sdk/core/core-tracing/test/interfaces.spec.ts b/sdk/core/core-tracing/test/interfaces.spec.ts index 70555fddc7a6..822086c2c29b 100644 --- a/sdk/core/core-tracing/test/interfaces.spec.ts +++ b/sdk/core/core-tracing/test/interfaces.spec.ts @@ -31,6 +31,7 @@ describe("interface compatibility", () => { links: [ { context: { + traceFlags: coreTracing.TraceFlags.NONE, spanId: "", traceId: "" } @@ -53,7 +54,8 @@ describe("interface compatibility", () => { { context: { spanId: "spanId", - traceId: "traceId" + traceId: "traceId", + traceFlags: coreTracing.TraceFlags.NONE }, attributes: { hello2: "world2" diff --git a/sdk/deviceupdate/iot-device-update/package.json b/sdk/deviceupdate/iot-device-update/package.json index 8b64b1bad739..c17a477d4259 100644 --- a/sdk/deviceupdate/iot-device-update/package.json +++ b/sdk/deviceupdate/iot-device-update/package.json @@ -7,7 +7,7 @@ "dependencies": { "@azure/core-http": "^1.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "keywords": [ diff --git a/sdk/digitaltwins/digital-twins-core/package.json b/sdk/digitaltwins/digital-twins-core/package.json index dad7d08c63a3..c4591955c1e0 100644 --- a/sdk/digitaltwins/digital-twins-core/package.json +++ b/sdk/digitaltwins/digital-twins-core/package.json @@ -68,7 +68,7 @@ "dependencies": { "@azure/core-http": "^1.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index 1beca2b6736a..bfe648207a9b 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -93,7 +93,7 @@ "@azure/core-amqp": "^3.0.0", "@azure/core-asynciterator-polyfill": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "buffer": "^5.2.1", "is-buffer": "^2.0.3", diff --git a/sdk/eventhub/event-hubs/src/diagnostics/instrumentEventData.ts b/sdk/eventhub/event-hubs/src/diagnostics/instrumentEventData.ts index d9175b5b2374..0b05dbfe00a5 100644 --- a/sdk/eventhub/event-hubs/src/diagnostics/instrumentEventData.ts +++ b/sdk/eventhub/event-hubs/src/diagnostics/instrumentEventData.ts @@ -25,7 +25,7 @@ export function instrumentEventData(eventData: EventData, span: Span): EventData // create a copy so the original isn't modified eventData = { ...eventData, properties: { ...eventData.properties } }; - const traceParent = getTraceParentHeader(span.context()); + const traceParent = getTraceParentHeader(span.spanContext()); if (traceParent) { eventData.properties![TRACEPARENT_PROPERTY] = traceParent; } diff --git a/sdk/eventhub/event-hubs/src/diagnostics/tracing.ts b/sdk/eventhub/event-hubs/src/diagnostics/tracing.ts index 3b7b1f0126a9..f81680a136f5 100644 --- a/sdk/eventhub/event-hubs/src/diagnostics/tracing.ts +++ b/sdk/eventhub/event-hubs/src/diagnostics/tracing.ts @@ -131,5 +131,5 @@ function isSpan(possibleSpan: Span | SpanContext | undefined): possibleSpan is S } const x = possibleSpan as Span; - return typeof x.context === "function"; + return typeof x.spanContext === "function"; } diff --git a/sdk/eventhub/event-hubs/src/eventDataBatch.ts b/sdk/eventhub/event-hubs/src/eventDataBatch.ts index bd3dda412e46..9d1e17821126 100644 --- a/sdk/eventhub/event-hubs/src/eventDataBatch.ts +++ b/sdk/eventhub/event-hubs/src/eventDataBatch.ts @@ -296,7 +296,7 @@ export class EventDataBatchImpl implements EventDataBatch { if (!previouslyInstrumented) { const { span: messageSpan } = createMessageSpan(options, this._context.config); eventData = instrumentEventData(eventData, messageSpan); - spanContext = messageSpan.context(); + spanContext = messageSpan.spanContext(); messageSpan.end(); } diff --git a/sdk/eventhub/event-hubs/test/internal/diagnostics/messageSpan.spec.ts b/sdk/eventhub/event-hubs/test/internal/diagnostics/messageSpan.spec.ts index 0a4e3271be42..4951d2c067bf 100644 --- a/sdk/eventhub/event-hubs/test/internal/diagnostics/messageSpan.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/diagnostics/messageSpan.spec.ts @@ -29,8 +29,8 @@ describe("#createMessageSpan()", () => { ); should.exist(span); - should.exist(span.context().spanId); - should.exist(span.context().traceId); + should.exist(span.spanContext().spanId); + should.exist(span.spanContext().traceId); should.equal((span as any).name, "Azure.EventHubs.message"); assert.deepStrictEqual((span as any).attributes, { diff --git a/sdk/eventhub/event-hubs/test/internal/partitionPump.spec.ts b/sdk/eventhub/event-hubs/test/internal/partitionPump.spec.ts index e30b7aa115c9..e3b0d5a02344 100644 --- a/sdk/eventhub/event-hubs/test/internal/partitionPump.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/partitionPump.spec.ts @@ -41,7 +41,7 @@ describe("PartitionPump", () => { } it("basic span properties are set", async () => { - const fakeParentSpanContext = setSpanContext(context.active(), new NoOpSpan().context()); + const fakeParentSpanContext = setSpanContext(context.active(), new NoOpSpan().spanContext()); const { tracer, resetTracer } = setTracerForTest(new TestTracer2()); await createProcessingSpan([], eventHubProperties, { @@ -94,11 +94,11 @@ describe("PartitionPump", () => { tracer.spanOptions!.links!.length.should.equal(3 - 1); // the test tracer just hands out a string integer that just gets // incremented - tracer.spanOptions!.links![0]!.context.traceId.should.equal(firstEvent.context().traceId); + tracer.spanOptions!.links![0]!.context.traceId.should.equal(firstEvent.spanContext().traceId); (tracer.spanOptions!.links![0]!.attributes!.enqueuedTime as number).should.equal( requiredEventProperties.enqueuedTimeUtc.getTime() ); - tracer.spanOptions!.links![1]!.context.traceId.should.equal(thirdEvent.context().traceId); + tracer.spanOptions!.links![1]!.context.traceId.should.equal(thirdEvent.spanContext().traceId); (tracer.spanOptions!.links![1]!.attributes!.enqueuedTime as number).should.equal( requiredEventProperties.enqueuedTimeUtc.getTime() ); diff --git a/sdk/eventhub/event-hubs/test/internal/sender.spec.ts b/sdk/eventhub/event-hubs/test/internal/sender.spec.ts index 04e65be92ff8..3e78b2d5f8b2 100644 --- a/sdk/eventhub/event-hubs/test/internal/sender.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/sender.spec.ts @@ -349,14 +349,14 @@ describe("EventHub Sender", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); function legacyOptionsUsingSpanContext(rootSpan: TestSpan): Pick { return { - parentSpan: rootSpan.context() + parentSpan: rootSpan.spanContext() }; } @@ -422,7 +422,7 @@ describe("EventHub Sender", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -473,7 +473,7 @@ describe("EventHub Sender", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -667,7 +667,7 @@ describe("EventHub Sender", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); @@ -725,7 +725,7 @@ describe("EventHub Sender", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); @@ -886,7 +886,7 @@ describe("EventHub Sender", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); const knownSendSpans = tracer @@ -952,7 +952,7 @@ describe("EventHub Sender", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); diff --git a/sdk/eventhub/event-hubs/test/public/hubruntime.spec.ts b/sdk/eventhub/event-hubs/test/public/hubruntime.spec.ts index 9248e375aa0b..35f0e324585d 100644 --- a/sdk/eventhub/event-hubs/test/public/hubruntime.spec.ts +++ b/sdk/eventhub/event-hubs/test/public/hubruntime.spec.ts @@ -96,7 +96,7 @@ describe("RuntimeInformation", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -131,7 +131,7 @@ describe("RuntimeInformation", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -192,7 +192,7 @@ describe("RuntimeInformation", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -229,7 +229,7 @@ describe("RuntimeInformation", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -372,7 +372,7 @@ describe("RuntimeInformation", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -411,7 +411,7 @@ describe("RuntimeInformation", function(): void { ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); diff --git a/sdk/formrecognizer/ai-form-recognizer/package.json b/sdk/formrecognizer/ai-form-recognizer/package.json index ac5c69b81efa..64ab9deb5ea2 100644 --- a/sdk/formrecognizer/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/package.json @@ -82,14 +82,14 @@ "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils": "^1.0.0", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json b/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json index 969f726ba369..a67cbaf8f5ea 100644 --- a/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json @@ -9,7 +9,7 @@ "license": "ISC", "dependencies": { "@azure/ai-form-recognizer": "3.1.0-beta.3", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0", "tslib": "^2.2.0" diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index 901f8b5252e9..e703e3ce1622 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -79,7 +79,7 @@ "sideEffects": false, "dependencies": { "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "@azure/abort-controller": "^1.0.0", "@azure/msal-common": "^4.3.0", diff --git a/sdk/identity/identity/test/msalTestUtils.ts b/sdk/identity/identity/test/msalTestUtils.ts index 23874deda129..6e9bd0e0c2a3 100644 --- a/sdk/identity/identity/test/msalTestUtils.ts +++ b/sdk/identity/identity/test/msalTestUtils.ts @@ -136,7 +136,7 @@ export function testTracing(options: TestTracingOptions): () => Promise { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }; } diff --git a/sdk/identity/identity/test/public/node/authorizationCodeCredential.spec.ts b/sdk/identity/identity/test/public/node/authorizationCodeCredential.spec.ts index e75a00150489..3ba5bebf0006 100644 --- a/sdk/identity/identity/test/public/node/authorizationCodeCredential.spec.ts +++ b/sdk/identity/identity/test/public/node/authorizationCodeCredential.spec.ts @@ -129,7 +129,7 @@ describe("AuthorizationCodeCredential", function() { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }); }); diff --git a/sdk/keyvault/keyvault-admin/package.json b/sdk/keyvault/keyvault-admin/package.json index 63f9883025a3..88d457369a14 100644 --- a/sdk/keyvault/keyvault-admin/package.json +++ b/sdk/keyvault/keyvault-admin/package.json @@ -107,7 +107,7 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "@types/uuid": "^8.0.0", "uuid": "^8.3.0", @@ -117,7 +117,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/keyvault-keys": "^4.2.1", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 1c4d58b221b0..2acd9b225cca 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -111,14 +111,14 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/keyvault-secrets": "^4.2.0", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/keyvault/keyvault-common/package.json b/sdk/keyvault/keyvault-common/package.json index 9c6b59f2b15c..4f7d09eb6bc9 100644 --- a/sdk/keyvault/keyvault-common/package.json +++ b/sdk/keyvault/keyvault-common/package.json @@ -58,8 +58,8 @@ }, "dependencies": { "@azure/core-http": "^1.2.0", - "tslib": "^2.2.0", - "@azure/core-tracing": "1.0.0-preview.11" + "@azure/core-tracing": "1.0.0-preview.12", + "tslib": "^2.2.0" }, "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", diff --git a/sdk/keyvault/keyvault-common/test/utils/supportsTracing.ts b/sdk/keyvault/keyvault-common/test/utils/supportsTracing.ts index da54ac21a98c..e3b3aa41f8af 100644 --- a/sdk/keyvault/keyvault-common/test/utils/supportsTracing.ts +++ b/sdk/keyvault/keyvault-common/test/utils/supportsTracing.ts @@ -34,7 +34,7 @@ export async function supportsTracing( // Ensure top-level children are created correctly. // Testing the entire tree structure can be tricky as other packages might create their own spans. - const spanGraph = tracer.getSpanGraph(rootSpan.context().traceId); + const spanGraph = tracer.getSpanGraph(rootSpan.spanContext().traceId); const directChildren = spanGraph.roots[0].children.map((child) => child.name); // LROs might poll N times, so we'll make a unique array and compare that. assert.sameMembers(Array.from(new Set(directChildren)), children); diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 2c721ce3210a..01ca3b07569e 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -107,14 +107,14 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils": "^1.0.0", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/keyvault/keyvault-keys/test/public/recoverBackupRestore.spec.ts b/sdk/keyvault/keyvault-keys/test/public/recoverBackupRestore.spec.ts index c8fe52f8c421..ab1c34a17a80 100644 --- a/sdk/keyvault/keyvault-keys/test/public/recoverBackupRestore.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/recoverBackupRestore.spec.ts @@ -118,7 +118,10 @@ describe("Keys client - restore keys and recover backups", () => { // This test implementation of a restore poller only applies for backups that have been recently deleted. // Backups might not be ready to be restored in an unknown amount of time. // If this is useful to you, please open an issue at: https://github.com/Azure/azure-sdk-for-js/issues - const restorePoller = await testClient.beginRestoreKeyBackup(backup as Uint8Array); + const restorePoller = await testClient.beginRestoreKeyBackup( + backup as Uint8Array, + testPollerProperties + ); const restoredKey = await restorePoller.pollUntilDone(); assert.equal(restoredKey.name, keyName); diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index a8723357d535..8f290665b927 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -107,14 +107,14 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/keyvault/perf-tests/keyvault-certificates/package.json b/sdk/keyvault/perf-tests/keyvault-certificates/package.json index fe6cc5060969..3a63316a7f56 100644 --- a/sdk/keyvault/perf-tests/keyvault-certificates/package.json +++ b/sdk/keyvault/perf-tests/keyvault-certificates/package.json @@ -9,7 +9,7 @@ "dependencies": { "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "uuid": "^8.3.0", "@azure/keyvault-certificates": "^4.2.0" }, diff --git a/sdk/keyvault/perf-tests/keyvault-keys/package.json b/sdk/keyvault/perf-tests/keyvault-keys/package.json index 3f571a013c95..8305fc0b75b3 100644 --- a/sdk/keyvault/perf-tests/keyvault-keys/package.json +++ b/sdk/keyvault/perf-tests/keyvault-keys/package.json @@ -10,7 +10,7 @@ "@azure/test-utils-perfstress": "^1.0.0", "@azure/keyvault-keys": "^4.2.1", "dotenv": "^8.2.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "uuid": "^8.3.0" }, "devDependencies": { diff --git a/sdk/keyvault/perf-tests/keyvault-secrets/package.json b/sdk/keyvault/perf-tests/keyvault-secrets/package.json index 91a83e2035f0..987956e39065 100644 --- a/sdk/keyvault/perf-tests/keyvault-secrets/package.json +++ b/sdk/keyvault/perf-tests/keyvault-secrets/package.json @@ -9,7 +9,7 @@ "dependencies": { "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "uuid": "^8.3.0", "@azure/keyvault-secrets": "^4.2.0" }, diff --git a/sdk/metricsadvisor/ai-metrics-advisor/package.json b/sdk/metricsadvisor/ai-metrics-advisor/package.json index 38b45d85e88b..1c096326c8ab 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/package.json @@ -85,7 +85,7 @@ "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/mixedreality/mixedreality-authentication/package.json b/sdk/mixedreality/mixedreality-authentication/package.json index e18b2e80aa70..94cde2f9f59e 100644 --- a/sdk/mixedreality/mixedreality-authentication/package.json +++ b/sdk/mixedreality/mixedreality-authentication/package.json @@ -69,7 +69,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/monitor/monitor-query/package.json b/sdk/monitor/monitor-query/package.json index 0ce7dc6d3388..105810d1a1cd 100644 --- a/sdk/monitor/monitor-query/package.json +++ b/sdk/monitor/monitor-query/package.json @@ -100,7 +100,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, @@ -111,8 +111,8 @@ "@azure/monitor-opentelemetry-exporter": "1.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", - "@opentelemetry/api": "1.0.0-rc.0", - "@opentelemetry/node": "~0.19.0", + "@opentelemetry/api": "0.20.0", + "@opentelemetry/node": "0.20.0", "@opentelemetry/tracing": "^0.18.2", "@types/chai-as-promised": "^7.1.0", "@types/chai": "^4.1.6", diff --git a/sdk/quantum/quantum-jobs/package.json b/sdk/quantum/quantum-jobs/package.json index 058bdcabc8e2..9eeb0ed01ad2 100644 --- a/sdk/quantum/quantum-jobs/package.json +++ b/sdk/quantum/quantum-jobs/package.json @@ -66,7 +66,7 @@ "dependencies": { "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "devDependencies": { diff --git a/sdk/schemaregistry/schema-registry-avro/package.json b/sdk/schemaregistry/schema-registry-avro/package.json index 238dee9a1dae..f8f90fc6fdb9 100644 --- a/sdk/schemaregistry/schema-registry-avro/package.json +++ b/sdk/schemaregistry/schema-registry-avro/package.json @@ -72,7 +72,7 @@ "dependencies": { "@azure/schema-registry": "1.0.0-beta.2", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "avsc": "^5.5.1", "tslib": "^2.2.0", @@ -82,7 +82,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/schemaregistry/schema-registry/package.json b/sdk/schemaregistry/schema-registry/package.json index 2fed535c1bdf..11d7457c46b1 100644 --- a/sdk/schemaregistry/schema-registry/package.json +++ b/sdk/schemaregistry/schema-registry/package.json @@ -87,14 +87,14 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/search/perf-tests/search-documents/package.json b/sdk/search/perf-tests/search-documents/package.json index d6db87c3f885..ecb8b07a7f43 100644 --- a/sdk/search/perf-tests/search-documents/package.json +++ b/sdk/search/perf-tests/search-documents/package.json @@ -7,7 +7,7 @@ "author": "", "license": "ISC", "dependencies": { - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/search-documents": "11.3.0-beta.1", "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0" diff --git a/sdk/search/search-documents/package.json b/sdk/search/search-documents/package.json index 9998db0e4613..545fce3ffe2d 100644 --- a/sdk/search/search-documents/package.json +++ b/sdk/search/search-documents/package.json @@ -78,7 +78,7 @@ "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", "events": "^3.0.0" diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index 3b30d1215237..5a1bf56fba09 100644 --- a/sdk/servicebus/service-bus/package.json +++ b/sdk/servicebus/service-bus/package.json @@ -114,7 +114,7 @@ "@azure/core-amqp": "^3.0.0", "@azure/core-asynciterator-polyfill": "^1.0.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/core-paging": "^1.1.1", "@azure/core-auth": "^1.3.0", "@azure/logger": "^1.0.0", @@ -131,7 +131,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-perfstress": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/servicebus/service-bus/src/diagnostics/tracing.ts b/sdk/servicebus/service-bus/src/diagnostics/tracing.ts index 426a8bd1afde..c0e015f4041f 100644 --- a/sdk/servicebus/service-bus/src/diagnostics/tracing.ts +++ b/sdk/servicebus/service-bus/src/diagnostics/tracing.ts @@ -130,7 +130,7 @@ export function instrumentMessage( }; } - const traceParent = getTraceParentHeader(messageSpan.context()); + const traceParent = getTraceParentHeader(messageSpan.spanContext()); if (traceParent) { // create a copy so the original isn't modified @@ -145,7 +145,7 @@ export function instrumentMessage( return { message, - spanContext: messageSpan.context() + spanContext: messageSpan.spanContext() }; } finally { messageSpan.end(); @@ -237,5 +237,5 @@ function isSpan(possibleSpan: Span | SpanContext | undefined): possibleSpan is S } const x = possibleSpan as Span; - return typeof x.context === "function"; + return typeof x.spanContext === "function"; } diff --git a/sdk/servicebus/service-bus/test/internal/operationOptionsForATOM.spec.ts b/sdk/servicebus/service-bus/test/internal/operationOptionsForATOM.spec.ts index bfaa9b730ad9..6cc7f94c00fc 100644 --- a/sdk/servicebus/service-bus/test/internal/operationOptionsForATOM.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/operationOptionsForATOM.spec.ts @@ -277,7 +277,7 @@ describe("Operation Options", () => { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }); }); diff --git a/sdk/servicebus/service-bus/test/internal/tracing.spec.ts b/sdk/servicebus/service-bus/test/internal/tracing.spec.ts index 407591b59cf2..25be1312348d 100644 --- a/sdk/servicebus/service-bus/test/internal/tracing.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/tracing.spec.ts @@ -109,7 +109,7 @@ function modernOptionsWithAccidentalParentSpanSet(rootSpan: TestSpan): TryAddOpt ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -160,7 +160,7 @@ function modernOptionsWithAccidentalParentSpanSet(rootSpan: TestSpan): TryAddOpt ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -209,7 +209,7 @@ function modernOptionsWithAccidentalParentSpanSet(rootSpan: TestSpan): TryAddOpt ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); @@ -268,7 +268,7 @@ function modernOptionsWithAccidentalParentSpanSet(rootSpan: TestSpan): TryAddOpt ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); const knownSendSpans = tracer @@ -336,7 +336,7 @@ function modernOptionsWithAccidentalParentSpanSet(rootSpan: TestSpan): TryAddOpt ] }; - tracer.getSpanGraph(rootSpan.context().traceId).should.eql(expectedGraph); + tracer.getSpanGraph(rootSpan.spanContext().traceId).should.eql(expectedGraph); tracer.getActiveSpans().length.should.equal(0, "All spans should have had end called."); resetTracer(); }); diff --git a/sdk/servicebus/service-bus/test/internal/unit/messageSpan.spec.ts b/sdk/servicebus/service-bus/test/internal/unit/messageSpan.spec.ts index 4fba79abba7b..5fcfa822c0c9 100644 --- a/sdk/servicebus/service-bus/test/internal/unit/messageSpan.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/unit/messageSpan.spec.ts @@ -23,8 +23,8 @@ describe("#createMessageSpan()", () => { const { span } = createMessageSpan({}, "entity path", "host address"); should.exist(span); - should.exist(span.context().spanId); - should.exist(span.context().traceId); + should.exist(span.spanContext().spanId); + should.exist(span.spanContext().traceId); should.equal((span as any).name, "Azure.ServiceBus.message"); assert.deepStrictEqual((span as any).attributes, { diff --git a/sdk/servicebus/service-bus/test/internal/unit/tracing.spec.ts b/sdk/servicebus/service-bus/test/internal/unit/tracing.spec.ts index d28efafcc5c4..290622a7ecff 100644 --- a/sdk/servicebus/service-bus/test/internal/unit/tracing.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/unit/tracing.spec.ts @@ -311,7 +311,7 @@ describe("Tracing tests", () => { }; it("basic span properties are set", async () => { - const fakeParentSpanContext = new NoOpSpan().context(); + const fakeParentSpanContext = new NoOpSpan().spanContext(); createProcessingSpan([], receiverProperties, connectionConfig, { tracingOptions: { @@ -377,7 +377,7 @@ describe("Tracing tests", () => { assert.notEqual(message, originalMessage, "Instrumenting a message should copy it"); assert.ok(tracer.spanOptions, "A span should be created when we instrumented the messsage"); - const spanContextFromSender = tracer.span?.context(); + const spanContextFromSender = tracer.span?.spanContext(); assert.ok(spanContextFromSender); tracer.clearTracingData(); diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json index cc9291c04629..605a5702c129 100644 --- a/sdk/storage/storage-blob-changefeed/package.json +++ b/sdk/storage/storage-blob-changefeed/package.json @@ -99,7 +99,7 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 31f3d5d4eee3..c050250799b5 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -130,7 +130,7 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" @@ -139,7 +139,7 @@ "@azure/core-rest-pipeline": "^1.0.3", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@azure/test-utils-perfstress": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/storage/storage-blob/test/blobclient.spec.ts b/sdk/storage/storage-blob/test/blobclient.spec.ts index 5eef4e45d1ee..8073aa4a9464 100644 --- a/sdk/storage/storage-blob/test/blobclient.spec.ts +++ b/sdk/storage/storage-blob/test/blobclient.spec.ts @@ -742,7 +742,7 @@ describe("BlobClient", () => { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }); diff --git a/sdk/storage/storage-blob/test/containerclient.spec.ts b/sdk/storage/storage-blob/test/containerclient.spec.ts index eb39b22d5e5d..98a7d0b77ca9 100644 --- a/sdk/storage/storage-blob/test/containerclient.spec.ts +++ b/sdk/storage/storage-blob/test/containerclient.spec.ts @@ -734,7 +734,7 @@ describe("ContainerClient", () => { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); await containerClient.deleteBlob(blobName); diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 703c1a771be5..2dda156fa6dc 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -109,7 +109,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "@azure/storage-blob": "^12.6.0-beta.1", "events": "^3.0.0", @@ -118,7 +118,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@azure/test-utils-perfstress": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/storage/storage-file-datalake/test/filesystemclient.spec.ts b/sdk/storage/storage-file-datalake/test/filesystemclient.spec.ts index a52e438c1d77..8766f77ee19e 100644 --- a/sdk/storage/storage-file-datalake/test/filesystemclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/filesystemclient.spec.ts @@ -102,7 +102,7 @@ describe("DataLakeFileSystemClient", () => { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }); diff --git a/sdk/storage/storage-file-datalake/test/pathclient.spec.ts b/sdk/storage/storage-file-datalake/test/pathclient.spec.ts index cf91b91e8b24..5eed11bf2e17 100644 --- a/sdk/storage/storage-file-datalake/test/pathclient.spec.ts +++ b/sdk/storage/storage-file-datalake/test/pathclient.spec.ts @@ -192,7 +192,7 @@ describe("DataLakePathClient", () => { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }); diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index cbdc6fa91154..af135ddfd7f8 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -117,7 +117,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" diff --git a/sdk/storage/storage-file-share/test/directoryclient.spec.ts b/sdk/storage/storage-file-share/test/directoryclient.spec.ts index be34c5638c60..a3939b58af98 100644 --- a/sdk/storage/storage-file-share/test/directoryclient.spec.ts +++ b/sdk/storage/storage-file-share/test/directoryclient.spec.ts @@ -794,7 +794,7 @@ describe("DirectoryClient", () => { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }); diff --git a/sdk/storage/storage-file-share/test/fileclient.spec.ts b/sdk/storage/storage-file-share/test/fileclient.spec.ts index a653cf8d0209..5c931c4e4053 100644 --- a/sdk/storage/storage-file-share/test/fileclient.spec.ts +++ b/sdk/storage/storage-file-share/test/fileclient.spec.ts @@ -872,7 +872,7 @@ describe("FileClient", () => { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }); }); diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index 78ac382493b3..9a202bc23d4b 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -112,14 +112,14 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/storage/storage-queue/test/queueclient.spec.ts b/sdk/storage/storage-queue/test/queueclient.spec.ts index 12dd47ffbfa2..4b832f67d6bc 100644 --- a/sdk/storage/storage-queue/test/queueclient.spec.ts +++ b/sdk/storage/storage-queue/test/queueclient.spec.ts @@ -232,7 +232,7 @@ describe("QueueClient", () => { ] }; - assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.context().traceId), expectedGraph); + assert.deepStrictEqual(tracer.getSpanGraph(rootSpan.spanContext().traceId), expectedGraph); assert.strictEqual(tracer.getActiveSpans().length, 0, "All spans should have had end called"); }); }); diff --git a/sdk/synapse/synapse-access-control/package.json b/sdk/synapse/synapse-access-control/package.json index 347a6a332851..c489ac4ab00c 100644 --- a/sdk/synapse/synapse-access-control/package.json +++ b/sdk/synapse/synapse-access-control/package.json @@ -9,7 +9,7 @@ "dependencies": { "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "keywords": [ diff --git a/sdk/synapse/synapse-artifacts/package.json b/sdk/synapse/synapse-artifacts/package.json index af7c3154358d..324e028bc463 100644 --- a/sdk/synapse/synapse-artifacts/package.json +++ b/sdk/synapse/synapse-artifacts/package.json @@ -10,7 +10,7 @@ "@azure/core-lro": "^1.0.2", "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "browser": { diff --git a/sdk/synapse/synapse-managed-private-endpoints/package.json b/sdk/synapse/synapse-managed-private-endpoints/package.json index b83800fd94da..bac7eed76889 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/package.json +++ b/sdk/synapse/synapse-managed-private-endpoints/package.json @@ -9,7 +9,7 @@ "dependencies": { "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "keywords": [ diff --git a/sdk/synapse/synapse-monitoring/package.json b/sdk/synapse/synapse-monitoring/package.json index 0a77bb4c4c52..8d932b43ffac 100644 --- a/sdk/synapse/synapse-monitoring/package.json +++ b/sdk/synapse/synapse-monitoring/package.json @@ -8,7 +8,7 @@ "version": "1.0.0-beta.3", "dependencies": { "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "keywords": [ diff --git a/sdk/synapse/synapse-spark/package.json b/sdk/synapse/synapse-spark/package.json index d490a5a2db28..571cd75968d6 100644 --- a/sdk/synapse/synapse-spark/package.json +++ b/sdk/synapse/synapse-spark/package.json @@ -8,7 +8,7 @@ "version": "1.0.0-beta.3", "dependencies": { "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "keywords": [ diff --git a/sdk/template/template/package.json b/sdk/template/template/package.json index 68bbc136a6bc..46009eb92733 100644 --- a/sdk/template/template/package.json +++ b/sdk/template/template/package.json @@ -83,7 +83,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/test-utils/recorder/package.json b/sdk/test-utils/recorder/package.json index 19a93ad9bc6a..814db97c65ea 100644 --- a/sdk/test-utils/recorder/package.json +++ b/sdk/test-utils/recorder/package.json @@ -64,7 +64,7 @@ "private": true, "dependencies": { "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "fs-extra": "^8.1.0", "nise": "^4.0.3", "nock": "^12.0.3", diff --git a/sdk/textanalytics/perf-tests/text-analytics/package.json b/sdk/textanalytics/perf-tests/text-analytics/package.json index d7b637b52bc7..8b60250ae8ab 100644 --- a/sdk/textanalytics/perf-tests/text-analytics/package.json +++ b/sdk/textanalytics/perf-tests/text-analytics/package.json @@ -8,7 +8,7 @@ "license": "ISC", "dependencies": { "@azure/ai-text-analytics": "^5.1.0-beta.5", - "@azure/identity": "2.0.0-beta.3", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0" }, diff --git a/sdk/videoanalyzer/video-analyzer-edge/package.json b/sdk/videoanalyzer/video-analyzer-edge/package.json index de7500bb7272..981bf3fb2a2b 100644 --- a/sdk/videoanalyzer/video-analyzer-edge/package.json +++ b/sdk/videoanalyzer/video-analyzer-edge/package.json @@ -61,9 +61,8 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", - "@opentelemetry/api": "1.0.0-rc.0", "events": "^3.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/web-pubsub/web-pubsub-express/package.json b/sdk/web-pubsub/web-pubsub-express/package.json index 67284650cc9c..c35cc23a30cc 100644 --- a/sdk/web-pubsub/web-pubsub-express/package.json +++ b/sdk/web-pubsub/web-pubsub-express/package.json @@ -59,7 +59,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", "jsonwebtoken": "^8.5.1", diff --git a/sdk/web-pubsub/web-pubsub/package.json b/sdk/web-pubsub/web-pubsub/package.json index 338da45c1d1f..eea7ea8010d5 100644 --- a/sdk/web-pubsub/web-pubsub/package.json +++ b/sdk/web-pubsub/web-pubsub/package.json @@ -62,7 +62,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", "jsonwebtoken": "^8.5.1" From 37d1df40c221bcc7b64682c124299b04c0cca39e Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Mon, 21 Jun 2021 09:32:26 +0800 Subject: [PATCH 007/134] arm-support-identity (#15838) --- sdk/advisor/arm-advisor/README.md | 107 +++++++------- sdk/advisor/arm-advisor/package.json | 9 +- .../src/advisorManagementClient.ts | 10 +- .../src/advisorManagementClientContext.ts | 14 +- .../arm-analysisservices/README.md | 115 ++++++++------- .../arm-analysisservices/package.json | 9 +- .../src/analysisServicesManagementClient.ts | 10 +- ...analysisServicesManagementClientContext.ts | 14 +- sdk/apimanagement/arm-apimanagement/README.md | 128 +++++++++-------- .../arm-apimanagement/package.json | 9 +- .../src/apiManagementClient.ts | 10 +- .../src/apiManagementClientContext.ts | 14 +- .../arm-appconfiguration/README.md | 107 +++++++------- .../arm-appconfiguration/package.json | 9 +- .../src/appConfigurationManagementClient.ts | 10 +- ...appConfigurationManagementClientContext.ts | 14 +- .../arm-appinsights/README.md | 104 ++++++++------ .../arm-appinsights/package.json | 9 +- .../applicationInsightsManagementClient.ts | 10 +- ...licationInsightsManagementClientContext.ts | 14 +- sdk/appplatform/arm-appplatform/README.md | 108 +++++++------- sdk/appplatform/arm-appplatform/package.json | 9 +- .../src/appPlatformManagementClient.ts | 10 +- .../src/appPlatformManagementClientContext.ts | 14 +- .../README.md | 106 +++++++------- .../package.json | 9 +- .../src/webSiteManagementClient.ts | 10 +- .../src/webSiteManagementClientContext.ts | 14 +- .../README.md | 104 ++++++++------ .../package.json | 9 +- .../src/webSiteManagementClient.ts | 10 +- .../src/webSiteManagementClientContext.ts | 14 +- sdk/attestation/arm-attestation/README.md | 104 ++++++++------ sdk/attestation/arm-attestation/package.json | 9 +- .../src/attestationManagementClient.ts | 10 +- .../src/attestationManagementClientContext.ts | 14 +- .../README.md | 109 +++++++------- .../package.json | 9 +- .../src/authorizationManagementClient.ts | 10 +- .../authorizationManagementClientContext.ts | 14 +- .../README.md | 107 +++++++------- .../package.json | 9 +- .../src/authorizationManagementClient.ts | 10 +- .../authorizationManagementClientContext.ts | 14 +- sdk/authorization/arm-authorization/README.md | 113 ++++++++------- .../arm-authorization/package.json | 9 +- .../src/authorizationManagementClient.ts | 10 +- .../authorizationManagementClientContext.ts | 14 +- sdk/automation/arm-automation/README.md | 111 +++++++------- sdk/automation/arm-automation/package.json | 9 +- .../arm-automation/src/automationClient.ts | 10 +- .../src/automationClientContext.ts | 14 +- sdk/avs/arm-avs/README.md | 104 ++++++++------ sdk/avs/arm-avs/package.json | 9 +- sdk/avs/arm-avs/src/avsClient.ts | 10 +- sdk/avs/arm-avs/src/avsClientContext.ts | 14 +- sdk/azurestack/arm-azurestack/README.md | 104 ++++++++------ sdk/azurestack/arm-azurestack/package.json | 9 +- .../src/azureStackManagementClient.ts | 10 +- .../src/azureStackManagementClientContext.ts | 14 +- sdk/azurestackhci/arm-azurestackhci/README.md | 104 ++++++++------ .../arm-azurestackhci/package.json | 9 +- .../src/azureStackHCIClient.ts | 10 +- .../src/azureStackHCIClientContext.ts | 14 +- sdk/batch/arm-batch/README.md | 113 ++++++++------- sdk/batch/arm-batch/package.json | 9 +- .../arm-batch/src/batchManagementClient.ts | 10 +- .../src/batchManagementClientContext.ts | 14 +- sdk/batchai/arm-batchai/README.md | 108 +++++++------- sdk/batchai/arm-batchai/package.json | 9 +- .../src/batchAIManagementClient.ts | 10 +- .../src/batchAIManagementClientContext.ts | 14 +- sdk/billing/arm-billing/README.md | 111 +++++++------- sdk/billing/arm-billing/package.json | 9 +- .../src/billingManagementClient.ts | 10 +- .../src/billingManagementClientContext.ts | 14 +- sdk/botservice/arm-botservice/README.md | 111 +++++++------- sdk/botservice/arm-botservice/package.json | 9 +- .../arm-botservice/src/azureBotService.ts | 10 +- .../src/azureBotServiceContext.ts | 14 +- sdk/cdn/arm-cdn/README.md | 104 ++++++++------ sdk/cdn/arm-cdn/package.json | 9 +- sdk/cdn/arm-cdn/src/cdnManagementClient.ts | 10 +- .../arm-cdn/src/cdnManagementClientContext.ts | 14 +- .../arm-changeanalysis/README.md | 104 ++++++++------ .../arm-changeanalysis/package.json | 9 +- .../azureChangeAnalysisManagementClient.ts | 10 +- ...reChangeAnalysisManagementClientContext.ts | 14 +- .../README.md | 123 ++++++++-------- .../package.json | 9 +- .../src/usageManagementClient.ts | 10 +- .../src/usageManagementClientContext.ts | 14 +- sdk/commerce/arm-commerce/README.md | 125 ++++++++-------- sdk/commerce/arm-commerce/package.json | 9 +- .../arm-commerce/src/usageManagementClient.ts | 10 +- .../src/usageManagementClientContext.ts | 14 +- sdk/communication/arm-communication/README.md | 101 +++++++------ .../arm-communication/package.json | 9 +- .../communicationServiceManagementClient.ts | 10 +- ...unicationServiceManagementClientContext.ts | 14 +- .../README.md | 106 +++++++------- .../package.json | 9 +- .../src/computeManagementClient.ts | 10 +- .../src/computeManagementClientContext.ts | 14 +- .../README.md | 104 ++++++++------ .../package.json | 9 +- .../src/computeManagementClient.ts | 10 +- .../src/computeManagementClientContext.ts | 14 +- sdk/confluent/arm-confluent/README.md | 101 +++++++------ sdk/confluent/arm-confluent/package.json | 9 +- .../src/confluentManagementClient.ts | 10 +- .../src/confluentManagementClientContext.ts | 14 +- sdk/consumption/arm-consumption/README.md | 136 +++++++++--------- sdk/consumption/arm-consumption/package.json | 9 +- .../src/consumptionManagementClient.ts | 10 +- .../src/consumptionManagementClientContext.ts | 14 +- .../arm-containerinstance/README.md | 101 +++++++------ .../arm-containerinstance/package.json | 9 +- .../src/containerInstanceManagementClient.ts | 10 +- ...ontainerInstanceManagementClientContext.ts | 14 +- .../arm-containerregistry/README.md | 115 ++++++++------- .../arm-containerregistry/package.json | 9 +- .../src/containerRegistryManagementClient.ts | 10 +- ...ontainerRegistryManagementClientContext.ts | 14 +- .../arm-containerservice/README.md | 101 +++++++------ .../arm-containerservice/package.json | 9 +- .../src/containerServiceClient.ts | 10 +- .../src/containerServiceClientContext.ts | 14 +- .../arm-customerinsights/README.md | 108 +++++++------- .../arm-customerinsights/package.json | 9 +- .../src/customerInsightsManagementClient.ts | 10 +- ...customerInsightsManagementClientContext.ts | 14 +- sdk/databox/arm-databox/README.md | 104 ++++++++------ sdk/databox/arm-databox/package.json | 9 +- .../src/dataBoxManagementClient.ts | 10 +- .../src/dataBoxManagementClientContext.ts | 14 +- .../README.md | 104 ++++++++------ .../package.json | 9 +- .../src/dataBoxEdgeManagementClient.ts | 10 +- .../src/dataBoxEdgeManagementClientContext.ts | 14 +- sdk/databoxedge/arm-databoxedge/README.md | 104 ++++++++------ sdk/databoxedge/arm-databoxedge/package.json | 9 +- .../src/dataBoxEdgeManagementClient.ts | 10 +- .../src/dataBoxEdgeManagementClientContext.ts | 14 +- sdk/datacatalog/arm-datacatalog/README.md | 108 +++++++------- sdk/datacatalog/arm-datacatalog/package.json | 9 +- .../src/dataCatalogRestClient.ts | 10 +- .../src/dataCatalogRestClientContext.ts | 14 +- sdk/datadog/arm-datadog/README.md | 101 +++++++------ sdk/datadog/arm-datadog/package.json | 9 +- .../arm-datadog/src/microsoftDatadogClient.ts | 10 +- .../src/microsoftDatadogClientContext.ts | 14 +- .../arm-datalake-analytics/README.md | 124 ++++++++-------- .../arm-datalake-analytics/package.json | 9 +- ...ataLakeAnalyticsAccountManagementClient.ts | 10 +- ...AnalyticsAccountManagementClientContext.ts | 14 +- sdk/datamigration/arm-datamigration/README.md | 106 +++++++------- .../arm-datamigration/package.json | 9 +- .../src/dataMigrationServiceClient.ts | 10 +- .../src/dataMigrationServiceClientContext.ts | 14 +- .../arm-deploymentmanager/README.md | 111 +++++++------- .../arm-deploymentmanager/package.json | 9 +- .../src/azureDeploymentManager.ts | 10 +- .../src/azureDeploymentManagerContext.ts | 14 +- .../arm-deviceprovisioningservices/README.md | 108 +++++++------- .../package.json | 9 +- .../src/iotDpsClient.ts | 10 +- .../src/iotDpsClientContext.ts | 14 +- sdk/devspaces/arm-devspaces/README.md | 115 ++++++++------- sdk/devspaces/arm-devspaces/package.json | 9 +- .../src/devSpacesManagementClient.ts | 10 +- .../src/devSpacesManagementClientContext.ts | 14 +- sdk/devtestlabs/arm-devtestlabs/README.md | 106 +++++++------- sdk/devtestlabs/arm-devtestlabs/package.json | 9 +- .../arm-devtestlabs/src/devTestLabsClient.ts | 10 +- .../src/devTestLabsClientContext.ts | 14 +- sdk/digitaltwins/arm-digitaltwins/README.md | 108 +++++++------- .../arm-digitaltwins/package.json | 9 +- .../src/azureDigitalTwinsManagementClient.ts | 10 +- ...zureDigitalTwinsManagementClientContext.ts | 14 +- .../README.md | 121 ++++++++-------- .../package.json | 9 +- .../src/dnsManagementClient.ts | 10 +- .../src/dnsManagementClientContext.ts | 14 +- .../README.md | 119 ++++++++------- .../package.json | 9 +- .../src/dnsManagementClient.ts | 10 +- .../src/dnsManagementClientContext.ts | 14 +- sdk/dns/arm-dns/README.md | 119 ++++++++------- sdk/dns/arm-dns/package.json | 9 +- sdk/dns/arm-dns/src/dnsManagementClient.ts | 10 +- .../arm-dns/src/dnsManagementClientContext.ts | 14 +- .../arm-domainservices/README.md | 108 +++++++------- .../arm-domainservices/package.json | 9 +- .../src/domainservicesManagementClient.ts | 10 +- .../domainservicesManagementClientContext.ts | 14 +- 196 files changed, 4041 insertions(+), 2949 deletions(-) diff --git a/sdk/advisor/arm-advisor/README.md b/sdk/advisor/arm-advisor/README.md index 6e851c5fd17e..c78a674a386d 100644 --- a/sdk/advisor/arm-advisor/README.md +++ b/sdk/advisor/arm-advisor/README.md @@ -1,92 +1,101 @@ ## Azure AdvisorManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AdvisorManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AdvisorManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-advisor` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-advisor +npm install --save @azure/arm-advisor @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get recommendationMetadata as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get recommendationMetadata as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AdvisorManagementClient, AdvisorManagementModels, AdvisorManagementMappers } from "@azure/arm-advisor"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AdvisorManagementClient } = require("@azure/arm-advisor"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AdvisorManagementClient(creds, subscriptionId); - const name = "testname"; - client.recommendationMetadata.get(name).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AdvisorManagementClient(creds, subscriptionId); +const name = "testname"; +client.recommendationMetadata.get(name).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get recommendationMetadata as an example written in JavaScript. +#### browser - Authentication, client creation, and get recommendationMetadata as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-advisor sample - - + diff --git a/sdk/advisor/arm-advisor/package.json b/sdk/advisor/arm-advisor/package.json index a8157d573cae..f3dcccf69676 100644 --- a/sdk/advisor/arm-advisor/package.json +++ b/sdk/advisor/arm-advisor/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-advisor", "author": "Microsoft Corporation", "description": "AdvisorManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/advisorManagementClient.js", "types": "./esm/advisorManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/advisor/arm-advisor/src/advisorManagementClient.ts b/sdk/advisor/arm-advisor/src/advisorManagementClient.ts index a1de4884947a..4b888955a6a0 100644 --- a/sdk/advisor/arm-advisor/src/advisorManagementClient.ts +++ b/sdk/advisor/arm-advisor/src/advisorManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class AdvisorManagementClient extends AdvisorManagementClientContext { /** * Initializes a new instance of the AdvisorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AdvisorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AdvisorManagementClientOptions) { super(credentials, subscriptionId, options); this.recommendationMetadata = new operations.RecommendationMetadata(this); this.configurations = new operations.Configurations(this); diff --git a/sdk/advisor/arm-advisor/src/advisorManagementClientContext.ts b/sdk/advisor/arm-advisor/src/advisorManagementClientContext.ts index e75f0e19b91c..7c8e091f169e 100644 --- a/sdk/advisor/arm-advisor/src/advisorManagementClientContext.ts +++ b/sdk/advisor/arm-advisor/src/advisorManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-advisor"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class AdvisorManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AdvisorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AdvisorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AdvisorManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/analysisservices/arm-analysisservices/README.md b/sdk/analysisservices/arm-analysisservices/README.md index 516548f59279..ea44175bbb2e 100644 --- a/sdk/analysisservices/arm-analysisservices/README.md +++ b/sdk/analysisservices/arm-analysisservices/README.md @@ -1,93 +1,103 @@ ## Azure AnalysisServicesManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AnalysisServicesManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AnalysisServicesManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-analysisservices +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-analysisservices` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-analysisservices @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and getDetails servers as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and getDetails servers as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AnalysisServicesManagementClient, AnalysisServicesManagementModels, AnalysisServicesManagementMappers } from "@azure/arm-analysisservices"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AnalysisServicesManagementClient } = require("@azure/arm-analysisservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AnalysisServicesManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const serverName = "testserverName"; - client.servers.getDetails(resourceGroupName, serverName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AnalysisServicesManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const serverName = "testserverName"; +client.servers.getDetails(resourceGroupName, serverName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and getDetails servers as an example written in JavaScript. +#### browser - Authentication, client creation, and getDetails servers as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-analysisservices sample - - + @@ -99,5 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fanalysisservices%2Farm-analysisservices%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/analysisservices/arm-analysisservices/README.png) diff --git a/sdk/analysisservices/arm-analysisservices/package.json b/sdk/analysisservices/arm-analysisservices/package.json index e5fe81a5b910..b035e8002de1 100644 --- a/sdk/analysisservices/arm-analysisservices/package.json +++ b/sdk/analysisservices/arm-analysisservices/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-analysisservices", "author": "Microsoft Corporation", "description": "AnalysisServicesManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.3.2", + "version": "2.4.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/analysisServicesManagementClient.js", "types": "./esm/analysisServicesManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClient.ts b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClient.ts index 2d67bb6378b1..5d6c4d23ace8 100644 --- a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClient.ts +++ b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,12 +23,17 @@ class AnalysisServicesManagementClient extends AnalysisServicesManagementClientC /** * Initializes a new instance of the AnalysisServicesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId A unique identifier for a Microsoft Azure subscription. The subscription * ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AnalysisServicesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AnalysisServicesManagementClientOptions) { super(credentials, subscriptionId, options); this.servers = new operations.Servers(this); this.operations = new operations.Operations(this); diff --git a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts index e0ff9b6866ee..bc8d1b746e62 100644 --- a/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts +++ b/sdk/analysisservices/arm-analysisservices/src/analysisServicesManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-analysisservices"; -const packageVersion = "2.3.2"; +const packageVersion = "2.4.0"; export class AnalysisServicesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AnalysisServicesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId A unique identifier for a Microsoft Azure subscription. The subscription * ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AnalysisServicesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AnalysisServicesManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/apimanagement/arm-apimanagement/README.md b/sdk/apimanagement/arm-apimanagement/README.md index c72b1eb0a91b..8b269ab80915 100644 --- a/sdk/apimanagement/arm-apimanagement/README.md +++ b/sdk/apimanagement/arm-apimanagement/README.md @@ -1,103 +1,113 @@ ## Azure ApiManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ApiManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ApiManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-apimanagement` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-apimanagement +npm install --save @azure/arm-apimanagement @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and listByService api as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listByService api as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { ApiManagementClient } = require("@azure/arm-apimanagement"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ApiManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const serviceName = "testserviceName"; - const filter = "testfilter"; - const top = 1; - const skip = 1; - const tags = "testtags"; - const expandApiVersionSet = true; - client.api.listByService(resourceGroupName, serviceName, filter, top, skip, tags, expandApiVersionSet).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ApiManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const serviceName = "testserviceName"; +const filter = "testfilter"; +const top = 1; +const skip = 1; +const tags = "testtags"; +const expandApiVersionSet = true; +client.api.listByService(resourceGroupName, serviceName, filter, top, skip, tags, expandApiVersionSet).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listByService api as an example written in JavaScript. +#### browser - Authentication, client creation, and listByService api as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-apimanagement sample - - + diff --git a/sdk/apimanagement/arm-apimanagement/package.json b/sdk/apimanagement/arm-apimanagement/package.json index a998acb083b6..7d5af0afd50f 100644 --- a/sdk/apimanagement/arm-apimanagement/package.json +++ b/sdk/apimanagement/arm-apimanagement/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-apimanagement", "author": "Microsoft Corporation", "description": "ApiManagementClient Library with typescript type definitions for node.js and browser.", - "version": "7.0.0", + "version": "7.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/apiManagementClient.js", "types": "./esm/apiManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts index a94b91e45a04..43154573785a 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -91,12 +92,17 @@ class ApiManagementClient extends ApiManagementClientContext { /** * Initializes a new instance of the ApiManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApiManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ApiManagementClientOptions) { super(credentials, subscriptionId, options); this.api = new operations.Api(this); this.apiRevision = new operations.ApiRevision(this); diff --git a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts index ae754b309f13..1da942a85c47 100644 --- a/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts +++ b/sdk/apimanagement/arm-apimanagement/src/apiManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-apimanagement"; -const packageVersion = "7.0.0"; +const packageVersion = "7.1.0"; export class ApiManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the ApiManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApiManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ApiManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/appconfiguration/arm-appconfiguration/README.md b/sdk/appconfiguration/arm-appconfiguration/README.md index 7b59569e1ed6..69b807098b23 100644 --- a/sdk/appconfiguration/arm-appconfiguration/README.md +++ b/sdk/appconfiguration/arm-appconfiguration/README.md @@ -1,92 +1,101 @@ ## Azure AppConfigurationManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AppConfigurationManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AppConfigurationManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-appconfiguration` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-appconfiguration +npm install --save @azure/arm-appconfiguration @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list configurationStores as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list configurationStores as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AppConfigurationManagementClient, AppConfigurationManagementModels, AppConfigurationManagementMappers } from "@azure/arm-appconfiguration"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AppConfigurationManagementClient } = require("@azure/arm-appconfiguration"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AppConfigurationManagementClient(creds, subscriptionId); - const skipToken = "testskipToken"; - client.configurationStores.list(skipToken).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AppConfigurationManagementClient(creds, subscriptionId); +const skipToken = "testskipToken"; +client.configurationStores.list(skipToken).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list configurationStores as an example written in JavaScript. +#### browser - Authentication, client creation, and list configurationStores as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-appconfiguration sample - - + diff --git a/sdk/appconfiguration/arm-appconfiguration/package.json b/sdk/appconfiguration/arm-appconfiguration/package.json index 26b7c0ec5092..6f81951910db 100644 --- a/sdk/appconfiguration/arm-appconfiguration/package.json +++ b/sdk/appconfiguration/arm-appconfiguration/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-appconfiguration", "author": "Microsoft Corporation", "description": "AppConfigurationManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.3.0", + "version": "1.4.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/appConfigurationManagementClient.js", "types": "./esm/appConfigurationManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClient.ts b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClient.ts index bc7c2ccf0f9c..b58eabc6d21f 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClient.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,11 +25,16 @@ class AppConfigurationManagementClient extends AppConfigurationManagementClientC /** * Initializes a new instance of the AppConfigurationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Microsoft Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AppConfigurationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AppConfigurationManagementClientOptions) { super(credentials, subscriptionId, options); this.configurationStores = new operations.ConfigurationStores(this); this.operations = new operations.Operations(this); diff --git a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts index bacdf7ad3cfa..72641b89d50e 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-appconfiguration"; -const packageVersion = "1.3.0"; +const packageVersion = "1.4.0"; export class AppConfigurationManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AppConfigurationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Microsoft Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AppConfigurationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AppConfigurationManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/applicationinsights/arm-appinsights/README.md b/sdk/applicationinsights/arm-appinsights/README.md index a81a6333908d..4b865a5e2981 100644 --- a/sdk/applicationinsights/arm-appinsights/README.md +++ b/sdk/applicationinsights/arm-appinsights/README.md @@ -1,90 +1,100 @@ ## Azure ApplicationInsightsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ApplicationInsightsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ApplicationInsightsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-appinsights` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-appinsights +npm install --save @azure/arm-appinsights @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ApplicationInsightsManagementClient, ApplicationInsightsManagementModels, ApplicationInsightsManagementMappers } from "@azure/arm-appinsights"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ApplicationInsightsManagementClient } = require("@azure/arm-appinsights"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ApplicationInsightsManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ApplicationInsightsManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-appinsights sample - - + diff --git a/sdk/applicationinsights/arm-appinsights/package.json b/sdk/applicationinsights/arm-appinsights/package.json index 7c57385ff716..80a232e130be 100644 --- a/sdk/applicationinsights/arm-appinsights/package.json +++ b/sdk/applicationinsights/arm-appinsights/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-appinsights", "author": "Microsoft Corporation", "description": "ApplicationInsightsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "3.0.0", + "version": "3.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/applicationInsightsManagementClient.js", "types": "./esm/applicationInsightsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts index 129814529633..e001f89b1329 100644 --- a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts +++ b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -39,11 +40,16 @@ class ApplicationInsightsManagementClient extends ApplicationInsightsManagementC /** * Initializes a new instance of the ApplicationInsightsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.annotations = new operations.Annotations(this); diff --git a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts index 14021c83aee1..b3cc5d676aba 100644 --- a/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts +++ b/sdk/applicationinsights/arm-appinsights/src/applicationInsightsManagementClientContext.ts @@ -10,22 +10,28 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-appinsights"; -const packageVersion = "3.0.0"; +const packageVersion = "3.1.0"; export class ApplicationInsightsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the ApplicationInsightsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ApplicationInsightsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/appplatform/arm-appplatform/README.md b/sdk/appplatform/arm-appplatform/README.md index f05562f618da..c06e938283f7 100644 --- a/sdk/appplatform/arm-appplatform/README.md +++ b/sdk/appplatform/arm-appplatform/README.md @@ -1,93 +1,103 @@ ## Azure AppPlatformManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AppPlatformManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AppPlatformManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-appplatform` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-appplatform +npm install --save @azure/arm-appplatform @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get services as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get services as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { AppPlatformManagementClient } = require("@azure/arm-appplatform"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AppPlatformManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const serviceName = "testserviceName"; - client.services.get(resourceGroupName, serviceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AppPlatformManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const serviceName = "testserviceName"; +client.services.get(resourceGroupName, serviceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get services as an example written in JavaScript. +#### browser - Authentication, client creation, and get services as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-appplatform sample - - + diff --git a/sdk/appplatform/arm-appplatform/package.json b/sdk/appplatform/arm-appplatform/package.json index ebab866401ae..a06921a62ed4 100644 --- a/sdk/appplatform/arm-appplatform/package.json +++ b/sdk/appplatform/arm-appplatform/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-appplatform", "author": "Microsoft Corporation", "description": "AppPlatformManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.2.0", + "version": "1.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/appPlatformManagementClient.js", "types": "./esm/appPlatformManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/appplatform/arm-appplatform/src/appPlatformManagementClient.ts b/sdk/appplatform/arm-appplatform/src/appPlatformManagementClient.ts index e9bef8750f6f..a942c7ed14c8 100644 --- a/sdk/appplatform/arm-appplatform/src/appPlatformManagementClient.ts +++ b/sdk/appplatform/arm-appplatform/src/appPlatformManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -30,12 +31,17 @@ class AppPlatformManagementClient extends AppPlatformManagementClientContext { /** * Initializes a new instance of the AppPlatformManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription ID which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AppPlatformManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AppPlatformManagementClientOptions) { super(credentials, subscriptionId, options); this.services = new operations.Services(this); this.configServers = new operations.ConfigServers(this); diff --git a/sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts b/sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts index 6e107e7e50bf..1c6af685d8ac 100644 --- a/sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts +++ b/sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-appplatform"; -const packageVersion = "1.2.0"; +const packageVersion = "1.3.0"; export class AppPlatformManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the AppPlatformManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription ID which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AppPlatformManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AppPlatformManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/README.md b/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/README.md index 3ffb61bd731e..26137bf2bd28 100644 --- a/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/README.md +++ b/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/README.md @@ -1,89 +1,100 @@ ## Azure WebSiteManagementClient SDK for JavaScript -This package contains an isomorphic SDK for WebSiteManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for WebSiteManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-appservice-profile-2019-03-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-appservice-profile-2019-03-01-hybrid +npm install --save @azure/arm-appservice-profile-2019-03-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list certificates as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list certificates as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { WebSiteManagementClient, WebSiteManagementModels, WebSiteManagementMappers } from "@azure/arm-appservice-profile-2019-03-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { WebSiteManagementClient } = require("@azure/arm-appservice-profile-2019-03-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new WebSiteManagementClient(creds, subscriptionId); - client.certificates.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new WebSiteManagementClient(creds, subscriptionId); + +client.certificates.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list certificates as an example written in JavaScript. +#### browser - Authentication, client creation, and list certificates as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-appservice-profile-2019-03-01-hybrid sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fappservice%2Farm-appservice-profile-2019-03-01-hybrid%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/README.png) diff --git a/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/package.json b/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/package.json index 703c41e0442c..952a9bb98d08 100644 --- a/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/package.json +++ b/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-appservice-profile-2019-03-01-hybrid", "author": "Microsoft Corporation", "description": "WebSiteManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/webSiteManagementClient.js", "types": "./esm/webSiteManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/src/webSiteManagementClient.ts index 0d35a9177b82..0d640ce71d6e 100644 --- a/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/src/webSiteManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -26,12 +27,17 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { /** * Initializes a new instance of the WebSiteManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Your Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000). * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.WebSiteManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.WebSiteManagementClientOptions) { super(credentials, subscriptionId, options); this.certificates = new operations.Certificates(this); this.webApps = new operations.WebApps(this); diff --git a/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/src/webSiteManagementClientContext.ts b/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/src/webSiteManagementClientContext.ts index 009c37bd2c6b..b8db44f5ff74 100644 --- a/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/src/webSiteManagementClientContext.ts +++ b/sdk/appservice/arm-appservice-profile-2019-03-01-hybrid/src/webSiteManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-appservice-profile-2019-03-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the WebSiteManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Your Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000). * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.WebSiteManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.WebSiteManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/README.md b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/README.md index c423f466f6e1..aa27aa0db8b6 100644 --- a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/README.md +++ b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure WebSiteManagementClient SDK for JavaScript -This package contains an isomorphic SDK for WebSiteManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for WebSiteManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-appservice-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-appservice-profile-2020-09-01-hybrid +npm install --save @azure/arm-appservice-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list certificates as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list certificates as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { WebSiteManagementClient, WebSiteManagementModels, WebSiteManagementMappers } from "@azure/arm-appservice-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { WebSiteManagementClient } = require("@azure/arm-appservice-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new WebSiteManagementClient(creds, subscriptionId); - client.certificates.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new WebSiteManagementClient(creds, subscriptionId); + +client.certificates.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list certificates as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list certificates as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-appservice-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/package.json b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/package.json index c9d9463cfb6f..277da139be4d 100644 --- a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/package.json +++ b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-appservice-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "WebSiteManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/webSiteManagementClient.js", "types": "./esm/webSiteManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/src/webSiteManagementClient.ts index 0d35a9177b82..0d640ce71d6e 100644 --- a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/src/webSiteManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -26,12 +27,17 @@ class WebSiteManagementClient extends WebSiteManagementClientContext { /** * Initializes a new instance of the WebSiteManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Your Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000). * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.WebSiteManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.WebSiteManagementClientOptions) { super(credentials, subscriptionId, options); this.certificates = new operations.Certificates(this); this.webApps = new operations.WebApps(this); diff --git a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/src/webSiteManagementClientContext.ts b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/src/webSiteManagementClientContext.ts index ffc50ad7fc59..76232c9ebc0b 100644 --- a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/src/webSiteManagementClientContext.ts +++ b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/src/webSiteManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-appservice-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class WebSiteManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the WebSiteManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Your Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000). * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.WebSiteManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.WebSiteManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/attestation/arm-attestation/README.md b/sdk/attestation/arm-attestation/README.md index 08a634ff796d..e26c14c75674 100644 --- a/sdk/attestation/arm-attestation/README.md +++ b/sdk/attestation/arm-attestation/README.md @@ -1,90 +1,100 @@ ## Azure AttestationManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AttestationManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AttestationManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-attestation` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-attestation +npm install --save @azure/arm-attestation @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AttestationManagementClient, AttestationManagementModels, AttestationManagementMappers } from "@azure/arm-attestation"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AttestationManagementClient } = require("@azure/arm-attestation"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AttestationManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AttestationManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-attestation sample - - + diff --git a/sdk/attestation/arm-attestation/package.json b/sdk/attestation/arm-attestation/package.json index 109eab318b34..ac8a0e7a0ae4 100644 --- a/sdk/attestation/arm-attestation/package.json +++ b/sdk/attestation/arm-attestation/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-attestation", "author": "Microsoft Corporation", "description": "AttestationManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/attestationManagementClient.js", "types": "./esm/attestationManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/attestation/arm-attestation/src/attestationManagementClient.ts b/sdk/attestation/arm-attestation/src/attestationManagementClient.ts index 1657aee1b92f..ab2f54efb640 100644 --- a/sdk/attestation/arm-attestation/src/attestationManagementClient.ts +++ b/sdk/attestation/arm-attestation/src/attestationManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class AttestationManagementClient extends AttestationManagementClientContext { /** * Initializes a new instance of the AttestationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AttestationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AttestationManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.attestationProviders = new operations.AttestationProviders(this); diff --git a/sdk/attestation/arm-attestation/src/attestationManagementClientContext.ts b/sdk/attestation/arm-attestation/src/attestationManagementClientContext.ts index c07885699d86..c094c4cfbaa1 100644 --- a/sdk/attestation/arm-attestation/src/attestationManagementClientContext.ts +++ b/sdk/attestation/arm-attestation/src/attestationManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-attestation"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class AttestationManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the AttestationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AttestationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AttestationManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/README.md b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/README.md index 1c27e64535b1..09b24f40d9bc 100644 --- a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/README.md +++ b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/README.md @@ -1,91 +1,101 @@ ## Azure AuthorizationManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AuthorizationManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AuthorizationManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-authorization-profile-2019-03-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-authorization-profile-2019-03-01-hybrid +npm install --save @azure/arm-authorization-profile-2019-03-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listForResourceGroup permissions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and listForResourceGroup permissions as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AuthorizationManagementClient, AuthorizationManagementModels, AuthorizationManagementMappers } from "@azure/arm-authorization-profile-2019-03-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AuthorizationManagementClient } = require("@azure/arm-authorization-profile-2019-03-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AuthorizationManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - client.permissions.listForResourceGroup(resourceGroupName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AuthorizationManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +client.permissions.listForResourceGroup(resourceGroupName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listForResourceGroup permissions as an example written in JavaScript. +#### browser - Authentication, client creation, and listForResourceGroup permissions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-authorization-profile-2019-03-01-hybrid sample - - + @@ -97,5 +107,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fauthorization%2Farm-authorization-profile-2019-03-01-hybrid%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/README.png) diff --git a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/package.json b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/package.json index 91c633edea0b..87781da4466f 100644 --- a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/package.json +++ b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-authorization-profile-2019-03-01-hybrid", "author": "Microsoft Corporation", "description": "AuthorizationManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/authorizationManagementClient.js", "types": "./esm/authorizationManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/src/authorizationManagementClient.ts b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/src/authorizationManagementClient.ts index 2c27b1a41c0c..3f9befd01c0e 100644 --- a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/src/authorizationManagementClient.ts +++ b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/src/authorizationManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class AuthorizationManagementClient extends AuthorizationManagementClientContext /** * Initializes a new instance of the AuthorizationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { super(credentials, subscriptionId, options); this.permissions = new operations.Permissions(this); this.providerOperationsMetadata = new operations.ProviderOperationsMetadataOperations(this); diff --git a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/src/authorizationManagementClientContext.ts b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/src/authorizationManagementClientContext.ts index 06325eb70e3c..1e7113ab7019 100644 --- a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/src/authorizationManagementClientContext.ts +++ b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/src/authorizationManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-authorization-profile-2019-03-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class AuthorizationManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AuthorizationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/README.md b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/README.md index f4515cf204e2..de209d61a2e6 100644 --- a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/README.md +++ b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/README.md @@ -1,92 +1,101 @@ ## Azure AuthorizationManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AuthorizationManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AuthorizationManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-authorization-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-authorization-profile-2020-09-01-hybrid +npm install --save @azure/arm-authorization-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listForResourceGroup permissions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listForResourceGroup permissions as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AuthorizationManagementClient, AuthorizationManagementModels, AuthorizationManagementMappers } from "@azure/arm-authorization-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AuthorizationManagementClient } = require("@azure/arm-authorization-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AuthorizationManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - client.permissions.listForResourceGroup(resourceGroupName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AuthorizationManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +client.permissions.listForResourceGroup(resourceGroupName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listForResourceGroup permissions as an example written in JavaScript. +#### browser - Authentication, client creation, and listForResourceGroup permissions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-authorization-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/package.json b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/package.json index 7e57bafabb39..0a37484339f3 100644 --- a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/package.json +++ b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-authorization-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "AuthorizationManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/authorizationManagementClient.js", "types": "./esm/authorizationManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/src/authorizationManagementClient.ts b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/src/authorizationManagementClient.ts index a1aded5211b9..2164fe797036 100644 --- a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/src/authorizationManagementClient.ts +++ b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/src/authorizationManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class AuthorizationManagementClient extends AuthorizationManagementClientContext /** * Initializes a new instance of the AuthorizationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { super(credentials, subscriptionId, options); this.permissions = new operations.Permissions(this); this.roleDefinitions = new operations.RoleDefinitions(this); diff --git a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/src/authorizationManagementClientContext.ts b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/src/authorizationManagementClientContext.ts index a3a07b227f8b..624b843cabad 100644 --- a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/src/authorizationManagementClientContext.ts +++ b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/src/authorizationManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-authorization-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class AuthorizationManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AuthorizationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/authorization/arm-authorization/README.md b/sdk/authorization/arm-authorization/README.md index 00b867f0df83..97a2b1e7248b 100644 --- a/sdk/authorization/arm-authorization/README.md +++ b/sdk/authorization/arm-authorization/README.md @@ -1,61 +1,74 @@ ## Azure AuthorizationManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AuthorizationManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AuthorizationManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-authorization` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-authorization +npm install --save @azure/arm-authorization @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list classicAdministrators as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list classicAdministrators as an example written in JavaScript. ##### Sample code ```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { AuthorizationManagementClient } = require("@azure/arm-authorization"); -const { interactiveLogin } = require("@azure/ms-rest-nodeauth"); - const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -interactiveLogin() - .then((creds) => { - const client = new AuthorizationManagementClient(creds, subscriptionId); - client.classicAdministrators.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); - }) - .catch((err) => { - console.error(err); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AuthorizationManagementClient(creds, subscriptionId); + +client.classicAdministrators.list().then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` -#### browser - Authentication, client creation and list classicAdministrators as an example written in JavaScript. +#### browser - Authentication, client creation, and list classicAdministrators as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html ```html @@ -63,35 +76,25 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-authorization sample - - + @@ -103,4 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fauthorization%2Farm-authorization%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/authorization/arm-authorization/README.png) diff --git a/sdk/authorization/arm-authorization/package.json b/sdk/authorization/arm-authorization/package.json index e8c1c708f434..88d8e11426ec 100644 --- a/sdk/authorization/arm-authorization/package.json +++ b/sdk/authorization/arm-authorization/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-authorization", "author": "Microsoft Corporation", "description": "AuthorizationManagementClient Library with typescript type definitions for node.js and browser.", - "version": "8.3.3", + "version": "8.4.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.0", - "@azure/ms-rest-js": "^2.0.3", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/authorizationManagementClient.js", "types": "./esm/authorizationManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/authorization/arm-authorization/src/authorizationManagementClient.ts b/sdk/authorization/arm-authorization/src/authorizationManagementClient.ts index 38d6e007d768..b970948c40cb 100644 --- a/sdk/authorization/arm-authorization/src/authorizationManagementClient.ts +++ b/sdk/authorization/arm-authorization/src/authorizationManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -27,11 +28,16 @@ class AuthorizationManagementClient extends AuthorizationManagementClientContext /** * Initializes a new instance of the AuthorizationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { super(credentials, subscriptionId, options); this.classicAdministrators = new operations.ClassicAdministrators(this); this.globalAdministrator = new operations.GlobalAdministrator(this); diff --git a/sdk/authorization/arm-authorization/src/authorizationManagementClientContext.ts b/sdk/authorization/arm-authorization/src/authorizationManagementClientContext.ts index 2b1aabd7fe6c..d81273824f92 100644 --- a/sdk/authorization/arm-authorization/src/authorizationManagementClientContext.ts +++ b/sdk/authorization/arm-authorization/src/authorizationManagementClientContext.ts @@ -10,22 +10,28 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-authorization"; -const packageVersion = "8.3.3"; +const packageVersion = "8.4.0"; export class AuthorizationManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the AuthorizationManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AuthorizationManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/automation/arm-automation/README.md b/sdk/automation/arm-automation/README.md index 50b1d40caaa1..d7548d60e4c8 100644 --- a/sdk/automation/arm-automation/README.md +++ b/sdk/automation/arm-automation/README.md @@ -1,94 +1,103 @@ ## Azure AutomationClient SDK for JavaScript -This package contains an isomorphic SDK for AutomationClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AutomationClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-automation` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-automation +npm install --save @azure/arm-automation @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get automationAccount as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get automationAccount as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AutomationClient, AutomationModels, AutomationMappers } from "@azure/arm-automation"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AutomationClient } = require("@azure/arm-automation"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AutomationClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const automationAccountName = "testautomationAccountName"; - client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AutomationClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const automationAccountName = "testautomationAccountName"; +client.automationAccount.get(resourceGroupName, automationAccountName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get automationAccount as an example written in JavaScript. +#### browser - Authentication, client creation, and get automationAccount as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-automation sample - - + diff --git a/sdk/automation/arm-automation/package.json b/sdk/automation/arm-automation/package.json index 3c834e3fe06c..91183c924834 100644 --- a/sdk/automation/arm-automation/package.json +++ b/sdk/automation/arm-automation/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-automation", "author": "Microsoft Corporation", "description": "AutomationClient Library with typescript type definitions for node.js and browser.", - "version": "10.0.0", + "version": "10.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/automationClient.js", "types": "./esm/automationClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/automation/arm-automation/src/automationClient.ts b/sdk/automation/arm-automation/src/automationClient.ts index 4290b4b4a1c7..20f3495cf384 100644 --- a/sdk/automation/arm-automation/src/automationClient.ts +++ b/sdk/automation/arm-automation/src/automationClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -61,14 +62,19 @@ class AutomationClient extends AutomationClientContext { /** * Initializes a new instance of the AutomationClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param countType1 The type of counts to retrieve. Possible values include: 'status', * 'nodeconfiguration' * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { super(credentials, subscriptionId, countType1, options); this.automationAccount = new operations.AutomationAccountOperations(this); this.operations = new operations.Operations(this); diff --git a/sdk/automation/arm-automation/src/automationClientContext.ts b/sdk/automation/arm-automation/src/automationClientContext.ts index 52193c535a17..b686a363373a 100644 --- a/sdk/automation/arm-automation/src/automationClientContext.ts +++ b/sdk/automation/arm-automation/src/automationClientContext.ts @@ -10,26 +10,32 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-automation"; -const packageVersion = "10.0.0"; +const packageVersion = "10.1.0"; export class AutomationClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; countType1: Models.CountType; /** * Initializes a new instance of the AutomationClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param countType1 The type of counts to retrieve. Possible values include: 'status', * 'nodeconfiguration' * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, countType1: Models.CountType, options?: Models.AutomationClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/avs/arm-avs/README.md b/sdk/avs/arm-avs/README.md index 73c2aae29485..63a73a5aafa8 100644 --- a/sdk/avs/arm-avs/README.md +++ b/sdk/avs/arm-avs/README.md @@ -1,90 +1,100 @@ ## Azure AvsClient SDK for JavaScript -This package contains an isomorphic SDK for AvsClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AvsClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-avs` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-avs +npm install --save @azure/arm-avs @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AvsClient, AvsModels, AvsMappers } from "@azure/arm-avs"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AvsClient } = require("@azure/arm-avs"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AvsClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AvsClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-avs sample - - + diff --git a/sdk/avs/arm-avs/package.json b/sdk/avs/arm-avs/package.json index 521973d8e7d5..9c5754bc7f3c 100644 --- a/sdk/avs/arm-avs/package.json +++ b/sdk/avs/arm-avs/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-avs", "author": "Microsoft Corporation", "description": "AvsClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/avsClient.js", "types": "./esm/avsClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/avs/arm-avs/src/avsClient.ts b/sdk/avs/arm-avs/src/avsClient.ts index ddc844d84920..3b2edc265a44 100644 --- a/sdk/avs/arm-avs/src/avsClient.ts +++ b/sdk/avs/arm-avs/src/avsClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -26,11 +27,16 @@ class AvsClient extends AvsClientContext { /** * Initializes a new instance of the AvsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AvsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AvsClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.locations = new operations.Locations(this); diff --git a/sdk/avs/arm-avs/src/avsClientContext.ts b/sdk/avs/arm-avs/src/avsClientContext.ts index 3acb23a12a89..03dceb2252d3 100644 --- a/sdk/avs/arm-avs/src/avsClientContext.ts +++ b/sdk/avs/arm-avs/src/avsClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-avs"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class AvsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the AvsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AvsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AvsClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/azurestack/arm-azurestack/README.md b/sdk/azurestack/arm-azurestack/README.md index 65e5624b65d3..2ccdfc94ebd0 100644 --- a/sdk/azurestack/arm-azurestack/README.md +++ b/sdk/azurestack/arm-azurestack/README.md @@ -1,90 +1,100 @@ ## Azure AzureStackManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AzureStackManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureStackManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-azurestack` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-azurestack +npm install --save @azure/arm-azurestack @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AzureStackManagementClient, AzureStackManagementModels, AzureStackManagementMappers } from "@azure/arm-azurestack"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AzureStackManagementClient } = require("@azure/arm-azurestack"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureStackManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureStackManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-azurestack sample - - + diff --git a/sdk/azurestack/arm-azurestack/package.json b/sdk/azurestack/arm-azurestack/package.json index 10036d2a7aec..8e8e7384f0d9 100644 --- a/sdk/azurestack/arm-azurestack/package.json +++ b/sdk/azurestack/arm-azurestack/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-azurestack", "author": "Microsoft Corporation", "description": "AzureStackManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureStackManagementClient.js", "types": "./esm/azureStackManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts b/sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts index 04f21ebf7bfd..1e8337f77e14 100644 --- a/sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts +++ b/sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,12 +25,17 @@ class AzureStackManagementClient extends AzureStackManagementClientContext { /** * Initializes a new instance of the AzureStackManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.products = new operations.Products(this); diff --git a/sdk/azurestack/arm-azurestack/src/azureStackManagementClientContext.ts b/sdk/azurestack/arm-azurestack/src/azureStackManagementClientContext.ts index 1af43d53f712..156bc37d3bc5 100644 --- a/sdk/azurestack/arm-azurestack/src/azureStackManagementClientContext.ts +++ b/sdk/azurestack/arm-azurestack/src/azureStackManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-azurestack"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class AzureStackManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureStackManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials that uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/azurestackhci/arm-azurestackhci/README.md b/sdk/azurestackhci/arm-azurestackhci/README.md index 54ed8d33c65a..13116bde073e 100644 --- a/sdk/azurestackhci/arm-azurestackhci/README.md +++ b/sdk/azurestackhci/arm-azurestackhci/README.md @@ -1,90 +1,100 @@ ## Azure AzureStackHCIClient SDK for JavaScript -This package contains an isomorphic SDK for AzureStackHCIClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureStackHCIClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-azurestackhci` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-azurestackhci +npm install --save @azure/arm-azurestackhci @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AzureStackHCIClient, AzureStackHCIModels, AzureStackHCIMappers } from "@azure/arm-azurestackhci"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AzureStackHCIClient } = require("@azure/arm-azurestackhci"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureStackHCIClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureStackHCIClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-azurestackhci sample - - + diff --git a/sdk/azurestackhci/arm-azurestackhci/package.json b/sdk/azurestackhci/arm-azurestackhci/package.json index 95df5ac728c2..1406e3a30a9a 100644 --- a/sdk/azurestackhci/arm-azurestackhci/package.json +++ b/sdk/azurestackhci/arm-azurestackhci/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-azurestackhci", "author": "Microsoft Corporation", "description": "AzureStackHCIClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureStackHCIClient.js", "types": "./esm/azureStackHCIClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/azurestackhci/arm-azurestackhci/src/azureStackHCIClient.ts b/sdk/azurestackhci/arm-azurestackhci/src/azureStackHCIClient.ts index 1d411dcbd664..d4f586397e73 100644 --- a/sdk/azurestackhci/arm-azurestackhci/src/azureStackHCIClient.ts +++ b/sdk/azurestackhci/arm-azurestackhci/src/azureStackHCIClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class AzureStackHCIClient extends AzureStackHCIClientContext { /** * Initializes a new instance of the AzureStackHCIClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureStackHCIClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureStackHCIClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.clusters = new operations.Clusters(this); diff --git a/sdk/azurestackhci/arm-azurestackhci/src/azureStackHCIClientContext.ts b/sdk/azurestackhci/arm-azurestackhci/src/azureStackHCIClientContext.ts index b820335844ca..6a541775ad3f 100644 --- a/sdk/azurestackhci/arm-azurestackhci/src/azureStackHCIClientContext.ts +++ b/sdk/azurestackhci/arm-azurestackhci/src/azureStackHCIClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-azurestackhci"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class AzureStackHCIClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the AzureStackHCIClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureStackHCIClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureStackHCIClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/batch/arm-batch/README.md b/sdk/batch/arm-batch/README.md index 9347522bf353..7b0d748b036c 100644 --- a/sdk/batch/arm-batch/README.md +++ b/sdk/batch/arm-batch/README.md @@ -1,94 +1,103 @@ ## Azure BatchManagementClient SDK for JavaScript -This package contains an isomorphic SDK for BatchManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for BatchManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-batch` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-batch +npm install --save @azure/arm-batch @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get batchAccount as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get batchAccount as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { BatchManagementClient, BatchManagementModels, BatchManagementMappers } from "@azure/arm-batch"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { BatchManagementClient } = require("@azure/arm-batch"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new BatchManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const accountName = "testaccountName"; - client.batchAccount.get(resourceGroupName, accountName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new BatchManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const accountName = "testaccountName"; +client.batchAccount.get(resourceGroupName, accountName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get batchAccount as an example written in JavaScript. +#### browser - Authentication, client creation, and get batchAccount as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-batch sample - - + @@ -100,4 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/README.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/batch/arm-batch/README.png) diff --git a/sdk/batch/arm-batch/package.json b/sdk/batch/arm-batch/package.json index de26495de767..25147b040606 100644 --- a/sdk/batch/arm-batch/package.json +++ b/sdk/batch/arm-batch/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-batch", "author": "Microsoft Corporation", "description": "BatchManagementClient Library with typescript type definitions for node.js and browser.", - "version": "5.0.0", + "version": "5.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^2.0.0" }, "keywords": [ @@ -31,7 +32,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "esm": "^3.2.25", "ts-node": "^8.3.0", - "typescript": "~3.9.3", + "typescript": "^3.6.0", "uglify-js": "^3.4.9" }, "homepage": "https://github.com/Azure/azure-sdk-for-js", diff --git a/sdk/batch/arm-batch/src/batchManagementClient.ts b/sdk/batch/arm-batch/src/batchManagementClient.ts index e5c88e5186c8..f59a410fc6ff 100644 --- a/sdk/batch/arm-batch/src/batchManagementClient.ts +++ b/sdk/batch/arm-batch/src/batchManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -29,12 +30,17 @@ class BatchManagementClient extends BatchManagementClientContext { /** * Initializes a new instance of the BatchManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000) * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.BatchManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.BatchManagementClientOptions) { super(credentials, subscriptionId, options); this.batchAccount = new operations.BatchAccountOperations(this); this.applicationPackage = new operations.ApplicationPackageOperations(this); diff --git a/sdk/batch/arm-batch/src/batchManagementClientContext.ts b/sdk/batch/arm-batch/src/batchManagementClientContext.ts index 239857a63782..c24d567fca56 100644 --- a/sdk/batch/arm-batch/src/batchManagementClientContext.ts +++ b/sdk/batch/arm-batch/src/batchManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-batch"; -const packageVersion = "5.0.0"; +const packageVersion = "5.1.0"; export class BatchManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the BatchManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000) * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.BatchManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.BatchManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/batchai/arm-batchai/README.md b/sdk/batchai/arm-batchai/README.md index ce22680e07c2..8347ce03ac77 100644 --- a/sdk/batchai/arm-batchai/README.md +++ b/sdk/batchai/arm-batchai/README.md @@ -1,89 +1,100 @@ ## Azure BatchAIManagementClient SDK for JavaScript -This package contains an isomorphic SDK for BatchAIManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for BatchAIManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-batchai +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-batchai` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-batchai @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { BatchAIManagementClient, BatchAIManagementModels, BatchAIManagementMappers } from "@azure/arm-batchai"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { BatchAIManagementClient } = require("@azure/arm-batchai"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new BatchAIManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new BatchAIManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-batchai sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fbatchai%2Farm-batchai%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/batchai/arm-batchai/README.png) diff --git a/sdk/batchai/arm-batchai/package.json b/sdk/batchai/arm-batchai/package.json index 89788a2a1fff..e33f70db0f1b 100644 --- a/sdk/batchai/arm-batchai/package.json +++ b/sdk/batchai/arm-batchai/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-batchai", "author": "Microsoft Corporation", "description": "BatchAIManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.1.0", + "version": "2.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/batchAIManagementClient.js", "types": "./esm/batchAIManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/batchai/arm-batchai/src/batchAIManagementClient.ts b/sdk/batchai/arm-batchai/src/batchAIManagementClient.ts index c9af5d391f4d..aa440f6ece90 100644 --- a/sdk/batchai/arm-batchai/src/batchAIManagementClient.ts +++ b/sdk/batchai/arm-batchai/src/batchAIManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -27,11 +28,16 @@ class BatchAIManagementClient extends BatchAIManagementClientContext { /** * Initializes a new instance of the BatchAIManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscriptionID for the Azure user. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.BatchAIManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.BatchAIManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.usages = new operations.Usages(this); diff --git a/sdk/batchai/arm-batchai/src/batchAIManagementClientContext.ts b/sdk/batchai/arm-batchai/src/batchAIManagementClientContext.ts index ceeed0225f70..4631f2020a19 100644 --- a/sdk/batchai/arm-batchai/src/batchAIManagementClientContext.ts +++ b/sdk/batchai/arm-batchai/src/batchAIManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-batchai"; -const packageVersion = "0.1.0"; +const packageVersion = "2.2.0"; export class BatchAIManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the BatchAIManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscriptionID for the Azure user. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.BatchAIManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.BatchAIManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/billing/arm-billing/README.md b/sdk/billing/arm-billing/README.md index cd8267dc6804..1dcfe1a033a9 100644 --- a/sdk/billing/arm-billing/README.md +++ b/sdk/billing/arm-billing/README.md @@ -1,96 +1,101 @@ ## Azure BillingManagementClient SDK for JavaScript -This package contains an isomorphic SDK for BillingManagementClient. - -For more information about Billing: -* [Azure documentation](https://docs.microsoft.com/azure/cost-management-billing/) -* [SDK reference documentation](https://docs.microsoft.com/javascript/api/overview/azure/billing?view=azure-node-latest) +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for BillingManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +### Prerequisites + +You must have an [Azure subscription](https://azure.microsoft.com/free/). -### How to Install +### How to install +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-billing` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-billing +npm install --save @azure/arm-billing @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list billingAccounts as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list billingAccounts as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { BillingManagementClient, BillingManagementModels, BillingManagementMappers } from "@azure/arm-billing"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { BillingManagementClient } = require("@azure/arm-billing"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new BillingManagementClient(creds, subscriptionId); - const expand = "testexpand"; - client.billingAccounts.list(expand).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new BillingManagementClient(creds, subscriptionId); +const expand = "testexpand"; +client.billingAccounts.list(expand).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list billingAccounts as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list billingAccounts as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-billing sample - - + diff --git a/sdk/billing/arm-billing/package.json b/sdk/billing/arm-billing/package.json index 2c12635400d2..60c50b6e29f5 100644 --- a/sdk/billing/arm-billing/package.json +++ b/sdk/billing/arm-billing/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-billing", "author": "Microsoft Corporation", "description": "BillingManagementClient Library with typescript type definitions for node.js and browser.", - "version": "3.0.0", + "version": "3.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/billingManagementClient.js", "types": "./esm/billingManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/billing/arm-billing/src/billingManagementClient.ts b/sdk/billing/arm-billing/src/billingManagementClient.ts index 2ff7dd105b67..a0d1edb23aad 100644 --- a/sdk/billing/arm-billing/src/billingManagementClient.ts +++ b/sdk/billing/arm-billing/src/billingManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -40,11 +41,16 @@ class BillingManagementClient extends BillingManagementClientContext { /** * Initializes a new instance of the BillingManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID that uniquely identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.BillingManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.BillingManagementClientOptions) { super(credentials, subscriptionId, options); this.billingAccounts = new operations.BillingAccounts(this); this.address = new operations.Address(this); diff --git a/sdk/billing/arm-billing/src/billingManagementClientContext.ts b/sdk/billing/arm-billing/src/billingManagementClientContext.ts index 66679df82359..224c429cd9b4 100644 --- a/sdk/billing/arm-billing/src/billingManagementClientContext.ts +++ b/sdk/billing/arm-billing/src/billingManagementClientContext.ts @@ -10,22 +10,28 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-billing"; -const packageVersion = "3.0.0"; +const packageVersion = "3.1.0"; export class BillingManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the BillingManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID that uniquely identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.BillingManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.BillingManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/botservice/arm-botservice/README.md b/sdk/botservice/arm-botservice/README.md index 100ad8188bdd..0ee386505106 100644 --- a/sdk/botservice/arm-botservice/README.md +++ b/sdk/botservice/arm-botservice/README.md @@ -1,94 +1,103 @@ ## Azure AzureBotService SDK for JavaScript -This package contains an isomorphic SDK for AzureBotService. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureBotService. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-botservice` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-botservice +npm install --save @azure/arm-botservice @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get bots as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get bots as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AzureBotService, AzureBotServiceModels, AzureBotServiceMappers } from "@azure/arm-botservice"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AzureBotService } = require("@azure/arm-botservice"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureBotService(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const resourceName = "testresourceName"; - client.bots.get(resourceGroupName, resourceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureBotService(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const resourceName = "testresourceName"; +client.bots.get(resourceGroupName, resourceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get bots as an example written in JavaScript. +#### browser - Authentication, client creation, and get bots as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-botservice sample - - + diff --git a/sdk/botservice/arm-botservice/package.json b/sdk/botservice/arm-botservice/package.json index eb0922905502..e68418ca9547 100644 --- a/sdk/botservice/arm-botservice/package.json +++ b/sdk/botservice/arm-botservice/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-botservice", "author": "Microsoft Corporation", "description": "AzureBotService Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureBotService.js", "types": "./esm/azureBotService.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/botservice/arm-botservice/src/azureBotService.ts b/sdk/botservice/arm-botservice/src/azureBotService.ts index f2e3696d217a..771e3e36fec4 100644 --- a/sdk/botservice/arm-botservice/src/azureBotService.ts +++ b/sdk/botservice/arm-botservice/src/azureBotService.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class AzureBotService extends AzureBotServiceContext { /** * Initializes a new instance of the AzureBotService class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureBotServiceOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureBotServiceOptions) { super(credentials, subscriptionId, options); this.bots = new operations.Bots(this); this.channels = new operations.Channels(this); diff --git a/sdk/botservice/arm-botservice/src/azureBotServiceContext.ts b/sdk/botservice/arm-botservice/src/azureBotServiceContext.ts index ffc9d3c8d4f9..3261b8039599 100644 --- a/sdk/botservice/arm-botservice/src/azureBotServiceContext.ts +++ b/sdk/botservice/arm-botservice/src/azureBotServiceContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-botservice"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class AzureBotServiceContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureBotService class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureBotServiceOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureBotServiceOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/cdn/arm-cdn/README.md b/sdk/cdn/arm-cdn/README.md index 403572708c34..52e45367f756 100644 --- a/sdk/cdn/arm-cdn/README.md +++ b/sdk/cdn/arm-cdn/README.md @@ -1,90 +1,100 @@ ## Azure CdnManagementClient SDK for JavaScript -This package contains an isomorphic SDK for CdnManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for CdnManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-cdn` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-cdn +npm install --save @azure/arm-cdn @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list profiles as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list profiles as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { CdnManagementClient, CdnManagementModels, CdnManagementMappers } from "@azure/arm-cdn"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { CdnManagementClient } = require("@azure/arm-cdn"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new CdnManagementClient(creds, subscriptionId); - client.profiles.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new CdnManagementClient(creds, subscriptionId); + +client.profiles.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list profiles as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list profiles as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-cdn sample - - + diff --git a/sdk/cdn/arm-cdn/package.json b/sdk/cdn/arm-cdn/package.json index cb200703ce7e..d9a34566a5e9 100644 --- a/sdk/cdn/arm-cdn/package.json +++ b/sdk/cdn/arm-cdn/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-cdn", "author": "Microsoft Corporation", "description": "CdnManagementClient Library with typescript type definitions for node.js and browser.", - "version": "5.2.0", + "version": "5.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/cdnManagementClient.js", "types": "./esm/cdnManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/cdn/arm-cdn/src/cdnManagementClient.ts b/sdk/cdn/arm-cdn/src/cdnManagementClient.ts index d2eb2d60b2d4..bb34c2fcd2af 100644 --- a/sdk/cdn/arm-cdn/src/cdnManagementClient.ts +++ b/sdk/cdn/arm-cdn/src/cdnManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -31,11 +32,16 @@ class CdnManagementClient extends CdnManagementClientContext { /** * Initializes a new instance of the CdnManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.CdnManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CdnManagementClientOptions) { super(credentials, subscriptionId, options); this.profiles = new operations.Profiles(this); this.endpoints = new operations.Endpoints(this); diff --git a/sdk/cdn/arm-cdn/src/cdnManagementClientContext.ts b/sdk/cdn/arm-cdn/src/cdnManagementClientContext.ts index 9caddabff417..bca3d4ca420a 100644 --- a/sdk/cdn/arm-cdn/src/cdnManagementClientContext.ts +++ b/sdk/cdn/arm-cdn/src/cdnManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-cdn"; -const packageVersion = "5.2.0"; +const packageVersion = "5.3.0"; export class CdnManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the CdnManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.CdnManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CdnManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/changeanalysis/arm-changeanalysis/README.md b/sdk/changeanalysis/arm-changeanalysis/README.md index 166d262ef482..ee3668c3ea89 100644 --- a/sdk/changeanalysis/arm-changeanalysis/README.md +++ b/sdk/changeanalysis/arm-changeanalysis/README.md @@ -1,91 +1,101 @@ ## Azure AzureChangeAnalysisManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AzureChangeAnalysisManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureChangeAnalysisManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-changeanalysis` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-changeanalysis +npm install --save @azure/arm-changeanalysis @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { AzureChangeAnalysisManagementClient } = require("@azure/arm-changeanalysis"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureChangeAnalysisManagementClient(creds, subscriptionId); - const skipToken = "testskipToken"; - client.operations.list(skipToken).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureChangeAnalysisManagementClient(creds, subscriptionId); +const skipToken = "testskipToken"; +client.operations.list(skipToken).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-changeanalysis sample - - + diff --git a/sdk/changeanalysis/arm-changeanalysis/package.json b/sdk/changeanalysis/arm-changeanalysis/package.json index 69961f1bdfaf..9a81486953c0 100644 --- a/sdk/changeanalysis/arm-changeanalysis/package.json +++ b/sdk/changeanalysis/arm-changeanalysis/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-changeanalysis", "author": "Microsoft Corporation", "description": "AzureChangeAnalysisManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureChangeAnalysisManagementClient.js", "types": "./esm/azureChangeAnalysisManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClient.ts b/sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClient.ts index 342ec995b7e8..e3b4a848a93c 100644 --- a/sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClient.ts +++ b/sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class AzureChangeAnalysisManagementClient extends AzureChangeAnalysisManagementC /** * Initializes a new instance of the AzureChangeAnalysisManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureChangeAnalysisManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureChangeAnalysisManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.resourceChanges = new operations.ResourceChanges(this); diff --git a/sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClientContext.ts b/sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClientContext.ts index 2b91db73d014..ad921482493d 100644 --- a/sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClientContext.ts +++ b/sdk/changeanalysis/arm-changeanalysis/src/azureChangeAnalysisManagementClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-changeanalysis"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class AzureChangeAnalysisManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureChangeAnalysisManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureChangeAnalysisManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureChangeAnalysisManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/README.md b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/README.md index e719b827a97c..52b700638226 100644 --- a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/README.md +++ b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/README.md @@ -1,100 +1,109 @@ ## Azure UsageManagementClient SDK for JavaScript -This package contains an isomorphic SDK for UsageManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for UsageManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-commerce-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-commerce-profile-2020-09-01-hybrid +npm install --save @azure/arm-commerce-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list usageAggregates as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list usageAggregates as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { UsageManagementClient, UsageManagementModels, UsageManagementMappers } from "@azure/arm-commerce-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { UsageManagementClient } = require("@azure/arm-commerce-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new UsageManagementClient(creds, subscriptionId); - const reportedStartTime = new Date().toISOString(); - const reportedEndTime = new Date().toISOString(); - const showDetails = true; - const aggregationGranularity = "Daily"; - const continuationToken = "testcontinuationToken"; - client.usageAggregates.list(reportedStartTime, reportedEndTime, showDetails, aggregationGranularity, continuationToken).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new UsageManagementClient(creds, subscriptionId); +const reportedStartTime = new Date().toISOString(); +const reportedEndTime = new Date().toISOString(); +const showDetails = true; +const aggregationGranularity = "Daily"; +const continuationToken = "testcontinuationToken"; +client.usageAggregates.list(reportedStartTime, reportedEndTime, showDetails, aggregationGranularity, continuationToken).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list usageAggregates as an example written in JavaScript. +#### browser - Authentication, client creation, and list usageAggregates as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-commerce-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/package.json b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/package.json index 10e0e9e4a945..5dc45d4a25f4 100644 --- a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/package.json +++ b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-commerce-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "UsageManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/usageManagementClient.js", "types": "./esm/usageManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/src/usageManagementClient.ts b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/src/usageManagementClient.ts index 14140e6bff74..dcd1922bb0cd 100644 --- a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/src/usageManagementClient.ts +++ b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/src/usageManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,12 +23,17 @@ class UsageManagementClient extends UsageManagementClientContext { /** * Initializes a new instance of the UsageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId It uniquely identifies Microsoft Azure subscription. The subscription ID * forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.UsageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.UsageManagementClientOptions) { super(credentials, subscriptionId, options); this.usageAggregates = new operations.UsageAggregates(this); this.rateCard = new operations.RateCard(this); diff --git a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/src/usageManagementClientContext.ts b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/src/usageManagementClientContext.ts index f1b3432104d8..3ce8b7086378 100644 --- a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/src/usageManagementClientContext.ts +++ b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/src/usageManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-commerce-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class UsageManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the UsageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId It uniquely identifies Microsoft Azure subscription. The subscription ID * forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.UsageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.UsageManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/commerce/arm-commerce/README.md b/sdk/commerce/arm-commerce/README.md index 328e15132f6a..1179d4d83ce4 100644 --- a/sdk/commerce/arm-commerce/README.md +++ b/sdk/commerce/arm-commerce/README.md @@ -1,99 +1,109 @@ ## Azure UsageManagementClient SDK for JavaScript -This package contains an isomorphic SDK for UsageManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for UsageManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-commerce` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-commerce +npm install --save @azure/arm-commerce @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list usageAggregates as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list usageAggregates as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { UsageManagementClient, UsageManagementModels, UsageManagementMappers } from "@azure/arm-commerce"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { UsageManagementClient } = require("@azure/arm-commerce"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new UsageManagementClient(creds, subscriptionId); - const reportedStartTime = new Date().toISOString(); - const reportedEndTime = new Date().toISOString(); - const showDetails = true; - const aggregationGranularity = "Daily"; - const continuationToken = "testcontinuationToken"; - client.usageAggregates.list(reportedStartTime, reportedEndTime, showDetails, aggregationGranularity, continuationToken).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new UsageManagementClient(creds, subscriptionId); +const reportedStartTime = new Date().toISOString(); +const reportedEndTime = new Date().toISOString(); +const showDetails = true; +const aggregationGranularity = "Daily"; +const continuationToken = "testcontinuationToken"; +client.usageAggregates.list(reportedStartTime, reportedEndTime, showDetails, aggregationGranularity, continuationToken).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list usageAggregates as an example written in JavaScript. +#### browser - Authentication, client creation, and list usageAggregates as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-commerce sample - - + @@ -105,5 +115,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcommerce%2Farm-commerce%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/commerce/arm-commerce/README.png) diff --git a/sdk/commerce/arm-commerce/package.json b/sdk/commerce/arm-commerce/package.json index d626b9efb1f8..286ef12b9e29 100644 --- a/sdk/commerce/arm-commerce/package.json +++ b/sdk/commerce/arm-commerce/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-commerce", "author": "Microsoft Corporation", "description": "UsageManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.1.1", + "version": "2.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.2.0", - "@azure/ms-rest-js": "^1.2.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/usageManagementClient.js", "types": "./esm/usageManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/commerce/arm-commerce/src/usageManagementClient.ts b/sdk/commerce/arm-commerce/src/usageManagementClient.ts index 14140e6bff74..dcd1922bb0cd 100644 --- a/sdk/commerce/arm-commerce/src/usageManagementClient.ts +++ b/sdk/commerce/arm-commerce/src/usageManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,12 +23,17 @@ class UsageManagementClient extends UsageManagementClientContext { /** * Initializes a new instance of the UsageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId It uniquely identifies Microsoft Azure subscription. The subscription ID * forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.UsageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.UsageManagementClientOptions) { super(credentials, subscriptionId, options); this.usageAggregates = new operations.UsageAggregates(this); this.rateCard = new operations.RateCard(this); diff --git a/sdk/commerce/arm-commerce/src/usageManagementClientContext.ts b/sdk/commerce/arm-commerce/src/usageManagementClientContext.ts index f2995a21ee7e..5e9e2eca1fbc 100644 --- a/sdk/commerce/arm-commerce/src/usageManagementClientContext.ts +++ b/sdk/commerce/arm-commerce/src/usageManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-commerce"; -const packageVersion = "2.1.1"; +const packageVersion = "2.2.0"; export class UsageManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the UsageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId It uniquely identifies Microsoft Azure subscription. The subscription ID * forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.UsageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.UsageManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/communication/arm-communication/README.md b/sdk/communication/arm-communication/README.md index 6de5fb8a12ba..15ddebb729bf 100644 --- a/sdk/communication/arm-communication/README.md +++ b/sdk/communication/arm-communication/README.md @@ -1,89 +1,100 @@ ## Azure CommunicationServiceManagementClient SDK for JavaScript -This package contains an isomorphic SDK for CommunicationServiceManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for CommunicationServiceManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-communication` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-communication +npm install --save @azure/arm-communication @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { CommunicationServiceManagementClient } = require("@azure/arm-communication"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new CommunicationServiceManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new CommunicationServiceManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-communication sample - - + diff --git a/sdk/communication/arm-communication/package.json b/sdk/communication/arm-communication/package.json index e2098d0bff19..fd787d7dbae8 100644 --- a/sdk/communication/arm-communication/package.json +++ b/sdk/communication/arm-communication/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-communication", "author": "Microsoft Corporation", "description": "CommunicationServiceManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/communicationServiceManagementClient.js", "types": "./esm/communicationServiceManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/communication/arm-communication/src/communicationServiceManagementClient.ts b/sdk/communication/arm-communication/src/communicationServiceManagementClient.ts index 4e5cad89ba86..fc437ea41185 100644 --- a/sdk/communication/arm-communication/src/communicationServiceManagementClient.ts +++ b/sdk/communication/arm-communication/src/communicationServiceManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class CommunicationServiceManagementClient extends CommunicationServiceManagemen /** * Initializes a new instance of the CommunicationServiceManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.CommunicationServiceManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CommunicationServiceManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.communicationService = new operations.CommunicationService(this); diff --git a/sdk/communication/arm-communication/src/communicationServiceManagementClientContext.ts b/sdk/communication/arm-communication/src/communicationServiceManagementClientContext.ts index ffb1a34ea68c..ff2a71850cb3 100644 --- a/sdk/communication/arm-communication/src/communicationServiceManagementClientContext.ts +++ b/sdk/communication/arm-communication/src/communicationServiceManagementClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-communication"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class CommunicationServiceManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the CommunicationServiceManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.CommunicationServiceManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CommunicationServiceManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/README.md b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/README.md index c9a2b4280963..a826f14d137a 100644 --- a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/README.md +++ b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/README.md @@ -1,89 +1,100 @@ ## Azure ComputeManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ComputeManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ComputeManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-compute-profile-2019-03-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-compute-profile-2019-03-01-hybrid +npm install --save @azure/arm-compute-profile-2019-03-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ComputeManagementClient, ComputeManagementModels, ComputeManagementMappers } from "@azure/arm-compute-profile-2019-03-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ComputeManagementClient } = require("@azure/arm-compute-profile-2019-03-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ComputeManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ComputeManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-compute-profile-2019-03-01-hybrid sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcompute%2Farm-compute-profile-2019-03-01-hybrid%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/compute/arm-compute-profile-2019-03-01-hybrid/README.png) diff --git a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json index 2ad22338fb2d..196ec72599b6 100644 --- a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json +++ b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-compute-profile-2019-03-01-hybrid", "author": "Microsoft Corporation", "description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/computeManagementClient.js", "types": "./esm/computeManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/src/computeManagementClient.ts b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/src/computeManagementClient.ts index 7717ff363ef5..70faef5380b9 100644 --- a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/src/computeManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -36,12 +37,17 @@ class ComputeManagementClient extends ComputeManagementClientContext { /** * Initializes a new instance of the ComputeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ComputeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ComputeManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.availabilitySets = new operations.AvailabilitySets(this); diff --git a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/src/computeManagementClientContext.ts b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/src/computeManagementClientContext.ts index cb5d78ac19ed..a730670ee6b3 100644 --- a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/src/computeManagementClientContext.ts +++ b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/src/computeManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-compute-profile-2019-03-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ComputeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the ComputeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ComputeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ComputeManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/README.md b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/README.md index 0e725eab0838..7369c32125c9 100644 --- a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/README.md +++ b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure ComputeManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ComputeManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ComputeManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-compute-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-compute-profile-2020-09-01-hybrid +npm install --save @azure/arm-compute-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ComputeManagementClient, ComputeManagementModels, ComputeManagementMappers } from "@azure/arm-compute-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ComputeManagementClient } = require("@azure/arm-compute-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ComputeManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ComputeManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-compute-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json index 199abcf82637..70f0b176486a 100644 --- a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json +++ b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-compute-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "ComputeManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/computeManagementClient.js", "types": "./esm/computeManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/src/computeManagementClient.ts b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/src/computeManagementClient.ts index 9ae1d6a5cf1f..6ae60a09db8b 100644 --- a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/src/computeManagementClient.ts +++ b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/src/computeManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -42,12 +43,17 @@ class ComputeManagementClient extends ComputeManagementClientContext { /** * Initializes a new instance of the ComputeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ComputeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ComputeManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.availabilitySets = new operations.AvailabilitySets(this); diff --git a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/src/computeManagementClientContext.ts b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/src/computeManagementClientContext.ts index b85d0e4ded9e..325e1c725f7e 100644 --- a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/src/computeManagementClientContext.ts +++ b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/src/computeManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-compute-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ComputeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the ComputeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ComputeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ComputeManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/confluent/arm-confluent/README.md b/sdk/confluent/arm-confluent/README.md index 9ca2a62fcf35..41008e2f9e0c 100644 --- a/sdk/confluent/arm-confluent/README.md +++ b/sdk/confluent/arm-confluent/README.md @@ -1,89 +1,100 @@ ## Azure ConfluentManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ConfluentManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ConfluentManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-confluent` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-confluent +npm install --save @azure/arm-confluent @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list marketplaceAgreements as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list marketplaceAgreements as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { ConfluentManagementClient } = require("@azure/arm-confluent"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ConfluentManagementClient(creds, subscriptionId); - client.marketplaceAgreements.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ConfluentManagementClient(creds, subscriptionId); + +client.marketplaceAgreements.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list marketplaceAgreements as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list marketplaceAgreements as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-confluent sample - - + diff --git a/sdk/confluent/arm-confluent/package.json b/sdk/confluent/arm-confluent/package.json index 948efd97df24..c162f30e8f5e 100644 --- a/sdk/confluent/arm-confluent/package.json +++ b/sdk/confluent/arm-confluent/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-confluent", "author": "Microsoft Corporation", "description": "ConfluentManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/confluentManagementClient.js", "types": "./esm/confluentManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/confluent/arm-confluent/src/confluentManagementClient.ts b/sdk/confluent/arm-confluent/src/confluentManagementClient.ts index 60039d7957d1..fc7af6cbdb46 100644 --- a/sdk/confluent/arm-confluent/src/confluentManagementClient.ts +++ b/sdk/confluent/arm-confluent/src/confluentManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,12 +23,17 @@ class ConfluentManagementClient extends ConfluentManagementClientContext { /** * Initializes a new instance of the ConfluentManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Microsoft Azure subscription id * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ConfluentManagementClientOptions ) { diff --git a/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts b/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts index 8714f2bdeebd..e40c2e8002a2 100644 --- a/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts +++ b/sdk/confluent/arm-confluent/src/confluentManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-confluent"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class ConfluentManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the ConfluentManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Microsoft Azure subscription id * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ConfluentManagementClientOptions ) { diff --git a/sdk/consumption/arm-consumption/README.md b/sdk/consumption/arm-consumption/README.md index de366b0db722..f89dec55ae63 100644 --- a/sdk/consumption/arm-consumption/README.md +++ b/sdk/consumption/arm-consumption/README.md @@ -1,70 +1,78 @@ ## Azure ConsumptionManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ConsumptionManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ConsumptionManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-consumption` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-consumption +npm install --save @azure/arm-consumption @azure/identity ``` -### How to use +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. -#### nodejs - client creation and list usageDetails as an example written in TypeScript. +### How to use -##### Install @azure/ms-rest-nodeauth +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list usageDetails as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package - -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { ConsumptionManagementClient } = require("@azure/arm-consumption"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth - .interactiveLogin() - .then((creds) => { - const client = new ConsumptionManagementClient(creds, subscriptionId); - const expand = "testexpand"; - const filter = "testfilter"; - const skiptoken = "testskiptoken"; - const top = 1; - const apply = "testapply"; - client.usageDetails.list(expand, filter, skiptoken, top, apply).then((result) => { - console.log("The result is:"); - console.log(result); - }); - }) - .catch((err) => { - console.error(err); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ConsumptionManagementClient(creds, subscriptionId); +const expand = "testexpand"; +const filter = "testfilter"; +const skiptoken = "testskiptoken"; +const top = 1; +const apply = "testapply"; +client.usageDetails.list(expand, filter, skiptoken, top, apply).then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` -#### browser - Authentication, client creation and list usageDetails as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list usageDetails as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html ```html @@ -72,40 +80,30 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-consumption sample - - + diff --git a/sdk/consumption/arm-consumption/package.json b/sdk/consumption/arm-consumption/package.json index 0630b1c7652d..d1928028ae1c 100644 --- a/sdk/consumption/arm-consumption/package.json +++ b/sdk/consumption/arm-consumption/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-consumption", "author": "Microsoft Corporation", "description": "ConsumptionManagementClient Library with typescript type definitions for node.js and browser.", - "version": "7.0.0", + "version": "7.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/consumptionManagementClient.js", "types": "./esm/consumptionManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/consumption/arm-consumption/src/consumptionManagementClient.ts b/sdk/consumption/arm-consumption/src/consumptionManagementClient.ts index b22a01878ab6..d9b9c1705ca0 100644 --- a/sdk/consumption/arm-consumption/src/consumptionManagementClient.ts +++ b/sdk/consumption/arm-consumption/src/consumptionManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -32,12 +33,17 @@ class ConsumptionManagementClient extends ConsumptionManagementClientContext { /** * Initializes a new instance of the ConsumptionManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ConsumptionManagementClientOptions ) { diff --git a/sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts b/sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts index 3a780eadfee0..072c5c28af97 100644 --- a/sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts +++ b/sdk/consumption/arm-consumption/src/consumptionManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-consumption"; -const packageVersion = "7.0.0"; +const packageVersion = "7.1.0"; export class ConsumptionManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the ConsumptionManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ConsumptionManagementClientOptions ) { diff --git a/sdk/containerinstance/arm-containerinstance/README.md b/sdk/containerinstance/arm-containerinstance/README.md index 8dc6a1b42563..3cd6f8bf240c 100644 --- a/sdk/containerinstance/arm-containerinstance/README.md +++ b/sdk/containerinstance/arm-containerinstance/README.md @@ -1,89 +1,100 @@ ## Azure ContainerInstanceManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ContainerInstanceManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ContainerInstanceManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-containerinstance` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-containerinstance +npm install --save @azure/arm-containerinstance @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list containerGroups as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list containerGroups as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { ContainerInstanceManagementClient } = require("@azure/arm-containerinstance"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ContainerInstanceManagementClient(creds, subscriptionId); - client.containerGroups.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ContainerInstanceManagementClient(creds, subscriptionId); + +client.containerGroups.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list containerGroups as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list containerGroups as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-containerinstance sample - - + diff --git a/sdk/containerinstance/arm-containerinstance/package.json b/sdk/containerinstance/arm-containerinstance/package.json index d838e3794d2d..79fcc23fb81d 100644 --- a/sdk/containerinstance/arm-containerinstance/package.json +++ b/sdk/containerinstance/arm-containerinstance/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-containerinstance", "author": "Microsoft Corporation", "description": "ContainerInstanceManagementClient Library with typescript type definitions for node.js and browser.", - "version": "6.1.0", + "version": "6.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/containerInstanceManagementClient.js", "types": "./esm/containerInstanceManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/containerinstance/arm-containerinstance/src/containerInstanceManagementClient.ts b/sdk/containerinstance/arm-containerinstance/src/containerInstanceManagementClient.ts index 0fb60a54b53e..fd8bb11807b4 100644 --- a/sdk/containerinstance/arm-containerinstance/src/containerInstanceManagementClient.ts +++ b/sdk/containerinstance/arm-containerinstance/src/containerInstanceManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,12 +24,17 @@ class ContainerInstanceManagementClient extends ContainerInstanceManagementClien /** * Initializes a new instance of the ContainerInstanceManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ContainerInstanceManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerInstanceManagementClientOptions) { super(credentials, subscriptionId, options); this.containerGroups = new operations.ContainerGroups(this); this.operations = new operations.Operations(this); diff --git a/sdk/containerinstance/arm-containerinstance/src/containerInstanceManagementClientContext.ts b/sdk/containerinstance/arm-containerinstance/src/containerInstanceManagementClientContext.ts index c86399f5c7ea..dac70a4356bd 100644 --- a/sdk/containerinstance/arm-containerinstance/src/containerInstanceManagementClientContext.ts +++ b/sdk/containerinstance/arm-containerinstance/src/containerInstanceManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-containerinstance"; -const packageVersion = "6.1.0"; +const packageVersion = "6.2.0"; export class ContainerInstanceManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ContainerInstanceManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ContainerInstanceManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerInstanceManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/containerregistry/arm-containerregistry/README.md b/sdk/containerregistry/arm-containerregistry/README.md index 2afe51005264..f4fd8ab3ba79 100644 --- a/sdk/containerregistry/arm-containerregistry/README.md +++ b/sdk/containerregistry/arm-containerregistry/README.md @@ -1,96 +1,105 @@ ## Azure ContainerRegistryManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ContainerRegistryManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ContainerRegistryManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-containerregistry` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-containerregistry +npm install --save @azure/arm-containerregistry @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get exportPipelines as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get exportPipelines as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ContainerRegistryManagementClient, ContainerRegistryManagementModels, ContainerRegistryManagementMappers } from "@azure/arm-containerregistry"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ContainerRegistryManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const registryName = "testregistryName"; - const exportPipelineName = "testexportPipelineName"; - client.exportPipelines.get(resourceGroupName, registryName, exportPipelineName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ContainerRegistryManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const registryName = "testregistryName"; +const exportPipelineName = "testexportPipelineName"; +client.exportPipelines.get(resourceGroupName, registryName, exportPipelineName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get exportPipelines as an example written in JavaScript. +#### browser - Authentication, client creation, and get exportPipelines as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-containerregistry sample - - + diff --git a/sdk/containerregistry/arm-containerregistry/package.json b/sdk/containerregistry/arm-containerregistry/package.json index f97ea35d7d71..fb2c5594ce96 100644 --- a/sdk/containerregistry/arm-containerregistry/package.json +++ b/sdk/containerregistry/arm-containerregistry/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-containerregistry", "author": "Microsoft Corporation", "description": "ContainerRegistryManagementClient Library with typescript type definitions for node.js and browser.", - "version": "8.0.0", + "version": "8.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/containerRegistryManagementClient.js", "types": "./esm/containerRegistryManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts b/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts index 19afb901c50b..0a3143427278 100644 --- a/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts +++ b/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -34,11 +35,16 @@ class ContainerRegistryManagementClient extends ContainerRegistryManagementClien /** * Initializes a new instance of the ContainerRegistryManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Microsoft Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ContainerRegistryManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerRegistryManagementClientOptions) { super(credentials, subscriptionId, options); this.exportPipelines = new operations.ExportPipelines(this); this.registries = new operations.Registries(this); diff --git a/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClientContext.ts b/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClientContext.ts index a0016e0583e5..9ad2845a5a15 100644 --- a/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClientContext.ts +++ b/sdk/containerregistry/arm-containerregistry/src/containerRegistryManagementClientContext.ts @@ -10,22 +10,28 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-containerregistry"; -const packageVersion = "8.0.0"; +const packageVersion = "8.1.0"; export class ContainerRegistryManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the ContainerRegistryManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Microsoft Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ContainerRegistryManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerRegistryManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/containerservice/arm-containerservice/README.md b/sdk/containerservice/arm-containerservice/README.md index ba129c1f3b94..5c707f9dbfdc 100644 --- a/sdk/containerservice/arm-containerservice/README.md +++ b/sdk/containerservice/arm-containerservice/README.md @@ -1,89 +1,100 @@ ## Azure ContainerServiceClient SDK for JavaScript -This package contains an isomorphic SDK for ContainerServiceClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ContainerServiceClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-containerservice` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-containerservice +npm install --save @azure/arm-containerservice @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { ContainerServiceClient } = require("@azure/arm-containerservice"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ContainerServiceClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ContainerServiceClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-containerservice sample - - + diff --git a/sdk/containerservice/arm-containerservice/package.json b/sdk/containerservice/arm-containerservice/package.json index abdfbf9dae1d..77ccc2090831 100644 --- a/sdk/containerservice/arm-containerservice/package.json +++ b/sdk/containerservice/arm-containerservice/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-containerservice", "author": "Microsoft Corporation", "description": "ContainerServiceClient Library with typescript type definitions for node.js and browser.", - "version": "13.2.0", + "version": "13.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/containerServiceClient.js", "types": "./esm/containerServiceClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts index 6997e3ab5ce7..244f833d630c 100644 --- a/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts +++ b/sdk/containerservice/arm-containerservice/src/containerServiceClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -26,12 +27,17 @@ class ContainerServiceClient extends ContainerServiceClientContext { /** * Initializes a new instance of the ContainerServiceClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ContainerServiceClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerServiceClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.managedClusters = new operations.ManagedClusters(this); diff --git a/sdk/containerservice/arm-containerservice/src/containerServiceClientContext.ts b/sdk/containerservice/arm-containerservice/src/containerServiceClientContext.ts index 5e6112ec9cca..931b9efe6aa0 100644 --- a/sdk/containerservice/arm-containerservice/src/containerServiceClientContext.ts +++ b/sdk/containerservice/arm-containerservice/src/containerServiceClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-containerservice"; -const packageVersion = "13.2.0"; +const packageVersion = "13.3.0"; export class ContainerServiceClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ContainerServiceClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ContainerServiceClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ContainerServiceClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/customer-insights/arm-customerinsights/README.md b/sdk/customer-insights/arm-customerinsights/README.md index 4c0674371b16..fca618f3fd17 100644 --- a/sdk/customer-insights/arm-customerinsights/README.md +++ b/sdk/customer-insights/arm-customerinsights/README.md @@ -1,89 +1,100 @@ ## Azure CustomerInsightsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for CustomerInsightsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for CustomerInsightsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-customerinsights +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-customerinsights` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-customerinsights @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { CustomerInsightsManagementClient, CustomerInsightsManagementModels, CustomerInsightsManagementMappers } from "@azure/arm-customerinsights"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { CustomerInsightsManagementClient } = require("@azure/arm-customerinsights"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new CustomerInsightsManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new CustomerInsightsManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-customerinsights sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcustomer-insights%2Farm-customerinsights%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/customer-insights/arm-customerinsights/README.png) diff --git a/sdk/customer-insights/arm-customerinsights/package.json b/sdk/customer-insights/arm-customerinsights/package.json index 8da0aaac415b..89b51667d0dc 100644 --- a/sdk/customer-insights/arm-customerinsights/package.json +++ b/sdk/customer-insights/arm-customerinsights/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-customerinsights", "author": "Microsoft Corporation", "description": "CustomerInsightsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "3.1.0", + "version": "3.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/customerInsightsManagementClient.js", "types": "./esm/customerInsightsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/customer-insights/arm-customerinsights/src/customerInsightsManagementClient.ts b/sdk/customer-insights/arm-customerinsights/src/customerInsightsManagementClient.ts index 756b2eaa4155..6222dfec17cc 100644 --- a/sdk/customer-insights/arm-customerinsights/src/customerInsightsManagementClient.ts +++ b/sdk/customer-insights/arm-customerinsights/src/customerInsightsManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -37,12 +38,17 @@ class CustomerInsightsManagementClient extends CustomerInsightsManagementClientC /** * Initializes a new instance of the CustomerInsightsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.CustomerInsightsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CustomerInsightsManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.hubs = new operations.Hubs(this); diff --git a/sdk/customer-insights/arm-customerinsights/src/customerInsightsManagementClientContext.ts b/sdk/customer-insights/arm-customerinsights/src/customerInsightsManagementClientContext.ts index 90b220dba9bb..056ca9a3d8fd 100644 --- a/sdk/customer-insights/arm-customerinsights/src/customerInsightsManagementClientContext.ts +++ b/sdk/customer-insights/arm-customerinsights/src/customerInsightsManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-customerinsights"; -const packageVersion = "0.1.0"; +const packageVersion = "3.2.0"; export class CustomerInsightsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the CustomerInsightsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.CustomerInsightsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CustomerInsightsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/databox/arm-databox/README.md b/sdk/databox/arm-databox/README.md index 4a3b8f3d1504..da15b9671dab 100644 --- a/sdk/databox/arm-databox/README.md +++ b/sdk/databox/arm-databox/README.md @@ -1,90 +1,100 @@ ## Azure DataBoxManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DataBoxManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DataBoxManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-databox` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-databox +npm install --save @azure/arm-databox @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DataBoxManagementClient, DataBoxManagementModels, DataBoxManagementMappers } from "@azure/arm-databox"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DataBoxManagementClient } = require("@azure/arm-databox"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DataBoxManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DataBoxManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-databox sample - - + diff --git a/sdk/databox/arm-databox/package.json b/sdk/databox/arm-databox/package.json index 4609f88a04ca..b36129702a4b 100644 --- a/sdk/databox/arm-databox/package.json +++ b/sdk/databox/arm-databox/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-databox", "author": "Microsoft Corporation", "description": "DataBoxManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dataBoxManagementClient.js", "types": "./esm/dataBoxManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/databox/arm-databox/src/dataBoxManagementClient.ts b/sdk/databox/arm-databox/src/dataBoxManagementClient.ts index f602142b81a6..ef58e9ba9067 100644 --- a/sdk/databox/arm-databox/src/dataBoxManagementClient.ts +++ b/sdk/databox/arm-databox/src/dataBoxManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,11 +24,16 @@ class DataBoxManagementClient extends DataBoxManagementClientContext { /** * Initializes a new instance of the DataBoxManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Subscription Id * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataBoxManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataBoxManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.jobs = new operations.Jobs(this); diff --git a/sdk/databox/arm-databox/src/dataBoxManagementClientContext.ts b/sdk/databox/arm-databox/src/dataBoxManagementClientContext.ts index c96e85eca2a9..dd8008144963 100644 --- a/sdk/databox/arm-databox/src/dataBoxManagementClientContext.ts +++ b/sdk/databox/arm-databox/src/dataBoxManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-databox"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class DataBoxManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the DataBoxManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Subscription Id * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataBoxManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataBoxManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/README.md b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/README.md index de4e81764af3..ce1d3af84c2d 100644 --- a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/README.md +++ b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure DataBoxEdgeManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DataBoxEdgeManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DataBoxEdgeManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-databoxedge-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-databoxedge-profile-2020-09-01-hybrid +npm install --save @azure/arm-databoxedge-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DataBoxEdgeManagementClient, DataBoxEdgeManagementModels, DataBoxEdgeManagementMappers } from "@azure/arm-databoxedge-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DataBoxEdgeManagementClient } = require("@azure/arm-databoxedge-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DataBoxEdgeManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DataBoxEdgeManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-databoxedge-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/package.json b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/package.json index b2dfc62b4175..b3376a9cd60b 100644 --- a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/package.json +++ b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-databoxedge-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "DataBoxEdgeManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dataBoxEdgeManagementClient.js", "types": "./esm/dataBoxEdgeManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/src/dataBoxEdgeManagementClient.ts b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/src/dataBoxEdgeManagementClient.ts index eb7d557efa73..5c59037970dc 100644 --- a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/src/dataBoxEdgeManagementClient.ts +++ b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/src/dataBoxEdgeManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -36,11 +37,16 @@ class DataBoxEdgeManagementClient extends DataBoxEdgeManagementClientContext { /** * Initializes a new instance of the DataBoxEdgeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.devices = new operations.Devices(this); diff --git a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/src/dataBoxEdgeManagementClientContext.ts b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/src/dataBoxEdgeManagementClientContext.ts index fe065c028fa0..5c2a8b6738ca 100644 --- a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/src/dataBoxEdgeManagementClientContext.ts +++ b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/src/dataBoxEdgeManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-databoxedge-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class DataBoxEdgeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the DataBoxEdgeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/databoxedge/arm-databoxedge/README.md b/sdk/databoxedge/arm-databoxedge/README.md index a577fd2649c4..53816f7385fa 100644 --- a/sdk/databoxedge/arm-databoxedge/README.md +++ b/sdk/databoxedge/arm-databoxedge/README.md @@ -1,90 +1,100 @@ ## Azure DataBoxEdgeManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DataBoxEdgeManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DataBoxEdgeManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-databoxedge` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-databoxedge +npm install --save @azure/arm-databoxedge @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DataBoxEdgeManagementClient, DataBoxEdgeManagementModels, DataBoxEdgeManagementMappers } from "@azure/arm-databoxedge"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DataBoxEdgeManagementClient } = require("@azure/arm-databoxedge"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DataBoxEdgeManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DataBoxEdgeManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-databoxedge sample - - + diff --git a/sdk/databoxedge/arm-databoxedge/package.json b/sdk/databoxedge/arm-databoxedge/package.json index db93e4ac2bfd..2015769b0aa7 100644 --- a/sdk/databoxedge/arm-databoxedge/package.json +++ b/sdk/databoxedge/arm-databoxedge/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-databoxedge", "author": "Microsoft Corporation", "description": "DataBoxEdgeManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dataBoxEdgeManagementClient.js", "types": "./esm/dataBoxEdgeManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.ts b/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.ts index eb7d557efa73..5c59037970dc 100644 --- a/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.ts +++ b/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -36,11 +37,16 @@ class DataBoxEdgeManagementClient extends DataBoxEdgeManagementClientContext { /** * Initializes a new instance of the DataBoxEdgeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.devices = new operations.Devices(this); diff --git a/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.ts b/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.ts index 64e905bd34e6..de420a60aa07 100644 --- a/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.ts +++ b/sdk/databoxedge/arm-databoxedge/src/dataBoxEdgeManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-databoxedge"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class DataBoxEdgeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the DataBoxEdgeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/datacatalog/arm-datacatalog/README.md b/sdk/datacatalog/arm-datacatalog/README.md index f8e46fc91566..bfe24b08786b 100644 --- a/sdk/datacatalog/arm-datacatalog/README.md +++ b/sdk/datacatalog/arm-datacatalog/README.md @@ -1,89 +1,100 @@ ## Azure DataCatalogRestClient SDK for JavaScript -This package contains an isomorphic SDK for DataCatalogRestClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DataCatalogRestClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-datacatalog +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-datacatalog` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-datacatalog @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list aDCOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list aDCOperations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DataCatalogRestClient, DataCatalogRestModels, DataCatalogRestMappers } from "@azure/arm-datacatalog"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DataCatalogRestClient } = require("@azure/arm-datacatalog"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DataCatalogRestClient(creds, subscriptionId); - client.aDCOperations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DataCatalogRestClient(creds, subscriptionId); + +client.aDCOperations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list aDCOperations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list aDCOperations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-datacatalog sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdatacatalog%2Farm-datacatalog%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/datacatalog/arm-datacatalog/README.png) diff --git a/sdk/datacatalog/arm-datacatalog/package.json b/sdk/datacatalog/arm-datacatalog/package.json index a6156ca2efa3..ddfea4198254 100644 --- a/sdk/datacatalog/arm-datacatalog/package.json +++ b/sdk/datacatalog/arm-datacatalog/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-datacatalog", "author": "Microsoft Corporation", "description": "DataCatalogRestClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dataCatalogRestClient.js", "types": "./esm/dataCatalogRestClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/datacatalog/arm-datacatalog/src/dataCatalogRestClient.ts b/sdk/datacatalog/arm-datacatalog/src/dataCatalogRestClient.ts index 4aa9c94fa9ea..81ff23bff504 100644 --- a/sdk/datacatalog/arm-datacatalog/src/dataCatalogRestClient.ts +++ b/sdk/datacatalog/arm-datacatalog/src/dataCatalogRestClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,13 +23,18 @@ class DataCatalogRestClient extends DataCatalogRestClientContext { /** * Initializes a new instance of the DataCatalogRestClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param catalogName The name of the data catlog in the specified subscription and resource group. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, catalogName: string, options?: Models.DataCatalogRestClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, catalogName: string, options?: Models.DataCatalogRestClientOptions) { super(credentials, subscriptionId, catalogName, options); this.aDCOperations = new operations.ADCOperations(this); this.aDCCatalogs = new operations.ADCCatalogs(this); diff --git a/sdk/datacatalog/arm-datacatalog/src/dataCatalogRestClientContext.ts b/sdk/datacatalog/arm-datacatalog/src/dataCatalogRestClientContext.ts index 625a2fd045b7..80b966832bdc 100644 --- a/sdk/datacatalog/arm-datacatalog/src/dataCatalogRestClientContext.ts +++ b/sdk/datacatalog/arm-datacatalog/src/dataCatalogRestClientContext.ts @@ -10,26 +10,32 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-datacatalog"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class DataCatalogRestClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; catalogName: string; /** * Initializes a new instance of the DataCatalogRestClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param catalogName The name of the data catlog in the specified subscription and resource group. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, catalogName: string, options?: Models.DataCatalogRestClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, catalogName: string, options?: Models.DataCatalogRestClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/datadog/arm-datadog/README.md b/sdk/datadog/arm-datadog/README.md index a20955120dc4..3896344cab4d 100644 --- a/sdk/datadog/arm-datadog/README.md +++ b/sdk/datadog/arm-datadog/README.md @@ -1,89 +1,100 @@ ## Azure MicrosoftDatadogClient SDK for JavaScript -This package contains an isomorphic SDK for MicrosoftDatadogClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MicrosoftDatadogClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-datadog` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-datadog +npm install --save @azure/arm-datadog @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list marketplaceAgreements as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list marketplaceAgreements as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { MicrosoftDatadogClient } = require("@azure/arm-datadog"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MicrosoftDatadogClient(creds, subscriptionId); - client.marketplaceAgreements.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MicrosoftDatadogClient(creds, subscriptionId); + +client.marketplaceAgreements.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list marketplaceAgreements as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list marketplaceAgreements as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-datadog sample - - + diff --git a/sdk/datadog/arm-datadog/package.json b/sdk/datadog/arm-datadog/package.json index b82c25bf66fd..b72d38cfd121 100644 --- a/sdk/datadog/arm-datadog/package.json +++ b/sdk/datadog/arm-datadog/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-datadog", "author": "Microsoft Corporation", "description": "MicrosoftDatadogClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/microsoftDatadogClient.js", "types": "./esm/microsoftDatadogClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/datadog/arm-datadog/src/microsoftDatadogClient.ts b/sdk/datadog/arm-datadog/src/microsoftDatadogClient.ts index 5098f57e6721..2bf92969c7a8 100644 --- a/sdk/datadog/arm-datadog/src/microsoftDatadogClient.ts +++ b/sdk/datadog/arm-datadog/src/microsoftDatadogClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,11 +25,16 @@ class MicrosoftDatadogClient extends MicrosoftDatadogClientContext { /** * Initializes a new instance of the MicrosoftDatadogClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftDatadogClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MicrosoftDatadogClientOptions) { super(credentials, subscriptionId, options); this.marketplaceAgreements = new operations.MarketplaceAgreements(this); this.monitors = new operations.Monitors(this); diff --git a/sdk/datadog/arm-datadog/src/microsoftDatadogClientContext.ts b/sdk/datadog/arm-datadog/src/microsoftDatadogClientContext.ts index 6c3e2a613997..098cb8df85c7 100644 --- a/sdk/datadog/arm-datadog/src/microsoftDatadogClientContext.ts +++ b/sdk/datadog/arm-datadog/src/microsoftDatadogClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-datadog"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class MicrosoftDatadogClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the MicrosoftDatadogClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MicrosoftDatadogClientOptions ) { diff --git a/sdk/datalake-analytics/arm-datalake-analytics/README.md b/sdk/datalake-analytics/arm-datalake-analytics/README.md index 79c4361896d1..d6f15d764fac 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/README.md +++ b/sdk/datalake-analytics/arm-datalake-analytics/README.md @@ -1,101 +1,111 @@ ## Azure DataLakeAnalyticsAccountManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DataLakeAnalyticsAccountManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DataLakeAnalyticsAccountManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-datalake-analytics` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-datalake-analytics +npm install --save @azure/arm-datalake-analytics @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list accounts as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list accounts as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { DataLakeAnalyticsAccountManagementClient } = require("@azure/arm-datalake-analytics"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DataLakeAnalyticsAccountManagementClient(creds, subscriptionId); - const filter = "testfilter"; - const top = 1; - const skip = 1; - const select = "testselect"; - const orderby = "testorderby"; - const count = true; - client.accounts.list(filter, top, skip, select, orderby, count).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DataLakeAnalyticsAccountManagementClient(creds, subscriptionId); +const filter = "testfilter"; +const top = 1; +const skip = 1; +const select = "testselect"; +const orderby = "testorderby"; +const count = true; +client.accounts.list(filter, top, skip, select, orderby, count).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list accounts as an example written in JavaScript. +#### browser - Authentication, client creation, and list accounts as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-datalake-analytics sample - - + diff --git a/sdk/datalake-analytics/arm-datalake-analytics/package.json b/sdk/datalake-analytics/arm-datalake-analytics/package.json index bc834bc3ef9e..2b5c2dc3b789 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/package.json +++ b/sdk/datalake-analytics/arm-datalake-analytics/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-datalake-analytics", "author": "Microsoft Corporation", "description": "DataLakeAnalyticsAccountManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dataLakeAnalyticsAccountManagementClient.js", "types": "./esm/dataLakeAnalyticsAccountManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClient.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClient.ts index a91597e62ced..9f5e7ff53f1e 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClient.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -26,12 +27,17 @@ class DataLakeAnalyticsAccountManagementClient extends DataLakeAnalyticsAccountM /** * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataLakeAnalyticsAccountManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataLakeAnalyticsAccountManagementClientOptions) { super(credentials, subscriptionId, options); this.accounts = new operations.Accounts(this); this.dataLakeStoreAccounts = new operations.DataLakeStoreAccounts(this); diff --git a/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClientContext.ts b/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClientContext.ts index 4e527da3fa69..748544f2f1e7 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClientContext.ts +++ b/sdk/datalake-analytics/arm-datalake-analytics/src/dataLakeAnalyticsAccountManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-datalake-analytics"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class DataLakeAnalyticsAccountManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the DataLakeAnalyticsAccountManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Get subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataLakeAnalyticsAccountManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataLakeAnalyticsAccountManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/datamigration/arm-datamigration/README.md b/sdk/datamigration/arm-datamigration/README.md index d6b3a84c59a5..6868b32fb3ef 100644 --- a/sdk/datamigration/arm-datamigration/README.md +++ b/sdk/datamigration/arm-datamigration/README.md @@ -1,90 +1,100 @@ ## Azure DataMigrationServiceClient SDK for JavaScript -This package contains an isomorphic SDK for DataMigrationServiceClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DataMigrationServiceClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-datamigration` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-datamigration +npm install --save @azure/arm-datamigration @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listSkus resourceSkus as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listSkus resourceSkus as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DataMigrationServiceClient, DataMigrationServiceModels, DataMigrationServiceMappers } from "@azure/arm-datamigration"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DataMigrationServiceClient } = require("@azure/arm-datamigration"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DataMigrationServiceClient(creds, subscriptionId); - client.resourceSkus.listSkus().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DataMigrationServiceClient(creds, subscriptionId); + +client.resourceSkus.listSkus().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listSkus resourceSkus as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and listSkus resourceSkus as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-datamigration sample - - + @@ -96,4 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdatamigration%2Farm-datamigration%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/datamigration/arm-datamigration/README.png) diff --git a/sdk/datamigration/arm-datamigration/package.json b/sdk/datamigration/arm-datamigration/package.json index f3836232e42b..a43508d985e7 100644 --- a/sdk/datamigration/arm-datamigration/package.json +++ b/sdk/datamigration/arm-datamigration/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-datamigration", "author": "Microsoft Corporation", "description": "DataMigrationServiceClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dataMigrationServiceClient.js", "types": "./esm/dataMigrationServiceClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClient.ts b/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClient.ts index 62d5230fee13..25396551b380 100644 --- a/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClient.ts +++ b/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -28,11 +29,16 @@ class DataMigrationServiceClient extends DataMigrationServiceClientContext { /** * Initializes a new instance of the DataMigrationServiceClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Identifier of the subscription * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataMigrationServiceClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataMigrationServiceClientOptions) { super(credentials, subscriptionId, options); this.resourceSkus = new operations.ResourceSkus(this); this.services = new operations.Services(this); diff --git a/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClientContext.ts b/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClientContext.ts index 6a0937753ff2..69901d9c9581 100644 --- a/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClientContext.ts +++ b/sdk/datamigration/arm-datamigration/src/dataMigrationServiceClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-datamigration"; -const packageVersion = "1.0.1"; +const packageVersion = "2.1.0"; export class DataMigrationServiceClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the DataMigrationServiceClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Identifier of the subscription * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataMigrationServiceClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataMigrationServiceClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/deploymentmanager/arm-deploymentmanager/README.md b/sdk/deploymentmanager/arm-deploymentmanager/README.md index a3a985772bf3..1e3949dc85e0 100644 --- a/sdk/deploymentmanager/arm-deploymentmanager/README.md +++ b/sdk/deploymentmanager/arm-deploymentmanager/README.md @@ -1,94 +1,103 @@ ## Azure AzureDeploymentManager SDK for JavaScript -This package contains an isomorphic SDK for AzureDeploymentManager. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureDeploymentManager. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-deploymentmanager` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-deploymentmanager +npm install --save @azure/arm-deploymentmanager @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get serviceTopologies as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get serviceTopologies as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AzureDeploymentManager, AzureDeploymentManagerModels, AzureDeploymentManagerMappers } from "@azure/arm-deploymentmanager"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AzureDeploymentManager } = require("@azure/arm-deploymentmanager"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureDeploymentManager(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const serviceTopologyName = "testserviceTopologyName"; - client.serviceTopologies.get(resourceGroupName, serviceTopologyName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureDeploymentManager(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const serviceTopologyName = "testserviceTopologyName"; +client.serviceTopologies.get(resourceGroupName, serviceTopologyName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get serviceTopologies as an example written in JavaScript. +#### browser - Authentication, client creation, and get serviceTopologies as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-deploymentmanager sample - - + diff --git a/sdk/deploymentmanager/arm-deploymentmanager/package.json b/sdk/deploymentmanager/arm-deploymentmanager/package.json index 9f1b9483e37f..90ff4f703456 100644 --- a/sdk/deploymentmanager/arm-deploymentmanager/package.json +++ b/sdk/deploymentmanager/arm-deploymentmanager/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-deploymentmanager", "author": "Microsoft Corporation", "description": "AzureDeploymentManager Library with typescript type definitions for node.js and browser.", - "version": "3.0.0", + "version": "3.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureDeploymentManager.js", "types": "./esm/azureDeploymentManager.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManager.ts b/sdk/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManager.ts index f948ddd290cd..d45c245be8ee 100644 --- a/sdk/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManager.ts +++ b/sdk/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManager.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -27,12 +28,17 @@ class AzureDeploymentManager extends AzureDeploymentManagerContext { /** * Initializes a new instance of the AzureDeploymentManager class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureDeploymentManagerOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureDeploymentManagerOptions) { super(credentials, subscriptionId, options); this.serviceTopologies = new operations.ServiceTopologies(this); this.services = new operations.Services(this); diff --git a/sdk/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManagerContext.ts b/sdk/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManagerContext.ts index 397f56cb3595..fb0ea8f030d6 100644 --- a/sdk/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManagerContext.ts +++ b/sdk/deploymentmanager/arm-deploymentmanager/src/azureDeploymentManagerContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-deploymentmanager"; -const packageVersion = "3.0.0"; +const packageVersion = "3.1.0"; export class AzureDeploymentManagerContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureDeploymentManager class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureDeploymentManagerOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureDeploymentManagerOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/README.md b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/README.md index a3ee467ae318..4338b81b9f77 100644 --- a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/README.md +++ b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/README.md @@ -1,89 +1,100 @@ ## Azure IotDpsClient SDK for JavaScript -This package contains an isomorphic SDK for IotDpsClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for IotDpsClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-deviceprovisioningservices +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-deviceprovisioningservices` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-deviceprovisioningservices @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { IotDpsClient, IotDpsModels, IotDpsMappers } from "@azure/arm-deviceprovisioningservices"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { IotDpsClient } = require("@azure/arm-deviceprovisioningservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new IotDpsClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new IotDpsClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-deviceprovisioningservices sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdeviceprovisioningservices%2Farm-deviceprovisioningservices%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/README.png) diff --git a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json index a1f070d5456d..bbca9abf56cb 100644 --- a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json +++ b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-deviceprovisioningservices", "author": "Microsoft Corporation", "description": "IotDpsClient Library with typescript type definitions for node.js and browser.", - "version": "2.1.0", + "version": "2.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/iotDpsClient.js", "types": "./esm/iotDpsClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/src/iotDpsClient.ts b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/src/iotDpsClient.ts index b5b09d14c58d..12a7443f5b95 100644 --- a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/src/iotDpsClient.ts +++ b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/src/iotDpsClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,11 +24,16 @@ class IotDpsClient extends IotDpsClientContext { /** * Initializes a new instance of the IotDpsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.IotDpsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IotDpsClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.dpsCertificate = new operations.DpsCertificate(this); diff --git a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/src/iotDpsClientContext.ts b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/src/iotDpsClientContext.ts index 48146b6d20a3..c331f7277b8e 100644 --- a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/src/iotDpsClientContext.ts +++ b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/src/iotDpsClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-deviceprovisioningservices"; -const packageVersion = "0.1.0"; +const packageVersion = "2.2.0"; export class IotDpsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the IotDpsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.IotDpsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IotDpsClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/devspaces/arm-devspaces/README.md b/sdk/devspaces/arm-devspaces/README.md index 5f5f691cba70..1f4b6113bdda 100644 --- a/sdk/devspaces/arm-devspaces/README.md +++ b/sdk/devspaces/arm-devspaces/README.md @@ -1,93 +1,103 @@ ## Azure DevSpacesManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DevSpacesManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DevSpacesManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-devspaces +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-devspaces` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-devspaces @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get controllers as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get controllers as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DevSpacesManagementClient, DevSpacesManagementModels, DevSpacesManagementMappers } from "@azure/arm-devspaces"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DevSpacesManagementClient } = require("@azure/arm-devspaces"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DevSpacesManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const name = "testname"; - client.controllers.get(resourceGroupName, name).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DevSpacesManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const name = "testname"; +client.controllers.get(resourceGroupName, name).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get controllers as an example written in JavaScript. +#### browser - Authentication, client creation, and get controllers as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-devspaces sample - - + @@ -99,5 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdevspaces%2Farm-devspaces%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/devspaces/arm-devspaces/README.png) diff --git a/sdk/devspaces/arm-devspaces/package.json b/sdk/devspaces/arm-devspaces/package.json index 186018c67a51..f03e14c74c35 100644 --- a/sdk/devspaces/arm-devspaces/package.json +++ b/sdk/devspaces/arm-devspaces/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-devspaces", "author": "Microsoft Corporation", "description": "DevSpacesManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/devSpacesManagementClient.js", "types": "./esm/devSpacesManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/devspaces/arm-devspaces/src/devSpacesManagementClient.ts b/sdk/devspaces/arm-devspaces/src/devSpacesManagementClient.ts index be116e003310..e01c000e3052 100644 --- a/sdk/devspaces/arm-devspaces/src/devSpacesManagementClient.ts +++ b/sdk/devspaces/arm-devspaces/src/devSpacesManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,11 +24,16 @@ class DevSpacesManagementClient extends DevSpacesManagementClientContext { /** * Initializes a new instance of the DevSpacesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DevSpacesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DevSpacesManagementClientOptions) { super(credentials, subscriptionId, options); this.containerHostMappings = new operations.ContainerHostMappings(this); this.controllers = new operations.Controllers(this); diff --git a/sdk/devspaces/arm-devspaces/src/devSpacesManagementClientContext.ts b/sdk/devspaces/arm-devspaces/src/devSpacesManagementClientContext.ts index 1369a6260a07..b2b8060c0769 100644 --- a/sdk/devspaces/arm-devspaces/src/devSpacesManagementClientContext.ts +++ b/sdk/devspaces/arm-devspaces/src/devSpacesManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-devspaces"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class DevSpacesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the DevSpacesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DevSpacesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DevSpacesManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/devtestlabs/arm-devtestlabs/README.md b/sdk/devtestlabs/arm-devtestlabs/README.md index f00489748b4a..884a722c47aa 100644 --- a/sdk/devtestlabs/arm-devtestlabs/README.md +++ b/sdk/devtestlabs/arm-devtestlabs/README.md @@ -1,89 +1,100 @@ ## Azure DevTestLabsClient SDK for JavaScript -This package contains an isomorphic SDK for DevTestLabsClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DevTestLabsClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-devtestlabs` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-devtestlabs +npm install --save @azure/arm-devtestlabs @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list providerOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list providerOperations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DevTestLabsClient, DevTestLabsModels, DevTestLabsMappers } from "@azure/arm-devtestlabs"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DevTestLabsClient } = require("@azure/arm-devtestlabs"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DevTestLabsClient(creds, subscriptionId); - client.providerOperations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DevTestLabsClient(creds, subscriptionId); + +client.providerOperations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list providerOperations as an example written in JavaScript. +#### browser - Authentication, client creation, and list providerOperations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-devtestlabs sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdevtestlabs%2Farm-devtestlabs%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/devtestlabs/arm-devtestlabs/README.png) diff --git a/sdk/devtestlabs/arm-devtestlabs/package.json b/sdk/devtestlabs/arm-devtestlabs/package.json index bbe78efddd6d..28853c7a5ef9 100644 --- a/sdk/devtestlabs/arm-devtestlabs/package.json +++ b/sdk/devtestlabs/arm-devtestlabs/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-devtestlabs", "author": "Microsoft Corporation", "description": "DevTestLabsClient Library with typescript type definitions for node.js and browser.", - "version": "3.2.0", + "version": "3.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.1", - "@azure/ms-rest-js": "^1.2.6", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/devTestLabsClient.js", "types": "./esm/devTestLabsClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts index 3661410b1c1e..d65f2ffacb1f 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -45,11 +46,16 @@ class DevTestLabsClient extends DevTestLabsClientContext { /** * Initializes a new instance of the DevTestLabsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DevTestLabsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DevTestLabsClientOptions) { super(credentials, subscriptionId, options); this.providerOperations = new operations.ProviderOperations(this); this.labs = new operations.Labs(this); diff --git a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts index 4ea49aa18b6a..b0b4ead147db 100644 --- a/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts +++ b/sdk/devtestlabs/arm-devtestlabs/src/devTestLabsClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-devtestlabs"; -const packageVersion = "1.0.0"; +const packageVersion = "3.3.0"; export class DevTestLabsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the DevTestLabsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DevTestLabsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DevTestLabsClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/digitaltwins/arm-digitaltwins/README.md b/sdk/digitaltwins/arm-digitaltwins/README.md index 0f74fb4e79d7..48d9191e17e0 100644 --- a/sdk/digitaltwins/arm-digitaltwins/README.md +++ b/sdk/digitaltwins/arm-digitaltwins/README.md @@ -1,93 +1,103 @@ ## Azure AzureDigitalTwinsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AzureDigitalTwinsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureDigitalTwinsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-digitaltwins` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-digitaltwins +npm install --save @azure/arm-digitaltwins @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get digitalTwins as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get digitalTwins as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { AzureDigitalTwinsManagementClient } = require("@azure/arm-digitaltwins"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureDigitalTwinsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const resourceName = "testresourceName"; - client.digitalTwins.get(resourceGroupName, resourceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureDigitalTwinsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const resourceName = "testresourceName"; +client.digitalTwins.get(resourceGroupName, resourceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get digitalTwins as an example written in JavaScript. +#### browser - Authentication, client creation, and get digitalTwins as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-digitaltwins sample - - + diff --git a/sdk/digitaltwins/arm-digitaltwins/package.json b/sdk/digitaltwins/arm-digitaltwins/package.json index dd9176307257..6aacd298921d 100644 --- a/sdk/digitaltwins/arm-digitaltwins/package.json +++ b/sdk/digitaltwins/arm-digitaltwins/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-digitaltwins", "author": "Microsoft Corporation", "description": "AzureDigitalTwinsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureDigitalTwinsManagementClient.js", "types": "./esm/azureDigitalTwinsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/digitaltwins/arm-digitaltwins/src/azureDigitalTwinsManagementClient.ts b/sdk/digitaltwins/arm-digitaltwins/src/azureDigitalTwinsManagementClient.ts index a2c8ab2fc8ab..9a9bf51be733 100644 --- a/sdk/digitaltwins/arm-digitaltwins/src/azureDigitalTwinsManagementClient.ts +++ b/sdk/digitaltwins/arm-digitaltwins/src/azureDigitalTwinsManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,11 +25,16 @@ class AzureDigitalTwinsManagementClient extends AzureDigitalTwinsManagementClien /** * Initializes a new instance of the AzureDigitalTwinsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureDigitalTwinsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureDigitalTwinsManagementClientOptions) { super(credentials, subscriptionId, options); this.digitalTwins = new operations.DigitalTwins(this); this.digitalTwinsEndpoint = new operations.DigitalTwinsEndpoint(this); diff --git a/sdk/digitaltwins/arm-digitaltwins/src/azureDigitalTwinsManagementClientContext.ts b/sdk/digitaltwins/arm-digitaltwins/src/azureDigitalTwinsManagementClientContext.ts index be8bdb2c9c96..ee784856c160 100644 --- a/sdk/digitaltwins/arm-digitaltwins/src/azureDigitalTwinsManagementClientContext.ts +++ b/sdk/digitaltwins/arm-digitaltwins/src/azureDigitalTwinsManagementClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-digitaltwins"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class AzureDigitalTwinsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureDigitalTwinsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureDigitalTwinsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureDigitalTwinsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/README.md b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/README.md index 76c4e0b8ac49..2154ff925b42 100644 --- a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/README.md +++ b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/README.md @@ -1,97 +1,107 @@ ## Azure DnsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DnsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DnsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-dns-profile-2019-03-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-dns-profile-2019-03-01-hybrid +npm install --save @azure/arm-dns-profile-2019-03-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get recordSets as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get recordSets as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DnsManagementClient, DnsManagementModels, DnsManagementMappers } from "@azure/arm-dns-profile-2019-03-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DnsManagementClient } = require("@azure/arm-dns-profile-2019-03-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DnsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const zoneName = "testzoneName"; - const relativeRecordSetName = "testrelativeRecordSetName"; - const recordType = "A"; - client.recordSets.get(resourceGroupName, zoneName, relativeRecordSetName, recordType).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DnsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const zoneName = "testzoneName"; +const relativeRecordSetName = "testrelativeRecordSetName"; +const recordType = "A"; +client.recordSets.get(resourceGroupName, zoneName, relativeRecordSetName, recordType).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get recordSets as an example written in JavaScript. +#### browser - Authentication, client creation, and get recordSets as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-dns-profile-2019-03-01-hybrid sample - - + @@ -103,5 +113,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdns%2Farm-dns-profile-2019-03-01-hybrid%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/dns/arm-dns-profile-2019-03-01-hybrid/README.png) diff --git a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json index dbd3f9650f7e..b56a0ef5a27f 100644 --- a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json +++ b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-dns-profile-2019-03-01-hybrid", "author": "Microsoft Corporation", "description": "DnsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/dnsManagementClient.js", "types": "./esm/dnsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/src/dnsManagementClient.ts b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/src/dnsManagementClient.ts index 3e6f9a758eea..422ab30a3daf 100644 --- a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/src/dnsManagementClient.ts +++ b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/src/dnsManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class DnsManagementClient extends DnsManagementClientContext { /** * Initializes a new instance of the DnsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DnsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DnsManagementClientOptions) { super(credentials, subscriptionId, options); this.recordSets = new operations.RecordSets(this); this.zones = new operations.Zones(this); diff --git a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/src/dnsManagementClientContext.ts b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/src/dnsManagementClientContext.ts index 19ef9e342abf..b7213d730aaa 100644 --- a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/src/dnsManagementClientContext.ts +++ b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/src/dnsManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-dns-profile-2019-03-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class DnsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the DnsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DnsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DnsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/README.md b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/README.md index 5c7f88c4d415..dc171426c710 100644 --- a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/README.md +++ b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/README.md @@ -1,98 +1,107 @@ ## Azure DnsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DnsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DnsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-dns-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-dns-profile-2020-09-01-hybrid +npm install --save @azure/arm-dns-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get recordSets as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get recordSets as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DnsManagementClient, DnsManagementModels, DnsManagementMappers } from "@azure/arm-dns-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DnsManagementClient } = require("@azure/arm-dns-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DnsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const zoneName = "testzoneName"; - const relativeRecordSetName = "testrelativeRecordSetName"; - const recordType = "A"; - client.recordSets.get(resourceGroupName, zoneName, relativeRecordSetName, recordType).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DnsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const zoneName = "testzoneName"; +const relativeRecordSetName = "testrelativeRecordSetName"; +const recordType = "A"; +client.recordSets.get(resourceGroupName, zoneName, relativeRecordSetName, recordType).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get recordSets as an example written in JavaScript. +#### browser - Authentication, client creation, and get recordSets as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-dns-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json index cf5528d17c64..5a483aeed58a 100644 --- a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json +++ b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-dns-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "DnsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dnsManagementClient.js", "types": "./esm/dnsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/src/dnsManagementClient.ts b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/src/dnsManagementClient.ts index 3e6f9a758eea..422ab30a3daf 100644 --- a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/src/dnsManagementClient.ts +++ b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/src/dnsManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class DnsManagementClient extends DnsManagementClientContext { /** * Initializes a new instance of the DnsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DnsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DnsManagementClientOptions) { super(credentials, subscriptionId, options); this.recordSets = new operations.RecordSets(this); this.zones = new operations.Zones(this); diff --git a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/src/dnsManagementClientContext.ts b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/src/dnsManagementClientContext.ts index fd9507aacb1c..be7bd08f580f 100644 --- a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/src/dnsManagementClientContext.ts +++ b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/src/dnsManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-dns-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class DnsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the DnsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DnsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DnsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/dns/arm-dns/README.md b/sdk/dns/arm-dns/README.md index a298c815d4ab..806e1ac8583a 100644 --- a/sdk/dns/arm-dns/README.md +++ b/sdk/dns/arm-dns/README.md @@ -1,98 +1,107 @@ ## Azure DnsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DnsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DnsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-dns` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-dns +npm install --save @azure/arm-dns @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get recordSets as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get recordSets as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DnsManagementClient, DnsManagementModels, DnsManagementMappers } from "@azure/arm-dns"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DnsManagementClient } = require("@azure/arm-dns"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DnsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const zoneName = "testzoneName"; - const relativeRecordSetName = "testrelativeRecordSetName"; - const recordType = "A"; - client.recordSets.get(resourceGroupName, zoneName, relativeRecordSetName, recordType).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DnsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const zoneName = "testzoneName"; +const relativeRecordSetName = "testrelativeRecordSetName"; +const recordType = "A"; +client.recordSets.get(resourceGroupName, zoneName, relativeRecordSetName, recordType).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get recordSets as an example written in JavaScript. +#### browser - Authentication, client creation, and get recordSets as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-dns sample - - + diff --git a/sdk/dns/arm-dns/package.json b/sdk/dns/arm-dns/package.json index e98d95a3c239..eb6cee0c9b59 100644 --- a/sdk/dns/arm-dns/package.json +++ b/sdk/dns/arm-dns/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-dns", "author": "Microsoft Corporation", "description": "DnsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dnsManagementClient.js", "types": "./esm/dnsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/dns/arm-dns/src/dnsManagementClient.ts b/sdk/dns/arm-dns/src/dnsManagementClient.ts index c2142deb6643..5a7d85c07575 100644 --- a/sdk/dns/arm-dns/src/dnsManagementClient.ts +++ b/sdk/dns/arm-dns/src/dnsManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,12 +24,17 @@ class DnsManagementClient extends DnsManagementClientContext { /** * Initializes a new instance of the DnsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Specifies the Azure subscription ID, which uniquely identifies the * Microsoft Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DnsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DnsManagementClientOptions) { super(credentials, subscriptionId, options); this.recordSets = new operations.RecordSets(this); this.zones = new operations.Zones(this); diff --git a/sdk/dns/arm-dns/src/dnsManagementClientContext.ts b/sdk/dns/arm-dns/src/dnsManagementClientContext.ts index f4deb26940ab..f11d7d427648 100644 --- a/sdk/dns/arm-dns/src/dnsManagementClientContext.ts +++ b/sdk/dns/arm-dns/src/dnsManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-dns"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class DnsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the DnsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Specifies the Azure subscription ID, which uniquely identifies the * Microsoft Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DnsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DnsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/domainservices/arm-domainservices/README.md b/sdk/domainservices/arm-domainservices/README.md index 40c93925e577..49b77e9cb854 100644 --- a/sdk/domainservices/arm-domainservices/README.md +++ b/sdk/domainservices/arm-domainservices/README.md @@ -1,89 +1,100 @@ ## Azure DomainservicesManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DomainservicesManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DomainservicesManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-domainservices +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-domainservices` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-domainservices @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list domainServiceOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list domainServiceOperations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DomainservicesManagementClient, DomainservicesManagementModels, DomainservicesManagementMappers } from "@azure/arm-domainservices"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DomainservicesManagementClient } = require("@azure/arm-domainservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DomainservicesManagementClient(creds, subscriptionId); - client.domainServiceOperations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DomainservicesManagementClient(creds, subscriptionId); + +client.domainServiceOperations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list domainServiceOperations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list domainServiceOperations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-domainservices sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdomainservices%2Farm-domainservices%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/domainservices/arm-domainservices/README.png) diff --git a/sdk/domainservices/arm-domainservices/package.json b/sdk/domainservices/arm-domainservices/package.json index 6ed59f03b209..26d00ac128ec 100644 --- a/sdk/domainservices/arm-domainservices/package.json +++ b/sdk/domainservices/arm-domainservices/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-domainservices", "author": "Microsoft Corporation", "description": "DomainservicesManagementClient Library with typescript type definitions for node.js and browser.", - "version": "3.1.0", + "version": "3.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/domainservicesManagementClient.js", "types": "./esm/domainservicesManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/domainservices/arm-domainservices/src/domainservicesManagementClient.ts b/sdk/domainservices/arm-domainservices/src/domainservicesManagementClient.ts index 99e64b1dd67b..0bb81ecbda52 100644 --- a/sdk/domainservices/arm-domainservices/src/domainservicesManagementClient.ts +++ b/sdk/domainservices/arm-domainservices/src/domainservicesManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,12 +23,17 @@ class DomainservicesManagementClient extends DomainservicesManagementClientConte /** * Initializes a new instance of the DomainservicesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DomainservicesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DomainservicesManagementClientOptions) { super(credentials, subscriptionId, options); this.domainServiceOperations = new operations.DomainServiceOperations(this); this.domainServices = new operations.DomainServices(this); diff --git a/sdk/domainservices/arm-domainservices/src/domainservicesManagementClientContext.ts b/sdk/domainservices/arm-domainservices/src/domainservicesManagementClientContext.ts index 83b1b9c3eecd..70778dd9f58f 100644 --- a/sdk/domainservices/arm-domainservices/src/domainservicesManagementClientContext.ts +++ b/sdk/domainservices/arm-domainservices/src/domainservicesManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-domainservices"; -const packageVersion = "0.1.0"; +const packageVersion = "3.2.0"; export class DomainservicesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the DomainservicesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DomainservicesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DomainservicesManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From 44712109c705d23d5ec52d98a3a508157674df84 Mon Sep 17 00:00:00 2001 From: Will Temple Date: Mon, 21 Jun 2021 09:47:33 -0700 Subject: [PATCH 008/134] [identity] Adding extensions API, identity-vscode, and identity-cache-persistence (#15384) * [identity] Remove machine-code-dependent codepaths (#15024) * [identityg Remove machine-code-dependent codepaths * Linter fixes * Disable broken perf test * Added missing import back * [identity] Add extension registration API and default credential stack * [identity-native] Introducing identity-native * [identity] Rework extension API. * Remove identity native * Identity-persistence module * Adding identity-vscode module * Updated rush configuration * Moved identity perf back to linking local identity * Symbolic refactor of extension system * Renamed MsalCredentialOptions to CacheableCredentialOptions * Use Symbol.for instead of hacking around SymbolConstructor * Improved identity-vscode samples * Use persistence by default if a persistence provider has been registered. * Improved identity-persistence samples * Rename to identity-cache-persistence * Feedback from arch board for mainline identity package * Rename CredentialPersistenceOptions, format and lint * Revert sanitization of scopes. * Regenerated API.md for mainline identity * Add tests and finalize @azure/identity-cache-persistence * Record tests for identity-cache-persistence * Renamed sample files. * Some changes for testing in identity * Updated identity-vscode * Remove async version of useIdentityExtension * Added a couple of tests for default no-extension behavior * Fixed tests in recorder * Removed errant console.log * Added basic tests of identity-vscode * Fixed a couple of tests that have started caching correctly * Added browser shim for extensions/consumer.ts * Mock keytar using sinon in live/playback environments * Disable persistence tests on node !== 12 * Addressed feedback in identity-cache-persistence * Restore perf-test * Removed sanitizeScopeUrl from recorder * Update sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts Co-authored-by: Jeff Fisher * Fix gitignores * Feedback for identity-vscode * Changelog entry for recorder changes. * core-http -> core-auth * setter methods instead of setter props * Some changes to docs and keywords * Fixed linter warning * Switch persistence tests from 12 to 14. * Make the tests even refuse to import msal-node-extensions on anything other than Node 14 * Reverted changes to recorder * master -> main * More master -> main * [identity] Make the samples extract only part of the token data Co-authored-by: Jeff Fisher --- common/config/rush/common-versions.json | 3 +- common/config/rush/pnpm-lock.yaml | 765 +++++++++--------- rush.json | 10 + .../identity-cache-persistence/.eslintrc.json | 8 + .../identity-cache-persistence/.gitignore | 1 + .../identity-cache-persistence/CHANGELOG.md | 11 + .../identity-cache-persistence/LICENSE | 21 + .../identity-cache-persistence/README.md | 95 +++ .../api-extractor.json | 31 + .../identity-cache-persistence/package.json | 100 +++ ...ng_accepts_tokencachepersistenceoptions.js | 111 +++ ...ently_with_tokencachepersistenceoptions.js | 182 +++++ ...ng_accepts_tokencachepersistenceoptions.js | 111 +++ ...ently_with_tokencachepersistenceoptions.js | 182 +++++ ...ng_accepts_tokencachepersistenceoptions.js | 146 ++++ ...to_avoid_further_manual_authentications.js | 287 +++++++ ...ently_with_tokencachepersistenceoptions.js | 146 ++++ ...ng_accepts_tokencachepersistenceoptions.js | 111 +++ ...ently_with_tokencachepersistenceoptions.js | 111 +++ .../review/identity-cache-persistence.api.md | 15 + .../rollup.config.js | 3 + .../samples-dev/extension.ts | 57 ++ .../identity-cache-persistence/src/index.ts | 40 + .../src/platforms.ts | 143 ++++ .../src/provider.ts | 34 + .../node/clientCertificateCredential.spec.ts | 126 +++ .../node/clientSecretCredential.spec.ts | 105 +++ .../node/deviceCodeCredential.spec.ts | 160 ++++ .../test/internal/node/setup.spec.ts | 33 + .../node/usernamePasswordCredential.spec.ts | 109 +++ .../identity-cache-persistence/tsconfig.json | 14 + .../identity-cache-persistence/tsdoc.json | 4 + sdk/identity/identity-vscode/.eslintrc.json | 8 + sdk/identity/identity-vscode/CHANGELOG.md | 7 + sdk/identity/identity-vscode/LICENSE | 21 + sdk/identity/identity-vscode/README.md | 125 +++ .../identity-vscode/api-extractor.json | 31 + sdk/identity/identity-vscode/package.json | 98 +++ .../recording_successfully_gets_a_token.js | 38 + .../review/identity-vscode.api.md | 15 + sdk/identity/identity-vscode/rollup.config.js | 3 + .../identity-vscode/samples-dev/extension.ts | 39 + .../identity-vscode/samples-dev/nodeEnv.ts | 55 ++ sdk/identity/identity-vscode/src/index.ts | 46 ++ .../test/public/node/setup.spec.ts | 10 + .../node/visualStudioCodeCredential.spec.ts | 52 ++ sdk/identity/identity-vscode/tsconfig.json | 14 + sdk/identity/identity-vscode/tsdoc.json | 4 + sdk/identity/identity/CHANGELOG.md | 12 +- sdk/identity/identity/README.md | 19 +- sdk/identity/identity/package.json | 4 +- sdk/identity/identity/review/identity.api.md | 65 +- .../identity/src/client/identityClient.ts | 2 - .../authorizationCodeCredential.browser.ts | 3 +- .../authorizationCodeCredential.ts | 4 +- .../credentials/azureCliCredential.browser.ts | 3 +- .../src/credentials/azureCliCredential.ts | 3 +- .../azurePowerShellCredential.browser.ts | 3 +- .../credentials/azurePowerShellCredential.ts | 3 +- .../src/credentials/chainedTokenCredential.ts | 3 +- .../clientCertificateCredential.browser.ts | 2 +- .../clientCertificateCredential.ts | 3 +- .../clientCertificateCredentialOptions.ts | 5 +- .../clientSecretCredential.browser.ts | 4 +- .../src/credentials/clientSecretCredential.ts | 3 +- .../clientSecretCredentialOptions.ts | 5 +- .../credentialPersistenceOptions.ts | 42 + .../defaultAzureCredential.browser.ts | 3 +- .../src/credentials/defaultAzureCredential.ts | 80 +- .../deviceCodeCredential.browser.ts | 3 +- .../src/credentials/deviceCodeCredential.ts | 3 +- .../deviceCodeCredentialOptions.ts | 5 +- .../environmentCredential.browser.ts | 3 +- .../src/credentials/environmentCredential.ts | 13 +- .../interactiveBrowserCredential.browser.ts | 3 +- .../interactiveBrowserCredential.ts | 3 +- .../interactiveBrowserCredentialOptions.ts | 82 +- .../appServiceMsi2017.ts | 5 +- .../managedIdentityCredential/arcMsi.ts | 4 +- .../cloudShellMsi.ts | 5 +- .../managedIdentityCredential/fabricMsi.ts | 4 +- .../index.browser.ts | 3 +- .../managedIdentityCredential/index.ts | 3 +- .../managedIdentityCredential/models.ts | 3 +- .../managedIdentityCredential/utils.ts | 4 +- .../usernamePasswordCredential.browser.ts | 4 +- .../credentials/usernamePasswordCredential.ts | 3 +- .../usernamePasswordCredentialOptions.ts | 5 +- .../visualStudioCodeCredential.browser.ts | 31 + .../credentials/visualStudioCodeCredential.ts | 234 ++++++ .../visualStudioCodeCredentialExtension.ts | 13 + .../src/extensions/consumer.browser.ts | 8 + .../identity/src/extensions/consumer.ts | 47 ++ .../identity/src/extensions/provider.ts | 42 + sdk/identity/identity/src/index.ts | 21 +- .../src/msal/browserFlows/browserCommon.ts | 4 +- .../src/msal/browserFlows/msalAuthCode.ts | 4 +- sdk/identity/identity/src/msal/credentials.ts | 3 +- sdk/identity/identity/src/msal/errors.ts | 2 +- sdk/identity/identity/src/msal/flows.ts | 7 +- .../msal/nodeFlows/msalClientCertificate.ts | 4 +- .../src/msal/nodeFlows/msalClientSecret.ts | 3 +- .../src/msal/nodeFlows/msalDeviceCode.ts | 4 +- .../src/msal/nodeFlows/msalOpenBrowser.ts | 5 +- .../msal/nodeFlows/msalUsernamePassword.ts | 4 +- .../identity/src/msal/nodeFlows/nodeCommon.ts | 55 +- .../nodeFlows/tokenCachePersistenceOptions.ts | 27 + sdk/identity/identity/src/msal/utils.ts | 7 +- .../node/clientSecretCredential.spec.ts | 10 +- .../node/environmentCredential.spec.ts | 10 +- .../node/managedIdentityCredential.spec.ts | 5 +- sdk/identity/identity/test/msalTestUtils.ts | 11 +- .../test/public/node/extensions.spec.ts | 44 + sdk/identity/perf-tests/identity/package.json | 3 +- .../persistence.spec.ts | 17 +- 115 files changed, 4351 insertions(+), 544 deletions(-) create mode 100644 sdk/identity/identity-cache-persistence/.eslintrc.json create mode 100644 sdk/identity/identity-cache-persistence/.gitignore create mode 100644 sdk/identity/identity-cache-persistence/CHANGELOG.md create mode 100644 sdk/identity/identity-cache-persistence/LICENSE create mode 100644 sdk/identity/identity-cache-persistence/README.md create mode 100644 sdk/identity/identity-cache-persistence/api-extractor.json create mode 100644 sdk/identity/identity-cache-persistence/package.json create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/clientcertificatecredential_internal/recording_accepts_tokencachepersistenceoptions.js create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/clientcertificatecredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/clientsecretcredential_internal/recording_accepts_tokencachepersistenceoptions.js create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/clientsecretcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_accepts_tokencachepersistenceoptions.js create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_allows_passing_an_authenticationrecord_to_avoid_further_manual_authentications.js create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_accepts_tokencachepersistenceoptions.js create mode 100644 sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js create mode 100644 sdk/identity/identity-cache-persistence/review/identity-cache-persistence.api.md create mode 100644 sdk/identity/identity-cache-persistence/rollup.config.js create mode 100644 sdk/identity/identity-cache-persistence/samples-dev/extension.ts create mode 100644 sdk/identity/identity-cache-persistence/src/index.ts create mode 100644 sdk/identity/identity-cache-persistence/src/platforms.ts create mode 100644 sdk/identity/identity-cache-persistence/src/provider.ts create mode 100644 sdk/identity/identity-cache-persistence/test/internal/node/clientCertificateCredential.spec.ts create mode 100644 sdk/identity/identity-cache-persistence/test/internal/node/clientSecretCredential.spec.ts create mode 100644 sdk/identity/identity-cache-persistence/test/internal/node/deviceCodeCredential.spec.ts create mode 100644 sdk/identity/identity-cache-persistence/test/internal/node/setup.spec.ts create mode 100644 sdk/identity/identity-cache-persistence/test/internal/node/usernamePasswordCredential.spec.ts create mode 100644 sdk/identity/identity-cache-persistence/tsconfig.json create mode 100644 sdk/identity/identity-cache-persistence/tsdoc.json create mode 100644 sdk/identity/identity-vscode/.eslintrc.json create mode 100644 sdk/identity/identity-vscode/CHANGELOG.md create mode 100644 sdk/identity/identity-vscode/LICENSE create mode 100644 sdk/identity/identity-vscode/README.md create mode 100644 sdk/identity/identity-vscode/api-extractor.json create mode 100644 sdk/identity/identity-vscode/package.json create mode 100644 sdk/identity/identity-vscode/recordings/node/visualstudiocodecredential/recording_successfully_gets_a_token.js create mode 100644 sdk/identity/identity-vscode/review/identity-vscode.api.md create mode 100644 sdk/identity/identity-vscode/rollup.config.js create mode 100644 sdk/identity/identity-vscode/samples-dev/extension.ts create mode 100644 sdk/identity/identity-vscode/samples-dev/nodeEnv.ts create mode 100644 sdk/identity/identity-vscode/src/index.ts create mode 100644 sdk/identity/identity-vscode/test/public/node/setup.spec.ts create mode 100644 sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts create mode 100644 sdk/identity/identity-vscode/tsconfig.json create mode 100644 sdk/identity/identity-vscode/tsdoc.json create mode 100644 sdk/identity/identity/src/credentials/credentialPersistenceOptions.ts create mode 100644 sdk/identity/identity/src/credentials/visualStudioCodeCredential.browser.ts create mode 100644 sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts create mode 100644 sdk/identity/identity/src/credentials/visualStudioCodeCredentialExtension.ts create mode 100644 sdk/identity/identity/src/extensions/consumer.browser.ts create mode 100644 sdk/identity/identity/src/extensions/consumer.ts create mode 100644 sdk/identity/identity/src/extensions/provider.ts create mode 100644 sdk/identity/identity/src/msal/nodeFlows/tokenCachePersistenceOptions.ts create mode 100644 sdk/identity/identity/test/public/node/extensions.spec.ts diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index 77b7991698a1..98ee83e5af85 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -69,7 +69,8 @@ // @azure/event-processor-host is on a much lower major version "@azure/ms-rest-nodeauth": ["^0.9.2"], // Idenity is moving from v1 to v2. Moving all packages to v2 is going to take a bit of time, in the mean time we could use v2 on the perf-identity tests. - "@azure/identity": ["2.0.0-beta.3", "^1.1.0"], + "@azure/identity": ["^2.0.0-beta.4", "2.0.0-beta.3", "^1.1.0"], + // App Config uses keyvault-secrets in a sample, switch to latest once the preview becomes GA // Issue #14771 tracks updating to these versions "@microsoft/api-extractor": ["7.13.2"], "prettier": ["2.2.1"], diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 9335db93b216..6e5303ec974d 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -39,6 +39,8 @@ dependencies: '@rush-temp/eventgrid': file:projects/eventgrid.tgz '@rush-temp/eventhubs-checkpointstore-blob': file:projects/eventhubs-checkpointstore-blob.tgz '@rush-temp/identity': file:projects/identity.tgz + '@rush-temp/identity-cache-persistence': file:projects/identity-cache-persistence.tgz + '@rush-temp/identity-vscode': file:projects/identity-vscode.tgz '@rush-temp/iot-device-update': file:projects/iot-device-update.tgz '@rush-temp/iot-modelsrepository': file:projects/iot-modelsrepository.tgz '@rush-temp/keyvault-admin': file:projects/keyvault-admin.tgz @@ -342,7 +344,7 @@ packages: integrity: sha512-CxaMaEjwtsmIhWtjHyGimKO7RmES0YxPqGQ9+jKqGygNlhG5NYHktDaiQu6w7k3g+I51VaLXtVSt+BVFd6VWfQ== /@azure/identity/1.2.5_debug@4.3.1: dependencies: - '@azure/core-http': 1.2.6 + '@azure/core-http': 1.2.3 '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.2 '@azure/msal-node': 1.0.0-beta.6_debug@4.3.1 @@ -436,30 +438,6 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-eOHstXRBRntoqBLi3bugYBEHpYkm0JiET6y5+P1fz7dqYRFN6hJW8qMJQtYIzIbpXJfRJTJdoiOS5fDQhsez0A== - /@azure/identity/2.0.0-beta.3_debug@4.3.1: - dependencies: - '@azure/abort-controller': 1.0.4 - '@azure/core-http': 1.2.6 - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/logger': 1.0.2 - '@azure/msal-browser': 2.9.0 - '@azure/msal-common': 4.0.3 - '@azure/msal-node': 1.1.0_debug@4.3.1 - '@types/stoppable': 1.1.1 - events: 3.3.0 - jws: 4.0.0 - open: 7.4.2 - qs: 6.10.1 - stoppable: 1.1.0 - tslib: 2.3.0 - uuid: 8.3.2 - dev: false - engines: - node: '>=8.0.0' - peerDependencies: - debug: '*' - resolution: - integrity: sha512-eOHstXRBRntoqBLi3bugYBEHpYkm0JiET6y5+P1fz7dqYRFN6hJW8qMJQtYIzIbpXJfRJTJdoiOS5fDQhsez0A== /@azure/keyvault-certificates/4.2.0: dependencies: '@azure/abort-controller': 1.0.4 @@ -612,6 +590,14 @@ packages: node: '>=0.8.0' resolution: integrity: sha512-Zyus+skNaVWL5fXfSjC17c94XZ95Z3a+bZc7YKkP26KT3Dj26jbfz2oT9KJxAT4XVtH/1WPY/fPFeEFTRvytJQ== + /@azure/msal-common/1.7.2: + dependencies: + debug: 4.3.1 + dev: false + engines: + node: '>=0.8.0' + resolution: + integrity: sha512-3/voCdFKONENX+5tMrNOBSrVJb6NbE7YB8vc4FZ/4ZbjpK7GVtq9Bu1MW+HZhrmsUzSF/joHx0ZIJDYIequ/jg== /@azure/msal-common/2.1.0: dependencies: debug: 4.3.1 @@ -636,6 +622,18 @@ packages: node: '>=0.8.0' resolution: integrity: sha512-jFqUWe83wVb6O8cNGGBFg2QlKvqM1ezUgJTEV7kIsAPX0RXhGFE4B1DLNt6hCnkTXDbw+KGW0zgxOEr4MJQwLw== + /@azure/msal-node-extensions/1.0.0-alpha.6: + dependencies: + '@azure/msal-common': 1.7.2 + bindings: 1.5.0 + keytar: 7.0.0 + nan: 2.14.2 + dev: false + engines: + node: '>=10' + requiresBuild: true + resolution: + integrity: sha512-fVufHc02C+daYOMAHBnE998abB4qUIeJ9gmTxmSelHhGfBGvvzMbCohCu4sTlSVDKUndF3yD/Nxvw/cEtpcZKg== /@azure/msal-node/1.0.0-beta.6: dependencies: '@azure/msal-common': 4.3.0 @@ -667,19 +665,6 @@ packages: node: 10 || 12 || 14 || 16 resolution: integrity: sha512-gMO9aZdWOzufp1PcdD5ID25DdS9eInxgeCqx4Tk8PVU6Z7RxJQhoMzS64cJhGdpYgeIQwKljtF0CLCcPFxew/w== - /@azure/msal-node/1.1.0_debug@4.3.1: - dependencies: - '@azure/msal-common': 4.3.0 - axios: 0.21.1_debug@4.3.1 - jsonwebtoken: 8.5.1 - uuid: 8.3.2 - dev: false - engines: - node: 10 || 12 || 14 || 16 - peerDependencies: - debug: '*' - resolution: - integrity: sha512-gMO9aZdWOzufp1PcdD5ID25DdS9eInxgeCqx4Tk8PVU6Z7RxJQhoMzS64cJhGdpYgeIQwKljtF0CLCcPFxew/w== /@babel/code-frame/7.12.11: dependencies: '@babel/highlight': 7.14.5 @@ -711,7 +696,7 @@ packages: '@babel/template': 7.14.5 '@babel/traverse': 7.14.5 '@babel/types': 7.14.5 - convert-source-map: 1.7.0 + convert-source-map: 1.8.0 debug: 4.3.1 gensync: 1.0.0-beta.2 json5: 2.2.0 @@ -977,7 +962,7 @@ packages: resolve: 1.17.0 semver: 7.3.5 source-map: 0.6.1 - typescript: 4.1.5 + typescript: 4.1.6 dev: false hasBin: true resolution: @@ -1387,33 +1372,33 @@ packages: /@types/body-parser/1.19.0: dependencies: '@types/connect': 3.4.34 - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ== /@types/chai-as-promised/7.1.4: dependencies: - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 dev: false resolution: integrity: sha512-1y3L1cHePcIm5vXkh1DSGf/zQq5n5xDKG1fpCvf18+uOkpce0Z1ozNFPkyWsVswK7ntN1sZBw3oU6gmN+pDUcA== /@types/chai-string/1.4.2: dependencies: - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 dev: false resolution: integrity: sha512-ld/1hV5qcPRGuwlPdvRfvM3Ka/iofOk2pH4VkasK4b1JJP1LjNmWWn0LsISf6RRzyhVOvs93rb9tM09e+UuF8Q== - /@types/chai/4.2.18: + /@types/chai/4.2.19: dev: false resolution: - integrity: sha512-rS27+EkB/RE1Iz3u0XtVL5q36MGDWbgYe7zWiodyKNUnthxY0rukK5V36eiUCtCisB7NN8zKYH6DO2M37qxFEQ== + integrity: sha512-jRJgpRBuY+7izT7/WNXP/LsMO9YonsstuL+xuvycDyESpoDoIAsMd7suwpB4h9oEWB+ZlPTqJJ8EHomzNhwTPQ== /@types/component-emitter/1.2.10: dev: false resolution: integrity: sha512-bsjleuRKWmGqajMerkzox19aGbscQX5rmmvvXl3wlIp5gMG1HgkiwPxsN5p070fBDKTNSPgojVbuY1+HWMbFhg== /@types/connect/3.4.34: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-ePPA/JuI+X0vb+gSWlPKOY0NdNAie/rPUqX2GUPpbZwiKTkSPhjXWuee47E4MtE54QVzGCQMQkAL6JhV2E1+cQ== @@ -1446,7 +1431,7 @@ packages: integrity: sha512-LfZwXoGUDo0C3me81HXgkBg5CTQYb6xzEl+fNmbO4JdRiSKQ8A0GD1OBBvKAIsbCUgoyAty7m99GqqMQe784ew== /@types/express-serve-static-core/4.17.21: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 '@types/qs': 6.9.6 '@types/range-parser': 1.2.3 dev: false @@ -1470,20 +1455,20 @@ packages: integrity: sha512-IyNhGHu71jH1jCXTHmafuoAAdsbBON3kDh7u/UUhLmjYgN5TYB54e1R8ckTCiIevl2UuZaCsi9XRxineY5yUjw== /@types/fs-extra/8.1.1: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-TcUlBem321DFQzBNuz8p0CLLKp0VvF/XH9E4KHNmgwyp4E3AfgI5cjiIVZWlbfThBop2qxFIh4+LeY6hVWWZ2w== /@types/glob/7.1.3: dependencies: '@types/minimatch': 3.0.4 - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w== /@types/is-buffer/2.0.0: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw== @@ -1495,15 +1480,15 @@ packages: dev: false resolution: integrity: sha1-7ihweulOEdK4J7y+UnC86n8+ce4= - /@types/jsonwebtoken/8.5.1: + /@types/jsonwebtoken/8.5.2: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: - integrity: sha512-rNAPdomlIUX0i0cg2+I+Q1wOUr531zHBQ+cV/28PJ39bSPKjahatZZ2LMuhiguETkCgLVzfruw/ZvNMNkKoSzw== + integrity: sha512-X8BOCkp+WJVNYCYIBugREtVZa4Y09Or9HDx6xqRZem5F8jJV8FuJgNessXyMuv9+U8pjnvdezASwU28uw+1scw== /@types/jws/3.2.3: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-g54CHxwvaHvyJyeuZqe7VQujV9SfCXwEkboJp355INPL+kjlS3Aq153EHptaeO/Cch/NPJ1i2sHz0sDDizn7LQ== @@ -1517,7 +1502,7 @@ packages: integrity: sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w== /@types/md5/2.3.0: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-556YJ7ejzxIqSSxzyGGpctuZOarNZJt/zlEkhmmDc1f/slOEANHuwu2ZX7YaZ40rMiWoxt8GvAhoDpW1cmSy6A== @@ -1543,13 +1528,13 @@ packages: integrity: sha512-ZvO2tAcjmMi8V/5Z3JsyofMe3hasRcaw88cto5etSVMwVQfeivGAlEYmaQgceUSVYFofVjT+ioHsATjdWcFt1w== /@types/mock-fs/4.10.0: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-FQ5alSzmHMmliqcL36JqIA4Yyn9jyJKvRSGV3mvPh108VFatX7naJDzSG4fnFQNZFq9dIx0Dzoe6ddflMB2Xkg== /@types/mock-require/2.0.0: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-nOgjoE5bBiDeiA+z41i95makyHUSMWQMOPocP+J67Pqx/68HAXaeWN1NFtrAYYV6LrISIZZ8vKHm/a50k0f6Sg== @@ -1559,7 +1544,7 @@ packages: integrity: sha512-DPxmjiDwubsNmguG5X4fEJ+XCyzWM3GXWsqQlvUcjJKa91IOoJUy51meDr0GkzK64qqNcq85ymLlyjoct9tInw== /@types/node-fetch/2.5.10: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 form-data: 3.0.1 dev: false resolution: @@ -1572,10 +1557,10 @@ packages: dev: false resolution: integrity: sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw== - /@types/node/15.12.2: + /@types/node/15.12.4: dev: false resolution: - integrity: sha512-zjQ69G564OCIWIOHSXyQEEDpdpGl+G348RAKY0XXy9Z5kU9Vzv1GMNnkar/ZJ8dzXB3COzD9Mo9NtRZ4xfgUww== + integrity: sha512-zrNj1+yqYF4WskCMOHwN+w9iuD12+dGm0rQ35HLl9/Ouuq52cEtd0CH9qMgrdNmi5ejC1/V7vKEXYubB+65DkA== /@types/node/8.10.66: dev: false resolution: @@ -1602,7 +1587,7 @@ packages: integrity: sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== /@types/resolve/1.17.1: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== @@ -1613,7 +1598,7 @@ packages: /@types/serve-static/1.13.9: dependencies: '@types/mime': 1.3.2 - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-ZFqF6qa48XsPdjXV5Gsz0Zqmux2PerNd3a/ktL45mHpa19cuMi/cL8tcxdAx497yRh+QtYPuofjT9oWw9P7nkA== @@ -1629,7 +1614,7 @@ packages: integrity: sha512-dIPoZ3g5gcx9zZEszaxLSVTvMReD3xxyyDnQUjA6IYDG9Ba2AV0otMPs+77sG9ojB4Qr2N2Vk5RnKeuA0X/0bg== /@types/stoppable/1.1.1: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw== @@ -1639,7 +1624,7 @@ packages: integrity: sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A== /@types/tunnel/0.0.1: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A== @@ -1651,32 +1636,32 @@ packages: dev: false resolution: integrity: sha512-eQ9qFW/fhfGJF8WKHGEHZEyVWfZxrT+6CLIJGBcZPfxUh/+BnEj+UCGYMlr9qZuX/2AltsvwrGqp0LhEW8D0zQ== - /@types/ws/7.4.4: + /@types/ws/7.4.5: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: - integrity: sha512-d/7W23JAXPodQNbOZNXvl2K+bqAQrCMwlh/nuQsPSQk6Fq0opHoPrUw43aHsvSbIiQPr8Of2hkFbnz1XBFVyZQ== + integrity: sha512-8mbDgtc8xpxDDem5Gwj76stBDJX35KQ3YBoayxlqUQcL5BZUthiqP/VQ4PQnLHqM4PmlbyO74t98eJpURO+gPA== /@types/xml2js/0.4.8: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false resolution: integrity: sha512-EyvT83ezOdec7BhDaEcsklWy7RSIdi6CNe95tmOAK0yx/Lm30C9K75snT3fYayK59ApC2oyW+rcHErdG05FHJA== /@types/yauzl/2.9.1: dependencies: - '@types/node': 15.12.2 + '@types/node': 8.10.66 dev: false optional: true resolution: integrity: sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA== - /@typescript-eslint/eslint-plugin/4.19.0_579c993deb6b0313d5d0f5c428bab62d: + /@typescript-eslint/eslint-plugin/4.19.0_32b60b6a5d7033b9e5296983f03a72ce: dependencies: - '@typescript-eslint/experimental-utils': 4.19.0_eslint@7.28.0+typescript@4.2.4 - '@typescript-eslint/parser': 4.19.0_eslint@7.28.0+typescript@4.2.4 + '@typescript-eslint/experimental-utils': 4.19.0_eslint@7.29.0+typescript@4.2.4 + '@typescript-eslint/parser': 4.19.0_eslint@7.29.0+typescript@4.2.4 '@typescript-eslint/scope-manager': 4.19.0 debug: 4.3.1 - eslint: 7.28.0 + eslint: 7.29.0 functional-red-black-tree: 1.0.1 lodash: 4.17.21 regexpp: 3.2.0 @@ -1695,13 +1680,13 @@ packages: optional: true resolution: integrity: sha512-CRQNQ0mC2Pa7VLwKFbrGVTArfdVDdefS+gTw0oC98vSI98IX5A8EVH4BzJ2FOB0YlCmm8Im36Elad/Jgtvveaw== - /@typescript-eslint/experimental-utils/4.19.0_eslint@7.28.0+typescript@4.2.4: + /@typescript-eslint/experimental-utils/4.19.0_eslint@7.29.0+typescript@4.2.4: dependencies: '@types/json-schema': 7.0.7 '@typescript-eslint/scope-manager': 4.19.0 '@typescript-eslint/types': 4.19.0 '@typescript-eslint/typescript-estree': 4.19.0_typescript@4.2.4 - eslint: 7.28.0 + eslint: 7.29.0 eslint-scope: 5.1.1 eslint-utils: 2.1.0 dev: false @@ -1712,13 +1697,13 @@ packages: typescript: '*' resolution: integrity: sha512-9/23F1nnyzbHKuoTqFN1iXwN3bvOm/PRIXSBR3qFAYotK/0LveEOHr5JT1WZSzcD6BESl8kPOG3OoDRKO84bHA== - /@typescript-eslint/parser/4.19.0_eslint@7.28.0+typescript@4.2.4: + /@typescript-eslint/parser/4.19.0_eslint@7.29.0+typescript@4.2.4: dependencies: '@typescript-eslint/scope-manager': 4.19.0 '@typescript-eslint/types': 4.19.0 '@typescript-eslint/typescript-estree': 4.19.0_typescript@4.2.4 debug: 4.3.1 - eslint: 7.28.0 + eslint: 7.29.0 typescript: 4.2.4 dev: false engines: @@ -1751,7 +1736,7 @@ packages: '@typescript-eslint/types': 4.19.0 '@typescript-eslint/visitor-keys': 4.19.0 debug: 4.3.1 - globby: 11.0.3 + globby: 11.0.4 is-glob: 4.0.1 semver: 7.3.5 tsutils: 3.21.0_typescript@4.2.4 @@ -1948,7 +1933,6 @@ packages: integrity: sha512-P009oYkeHyU742iSZJzZZywj4QRJdnTWffaKuJQLablCZ1uz6/cW4yaRgcDaoQ+uwOxxnt0gRUcwfsNP2ri0gw== /aproba/1.2.0: dev: false - optional: true resolution: integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== /archy/1.0.0: @@ -1960,7 +1944,6 @@ packages: delegates: 1.0.0 readable-stream: 2.3.7 dev: false - optional: true resolution: integrity: sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== /arg/4.1.3: @@ -2245,6 +2228,12 @@ packages: node: '>=8' resolution: integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + /bindings/1.5.0: + dependencies: + file-uri-to-path: 1.0.0 + dev: false + resolution: + integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ== /bl/4.1.0: dependencies: buffer: 5.7.1 @@ -2295,7 +2284,7 @@ packages: integrity: sha1-rrGvKN5sDXpqLOQK22j/GEIq8x8= /browserslist/4.16.6: dependencies: - caniuse-lite: 1.0.30001237 + caniuse-lite: 1.0.30001239 colorette: 1.2.2 electron-to-chromium: 1.3.752 escalade: 3.1.1 @@ -2379,10 +2368,10 @@ packages: node: '>=6' resolution: integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== - /caniuse-lite/1.0.30001237: + /caniuse-lite/1.0.30001239: dev: false resolution: - integrity: sha512-pDHgRndit6p1NR2GhzMbQ6CkRrp4VKuSsqbcLeOQppYPKOYkKT/6ZvZDvKJUqcmtyWIAHuZq3SVS2vc1egCZzw== + integrity: sha512-cyBkXJDMeI4wthy8xJ2FvDU6+0dtcZSJW3voUF8+e9f1bBeuvyZfc3PNbkOETyhbR+dGCPzn9E7MA3iwzusOhQ== /caseless/0.12.0: dev: false resolution: @@ -2538,7 +2527,6 @@ packages: dev: false engines: node: '>=0.10.0' - optional: true resolution: integrity: sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= /color-convert/1.9.3: @@ -2622,7 +2610,6 @@ packages: integrity: sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ== /console-control-strings/1.1.0: dev: false - optional: true resolution: integrity: sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= /content-disposition/0.5.3: @@ -2639,12 +2626,12 @@ packages: node: '>= 0.6' resolution: integrity: sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== - /convert-source-map/1.7.0: + /convert-source-map/1.8.0: dependencies: safe-buffer: 5.1.2 dev: false resolution: - integrity: sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== + integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== /cookie-signature/1.0.6: dev: false resolution: @@ -2667,11 +2654,11 @@ packages: requiresBuild: true resolution: integrity: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ== - /core-js/3.14.0: + /core-js/3.15.0: dev: false requiresBuild: true resolution: - integrity: sha512-3s+ed8er9ahK+zJpp9ZtuVcDoFzHNiZsPbNAAE4KXgrRHbjSqqNN6xGSXq6bq7TZIbKj4NLrLb6bJ5i+vSVjHA== + integrity: sha512-GUbtPllXMYRzIgHNZ4dTYTcUemls2cni83Q4Q/TrFONHfhcg9oEGOtaGHfb0cpzec60P96UKPvMkjX1jET8rUw== /core-util-is/1.0.2: dev: false resolution: @@ -2797,7 +2784,7 @@ packages: integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== /debug/3.2.6: dependencies: - ms: 2.1.3 + ms: 2.1.1 deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dev: false resolution: @@ -2846,7 +2833,6 @@ packages: dev: false engines: node: '>=8' - optional: true resolution: integrity: sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw== /deep-eql/3.0.1: @@ -2861,7 +2847,6 @@ packages: dev: false engines: node: '>=4.0.0' - optional: true resolution: integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== /deep-freeze/0.0.1: @@ -2918,7 +2903,6 @@ packages: integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk= /delegates/1.0.0: dev: false - optional: true resolution: integrity: sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= /depd/1.1.2: @@ -2936,7 +2920,6 @@ packages: engines: node: '>=0.10' hasBin: true - optional: true resolution: integrity: sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= /di/0.0.1: @@ -3011,7 +2994,7 @@ packages: /downlevel-dts/0.4.0: dependencies: shelljs: 0.8.4 - typescript: 3.9.9 + typescript: 3.9.10 dev: false hasBin: true resolution: @@ -3184,9 +3167,9 @@ packages: source-map: 0.6.1 resolution: integrity: sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== - /eslint-config-prettier/7.2.0_eslint@7.28.0: + /eslint-config-prettier/7.2.0_eslint@7.29.0: dependencies: - eslint: 7.28.0 + eslint: 7.29.0 dev: false hasBin: true peerDependencies: @@ -3209,9 +3192,9 @@ packages: node: '>=4' resolution: integrity: sha512-ZXI9B8cxAJIH4nfkhTwcRTEAnrVfobYqwjWy/QMCZ8rHkZHFjf9yO4BzpiF9kCSfNlMG54eKigISHpX0+AaT4A== - /eslint-plugin-es/3.0.1_eslint@7.28.0: + /eslint-plugin-es/3.0.1_eslint@7.29.0: dependencies: - eslint: 7.28.0 + eslint: 7.29.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: false @@ -3221,13 +3204,13 @@ packages: eslint: '>=4.19.1' resolution: integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ== - /eslint-plugin-import/2.23.4_eslint@7.28.0: + /eslint-plugin-import/2.23.4_eslint@7.29.0: dependencies: array-includes: 3.1.3 array.prototype.flat: 1.2.4 debug: 2.6.9 doctrine: 2.1.0 - eslint: 7.28.0 + eslint: 7.29.0 eslint-import-resolver-node: 0.3.4 eslint-module-utils: 2.6.1 find-up: 2.1.0 @@ -3252,10 +3235,10 @@ packages: node: '>=4.0.0' resolution: integrity: sha512-T9SmE/g6UV1uZo1oHAqOvL86XWl7Pl2EpRpnLI8g/bkJu+h7XBCB+1LnubRZ2CUQXj805vh4/CYZdnqtVaEo2Q== - /eslint-plugin-node/11.1.0_eslint@7.28.0: + /eslint-plugin-node/11.1.0_eslint@7.29.0: dependencies: - eslint: 7.28.0 - eslint-plugin-es: 3.0.1_eslint@7.28.0 + eslint: 7.29.0 + eslint-plugin-es: 3.0.1_eslint@7.29.0 eslint-utils: 2.1.0 ignore: 5.1.8 minimatch: 3.0.4 @@ -3310,7 +3293,7 @@ packages: node: '>=10' resolution: integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== - /eslint/7.28.0: + /eslint/7.29.0: dependencies: '@babel/code-frame': 7.12.11 '@eslint/eslintrc': 0.4.2 @@ -3356,7 +3339,7 @@ packages: node: ^10.12.0 || >=12.0.0 hasBin: true resolution: - integrity: sha512-UMfH0VSjP0G4p3EWirscJEQ/cHqnT/iuH6oNZOB94nBjWbMnhGEPxsZm1eyIW0C/9jLI0Fow4W5DXLjEI7mn1g== + integrity: sha512-82G/JToB9qIy/ArBzIWG9xvvwL3R86AlCjtGw+A29OMZDqhTybz/MByORSukGxeI+YPCR4coYyITKk8BFH9nDA== /esm/3.2.25: dev: false engines: @@ -3465,7 +3448,6 @@ packages: dev: false engines: node: '>=6' - optional: true resolution: integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg== /expand-tilde/2.0.2: @@ -3581,7 +3563,7 @@ packages: dependencies: '@babel/core': 7.14.6 '@babel/runtime': 7.14.6 - core-js: 3.14.0 + core-js: 3.15.0 debug: 4.3.1 glob-to-regexp: 0.4.1 is-subset: 0.1.1 @@ -3608,6 +3590,10 @@ packages: node: ^10.12.0 || >=12.0.0 resolution: integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== + /file-uri-to-path/1.0.0: + dev: false + resolution: + integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw== /file-uri-to-path/2.0.0: dev: false engines: @@ -3859,7 +3845,6 @@ packages: strip-ansi: 3.0.1 wide-align: 1.1.3 dev: false - optional: true resolution: integrity: sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= /gensync/1.0.0-beta.2: @@ -3925,7 +3910,6 @@ packages: integrity: sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= /github-from-package/0.0.0: dev: false - optional: true resolution: integrity: sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4= /glob-parent/5.1.2: @@ -4005,7 +3989,7 @@ packages: node: '>=8' resolution: integrity: sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA== - /globby/11.0.3: + /globby/11.0.4: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 @@ -4017,7 +4001,7 @@ packages: engines: node: '>=10' resolution: - integrity: sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg== + integrity: sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg== /graceful-fs/4.2.6: dev: false resolution: @@ -4108,7 +4092,6 @@ packages: integrity: sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw== /has-unicode/2.0.1: dev: false - optional: true resolution: integrity: sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= /has/1.0.3: @@ -4431,7 +4414,6 @@ packages: dev: false engines: node: '>=0.10.0' - optional: true resolution: integrity: sha1-754xOG8DGn8NZDr4L95QxFfvAMs= /is-fullwidth-code-point/2.0.0: @@ -4740,10 +4722,10 @@ packages: hasBin: true resolution: integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== - /jsbi/3.1.4: + /jsbi/3.1.5: dev: false resolution: - integrity: sha512-52QRRFSsi9impURE8ZUbzAMCLjPm4THO7H2fcuIvaaeFTbSysvkodbQQXIVsNgq/ypDbq6dJiuGKL0vZ/i9hUg== + integrity: sha512-w2BY0VOYC1ahe+w6Qhl4SFoPvPsZ9NPHY4bwass+LCgU7RK3PBoVQlQ3G1s7vI8W3CYyJiEXcbKF7FIM/L8q3Q== /jsbn/0.1.1: dev: false resolution: @@ -5087,12 +5069,19 @@ packages: debug: '*' resolution: integrity: sha512-hbhRogUYIulfkBTZT7xoPrCYhRBnBoqbbL4fszWD0ReFGUxU+LYBr3dwKdAluaDQ/ynT9/7C+Lf7pPNW4gSx4Q== + /keytar/7.0.0: + dependencies: + node-addon-api: 3.2.1 + prebuild-install: 5.3.5 + dev: false + requiresBuild: true + resolution: + integrity: sha512-uvmdb5ZE2NgegcUDrmhutI9BUh+bTbt8+bwPliOMiLiWmrV76Tfg6DyI7Ud903a/4xlkJpKGnR0TyRpRyFOc3A== /keytar/7.7.0: dependencies: node-addon-api: 3.2.1 prebuild-install: 6.1.3 dev: false - optional: true requiresBuild: true resolution: integrity: sha512-YEY9HWqThQc5q5xbXbRwsZTh2PJ36OSYRjSv3NN2xf5s5dpLTjEZnC2YikR29OaVybf9nQ0dJ/80i40RS97t/A== @@ -5421,7 +5410,6 @@ packages: dev: false engines: node: '>=8' - optional: true resolution: integrity: sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA== /min-document/2.19.0: @@ -5544,6 +5532,10 @@ packages: node: '>=0.8.0' resolution: integrity: sha512-8vW5/+irlcQQk87r8Qp3/kQEc552hr7FQLJ6GF5LLkqnwJDDxrswz6RYPiQhmiampymIs0PbHVZrNf8m+6DmgQ== + /nan/2.14.2: + dev: false + resolution: + integrity: sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ== /nanoid/3.1.23: dev: false engines: @@ -5553,7 +5545,6 @@ packages: integrity: sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw== /napi-build-utils/1.0.2: dev: false - optional: true resolution: integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg== /natural-compare/1.4.0: @@ -5609,7 +5600,6 @@ packages: dependencies: semver: 5.7.1 dev: false - optional: true resolution: integrity: sha512-g6bZh3YCKQRdwuO/tSZZYJAw622SjsRfJ2X0Iy4sSOHZ34/sPPdVBn8fev2tj7njzLwuqPw9uMtGsGkO5kIQvg== /node-abort-controller/1.2.1: @@ -5618,7 +5608,6 @@ packages: integrity: sha512-79PYeJuj6S9+yOHirR0JBLFOgjB6sQCir10uN6xRx25iD+ZD4ULqgRn3MwWBRaQGB0vEgReJzWwJo42T1R6YbQ== /node-addon-api/3.2.1: dev: false - optional: true resolution: integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== /node-environment-flags/1.0.6: @@ -5638,6 +5627,10 @@ packages: dev: false resolution: integrity: sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg== + /noop-logger/0.1.1: + dev: false + resolution: + integrity: sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI= /normalize-package-data/2.5.0: dependencies: hosted-git-info: 2.8.9 @@ -5693,21 +5686,19 @@ packages: gauge: 2.7.4 set-blocking: 2.0.0 dev: false - optional: true resolution: integrity: sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== /number-is-nan/1.0.1: dev: false engines: node: '>=0.10.0' - optional: true resolution: integrity: sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= /nyc/14.1.1: dependencies: archy: 1.0.0 caching-transform: 3.0.2 - convert-source-map: 1.7.0 + convert-source-map: 1.8.0 cp-file: 6.2.0 find-cache-dir: 2.1.0 find-up: 3.0.0 @@ -6104,6 +6095,29 @@ packages: node: '>=4' resolution: integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== + /prebuild-install/5.3.5: + dependencies: + detect-libc: 1.0.3 + expand-template: 2.0.3 + github-from-package: 0.0.0 + minimist: 1.2.5 + mkdirp: 0.5.5 + napi-build-utils: 1.0.2 + node-abi: 2.30.0 + noop-logger: 0.1.1 + npmlog: 4.1.2 + pump: 3.0.0 + rc: 1.2.8 + simple-get: 3.1.0 + tar-fs: 2.1.1 + tunnel-agent: 0.6.0 + which-pm-runs: 1.0.0 + dev: false + engines: + node: '>=6' + hasBin: true + resolution: + integrity: sha512-YmMO7dph9CYKi5IR/BzjOJlRzpxGGVo1EsLSUZ0mt/Mq0HWZIHOKHHcHdT69yG54C9m6i45GpItwRHpk0Py7Uw== /prebuild-install/6.1.3: dependencies: detect-libc: 1.0.3 @@ -6123,7 +6137,6 @@ packages: engines: node: '>=6' hasBin: true - optional: true resolution: integrity: sha512-iqqSR84tNYQUQHRXalSKdIaM8Ov1QxOVuBNWI7+BzZWv6Ih9k75wOnH1rGQ9WWTaaLkTpxWKIciOF0KyfM74+Q== /prelude-ls/1.1.2: @@ -6252,7 +6265,7 @@ packages: rimraf: 3.0.2 tar-fs: 2.1.1 unbzip2-stream: 1.4.3 - ws: 7.4.6 + ws: 7.5.0 dev: false engines: node: '>=10.18.1' @@ -6361,7 +6374,6 @@ packages: strip-json-comments: 2.0.1 dev: false hasBin: true - optional: true resolution: integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== /read-pkg-up/3.0.0: @@ -6705,7 +6717,7 @@ packages: /rollup/1.32.1: dependencies: '@types/estree': 0.0.48 - '@types/node': 15.12.2 + '@types/node': 8.10.66 acorn: 7.4.1 dev: false hasBin: true @@ -6879,7 +6891,6 @@ packages: integrity: sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== /simple-concat/1.0.1: dev: false - optional: true resolution: integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== /simple-get/3.1.0: @@ -6888,7 +6899,6 @@ packages: once: 1.4.0 simple-concat: 1.0.1 dev: false - optional: true resolution: integrity: sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA== /sinon/9.2.4: @@ -6996,7 +7006,7 @@ packages: dependencies: '@types/cookie': 0.4.0 '@types/cors': 2.8.10 - '@types/node': 15.12.2 + '@types/node': 15.12.4 accepts: 1.3.7 base64id: 2.0.0 debug: 4.3.1 @@ -7175,7 +7185,6 @@ packages: dev: false engines: node: '>=0.10.0' - optional: true resolution: integrity: sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= /string-width/2.1.1: @@ -7607,20 +7616,20 @@ packages: hasBin: true resolution: integrity: sha512-MmQdgo/XenfZPvVLtKZOq9jQQvzaUAUpcKW8Z43x9B2fOm4S5g//tPtMweZUIP+SoBqrVPEIm+dJeQ9dfO0QdA== - /typescript/3.9.9: + /typescript/3.9.10: dev: false engines: node: '>=4.2.0' hasBin: true resolution: - integrity: sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w== - /typescript/4.1.5: + integrity: sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== + /typescript/4.1.6: dev: false engines: node: '>=4.2.0' hasBin: true resolution: - integrity: sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA== + integrity: sha512-pxnwLxeb/Z5SP80JDRzVjh58KsM6jZHRAOtTpS7sXLS4ogXNKC9ANxHHZqLLeVHZN35jCtI4JdmLLbLiC1kBow== /typescript/4.2.4: dev: false engines: @@ -7815,6 +7824,10 @@ packages: dev: false resolution: integrity: sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= + /which-pm-runs/1.0.0: + dev: false + resolution: + integrity: sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= /which-typed-array/1.1.4: dependencies: available-typed-arrays: 1.0.4 @@ -7913,6 +7926,20 @@ packages: optional: true resolution: integrity: sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== + /ws/7.5.0: + dev: false + engines: + node: '>=8.3.0' + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + resolution: + integrity: sha512-6ezXvzOZupqKj4jUqbQ9tXuJNo+BR2gU8fFRk3XCP3e0G6WT414u5ELe6Y0vtp7kmSJ3F7YWObSNr1ESsgi4vw== /xhr-mock/2.5.1: dependencies: global: 4.4.0 @@ -8008,12 +8035,12 @@ packages: dev: false resolution: integrity: sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== - /yargs-parser/20.2.7: + /yargs-parser/20.2.9: dev: false engines: node: '>=10' resolution: - integrity: sha512-FiNkvbeHzB/syOjIUxFDCnhSfzAL8R5vs40MgLFBorXACCOAEaWu0gRZl14vG8MR9AOJIZbmkjhusqBYZ3HTHw== + integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== /yargs-unparser/1.6.0: dependencies: flat: 4.1.1 @@ -8047,7 +8074,7 @@ packages: require-directory: 2.1.1 string-width: 4.2.2 y18n: 5.0.8 - yargs-parser: 20.2.7 + yargs-parser: 20.2.9 dev: false engines: node: '>=10' @@ -8090,7 +8117,7 @@ packages: cross-env: 7.0.3 delay: 4.4.1 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -8125,13 +8152,13 @@ packages: '@azure/core-rest-pipeline': 1.0.4 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.13.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -8165,7 +8192,6 @@ packages: version: 0.0.0 file:projects/ai-anomaly-detector.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -8173,14 +8199,14 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 chai: 4.3.4 cross-env: 7.0.3 csv-parse: 4.16.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -8218,13 +8244,13 @@ packages: '@azure/core-rest-pipeline': 1.0.4 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.13.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -8257,10 +8283,8 @@ packages: version: 0.0.0 file:projects/ai-form-recognizer.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -8268,7 +8292,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -8301,10 +8325,9 @@ packages: version: 0.0.0 file:projects/ai-metrics-advisor.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -8312,7 +8335,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -8350,7 +8373,7 @@ packages: '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -8359,7 +8382,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -8394,8 +8417,6 @@ packages: version: 0.0.0 file:projects/app-configuration.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@azure/keyvault-secrets': 4.2.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -8404,7 +8425,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -8412,7 +8433,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -8453,7 +8474,7 @@ packages: '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -8463,7 +8484,7 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 inherits: 2.0.4 jsrsasign: 10.3.0 @@ -8506,14 +8527,13 @@ packages: dependencies: '@azure/communication-identity': 1.0.0 '@azure/communication-signaling': 1.0.0-beta.5 - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -8521,7 +8541,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -8560,14 +8580,13 @@ packages: version: 0.0.0 file:projects/communication-common.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/jwt-decode': 2.2.1 '@types/mocha': 7.0.2 @@ -8577,7 +8596,7 @@ packages: chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 jwt-decode: 2.2.0 @@ -8614,14 +8633,13 @@ packages: version: 0.0.0 file:projects/communication-identity.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -8629,7 +8647,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -8668,14 +8686,13 @@ packages: file:projects/communication-network-traversal.tgz: dependencies: '@azure/communication-identity': 1.0.0 - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -8683,7 +8700,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -8721,14 +8738,13 @@ packages: version: 0.0.0 file:projects/communication-phone-numbers.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -8736,7 +8752,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -8774,14 +8790,13 @@ packages: version: 0.0.0 file:projects/communication-sms.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -8789,7 +8804,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -8829,13 +8844,13 @@ packages: '@azure/core-rest-pipeline': 1.0.4 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.13.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -8871,7 +8886,7 @@ packages: '@azure/core-tracing': 1.0.0-preview.11 '@azure/ms-rest-nodeauth': 3.0.10 '@microsoft/api-extractor': 7.7.11 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -8879,7 +8894,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -8919,13 +8934,13 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/debug': 4.1.5 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 - '@types/ws': 7.4.4 + '@types/ws': 7.4.5 assert: 1.5.0 buffer: 5.7.1 chai: 4.3.4 @@ -8934,7 +8949,7 @@ packages: debug: 4.3.1 dotenv: 8.6.0 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 jssha: 3.2.0 karma: 6.3.4_debug@4.3.1 @@ -8960,7 +8975,7 @@ packages: typescript: 4.2.4 url: 0.11.0 util: 0.12.4 - ws: 7.4.6 + ws: 7.5.0 dev: false name: '@rush-temp/core-amqp' resolution: @@ -8970,7 +8985,7 @@ packages: file:projects/core-asynciterator-polyfill.tgz: dependencies: '@types/node': 8.10.66 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 typedoc: 0.15.2 typescript: 4.2.4 @@ -8993,7 +9008,7 @@ packages: assert: 1.5.0 cross-env: 7.0.3 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 @@ -9024,14 +9039,14 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -9067,12 +9082,12 @@ packages: dependencies: '@azure/core-rest-pipeline': 1.0.4 '@microsoft/api-extractor': 7.13.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 chai: 4.3.4 cross-env: 7.0.3 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -9109,7 +9124,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -9117,7 +9132,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -9148,7 +9163,6 @@ packages: version: 0.0.0 file:projects/core-http.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/logger-js': 1.3.2 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -9156,7 +9170,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/express': 4.17.12 '@types/glob': 7.1.3 '@types/mocha': 7.0.2 @@ -9171,7 +9185,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 express: 4.17.1 fetch-mock: 9.11.0_node-fetch@2.6.1 form-data: 3.0.1 @@ -9217,19 +9231,18 @@ packages: version: 0.0.0 file:projects/core-lro.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 assert: 1.5.0 chai: 4.3.4 cross-env: 7.0.3 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -9267,7 +9280,7 @@ packages: file:projects/core-paging.tgz: dependencies: '@types/node': 8.10.66 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 typedoc: 0.15.2 @@ -9280,14 +9293,13 @@ packages: version: 0.0.0 file:projects/core-rest-pipeline.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -9295,7 +9307,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 form-data: 3.0.1 http-proxy-agent: 4.0.1 https-proxy-agent: 5.0.0 @@ -9335,7 +9347,6 @@ packages: file:projects/core-tracing.tgz: dependencies: '@microsoft/api-extractor': 7.7.11 - '@opencensus/web-types': 0.0.7 '@opentelemetry/api': 0.20.0 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -9347,7 +9358,7 @@ packages: '@types/sinon': 9.0.11 assert: 1.5.0 cross-env: 7.0.3 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -9387,14 +9398,14 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -9434,7 +9445,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -9442,7 +9453,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -9496,11 +9507,11 @@ packages: debug: 4.3.1 dotenv: 8.6.0 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 execa: 3.4.0 fast-json-stable-stringify: 2.1.0 - jsbi: 3.1.4 + jsbi: 3.1.5 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 node-abort-controller: 1.2.1 @@ -9539,7 +9550,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -9548,7 +9559,7 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -9590,7 +9601,7 @@ packages: '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/fs-extra': 8.1.1 '@types/minimist': 1.2.1 @@ -9602,7 +9613,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 chalk: 4.1.1 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 fs-extra: 8.1.0 minimist: 1.2.5 mocha: 7.2.0 @@ -9624,7 +9635,6 @@ packages: version: 0.0.0 file:projects/digital-twins-core.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -9632,7 +9642,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -9640,7 +9650,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -9679,21 +9689,21 @@ packages: version: 0.0.0 file:projects/eslint-plugin-azure-sdk.tgz: dependencies: - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/eslint': 7.2.13 '@types/estree': 0.0.48 '@types/glob': 7.1.3 '@types/json-schema': 7.0.7 '@types/mocha': 7.0.2 '@types/node': 10.17.60 - '@typescript-eslint/eslint-plugin': 4.19.0_579c993deb6b0313d5d0f5c428bab62d - '@typescript-eslint/experimental-utils': 4.19.0_eslint@7.28.0+typescript@4.2.4 - '@typescript-eslint/parser': 4.19.0_eslint@7.28.0+typescript@4.2.4 + '@typescript-eslint/eslint-plugin': 4.19.0_32b60b6a5d7033b9e5296983f03a72ce + '@typescript-eslint/experimental-utils': 4.19.0_eslint@7.29.0+typescript@4.2.4 + '@typescript-eslint/parser': 4.19.0_eslint@7.29.0+typescript@4.2.4 '@typescript-eslint/typescript-estree': 4.19.0_typescript@4.2.4 chai: 4.3.4 - eslint: 7.28.0 - eslint-config-prettier: 7.2.0_eslint@7.28.0 - eslint-plugin-import: 2.23.4_eslint@7.28.0 + eslint: 7.29.0 + eslint-config-prettier: 7.2.0_eslint@7.29.0 + eslint-plugin-import: 2.23.4_eslint@7.29.0 eslint-plugin-no-only-tests: 2.6.0 eslint-plugin-promise: 4.3.1 eslint-plugin-tsdoc: 0.2.14 @@ -9715,7 +9725,6 @@ packages: version: 0.0.0 file:projects/event-hubs.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-inject': 4.0.2_rollup@1.32.1 @@ -9724,7 +9733,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/async-lock': 1.1.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/chai-string': 1.4.2 '@types/debug': 4.1.5 @@ -9733,7 +9742,7 @@ packages: '@types/node': 8.10.66 '@types/sinon': 9.0.11 '@types/uuid': 8.3.0 - '@types/ws': 7.4.4 + '@types/ws': 7.4.5 assert: 1.5.0 buffer: 5.7.1 chai: 4.3.4 @@ -9743,7 +9752,7 @@ packages: debug: 4.3.1 dotenv: 8.6.0 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 https-proxy-agent: 5.0.0 is-buffer: 2.0.5 @@ -9778,7 +9787,7 @@ packages: typedoc: 0.15.2 typescript: 4.2.4 uuid: 8.3.2 - ws: 7.4.6 + ws: 7.5.0 dev: false name: '@rush-temp/event-hubs' resolution: @@ -9796,14 +9805,14 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/async-lock': 1.1.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/chai-string': 1.4.2 '@types/debug': 4.1.5 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/uuid': 8.3.0 - '@types/ws': 7.4.4 + '@types/ws': 7.4.5 async-lock: 1.3.0 azure-storage: 2.10.4 chai: 4.3.4 @@ -9812,7 +9821,7 @@ packages: cross-env: 7.0.3 debug: 4.3.1 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 https-proxy-agent: 5.0.0 mocha: 7.2.0 @@ -9828,7 +9837,7 @@ packages: typedoc: 0.15.2 typescript: 4.2.4 uuid: 8.3.2 - ws: 7.4.6 + ws: 7.5.0 dev: false name: '@rush-temp/event-processor-host' resolution: @@ -9845,7 +9854,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -9855,7 +9864,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -9901,7 +9910,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/chai-string': 1.4.2 '@types/debug': 4.1.5 @@ -9914,7 +9923,7 @@ packages: cross-env: 7.0.3 debug: 4.3.1 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 events: 3.3.0 guid-typescript: 1.0.9 @@ -9951,9 +9960,75 @@ packages: integrity: sha512-kPDNdx4ZkZ5doODbROhFMQDIxyBwbahRK/NtXhvFHdcVBe+LNdSX2XgXVdzY36Ouwwr9/uWbnvlzHhgsG3l9xQ== tarball: file:projects/eventhubs-checkpointstore-blob.tgz version: 0.0.0 + file:projects/identity-cache-persistence.tgz: + dependencies: + '@azure/msal-node': 1.1.0 + '@azure/msal-node-extensions': 1.0.0-alpha.6 + '@microsoft/api-extractor': 7.7.11 + '@types/jws': 3.2.3 + '@types/mocha': 7.0.2 + '@types/node': 8.10.66 + '@types/qs': 6.9.6 + '@types/sinon': 9.0.11 + assert: 1.5.0 + cross-env: 7.0.3 + dotenv: 8.6.0 + eslint: 7.29.0 + inherits: 2.0.4 + keytar: 7.7.0 + mocha: 7.2.0 + mocha-junit-reporter: 1.23.3_mocha@7.2.0 + mock-fs: 4.14.0 + prettier: 1.19.1 + puppeteer: 3.3.0 + rimraf: 3.0.2 + rollup: 1.32.1 + sinon: 9.2.4 + tslib: 2.3.0 + typedoc: 0.15.2 + typescript: 4.2.4 + util: 0.12.4 + dev: false + name: '@rush-temp/identity-cache-persistence' + resolution: + integrity: sha512-4kcOh05iPn1Q/OPFhlcPgE8+2HNI/hTed17+qMabC68jt8SzX7c1Llhiu8uJfmrvyg/ws83dgWnd38dEYDDqEA== + tarball: file:projects/identity-cache-persistence.tgz + version: 0.0.0 + file:projects/identity-vscode.tgz: + dependencies: + '@microsoft/api-extractor': 7.7.11 + '@types/jws': 3.2.3 + '@types/mocha': 7.0.2 + '@types/node': 8.10.66 + '@types/qs': 6.9.6 + '@types/sinon': 9.0.11 + '@types/uuid': 8.3.0 + assert: 1.5.0 + cross-env: 7.0.3 + dotenv: 8.6.0 + eslint: 7.29.0 + inherits: 2.0.4 + keytar: 7.7.0 + mocha: 7.2.0 + mocha-junit-reporter: 1.23.3_mocha@7.2.0 + mock-fs: 4.14.0 + prettier: 1.19.1 + puppeteer: 3.3.0 + rimraf: 3.0.2 + rollup: 1.32.1 + sinon: 9.2.4 + tslib: 2.3.0 + typedoc: 0.15.2 + typescript: 4.2.4 + util: 0.12.4 + dev: false + name: '@rush-temp/identity-vscode' + resolution: + integrity: sha512-Vz1rlmfRj9+CsPGCuj2RxyXlemnz6MrZnch7WSmsMUe/OYljjtVDCiYycAub9HwqqGSIT9xiNgXOBDt+KZIgCA== + tarball: file:projects/identity-vscode.tgz + version: 0.0.0 file:projects/identity.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/msal-browser': 2.14.2 '@azure/msal-common': 4.3.0 '@azure/msal-node': 1.1.0 @@ -9968,7 +10043,7 @@ packages: assert: 1.5.0 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 jws: 4.0.0 @@ -9998,18 +10073,17 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-OFIS+gx/7T0Bs3YObe7wv2MKfdGawdgRQ7UvRN6mQUYDCjkW37NpPdP8QoLCNQi1m3u0BwWf2HhuKEUhG/Y/Bw== + integrity: sha512-WhzQXtuVDAdYFtQtAqj9om+FireeOVVkgmVP/bZwh4vYueDup+Nlp6slAq9lMJz/auX80Y9LXy1VzErjNxWtsA== tarball: file:projects/identity.tgz version: 0.0.0 file:projects/iot-device-update.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@types/node': 8.10.66 '@types/uuid': 8.3.0 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 mkdirp: 1.0.4 prettier: 1.19.1 rimraf: 3.0.2 @@ -10038,13 +10112,13 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -10082,8 +10156,6 @@ packages: version: 0.0.0 file:projects/keyvault-admin.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@azure/keyvault-keys': 4.2.1 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -10091,7 +10163,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -10102,7 +10174,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 mocha: 7.2.0 mocha-junit-reporter: 1.23.3_mocha@7.2.0 @@ -10128,8 +10200,6 @@ packages: version: 0.0.0 file:projects/keyvault-certificates.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@azure/keyvault-secrets': 4.2.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -10137,7 +10207,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/query-string': 6.2.0 @@ -10146,7 +10216,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -10187,8 +10257,7 @@ packages: version: 0.0.0 file:projects/keyvault-common.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 tslib: 2.3.0 @@ -10201,15 +10270,13 @@ packages: version: 0.0.0 file:projects/keyvault-keys.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -10220,7 +10287,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -10261,15 +10328,13 @@ packages: version: 0.0.0 file:projects/keyvault-secrets.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/query-string': 6.2.0 @@ -10278,7 +10343,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -10324,7 +10389,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 @@ -10333,7 +10398,7 @@ packages: cross-env: 7.0.3 delay: 4.4.1 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -10367,9 +10432,8 @@ packages: version: 0.0.0 file:projects/mixedreality-authentication.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -10377,7 +10441,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 inherits: 2.0.4 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -10412,7 +10476,7 @@ packages: dependencies: '@types/node': 8.10.66 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rhea: 2.0.2 rimraf: 3.0.2 @@ -10434,8 +10498,8 @@ packages: '@opentelemetry/tracing': 0.18.2 '@types/mocha': 7.0.2 '@types/node': 10.17.60 - eslint: 7.28.0 - eslint-plugin-node: 11.1.0_eslint@7.28.0 + eslint: 7.29.0 + eslint-plugin-node: 11.1.0_eslint@7.29.0 execa: 3.4.0 mocha: 7.2.0 nock: 12.0.3 @@ -10456,13 +10520,12 @@ packages: version: 0.0.0 file:projects/monitor-query.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@opentelemetry/api': 0.20.0 '@opentelemetry/node': 0.20.0_@opentelemetry+api@0.20.0 '@opentelemetry/tracing': 0.18.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -10471,7 +10534,7 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 inherits: 2.0.4 karma: 6.3.4 @@ -10506,10 +10569,9 @@ packages: file:projects/perf-ai-form-recognizer.tgz: dependencies: '@azure/ai-form-recognizer': 3.1.0-beta.3 - '@azure/identity': 2.0.0-beta.3 '@types/node': 8.10.66 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10526,7 +10588,7 @@ packages: '@azure/ai-metrics-advisor': 1.0.0-beta.3 '@types/node': 8.10.66 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10540,10 +10602,9 @@ packages: version: 0.0.0 file:projects/perf-ai-text-analytics.tgz: dependencies: - '@azure/identity': 2.0.0-beta.3 '@types/node': 8.10.66 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10559,7 +10620,7 @@ packages: dependencies: '@types/uuid': 8.3.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10575,7 +10636,7 @@ packages: dependencies: '@types/node': 8.10.66 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10591,7 +10652,7 @@ packages: dependencies: '@types/uuid': 8.3.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10600,16 +10661,15 @@ packages: dev: false name: '@rush-temp/perf-identity' resolution: - integrity: sha512-0AGKpgyfSwfjXGgEfT+3JFmDLtwWSuYPjMoPgo0Cr6QKwleihOaC2Gkxlb5jgXuo412syQrJyQI2TTs8xhsVGA== + integrity: sha512-Xcm3bc1sQF3yp0wCcTZ3eSDf2o3DDxQvgPzy1Byjird4i3hf4PrhG0l0Z21Oy/OeVDHm50pELO38mJIosuxR7w== tarball: file:projects/perf-identity.tgz version: 0.0.0 file:projects/perf-keyvault-certificates.tgz: dependencies: - '@azure/identity': 2.0.0-beta.3 '@azure/keyvault-certificates': 4.2.0 '@types/uuid': 8.3.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10624,11 +10684,10 @@ packages: version: 0.0.0 file:projects/perf-keyvault-keys.tgz: dependencies: - '@azure/identity': 2.0.0-beta.3 '@azure/keyvault-keys': 4.2.1 '@types/uuid': 8.3.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10643,11 +10702,10 @@ packages: version: 0.0.0 file:projects/perf-keyvault-secrets.tgz: dependencies: - '@azure/identity': 2.0.0-beta.3 '@azure/keyvault-secrets': 4.2.0 '@types/uuid': 8.3.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10662,10 +10720,9 @@ packages: version: 0.0.0 file:projects/perf-search-documents.tgz: dependencies: - '@azure/identity': 2.0.0-beta.3 '@types/node': 8.10.66 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10684,7 +10741,7 @@ packages: '@types/node-fetch': 2.5.10 '@types/uuid': 8.3.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 node-fetch: 2.6.1 prettier: 1.19.1 rimraf: 3.0.2 @@ -10703,7 +10760,7 @@ packages: '@types/node': 8.10.66 '@types/uuid': 8.3.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10721,7 +10778,7 @@ packages: '@types/node': 8.10.66 '@types/uuid': 8.3.0 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 @@ -10739,13 +10796,13 @@ packages: '@azure/core-rest-pipeline': 1.0.4 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.13.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -10782,13 +10839,13 @@ packages: '@azure/core-rest-pipeline': 1.0.4 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.13.2 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -10822,7 +10879,6 @@ packages: version: 0.0.0 file:projects/quantum-jobs.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -10830,14 +10886,14 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -10876,8 +10932,6 @@ packages: version: 0.0.0 file:projects/schema-registry-avro.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-inject': 4.0.2_rollup@1.32.1 @@ -10885,7 +10939,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -10895,7 +10949,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -10932,15 +10986,13 @@ packages: version: 0.0.0 file:projects/schema-registry.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -10948,7 +11000,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -10984,21 +11036,20 @@ packages: version: 0.0.0 file:projects/search-documents.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -11038,8 +11089,6 @@ packages: version: 0.0.0 file:projects/service-bus.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3_debug@4.3.1 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-inject': 4.0.2_rollup@1.32.1 @@ -11047,7 +11096,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/debug': 4.1.5 '@types/glob': 7.1.3 @@ -11056,7 +11105,7 @@ packages: '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 - '@types/ws': 7.4.4 + '@types/ws': 7.4.5 assert: 1.5.0 buffer: 5.7.1 chai: 4.3.4 @@ -11067,7 +11116,7 @@ packages: delay: 4.4.1 dotenv: 8.6.0 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 events: 3.3.0 glob: 7.1.7 @@ -11105,7 +11154,7 @@ packages: tslib: 2.3.0 typedoc: 0.15.2 typescript: 4.2.4 - ws: 7.4.6 + ws: 7.5.0 dev: false name: '@rush-temp/service-bus' resolution: @@ -11114,7 +11163,6 @@ packages: version: 0.0.0 file:projects/storage-blob-changefeed.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11128,7 +11176,7 @@ packages: dotenv: 8.6.0 downlevel-dts: 0.4.0 es6-promise: 4.2.8 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 @@ -11172,8 +11220,6 @@ packages: file:projects/storage-blob.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -11188,7 +11234,7 @@ packages: dotenv: 8.6.0 downlevel-dts: 0.4.0 es6-promise: 4.2.8 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 @@ -11231,8 +11277,6 @@ packages: version: 0.0.0 file:projects/storage-file-datalake.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -11247,7 +11291,7 @@ packages: dotenv: 8.6.0 downlevel-dts: 0.4.0 es6-promise: 4.2.8 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 events: 3.3.0 execa: 3.4.0 @@ -11291,7 +11335,6 @@ packages: version: 0.0.0 file:projects/storage-file-share.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11304,7 +11347,7 @@ packages: dotenv: 8.6.0 downlevel-dts: 0.4.0 es6-promise: 4.2.8 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 events: 3.3.0 inherits: 2.0.4 @@ -11357,7 +11400,7 @@ packages: dotenv: 8.6.0 downlevel-dts: 0.4.0 es6-promise: 4.2.8 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 inherits: 2.0.4 karma: 6.3.4 @@ -11397,8 +11440,6 @@ packages: version: 0.0.0 file:projects/storage-queue.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 - '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11411,7 +11452,7 @@ packages: dotenv: 8.6.0 downlevel-dts: 0.4.0 es6-promise: 4.2.8 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 inherits: 2.0.4 karma: 6.3.4 @@ -11452,10 +11493,9 @@ packages: version: 0.0.0 file:projects/synapse-access-control.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 - eslint: 7.28.0 + eslint: 7.29.0 rimraf: 3.0.2 rollup: 1.32.1 rollup-plugin-node-resolve: 3.4.0 @@ -11472,10 +11512,9 @@ packages: version: 0.0.0 file:projects/synapse-artifacts.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -11484,7 +11523,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -11522,10 +11561,9 @@ packages: version: 0.0.0 file:projects/synapse-managed-private-endpoints.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 - eslint: 7.28.0 + eslint: 7.29.0 rimraf: 3.0.2 rollup: 1.32.1 rollup-plugin-node-resolve: 3.4.0 @@ -11542,10 +11580,9 @@ packages: version: 0.0.0 file:projects/synapse-monitoring.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 - eslint: 7.28.0 + eslint: 7.29.0 rimraf: 3.0.2 rollup: 1.32.1 rollup-plugin-node-resolve: 3.4.0 @@ -11562,10 +11599,9 @@ packages: version: 0.0.0 file:projects/synapse-spark.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 - eslint: 7.28.0 + eslint: 7.29.0 rimraf: 3.0.2 rollup: 1.32.1 rollup-plugin-node-resolve: 3.4.0 @@ -11582,9 +11618,8 @@ packages: version: 0.0.0 file:projects/template.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -11593,7 +11628,7 @@ packages: cross-env: 7.0.3 dotenv: 8.6.0 downlevel-dts: 0.4.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 inherits: 2.0.4 karma: 6.3.4 @@ -11630,7 +11665,7 @@ packages: '@types/minimist': 1.2.1 '@types/node': 8.10.66 '@types/node-fetch': 2.5.10 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -11649,12 +11684,11 @@ packages: version: 0.0.0 file:projects/test-utils-recorder.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/fs-extra': 8.1.1 '@types/md5': 2.3.0 '@types/mocha': 7.0.2 @@ -11664,7 +11698,7 @@ packages: '@types/node': 8.10.66 chai: 4.3.4 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 fs-extra: 8.1.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 @@ -11707,13 +11741,13 @@ packages: file:projects/test-utils.tgz: dependencies: '@microsoft/api-extractor': 7.7.11 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/sinon': 9.0.11 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 - eslint: 7.28.0 + eslint: 7.29.0 karma: 6.3.4 karma-chrome-launcher: 3.1.0 karma-coverage: 2.0.3 @@ -11733,10 +11767,8 @@ packages: version: 0.0.0 file:projects/video-analyzer-edge.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 - '@opentelemetry/api': 1.0.0-rc.0 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 '@types/node': 8.10.66 @@ -11745,7 +11777,7 @@ packages: chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 events: 3.3.0 inherits: 2.0.4 karma: 6.3.4 @@ -11777,7 +11809,6 @@ packages: version: 0.0.0 file:projects/web-pubsub-express.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -11785,10 +11816,10 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/chai': 4.2.18 + '@types/chai': 4.2.19 '@types/express': 4.17.12 '@types/express-serve-static-core': 4.17.21 - '@types/jsonwebtoken': 8.5.1 + '@types/jsonwebtoken': 8.5.2 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/query-string': 6.2.0 @@ -11798,7 +11829,7 @@ packages: cloudevents: 4.0.2 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 jsonwebtoken: 8.5.1 karma: 6.3.4 @@ -11839,7 +11870,6 @@ packages: version: 0.0.0 file:projects/web-pubsub.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -11847,7 +11877,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 - '@types/jsonwebtoken': 8.5.1 + '@types/jsonwebtoken': 8.5.2 '@types/mocha': 7.0.2 '@types/node': 8.10.66 '@types/query-string': 6.2.0 @@ -11856,7 +11886,7 @@ packages: chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 - eslint: 7.28.0 + eslint: 7.29.0 esm: 3.2.25 jsonwebtoken: 8.5.1 karma: 6.3.4 @@ -11895,7 +11925,6 @@ packages: integrity: sha512-vR4Y02jE/bLss6v013XQnI7fHgUp+r4ENYXoaHKRAtNMixhfeobUozzrZuMQJjCTyh0ps8FxxEn3BB3It5SySQ== tarball: file:projects/web-pubsub.tgz version: 0.0.0 -registry: '' specifiers: '@rush-temp/abort-controller': file:./projects/abort-controller.tgz '@rush-temp/agrifood-farming': file:./projects/agrifood-farming.tgz @@ -11937,6 +11966,8 @@ specifiers: '@rush-temp/eventgrid': file:./projects/eventgrid.tgz '@rush-temp/eventhubs-checkpointstore-blob': file:./projects/eventhubs-checkpointstore-blob.tgz '@rush-temp/identity': file:./projects/identity.tgz + '@rush-temp/identity-cache-persistence': file:./projects/identity-cache-persistence.tgz + '@rush-temp/identity-vscode': file:./projects/identity-vscode.tgz '@rush-temp/iot-device-update': file:./projects/iot-device-update.tgz '@rush-temp/iot-modelsrepository': file:./projects/iot-modelsrepository.tgz '@rush-temp/keyvault-admin': file:./projects/keyvault-admin.tgz diff --git a/rush.json b/rush.json index 61ea3b71b0ce..eb5e506f2aeb 100644 --- a/rush.json +++ b/rush.json @@ -541,6 +541,16 @@ "projectFolder": "sdk/identity/identity", "versionPolicyName": "client" }, + { + "packageName": "@azure/identity-vscode", + "projectFolder": "sdk/identity/identity-vscode", + "versionPolicyName": "client" + }, + { + "packageName": "@azure/identity-cache-persistence", + "projectFolder": "sdk/identity/identity-cache-persistence", + "versionPolicyName": "client" + }, { "packageName": "@azure/keyvault-common", "projectFolder": "sdk/keyvault/keyvault-common", diff --git a/sdk/identity/identity-cache-persistence/.eslintrc.json b/sdk/identity/identity-cache-persistence/.eslintrc.json new file mode 100644 index 000000000000..1c1503b9333a --- /dev/null +++ b/sdk/identity/identity-cache-persistence/.eslintrc.json @@ -0,0 +1,8 @@ +{ + "plugins": ["@azure/azure-sdk"], + "extends": ["plugin:@azure/azure-sdk/azure-sdk-base"], + "rules": { + "@azure/azure-sdk/ts-package-json-module": "off", + "@azure/azure-sdk/ts-package-json-engine-is-present": "off" + } +} diff --git a/sdk/identity/identity-cache-persistence/.gitignore b/sdk/identity/identity-cache-persistence/.gitignore new file mode 100644 index 000000000000..3c8af5ad63ff --- /dev/null +++ b/sdk/identity/identity-cache-persistence/.gitignore @@ -0,0 +1 @@ +!test/assets/cert.pem diff --git a/sdk/identity/identity-cache-persistence/CHANGELOG.md b/sdk/identity/identity-cache-persistence/CHANGELOG.md new file mode 100644 index 000000000000..078f0038aef8 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/CHANGELOG.md @@ -0,0 +1,11 @@ +# Release History + +## 1.0.0-beta.1 (Unreleased) + +### New features + +- This release marks the initial beta availability of the `@azure/identity-cache-persistence` package. This package provides an extension to `@azure/identity` that enables persistent token caching in a secure storage defined by the Operating System (caching of token values across sessions), which allows skipping interactive authentication flows if a previously-cached token is still available. This is implemented using the following technologies: + - On Windows, the cache will use a DPAPI-protected file. + - On macOS, the cache will use the macOS Keychain. + - On Linux, the cache will use `libsecret` to store the tokens (this will use a provider backend, e.g. GNOME Keyring). + - On Linux and macOS, the cache may optionally use an unencrypted file as a last resort, but only if the `allowUnencryptedStorage` property is set to true in the `tokenCachePersistenceOptions` passed to the credential constructor. diff --git a/sdk/identity/identity-cache-persistence/LICENSE b/sdk/identity/identity-cache-persistence/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/identity/identity-cache-persistence/README.md b/sdk/identity/identity-cache-persistence/README.md new file mode 100644 index 000000000000..ffd728000ef3 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/README.md @@ -0,0 +1,95 @@ +## Azure Identity Extension for Token Cache Persistence + +This package provides an extension to the Azure Identity library for JavaScript ([`@azure/identity`](https://npmjs.com/package/@azure/identity)) that enables persistent token caching. Token cache persistence allows the built-in token cache to persist across sessions using a secure storage system provided by the local Operating System. + +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-cache-persistence) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity-cache-persistence/samples-dev) + +## Getting started + +### Install the package + +This package is designed to be used with Azure Identity for JavaScript. Install both `@azure/identity` and this package using `npm`: + +```sh +$ npm install --save @azure/identity +$ npm install --save @azure/identity-cache-persistence +``` + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/). + +#### Supported Environments + +Azure Identity extensions for JavaScript support stable (even numbered) versions of Node.js starting from v12. While it may run in other Node versions, no support is guaranteed. `@azure/identity-cache-persistence` **does not** support browser environments. + +## Key concepts + +If this is your first time using `@azure/identity` or the Microsoft identity platform (Azure Active Directory), we recommend that you read [Using `@azure/identity` with Microsoft Identity Platform](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/using-azure-identity.md) first. This document will give you a deeper understanding of the platform and how to configure your Azure account correctly. + +### Azure Identity Extensions + +As of `@azure/identity` version 2.0.0, the Identity client library for JavaScript includes an extension API. This package (`@azure/identity-cache-persistence`) exports an extension object that you must pass as an argument to the top-level `useIdentityExtension` function from the `@azure/identity` package. Enable token cache persistence in your program as follows: + +```typescript +import { useIdentityExtension } from "@azure/identity"; +import { cachePersistenceExtension } from "@azure/identity-cache-persistence"; + +useIdentityExtension(cachePersistenceExtension); +``` + +After calling `useIdentityExtension`, the persistent token cache extension is registered to the `@azure/identity` package and will be available on all credentials that support persistent token caching (those that have `tokenCachePersistenceOptions` in their constructor options). + +## Examples + +Once the extension is registered, you can enable token cache persistence by passing `tokenCachePersistenceOptions` with an `enabled` property set to `true` to a credential constructor. In the following example, we use the `DeviceCodeCredential`, since persistent caching of its tokens allows you to skip the interactive device-code authentication flow if a cached token is available. + +```typescript +import { useIdentityExtension, DeviceCodeCredential } from "@azure/identity"; +import { cachePersistenceExtension } from "@azure/identity-cache-persistence"; + +useIdentityExtension(cachePersistenceExtension); + +async function main() { + const credential = new DeviceCodeCredential({ + tokenCachePersistenceOptions: { + enabled: true + } + }); + + // We'll use the Microsoft Graph scope as an example + const scope = "https://graph.microsoft.com/.default"; + + // Print out part of the access token + console.log((await credential.getToken(scope)).token.substr(0, 10), "..."); +} + +main().catch((error) => { + console.error("An error occurred:", error); + process.exit(1); +}); +``` + +## Troubleshooting + +### Logging + +Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`: + +```javascript +import { setLogLevel } from "@azure/logger"; + +setLogLevel("info"); +``` + +## Next steps + +### Provide Feedback + +If you encounter bugs or have suggestions, please [open an issue](https://github.com/Azure/azure-sdk-for-js/issues). + +## Contributing + +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fidentity%2Fidentity%2FREADME.png) diff --git a/sdk/identity/identity-cache-persistence/api-extractor.json b/sdk/identity/identity-cache-persistence/api-extractor.json new file mode 100644 index 000000000000..f7b471ed2265 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/api-extractor.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "mainEntryPointFilePath": "./types/identity-cache-persistence/src/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, + "dtsRollup": { + "enabled": true, + "untrimmedFilePath": "", + "publicTrimmedFilePath": "./types/identity-cache-persistence.d.ts" + }, + "messages": { + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, + "extractorMessageReporting": { + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } + } + } +} diff --git a/sdk/identity/identity-cache-persistence/package.json b/sdk/identity/identity-cache-persistence/package.json new file mode 100644 index 000000000000..abaac4be0321 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/package.json @@ -0,0 +1,100 @@ +{ + "name": "@azure/identity-cache-persistence", + "version": "1.0.0-beta.1", + "description": "A secure, persistent token cache for Azure Identity credentials that uses the OS secret-management API", + "main": "dist/index.js", + "module": "dist-esm/identity-cache-persistence/src/index.js", + "types": "./types/identity-cache-persistence.d.ts", + "scripts": { + "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", + "build:samples": "echo skipped", + "build:test": "tsc -p . && rollup -c rollup.config.js 2>&1", + "build": "npm run extract-api && tsc -p . && rollup -c 2>&1", + "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\" \"samples-dev/**/*.ts\"", + "clean": "rimraf dist dist-* typings *.tgz *.log", + "execute:samples": "echo skipped", + "extract-api": "tsc -p . && api-extractor run --local", + "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\" \"samples-dev/**/*.ts\"", + "integration-test:browser": "echo skipped", + "integration-test:node": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", + "lint": "eslint package.json api-extractor.json src test --ext .ts", + "pack": "npm pack 2>&1", + "prebuild": "npm run clean", + "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", + "test:node": "npm run clean && npm run build:test && npm run unit-test:node && npm run integration-test:node", + "test": "npm run clean && npm run build:test && npm run unit-test && npm run integration-test", + "unit-test:browser": "echo skipped", + "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 180000 --full-trace --exclude \"test/**/browser/**/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test": "npm run unit-test:node && npm run unit-test:browser", + "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" + }, + "files": [ + "dist/", + "dist-esm/identity/src", + "dist-esm/identity-cache-persistence/src", + "types/identity-cache-persistence.d.ts", + "README.md", + "LICENSE" + ], + "engines": { + "node": ">=12.0.0" + }, + "repository": "github:Azure/azure-sdk-for-js", + "keywords": [ + "azure", + "cloud", + "active directory", + "authentication", + "credential", + "certificate", + "persistence", + "cache" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "engine": { + "node": ">=12.0.0" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-cache-persistence/README.md", + "sideEffects": false, + "dependencies": { + "@azure/core-auth": "^1.3.0", + "@azure/identity": "^2.0.0-beta.4", + "@azure/msal-node": "^1.1.0", + "@azure/msal-node-extensions": "1.0.0-alpha.6", + "keytar": "^7.6.0", + "tslib": "^2.2.0" + }, + "devDependencies": { + "@azure/eslint-plugin-azure-sdk": "^3.0.0", + "@azure/dev-tool": "^1.0.0", + "@azure/test-utils-recorder": "^1.0.0", + "@microsoft/api-extractor": "7.7.11", + "@types/jws": "^3.2.2", + "@types/mocha": "^7.0.2", + "@types/node": "^8.0.0", + "@types/qs": "^6.5.3", + "assert": "^1.4.1", + "cross-env": "^7.0.2", + "dotenv": "^8.2.0", + "eslint": "^7.15.0", + "inherits": "^2.0.3", + "mocha": "^7.1.1", + "mocha-junit-reporter": "^1.18.0", + "puppeteer": "^3.3.0", + "rimraf": "^3.0.0", + "rollup": "^1.16.3", + "typescript": "~4.2.0", + "util": "^0.12.1", + "sinon": "^9.0.2", + "@types/sinon": "^9.0.4", + "mock-fs": "^4.10.4", + "typedoc": "0.15.2", + "prettier": "^1.16.4" + } +} diff --git a/sdk/identity/identity-cache-persistence/recordings/node/clientcertificatecredential_internal/recording_accepts_tokencachepersistenceoptions.js b/sdk/identity/identity-cache-persistence/recordings/node/clientcertificatecredential_internal/recording_accepts_tokencachepersistenceoptions.js new file mode 100644 index 000000000000..0011ebc6bd57 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/clientcertificatecredential_internal/recording_accepts_tokencachepersistenceoptions.js @@ -0,0 +1,111 @@ +let nock = require('nock'); + +module.exports.hash = "f2f314ebfb0b21270e281f8cfaa428eb"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'afae0f31-2449-4ead-bae3-5872d9ac1000', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:36 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"NA","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9b573481-cec3-4a8f-add9-eabeab1c2300', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:37 GMT', + 'Content-Length', + '1651' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=client-request-id&client_assertion=client_assertion&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '76255ad6-29e6-4527-a4a3-ff6ce6a97600', + 'x-ms-ests-server', + '2.1.11787.14 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:37 GMT', + 'Content-Length', + '1588' +]); diff --git a/sdk/identity/identity-cache-persistence/recordings/node/clientcertificatecredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js b/sdk/identity/identity-cache-persistence/recordings/node/clientcertificatecredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js new file mode 100644 index 000000000000..34219511f44d --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/clientcertificatecredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js @@ -0,0 +1,182 @@ +let nock = require('nock'); + +module.exports.hash = "a35165f908e286361502828da4c76736"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '839e3095-5d46-49ec-a3de-bde9f1a40e00', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:37 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"NA","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9e1bae85-2215-44d4-8edc-49f2ba2c1a00', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:37 GMT', + 'Content-Length', + '1651' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=client-request-id&client_assertion=client_assertion&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '409bd16b-3d19-4ecb-993b-15cb6b951800', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:37 GMT', + 'Content-Length', + '1588' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'df68a08d-09ef-4790-8194-b5dbacdd6c00', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:37 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"NA","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '18fea51e-7f24-414e-9d58-99875bde2500', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:37 GMT', + 'Content-Length', + '1651' +]); diff --git a/sdk/identity/identity-cache-persistence/recordings/node/clientsecretcredential_internal/recording_accepts_tokencachepersistenceoptions.js b/sdk/identity/identity-cache-persistence/recordings/node/clientsecretcredential_internal/recording_accepts_tokencachepersistenceoptions.js new file mode 100644 index 000000000000..c2a6d0a6f70b --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/clientsecretcredential_internal/recording_accepts_tokencachepersistenceoptions.js @@ -0,0 +1,111 @@ +let nock = require('nock'); + +module.exports.hash = "e5b2fd33648fbcb25002eb5d85a3b1b7"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '6ec3837f-1b8d-4b9c-899e-c708c14b9200', + 'x-ms-ests-server', + '2.1.11787.14 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:38 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"NA","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '409bd16b-3d19-4ecb-993b-15cb9b951800', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:38 GMT', + 'Content-Length', + '1651' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=client-request-id&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Length', + '1588', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'bd0f0928-051d-4666-8f19-5267ddc31900', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:38 GMT' +]); diff --git a/sdk/identity/identity-cache-persistence/recordings/node/clientsecretcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js b/sdk/identity/identity-cache-persistence/recordings/node/clientsecretcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js new file mode 100644 index 000000000000..dc5389c124fd --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/clientsecretcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js @@ -0,0 +1,182 @@ +let nock = require('nock'); + +module.exports.hash = "efc3f10af9de458ea8671542d0000e3b"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Length', + '980', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '2d859df5-c16e-4a19-8c78-d944bed23c00', + 'x-ms-ests-server', + '2.1.11787.14 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:38 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"NA","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '76255ad6-29e6-4527-a4a3-ff6c5aaa7600', + 'x-ms-ests-server', + '2.1.11787.14 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:38 GMT', + 'Content-Length', + '1651' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=client-request-id&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Length', + '1588', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9b573481-cec3-4a8f-add9-eabe3a1d2300', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:38 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '884b75b2-1b54-49f2-a391-454a07e21400', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:38 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"NA","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9e1bae85-2215-44d4-8edc-49f21d2d1a00', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:38 GMT', + 'Content-Length', + '1651' +]); diff --git a/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_accepts_tokencachepersistenceoptions.js b/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_accepts_tokencachepersistenceoptions.js new file mode 100644 index 000000000000..20612e770d36 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_accepts_tokencachepersistenceoptions.js @@ -0,0 +1,146 @@ +let nock = require('nock'); + +module.exports.hash = "1835013ecdba7993776a10d98850fb5f"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'ae17da35-2635-4b07-a094-b0de800c1200', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:39 GMT', + 'Content-Length', + '957' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/organizations/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/organizations/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/{tenantid}/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":null,"cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '13bdc6cc-fd34-4d40-a854-12a2ef7c8000', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:39 GMT', + 'Content-Length', + '1510' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/organizations/oauth2/v2.0/devicecode', "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46") + .reply(200, {"user_code":"USER_CODE","device_code":"DEVICE_CODE","verification_uri":"https://microsoft.com/devicelogin","expires_in":900,"interval": 0,"message":"To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code USER_CODE to authenticate."}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Length', + '473', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '700be316-e865-4268-95dd-d742ba380200', + 'x-ms-ests-server', + '2.1.11787.15 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:39 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/organizations/oauth2/v2.0/token', "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=device_code&device_code=DEVICE_CODE&client-request-id=client-request-id&client_info=1&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|671,0|,&x-client-last-telemetry=2|0|||0,0") + .reply(200, {"token_type":"Bearer","scope":"email openid profile https://graph.microsoft.com/AuditLog.Read.All https://graph.microsoft.com/Directory.AccessAsUser.All https://graph.microsoft.com/Group.ReadWrite.All https://graph.microsoft.com/User.ReadWrite.All https://graph.microsoft.com/.default","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token","refresh_token":"refresh_token","foci":"1","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImtpZCJ9.eyJhdWQiOiJhdWQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyL3YyLjAiLCJpYXQiOjE2MTUzMzcxNjMsIm5iZiI6MTYxNTMzNzE2MywiZXhwIjoxNjE1MzQxMDYzLCJhaW8iOiJhaW8iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9pZHAvIiwibmFtZSI6IkRhbmllbCBSb2Ryw61ndWV6Iiwib2lkIjoib2lkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZGFucm9kcmlAbWljcm9zb2Z0LmNvbSIsInJoIjoicmguIiwic3ViIjoic3ViIiwidGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIiwidXRpIjoidXRpIiwidmVyIjoiMi4wIn0=.bm9faWRlYV93aGF0c190aGlz","client_info":"eyJ1aWQiOiIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODkwMTIiLCJ1dGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0K"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '409bd16b-3d19-4ecb-993b-15cbe49a1800', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:54 GMT', + 'Content-Length', + '5043' +]); diff --git a/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_allows_passing_an_authenticationrecord_to_avoid_further_manual_authentications.js b/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_allows_passing_an_authenticationrecord_to_avoid_further_manual_authentications.js new file mode 100644 index 000000000000..efbb014a72e9 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_allows_passing_an_authenticationrecord_to_avoid_further_manual_authentications.js @@ -0,0 +1,287 @@ +let nock = require('nock'); + +module.exports.hash = "9b2722ac6356324e61d860b570724ee6"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '1862a810-e5a7-40ee-a59a-5a4f1abb2400', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:10 GMT', + 'Content-Length', + '957' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/organizations/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/organizations/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/{tenantid}/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":null,"cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '73d7c60d-e6d5-4b21-ae5d-7961dd751700', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:10 GMT', + 'Content-Length', + '1510' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/organizations/oauth2/v2.0/devicecode', "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46") + .reply(200, {"user_code":"USER_CODE","device_code":"DEVICE_CODE","verification_uri":"https://microsoft.com/devicelogin","expires_in":900,"interval": 0,"message":"To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code USER_CODE to authenticate."}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '1a3165b3-78ec-42a2-95fe-ff3930e97000', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:11 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:10 GMT', + 'Content-Length', + '473' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/organizations/oauth2/v2.0/token', "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=device_code&device_code=DEVICE_CODE&client-request-id=client-request-id&client_info=1&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|671,0|,&x-client-last-telemetry=2|0|||0,0") + .reply(200, {"token_type":"Bearer","scope":"email openid profile https://graph.microsoft.com/AuditLog.Read.All https://graph.microsoft.com/Directory.AccessAsUser.All https://graph.microsoft.com/Group.ReadWrite.All https://graph.microsoft.com/User.ReadWrite.All https://graph.microsoft.com/.default","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token","refresh_token":"refresh_token","foci":"1","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImtpZCJ9.eyJhdWQiOiJhdWQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyL3YyLjAiLCJpYXQiOjE2MTUzMzcxNjMsIm5iZiI6MTYxNTMzNzE2MywiZXhwIjoxNjE1MzQxMDYzLCJhaW8iOiJhaW8iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9pZHAvIiwibmFtZSI6IkRhbmllbCBSb2Ryw61ndWV6Iiwib2lkIjoib2lkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZGFucm9kcmlAbWljcm9zb2Z0LmNvbSIsInJoIjoicmguIiwic3ViIjoic3ViIiwidGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIiwidXRpIjoidXRpIiwidmVyIjoiMi4wIn0=.bm9faWRlYV93aGF0c190aGlz","client_info":"eyJ1aWQiOiIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODkwMTIiLCJ1dGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0K"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'bd0f0928-051d-4666-8f19-52673ccf1900', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:21 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:21 GMT', + 'Content-Length', + '5038' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'cb7b6143-2d08-4775-81b7-fd8aa6979800', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:22 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:21 GMT', + 'Content-Length', + '957' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/organizations/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/organizations/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/{tenantid}/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":null,"cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'a03f3270-b884-43e5-9ac1-f8e494da1e00', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:22 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:21 GMT', + 'Content-Length', + '1510' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/organizations/oauth2/v2.0/devicecode', "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46") + .reply(200, {"user_code":"USER_CODE","device_code":"DEVICE_CODE","verification_uri":"https://microsoft.com/devicelogin","expires_in":900,"interval": 0,"message":"To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code USER_CODE to authenticate."}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'fa8fbb31-7fa8-4dc8-b47c-a23004171d00', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:22 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:21 GMT', + 'Content-Length', + '473' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/organizations/oauth2/v2.0/token', "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=device_code&device_code=DEVICE_CODE&client-request-id=client-request-id&client_info=1&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|671,0|,&x-client-last-telemetry=2|0|||0,0") + .reply(200, {"token_type":"Bearer","scope":"email openid profile https://graph.microsoft.com/AuditLog.Read.All https://graph.microsoft.com/Directory.AccessAsUser.All https://graph.microsoft.com/Group.ReadWrite.All https://graph.microsoft.com/User.ReadWrite.All https://graph.microsoft.com/.default","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token","refresh_token":"refresh_token","foci":"1","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImtpZCJ9.eyJhdWQiOiJhdWQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyL3YyLjAiLCJpYXQiOjE2MTUzMzcxNjMsIm5iZiI6MTYxNTMzNzE2MywiZXhwIjoxNjE1MzQxMDYzLCJhaW8iOiJhaW8iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9pZHAvIiwibmFtZSI6IkRhbmllbCBSb2Ryw61ndWV6Iiwib2lkIjoib2lkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZGFucm9kcmlAbWljcm9zb2Z0LmNvbSIsInJoIjoicmguIiwic3ViIjoic3ViIiwidGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIiwidXRpIjoidXRpIiwidmVyIjoiMi4wIn0=.bm9faWRlYV93aGF0c190aGlz","client_info":"eyJ1aWQiOiIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODkwMTIiLCJ1dGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0K"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '76255ad6-29e6-4527-a4a3-ff6c7dbf7600', + 'x-ms-ests-server', + '2.1.11787.14 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:47 GMT', + 'Content-Length', + '5038' +]); diff --git a/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js b/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js new file mode 100644 index 000000000000..616d46331ca6 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/devicecodecredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js @@ -0,0 +1,146 @@ +let nock = require('nock'); + +module.exports.hash = "aeb016d49a5430c8099b373e080e5151"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'aae5811f-fa30-46fd-ad7c-d5462ccf3700', + 'x-ms-ests-server', + '2.1.11787.14 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:55 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:54 GMT', + 'Content-Length', + '957' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/organizations/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/organizations/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/{tenantid}/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":null,"cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'de6f2ed2-0294-42be-b8e8-334a8f181000', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:55 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:54 GMT', + 'Content-Length', + '1510' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/organizations/oauth2/v2.0/devicecode', "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46") + .reply(200, {"user_code":"USER_CODE","device_code":"DEVICE_CODE","verification_uri":"https://microsoft.com/devicelogin","expires_in":900,"interval": 0,"message":"To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code USER_CODE to authenticate."}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '3cc42f87-f9a4-4066-a5e2-f4c107629700', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:05:55 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:05:54 GMT', + 'Content-Length', + '473' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/organizations/oauth2/v2.0/token', "scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&grant_type=device_code&device_code=DEVICE_CODE&client-request-id=client-request-id&client_info=1&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|671,0|,&x-client-last-telemetry=2|0|||0,0") + .reply(200, {"token_type":"Bearer","scope":"email openid profile https://graph.microsoft.com/AuditLog.Read.All https://graph.microsoft.com/Directory.AccessAsUser.All https://graph.microsoft.com/Group.ReadWrite.All https://graph.microsoft.com/User.ReadWrite.All https://graph.microsoft.com/.default","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token","refresh_token":"refresh_token","foci":"1","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImtpZCJ9.eyJhdWQiOiJhdWQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyL3YyLjAiLCJpYXQiOjE2MTUzMzcxNjMsIm5iZiI6MTYxNTMzNzE2MywiZXhwIjoxNjE1MzQxMDYzLCJhaW8iOiJhaW8iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9pZHAvIiwibmFtZSI6IkRhbmllbCBSb2Ryw61ndWV6Iiwib2lkIjoib2lkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZGFucm9kcmlAbWljcm9zb2Z0LmNvbSIsInJoIjoicmguIiwic3ViIjoic3ViIiwidGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIiwidXRpIjoidXRpIiwidmVyIjoiMi4wIn0=.bm9faWRlYV93aGF0c190aGlz","client_info":"eyJ1aWQiOiIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODkwMTIiLCJ1dGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0K"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9b573481-cec3-4a8f-add9-eabecc262300', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:10 GMT', + 'Content-Length', + '5043' +]); diff --git a/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_accepts_tokencachepersistenceoptions.js b/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_accepts_tokencachepersistenceoptions.js new file mode 100644 index 000000000000..e5ebaf7786de --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_accepts_tokencachepersistenceoptions.js @@ -0,0 +1,111 @@ +let nock = require('nock'); + +module.exports.hash = "7990c61bae7d74517e9b9878ee29fdfe"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'cbc58672-7ee0-42bd-a2ff-04c07925a700', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:47 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"NA","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'bd0f0928-051d-4666-8f19-526771d51900', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:47 GMT', + 'Content-Length', + '1651' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&username=azure_username&password=azure_password&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&grant_type=password&client_info=1&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|371,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=client-request-id") + .reply(200, {"token_type":"Bearer","scope":"profile openid email https://graph.microsoft.com/User.Read https://graph.microsoft.com/.default","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token","refresh_token":"refresh_token","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImtpZCJ9.eyJhdWQiOiJhdWQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyL3YyLjAiLCJpYXQiOjE2MTUzMzcxNjMsIm5iZiI6MTYxNTMzNzE2MywiZXhwIjoxNjE1MzQxMDYzLCJhaW8iOiJhaW8iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9pZHAvIiwibmFtZSI6IkRhbmllbCBSb2Ryw61ndWV6Iiwib2lkIjoib2lkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZGFucm9kcmlAbWljcm9zb2Z0LmNvbSIsInJoIjoicmguIiwic3ViIjoic3ViIiwidGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIiwidXRpIjoidXRpIiwidmVyIjoiMi4wIn0=.bm9faWRlYV93aGF0c190aGlz","client_info":"eyJ1aWQiOiIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODkwMTIiLCJ1dGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0K"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9e1bae85-2215-44d4-8edc-49f25c3d1a00', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:47 GMT', + 'Content-Length', + '4609' +]); diff --git a/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js b/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js new file mode 100644 index 000000000000..75b1ab05eee8 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/recordings/node/usernamepasswordcredential_internal/recording_authenticates_silently_with_tokencachepersistenceoptions.js @@ -0,0 +1,111 @@ +let nock = require('nock'); + +module.exports.hash = "bdd6d580a139539982f96a31a4f9e3cc"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'dab65d46-f669-4e01-8263-513c9e450e00', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:47 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"NA","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'fccd1380-a9b6-4c6b-86b8-f9064aeb1900', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=esctx; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:47 GMT', + 'Content-Length', + '1651' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&username=azure_username&password=azure_password&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20openid%20profile%20offline_access&grant_type=password&client_info=1&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|371,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=client-request-id") + .reply(200, {"token_type":"Bearer","scope":"profile openid email https://graph.microsoft.com/User.Read https://graph.microsoft.com/.default","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token","refresh_token":"refresh_token","id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImtpZCJ9.eyJhdWQiOiJhdWQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyL3YyLjAiLCJpYXQiOjE2MTUzMzcxNjMsIm5iZiI6MTYxNTMzNzE2MywiZXhwIjoxNjE1MzQxMDYzLCJhaW8iOiJhaW8iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9pZHAvIiwibmFtZSI6IkRhbmllbCBSb2Ryw61ndWV6Iiwib2lkIjoib2lkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZGFucm9kcmlAbWljcm9zb2Z0LmNvbSIsInJoIjoicmguIiwic3ViIjoic3ViIiwidGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIiwidXRpIjoidXRpIiwidmVyIjoiMi4wIn0=.bm9faWRlYV93aGF0c190aGlz","client_info":"eyJ1aWQiOiIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODkwMTIiLCJ1dGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0K"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '588429da-f260-4926-899e-61e0ae787a00', + 'x-ms-ests-server', + '2.1.11787.14 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=fpc;; expires=Fri, 09-Jul-2021 22:06:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Wed, 09 Jun 2021 22:06:48 GMT', + 'Content-Length', + '4615' +]); diff --git a/sdk/identity/identity-cache-persistence/review/identity-cache-persistence.api.md b/sdk/identity/identity-cache-persistence/review/identity-cache-persistence.api.md new file mode 100644 index 000000000000..4d1cf8afbe53 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/review/identity-cache-persistence.api.md @@ -0,0 +1,15 @@ +## API Report File for "@azure/identity-cache-persistence" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { IdentityExtension } from '@azure/identity'; + +// @public +export const cachePersistenceExtension: IdentityExtension; + + +// (No @packageDocumentation comment for this package) + +``` diff --git a/sdk/identity/identity-cache-persistence/rollup.config.js b/sdk/identity/identity-cache-persistence/rollup.config.js new file mode 100644 index 000000000000..5d7deee44c14 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/rollup.config.js @@ -0,0 +1,3 @@ +import { makeConfig } from "@azure/dev-tool/shared-config/rollup"; + +export default makeConfig(require("./package.json")); diff --git a/sdk/identity/identity-cache-persistence/samples-dev/extension.ts b/sdk/identity/identity-cache-persistence/samples-dev/extension.ts new file mode 100644 index 000000000000..d826b5ca6ee7 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/samples-dev/extension.ts @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * This sample shows how to add a persistent token cache to `@azure/identity` + * using the persistence extension. Once the persistence extension is added + * through `useIdentityExtension`, some credentials, such as + * `DeviceCodeCredential`, will be able to retrieve tokens from the cache rather + * than requesting new tokens from the Azure Active Directory token endpoint. + * + * In order to utilize the persistent token cache, the `enabled` property must + * be set to `true` within `tokenCachePersistenceOptions` in the credential's + * options. + * + * @summary import and use the persistence extension + */ + +import { useIdentityExtension, DeviceCodeCredential } from "@azure/identity"; + +import { cachePersistenceExtension } from "@azure/identity-cache-persistence"; +useIdentityExtension(cachePersistenceExtension); + +import dotenv from "dotenv"; +dotenv.config(); + +async function main() { + const credential = new DeviceCodeCredential({ + // This property must be provided, with `enabled` set to true to enable + // persistent token caching. + tokenCachePersistenceOptions: { + enabled: true + } + }); + + // This is the scope we will use to get a token from the AAD token endpoint. + // By default, we'll use the Microsoft Graph scope as an example, but when + // you use the credential with an Azure SDK package, it will configure the + // scope for you automatically. + const scope = process.env.AAD_TEST_SCOPE ?? "https://graph.microsoft.com/.default"; + + // A little helper function to print part of an access_token + const logToken = async () => + console.log((await credential.getToken(scope)).token.substr(0, 10), "..."); + + // You should observe that the same token is printed twice, and that running the sample twice + // only prompts for interactive authentication once. In the second execution, the token should + // be retrieved from the cache. + console.log("Calling getToken()", 1); + await logToken(); + console.log("Calling getToken()", 2); + await logToken(); +} + +main().catch((error) => { + console.error("The sample encountered an error:", error); + process.exit(1); +}); diff --git a/sdk/identity/identity-cache-persistence/src/index.ts b/sdk/identity/identity-cache-persistence/src/index.ts new file mode 100644 index 000000000000..9dc439e31e78 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/src/index.ts @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { IdentityExtension } from "@azure/identity"; + +import { AzureExtensionContext } from "../../identity/src/extensions/provider"; +import { createPersistenceCachePlugin } from "./provider"; + +/** + * An extension that provides persistent token caching for `@azure/identity` + * credentials. The extension API is compatible with `@azure/identity` versions + * 2.0.0 and later. Load this extension using the `useIdentityExtension` + * function, imported from `@azure/identity`. + * + * In order to enable this functionality, you must also pass + * `tokenCachePersistenceOptions` to your credential constructors with an + * `enabled` property set to true. + * + * Example: + * + * ```typescript + * import { useIdentityExtension, DeviceCodeCredential } from "@azure/identity"; + * import { cachePersistenceExtension } from "@azure/identity-cache-persistence"; + * + * // Load the extension + * useIdentityExtension(cachePersistenceExtension); + * + * const credential = new DeviceCodeCredential({ + * tokenCachePersistenceOptions: { + * enabled: true + * } + * }); + * ``` + */ + +export const cachePersistenceExtension: IdentityExtension = (context) => { + const { cachePluginControl } = context as AzureExtensionContext; + + cachePluginControl.setPersistence(createPersistenceCachePlugin); +}; diff --git a/sdk/identity/identity-cache-persistence/src/platforms.ts b/sdk/identity/identity-cache-persistence/src/platforms.ts new file mode 100644 index 000000000000..0a1d591fd696 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/src/platforms.ts @@ -0,0 +1,143 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/* eslint-disable tsdoc/syntax */ + +import * as path from "path"; + +import { + KeychainPersistence, + FilePersistence, + DataProtectionScope, + FilePersistenceWithDataProtection, + LibSecretPersistence, + IPersistence as Persistence +} from "@azure/msal-node-extensions"; + +import { TokenCachePersistenceOptions } from "@azure/identity"; + +/** + * Local application data folder + * Expected values: + * - Darwin: '/Users/user/' + * - Windows 8: 'C:\Users\user\AppData\Local' + * - Windows XP: 'C:\Documents and Settings\user\Application Data\Local' + * - Linux: '/home/user/.local/share' + * @internal + */ +const localApplicationDataFolder = + process.env.APPDATA?.replace?.(/(.Roaming)*$/, "\\Local") ?? process.env.HOME!; + +/** + * Dictionary of values that we use as default as we discover, pick and enable the persistence layer. + * @internal + */ +export const defaultMsalValues = { + tokenCache: { + name: "msal.cache", + // Expected values: + // - Darwin: '/Users/user/.IdentityService' + // - Windows 8: 'C:\Users\user\AppData\Local\.IdentityService' + // - Windows XP: 'C:\Documents and Settings\user\Application Data\Local\.IdentityService' + // - Linux: '/home/user/.IdentityService' + directory: path.join(localApplicationDataFolder, ".IdentityService") + }, + keyRing: { + label: "MSALCache", + schema: "msal.cache", + collection: "default", + attributes: { + MsalClientID: "Microsoft.Developer.IdentityService", + "Microsoft.Developer.IdentityService": "1.0.0.0" + }, + service: "Microsoft.Developer.IdentityService", + account: "MSALCache" + }, + keyChain: { + service: "Microsoft.Developer.IdentityService", + account: "MSALCache" + } +}; + +/** + * Options that are used by the underlying MSAL cache provider. + * @internal + */ +export type MsalPersistenceOptions = Omit; + +/** + * A function that returns a persistent token cache instance. + * @internal + */ +type MsalPersistenceFactory = (options?: MsalPersistenceOptions) => Promise; + +/** + * Expected responses: + * - Darwin: '/Users/user/.IdentityService/' + * - Windows 8: 'C:\Users\user\AppData\Local\.IdentityService\' + * - Windows XP: 'C:\Documents and Settings\user\Application Data\Local\.IdentityService\' + * - Linux: '/home/user/.IdentityService/' + * @internal + */ +function getPersistencePath(name: string): string { + return path.join(defaultMsalValues.tokenCache.directory, name); +} + +/** + * Set of the platforms we attempt to deliver persistence on. + * + * - On Windows we use DPAPI. + * - On OSX (Darwin), we try to use the system's Keychain, otherwise if the property `allowUnencryptedStorage` is set to true, we use an unencrypted file. + * - On Linux, we try to use the system's Keyring, otherwise if the property `allowUnencryptedStorage` is set to true, we use an unencrypted file. + * + * Other platforms _are not supported_ at this time. + * + * @internal + */ +export const msalPersistencePlatforms: Partial> = { + win32: ({ name = defaultMsalValues.tokenCache.name } = {}): Promise => + FilePersistenceWithDataProtection.create( + getPersistencePath(name), + DataProtectionScope.CurrentUser + ), + + darwin: async (options: MsalPersistenceOptions = {}): Promise => { + const { name, allowUnencryptedStorage } = options; + const { service, account } = defaultMsalValues.keyChain; + const persistencePath = getPersistencePath(name || defaultMsalValues.tokenCache.name); + + try { + const persistence = await KeychainPersistence.create(persistencePath, service, account); + // If we don't encounter an error when trying to read from the keychain, then we should be good to go. + await persistence.load(); + return persistence; + } catch (e) { + // If we got an error while trying to read from the keyring, + // we will proceed only if the user has specified that unencrypted storage is allowed. + if (!allowUnencryptedStorage) { + throw new Error("Unable to read from the macOS Keychain."); + } + return FilePersistence.create(persistencePath); + } + }, + + linux: async (options: MsalPersistenceOptions = {}): Promise => { + const { name, allowUnencryptedStorage } = options; + const { service, account } = defaultMsalValues.keyRing; + const persistencePath = getPersistencePath(name || defaultMsalValues.tokenCache.name); + + try { + const persistence = await LibSecretPersistence.create(persistencePath, service, account); + // If we don't encounter an error when trying to read from the keyring, then we should be good to go. + await persistence.load(); + return persistence; + } catch (e) { + // If we got an error while trying to read from the keyring, + // we will proceed only if the user has specified that unencrypted storage is allowed. + if (!allowUnencryptedStorage) { + throw new Error("Unable to read from the system keyring (libsecret)."); + } + return FilePersistence.create(persistencePath); + } + } +}; diff --git a/sdk/identity/identity-cache-persistence/src/provider.ts b/sdk/identity/identity-cache-persistence/src/provider.ts new file mode 100644 index 000000000000..bbad7ddf910b --- /dev/null +++ b/sdk/identity/identity-cache-persistence/src/provider.ts @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { ICachePlugin as CachePlugin } from "@azure/msal-node"; +import { PersistenceCachePlugin, IPersistence as Persistence } from "@azure/msal-node-extensions"; + +import { MsalPersistenceOptions, msalPersistencePlatforms } from "./platforms"; + +/** + * This is used to gain access to the underlying Persistence instance, which we use for testing + * + * @returns a raw persistence instance + * @internal + */ +export async function createPersistence(options: MsalPersistenceOptions): Promise { + const persistence = await msalPersistencePlatforms[process.platform]?.(options); + + if (persistence === undefined) { + throw new Error("no persistence providers are available on this platform"); + } + + return persistence; +} + +export async function createPersistenceCachePlugin( + options?: MsalPersistenceOptions +): Promise { + const persistence = await createPersistence(options ?? {}); + + return new PersistenceCachePlugin(persistence, { + retryNumber: 100, + retryDelay: 50 + }); +} diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/clientCertificateCredential.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/clientCertificateCredential.spec.ts new file mode 100644 index 000000000000..9f87a562cc18 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/test/internal/node/clientCertificateCredential.spec.ts @@ -0,0 +1,126 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ + +import Sinon from "sinon"; +import assert from "assert"; +import * as path from "path"; + +import { env, isPlaybackMode } from "@azure/test-utils-recorder"; +import { ConfidentialClientApplication } from "@azure/msal-node"; + +import { + ClientCertificateCredential, + TokenCachePersistenceOptions +} from "../../../../identity/src"; +import { MsalTestCleanup, msalNodeTestSetup } from "../../../../identity/test/msalTestUtils"; +import { MsalNode } from "../../../../identity/src/msal/nodeFlows/nodeCommon"; + +import { createPersistence } from "./setup.spec"; + +const ASSET_PATH = "assets"; + +describe("ClientCertificateCredential (internal)", function(this: Mocha.Suite) { + let cleanup: MsalTestCleanup; + let getTokenSilentSpy: Sinon.SinonSpy; + let doGetTokenSpy: Sinon.SinonSpy; + + beforeEach(function(this: Mocha.Context) { + const setup = msalNodeTestSetup(this); + cleanup = setup.cleanup; + + getTokenSilentSpy = setup.sandbox.spy(MsalNode.prototype, "getTokenSilent"); + + // MsalClientSecret calls to this method underneath. + doGetTokenSpy = setup.sandbox.spy( + ConfidentialClientApplication.prototype, + "acquireTokenByClientCredential" + ); + }); + afterEach(async function() { + await cleanup(); + }); + + // We use AZURE_CLIENT_CERTIFICATE_PATH if it is defined, and otherwise we will use the dummy cert + const certificatePath = + process.env.AZURE_CLIENT_CERTIFICATE_PATH ?? path.join(ASSET_PATH, "cert.pem"); + const scope = "https://graph.microsoft.com/.default"; + + it("Accepts tokenCachePersistenceOptions", async function(this: Mocha.Context) { + if (isPlaybackMode()) { + // MSAL creates a client assertion based on the certificate that I haven't been able to mock. + // This assertion could be provided as parameters, but we don't have that in the public API yet, + // and I'm trying to avoid having to generate one ourselves. + this.skip(); + } + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + persistence?.save("{}"); + + const credential = new ClientCertificateCredential( + env.AZURE_TENANT_ID, + env.AZURE_CLIENT_ID, + certificatePath, + { tokenCachePersistenceOptions } + ); + + await credential.getToken(scope); + const result = await persistence?.load(); + const parsedResult = JSON.parse(result!); + assert.ok(parsedResult.AccessToken); + }); + + it("Authenticates silently with tokenCachePersistenceOptions", async function(this: Mocha.Context) { + if (isPlaybackMode()) { + // MSAL creates a client assertion based on the certificate that I haven't been able to mock. + // This assertion could be provided as parameters, but we don't have that in the public API yet, + // and I'm trying to avoid having to generate one ourselves. + this.skip(); + } + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + await persistence?.save("{}"); + + const credential = new ClientCertificateCredential( + env.AZURE_TENANT_ID, + env.AZURE_CLIENT_ID, + certificatePath, + { tokenCachePersistenceOptions } + ); + + await credential.getToken(scope); + assert.equal(getTokenSilentSpy.callCount, 1); + assert.equal(doGetTokenSpy.callCount, 1); + + await credential.getToken(scope); + assert.equal(getTokenSilentSpy.callCount, 2); + // Even though we're providing a file persistence cache, + // The Client Credential flow does not return the account information from the authentication service, + // so each time getToken gets called, we will have to acquire a new token through the service. + // MSAL also doesn't store the account in the cache (getAllAccounts returns an empty array). + assert.equal(doGetTokenSpy.callCount, 2); + }); +}); diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/clientSecretCredential.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/clientSecretCredential.spec.ts new file mode 100644 index 000000000000..cfb960f966f0 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/test/internal/node/clientSecretCredential.spec.ts @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ + +import Sinon from "sinon"; +import assert from "assert"; + +import { env } from "@azure/test-utils-recorder"; +import { ConfidentialClientApplication } from "@azure/msal-node"; + +import { ClientSecretCredential, TokenCachePersistenceOptions } from "../../../../identity/src"; +import { MsalTestCleanup, msalNodeTestSetup } from "../../../../identity/test/msalTestUtils"; +import { MsalNode } from "../../../../identity/src/msal/nodeFlows/nodeCommon"; + +import { createPersistence } from "./setup.spec"; + +const scope = "https://graph.microsoft.com/.default"; + +describe("ClientSecretCredential (internal)", function(this: Mocha.Suite) { + let cleanup: MsalTestCleanup; + let getTokenSilentSpy: Sinon.SinonSpy; + let doGetTokenSpy: Sinon.SinonSpy; + + beforeEach(function(this: Mocha.Context) { + const setup = msalNodeTestSetup(this); + cleanup = setup.cleanup; + + getTokenSilentSpy = setup.sandbox.spy(MsalNode.prototype, "getTokenSilent"); + + // MsalClientSecret calls to this method underneath. + doGetTokenSpy = setup.sandbox.spy( + ConfidentialClientApplication.prototype, + "acquireTokenByClientCredential" + ); + }); + afterEach(async function() { + await cleanup(); + }); + + it("Accepts tokenCachePersistenceOptions", async function(this: Mocha.Context) { + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + persistence?.save("{}"); + + const credential = new ClientSecretCredential( + env.AZURE_TENANT_ID, + env.AZURE_CLIENT_ID, + env.AZURE_CLIENT_SECRET, + { tokenCachePersistenceOptions } + ); + + await credential.getToken(scope); + const result = await persistence?.load(); + const parsedResult = JSON.parse(result!); + assert.ok(parsedResult.AccessToken); + }); + + it("Authenticates silently with tokenCachePersistenceOptions", async function(this: Mocha.Context) { + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + persistence?.save("{}"); + + const credential = new ClientSecretCredential( + env.AZURE_TENANT_ID, + env.AZURE_CLIENT_ID, + env.AZURE_CLIENT_SECRET, + { tokenCachePersistenceOptions } + ); + + await credential.getToken(scope); + assert.equal(getTokenSilentSpy.callCount, 1); + assert.equal(doGetTokenSpy.callCount, 1); + + await credential.getToken(scope); + assert.equal(getTokenSilentSpy.callCount, 2); + + // Even though we're providing the same default in memory persistence cache that we use for DeviceCodeCredential, + // The Client Secret flow does not return the account information from the authentication service, + // so each time getToken gets called, we will have to acquire a new token through the service. + assert.equal(doGetTokenSpy.callCount, 2); + }); +}); diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/deviceCodeCredential.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/deviceCodeCredential.spec.ts new file mode 100644 index 000000000000..dbede0e5438d --- /dev/null +++ b/sdk/identity/identity-cache-persistence/test/internal/node/deviceCodeCredential.spec.ts @@ -0,0 +1,160 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ + +import Sinon from "sinon"; +import assert from "assert"; + +import { PublicClientApplication } from "@azure/msal-node"; +import { isLiveMode } from "@azure/test-utils-recorder"; + +import { DeviceCodeCredential, TokenCachePersistenceOptions } from "../../../../identity/src"; +import { MsalTestCleanup, msalNodeTestSetup } from "../../../../identity/test/msalTestUtils"; +import { MsalNode } from "../../../../identity/src/msal/nodeFlows/nodeCommon"; + +import { createPersistence } from "./setup.spec"; + +describe("DeviceCodeCredential (internal)", function(this: Mocha.Suite) { + let cleanup: MsalTestCleanup; + let getTokenSilentSpy: Sinon.SinonSpy; + let doGetTokenSpy: Sinon.SinonSpy; + + beforeEach(function(this: Mocha.Context) { + const setup = msalNodeTestSetup(this); + cleanup = setup.cleanup; + + getTokenSilentSpy = setup.sandbox.spy(MsalNode.prototype, "getTokenSilent"); + + // MsalClientSecret calls to this method underneath. + doGetTokenSpy = setup.sandbox.spy( + PublicClientApplication.prototype, + "acquireTokenByDeviceCode" + ); + }); + afterEach(async function() { + await cleanup(); + }); + + const scope = "https://graph.microsoft.com/.default"; + + it("Accepts tokenCachePersistenceOptions", async function(this: Mocha.Context) { + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + // These tests should not run live because this credential requires user interaction. + if (isLiveMode()) { + this.skip(); + } + + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + persistence?.save("{}"); + + const credential = new DeviceCodeCredential({ + tokenCachePersistenceOptions + }); + + await credential.getToken(scope); + const result = await persistence?.load(); + const parsedResult = JSON.parse(result!); + assert.ok(parsedResult.AccessToken); + }); + + it("Authenticates silently with tokenCachePersistenceOptions", async function(this: Mocha.Context) { + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + // These tests should not run live because this credential requires user interaction. + if (isLiveMode()) { + this.skip(); + } + + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + persistence?.save("{}"); + + const credential = new DeviceCodeCredential({ + tokenCachePersistenceOptions + }); + + await credential.getToken(scope); + assert.equal(getTokenSilentSpy.callCount, 1); + assert.equal(doGetTokenSpy.callCount, 1); + + // The cache should have a token a this point + const result = await persistence?.load(); + const parsedResult = JSON.parse(result!); + assert.ok(parsedResult.AccessToken); + + await credential.getToken(scope); + assert.equal(getTokenSilentSpy.callCount, 2); + assert.equal(doGetTokenSpy.callCount, 1); + }); + + it("allows passing an authenticationRecord to avoid further manual authentications", async function(this: Mocha.Context) { + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + // These tests should not run live because this credential requires user interaction. + if (isLiveMode()) { + this.skip(); + } + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + persistence?.save("{}"); + + const credential = new DeviceCodeCredential({ + // To be able to re-use the account, the Token Cache must also have been provided. + // TODO: Perhaps make the account parameter part of the tokenCachePersistenceOptions? + tokenCachePersistenceOptions + }); + + const account = await credential.authenticate(scope); + assert.ok(account); + assert.equal(getTokenSilentSpy.callCount, 1); + assert.equal(doGetTokenSpy.callCount, 1); + + const credential2 = new DeviceCodeCredential({ + authenticationRecord: account, + // To be able to re-use the account, the Token Cache must also have been provided. + // TODO: Perhaps make the account parameter part of the tokenCachePersistenceOptions? + tokenCachePersistenceOptions + }); + + // The cache should have a token a this point + const result = await persistence?.load(); + const parsedResult = JSON.parse(result!); + assert.ok(parsedResult.AccessToken); + + const token = await credential2.getToken(scope); + assert.ok(token?.token); + assert.ok(token?.expiresOnTimestamp! > Date.now()); + assert.equal(getTokenSilentSpy.callCount, 2); + + // TODO: Why is this the case? + // I created an issue to track this: https://github.com/Azure/azure-sdk-for-js/issues/14701 + assert.equal(doGetTokenSpy.callCount, 2); + }); +}); diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/setup.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/setup.spec.ts new file mode 100644 index 000000000000..175e5f813cb7 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/test/internal/node/setup.spec.ts @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/* eslint-disable @typescript-eslint/no-require-imports */ + +// We need to set up the extension for the tests! + +import { useIdentityExtension } from "../../../../identity/src"; + +// The persistence tests have to run on the same version of Node that's used to +// install dependencies, currently 14. +// TODO: We need a better solution for this, but this will do for now. +if (!process.versions.node.startsWith("14")) { + console.warn( + "WARNING: skipping persistence tests on incompatible node version:", + process.version + ); + console.warn("Persistence tests are only compatible with Node 14."); + process.exit(0); +} + +// This shim is required to defer loading of msal-node-extensions in environments where +// it will crash CI with an invalid Node API version. +export const createPersistence: typeof import("../../../src/provider").createPersistence = ( + ...args +) => { + const { createPersistence: create } = require("../../../src/provider"); + return create(...args); +}; + +before(function() { + useIdentityExtension(require("../../../src").cachePersistenceExtension); +}); diff --git a/sdk/identity/identity-cache-persistence/test/internal/node/usernamePasswordCredential.spec.ts b/sdk/identity/identity-cache-persistence/test/internal/node/usernamePasswordCredential.spec.ts new file mode 100644 index 000000000000..bf13301d4f89 --- /dev/null +++ b/sdk/identity/identity-cache-persistence/test/internal/node/usernamePasswordCredential.spec.ts @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ + +import Sinon from "sinon"; +import assert from "assert"; + +import { env } from "@azure/test-utils-recorder"; +import { PublicClientApplication } from "@azure/msal-node"; + +import { UsernamePasswordCredential, TokenCachePersistenceOptions } from "../../../../identity/src"; +import { MsalTestCleanup, msalNodeTestSetup } from "../../../../identity/test/msalTestUtils"; +import { MsalNode } from "../../../../identity/src/msal/nodeFlows/nodeCommon"; + +import { createPersistence } from "./setup.spec"; + +describe("UsernamePasswordCredential (internal)", function(this: Mocha.Suite) { + let cleanup: MsalTestCleanup; + let getTokenSilentSpy: Sinon.SinonSpy; + let doGetTokenSpy: Sinon.SinonSpy; + + beforeEach(function(this: Mocha.Context) { + const setup = msalNodeTestSetup(this); + cleanup = setup.cleanup; + + getTokenSilentSpy = setup.sandbox.spy(MsalNode.prototype, "getTokenSilent"); + + // MsalClientSecret calls to this method underneath. + doGetTokenSpy = setup.sandbox.spy( + PublicClientApplication.prototype, + "acquireTokenByUsernamePassword" + ); + }); + + afterEach(async function() { + await cleanup(); + }); + + const scope = "https://graph.microsoft.com/.default"; + + it("Accepts tokenCachePersistenceOptions", async function(this: Mocha.Context) { + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + persistence?.save("{}"); + + const credential = new UsernamePasswordCredential( + env.AZURE_TENANT_ID, + env.AZURE_CLIENT_ID, + env.AZURE_USERNAME, + env.AZURE_PASSWORD, + { tokenCachePersistenceOptions } + ); + + await credential.getToken(scope); + const result = await persistence?.load(); + const parsedResult = JSON.parse(result!); + assert.ok(parsedResult.AccessToken); + }); + + it("Authenticates silently with tokenCachePersistenceOptions", async function(this: Mocha.Context) { + // OSX asks for passwords on CI, so we need to skip these tests from our automation + if (process.platform === "darwin") { + this.skip(); + } + + const tokenCachePersistenceOptions: TokenCachePersistenceOptions = { + enabled: true, + name: this.test?.title.replace(/[^a-zA-Z]/g, "_"), + allowUnencryptedStorage: true + }; + + // Emptying the token cache before we start. + const persistence = await createPersistence(tokenCachePersistenceOptions); + persistence?.save("{}"); + + const credential = new UsernamePasswordCredential( + env.AZURE_TENANT_ID, + env.AZURE_CLIENT_ID, + env.AZURE_USERNAME, + env.AZURE_PASSWORD, + { tokenCachePersistenceOptions } + ); + + await credential.getToken(scope); + assert.equal(getTokenSilentSpy.callCount, 1); + assert.equal(doGetTokenSpy.callCount, 1); + + // The cache should have a token a this point + const result = await persistence?.load(); + const parsedResult = JSON.parse(result!); + assert.ok(parsedResult.AccessToken); + + await credential.getToken(scope); + assert.equal(getTokenSilentSpy.callCount, 2); + assert.equal(doGetTokenSpy.callCount, 1); + }); +}); diff --git a/sdk/identity/identity-cache-persistence/tsconfig.json b/sdk/identity/identity-cache-persistence/tsconfig.json new file mode 100644 index 000000000000..fa5828a32c3a --- /dev/null +++ b/sdk/identity/identity-cache-persistence/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../../../tsconfig.package", + "compilerOptions": { + "target": "es6", + "lib": ["DOM"], + "declarationDir": "./types", + "outDir": "./dist-esm", + "resolveJsonModule": true, + "paths": { + "@azure/identity-cache-persistence": ["./src/index"] + } + }, + "include": ["src/**/*", "test/**/*", "samples-dev/**/*"] +} diff --git a/sdk/identity/identity-cache-persistence/tsdoc.json b/sdk/identity/identity-cache-persistence/tsdoc.json new file mode 100644 index 000000000000..81c5a8a2aa2f --- /dev/null +++ b/sdk/identity/identity-cache-persistence/tsdoc.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", + "extends": ["../../../tsdoc.json"] +} diff --git a/sdk/identity/identity-vscode/.eslintrc.json b/sdk/identity/identity-vscode/.eslintrc.json new file mode 100644 index 000000000000..1c1503b9333a --- /dev/null +++ b/sdk/identity/identity-vscode/.eslintrc.json @@ -0,0 +1,8 @@ +{ + "plugins": ["@azure/azure-sdk"], + "extends": ["plugin:@azure/azure-sdk/azure-sdk-base"], + "rules": { + "@azure/azure-sdk/ts-package-json-module": "off", + "@azure/azure-sdk/ts-package-json-engine-is-present": "off" + } +} diff --git a/sdk/identity/identity-vscode/CHANGELOG.md b/sdk/identity/identity-vscode/CHANGELOG.md new file mode 100644 index 000000000000..b4a00d2e3023 --- /dev/null +++ b/sdk/identity/identity-vscode/CHANGELOG.md @@ -0,0 +1,7 @@ +# Release History + +## 1.0.0-beta.1 (Unreleased) + +### New features + +- This release marks the initial beta availability of the `@azure/identity-vscode` package. This package extends `@azure/identity` by providing the dependencies of `VisualStudioCodeCredential` and enabling it within the `@azure/identity` package. `VisualStudioCodeCredential` uses the authenticated session from the "Azure Account" extension in Visual Studio Code. If this extension package is not loaded using `useIdentityExtension`, then `VisualStudioCodeCredential` from `@azure/identity` will throw a `CredentialUnavailableError`. By enabling `VisualStudioCodeCredential`, the `DefaultAzureCredential` class in `@azure/identity` also gains functionality allowing it to use the "Azure Account" session if it is available. diff --git a/sdk/identity/identity-vscode/LICENSE b/sdk/identity/identity-vscode/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/identity/identity-vscode/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/identity/identity-vscode/README.md b/sdk/identity/identity-vscode/README.md new file mode 100644 index 000000000000..b4da40df904f --- /dev/null +++ b/sdk/identity/identity-vscode/README.md @@ -0,0 +1,125 @@ +## Azure Identity Extension for Visual Studio Code Authentication + +This package provides an extension to the Azure Identity library for JavaScript ([`@azure/identity`](https://npmjs.com/package/@azure/identity)) that enables authentication through the "Azure Account" extension for Visual Studio Code. This extension provides the dependencies of the `VisualStudioCodeCredential` in `@azure/identity` and enables it for use on its own or as part of `DefaultAzureCredential`. + +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity-vscode/samples-dev) + +## Getting started + +### Install the package + +This package is designed to be used with Azure Identity for JavaScript. Install both `@azure/identity` and this package using `npm`: + +```sh +$ npm install --save @azure/identity +$ npm install --save @azure/identity-vscode +``` + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/). +- Install [Visual Studio Code](https://aka.ms/vscode) and the ["Azure Account" extension][azaccountext] + +#### Supported Environments + +Azure Identity extensions for JavaScript support stable (even numbered) versions of Node.js starting from v12. While it may run in other Node versions, no support is guaranteed. `@azure/identity-vscode` **does not** support browser environments. + +## Key concepts + +If this is your first time using `@azure/identity` or the Microsoft identity platform (Azure Active Directory), we recommend that you read [Using `@azure/identity` with Microsoft Identity Platform](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/using-azure-identity.md) first. This document will give you a deeper understanding of the platform and how to configure your Azure account correctly. + +### Azure Identity Extensions + +As of `@azure/identity` version 2.0.0, the Identity client library for JavaScript includes an extension API. This package (`@azure/identity-vscode`) exports an extension object that you must pass as an argument to the top-level `useIdentityExtension` function from the `@azure/identity` package. Enable authentication through the "Azure Account" extension for Visual Studio Code as follows: + +```typescript +import { useIdentityExtension } from "@azure/identity"; +import { vsCodeExtension } from "@azure/identity-vscode"; + +useIdentityExtension(vsCodeExtension); +``` + +After calling `useIdentityExtension`, the `VisualStudioCodeCredential` from the `@azure/identity` package will be enabled. If this extension is not used, then `VisualStudioCodeCredential` will throw a `CredentialUnavailableError`, and it will not be available as part of `DefaultAzureCredential`. + +### Visual Studio Code Authentication + +`VisualStudioCodeCredential` uses the authentication session from the ["Azure Accounts" extension][azaccountext]. To use this credential, you must sign in to your Azure account using the extension. To do so, open Visual Studio Code, ensure that the extension is installed, and sign in using the menu (Ctrl+Shift+P), and select the "Azure: Sign In" option to open a browser window and sign in to Azure. Alternatively, you can select "Azure: Sign In with Device Code" to use the device code flow. + +After signing in, you may need to select a subscription (for example, if you have multiple Azure subscriptions), and you can change the active subscription by using the menu to select the "Azure: Select Subscriptions" entry. + +## Examples + +Once the extension is registered, you can use `VisualStudioCodeCredential` in a similar fashion to the other credential classes in `@azure/identity`: + +```typescript +import { useIdentityExtension, VisualStudioCodeCredential } from "@azure/identity"; +import { vsCodeExtension } from "@azure/identity-vscode"; + +useIdentityExtension(vsCodeExtension); + +async function main() { + const credential = new VisualStudioCodeCredential(); + + // The graph.microsoft.com scope is used as an example + const scope = "https://graph.microsoft.com/.default"; + + // Print out part of the access token + console.log((await credential.getToken(scope)).token.substr(0, 10), "..."); +} + +main().catch((error) => { + console.error("An error occurred:", error); + process.exit(1); +}); +``` + +You can also use `DefaultAzureCredential`, which will attempt to authenticate using the "Azure Account" extension for Visual Studio Code if it is available: + +```typescript +import { useIdentityExtension, DefaultAzureCredential } from "@azure/identity"; +import { vsCodeExtension } from "@azure/identity-vscode"; + +useIdentityExtension(vsCodeExtension); + +async function main() { + // With the extension enabled above, `DefaultAzureCredential` will use + // Visual Studio Code's "Azure Account" extension to authenticate if + // it is available. + const credential = new DefaultAzureCredential(); + + // This will print a JWT access_token and its expiration timestamp + // The graph.microsoft.com scope is used as an example + console.log("Token:", await credential.getToken("https://graph.microsoft.com/.default")); +} + +main().catch((error) => { + console.error("An error occurred:", error); + process.exit(1); +}); +``` + +## Troubleshooting + +### Logging + +Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`: + +```javascript +import { setLogLevel } from "@azure/logger"; + +setLogLevel("info"); +``` + +## Next steps + +### Provide Feedback + +If you encounter bugs or have suggestions, please [open an issue](https://github.com/Azure/azure-sdk-for-js/issues). + +## Contributing + +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. + +[azaccountext]: https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fidentity%2Fidentity%2FREADME.png) diff --git a/sdk/identity/identity-vscode/api-extractor.json b/sdk/identity/identity-vscode/api-extractor.json new file mode 100644 index 000000000000..52d0268dd182 --- /dev/null +++ b/sdk/identity/identity-vscode/api-extractor.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "mainEntryPointFilePath": "./types/identity-vscode/src/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, + "dtsRollup": { + "enabled": true, + "untrimmedFilePath": "", + "publicTrimmedFilePath": "./types/identity-vscode.d.ts" + }, + "messages": { + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, + "extractorMessageReporting": { + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } + } + } +} diff --git a/sdk/identity/identity-vscode/package.json b/sdk/identity/identity-vscode/package.json new file mode 100644 index 000000000000..1fbe791f863a --- /dev/null +++ b/sdk/identity/identity-vscode/package.json @@ -0,0 +1,98 @@ +{ + "name": "@azure/identity-vscode", + "version": "1.0.0-beta.1", + "description": "Use the Azure Account extension for Visual Studio Code to authenticate with Azure Identity", + "main": "dist/index.js", + "module": "dist-esm/identity-vscode/src/index.js", + "types": "./types/identity-vscode.d.ts", + "scripts": { + "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", + "build:samples": "echo skipped", + "build:test": "tsc -p . && rollup -c rollup.config.js 2>&1", + "build": "npm run extract-api && tsc -p . && rollup -c 2>&1", + "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\" \"samples-dev/**/*.ts\"", + "clean": "rimraf dist dist-* typings *.tgz *.log", + "execute:samples": "echo skipped", + "extract-api": "tsc -p . && api-extractor run --local", + "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\" \"samples-dev/**/*.ts\"", + "integration-test:browser": "echo skipped", + "integration-test:node": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", + "lint": "eslint package.json api-extractor.json src test --ext .ts", + "pack": "npm pack 2>&1", + "prebuild": "npm run clean", + "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser", + "test:node": "npm run clean && npm run build:test && npm run unit-test:node && npm run integration-test:node", + "test": "npm run clean && npm run build:test && npm run unit-test && npm run integration-test", + "unit-test:browser": "echo skipped", + "unit-test:node": "mocha -r esm -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 180000 --full-trace --exclude \"test/**/browser/**/*.spec.ts\" \"test/**/*.spec.ts\"", + "unit-test": "npm run unit-test:node && npm run unit-test:browser", + "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" + }, + "files": [ + "dist/", + "dist-esm/identity/src", + "dist-esm/identity-vscode/src", + "types/identity-vscode.d.ts", + "README.md", + "LICENSE" + ], + "engines": { + "node": ">=12.0.0" + }, + "repository": "github:Azure/azure-sdk-for-js", + "keywords": [ + "azure", + "cloud", + "active directory", + "authentication", + "credential", + "certificate", + "vscode", + "account" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "engine": { + "node": ">=12.0.0" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode/README.md", + "sideEffects": false, + "dependencies": { + "@azure/identity": "^2.0.0-beta.4", + "keytar": "^7.6.0", + "tslib": "^2.2.0" + }, + "devDependencies": { + "@azure/eslint-plugin-azure-sdk": "^3.0.0", + "@azure/dev-tool": "^1.0.0", + "@azure/test-utils-recorder": "^1.0.0", + "@microsoft/api-extractor": "7.7.11", + "@types/jws": "^3.2.2", + "@types/mocha": "^7.0.2", + "@types/node": "^8.0.0", + "@types/qs": "^6.5.3", + "@types/sinon": "^9.0.4", + "@types/uuid": "^8.0.0", + "assert": "^1.4.1", + "cross-env": "^7.0.2", + "dotenv": "^8.2.0", + "eslint": "^7.15.0", + "inherits": "^2.0.3", + "mocha": "^7.1.1", + "mocha-junit-reporter": "^1.18.0", + "mock-fs": "^4.10.4", + "prettier": "^1.16.4", + "puppeteer": "^3.3.0", + "rimraf": "^3.0.0", + "rollup": "^1.16.3", + "sinon": "^9.0.2", + "typedoc": "0.15.2", + "typescript": "~4.2.0", + "util": "^0.12.1" + } +} diff --git a/sdk/identity/identity-vscode/recordings/node/visualstudiocodecredential/recording_successfully_gets_a_token.js b/sdk/identity/identity-vscode/recordings/node/visualstudiocodecredential/recording_successfully_gets_a_token.js new file mode 100644 index 000000000000..b750f17a15ab --- /dev/null +++ b/sdk/identity/identity-vscode/recordings/node/visualstudiocodecredential/recording_successfully_gets_a_token.js @@ -0,0 +1,38 @@ +let nock = require('nock'); + +module.exports.hash = "1c4d58b38fd9e805bcc6c90e143ce993"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/common/oauth2/v2.0/token', "grant_type=refresh_token&client_id=aebc6443-996d-45c2-90f0-388ff96faa56&refresh_token=refresh_token&scope=https%3A%2F%2Fgraph.microsoft.com%2F.default%20offline_access") + .reply(200, {"token_type":"Bearer","scope":"email openid profile https://graph.microsoft.com/Mail.ReadWrite https://graph.microsoft.com/Mail.Send https://graph.microsoft.com/Tasks.ReadWrite https://graph.microsoft.com/User.Read https://graph.microsoft.com/.default","expires_in":3599,"ext_expires_in":3599,"access_token":"access_token","refresh_token":"refresh_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'd8a6162d-b070-4f8b-bcf6-34a6faee0600', + 'x-ms-ests-server', + '2.1.11787.15 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=fpc;; expires=Thu, 15-Jul-2021 01:45:15 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Tue, 15 Jun 2021 01:45:15 GMT', + 'Content-Length', + '3657' +]); diff --git a/sdk/identity/identity-vscode/review/identity-vscode.api.md b/sdk/identity/identity-vscode/review/identity-vscode.api.md new file mode 100644 index 000000000000..938540060eaa --- /dev/null +++ b/sdk/identity/identity-vscode/review/identity-vscode.api.md @@ -0,0 +1,15 @@ +## API Report File for "@azure/identity-vscode" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { IdentityExtension } from '@azure/identity'; + +// @public +export const vsCodeExtension: IdentityExtension; + + +// (No @packageDocumentation comment for this package) + +``` diff --git a/sdk/identity/identity-vscode/rollup.config.js b/sdk/identity/identity-vscode/rollup.config.js new file mode 100644 index 000000000000..5d7deee44c14 --- /dev/null +++ b/sdk/identity/identity-vscode/rollup.config.js @@ -0,0 +1,3 @@ +import { makeConfig } from "@azure/dev-tool/shared-config/rollup"; + +export default makeConfig(require("./package.json")); diff --git a/sdk/identity/identity-vscode/samples-dev/extension.ts b/sdk/identity/identity-vscode/samples-dev/extension.ts new file mode 100644 index 000000000000..ef72c4698a13 --- /dev/null +++ b/sdk/identity/identity-vscode/samples-dev/extension.ts @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation +// Licensed under the MIT license. + +/** + * In this sample, we use the extension API to provide an implementation of + * `VisualStudioCodeCredential` to the `@azure/identity` package, and we use it + * through the `DefaultAzureCredential` class. Without the extension, the + * credential will simply throw a `CredentialNotFoundError`, and the + * `DefaultAzureCredential` will use a different credential, if one is + * available. + * + * @summary loads the `VisualStudioCodeCredential` extension and uses it through + * `DefaultAzureCredential` + */ + +import { useIdentityExtension, DefaultAzureCredential } from "@azure/identity"; + +// The extension is the package's default export, so you may import and use it +// as any name you like, and simply pass it to `useIdentityExtension`. +import { vsCodeExtension } from "@azure/identity-vscode"; +useIdentityExtension(vsCodeExtension); + +export async function main() { + const credential = new DefaultAzureCredential(); + + // This is the scope we will use to get a token from the AAD token endpoint. + // By default, we'll use the Microsoft Graph scope as an example, but when + // you use the credential with an Azure SDK package, it will configure the + // scope for you automatically. + const scope = process.env.AAD_TEST_SCOPE ?? "https://graph.microsoft.com/.default"; + + // Print out part of the access token + console.log((await credential.getToken(scope)).token.substr(0, 10), "..."); +} + +main().catch((error) => { + console.error("The sample encountered an error:", error); + process.exit(1); +}); diff --git a/sdk/identity/identity-vscode/samples-dev/nodeEnv.ts b/sdk/identity/identity-vscode/samples-dev/nodeEnv.ts new file mode 100644 index 000000000000..1ee058503bb0 --- /dev/null +++ b/sdk/identity/identity-vscode/samples-dev/nodeEnv.ts @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation +// Licensed under the MIT license. + +/** + * This sample shows an example of how to load the `@azure/identity-vscode` + * extension only in certain environments. As an example, we use the NODE_ENV + * environment variable to determine whether or not to load the extension. + * + * NOTE: The NODE_ENV environment variable is merely a convention, and you are + * responsible for setting it as appropriate, for example, by setting the + * variable at runtime: + * + * ```bash + * $ NODE_ENV="production" node dist/nodeEnv.js + * ``` + * + * @summary uses NODE_ENV to load the extension only in development environments + * @azsdk-weight -10 + */ + +import { useIdentityExtension, DefaultAzureCredential } from "@azure/identity"; + +// Get the environment according to NODE_ENV. If it is not defined, we will +// assume the environment is _not_ a production environment. This may not be +// what you want for your use case. +const isProduction = process.env.NODE_ENV === "production"; + +// We'll load the VisualStudioCodeCredential extension only in non-production +// environments. For your use case, this could be "development" only, but you +// may also have other development environments. You can customize this logic to +// suit your needs. +if (!isProduction) { + const { + vsCodeExtension + } = require("@azure/identity-vscode") as typeof import("@azure/identity-vscode"); + useIdentityExtension(vsCodeExtension); +} + +export async function main() { + const credential = new DefaultAzureCredential(); + + // This is the scope we will use to get a token from the AAD token endpoint. + // By default, we'll use the Microsoft Graph scope as an example, but when + // you use the credential with an Azure SDK package, it will configure the + // scope for you automatically. + const scope = process.env.AAD_TEST_SCOPE ?? "https://graph.microsoft.com/.default"; + + // Print out part of the access token + console.log((await credential.getToken(scope)).token.substr(0, 10), "..."); +} + +main().catch((error) => { + console.error("The sample encountered an error:", error); + process.exit(1); +}); diff --git a/sdk/identity/identity-vscode/src/index.ts b/sdk/identity/identity-vscode/src/index.ts new file mode 100644 index 000000000000..6131f33b0524 --- /dev/null +++ b/sdk/identity/identity-vscode/src/index.ts @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { IdentityExtension } from "@azure/identity"; + +import { AzureExtensionContext } from "../../identity/src/extensions/provider"; + +import keytar from "keytar"; + +const VSCodeServiceName = "VS Code Azure"; + +/** + * An extension that provides the dependencies of `VisualStudioCodeCredential` + * and enables it within `@azure/identity`. The extension API is compatible with + * `@azure/identity` versions 2.0.0 and later. Load this extension using the + * `useIdentityExtension` function, imported from `@azure/identity`. + * + * `VisualStudioCodeCredential` uses the authentication session from the "Azure + * Account" extension in VS Code. + * + * To use this functionality, import `VisualStudioCodeCredential` or + * `DefaultAzureCredential` from `@azure/identity`. If this extension is not + * enabled, then `VisualStudioCodeCredential` will throw a + * `CredentialUnavailableError`, and `DefaultAzureCredential` will not be able + * to use authentication through Visual Studio Code. + * + * Example: + * + * ```typescript + * import { useIdentityExtension, VisualStudioCodeCredential } from "@azure/identity"; + * import { vsCodeExtension } from "@azure/identity-vscode"; + * + * // Load the extension + * useIdentityExtension(vsCodeExtension); + * + * // Now that the extension is loaded, this credential may be used + * const credential = new VisualStudioCodeCredential(); + * ``` + */ +export const vsCodeExtension: IdentityExtension = (context) => { + const { vsCodeCredentialControl } = context as AzureExtensionContext; + + vsCodeCredentialControl.setVsCodeCredentialFinder(() => + keytar.findCredentials(VSCodeServiceName) + ); +}; diff --git a/sdk/identity/identity-vscode/test/public/node/setup.spec.ts b/sdk/identity/identity-vscode/test/public/node/setup.spec.ts new file mode 100644 index 000000000000..b45a9f5b4f07 --- /dev/null +++ b/sdk/identity/identity-vscode/test/public/node/setup.spec.ts @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { vsCodeExtension as extension } from "../../../src"; + +import { useIdentityExtension } from "@azure/identity"; + +before(function() { + useIdentityExtension(extension); +}); diff --git a/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts b/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts new file mode 100644 index 000000000000..1ec1824e41f5 --- /dev/null +++ b/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ + +import assert from "assert"; +import sinon from "sinon"; + +import { MsalTestCleanup, msalNodeTestSetup } from "../../../../identity/test/msalTestUtils"; +import { VisualStudioCodeCredential } from "@azure/identity"; +import { isRecordMode } from "@azure/test-utils-recorder"; + +const mockedResponse = [ + { + account: "AzureCloud", + password: "refresh_token" + } +]; + +describe("VisualStudioCodeCredential", function(this: Mocha.Suite) { + let cleanup: MsalTestCleanup; + + beforeEach(function(this: Mocha.Context) { + const setup = msalNodeTestSetup(this); + cleanup = setup.cleanup; + }); + + afterEach(async function() { + await cleanup(); + }); + + const scope = "https://graph.microsoft.com/.default"; + + it("successfully gets a token", async () => { + if (!isRecordMode()) { + // In live CI or playback CI, we need to avoid actually using keytar + // to try to read the Azure Account state, since it won't be available + const mock = sinon.mock(require("keytar")); + mock + .expects("findCredentials") + .onFirstCall() + .returns(mockedResponse); + } + + const cred = new VisualStudioCodeCredential(); + + const token = await cred.getToken(scope); + + assert.ok(token.expiresOnTimestamp); + assert.ok(token.token); + }); +}); diff --git a/sdk/identity/identity-vscode/tsconfig.json b/sdk/identity/identity-vscode/tsconfig.json new file mode 100644 index 000000000000..23d8f29b3565 --- /dev/null +++ b/sdk/identity/identity-vscode/tsconfig.json @@ -0,0 +1,14 @@ +{ + "extends": "../../../tsconfig.package", + "compilerOptions": { + "target": "es6", + "lib": ["DOM"], + "declarationDir": "./types", + "outDir": "./dist-esm", + "resolveJsonModule": true, + "paths": { + "@azure/identity-vscode": ["./src/index"] + } + }, + "include": ["src/**/*", "test/**/*", "samples-dev/**/*"] +} diff --git a/sdk/identity/identity-vscode/tsdoc.json b/sdk/identity/identity-vscode/tsdoc.json new file mode 100644 index 000000000000..81c5a8a2aa2f --- /dev/null +++ b/sdk/identity/identity-vscode/tsdoc.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", + "extends": ["../../../tsdoc.json"] +} diff --git a/sdk/identity/identity/CHANGELOG.md b/sdk/identity/identity/CHANGELOG.md index 3fd454807739..7961335e8f85 100644 --- a/sdk/identity/identity/CHANGELOG.md +++ b/sdk/identity/identity/CHANGELOG.md @@ -2,12 +2,20 @@ ## 2.0.0-beta.4 (Unreleased) +### New features + +- Introduced an extension API through a top-level method `useIdentityExtension`. The function accepts an "extension" as an argument, which is a function accepting a `context`. The extension context is an internal part of the Azure Identity API, so it has an `unknown` type. Two new packages are designed to be used with this API: + - `@azure/identity-vscode`, which provides the dependencies of `VisualStudioCodeCredential` and enables it (see more below). + - `@azure/identity-cache-persistence`, which provides persistent token caching (same as was available in version 2.0.0-beta.2, but now provided through a secondary extension package). +- Reintroduced a stub implementation of `VisualStudioCodeCredential`. If the `@azure/identity-vscode` extension is not used, then it will throw a `CredentialUnavailableError` (similar to how it previously behaved if the `keytar` package was not installed). The extension now provides the underlying implementation of `VisualStudioCodeCredential` through dependency injection. +- Reintroduced the `TokenCachePersistenceOptions` property on most credential constructor options. This property must be present with an `enabled` property set to true to enable persistent token caching for a credential instance. Credentials that do not support persistent token caching do not have this property. + ## Bug fixes - Fixed an issue in which `InteractiveBrowserCredential` on Node would sometimes cause the process to hang if there was no browser available. -- Fixed an issue in which the `AZURE_AUTHORITY_HOST` environment variable was not properly picked up in NodeJS. +- Fixed an issue in which the `AZURE_AUTHORITY_HOST` environment variable was not properly picked up in NodeJS. -### Breaking changes +### Breaking changes - Removed the protected method `getAzureCliAccessToken` from the public API of the `AzureCliCredential`. While it will continue to be available as part of v1, we won't be supporting this method as part of v2's public API. diff --git a/sdk/identity/identity/README.md b/sdk/identity/identity/README.md index bf75a7697e02..596d64004edd 100644 --- a/sdk/identity/identity/README.md +++ b/sdk/identity/identity/README.md @@ -4,6 +4,8 @@ The Azure Identity library provides Azure Active Directory token authentication You can find examples for these various credentials in the [Azure Identity Examples Page](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md) +> **Note**: As of `@azure/identity` >=2.0.0, `VisualStudioCodeCredential` now requires a secondary extension package to use. Please see the [`@azure/identity-vscode` package](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode) as well as [the "Extensions" section](#extensions) below for more information. + [Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity) | [Package (npm)](https://www.npmjs.com/package/@azure/identity) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/identity) | [Product documentation](https://azure.microsoft.com/services/active-directory/) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples) ## Getting started @@ -51,7 +53,7 @@ To authenticate with [Azure PowerShell][azure_powershell] users can run the `Con ![Azure PowerShell Account Sign In][azurepowershelllogin_image] -If interactive authnetication cannot be supported in the session, then the `-UseDeviceAuthentication` argument will force the cmdlet to use a device code authentication flow instead, similar to the corresponding option in the Azure CLI credential. +If interactive authentication cannot be supported in the session, then the `-UseDeviceAuthentication` argument will force the cmdlet to use a device code authentication flow instead, similar to the corresponding option in the Azure CLI credential. ### Authenticate the client in browsers @@ -84,6 +86,13 @@ If used from NodeJS, the `DefaultAzureCredential` will attempt to authenticate v - Azure CLI - If the developer has authenticated an account via the Azure CLI `az login` command, the `DefaultAzureCredential` will authenticate with that account. - Azure PowerShell - If the developer has authenticated using the Azure PowerShell module `Connect-AzAccount` command, the `DefaultAzureCredential` will authenticate with that account. +### Extensions + +Azure Identity for JavaScript provides an extension API that allows us to provide certain functionality through separate _extension packages_. The `@azure/identity` package exports a top-level function (`useIdentityExtension`) that can be used to enable an extension, and we provide two extension packages: + +- [`@azure/identity-cache-persistence`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-cache-persistence), which provides persistent token caching in Node.js using a native secure storage system provided by your operating system. This extension allows cached `access_token` values to persist across sessions, meaning that an interactive login flow does not need to be repeated as long as a cached token is available. +- [`@azure/identity-vscode](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode), which provides the dependencies of `VisualStudioCodeCredential` and enables it. Without this extension, the `VisualStudioCodeCredential` in this package will throw a `CredentialUnavailableError`. The extension provides the underlying implementation of this credential, enabling it for use both on its own and as part of the `DefaultAzureCredential` described above. + ## Environment Variables `DefaultAzureCredential` and `EnvironmentCredential` can be configured with environment variables. Each type of authentication requires values for specific variables: @@ -203,10 +212,10 @@ For examples of how to use managed identity for authentication please refer to [ ### Authenticating via Development Tools -| credential | usage | example | reference | -| ---------------------------- | ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -| `AzureCliCredential` | Authenticate in a development environment with the Azure CLI. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-azure-cli) | [Azure CLI authentication](https://docs.microsoft.com/cli/azure/authenticate-azure-cli) | -| `AzurePowerShellCredential` | Authenticate in a development environment using Azure PowerShell. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-azure-powershell) | [Azure PowerShell authentication](https://docs.microsoft.com/powershell/azure/authenticate-azureps) | +| credential | usage | example | reference | +| --------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `AzureCliCredential` | Authenticate in a development environment with the Azure CLI. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-azure-cli) | [Azure CLI authentication](https://docs.microsoft.com/cli/azure/authenticate-azure-cli) | +| `AzurePowerShellCredential` | Authenticate in a development environment using Azure PowerShell. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-azure-powershell) | [Azure PowerShell authentication](https://docs.microsoft.com/powershell/azure/authenticate-azureps) | ## Troubleshooting diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index e703e3ce1622..5c799d94f7b4 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -20,7 +20,8 @@ "./dist-esm/src/credentials/usernamePasswordCredential.js": "./dist-esm/src/credentials/usernamePasswordCredential.browser.js", "./dist-esm/src/credentials/azurePowerShellCredential.js": "./dist-esm/src/credentials/azurePowerShellCredential.browser.js", "./dist-esm/src/util/authHostEnv.js": "./dist-esm/src/util/authHostEnv.browser.js", - "./dist-esm/src/tokenCache/TokenCachePersistence.js": "./dist-esm/src/tokenCache/TokenCachePersistence.browser.js" + "./dist-esm/src/tokenCache/TokenCachePersistence.js": "./dist-esm/src/tokenCache/TokenCachePersistence.browser.js", + "./dist-esm/src/extensions/consumer.js": "./dist-esm/src/extensions/consumer.browser.js" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -78,6 +79,7 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity/README.md", "sideEffects": false, "dependencies": { + "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/identity/identity/review/identity.api.md b/sdk/identity/identity/review/identity.api.md index 4f2152d01d2a..10e053664152 100644 --- a/sdk/identity/identity/review/identity.api.md +++ b/sdk/identity/identity/review/identity.api.md @@ -4,11 +4,11 @@ ```ts -import { AccessToken } from '@azure/core-http'; +import { AccessToken } from '@azure/core-auth'; import { AzureLogger } from '@azure/logger'; -import { GetTokenOptions } from '@azure/core-http'; +import { GetTokenOptions } from '@azure/core-auth'; import { PipelineOptions } from '@azure/core-http'; -import { TokenCredential } from '@azure/core-http'; +import { TokenCredential } from '@azure/core-auth'; export { AccessToken } @@ -91,7 +91,7 @@ export class ClientCertificateCredential implements TokenCredential { } // @public -export interface ClientCertificateCredentialOptions extends TokenCredentialOptions { +export interface ClientCertificateCredentialOptions extends TokenCredentialOptions, CredentialPersistenceOptions { regionalAuthority?: string; sendCertificateChain?: boolean; } @@ -103,10 +103,15 @@ export class ClientSecretCredential implements TokenCredential { } // @public -export interface ClientSecretCredentialOptions extends TokenCredentialOptions { +export interface ClientSecretCredentialOptions extends TokenCredentialOptions, CredentialPersistenceOptions { regionalAuthority?: string; } +// @public +export interface CredentialPersistenceOptions { + tokenCachePersistenceOptions?: TokenCachePersistenceOptions; +} + // @public export class CredentialUnavailableError extends Error { constructor(message?: string); @@ -121,7 +126,7 @@ export class DefaultAzureCredential extends ChainedTokenCredential { } // @public -export interface DefaultAzureCredentialOptions extends TokenCredentialOptions { +export interface DefaultAzureCredentialOptions extends TokenCredentialOptions, CredentialPersistenceOptions { managedIdentityClientId?: string; tenantId?: string; } @@ -137,7 +142,7 @@ export class DeviceCodeCredential implements TokenCredential { } // @public -export interface DeviceCodeCredentialOptions extends InteractiveCredentialOptions { +export interface DeviceCodeCredentialOptions extends InteractiveCredentialOptions, CredentialPersistenceOptions { clientId?: string; tenantId?: string; userPromptCallback?: DeviceCodePromptCallback; @@ -155,10 +160,14 @@ export type DeviceCodePromptCallback = (deviceCodeInfo: DeviceCodeInfo) => void; // @public export class EnvironmentCredential implements TokenCredential { - constructor(options?: TokenCredentialOptions); + constructor(options?: EnvironmentCredentialOptions); getToken(scopes: string | string[], options?: GetTokenOptions): Promise; } +// @public +export interface EnvironmentCredentialOptions extends TokenCredentialOptions, CredentialPersistenceOptions { +} + // @public export interface ErrorResponse { correlationId?: string; @@ -174,6 +183,9 @@ export function getDefaultAzureCredential(): TokenCredential; export { GetTokenOptions } +// @public +export type IdentityExtension = (context: unknown) => void; + // @public export class InteractiveBrowserCredential implements TokenCredential { constructor(options?: InteractiveBrowserCredentialOptions | InteractiveBrowserCredentialBrowserOptions); @@ -182,19 +194,19 @@ export class InteractiveBrowserCredential implements TokenCredential { } // @public -export type InteractiveBrowserCredentialBrowserOptions = TokenCredentialOptions & InteractiveCredentialOptions & { - redirectUri?: string | (() => string); - tenantId?: string; +export interface InteractiveBrowserCredentialBrowserOptions extends InteractiveCredentialOptions { clientId: string; loginStyle?: BrowserLoginStyle; -}; + redirectUri?: string | (() => string); + tenantId?: string; +} // @public -export type InteractiveBrowserCredentialOptions = TokenCredentialOptions & InteractiveCredentialOptions & { +export interface InteractiveBrowserCredentialOptions extends InteractiveCredentialOptions, CredentialPersistenceOptions { + clientId?: string; redirectUri?: string | (() => string); tenantId?: string; - clientId?: string; -}; +} // @public export interface InteractiveCredentialOptions extends TokenCredentialOptions { @@ -272,6 +284,13 @@ export enum RegionalAuthority { // @public export function serializeAuthenticationRecord(record: AuthenticationRecord): string; +// @public +export interface TokenCachePersistenceOptions { + allowUnencryptedStorage?: boolean; + enabled: boolean; + name?: string; +} + export { TokenCredential } // @public @@ -279,6 +298,9 @@ export interface TokenCredentialOptions extends PipelineOptions { authorityHost?: string; } +// @public +export function useIdentityExtension(extension: IdentityExtension): void; + // @public export class UsernamePasswordCredential implements TokenCredential { constructor(tenantId: string, clientId: string, username: string, password: string, options?: UsernamePasswordCredentialOptions); @@ -286,7 +308,18 @@ export class UsernamePasswordCredential implements TokenCredential { } // @public -export interface UsernamePasswordCredentialOptions extends TokenCredentialOptions { +export interface UsernamePasswordCredentialOptions extends TokenCredentialOptions, CredentialPersistenceOptions { +} + +// @public +export class VisualStudioCodeCredential implements TokenCredential { + constructor(options?: VisualStudioCodeCredentialOptions); + getToken(scopes: string | string[], _options?: GetTokenOptions): Promise; + } + +// @public +export interface VisualStudioCodeCredentialOptions extends TokenCredentialOptions { + tenantId?: string; } diff --git a/sdk/identity/identity/src/client/identityClient.ts b/sdk/identity/identity/src/client/identityClient.ts index 063955a18d62..7b107439a1d0 100644 --- a/sdk/identity/identity/src/client/identityClient.ts +++ b/sdk/identity/identity/src/client/identityClient.ts @@ -26,7 +26,6 @@ const noCorrelationId = "noCorrelationId"; /** * An internal type used to communicate details of a token request's * response that should not be sent back as part of the access token. - * @internal */ export interface TokenResponse { /** @@ -62,7 +61,6 @@ export function getIdentityClientAuthorityHost(options?: TokenCredentialOptions) * It allows for credentials to abort any pending request independently of the MSAL flow, * by calling to the `abortRequests()` method. * - * @internal */ export class IdentityClient extends ServiceClient implements INetworkModule { public authorityHost: string; diff --git a/sdk/identity/identity/src/credentials/authorizationCodeCredential.browser.ts b/sdk/identity/identity/src/credentials/authorizationCodeCredential.browser.ts index 44e9169b30b0..364afd8b852f 100644 --- a/sdk/identity/identity/src/credentials/authorizationCodeCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/authorizationCodeCredential.browser.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TokenCredential, AccessToken } from "@azure/core-http"; +import { TokenCredential, AccessToken } from "@azure/core-auth"; + import { TokenCredentialOptions } from "../client/identityClient"; import { credentialLogger, formatError } from "../util/logging"; diff --git a/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts b/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts index e976bfee7b30..8bcd49b4204e 100644 --- a/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts +++ b/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts @@ -2,9 +2,11 @@ // Licensed under the MIT license. import qs from "qs"; + +import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth"; + import { createSpan } from "../util/tracing"; import { CredentialUnavailableError } from "../client/errors"; -import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-http"; import { IdentityClient, TokenResponse, TokenCredentialOptions } from "../client/identityClient"; import { SpanStatusCode } from "@azure/core-tracing"; import { credentialLogger, formatSuccess, formatError } from "../util/logging"; diff --git a/sdk/identity/identity/src/credentials/azureCliCredential.browser.ts b/sdk/identity/identity/src/credentials/azureCliCredential.browser.ts index fb9259da24f3..501ee08e4568 100644 --- a/sdk/identity/identity/src/credentials/azureCliCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/azureCliCredential.browser.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, TokenCredential } from "@azure/core-http"; +import { AccessToken, TokenCredential } from "@azure/core-auth"; + import { credentialLogger, formatError } from "../util/logging"; const BrowserNotSupportedError = new Error("AzureCliCredential is not supported in the browser."); diff --git a/sdk/identity/identity/src/credentials/azureCliCredential.ts b/sdk/identity/identity/src/credentials/azureCliCredential.ts index 7fa8e9332f85..5750a37a0ad7 100644 --- a/sdk/identity/identity/src/credentials/azureCliCredential.ts +++ b/sdk/identity/identity/src/credentials/azureCliCredential.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-http"; +import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth"; + import { createSpan } from "../util/tracing"; import { CredentialUnavailableError } from "../client/errors"; import { SpanStatusCode } from "@azure/core-tracing"; diff --git a/sdk/identity/identity/src/credentials/azurePowerShellCredential.browser.ts b/sdk/identity/identity/src/credentials/azurePowerShellCredential.browser.ts index ebf66ebff972..f1ddbc2b9a9e 100644 --- a/sdk/identity/identity/src/credentials/azurePowerShellCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/azurePowerShellCredential.browser.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TokenCredential, AccessToken } from "@azure/core-http"; +import { TokenCredential, AccessToken } from "@azure/core-auth"; + import { credentialLogger, formatError } from "../util/logging"; const BrowserNotSupportedError = new Error( diff --git a/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts b/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts index eb1783bd3746..59a8d3e7e196 100644 --- a/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts +++ b/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-http"; +import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth"; + import { CredentialUnavailableError } from "../client/errors"; import { credentialLogger, formatSuccess, formatError } from "../util/logging"; import { trace } from "../util/tracing"; diff --git a/sdk/identity/identity/src/credentials/chainedTokenCredential.ts b/sdk/identity/identity/src/credentials/chainedTokenCredential.ts index 739f55338700..d8ca5388ed23 100644 --- a/sdk/identity/identity/src/credentials/chainedTokenCredential.ts +++ b/sdk/identity/identity/src/credentials/chainedTokenCredential.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, TokenCredential, GetTokenOptions } from "@azure/core-http"; +import { AccessToken, TokenCredential, GetTokenOptions } from "@azure/core-auth"; + import { AggregateAuthenticationError, CredentialUnavailableError } from "../client/errors"; import { createSpan } from "../util/tracing"; import { SpanStatusCode } from "@azure/core-tracing"; diff --git a/sdk/identity/identity/src/credentials/clientCertificateCredential.browser.ts b/sdk/identity/identity/src/credentials/clientCertificateCredential.browser.ts index 0f772315c5e9..ff14581a9e50 100644 --- a/sdk/identity/identity/src/credentials/clientCertificateCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/clientCertificateCredential.browser.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TokenCredential, AccessToken } from "@azure/core-http"; +import { TokenCredential, AccessToken } from "@azure/core-auth"; import { credentialLogger, formatError } from "../util/logging"; const BrowserNotSupportedError = new Error( diff --git a/sdk/identity/identity/src/credentials/clientCertificateCredential.ts b/sdk/identity/identity/src/credentials/clientCertificateCredential.ts index 392cf5ecdf64..595739d3d3e1 100644 --- a/sdk/identity/identity/src/credentials/clientCertificateCredential.ts +++ b/sdk/identity/identity/src/credentials/clientCertificateCredential.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; +import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; + import { MsalClientCertificate } from "../msal/nodeFlows/msalClientCertificate"; import { credentialLogger } from "../util/logging"; import { trace } from "../util/tracing"; diff --git a/sdk/identity/identity/src/credentials/clientCertificateCredentialOptions.ts b/sdk/identity/identity/src/credentials/clientCertificateCredentialOptions.ts index 74c149a2f6dd..42dc5a0d6910 100644 --- a/sdk/identity/identity/src/credentials/clientCertificateCredentialOptions.ts +++ b/sdk/identity/identity/src/credentials/clientCertificateCredentialOptions.ts @@ -2,11 +2,14 @@ // Licensed under the MIT license. import { TokenCredentialOptions } from "../client/identityClient"; +import { CredentialPersistenceOptions } from "./credentialPersistenceOptions"; /** * Optional parameters for the {@link ClientCertificateCredential} class. */ -export interface ClientCertificateCredentialOptions extends TokenCredentialOptions { +export interface ClientCertificateCredentialOptions + extends TokenCredentialOptions, + CredentialPersistenceOptions { /** * Option to include x5c header for SubjectName and Issuer name authorization. * Set this option to send base64 encoded public certificate in the client assertion header as an x5c claim diff --git a/sdk/identity/identity/src/credentials/clientSecretCredential.browser.ts b/sdk/identity/identity/src/credentials/clientSecretCredential.browser.ts index b4b2c308c7a2..ed941edad125 100644 --- a/sdk/identity/identity/src/credentials/clientSecretCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/clientSecretCredential.browser.ts @@ -2,7 +2,9 @@ // Licensed under the MIT license. import qs from "qs"; -import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-http"; + +import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth"; + import { TokenCredentialOptions, IdentityClient } from "../client/identityClient"; import { createSpan } from "../util/tracing"; import { SpanStatusCode } from "@azure/core-tracing"; diff --git a/sdk/identity/identity/src/credentials/clientSecretCredential.ts b/sdk/identity/identity/src/credentials/clientSecretCredential.ts index 9286ac21ab28..4e1a2d942e0a 100644 --- a/sdk/identity/identity/src/credentials/clientSecretCredential.ts +++ b/sdk/identity/identity/src/credentials/clientSecretCredential.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; +import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; + import { MsalClientSecret } from "../msal/nodeFlows/msalClientSecret"; import { credentialLogger } from "../util/logging"; import { trace } from "../util/tracing"; diff --git a/sdk/identity/identity/src/credentials/clientSecretCredentialOptions.ts b/sdk/identity/identity/src/credentials/clientSecretCredentialOptions.ts index 83a4694abb4b..8cc4e68c1d50 100644 --- a/sdk/identity/identity/src/credentials/clientSecretCredentialOptions.ts +++ b/sdk/identity/identity/src/credentials/clientSecretCredentialOptions.ts @@ -2,11 +2,14 @@ // Licensed under the MIT license. import { TokenCredentialOptions } from "../client/identityClient"; +import { CredentialPersistenceOptions } from "./credentialPersistenceOptions"; /** * Optional parameters for the {@link ClientSecretCredential} class. */ -export interface ClientSecretCredentialOptions extends TokenCredentialOptions { +export interface ClientSecretCredentialOptions + extends TokenCredentialOptions, + CredentialPersistenceOptions { /** * Specifies a regional authority. Please refer to the {@link RegionalAuthority} type for the accepted values. * If {@link RegionalAuthority.AutoDiscoverRegion} is specified, we will try to discover the regional authority endpoint. diff --git a/sdk/identity/identity/src/credentials/credentialPersistenceOptions.ts b/sdk/identity/identity/src/credentials/credentialPersistenceOptions.ts new file mode 100644 index 000000000000..ca5e749c0870 --- /dev/null +++ b/sdk/identity/identity/src/credentials/credentialPersistenceOptions.ts @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { TokenCachePersistenceOptions } from "../msal/nodeFlows/tokenCachePersistenceOptions"; + +/** + * Shared configuration options for credentials that support persistent token + * caching. + */ +export interface CredentialPersistenceOptions { + /** + * Options to provide to the persistence layer (if one is available) when + * storing credentials. + * + * You must first register a persistence provider as an extension. See the + * `@azure/identity-cache-persistence` package on NPM. + * + * Example: + * + * ```typescript + * import persistence from "@azure/identity-cache-persistence"; + * import { useIdentityExtension, DeviceCodeCredential } from "@azure/identity"; + * + * useIdentityExtension(persistence); + * + * async function main() { + * const credential = new DeviceCodeCredential({ + * tokenCachePersistenceOptions: { + * name: "mycustomcachename" + * } + * }); + * } + * + * main().catch((error) => { + * console.error("An error occured:", error); + * process.exit(1); + * }); + * ``` +- */ + + tokenCachePersistenceOptions?: TokenCachePersistenceOptions; +} diff --git a/sdk/identity/identity/src/credentials/defaultAzureCredential.browser.ts b/sdk/identity/identity/src/credentials/defaultAzureCredential.browser.ts index 0632d4399020..7a08a8cf0b9d 100644 --- a/sdk/identity/identity/src/credentials/defaultAzureCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/defaultAzureCredential.browser.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken } from "@azure/core-http"; +import { AccessToken } from "@azure/core-auth"; + import { TokenCredentialOptions } from "../client/identityClient"; import { credentialLogger, formatError } from "../util/logging"; import { ChainedTokenCredential } from "./chainedTokenCredential"; diff --git a/sdk/identity/identity/src/credentials/defaultAzureCredential.ts b/sdk/identity/identity/src/credentials/defaultAzureCredential.ts index d07319be6370..1bbbda2020b5 100644 --- a/sdk/identity/identity/src/credentials/defaultAzureCredential.ts +++ b/sdk/identity/identity/src/credentials/defaultAzureCredential.ts @@ -1,17 +1,25 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { TokenCredential } from "@azure/core-auth"; + import { TokenCredentialOptions } from "../client/identityClient"; + import { ChainedTokenCredential } from "./chainedTokenCredential"; -import { EnvironmentCredential } from "./environmentCredential"; -import { ManagedIdentityCredential } from "./managedIdentityCredential"; + import { AzureCliCredential } from "./azureCliCredential"; import { AzurePowerShellCredential } from "./azurePowerShellCredential"; +import { EnvironmentCredential } from "./environmentCredential"; +import { ManagedIdentityCredential } from "./managedIdentityCredential"; +import { CredentialPersistenceOptions } from "./credentialPersistenceOptions"; +import { VisualStudioCodeCredential } from "./visualStudioCodeCredential"; /** * Provides options to configure the {@link DefaultAzureCredential} class. */ -export interface DefaultAzureCredentialOptions extends TokenCredentialOptions { +export interface DefaultAzureCredentialOptions + extends TokenCredentialOptions, + CredentialPersistenceOptions { /** * Optionally pass in a Tenant ID to be used as part of the credential. * By default it may use a generic tenant ID depending on the underlying credential. @@ -25,16 +33,59 @@ export interface DefaultAzureCredentialOptions extends TokenCredentialOptions { } /** - * Provides a default {@link ChainedTokenCredential} configuration that should work for most applications that use the Azure SDK. - * The following credential types will be tried, in order: + * The type of a class that implements TokenCredential and accepts + * `DefaultAzureCredentialOptions`. + */ +interface DefaultCredentialConstructor { + new (options?: DefaultAzureCredentialOptions): TokenCredential; +} + +/** + * A shim around ManagedIdentityCredential that adapts it to accept + * `DefaultAzureCredentialOptions`. + * + * @internal + */ +class DefaultManagedIdentityCredential extends ManagedIdentityCredential { + constructor(options?: DefaultAzureCredentialOptions) { + const managedIdentityClientId = options?.managedIdentityClientId ?? process.env.AZURE_CLIENT_ID; + if (managedIdentityClientId !== undefined) { + super(managedIdentityClientId, options); + } else { + super(options); + } + } +} + +export const defaultCredentials: DefaultCredentialConstructor[] = [ + EnvironmentCredential, + DefaultManagedIdentityCredential, + VisualStudioCodeCredential, + AzureCliCredential, + AzurePowerShellCredential +]; + +/** + * Provides a default {@link ChainedTokenCredential} configuration that should + * work for most applications that use the Azure SDK. The following credential + * types will be tried, in order: * * - {@link EnvironmentCredential} * - {@link ManagedIdentityCredential} + * - {@link VisualStudioCodeCredential} * - {@link AzureCliCredential} * - {@link AzurePowerShellCredential} * * Consult the documentation of these credential types for more information * on how they attempt authentication. + * + * **Note**: `VisualStudioCodeCredential` is provided by an extension package: + * `@azure/identity-vscode`. If this package is not installed and registered + * using the extension API (`useIdentityExtension`), then authentication using + * `VisualStudioCodeCredential` will not be available. + * + * Azure Identity extensions may add credential types to the default credential + * stack. */ export class DefaultAzureCredential extends ChainedTokenCredential { /** @@ -43,24 +94,7 @@ export class DefaultAzureCredential extends ChainedTokenCredential { * @param options - Optional parameters. See {@link DefaultAzureCredentialOptions}. */ constructor(options?: DefaultAzureCredentialOptions) { - const credentials = []; - credentials.push(new EnvironmentCredential(options)); - - // A client ID for the ManagedIdentityCredential - // can be provided either through the optional parameters or through the environment variables. - const managedIdentityClientId = options?.managedIdentityClientId || process.env.AZURE_CLIENT_ID; - - // If a client ID is not provided, we will try with the system assigned ID. - if (managedIdentityClientId) { - credentials.push(new ManagedIdentityCredential(managedIdentityClientId, options)); - } else { - credentials.push(new ManagedIdentityCredential(options)); - } - - credentials.push(new AzureCliCredential()); - credentials.push(new AzurePowerShellCredential()); - - super(...credentials); + super(...defaultCredentials.map((ctor) => new ctor(options))); this.UnavailableMessage = "DefaultAzureCredential => failed to retrieve a token from the included credentials"; } diff --git a/sdk/identity/identity/src/credentials/deviceCodeCredential.browser.ts b/sdk/identity/identity/src/credentials/deviceCodeCredential.browser.ts index 2a8b2ac5ef25..811fba10264f 100644 --- a/sdk/identity/identity/src/credentials/deviceCodeCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/deviceCodeCredential.browser.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TokenCredential, AccessToken } from "@azure/core-http"; +import { TokenCredential, AccessToken } from "@azure/core-auth"; + import { credentialLogger, formatError } from "../util/logging"; const BrowserNotSupportedError = new Error("DeviceCodeCredential is not supported in the browser."); diff --git a/sdk/identity/identity/src/credentials/deviceCodeCredential.ts b/sdk/identity/identity/src/credentials/deviceCodeCredential.ts index 32ecb2956d33..c817b616f550 100644 --- a/sdk/identity/identity/src/credentials/deviceCodeCredential.ts +++ b/sdk/identity/identity/src/credentials/deviceCodeCredential.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; +import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; + import { credentialLogger } from "../util/logging"; import { MsalDeviceCode } from "../msal/nodeFlows/msalDeviceCode"; import { MsalFlow } from "../msal/flows"; diff --git a/sdk/identity/identity/src/credentials/deviceCodeCredentialOptions.ts b/sdk/identity/identity/src/credentials/deviceCodeCredentialOptions.ts index a6cc1c5fbedc..e16679b1d448 100644 --- a/sdk/identity/identity/src/credentials/deviceCodeCredentialOptions.ts +++ b/sdk/identity/identity/src/credentials/deviceCodeCredentialOptions.ts @@ -2,6 +2,7 @@ // Licensed under the MIT license. import { InteractiveCredentialOptions } from "./interactiveCredentialOptions"; +import { CredentialPersistenceOptions } from "./credentialPersistenceOptions"; /** * Provides the user code and verification URI where the code must be @@ -37,7 +38,9 @@ export type DeviceCodePromptCallback = (deviceCodeInfo: DeviceCodeInfo) => void; /** * Defines options for the InteractiveBrowserCredential class for NodeJS. */ -export interface DeviceCodeCredentialOptions extends InteractiveCredentialOptions { +export interface DeviceCodeCredentialOptions + extends InteractiveCredentialOptions, + CredentialPersistenceOptions { /** * The Azure Active Directory tenant (directory) ID. */ diff --git a/sdk/identity/identity/src/credentials/environmentCredential.browser.ts b/sdk/identity/identity/src/credentials/environmentCredential.browser.ts index c01020cd49ed..737c084eaef6 100644 --- a/sdk/identity/identity/src/credentials/environmentCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/environmentCredential.browser.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, TokenCredential } from "@azure/core-http"; +import { AccessToken, TokenCredential } from "@azure/core-auth"; + import { credentialLogger, formatError } from "../util/logging"; const BrowserNotSupportedError = new Error( diff --git a/sdk/identity/identity/src/credentials/environmentCredential.ts b/sdk/identity/identity/src/credentials/environmentCredential.ts index 32c81b045514..4952faa62a63 100644 --- a/sdk/identity/identity/src/credentials/environmentCredential.ts +++ b/sdk/identity/identity/src/credentials/environmentCredential.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, TokenCredential, GetTokenOptions } from "@azure/core-http"; +import { AccessToken, TokenCredential, GetTokenOptions } from "@azure/core-auth"; + import { credentialLogger, processEnvVars, formatSuccess, formatError } from "../util/logging"; import { TokenCredentialOptions } from "../client/identityClient"; import { ClientSecretCredential } from "./clientSecretCredential"; @@ -10,6 +11,7 @@ import { checkTenantId } from "../util/checkTenantId"; import { trace } from "../util/tracing"; import { ClientCertificateCredential } from "./clientCertificateCredential"; import { UsernamePasswordCredential } from "./usernamePasswordCredential"; +import { CredentialPersistenceOptions } from "./credentialPersistenceOptions"; /** * Contains the list of all supported environment variable names so that an @@ -29,6 +31,13 @@ export const AllSupportedEnvironmentVariables = [ const logger = credentialLogger("EnvironmentCredential"); +/** + * Defines options for the EnvironmentCredential class. + */ +export interface EnvironmentCredentialOptions + extends TokenCredentialOptions, + CredentialPersistenceOptions {} + /** * Enables authentication to Azure Active Directory using client secret * details configured in the following environment variables: @@ -54,7 +63,7 @@ export class EnvironmentCredential implements TokenCredential { * * @param options - Options for configuring the client which makes the authentication request. */ - constructor(options?: TokenCredentialOptions) { + constructor(options?: EnvironmentCredentialOptions) { // Keep track of any missing environment variables for error details const assigned = processEnvVars(AllSupportedEnvironmentVariables).assigned.join(", "); diff --git a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.browser.ts b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.browser.ts index 8e9dba33ae4a..e04f3d7c8054 100644 --- a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.browser.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; +import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; + import { credentialLogger, formatError } from "../util/logging"; import { trace } from "../util/tracing"; import { MsalFlow } from "../msal/flows"; diff --git a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts index f7b6ec4f7008..9d98d1fff531 100644 --- a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts +++ b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts @@ -3,7 +3,8 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; +import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; + import { credentialLogger } from "../util/logging"; import { trace } from "../util/tracing"; import { AuthenticationRecord } from "../msal/types"; diff --git a/sdk/identity/identity/src/credentials/interactiveBrowserCredentialOptions.ts b/sdk/identity/identity/src/credentials/interactiveBrowserCredentialOptions.ts index 7d5e59c947c2..2057c792f8bb 100644 --- a/sdk/identity/identity/src/credentials/interactiveBrowserCredentialOptions.ts +++ b/sdk/identity/identity/src/credentials/interactiveBrowserCredentialOptions.ts @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TokenCredentialOptions } from "../client/identityClient"; import { InteractiveCredentialOptions } from "./interactiveCredentialOptions"; +import { CredentialPersistenceOptions } from "./credentialPersistenceOptions"; /** * (Browser-only feature) @@ -18,52 +18,52 @@ export type BrowserLoginStyle = "redirect" | "popup"; /** * Defines the common options for the InteractiveBrowserCredential class. */ -export type InteractiveBrowserCredentialOptions = TokenCredentialOptions & - InteractiveCredentialOptions & { - /** - * Gets the redirect URI of the application. This should be same as the value - * in the application registration portal. Defaults to `window.location.href`. - */ - redirectUri?: string | (() => string); +export interface InteractiveBrowserCredentialOptions + extends InteractiveCredentialOptions, + CredentialPersistenceOptions { + /** + * Gets the redirect URI of the application. This should be same as the value + * in the application registration portal. Defaults to `window.location.href`. + */ + redirectUri?: string | (() => string); - /** - * The Azure Active Directory tenant (directory) ID. - */ - tenantId?: string; + /** + * The Azure Active Directory tenant (directory) ID. + */ + tenantId?: string; - /** - * The client (application) ID of an App Registration in the tenant. - */ - clientId?: string; - }; + /** + * The client (application) ID of an App Registration in the tenant. + */ + clientId?: string; +} /** * Defines the common options for the InteractiveBrowserCredential class. */ -export type InteractiveBrowserCredentialBrowserOptions = TokenCredentialOptions & - InteractiveCredentialOptions & { - /** - * Gets the redirect URI of the application. This should be same as the value - * in the application registration portal. Defaults to `window.location.href`. - */ - redirectUri?: string | (() => string); +export interface InteractiveBrowserCredentialBrowserOptions extends InteractiveCredentialOptions { + /** + * Gets the redirect URI of the application. This should be same as the value + * in the application registration portal. Defaults to `window.location.href`. + */ + redirectUri?: string | (() => string); - /** - * The Azure Active Directory tenant (directory) ID. - */ - tenantId?: string; + /** + * The Azure Active Directory tenant (directory) ID. + */ + tenantId?: string; - /** - * The client (application) ID of an App Registration in the tenant. - * This parameter is required on the browser. - */ - clientId: string; + /** + * The client (application) ID of an App Registration in the tenant. + * This parameter is required on the browser. + */ + clientId: string; - /** - * Specifies whether a redirect or a popup window should be used to - * initiate the user authentication flow. Possible values are "redirect" - * or "popup" (default) for browser and "popup" (default) for node. - * - */ - loginStyle?: BrowserLoginStyle; - }; + /** + * Specifies whether a redirect or a popup window should be used to + * initiate the user authentication flow. Possible values are "redirect" + * or "popup" (default) for browser and "popup" (default) for node. + * + */ + loginStyle?: BrowserLoginStyle; +} diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/appServiceMsi2017.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/appServiceMsi2017.ts index 6a556b1d38d0..f0a050f46b20 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/appServiceMsi2017.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/appServiceMsi2017.ts @@ -1,7 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, RequestPrepareOptions } from "@azure/core-http"; +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; + +import { RequestPrepareOptions } from "@azure/core-http"; + import { IdentityClient } from "../../client/identityClient"; import { credentialLogger } from "../../util/logging"; import { MSI } from "./models"; diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/arcMsi.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/arcMsi.ts index c379f350f1d4..a30b749a4766 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/arcMsi.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/arcMsi.ts @@ -1,7 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, RequestPrepareOptions } from "@azure/core-http"; +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; +import { RequestPrepareOptions } from "@azure/core-http"; + import { MSI } from "./models"; import { credentialLogger } from "../../util/logging"; import { IdentityClient } from "../../client/identityClient"; diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/cloudShellMsi.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/cloudShellMsi.ts index 80b741f0690e..547b64d07e7c 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/cloudShellMsi.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/cloudShellMsi.ts @@ -2,7 +2,10 @@ // Licensed under the MIT license. import qs from "qs"; -import { AccessToken, GetTokenOptions, RequestPrepareOptions } from "@azure/core-http"; + +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; +import { RequestPrepareOptions } from "@azure/core-http"; + import { MSI } from "./models"; import { credentialLogger } from "../../util/logging"; import { IdentityClient } from "../../client/identityClient"; diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/fabricMsi.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/fabricMsi.ts index 2678a9048306..ff625535a64b 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/fabricMsi.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/fabricMsi.ts @@ -1,7 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, RequestPrepareOptions } from "@azure/core-http"; +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; +import { RequestPrepareOptions } from "@azure/core-http"; + import { MSI } from "./models"; import { credentialLogger } from "../../util/logging"; import { IdentityClient } from "../../client/identityClient"; diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/index.browser.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/index.browser.ts index dff12380ab78..eb8715548626 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/index.browser.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/index.browser.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, TokenCredential } from "@azure/core-http"; +import { AccessToken, TokenCredential } from "@azure/core-auth"; + import { TokenCredentialOptions } from "../../client/identityClient"; import { credentialLogger, formatError } from "../../util/logging"; diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts index a49723c57984..ffdc242ce940 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; +import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; + import { IdentityClient, TokenCredentialOptions } from "../../client/identityClient"; import { createSpan } from "../../util/tracing"; import { AuthenticationError, CredentialUnavailableError } from "../../client/errors"; diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/models.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/models.ts index e449ffd64b18..237b758554fa 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/models.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/models.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions } from "@azure/core-http"; +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; + import { IdentityClient } from "../../client/identityClient"; export type MSIExpiresInParser = (requestBody: any) => number; diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/utils.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/utils.ts index 6c54ec33a94b..ef2336c6a9c7 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/utils.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/utils.ts @@ -1,7 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, RequestPrepareOptions } from "@azure/core-http"; +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; +import { RequestPrepareOptions } from "@azure/core-http"; + import { IdentityClient } from "../../client/identityClient"; import { DefaultScopeSuffix } from "./constants"; import { MSIExpiresInParser } from "./models"; diff --git a/sdk/identity/identity/src/credentials/usernamePasswordCredential.browser.ts b/sdk/identity/identity/src/credentials/usernamePasswordCredential.browser.ts index e76b83b68863..91f4cd31a692 100644 --- a/sdk/identity/identity/src/credentials/usernamePasswordCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/usernamePasswordCredential.browser.ts @@ -2,7 +2,9 @@ // Licensed under the MIT license. import qs from "qs"; -import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-http"; + +import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth"; + import { TokenCredentialOptions, IdentityClient } from "../client/identityClient"; import { createSpan } from "../util/tracing"; import { SpanStatusCode } from "@azure/core-tracing"; diff --git a/sdk/identity/identity/src/credentials/usernamePasswordCredential.ts b/sdk/identity/identity/src/credentials/usernamePasswordCredential.ts index f7ffeefc0883..f8752b694eb4 100644 --- a/sdk/identity/identity/src/credentials/usernamePasswordCredential.ts +++ b/sdk/identity/identity/src/credentials/usernamePasswordCredential.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-http"; +import { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; + import { credentialLogger } from "../util/logging"; import { MsalUsernamePassword } from "../msal/nodeFlows/msalUsernamePassword"; import { MsalFlow } from "../msal/flows"; diff --git a/sdk/identity/identity/src/credentials/usernamePasswordCredentialOptions.ts b/sdk/identity/identity/src/credentials/usernamePasswordCredentialOptions.ts index f82a1cdb2922..5abe8010dd14 100644 --- a/sdk/identity/identity/src/credentials/usernamePasswordCredentialOptions.ts +++ b/sdk/identity/identity/src/credentials/usernamePasswordCredentialOptions.ts @@ -2,8 +2,11 @@ // Licensed under the MIT license. import { TokenCredentialOptions } from "../client/identityClient"; +import { CredentialPersistenceOptions } from "./credentialPersistenceOptions"; /** * Defines options for the {@link UsernamePasswordCredential} class. */ -export interface UsernamePasswordCredentialOptions extends TokenCredentialOptions {} +export interface UsernamePasswordCredentialOptions + extends TokenCredentialOptions, + CredentialPersistenceOptions {} diff --git a/sdk/identity/identity/src/credentials/visualStudioCodeCredential.browser.ts b/sdk/identity/identity/src/credentials/visualStudioCodeCredential.browser.ts new file mode 100644 index 000000000000..8255eeac4dce --- /dev/null +++ b/sdk/identity/identity/src/credentials/visualStudioCodeCredential.browser.ts @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { TokenCredential, AccessToken } from "@azure/core-auth"; + +import { credentialLogger, formatError } from "../util/logging"; + +const BrowserNotSupportedError = new Error( + "VisualStudioCodeCredential is not supported in the browser." +); +const logger = credentialLogger("VisualStudioCodeCredential"); + +export const vsCodeCredentialControl = { + set vsCodeCredentialFinder(_finder: never) { + throw new Error( + "Attempted to register a VisualStudioCodeCredential provider extension in the browser. This environment is not supported by VisualStudioCodeCredential." + ); + } +}; + +export class VisualStudioCodeCredential implements TokenCredential { + constructor() { + logger.info(formatError("", BrowserNotSupportedError)); + throw BrowserNotSupportedError; + } + + public getToken(): Promise { + logger.getToken.info(formatError("", BrowserNotSupportedError)); + throw BrowserNotSupportedError; + } +} diff --git a/sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts b/sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts new file mode 100644 index 000000000000..c12d7dde7c9b --- /dev/null +++ b/sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts @@ -0,0 +1,234 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { TokenCredential, AccessToken, GetTokenOptions } from "@azure/core-auth"; + +import fs from "fs"; +import os from "os"; +import path from "path"; + +import { CredentialUnavailableError } from "../client/errors"; +import { IdentityClient, TokenCredentialOptions } from "../client/identityClient"; +import { AzureAuthorityHosts } from "../constants"; +import { checkTenantId } from "../util/checkTenantId"; +import { credentialLogger, formatError, formatSuccess } from "../util/logging"; +import { VSCodeCredentialFinder } from "./visualStudioCodeCredentialExtension"; + +const CommonTenantId = "common"; +const AzureAccountClientId = "aebc6443-996d-45c2-90f0-388ff96faa56"; // VSC: 'aebc6443-996d-45c2-90f0-388ff96faa56' +const logger = credentialLogger("VisualStudioCodeCredential"); + +let findCredentials: VSCodeCredentialFinder | undefined = undefined; + +export const vsCodeCredentialControl = { + setVsCodeCredentialFinder(finder: VSCodeCredentialFinder): void { + findCredentials = finder; + } +}; + +// Map of unsupported Tenant IDs and the errors we will be throwing. +const unsupportedTenantIds: Record = { + adfs: "The VisualStudioCodeCredential does not support authentication with ADFS tenants." +}; + +function checkUnsupportedTenant(tenantId: string): void { + // If the Tenant ID isn't supported, we throw. + const unsupportedTenantError = unsupportedTenantIds[tenantId]; + if (unsupportedTenantError) { + throw new CredentialUnavailableError(unsupportedTenantError); + } +} + +type VSCodeCloudNames = "AzureCloud" | "AzureChina" | "AzureGermanCloud" | "AzureUSGovernment"; + +const mapVSCodeAuthorityHosts: Record = { + AzureCloud: AzureAuthorityHosts.AzurePublicCloud, + AzureChina: AzureAuthorityHosts.AzureChina, + AzureGermanCloud: AzureAuthorityHosts.AzureGermany, + AzureUSGovernment: AzureAuthorityHosts.AzureGovernment +}; + +/** + * Attempts to load a specific property from the VSCode configurations of the current OS. + * If it fails at any point, returns undefined. + */ +export function getPropertyFromVSCode(property: string): string | undefined { + const settingsPath = ["User", "settings.json"]; + // Eventually we can add more folders for more versions of VSCode. + const vsCodeFolder = "Code"; + const homedir = os.homedir(); + + function loadProperty(...pathSegments: string[]): string | undefined { + const fullPath = path.join(...pathSegments, vsCodeFolder, ...settingsPath); + const settings = JSON.parse(fs.readFileSync(fullPath, { encoding: "utf8" })); + return settings[property]; + } + + try { + let appData: string; + switch (process.platform) { + case "win32": + appData = process.env.APPDATA!; + return appData ? loadProperty(appData) : undefined; + case "darwin": + return loadProperty(homedir, "Library", "Application Support"); + case "linux": + return loadProperty(homedir, ".config"); + default: + return; + } + } catch (e) { + logger.info(`Failed to load the Visual Studio Code configuration file. Error: ${e.message}`); + return; + } +} + +/** + * Provides options to configure the Visual Studio Code credential. + */ +export interface VisualStudioCodeCredentialOptions extends TokenCredentialOptions { + /** + * Optionally pass in a Tenant ID to be used as part of the credential + */ + tenantId?: string; +} + +/** + * Connect to Azure using the credential provided by the VSCode extension 'Azure Account'. + * Once the user has logged in via the extension, this credential can share the same refresh token + * that is cached by the extension. + */ +export class VisualStudioCodeCredential implements TokenCredential { + private identityClient: IdentityClient; + private tenantId: string; + private cloudName: VSCodeCloudNames; + + /** + * Creates an instance of VisualStudioCodeCredential to use for automatically authenticating via VSCode. + * + * @param options - Options for configuring the client which makes the authentication request. + */ + constructor(options?: VisualStudioCodeCredentialOptions) { + // We want to make sure we use the one assigned by the user on the VSCode settings. + // Or just `AzureCloud` by default. + this.cloudName = (getPropertyFromVSCode("azure.cloud") || "AzureCloud") as VSCodeCloudNames; + + // Picking an authority host based on the cloud name. + const authorityHost = mapVSCodeAuthorityHosts[this.cloudName]; + + this.identityClient = new IdentityClient({ + authorityHost, + ...options + }); + + if (options && options.tenantId) { + checkTenantId(logger, options.tenantId); + this.tenantId = options.tenantId; + } else { + this.tenantId = CommonTenantId; + } + + checkUnsupportedTenant(this.tenantId); + } + + /** + * Runs preparations for any further getToken request. + */ + private async prepare(): Promise { + // Attempts to load the tenant from the VSCode configuration file. + const settingsTenant = getPropertyFromVSCode("azure.tenant"); + if (settingsTenant) { + this.tenantId = settingsTenant; + } + checkUnsupportedTenant(this.tenantId); + } + + /** + * The promise of the single preparation that will be executed at the first getToken request for an instance of this class. + */ + private preparePromise: Promise | undefined; + + /** + * Runs preparations for any further getToken, but only once. + */ + private prepareOnce(): Promise | undefined { + if (!this.preparePromise) { + this.preparePromise = this.prepare(); + } + return this.preparePromise; + } + + /** + * Returns the token found by searching VSCode's authentication cache or + * returns null if no token could be found. + * + * @param scopes - The list of scopes for which the token will have access. + * @param options - The options used to configure any requests this + * `TokenCredential` implementation might make. + */ + public async getToken( + scopes: string | string[], + _options?: GetTokenOptions + ): Promise { + await this.prepareOnce(); + if (findCredentials === undefined) { + throw new CredentialUnavailableError( + "No implementation of VisualStudioCodeCredential is available (do you need to install and use the `@azure/identity-vscode` extension package?)" + ); + } + + let scopeString = typeof scopes === "string" ? scopes : scopes.join(" "); + + // Check to make sure the scope we get back is a valid scope + if (!scopeString.match(/^[0-9a-zA-Z-.:/]+$/)) { + const error = new Error("Invalid scope was specified by the user or calling client"); + logger.getToken.info(formatError(scopes, error)); + throw error; + } + + if (scopeString.indexOf("offline_access") < 0) { + scopeString += " offline_access"; + } + + // findCredentials returns an array similar to: + // [ + // { + // account: "", + // password: "", + // }, + // /* ... */ + // ] + const credentials = await findCredentials(); + + // If we can't find the credential based on the name, we'll pick the first one available. + const { password: refreshToken } = + credentials.find(({ account }) => account === this.cloudName) ?? credentials[0] ?? {}; + + if (refreshToken) { + const tokenResponse = await this.identityClient.refreshAccessToken( + this.tenantId, + AzureAccountClientId, + scopeString, + refreshToken, + undefined + ); + + if (tokenResponse) { + logger.getToken.info(formatSuccess(scopes)); + return tokenResponse.accessToken; + } else { + const error = new CredentialUnavailableError( + "Could not retrieve the token associated with Visual Studio Code. Have you connected using the 'Azure Account' extension recently?" + ); + logger.getToken.info(formatError(scopes, error)); + throw error; + } + } else { + const error = new CredentialUnavailableError( + "Could not retrieve the token associated with Visual Studio Code. Did you connect using the 'Azure Account' extension?" + ); + logger.getToken.info(formatError(scopes, error)); + throw error; + } + } +} diff --git a/sdk/identity/identity/src/credentials/visualStudioCodeCredentialExtension.ts b/sdk/identity/identity/src/credentials/visualStudioCodeCredentialExtension.ts new file mode 100644 index 000000000000..4dd49ae1dbc2 --- /dev/null +++ b/sdk/identity/identity/src/credentials/visualStudioCodeCredentialExtension.ts @@ -0,0 +1,13 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +// Copyright (c) Microsoft Corporation +// Licensed under the MIT license. + +/** + * A function that searches for credentials in the Visual Studio Code credential store. + * + * @returns an array of credentials (username and password) + * @internal + */ +export type VSCodeCredentialFinder = () => Promise>; diff --git a/sdk/identity/identity/src/extensions/consumer.browser.ts b/sdk/identity/identity/src/extensions/consumer.browser.ts new file mode 100644 index 000000000000..900a924cd408 --- /dev/null +++ b/sdk/identity/identity/src/extensions/consumer.browser.ts @@ -0,0 +1,8 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +// This module is a shim for the extension consumer in the browser + +export function useIdentityExtension(_extension: unknown): void { + throw new Error("Identity extensions are not supported in browser environments."); +} diff --git a/sdk/identity/identity/src/extensions/consumer.ts b/sdk/identity/identity/src/extensions/consumer.ts new file mode 100644 index 000000000000..9b3495a8bba2 --- /dev/null +++ b/sdk/identity/identity/src/extensions/consumer.ts @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { AzureExtensionContext, IdentityExtension } from "./provider"; +import { msalNodeFlowCacheControl } from "../msal/nodeFlows/nodeCommon"; +import { vsCodeCredentialControl } from "../credentials/visualStudioCodeCredential"; + +/** + * The context passed to an Identity Extension. This contains objects that + * extensions can use to set backend implementations. + * @internal + */ +const extensionContext: AzureExtensionContext = { + cachePluginControl: msalNodeFlowCacheControl, + vsCodeCredentialControl: vsCodeCredentialControl +}; + +/** + * Extend Azure Identity with additional functionality. Pass an extension from + * an extension package, such as: + * + * - `@azure/identity-cache-persistence`: provides persistent token caching + * - `@azure/identity-vscode`: provides the dependencies of + * `VisualStudioCodeCredential` and enables it + * + * Example: + * + * ```javascript + * import { cachePersistenceExtension } from "@azure/identity-cache-persistence"; + * + * import { useIdentityExtension, DefaultAzureCredential } from "@azure/identity"; + * useIdentityExtension(persistence); + * + * // The extension has the capability to extend `DefaultAzureCredential` and to + * // add middleware to the underlying credentials, such as persistence. + * const credential = new DefaultAzureCredential({ + * tokenCachePersistenceOptions: { + * enabled: true + * } + * }); + * ``` + * + * @param extension - the extension to register + */ +export function useIdentityExtension(extension: IdentityExtension): void { + extension(extensionContext); +} diff --git a/sdk/identity/identity/src/extensions/provider.ts b/sdk/identity/identity/src/extensions/provider.ts new file mode 100644 index 000000000000..ad661a00cdb8 --- /dev/null +++ b/sdk/identity/identity/src/extensions/provider.ts @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { VSCodeCredentialFinder } from "../credentials/visualStudioCodeCredentialExtension"; +import { TokenCachePersistenceOptions } from "../msal/nodeFlows/tokenCachePersistenceOptions"; + +/** + * The type of an Azure Identity Extension, a function accepting an extension + * context. + */ +export type IdentityExtension = (context: unknown) => void; + +/** + * Extension context entries for controlling cache plugins. + */ +export interface CachePluginControl { + setPersistence( + persistenceFactory: ( + options?: TokenCachePersistenceOptions + ) => Promise + ): void; +} + +/** + * Extension context entries for controlling VisualStudioCodeCredential. + */ +export interface VisualStudioCodeCredentialControl { + setVsCodeCredentialFinder(finder: VSCodeCredentialFinder): void; +} + +/** + * Context options passed to an extension during initialization. + * + * Extension authors are responsible for casting their extension context values + * to this type. + * + * @internal + */ +export interface AzureExtensionContext { + cachePluginControl: CachePluginControl; + vsCodeCredentialControl: VisualStudioCodeCredentialControl; +} diff --git a/sdk/identity/identity/src/index.ts b/sdk/identity/identity/src/index.ts index 7e951d958cb3..564e52a96157 100644 --- a/sdk/identity/identity/src/index.ts +++ b/sdk/identity/identity/src/index.ts @@ -1,7 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TokenCredential } from "@azure/core-http"; +export * from "./extensions/consumer"; + +export { IdentityExtension } from "./extensions/provider"; + +import { TokenCredential } from "@azure/core-auth"; import { DefaultAzureCredential } from "./credentials/defaultAzureCredential"; export { AuthenticationRecord } from "./msal/types"; @@ -16,11 +20,15 @@ export { DefaultAzureCredential, DefaultAzureCredentialOptions } from "./credentials/defaultAzureCredential"; -export { EnvironmentCredential } from "./credentials/environmentCredential"; +export { + EnvironmentCredential, + EnvironmentCredentialOptions +} from "./credentials/environmentCredential"; export { ClientSecretCredential } from "./credentials/clientSecretCredential"; export { ClientSecretCredentialOptions } from "./credentials/clientSecretCredentialOptions"; export { ClientCertificateCredential } from "./credentials/clientCertificateCredential"; export { ClientCertificateCredentialOptions } from "./credentials/clientCertificateCredentialOptions"; +export { CredentialPersistenceOptions } from "./credentials/credentialPersistenceOptions"; export { AzureCliCredential } from "./credentials/azureCliCredential"; export { InteractiveBrowserCredential } from "./credentials/interactiveBrowserCredential"; export { @@ -40,6 +48,13 @@ export { UsernamePasswordCredentialOptions } from "./credentials/usernamePasswor export { AuthorizationCodeCredential } from "./credentials/authorizationCodeCredential"; export { AzurePowerShellCredential } from "./credentials/azurePowerShellCredential"; +export { + VisualStudioCodeCredential, + VisualStudioCodeCredentialOptions +} from "./credentials/visualStudioCodeCredential"; + +export { TokenCachePersistenceOptions } from "./msal/nodeFlows/tokenCachePersistenceOptions"; + export { AuthenticationError, ErrorResponse, @@ -50,7 +65,7 @@ export { CredentialUnavailableErrorName } from "./client/errors"; -export { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-http"; +export { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth"; export { logger } from "./util/logging"; export { AzureAuthorityHosts } from "./constants"; diff --git a/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts b/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts index 75783b8bad7d..5e06a9ea4dbd 100644 --- a/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts +++ b/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts @@ -2,7 +2,9 @@ // Licensed under the MIT license. import * as msalBrowser from "@azure/msal-browser"; -import { AccessToken } from "@azure/core-http"; + +import { AccessToken } from "@azure/core-auth"; + import { DefaultTenantId } from "../../constants"; import { resolveTenantId } from "../../util/resolveTenantId"; import { BrowserLoginStyle } from "../../credentials/interactiveBrowserCredentialOptions"; diff --git a/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts b/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts index 0a2ed5e90adc..9c8ee4317b26 100644 --- a/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts +++ b/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts @@ -2,8 +2,10 @@ // Licensed under the MIT license. import * as msalBrowser from "@azure/msal-browser"; + +import { AccessToken } from "@azure/core-auth"; + import { MsalBrowserFlowOptions, MsalBrowser } from "./browserCommon"; -import { AccessToken } from "@azure/core-http"; import { defaultLoggerCallback, msalToPublic, publicToMsal } from "../utils"; import { AuthenticationRecord } from "../types"; import { AuthenticationRequiredError } from "../errors"; diff --git a/sdk/identity/identity/src/msal/credentials.ts b/sdk/identity/identity/src/msal/credentials.ts index 4d0238c83338..6b80f45b96f1 100644 --- a/sdk/identity/identity/src/msal/credentials.ts +++ b/sdk/identity/identity/src/msal/credentials.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken, GetTokenOptions } from "@azure/core-http"; +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; + import { AuthenticationRecord } from "./types"; /** diff --git a/sdk/identity/identity/src/msal/errors.ts b/sdk/identity/identity/src/msal/errors.ts index 1ee4183092d4..71ee673d5fb1 100644 --- a/sdk/identity/identity/src/msal/errors.ts +++ b/sdk/identity/identity/src/msal/errors.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { GetTokenOptions } from "@azure/core-http"; +import { GetTokenOptions } from "@azure/core-auth"; /** * Error used to enforce authentication after trying to retrieve a token silently. diff --git a/sdk/identity/identity/src/msal/flows.ts b/sdk/identity/identity/src/msal/flows.ts index 80d9a69dd38e..f678af41d690 100644 --- a/sdk/identity/identity/src/msal/flows.ts +++ b/sdk/identity/identity/src/msal/flows.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken } from "@azure/core-http"; +import { AccessToken } from "@azure/core-auth"; + import { CredentialLogger } from "../util/logging"; import { AuthenticationRecord } from "./types"; import { CredentialFlowGetTokenOptions } from "./credentials"; @@ -28,10 +29,6 @@ export interface MsalFlow { * Allows for any setup before any request is processed. */ init(options?: CredentialFlowGetTokenOptions): Promise; - /** - * Clears the MSAL cache. - */ - logout(): Promise; /** * Tries to load the active account, either from memory or from MSAL. */ diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalClientCertificate.ts b/sdk/identity/identity/src/msal/nodeFlows/msalClientCertificate.ts index b70aca7356e7..3b5131f5725e 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalClientCertificate.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalClientCertificate.ts @@ -3,7 +3,9 @@ import { readFileSync } from "fs"; import { createHash } from "crypto"; -import { AccessToken } from "@azure/core-http"; + +import { AccessToken } from "@azure/core-auth"; + import { MsalNodeOptions, MsalNode } from "./nodeCommon"; import { formatError } from "../../util/logging"; import { CredentialFlowGetTokenOptions } from "../credentials"; diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalClientSecret.ts b/sdk/identity/identity/src/msal/nodeFlows/msalClientSecret.ts index e40ba09db500..eafbc6e70be8 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalClientSecret.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalClientSecret.ts @@ -1,7 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AccessToken } from "@azure/core-http"; +import { AccessToken } from "@azure/core-auth"; + import { CredentialFlowGetTokenOptions } from "../credentials"; import { MsalNodeOptions, MsalNode } from "./nodeCommon"; diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalDeviceCode.ts b/sdk/identity/identity/src/msal/nodeFlows/msalDeviceCode.ts index f12d90294f85..391726b786fb 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalDeviceCode.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalDeviceCode.ts @@ -2,7 +2,9 @@ // Licensed under the MIT license. import * as msalNode from "@azure/msal-node"; -import { AccessToken } from "@azure/core-http"; + +import { AccessToken } from "@azure/core-auth"; + import { DeviceCodePromptCallback } from "../../credentials/deviceCodeCredentialOptions"; import { CredentialFlowGetTokenOptions } from "../credentials"; import { MsalNodeOptions, MsalNode } from "./nodeCommon"; diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts b/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts index 674bcbec57d9..8b584bbc99a4 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts @@ -2,11 +2,14 @@ // Licensed under the MIT license. import * as msalNode from "@azure/msal-node"; + +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; + import { Socket } from "net"; import http from "http"; import open from "open"; import stoppable from "stoppable"; -import { AccessToken, GetTokenOptions } from "@azure/core-http"; + import { credentialLogger, formatError, formatSuccess } from "../../util/logging"; import { MsalNodeOptions, MsalNode } from "./nodeCommon"; import { msalToPublic } from "../utils"; diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalUsernamePassword.ts b/sdk/identity/identity/src/msal/nodeFlows/msalUsernamePassword.ts index 8095fd0741ae..93f71eed2a7c 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalUsernamePassword.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalUsernamePassword.ts @@ -2,7 +2,9 @@ // Licensed under the MIT license. import * as msalNode from "@azure/msal-node"; -import { AccessToken } from "@azure/core-http"; + +import { AccessToken } from "@azure/core-auth"; + import { MsalNodeOptions, MsalNode } from "./nodeCommon"; import { CredentialFlowGetTokenOptions } from "../credentials"; diff --git a/sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts b/sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts index d0f90b587c3b..63625c5228af 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts @@ -3,8 +3,10 @@ import * as msalNode from "@azure/msal-node"; import * as msalCommon from "@azure/msal-common"; -import { AccessToken, GetTokenOptions } from "@azure/core-http"; + +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; import { AbortSignalLike } from "@azure/abort-controller"; + import { DeveloperSignOnClientId } from "../../constants"; import { IdentityClient, TokenCredentialOptions } from "../../client/identityClient"; import { resolveTenantId } from "../../util/resolveTenantId"; @@ -20,6 +22,7 @@ import { msalToPublic, publicToMsal } from "../utils"; +import { TokenCachePersistenceOptions } from "./tokenCachePersistenceOptions"; import { RegionalAuthority } from "../../regionalAuthority"; /** @@ -27,6 +30,7 @@ import { RegionalAuthority } from "../../regionalAuthority"; * @internal */ export interface MsalNodeOptions extends MsalFlowOptions { + tokenCachePersistenceOptions?: TokenCachePersistenceOptions; tokenCredentialOptions: TokenCredentialOptions; /** * Specifies a regional authority. Please refer to the {@link RegionalAuthority} type for the accepted values. @@ -36,6 +40,24 @@ export interface MsalNodeOptions extends MsalFlowOptions { regionalAuthority?: string; } +/** + * The current persistence provider, undefined by default. + * @internal + */ +let persistenceProvider: + | ((options?: TokenCachePersistenceOptions) => Promise) + | undefined = undefined; + +/** + * An object that allows setting the persistence provider. + * @internal + */ +export const msalNodeFlowCacheControl = { + setPersistence(pluginProvider: Exclude): void { + persistenceProvider = pluginProvider; + } +}; + /** * MSAL partial base client for NodeJS. * @@ -54,10 +76,22 @@ export abstract class MsalNode extends MsalBaseUtilities implements MsalFlow { protected requiresConfidential: boolean = false; protected azureRegion?: string; + protected createCachePlugin: (() => Promise) | undefined; + constructor(options: MsalNodeOptions) { super(options); this.msalConfig = this.defaultNodeMsalConfig(options); this.clientId = this.msalConfig.auth.clientId; + + // If persistence has been configured + if (persistenceProvider !== undefined && options.tokenCachePersistenceOptions?.enabled) { + this.createCachePlugin = () => persistenceProvider!(options.tokenCachePersistenceOptions); + } else if (options.tokenCachePersistenceOptions?.enabled) { + throw new Error( + "Persistent token caching was requested, but no persistence provider was configured (do you need to use the `@azure/identity-cache-persistence` package?)" + ); + } + this.azureRegion = options.regionalAuthority ?? process.env.AZURE_REGIONAL_AUTHORITY_NAME; if (this.azureRegion === RegionalAuthority.AutoDiscoverRegion) { this.azureRegion = "AUTO_DISCOVER"; @@ -110,6 +144,12 @@ export abstract class MsalNode extends MsalBaseUtilities implements MsalFlow { return; } + if (this.createCachePlugin !== undefined) { + this.msalConfig.cache = { + cachePlugin: await this.createCachePlugin() + }; + } + this.publicApp = new msalNode.PublicClientApplication(this.msalConfig); // The confidential client requires either a secret, assertion or certificate. if ( @@ -156,7 +196,7 @@ export abstract class MsalNode extends MsalBaseUtilities implements MsalFlow { if (this.account) { return this.account; } - const cache = this.publicApp?.getTokenCache(); + const cache = this.confidentialApp?.getTokenCache() ?? this.publicApp?.getTokenCache(); const accountsByTenant = await cache?.getAllAccounts(); if (!accountsByTenant) { @@ -178,13 +218,6 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov return this.account; } - /** - * Clears MSAL's cache. - */ - async logout(): Promise { - // Intentionally empty - } - /** * Attempts to retrieve a token from cache. */ @@ -206,7 +239,9 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov try { this.logger.info("Attempting to acquire token silently"); - const response = await this.publicApp!.acquireTokenSilent(silentRequest); + const response = + (await this.confidentialApp?.acquireTokenSilent(silentRequest)) ?? + (await this.publicApp!.acquireTokenSilent(silentRequest)); return this.handleResult(scopes, this.clientId, response || undefined); } catch (err) { throw this.handleError(scopes, err, options); diff --git a/sdk/identity/identity/src/msal/nodeFlows/tokenCachePersistenceOptions.ts b/sdk/identity/identity/src/msal/nodeFlows/tokenCachePersistenceOptions.ts new file mode 100644 index 000000000000..fb5dbe5cf31d --- /dev/null +++ b/sdk/identity/identity/src/msal/nodeFlows/tokenCachePersistenceOptions.ts @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * Parameters that enable token cache persistence in the Identity credentials. + */ +export interface TokenCachePersistenceOptions { + /** + * If set to true, persistent token caching will be enabled for this credential instance. + */ + enabled: boolean; + /** + * Unique identifier for the persistent token cache. + * + * Based on this identifier, the persistence file will be located in any of the following places: + * - Darwin: '/Users/user/.IdentityService/' + * - Windows 8: 'C:\\Users\\user\\AppData\\Local\\.IdentityService\\' + * - Windows XP: 'C:\\Documents and Settings\\user\\Application Data\\Local\\.IdentityService\\' + * - Linux: '/home/user/.IdentityService/' + */ + name?: string; + /** + * If set to true, the cache will be stored without encryption if no OS level user encryption is available. + * When set to false, the PersistentTokenCache will throw an error if no OS level user encryption is available. + */ + allowUnencryptedStorage?: boolean; +} diff --git a/sdk/identity/identity/src/msal/utils.ts b/sdk/identity/identity/src/msal/utils.ts index 5e8db10a1582..ccf0a5170257 100644 --- a/sdk/identity/identity/src/msal/utils.ts +++ b/sdk/identity/identity/src/msal/utils.ts @@ -2,7 +2,11 @@ // Licensed under the MIT license. import * as msalCommon from "@azure/msal-common"; -import { AccessToken, GetTokenOptions, isNode } from "@azure/core-http"; + +import { AccessToken, GetTokenOptions } from "@azure/core-auth"; +import { isNode } from "@azure/core-http"; +import { AbortError } from "@azure/abort-controller"; + import { v4 as uuidv4 } from "uuid"; import { CredentialLogger, formatError, formatSuccess } from "../util/logging"; import { CredentialUnavailableError } from "../client/errors"; @@ -10,7 +14,6 @@ import { DefaultAuthorityHost, DefaultTenantId } from "../constants"; import { AuthenticationRecord, MsalAccountInfo, MsalResult, MsalToken } from "./types"; import { AuthenticationRequiredError } from "./errors"; import { MsalFlowOptions } from "./flows"; -import { AbortError } from "@azure/abort-controller"; /** * Latest AuthenticationRecord version diff --git a/sdk/identity/identity/test/internal/node/clientSecretCredential.spec.ts b/sdk/identity/identity/test/internal/node/clientSecretCredential.spec.ts index 18cccb957b03..5a7b89162aa4 100644 --- a/sdk/identity/identity/test/internal/node/clientSecretCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/clientSecretCredential.spec.ts @@ -43,17 +43,15 @@ describe("ClientSecretCredential (internal)", function() { env.AZURE_CLIENT_SECRET ); - await credential.getToken(scope); + const { token: firstToken } = await credential.getToken(scope); assert.equal(getTokenSilentSpy.callCount, 1); assert.equal(doGetTokenSpy.callCount, 1); - await credential.getToken(scope); + const { token: secondToken } = await credential.getToken(scope); + assert.strictEqual(firstToken, secondToken); assert.equal(getTokenSilentSpy.callCount, 2); - // Even though we're providing the same default in memory persistence cache that we use for DeviceCodeCredential, - // The Client Secret flow does not return the account information from the authentication service, - // so each time getToken gets called, we will have to acquire a new token through the service. - assert.equal(doGetTokenSpy.callCount, 2); + assert.equal(doGetTokenSpy.callCount, 1); }); it("supports specifying the regional authority", async function() { diff --git a/sdk/identity/identity/test/internal/node/environmentCredential.spec.ts b/sdk/identity/identity/test/internal/node/environmentCredential.spec.ts index 80f595f64ea4..eb97542dc2b2 100644 --- a/sdk/identity/identity/test/internal/node/environmentCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/environmentCredential.spec.ts @@ -37,16 +37,14 @@ describe("EnvironmentCredential (internal)", function() { it("Authenticates silently after the initial request", async function() { const credential = new EnvironmentCredential(); - await credential.getToken(scope); + const { token: firstToken } = await credential.getToken(scope); assert.equal(getTokenSilentSpy.callCount, 1); assert.equal(doGetTokenSpy.callCount, 1); - await credential.getToken(scope); + const { token: secondToken } = await credential.getToken(scope); + assert.strictEqual(firstToken, secondToken); assert.equal(getTokenSilentSpy.callCount, 2); - // Even though we're providing the same default in memory persistence cache that we use for DeviceCodeCredential, - // The Client Credential and Client Secret flows do not return the account information from the authentication service, - // so each time getToken gets called, we will have to acquire a new token through the service. - assert.equal(doGetTokenSpy.callCount, 2); + assert.equal(doGetTokenSpy.callCount, 1); }); }); diff --git a/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts b/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts index a3ee69e3199a..4d9fdf5e5cb6 100644 --- a/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts @@ -3,7 +3,10 @@ import qs from "qs"; import assert from "assert"; -import { WebResource, AccessToken, HttpHeaders, RestError } from "@azure/core-http"; + +import { AccessToken } from "@azure/core-auth"; + +import { WebResource, HttpHeaders, RestError } from "@azure/core-http"; import { ManagedIdentityCredential, AuthenticationError } from "../../../src"; import { imdsEndpoint, diff --git a/sdk/identity/identity/test/msalTestUtils.ts b/sdk/identity/identity/test/msalTestUtils.ts index 6e9bd0e0c2a3..04d3a891df51 100644 --- a/sdk/identity/identity/test/msalTestUtils.ts +++ b/sdk/identity/identity/test/msalTestUtils.ts @@ -51,6 +51,8 @@ export function msalNodeTestSetup( recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`), (recording: string): string => recording.replace(/"refresh_token":"[^"]*"/g, `"refresh_token":"refresh_token"`), + (recording: string): string => + recording.replace(/refresh_token=[^&]*/g, `refresh_token=refresh_token`), (recording: string): string => recording.replace( /client-request-id=[a-z0-9-]*/g, @@ -72,7 +74,7 @@ export function msalNodeTestSetup( recording.replace(/device_code":"[^"]*/g, `device_code":"DEVICE_CODE`), (recording: string): string => recording.replace(/device_code=[^&]*/g, `device_code=DEVICE_CODE`), - (recording: string): string => recording.replace(/"interval": *[0-9]*/g, `"interval": 1`), + (recording: string): string => recording.replace(/"interval": *[0-9]*/g, `"interval": 0`), // This last part is a JWT token that comes from the service, that has three parts joined by a dot. // Our fake id_token has the following parts encoded in base64 and joined by a dot: // - {"typ":"JWT","alg":"RS256","kid":"kid"} @@ -82,6 +84,13 @@ export function msalNodeTestSetup( recording.replace( /id_token":"[^"]*/g, `id_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImtpZCJ9.eyJhdWQiOiJhdWQiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyL3YyLjAiLCJpYXQiOjE2MTUzMzcxNjMsIm5iZiI6MTYxNTMzNzE2MywiZXhwIjoxNjE1MzQxMDYzLCJhaW8iOiJhaW8iLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9pZHAvIiwibmFtZSI6IkRhbmllbCBSb2Ryw61ndWV6Iiwib2lkIjoib2lkIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiZGFucm9kcmlAbWljcm9zb2Z0LmNvbSIsInJoIjoicmguIiwic3ViIjoic3ViIiwidGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIiwidXRpIjoidXRpIiwidmVyIjoiMi4wIn0=.bm9faWRlYV93aGF0c190aGlz` + ), + // client_info is base64-encoded JSON that contains information about the user and tenant IDs + // The following replaces it with some dummy JSON that uses a UID/UTID of 12345678-1234-1234-1234-123456789012 + (recording) => + recording.replace( + /client_info":"[^"]*/g, + 'client_info":"eyJ1aWQiOiIxMjM0NTY3OC0xMjM0LTEyMzQtMTIzNC0xMjM0NTY3ODkwMTIiLCJ1dGlkIjoiMTIzNDU2NzgtMTIzNC0xMjM0LTEyMzQtMTIzNDU2Nzg5MDEyIn0K' ) ], queryParametersToSkip: [], diff --git a/sdk/identity/identity/test/public/node/extensions.spec.ts b/sdk/identity/identity/test/public/node/extensions.spec.ts new file mode 100644 index 000000000000..493a2eca1bb5 --- /dev/null +++ b/sdk/identity/identity/test/public/node/extensions.spec.ts @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import assert, { AssertionError } from "assert"; +import { DefaultAzureCredential } from "../../../src"; +import { VisualStudioCodeCredential } from "../../../src"; + +/** + * A helper to assert that a Promise rejects. + */ +async function assertRejects(p: Promise, regexp: RegExp): Promise { + try { + await p; + } catch (e) { + if (!regexp.test(e.message)) { + throw new AssertionError({ + message: `The input did not match the regular expression ${regexp}. Input:\n\n'${e.message}'` + }); + } + return; + } + throw new AssertionError({ + message: "Expected the function body to throw." + }); +} + +describe("Extension API", function(this: Mocha.Suite) { + it("Setting persistence options throws if not initialized", function() { + assert.throws(() => { + new DefaultAzureCredential({ + tokenCachePersistenceOptions: { + enabled: true + } + }); + }, /no persistence provider.*@azure\/identity-cache-persistence/); + }); + + it("Calling getToken on VisualStudioCodeCredential throws if not initialized", async function() { + await assertRejects( + new VisualStudioCodeCredential().getToken("https://graph.microsoft.com/.default"), + /No implementation of VisualStudioCodeCredential.*@azure\/identity-vscode/ + ); + }); +}); diff --git a/sdk/identity/perf-tests/identity/package.json b/sdk/identity/perf-tests/identity/package.json index 543a21ce6093..386004f64238 100644 --- a/sdk/identity/perf-tests/identity/package.json +++ b/sdk/identity/perf-tests/identity/package.json @@ -7,7 +7,8 @@ "author": "", "license": "ISC", "dependencies": { - "@azure/identity": "2.0.0-beta.4", + "@azure/identity": "^2.0.0-beta.4", + "@azure/identity-cache-persistence": "~1.0.0-beta.1", "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0" }, diff --git a/sdk/identity/perf-tests/identity/test/ClientSecretCredential/persistence.spec.ts b/sdk/identity/perf-tests/identity/test/ClientSecretCredential/persistence.spec.ts index dc9e2551258e..14f0112f9a6f 100644 --- a/sdk/identity/perf-tests/identity/test/ClientSecretCredential/persistence.spec.ts +++ b/sdk/identity/perf-tests/identity/test/ClientSecretCredential/persistence.spec.ts @@ -1,15 +1,13 @@ import { PerfStressTest, getEnvVar } from "@azure/test-utils-perfstress"; -import { ClientSecretCredential } from "@azure/identity"; +import { useIdentityExtension, ClientSecretCredential } from "@azure/identity"; + +import { cachePersistenceExtension } from "@azure/identity-cache-persistence"; +useIdentityExtension(cachePersistenceExtension); const scope = `https://servicebus.azure.net/.default`; /** * This test does silent authentication with persistence enabled. - * - * TODO: This test was made unusable by removing the persistence - * feature from the mainline identity package. When we add an - * extension package to reintroduce that behavior, this test - * will be refactored to support that. */ export class ClientSecretCredentialPersistenceTest extends PerfStressTest { options = {}; @@ -23,10 +21,11 @@ export class ClientSecretCredentialPersistenceTest extends PerfStressTest { // We want this credential to be initialized only if this test is executed. // Other tests should not be required to set up this credential. const credential = new ClientSecretCredential(tenantId, clientId, clientSecret, { - /* tokenCachePersistenceOptions: { + tokenCachePersistenceOptions: { + enabled: true, name: "nodeTestSilent", allowUnencryptedStorage: true - }*/ + } }); // This getToken call will cache the token. @@ -36,6 +35,6 @@ export class ClientSecretCredentialPersistenceTest extends PerfStressTest { } async runAsync(): Promise { - // await ClientSecretCredentialPersistenceTest.credential.getToken(scope); + await ClientSecretCredentialPersistenceTest.credential.getToken(scope); } } From 919e856e83447b412e77175230c6ab2c247eb3cb Mon Sep 17 00:00:00 2001 From: Hector Hernandez <39923391+hectorhdzg@users.noreply.github.com> Date: Mon, 21 Jun 2021 09:57:40 -0700 Subject: [PATCH 009/134] [AzureMonitorExporter] Adding support for temporary redirect (#15850) * Adding support for temporary redirect * Lint --- .../package.json | 1 + .../src/export/trace.ts | 35 ++++---- .../test/unit/export/trace.test.ts | 83 ++++++++++++++++--- 3 files changed, 94 insertions(+), 25 deletions(-) diff --git a/sdk/monitor/monitor-opentelemetry-exporter/package.json b/sdk/monitor/monitor-opentelemetry-exporter/package.json index 283952e4a438..401274c6075b 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/package.json @@ -24,6 +24,7 @@ "test:browser": "npm run unit-test:browser", "unit-test:browser": "echo skipped", "unit-test:node": "nyc mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/unit/**/*.test.ts\"", + "unit-test:node:debug": "nyc mocha --inspect-brk -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/unit/**/*.test.ts\"", "unit-test:node:no-timeout": "echo skipped", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "functional-test": "nyc mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/functional/**/*.test.ts\"", diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/export/trace.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/export/trace.ts index 027d745da46b..e7fbd1d564e9 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/export/trace.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/export/trace.ts @@ -80,6 +80,7 @@ export class AzureMonitorTraceExporter implements SpanExporter { try { const { result, statusCode } = await this._sender.send(envelopes); + this._numConsecutiveRedirects = 0; if (statusCode === 200) { // Success -- @todo: start retry timer if (!this._retryTimer) { @@ -121,12 +122,26 @@ export class AzureMonitorTraceExporter implements SpanExporter { } } catch (error) { const restError = error as RestError; - if (restError.statusCode && restError.statusCode === 308) { + if ( + restError.statusCode && + (restError.statusCode === 307 || // Temporary redirect + restError.statusCode === 308) + ) { // Permanent redirect - if (restError.response && restError.response.headers) { - let location = restError.response.headers.get("location"); - this._handleRedirect(location); - return await this._persist(envelopes); + this._numConsecutiveRedirects++; + // To prevent circular redirects + if (this._numConsecutiveRedirects < 10) { + if (restError.response && restError.response.headers) { + let location = restError.response.headers.get("location"); + if (location) { + // Update sender URL + this._sender.handlePermanentRedirect(location); + // Send to redirect endpoint as HTTPs library doesn't handle redirect automatically + return this.exportEnvelopes(envelopes); + } + } + } else { + return { code: ExportResultCode.FAILED, error: new Error("Circular redirect") }; } } else if (restError.statusCode && isRetriable(restError.statusCode)) { return await this._persist(envelopes); @@ -188,14 +203,4 @@ export class AzureMonitorTraceExporter implements SpanExporter { } return false; } - - private _handleRedirect(location: string | undefined) { - if (location) { - this._numConsecutiveRedirects++; - // To prevent circular redirects - if (this._numConsecutiveRedirects < 10) { - this._sender.handlePermanentRedirect(location); - } - } - } } diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts index 2e5938a037f8..ee9293616d2f 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts @@ -10,7 +10,7 @@ import { partialBreezeResponse, successfulBreezeResponse } from "../breezeTestUtils"; -import { FileSystemPersist } from "../../../src/platform"; +import { FileSystemPersist, HttpSender } from "../../../src/platform"; import { TelemetryItem as Envelope } from "../../../src/generated"; import nock from "nock"; @@ -150,9 +150,8 @@ describe("#AzureMonitorBaseExporter", () => { assert.strictEqual(exporter["_retryTimer"], "foo"); }); - it("should handle redirects in Azure Monitor", async () => { + it("should handle permanent redirects in Azure Monitor", async () => { const exporter = new TestExporter(); - let redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; let redirectLocation = redirectHost + "/v2/track"; // Redirect endpoint @@ -163,17 +162,81 @@ describe("#AzureMonitorBaseExporter", () => { scope.reply(308, {}, { location: redirectLocation }); let result = await exporter.exportEnvelopesPrivate([envelope]); - // Redirect triggered so telemetry must be persisted + let persistedEnvelopes = (await exporter["_persister"].shift()) as Envelope[]; + assert.strictEqual(persistedEnvelopes, null); assert.strictEqual(result.code, ExportResultCode.SUCCESS); + assert.strictEqual( + (exporter["_sender"])["_appInsightsClient"]["host"], + redirectHost + ); + }); + + it("should handle temporary redirects in Azure Monitor", async () => { + const exporter = new TestExporter(); + let redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; + let redirectLocation = redirectHost + "/v2/track"; + // Redirect endpoint + const redirectScope = nock(redirectHost).post("/v2/track", () => { + return true; + }); + redirectScope.reply(200, JSON.stringify(successfulBreezeResponse(1))); + scope.reply(307, {}, { location: redirectLocation }); + + let result = await exporter.exportEnvelopesPrivate([envelope]); let persistedEnvelopes = (await exporter["_persister"].shift()) as Envelope[]; - assert.strictEqual(persistedEnvelopes?.length, 1); - assert.deepStrictEqual(persistedEnvelopes[0], toObject(envelope)); - assert.strictEqual(exporter["_numConsecutiveRedirects"], 1); - // After redirect return 200 + assert.strictEqual(persistedEnvelopes, null); + assert.strictEqual(result.code, ExportResultCode.SUCCESS); + assert.strictEqual( + (exporter["_sender"])["_appInsightsClient"]["host"], + redirectHost + ); + }); + + it("should use redirect URL for following requests", async () => { + const exporter = new TestExporter(); + let redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; + let redirectLocation = redirectHost + "/v2/track"; + // Redirect endpoint + const redirectScope = nock(redirectHost).post("/v2/track", () => { + return true; + }); + redirectScope.twice().reply(200, JSON.stringify(successfulBreezeResponse(1))); + scope.reply(307, {}, { location: redirectLocation }); + let result = await exporter.exportEnvelopesPrivate([envelope]); + assert.strictEqual(result.code, ExportResultCode.SUCCESS); + assert.strictEqual( + (exporter["_sender"])["_appInsightsClient"]["host"], + redirectHost + ); result = await exporter.exportEnvelopesPrivate([envelope]); assert.strictEqual(result.code, ExportResultCode.SUCCESS); - persistedEnvelopes = (await exporter["_persister"].shift()) as Envelope[]; - assert.strictEqual(persistedEnvelopes, null); + assert.strictEqual( + (exporter["_sender"])["_appInsightsClient"]["host"], + redirectHost + ); + }); + + it("should stop redirecting when circular redirect is triggered", async () => { + const exporter = new TestExporter(); + let redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; + let redirectLocation = redirectHost + "/v2/track"; + // Redirect endpoint + const redirectScope = nock(redirectHost).post("/v2/track", () => { + return true; + }); + // Circle redirect + scope + .reply(307, JSON.stringify(successfulBreezeResponse(1)), { location: redirectLocation }) + .persist(); + redirectScope + .reply(307, JSON.stringify(successfulBreezeResponse(1)), { + location: DEFAULT_BREEZE_ENDPOINT + }) + .persist(); + + let result = await exporter.exportEnvelopesPrivate([envelope]); + assert.strictEqual(result.code, ExportResultCode.FAILED); + assert.strictEqual(result.error?.message, "Circular redirect"); }); }); }); From f9efdf426156b587f0cc5393ddcec8c9b8a863f2 Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Mon, 21 Jun 2021 13:41:25 -0400 Subject: [PATCH 010/134] Package artifact path (#15512) * Changes to create artifact in package directory --- .../templates/stages/archetype-js-release.yml | 43 ++++--------------- eng/pipelines/templates/steps/build.yml | 35 +++++++-------- .../templates/steps/generate-doc.yml | 2 +- .../templates/steps/stage-artifacts.yml | 10 ----- eng/tools/generate-doc/index.js | 25 ++++++----- 5 files changed, 41 insertions(+), 74 deletions(-) delete mode 100644 eng/pipelines/templates/steps/stage-artifacts.yml diff --git a/eng/pipelines/templates/stages/archetype-js-release.yml b/eng/pipelines/templates/stages/archetype-js-release.yml index 68f2a1d47c1c..dbf7947053b2 100644 --- a/eng/pipelines/templates/stages/archetype-js-release.yml +++ b/eng/pipelines/templates/stages/archetype-js-release.yml @@ -5,7 +5,6 @@ parameters: DependsOn: Build Registry: 'https://registry.npmjs.org/' PrivateRegistry: 'https://pkgs.dev.azure.com/azure-sdk/internal/_packaging/azure-sdk-for-js-pr/npm/registry/' - DocArtifact: 'documentation' TargetDocRepoOwner: '' TargetDocRepoName: '' ServiceDirectory: '' @@ -43,18 +42,13 @@ stages: PackageName: ${{artifact.name}} ServiceName: ${{parameters.ServiceDirectory}} ForRelease: true - - template: /eng/pipelines/templates/steps/stage-artifacts.yml - parameters: - SourceFolder: ${{parameters.ArtifactName}} - TargetFolder: ${{artifact.safeName}} - PackageName: ${{artifact.name}}-[0-9]*.[0-9]*.[0-9]*.tgz - pwsh: | - Get-ChildItem -Recurse $(Pipeline.Workspace)/${{artifact.safeName}} + Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} workingDirectory: $(Pipeline.Workspace) displayName: Output Visible Artifacts - template: /eng/common/pipelines/templates/steps/create-tags-and-git-release.yml parameters: - ArtifactLocation: $(Pipeline.Workspace)/${{artifact.safeName}} + ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}} PackageRepository: Npm ReleaseSha: $(Build.SourceVersion) RepoId: Azure/azure-sdk-for-js @@ -77,7 +71,7 @@ stages: steps: - checkout: self - script: | - export DETECTED_PACKAGE_NAME=`ls $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}-[0-9]*[0-9]*.[0-9]*.tgz` + export DETECTED_PACKAGE_NAME=`ls $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz` echo "##vso[task.setvariable variable=Package.Archive]$DETECTED_PACKAGE_NAME" displayName: Detecting package archive @@ -124,13 +118,8 @@ stages: deploy: steps: - checkout: self - - template: /eng/pipelines/templates/steps/stage-artifacts.yml - parameters: - SourceFolder: ${{parameters.ArtifactName}} - TargetFolder: ${{artifact.safeName}} - PackageName: ${{artifact.name}}-[0-9]*.[0-9]*.[0-9]*.tgz - pwsh: | - Get-ChildItem -Recurse $(Pipeline.Workspace)/${{artifact.safeName}} + Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} workingDirectory: $(Pipeline.Workspace) displayName: Output Visible Artifacts - template: /eng/common/pipelines/templates/steps/get-pr-owners.yml @@ -139,7 +128,7 @@ stages: ServiceDirectory: ${{parameters.ServiceDirectory}} - template: /eng/common/pipelines/templates/steps/docs-metadata-release.yml parameters: - ArtifactLocation: $(Pipeline.Workspace)/${{artifact.safeName}} + ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}} PackageRepository: NPM ReleaseSha: $(Build.SourceVersion) RepoId: Azure/azure-sdk-for-js @@ -171,30 +160,16 @@ stages: steps: - checkout: self - pwsh: | - $adjustedName = "${{artifact.name}}" -replace "^azure-", "" - Write-Host "##vso[task.setvariable variable=Documentation.Zip]$adjustedName" - displayName: Set Documentation File Name - - template: /eng/pipelines/templates/steps/stage-artifacts.yml - parameters: - SourceFolder: ${{parameters.ArtifactName}} - TargetFolder: ${{artifact.safeName}} - PackageName: ${{artifact.name}}-[0-9]*.[0-9]*.[0-9]*.tgz - - template: /eng/pipelines/templates/steps/stage-artifacts.yml - parameters: - SourceFolder: ${{parameters.DocArtifact}} - TargetFolder: ${{artifact.safeName}}/${{parameters.DocArtifact}} - PackageName: $(Documentation.Zip).zip - - pwsh: | - Get-ChildItem -Recurse $(Pipeline.Workspace)/${{artifact.safeName}} + Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} workingDirectory: $(Pipeline.Workspace) displayName: Output Visible Artifacts - template: /eng/common/pipelines/templates/steps/publish-blobs.yml parameters: - FolderForUpload: '$(Pipeline.Workspace)/${{artifact.safeName}}' + FolderForUpload: '$(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}' BlobSASKey: '$(azure-sdk-docs-prod-sas)' BlobName: '$(azure-sdk-docs-prod-blob-name)' TargetLanguage: 'javascript' - ArtifactLocation: '$(Pipeline.Workspace)/${{artifact.safeName}}' + ArtifactLocation: '$(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}' # we override the regular script path because we have cloned the build tools repo as a separate artifact. ScriptPath: 'eng/common/scripts/copy-docs-to-blobstorage.ps1' @@ -260,7 +235,7 @@ stages: - ${{ each artifact in parameters.Artifacts }}: - ${{if ne(artifact.skipPublishDevFeed, 'true')}}: - pwsh: | - $detectedPackageName=Get-ChildItem $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}-[0-9]*.[0-9]*.[0-9]*-alpha*.tgz + $detectedPackageName=Get-ChildItem $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz echo "##vso[task.setvariable variable=Package.Archive]$detectedPackageName" if ('$(Build.Repository.Name)' -eq 'Azure/azure-sdk-for-js') { $npmToken="$(azure-sdk-npm-token)" diff --git a/eng/pipelines/templates/steps/build.yml b/eng/pipelines/templates/steps/build.yml index bf93bb86a022..2ff746ebc439 100644 --- a/eng/pipelines/templates/steps/build.yml +++ b/eng/pipelines/templates/steps/build.yml @@ -60,28 +60,25 @@ steps: Artifacts: ${{ parameters.Artifacts }} ArtifactPath: $(Build.SourcesDirectory)/sdk/${{ parameters.ServiceDirectory }} - # It's important for performance to pass "sdk" as "sourceFolder" rather than as a prefix in "contents". - # The task first enumerates all files under "sourceFolder", then matches them against the "contents" pattern. - - task: CopyFiles@2 - inputs: - sourceFolder: sdk - contents: | - **/$(coalesceResultFilter)/*.tgz - **/$(coalesceResultFilter)/browser/*.zip - targetFolder: $(Build.ArtifactStagingDirectory) - flattenFolders: true - displayName: "Copy packages" - - - template: /eng/common/pipelines/templates/steps/publish-artifact.yml - parameters: - ArtifactPath: '$(Build.ArtifactStagingDirectory)' - ArtifactName: 'packages' - - template: ../steps/generate-doc.yml parameters: ServiceDirectory: ${{parameters.ServiceDirectory}} + - pwsh: | + $artifacts = '${{ convertToJson(parameters.Artifacts) }}' | ConvertFrom-Json + foreach ($artifact in $artifacts) + { + $artifactName = $artifact.name + Write-Host "Copying $artifactName artifacts to $(Build.ArtifactStagingDirectory)/$artifactName" + New-Item -Type Directory -Name $artifactName -Path $(Build.ArtifactStagingDirectory) > $null + Copy-Item sdk/${{parameters.ServiceDirectory}}/**/$artifactName-*.tgz $(Build.ArtifactStagingDirectory)/$artifactName + Copy-Item sdk/${{parameters.ServiceDirectory}}/**/browser/$artifactName-*.zip $(Build.ArtifactStagingDirectory)/$artifactName + New-Item -Type Directory -Name documentation -Path $(Build.ArtifactStagingDirectory)/$artifactName > $null + Copy-Item $(Build.SourcesDirectory)/docGen/$artifactName.zip $(Build.ArtifactStagingDirectory)/$artifactName/documentation + } + displayName: 'Copy Packages' + - template: /eng/common/pipelines/templates/steps/publish-artifact.yml parameters: - ArtifactPath: '$(Build.ArtifactStagingDirectory)/Documentation' - ArtifactName: 'documentation' + ArtifactPath: '$(Build.ArtifactStagingDirectory)' + ArtifactName: 'packages' diff --git a/eng/pipelines/templates/steps/generate-doc.yml b/eng/pipelines/templates/steps/generate-doc.yml index ce402446d67e..01a5d3351311 100644 --- a/eng/pipelines/templates/steps/generate-doc.yml +++ b/eng/pipelines/templates/steps/generate-doc.yml @@ -16,5 +16,5 @@ steps: displayName: "Run Typedoc Docs" - pwsh: | - $(Build.SourcesDirectory)/eng/tools/compress-subfolders.ps1 "$(Build.SourcesDirectory)/docGen" "$(Build.ArtifactStagingDirectory)/Documentation" + $(Build.SourcesDirectory)/eng/tools/compress-subfolders.ps1 "$(Build.SourcesDirectory)/docGen" "$(Build.SourcesDirectory)/docGen" displayName: "Generate Typedoc Docs" diff --git a/eng/pipelines/templates/steps/stage-artifacts.yml b/eng/pipelines/templates/steps/stage-artifacts.yml deleted file mode 100644 index 16202994b855..000000000000 --- a/eng/pipelines/templates/steps/stage-artifacts.yml +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - SourceFolder: '' # normally ${{parameters.ArtifactName}} - TargetFolder: '' # normally ${{artifact.safeName}} - PackageName: '' # normally ${{artifact.name}} - -steps: - - pwsh: | - New-Item -Type Directory -Name ${{parameters.TargetFolder}} -Path $(Pipeline.Workspace) - Copy-Item $(Pipeline.Workspace)/${{parameters.SourceFolder}}/${{parameters.PackageName}} $(Pipeline.Workspace)/${{parameters.TargetFolder}} - displayName: Stage artifacts diff --git a/eng/tools/generate-doc/index.js b/eng/tools/generate-doc/index.js index d8c93c3c7dc8..82a55b32f41c 100644 --- a/eng/tools/generate-doc/index.js +++ b/eng/tools/generate-doc/index.js @@ -31,6 +31,7 @@ const getChecks = async (dir, checks) => { checks.isClient = true; } checks.version = settings["version"]; + checks.packageName = settings["name"]; } if (fileName == "typedoc.json") { checks.typedocPresent = true; @@ -99,6 +100,7 @@ const executeTypedoc = async (exclusionList, inclusionList, generateIndexWithTem typedocPresent: false, isClient: false, version: "0", + packageName: "" }; eachPackagePath = path.join(eachServicePath, eachPackage); pathToAssets = eachPackagePath + "/assets"; @@ -108,23 +110,26 @@ const executeTypedoc = async (exclusionList, inclusionList, generateIndexWithTem console.log( "checks after walk: checks.isPrivate = " + - checks.isPrivate + - ", checks.srcPresent = " + - checks.srcPresent + - ", typedocPresent = " + - checks.typedocPresent + - ", isClient = " + - checks.isClient + - ", version = " + - checks.version + checks.isPrivate + + ", checks.srcPresent = " + + checks.srcPresent + + ", typedocPresent = " + + checks.typedocPresent + + ", isClient = " + + checks.isClient + + ", version = " + + checks.version + + ", packageName = " + + checks.packageName ); console.log("Path: " + eachPackagePath); if (!checks.isPrivate) { if ((argv.clientOnly && checks.isClient) || !argv.clientOnly) { if (checks.srcPresent) { + var artifactName = checks.packageName.replace("@", "").replace("/", "-"); if (argv.docGenOutput === "dg") { docOutputFolder = - "--out ../../../docGen/" + eachPackage + "/" + checks.version + " ./src"; + "--out ../../../docGen/" + artifactName + "/" + checks.version + " ./src"; } let typedocProcess; From d4d2c75dbddecbef145e2a24d8b87afc3884e1b6 Mon Sep 17 00:00:00 2001 From: Richard Park <51494936+richardpark-msft@users.noreply.github.com> Date: Mon, 21 Jun 2021 10:58:33 -0700 Subject: [PATCH 011/134] [service-bus] Closing some open areas where we could mask errors, and fixing flaky tests to be more reliable. (#15761) Making changes to simplify a flaky test (and hopefully make it more reliable). The main issue with the 'handle interrupted detach' method was that it relied on too many moving parts to work reliably. We could just eternally loop like we'd expect customers to do, but in the end we have a very simple test we're trying to perform - we want to receive, and while we're in the process of draining, cause a detach and have it early exit and reject/resolve immediately rather than waiting for the timeout. I reworked the test to make that simpler by just removing the unneeded connection.idle() and just calling directly into the onDetached method. Because it happens prior to rhea even seeing that we're draining we should reliably win that race each time. There were a couple of other things changed for this PR as well: - The max time per test was lowered accidentally. Bringing it back what's been used as the standard time in other libraries - Fixed a spot in receiveMessages() where, if the link had been closed, we'd falsly return an empty array instead of throwing an exception indicating the link closed. This didn't appear to be related to the bug but it's incorrect and can hide bugs so I'd rather just throw the error than eat the condition and return an empty array. It's rare, but when it does happen the empty array response isn't right either - we're probably in the middle of a connection reset/change event. Fixes #13461 --- sdk/servicebus/service-bus/package.json | 4 +- .../service-bus/src/core/batchingReceiver.ts | 2 +- .../internal/backupMessageSettlement.spec.ts | 35 ++- .../test/internal/batchReceiver.spec.ts | 213 ++++++++++++------ .../test/internal/serviceBusClient.spec.ts | 7 +- .../service-bus/test/internal/tracing.spec.ts | 4 +- .../test/internal/unit/receiver.spec.ts | 9 +- .../service-bus/test/internal/utils/misc.ts | 11 + 8 files changed, 205 insertions(+), 80 deletions(-) diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index 5a1bf56fba09..e4934376d22e 100644 --- a/sdk/servicebus/service-bus/package.json +++ b/sdk/servicebus/service-bus/package.json @@ -60,7 +60,7 @@ "extract-api": "tsc -p . && api-extractor run --local", "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"samples/**/*.{ts,js}\" \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "integration-test:browser": "karma start --single-run", - "integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 120000 --full-trace \"dist-esm/test/internal/**/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\"", + "integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"dist-esm/test/internal/**/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", "lint": "eslint package.json api-extractor.json src test --ext .ts -f html -o service-bus-lintReport.html || exit 0", @@ -71,7 +71,7 @@ "test:node": "npm run clean && npm run build:test:node && npm run integration-test:node", "test": "npm run test:node && npm run test:browser", "unit-test:browser": "echo skipped", - "unit-test:node": "mocha -r esm -r ts-node/register --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 120000 --full-trace \"test/internal/unit/*.spec.ts\" \"test/internal/node/*.spec.ts\"", + "unit-test:node": "mocha -r esm -r ts-node/register --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/internal/unit/*.spec.ts\" \"test/internal/node/*.spec.ts\"", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" }, diff --git a/sdk/servicebus/service-bus/src/core/batchingReceiver.ts b/sdk/servicebus/service-bus/src/core/batchingReceiver.ts index 0e9ade3842ec..b298f4b4cbc2 100644 --- a/sdk/servicebus/service-bus/src/core/batchingReceiver.ts +++ b/sdk/servicebus/service-bus/src/core/batchingReceiver.ts @@ -281,7 +281,7 @@ export class BatchingReceiverLite { if (receiver == null) { // (was somehow closed in between the init() and the return) - return []; + throw new ServiceBusError("Link closed before receiving messages.", "GeneralError"); } const messages = await new Promise((resolve, reject) => diff --git a/sdk/servicebus/service-bus/test/internal/backupMessageSettlement.spec.ts b/sdk/servicebus/service-bus/test/internal/backupMessageSettlement.spec.ts index 811d2853f12a..a9e958cd6e10 100644 --- a/sdk/servicebus/service-bus/test/internal/backupMessageSettlement.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/backupMessageSettlement.spec.ts @@ -19,6 +19,7 @@ import { ServiceBusMessageImpl, ServiceBusReceivedMessage } from "../../src/serviceBusMessage"; +import { disableCommonLoggers, enableCommonLoggers, testLogger } from "./utils/misc"; const should = chai.should(); chai.use(chaiAsPromised); @@ -256,10 +257,17 @@ describe("Message settlement After Receiver is Closed - Through ManagementLink", const testMessages = entityNames.usesSessions ? TestMessage.getSessionSample() : TestMessage.getSample(); + + testLogger.info(`sending (and receiving) initial message`); + const msg = await sendReceiveMsg(testMessages); + testLogger.info(`Done sending initial messages`); + const msgDeliveryLink = (msg as ServiceBusMessageImpl).delivery.link.name; + testLogger.info(`About to close the underlying link.`); + if (entityNames.usesSessions) { await (receiver as ServiceBusReceiverImpl)["_context"].messageSessions[ msgDeliveryLink @@ -270,10 +278,18 @@ describe("Message settlement After Receiver is Closed - Through ManagementLink", ].close(); } + testLogger.info( + `Underlying link should be closed: ${receiver.isClosed}. This will force us to use the management link to settle. Will now attempt to dead letter.` + ); + let errorWasThrown = false; try { await receiver.deadLetterMessage(msg); + + testLogger.info(`Message has been dead lettered`); } catch (err) { + testLogger.error(`Exception thrown`, err); + should.equal( err.message, `Failed to ${DispositionType.deadletter} the message as the AMQP link with which the message was received is no longer alive.`, @@ -288,6 +304,9 @@ describe("Message settlement After Receiver is Closed - Through ManagementLink", should.equal(errorWasThrown, false, "Error was thrown for sessions without session-id"); } + testLogger.info( + `Creating a peek lock dead letter receiver and attempting to receive the dead lettered message` + ); receiver = await serviceBusClient.test.createPeekLockReceiver(entityNames); if (!entityNames.usesSessions) { @@ -310,22 +329,30 @@ describe("Message settlement After Receiver is Closed - Through ManagementLink", "MessageId is different than expected" ); + testLogger.info(`Attempting to complete the message: ${deadLetterMsgsBatch[0].messageId}`); await receiver.completeMessage(deadLetterMsgsBatch[0]); - await testPeekMsgsLength(deadLetterReceiver, 0); } else { const messageBatch = await receiver.receiveMessages(1); - await receiver.completeMessage(messageBatch[0]); + testLogger.info(`Attempting to complete the message: ${messageBatch[0].messageId}`); + await receiver.completeMessage(messageBatch[0]); await testPeekMsgsLength(receiver, 0); } + + testLogger.info(`Done testing dead letter`); } it( noSessionTestClientType + ": deadLetter() moves message to deadletter queue", async function(): Promise { - await beforeEachTest(noSessionTestClientType); - await testDeadletter(); + enableCommonLoggers(); + try { + await beforeEachTest(noSessionTestClientType); + await testDeadletter(); + } finally { + disableCommonLoggers(); + } } ); diff --git a/sdk/servicebus/service-bus/test/internal/batchReceiver.spec.ts b/sdk/servicebus/service-bus/test/internal/batchReceiver.spec.ts index 60c72f14c7d5..a5ee9c1fa6bc 100644 --- a/sdk/servicebus/service-bus/test/internal/batchReceiver.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/batchReceiver.spec.ts @@ -18,14 +18,15 @@ import { getRandomTestClientTypeWithSessions } from "../public/utils/testutils2"; import { AbortController } from "@azure/abort-controller"; -import { Receiver, ReceiverEvents } from "rhea-promise"; +import { Receiver } from "rhea-promise"; import { ServiceBusSessionReceiver, ServiceBusSessionReceiverImpl } from "../../src/receivers/sessionReceiver"; -import { ConnectionContext } from "../../src/connectionContext"; import { LinkEntity } from "../../src/core/linkEntity"; -import { StandardAbortMessage } from "@azure/core-amqp"; +import { Constants, StandardAbortMessage } from "@azure/core-amqp"; +import { BatchingReceiver } from "../../src/core/batchingReceiver"; +import { disableCommonLoggers, enableCommonLoggers, testLogger } from "./utils/misc"; const should = chai.should(); chai.use(chaiAsPromised); @@ -807,37 +808,15 @@ describe("Batching Receiver", () => { }); describe("Batch Receiver - disconnects", () => { - function simulateDisconnectDuringDrain( - receiverContext: ConnectionContext, - batchingReceiver: LinkEntity | undefined, - didRequestDrainResolver: Function - ) { - if (!batchingReceiver || !batchingReceiver.isOpen()) { - throw new Error(`batchingReceiver is not open or passed undefined.`); - } - // We want to simulate a disconnect once the batching receiver is draining. - // We can detect when the receiver enters a draining state when `addCredit` is - // called while didRequestDrainResolver is called to resolve the promise. - const addCredit = batchingReceiver["link"]!.addCredit; - batchingReceiver["link"]!.addCredit = function(credits) { - // This makes sure the receiveMessages doesn't end because of draining before the disconnect is triggered - // Meaning.. the "resolving the messages" can only happen through the onDetached triggered by disconnect - batchingReceiver["link"]!.removeAllListeners(ReceiverEvents.receiverDrained); - addCredit.call(this, credits); - if (batchingReceiver["link"]!.drain) { - didRequestDrainResolver(); - // Simulate a disconnect being called with a non-retryable error. - receiverContext.connection["_connection"].idle(); - } - }; - } - - describe(noSessionTestClientType + ": Batch Receiver - disconnects", function(): void { + describe("Batch Receiver - disconnects (non-session)", function(): void { before(() => { + enableCommonLoggers(); + console.log(`Entity type: ${noSessionTestClientType}`); serviceBusClient = createServiceBusClientForTests(); }); after(() => { + disableCommonLoggers(); return serviceBusClient.test.after(); }); @@ -890,37 +869,81 @@ describe("Batching Receiver", () => { void > { // Create the sender and receiver. + + testLogger.info("Before the test"); + await beforeEachTest(noSessionTestClientType, "receiveAndDelete"); // The first time `receiveMessages` is called the receiver link is created. // The `receiver_drained` handler is only added after the link is created, // which is a non-blocking task. - await receiver.receiveMessages(1, { maxWaitTimeInMs: 1000 }); - const receiverContext = (receiver as ServiceBusReceiverImpl)["_context"]; + + testLogger.info( + "Receiving a single message to warm up receiver (there isn't one, so this should just time out)" + ); + + await receiver.receiveMessages(1); + + testLogger.info("After receiving our non-existent warmup message"); + const batchingReceiver = (receiver as ServiceBusReceiverImpl)["_batchingReceiver"]; + testLogger.info("Sending first message"); + // Send a message so we have something to receive. await sender.sendMessages(TestMessage.getSample()); - const didRequestDrain = new Promise((resolve) => { - simulateDisconnectDuringDrain(receiverContext, batchingReceiver, resolve); - }); + const { onDetachedCalledPromise } = causeDisconnectDuringDrain(batchingReceiver); + + testLogger.info("Receiving first message + 9 more (forces a drain to happen)"); // Purposefully request more messages than what's available // so that the receiver will have to drain. - const messages1 = await receiver.receiveMessages(10, { maxWaitTimeInMs: 1000 }); + const messages1 = await receiver.receiveMessages(10); + + testLogger.info( + `Receiving done, got ${messages1.length} messages, now waiting for detach event since we forced a .idle()` + ); + + const result = await Promise.all([ + onDetachedCalledPromise, + delay( + Constants.defaultOperationTimeoutInMs * 1.5, + undefined, + undefined, + "ondetachednevercalled" + ) + ]); + + if (typeof result === "string" && result === "ondetachednevercalled") { + assert.fail("ondetached was never called for the receiver"); + } - await didRequestDrain; messages1.length.should.equal(1, "Unexpected number of messages received."); // Make sure that a 2nd receiveMessages call still works // by sending and receiving a single message again. - await sender.sendMessages(TestMessage.getSample()); + const sampleMessage = TestMessage.getSample(); + + testLogger.info( + "Sending another sample message for our 'receiver after interrupted batch receiver' receiver" + ); + + await sender.sendMessages(sampleMessage); + + testLogger.info("Message sent, now attempting to receive"); // wait for the 2nd message to be received. - const messages2 = await receiver.receiveMessages(1, { maxWaitTimeInMs: 5000 }); + // NOTE: we've forced the connection to restart at this point - it's quite possible to get errors + // while we attempt to receive, so we need to handle that. + const messages2 = await receiver.receiveMessages(1); - messages2.length.should.equal(1, "Unexpected number of messages received."); + testLogger.info("Messages received: ${messages2.length}"); + + assert.deepEqual( + messages2!.map((msg) => msg.body), + [sampleMessage.body] + ); }); it("throws an error if drain is in progress (peekLock)", async function(): Promise { @@ -931,34 +954,34 @@ describe("Batching Receiver", () => { // The `receiver_drained` handler is only added after the link is created, // which is a non-blocking task. await receiver.receiveMessages(1, { maxWaitTimeInMs: 1000 }); - const receiverContext = (receiver as ServiceBusReceiverImpl)["_context"]; const batchingReceiver = (receiver as ServiceBusReceiverImpl)["_batchingReceiver"]; // Send a message so we have something to receive. await sender.sendMessages(TestMessage.getSample()); - const didRequestDrain = new Promise((resolve) => { - simulateDisconnectDuringDrain(receiverContext, batchingReceiver, resolve); - }); + const { onDetachedCalledPromise } = causeDisconnectDuringDrain(batchingReceiver); // Purposefully request more messages than what's available // so that the receiver will have to drain. const testFailureMessage = "Test failure"; try { - await receiver.receiveMessages(10, { maxWaitTimeInMs: 1000 }); + await receiver.receiveMessages(10); throw new Error(testFailureMessage); } catch (err) { - err.message && err.message.should.not.equal(testFailureMessage); + assert.deepNestedInclude(err, { + name: "Error", + message: "Test: fake connection failure" + }); } - await didRequestDrain; + await onDetachedCalledPromise; // Make sure that a 2nd receiveMessages call still works // by sending and receiving a single message again. await sender.sendMessages(TestMessage.getSample()); // wait for the 2nd message to be received. - const messages = await receiver.receiveMessages(1, { maxWaitTimeInMs: 5000 }); + const messages = await receiver.receiveMessages(1); messages.length.should.equal(1, "Unexpected number of messages received."); }); @@ -1045,11 +1068,15 @@ describe("Batching Receiver", () => { }); }); - describe(withSessionTestClientType + ": Batch Receiver - disconnects", function(): void { + describe("Session Batch Receiver - disconnects (sessions)", function(): void { let serviceBusClient: ServiceBusClientForTests; let sender: ServiceBusSender; let receiver: ServiceBusSessionReceiver; + before(() => { + console.log(`Entity type: ${withSessionTestClientType}`); + }); + async function beforeEachTest( receiveMode: "peekLock" | "receiveAndDelete" = "peekLock" ): Promise { @@ -1136,21 +1163,19 @@ describe("Batching Receiver", () => { "Unexpected number of received messages(before disconnect)." ); - const receiverContext = (receiver as ServiceBusSessionReceiverImpl)["_context"]; const batchingReceiver = (receiver as ServiceBusSessionReceiverImpl)["_messageSession"]; // Send a message so we have something to receive. await sender.sendMessages(TestMessage.getSessionSample()); - const didRequestDrain = new Promise((resolve) => { - simulateDisconnectDuringDrain(receiverContext, batchingReceiver, resolve); - }); + const { onDetachedCalledPromise } = causeDisconnectDuringDrain(batchingReceiver); // Purposefully request more messages than what's available // so that the receiver will have to drain. const messages2 = await receiver.receiveMessages(10); - await didRequestDrain; + await onDetachedCalledPromise; + messages2.length.should.equal( 1, "Unexpected number of messages received(during disconnect)." @@ -1196,29 +1221,29 @@ describe("Batching Receiver", () => { "Unexpected number of received messages(before disconnect)." ); - const receiverContext = (receiver as ServiceBusSessionReceiverImpl)["_context"]; const batchingReceiver = (receiver as ServiceBusSessionReceiverImpl)["_messageSession"]; // Send a message so we have something to receive. await sender.sendMessages(TestMessage.getSessionSample()); - const didRequestDrain = new Promise((resolve) => { - simulateDisconnectDuringDrain(receiverContext, batchingReceiver, resolve); - }); + const { onDetachedCalledPromise: drainRequestedPromise } = causeDisconnectDuringDrain( + batchingReceiver + ); // Purposefully request more messages than what's available // so that the receiver will have to drain. const testFailureMessage = "Test failure"; try { - await receiver.receiveMessages(10, { maxWaitTimeInMs: 5000 }); + await receiver.receiveMessages(10); throw new Error(testFailureMessage); } catch (err) { - err.message && - err.code.should.equal("SessionLockLost") && - err.message.should.not.equal(testFailureMessage); + assert.deepNestedInclude(err, { + name: "Error", + message: "Test: fake connection failure" + }); } - await didRequestDrain; + await drainRequestedPromise; }); it("returns messages if receive in progress (receiveAndDelete)", async function(): Promise< @@ -1318,14 +1343,70 @@ describe("Batching Receiver", () => { // so that the receiver will have to drain. const testFailureMessage = "Test failure"; try { - await receiver.receiveMessages(10, { maxWaitTimeInMs: 5000 }); + await receiver.receiveMessages(10); throw new Error(testFailureMessage); } catch (err) { - err.message && - err.code.should.equal("SessionLockLost") && - err.message.should.not.equal(testFailureMessage); + assert.deepNestedInclude(err, { + name: "ServiceBusError", + code: "SessionLockLost" + }); } }); }); }); }); + +/** + * Sets `batchingReceiver` so it's next drain call will result in the connection recycling prior to the + * drain completing. The primary use is just to make sure that when we terminate a receiveMessages() call + * early due to a disconnect (and interrupt the drain) that the link is restored and can be used + * again afterwards. + * + * The `onDetachedCalledPromise` property in the return object allows you to await until the batching + * receiver has actually been detached. + * + * @param batchingReceiver A batching receiver (minimal interface compatible with sessions and non-sessions) + * @returns an object with `onDetachedCalledPromise` that resolves when onDetached has completed + * for the batching receiver. + */ +function causeDisconnectDuringDrain( + batchingReceiver: (Pick & LinkEntity) | undefined +): { onDetachedCalledPromise: Promise } { + let resolveOnDetachedCallPromise: () => void; + + let onDetachedCalledPromise = new Promise((resolve) => { + resolveOnDetachedCallPromise = resolve; + }); + + if (!batchingReceiver || !batchingReceiver.isOpen()) { + throw new Error(`batchingReceiver is not open or passed undefined.`); + } + + const link = batchingReceiver["link"]; + + if (link == null) { + throw new Error("No active link for batching receiver"); + } + + const origAddCredit = link.addCredit; + + // We want to simulate a disconnect once the batching receiver is draining. + // We can detect when the receiver enters a draining state when `addCredit` is + // called while didRequestDrainResolver is called to resolve the promise. + const addCreditThatImmediatelyDetaches = function(credits: number): void { + origAddCredit.call(link, credits); + + if (link.drain && credits === 1) { + // initiate the detach now (prior to any possibilty of the 'drain' call being scheduled) + batchingReceiver + .onDetached(new Error("Test: fake connection failure")) + .then(() => resolveOnDetachedCallPromise()); + } + }; + + link["addCredit"] = addCreditThatImmediatelyDetaches; + + return { + onDetachedCalledPromise + }; +} diff --git a/sdk/servicebus/service-bus/test/internal/serviceBusClient.spec.ts b/sdk/servicebus/service-bus/test/internal/serviceBusClient.spec.ts index 1b2467a97266..6bf5b22250fa 100644 --- a/sdk/servicebus/service-bus/test/internal/serviceBusClient.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/serviceBusClient.spec.ts @@ -5,6 +5,7 @@ import { EnvironmentCredential } from "@azure/identity"; import chai from "chai"; import chaiAsPromised from "chai-as-promised"; import * as dotenv from "dotenv"; +import { Constants as CoreAmqpConstants } from "@azure/core-amqp"; import Long from "long"; import { isServiceBusError, @@ -294,7 +295,11 @@ describe("ServiceBusClient live tests", () => { }); should.equal( - await checkWithTimeout(() => errorWasThrown === true, 10, 3000), + await checkWithTimeout( + () => errorWasThrown === true, + 1000, + CoreAmqpConstants.defaultOperationTimeoutInMs * 2 // arbitrary, just don't want it to be too short. + ), true, "Error thrown flag must be true" ); diff --git a/sdk/servicebus/service-bus/test/internal/tracing.spec.ts b/sdk/servicebus/service-bus/test/internal/tracing.spec.ts index 25be1312348d..ef6d64e08351 100644 --- a/sdk/servicebus/service-bus/test/internal/tracing.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/tracing.spec.ts @@ -12,14 +12,12 @@ import { function legacyOptionsUsingSpanContext(rootSpan: TestSpan): Pick { return { - // @ts-ignore Using the deprecated field for testing - parentSpan: rootSpan.context() + parentSpan: rootSpan.spanContext() }; } function legacyOptionsUsingSpan(rootSpan: TestSpan): Pick { return { - // @ts-ignore Using the deprecated field for testing parentSpan: rootSpan }; } diff --git a/sdk/servicebus/service-bus/test/internal/unit/receiver.spec.ts b/sdk/servicebus/service-bus/test/internal/unit/receiver.spec.ts index 0e10d6bf7ada..f8b3080d9bdf 100644 --- a/sdk/servicebus/service-bus/test/internal/unit/receiver.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/unit/receiver.spec.ts @@ -21,6 +21,7 @@ import { AbortSignalLike } from "@azure/abort-controller"; import { ServiceBusSessionReceiverImpl } from "../../../src/receivers/sessionReceiver"; import { MessageSession } from "../../../src/session/messageSession"; import sinon from "sinon"; +import { assertThrows } from "../../public/utils/testUtils"; describe("Receiver unit tests", () => { describe("init() and close() interactions", () => { @@ -43,9 +44,11 @@ describe("Receiver unit tests", () => { }; // make an init() happen internally. - const emptyArrayOfMessages = await batchingReceiver.receive(1, 1, 1, {}); - - assert.isEmpty(emptyArrayOfMessages); + await assertThrows(() => batchingReceiver.receive(1, 1, 1, {}), { + name: "ServiceBusError", + code: "GeneralError", + message: "Link closed before receiving messages." + }); assert.isTrue(initWasCalled); }); diff --git a/sdk/servicebus/service-bus/test/internal/utils/misc.ts b/sdk/servicebus/service-bus/test/internal/utils/misc.ts index 06b52e521046..41cea80aeda0 100644 --- a/sdk/servicebus/service-bus/test/internal/utils/misc.ts +++ b/sdk/servicebus/service-bus/test/internal/utils/misc.ts @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { createClientLogger, setLogLevel } from "@azure/logger"; import { Delivery, ServiceBusReceivedMessage } from "../../../src"; import { ServiceBusMessageImpl } from "../../../src/serviceBusMessage"; @@ -17,3 +18,13 @@ export function getDeliveryProperty(message: ServiceBusReceivedMessage): Deliver "Received message does not contain a .delivery member - not a ServiceBusMessageImpl instance." ); } + +export const testLogger = createClientLogger("test"); + +export function enableCommonLoggers() { + setLogLevel("verbose"); +} + +export function disableCommonLoggers() { + setLogLevel(); +} From 5da29227ff2007b7c10593face88534123a57693 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 21 Jun 2021 12:18:57 -0700 Subject: [PATCH 012/134] Sync eng/common directory with azure-sdk-tools for PR 1716 (#15876) * Update links with master to use main * Update ci.yml files Co-authored-by: Chidozie Ononiwu --- eng/common/README.md | 2 +- eng/common/docgeneration/Generate-DocIndex.ps1 | 2 +- eng/common/pipelines/templates/steps/check-spelling.yml | 2 +- .../pipelines/templates/steps/docs-metadata-release.yml | 2 +- .../templates/steps/eng-common-workflow-enforcer.yml | 2 +- eng/common/scripts/Create-APIReview.ps1 | 4 ++-- eng/common/scripts/Package-Properties.ps1 | 4 ++-- eng/common/scripts/Prepare-Release.ps1 | 2 +- eng/common/scripts/Update-DocsMsPackages.ps1 | 2 +- eng/common/scripts/artifact-metadata-parsing.ps1 | 2 +- eng/common/scripts/copy-docs-to-blobstorage.ps1 | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/eng/common/README.md b/eng/common/README.md index b9867f0705e2..732688daadc0 100644 --- a/eng/common/README.md +++ b/eng/common/README.md @@ -1,3 +1,3 @@ # Common Engineering System -Updates under this directory should only be made in the `azure-sdk-tools` repo as any changes under this directory outside of that repo will end up getting overwritten with future updates. For information about making updates see [common engineering system docs](https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md) +Updates under this directory should only be made in the `azure-sdk-tools` repo as any changes under this directory outside of that repo will end up getting overwritten with future updates. For information about making updates see [common engineering system docs](https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md) diff --git a/eng/common/docgeneration/Generate-DocIndex.ps1 b/eng/common/docgeneration/Generate-DocIndex.ps1 index 82b3a75e4e53..cf9b5f06ff95 100644 --- a/eng/common/docgeneration/Generate-DocIndex.ps1 +++ b/eng/common/docgeneration/Generate-DocIndex.ps1 @@ -177,5 +177,5 @@ else { LogWarning "The function for 'GetGithubIoDocIndexFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } diff --git a/eng/common/pipelines/templates/steps/check-spelling.yml b/eng/common/pipelines/templates/steps/check-spelling.yml index 3865a3f26ece..986d729fc30c 100644 --- a/eng/common/pipelines/templates/steps/check-spelling.yml +++ b/eng/common/pipelines/templates/steps/check-spelling.yml @@ -2,7 +2,7 @@ # and some ref (branch, tag, etc.) or commit hash. Only runs on PRs. # ContinueOnError - true: Pipeline warns on spelling error # false: Pipeline fails on spelling error -# TargetBranch - Target ref (e.g. master) to compare to create file change +# TargetBranch - Target ref (e.g. main) to compare to create file change # list. # CspellConfigPath - Path to cspell.json config location diff --git a/eng/common/pipelines/templates/steps/docs-metadata-release.yml b/eng/common/pipelines/templates/steps/docs-metadata-release.yml index b3c844422585..2f58b90d4d10 100644 --- a/eng/common/pipelines/templates/steps/docs-metadata-release.yml +++ b/eng/common/pipelines/templates/steps/docs-metadata-release.yml @@ -26,7 +26,7 @@ parameters: default: '' - name: PRBranchName type: string - default: 'master-rdme' + default: 'main-rdme' - name: PRLabels type: string default: 'auto-merge' diff --git a/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml b/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml index 0125e6cbacee..b68e1cd0c27a 100644 --- a/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml +++ b/eng/common/pipelines/templates/steps/eng-common-workflow-enforcer.yml @@ -16,7 +16,7 @@ steps: if (($LASTEXITCODE -eq 0) -and ($filesInCommonDir.Count -gt 0)) { Write-Host "##vso[task.LogIssue type=error;]Changes to files under 'eng/common' directory should not be made in this Repo`n${filesInCommonDir}" - Write-Host "##vso[task.LogIssue type=error;]Please follow workflow at https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md" + Write-Host "##vso[task.LogIssue type=error;]Please follow workflow at https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md" exit 1 } } diff --git a/eng/common/scripts/Create-APIReview.ps1 b/eng/common/scripts/Create-APIReview.ps1 index 8b9007253274..0ef5e0ba6818 100644 --- a/eng/common/scripts/Create-APIReview.ps1 +++ b/eng/common/scripts/Create-APIReview.ps1 @@ -71,7 +71,7 @@ else { Write-Host "The function for 'FindArtifactForApiReviewFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit(1) } @@ -104,7 +104,7 @@ if ($packages) Write-Host "Version: $($version)" Write-Host "SDK Type: $($pkgInfo.SdkType)" - # Run create review step only if build is triggered from master branch or if version is GA. + # Run create review step only if build is triggered from main branch or if version is GA. # This is to avoid invalidating review status by a build triggered from feature branch if ( ($SourceBranch -eq $DefaultBranch) -or (-not $version.IsPrerelease)) { diff --git a/eng/common/scripts/Package-Properties.ps1 b/eng/common/scripts/Package-Properties.ps1 index 3aadc8d58064..64698a181b7e 100644 --- a/eng/common/scripts/Package-Properties.ps1 +++ b/eng/common/scripts/Package-Properties.ps1 @@ -126,7 +126,7 @@ function Get-AllPkgProperties ([string]$ServiceDirectory = $null) return $pkgPropsResult } -# Given the metadata url under https://github.com/Azure/azure-sdk/tree/master/_data/releases/latest, +# Given the metadata url under https://github.com/Azure/azure-sdk/tree/main/_data/releases/latest, # the function will return the csv metadata back as part of response. function Get-CSVMetadata ([string]$MetadataUri=$MetadataUri) { @@ -143,7 +143,7 @@ function Get-PkgPropsForEntireService ($serviceDirectoryPath) { LogError "The function for '$GetPackageInfoFromRepoFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } foreach ($directory in (Get-ChildItem $serviceDirectoryPath -Directory)) diff --git a/eng/common/scripts/Prepare-Release.ps1 b/eng/common/scripts/Prepare-Release.ps1 index eed113299a2e..95f175d3fdaf 100644 --- a/eng/common/scripts/Prepare-Release.ps1 +++ b/eng/common/scripts/Prepare-Release.ps1 @@ -180,7 +180,7 @@ else { LogError "The function 'SetPackageVersion' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit 1 } diff --git a/eng/common/scripts/Update-DocsMsPackages.ps1 b/eng/common/scripts/Update-DocsMsPackages.ps1 index 2d43127b2b14..4292200f3b6f 100644 --- a/eng/common/scripts/Update-DocsMsPackages.ps1 +++ b/eng/common/scripts/Update-DocsMsPackages.ps1 @@ -31,6 +31,6 @@ if ($UpdateDocsMsPackagesFn -and (Test-Path "Function:$UpdateDocsMsPackagesFn")) } else { LogError "The function for '$UpdateFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" exit 1 } diff --git a/eng/common/scripts/artifact-metadata-parsing.ps1 b/eng/common/scripts/artifact-metadata-parsing.ps1 index 2339155b359d..dc96ee917288 100644 --- a/eng/common/scripts/artifact-metadata-parsing.ps1 +++ b/eng/common/scripts/artifact-metadata-parsing.ps1 @@ -101,7 +101,7 @@ function RetrievePackages($artifactLocation) { { LogError "The function for '$GetPackageInfoFromPackageFileFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } } diff --git a/eng/common/scripts/copy-docs-to-blobstorage.ps1 b/eng/common/scripts/copy-docs-to-blobstorage.ps1 index 7864e9680f1f..f037dcf51e4f 100644 --- a/eng/common/scripts/copy-docs-to-blobstorage.ps1 +++ b/eng/common/scripts/copy-docs-to-blobstorage.ps1 @@ -240,6 +240,6 @@ else { LogWarning "The function for '$PublishGithubIODocsFn' was not found.` Make sure it is present in eng/scripts/Language-Settings.ps1 and referenced in eng/common/scripts/common.ps1.` - See https://github.com/Azure/azure-sdk-tools/blob/master/doc/common/common_engsys.md#code-structure" + See https://github.com/Azure/azure-sdk-tools/blob/main/doc/common/common_engsys.md#code-structure" } From 450f924e72b1110f1ec3f92f434d7b9376d6ec7c Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 21 Jun 2021 16:40:58 -0700 Subject: [PATCH 013/134] Sync eng/common directory with azure-sdk-tools for PR 1719 (#15885) * Update pipeline generation tool version Consume latest changes from pipeline generation tool in https://github.com/Azure/azure-sdk-tools/pull/1708 * Update tool version to include fix for public ci Co-authored-by: Wes Haggard --- .../pipelines/templates/steps/install-pipeline-generation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/install-pipeline-generation.yml b/eng/common/pipelines/templates/steps/install-pipeline-generation.yml index d0da703285f3..d368d52595b3 100644 --- a/eng/common/pipelines/templates/steps/install-pipeline-generation.yml +++ b/eng/common/pipelines/templates/steps/install-pipeline-generation.yml @@ -9,7 +9,7 @@ steps: - script: > dotnet tool install Azure.Sdk.Tools.PipelineGenerator - --version 1.0.2-dev.20210309.1 + --version 1.0.2-dev.20210621.4 --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk/nuget/v3/index.json --tool-path ${{parameters.ToolPath}} workingDirectory: $(Pipeline.Workspace)/pipeline-generator From b26a218fffa40dce4c9be8312806ca81f9007c70 Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Mon, 21 Jun 2021 17:49:16 -0700 Subject: [PATCH 014/134] Remove core-lro runtime dependency on core-http (#15884) Fixes #15880 --- sdk/core/core-lro/package.json | 2 +- sdk/core/core-lro/rollup.base.config.js | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index 5126c076de12..1ce6fba36af4 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -96,12 +96,12 @@ "sideEffects": false, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", "@azure/core-tracing": "1.0.0-preview.12", "events": "^3.0.0", "tslib": "^2.2.0" }, "devDependencies": { + "@azure/core-http": "^1.2.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/core/core-lro/rollup.base.config.js b/sdk/core/core-lro/rollup.base.config.js index de7479d0e117..7b7888881008 100644 --- a/sdk/core/core-lro/rollup.base.config.js +++ b/sdk/core/core-lro/rollup.base.config.js @@ -27,6 +27,7 @@ const banner = [ ].join("\n"); const depNames = Object.keys(pkg.dependencies); +const devDepNames = Object.keys(pkg.devDependencies); const production = process.env.NODE_ENV === "production"; export function nodeConfig(test = false) { @@ -59,6 +60,9 @@ export function nodeConfig(test = false) { baseConfig.input = ["dist-esm/test/*.test.js"]; baseConfig.plugins.unshift(multiEntry({ exports: false })); + // mark devdeps as external + baseConfig.external.push(...devDepNames); + // different output file baseConfig.output.file = "dist-test/index.node.js"; @@ -85,9 +89,6 @@ export function browserConfig(test = false) { banner: banner, format: "umd", name: "azurecorelro", - globals: { - "@azure/core-http": "Azure.Core.HTTP" - }, sourcemap: true }, preserveSymlinks: false, From 53d60892e548cf8f2b72bb067eb24b40d7c13ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Tue, 22 Jun 2021 07:09:01 -0400 Subject: [PATCH 015/134] [Identity] Comment improvements. Identity generally doesn't return null anymore (#15783) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’ve got some customers writing to me directly with some confusion regarding getToken returning null. We’ve got some remnants of this type, but at this point, Identity doesn’t return null (except for ClientSecretCredential in the browser, which is generally unusable outside of our tests). This PR is to update these docs and to give a bit of clarity on what errors we’re throwing. --- .../authorizationCodeCredential.ts | 6 ++-- .../src/credentials/azureCliCredential.ts | 6 ++-- .../credentials/azurePowerShellCredential.ts | 6 ++-- .../clientCertificateCredential.ts | 6 ++-- .../src/credentials/clientSecretCredential.ts | 6 ++-- .../src/credentials/deviceCodeCredential.ts | 12 +++---- .../src/credentials/environmentCredential.ts | 35 +++++++++++++++---- .../interactiveBrowserCredential.browser.ts | 12 +++---- .../interactiveBrowserCredential.ts | 12 +++---- .../managedIdentityCredential/index.ts | 7 ++-- .../credentials/usernamePasswordCredential.ts | 6 ++-- 11 files changed, 55 insertions(+), 59 deletions(-) diff --git a/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts b/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts index 8bcd49b4204e..3df20f63e9a0 100644 --- a/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts +++ b/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts @@ -124,10 +124,8 @@ export class AuthorizationCodeCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * @param scopes - The list of scopes for which the token will have access. * @param options - The options used to configure any requests this diff --git a/sdk/identity/identity/src/credentials/azureCliCredential.ts b/sdk/identity/identity/src/credentials/azureCliCredential.ts index 5750a37a0ad7..e95d7fc91cdf 100644 --- a/sdk/identity/identity/src/credentials/azureCliCredential.ts +++ b/sdk/identity/identity/src/credentials/azureCliCredential.ts @@ -66,10 +66,8 @@ const logger = credentialLogger("AzureCliCredential"); */ export class AzureCliCredential implements TokenCredential { /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * @param scopes - The list of scopes for which the token will have access. * @param options - The options used to configure any requests this diff --git a/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts b/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts index 59a8d3e7e196..fecddb084bc0 100644 --- a/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts +++ b/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts @@ -134,10 +134,8 @@ export class AzurePowerShellCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If the authentication cannot be performed through PowerShell, a {@link CredentialUnavailableError} will be thrown. * * @param scopes - The list of scopes for which the token will have access. * @param options - The options used to configure any requests this TokenCredential implementation might make. diff --git a/sdk/identity/identity/src/credentials/clientCertificateCredential.ts b/sdk/identity/identity/src/credentials/clientCertificateCredential.ts index 595739d3d3e1..12e2a2ea95d5 100644 --- a/sdk/identity/identity/src/credentials/clientCertificateCredential.ts +++ b/sdk/identity/identity/src/credentials/clientCertificateCredential.ts @@ -49,10 +49,8 @@ export class ClientCertificateCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * @param scopes - The list of scopes for which the token will have access. * @param options - The options used to configure any requests this diff --git a/sdk/identity/identity/src/credentials/clientSecretCredential.ts b/sdk/identity/identity/src/credentials/clientSecretCredential.ts index 4e1a2d942e0a..bd7954146907 100644 --- a/sdk/identity/identity/src/credentials/clientSecretCredential.ts +++ b/sdk/identity/identity/src/credentials/clientSecretCredential.ts @@ -49,10 +49,8 @@ export class ClientSecretCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * @param scopes - The list of scopes for which the token will have access. * @param options - The options used to configure any requests this diff --git a/sdk/identity/identity/src/credentials/deviceCodeCredential.ts b/sdk/identity/identity/src/credentials/deviceCodeCredential.ts index c817b616f550..ce6e0f157c5c 100644 --- a/sdk/identity/identity/src/credentials/deviceCodeCredential.ts +++ b/sdk/identity/identity/src/credentials/deviceCodeCredential.ts @@ -45,10 +45,8 @@ export class DeviceCodeCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * If the user provided the option `disableAutomaticAuthentication`, * once the token can't be retrieved silently, @@ -69,10 +67,8 @@ export class DeviceCodeCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * If the token can't be retrieved silently, this method will require user interaction to retrieve the token. * diff --git a/sdk/identity/identity/src/credentials/environmentCredential.ts b/sdk/identity/identity/src/credentials/environmentCredential.ts index 4952faa62a63..f6aee5963c89 100644 --- a/sdk/identity/identity/src/credentials/environmentCredential.ts +++ b/sdk/identity/identity/src/credentials/environmentCredential.ts @@ -32,6 +32,7 @@ export const AllSupportedEnvironmentVariables = [ const logger = credentialLogger("EnvironmentCredential"); /** + * Enables authentication to Azure Active Directory depending on the available environment variables. * Defines options for the EnvironmentCredential class. */ export interface EnvironmentCredentialOptions @@ -42,9 +43,17 @@ export interface EnvironmentCredentialOptions * Enables authentication to Azure Active Directory using client secret * details configured in the following environment variables: * - * - AZURE_TENANT_ID: The Azure Active Directory tenant (directory) ID. - * - AZURE_CLIENT_ID: The client (application) ID of an App Registration in the tenant. - * - AZURE_CLIENT_SECRET: A client secret that was generated for the App Registration. + * Required environment variables: + * - `AZURE_TENANT_ID`: The Azure Active Directory tenant (directory) ID. + * - `AZURE_CLIENT_ID`: The client (application) ID of an App Registration in the tenant. + * + * Environment variables used for client credential authentication: + * - `AZURE_CLIENT_SECRET`: A client secret that was generated for the App Registration. + * - `AZURE_CLIENT_CERTIFICATE_PATH`: The path to a PEM certificate to use during the authentication, instead of the client secret. + * + * Alternatively, users can provide environment variables for username and password authentication: + * - `AZURE_USERNAME`: Username to authenticate with. + * - `AZURE_PASSWORD`: Password to authenticate with. * * This credential ultimately uses a {@link ClientSecretCredential} to * perform the authentication using these details. Please consult the @@ -56,10 +65,22 @@ export class EnvironmentCredential implements TokenCredential { | ClientCertificateCredential | UsernamePasswordCredential = undefined; /** - * Creates an instance of the EnvironmentCredential class and reads - * client secret details from environment variables. If the expected - * environment variables are not found at this time, the getToken method - * will return null when invoked. + * Creates an instance of the EnvironmentCredential class and decides what credential to use depending on the available environment variables. + * + * Required environment variables: + * - `AZURE_TENANT_ID`: The Azure Active Directory tenant (directory) ID. + * - `AZURE_CLIENT_ID`: The client (application) ID of an App Registration in the tenant. + * + * Environment variables used for client credential authentication: + * - `AZURE_CLIENT_SECRET`: A client secret that was generated for the App Registration. + * - `AZURE_CLIENT_CERTIFICATE_PATH`: The path to a PEM certificate to use during the authentication, instead of the client secret. + * + * Alternatively, users can provide environment variables for username and password authentication: + * - `AZURE_USERNAME`: Username to authenticate with. + * - `AZURE_PASSWORD`: Password to authenticate with. + * + * If the environment variables required to perform the authentication are missing, a {@link CredentialUnavailableError} will be thrown. + * If the authentication fails, or if there's an unknown error, an {@link AuthenticationError} will be thrown. * * @param options - Options for configuring the client which makes the authentication request. */ diff --git a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.browser.ts b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.browser.ts index e04f3d7c8054..d5eb46ac0abc 100644 --- a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.browser.ts +++ b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.browser.ts @@ -76,10 +76,8 @@ export class InteractiveBrowserCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * If the user provided the option `disableAutomaticAuthentication`, * once the token can't be retrieved silently, @@ -100,10 +98,8 @@ export class InteractiveBrowserCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * If the token can't be retrieved silently, this method will require user interaction to retrieve the token. * diff --git a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts index 9d98d1fff531..35238d2579f0 100644 --- a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts +++ b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts @@ -55,10 +55,8 @@ export class InteractiveBrowserCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * If the user provided the option `disableAutomaticAuthentication`, * once the token can't be retrieved silently, @@ -79,10 +77,8 @@ export class InteractiveBrowserCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * If the token can't be retrieved silently, this method will require user interaction to retrieve the token. * diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts index ffdc242ce940..49a95cd31cf2 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts @@ -116,10 +116,9 @@ export class ManagedIdentityCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. + * If an unexpected error occurs, an {@link AuthenticationError} will be thrown with the details of the failure. * * @param scopes - The list of scopes for which the token will have access. * @param options - The options used to configure any requests this diff --git a/sdk/identity/identity/src/credentials/usernamePasswordCredential.ts b/sdk/identity/identity/src/credentials/usernamePasswordCredential.ts index f8752b694eb4..93c111767752 100644 --- a/sdk/identity/identity/src/credentials/usernamePasswordCredential.ts +++ b/sdk/identity/identity/src/credentials/usernamePasswordCredential.ts @@ -52,10 +52,8 @@ export class UsernamePasswordCredential implements TokenCredential { } /** - * Authenticates with Azure Active Directory and returns an access token if - * successful. If authentication cannot be performed at this time, this method may - * return null. If an error occurs during authentication, an {@link AuthenticationError} - * containing failure details will be thrown. + * Authenticates with Azure Active Directory and returns an access token if successful. + * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. * * If the user provided the option `disableAutomaticAuthentication`, * once the token can't be retrieved silently, From 8ab9b83b659391dca8c47fce5a11352ad4a884ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Tue, 22 Jun 2021 16:45:39 -0400 Subject: [PATCH 016/134] [Identity] README.md: Bigger title for Extensions and a markdown fix (#15897) --- sdk/identity/identity/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/identity/identity/README.md b/sdk/identity/identity/README.md index 596d64004edd..e21b06629214 100644 --- a/sdk/identity/identity/README.md +++ b/sdk/identity/identity/README.md @@ -86,12 +86,12 @@ If used from NodeJS, the `DefaultAzureCredential` will attempt to authenticate v - Azure CLI - If the developer has authenticated an account via the Azure CLI `az login` command, the `DefaultAzureCredential` will authenticate with that account. - Azure PowerShell - If the developer has authenticated using the Azure PowerShell module `Connect-AzAccount` command, the `DefaultAzureCredential` will authenticate with that account. -### Extensions +## Extensions Azure Identity for JavaScript provides an extension API that allows us to provide certain functionality through separate _extension packages_. The `@azure/identity` package exports a top-level function (`useIdentityExtension`) that can be used to enable an extension, and we provide two extension packages: - [`@azure/identity-cache-persistence`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-cache-persistence), which provides persistent token caching in Node.js using a native secure storage system provided by your operating system. This extension allows cached `access_token` values to persist across sessions, meaning that an interactive login flow does not need to be repeated as long as a cached token is available. -- [`@azure/identity-vscode](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode), which provides the dependencies of `VisualStudioCodeCredential` and enables it. Without this extension, the `VisualStudioCodeCredential` in this package will throw a `CredentialUnavailableError`. The extension provides the underlying implementation of this credential, enabling it for use both on its own and as part of the `DefaultAzureCredential` described above. +- [`@azure/identity-vscode`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode), which provides the dependencies of `VisualStudioCodeCredential` and enables it. Without this extension, the `VisualStudioCodeCredential` in this package will throw a `CredentialUnavailableError`. The extension provides the underlying implementation of this credential, enabling it for use both on its own and as part of the `DefaultAzureCredential` described above. ## Environment Variables From ac8d65c6a73a7eed49bc039d3b2e4620eaeb94bc Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Tue, 22 Jun 2021 15:14:02 -0700 Subject: [PATCH 017/134] [core] Update @azure/core-tracing to use @opentelemetry/api@1.0.0 (#15883) Now that `@opentelemetry/api` GA'd at [1.0.0](https://www.npmjs.com/package/@opentelemetry/api) we can bump our own dependency to `@opentelemetry/api@1.0.0` Reminder: not _all_ packages are on the latest @opentelemetry/api... those that depend on @azure/core-rest-pipeline cannot be upgraded yet. --- common/config/rush/common-versions.json | 6 +- common/config/rush/pnpm-lock.yaml | 151 +++++++++--------- sdk/core/core-rest-pipeline/package.json | 2 +- .../src/policies/tracingPolicy.ts | 2 +- .../test/tracingPolicy.spec.ts | 44 +++-- sdk/core/core-tracing/CHANGELOG.md | 2 + sdk/core/core-tracing/package.json | 2 +- sdk/core/core-tracing/test/cache.spec.ts | 2 +- sdk/monitor/monitor-query/package.json | 4 +- 9 files changed, 123 insertions(+), 92 deletions(-) diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index 98ee83e5af85..83304b3912fd 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -56,7 +56,8 @@ // ] // Following is required to allow for backward compatibility with Event Processor Host Track 1 "@azure/event-hubs": ["^2.1.4"], - "@opentelemetry/api": ["^0.18.1"], + // Monitor-opentelemetry-exporter and monitor-query both depend on different versions of @opentelemetry and need to be updated + "@opentelemetry/api": ["^0.18.1", "0.21.0"], // Monitor: Allow node 10 types until Timeout / Timer conflict is resolved in OpenTelemetry repo // TODO: remove when released https://github.com/open-telemetry/opentelemetry-js/pull/1352 // eslint v7.15 needs node v10.12 @@ -74,7 +75,8 @@ // Issue #14771 tracks updating to these versions "@microsoft/api-extractor": ["7.13.2"], "prettier": ["2.2.1"], - // All packages should move to 1.0.0-preview.12 once core-rest-pipeline 1.1.0 GAs + // All packages should move to 1.0.0 once core-rest-pipeline 1.1.0 GAs "@azure/core-tracing": ["1.0.0-preview.11"] + } } diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 6e5303ec974d..83efa376954e 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -344,7 +344,7 @@ packages: integrity: sha512-CxaMaEjwtsmIhWtjHyGimKO7RmES0YxPqGQ9+jKqGygNlhG5NYHktDaiQu6w7k3g+I51VaLXtVSt+BVFd6VWfQ== /@azure/identity/1.2.5_debug@4.3.1: dependencies: - '@azure/core-http': 1.2.3 + '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.9 '@azure/logger': 1.0.2 '@azure/msal-node': 1.0.0-beta.6_debug@4.3.1 @@ -1047,28 +1047,34 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg== - /@opentelemetry/api/0.20.0: + /@opentelemetry/api/0.21.0: + dev: false + engines: + node: '>=8.0.0' + resolution: + integrity: sha512-Q7hHb3nidPgnBS2fi+y3K64F3EV48d9v09/6EtigIgVF43NFNhw/dboDKC7gECEkbTwuvFeLCbwKs9JaC8LDEw== + /@opentelemetry/api/1.0.0: dev: false engines: node: '>=8.0.0' resolution: - integrity: sha512-n06MtDYEc2H07S/NTvGMlxF2Ijp0YbNrI/rBgLcxpEh3hxOkPZA12gxlUoZkBHWCZYau2j3b/uL+QFpiQKOjSw== + integrity: sha512-TcdhrGy+ehLIFs79/TcWiHiPujishrhSgQ7wxvWvk8WY2YT8Np/pYXmRP94voG3N8GJ/5nIVyzacfViwhN50AQ== /@opentelemetry/api/1.0.0-rc.0: dev: false engines: node: '>=8.0.0' resolution: integrity: sha512-iXKByCMfrlO5S6Oh97BuM56tM2cIBB0XsL/vWF/AtJrJEKx4MC/Xdu0xDsGXMGcNWpqF7ujMsjjnp0+UHBwnDQ== - /@opentelemetry/context-async-hooks/0.20.0_@opentelemetry+api@0.20.0: + /@opentelemetry/context-async-hooks/0.21.0_@opentelemetry+api@0.21.0: dependencies: - '@opentelemetry/api': 0.20.0 + '@opentelemetry/api': 0.21.0 dev: false engines: node: '>=8.1.0' peerDependencies: - '@opentelemetry/api': ^0.20.0 + '@opentelemetry/api': ^0.21.0 resolution: - integrity: sha512-4cuTIPpufWRDdShtvT0c30/jHfO9eXzUh6tU087J8aO8J/hckyCIlN03eB7pfqPwQzLnWONGdHOpGjLSY7q4tg== + integrity: sha512-3XxzT7jiDLbohUy66NWsYuWFtXsMI0qMhetWVlFmmBfMPLMR+U6xWA4xhfRMb6kMEjR5XJHbyDSxYwzxrd10sg== /@opentelemetry/context-base/0.10.2: dev: false engines: @@ -1084,56 +1090,56 @@ packages: node: '>=8.5.0' resolution: integrity: sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA== - /@opentelemetry/core/0.20.0_@opentelemetry+api@0.20.0: + /@opentelemetry/core/0.21.0_@opentelemetry+api@0.21.0: dependencies: - '@opentelemetry/api': 0.20.0 - '@opentelemetry/semantic-conventions': 0.20.0 + '@opentelemetry/api': 0.21.0 + '@opentelemetry/semantic-conventions': 0.21.0 semver: 7.3.5 dev: false engines: node: '>=8.5.0' peerDependencies: - '@opentelemetry/api': ^0.20.0 + '@opentelemetry/api': ^0.21.0 resolution: - integrity: sha512-09zQqB4vp2jcyBnglA/TFklDQoVgWrFKtr9pDm0q3Oa1bD2Hwpq+JapBAw18YdMQsLNQM/qsXhFlS3gFDVEy4A== - /@opentelemetry/node/0.20.0_@opentelemetry+api@0.20.0: + integrity: sha512-sZZQThBuqhCdBPgzPq4y9L4dhnpXXCCEqNsR6IUmMc/kQ8Bcw3lmI5fymLlliSt+lnTc26xJPVKZlwoQfwhThg== + /@opentelemetry/node/0.21.0_@opentelemetry+api@0.21.0: dependencies: - '@opentelemetry/api': 0.20.0 - '@opentelemetry/context-async-hooks': 0.20.0_@opentelemetry+api@0.20.0 - '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 - '@opentelemetry/propagator-b3': 0.20.0_@opentelemetry+api@0.20.0 - '@opentelemetry/propagator-jaeger': 0.20.0_@opentelemetry+api@0.20.0 - '@opentelemetry/tracing': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/api': 0.21.0 + '@opentelemetry/context-async-hooks': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/propagator-b3': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/propagator-jaeger': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/tracing': 0.21.0_@opentelemetry+api@0.21.0 semver: 7.3.5 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^0.20.0 + '@opentelemetry/api': ^0.21.0 resolution: - integrity: sha512-MVwnH/AoHQTz1jOhJTYXoAoQD4CA/3L7QQkiiA93f6QGaWKIHjI/+3fUtA/GCfPR9Kf0sItQ/aag8KtCJClPCw== - /@opentelemetry/propagator-b3/0.20.0_@opentelemetry+api@0.20.0: + integrity: sha512-PCA3pFmzTMN3iIlZ6Bz2BgPe8jEIdKRK7WyjfT9qqrLrHZ/dXNmX4MIz2IKTyQtS6tGt2jayD0IpWsVFctPOIA== + /@opentelemetry/propagator-b3/0.21.0_@opentelemetry+api@0.21.0: dependencies: - '@opentelemetry/api': 0.20.0 - '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/api': 0.21.0 + '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^0.20.0 + '@opentelemetry/api': ^0.21.0 resolution: - integrity: sha512-TGI2D45oUVlbXVEWDedqxwO0WUtzchN/tuYghEHjRTNcVLLKT2ci9JwzHormC+ls98SYPDfvuzpB0+ParoexPQ== - /@opentelemetry/propagator-jaeger/0.20.0_@opentelemetry+api@0.20.0: + integrity: sha512-KXQKXa76ilzBNdwr7hze9251g0AqBmwhCPnt17UCgb+97DFcOyEy5Rc7nnjZNxNGYYqUbk8116MK9hMZO2icGw== + /@opentelemetry/propagator-jaeger/0.21.0_@opentelemetry+api@0.21.0: dependencies: - '@opentelemetry/api': 0.20.0 - '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/api': 0.21.0 + '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 dev: false engines: node: '>=8.5.0' peerDependencies: - '@opentelemetry/api': ^0.20.0 + '@opentelemetry/api': ^0.21.0 resolution: - integrity: sha512-6kdnd1ePADx4XDaFw4Ea47fdIZohhJbd30Fc4yvl0DO+RR5WEAiAho0IsoTj6L/qvOb/+LAfvjvdk2UOXgb/3Q== + integrity: sha512-H0TaYBvDi4stz19UJNPFR1IRikQYjoKYuV6tZV4V5NnPAFTjBhvj/Heb0fNDUWK5G1tVB5NPrEsNSZjjdfvjLw== /@opentelemetry/resources/0.18.2: dependencies: '@opentelemetry/api': 0.18.1 @@ -1143,30 +1149,30 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-EBPqFsreXgFaqkMmWCE8vh6pFhbWExRHSO24qSeGhxFmM5SQP/D1jJqMp/jVUSmrF97fPkMS0aEH5z7NOWdxQA== - /@opentelemetry/resources/0.20.0_@opentelemetry+api@0.20.0: + /@opentelemetry/resources/0.21.0_@opentelemetry+api@0.21.0: dependencies: - '@opentelemetry/api': 0.20.0 - '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 - '@opentelemetry/semantic-conventions': 0.20.0 + '@opentelemetry/api': 0.21.0 + '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/semantic-conventions': 0.21.0 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^0.20.0 + '@opentelemetry/api': ^0.21.0 resolution: - integrity: sha512-nnd3vIM+A9ih6kOVBc2CF5NkTYmdNci5aQ+A5lQjf3HqjEptcGubpg1J1Q84LSFVoITvuH2O6+GhPBrdxYBt8g== + integrity: sha512-xQUL2/2npP/isH8sbOSdynIRWmlM6p02L9Ex8x/BhUuSkGrMoxO2ezLPPYnfYam1py6ubaz8m1C54O2IRCmgQQ== /@opentelemetry/semantic-conventions/0.18.2: dev: false engines: node: '>=8.0.0' resolution: integrity: sha512-+0P+PrP9qSFVaayNdek4P1OAGE+PEl2SsufuHDRmUpOY25Wzjo7Atyar56Trjc32jkNy4lID6ZFT6BahsR9P9A== - /@opentelemetry/semantic-conventions/0.20.0: + /@opentelemetry/semantic-conventions/0.21.0: dev: false engines: node: '>=8.0.0' resolution: - integrity: sha512-x40C3vQMttFlnNEfhFwO49jHrY6AoWnntL35TCem3LINr/aw1W0hGhdKY/zweC64CBJEyiHumaae480rqF8eOA== + integrity: sha512-qQtZJ8Q+bO/gemBELsZbz5s//tNnyc+mQD/0RHc77XhI6ZBb+tprU6KN/7l0fl5z29smmai0hcJ9UNILC/7nIw== /@opentelemetry/tracing/0.18.2: dependencies: '@opentelemetry/api': 0.18.1 @@ -1179,20 +1185,20 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-IQSu+NwMhX8O9Wkjc4HjNqs/aKfkcInCE3dQuAOBBec/saLrM6jqd+Fa5QUzg03WMOqpDuZm5KTkr5+6DUrr0g== - /@opentelemetry/tracing/0.20.0_@opentelemetry+api@0.20.0: + /@opentelemetry/tracing/0.21.0_@opentelemetry+api@0.21.0: dependencies: - '@opentelemetry/api': 0.20.0 - '@opentelemetry/core': 0.20.0_@opentelemetry+api@0.20.0 - '@opentelemetry/resources': 0.20.0_@opentelemetry+api@0.20.0 - '@opentelemetry/semantic-conventions': 0.20.0 + '@opentelemetry/api': 0.21.0 + '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/resources': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/semantic-conventions': 0.21.0 lodash.merge: 4.6.2 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^0.20.0 + '@opentelemetry/api': ^0.21.0 resolution: - integrity: sha512-8ZIH0IBxIucgza0BFNiCCLByUsvu45Dm5k292RlO/E8Z1q/J7otJmh9r/EkaFb0ZSyjNdawmJ1CXnlU7+IQN1w== + integrity: sha512-6+2pfFpu7Yo2DwmBK9sHDUSIL7UshcEMwDF6+LghGK68ILRaEMqqBPgKarjhFH9ERgJB9GOkJ2snK96qIzMZNA== /@rollup/plugin-commonjs/11.0.2_rollup@1.32.1: dependencies: '@rollup/pluginutils': 3.1.0_rollup@1.32.1 @@ -1372,7 +1378,7 @@ packages: /@types/body-parser/1.19.0: dependencies: '@types/connect': 3.4.34 - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ== @@ -1398,7 +1404,7 @@ packages: integrity: sha512-bsjleuRKWmGqajMerkzox19aGbscQX5rmmvvXl3wlIp5gMG1HgkiwPxsN5p070fBDKTNSPgojVbuY1+HWMbFhg== /@types/connect/3.4.34: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-ePPA/JuI+X0vb+gSWlPKOY0NdNAie/rPUqX2GUPpbZwiKTkSPhjXWuee47E4MtE54QVzGCQMQkAL6JhV2E1+cQ== @@ -1431,7 +1437,7 @@ packages: integrity: sha512-LfZwXoGUDo0C3me81HXgkBg5CTQYb6xzEl+fNmbO4JdRiSKQ8A0GD1OBBvKAIsbCUgoyAty7m99GqqMQe784ew== /@types/express-serve-static-core/4.17.21: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 '@types/qs': 6.9.6 '@types/range-parser': 1.2.3 dev: false @@ -1455,20 +1461,20 @@ packages: integrity: sha512-IyNhGHu71jH1jCXTHmafuoAAdsbBON3kDh7u/UUhLmjYgN5TYB54e1R8ckTCiIevl2UuZaCsi9XRxineY5yUjw== /@types/fs-extra/8.1.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-TcUlBem321DFQzBNuz8p0CLLKp0VvF/XH9E4KHNmgwyp4E3AfgI5cjiIVZWlbfThBop2qxFIh4+LeY6hVWWZ2w== /@types/glob/7.1.3: dependencies: '@types/minimatch': 3.0.4 - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w== /@types/is-buffer/2.0.0: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-0f7N/e3BAz32qDYvgB4d2cqv1DqUwvGxHkXsrucICn8la1Vb6Yl6Eg8mPScGwUiqHJeE7diXlzaK+QMA9m4Gxw== @@ -1482,13 +1488,13 @@ packages: integrity: sha1-7ihweulOEdK4J7y+UnC86n8+ce4= /@types/jsonwebtoken/8.5.2: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-X8BOCkp+WJVNYCYIBugREtVZa4Y09Or9HDx6xqRZem5F8jJV8FuJgNessXyMuv9+U8pjnvdezASwU28uw+1scw== /@types/jws/3.2.3: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-g54CHxwvaHvyJyeuZqe7VQujV9SfCXwEkboJp355INPL+kjlS3Aq153EHptaeO/Cch/NPJ1i2sHz0sDDizn7LQ== @@ -1502,7 +1508,7 @@ packages: integrity: sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w== /@types/md5/2.3.0: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-556YJ7ejzxIqSSxzyGGpctuZOarNZJt/zlEkhmmDc1f/slOEANHuwu2ZX7YaZ40rMiWoxt8GvAhoDpW1cmSy6A== @@ -1528,13 +1534,13 @@ packages: integrity: sha512-ZvO2tAcjmMi8V/5Z3JsyofMe3hasRcaw88cto5etSVMwVQfeivGAlEYmaQgceUSVYFofVjT+ioHsATjdWcFt1w== /@types/mock-fs/4.10.0: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-FQ5alSzmHMmliqcL36JqIA4Yyn9jyJKvRSGV3mvPh108VFatX7naJDzSG4fnFQNZFq9dIx0Dzoe6ddflMB2Xkg== /@types/mock-require/2.0.0: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-nOgjoE5bBiDeiA+z41i95makyHUSMWQMOPocP+J67Pqx/68HAXaeWN1NFtrAYYV6LrISIZZ8vKHm/a50k0f6Sg== @@ -1544,7 +1550,7 @@ packages: integrity: sha512-DPxmjiDwubsNmguG5X4fEJ+XCyzWM3GXWsqQlvUcjJKa91IOoJUy51meDr0GkzK64qqNcq85ymLlyjoct9tInw== /@types/node-fetch/2.5.10: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 form-data: 3.0.1 dev: false resolution: @@ -1587,7 +1593,7 @@ packages: integrity: sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== /@types/resolve/1.17.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw== @@ -1598,7 +1604,7 @@ packages: /@types/serve-static/1.13.9: dependencies: '@types/mime': 1.3.2 - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-ZFqF6qa48XsPdjXV5Gsz0Zqmux2PerNd3a/ktL45mHpa19cuMi/cL8tcxdAx497yRh+QtYPuofjT9oWw9P7nkA== @@ -1614,7 +1620,7 @@ packages: integrity: sha512-dIPoZ3g5gcx9zZEszaxLSVTvMReD3xxyyDnQUjA6IYDG9Ba2AV0otMPs+77sG9ojB4Qr2N2Vk5RnKeuA0X/0bg== /@types/stoppable/1.1.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-b8N+fCADRIYYrGZOcmOR8ZNBOqhktWTB/bMUl5LvGtT201QKJZOOH5UsFyI3qtteM6ZAJbJqZoBcLqqxKIwjhw== @@ -1624,7 +1630,7 @@ packages: integrity: sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A== /@types/tunnel/0.0.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A== @@ -1638,19 +1644,19 @@ packages: integrity: sha512-eQ9qFW/fhfGJF8WKHGEHZEyVWfZxrT+6CLIJGBcZPfxUh/+BnEj+UCGYMlr9qZuX/2AltsvwrGqp0LhEW8D0zQ== /@types/ws/7.4.5: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-8mbDgtc8xpxDDem5Gwj76stBDJX35KQ3YBoayxlqUQcL5BZUthiqP/VQ4PQnLHqM4PmlbyO74t98eJpURO+gPA== /@types/xml2js/0.4.8: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false resolution: integrity: sha512-EyvT83ezOdec7BhDaEcsklWy7RSIdi6CNe95tmOAK0yx/Lm30C9K75snT3fYayK59ApC2oyW+rcHErdG05FHJA== /@types/yauzl/2.9.1: dependencies: - '@types/node': 8.10.66 + '@types/node': 15.12.4 dev: false optional: true resolution: @@ -2784,7 +2790,7 @@ packages: integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== /debug/3.2.6: dependencies: - ms: 2.1.1 + ms: 2.1.3 deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dev: false resolution: @@ -6717,7 +6723,7 @@ packages: /rollup/1.32.1: dependencies: '@types/estree': 0.0.48 - '@types/node': 8.10.66 + '@types/node': 15.12.4 acorn: 7.4.1 dev: false hasBin: true @@ -9347,7 +9353,7 @@ packages: file:projects/core-tracing.tgz: dependencies: '@microsoft/api-extractor': 7.7.11 - '@opentelemetry/api': 0.20.0 + '@opentelemetry/api': 1.0.0 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9387,7 +9393,7 @@ packages: dev: false name: '@rush-temp/core-tracing' resolution: - integrity: sha512-YWHGTfZMkeR5xkd5N7cg8Cs8xqgn5CdqqL9A+TTh2CHdDZE6sK1wkzXrSqD3aO2PcWBQ2bXr0eSlgkR1a2JuQw== + integrity: sha512-WY3dTdsoyz+AMJUBjPiPsbagWKKJhxDhk+tURH/HBp6zUzyu1AJ4/VjUVCkruYBEZfy/WBYCfcHkMjlcielb0Q== tarball: file:projects/core-tracing.tgz version: 0.0.0 file:projects/core-util.tgz: @@ -10522,8 +10528,8 @@ packages: dependencies: '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 - '@opentelemetry/api': 0.20.0 - '@opentelemetry/node': 0.20.0_@opentelemetry+api@0.20.0 + '@opentelemetry/api': 0.21.0 + '@opentelemetry/node': 0.21.0_@opentelemetry+api@0.21.0 '@opentelemetry/tracing': 0.18.2 '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 @@ -10563,7 +10569,7 @@ packages: dev: false name: '@rush-temp/monitor-query' resolution: - integrity: sha512-7tuRnoGWczKV3/cBlQljU7Uh3VsiKULIIA7IBVB2+NeZjo4QWWj0aJeKWFTlO4T4HAZyU2o1vWsjmTT8YbvpuA== + integrity: sha512-ON6PB//RHdZG1TyksRq5CyFzk1G2eC5kqn8TIYI71bTklo+xQiRQWgzvRg45CPjt+JP+BRTgXqX6TVub4cNWiQ== tarball: file:projects/monitor-query.tgz version: 0.0.0 file:projects/perf-ai-form-recognizer.tgz: @@ -11925,6 +11931,7 @@ packages: integrity: sha512-vR4Y02jE/bLss6v013XQnI7fHgUp+r4ENYXoaHKRAtNMixhfeobUozzrZuMQJjCTyh0ps8FxxEn3BB3It5SySQ== tarball: file:projects/web-pubsub.tgz version: 0.0.0 +registry: '' specifiers: '@rush-temp/abort-controller': file:./projects/abort-controller.tgz '@rush-temp/agrifood-farming': file:./projects/agrifood-farming.tgz diff --git a/sdk/core/core-rest-pipeline/package.json b/sdk/core/core-rest-pipeline/package.json index fb00f11b74a9..75e7e6aa5e6c 100644 --- a/sdk/core/core-rest-pipeline/package.json +++ b/sdk/core/core-rest-pipeline/package.json @@ -93,7 +93,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-tracing": "1.0.0-preview.12", + "@azure/core-tracing": "1.0.0-preview.11", "@azure/logger": "^1.0.0", "form-data": "^3.0.0", "tslib": "^2.2.0", diff --git a/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts b/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts index fd6125a05201..3ada95732249 100644 --- a/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts +++ b/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts @@ -77,7 +77,7 @@ export function tracingPolicy(options: TracingPolicyOptions = {}): PipelinePolic try { // set headers - const spanContext = span.spanContext(); + const spanContext = span.context(); const traceParentHeader = getTraceParentHeader(spanContext); if (traceParentHeader) { request.headers.set("traceparent", traceParentHeader); diff --git a/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts b/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts index 5643463b7b56..4f10a42646a9 100644 --- a/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts +++ b/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts @@ -14,30 +14,47 @@ import { import { setTracer, NoOpTracer, - NoOpSpan, SpanContext, TraceFlags, + Span, TraceState, context, setSpan, SpanStatus, - SpanStatusCode + SpanStatusCode, + SpanAttributes, + Tracer, + SpanAttributeValue } from "@azure/core-tracing"; -class MockSpan extends NoOpSpan { +class MockSpan implements Span { private _endCalled = false; private _status: SpanStatus = { code: SpanStatusCode.UNSET }; - private _attributes: { [s: string]: unknown } = {}; + private _attributes: SpanAttributes = {}; constructor( private traceId: string, private spanId: string, private flags: TraceFlags, private state: string - ) { - super(); + ) {} + + addEvent(): this { + throw new Error("Method not implemented."); + } + + isRecording(): boolean { + return true; + } + + recordException(): void { + throw new Error("Method not implemented."); + } + + updateName(): this { + throw new Error("Method not implemented."); } didEnd(): boolean { @@ -57,7 +74,12 @@ class MockSpan extends NoOpSpan { return this; } - setAttribute(key: string, value: unknown) { + setAttributes(attributes: SpanAttributes): this { + this._attributes = attributes; + return this; + } + + setAttribute(key: string, value: SpanAttributeValue) { this._attributes[key] = value; return this; } @@ -66,7 +88,7 @@ class MockSpan extends NoOpSpan { return this._attributes[key]; } - spanContext(): SpanContext { + context(): SpanContext { const state = this.state; const traceState = { @@ -95,7 +117,7 @@ class MockSpan extends NoOpSpan { } } -class MockTracer extends NoOpTracer { +class MockTracer implements Tracer { private spans: MockSpan[] = []; private _startSpanCalled = false; @@ -104,9 +126,7 @@ class MockTracer extends NoOpTracer { private spanId = "", private flags = TraceFlags.NONE, private state = "" - ) { - super(); - } + ) {} getStartedSpans(): MockSpan[] { return this.spans; diff --git a/sdk/core/core-tracing/CHANGELOG.md b/sdk/core/core-tracing/CHANGELOG.md index d0eb4e82d663..d6aac66e465c 100644 --- a/sdk/core/core-tracing/CHANGELOG.md +++ b/sdk/core/core-tracing/CHANGELOG.md @@ -2,6 +2,8 @@ ## 1.0.0-preview.12 (Unreleased) +- Update `@opentelemetry/api` to version 1.0.0 [PR #15883](https://github.com/Azure/azure-sdk-for-js/pull/15883) + ### Breaking Changes - Removed `OpenCensusSpanWrapper` and `OpenCensusTracerWrapper` from the public API. Customers using these wrappers should migrate to using `OpenTelemetry` directly. [PR #15770](https://github.com/Azure/azure-sdk-for-js/pull/15770) diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index db31dc5281ed..e59f994cab94 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -60,7 +60,7 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/README.md", "sideEffects": false, "dependencies": { - "@opentelemetry/api": "0.20.0", + "@opentelemetry/api": "^1.0.0", "tslib": "^2.2.0" }, "devDependencies": { diff --git a/sdk/core/core-tracing/test/cache.spec.ts b/sdk/core/core-tracing/test/cache.spec.ts index 6bde9dda7291..407f258056c9 100644 --- a/sdk/core/core-tracing/test/cache.spec.ts +++ b/sdk/core/core-tracing/test/cache.spec.ts @@ -6,7 +6,7 @@ import * as fs from "fs"; import { Context } from "mocha"; import * as path from "path"; -const validOpenTelemetryVersions = ["0.20.0"]; +const validOpenTelemetryVersions = ["^1.0.0"]; describe("cache", () => { it("ensure current @opentelemetry/api has been validated", function(this: Context) { diff --git a/sdk/monitor/monitor-query/package.json b/sdk/monitor/monitor-query/package.json index 105810d1a1cd..f68984ba0b63 100644 --- a/sdk/monitor/monitor-query/package.json +++ b/sdk/monitor/monitor-query/package.json @@ -111,8 +111,8 @@ "@azure/monitor-opentelemetry-exporter": "1.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", - "@opentelemetry/api": "0.20.0", - "@opentelemetry/node": "0.20.0", + "@opentelemetry/api": "0.21.0", + "@opentelemetry/node": "0.21.0", "@opentelemetry/tracing": "^0.18.2", "@types/chai-as-promised": "^7.1.0", "@types/chai": "^4.1.6", From a64747cf6a22ff0e77a869266c07b2a1eb5f4f61 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Tue, 22 Jun 2021 14:55:17 -0700 Subject: [PATCH 018/134] Rename hardcoded master links to use main --- CONTRIBUTING.md | 20 ++--- README.md | 6 +- common/smoke-test/README.md | 4 +- common/tools/dev-tool/README.md | 63 +++++++------ .../tools/eslint-plugin-azure-sdk/README.md | 90 +++++++++---------- common/tools/eslint-plugin-azure-sdk/ci.yml | 1 - .../docs/rules/ts-package-json-homepage.md | 8 +- documentation/Bundling.md | 2 +- documentation/using-azure-identity.md | 63 +++++++------ eng/pipelines/aggregate-reports.yml | 1 - eng/pipelines/mgmt-ci.yml | 1 - eng/pipelines/mgmt-pr.yml | 1 - eng/tools/versioning/README.md | 3 +- samples/README.md | 6 +- sdk/agrifood/agrifood-farming-rest/README.md | 16 ++-- .../samples/v1/javascript/README.md | 8 +- .../samples/v1/typescript/README.md | 8 +- sdk/agrifood/ci.yml | 2 - .../ai-anomaly-detector/README.md | 12 +-- .../samples/v3/javascript/README.md | 8 +- .../samples/v3/typescript/README.md | 8 +- sdk/anomalydetector/ci.yml | 2 - .../app-configuration/README.md | 30 +++---- .../app-configuration/sample-react/README.md | 4 +- .../samples/v1/javascript/README.md | 20 ++--- .../samples/v1/typescript/README.md | 20 ++--- .../app-configuration/test/README.md | 4 +- sdk/appconfiguration/ci.yml | 2 - sdk/attestation/attestation/README.md | 10 +-- sdk/attestation/ci.yml | 2 - sdk/communication/CONTRIBUTING.md | 4 +- sdk/communication/ci.yml | 2 - .../communication-chat/README.md | 2 +- .../samples/v1/javascript/README.md | 8 +- .../samples/v1/typescript/README.md | 8 +- .../communication-chat/test/README.md | 4 +- .../communication-common/README.md | 2 +- .../communication-identity/CHANGELOG.md | 2 +- .../communication-identity/README.md | 4 +- .../samples/v1/javascript/README.md | 6 +- .../samples/v1/typescript/README.md | 6 +- .../communication-identity/test/README.md | 4 +- .../communication-network-traversal/README.md | 2 +- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- .../test/README.md | 4 +- .../communication-phone-numbers/CHANGELOG.md | 2 +- .../communication-phone-numbers/README.md | 10 +-- .../samples/v1/javascript/README.md | 12 +-- .../samples/v1/typescript/README.md | 12 +-- .../test/README.md | 4 +- sdk/communication/communication-sms/README.md | 12 +-- .../samples/v1/javascript/README.md | 8 +- .../samples/v1/typescript/README.md | 8 +- .../communication-sms/test/README.md | 4 +- sdk/confidentialledger/ci.yml | 2 - .../confidential-ledger-rest/README.md | 14 +-- .../samples/v1/javascript/README.md | 6 +- .../samples/v1/typescript/README.md | 6 +- sdk/containerregistry/ci.yml | 2 - .../container-registry/README.md | 8 +- .../samples/v1/javascript/README.md | 12 +-- .../samples/v1/typescript/README.md | 12 +-- sdk/core/README.md | 20 ++--- sdk/core/abort-controller/README.md | 2 +- sdk/core/ci.yml | 2 - sdk/core/core-amqp/CHANGELOG.md | 2 +- sdk/core/core-amqp/README.md | 2 +- .../core-asynciterator-polyfill/README.md | 2 +- sdk/core/core-auth/README.md | 2 +- sdk/core/core-client-rest/README.md | 2 +- sdk/core/core-client/CHANGELOG.md | 2 +- sdk/core/core-client/README.md | 2 +- sdk/core/core-crypto/README.md | 2 +- sdk/core/core-http/CHANGELOG.md | 2 +- sdk/core/core-http/README.md | 8 +- sdk/core/core-lro/CHANGELOG.md | 2 +- sdk/core/core-lro/README.md | 12 +-- sdk/core/core-lro/samples/README.md | 6 +- sdk/core/core-paging/README.md | 2 +- sdk/core/core-rest-pipeline/CHANGELOG.md | 2 +- sdk/core/core-rest-pipeline/README.md | 4 +- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- sdk/core/core-tracing/README.md | 2 +- sdk/core/core-util/README.md | 2 +- sdk/core/core-xml/README.md | 2 +- sdk/core/logger/README.md | 2 +- sdk/cosmosdb/ci.yml | 2 - sdk/cosmosdb/cosmos/README.md | 6 +- sdk/deviceupdate/ci.yml | 2 - sdk/deviceupdate/iot-device-update/README.md | 10 +-- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- sdk/digitaltwins/ci.yml | 2 - sdk/digitaltwins/digital-twins-core/README.md | 10 +-- .../samples/v1/javascript/README.md | 38 ++++---- .../samples/v1/typescript/README.md | 38 ++++---- .../ai-document-translator-rest/README.md | 18 ++-- .../samples/v1/javascript/README.md | 6 +- .../samples/v1/typescript/README.md | 6 +- sdk/documenttranslator/ci.yml | 2 - sdk/eventgrid/ci.yml | 2 - sdk/eventgrid/eventgrid/MIGRATION.md | 4 +- sdk/eventgrid/eventgrid/README.md | 12 +-- .../eventgrid/samples/v4/javascript/README.md | 8 +- .../eventgrid/samples/v4/typescript/README.md | 8 +- sdk/eventhub/README.md | 6 +- sdk/eventhub/ci.yml | 2 - sdk/eventhub/contribute.md | 2 +- sdk/eventhub/event-hubs/CHANGELOG.md | 8 +- sdk/eventhub/event-hubs/README.md | 12 +-- sdk/eventhub/event-hubs/migrationguide.md | 24 ++--- .../samples/browserSample/README.md | 12 +-- .../samples/expressSample/src/README.md | 4 +- .../event-hubs/samples/javascript/README.md | 14 +-- .../event-hubs/samples/typescript/README.md | 14 +-- sdk/eventhub/event-hubs/test/README.md | 4 +- .../event-processor-host/CHANGELOG.md | 6 +- sdk/eventhub/event-processor-host/README.md | 12 +-- .../event-processor-host/test/README.md | 4 +- .../eventhubs-checkpointstore-blob/README.md | 6 +- .../samples/v1/javascript/README.md | 6 +- .../samples/v1/typescript/README.md | 6 +- .../test/README.md | 4 +- sdk/eventhub/mock-hub/README.md | 6 +- .../ai-form-recognizer/README.md | 16 ++-- .../samples/v3/javascript/README.md | 38 ++++---- .../samples/v3/typescript/README.md | 38 ++++---- sdk/formrecognizer/ci.yml | 2 - sdk/identity/ci.yml | 2 - sdk/identity/identity/CHANGELOG.md | 6 +- sdk/identity/identity/README.md | 48 +++++----- .../interactive-browser-credential.md | 2 +- .../identity/samples/AzureIdentityExamples.md | 6 +- .../identity/samples/javascript/README.md | 8 +- .../identity/samples/typescript/README.md | 8 +- sdk/iot/ci.yml | 2 - sdk/iot/iot-modelsrepository/README.md | 2 +- .../samples/v1/javascript/README.md | 6 +- .../samples/v1/typescript/README.md | 6 +- sdk/keyvault/README.md | 8 +- sdk/keyvault/ci.yml | 2 - sdk/keyvault/keyvault-admin/CHANGELOG.md | 2 +- sdk/keyvault/keyvault-admin/README.md | 26 +++--- .../samples/v4/javascript/README.md | 8 +- .../samples/v4/typescript/README.md | 8 +- sdk/keyvault/keyvault-admin/test/README.md | 6 +- .../keyvault-certificates/CHANGELOG.md | 2 +- sdk/keyvault/keyvault-certificates/README.md | 14 +-- .../keyvault-certificates/migration-guide.md | 6 +- .../samples/v4/javascript/README.md | 22 ++--- .../samples/v4/typescript/README.md | 22 ++--- .../keyvault-certificates/test/README.md | 4 +- sdk/keyvault/keyvault-common/README.md | 10 +-- sdk/keyvault/keyvault-keys/CHANGELOG.md | 2 +- sdk/keyvault/keyvault-keys/README.md | 16 ++-- sdk/keyvault/keyvault-keys/migration-guide.md | 6 +- .../samples/v4/javascript/README.md | 8 +- .../samples/v4/typescript/README.md | 8 +- sdk/keyvault/keyvault-keys/test/README.md | 6 +- sdk/keyvault/keyvault-secrets/CHANGELOG.md | 2 +- sdk/keyvault/keyvault-secrets/README.md | 14 +-- .../keyvault-secrets/migration-guide.md | 6 +- .../samples/v4/javascript/README.md | 12 +-- .../samples/v4/typescript/README.md | 12 +-- sdk/keyvault/keyvault-secrets/test/README.md | 4 +- .../ai-metrics-advisor/README.md | 14 +-- .../samples/v1/javascript/README.md | 24 ++--- .../samples/v1/typescript/README.md | 24 ++--- sdk/metricsadvisor/ci.yml | 2 - sdk/mixedreality/ci.yml | 2 - .../mixedreality-authentication/README.md | 14 +-- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- sdk/monitor/ci.yml | 2 - .../monitor-opentelemetry-exporter/README.md | 4 +- .../samples/@azure/storage-blob/README.md | 4 +- .../@azure/storage-blob/javascript/README.md | 4 +- .../@azure/storage-blob/typescript/README.md | 4 +- sdk/monitor/monitor-query/README.md | 22 ++--- .../samples/v1/javascript/README.md | 8 +- .../samples/v1/typescript/README.md | 8 +- sdk/purview/ci.yml | 2 - sdk/purview/purview-catalog-rest/README.md | 12 +-- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- sdk/purview/purview-scanning-rest/README.md | 12 +-- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- sdk/quantum/ci.yml | 2 - sdk/quantum/quantum-jobs/README.md | 10 +-- sdk/schemaregistry/README.md | 4 +- sdk/schemaregistry/ci.yml | 4 +- .../schema-registry-avro/README.md | 12 +-- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- sdk/schemaregistry/schema-registry/README.md | 12 +-- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- sdk/search/ci.yml | 2 - sdk/search/search-documents/README.md | 12 +-- .../samples/javascript/README.md | 84 ++++++++--------- .../samples/typescript/README.md | 84 ++++++++--------- sdk/search/search-documents/test/README.md | 4 +- sdk/servicebus/README.md | 2 +- sdk/servicebus/ci.yml | 2 - sdk/servicebus/service-bus/CHANGELOG.md | 12 +-- sdk/servicebus/service-bus/README.md | 22 ++--- sdk/servicebus/service-bus/migrationguide.md | 6 +- .../samples/v7/javascript/README.md | 32 +++---- .../samples/v7/typescript/README.md | 32 +++---- sdk/servicebus/service-bus/test/README.md | 4 +- sdk/storage/CONTRIBUTING.md | 4 +- sdk/storage/README.md | 26 +++--- sdk/storage/ci.yml | 2 - sdk/storage/storage-blob-changefeed/README.md | 18 ++-- .../storage-blob-changefeed/samples/README.md | 10 +-- .../samples/javascript/README.md | 4 +- .../samples/typescript/README.md | 4 +- sdk/storage/storage-blob/README.md | 24 ++--- sdk/storage/storage-blob/samples/README.md | 2 +- .../storage-blob/samples/javascript/README.md | 32 +++---- .../storage-blob/samples/typescript/README.md | 32 +++---- sdk/storage/storage-blob/test/README.md | 4 +- sdk/storage/storage-datalake/README.md | 4 +- sdk/storage/storage-file-datalake/README.md | 16 ++-- .../samples/javascript/README.md | 2 +- .../samples/typescript/README.md | 2 +- .../storage-file-datalake/test/README.md | 4 +- sdk/storage/storage-file-share/CHANGELOG.md | 2 +- sdk/storage/storage-file-share/README.md | 18 ++-- .../samples/javascript/README.md | 22 ++--- .../samples/typescript/README.md | 22 ++--- sdk/storage/storage-file-share/test/README.md | 4 +- sdk/storage/storage-queue/CHANGELOG.md | 2 +- sdk/storage/storage-queue/README.md | 18 ++-- .../samples/javascript/README.md | 18 ++-- .../samples/typescript/README.md | 18 ++-- sdk/storage/storage-queue/test/README.md | 4 +- sdk/synapse/ci.yml | 2 - sdk/synapse/synapse-access-control/README.md | 2 +- sdk/synapse/synapse-artifacts/README.md | 2 +- .../README.md | 2 +- sdk/synapse/synapse-monitoring/README.md | 2 +- sdk/synapse/synapse-spark/README.md | 2 +- sdk/tables/ci.yml | 2 - sdk/tables/data-tables/CHANGELOG.md | 2 +- sdk/tables/data-tables/README.md | 4 +- .../samples/v12/javascript/README.md | 24 ++--- .../samples/v12/typescript/README.md | 24 ++--- sdk/template/ci.yml | 2 - sdk/template/template/README-EXAMPLE.md | 26 +++--- sdk/template/template/README.md | 8 +- .../template/samples/v1/javascript/README.md | 4 +- .../template/samples/v1/typescript/README.md | 4 +- sdk/test-utils/ci.yml | 2 - sdk/test-utils/perfstress/GettingStarted.md | 2 +- sdk/test-utils/perfstress/README.md | 6 +- sdk/test-utils/recorder/GUIDELINES.md | 2 +- sdk/test-utils/recorder/README.md | 8 +- sdk/test-utils/test-utils/README.md | 4 +- sdk/textanalytics/ai-text-analytics/README.md | 16 ++-- .../samples/v5/javascript/README.md | 24 ++--- .../samples/v5/typescript/README.md | 24 ++--- .../ai-text-analytics/test/README.md | 6 +- sdk/textanalytics/ci.yml | 2 - sdk/videoanalyzer/ci.yml | 4 +- sdk/web-pubsub/ci.yml | 2 - sdk/web-pubsub/web-pubsub-express/README.md | 4 +- .../samples/v1/javascript/README.md | 4 +- .../samples/v1/typescript/README.md | 4 +- sdk/web-pubsub/web-pubsub/README.md | 8 +- .../samples/v1/javascript/README.md | 8 +- .../samples/v1/typescript/README.md | 8 +- 275 files changed, 1262 insertions(+), 1329 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0a1b7223f6d1..29b58094dffe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,7 +51,7 @@ Rush provides many benefits: - When a change is made in a local dependency, Rush will detect that the dependency is dirty and will rebuild it if you attempt to build a project that consumes that dependency. - Rush runs project tasks in parallel, subject to the inter-project dependencies that it detects. It also performs incremental builds by default, not rebuilding anything unnecessary (unless you tell it to). -Not every library in the repository is managed by Rush yet, only those listed in the `projects` property in [rush.json](https://github.com/Azure/azure-sdk-for-js/blob/master/rush.json). Packages not managed by Rush can still be managed using `npm`. +Not every library in the repository is managed by Rush yet, only those listed in the `projects` property in [rush.json](https://github.com/Azure/azure-sdk-for-js/blob/main/rush.json). Packages not managed by Rush can still be managed using `npm`. ## Setting up your environment @@ -91,7 +91,7 @@ To build packages managed by Rush: To build packages not managed by Rush: -4. Navigate to the package directory as described in our [repository structure](https://github.com/Azure/azure-sdk/blob/master/docs/policies/repostructure.md) +4. Navigate to the package directory as described in our [repository structure](https://github.com/Azure/azure-sdk/blob/main/docs/policies/repostructure.md) 5. Install the package dependencies (`npm install`) 6. Build the package (`npm run build`) @@ -134,7 +134,7 @@ By default, Rush only displays things written to `STDERR`. If you want to see th If you want to run the tests of a specific project, go to that project's folder and execute `rushx test`. All of the tests will automatically run both in NodeJS and in the browser. To target these environments individually, you can run `rushx test:node` and `rushx test:browser`. -By default, these npm scripts run previously recorded tests. The recordings have been generated by using a custom recording library called [test-utils-recorder](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/recorder/README.md). We will examine how to run recorded tests and live tests in the following sections. +By default, these npm scripts run previously recorded tests. The recordings have been generated by using a custom recording library called [test-utils-recorder](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/README.md). We will examine how to run recorded tests and live tests in the following sections. #### Recorded tests @@ -152,7 +152,7 @@ The readme file in the `test` folder of each package lists the Azure resources a > Note: Our projects use dotenv to allow you to use `.env` files to set environment variables. Find the `sample.env` file nearest to the project you want to test to see a template of the expected `.env` file. -You can create the necessary Azure resources on your own, or automate this process by using the script called `New-TestResources.ps1` which uses ARM templates defined in a file named `test-resources.json` that exists in each project's folder. Follow the steps in [`Example 1 of New-TestResources.ps1`](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1.md#example-1) to set up a service principal and deploy the live test resources. +You can create the necessary Azure resources on your own, or automate this process by using the script called `New-TestResources.ps1` which uses ARM templates defined in a file named `test-resources.json` that exists in each project's folder. Follow the steps in [`Example 1 of New-TestResources.ps1`](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1.md#example-1) to set up a service principal and deploy the live test resources. #### Regenerating recordings @@ -160,7 +160,7 @@ If you modify the network calls (both the number of calls or their shape) either Regenerating the recordings has the same requirements as running the live tests. You will be using the same `test` npm script with the environment variables pointing to previously created Azure resources. The only difference is that the `TEST_MODE` environment variable needs to be set to `record`. When this process finishes without errors, the recordings will be updated. -For more information the recorder, please visit the [test-utils-recorder's readme](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/recorder/README.md). +For more information the recorder, please visit the [test-utils-recorder's readme](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/README.md). ### Other NPM scripts @@ -239,20 +239,20 @@ We used to have a git hook that formats your changed files on commit but it was ### Enforcing Azure SDK design guidelines -Our libraries follow the [TypeScript SDK design guidelines](https://azure.github.io/azure-sdk/typescript_introduction.html) to enhance the productivity of developers connecting to Azure services. These guidelines are enforced by our custom [ESLint plugin](https://github.com/Azure/azure-sdk-for-js/tree/master/common/tools/eslint-plugin-azure-sdk). Follow these instruction to use the plugin: +Our libraries follow the [TypeScript SDK design guidelines](https://azure.github.io/azure-sdk/typescript_introduction.html) to enhance the productivity of developers connecting to Azure services. These guidelines are enforced by our custom [ESLint plugin](https://github.com/Azure/azure-sdk-for-js/tree/main/common/tools/eslint-plugin-azure-sdk). Follow these instruction to use the plugin: + - [add `eslint` to your `devDependencies`](https://github.com/Azure/azure-sdk-for-js/blob/8ec9801c17b175573a115fc8b2d6cbaeb17b0b09/sdk/template/template/package.json#L106) - [add `eslint-plugin-azure-sdk` to your `devDependencies`](https://github.com/Azure/azure-sdk-for-js/blob/8ec9801c17b175573a115fc8b2d6cbaeb17b0b09/sdk/template/template/package.json#L93) - add a linting npm script as follows: - - ["lint": "eslint package.json api-extractor.json src test --ext .ts"](https://github.com/Azure/azure-sdk-for-js/blob/8ec9801c17b175573a115fc8b2d6cbaeb17b0b09/sdk/template/template/package.json#L49) + - ["lint": "eslint package.json api-extractor.json src test --ext .ts"](https://github.com/Azure/azure-sdk-for-js/blob/8ec9801c17b175573a115fc8b2d6cbaeb17b0b09/sdk/template/template/package.json#L49) You can run the plugin by excuting `rushx lint` inside your package directory. -If the package is internal, it should not follow the design guidelines and in turn should not be linted by the plugin. In this case, use the [internal configuration file](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/.eslintrc.internal.json) instead. For example: `"lint": "eslint --no-eslintrc -c ../../.eslintrc.internal.json package.json package.json src test --ext .ts"` - +If the package is internal, it should not follow the design guidelines and in turn should not be linted by the plugin. In this case, use the [internal configuration file](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/.eslintrc.internal.json) instead. For example: `"lint": "eslint --no-eslintrc -c ../../.eslintrc.internal.json package.json package.json src test --ext .ts"` ## Onboarding a new library -All libraries must follow our [repository structure](https://github.com/Azure/azure-sdk/blob/master/docs/policies/repostructure.md) (specifically, it must be located at `sdk//`) and your library's `package.json` must contain the required scripts as documented [above](#other-npm-scripts). +All libraries must follow our [repository structure](https://github.com/Azure/azure-sdk/blob/main/docs/policies/repostructure.md) (specifically, it must be located at `sdk//`) and your library's `package.json` must contain the required scripts as documented [above](#other-npm-scripts). The repository contains two different sets of libraries, each follows different rules for development and maintaining. The first type is generated automatically from the [swagger specifications](https://github.com/Azure/azure-rest-api-specs) and their code should not be edited by hand. Onboarding such library is just a matter of pushing its auto-generated directory to the right location in the repository. diff --git a/README.md b/README.md index 47e815a5bd22..85ebdaf28557 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@ Libraries which enable you to provision specific resources. They are responsible - For detailed documentation visit our [Azure SDK for JavaScript documentation](https://aka.ms/js-docs) - File an issue via [GitHub Issues](https://github.com/Azure/azure-sdk-for-js/issues) - Check [previous questions](https://stackoverflow.com/questions/tagged/azure-sdk-js) or ask new ones on StackOverflow using `azure-sdk-js` tag. -- Read our [Support documentation](https://github.com/Azure/azure-sdk-for-js/blob/master/SUPPORT.md). +- Read our [Support documentation](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md). ### Community -Try our [community resources](https://github.com/Azure/azure-sdk-for-js/blob/master/SUPPORT.md#community-resources). +Try our [community resources](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md#community-resources). ### Reporting security issues and security bugs @@ -47,7 +47,7 @@ Security issues and bugs should be reported privately, via email, to the Microso ## Contributing -For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md). +For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md). This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. diff --git a/common/smoke-test/README.md b/common/smoke-test/README.md index 3d41d3f99b23..639357edbfb6 100644 --- a/common/smoke-test/README.md +++ b/common/smoke-test/README.md @@ -5,7 +5,7 @@ uses package dependencies, loads all packages into a single process, and executes code samples to ensure basic end to end scenarios work as expected. Smoke Tests are meant to be run periodically in an Azure DevOps pipeline. See -[`smoke-tests.yml`](https://github.com/Azure/azure-sdk-for-js/blob/master/common/smoke-test/smoke-tests.yml) to configure Smoke Tests in an Azure +[`smoke-tests.yml`](https://github.com/Azure/azure-sdk-for-js/blob/main/common/smoke-test/smoke-tests.yml) to configure Smoke Tests in an Azure DevOps pipeline. When run in an Azure DevOps pipeline specify the `-CI` flag to ensure environment variables are properly set and error/warning messages are properly surfaced during the execution. @@ -24,7 +24,7 @@ package. - PowerShell 7 - [Azure Powershell cmdlets](https://docs.microsoft.com/powershell/azure/install-az-ps?view=azps-4.7.0) - Node 12.x -- Azure SDK for JS [`dev-tool`](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/dev-tool) +- Azure SDK for JS [`dev-tool`](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/dev-tool) ## Configuring Samples diff --git a/common/tools/dev-tool/README.md b/common/tools/dev-tool/README.md index 3f9b7b783610..9722111c2d66 100644 --- a/common/tools/dev-tool/README.md +++ b/common/tools/dev-tool/README.md @@ -13,14 +13,15 @@ It provides a place to centralize scripts, resources, and processes for developm `dev-tool` uses a command hierarchy. For example, at the time of writing, the command tree looks like this: `dev-tool` - - `about` (display command help and information) - - `package` - - `resolve` (display information about the project that owns a directory) - - `samples` - - `dev` (link samples to local sources for access to IntelliSense during development) - - `prep` (prepare samples for local source-linked execution) - - `run` (execute a sample or all samples within a directory) - - `check-node-versions` (execute samples with different node versions, typically in preparation for release) + +- `about` (display command help and information) +- `package` + - `resolve` (display information about the project that owns a directory) +- `samples` + - `dev` (link samples to local sources for access to IntelliSense during development) + - `prep` (prepare samples for local source-linked execution) + - `run` (execute a sample or all samples within a directory) + - `check-node-versions` (execute samples with different node versions, typically in preparation for release) The `dev-tool about` command will print some information about how to use the command. All commands additionally accept the `--help` argument, which will print information about the usage of that specific command. For example, to show help information for the `resolve` command above, issue the command `dev-tool package resolve --help`. @@ -40,6 +41,7 @@ To create a new leaf command in one of the existing sub-command, create a new Ty As an example, we can create a new `hello-world` command under the `dev-tool package` sub-command. The command will print out a string using the many different logging functions. It will accept an argument `--echo ` that specifies the string to be printed. `src/commands/package/hello-world.ts` + ```typescript // Copyright (c) Microsoft Corporation. // Licensed under the MIT license @@ -70,16 +72,17 @@ export default leafCommand(commandInfo, async (options) => { }); ``` -(__Note__: using the `makeCommandInfo` function is required to have strong type-checking on the `options` parameter of the handler. The `options` field of `commandInfo` must have a very strong type, and `makeCommandInfo` takes care of ensuring that the type is as strongly specified as possible.) +(**Note**: using the `makeCommandInfo` function is required to have strong type-checking on the `options` parameter of the handler. The `options` field of `commandInfo` must have a very strong type, and `makeCommandInfo` takes care of ensuring that the type is as strongly specified as possible.) As a last step, add a mapping for the `"hello-world"` command to the sub-command map in `src/commands/package/index.ts`. This will allow the command to resolve: `src/commands/package/index.ts` + ```typescript // ... export default subCommand(commandInfo, { - "hello-world": () => import("./hello-world"), + "hello-world": () => import("./hello-world") // ... rest of the sub-commands still here }); ``` @@ -101,6 +104,7 @@ As an example, we can convert the `hello-world` example above into a branching c Instead of creating a single file `hello-world.ts`, we will instead create a folder `src/commands/hello` and two ts files: `src/commands/hello/index.ts` and `src/commands/hello/world.ts`. In `src/commands/hello/index.ts`, we can define our new sub-command: `src/commands/hello/index.ts` + ```typescript // Copyright (c) Microsoft Corporation. // Licensed under the MIT license @@ -114,11 +118,12 @@ export default subCommand(commandInfo, { }); ``` -(__Note__: Since we don't have any arguments or options to add to the sub-command, the `options` argument to `makeCommandInfo` is omitted (since the sub-command just delegates to its child commands, we wouldn't be able to use any options in this parent command anyway).) +(**Note**: Since we don't have any arguments or options to add to the sub-command, the `options` argument to `makeCommandInfo` is omitted (since the sub-command just delegates to its child commands, we wouldn't be able to use any options in this parent command anyway).) This simple file establishes the mapping from the command name `"world"` to our new command module `src/commands/hello/world.ts`. The contents of `world.ts` are very similar to the previous `hello-world.ts` module, but we will change the `name` field of `commandInfo` and the argument to `createPrinter`: `src/commands/hello/world.ts` + ```typescript // Copyright (c) Microsoft Corporation. // Licensed under the MIT license @@ -130,27 +135,29 @@ const log = createPrinter("world"); export const commandInfo = makeCommandInfo("world", "print a lovely message", { echo: { - kind: "string", - description: "override the message to be printed", - default: "Hello world!" - }}); + kind: "string", + description: "override the message to be printed", + default: "Hello world!" + } +}); export default leafCommand(commandInfo, async (options) => { - // Demonstrate the colorized command output. - log("Normal:", options.echo); - log.success("Success:", options.echo); - log.info("Info:", options.echo); - log.warn("Warn:", options.echo); - log.error("Error:", options.echo); - log.debug("Debug:", options.echo); - - return true; + // Demonstrate the colorized command output. + log("Normal:", options.echo); + log.success("Success:", options.echo); + log.info("Info:", options.echo); + log.warn("Warn:", options.echo); + log.error("Error:", options.echo); + log.debug("Debug:", options.echo); + + return true; }); ``` The final step is to add a mapping to our new subcommand to the`baseCommands` map root `src/commands/index.ts` file: `src/commands/index.ts` + ```typescript // ... @@ -158,14 +165,14 @@ The final step is to add a mapping to our new subcommand to the`baseCommands` ma * All of dev-tool's base commands and the modules that define them */ export const baseCommands = { - "hello": () => import("./hello") + hello: () => import("./hello") // ... all other sub-commands still here } as const; // ... ``` -(__Note__: If we were adding our `hello` command to another sub-command rather than the root, we would just add it to that sub-command's `index.ts` instead of the root `src/commands/index.ts`, similar to how we added `hello-world` to `src/commands/package/index.ts` in the previous example.) +(**Note**: If we were adding our `hello` command to another sub-command rather than the root, we would just add it to that sub-command's `index.ts` instead of the root `src/commands/index.ts`, similar to how we added `hello-world` to `src/commands/package/index.ts` in the previous example.) ### Understanding the Options Type @@ -181,7 +188,7 @@ Each variant supports an optional `shortName` field that specifies a one-letter ### Final Developer Notes -- Using the `subCommand` and `leafCommand` helpers is not required. If a command module exports any function with the signature `(...args: string[]) => Promise` as its default export, it will run when the command is invoked and will be given the arguments passed in the parameters. __However__, only `subCommand` and `leafCommand` provide automatic argument parsing and handling of `--help`. The functions used to provide this behavior are located in the `src/util/commandBuilder.ts` module. +- Using the `subCommand` and `leafCommand` helpers is not required. If a command module exports any function with the signature `(...args: string[]) => Promise` as its default export, it will run when the command is invoked and will be given the arguments passed in the parameters. **However**, only `subCommand` and `leafCommand` provide automatic argument parsing and handling of `--help`. The functions used to provide this behavior are located in the `src/util/commandBuilder.ts` module. - Some additional helper modules can be found in `src/util` such as `resolveProject.ts` which walks up the directory hierarchy and finds the absolute path of the nearest SDK package directory (useful for commands like `samples` which always operate relative to the package directory) - The tool runs using the `transpileOnly` option in the `ts-node` configuration, meaning it does not perform run-time type-checking. The build step of the package will run type-checking using `tsc`, so to check the tool's code for type errors, simply use `rushx build`. @@ -199,4 +206,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. diff --git a/common/tools/eslint-plugin-azure-sdk/README.md b/common/tools/eslint-plugin-azure-sdk/README.md index f32bb85a6b1c..42b6f76e7966 100644 --- a/common/tools/eslint-plugin-azure-sdk/README.md +++ b/common/tools/eslint-plugin-azure-sdk/README.md @@ -76,48 +76,48 @@ Some rules (see table below) are fixable using the `--fix` ESLint option (added ### Rules -| Rule | Default | Fixable | Release | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ------------------ | ------- | -| [**github-source-headers**]https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/github-source-headers.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | -| [**ts-apisurface-standardized-verbs**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-apisurface-standardized-verbs.md) | :triangular_flag_on_post: | :x: | `1.2.0` | -| [**ts-apisurface-supportcancellation**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-apisurface-supportcancellation.md) | :triangular_flag_on_post: | :x: | `1.2.0` | -| [**ts-config-allowsyntheticdefaultimports**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-allowsyntheticdefaultimports.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-declaration**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-declaration.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-esmoduleinterop**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-esmoduleinterop.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-exclude**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-exclude.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-forceconsistentcasinginfilenames**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-forceconsistentcasinginfilenames.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-importhelpers**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-importhelpers.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-lib**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-lib.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-module**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-module.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-moduleresolution**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-moduleresolution.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | -| [**ts-config-no-experimentaldecorators**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-no-experimentaldecorators.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-sourcemap**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-sourcemap.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-strict**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-strict.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-config-target**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-target.md) | :triangular_flag_on_post: | :x: | `1.1.0` | -| [**ts-doc-internal**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-doc-internal.md) | :triangular_flag_on_post: | :x: | `1.1.0` | -| [**ts-error-handling**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-error-handling.md) | :heavy_multiplication_x: | :x: | `1.1.0` | -| [**ts-modules-only-named**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-modules-only-named.md) | :triangular_flag_on_post: | :x: | `1.1.0` | -| [**ts-naming-drop-noun**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-naming-drop-noun.md) | :triangular_flag_on_post: | :x: | `1.2.0` | -| [**ts-naming-options**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-naming-options.md) | :triangular_flag_on_post: | :x: | `1.2.0` | -| [**ts-naming-subclients**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-naming-subclients.md) | :triangular_flag_on_post: | :x: | `1.2.0` | -| [**ts-no-const-enums**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-no-const-enums.md) | :warning: | :heavy_check_mark: | `1.1.0` | -| [**ts-no-window**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-no-window.md) | :triangular_flag_on_post: | :heavy_check_mark: | `3.1.0` | -| [**ts-no-namespaces**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-no-namespaces.md) | :triangular_flag_on_post: | :x: | `1.2.0` | -| [**ts-package-json-author**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-author.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-package-json-bugs**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-bugs.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-package-json-engine-is-present**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-engine-is-present.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | -| [**ts-package-json-files-required**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-files-required.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | -| [**ts-package-json-homepage**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md) | :triangular_flag_on_post: | :x: | `1.0.0` | -| [**ts-package-json-keywords**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-keywords.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-package-json-license**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-license.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-package-json-main-is-cjs**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-main-is-cjs.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | -| [**ts-package-json-module**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-module.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | -| [**ts-package-json-name**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-name.md) | :triangular_flag_on_post: | :x: | `1.0.0` | -| [**ts-package-json-repo**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-repo.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-package-json-required-scripts**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-required-scripts.md) | :triangular_flag_on_post: | :x: | `1.0.0` | -| [**ts-package-json-sideeffects**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-sideeffects.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | -| [**ts-package-json-types**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-types.md) | :triangular_flag_on_post: | :x: | `1.1.0` | -| [**ts-pagination-list**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-pagination-list.md) | :triangular_flag_on_post: | :x: | `1.2.0` | -| [**ts-use-interface-parameters**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-use-interface-parameters.md) | :warning: | :x: | `1.1.0` | -| [**ts-use-promises**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-use-promises.md) | :triangular_flag_on_post: | :x: | `1.1.0` | -| [**ts-versioning-semver**](https://github.com/Azure/azure-sdk-for-js/blob/master/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-versioning-semver.md) | :triangular_flag_on_post: | :x: | `1.1.0` | +| Rule | Default | Fixable | Release | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ------------------ | ------- | +| [**github-source-headers**]https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/github-source-headers.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | +| [**ts-apisurface-standardized-verbs**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-apisurface-standardized-verbs.md) | :triangular_flag_on_post: | :x: | `1.2.0` | +| [**ts-apisurface-supportcancellation**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-apisurface-supportcancellation.md) | :triangular_flag_on_post: | :x: | `1.2.0` | +| [**ts-config-allowsyntheticdefaultimports**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-allowsyntheticdefaultimports.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-declaration**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-declaration.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-esmoduleinterop**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-esmoduleinterop.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-exclude**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-exclude.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-forceconsistentcasinginfilenames**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-forceconsistentcasinginfilenames.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-importhelpers**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-importhelpers.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-lib**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-lib.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-module**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-module.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-moduleresolution**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-moduleresolution.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | +| [**ts-config-no-experimentaldecorators**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-no-experimentaldecorators.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-sourcemap**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-sourcemap.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-strict**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-strict.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-config-target**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-config-target.md) | :triangular_flag_on_post: | :x: | `1.1.0` | +| [**ts-doc-internal**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-doc-internal.md) | :triangular_flag_on_post: | :x: | `1.1.0` | +| [**ts-error-handling**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-error-handling.md) | :heavy_multiplication_x: | :x: | `1.1.0` | +| [**ts-modules-only-named**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-modules-only-named.md) | :triangular_flag_on_post: | :x: | `1.1.0` | +| [**ts-naming-drop-noun**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-naming-drop-noun.md) | :triangular_flag_on_post: | :x: | `1.2.0` | +| [**ts-naming-options**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-naming-options.md) | :triangular_flag_on_post: | :x: | `1.2.0` | +| [**ts-naming-subclients**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-naming-subclients.md) | :triangular_flag_on_post: | :x: | `1.2.0` | +| [**ts-no-const-enums**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-no-const-enums.md) | :warning: | :heavy_check_mark: | `1.1.0` | +| [**ts-no-window**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-no-window.md) | :triangular_flag_on_post: | :heavy_check_mark: | `3.1.0` | +| [**ts-no-namespaces**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-no-namespaces.md) | :triangular_flag_on_post: | :x: | `1.2.0` | +| [**ts-package-json-author**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-author.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-package-json-bugs**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-bugs.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-package-json-engine-is-present**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-engine-is-present.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | +| [**ts-package-json-files-required**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-files-required.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | +| [**ts-package-json-homepage**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md) | :triangular_flag_on_post: | :x: | `1.0.0` | +| [**ts-package-json-keywords**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-keywords.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-package-json-license**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-license.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-package-json-main-is-cjs**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-main-is-cjs.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | +| [**ts-package-json-module**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-module.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.1.0` | +| [**ts-package-json-name**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-name.md) | :triangular_flag_on_post: | :x: | `1.0.0` | +| [**ts-package-json-repo**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-repo.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-package-json-required-scripts**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-required-scripts.md) | :triangular_flag_on_post: | :x: | `1.0.0` | +| [**ts-package-json-sideeffects**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-sideeffects.md) | :triangular_flag_on_post: | :heavy_check_mark: | `1.0.0` | +| [**ts-package-json-types**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-types.md) | :triangular_flag_on_post: | :x: | `1.1.0` | +| [**ts-pagination-list**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-pagination-list.md) | :triangular_flag_on_post: | :x: | `1.2.0` | +| [**ts-use-interface-parameters**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-use-interface-parameters.md) | :warning: | :x: | `1.1.0` | +| [**ts-use-promises**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-use-promises.md) | :triangular_flag_on_post: | :x: | `1.1.0` | +| [**ts-versioning-semver**](https://github.com/Azure/azure-sdk-for-js/blob/main/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-versioning-semver.md) | :triangular_flag_on_post: | :x: | `1.1.0` | diff --git a/common/tools/eslint-plugin-azure-sdk/ci.yml b/common/tools/eslint-plugin-azure-sdk/ci.yml index b4116e98eeda..2fd0a75e8df7 100644 --- a/common/tools/eslint-plugin-azure-sdk/ci.yml +++ b/common/tools/eslint-plugin-azure-sdk/ci.yml @@ -1,7 +1,6 @@ pr: branches: include: - - master - main paths: diff --git a/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md b/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md index 6618339904b4..d78b26c4e356 100644 --- a/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md +++ b/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md @@ -8,13 +8,13 @@ Requires `homepage` in `package.json` to be set to the library's readme. ```json { - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/README.md" + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/README.md" } ``` ```json { - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/" + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/" } ``` @@ -22,7 +22,7 @@ Requires `homepage` in `package.json` to be set to the library's readme. ```json { - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/README.md" + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/README.md" } ``` @@ -34,7 +34,7 @@ Requires `homepage` in `package.json` to be set to the library's readme. ```json { - "homepage": "https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/servicebus/service-bus/README.md" + "homepage": "https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/servicebus/service-bus/README.md" } ``` diff --git a/documentation/Bundling.md b/documentation/Bundling.md index a521dacbb853..5497187816cb 100644 --- a/documentation/Bundling.md +++ b/documentation/Bundling.md @@ -484,4 +484,4 @@ This will emit a compiled version of `index.html`, as well as any included scrip ## Examples -For real working examples of using each bundler with both TypeScript and JavaScript, please look at the [samples/Bundling](https://github.com/Azure/azure-sdk-for-js/tree/master/samples/Bundling) folder in this repository. +For real working examples of using each bundler with both TypeScript and JavaScript, please look at the [samples/Bundling](https://github.com/Azure/azure-sdk-for-js/tree/main/samples/Bundling) folder in this repository. diff --git a/documentation/using-azure-identity.md b/documentation/using-azure-identity.md index 2a48c17804de..d3a11ca7e078 100644 --- a/documentation/using-azure-identity.md +++ b/documentation/using-azure-identity.md @@ -24,7 +24,7 @@ platform needs two things: a tenant and an app registration created for that tenant. A "tenant" is basically instance of Azure Active Directory associated with your -Azure account. You can follow the instructions on [this quick start guide for +Azure account. You can follow the instructions on [this quick start guide for setting up a tenant](https://docs.microsoft.com/azure/active-directory/develop/quickstart-create-new-tenant) to check if you have AAD tenant already or, if not, create one. @@ -34,7 +34,7 @@ quickstart guide for app registrations](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app). Your app registration holds the configuration for how your application will authenticate users and services, so it's very important to it set up correctly -before using any of the credential types below. The section on each credential +before using any of the credential types below. The section on each credential will indicate which configuration settings it needs and how to use them. ### Should my App be Single or Multi Tenant? @@ -58,18 +58,18 @@ personal Microsoft accounts after it's already created. ## Understanding the Credential Types Microsoft identity platform provides a variety of authentication flows that -serve different use cases and application types. A primary differentiator +serve different use cases and application types. A primary differentiator between these flows is whether the "client" that initiates the flow is running on a user device or on a system managed by the application developer (like a web -server). The [Microsoft Authentication +server). The [Microsoft Authentication Library](https://docs.microsoft.com/azure/active-directory/develop/msal-client-applications) documentation describes this distinction as _public_ versus _confidential_ clients. Most of the credential types are strictly public or confidential as they serve a specific purpose, like authenticating a backend service for use with storage -APIs. Some credentials may be both public or confidential depending on how you -configure them. For example, the [authorization code +APIs. Some credentials may be both public or confidential depending on how you +configure them. For example, the [authorization code flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow) can be initiated from a mobile application _or_ from within a web application running in a server. @@ -88,9 +88,9 @@ credential for your application: - If not, use the `EnvironmentCredential` - **Do you want your application to pick the appropriate credential type based on the -environment?** + environment?** - - Use the `DefaultAzureCredential` + - Use the `DefaultAzureCredential` - **Is the application deployed to a user device or running in the browser?** @@ -109,16 +109,16 @@ The identity platform provides an authorization model for Azure services with permissions](https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent#troubleshooting-permissions-and-consent): - **Application permissions** authorize an application to access resources - directly. Administrator consent must be granted to your application. + directly. Administrator consent must be granted to your application. - **Delegated permissions** authorize an application to access resources on - behalf of a specific user. The user may grant permission to your application + behalf of a specific user. The user may grant permission to your application unless the permission requires administrator consent. If you are only using _confidential credentials_ you should only need to be -concerned with application permissions. If you will be authenticating users +concerned with application permissions. If you will be authenticating users with a _public credential_, you must configure API permissions for the Azure service you need to access (Key Vault, Storage, etc) so that user accounts can -be authorized to use them through your application. The [quick start guide for +be authorized to use them through your application. The [quick start guide for configuring API permissions](https://docs.microsoft.com/azure/active-directory/develop/quickstart-configure-app-access-web-apis) explains how to do this in detail. @@ -128,19 +128,19 @@ explains how to do this in detail. When a user is being authenticated to access a service that is configured with delegated permissions, they may be presented with a consent screen that asks whether they want to grant your application permission to access resources on -their behalf. An example of this consent flow can be found in the [consent +their behalf. An example of this consent flow can be found in the [consent framework documentation page](https://docs.microsoft.com/azure/active-directory/develop/consent-framework). An administrator can also grant consent for your application on behalf of all -users. In this case, users may never see a consent screen. If you'd like to +users. In this case, users may never see a consent screen. If you'd like to make it easy for an administrator to grant access to all users, follow the instructions in the [admin consent endpoint request documentation](https://docs.microsoft.com/azure/active-directory/develop/v2-permissions-and-consent#request-the-permissions-from-a-directory-admin). There are some cases where a user may not be allowed to grant consent to an -application. When this occurs, the user may have to speak with an administrator -to have the permissions granted on their behalf. The [user consent +application. When this occurs, the user may have to speak with an administrator +to have the permissions granted on their behalf. The [user consent troubleshooting page](https://docs.microsoft.com/azure/active-directory/manage-apps/application-sign-in-unexpected-user-consent-error) provides more details on the consent errors a user might encounter. @@ -175,7 +175,7 @@ on which credential you are using. The `UsernamePasswordCredential` follows the [resource owner password credential flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc) -to authenticate public or confidential clients. To use this credential, you +to authenticate public or confidential clients. To use this credential, you will need the `tenantId` and `clientId` of your app and a `username` and `password` of the user you are authenticating. @@ -187,19 +187,19 @@ This credential type supports multi-tenant app registrations so you may pass `organizations` as the `tenantId` to enable users from any organizational tenant to authenticate. -Generally speaking, we *do not* recommend using this credential type when other -more secure credential types are available. Handling the user's password +Generally speaking, we _do not_ recommend using this credential type when other +more secure credential types are available. Handling the user's password directly is a major security risk. > NOTE: This credential type does not work with personal Microsoft accounts or -> multi-factor authentication at this time. See the +> multi-factor authentication at this time. See the > [documentation](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc) > for more information. ### EnvironmentCredential The `EnvironmentCredential` looks for well-known environment variable names to -determine how it should authenticate. It effectively acts as a wrapper for the +determine how it should authenticate. It effectively acts as a wrapper for the `ClientSecretCredential`, `ClientCertificateCredential` or `UsernamePasswordCredential` depending on which environment variables are present. @@ -210,7 +210,7 @@ Containers, etc. In all cases, the `AZURE_TENANT_ID` and `AZURE_CLIENT_ID` environment variables are expected to be present to use this credential as they identify your -application. The following environment variables will then be tried in order: +application. The following environment variables will then be tried in order: - `AZURE_CLIENT_SECRET` - A client secret to be used with `ClientSecretCredential` @@ -231,7 +231,7 @@ machines, App Services, Functions, Container Services, [and more](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/services-support-managed-identities). One important distinction of this credential compared to the others is that it -_does not require an app registration_. This authentication scheme relates to +_does not require an app registration_. This authentication scheme relates to the actual Azure resources to which your code is deployed rather than the application itself. @@ -251,13 +251,13 @@ to other Azure services through role assignments. If you have configured your resource to use a system-assigned identity, you can just create an instance of `ManagedIdentityCredential` without any -configuration. For user-assigned identities, you must provide the `clientId` of +configuration. For user-assigned identities, you must provide the `clientId` of the managed identity you wish to use for authentication. More information on configuring and using managed identities can be found in the [Managed identities for Azure resources](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview) -documentation. There is also a [list of Azure +documentation. There is also a [list of Azure services](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/services-support-managed-identities#azure-services-that-support-azure-ad-authentication) that have been tested to confirm support for managed identity authentication. @@ -265,7 +265,7 @@ that have been tested to confirm support for managed identity authentication. The `InteractiveBrowserCredential` follows the [implicit grant flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-implicit-grant-flow) -which enables authentication for clients that run completely in the browser. It +which enables authentication for clients that run completely in the browser. It is primarily useful for single-page web applications (SPAs) which need to authenticate to access Azure resources and APIs directly. @@ -274,8 +274,8 @@ configured with both the **Access tokens** and **ID tokens** options checked und **Implicit grant** in the **Authentication** page. You will also need to add a redirect URI in the **Redirect URIs** section of the -**Authentication** page for your app registration. The redirect URI must point -to the URI of your web application. You must also make sure to specify the same +**Authentication** page for your app registration. The redirect URI must point +to the URI of your web application. You must also make sure to specify the same URI in the `redirectUri` field of the `InteractiveBrowserCredentialOptions` when creating an `InteractiveBrowserCredential`. @@ -302,15 +302,14 @@ which enables server-hosted web applications, native desktop and mobile applications, and web APIs to access resources on the user's behalf. This credential requires that the developer have an HTTP(S) endpoint exposed -which can receive the authentication response redirect. The URI at which you +which can receive the authentication response redirect. The URI at which you host this endpoint must be added to the **Redirect URIs** list on the -**Authentication** page of your app registration. If you are developing +**Authentication** page of your app registration. If you are developing locally, you can also add a redirect URI for your development endpoint (e.g. `http://localhost:8080/authresponse`). A complete example of hosting your own authentication response endpoint can be -found in the [`authorization code -sample`](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/manual/authorizationCodeSample.ts). +found in the [`authorization code sample`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/manual/authorizationCodeSample.ts). ### DefaultAzureCredential diff --git a/eng/pipelines/aggregate-reports.yml b/eng/pipelines/aggregate-reports.yml index e20d314b0f8f..fd3a7fa9922d 100644 --- a/eng/pipelines/aggregate-reports.yml +++ b/eng/pipelines/aggregate-reports.yml @@ -3,7 +3,6 @@ trigger: none pr: branches: include: - - master - main paths: include: diff --git a/eng/pipelines/mgmt-ci.yml b/eng/pipelines/mgmt-ci.yml index ca673f27b163..c2178aaa4235 100644 --- a/eng/pipelines/mgmt-ci.yml +++ b/eng/pipelines/mgmt-ci.yml @@ -1,7 +1,6 @@ trigger: branches: include: - - master - main paths: include: diff --git a/eng/pipelines/mgmt-pr.yml b/eng/pipelines/mgmt-pr.yml index b9ae1e217831..e9f9a9db5a66 100644 --- a/eng/pipelines/mgmt-pr.yml +++ b/eng/pipelines/mgmt-pr.yml @@ -1,7 +1,6 @@ pr: branches: include: - - master - main - '*-preview' paths: diff --git a/eng/tools/versioning/README.md b/eng/tools/versioning/README.md index fed41ed107b8..2632da5930bd 100644 --- a/eng/tools/versioning/README.md +++ b/eng/tools/versioning/README.md @@ -6,7 +6,7 @@ Versioning tools make updating package versions easier. These tools target packa ### increment.js -Increment the version number after a release according to [version policies](https://github.com/Azure/azure-sdk/blob/master/docs/policies/releases.md#incrementing-after-release). Uses the current version in package.json to determine the next version. +Increment the version number after a release according to [version policies](https://github.com/Azure/azure-sdk/blob/main/docs/policies/releases.md#incrementing-after-release). Uses the current version in package.json to determine the next version. ```bash node increment.js --artifact-name azure-tempate @@ -94,5 +94,4 @@ const irrelevantVersion = "1.0.0" In the above example we see a `packageVersion` that we want to replace and an `irrelevantVersion` that, if replaced, would cause problems with how the code operates. In this case, one would set the prefix to `packageVersion`. The tool matches the prefix on the line and handles any characters between the prefix and a version string (i.e. assignment operators like `=` or `:` in the case of a mapping). - ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Feng%2Ftools%2Fversioning%2FREADME.png) diff --git a/samples/README.md b/samples/README.md index ebea32c86f88..d341f325fffc 100644 --- a/samples/README.md +++ b/samples/README.md @@ -21,7 +21,7 @@ The Azure SDK repository is organized in the following folder structure, with th ## Getting Started Samples -Each package folder contains a package-specific `README.md` file. Most of these `README` files contain samples illustrating basic usage of the the APIs contained in the package. For example, you can find the Getting Started samples for the `@azure/storage-blob` package [here](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob#examples). +Each package folder contains a package-specific `README.md` file. Most of these `README` files contain samples illustrating basic usage of the the APIs contained in the package. For example, you can find the Getting Started samples for the `@azure/storage-blob` package [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob#examples). ## Package Samples and How-To Guides @@ -29,7 +29,7 @@ Each package folder contains a subfolder called `samples` with additional code s ## Global Samples -Samples that apply to every package or to no package in particular are located in subdirectories within the root `/samples` directory. For example, the [`/samples/Bundling`](https://github.com/Azure/azure-sdk-for-js/tree/master/samples/Bundling) directory contains sample code illustrating how to configure package bundling tools to work with the Azure SDK for JS packages: +Samples that apply to every package or to no package in particular are located in subdirectories within the root `/samples` directory. For example, the [`/samples/Bundling`](https://github.com/Azure/azure-sdk-for-js/tree/main/samples/Bundling) directory contains sample code illustrating how to configure package bundling tools to work with the Azure SDK for JS packages: - `/samples/Bundling` - `/parcel` (samples for using the SDK packages with parcel) @@ -40,7 +40,7 @@ Samples that apply to every package or to no package in particular are located i (The `rollup` and `webpack` directories also have `js` and `ts` subdirectories for JavaScript and TypeScript respectively.) -For more information on package bundling, see [`/documentation/Bundling.md`](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md). +For more information on package bundling, see [`/documentation/Bundling.md`](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md). ## Sample Applications diff --git a/sdk/agrifood/agrifood-farming-rest/README.md b/sdk/agrifood/agrifood-farming-rest/README.md index 6078dc623d10..f22b933c58a8 100644 --- a/sdk/agrifood/agrifood-farming-rest/README.md +++ b/sdk/agrifood/agrifood-farming-rest/README.md @@ -105,10 +105,10 @@ const result = await client.path("/farmers/{farmerId}", farmerId).patch({ name: "Contoso Farmer", description: "Your custom farmer description here", status: "Active", - properties: { foo: "bar", "numeric one": 1, "1": "numeric key" }, + properties: { foo: "bar", "numeric one": 1, "1": "numeric key" } }, // Set the content-type of the request - contentType: "application/merge-patch+json", + contentType: "application/merge-patch+json" }); if (result.status !== "200" && result.status !== "201") { @@ -174,7 +174,7 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps @@ -184,7 +184,7 @@ For more extensive documentation on the FarmBeats, see the [FarmBeats documentat ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -193,16 +193,16 @@ If you'd like to contribute to this library, please read the [contributing guide ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fagrifood%2Fagrifood-farming-rest%2FREADME.png) [product_documentation]: https://docs.microsoft.com/azure/industry/agriculture/overview-azure-farmbeats -[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/rest-clients.md -[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/agrifood/agrifood-farming-rest +[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md +[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/agrifood-farming-rest [npm]: https://www.npmjs.com/org/azure-rest [ref_docs]: https://azure.github.io/azure-sdk-for-js [azure_subscription]: https://azure.microsoft.com/free/ [farmbeats_resource]: https://docs.microsoft.com/azure/industry/agriculture/install-azure-farmbeats [authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token -[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#credentials +[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials [azure_identity_npm]: https://www.npmjs.com/package/@azure/identity -[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential [install_farmbeats]: https://aka.ms/FarmBeatsInstallDocumentationPaaS [farm_hierarchy]: https://aka.ms/FarmBeatsFarmHierarchyDocs [scenes]: https://aka.ms/FarmBeatsSatellitePaaSDocumentation diff --git a/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/README.md b/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/README.md index bfa71e5593d5..1cf6b9e8c04b 100644 --- a/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/README.md +++ b/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/README.md @@ -58,10 +58,10 @@ npx cross-env FARMBEATS_ENDPOINT="" node deleteFarmer.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[deletefarmer]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/deleteFarmer.js -[listfarmers]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/listFarmers.js -[createfarmer]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/createFarmer.js +[deletefarmer]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/deleteFarmer.js +[listfarmers]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/listFarmers.js +[createfarmer]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/createFarmer.js [apiref]: https://docs.microsoft.com/javascript [freesub]: https://azure.microsoft.com/free/ [createinstance_azurefarmbeatsserviceinstance]: https://docs.microsoft.com/azure/industry/agriculture/install-azure-farmbeats -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/agrifood/agrifood-farming-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/agrifood-farming-rest/README.md diff --git a/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/README.md b/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/README.md index f4ce1f12e1d0..74b6192e8f4e 100644 --- a/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/README.md +++ b/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/README.md @@ -70,11 +70,11 @@ npx cross-env FARMBEATS_ENDPOINT="" node dist/deleteFarmer.j Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[deletefarmer]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/src/deleteFarmer.ts -[listfarmers]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/src/listFarmers.ts -[createfarmer]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/src/createFarmer.ts +[deletefarmer]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/src/deleteFarmer.ts +[listfarmers]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/src/listFarmers.ts +[createfarmer]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/src/createFarmer.ts [apiref]: https://docs.microsoft.com/javascript [freesub]: https://azure.microsoft.com/free/ [createinstance_azurefarmbeatsserviceinstance]: https://docs.microsoft.com/azure/industry/agriculture/install-azure-farmbeats -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/agrifood/agrifood-farming-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/agrifood-farming-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/agrifood/ci.yml b/sdk/agrifood/ci.yml index fba4be93c0ee..8122f4a22a2a 100644 --- a/sdk/agrifood/ci.yml +++ b/sdk/agrifood/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/anomalydetector/ai-anomaly-detector/README.md b/sdk/anomalydetector/ai-anomaly-detector/README.md index ebd27be42df7..18c2c028d19a 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/README.md +++ b/sdk/anomalydetector/ai-anomaly-detector/README.md @@ -2,11 +2,11 @@ [Azure AnomalyDetector](https://azure.microsoft.com/services/cognitive-services/anomaly-detector/) API enables you to monitor and detect abnormalities in your time series data with machine learning. -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/) | [Package (NPM)](https://www.npmjs.com/package/@azure/ai-anomaly-detector) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-anomaly-detector) | [Product documentation](https://docs.microsoft.com/azure/cognitive-services/anomaly-detector/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/anomalydetector/ai-anomaly-detector/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector/samples) ## Key concepts @@ -153,7 +153,7 @@ main().catch((err) => { }); ``` -More Samples can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/anomalydetector/ai-anomaly-detector/samples) +More Samples can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector/samples) ## Troubleshooting @@ -167,12 +167,12 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps Please take a look at the -[samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/anomalydetector/ai-anomaly-detector/samples) +[samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector/samples) directory for detailed examples on how to use this library. ## Contributing @@ -189,4 +189,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. diff --git a/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/README.md b/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/README.md index ac722fe7e214..0ff409e74ec0 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/README.md +++ b/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/README.md @@ -59,10 +59,10 @@ npx cross-env API_KEY="" ENDPOINT="" node sample_detect_chang Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[sample_detect_change_point]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/sample_detect_change_point.js -[sample_detect_entire_series_anomaly]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/sample_detect_entire_series_anomaly.js -[sample_detect_last_point_anomaly]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/sample_detect_last_point_anomaly.js +[sample_detect_change_point]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/sample_detect_change_point.js +[sample_detect_entire_series_anomaly]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/sample_detect_entire_series_anomaly.js +[sample_detect_last_point_anomaly]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/sample_detect_last_point_anomaly.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/ai-anomaly-detector [freesub]: https://azure.microsoft.com/free/ [createinstance_azureanomalydetectorinstance]: https://docs.microsoft.com/azure/cognitive-services/anomaly-detector/quickstarts/client-libraries?tabs=windows&pivots=programming-language-javascript -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/anomalydetector/ai-anomaly-detector/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector/README.md diff --git a/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/README.md b/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/README.md index 3dfec82e4b13..5a3e716f4cd1 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/README.md +++ b/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/README.md @@ -71,11 +71,11 @@ npx cross-env API_KEY="" ENDPOINT="" node dist/sample_detect_ Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[sample_detect_change_point]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/src/sample_detect_change_point.ts -[sample_detect_entire_series_anomaly]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/src/sample_detect_entire_series_anomaly.ts -[sample_detect_last_point_anomaly]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/src/sample_detect_last_point_anomaly.ts +[sample_detect_change_point]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/src/sample_detect_change_point.ts +[sample_detect_entire_series_anomaly]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/src/sample_detect_entire_series_anomaly.ts +[sample_detect_last_point_anomaly]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/src/sample_detect_last_point_anomaly.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/ai-anomaly-detector [freesub]: https://azure.microsoft.com/free/ [createinstance_azureanomalydetectorinstance]: https://docs.microsoft.com/azure/cognitive-services/anomaly-detector/quickstarts/client-libraries?tabs=windows&pivots=programming-language-javascript -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/anomalydetector/ai-anomaly-detector/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/anomalydetector/ci.yml b/sdk/anomalydetector/ci.yml index a05a1bab46a4..94b4944ea6be 100644 --- a/sdk/anomalydetector/ci.yml +++ b/sdk/anomalydetector/ci.yml @@ -4,7 +4,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -16,7 +15,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/appconfiguration/app-configuration/README.md b/sdk/appconfiguration/app-configuration/README.md index abad9d0d5be8..fd135434c83c 100644 --- a/sdk/appconfiguration/app-configuration/README.md +++ b/sdk/appconfiguration/app-configuration/README.md @@ -8,11 +8,11 @@ Use the client library for App Configuration to: - Tag keys with labels - Replay settings from any point in time -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/) | [Package (NPM)](https://www.npmjs.com/package/@azure/app-configuration) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/app-configuration) | [Product documentation](https://docs.microsoft.com/azure/azure-app-configuration/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples) ## Getting started @@ -49,7 +49,7 @@ Authentication via service principal is done by: - Setting appropriate RBAC rules on your AppConfiguration resource. More information on App Configuration roles can be found [here](https://docs.microsoft.com/azure/azure-app-configuration/concept-enable-rbac#azure-built-in-roles-for-azure-app-configuration). -Using [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md#defaultazurecredential) +Using [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md#defaultazurecredential) ```javascript const azureIdentity = require("@azure/identity"); @@ -62,7 +62,7 @@ const client = new appConfig.AppConfigurationClient( ); ``` -More information about `@azure/identity` can be found [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) +More information about `@azure/identity` can be found [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) #### Authenticating with a connection string @@ -153,20 +153,20 @@ run().catch((err) => console.log("ERROR:", err)); The following samples show you the various ways you can interact with App Configuration: -- [`helloworld.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworld.ts) - Get, set, and delete configuration values. -- [`helloworldWithLabels.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworldWithLabels.ts) - Use labels to add additional dimensions to your settings for scenarios like beta vs production. -- [`optimisticConcurrencyViaEtag.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/optimisticConcurrencyViaEtag.ts) - Set values using etags to prevent accidental overwrites. -- [`setReadOnlySample.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/setReadOnlySample.ts) - Marking settings as read-only to prevent modification. -- [`getSettingOnlyIfChanged.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/getSettingOnlyIfChanged.ts) - Get a setting only if it changed from the last time you got it. -- [`listRevisions.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/listRevisions.ts) - List the revisions of a key, allowing you to see previous values and when they were set. -- [`secretReference.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/secretReference.ts) - SecretReference represents a configuration setting that references as KeyVault secret. -- [`featureFlag.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/featureFlag.ts) - Feature flags are settings that follow specific JSON schema for the value. +- [`helloworld.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworld.ts) - Get, set, and delete configuration values. +- [`helloworldWithLabels.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworldWithLabels.ts) - Use labels to add additional dimensions to your settings for scenarios like beta vs production. +- [`optimisticConcurrencyViaEtag.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/optimisticConcurrencyViaEtag.ts) - Set values using etags to prevent accidental overwrites. +- [`setReadOnlySample.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/setReadOnlySample.ts) - Marking settings as read-only to prevent modification. +- [`getSettingOnlyIfChanged.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/getSettingOnlyIfChanged.ts) - Get a setting only if it changed from the last time you got it. +- [`listRevisions.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/listRevisions.ts) - List the revisions of a key, allowing you to see previous values and when they were set. +- [`secretReference.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/secretReference.ts) - SecretReference represents a configuration setting that references as KeyVault secret. +- [`featureFlag.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/featureFlag.ts) - Feature flags are settings that follow specific JSON schema for the value. -More in-depth examples can be found in the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/) folder on GitHub. +More in-depth examples can be found in the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/) folder on GitHub. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. This module's tests are a mixture of live and unit tests, which require you to have an Azure App Configuration instance. To execute the tests you'll need to run: @@ -177,7 +177,7 @@ This module's tests are a mixture of live and unit tests, which require you to h 4. `cd sdk\appconfiguration\app-configuration` 5. `npm run test`. -View our [tests](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/test) +View our [tests](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/test) folder for more details. ## Related projects diff --git a/sdk/appconfiguration/app-configuration/sample-react/README.md b/sdk/appconfiguration/app-configuration/sample-react/README.md index 698a03782454..b74c4757d55c 100644 --- a/sdk/appconfiguration/app-configuration/sample-react/README.md +++ b/sdk/appconfiguration/app-configuration/sample-react/README.md @@ -95,5 +95,5 @@ Take a look at our [Samples][samples] for more information about the APIs that a [react]: https://create-react-app.dev/ [typescript]: https://www.typescriptlang.org/docs/home.html [freesub]: https://azure.microsoft.com/free -[samples]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript -[identity]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md +[samples]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript +[identity]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md diff --git a/sdk/appconfiguration/app-configuration/samples/v1/javascript/README.md b/sdk/appconfiguration/app-configuration/samples/v1/javascript/README.md index 634431a5ef08..28e1b261b0e8 100644 --- a/sdk/appconfiguration/app-configuration/samples/v1/javascript/README.md +++ b/sdk/appconfiguration/app-configuration/samples/v1/javascript/README.md @@ -64,16 +64,16 @@ npx cross-env APPCONFIG_CONNECTION_STRING="" node h Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/helloworld.js -[helloworldwithlabels]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/helloworldWithLabels.js -[optimisticconcurrencyviaetag]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/optimisticConcurrencyViaEtag.js -[setreadonlysample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/setReadOnlySample.js -[getsettingonlyifchanged]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/getSettingOnlyIfChanged.js -[listconfigurationsettings]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/listConfigurationSettings.js -[listrevisions]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/listRevisions.js -[secretreference]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/secretReference.js -[featureflag]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/javascript/featureFlag.js +[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/helloworld.js +[helloworldwithlabels]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/helloworldWithLabels.js +[optimisticconcurrencyviaetag]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/optimisticConcurrencyViaEtag.js +[setreadonlysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/setReadOnlySample.js +[getsettingonlyifchanged]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/getSettingOnlyIfChanged.js +[listconfigurationsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/listConfigurationSettings.js +[listrevisions]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/listRevisions.js +[secretreference]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/secretReference.js +[featureflag]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/javascript/featureFlag.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/app-configuration [freesub]: https://azure.microsoft.com/free/ [createinstance_azureappconfigurationaccount]: https://docs.microsoft.com/azure/azure-app-configuration/quickstart-aspnet-core-app?tabs=core5x#create-an-app-configuration-store -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/README.md diff --git a/sdk/appconfiguration/app-configuration/samples/v1/typescript/README.md b/sdk/appconfiguration/app-configuration/samples/v1/typescript/README.md index 7ea0f354b376..3afcf320573d 100644 --- a/sdk/appconfiguration/app-configuration/samples/v1/typescript/README.md +++ b/sdk/appconfiguration/app-configuration/samples/v1/typescript/README.md @@ -76,17 +76,17 @@ npx cross-env APPCONFIG_CONNECTION_STRING="" node d Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworld.ts -[helloworldwithlabels]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworldWithLabels.ts -[optimisticconcurrencyviaetag]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/optimisticConcurrencyViaEtag.ts -[setreadonlysample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/setReadOnlySample.ts -[getsettingonlyifchanged]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/getSettingOnlyIfChanged.ts -[listconfigurationsettings]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/listConfigurationSettings.ts -[listrevisions]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/listRevisions.ts -[secretreference]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/secretReference.ts -[featureflag]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/featureFlag.ts +[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworld.ts +[helloworldwithlabels]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworldWithLabels.ts +[optimisticconcurrencyviaetag]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/optimisticConcurrencyViaEtag.ts +[setreadonlysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/setReadOnlySample.ts +[getsettingonlyifchanged]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/getSettingOnlyIfChanged.ts +[listconfigurationsettings]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/listConfigurationSettings.ts +[listrevisions]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/listRevisions.ts +[secretreference]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/secretReference.ts +[featureflag]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/featureFlag.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/app-configuration [freesub]: https://azure.microsoft.com/free/ [createinstance_azureappconfigurationaccount]: https://docs.microsoft.com/azure/azure-app-configuration/quickstart-aspnet-core-app?tabs=core5x#create-an-app-configuration-store -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/appconfiguration/app-configuration/test/README.md b/sdk/appconfiguration/app-configuration/test/README.md index baeb1da9a780..bd64d503a02d 100644 --- a/sdk/appconfiguration/app-configuration/test/README.md +++ b/sdk/appconfiguration/app-configuration/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/appconfiguration/ci.yml b/sdk/appconfiguration/ci.yml index 85dd6e9b9c30..78672bcbe0a1 100644 --- a/sdk/appconfiguration/ci.yml +++ b/sdk/appconfiguration/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/attestation/attestation/README.md b/sdk/attestation/attestation/README.md index 3e3bba601594..50db5844228f 100644 --- a/sdk/attestation/attestation/README.md +++ b/sdk/attestation/attestation/README.md @@ -87,7 +87,7 @@ Use the [Azure CLI][azure_cli] snippet below to create/get client secret credent $Env:AZURE_TENANT_ID="tenant-ID" ``` -For more information about the Azure Identity APIs and how to use them, see [Azure Identity client library](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity) +For more information about the Azure Identity APIs and how to use them, see [Azure Identity client library](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity) ## Key concepts @@ -277,7 +277,7 @@ Use `get_signing_certificates` to retrieve the certificates which can be used to ## Troubleshooting -Most Attestation service operations will raise exceptions defined in [Azure Core](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/README.md). The attestation service APIs will throw a `HttpResponseError` on failure with helpful error codes. Many of these errors are recoverable. +Most Attestation service operations will raise exceptions defined in [Azure Core](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/README.md). The attestation service APIs will throw a `HttpResponseError` on failure with helpful error codes. Many of these errors are recoverable. ```ts @@ -293,7 +293,7 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). Additional troubleshooting information for the MAA service can be found [here](https://docs.microsoft.com/azure/attestation/troubleshoot-guide) @@ -318,7 +318,7 @@ If you encounter any bugs or have suggestions, please file an issue in the section of the project. -[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/attestation/attestation +[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/attestation [azure_identity]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-identity/2.0.0-beta.3/index.html [DefaultAzureCredential]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-identity/2.0.0-beta.3/classes/defaultazurecredential.html [attestation_policy_result]:https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/interfaces/policyresult.html @@ -338,7 +338,7 @@ section of the project. [json_web_token]: https://tools.ietf.org/html/rfc7519 [JWK]: https://tools.ietf.org/html/rfc7517 [base64url_encoding]: https://tools.ietf.org/html/rfc4648#section-5 -[contributing]: https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md +[contributing]: https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md [coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ ## Related projects diff --git a/sdk/attestation/ci.yml b/sdk/attestation/ci.yml index 163f4260404d..842bde13471c 100644 --- a/sdk/attestation/ci.yml +++ b/sdk/attestation/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/communication/CONTRIBUTING.md b/sdk/communication/CONTRIBUTING.md index bfd1065f8ef2..214c20118d1f 100644 --- a/sdk/communication/CONTRIBUTING.md +++ b/sdk/communication/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing Guide -This a contributing guide made specifically for the Azure Communication Services SDK. The Azure SDK repo also has a contributing guide that might help you in some other general processes this guide assumes you have done. If you haven't checked that one out yet, you can find it [here](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) +This a contributing guide made specifically for the Azure Communication Services SDK. The Azure SDK repo also has a contributing guide that might help you in some other general processes this guide assumes you have done. If you haven't checked that one out yet, you can find it [here](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) The Azure Communication Services SDK for JS currently consists of six different packages. While each package has its own set of environment variables to make their tests run successfully, all of them follow a similar structure that allows a smooth onboarding process. @@ -14,7 +14,7 @@ Once the package has been built, let's jump on how to run the tests to see that ## Testing -Make sure to check out the general contributing guide the Azure SDK repo has for a more in-depth look at testing and setting up your dev environment. You can check out the contributing file [here](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) +Make sure to check out the general contributing guide the Azure SDK repo has for a more in-depth look at testing and setting up your dev environment. You can check out the contributing file [here](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) When you go inside the package you are working with, you will see folders called `recordings\browsers` and `recordings\node`. In JS we performs tests in the node and browser environments. Each folder contains, as its name suggests, recordings of successful calls to the API that allow us to run the tests in PLAYBACK mode and remove the necessity of hitting the actual resources every time we may want to test. diff --git a/sdk/communication/ci.yml b/sdk/communication/ci.yml index f62e3e673b13..0a47278faf45 100644 --- a/sdk/communication/ci.yml +++ b/sdk/communication/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/communication/communication-chat/README.md b/sdk/communication/communication-chat/README.md index 1dc60cfc2a49..ff9d9abfd39d 100644 --- a/sdk/communication/communication-chat/README.md +++ b/sdk/communication/communication-chat/README.md @@ -210,7 +210,7 @@ In this quickstart you learned how to: ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ diff --git a/sdk/communication/communication-chat/samples/v1/javascript/README.md b/sdk/communication/communication-chat/samples/v1/javascript/README.md index 172861330365..08c3f33c8780 100644 --- a/sdk/communication/communication-chat/samples/v1/javascript/README.md +++ b/sdk/communication/communication-chat/samples/v1/javascript/README.md @@ -58,10 +58,10 @@ npx cross-env COMMUNICATION_CONNECTION_STRING=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[messageoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-chat/samples/v1/javascript/messageOperations.js -[participantsoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-chat/samples/v1/javascript/participantsOperations.js -[threadoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-chat/samples/v1/javascript/threadOperations.js +[messageoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-chat/samples/v1/javascript/messageOperations.js +[participantsoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-chat/samples/v1/javascript/participantsOperations.js +[threadoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-chat/samples/v1/javascript/threadOperations.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/communication-chat [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecommunicationservicesaccount]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-chat/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-chat/README.md diff --git a/sdk/communication/communication-chat/samples/v1/typescript/README.md b/sdk/communication/communication-chat/samples/v1/typescript/README.md index 9494d2d90ff6..7c572fa10950 100644 --- a/sdk/communication/communication-chat/samples/v1/typescript/README.md +++ b/sdk/communication/communication-chat/samples/v1/typescript/README.md @@ -70,11 +70,11 @@ npx cross-env COMMUNICATION_CONNECTION_STRING=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[messageoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-chat/samples/v1/typescript/src/messageOperations.ts -[participantsoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-chat/samples/v1/typescript/src/participantsOperations.ts -[threadoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-chat/samples/v1/typescript/src/threadOperations.ts +[messageoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-chat/samples/v1/typescript/src/messageOperations.ts +[participantsoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-chat/samples/v1/typescript/src/participantsOperations.ts +[threadoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-chat/samples/v1/typescript/src/threadOperations.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/communication-chat [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecommunicationservicesaccount]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-chat/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-chat/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/communication/communication-chat/test/README.md b/sdk/communication/communication-chat/test/README.md index 35b1db21c2bc..7cd2975b0a46 100644 --- a/sdk/communication/communication-chat/test/README.md +++ b/sdk/communication/communication-chat/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/textanalytics/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/textanalytics/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/communication/communication-common/README.md b/sdk/communication/communication-common/README.md index 64b4c30776e5..f70f5aa82360 100644 --- a/sdk/communication/communication-common/README.md +++ b/sdk/communication/communication-common/README.md @@ -83,7 +83,7 @@ const tokenCredential = new AzureCommunicationTokenCredential({ ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects diff --git a/sdk/communication/communication-identity/CHANGELOG.md b/sdk/communication/communication-identity/CHANGELOG.md index 9316871c978c..75d0d63ce86e 100644 --- a/sdk/communication/communication-identity/CHANGELOG.md +++ b/sdk/communication/communication-identity/CHANGELOG.md @@ -16,7 +16,7 @@ - `CommunicationIdentityClient` method `createUserWithToken` renamed to `createUserAndToken`. - Renamed `CommunicationIdentityOptions` to `CommunicationIdentityClientOptions`. - Removed `_response` from returned models. -- Removed `dist-browser` from the output folders. To bundle the Azure SDK libraries, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md). +- Removed `dist-browser` from the output folders. To bundle the Azure SDK libraries, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md). ## 1.0.0-beta.4 (2021-02-09) diff --git a/sdk/communication/communication-identity/README.md b/sdk/communication/communication-identity/README.md index a6f0303c15a7..813cb434ace4 100644 --- a/sdk/communication/communication-identity/README.md +++ b/sdk/communication/communication-identity/README.md @@ -128,12 +128,12 @@ await client.deleteUser(user); ## Next steps Please take a look at the -[samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-identity/samples) +[samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-identity/samples) directory for detailed examples on how to use this library. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects diff --git a/sdk/communication/communication-identity/samples/v1/javascript/README.md b/sdk/communication/communication-identity/samples/v1/javascript/README.md index 16141c78bcda..8f5c4b9bc73a 100644 --- a/sdk/communication/communication-identity/samples/v1/javascript/README.md +++ b/sdk/communication/communication-identity/samples/v1/javascript/README.md @@ -57,9 +57,9 @@ npx cross-env COMMUNICATION_CONNECTION_STRING=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[issuetoken]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-identity/samples/v1/javascript/issueToken.js -[revoketokens]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-identity/samples/v1/javascript/revokeTokens.js +[issuetoken]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-identity/samples/v1/javascript/issueToken.js +[revoketokens]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-identity/samples/v1/javascript/revokeTokens.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/communication-identity [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecommunicationservicesaccount]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-identity/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-identity/README.md diff --git a/sdk/communication/communication-identity/samples/v1/typescript/README.md b/sdk/communication/communication-identity/samples/v1/typescript/README.md index 72b0d5110f2b..0907873cfe06 100644 --- a/sdk/communication/communication-identity/samples/v1/typescript/README.md +++ b/sdk/communication/communication-identity/samples/v1/typescript/README.md @@ -69,10 +69,10 @@ npx cross-env COMMUNICATION_CONNECTION_STRING=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[issuetoken]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-identity/samples/v1/typescript/src/issueToken.ts -[revoketokens]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-identity/samples/v1/typescript/src/revokeTokens.ts +[issuetoken]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-identity/samples/v1/typescript/src/issueToken.ts +[revoketokens]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-identity/samples/v1/typescript/src/revokeTokens.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/communication-identity [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecommunicationservicesaccount]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-identity/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-identity/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/communication/communication-identity/test/README.md b/sdk/communication/communication-identity/test/README.md index 3ca452868bf3..f3a54253ada2 100644 --- a/sdk/communication/communication-identity/test/README.md +++ b/sdk/communication/communication-identity/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/communication/communication-network-traversal/README.md b/sdk/communication/communication-network-traversal/README.md index 0d65736ee0fd..1aa5c5fc7e3d 100644 --- a/sdk/communication/communication-network-traversal/README.md +++ b/sdk/communication/communication-network-traversal/README.md @@ -100,7 +100,7 @@ const config = relayClient.getRelayConfiguration(user); ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects diff --git a/sdk/communication/communication-network-traversal/samples/v1/javascript/README.md b/sdk/communication/communication-network-traversal/samples/v1/javascript/README.md index acf32639d94b..63ce16a26644 100644 --- a/sdk/communication/communication-network-traversal/samples/v1/javascript/README.md +++ b/sdk/communication/communication-network-traversal/samples/v1/javascript/README.md @@ -56,7 +56,7 @@ npx cross-env COMMUNICATION_CONNECTION_STRING=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[getrelayconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-network-traversal/samples/v1/javascript/getRelayConfiguration.js +[getrelayconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-network-traversal/samples/v1/javascript/getRelayConfiguration.js [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecommunicationservicesaccount]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-network-traversal/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-network-traversal/README.md diff --git a/sdk/communication/communication-network-traversal/samples/v1/typescript/README.md b/sdk/communication/communication-network-traversal/samples/v1/typescript/README.md index 9b12efeda733..90dc52e10b4d 100644 --- a/sdk/communication/communication-network-traversal/samples/v1/typescript/README.md +++ b/sdk/communication/communication-network-traversal/samples/v1/typescript/README.md @@ -68,8 +68,8 @@ npx cross-env COMMUNICATION_CONNECTION_STRING=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[getrelayconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-network-traversal/samples/v1/typescript/src/getRelayConfiguration.ts +[getrelayconfiguration]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-network-traversal/samples/v1/typescript/src/getRelayConfiguration.ts [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecommunicationservicesaccount]: https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-network-traversal/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-network-traversal/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/communication/communication-network-traversal/test/README.md b/sdk/communication/communication-network-traversal/test/README.md index 3ca452868bf3..f3a54253ada2 100644 --- a/sdk/communication/communication-network-traversal/test/README.md +++ b/sdk/communication/communication-network-traversal/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/communication/communication-phone-numbers/CHANGELOG.md b/sdk/communication/communication-phone-numbers/CHANGELOG.md index fa064c2c5808..5eeb301330ed 100644 --- a/sdk/communication/communication-phone-numbers/CHANGELOG.md +++ b/sdk/communication/communication-phone-numbers/CHANGELOG.md @@ -21,4 +21,4 @@ The Azure Communication Phone Numbers Client library contains code which facilit ### Breaking Changes -- Removed `dist-browser` from the output folders. To bundle the Azure SDK libraries, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md) +- Removed `dist-browser` from the output folders. To bundle the Azure SDK libraries, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md) diff --git a/sdk/communication/communication-phone-numbers/README.md b/sdk/communication/communication-phone-numbers/README.md index dd15d727723e..dc4db5adcc43 100644 --- a/sdk/communication/communication-phone-numbers/README.md +++ b/sdk/communication/communication-phone-numbers/README.md @@ -291,12 +291,12 @@ main(); ## Next steps Please take a look at the -[samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/communication/communication-phone-numbers/samples) +[samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/communication/communication-phone-numbers/samples) directory for detailed examples on how to use this library. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -306,8 +306,8 @@ If you'd like to contribute to this library, please read the [contributing guide [azure_sub]: https://azure.microsoft.com/free/ [azure_portal]: https://portal.azure.com [azure_powershell]: https://docs.microsoft.com/powershell/module/az.communication/new-azcommunicationservice -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity -[azure_identity_readme]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity +[azure_identity_readme]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcommunication%2Fcommunication-phone-numbers%2FREADME.png) diff --git a/sdk/communication/communication-phone-numbers/samples/v1/javascript/README.md b/sdk/communication/communication-phone-numbers/samples/v1/javascript/README.md index bfb8722a37f8..fb0a25591cb1 100644 --- a/sdk/communication/communication-phone-numbers/samples/v1/javascript/README.md +++ b/sdk/communication/communication-phone-numbers/samples/v1/javascript/README.md @@ -60,12 +60,12 @@ npx cross-env COMMUNICATION_SAMPLES_CONNECTION_STRING="" USER_CERT_KEY="" ENDPOINT=" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[getenclavequotescert]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/confidentialledger/confidential-ledger-rest/samples/v1/typescript/src/getEnclaveQuotesCert.ts -[getenclavequotesaad]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/confidentialledger/confidential-ledger-rest/samples/v1/typescript/src/getEnclaveQuotesAAD.ts +[getenclavequotescert]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/confidentialledger/confidential-ledger-rest/samples/v1/typescript/src/getEnclaveQuotesCert.ts +[getenclavequotesaad]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/confidentialledger/confidential-ledger-rest/samples/v1/typescript/src/getEnclaveQuotesAAD.ts [apiref]: https://docs.microsoft.com/javascript/api/?term=confidential-ledger [freesub]: https://azure.microsoft.com/free/ [createinstance_azureconfidentialcompute]: https://azure.microsoft.com/solutions/confidential-compute -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/confidentialledger/confidential-ledger-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confidentialledger/confidential-ledger-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/containerregistry/ci.yml b/sdk/containerregistry/ci.yml index 319dccf98ecc..c49e357f61bc 100644 --- a/sdk/containerregistry/ci.yml +++ b/sdk/containerregistry/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/containerregistry/container-registry/README.md b/sdk/containerregistry/container-registry/README.md index f035512f6ba0..328e83816246 100644 --- a/sdk/containerregistry/container-registry/README.md +++ b/sdk/containerregistry/container-registry/README.md @@ -233,7 +233,7 @@ Please take a look at the [samples][samples] directory for detailed examples tha ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -243,12 +243,12 @@ If you'd like to contribute to this library, please read the [contributing guide [azure_sub]: https://azure.microsoft.com/free/ [acr_resource]: https://ms.portal.azure.com/#create/Microsoft.ContainerRegistry -[source]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/ +[source]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/ [package]: https://www.npmjs.com/package/@azure/container-registry [api_docs]: https://docs.microsoft.com/javascript/api/@azure/container-registry [rest_docs]: https://docs.microsoft.com/rest/api/containerregistry/ [product_docs]: https://docs.microsoft.com/azure/container-registry/ -[samples]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerregistry/container-registry/samples +[samples]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/container-registry/samples [container_registry_docs]: https://docs.microsoft.com/azure/container-registry/container-registry-intro [container_registry_create_ps]: https://docs.microsoft.com/azure/container-registry/container-registry-get-started-powershell [container_registry_create_cli]: https://docs.microsoft.com/azure/container-registry/container-registry-get-started-azure-cli @@ -256,5 +256,5 @@ If you'd like to contribute to this library, please read the [contributing guide [container_registry_concepts]: https://docs.microsoft.com/azure/container-registry/container-registry-concepts [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ -[identity]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md +[identity]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md [az_sdk_js]: https://github.com/Azure/azure-sdk-for-js diff --git a/sdk/containerregistry/container-registry/samples/v1/javascript/README.md b/sdk/containerregistry/container-registry/samples/v1/javascript/README.md index 086ad9cdd8d0..d4b62d3881ef 100644 --- a/sdk/containerregistry/container-registry/samples/v1/javascript/README.md +++ b/sdk/containerregistry/container-registry/samples/v1/javascript/README.md @@ -60,12 +60,12 @@ npx cross-env CONTAINER_REGISTRY_ENDPOINT="" node c Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[containerregistryclient]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/javascript/containerRegistryClient.js -[anonymouslisttags]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/javascript/anonymousListTags.js -[deleteimages]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/javascript/deleteImages.js -[repositoryandartifact]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/javascript/repositoryAndArtifact.js -[setimageproperties]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/javascript/setImageProperties.js +[containerregistryclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/javascript/containerRegistryClient.js +[anonymouslisttags]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/javascript/anonymousListTags.js +[deleteimages]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/javascript/deleteImages.js +[repositoryandartifact]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/javascript/repositoryAndArtifact.js +[setimageproperties]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/javascript/setImageProperties.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/container-registry [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecontainerregistry]: https://docs.microsoft.com/azure/container-registry/container-registry-get-started-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerregistry/container-registry/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/container-registry/README.md diff --git a/sdk/containerregistry/container-registry/samples/v1/typescript/README.md b/sdk/containerregistry/container-registry/samples/v1/typescript/README.md index 42d4a122217b..e0327fe19335 100644 --- a/sdk/containerregistry/container-registry/samples/v1/typescript/README.md +++ b/sdk/containerregistry/container-registry/samples/v1/typescript/README.md @@ -72,13 +72,13 @@ npx cross-env CONTAINER_REGISTRY_ENDPOINT="" node d Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[containerregistryclient]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/typescript/src/containerRegistryClient.ts -[anonymouslisttags]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/typescript/src/anonymousListTags.ts -[deleteimages]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/typescript/src/deleteImages.ts -[repositoryandartifact]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/typescript/src/repositoryAndArtifact.ts -[setimageproperties]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/samples/v1/typescript/src/setImageProperties.ts +[containerregistryclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/typescript/src/containerRegistryClient.ts +[anonymouslisttags]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/typescript/src/anonymousListTags.ts +[deleteimages]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/typescript/src/deleteImages.ts +[repositoryandartifact]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/typescript/src/repositoryAndArtifact.ts +[setimageproperties]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/samples/v1/typescript/src/setImageProperties.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/container-registry [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecontainerregistry]: https://docs.microsoft.com/azure/container-registry/container-registry-get-started-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerregistry/container-registry/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/container-registry/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/core/README.md b/sdk/core/README.md index b4cd153f0554..43bde696f6b1 100644 --- a/sdk/core/README.md +++ b/sdk/core/README.md @@ -6,7 +6,7 @@ These packages are generally not used directly by consumers, but are used as dep ## Core "v1" and Core "v2" -The package `@azure/core-http` is heavily based on `@azure/ms-rest-js` and inherited legacy API surface and concepts that sometimes conflicted with our design principles. A full explanation is available here: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-rest-pipeline/documentation/core2.md +The package `@azure/core-http` is heavily based on `@azure/ms-rest-js` and inherited legacy API surface and concepts that sometimes conflicted with our design principles. A full explanation is available here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/documentation/core2.md For the purposes of this document, understand that "core v1" refers to the package `@azure/core-http` and is considered legacy. "Core v2" refers to the packages `@azure/core-rest-pipeline`, `@azure/core-client`, and `@azure/core-xml`. @@ -20,7 +20,7 @@ Many service operations require client libraries to make one or more HTTP calls The `Pipeline` is what manages these common behaviors, which are grouped into items called `PipelinePolicy`s. Each client library configures its own `Pipeline` using a set of standard `PipelineOptions`. -For more information, refer to https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-rest-pipeline#key-concepts +For more information, refer to https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline#key-concepts ### ServiceClient @@ -28,7 +28,7 @@ Client libraries come in two flavors: authored and generated. Generated clients `ServiceClient` is the base class of all generated clients. It builds on top of the HTTP Pipeline in order to make requests to services. -For more information, refer to https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-client#key-concepts +For more information, refer to https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-client#key-concepts ### Accessing raw HTTP responses @@ -55,7 +55,7 @@ console.log(item._response.parsedHeaders); ### Authentication -Authentication is handled by [@azure/identity](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/). In most cases this is as simple as passing `DefaultAzureCredential` to a client that takes a `TokenCredential` as a means of authentication. +Authentication is handled by [@azure/identity](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/). In most cases this is as simple as passing `DefaultAzureCredential` to a client that takes a `TokenCredential` as a means of authentication. ```ts const { KeyClient } = require("@azure/keyvault-keys"); @@ -72,7 +72,7 @@ Note that `DefaultAzureCredential` does not work for applications that are runni Client libraries follow our [design guidelines for pagination](https://azure.github.io/azure-sdk/typescript_design.html#ts-pagination). This is largely hand-authored today in convenience clients, but code generation is improving to support this pattern inside generated clients as well. -The standard interfaces for pagination are provided by [@azure/core-paging](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-paging). +The standard interfaces for pagination are provided by [@azure/core-paging](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-paging). Basic code for iterating through all entries of a paged API looks something like: @@ -96,7 +96,7 @@ for await (let page of client.listSecrets().byPage({ maxPageSize: 2 })) { Client libraries follow our [design guidelines for Long Running Operations (LROs)](https://azure.github.io/azure-sdk/typescript_design.html#ts-lro). This ensures all LROs follow a similar pattern to remain **consistent** across clients. -To assist with implementing pollers correctly, primitives are provided by [@azure/core-lro](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-lro). These primitives help implement `Poller` objects which are used to manage `PollOperation`s that contain `PollOperationState`. +To assist with implementing pollers correctly, primitives are provided by [@azure/core-lro](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-lro). These primitives help implement `Poller` objects which are used to manage `PollOperation`s that contain `PollOperationState`. In essence, a `Poller` handles the work of continously checking the server for updates to the LRO on a developer's behalf. `Poller`s are highly customizable, and consumers are able to decide when to poll manually if needed. @@ -118,9 +118,9 @@ const rehydratedPoller = await client.beginDeleteKey(keyName, { resumeFrom: seri ### Tracing -Client libraries have preliminary support for [OpenTelemetry](https://opentelemetry.io/). This functionality is mostly managed by [@azure/core-tracing](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-tracing) +Client libraries have preliminary support for [OpenTelemetry](https://opentelemetry.io/). This functionality is mostly managed by [@azure/core-tracing](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-tracing) -Each client library internally does the work to create a new OpenTelemetry `Span` for each service operation, making sure to end the `Span` after the result is returned back to the consumer. Many clients use a helper method called [createSpan](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/textanalytics/ai-text-analytics/src/tracing.ts) to create the new `Span`. +Each client library internally does the work to create a new OpenTelemetry `Span` for each service operation, making sure to end the `Span` after the result is returned back to the consumer. Many clients use a helper method called [createSpan](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/textanalytics/ai-text-analytics/src/tracing.ts) to create the new `Span`. When `tracingOptions.tracingContext` is set on an operation, a default request policy will automatically create a span for each HTTP request that is issued. @@ -136,7 +136,7 @@ const result = await blobClient.download(undefined, undefined, { ### Logging -Logging in client libraries is provided by [@azure/logger](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +Logging in client libraries is provided by [@azure/logger](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). AzureLogger provides the ability to easily set a global log level (either programmatically or through an environment variable) and log output can be redirected by simply overriding the default `log` method: @@ -161,4 +161,4 @@ A convenience client extends the shape of a generated client in ways that make i ## AMQP and Message-based Clients -More information can be found in [@azure/amqp](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-amqp) +More information can be found in [@azure/amqp](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-amqp) diff --git a/sdk/core/abort-controller/README.md b/sdk/core/abort-controller/README.md index 293d86532cc8..8845c33b55a4 100644 --- a/sdk/core/abort-controller/README.md +++ b/sdk/core/abort-controller/README.md @@ -99,6 +99,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fabort-controller%2FREADME.png) diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index 666f2f2e7f15..0f0b8f5e85fc 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -19,7 +18,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/core/core-amqp/CHANGELOG.md b/sdk/core/core-amqp/CHANGELOG.md index dd7b75324eba..a26a03e169fd 100644 --- a/sdk/core/core-amqp/CHANGELOG.md +++ b/sdk/core/core-amqp/CHANGELOG.md @@ -161,7 +161,7 @@ We are cleaning the public API surface by ## 1.0.1 (2020-02-06) - Updated to use the latest version of the `rhea` package. - This update improves support for [bundling](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md) this library. + This update improves support for [bundling](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md) this library. ## 1.0.0 (2020-01-08) diff --git a/sdk/core/core-amqp/README.md b/sdk/core/core-amqp/README.md index c1c1949bc25e..501af61fb46d 100644 --- a/sdk/core/core-amqp/README.md +++ b/sdk/core/core-amqp/README.md @@ -112,7 +112,7 @@ When you submit a pull request, a CLA-bot will automatically determine whether y a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or diff --git a/sdk/core/core-asynciterator-polyfill/README.md b/sdk/core/core-asynciterator-polyfill/README.md index 86df8d734f4f..b53cf8da0630 100644 --- a/sdk/core/core-asynciterator-polyfill/README.md +++ b/sdk/core/core-asynciterator-polyfill/README.md @@ -41,6 +41,6 @@ Log an issue at https://github.com/Azure/azure-sdk-for-js/issues ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-asynciterator-polyfill%2FREADME.png) diff --git a/sdk/core/core-auth/README.md b/sdk/core/core-auth/README.md index 28b782913a5f..31ccc7f3fd83 100644 --- a/sdk/core/core-auth/README.md +++ b/sdk/core/core-auth/README.md @@ -73,6 +73,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-auth%2FREADME.png) diff --git a/sdk/core/core-client-rest/README.md b/sdk/core/core-client-rest/README.md index 418204b89dd7..4cdcdbe50460 100644 --- a/sdk/core/core-client-rest/README.md +++ b/sdk/core/core-client-rest/README.md @@ -30,6 +30,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png) diff --git a/sdk/core/core-client/CHANGELOG.md b/sdk/core/core-client/CHANGELOG.md index 384d044c751d..303d1cae3562 100644 --- a/sdk/core/core-client/CHANGELOG.md +++ b/sdk/core/core-client/CHANGELOG.md @@ -28,7 +28,7 @@ ### Breaking Changes - If the response body is empty and the mapper for it says it is nullable, then a null is returned. -- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. +- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. ## 1.0.0 (2021-03-15) diff --git a/sdk/core/core-client/README.md b/sdk/core/core-client/README.md index 5de050aea4a4..04d1b88b1d4b 100644 --- a/sdk/core/core-client/README.md +++ b/sdk/core/core-client/README.md @@ -48,6 +48,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-client%2FREADME.png) diff --git a/sdk/core/core-crypto/README.md b/sdk/core/core-crypto/README.md index d11dd6607564..0e5e0738f7f4 100644 --- a/sdk/core/core-crypto/README.md +++ b/sdk/core/core-crypto/README.md @@ -33,6 +33,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-crypto%2FREADME.png) diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index b0602c0a0a9a..cfa8a6b1b9e0 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -34,7 +34,7 @@ ### Breaking Changes -- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. +- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. ## 1.2.3 (2021-02-04) diff --git a/sdk/core/core-http/README.md b/sdk/core/core-http/README.md index f51dc17e3f34..860078fff69e 100644 --- a/sdk/core/core-http/README.md +++ b/sdk/core/core-http/README.md @@ -19,7 +19,7 @@ This package is primarily used in generated code and not meant to be consumed di ## Key concepts -You can find an explanation of how this repository's code works by going to our [architecture overview](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-http/docs/architectureOverview.md). +You can find an explanation of how this repository's code works by going to our [architecture overview](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-http/docs/architectureOverview.md). ## Examples @@ -27,7 +27,7 @@ Examples can be found in the `samples` folder. ## Next steps -- Build this library (`core-http`). For more information on how to build project in this repo, please refer to the [Contributing Guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md). +- Build this library (`core-http`). For more information on how to build project in this repo, please refer to the [Contributing Guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md). - The code in `samples\node-sample.ts` shows how to create a `ServiceClient` instance with a test `TokenCredential` implementation and use the client instance to perform a `GET` operation from the Azure management service endpoint for subscriptions. To run the code, first obtain an access token to the Azure management service. @@ -61,7 +61,7 @@ node node-sample.js ### Browser - Set values of `subscriptionId` and `token` variable in `samples/index.js` -- Follow the instructions of [JavaScript Bundling Guide using Parcel](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md#using-parcel) to build and run the code in the browser. +- Follow the instructions of [JavaScript Bundling Guide using Parcel](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md#using-parcel) to build and run the code in the browser. ## Troubleshooting @@ -69,6 +69,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-http%2FREADME.png) diff --git a/sdk/core/core-lro/CHANGELOG.md b/sdk/core/core-lro/CHANGELOG.md index e72edf05fa54..492bd011c446 100644 --- a/sdk/core/core-lro/CHANGELOG.md +++ b/sdk/core/core-lro/CHANGELOG.md @@ -13,7 +13,7 @@ ### Breaking Changes -- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. +- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. ## 1.0.3 (2021-01-07) diff --git a/sdk/core/core-lro/README.md b/sdk/core/core-lro/README.md index 6dc82ed77047..af6128fcbff5 100644 --- a/sdk/core/core-lro/README.md +++ b/sdk/core/core-lro/README.md @@ -6,7 +6,7 @@ `@azure/core-lro` is made following our [Long Running Operations guidelines](https://azure.github.io/azure-sdk/typescript_design.html#ts-lro) -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-lro) | [Package (npm)](https://www.npmjs.com/package/@azure/core-lro) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/core-lro) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-lro/samples) +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-lro) | [Package (npm)](https://www.npmjs.com/package/@azure/core-lro) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/core-lro) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-lro/samples) ## Getting started @@ -55,8 +55,8 @@ for more information. You will be able to find some working examples of an implementation of an operation and a poller in: -- [The `@azure/core-lro` samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-lro/samples). -- [The `@azure/core-lro` tests](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-lro/test). +- [The `@azure/core-lro` samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-lro/samples). +- [The `@azure/core-lro` tests](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-lro/test). ## Troubleshooting @@ -64,15 +64,15 @@ You will be able to find some working examples of an implementation of an operat Logs can be added at the discretion of the library implementing the Long Running Operation poller. Packages inside of [azure-sdk-for-js](https://github.com/Azure/azure-sdk-for-js) use -[@azure/logger](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +[@azure/logger](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps -Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-lro/samples) directory for detailed examples on how to use this library. +Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-lro/samples) directory for detailed examples on how to use this library. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ### Testing diff --git a/sdk/core/core-lro/samples/README.md b/sdk/core/core-lro/samples/README.md index 7842239a0a2e..d1c903e9bd0f 100644 --- a/sdk/core/core-lro/samples/README.md +++ b/sdk/core/core-lro/samples/README.md @@ -8,7 +8,7 @@ In this folder you will be able to see a simple sample file implementing a `Poll The sample file: -- [typescript/samplesClient.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-lro/samples/typescript/samplesClient.ts) +- [typescript/samplesClient.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-lro/samples/typescript/samplesClient.ts) ## Guide on implementing a LRO method @@ -73,7 +73,7 @@ A guide on how to write them follows. The `update` method defines how to request the remote service for updates on the status of the long running operation. -It optionally receives an object with an `abortSignal` property, from [@azure/abort-controller](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/abort-controller)'s `AbortSignalLike`. +It optionally receives an object with an `abortSignal` property, from [@azure/abort-controller](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/abort-controller)'s `AbortSignalLike`. A more advanced use allows passing in a `fireProgress` function, which, if called, is responsible for triggering the poller's `onProgress` callbacks. @@ -112,7 +112,7 @@ async function update( The operation's `cancel` method should attempt to cancel the pending operation, if it's allowed by the remote service. Otherwise, it should throw. -It only optionally receives an object with an `abortSignal` property, from [@azure/abort-controller](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/abort-controller)'s `AbortSignalLike`. +It only optionally receives an object with an `abortSignal` property, from [@azure/abort-controller](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/abort-controller)'s `AbortSignalLike`. It returns a promise that should be resolved with an updated version of the poller's operation. diff --git a/sdk/core/core-paging/README.md b/sdk/core/core-paging/README.md index c2f6b2ccad0a..5fb49772f52f 100644 --- a/sdk/core/core-paging/README.md +++ b/sdk/core/core-paging/README.md @@ -56,6 +56,6 @@ Log an issue at https://github.com/Azure/azure-sdk-for-js/issues ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-paging%2FREADME.png) diff --git a/sdk/core/core-rest-pipeline/CHANGELOG.md b/sdk/core/core-rest-pipeline/CHANGELOG.md index b9011a20ad39..83325d678b12 100644 --- a/sdk/core/core-rest-pipeline/CHANGELOG.md +++ b/sdk/core/core-rest-pipeline/CHANGELOG.md @@ -35,7 +35,7 @@ ### Breaking Changes -- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. +- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. ## 1.0.2 (2021-03-25) diff --git a/sdk/core/core-rest-pipeline/README.md b/sdk/core/core-rest-pipeline/README.md index e046a73e681b..4412f183a9bb 100644 --- a/sdk/core/core-rest-pipeline/README.md +++ b/sdk/core/core-rest-pipeline/README.md @@ -85,7 +85,7 @@ const customPolicy = { }; ``` -Most policies only concern themselves with either the request or the response, but there are some exceptions such as the [LogPolicy](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-rest-pipeline/src/policies/logPolicy.ts) which logs information from each. +Most policies only concern themselves with either the request or the response, but there are some exceptions such as the [LogPolicy](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/src/policies/logPolicy.ts) which logs information from each. ### Pipelines @@ -149,6 +149,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-rest-pipeline%2FREADME.png) diff --git a/sdk/core/core-rest-pipeline/samples/v1/javascript/README.md b/sdk/core/core-rest-pipeline/samples/v1/javascript/README.md index 6be4140809a1..39d0ab3f8a34 100644 --- a/sdk/core/core-rest-pipeline/samples/v1/javascript/README.md +++ b/sdk/core/core-rest-pipeline/samples/v1/javascript/README.md @@ -39,6 +39,6 @@ node node-sample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[node-sample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-rest-pipeline/samples/v1/javascript/node-sample.js +[node-sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/samples/v1/javascript/node-sample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/core-rest-pipeline -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-rest-pipeline/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline/README.md diff --git a/sdk/core/core-rest-pipeline/samples/v1/typescript/README.md b/sdk/core/core-rest-pipeline/samples/v1/typescript/README.md index 78a0393eb91a..58bcc920b6cc 100644 --- a/sdk/core/core-rest-pipeline/samples/v1/typescript/README.md +++ b/sdk/core/core-rest-pipeline/samples/v1/typescript/README.md @@ -51,7 +51,7 @@ node dist/node-sample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[node-sample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-rest-pipeline/samples/v1/typescript/src/node-sample.ts +[node-sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/samples/v1/typescript/src/node-sample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/core-rest-pipeline -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-rest-pipeline/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/core/core-tracing/README.md b/sdk/core/core-tracing/README.md index 8d5cb2c0b37d..dc088cba6512 100644 --- a/sdk/core/core-tracing/README.md +++ b/sdk/core/core-tracing/README.md @@ -67,6 +67,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-tracing%2FREADME.png) diff --git a/sdk/core/core-util/README.md b/sdk/core/core-util/README.md index cedddcecd18c..299357f28332 100644 --- a/sdk/core/core-util/README.md +++ b/sdk/core/core-util/README.md @@ -30,6 +30,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-util%2FREADME.png) diff --git a/sdk/core/core-xml/README.md b/sdk/core/core-xml/README.md index 95e3e1e8e749..63acacf44ad1 100644 --- a/sdk/core/core-xml/README.md +++ b/sdk/core/core-xml/README.md @@ -30,6 +30,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-client%2FREADME.png) diff --git a/sdk/core/logger/README.md b/sdk/core/logger/README.md index 1a49c0b6ccb9..b1b3b5a2e1fe 100644 --- a/sdk/core/logger/README.md +++ b/sdk/core/logger/README.md @@ -83,6 +83,6 @@ If you run into issues while using this library, please feel free to [file an is ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Flogger%2FREADME.png) diff --git a/sdk/cosmosdb/ci.yml b/sdk/cosmosdb/ci.yml index 32f1ac85524f..245dbfdd16f9 100644 --- a/sdk/cosmosdb/ci.yml +++ b/sdk/cosmosdb/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/cosmosdb/cosmos/README.md b/sdk/cosmosdb/cosmos/README.md index b35091b229cd..0870a91113ef 100644 --- a/sdk/cosmosdb/cosmos/README.md +++ b/sdk/cosmosdb/cosmos/README.md @@ -233,7 +233,7 @@ For more extensive documentation on the Cosmos DB service, see the [Azure Cosmos - [Welcome to Azure Cosmos DB](https://docs.microsoft.com/azure/cosmos-db/community) - [Quick start](https://docs.microsoft.com/azure/cosmos-db/sql-api-nodejs-get-started) - [Tutorial](https://docs.microsoft.com/azure/cosmos-db/sql-api-nodejs-application) -- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cosmosdb/cosmos/samples) +- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/cosmos/samples) - [Introduction to Resource Model of Azure Cosmos DB Service](https://docs.microsoft.com/azure/cosmos-db/sql-api-resources) - [Introduction to SQL API of Azure Cosmos DB Service](https://docs.microsoft.com/azure/cosmos-db/sql-api-sql-query) - [Partitioning](https://docs.microsoft.com/azure/cosmos-db/sql-api-partition-data) @@ -241,7 +241,7 @@ For more extensive documentation on the Cosmos DB service, see the [Azure Cosmos ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcosmosdb%2Fcosmos%2FREADME.png) @@ -263,7 +263,7 @@ If you'd like to contribute to this library, please read the [contributing guide [cosmos_item]: https://docs.microsoft.com/azure/cosmos-db/databases-containers-items#azure-cosmos-items [cosmos_request_units]: https://docs.microsoft.com/azure/cosmos-db/request-units [cosmos_resources]: https://docs.microsoft.com/azure/cosmos-db/databases-containers-items -[cosmos_samples]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cosmosdb/cosmos/samples +[cosmos_samples]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/cosmos/samples [cosmos_sql_queries]: https://docs.microsoft.com/azure/cosmos-db/how-to-sql-query [cosmos_ttl]: https://docs.microsoft.com/azure/cosmos-db/time-to-live [npm]: https://www.npmjs.com/package/@azure/cosmos diff --git a/sdk/deviceupdate/ci.yml b/sdk/deviceupdate/ci.yml index 6f536631a706..d81cbdae9ed1 100644 --- a/sdk/deviceupdate/ci.yml +++ b/sdk/deviceupdate/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/deviceupdate/iot-device-update/README.md b/sdk/deviceupdate/iot-device-update/README.md index 5918e753fd0b..f9413b812fa4 100644 --- a/sdk/deviceupdate/iot-device-update/README.md +++ b/sdk/deviceupdate/iot-device-update/README.md @@ -2,7 +2,7 @@ The library provides access to the Device Update for IoT Hub service that enables customers to publish updates for their IoT devices to the cloud, and then deploy these updates to their devices (approve updates to groups of devices managed and provisioned in IoT Hub). -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk) | [Product documentation](https://docs.microsoft.com/azure/iot-hub-device-update/understand-device-update) +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk) | [Product documentation](https://docs.microsoft.com/azure/iot-hub-device-update/understand-device-update) ## Getting started @@ -36,7 +36,7 @@ You can learn more about Device Update for IoT Hub by visiting [Device Update fo ## Examples -You can familiarize yourself with different APIs using [Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/deviceupdate/iot-device-update/samples). +You can familiarize yourself with different APIs using [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update/samples). ## Troubleshooting @@ -50,15 +50,15 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps -Get started with our [Device Update for IoT Hub samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/deviceupdate/iot-device-update/samples) +Get started with our [Device Update for IoT Hub samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update/samples) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects diff --git a/sdk/deviceupdate/iot-device-update/samples/v1/javascript/README.md b/sdk/deviceupdate/iot-device-update/samples/v1/javascript/README.md index c6bd1486b12c..3f6d246fa302 100644 --- a/sdk/deviceupdate/iot-device-update/samples/v1/javascript/README.md +++ b/sdk/deviceupdate/iot-device-update/samples/v1/javascript/README.md @@ -56,8 +56,8 @@ npx cross-env ACCOUNT_ENDPOINT="" INSTANCE_ID="" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[updates]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/deviceupdate/iot-device-update/samples/v1/javascript/updates.js +[updates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/deviceupdate/iot-device-update/samples/v1/javascript/updates.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/iot-device-update [freesub]: https://azure.microsoft.com/free/ [createinstance_azuredeviceupdateforiothubinstance]: https://docs.microsoft.com/azure/iot-hub-device-update/understand-device-update -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/deviceupdate/iot-device-update/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update/README.md diff --git a/sdk/deviceupdate/iot-device-update/samples/v1/typescript/README.md b/sdk/deviceupdate/iot-device-update/samples/v1/typescript/README.md index d51351d2dced..933ebb2ab323 100644 --- a/sdk/deviceupdate/iot-device-update/samples/v1/typescript/README.md +++ b/sdk/deviceupdate/iot-device-update/samples/v1/typescript/README.md @@ -68,9 +68,9 @@ npx cross-env ACCOUNT_ENDPOINT="" INSTANCE_ID="" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[updates]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/deviceupdate/iot-device-update/samples/v1/typescript/src/updates.ts +[updates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/deviceupdate/iot-device-update/samples/v1/typescript/src/updates.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/iot-device-update [freesub]: https://azure.microsoft.com/free/ [createinstance_azuredeviceupdateforiothubinstance]: https://docs.microsoft.com/azure/iot-hub-device-update/understand-device-update -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/deviceupdate/iot-device-update/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/digitaltwins/ci.yml b/sdk/digitaltwins/ci.yml index 252b1f63c43e..f086a8135b3f 100644 --- a/sdk/digitaltwins/ci.yml +++ b/sdk/digitaltwins/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/digitaltwins/digital-twins-core/README.md b/sdk/digitaltwins/digital-twins-core/README.md index 8890d1d34226..5f5b5245d50b 100644 --- a/sdk/digitaltwins/digital-twins-core/README.md +++ b/sdk/digitaltwins/digital-twins-core/README.md @@ -32,7 +32,7 @@ To use this client library in the browser, first you need to use a bundler. For Azure Digital Twins doesn't currently support Cross-Origin Resource Sharing (CORS). As a result, this library cannot be used to make direct calls to the template service from a browser. -Please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/master/samples/cors/ts/README.md) for guidance. +Please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/main/samples/cors/ts/README.md) for guidance. ## Key concepts @@ -321,7 +321,7 @@ const response = await serviceClient.publishComponentTelemetry( ### Additional Examples Additional examples can be found in the -[samples directory](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/digitaltwins/digital-twins-core/samples). +[samples directory](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/digital-twins-core/samples). ## Troubleshooting @@ -335,16 +335,16 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps -- Take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/digitaltwins/digital-twins-core/samples) directory for detailed examples that demonstrate how to use the client libraries. +- Take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/digital-twins-core/samples) directory for detailed examples that demonstrate how to use the client libraries. - Explore the Azure Digital Twins [documentation](https://docs.microsoft.com/azure/digital-twins/) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects diff --git a/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/README.md b/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/README.md index b07b47e9b4a1..e4be140a9f64 100644 --- a/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/README.md +++ b/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/README.md @@ -73,25 +73,25 @@ npx cross-env AZURE_DIGITALTWINS_URL="" node dt_componen Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[dt_component_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_component_lifecycle.js -[dt_create_digitaltwins_service_client]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_create_digitaltwins_service_client.js -[dt_digitaltwins_delete]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_digitaltwins_delete.js -[dt_digitaltwins_get]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_digitaltwins_get.js -[dt_digitaltwins_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_digitaltwins_lifecycle.js -[dt_digitaltwins_query]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_digitaltwins_query.js -[dt_event_routes_get]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_event_routes_get.js -[dt_event_routes_list]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_event_routes_list.js -[dt_incoming_relationships_list]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_incoming_relationships_list.js -[dt_models_delete]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_models_delete.js -[dt_models_get]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_models_get.js -[dt_models_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_models_lifecycle.js -[dt_models_list]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_models_list.js -[dt_publish_component_telemetry]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_publish_component_telemetry.js -[dt_publish_telemetry]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_publish_telemetry.js -[dt_relationships_get]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_relationships_get.js -[dt_relationships_list]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_relationships_list.js -[dt_scenario]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_scenario.js +[dt_component_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_component_lifecycle.js +[dt_create_digitaltwins_service_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_create_digitaltwins_service_client.js +[dt_digitaltwins_delete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_digitaltwins_delete.js +[dt_digitaltwins_get]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_digitaltwins_get.js +[dt_digitaltwins_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_digitaltwins_lifecycle.js +[dt_digitaltwins_query]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_digitaltwins_query.js +[dt_event_routes_get]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_event_routes_get.js +[dt_event_routes_list]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_event_routes_list.js +[dt_incoming_relationships_list]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_incoming_relationships_list.js +[dt_models_delete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_models_delete.js +[dt_models_get]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_models_get.js +[dt_models_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_models_lifecycle.js +[dt_models_list]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_models_list.js +[dt_publish_component_telemetry]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_publish_component_telemetry.js +[dt_publish_telemetry]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_publish_telemetry.js +[dt_relationships_get]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_relationships_get.js +[dt_relationships_list]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_relationships_list.js +[dt_scenario]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/dt_scenario.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/digital-twins-core [freesub]: https://azure.microsoft.com/free/ [createinstance_azuredigitaltwinsinstance]: https://docs.microsoft.com/azure/digital-twins/how-to-set-up-instance-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/digitaltwins/digital-twins-core/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/digital-twins-core/README.md diff --git a/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/README.md b/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/README.md index 0b257ab28828..9471c3894a26 100644 --- a/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/README.md +++ b/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/README.md @@ -85,26 +85,26 @@ npx cross-env AZURE_DIGITALTWINS_URL="" node dist/dt_com Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[dt_component_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_component_lifecycle.ts -[dt_create_digitaltwins_service_client]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_create_digitaltwins_service_client.ts -[dt_digitaltwins_delete]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_digitaltwins_delete.ts -[dt_digitaltwins_get]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_digitaltwins_get.ts -[dt_digitaltwins_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_digitaltwins_lifecycle.ts -[dt_digitaltwins_query]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_digitaltwins_query.ts -[dt_event_routes_get]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_event_routes_get.ts -[dt_event_routes_list]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_event_routes_list.ts -[dt_incoming_relationships_list]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_incoming_relationships_list.ts -[dt_models_delete]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_models_delete.ts -[dt_models_get]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_models_get.ts -[dt_models_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_models_lifecycle.ts -[dt_models_list]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_models_list.ts -[dt_publish_component_telemetry]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_publish_component_telemetry.ts -[dt_publish_telemetry]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_publish_telemetry.ts -[dt_relationships_get]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_relationships_get.ts -[dt_relationships_list]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_relationships_list.ts -[dt_scenario]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_scenario.ts +[dt_component_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_component_lifecycle.ts +[dt_create_digitaltwins_service_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_create_digitaltwins_service_client.ts +[dt_digitaltwins_delete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_digitaltwins_delete.ts +[dt_digitaltwins_get]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_digitaltwins_get.ts +[dt_digitaltwins_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_digitaltwins_lifecycle.ts +[dt_digitaltwins_query]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_digitaltwins_query.ts +[dt_event_routes_get]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_event_routes_get.ts +[dt_event_routes_list]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_event_routes_list.ts +[dt_incoming_relationships_list]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_incoming_relationships_list.ts +[dt_models_delete]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_models_delete.ts +[dt_models_get]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_models_get.ts +[dt_models_lifecycle]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_models_lifecycle.ts +[dt_models_list]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_models_list.ts +[dt_publish_component_telemetry]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_publish_component_telemetry.ts +[dt_publish_telemetry]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_publish_telemetry.ts +[dt_relationships_get]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_relationships_get.ts +[dt_relationships_list]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_relationships_list.ts +[dt_scenario]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/src/dt_scenario.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/digital-twins-core [freesub]: https://azure.microsoft.com/free/ [createinstance_azuredigitaltwinsinstance]: https://docs.microsoft.com/azure/digital-twins/how-to-set-up-instance-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/digitaltwins/digital-twins-core/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/digital-twins-core/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/documenttranslator/ai-document-translator-rest/README.md b/sdk/documenttranslator/ai-document-translator-rest/README.md index de63c095e90a..e7fd5fedd303 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/README.md +++ b/sdk/documenttranslator/ai-document-translator-rest/README.md @@ -14,11 +14,11 @@ Use the client library to: | Apply custom translation | Translate documents using general and [custom translation](https://docs.microsoft.com/azure/cognitive-services/translator/customization#custom-translator) models. | | Apply custom glossaries | Translate documents using custom glossaries. | -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/documenttranslator/ai-document-translator-rest/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/documenttranslator/ai-document-translator-rest/) | [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-document-translator) | [API reference documentation](https://docs.microsoft.com/azure/cognitive-services/translator/document-translation/overview) | [Product documentation](https://docs.microsoft.com/azure/cognitive-services/translator/document-translation/overview) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/documenttranslator/ai-document-translator-rest/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documenttranslator/ai-document-translator-rest/samples) ## Getting started @@ -188,8 +188,8 @@ See the service documentation for all [supported languages][supported_languages] Please refer to the samples folder to see code samples, including: -- [List Supported Formats](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/src/listFormats.ts) -- [Translate documents](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/src/translateFromBlob.ts) +- [List Supported Formats](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/src/listFormats.ts) +- [Translate documents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/src/translateFromBlob.ts) ## Troubleshooting @@ -203,15 +203,15 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps -Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/documenttranslator/ai-document-translator-rest/samples) directory for detailed examples on how to use this library. +Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documenttranslator/ai-document-translator-rest/samples) directory for detailed examples on how to use this library. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -223,10 +223,10 @@ If you'd like to contribute to this library, please read the [contributing guide [azure_sub]: https://azure.microsoft.com/free/ [translator_resource]: https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation [azure_portal]: https://portal.azure.com -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity [cognitive_auth]: https://docs.microsoft.com/azure/cognitive-services/authentication [register_aad_app]: https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential [azure_cli_create_dt_resource]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows [azure_portal_get_endpoint]: https://docs.microsoft.com/azure/cognitive-services/translator/document-translation/get-started-with-document-translation?tabs=csharp#get-your-custom-domain-name-and-subscription-key [source_containers]: https://docs.microsoft.com/azure/cognitive-services/translator/document-translation/get-started-with-document-translation?tabs=csharp#create-your-azure-blob-storage-containers diff --git a/sdk/documenttranslator/ai-document-translator-rest/samples/v1/javascript/README.md b/sdk/documenttranslator/ai-document-translator-rest/samples/v1/javascript/README.md index 204f29d29cdd..b726da4e6f56 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/samples/v1/javascript/README.md +++ b/sdk/documenttranslator/ai-document-translator-rest/samples/v1/javascript/README.md @@ -59,9 +59,9 @@ npx cross-env ENDPOINT="" DOCUMENT_TRANSLATOR_API_KEY=" 0) { | In v2 | Equivalent in v5 | Sample | | -------------------------------------------------------------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | -| `EventHubClient.receive()` and `EventHubClient.receiveBatch()` | `EventHubConsumerClient.subscribe()` | [receiveEvents](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) | +| `EventHubClient.receive()` and `EventHubClient.receiveBatch()` | `EventHubConsumerClient.subscribe()` | [receiveEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) | Other noteworthy changes: @@ -226,7 +226,7 @@ const subscription = eventHubConsumerClient.subscribe( await subscription.close(); ``` -See [`receiveEvents.ts`](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) +See [`receiveEvents.ts`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) for a sample program demonstrating this. #### Migrating from `EventProcessorHost` to `EventHubConsumerClient` for receiving events @@ -333,7 +333,7 @@ what order, making checkpointing difficult to do correctly. In V5 the model has been simplified so new events are not delivered until the previous batch has been consumed by your event handler. You can see a sample -demonstrating this [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) +demonstrating this [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) ### Creating EventPosition @@ -350,7 +350,7 @@ demonstrating this [here](https://github.com/Azure/azure-sdk-for-js/blob/master/ Retry logic and tuning has been externalized, allowing for better configuration to better suit your network configuration and reliability. -More information about configuring and tuning retries can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs#guidance-around-retries). +More information about configuring and tuning retries can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs#guidance-around-retries). ### Handling errors @@ -367,6 +367,6 @@ More information about configuring and tuning retries can be found [here](https: ## Additional samples -More examples can be found at [samples for @azure/event-hubs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples). +More examples can be found at [samples for @azure/event-hubs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples). ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Feventhub%2Fevent-hubs%2FMIGRATIONGUIDE.png) diff --git a/sdk/eventhub/event-hubs/samples/browserSample/README.md b/sdk/eventhub/event-hubs/samples/browserSample/README.md index 78aea69adc7c..e61d02413b68 100644 --- a/sdk/eventhub/event-hubs/samples/browserSample/README.md +++ b/sdk/eventhub/event-hubs/samples/browserSample/README.md @@ -77,14 +77,14 @@ as the redirect URI you added to your app registration. If you're following alon Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[sendevents]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples/browserSample/src/sendEvents.js -[receiveevents]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples/browserSample/src/receiveEvents.js -[configuration]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples/browserSample/src/configuration.js -[app]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples/browserSample/src/index.js -[htmlpage]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples/browserSample/index.html +[sendevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/src/sendEvents.js +[receiveevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/src/receiveEvents.js +[configuration]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/src/configuration.js +[app]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/src/index.js +[htmlpage]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/index.html [apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs [azhubacct]: https://docs.microsoft.com/azure/event-hubs/event-hubs-node-get-started-send [aziothub]: https://docs.microsoft.com/azure/iot-hub/iot-hub-node-node-module-twin-getstarted [freesub]: https://azure.microsoft.com/free/ -[browsercred]: https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/using-azure-identity.md#interactivebrowsercredential +[browsercred]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/using-azure-identity.md#interactivebrowsercredential [implicitgrantflow]: https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-implicit-grant-flow diff --git a/sdk/eventhub/event-hubs/samples/expressSample/src/README.md b/sdk/eventhub/event-hubs/samples/expressSample/src/README.md index 235af012b016..9c2840f9954b 100644 --- a/sdk/eventhub/event-hubs/samples/expressSample/src/README.md +++ b/sdk/eventhub/event-hubs/samples/expressSample/src/README.md @@ -49,6 +49,6 @@ curl --header "Content-Type: application/json" \ Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[eventproducer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples/expressSample/src/asyncBatchingProducer.ts -[index]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/samples/expressSample/src/index.ts +[eventproducer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/expressSample/src/asyncBatchingProducer.ts +[index]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/expressSample/src/index.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs diff --git a/sdk/eventhub/event-hubs/samples/javascript/README.md b/sdk/eventhub/event-hubs/samples/javascript/README.md index b02f3958e907..3f7852236241 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/README.md +++ b/sdk/eventhub/event-hubs/samples/javascript/README.md @@ -64,15 +64,15 @@ npx cross-env EVENTHUB_NAME="" EVENTHUB_CONNECTION_STRING="" EVENT_ Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[receiveeventsusingcheckpointstore]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsUsingCheckpointStore.js -[receiveeventswithapispecificstorage]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsWithApiSpecificStorage.js +[receiveeventsusingcheckpointstore]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsUsingCheckpointStore.js +[receiveeventswithapispecificstorage]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsWithApiSpecificStorage.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/eventhubs-checkpointstore-blob [freesub]: https://azure.microsoft.com/free/ [createinstance_azureeventhub]: https://docs.microsoft.com/azure/event-hubs/event-hubs-create [createinstance_azurestorageaccount]: https://docs.microsoft.com/azure/storage/common/storage-account-overview -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/eventhubs-checkpointstore-blob/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/eventhubs-checkpointstore-blob/README.md diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/README.md b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/README.md index 1b92089a6fb1..abe29e2598b2 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/README.md +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/README.md @@ -70,11 +70,11 @@ npx cross-env EVENT_HUB_CONNECTION_STRING="" EVENT_ Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[receiveeventsusingcheckpointstore]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts -[receiveeventswithapispecificstorage]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsWithApiSpecificStorage.ts +[receiveeventsusingcheckpointstore]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts +[receiveeventswithapispecificstorage]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsWithApiSpecificStorage.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/eventhubs-checkpointstore-blob [freesub]: https://azure.microsoft.com/free/ [createinstance_azureeventhub]: https://docs.microsoft.com/azure/event-hubs/event-hubs-create [createinstance_azurestorageaccount]: https://docs.microsoft.com/azure/storage/common/storage-account-overview -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/eventhubs-checkpointstore-blob/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/eventhubs-checkpointstore-blob/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/test/README.md b/sdk/eventhub/eventhubs-checkpointstore-blob/test/README.md index e92056266db7..20f3a32ab73c 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/test/README.md +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -The Azure Event Hubs Checkpoint Store client does not have any recorded tests and so, all the tests require an Azure Event Hubs namespace to be set up beforehand with at lease a single Event Hub instance in it. You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/test-resources.json) that already has all of the the necessary configurations. +The Azure Event Hubs Checkpoint Store client does not have any recorded tests and so, all the tests require an Azure Event Hubs namespace to be set up beforehand with at lease a single Event Hub instance in it. You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/test-resources.json) that already has all of the the necessary configurations. The Azure resources that are used by the tests in this project are: diff --git a/sdk/eventhub/mock-hub/README.md b/sdk/eventhub/mock-hub/README.md index 0f35c2733fbb..039f363b2720 100644 --- a/sdk/eventhub/mock-hub/README.md +++ b/sdk/eventhub/mock-hub/README.md @@ -41,8 +41,8 @@ Here's a list of some features that would be helpful for the `event-hubs` live t ### Additional details -Some details on what features the mock service supports can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/mock-hub/design/features.md). +Some details on what features the mock service supports can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/mock-hub/design/features.md). -Some details on the overal architecture of this project can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/mock-hub/design/architecture.md). +Some details on the overal architecture of this project can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/mock-hub/design/architecture.md). -To see a quick example of how to start the mock service, look at [here](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/mock-hub/samples/typescript/readme.md). +To see a quick example of how to start the mock service, look at [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/mock-hub/samples/typescript/readme.md). diff --git a/sdk/formrecognizer/ai-form-recognizer/README.md b/sdk/formrecognizer/ai-form-recognizer/README.md index ada3b6ffbd83..3559603dfaa7 100644 --- a/sdk/formrecognizer/ai-form-recognizer/README.md +++ b/sdk/formrecognizer/ai-form-recognizer/README.md @@ -8,11 +8,11 @@ Azure Cognitive Services [Form Recognizer](https://azure.microsoft.com/services/ **Note:** This package targets Azure Form Recognizer service API version 2.x. -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/) | [Package (NPM)](https://www.npmjs.com/package/@azure/ai-form-recognizer) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-form-recognizer) | [Product documentation](https://docs.microsoft.com/azure/cognitive-services/form-recognizer/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/formrecognizer/ai-form-recognizer/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/formrecognizer/ai-form-recognizer/samples) ## Getting started @@ -446,15 +446,15 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps -Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/formrecognizer/ai-form-recognizer/samples) directory for detailed code samples that show how to use this library including several features and methods that are not shown in the "Examples" section above, such as copying and composing models. +Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/formrecognizer/ai-form-recognizer/samples) directory for detailed code samples that show how to use this library including several features and methods that are not shown in the "Examples" section above, such as copying and composing models. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fformrecognizer%2Fai-form-recognizer%2FREADME.png) @@ -462,11 +462,11 @@ If you'd like to contribute to this library, please read the [contributing guide [azure_sub]: https://azure.microsoft.com/free/ [fr_or_cs_resource]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows [azure_portal]: https://portal.azure.com -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity [register_aad_app]: https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential [quickstart_training]: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/quickstarts/curl-train-extract#train-a-form-recognizer-model -[labeled_sample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/trainLabeledModel.ts +[labeled_sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/trainLabeledModel.ts [multi_and_single_service]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows [azure_portal_create_fr_resource]: https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer [azure_cli_create_fr_resource]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli?tabs=windows diff --git a/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/README.md b/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/README.md index d855f9ca9254..9f7383660b5c 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/README.md +++ b/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/README.md @@ -74,25 +74,25 @@ npx cross-env FORM_RECOGNIZER_ENDPOINT="
" FORM_RECOGNI Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[recognizecustomform]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeCustomForm.js -[recognizereceipt]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeReceipt.js -[recognizebusinesscard]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeBusinessCard.js -[recognizeidentitydocument]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeIdentityDocument.js -[recognizeinvoice]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeInvoice.js -[recognizecontent]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeContent.js -[recognizereceiptfromurl]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeReceiptFromUrl.js -[trainlabeledmodel]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/trainLabeledModel.js -[trainunlabeledmodel]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/trainUnlabeledModel.js -[differentiatelabeledunlabeled]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/differentiateLabeledUnlabeled.js -[getboundingboxes]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/getBoundingBoxes.js -[copymodel]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/copyModel.js -[createcomposedmodel]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/createComposedModel.js -[authenticationmethods]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/authenticationMethods.js -[custommodelmanagement]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/customModelManagement.js -[iteratormodels]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/iteratorModels.js -[stronglytypingrecognizedform]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/stronglyTypingRecognizedForm.js -[deleteallmodels]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/deleteAllModels.js +[recognizecustomform]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeCustomForm.js +[recognizereceipt]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeReceipt.js +[recognizebusinesscard]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeBusinessCard.js +[recognizeidentitydocument]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeIdentityDocument.js +[recognizeinvoice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeInvoice.js +[recognizecontent]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeContent.js +[recognizereceiptfromurl]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/recognizeReceiptFromUrl.js +[trainlabeledmodel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/trainLabeledModel.js +[trainunlabeledmodel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/trainUnlabeledModel.js +[differentiatelabeledunlabeled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/differentiateLabeledUnlabeled.js +[getboundingboxes]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/getBoundingBoxes.js +[copymodel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/copyModel.js +[createcomposedmodel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/createComposedModel.js +[authenticationmethods]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/authenticationMethods.js +[custommodelmanagement]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/customModelManagement.js +[iteratormodels]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/iteratorModels.js +[stronglytypingrecognizedform]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/stronglyTypingRecognizedForm.js +[deleteallmodels]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/deleteAllModels.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/ai-form-recognizer [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesaccount]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/formrecognizer/ai-form-recognizer/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/formrecognizer/ai-form-recognizer/README.md diff --git a/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/README.md b/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/README.md index 8c31f2adf95a..16e677dd5691 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/README.md +++ b/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/README.md @@ -86,26 +86,26 @@ npx cross-env FORM_RECOGNIZER_ENDPOINT="" FORM_RECOGNI Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[recognizecustomform]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeCustomForm.ts -[recognizereceipt]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeReceipt.ts -[recognizebusinesscard]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeBusinessCard.ts -[recognizeidentitydocument]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeIdentityDocument.ts -[recognizeinvoice]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeInvoice.ts -[recognizecontent]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeContent.ts -[recognizereceiptfromurl]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeReceiptFromUrl.ts -[trainlabeledmodel]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/trainLabeledModel.ts -[trainunlabeledmodel]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/trainUnlabeledModel.ts -[differentiatelabeledunlabeled]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/differentiateLabeledUnlabeled.ts -[getboundingboxes]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/getBoundingBoxes.ts -[copymodel]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/copyModel.ts -[createcomposedmodel]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/createComposedModel.ts -[authenticationmethods]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/authenticationMethods.ts -[custommodelmanagement]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/customModelManagement.ts -[iteratormodels]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/iteratorModels.ts -[stronglytypingrecognizedform]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/stronglyTypingRecognizedForm.ts -[deleteallmodels]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/deleteAllModels.ts +[recognizecustomform]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeCustomForm.ts +[recognizereceipt]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeReceipt.ts +[recognizebusinesscard]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeBusinessCard.ts +[recognizeidentitydocument]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeIdentityDocument.ts +[recognizeinvoice]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeInvoice.ts +[recognizecontent]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeContent.ts +[recognizereceiptfromurl]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/recognizeReceiptFromUrl.ts +[trainlabeledmodel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/trainLabeledModel.ts +[trainunlabeledmodel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/trainUnlabeledModel.ts +[differentiatelabeledunlabeled]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/differentiateLabeledUnlabeled.ts +[getboundingboxes]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/getBoundingBoxes.ts +[copymodel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/copyModel.ts +[createcomposedmodel]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/createComposedModel.ts +[authenticationmethods]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/authenticationMethods.ts +[custommodelmanagement]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/customModelManagement.ts +[iteratormodels]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/iteratorModels.ts +[stronglytypingrecognizedform]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/stronglyTypingRecognizedForm.ts +[deleteallmodels]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/src/deleteAllModels.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/ai-form-recognizer [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesaccount]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/formrecognizer/ai-form-recognizer/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/formrecognizer/ai-form-recognizer/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/formrecognizer/ci.yml b/sdk/formrecognizer/ci.yml index 2d479988c4f0..0d293fe0ae4c 100644 --- a/sdk/formrecognizer/ci.yml +++ b/sdk/formrecognizer/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/identity/ci.yml b/sdk/identity/ci.yml index 9777c510351a..1c40eac5a650 100644 --- a/sdk/identity/ci.yml +++ b/sdk/identity/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/identity/identity/CHANGELOG.md b/sdk/identity/identity/CHANGELOG.md index 7961335e8f85..4b50feac4357 100644 --- a/sdk/identity/identity/CHANGELOG.md +++ b/sdk/identity/identity/CHANGELOG.md @@ -60,7 +60,7 @@ ### Tracing Changes -- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. +- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. ## 2.0.0-beta.1 (2021-03-24) @@ -69,7 +69,7 @@ This update marks the preview for the first major version update of the `@azure/ ### Breaking changes - Changes to `InteractiveBrowserCredential` - - When used in browser applications, the `InteractiveBrowserCredential` has been updated to use the [Auth Code Flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow) with [PKCE](https://tools.ietf.org/html/rfc7636) rather than [Implicit Grant Flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-implicit-grant-flow) by default to better support browsers with enhanced security restrictions. Please note that this credential always used the Auth Code Flow when used in Node.js applications. Read more on this in our [docs on Interactive Browser Credential](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/interactive-browser-credential.md). + - When used in browser applications, the `InteractiveBrowserCredential` has been updated to use the [Auth Code Flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow) with [PKCE](https://tools.ietf.org/html/rfc7636) rather than [Implicit Grant Flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-implicit-grant-flow) by default to better support browsers with enhanced security restrictions. Please note that this credential always used the Auth Code Flow when used in Node.js applications. Read more on this in our [docs on Interactive Browser Credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/interactive-browser-credential.md). - The default client ID used for `InteractiveBrowserCredential` was viable only in Node.js and not for the browser. Therefore, client Id is now a required parameter when constructing this credential in browser applications. - The `loginStyle` and `flow` options to the constructor for `InteractiveBrowserCredential` will now show up only when used in browser applications as these were never applicable to Node.js - Removed the `postLogoutRedirectUri` from the options to the constructor for `InteractiveBrowserCredential`. This option was not being used since we don't have a way for users to log out yet. @@ -112,7 +112,7 @@ This release doesn't have the changes from `1.2.4-beta.1`. ## 1.2.4-beta.1 (2021-02-12) -- Breaking Change: Updated `InteractiveBrowserCredential` to use the Auth Code Flow with PKCE rather than Implicit Grant Flow by default in the browser, to better support browsers with enhanced security restrictions. A new file was added to provide more information about this credential [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/interactive-browser-credential.md). +- Breaking Change: Updated `InteractiveBrowserCredential` to use the Auth Code Flow with PKCE rather than Implicit Grant Flow by default in the browser, to better support browsers with enhanced security restrictions. A new file was added to provide more information about this credential [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/interactive-browser-credential.md). ## 1.2.3 (2021-02-09) diff --git a/sdk/identity/identity/README.md b/sdk/identity/identity/README.md index e21b06629214..119a11ee5df4 100644 --- a/sdk/identity/identity/README.md +++ b/sdk/identity/identity/README.md @@ -2,11 +2,11 @@ The Azure Identity library provides Azure Active Directory token authentication support across the Azure SDK. It provides a set of [TokenCredential](https://docs.microsoft.com/javascript/api/@azure/core-auth/tokencredential) implementations which can be used to construct Azure SDK clients which support AAD token authentication. -You can find examples for these various credentials in the [Azure Identity Examples Page](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md) +You can find examples for these various credentials in the [Azure Identity Examples Page](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md) > **Note**: As of `@azure/identity` >=2.0.0, `VisualStudioCodeCredential` now requires a secondary extension package to use. Please see the [`@azure/identity-vscode` package](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode) as well as [the "Extensions" section](#extensions) below for more information. -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity) | [Package (npm)](https://www.npmjs.com/package/@azure/identity) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/identity) | [Product documentation](https://azure.microsoft.com/services/active-directory/) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples) +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity) | [Package (npm)](https://www.npmjs.com/package/@azure/identity) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/identity) | [Product documentation](https://azure.microsoft.com/services/active-directory/) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples) ## Getting started @@ -61,13 +61,13 @@ To authenticate Azure SDKs within web browsers, we currently offer the `Interact ## Key concepts -If this is your first time using `@azure/identity` or the Microsoft identity platform (Azure Active Directory), we recommend that you read [Using `@azure/identity` with Microsoft Identity Platform](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/using-azure-identity.md) first. This document will give you a deeper understanding of the platform and how to configure your Azure account correctly. +If this is your first time using `@azure/identity` or the Microsoft identity platform (Azure Active Directory), we recommend that you read [Using `@azure/identity` with Microsoft Identity Platform](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/using-azure-identity.md) first. This document will give you a deeper understanding of the platform and how to configure your Azure account correctly. ### Credentials A credential is a class which contains or can obtain the data needed for a service client to authenticate requests. Service clients across Azure SDK accept credentials when they are constructed, and service clients use those credentials to authenticate requests to the service. -The Azure Identity library focuses on OAuth authentication with Azure Active directory, and it offers a variety of credential classes capable of acquiring an AAD token to authenticate service requests. All of the credential classes in this library are implementations of the [TokenCredential](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-auth/src/tokenCredential.ts) abstract class, and any of them can be used by to construct service clients capable of authenticating with a TokenCredential. +The Azure Identity library focuses on OAuth authentication with Azure Active directory, and it offers a variety of credential classes capable of acquiring an AAD token to authenticate service requests. All of the credential classes in this library are implementations of the [TokenCredential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-auth/src/tokenCredential.ts) abstract class, and any of them can be used by to construct service clients capable of authenticating with a TokenCredential. See [Credential Classes](#credential-classes). @@ -125,7 +125,7 @@ Configuration is attempted in the above order. For example, if values for a clie ## Examples -You can find more examples of using various credentials in [Azure Identity Examples Page](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md) +You can find more examples of using various credentials in [Azure Identity Examples Page](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md) ### Authenticating with the `DefaultAzureCredential` @@ -150,7 +150,7 @@ const client = new KeyClient(vaultUrl, credential); ### Specifying a user assigned managed identity with the `DefaultAzureCredential` -A relatively common scenario involves authenticating using a user assigned managed identity for an Azure resource. Explore the [example on Authenticating a user assigned managed identity with DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-assigned-managed-identity-with-defaultazurecredential) to see how this is made a relatively straightforward task that can be configured using environment variables or in code. +A relatively common scenario involves authenticating using a user assigned managed identity for an Azure resource. Explore the [example on Authenticating a user assigned managed identity with DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-assigned-managed-identity-with-defaultazurecredential) to see how this is made a relatively straightforward task that can be configured using environment variables or in code. ### Define a custom authentication flow with the `ChainedTokenCredential` @@ -181,7 +181,7 @@ The [Managed identity authentication](https://docs.microsoft.com/azure/active-di - [Azure Arc](https://docs.microsoft.com/azure/azure-arc/servers/managed-identity-authentication) - [Azure Service Fabric](https://docs.microsoft.com/azure/service-fabric/concepts-managed-identity) -For examples of how to use managed identity for authentication please refer to [the examples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-in-azure-with-managed-identity) +For examples of how to use managed identity for authentication please refer to [the examples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-in-azure-with-managed-identity) ## Credential Classes @@ -189,33 +189,33 @@ For examples of how to use managed identity for authentication please refer to [ | credential | usage | example | | --------------------------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `DefaultAzureCredential` | Provides a simplified authentication experience to quickly start developing applications run in the Azure cloud. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-defaultazurecredential) | -| `ChainedTokenCredential` | Allows users to define custom authentication flows composing multiple credentials. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#chaining-credentials) | -| `EnvironmentCredential` | Authenticates a service principal or user via credential information specified in environment variables. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-service-principal-with-environment-credentials) | -| `ManagedIdentityCredential` | Authenticates the managed identity of an Azure resource. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-in-azure-with-managed-identity) | +| `DefaultAzureCredential` | Provides a simplified authentication experience to quickly start developing applications run in the Azure cloud. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-defaultazurecredential) | +| `ChainedTokenCredential` | Allows users to define custom authentication flows composing multiple credentials. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#chaining-credentials) | +| `EnvironmentCredential` | Authenticates a service principal or user via credential information specified in environment variables. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-service-principal-with-environment-credentials) | +| `ManagedIdentityCredential` | Authenticates the managed identity of an Azure resource. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-in-azure-with-managed-identity) | ### Authenticating Service Principals | credential | usage | example | reference | | ----------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- | -| `ClientSecretCredential` | Authenticates a service principal using a secret. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-service-principal-with-a-client-secret) | [Service principal authentication](https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals) | -| `ClientCertificateCredential` | Authenticates a service principal using a certificate. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-service-principal-with-a-client-certificate) | [Service principal authentication](https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals) | +| `ClientSecretCredential` | Authenticates a service principal using a secret. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-service-principal-with-a-client-secret) | [Service principal authentication](https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals) | +| `ClientCertificateCredential` | Authenticates a service principal using a certificate. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-service-principal-with-a-client-certificate) | [Service principal authentication](https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals) | ### Authenticating Users | credential | usage | example | reference | | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `InteractiveBrowserCredential` | Interactively authenticates a user with the default system browser. Read more about how this happens [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/interactive-browser-credential.md). | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-interactively-in-the-browser) | [OAuth2 authentication code](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow) | -| `DeviceCodeCredential` | Interactively authenticates a user on devices with limited UI. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-device-code-flow) | [Device code authentication](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-device-code) | -| `UsernamePasswordCredential` | Authenticates a user with a username and password. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-username-and-password) | [Username + password authentication](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc) | -| `AuthorizationCodeCredential` | Authenticate a user with a previously obtained authorization code. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-auth-code-flow) | [OAuth2 authentication code](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow) | +| `InteractiveBrowserCredential` | Interactively authenticates a user with the default system browser. Read more about how this happens [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/interactive-browser-credential.md). | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-interactively-in-the-browser) | [OAuth2 authentication code](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow) | +| `DeviceCodeCredential` | Interactively authenticates a user on devices with limited UI. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-device-code-flow) | [Device code authentication](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-device-code) | +| `UsernamePasswordCredential` | Authenticates a user with a username and password. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-username-and-password) | [Username + password authentication](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth-ropc) | +| `AuthorizationCodeCredential` | Authenticate a user with a previously obtained authorization code. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-auth-code-flow) | [OAuth2 authentication code](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow) | ### Authenticating via Development Tools | credential | usage | example | reference | | --------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `AzureCliCredential` | Authenticate in a development environment with the Azure CLI. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-azure-cli) | [Azure CLI authentication](https://docs.microsoft.com/cli/azure/authenticate-azure-cli) | -| `AzurePowerShellCredential` | Authenticate in a development environment using Azure PowerShell. | [example](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-azure-powershell) | [Azure PowerShell authentication](https://docs.microsoft.com/powershell/azure/authenticate-azureps) | +| `AzureCliCredential` | Authenticate in a development environment with the Azure CLI. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-azure-cli) | [Azure CLI authentication](https://docs.microsoft.com/cli/azure/authenticate-azure-cli) | +| `AzurePowerShellCredential` | Authenticate in a development environment using Azure PowerShell. | [example](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-a-user-account-with-azure-powershell) | [Azure PowerShell authentication](https://docs.microsoft.com/powershell/azure/authenticate-azureps) | ## Troubleshooting @@ -245,7 +245,7 @@ If you encounter bugs or have suggestions, please [open an issue](https://github ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. [1]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-identity/1.0.0/classes/defaultazurecredential.html [2]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-identity/1.0.0/classes/managedidentitycredential.html @@ -258,9 +258,9 @@ If you'd like to contribute to this library, please read the [contributing guide [9]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-identity/1.0.0/classes/usernamepasswordcredential.html [azure_cli]: https://docs.microsoft.com/cli/azure [azure_powershell]: https://docs.microsoft.com/powershell/azure/ -[azureclilogin_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/master/sdk/identity/identity/images/AzureCliLogin.png -[azureclilogindevicecode_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/master/sdk/identity/identity/images/AzureCliLoginDeviceCode.png -[azurepowershelllogin_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/master/sdk/identity/identity/images/AzurePowerShellLogin.png -[defaultauthflow_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/master/sdk/identity/identity/images/DefaultAzureCredentialAuthenticationFlow.png +[azureclilogin_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/sdk/identity/identity/images/AzureCliLogin.png +[azureclilogindevicecode_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/sdk/identity/identity/images/AzureCliLoginDeviceCode.png +[azurepowershelllogin_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/sdk/identity/identity/images/AzurePowerShellLogin.png +[defaultauthflow_image]: https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/sdk/identity/identity/images/DefaultAzureCredentialAuthenticationFlow.png ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fidentity%2Fidentity%2FREADME.png) diff --git a/sdk/identity/identity/interactive-browser-credential.md b/sdk/identity/identity/interactive-browser-credential.md index e9d7d25b864a..77832499f20f 100644 --- a/sdk/identity/identity/interactive-browser-credential.md +++ b/sdk/identity/identity/interactive-browser-credential.md @@ -52,6 +52,6 @@ Then you need to visit your app registration and update the redirect URI you're ## Sample code -You can see a sample project that uses `InteractiveBrowserCredential` here: [link to the sample project](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity/test/manual). +You can see a sample project that uses `InteractiveBrowserCredential` here: [link to the sample project](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/test/manual). [AuthCodeFlow]: https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow diff --git a/sdk/identity/identity/samples/AzureIdentityExamples.md b/sdk/identity/identity/samples/AzureIdentityExamples.md index 789b1b8671f5..af07eabf52d8 100644 --- a/sdk/identity/identity/samples/AzureIdentityExamples.md +++ b/sdk/identity/identity/samples/AzureIdentityExamples.md @@ -103,7 +103,7 @@ If your application is hosted in Azure, you can make use of [Managed Identity](h #### Authenticating with `DefaultAzureCredential` -This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `DefaultAzureCredential`. There's also [a runnable sample](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/typescript/src/defaultAzureCredential.ts) to create a Key Vault key client you can copy-paste. The `DefaultAzureCredential` makes for a terrific starting point as it provides sane defaults with minimal configuration and chains multiple credentials together. While you may outgrow it eventually, it is a sensible first choice for most scenarios where the application is intended to ultimately be run in the Azure Cloud. +This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `DefaultAzureCredential`. There's also [a runnable sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/typescript/src/defaultAzureCredential.ts) to create a Key Vault key client you can copy-paste. The `DefaultAzureCredential` makes for a terrific starting point as it provides sane defaults with minimal configuration and chains multiple credentials together. While you may outgrow it eventually, it is a sensible first choice for most scenarios where the application is intended to ultimately be run in the Azure Cloud. ```ts /** @@ -155,7 +155,7 @@ function withInteractiveBrowserCredential() { #### Authenticating a service principal with a client secret -This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `ClientSecretCredential`. There's also [a runnable sample](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/typescript/src/clientSecretCredential.ts) to create a Key Vault key client you can copy-paste. +This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `ClientSecretCredential`. There's also [a runnable sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/typescript/src/clientSecretCredential.ts) to create a Key Vault key client you can copy-paste. An Azure service principal is an identity created for use with applications, hosted services, and automated tools to access Azure resources. This access is restricted by the roles assigned to the service principal, giving you control over which resources can be accessed and at which level. For security reasons, it's always recommended to use service principals with automated tools rather than allowing them to log in with a user identity. @@ -286,7 +286,7 @@ Next, prompt the user to login at the URL documented at [Microsoft identity plat Then create an API at the redirect URL with the following code to access the Key Vault service. -For a complete example using the authorization code flow in Electron please refer to [our electron sample](https://github.com/Azure/azure-sdk-for-js/blob/master/samples/frameworks/electron/ts/src/authProvider.ts) +For a complete example using the authorization code flow in Electron please refer to [our electron sample](https://github.com/Azure/azure-sdk-for-js/blob/main/samples/frameworks/electron/ts/src/authProvider.ts) ```ts /** diff --git a/sdk/identity/identity/samples/javascript/README.md b/sdk/identity/identity/samples/javascript/README.md index 4bc829b75cfe..372288c6fdd5 100644 --- a/sdk/identity/identity/samples/javascript/README.md +++ b/sdk/identity/identity/samples/javascript/README.md @@ -70,10 +70,10 @@ npx cross-env KEYVAULT_NAME="" AZURE_TENANT_ID="" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[defaultAzureCredential]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/javascript/defaultAzureCredential.js -[clientSecretCredential]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/javascript/clientSecretCredential.js -[environmentCredential]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/javascript/environmentCredential.js +[defaultAzureCredential]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/javascript/defaultAzureCredential.js +[clientSecretCredential]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/javascript/clientSecretCredential.js +[environmentCredential]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/javascript/environmentCredential.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/identity [azkeyvault]: https://docs.microsoft.com/azure/key-vault/quick-create-portal [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/README.md diff --git a/sdk/identity/identity/samples/typescript/README.md b/sdk/identity/identity/samples/typescript/README.md index eb549b9ebdd4..bb33229b0c14 100644 --- a/sdk/identity/identity/samples/typescript/README.md +++ b/sdk/identity/identity/samples/typescript/README.md @@ -82,11 +82,11 @@ npx cross-env KEYVAULT_NAME="" AZURE_TENANT_ID="" Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[defaultAzureCredential]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/typescript/src/defaultAzureCredential.ts -[clientSecretCredential]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/typescript/src/clientSecretCredential.ts -[environmentCredential]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/typescript/src/environmentCredential.ts +[defaultAzureCredential]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/typescript/src/defaultAzureCredential.ts +[clientSecretCredential]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/typescript/src/clientSecretCredential.ts +[environmentCredential]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/typescript/src/environmentCredential.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/identity [azkeyvault]: https://docs.microsoft.com/azure/key-vault/quick-create-portal [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/iot/ci.yml b/sdk/iot/ci.yml index db4abb094218..05606053d629 100644 --- a/sdk/iot/ci.yml +++ b/sdk/iot/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/iot/iot-modelsrepository/README.md b/sdk/iot/iot-modelsrepository/README.md index 38cdc2010249..6929ea69e592 100644 --- a/sdk/iot/iot-modelsrepository/README.md +++ b/sdk/iot/iot-modelsrepository/README.md @@ -2,7 +2,7 @@ This package contains an isomorphic Client Library for Azure IoT Models Repository in JavaScript. Use the Azure IoT Models Repository library for JavaScript to pull DTDL files from remote endpoints. -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iot/iot-modelsrepository) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iot/iot-modelsrepository) | [Package (npm)](https://www.npmjs.com/package/@azure/iot-modelsrepository/) | Samples diff --git a/sdk/iot/iot-modelsrepository/samples/v1/javascript/README.md b/sdk/iot/iot-modelsrepository/samples/v1/javascript/README.md index 1b54fffa3579..025fcc369456 100644 --- a/sdk/iot/iot-modelsrepository/samples/v1/javascript/README.md +++ b/sdk/iot/iot-modelsrepository/samples/v1/javascript/README.md @@ -54,8 +54,8 @@ npx cross-env node dtmiConventionsSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[dtmiconventionssample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/iot/iot-modelsrepository/samples/v1/javascript/dtmiConventionsSample.js -[modelresolutionsample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/iot/iot-modelsrepository/samples/v1/javascript/modelResolutionSample.js +[dtmiconventionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/iot/iot-modelsrepository/samples/v1/javascript/dtmiConventionsSample.js +[modelresolutionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/iot/iot-modelsrepository/samples/v1/javascript/modelResolutionSample.js [apiref]: https://docs.microsoft.com/javascript/api/ [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iot/iot-modelsrepository/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iot/iot-modelsrepository/README.md diff --git a/sdk/iot/iot-modelsrepository/samples/v1/typescript/README.md b/sdk/iot/iot-modelsrepository/samples/v1/typescript/README.md index 3eccb04dab16..d0ec3c6dbcb7 100644 --- a/sdk/iot/iot-modelsrepository/samples/v1/typescript/README.md +++ b/sdk/iot/iot-modelsrepository/samples/v1/typescript/README.md @@ -66,9 +66,9 @@ npx cross-env node dist/dtmiConventionsSample.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[dtmiconventionssample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/iot/iot-modelsrepository/samples/v1/typescript/src/dtmiConventionsSample.ts -[modelresolutionsample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/iot/iot-modelsrepository/samples/v1/typescript/src/modelResolutionSample.ts +[dtmiconventionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/iot/iot-modelsrepository/samples/v1/typescript/src/dtmiConventionsSample.ts +[modelresolutionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/iot/iot-modelsrepository/samples/v1/typescript/src/modelResolutionSample.ts [apiref]: https://docs.microsoft.com/javascript/api/ [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iot/iot-modelsrepository/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iot/iot-modelsrepository/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/keyvault/README.md b/sdk/keyvault/README.md index 8de1d801e010..3793ca496e58 100644 --- a/sdk/keyvault/README.md +++ b/sdk/keyvault/README.md @@ -17,10 +17,10 @@ A fourth package, `@azure/keyvault-admin` is also available for administrative t | NPM Package | Reference | Samples | | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- | -| [@azure/keyvault-keys](https://npmjs.com/package/@azure/keyvault-keys) | [API Reference for @azure/keyvault-keys](https://docs.microsoft.com/javascript/api/@azure/keyvault-keys) | [Samples for working with keys](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys/samples) | -| [@azure/keyvault-secrets](https://npmjs.com/package/@azure/keyvault-secrets) | [API Reference for @azure/keyvault-secrets](https://docs.microsoft.com/javascript/api/@azure/keyvault-secrets) | [Samples for working with secrets](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets/samples) | -| [@azure/keyvault-certificates](https://npmjs.com/package/@azure/keyvault-certificates) | [API Reference for @azure/keyvault-certificates](https://docs.microsoft.com/javascript/api/@azure/keyvault-certificates) | [Samples for working with certificates](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-certificates/samples) | -| [@azure/keyvault-admin](https://npmjs.com/package/@azure/keyvault-admin) | [API Reference for @azure/keyvault-admin](https://docs.microsoft.com/javascript/api/@azure/keyvault-admin) | [Samples for administrative tasks](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/samples) | +| [@azure/keyvault-keys](https://npmjs.com/package/@azure/keyvault-keys) | [API Reference for @azure/keyvault-keys](https://docs.microsoft.com/javascript/api/@azure/keyvault-keys) | [Samples for working with keys](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-keys/samples) | +| [@azure/keyvault-secrets](https://npmjs.com/package/@azure/keyvault-secrets) | [API Reference for @azure/keyvault-secrets](https://docs.microsoft.com/javascript/api/@azure/keyvault-secrets) | [Samples for working with secrets](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets/samples) | +| [@azure/keyvault-certificates](https://npmjs.com/package/@azure/keyvault-certificates) | [API Reference for @azure/keyvault-certificates](https://docs.microsoft.com/javascript/api/@azure/keyvault-certificates) | [Samples for working with certificates](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates/samples) | +| [@azure/keyvault-admin](https://npmjs.com/package/@azure/keyvault-admin) | [API Reference for @azure/keyvault-admin](https://docs.microsoft.com/javascript/api/@azure/keyvault-admin) | [Samples for administrative tasks](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/samples) | ### Features diff --git a/sdk/keyvault/ci.yml b/sdk/keyvault/ci.yml index e0b7575d6f61..fd39937bfaf5 100644 --- a/sdk/keyvault/ci.yml +++ b/sdk/keyvault/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/keyvault/keyvault-admin/CHANGELOG.md b/sdk/keyvault/keyvault-admin/CHANGELOG.md index 54ce9d13406c..f8152d5d14fd 100644 --- a/sdk/keyvault/keyvault-admin/CHANGELOG.md +++ b/sdk/keyvault/keyvault-admin/CHANGELOG.md @@ -58,7 +58,7 @@ This release marks the general availability of the `@azure/keyvault-admin` packa ## 4.0.0-beta.2 (2021-02-09) -- [Breaking] Removed `dist-browser` from the published package. To bundle the Azure SDK libraries for the browsers, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md). +- [Breaking] Removed `dist-browser` from the published package. To bundle the Azure SDK libraries for the browsers, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md). - Updated the Key Vault Admin Long Running Operation Pollers to follow a more compact and meaningful approach moving forward. - Bug fix: The logging of HTTP requests wasn't properly working - now it has been fixed and tests have been written that verify the fix. - [Breaking] Return `BackupResult` and `RestoreResult` from backup/restore long running operations which will contain additional information about the operation as well any relevant data. diff --git a/sdk/keyvault/keyvault-admin/README.md b/sdk/keyvault/keyvault-admin/README.md index 1c84c2892efa..78b5b39ec144 100644 --- a/sdk/keyvault/keyvault-admin/README.md +++ b/sdk/keyvault/keyvault-admin/README.md @@ -6,7 +6,7 @@ The package `@azure/keyvault-admin` provides support for administrative Key Vaul > Note: The Administration library only works with [Azure Key Vault Managed HSM][managedhsm] - functions targeting a Key Vault will fail. > -> Note: This package cannot be used in the browser due to Azure Key Vault service limitations, please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/master/samples/cors/ts/README.md) for guidance. +> Note: This package cannot be used in the browser due to Azure Key Vault service limitations, please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/main/samples/cors/ts/README.md) for guidance. [Source code][package-gh] | [Package (npm)][package-npm] | [API Reference Documentation][docs] | [Product documentation][docs-service] | [Samples][samples] @@ -207,8 +207,8 @@ The methods that begin long running operations return a poller that allows you t We have samples both in JavaScript and TypeScript that show the access control and backup/restore features in this package. Please follow the corresponding readmes for detailed steps to run the samples. -- [Readme for JavaScript samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-admin/samples/v4/javascript/README.md) -- [Readme for TypeScript samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-admin/samples/v4/typescript/README.md) +- [Readme for JavaScript samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-admin/samples/v4/javascript/README.md) +- [Readme for TypeScript samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-admin/samples/v4/typescript/README.md) ## Troubleshooting @@ -224,31 +224,31 @@ setLogLevel("info"); You can find more code samples through the following links: -- [KeyVault Administration Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/samples/v4/javascript) -- [KeyVault Administration Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/samples/v4/typescript) -- [KeyVault Administration Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/test/) +- [KeyVault Administration Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/samples/v4/javascript) +- [KeyVault Administration Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/samples/v4/typescript) +- [KeyVault Administration Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/test/) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-admin%2FREADME.png) -[dac]: https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/identity/Azure.Identity/README.md +[dac]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md [jwk]: https://tools.ietf.org/html/rfc7517 [access_control]: https://docs.microsoft.com/azure/key-vault/managed-hsm/access-control [api-rest]: https://docs.microsoft.com/rest/api/keyvault/ [azure-cli]: https://docs.microsoft.com/cli/azure -[azure-identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity +[azure-identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity [azure-sub]: https://azure.microsoft.com/free/ [backup_client]: ./src/KeyVaultBackupClient.cs [best_practices]: https://docs.microsoft.com/azure/key-vault/managed-hsm/best-practices [built_in_roles]: https://docs.microsoft.com/azure/key-vault/managed-hsm/built-in-roles [code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ [compiler-options]: https://www.typescriptlang.org/docs/handbook/compiler-options.html -[core-lro]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-lro +[core-lro]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-lro [docs-overview]: https://docs.microsoft.com/azure/key-vault/key-vault-overview [docs-service]: https://azure.microsoft.com/services/key-vault/ [docs]: https://docs.microsoft.com/javascript/api/@azure/keyvault-admin @@ -256,12 +256,12 @@ If you'd like to contribute to this library, please read the [contributing guide [dotenv]: https://www.npmjs.com/package/dotenv] [identity-npm]: https://www.npmjs.com/package/@azure/identity [keyvault_docs]: https://docs.microsoft.com/azure/key-vault/ -[logging]: https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/core/Azure.Core/samples/Diagnostics.ts.com/Azure/azure-sdk-for-net/blob/master/sdk/keyvault/Microsoft.Azure.KeyVault/CONTRIBUTING.md +[logging]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.ts.com/Azure/azure-sdk-for-net/blob/master/sdk/keyvault/Microsoft.Azure.KeyVault/CONTRIBUTING.md [managedhsm]: https://docs.microsoft.com/azure/key-vault/managed-hsm/overview [npm]: https://www.npmjs.com/ -[package-gh]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin +[package-gh]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin [package-npm]: https://www.npmjs.com/package/@azure/keyvault-admin -[samples]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/samples +[samples]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/samples [storage-account-create-cli]: https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-cli [storage-account-create-portal]: https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-portal [storage-account-create-ps]: https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-powershell diff --git a/sdk/keyvault/keyvault-admin/samples/v4/javascript/README.md b/sdk/keyvault/keyvault-admin/samples/v4/javascript/README.md index 6d33fe894aa6..67f466a188df 100644 --- a/sdk/keyvault/keyvault-admin/samples/v4/javascript/README.md +++ b/sdk/keyvault/keyvault-admin/samples/v4/javascript/README.md @@ -64,10 +64,10 @@ npx cross-env AZURE_MANAGEDHSM_URI="" CLIENT_OBJECT_ID=" ``` -The `New-TestResources` script will ensure that the Managed HSM is activated; however, if you are creating your own Managed HSM there are additional steps required to set up the correct permissions and activate the HSM. Please see [Activate Your Managed HSM](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-admin/README.md#activate-your-managed-hsm) for more information. +The `New-TestResources` script will ensure that the Managed HSM is activated; however, if you are creating your own Managed HSM there are additional steps required to set up the correct permissions and activate the HSM. Please see [Activate Your Managed HSM](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-admin/README.md#activate-your-managed-hsm) for more information. > Managed HSMs do have an hourly cost even when not in-use. Please review the [Azure Dedicated HSM Pricing page](https://azure.microsoft.com/pricing/details/azure-dedicated-hsm/#pricing) and clean up the resources when not in use. diff --git a/sdk/keyvault/keyvault-certificates/CHANGELOG.md b/sdk/keyvault/keyvault-certificates/CHANGELOG.md index 8155259ec892..a8d2a9c879b0 100644 --- a/sdk/keyvault/keyvault-certificates/CHANGELOG.md +++ b/sdk/keyvault/keyvault-certificates/CHANGELOG.md @@ -38,7 +38,7 @@ ## 4.2.0-beta.2 (2021-02-09) -- [Breaking] Removed `dist-browser` from the published package. To bundle the Azure SDK libraries for the browsers, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md). +- [Breaking] Removed `dist-browser` from the published package. To bundle the Azure SDK libraries for the browsers, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md). - Updated the Key Vault Certificates Long Running Operation Pollers to follow a more compact and meaningful approach moving forward. - Bug fix: The logging of HTTP requests wasn't properly working - now it has been fixed and tests have been written that verify the fix. - [Breaking] Removed `parseKeyVaultCertificatesIdentifier` from the public API. diff --git a/sdk/keyvault/keyvault-certificates/README.md b/sdk/keyvault/keyvault-certificates/README.md index cc47c4ba3ef1..8ddd5d6dcdc0 100644 --- a/sdk/keyvault/keyvault-certificates/README.md +++ b/sdk/keyvault/keyvault-certificates/README.md @@ -14,9 +14,9 @@ Use the client library for Azure Key Vault Certificates in your Node.js applicat - Get all certificates. - Get all deleted certificates. -> Note: This package cannot be used in the browser due to Azure Key Vault service limitations, please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/master/samples/cors/ts/README.md) for guidance. +> Note: This package cannot be used in the browser due to Azure Key Vault service limitations, please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/main/samples/cors/ts/README.md) for guidance. -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-certificates) | [Package (npm)](https://www.npmjs.com/package/@azure/keyvault-certificates) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/keyvault-certificates) | [Product documentation](https://azure.microsoft.com/services/key-vault/) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples) +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates) | [Package (npm)](https://www.npmjs.com/package/@azure/keyvault-certificates) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/keyvault-certificates) | [Product documentation](https://azure.microsoft.com/services/key-vault/) | [Samples](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples) ## Getting started @@ -92,7 +92,7 @@ Use the [Azure Cloud Shell](https://shell.azure.com/bash) snippet below to creat ## Authenticating with Azure Active Directory -The Key Vault service relies on Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. The [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) provides more details and samples to get you started. +The Key Vault service relies on Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. The [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) provides more details and samples to get you started. Here's a quick example. First, import `DefaultAzureCredential` and `CertificateClient`: @@ -678,12 +678,12 @@ setLogLevel("info"); You can find more code samples through the following links: -- [KeyVault Certificates Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript) -- [KeyVault Certificates Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript) -- [KeyVault Certificates Test Cases](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/test/) +- [KeyVault Certificates Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript) +- [KeyVault Certificates Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript) +- [KeyVault Certificates Test Cases](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/test/) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-certificates%2FREADME.png) diff --git a/sdk/keyvault/keyvault-certificates/migration-guide.md b/sdk/keyvault/keyvault-certificates/migration-guide.md index fae6752dd902..19b5fc13ed93 100644 --- a/sdk/keyvault/keyvault-certificates/migration-guide.md +++ b/sdk/keyvault/keyvault-certificates/migration-guide.md @@ -207,9 +207,9 @@ await client.purgeDeletedCertificate(deletedCertificate.name); ## Additional samples -- [Key Vault Certificates samples for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript) +- [Key Vault Certificates samples for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript) - [General Key Vault samples for JavaScript](https://docs.microsoft.com/samples/browse/?products=azure-key-vault&languages=javascript) -- [Key Vault Certificates samples for TypeScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript) +- [Key Vault Certificates samples for TypeScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript) - [General Key Vault samples for TypeScript](https://docs.microsoft.com/samples/browse/?products=azure-key-vault&languages=typescript) [kvk-npm]: https://www.npmjs.com/package/@azure/keyvault-keys @@ -217,4 +217,4 @@ await client.purgeDeletedCertificate(deletedCertificate.name); [kvc-npm]: https://www.npmjs.com/package/@azure/keyvault-certificates [ts-guidelines]: https://azure.github.io/azure-sdk/typescript_introduction.html [identity-npm]: https://www.npmjs.com/package/@azure/identity -[identity-readme-dac]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md#defaultazurecredential +[identity-readme-dac]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md#defaultazurecredential diff --git a/sdk/keyvault/keyvault-certificates/samples/v4/javascript/README.md b/sdk/keyvault/keyvault-certificates/samples/v4/javascript/README.md index e224f37b5f09..4d1c60cb2adb 100644 --- a/sdk/keyvault/keyvault-certificates/samples/v4/javascript/README.md +++ b/sdk/keyvault/keyvault-certificates/samples/v4/javascript/README.md @@ -71,17 +71,17 @@ npx cross-env KEYVAULT_URI="" node backupAndRestore.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[backupandrestore]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/backupAndRestore.js -[contacts]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/contacts.js -[deleteandrecover]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/deleteAndRecover.js -[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/helloWorld.js -[importcertificate]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/importCertificate.js -[issuers]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/issuers.js -[listcertificates]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/listCertificates.js -[mergecertificate]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/mergeCertificate.js -[operations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/operations.js -[purgeallcertificates]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/javascript/purgeAllCertificates.js +[backupandrestore]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/backupAndRestore.js +[contacts]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/contacts.js +[deleteandrecover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/deleteAndRecover.js +[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/helloWorld.js +[importcertificate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/importCertificate.js +[issuers]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/issuers.js +[listcertificates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/listCertificates.js +[mergecertificate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/mergeCertificate.js +[operations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/operations.js +[purgeallcertificates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/javascript/purgeAllCertificates.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/keyvault-certificates [freesub]: https://azure.microsoft.com/free/ [createinstance_azurekeyvault]: https://docs.microsoft.com/azure/key-vault/quick-create-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-certificates/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates/README.md diff --git a/sdk/keyvault/keyvault-certificates/samples/v4/typescript/README.md b/sdk/keyvault/keyvault-certificates/samples/v4/typescript/README.md index 325b24ddef4f..351774568359 100644 --- a/sdk/keyvault/keyvault-certificates/samples/v4/typescript/README.md +++ b/sdk/keyvault/keyvault-certificates/samples/v4/typescript/README.md @@ -83,18 +83,18 @@ npx cross-env KEYVAULT_URI="" node dist/backupAndRestore.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[backupandrestore]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/backupAndRestore.ts -[contacts]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/contacts.ts -[deleteandrecover]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/deleteAndRecover.ts -[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/helloWorld.ts -[importcertificate]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/importCertificate.ts -[issuers]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/issuers.ts -[listcertificates]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/listCertificates.ts -[mergecertificate]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/mergeCertificate.ts -[operations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/operations.ts -[purgeallcertificates]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/purgeAllCertificates.ts +[backupandrestore]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/backupAndRestore.ts +[contacts]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/contacts.ts +[deleteandrecover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/deleteAndRecover.ts +[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/helloWorld.ts +[importcertificate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/importCertificate.ts +[issuers]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/issuers.ts +[listcertificates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/listCertificates.ts +[mergecertificate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/mergeCertificate.ts +[operations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/operations.ts +[purgeallcertificates]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/samples/v4/typescript/src/purgeAllCertificates.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/keyvault-certificates [freesub]: https://azure.microsoft.com/free/ [createinstance_azurekeyvault]: https://docs.microsoft.com/azure/key-vault/quick-create-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-certificates/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/keyvault/keyvault-certificates/test/README.md b/sdk/keyvault/keyvault-certificates/test/README.md index 86e0547fd655..99d59ccde586 100644 --- a/sdk/keyvault/keyvault-certificates/test/README.md +++ b/sdk/keyvault/keyvault-certificates/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/keyvault/keyvault-common/README.md b/sdk/keyvault/keyvault-common/README.md index a47b7e5dfaa9..b0cda8bac778 100644 --- a/sdk/keyvault/keyvault-common/README.md +++ b/sdk/keyvault/keyvault-common/README.md @@ -8,10 +8,10 @@ This package contains common code that needs to be shared among the other Azure The following client libraries use this package: -- [@azure/keyvault-admin](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-admin/README.md) -- [@azure/keyvault-certificates](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/README.md) -- [@azure/keyvault-keys](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/README.md) -- [@azure/keyvault-secrets](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/README.md) +- [@azure/keyvault-admin](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-admin/README.md) +- [@azure/keyvault-certificates](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/README.md) +- [@azure/keyvault-keys](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/README.md) +- [@azure/keyvault-secrets](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/README.md) ## Getting started @@ -35,6 +35,6 @@ If you run into issues while using this library, directly or indirectly, please ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-common%2FREADME.png) diff --git a/sdk/keyvault/keyvault-keys/CHANGELOG.md b/sdk/keyvault/keyvault-keys/CHANGELOG.md index d0cd6f571038..51b8480a8554 100644 --- a/sdk/keyvault/keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/keyvault-keys/CHANGELOG.md @@ -60,7 +60,7 @@ ## 4.2.0-beta.3 (2021-02-09) -- [Breaking] Removed `dist-browser` from the published package. To bundle the Azure SDK libraries for the browsers, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md). +- [Breaking] Removed `dist-browser` from the published package. To bundle the Azure SDK libraries for the browsers, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md). - Updated the Key Vault Keys Long Running Operation Pollers to follow a more compact and meaningful approach moving forward. - Bug fix: The logging of HTTP requests wasn't properly working - now it has been fixed and tests have been written that verify the fix. - Added a constructor overload to `CryptographyClient` that takes a `JsonWebKey` and allows for local-only subset of operations. diff --git a/sdk/keyvault/keyvault-keys/README.md b/sdk/keyvault/keyvault-keys/README.md index 13eaf6b68fa2..045a8b08d009 100644 --- a/sdk/keyvault/keyvault-keys/README.md +++ b/sdk/keyvault/keyvault-keys/README.md @@ -153,7 +153,7 @@ az keyvault security-domain download --hsm-name --sd-wrapp ## Authenticating with Azure Active Directory -The Key Vault service relies on Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. The [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity/README.md) provides more details and samples to get you started. +The Key Vault service relies on Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. The [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/README.md) provides more details and samples to get you started. Here's a quick example. First, import `DefaultAzureCredential` and `KeyClient`: @@ -841,23 +841,23 @@ setLogLevel("info"); You can find more code samples through the following links: -- [KeyVault Keys Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples/v4/javascript) -- [KeyVault Keys Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples/v4/typescript) -- [KeyVault Keys Test Cases](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/test/) +- [KeyVault Keys Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples/v4/javascript) +- [KeyVault Keys Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples/v4/typescript) +- [KeyVault Keys Test Cases](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/test/) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. [aboutkeys]: https://docs.microsoft.com/azure/key-vault/keys/about-keys [keyvault]: https://docs.microsoft.com/azure/key-vault/key-vault-overview [managedhsm]: https://docs.microsoft.com/azure/key-vault/managed-hsm/overview -[cors]: https://github.com/Azure/azure-sdk-for-js/blob/master/samples/cors/ts/README.md -[package-gh]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys +[cors]: https://github.com/Azure/azure-sdk-for-js/blob/main/samples/cors/ts/README.md +[package-gh]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-keys [package-npm]: https://www.npmjs.com/package/@azure/keyvault-keys [docs]: https://docs.microsoft.com/javascript/api/@azure/keyvault-keys [docs-service]: https://azure.microsoft.com/services/key-vault/ -[samples]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples +[samples]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples [tscompileroptions]: https://www.typescriptlang.org/docs/handbook/compiler-options.html [azure-sub]: https://azure.microsoft.com/free/ [azure-cli]: https://docs.microsoft.com/cli/azure diff --git a/sdk/keyvault/keyvault-keys/migration-guide.md b/sdk/keyvault/keyvault-keys/migration-guide.md index ed535af53500..cf4848dbcfd0 100644 --- a/sdk/keyvault/keyvault-keys/migration-guide.md +++ b/sdk/keyvault/keyvault-keys/migration-guide.md @@ -249,9 +249,9 @@ console.log(operationResult.result); ## Additional samples -- [Key Vault keys samples for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys/samples/v4/javascript) +- [Key Vault keys samples for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-keys/samples/v4/javascript) - [General Key Vault samples for JavaScript](https://docs.microsoft.com/samples/browse/?products=azure-key-vault&languages=javascript) -- [Key Vault keys samples for TypeScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys/samples/v4/typescript) +- [Key Vault keys samples for TypeScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-keys/samples/v4/typescript) - [General Key Vault samples for TypeScript](https://docs.microsoft.com/samples/browse/?products=azure-key-vault&languages=typescript) [kvk-npm]: https://www.npmjs.com/package/@azure/keyvault-keys @@ -259,4 +259,4 @@ console.log(operationResult.result); [kvc-npm]: https://www.npmjs.com/package/@azure/keyvault-certificates [ts-guidelines]: https://azure.github.io/azure-sdk/typescript_introduction.html [identity-npm]: https://www.npmjs.com/package/@azure/identity -[identity-readme-dac]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md#defaultazurecredential +[identity-readme-dac]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md#defaultazurecredential diff --git a/sdk/keyvault/keyvault-keys/samples/v4/javascript/README.md b/sdk/keyvault/keyvault-keys/samples/v4/javascript/README.md index c3f34ce8d790..501633feef9b 100644 --- a/sdk/keyvault/keyvault-keys/samples/v4/javascript/README.md +++ b/sdk/keyvault/keyvault-keys/samples/v4/javascript/README.md @@ -64,10 +64,10 @@ npx cross-env KEYVAULT_URI="" node cryptography.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[cryptography]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples/v4/javascript/cryptography.js -[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples/v4/javascript/helloWorld.js -[purgeallkeys]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples/v4/javascript/purgeAllKeys.js +[cryptography]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples/v4/javascript/cryptography.js +[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples/v4/javascript/helloWorld.js +[purgeallkeys]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples/v4/javascript/purgeAllKeys.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/keyvault-keys [freesub]: https://azure.microsoft.com/free/ [createinstance_azurekeyvault]: https://docs.microsoft.com/azure/key-vault/quick-create-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-keys/README.md diff --git a/sdk/keyvault/keyvault-keys/samples/v4/typescript/README.md b/sdk/keyvault/keyvault-keys/samples/v4/typescript/README.md index ccf49d6455ca..0e4ad28995c9 100644 --- a/sdk/keyvault/keyvault-keys/samples/v4/typescript/README.md +++ b/sdk/keyvault/keyvault-keys/samples/v4/typescript/README.md @@ -76,11 +76,11 @@ npx cross-env KEYVAULT_URI="" node dist/cryptography.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[cryptography]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples/v4/typescript/src/cryptography.ts -[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples/v4/typescript/src/helloWorld.ts -[purgeallkeys]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/samples/v4/typescript/src/purgeAllKeys.ts +[cryptography]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples/v4/typescript/src/cryptography.ts +[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples/v4/typescript/src/helloWorld.ts +[purgeallkeys]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/samples/v4/typescript/src/purgeAllKeys.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/keyvault-keys [freesub]: https://azure.microsoft.com/free/ [createinstance_azurekeyvault]: https://docs.microsoft.com/azure/key-vault/quick-create-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-keys/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/keyvault/keyvault-keys/test/README.md b/sdk/keyvault/keyvault-keys/test/README.md index ec48b2c1dde9..2f5e3b8a9b17 100644 --- a/sdk/keyvault/keyvault-keys/test/README.md +++ b/sdk/keyvault/keyvault-keys/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/test-resources.json) that already has all of the the necessary configurations. > Some tests require an Azure Managed HSM to run in live mode, as such you'll need to ensure one is deployed to run these tests. To do so you'll want to pass `enableHsm` as an ARM template parameter. > @@ -12,7 +12,7 @@ You can use existing Azure resources for the live tests, or generate new ones by > New-TestResources.ps1 -ServiceDirectory 'keyvault' -ArmTemplateParameters @{ "enableHsm" = $true } > ``` -The `New-TestResources` script will ensure that the Managed HSM is activated; however, if you are creating your own Managed HSM there are additional steps required to set up the correct permissions and activate the HSM. Please see [Activate Your Managed HSM](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-admin/README.md#activate-your-managed-hsm) for more information. +The `New-TestResources` script will ensure that the Managed HSM is activated; however, if you are creating your own Managed HSM there are additional steps required to set up the correct permissions and activate the HSM. Please see [Activate Your Managed HSM](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-admin/README.md#activate-your-managed-hsm) for more information. > Managed HSMs do have an hourly cost even when not in-use. Please review the [Azure Dedicated HSM Pricing page](https://azure.microsoft.com/pricing/details/azure-dedicated-hsm/#pricing) and clean up the resources when not in use. diff --git a/sdk/keyvault/keyvault-secrets/CHANGELOG.md b/sdk/keyvault/keyvault-secrets/CHANGELOG.md index 0ab7c396372a..7a9d7523978c 100644 --- a/sdk/keyvault/keyvault-secrets/CHANGELOG.md +++ b/sdk/keyvault/keyvault-secrets/CHANGELOG.md @@ -43,7 +43,7 @@ ## 4.2.0-beta.2 (2021-02-09) -- [Breaking] Removed `dist-browser` from the published package. To bundle the Azure SDK libraries for the browsers, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Bundling.md). +- [Breaking] Removed `dist-browser` from the published package. To bundle the Azure SDK libraries for the browsers, please read our bundling guide: [link](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Bundling.md). - Updated the Key Vault Secrets Long Running Operation Pollers to follow a more compact and meaningful approach moving forward. - Bug fix: The logging of HTTP requests wasn't properly working - now it has been fixed and tests have been written that verify the fix. diff --git a/sdk/keyvault/keyvault-secrets/README.md b/sdk/keyvault/keyvault-secrets/README.md index 672f3fa9d994..2d2f356e3d82 100644 --- a/sdk/keyvault/keyvault-secrets/README.md +++ b/sdk/keyvault/keyvault-secrets/README.md @@ -17,9 +17,9 @@ Use the client library for Azure Key Vault Secrets in your Node.js application t - Get all secrets. - Get all deleted secrets. -> Note: This package cannot be used in the browser due to Azure Key Vault service limitations, please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/master/samples/cors/ts/README.md) for guidance. +> Note: This package cannot be used in the browser due to Azure Key Vault service limitations, please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/main/samples/cors/ts/README.md) for guidance. -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets) | [Package (npm)](https://www.npmjs.com/package/@azure/keyvault-secrets) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/keyvault-secrets) | [Product documentation](https://azure.microsoft.com/services/key-vault/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets/samples) +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets) | [Package (npm)](https://www.npmjs.com/package/@azure/keyvault-secrets) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/keyvault-secrets) | [Product documentation](https://azure.microsoft.com/services/key-vault/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets/samples) ## Getting started @@ -112,7 +112,7 @@ Use the [Azure Cloud Shell](https://shell.azure.com/bash) snippet below to creat ## Authenticating with Azure Active Directory -The Key Vault service relies on Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. The [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) provides more details and samples to get you started. +The Key Vault service relies on Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. The [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) provides more details and samples to get you started. Here's a quick example. First, import `DefaultAzureCredential` and `SecretClient`: @@ -520,12 +520,12 @@ setLogLevel("info"); You can find more code samples through the following links: -- [KeyVault Secrets Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/javascript) -- [KeyVault Secrets Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/typescript) -- [KeyVault Secrets Test Cases](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/test/) +- [KeyVault Secrets Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/javascript) +- [KeyVault Secrets Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/typescript) +- [KeyVault Secrets Test Cases](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/test/) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-secrets%2FREADME.png) diff --git a/sdk/keyvault/keyvault-secrets/migration-guide.md b/sdk/keyvault/keyvault-secrets/migration-guide.md index 45cc9ccfd349..7e3a226e34f7 100644 --- a/sdk/keyvault/keyvault-secrets/migration-guide.md +++ b/sdk/keyvault/keyvault-secrets/migration-guide.md @@ -188,9 +188,9 @@ await client.purgeDeletedSecret(deletedSecret.name); ## Additional samples -- [Key Vault Secrets samples for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets/samples/v4/javascript) +- [Key Vault Secrets samples for JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets/samples/v4/javascript) - [General Key Vault samples for JavaScript](https://docs.microsoft.com/samples/browse/?products=azure-key-vault&languages=javascript) -- [Key Vault Secrets samples for TypeScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets/samples/v4/typescript) +- [Key Vault Secrets samples for TypeScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets/samples/v4/typescript) - [General Key Vault samples for TypeScript](https://docs.microsoft.com/samples/browse/?products=azure-key-vault&languages=typescript) [kvk-npm]: https://www.npmjs.com/package/@azure/keyvault-keys @@ -198,4 +198,4 @@ await client.purgeDeletedSecret(deletedSecret.name); [kvc-npm]: https://www.npmjs.com/package/@azure/keyvault-certificates [ts-guidelines]: https://azure.github.io/azure-sdk/typescript_introduction.html [identity-npm]: https://www.npmjs.com/package/@azure/identity -[identity-readme-DAC]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md#defaultazurecredential +[identity-readme-DAC]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md#defaultazurecredential diff --git a/sdk/keyvault/keyvault-secrets/samples/v4/javascript/README.md b/sdk/keyvault/keyvault-secrets/samples/v4/javascript/README.md index 1f8887d3ca11..2a8b38b5c05b 100644 --- a/sdk/keyvault/keyvault-secrets/samples/v4/javascript/README.md +++ b/sdk/keyvault/keyvault-secrets/samples/v4/javascript/README.md @@ -66,12 +66,12 @@ npx cross-env KEYVAULT_URI="" node backupAndRestore.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[backupandrestore]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/javascript/backupAndRestore.js -[deleteandrecover]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/javascript/deleteAndRecover.js -[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/javascript/helloWorld.js -[listoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/javascript/listOperations.js -[purgeallsecrets]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/javascript/purgeAllSecrets.js +[backupandrestore]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/javascript/backupAndRestore.js +[deleteandrecover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/javascript/deleteAndRecover.js +[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/javascript/helloWorld.js +[listoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/javascript/listOperations.js +[purgeallsecrets]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/javascript/purgeAllSecrets.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/keyvault-secrets [freesub]: https://azure.microsoft.com/free/ [createinstance_azurekeyvault]: https://docs.microsoft.com/azure/key-vault/quick-create-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets/README.md diff --git a/sdk/keyvault/keyvault-secrets/samples/v4/typescript/README.md b/sdk/keyvault/keyvault-secrets/samples/v4/typescript/README.md index 61300cdbf1df..539f96af94c4 100644 --- a/sdk/keyvault/keyvault-secrets/samples/v4/typescript/README.md +++ b/sdk/keyvault/keyvault-secrets/samples/v4/typescript/README.md @@ -78,13 +78,13 @@ npx cross-env KEYVAULT_URI="" node dist/backupAndRestore.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[backupandrestore]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/backupAndRestore.ts -[deleteandrecover]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/deleteAndRecover.ts -[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/helloWorld.ts -[listoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/listOperations.ts -[purgeallsecrets]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/purgeAllSecrets.ts +[backupandrestore]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/backupAndRestore.ts +[deleteandrecover]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/deleteAndRecover.ts +[helloworld]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/helloWorld.ts +[listoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/listOperations.ts +[purgeallsecrets]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/samples/v4/typescript/src/purgeAllSecrets.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/keyvault-secrets [freesub]: https://azure.microsoft.com/free/ [createinstance_azurekeyvault]: https://docs.microsoft.com/azure/key-vault/quick-create-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/keyvault/keyvault-secrets/test/README.md b/sdk/keyvault/keyvault-secrets/test/README.md index a3bcdc133829..eeea71c3bdd4 100644 --- a/sdk/keyvault/keyvault-secrets/test/README.md +++ b/sdk/keyvault/keyvault-secrets/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/metricsadvisor/ai-metrics-advisor/README.md b/sdk/metricsadvisor/ai-metrics-advisor/README.md index 43a96889cb84..fffbc886fb05 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/README.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/README.md @@ -7,11 +7,11 @@ Metrics Advisor is a part of Azure Cognitive Services that uses AI perform data - Configure and fine-tune the anomaly detection model used on your data - Diagnose anomalies and help with root cause analysis. -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/) | [Package (NPM)](https://www.npmjs.com/package/@azure/ai-metrics-advisor) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-metrics-advisor) | [Product documentation](https://docs.microsoft.com/azure/cognitive-services/metrics-advisor/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/metricsadvisor/ai-metrics-advisor/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor/samples) ## Getting started @@ -483,17 +483,17 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps Please take a look at the -[samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/metricsadvisor/ai-metrics-advisor/samples) +[samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor/samples) directory for detailed examples on how to use this library. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test \ +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test \ the code. ## Related projects @@ -506,7 +506,7 @@ the code. [azure_sub]: https://azure.microsoft.com/free/ [cognitive_resource]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account [azure_portal]: https://portal.azure.com -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity [register_aad_app]: https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential [metrics_advisor_glossary]: https://docs.microsoft.com/azure/cognitive-services/metrics-advisor/glossary diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/README.md b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/README.md index 712b9f1bc96d..560ead8c0bd8 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/README.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/README.md @@ -67,18 +67,18 @@ npx cross-env METRICS_ADVISOR_ENDPOINT="" METRICS_ADVI Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[quickstart]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/quickstart.js -[datafeed]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataFeed.js -[datasourcecredential]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataSourceCredential.js -[detectionconfig]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/detectionConfig.js -[incidentsandalerts]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/incidentsAndAlerts.js -[ingestionstatus]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/ingestionStatus.js -[alertingconfig]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/alertingConfig.js -[hooks]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/hooks.js -[metricfeedback]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/metricFeedback.js -[metricqueries]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/metricQueries.js -[seriesdata]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/seriesData.js +[quickstart]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/quickstart.js +[datafeed]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataFeed.js +[datasourcecredential]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataSourceCredential.js +[detectionconfig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/detectionConfig.js +[incidentsandalerts]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/incidentsAndAlerts.js +[ingestionstatus]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/ingestionStatus.js +[alertingconfig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/alertingConfig.js +[hooks]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/hooks.js +[metricfeedback]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/metricFeedback.js +[metricqueries]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/metricQueries.js +[seriesdata]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/seriesData.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/ai-metrics-advisor/ [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesaccount]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/metricsadvisor/ai-metrics-advisor/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor/README.md diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/README.md b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/README.md index 24e68a99f54e..135c067d2ad5 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/README.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/README.md @@ -79,19 +79,19 @@ npx cross-env METRICS_ADVISOR_ENDPOINT="" METRICS_ADVI Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[quickstart]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts -[datafeed]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts -[datasourcecredential]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts -[detectionconfig]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/detectionConfig.ts -[incidentsandalerts]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/incidentsAndAlerts.ts -[ingestionstatus]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/ingestionStatus.ts -[alertingconfig]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/alertingConfig.ts -[hooks]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/hooks.ts -[metricfeedback]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/metricFeedback.ts -[metricqueries]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/metricQueries.ts -[seriesdata]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/seriesData.ts +[quickstart]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts +[datafeed]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts +[datasourcecredential]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts +[detectionconfig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/detectionConfig.ts +[incidentsandalerts]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/incidentsAndAlerts.ts +[ingestionstatus]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/ingestionStatus.ts +[alertingconfig]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/alertingConfig.ts +[hooks]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/hooks.ts +[metricfeedback]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/metricFeedback.ts +[metricqueries]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/metricQueries.ts +[seriesdata]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/seriesData.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/ai-metrics-advisor/ [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesaccount]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/metricsadvisor/ai-metrics-advisor/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/metricsadvisor/ci.yml b/sdk/metricsadvisor/ci.yml index 53ce10f9028d..b5a908f13fa6 100644 --- a/sdk/metricsadvisor/ci.yml +++ b/sdk/metricsadvisor/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/mixedreality/ci.yml b/sdk/mixedreality/ci.yml index ab5b6a4cbadb..9f3a61d98a9a 100644 --- a/sdk/mixedreality/ci.yml +++ b/sdk/mixedreality/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/mixedreality/mixedreality-authentication/README.md b/sdk/mixedreality/mixedreality-authentication/README.md index a0e6a7bc79f7..efc2668f3a60 100644 --- a/sdk/mixedreality/mixedreality-authentication/README.md +++ b/sdk/mixedreality/mixedreality-authentication/README.md @@ -4,10 +4,10 @@ Mixed Reality services, like Azure Spatial Anchors, Azure Remote Rendering, and token service (STS) for authentication. This package supports exchanging Mixed Reality account credentials for an access token from the STS that can be used to access Mixed Reality services. -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/mixedreality/mixedreality-authentication/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixedreality-authentication/) | [Package (NPM)](https://www.npmjs.com/package/@azure/mixedreality-authentication) | [API reference documentation](https://aka.ms/azsdk/js/mixedreality-authentication/docs) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/mixedreality-authentication/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication/samples) ![Mixed Reality service authentication diagram](https://docs.microsoft.com/azure/spatial-anchors/concepts/media/spatial-anchors-authentication-overview.png) @@ -169,12 +169,12 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps Please take a look at the -[samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/mixedreality-authentication/samples) +[samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication/samples) directory for detailed examples on how to use this library. ## Contributing @@ -192,7 +192,7 @@ For more information see the [Code of Conduct FAQ](https://opensource.microsoft. contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. If you'd like to contribute to this library, please read the -[contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to +[contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -202,8 +202,8 @@ build and test the code. [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ [azure_portal]: https://portal.azure.com -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity [register_aad_app]: https://docs.microsoft.com/azure/spatial-anchors/concepts/authentication -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%mixedreality%2Fmixedreality-authentication%2FREADME.png) diff --git a/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/README.md b/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/README.md index 118218c15612..5a46d70d4816 100644 --- a/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/README.md +++ b/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/README.md @@ -63,10 +63,10 @@ npx cross-env MIXEDREALITY_ACCOUNT_DOMAIN="" MIXEDR Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[gettoken]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/getToken.js +[gettoken]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/getToken.js [apiref]: https://docs.microsoft.com/javascript/api/ [freesub]: https://azure.microsoft.com/free/ [createinstance_azureobjectanchorsaccount]: https://docs.microsoft.com/azure/object-anchors/quickstarts/get-started-model-conversion#create-an-object-anchors-account [createinstance_azureremoterenderingaccount]: https://docs.microsoft.com/azure/remote-rendering/quickstarts/convert-model#azure-setup [createinstance_azurespatialanchorsaccount]: https://docs.microsoft.com/azure/spatial-anchors/quickstarts/get-started-hololens?tabs=azure-portal#create-a-spatial-anchors-resource -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/mixedreality-authentication/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication/README.md diff --git a/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/README.md b/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/README.md index f50decc252cb..35945536cfad 100644 --- a/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/README.md +++ b/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/README.md @@ -75,11 +75,11 @@ npx cross-env MIXEDREALITY_ACCOUNT_DOMAIN="" MIXEDR Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[gettoken]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/src/getToken.ts +[gettoken]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/src/getToken.ts [apiref]: https://docs.microsoft.com/javascript/api/ [freesub]: https://azure.microsoft.com/free/ [createinstance_azureobjectanchorsaccount]: https://docs.microsoft.com/azure/object-anchors/quickstarts/get-started-model-conversion#create-an-object-anchors-account [createinstance_azureremoterenderingaccount]: https://docs.microsoft.com/azure/remote-rendering/quickstarts/convert-model#azure-setup [createinstance_azurespatialanchorsaccount]: https://docs.microsoft.com/azure/spatial-anchors/quickstarts/get-started-hololens?tabs=azure-portal#create-a-spatial-anchors-resource -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/mixedreality-authentication/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/monitor/ci.yml b/sdk/monitor/ci.yml index 22d494566119..568cb7b5a231 100644 --- a/sdk/monitor/ci.yml +++ b/sdk/monitor/ci.yml @@ -4,7 +4,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -15,7 +14,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/monitor/monitor-opentelemetry-exporter/README.md b/sdk/monitor/monitor-opentelemetry-exporter/README.md index b96fd0634a14..e030b57c45dc 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/README.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/README.md @@ -60,7 +60,7 @@ Coming Soon ## Examples -For complete samples of a few champion scenarios, see the [`samples/`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/monitor-opentelemetry-exporter/samples/) folder. +For complete samples of a few champion scenarios, see the [`samples/`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-opentelemetry-exporter/samples/) folder. ## Key concepts @@ -96,6 +96,6 @@ If you cannot your library in the registry, feel free to suggest a new plugin re ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/monitor/monitor-opentelemetry-exporter/README.png) diff --git a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/README.md b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/README.md index 12ca4435951b..1841a2f45a5b 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/README.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/README.md @@ -1,6 +1,6 @@ # Getting started with samples -Code cloned from [azure-sdk-for-js/storage-blob/samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples). +Code cloned from [azure-sdk-for-js/storage-blob/samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples). ## `@azure/monitor-opentelemetry-exporter` @@ -18,7 +18,7 @@ In order for auto-instrumentation to take effect, `tracing` must be imported **b ### Authenticating with Azure Active Directory -If you have [registered an application](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) with an Azure Active Directory tenant, you can [assign it to an RBAC role](https://docs.microsoft.com/azure/storage/common/storage-auth-aad) in your Azure Storage account. This enables you to use the Azure.Identity library to authenticate with Azure Storage as shown in the [azureAdAuth.ts sample](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/samples/typescript/src/azureAdAuth.ts). +If you have [registered an application](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) with an Azure Active Directory tenant, you can [assign it to an RBAC role](https://docs.microsoft.com/azure/storage/common/storage-auth-aad) in your Azure Storage account. This enables you to use the Azure.Identity library to authenticate with Azure Storage as shown in the [azureAdAuth.ts sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/typescript/src/azureAdAuth.ts). ## JavaScript sample diff --git a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/README.md b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/README.md index 2950f36bf73c..f592db7aa39c 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/README.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/README.md @@ -42,8 +42,8 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node bas Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/basic.js +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/basic.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-blob [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/README.md diff --git a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/README.md b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/README.md index 1f1ea0aad87c..dfe091aa40df 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/README.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/README.md @@ -54,9 +54,9 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node dis Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/basic.ts +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/basic.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-blob [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/monitor/monitor-query/README.md b/sdk/monitor/monitor-query/README.md index 842b27449167..869c8c2bf9ca 100644 --- a/sdk/monitor/monitor-query/README.md +++ b/sdk/monitor/monitor-query/README.md @@ -7,7 +7,7 @@ Use the client library for Azure Monitor to: - Query logs using the [Kusto query language][kusto_query_language] - Query metrics -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/) | [Package (NPM)](https://www.npmjs.com/package/@azure/monitor-query) | [API reference documentation][msdocs_apiref]| [Product documentation][azure_monitor_product_documentation] @@ -47,7 +47,7 @@ Authentication via service principal is done by: - Setting appropriate RBAC rules on your Azure Monitor resource. More information on Azure Monitor roles can be found [here][azure_monitor_roles]. -Using [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md#defaultazurecredential) +Using [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md#defaultazurecredential) ```javascript const { DefaultAzureCredential } = require("@azure/identity"); @@ -60,7 +60,7 @@ const logsQueryClient = new LogsQueryClient(credential); const metricsQueryClient = new MetricsQueryClient(credential); ``` -More information about `@azure/identity` can be found [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) +More information about `@azure/identity` can be found [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) ## Key concepts @@ -123,7 +123,7 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps @@ -133,11 +133,11 @@ The following samples show you the various ways you can query your Log Analytics - [`logsQueryBatchSample.ts`][samples_logquerybatch_ts] - Run multiple queries, simultaneously, with a batch in a Monitor workspace - [`metricsQuerySample.ts`][samples_metricsquery_ts] - Query metrics in a Monitor workspace -More in-depth examples can be found in the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/monitor-query/samples/v1/) folder on GitHub. +More in-depth examples can be found in the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-query/samples/v1/) folder on GitHub. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. This module's tests are a mixture of live and unit tests, which require you to have an Azure Monitor instance. To execute the tests you'll need to run: @@ -148,7 +148,7 @@ This module's tests are a mixture of live and unit tests, which require you to h 5. Open the `.env` file in an editor and fill in the values. 6. `npm run test`. -View our [tests](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/test) +View our [tests](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/test) folder for more details. ## Related projects @@ -169,7 +169,7 @@ folder for more details. [msdocs_metrics_client]: https://docs.microsoft.com/javascript/api/@azure/monitor-query/metricsqueryclient [msdocs_logs_client]: https://docs.microsoft.com/javascript/api/@azure/monitor-query/logsqueryclient [msdocs_apiref]: https://docs.microsoft.com/javascript/api/@azure/monitor-query -[samples]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/monitor-query/samples -[samples_logsquery_ts]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/typescript/src/logsQuery.ts -[samples_logquerybatch_ts]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/typescript/src/logsQueryBatch.ts -[samples_metricsquery_ts]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/typescript/src/metricsQuery.ts +[samples]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-query/samples +[samples_logsquery_ts]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/typescript/src/logsQuery.ts +[samples_logquerybatch_ts]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/typescript/src/logsQueryBatch.ts +[samples_metricsquery_ts]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/typescript/src/metricsQuery.ts diff --git a/sdk/monitor/monitor-query/samples/v1/javascript/README.md b/sdk/monitor/monitor-query/samples/v1/javascript/README.md index 9910075df3e9..4376abe4f892 100644 --- a/sdk/monitor/monitor-query/samples/v1/javascript/README.md +++ b/sdk/monitor/monitor-query/samples/v1/javascript/README.md @@ -48,10 +48,10 @@ npx cross-env MONITOR_WORKSPACE_ID="" node logsQuery.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[logsquery]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/javascript/logsQuery.js -[logsquerybatch]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/javascript/logsQueryBatch.js -[metricsquery]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/javascript/metricsQuery.js +[logsquery]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/javascript/logsQuery.js +[logsquerybatch]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/javascript/logsQueryBatch.js +[metricsquery]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/javascript/metricsQuery.js [apiref]: https://docs.microsoft.com/javascript/api/ [freesub]: https://azure.microsoft.com/free/ [createinstance_azuremonitor]: https://docs.microsoft.com/azure/azure-monitor/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/monitor-query/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-query/README.md diff --git a/sdk/monitor/monitor-query/samples/v1/typescript/README.md b/sdk/monitor/monitor-query/samples/v1/typescript/README.md index 3f4964a0a0f7..db60cfcfe41a 100644 --- a/sdk/monitor/monitor-query/samples/v1/typescript/README.md +++ b/sdk/monitor/monitor-query/samples/v1/typescript/README.md @@ -60,11 +60,11 @@ npx cross-env MONITOR_WORKSPACE_ID="" node dist/logsQuery. Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[logsquery]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/typescript/src/logsQuery.ts -[logsquerybatch]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/typescript/src/logsQueryBatch.ts -[metricsquery]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/samples/v1/typescript/src/metricsQuery.ts +[logsquery]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/typescript/src/logsQuery.ts +[logsquerybatch]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/typescript/src/logsQueryBatch.ts +[metricsquery]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/samples/v1/typescript/src/metricsQuery.ts [apiref]: https://docs.microsoft.com/javascript/api/ [freesub]: https://azure.microsoft.com/free/ [createinstance_azuremonitor]: https://docs.microsoft.com/azure/azure-monitor/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/monitor-query/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-query/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/purview/ci.yml b/sdk/purview/ci.yml index c0ad965a9300..c52253c0a1f0 100644 --- a/sdk/purview/ci.yml +++ b/sdk/purview/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/purview/purview-catalog-rest/README.md b/sdk/purview/purview-catalog-rest/README.md index d737ee7be341..9c5a040e4d77 100644 --- a/sdk/purview/purview-catalog-rest/README.md +++ b/sdk/purview/purview-catalog-rest/README.md @@ -103,13 +103,13 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -118,14 +118,14 @@ If you'd like to contribute to this library, please read the [contributing guide ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpurview%2Fpurview-catalog-rest%2FREADME.png) [catalog_product_documentation]: https://azure.microsoft.com/services/purview/ -[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/rest-clients.md -[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-catalog-rest +[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md +[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest [catalog_npm]: https://www.npmjs.com/org/azure-rest [catalog_ref_docs]: https://azure.github.io/azure-sdk-for-js [azure_subscription]: https://azure.microsoft.com/free/ [purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal [authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token -[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#credentials +[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials [azure_identity_npm]: https://www.npmjs.com/package/@azure/identity [enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role -[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential diff --git a/sdk/purview/purview-catalog-rest/samples/v1/javascript/README.md b/sdk/purview/purview-catalog-rest/samples/v1/javascript/README.md index 296e282e5cea..c777ab99ed27 100644 --- a/sdk/purview/purview-catalog-rest/samples/v1/javascript/README.md +++ b/sdk/purview/purview-catalog-rest/samples/v1/javascript/README.md @@ -56,8 +56,8 @@ npx cross-env ENDPOINT="" node typedefs.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[typedefs]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/purview/purview-catalog-rest/samples/v1/javascript/typedefs.js +[typedefs]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/purview/purview-catalog-rest/samples/v1/javascript/typedefs.js [apiref]: https://docs.microsoft.com/azure/purview/tutorial-using-rest-apis [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesinstance]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-catalog-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest/README.md diff --git a/sdk/purview/purview-catalog-rest/samples/v1/typescript/README.md b/sdk/purview/purview-catalog-rest/samples/v1/typescript/README.md index 5c8633b0b5df..77a345c07bad 100644 --- a/sdk/purview/purview-catalog-rest/samples/v1/typescript/README.md +++ b/sdk/purview/purview-catalog-rest/samples/v1/typescript/README.md @@ -68,9 +68,9 @@ npx cross-env ENDPOINT="" node dist/typedefs.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[typedefs]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/purview/purview-catalog-rest/samples/v1/typescript/src/typedefs.ts +[typedefs]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/purview/purview-catalog-rest/samples/v1/typescript/src/typedefs.ts [apiref]: https://docs.microsoft.com/azure/purview/tutorial-using-rest-apis [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesinstance]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-catalog-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/purview/purview-scanning-rest/README.md b/sdk/purview/purview-scanning-rest/README.md index 0268f46d556c..50b99ea78dd4 100644 --- a/sdk/purview/purview-scanning-rest/README.md +++ b/sdk/purview/purview-scanning-rest/README.md @@ -108,13 +108,13 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -125,14 +125,14 @@ If you'd like to contribute to this library, please read the [contributing guide [scanning_product_documentation]: https://azure.microsoft.com/services/purview/ -[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/rest-clients.md -[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-scanning-rest +[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md +[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-scanning-rest [scanning_npm]: https://www.npmjs.com/package/@azure-rest/purview-scanning [scanning_ref_docs]: https://azure.github.io/azure-sdk-for-js [azure_subscription]: https://azure.microsoft.com/free/ [purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal [authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token -[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#credentials +[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials [azure_identity_npm]: https://www.npmjs.com/package/@azure/identity [enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role -[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential diff --git a/sdk/purview/purview-scanning-rest/samples/v1/javascript/README.md b/sdk/purview/purview-scanning-rest/samples/v1/javascript/README.md index 83364ce82287..f21edaff2083 100644 --- a/sdk/purview/purview-scanning-rest/samples/v1/javascript/README.md +++ b/sdk/purview/purview-scanning-rest/samples/v1/javascript/README.md @@ -56,8 +56,8 @@ npx cross-env ENDPOINT="" node listDatasources.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[listdatasources]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/purview/purview-scanning-rest/samples/v1/javascript/listDatasources.js +[listdatasources]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/purview/purview-scanning-rest/samples/v1/javascript/listDatasources.js [apiref]: https://docs.microsoft.com/azure/purview/tutorial-scan-data [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesinstance]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-scanning-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-scanning-rest/README.md diff --git a/sdk/purview/purview-scanning-rest/samples/v1/typescript/README.md b/sdk/purview/purview-scanning-rest/samples/v1/typescript/README.md index fed907050b7b..66b74d52b10c 100644 --- a/sdk/purview/purview-scanning-rest/samples/v1/typescript/README.md +++ b/sdk/purview/purview-scanning-rest/samples/v1/typescript/README.md @@ -68,9 +68,9 @@ npx cross-env ENDPOINT="" node dist/listDatasources.js Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[listdatasources]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/purview/purview-scanning-rest/samples/v1/typescript/src/listDatasources.ts +[listdatasources]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/purview/purview-scanning-rest/samples/v1/typescript/src/listDatasources.ts [apiref]: https://docs.microsoft.com/azure/purview/tutorial-scan-data [freesub]: https://azure.microsoft.com/free/ [createinstance_azurecognitiveservicesinstance]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-scanning-rest/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-scanning-rest/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/quantum/ci.yml b/sdk/quantum/ci.yml index 8dce14ba9543..2586f92bc7ab 100644 --- a/sdk/quantum/ci.yml +++ b/sdk/quantum/ci.yml @@ -4,7 +4,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -16,7 +15,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/quantum/quantum-jobs/README.md b/sdk/quantum/quantum-jobs/README.md index 4dff2fbedf80..1af8f14b5586 100644 --- a/sdk/quantum/quantum-jobs/README.md +++ b/sdk/quantum/quantum-jobs/README.md @@ -7,7 +7,7 @@ Azure Quantum is a Microsoft Azure service that you can use to run quantum compu - Create, enumerate, and cancel quantum jobs - Enumerate provider status and quotas - [Source code][source] | [API reference documentation](https://docs.microsoft.com/qsharp/api/) | [Product documentation](https://docs.microsoft.com/azure/quantum/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/quantum/quantum-jobs/samples) + [Source code][source] | [API reference documentation](https://docs.microsoft.com/qsharp/api/) | [Product documentation](https://docs.microsoft.com/azure/quantum/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/quantum/quantum-jobs/samples) ## Getting started @@ -29,9 +29,9 @@ npm install @azure/quantum-jobs ### Authenticate the client -To authenticate with the service, you can use [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential) from the `@azure/identity` library. This will try different authentication mechanisms based on the environment (e.g. Environment Variables, ManagedIdentity, CachedTokens) and finally, it will fallback to InteractiveBrowserCredential. +To authenticate with the service, you can use [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential) from the `@azure/identity` library. This will try different authentication mechanisms based on the environment (e.g. Environment Variables, ManagedIdentity, CachedTokens) and finally, it will fallback to InteractiveBrowserCredential. -The client also allows the user to override the above behavior by passing their own implementations of the [TokenCredential](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-auth/src/tokenCredential.ts). +The client also allows the user to override the above behavior by passing their own implementations of the [TokenCredential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-auth/src/tokenCredential.ts). `TokenCredential` is the default Authentication mechanism used by Azure SDKs. @@ -195,12 +195,12 @@ All Quantum Jobs service operations will throw a RequestFailedException on failu -[source]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/quantum/quantum-jobs/src +[source]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/quantum/quantum-jobs/src [resource-groups]: https://docs.microsoft.com/azure/azure-resource-manager/management/manage-resource-groups-portal [workspaces]: https://docs.microsoft.com/azure/quantum/how-to-create-quantum-workspaces-with-the-azure-portal [location]: https://azure.microsoft.com/global-infrastructure/services/?products=quantum [blob-storage]: https://docs.microsoft.com/azure/storage/blobs/storage-blobs-introduction -[contributing]: https://github.com/Azure/azure-sdk-for-js/tree/master/CONTRIBUTING.md +[contributing]: https://github.com/Azure/azure-sdk-for-js/tree/main/CONTRIBUTING.md [subscriptions]: https://ms.portal.azure.com/#blade/Microsoft_Azure_Billing/SubscriptionsBlade [credentials]: https://docs.microsoft.com/javascript/api/overview/azure/identity-readme?view=azure-node-latest#credentials [style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization diff --git a/sdk/schemaregistry/README.md b/sdk/schemaregistry/README.md index 9baaf92f256f..ab0963630aee 100644 --- a/sdk/schemaregistry/README.md +++ b/sdk/schemaregistry/README.md @@ -2,5 +2,5 @@ We have two client libraries for Azure Schema Registry -- `@azure/schema-registry` - The Schema Registry client for storing and retrieving schemas. You can find more info over [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/schemaregistry/schema-registry). -- `@azure/schema-registry-avro` - The Avro-based serializer that leverages Schema Registry. You can find more info over [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/schemaregistry/schema-registry-avro). +- `@azure/schema-registry` - The Schema Registry client for storing and retrieving schemas. You can find more info over [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry). +- `@azure/schema-registry-avro` - The Avro-based serializer that leverages Schema Registry. You can find more info over [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro). diff --git a/sdk/schemaregistry/ci.yml b/sdk/schemaregistry/ci.yml index 3d0c05dd96ac..62fbdc8ddfbd 100644 --- a/sdk/schemaregistry/ci.yml +++ b/sdk/schemaregistry/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* @@ -31,4 +29,4 @@ extends: - name: azure-schema-registry safeName: azureschemaregistry - name: azure-schema-registry-avro - safeName: azureschemaregistryavro \ No newline at end of file + safeName: azureschemaregistryavro diff --git a/sdk/schemaregistry/schema-registry-avro/README.md b/sdk/schemaregistry/schema-registry-avro/README.md index a68b56bba2f6..6c9f1616d841 100644 --- a/sdk/schemaregistry/schema-registry-avro/README.md +++ b/sdk/schemaregistry/schema-registry-avro/README.md @@ -5,10 +5,10 @@ providing schema storage, versioning, and management. This package provides an Avro serializer capable of serializing and deserializing payloads containing Schema Registry schema identifiers and Avro-encoded data. -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry-avro) | [Package (npm)](https://www.npmjs.com/package/@azure/schema-registry-avro) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/schema-registry-avro) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry-avro/samples) ## Getting started @@ -107,7 +107,7 @@ setLogLevel("info"); ## Next steps Please take a look at the -[samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro/samples) +[samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry-avro/samples) directory for detailed examples on how to use this library. ## Contributing @@ -130,7 +130,7 @@ FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact questions or comments. If you'd like to contribute to this library, please read the [contributing -guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to +guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -142,6 +142,6 @@ learn more about how to build and test the code. [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ [azure_portal]: https://portal.azure.com -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity [cognitive_auth]: https://docs.microsoft.com/azure/cognitive-services/authentication -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/README.md b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/README.md index ffafb5132b31..9b23afc6d5dd 100644 --- a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/README.md +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/README.md @@ -46,8 +46,8 @@ npx cross-env SCHEMA_REGISTRY_ENDPOINT="" SCHEMA_REGIS Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[schemaregistryavrosample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/schemaRegistryAvroSample.js +[schemaregistryavrosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/schemaRegistryAvroSample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/schema-registry-avro [freesub]: https://azure.microsoft.com/free/ [createinstance_azureschemaregistryresource]: https://aka.ms/schemaregistry -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry-avro/README.md diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/README.md b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/README.md index a0ff4408df11..ca750e13faa3 100644 --- a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/README.md +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/README.md @@ -58,9 +58,9 @@ npx cross-env SCHEMA_REGISTRY_ENDPOINT="" SCHEMA_REGIS Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[schemaregistryavrosample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/schemaRegistryAvroSample.ts +[schemaregistryavrosample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/src/schemaRegistryAvroSample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/schema-registry-avro [freesub]: https://azure.microsoft.com/free/ [createinstance_azureschemaregistryresource]: https://aka.ms/schemaregistry -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry-avro/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/schemaregistry/schema-registry/README.md b/sdk/schemaregistry/schema-registry/README.md index 17d6a4f908f2..b36e71f28969 100644 --- a/sdk/schemaregistry/schema-registry/README.md +++ b/sdk/schemaregistry/schema-registry/README.md @@ -5,10 +5,10 @@ providing schema storage, versioning, and management. The registry is leveraged by serializers to reduce payload size while describing payload structure with schema identifiers rather than full schemas. -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry) | [Package (npm)](https://www.npmjs.com/package/@azure/schema-registry) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/schema-registry) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry/samples) ## Getting started @@ -140,7 +140,7 @@ setLogLevel("info"); ## Next steps Please take a look at the -[samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry/samples) +[samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry/samples) directory for detailed examples on how to use this library. ## Contributing @@ -163,7 +163,7 @@ FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact questions or comments. If you'd like to contribute to this library, please read the [contributing -guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to +guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -175,6 +175,6 @@ learn more about how to build and test the code. [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ [azure_portal]: https://portal.azure.com -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity [cognitive_auth]: https://docs.microsoft.com/azure/cognitive-services/authentication -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential diff --git a/sdk/schemaregistry/schema-registry/samples/v1/javascript/README.md b/sdk/schemaregistry/schema-registry/samples/v1/javascript/README.md index be01978ed0cb..2a670e90fb23 100644 --- a/sdk/schemaregistry/schema-registry/samples/v1/javascript/README.md +++ b/sdk/schemaregistry/schema-registry/samples/v1/javascript/README.md @@ -46,8 +46,8 @@ npx cross-env SCHEMA_REGISTRY_ENDPOINT="" SCHEMA_REGIS Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[schemaregistrysample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/schemaregistry/schema-registry/samples/v1/javascript/schemaRegistrySample.js +[schemaregistrysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry/samples/v1/javascript/schemaRegistrySample.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/schema-registry [freesub]: https://azure.microsoft.com/free/ [createinstance_azureschemaregistryresource]: https://aka.ms/schemaregistry -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry/README.md diff --git a/sdk/schemaregistry/schema-registry/samples/v1/typescript/README.md b/sdk/schemaregistry/schema-registry/samples/v1/typescript/README.md index ee9569881c12..d7fa6723eaa7 100644 --- a/sdk/schemaregistry/schema-registry/samples/v1/typescript/README.md +++ b/sdk/schemaregistry/schema-registry/samples/v1/typescript/README.md @@ -58,9 +58,9 @@ npx cross-env SCHEMA_REGISTRY_ENDPOINT="" SCHEMA_REGIS Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[schemaregistrysample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/schemaregistry/schema-registry/samples/v1/typescript/src/schemaRegistrySample.ts +[schemaregistrysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry/samples/v1/typescript/src/schemaRegistrySample.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/schema-registry [freesub]: https://azure.microsoft.com/free/ [createinstance_azureschemaregistryresource]: https://aka.ms/schemaregistry -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/search/ci.yml b/sdk/search/ci.yml index a569b2bfcdd3..5c75a3a715ca 100644 --- a/sdk/search/ci.yml +++ b/sdk/search/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/search/search-documents/README.md b/sdk/search/search-documents/README.md index 4914666e32a7..6c3cd90e6e66 100644 --- a/sdk/search/search-documents/README.md +++ b/sdk/search/search-documents/README.md @@ -19,12 +19,12 @@ Use the @azure/search-documents client library to: - Create and manage analyzers for advanced text analysis or multi-lingual content. - Optimize results through scoring profiles to factor in business logic or freshness. -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/search/search-documents/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/search-documents/) | [Package (NPM)](https://www.npmjs.com/package/@azure/search-documents) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/search-documents) | [REST API documentation](https://docs.microsoft.com/rest/api/searchservice/) | [Product documentation](https://docs.microsoft.com/azure/search/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples) ## Getting started @@ -124,7 +124,7 @@ Typically you will only wish to [show a subset of search results](https://docs.m ## Examples -The following examples demonstrate the basics - please [check out our samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples) for much more. +The following examples demonstrate the basics - please [check out our samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples) for much more. * [Creating an index](#create-an-index) * [Retrieving a specific document from your index](#retrieve-a-specific-document-from-an-index) @@ -404,16 +404,16 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps -* [Go further with search-documents and our samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples) +* [Go further with search-documents and our samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples) * [Watch a demo or deep dive video](https://azure.microsoft.com/resources/videos/index/?services=search) * [Read more about the Azure Cognitive Search service](https://docs.microsoft.com/azure/search/search-what-is-azure-search) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [cla.microsoft.com][cla]. diff --git a/sdk/search/search-documents/samples/javascript/README.md b/sdk/search/search-documents/samples/javascript/README.md index 3744a0d50015..8759e21fb677 100644 --- a/sdk/search/search-documents/samples/javascript/README.md +++ b/sdk/search/search-documents/samples/javascript/README.md @@ -86,48 +86,48 @@ npx cross-env SEARCH_API_ENDPOINT="" SEARCH_API_KEY="" node r Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[readonly]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/readonlyQuery.js +[readonly]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/readonlyQuery.js [apiref]: https://aka.ms/azsdk/js/search/docs [search_resource]: https://docs.microsoft.com/azure/search/search-create-service-portal [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/README.md -[createDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/createDataSourceConnection.js -[createOrUpdateDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/createOrUpdateDataSourceConnection.js -[deleteDataSourceConnectionByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/deleteDataSourceConnectionByName.js -[deleteDataSourceConnectionByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/deleteDataSourceConnectionByObject.js -[getDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/getDataSourceConnection.js -[listDataSourceConnectionNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/listDataSourceConnectionNames.js -[listDataSourceConnections]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/listDataSourceConnections.js -[createIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/createIndexer.js -[createOrUpdateIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/createOrUpdateIndexer.js -[deleteIndexerByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/deleteIndexerByName.js -[deleteIndexerByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/deleteIndexerByObject.js -[getIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/getIndexer.js -[getIndexerStatus]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/getIndexerStatus.js -[listIndexerNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/listIndexerNames.js -[listIndexers]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/listIndexers.js -[resetIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/resetIndexer.js -[runIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexers/runIndexer.js -[analyzeText]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/analyzeText.js -[createIndex]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/createIndex.js -[createOrUpdateIndex]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/createOrUpdateIndex.js -[deleteIndexByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/deleteIndexByName.js -[deleteIndexByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/deleteIndexByObject.js -[getIndex]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/getIndex.js -[getIndexStatistics]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/getIndexStatistics.js -[listIndexes]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/listIndexes.js -[listIndexNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/indexes/listIndexNames.js -[createOrUpdateSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/skillSets/createOrUpdateSkillset.js -[createSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/skillSets/createSkillset.js -[deleteSkillsetByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/skillSets/deleteSkillsetByName.js -[deleteSkillsetByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/skillSets/deleteSkillsetByObject.js -[getSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/skillSets/getSkillset.js -[listSkillsets]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/skillSets/listSkillsets.js -[listSkillsetsNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/skillSets/listSkillsetsNames.js -[createOrUpdateSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/synonymMaps/createOrUpdateSynonymMap.js -[createSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/synonymMaps/createSynonymMap.js -[deleteSynonymMapByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/synonymMaps/deleteSynonymMapByName.js -[deleteSynonymMapByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/synonymMaps/deleteSynonymMapByObject.js -[getSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/synonymMaps/getSynonymMap.js -[listSynonymMapNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/synonymMaps/listSynonymMapNames.js -[listSynonymMaps]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/javascript/src/synonymMaps/listSynonymMaps.js +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/README.md +[createDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/createDataSourceConnection.js +[createOrUpdateDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/createOrUpdateDataSourceConnection.js +[deleteDataSourceConnectionByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/deleteDataSourceConnectionByName.js +[deleteDataSourceConnectionByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/deleteDataSourceConnectionByObject.js +[getDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/getDataSourceConnection.js +[listDataSourceConnectionNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/listDataSourceConnectionNames.js +[listDataSourceConnections]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/dataSourceConnections/listDataSourceConnections.js +[createIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/createIndexer.js +[createOrUpdateIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/createOrUpdateIndexer.js +[deleteIndexerByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/deleteIndexerByName.js +[deleteIndexerByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/deleteIndexerByObject.js +[getIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/getIndexer.js +[getIndexerStatus]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/getIndexerStatus.js +[listIndexerNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/listIndexerNames.js +[listIndexers]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/listIndexers.js +[resetIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/resetIndexer.js +[runIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexers/runIndexer.js +[analyzeText]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/analyzeText.js +[createIndex]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/createIndex.js +[createOrUpdateIndex]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/createOrUpdateIndex.js +[deleteIndexByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/deleteIndexByName.js +[deleteIndexByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/deleteIndexByObject.js +[getIndex]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/getIndex.js +[getIndexStatistics]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/getIndexStatistics.js +[listIndexes]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/listIndexes.js +[listIndexNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/indexes/listIndexNames.js +[createOrUpdateSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/skillSets/createOrUpdateSkillset.js +[createSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/skillSets/createSkillset.js +[deleteSkillsetByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/skillSets/deleteSkillsetByName.js +[deleteSkillsetByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/skillSets/deleteSkillsetByObject.js +[getSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/skillSets/getSkillset.js +[listSkillsets]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/skillSets/listSkillsets.js +[listSkillsetsNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/skillSets/listSkillsetsNames.js +[createOrUpdateSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/synonymMaps/createOrUpdateSynonymMap.js +[createSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/synonymMaps/createSynonymMap.js +[deleteSynonymMapByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/synonymMaps/deleteSynonymMapByName.js +[deleteSynonymMapByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/synonymMaps/deleteSynonymMapByObject.js +[getSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/synonymMaps/getSynonymMap.js +[listSynonymMapNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/synonymMaps/listSynonymMapNames.js +[listSynonymMaps]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/javascript/src/synonymMaps/listSynonymMaps.js diff --git a/sdk/search/search-documents/samples/typescript/README.md b/sdk/search/search-documents/samples/typescript/README.md index e95214384b46..29b51f4b19e5 100644 --- a/sdk/search/search-documents/samples/typescript/README.md +++ b/sdk/search/search-documents/samples/typescript/README.md @@ -98,49 +98,49 @@ npx cross-env SEARCH_API_ENDPOINT="" SEARCH_API_KEY="" node d Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[readonly]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/readonlyQuery.ts +[readonly]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/readonlyQuery.ts [apiref]: https://aka.ms/azsdk/js/search/docs [search_resource]: https://docs.microsoft.com/azure/search/search-create-service-portal [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/README.md [typescript]: https://www.typescriptlang.org/docs/home.html -[createDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/createDataSourceConnection.ts -[createOrUpdateDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/createOrUpdateDataSourceConnection.ts -[deleteDataSourceConnectionByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/deleteDataSourceConnectionByName.ts -[deleteDataSourceConnectionByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/deleteDataSourceConnectionByObject.ts -[getDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/getDataSourceConnection.ts -[listDataSourceConnectionNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/listDataSourceConnectionNames.ts -[listDataSourceConnections]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/listDataSourceConnections.ts -[createIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/createIndexer.ts -[createOrUpdateIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/createOrUpdateIndexer.ts -[deleteIndexerByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/deleteIndexerByName.ts -[deleteIndexerByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/deleteIndexerByObject.ts -[getIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/getIndexer.ts -[getIndexerStatus]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/getIndexerStatus.ts -[listIndexerNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/listIndexerNames.ts -[listIndexers]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/listIndexers.ts -[resetIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/resetIndexer.ts -[runIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexers/runIndexer.ts -[analyzeText]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/analyzeText.ts -[createIndex]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/createIndex.ts -[createOrUpdateIndex]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/createOrUpdateIndex.ts -[deleteIndexByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/deleteIndexByName.ts -[deleteIndexByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/deleteIndexByObject.ts -[getIndex]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/getIndex.ts -[getIndexStatistics]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/getIndexStatistics.ts -[listIndexes]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/listIndexes.ts -[listIndexNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/indexes/listIndexNames.ts -[createOrUpdateSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/skillSets/createOrUpdateSkillset.ts -[createSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/skillSets/createSkillset.ts -[deleteSkillsetByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/skillSets/deleteSkillsetByName.ts -[deleteSkillsetByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/skillSets/deleteSkillsetByObject.ts -[getSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/skillSets/getSkillset.ts -[listSkillsets]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/skillSets/listSkillsets.ts -[listSkillsetsNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/skillSets/listSkillsetsNames.ts -[createOrUpdateSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/synonymMaps/createOrUpdateSynonymMap.ts -[createSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/synonymMaps/createSynonymMap.ts -[deleteSynonymMapByName]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/synonymMaps/deleteSynonymMapByName.ts -[deleteSynonymMapByObject]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/synonymMaps/deleteSynonymMapByObject.ts -[getSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/synonymMaps/getSynonymMap.ts -[listSynonymMapNames]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/synonymMaps/listSynonymMapNames.ts -[listSynonymMaps]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/samples/typescript/src/synonymMaps/listSynonymMaps.ts +[createDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/createDataSourceConnection.ts +[createOrUpdateDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/createOrUpdateDataSourceConnection.ts +[deleteDataSourceConnectionByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/deleteDataSourceConnectionByName.ts +[deleteDataSourceConnectionByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/deleteDataSourceConnectionByObject.ts +[getDataSourceConnection]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/getDataSourceConnection.ts +[listDataSourceConnectionNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/listDataSourceConnectionNames.ts +[listDataSourceConnections]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/dataSourceConnections/listDataSourceConnections.ts +[createIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/createIndexer.ts +[createOrUpdateIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/createOrUpdateIndexer.ts +[deleteIndexerByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/deleteIndexerByName.ts +[deleteIndexerByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/deleteIndexerByObject.ts +[getIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/getIndexer.ts +[getIndexerStatus]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/getIndexerStatus.ts +[listIndexerNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/listIndexerNames.ts +[listIndexers]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/listIndexers.ts +[resetIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/resetIndexer.ts +[runIndexer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexers/runIndexer.ts +[analyzeText]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/analyzeText.ts +[createIndex]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/createIndex.ts +[createOrUpdateIndex]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/createOrUpdateIndex.ts +[deleteIndexByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/deleteIndexByName.ts +[deleteIndexByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/deleteIndexByObject.ts +[getIndex]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/getIndex.ts +[getIndexStatistics]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/getIndexStatistics.ts +[listIndexes]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/listIndexes.ts +[listIndexNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/indexes/listIndexNames.ts +[createOrUpdateSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/skillSets/createOrUpdateSkillset.ts +[createSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/skillSets/createSkillset.ts +[deleteSkillsetByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/skillSets/deleteSkillsetByName.ts +[deleteSkillsetByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/skillSets/deleteSkillsetByObject.ts +[getSkillset]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/skillSets/getSkillset.ts +[listSkillsets]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/skillSets/listSkillsets.ts +[listSkillsetsNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/skillSets/listSkillsetsNames.ts +[createOrUpdateSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/synonymMaps/createOrUpdateSynonymMap.ts +[createSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/synonymMaps/createSynonymMap.ts +[deleteSynonymMapByName]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/synonymMaps/deleteSynonymMapByName.ts +[deleteSynonymMapByObject]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/synonymMaps/deleteSynonymMapByObject.ts +[getSynonymMap]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/synonymMaps/getSynonymMap.ts +[listSynonymMapNames]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/synonymMaps/listSynonymMapNames.ts +[listSynonymMaps]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/samples/typescript/src/synonymMaps/listSynonymMaps.ts diff --git a/sdk/search/search-documents/test/README.md b/sdk/search/search-documents/test/README.md index 4f436651d390..b9d063c8d05e 100644 --- a/sdk/search/search-documents/test/README.md +++ b/sdk/search/search-documents/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -The Azure Cognitive Search client does not have any recorded tests and so, all the tests require an Azure Cognitive Search account to be set up beforehand. You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/search/test-resources.json) that already has all of the the necessary configurations. +The Azure Cognitive Search client does not have any recorded tests and so, all the tests require an Azure Cognitive Search account to be set up beforehand. You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/search/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/servicebus/README.md b/sdk/servicebus/README.md index ff9f43952a26..d504eb244b3f 100644 --- a/sdk/servicebus/README.md +++ b/sdk/servicebus/README.md @@ -17,6 +17,6 @@ This also allows to manage your Azure Service Bus resources like queues, topics, | NPM Package | Reference | Samples | | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| [@azure/service-bus](https://npmjs.com/package/@azure/service-bus) | [API Reference for @azure/service-bus](https://docs.microsoft.com/javascript/api/@azure/service-bus) | [Samples for sending & receiving messages](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples) | +| [@azure/service-bus](https://npmjs.com/package/@azure/service-bus) | [API Reference for @azure/service-bus](https://docs.microsoft.com/javascript/api/@azure/service-bus) | [Samples for sending & receiving messages](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/samples) | ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Feventhub%2FREADME.png) diff --git a/sdk/servicebus/ci.yml b/sdk/servicebus/ci.yml index 502591daa645..ea5a900c607a 100644 --- a/sdk/servicebus/ci.yml +++ b/sdk/servicebus/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/servicebus/service-bus/CHANGELOG.md b/sdk/servicebus/service-bus/CHANGELOG.md index 9e5edcc68322..fb594535d709 100644 --- a/sdk/servicebus/service-bus/CHANGELOG.md +++ b/sdk/servicebus/service-bus/CHANGELOG.md @@ -108,12 +108,12 @@ - This release marks the general availability of the `@azure/service-bus` package. - If you are using version 1.1.10 or lower and want to migrate to the latest version - of this package please look at our [migration guide to move from Service Bus V1 to Service Bus V7](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/migrationguide.md) + of this package please look at our [migration guide to move from Service Bus V1 to Service Bus V7](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/migrationguide.md) ### Breaking changes **Note:** The following breaking changes are with respect to version `7.0.0-preview.8`. -If migrating from version 1.1.10 or lower, look at our [migration guide to move from Service Bus V1 to Service Bus V7](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/migrationguide.md). +If migrating from version 1.1.10 or lower, look at our [migration guide to move from Service Bus V1 to Service Bus V7](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/migrationguide.md). - The `ServiceBusError.reason` field has been renamed `ServiceBusError.code`. The `code` field can be used to differentiate what caused a `ServiceBusError` to be thrown. @@ -135,7 +135,7 @@ If migrating from version 1.1.10 or lower, look at our [migration guide to move - A helper method `parseServiceBusConnectionString` has been added which validates and parses a given connection string for Azure Service Bus. You can use this to extract the namespace and entityPath details from the connection string. [PR 11949](https://github.com/Azure/azure-sdk-for-js/pull/11949) - All methods that take an array as input are updated to ensure they gracefully do a no-op rather than throw errors. For example: `receiveDeferredMessages()`, `scheduleMessages()` and `cancelScheduledMessages()`. -- Tracing, using [@azure/core-tracing](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/README.md), has been added for sending and receiving of messages. +- Tracing, using [@azure/core-tracing](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/README.md), has been added for sending and receiving of messages. [PR 11651](https://github.com/Azure/azure-sdk-for-js/pull/11651) and [PR 11810](https://github.com/Azure/azure-sdk-for-js/pull/11810) @@ -288,7 +288,7 @@ If migrating from version 1.1.10 or lower, look at our [migration guide to move - Added Async iterable iterators with pagination support for all the listing methods like `getQueues()`, `getTopics()`, `getQueuesRuntimeInfo()`, etc. and renamed them to use the `list` verb. [PR 9951](https://github.com/Azure/azure-sdk-for-js/pull/9951) [PR 10223](https://github.com/Azure/azure-sdk-for-js/pull/10223) - - Please refer to the examples in the `samples` folder - [listingEntities](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/listingEntities.ts) + - Please refer to the examples in the `samples` folder - [listingEntities](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/listingEntities.ts) - `receiveMessages()`'s optional `maxWaitTimeInMs` parameter now controls how long to wait for the _first_ message, rather than how long to wait for an entire set of messages. This change allows for a faster return of messages to your application. @@ -516,7 +516,7 @@ If migrating from version 1.1.10 or lower, look at our [migration guide to move ## 1.0.0-preview.3 (2019-04-24) -- Proxy support added. Please refer to the [useProxy](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/useProxy.js) +- Proxy support added. Please refer to the [useProxy](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/useProxy.js) sample to see how you can use Websockets to run this library with a proxy server - Standardized error messages on errors thrown on parameter validations - We now have API reference docs published for this library. Checkout our README which has been updated with the relevant API reference links. @@ -565,7 +565,7 @@ meant to do. - Fixed [Bug 1098](https://github.com/Azure/azure-sdk-for-js/issues/1098) where precision was lost on the messageId when a number is passed. - A network connection lost error is now treated as retryable error. A new error with name `ConnectionLostError` - is introduced for this scenario which you can see if you enable the [logs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus#enable-logs). + is introduced for this scenario which you can see if you enable the [logs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus#enable-logs). - When recovering from an error that caused the underlying AMQP connection to get disconnected, [rhea](https://github.com/amqp/rhea/issues/205) reconnects all the older AMQP links on the connection resulting in the below 2 errors in the logs. We now clear rhea's internal map to avoid such reconnections. diff --git a/sdk/servicebus/service-bus/README.md b/sdk/servicebus/service-bus/README.md index b4ba53e555cc..8f68bf1aae76 100644 --- a/sdk/servicebus/service-bus/README.md +++ b/sdk/servicebus/service-bus/README.md @@ -10,11 +10,11 @@ Use the client library `@azure/service-bus` in your application to Resources for `@azure/service-bus` version 7: -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus) | [Package (npm)](https://www.npmjs.com/package/@azure/service-bus) | [API Reference Documentation][apiref] | [Product documentation](https://azure.microsoft.com/services/service-bus/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/samples) **NOTE**: If you are using version 1.1.10 or lower and want to migrate to the latest version of this package please look at our [migration guide to move from Service Bus V1 to Service Bus V7][migrationguide] @@ -121,7 +121,7 @@ The following sections provide code snippets that cover some of the common tasks - [Send messages using Sessions](#send-messages-using-sessions) - [Receive messages from Sessions](#receive-messages-from-sessions) - [Manage resources of a service bus namespace](#manage-resources-of-a-service-bus-namespace) -- [Additional samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples) +- [Additional samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/samples) ### Send messages @@ -268,8 +268,8 @@ for (const message of messages) { Full samples demonstrating dead letter queues more thoroughly: -- [Using receiver.deadLetterMessage() to explicitly send messages to the dead letter sub-queue](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/movingMessagesToDLQ.ts) -- [Receiving messages from the dead letter sub-queue](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/processMessageFromDLQ.ts) +- [Using receiver.deadLetterMessage() to explicitly send messages to the dead letter sub-queue](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/movingMessagesToDLQ.ts) +- [Receiving messages from the dead letter sub-queue](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/processMessageFromDLQ.ts) ### Send messages using Sessions @@ -358,7 +358,7 @@ console.log("Number of messages in the queue = ", queueRuntimeProperties.totalMe await serviceBusAdministrationClient.deleteQueue(queueName); ``` -- Sample for reference - [administrationClient.ts](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/administrationClient.ts) +- Sample for reference - [administrationClient.ts](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/administrationClient.ts) ## Troubleshooting @@ -414,19 +414,19 @@ export DEBUG=azure:service-bus:error,azure:core-amqp:error,rhea-promise:error,rh ## Next steps -Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples) +Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/samples) directory for detailed examples on how to use this library to send and receive messages to/from [Service Bus Queues, Topics and Subscriptions](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview). ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fservicebus%2Fservice-bus%2FREADME.png) [apiref]: https://docs.microsoft.com/javascript/api/@azure/service-bus/ -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential [sbclient]: https://docs.microsoft.com/javascript/api/@azure/service-bus/servicebusclient [sbclient_constructor]: https://docs.microsoft.com/javascript/api/@azure/service-bus/servicebusclient#ServiceBusClient_string__ServiceBusClientOptions_ [sbclient_tokencred_overload]: https://docs.microsoft.com/javascript/api/@azure/service-bus/servicebusclient#ServiceBusClient_string__TokenCredential__ServiceBusClientOptions_ @@ -444,7 +444,7 @@ If you'd like to contribute to this library, please read the [contributing guide [receiver_deadletter]: https://docs.microsoft.com/javascript/api/@azure/service-bus/servicebusreceiver#deadLetterMessage_ServiceBusReceivedMessage__DeadLetterOptions____key__string___any_ [receiver_defer]: https://docs.microsoft.com/javascript/api/@azure/service-bus/servicebusreceiver#deferMessage_ServiceBusReceivedMessage___key__string___any_ [sessionreceiver]: https://docs.microsoft.com/javascript/api/@azure/service-bus/servicebussessionreceiver -[migrationguide]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/migrationguide.md +[migrationguide]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/migrationguide.md [docsms_messagesessions]: https://docs.microsoft.com/azure/service-bus-messaging/message-sessions [docsms_messagesessions_fifo]: https://docs.microsoft.com/azure/service-bus-messaging/message-sessions#first-in-first-out-fifo-pattern [queue_concept]: https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview#queues diff --git a/sdk/servicebus/service-bus/migrationguide.md b/sdk/servicebus/service-bus/migrationguide.md index b97096744d24..eb91aab9c669 100644 --- a/sdk/servicebus/service-bus/migrationguide.md +++ b/sdk/servicebus/service-bus/migrationguide.md @@ -2,7 +2,7 @@ This guide is intended to assist in the migration from version 1 of the Service Bus client library `@azure/service-bus` to version 7 of the same library. It will focus on side-by-side comparisons for similar operations between the two packages. -Familiarity with the version 1 of the `@azure/service-bus` library is assumed. For those new to the Service Bus client library for JavaScript, please refer to the [README](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/README.md) and [Service Bus samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples) for the `@azure/service-bus` library rather than this guide. +Familiarity with the version 1 of the `@azure/service-bus` library is assumed. For those new to the Service Bus client library for JavaScript, please refer to the [README](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/README.md) and [Service Bus samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/samples) for the `@azure/service-bus` library rather than this guide. ## Table of contents @@ -46,7 +46,7 @@ We have a variety of new features in the version 7 of the Service Bus library. - Ability to configure the retry policy used by the operations on the client, sender and receivers. - Ability to cancel async operations on the client, sender and receivers and the management operations using the abort signal from `@azure/abort-controller`. - Authentication with AAD credentials using `@azure/identity`. - Refer to the [Changelog.md](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/CHANGELOG.md) for more new features, changes and bug fixes. + Refer to the [Changelog.md](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/CHANGELOG.md) for more new features, changes and bug fixes. ### Performance Improvements @@ -265,4 +265,4 @@ Additionally, since a message cannot be settled if the receiver that was used to ## Additional samples -More examples can be found at [Samples for @azure/service-bus](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/samples/) +More examples can be found at [Samples for @azure/service-bus](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/samples/) diff --git a/sdk/servicebus/service-bus/samples/v7/javascript/README.md b/sdk/servicebus/service-bus/samples/v7/javascript/README.md index c9d6c7806e8e..9d880d2f2c39 100644 --- a/sdk/servicebus/service-bus/samples/v7/javascript/README.md +++ b/sdk/servicebus/service-bus/samples/v7/javascript/README.md @@ -70,22 +70,22 @@ npx cross-env SERVICEBUS_CONNECTION_STRING="" QUEU Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[sendmessages]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/sendMessages.js -[receivemessagesloop]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/receiveMessagesLoop.js -[receivemessagesstreaming]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/receiveMessagesStreaming.js -[usingaadauth]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/usingAadAuth.js -[browsemessages]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/browseMessages.js -[session]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/session.js -[scheduledmessages]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/scheduledMessages.js -[useproxy]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/useProxy.js -[advanced_administrationclient]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/advanced/administrationClient.js -[advanced_sessionroundrobin]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/advanced/sessionRoundRobin.js -[advanced_deferral]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/advanced/deferral.js -[advanced_listingentities]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/advanced/listingEntities.js -[advanced_sessionstate]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/advanced/sessionState.js -[advanced_movingmessagestodlq]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/advanced/movingMessagesToDLQ.js -[advanced_processmessagefromdlq]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/javascript/advanced/processMessageFromDLQ.js +[sendmessages]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/sendMessages.js +[receivemessagesloop]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/receiveMessagesLoop.js +[receivemessagesstreaming]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/receiveMessagesStreaming.js +[usingaadauth]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/usingAadAuth.js +[browsemessages]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/browseMessages.js +[session]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/session.js +[scheduledmessages]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/scheduledMessages.js +[useproxy]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/useProxy.js +[advanced_administrationclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/advanced/administrationClient.js +[advanced_sessionroundrobin]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/advanced/sessionRoundRobin.js +[advanced_deferral]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/advanced/deferral.js +[advanced_listingentities]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/advanced/listingEntities.js +[advanced_sessionstate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/advanced/sessionState.js +[advanced_movingmessagestodlq]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/advanced/movingMessagesToDLQ.js +[advanced_processmessagefromdlq]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/javascript/advanced/processMessageFromDLQ.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/service-bus [freesub]: https://azure.microsoft.com/free/ [createinstance_azureservicebus]: https://docs.microsoft.com/azure/service-bus-messaging -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/README.md diff --git a/sdk/servicebus/service-bus/samples/v7/typescript/README.md b/sdk/servicebus/service-bus/samples/v7/typescript/README.md index a02cc9b326c0..42c04adeaa3e 100644 --- a/sdk/servicebus/service-bus/samples/v7/typescript/README.md +++ b/sdk/servicebus/service-bus/samples/v7/typescript/README.md @@ -82,23 +82,23 @@ npx cross-env SERVICEBUS_CONNECTION_STRING="" QUEU Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[sendmessages]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/sendMessages.ts -[receivemessagesloop]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/receiveMessagesLoop.ts -[receivemessagesstreaming]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/receiveMessagesStreaming.ts -[usingaadauth]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/usingAadAuth.ts -[browsemessages]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/browseMessages.ts -[session]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/session.ts -[scheduledmessages]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/scheduledMessages.ts -[useproxy]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/useProxy.ts -[advanced_administrationclient]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/administrationClient.ts -[advanced_sessionroundrobin]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/sessionRoundRobin.ts -[advanced_deferral]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/deferral.ts -[advanced_listingentities]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/listingEntities.ts -[advanced_sessionstate]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/sessionState.ts -[advanced_movingmessagestodlq]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/movingMessagesToDLQ.ts -[advanced_processmessagefromdlq]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/processMessageFromDLQ.ts +[sendmessages]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/sendMessages.ts +[receivemessagesloop]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/receiveMessagesLoop.ts +[receivemessagesstreaming]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/receiveMessagesStreaming.ts +[usingaadauth]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/usingAadAuth.ts +[browsemessages]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/browseMessages.ts +[session]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/session.ts +[scheduledmessages]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/scheduledMessages.ts +[useproxy]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/useProxy.ts +[advanced_administrationclient]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/administrationClient.ts +[advanced_sessionroundrobin]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/sessionRoundRobin.ts +[advanced_deferral]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/deferral.ts +[advanced_listingentities]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/listingEntities.ts +[advanced_sessionstate]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/sessionState.ts +[advanced_movingmessagestodlq]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/movingMessagesToDLQ.ts +[advanced_processmessagefromdlq]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/samples/v7/typescript/src/advanced/processMessageFromDLQ.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/service-bus [freesub]: https://azure.microsoft.com/free/ [createinstance_azureservicebus]: https://docs.microsoft.com/azure/service-bus-messaging -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/servicebus/service-bus/test/README.md b/sdk/servicebus/service-bus/test/README.md index 2fec9e5ea2b6..0238e416f0d0 100644 --- a/sdk/servicebus/service-bus/test/README.md +++ b/sdk/servicebus/service-bus/test/README.md @@ -1,10 +1,10 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). ## Azure resources -The Azure Azure Service Bus client does not have any recorded tests and so, all the tests require an Azure Service Bus namespace to be set up beforehand. You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/test-resources.json) that already has all of the the necessary configurations. +The Azure Azure Service Bus client does not have any recorded tests and so, all the tests require an Azure Service Bus namespace to be set up beforehand. You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/storage/CONTRIBUTING.md b/sdk/storage/CONTRIBUTING.md index 766c1220a008..6f27ac4910d7 100644 --- a/sdk/storage/CONTRIBUTING.md +++ b/sdk/storage/CONTRIBUTING.md @@ -57,7 +57,7 @@ The environment variable **TEST_MODE** controls how the tests are running. - Else If TEST_MODE = "playback" (or if the TEST_MODE is not set or set to an invalid value), - Existing recordings are played back as responses to the HTTP requests in the tests -Please refer to the [guidelines on Record and Playback](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/recorder/GUIDELINES.md) for more details. +Please refer to the [guidelines on Record and Playback](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/GUIDELINES.md) for more details. ### Emulator Tests @@ -156,7 +156,7 @@ npm run test `npm run test` would run the the tests in both node and the browser. -**Link** - [Guidelines for record and playback - `@azure/test-utils-recorder`](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/recorder/GUIDELINES.md) +**Link** - [Guidelines for record and playback - `@azure/test-utils-recorder`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/GUIDELINES.md) ## Pull Requests diff --git a/sdk/storage/README.md b/sdk/storage/README.md index 66c005ceaf1c..28ee3fd4ecca 100644 --- a/sdk/storage/README.md +++ b/sdk/storage/README.md @@ -4,10 +4,10 @@ Azure Storage is a Microsoft-managed service providing cloud storage that is hig This project provides client libraries in JavaScript that makes it easy to consume Microsoft Azure Storage service. -- [Source Code - Blob](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob) -- [Source Code - File Data Lake](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake) -- [Source Code - File Share](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share) -- [Source Code - Queue](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue) +- [Source Code - Blob](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob) +- [Source Code - File Data Lake](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake) +- [Source Code - File Share](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share) +- [Source Code - Queue](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue) - [Product documentation](https://docs.microsoft.com/azure/storage) - @azure/storage-blob [Package (npm)](https://www.npmjs.com/package/@azure/storage-blob) - @azure/storage-file-datalake [Package (npm)](https://www.npmjs.com/package/@azure/storage-file-datalake) @@ -59,17 +59,17 @@ The Azure Storage client libraries for JavaScript provides low-level and high-le Please check out examples for each libraries -- [Blob Storage Examples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples) -- [Blob Storage Examples - Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/test/) -- [Data Lake Storage Examples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake/samples) -- [Data Lake Storage Examples - Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake/test) -- [File Storage Examples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples) -- [File Storage Examples - Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/test) -- [Queue Storage Examples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples) -- [Queue Storage Examples - Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/test) +- [Blob Storage Examples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples) +- [Blob Storage Examples - Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/test/) +- [Data Lake Storage Examples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake/samples) +- [Data Lake Storage Examples - Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake/test) +- [File Storage Examples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples) +- [File Storage Examples - Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/test) +- [Queue Storage Examples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples) +- [Queue Storage Examples - Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/test) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2FREADME.png) diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 6ac0be5e31de..26fcffae56be 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/storage/storage-blob-changefeed/README.md b/sdk/storage/storage-blob-changefeed/README.md index 027ec45e58a4..25185386971b 100644 --- a/sdk/storage/storage-blob-changefeed/README.md +++ b/sdk/storage/storage-blob-changefeed/README.md @@ -11,11 +11,11 @@ Use the client libraries in this package to: - Reading change feed events, all or within a time range - Resuming reading events from a saved position -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed) | [Package (npm)](https://www.npmjs.com/package/@azure/storage-blob-changefeed/) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/storage-blob-changefeed) | [Product documentation](https://docs.microsoft.com/azure/storage/blobs/storage-blob-change-feed) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples) | +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples) | ## Getting started @@ -31,7 +31,7 @@ npm install @azure/storage-blob-changefeed ### Authenticate the client -This library uses an authenticated `BlobServiceClient` to initialize. Refer to [storage-blob](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob#authenticate-the-client) for how to authenticate a `BlobServiceClient`. +This library uses an authenticated `BlobServiceClient` to initialize. Refer to [storage-blob](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob#authenticate-the-client) for how to authenticate a `BlobServiceClient`. ### Compatibility @@ -53,7 +53,7 @@ This library offers a client you can use to fetch the change events. ### Initialize the change feed client -The `BlobChangeFeedClient` requires almost the same parameters as `BlobServiceClient` to initialize. Refer to [storage-blob](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob#create-the-blob-service-client) for how to create the blob service client. Here is an example using `StorageSharedKeyCredential`. +The `BlobChangeFeedClient` requires almost the same parameters as `BlobServiceClient` to initialize. Refer to [storage-blob](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob#create-the-blob-service-client) for how to create the blob service client. Here is an example using `StorageSharedKeyCredential`. ```javascript const { StorageSharedKeyCredential } = require("@azure/storage-blob"); @@ -155,14 +155,14 @@ setLogLevel("info"); More code samples: -- [Blob Storage Change Feed Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/javascript) -- [Blob Storage Change Feed Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/typescript) -- [Blob Storage Change Feed Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/test/) +- [Blob Storage Change Feed Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/javascript) +- [Blob Storage Change Feed Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/typescript) +- [Blob Storage Change Feed Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/test/) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. -Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. +Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2Fstorage-blob-changefeed%2FREADME.png) diff --git a/sdk/storage/storage-blob-changefeed/samples/README.md b/sdk/storage/storage-blob-changefeed/samples/README.md index 6cf37f3af92e..ae606213eef6 100644 --- a/sdk/storage/storage-blob-changefeed/samples/README.md +++ b/sdk/storage/storage-blob-changefeed/samples/README.md @@ -23,7 +23,7 @@ npm install @azure/storage-blob-changefeed ### Authenticating with Azure Active Directory -If you have [registered an application](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) with an Azure Active Directory tenant, you can [assign it to an RBAC role](https://docs.microsoft.com/azure/storage/common/storage-auth-aad) in your Azure Storage account. This enables you to use the Azure.Identity library to authenticate with Azure Storage as shown in the [azureAdAuth.ts sample](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/samples/typescript/src/azureAdAuth.ts). +If you have [registered an application](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) with an Azure Active Directory tenant, you can [assign it to an RBAC role](https://docs.microsoft.com/azure/storage/common/storage-auth-aad) in your Azure Storage account. This enables you to use the Azure.Identity library to authenticate with Azure Storage as shown in the [azureAdAuth.ts sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/typescript/src/azureAdAuth.ts). ## JavaScript sample @@ -58,9 +58,9 @@ ts-node sample.ts - Iterate through the entire Change Feed between a start and end date [basic.js][basic.js], [basic.ts][basic.ts] - Resuming a previous iteration of a Change Feed using the continuation token [resume.js][resume.js], [resume.ts][resume.ts] -[basic.js]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/javascript/basic.js -[resume.js]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/javascript/resume.js -[basic.ts]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/typescript/src/basic.ts -[resume.ts]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/typescript/src/resume.ts +[basic.js]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/javascript/basic.js +[resume.js]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/javascript/resume.js +[basic.ts]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/typescript/src/basic.ts +[resume.ts]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/typescript/src/resume.ts ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2Fstorage-blob-changefeed%2Fsamples%2FREADME.png) diff --git a/sdk/storage/storage-blob-changefeed/samples/javascript/README.md b/sdk/storage/storage-blob-changefeed/samples/javascript/README.md index 19ada53099e1..53e08c852bd9 100644 --- a/sdk/storage/storage-blob-changefeed/samples/javascript/README.md +++ b/sdk/storage/storage-blob-changefeed/samples/javascript/README.md @@ -51,8 +51,8 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node bas Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/javascript/basic.js -[resume]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/javascript/resume.js +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/javascript/basic.js +[resume]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/javascript/resume.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-blob-changefeed [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ diff --git a/sdk/storage/storage-blob-changefeed/samples/typescript/README.md b/sdk/storage/storage-blob-changefeed/samples/typescript/README.md index 4a9dad7419a8..38d4e7e10b88 100644 --- a/sdk/storage/storage-blob-changefeed/samples/typescript/README.md +++ b/sdk/storage/storage-blob-changefeed/samples/typescript/README.md @@ -63,8 +63,8 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node dis Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/typescript/src/basic.ts -[resume]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/typescript/src/resume.ts +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/typescript/src/basic.ts +[resume]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/typescript/src/resume.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-blob-changefeed [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ diff --git a/sdk/storage/storage-blob/README.md b/sdk/storage/storage-blob/README.md index 843b7d7ea551..b6fcf181208e 100644 --- a/sdk/storage/storage-blob/README.md +++ b/sdk/storage/storage-blob/README.md @@ -12,11 +12,11 @@ Use the client libraries in this package to: - Create/Read/List/Update/Delete Page Blobs - Create/Read/List/Update/Delete Append Blobs -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob) | [Package (npm)](https://www.npmjs.com/package/@azure/storage-blob/) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/storage-blob) | [Product documentation](https://docs.microsoft.com/azure/storage/blobs/storage-blobs-overview) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples) | +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples) | [Azure Storage Blob REST APIs](https://docs.microsoft.com/rest/api/storageservices/blob-service-rest-api) ## Getting started @@ -41,7 +41,7 @@ Azure Storage supports several ways to authenticate. In order to interact with t #### Azure Active Directory -The Azure Blob Storage service supports the use of Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. Please see the [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) for more details and samples to get you started. +The Azure Blob Storage service supports the use of Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. Please see the [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) for more details and samples to get you started. ### Compatibility @@ -181,7 +181,7 @@ const blobServiceClient = new BlobServiceClient( ); ``` -See the [Azure AD Auth sample](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/samples/javascript/azureAdAuth.js) for a complete example using this method. +See the [Azure AD Auth sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/javascript/azureAdAuth.js) for a complete example using this method. [Note - Above steps are only for Node.js] @@ -341,7 +341,7 @@ async function main() { main(); ``` -For a complete sample on iterating containers please see [samples/src/iterators-containers.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/samples/typescript/src/iterators-containers.ts). +For a complete sample on iterating containers please see [samples/src/iterators-containers.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/typescript/src/iterators-containers.ts). ### Create a blob by uploading data @@ -403,7 +403,7 @@ async function main() { main(); ``` -For a complete sample on iterating blobs please see [samples/src/iterators-blobs.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/samples/typescript/src/iterators-blobs.ts). +For a complete sample on iterating blobs please see [samples/src/iterators-blobs.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/typescript/src/iterators-blobs.ts). ### Download a blob and convert it to a string (Node.js) @@ -492,7 +492,7 @@ async function main() { main(); ``` -A complete example of basic scenarios is at [samples/src/basic.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/samples/typescript/src/basic.ts). +A complete example of basic scenarios is at [samples/src/basic.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/typescript/src/basic.ts). ## Troubleshooting @@ -508,14 +508,14 @@ setLogLevel("info"); More code samples: -- [Blob Storage Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript) -- [Blob Storage Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript) -- [Blob Storage Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/test/) +- [Blob Storage Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript) +- [Blob Storage Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript) +- [Blob Storage Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/test/) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. -Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. +Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2Fstorage-blob%2FREADME.png) diff --git a/sdk/storage/storage-blob/samples/README.md b/sdk/storage/storage-blob/samples/README.md index d6bbcea2ca5c..5f8250bc70b4 100644 --- a/sdk/storage/storage-blob/samples/README.md +++ b/sdk/storage/storage-blob/samples/README.md @@ -23,7 +23,7 @@ npm install @azure/storage-blob ### Authenticating with Azure Active Directory -If you have [registered an application](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) with an Azure Active Directory tenant, you can [assign it to an RBAC role](https://docs.microsoft.com/azure/storage/common/storage-auth-aad) in your Azure Storage account. This enables you to use the Azure.Identity library to authenticate with Azure Storage as shown in the [azureAdAuth.ts sample](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/samples/typescript/src/azureAdAuth.ts). +If you have [registered an application](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) with an Azure Active Directory tenant, you can [assign it to an RBAC role](https://docs.microsoft.com/azure/storage/common/storage-auth-aad) in your Azure Storage account. This enables you to use the Azure.Identity library to authenticate with Azure Storage as shown in the [azureAdAuth.ts sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/typescript/src/azureAdAuth.ts). ## Javascript sample diff --git a/sdk/storage/storage-blob/samples/javascript/README.md b/sdk/storage/storage-blob/samples/javascript/README.md index b57652f39b30..036cea636bfc 100644 --- a/sdk/storage/storage-blob/samples/javascript/README.md +++ b/sdk/storage/storage-blob/samples/javascript/README.md @@ -66,22 +66,22 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node bas Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[advanced]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/advanced.js -[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/anonymousCred.js -[azureadauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/azureAdAuth.js -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/basic.js -[customizedclientheaders]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/customizedClientHeaders.js -[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/customPipeline.js -[errorsandresponses]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/errorsAndResponses.js -[iterators-blobs-hierarchy]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/iterators-blobs-hierarchy.js -[iterators-blobs]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/iterators-blobs.js -[iterators-containers]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/iterators-containers.js -[iterators-without-await]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/iterators-without-await.js -[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/proxyAuth.js -[readingsnapshot]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/readingSnapshot.js -[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/sharedKeyCred.js -[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/javascript/withConnString.js +[advanced]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/advanced.js +[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/anonymousCred.js +[azureadauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/azureAdAuth.js +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/basic.js +[customizedclientheaders]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/customizedClientHeaders.js +[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/customPipeline.js +[errorsandresponses]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/errorsAndResponses.js +[iterators-blobs-hierarchy]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/iterators-blobs-hierarchy.js +[iterators-blobs]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/iterators-blobs.js +[iterators-containers]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/iterators-containers.js +[iterators-without-await]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/iterators-without-await.js +[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/proxyAuth.js +[readingsnapshot]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/readingSnapshot.js +[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/sharedKeyCred.js +[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/javascript/withConnString.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-blob [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/README.md diff --git a/sdk/storage/storage-blob/samples/typescript/README.md b/sdk/storage/storage-blob/samples/typescript/README.md index 3d4dbb152022..d7f129ee2f7a 100644 --- a/sdk/storage/storage-blob/samples/typescript/README.md +++ b/sdk/storage/storage-blob/samples/typescript/README.md @@ -78,23 +78,23 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node dis Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[advanced]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/advanced.ts -[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/anonymousCred.ts -[azureadauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/azureAdAuth.ts -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/basic.ts -[customizedclientheaders]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/customizedClientHeaders.ts -[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/customPipeline.ts -[errorsandresponses]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/errorsAndResponses.ts -[iterators-blobs-hierarchy]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/iterators-blobs-hierarchy.ts -[iterators-blobs]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/iterators-blobs.ts -[iterators-containers]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/iterators-containers.ts -[iterators-without-await]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/iterators-without-await.ts -[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/proxyAuth.ts -[readingsnapshot]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/readingSnapshot.ts -[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/sharedKeyCred.ts -[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples/typescript/src/withConnString.ts +[advanced]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/advanced.ts +[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/anonymousCred.ts +[azureadauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/azureAdAuth.ts +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/basic.ts +[customizedclientheaders]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/customizedClientHeaders.ts +[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/customPipeline.ts +[errorsandresponses]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/errorsAndResponses.ts +[iterators-blobs-hierarchy]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/iterators-blobs-hierarchy.ts +[iterators-blobs]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/iterators-blobs.ts +[iterators-containers]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/iterators-containers.ts +[iterators-without-await]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/iterators-without-await.ts +[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/proxyAuth.ts +[readingsnapshot]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/readingSnapshot.ts +[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/sharedKeyCred.ts +[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/samples/typescript/src/withConnString.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-blob [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/storage/storage-blob/test/README.md b/sdk/storage/storage-blob/test/README.md index a0a038dafcec..17be1db0989c 100644 --- a/sdk/storage/storage-blob/test/README.md +++ b/sdk/storage/storage-blob/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/storage/storage-datalake/README.md b/sdk/storage/storage-datalake/README.md index de8de1dce380..1167c504c5f4 100644 --- a/sdk/storage/storage-datalake/README.md +++ b/sdk/storage/storage-datalake/README.md @@ -95,9 +95,9 @@ setLogLevel("info"); ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. -Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. +Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. ## Related projects diff --git a/sdk/storage/storage-file-datalake/README.md b/sdk/storage/storage-file-datalake/README.md index f5b37e3d3faf..b4e23c66022e 100644 --- a/sdk/storage/storage-file-datalake/README.md +++ b/sdk/storage/storage-file-datalake/README.md @@ -9,11 +9,11 @@ Use the client libraries in this package to: - Create/List/Delete File Systems - Create/Read/List/Update/Delete Paths, Directories and Files -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake) | [Package (npm)](https://www.npmjs.com/package/@azure/storage-file-datalake) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/storage-file-datalake) | [Product documentation](https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-introduction?toc=%2fazure%2fstorage%2fblobs%2ftoc.json) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake/samples) | +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake/samples) | [Azure Storage Data Lake REST APIs](https://docs.microsoft.com/rest/api/storageservices/data-lake-storage-gen2) ## Getting started @@ -38,7 +38,7 @@ Azure Storage supports several ways to authenticate. In order to interact with t #### Azure Active Directory -The Azure Data Lake Storage service supports the use of Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. Please see the [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) for more details and samples to get you started. +The Azure Data Lake Storage service supports the use of Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. Please see the [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) for more details and samples to get you started. ### Compatibility @@ -204,7 +204,7 @@ const datalakeServiceClient = new DataLakeServiceClient( ); ``` -See the [Azure AD Auth sample](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/samples/javascript/azureAdAuth.js) for a complete example using this method. +See the [Azure AD Auth sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/samples/javascript/azureAdAuth.js) for a complete example using this method. [Note - Above steps are only for Node.js] @@ -562,12 +562,12 @@ setLogLevel("info"); More code samples: -- [DataLake Storage Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake/samples/javascript) -- [DataLake Storage Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake/samples/typescript) -- [DataLake Storage Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake/test/) +- [DataLake Storage Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake/samples/javascript) +- [DataLake Storage Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake/samples/typescript) +- [DataLake Storage Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake/test/) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2Fstorage-blob%2FREADME.png) diff --git a/sdk/storage/storage-file-datalake/samples/javascript/README.md b/sdk/storage/storage-file-datalake/samples/javascript/README.md index 13b2c8627459..585eadde4fbd 100644 --- a/sdk/storage/storage-file-datalake/samples/javascript/README.md +++ b/sdk/storage/storage-file-datalake/samples/javascript/README.md @@ -50,7 +50,7 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node bas Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake/samples/javascript/basic.js +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake/samples/javascript/basic.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-file-datalake [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ diff --git a/sdk/storage/storage-file-datalake/samples/typescript/README.md b/sdk/storage/storage-file-datalake/samples/typescript/README.md index a4e79d1d8e57..8eb1ab20cb09 100644 --- a/sdk/storage/storage-file-datalake/samples/typescript/README.md +++ b/sdk/storage/storage-file-datalake/samples/typescript/README.md @@ -62,7 +62,7 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node dis Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-datalake/samples/typescript/src/basic.ts +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-datalake/samples/typescript/src/basic.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-file-datalake [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ diff --git a/sdk/storage/storage-file-datalake/test/README.md b/sdk/storage/storage-file-datalake/test/README.md index ce0c681f7329..cd469cc9bee3 100644 --- a/sdk/storage/storage-file-datalake/test/README.md +++ b/sdk/storage/storage-file-datalake/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/storage/storage-file-share/CHANGELOG.md b/sdk/storage/storage-file-share/CHANGELOG.md index eb55c0ec376d..46d0d1dd8698 100644 --- a/sdk/storage/storage-file-share/CHANGELOG.md +++ b/sdk/storage/storage-file-share/CHANGELOG.md @@ -200,7 +200,7 @@ - Added `DirectoryClient.listHandlesSegment()` and `FileClient.listHandlesSegment()` to returns a list of open handles on a directory or a file. - Added `DirectoryClient.forceCloseHandlesSegment()`, `FileClient.forceCloseHandlesSegment()`, `DirectoryClient.forceCloseHandle()` and `FileClient.forceCloseHandle()` to close handles. - Pass through `options.abortSignal` to the optional `abortSignal` attribute in option bags instead of using `AbortSignal.none` as the default value when `options.abortSignal` is not specified. -- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/src/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-file-share/samples/typescript/src/proxyAuth.ts) +- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/src/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-file-share/samples/typescript/src/proxyAuth.ts) - Connection strings for explicit storage endpoints are supported. - [Configure Azure Storage connection strings](https://docs.microsoft.com/azure/storage/common/storage-configure-connection-string#create-a-connection-string-for-an-explicit-storage-endpoint) ## 12.0.0-preview.2 (2019-08-01) diff --git a/sdk/storage/storage-file-share/README.md b/sdk/storage/storage-file-share/README.md index 8dd7d98efe92..ffa8022732f8 100644 --- a/sdk/storage/storage-file-share/README.md +++ b/sdk/storage/storage-file-share/README.md @@ -15,11 +15,11 @@ Use the client libraries in this package to: > It has been renamed to `@azure/storage-file-share` to better align with the upcoming new package > for Azure Storage Files DataLake and provide a consistent set of APIs for working with files on Azure. -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share) | [Package (npm)](https://www.npmjs.com/package/@azure/storage-file-share/) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/storage-file-share) | [Product documentation](https://docs.microsoft.com/azure/storage/files/storage-files-introduction) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples) | +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples) | [Azure Storage File REST APIs](https://docs.microsoft.com/rest/api/storageservices/file-service-rest-api) ## Getting started @@ -377,7 +377,7 @@ async function main() { main(); ``` -For a complete sample on iterating please see [samples/typescript/src/iterators-files-and-directories.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-file-share/samples/typescript/src/iterators-files-and-directories.ts). +For a complete sample on iterating please see [samples/typescript/src/iterators-files-and-directories.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-file-share/samples/typescript/src/iterators-files-and-directories.ts). ### Download a file and convert it to a string (Node.js) @@ -470,7 +470,7 @@ async function blobToString(blob) { main(); ``` -A complete example of basic scenarios is at [samples/typescript/src/basic.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-file-share/samples/typescript/src/basic.ts). +A complete example of basic scenarios is at [samples/typescript/src/basic.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-file-share/samples/typescript/src/basic.ts). ## Troubleshooting @@ -486,14 +486,14 @@ setLogLevel("info"); More code samples -- [File Share Storage Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript) -- [File Share Storage Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript) -- [File Share Storage Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/test) +- [File Share Storage Samples (JavaScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript) +- [File Share Storage Samples (TypeScript)](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript) +- [File Share Storage Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/test) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. -Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. +Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2Fstorage-file-share%2FREADME.png) diff --git a/sdk/storage/storage-file-share/samples/javascript/README.md b/sdk/storage/storage-file-share/samples/javascript/README.md index 89a8b2a9c38d..034ad71b44db 100644 --- a/sdk/storage/storage-file-share/samples/javascript/README.md +++ b/sdk/storage/storage-file-share/samples/javascript/README.md @@ -61,17 +61,17 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node bas Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/basic.js -[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/proxyAuth.js -[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/withConnString.js -[iterators-files-and-directories]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/iterators-files-and-directories.js -[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/sharedKeyCred.js -[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/anonymousCred.js -[iterators-handles]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/iterators-handles.js -[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/customPipeline.js -[advanced]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/advanced.js -[iterators-shares]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/javascript/iterators-shares.js +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/basic.js +[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/proxyAuth.js +[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/withConnString.js +[iterators-files-and-directories]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/iterators-files-and-directories.js +[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/sharedKeyCred.js +[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/anonymousCred.js +[iterators-handles]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/iterators-handles.js +[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/customPipeline.js +[advanced]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/advanced.js +[iterators-shares]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/javascript/iterators-shares.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-file-share [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/README.md diff --git a/sdk/storage/storage-file-share/samples/typescript/README.md b/sdk/storage/storage-file-share/samples/typescript/README.md index 8663bc9c120f..8f7f6cd1a89d 100644 --- a/sdk/storage/storage-file-share/samples/typescript/README.md +++ b/sdk/storage/storage-file-share/samples/typescript/README.md @@ -73,18 +73,18 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node dis Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/basic.ts -[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/proxyAuth.ts -[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/withConnString.ts -[iterators-files-and-directories]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/iterators-files-and-directories.ts -[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/sharedKeyCred.ts -[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/anonymousCred.ts -[iterators-handles]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/iterators-handles.ts -[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/customPipeline.ts -[advanced]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/advanced.ts -[iterators-shares]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/samples/typescript/src/iterators-shares.ts +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/basic.ts +[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/proxyAuth.ts +[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/withConnString.ts +[iterators-files-and-directories]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/iterators-files-and-directories.ts +[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/sharedKeyCred.ts +[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/anonymousCred.ts +[iterators-handles]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/iterators-handles.ts +[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/customPipeline.ts +[advanced]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/advanced.ts +[iterators-shares]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/samples/typescript/src/iterators-shares.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-file-share [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file-share/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-file-share/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/storage/storage-file-share/test/README.md b/sdk/storage/storage-file-share/test/README.md index d3020429ae3f..edc876c4a90d 100644 --- a/sdk/storage/storage-file-share/test/README.md +++ b/sdk/storage/storage-file-share/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to build it by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building), then follow the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/test-resources.json) that already has all of the the necessary configurations. The Azure resource that is used by the tests in this project is: diff --git a/sdk/storage/storage-queue/CHANGELOG.md b/sdk/storage/storage-queue/CHANGELOG.md index c9e80295d270..293a7db28e7f 100644 --- a/sdk/storage/storage-queue/CHANGELOG.md +++ b/sdk/storage/storage-queue/CHANGELOG.md @@ -160,7 +160,7 @@ - Updated HTTP client from axios to node-fetch in Node.js runtime. - A new option `keepAliveOptions` added to parameter of `newPipeline()` which controls keep-alive configurations. Keep-alive is enabled by default. - Pass through `options.abortSignal` to the optional `abortSignal` attribute in option bags instead of using `AbortSignal.none` as the default value when `options.abortSignal` is not specified. -- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-queue/samples/typescript/src/proxyAuth.ts) +- Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/typescript/src/proxyAuth.ts) - Connection strings for explicit storage endpoints are supported. - [Configure Azure Storage connection strings](https://docs.microsoft.com/azure/storage/common/storage-configure-connection-string#create-a-connection-string-for-an-explicit-storage-endpoint) ## 10.3.0 (2019-09-09) diff --git a/sdk/storage/storage-queue/README.md b/sdk/storage/storage-queue/README.md index 8d6b85ab7304..1894ce456bba 100644 --- a/sdk/storage/storage-queue/README.md +++ b/sdk/storage/storage-queue/README.md @@ -10,11 +10,11 @@ Use the client libraries in this package to: - Create/List/Delete Queues - Send/Receive/Peek/Clear/Update/Delete Queue Messages -[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue) | +[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue) | [Package (npm)](https://www.npmjs.com/package/@azure/storage-queue) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/storage-queue) | [Product documentation](https://docs.microsoft.com/azure/storage/queues/storage-queues-introduction) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples) | +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples) | [Azure Storage Queue REST APIs](https://docs.microsoft.com/rest/api/storageservices/queue-service-rest-api) ## Getting started @@ -39,7 +39,7 @@ Azure Storage supports several ways to authenticate. In order to interact with t #### Azure Active Directory -The Azure Queue Storage service supports the use of Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. Please see the [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity/README.md) for more details and samples to get you started. +The Azure Queue Storage service supports the use of Azure Active Directory to authenticate requests to its APIs. The [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) package provides a variety of credential types that your application can use to do this. Please see the [README for `@azure/identity`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/README.md) for more details and samples to get you started. ### Compatibility @@ -259,7 +259,7 @@ async function main() { main(); ``` -For a complete sample on iterating queues please see [samples/typescript/iterators.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-queue/samples/typescript/src/iterators.ts). +For a complete sample on iterating queues please see [samples/typescript/iterators.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/typescript/src/iterators.ts). ### Create a new queue @@ -417,7 +417,7 @@ async function main() { main(); ``` -A complete example of basic scenarios is at [samples/basic.ts](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-queue/samples/typescript/src/basic.ts). +A complete example of basic scenarios is at [samples/basic.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/typescript/src/basic.ts). ## Troubleshooting @@ -433,13 +433,13 @@ setLogLevel("info"); More code samples -- [Queue Storage Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples) -- [Queue Storage Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/test) +- [Queue Storage Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples) +- [Queue Storage Test Cases](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/test) ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. -Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. +Also refer to [Storage specific guide](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/CONTRIBUTING.md) for additional information on setting up the test environment for storage libraries. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2Fstorage-queue%2FREADME.png) diff --git a/sdk/storage/storage-queue/samples/javascript/README.md b/sdk/storage/storage-queue/samples/javascript/README.md index 57046bc373b8..7cd54404315b 100644 --- a/sdk/storage/storage-queue/samples/javascript/README.md +++ b/sdk/storage/storage-queue/samples/javascript/README.md @@ -59,15 +59,15 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node bas Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/javascript/anonymousCred.js -[azureadauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/javascript/azureAdAuth.js -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/javascript/basic.js -[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/javascript/customPipeline.js -[iterators]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/javascript/iterators.js -[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/javascript/proxyAuth.js -[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/javascript/sharedKeyCred.js -[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/javascript/withConnString.js +[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/javascript/anonymousCred.js +[azureadauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/javascript/azureAdAuth.js +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/javascript/basic.js +[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/javascript/customPipeline.js +[iterators]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/javascript/iterators.js +[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/javascript/proxyAuth.js +[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/javascript/sharedKeyCred.js +[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/javascript/withConnString.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-queue [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/README.md diff --git a/sdk/storage/storage-queue/samples/typescript/README.md b/sdk/storage/storage-queue/samples/typescript/README.md index 9107a5c4b234..9fa63fb33b32 100644 --- a/sdk/storage/storage-queue/samples/typescript/README.md +++ b/sdk/storage/storage-queue/samples/typescript/README.md @@ -71,16 +71,16 @@ npx cross-env ACCOUNT_NAME="" ACCOUNT_KEY="" node dis Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/typescript/src/anonymousCred.ts -[azureadauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/typescript/src/azureAdAuth.ts -[basic]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/typescript/src/basic.ts -[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/typescript/src/customPipeline.ts -[iterators]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/typescript/src/iterators.ts -[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/typescript/src/proxyAuth.ts -[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/typescript/src/sharedKeyCred.ts -[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples/typescript/src/withConnString.ts +[anonymouscred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/typescript/src/anonymousCred.ts +[azureadauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/typescript/src/azureAdAuth.ts +[basic]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/typescript/src/basic.ts +[custompipeline]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/typescript/src/customPipeline.ts +[iterators]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/typescript/src/iterators.ts +[proxyauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/typescript/src/proxyAuth.ts +[sharedkeycred]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/typescript/src/sharedKeyCred.ts +[withconnstring]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/samples/typescript/src/withConnString.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/storage-queue [azstorage]: https://docs.microsoft.com/azure/storage/common/storage-account-overview [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/storage/storage-queue/test/README.md b/sdk/storage/storage-queue/test/README.md index 84b2c43a9dfe..de05aa193552 100644 --- a/sdk/storage/storage-queue/test/README.md +++ b/sdk/storage/storage-queue/test/README.md @@ -1,8 +1,8 @@ # Testing -To test this project, make sure to first build it properly by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#building). Once the project is correctly built, you will be able to run the tests by following the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md#testing). +To test this project, make sure to first build it properly by following our [building instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#building). Once the project is correctly built, you will be able to run the tests by following the [testing instructions](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md#testing). -You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/master/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/test-resources.json) that already has all of the the necessary configurations. +You can use existing Azure resources for the live tests, or generate new ones by using our [New-TestResources.ps1](https://github.com/Azure/azure-sdk-for-js/blob/main/eng/common/TestResources/New-TestResources.ps1) script, which will use an [ARM template](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/test-resources.json) that already has all of the the necessary configurations. The Azure resources that are used by the tests in this project are: diff --git a/sdk/synapse/ci.yml b/sdk/synapse/ci.yml index 811eee23edb9..c4af921a75d3 100644 --- a/sdk/synapse/ci.yml +++ b/sdk/synapse/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/synapse/synapse-access-control/README.md b/sdk/synapse/synapse-access-control/README.md index 62bd89368482..340d4f9ec4e2 100644 --- a/sdk/synapse/synapse-access-control/README.md +++ b/sdk/synapse/synapse-access-control/README.md @@ -59,6 +59,6 @@ In the future, you'll find additional code samples here. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-keys%2FREADME.png) diff --git a/sdk/synapse/synapse-artifacts/README.md b/sdk/synapse/synapse-artifacts/README.md index 1301c7c4ceea..bfd18efa8d1e 100644 --- a/sdk/synapse/synapse-artifacts/README.md +++ b/sdk/synapse/synapse-artifacts/README.md @@ -56,6 +56,6 @@ In the future, you'll find additional code samples here. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-keys%2FREADME.png) diff --git a/sdk/synapse/synapse-managed-private-endpoints/README.md b/sdk/synapse/synapse-managed-private-endpoints/README.md index a20661b376ab..ed1907e29f01 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/README.md +++ b/sdk/synapse/synapse-managed-private-endpoints/README.md @@ -59,6 +59,6 @@ In the future, you'll find additional code samples here. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-keys%2FREADME.png) diff --git a/sdk/synapse/synapse-monitoring/README.md b/sdk/synapse/synapse-monitoring/README.md index 6a3b8cc78e54..4d4fa2785896 100644 --- a/sdk/synapse/synapse-monitoring/README.md +++ b/sdk/synapse/synapse-monitoring/README.md @@ -54,6 +54,6 @@ In the future, you'll find additional code samples here. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-keys%2FREADME.png) diff --git a/sdk/synapse/synapse-spark/README.md b/sdk/synapse/synapse-spark/README.md index 7a9ff208802d..6c3ccf8fafb9 100644 --- a/sdk/synapse/synapse-spark/README.md +++ b/sdk/synapse/synapse-spark/README.md @@ -56,6 +56,6 @@ In the future, you'll find additional code samples here. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-keys%2FREADME.png) diff --git a/sdk/tables/ci.yml b/sdk/tables/ci.yml index f2f10d87bed4..28b352d0b5e7 100644 --- a/sdk/tables/ci.yml +++ b/sdk/tables/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/tables/data-tables/CHANGELOG.md b/sdk/tables/data-tables/CHANGELOG.md index 7575d814afa7..21bbf91a67e3 100644 --- a/sdk/tables/data-tables/CHANGELOG.md +++ b/sdk/tables/data-tables/CHANGELOG.md @@ -51,7 +51,7 @@ ### Breaking Changes -- Move generated client to use @azure/core-rest-pipeline. For more information about Core V2 read [here](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core#core-v1-and-core-v2). [#12548](https://github.com/Azure/azure-sdk-for-js/pull/12548). +- Move generated client to use @azure/core-rest-pipeline. For more information about Core V2 read [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core#core-v1-and-core-v2). [#12548](https://github.com/Azure/azure-sdk-for-js/pull/12548). - With this change, the response types no longer contain the raw response `_response`. To access the raw response, an `onResponse` callback has to be passed in the request options bag. ```typescript let createResult: FullOperationResponse | undefined; diff --git a/sdk/tables/data-tables/README.md b/sdk/tables/data-tables/README.md index ae746a903ee8..3d6e53634f2f 100644 --- a/sdk/tables/data-tables/README.md +++ b/sdk/tables/data-tables/README.md @@ -16,7 +16,7 @@ Azure Cosmos DB provides a Table API for applications that are written for Azure - Automatic secondary indexing. - The Azure Tables client library can seamlessly target either Azure table storage or Azure Cosmos DB table service endpoints with no code changes. -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/) | [Package (NPM)](https://www.npmjs.com/package/@azure/data-tables) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/data-tables) | [Product documentation](https://docs.microsoft.com/azure/storage/tables/table-storage-overview/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/tables/data-tables/samples) +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/) | [Package (NPM)](https://www.npmjs.com/package/@azure/data-tables) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/data-tables) | [Product documentation](https://docs.microsoft.com/azure/storage/tables/table-storage-overview/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/tables/data-tables/samples) ## Getting started @@ -344,6 +344,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/tables/README.png) diff --git a/sdk/tables/data-tables/samples/v12/javascript/README.md b/sdk/tables/data-tables/samples/v12/javascript/README.md index f8c7aae141be..df2441908a4c 100644 --- a/sdk/tables/data-tables/samples/v12/javascript/README.md +++ b/sdk/tables/data-tables/samples/v12/javascript/README.md @@ -66,18 +66,18 @@ npx cross-env TABLES_URL="" ACCOUNT_NAME="" ACCOUNT_KE Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[workingwithint64]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/workingWithInt64.js -[workingwithbigint]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/workingWithBigInt.js -[transactionwithhelper]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/transactionWithHelper.js -[transactionoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/transactionOperations.js -[queryentities]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/queryEntities.js -[createanddeleteentities]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/createAndDeleteEntities.js -[authenticationmethods]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/authenticationMethods.js -[createanddeletetable]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/createAndDeleteTable.js -[updateandupsertentities]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/updateAndUpsertEntities.js -[generatetablesas]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/generateTableSAS.js -[querytables]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/javascript/queryTables.js +[workingwithint64]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/workingWithInt64.js +[workingwithbigint]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/workingWithBigInt.js +[transactionwithhelper]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/transactionWithHelper.js +[transactionoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/transactionOperations.js +[queryentities]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/queryEntities.js +[createanddeleteentities]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/createAndDeleteEntities.js +[authenticationmethods]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/authenticationMethods.js +[createanddeletetable]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/createAndDeleteTable.js +[updateandupsertentities]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/updateAndUpsertEntities.js +[generatetablesas]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/generateTableSAS.js +[querytables]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/javascript/queryTables.js [apiref]: https://docs.microsoft.com/javascript/api/@azure/data-tables [freesub]: https://azure.microsoft.com/free/ [createinstance_azurestorageinstance]: https://docs.microsoft.com/azure/storage/tables/table-storage-quickstart-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/tables/data-tables/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/tables/data-tables/README.md diff --git a/sdk/tables/data-tables/samples/v12/typescript/README.md b/sdk/tables/data-tables/samples/v12/typescript/README.md index 1aa6181486d1..795d571b20b8 100644 --- a/sdk/tables/data-tables/samples/v12/typescript/README.md +++ b/sdk/tables/data-tables/samples/v12/typescript/README.md @@ -78,19 +78,19 @@ npx cross-env TABLES_URL="" ACCOUNT_NAME="" ACCOUNT_KE Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[workingwithint64]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/workingWithInt64.ts -[workingwithbigint]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/workingWithBigInt.ts -[transactionwithhelper]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/transactionWithHelper.ts -[transactionoperations]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/transactionOperations.ts -[queryentities]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/queryEntities.ts -[createanddeleteentities]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/createAndDeleteEntities.ts -[authenticationmethods]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/authenticationMethods.ts -[createanddeletetable]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/createAndDeleteTable.ts -[updateandupsertentities]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/updateAndUpsertEntities.ts -[generatetablesas]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/generateTableSAS.ts -[querytables]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/samples/v12/typescript/src/queryTables.ts +[workingwithint64]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/workingWithInt64.ts +[workingwithbigint]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/workingWithBigInt.ts +[transactionwithhelper]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/transactionWithHelper.ts +[transactionoperations]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/transactionOperations.ts +[queryentities]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/queryEntities.ts +[createanddeleteentities]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/createAndDeleteEntities.ts +[authenticationmethods]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/authenticationMethods.ts +[createanddeletetable]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/createAndDeleteTable.ts +[updateandupsertentities]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/updateAndUpsertEntities.ts +[generatetablesas]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/generateTableSAS.ts +[querytables]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/samples/v12/typescript/src/queryTables.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/data-tables [freesub]: https://azure.microsoft.com/free/ [createinstance_azurestorageinstance]: https://docs.microsoft.com/azure/storage/tables/table-storage-quickstart-portal -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/tables/data-tables/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/tables/data-tables/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/template/ci.yml b/sdk/template/ci.yml index f33c10cf6c04..aab1e47402c0 100644 --- a/sdk/template/ci.yml +++ b/sdk/template/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/template/template/README-EXAMPLE.md b/sdk/template/template/README-EXAMPLE.md index 7bb6a81204d0..1a4874aee846 100644 --- a/sdk/template/template/README-EXAMPLE.md +++ b/sdk/template/template/README-EXAMPLE.md @@ -10,11 +10,11 @@ Use the client library for App Configuration to: - Tag keys with labels - Replay settings from any point in time -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/) | [Package (NPM)](https://www.npmjs.com/package/@azure/app-configuration) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/app-configuration) | [Product documentation](https://docs.microsoft.com/azure/azure-app-configuration/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples) ## Getting started @@ -51,7 +51,7 @@ Authentication via service principal is done by: - Setting appropriate RBAC rules on your AppConfiguration resource. More information on App Configuration roles can be found [here](https://docs.microsoft.com/azure/azure-app-configuration/concept-enable-rbac#azure-built-in-roles-for-azure-app-configuration). -Using [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md#defaultazurecredential) +Using [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md#defaultazurecredential) ```javascript const azureIdentity = require("@azure/identity"); @@ -64,7 +64,7 @@ const client = new appConfig.AppConfigurationClient( ); ``` -More information about `@azure/identity` can be found [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) +More information about `@azure/identity` can be found [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/README.md) #### Authenticating with a connection string @@ -155,18 +155,18 @@ run().catch((err) => console.log("ERROR:", err)); The following samples show you the various ways you can interact with App Configuration: -- [`helloworld.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworld.ts) - Get, set, and delete configuration values. -- [`helloworldWithLabels.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworldWithLabels.ts) - Use labels to add additional dimensions to your settings for scenarios like beta vs production. -- [`optimisticConcurrencyViaEtag.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/optimisticConcurrencyViaEtag.ts) - Set values using etags to prevent accidental overwrites. -- [`setReadOnlySample.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/setReadOnlySample.ts) - Marking settings as read-only to prevent modification. -- [`getSettingOnlyIfChanged.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/getSettingOnlyIfChanged.ts) - Get a setting only if it changed from the last time you got it. -- [`listRevisions.ts`](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/listRevisions.ts) - List the revisions of a key, allowing you to see previous values and when they were set. +- [`helloworld.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworld.ts) - Get, set, and delete configuration values. +- [`helloworldWithLabels.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/helloworldWithLabels.ts) - Use labels to add additional dimensions to your settings for scenarios like beta vs production. +- [`optimisticConcurrencyViaEtag.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/optimisticConcurrencyViaEtag.ts) - Set values using etags to prevent accidental overwrites. +- [`setReadOnlySample.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/setReadOnlySample.ts) - Marking settings as read-only to prevent modification. +- [`getSettingOnlyIfChanged.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/getSettingOnlyIfChanged.ts) - Get a setting only if it changed from the last time you got it. +- [`listRevisions.ts`](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/typescript/src/listRevisions.ts) - List the revisions of a key, allowing you to see previous values and when they were set. -More in-depth examples can be found in the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/samples/v1/) folder on GitHub. +More in-depth examples can be found in the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples/v1/) folder on GitHub. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. This module's tests are a mixture of live and unit tests, which require you to have an Azure App Configuration instance. To execute the tests you'll need to run: @@ -177,7 +177,7 @@ This module's tests are a mixture of live and unit tests, which require you to h 4. `cd sdk\appconfiguration\app-configuration` 5. `npm run test`. -View our [tests](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/test) +View our [tests](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/test) folder for more details. ## Related projects diff --git a/sdk/template/template/README.md b/sdk/template/template/README.md index 8fe59d7f1f84..1eac9887bbf8 100644 --- a/sdk/template/template/README.md +++ b/sdk/template/template/README.md @@ -36,7 +36,7 @@ To use this client library in the browser, first you need to use a bundler. For NOTE: if your service supports CORS natively please provide instructions for enabling CORS at the service level (similar to the sample below), otherwise replace this section with guidance such as: -Due to Azure template service CORS limitation this library cannot be used to make direct calls to the template service from a browser. Please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/master/samples/cors/ts/README.md) for guidance. +Due to Azure template service CORS limitation this library cannot be used to make direct calls to the template service from a browser. Please refer to [this document](https://github.com/Azure/azure-sdk-for-js/blob/main/samples/cors/ts/README.md) for guidance. --> @@ -84,15 +84,15 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps -Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/template/template/samples) directory for detailed examples that demonstrate how to use the client libraries. +Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template/samples) directory for detailed examples that demonstrate how to use the client libraries. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects diff --git a/sdk/template/template/samples/v1/javascript/README.md b/sdk/template/template/samples/v1/javascript/README.md index 0f60f04b60b6..e74a2090abb4 100644 --- a/sdk/template/template/samples/v1/javascript/README.md +++ b/sdk/template/template/samples/v1/javascript/README.md @@ -46,8 +46,8 @@ npx cross-env APPCONFIG_ENDPOINT="" APPCONFIG_TEST_SETTING_K Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[getconfigurationsetting]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/template/template/samples/v1/javascript/getConfigurationSetting.js +[getconfigurationsetting]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/template/template/samples/v1/javascript/getConfigurationSetting.js [apiref]: https://docs.microsoft.com/javascript/api/ [freesub]: https://azure.microsoft.com/free/ [createinstance_azureappconfiguration]: https://docs.microsoft.com/azure/azure-app-configuration/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/template/template/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template/README.md diff --git a/sdk/template/template/samples/v1/typescript/README.md b/sdk/template/template/samples/v1/typescript/README.md index 7e55511d4435..4196762d83fb 100644 --- a/sdk/template/template/samples/v1/typescript/README.md +++ b/sdk/template/template/samples/v1/typescript/README.md @@ -58,9 +58,9 @@ npx cross-env APPCONFIG_ENDPOINT="" APPCONFIG_TEST_SETTING_K Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[getconfigurationsetting]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/template/template/samples/v1/typescript/src/getConfigurationSetting.ts +[getconfigurationsetting]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/template/template/samples/v1/typescript/src/getConfigurationSetting.ts [apiref]: https://docs.microsoft.com/javascript/api/ [freesub]: https://azure.microsoft.com/free/ [createinstance_azureappconfiguration]: https://docs.microsoft.com/azure/azure-app-configuration/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/template/template/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/test-utils/ci.yml b/sdk/test-utils/ci.yml index 9ae5dacb0242..54e4c7bb67bb 100644 --- a/sdk/test-utils/ci.yml +++ b/sdk/test-utils/ci.yml @@ -3,7 +3,6 @@ trigger: branches: include: - - master - main - release/* - hotfix/* @@ -14,7 +13,6 @@ trigger: pr: branches: include: - - master - main - feature/* - release/* diff --git a/sdk/test-utils/perfstress/GettingStarted.md b/sdk/test-utils/perfstress/GettingStarted.md index dce2ca77e74e..6f3092783bfe 100644 --- a/sdk/test-utils/perfstress/GettingStarted.md +++ b/sdk/test-utils/perfstress/GettingStarted.md @@ -109,7 +109,7 @@ To add perf tests for the `sdk//` package, follow the step "private": true, ``` - _Note: Track-1 packages will not be managed by `rush`, instead `npm` will be used to manage/run the track-1 tests, you can copy the readme such as the [storage-blob-perf-tests-track-1-readme](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/perf-tests/storage-blob-track-1/README.md) for instructions._ + _Note: Track-1 packages will not be managed by `rush`, instead `npm` will be used to manage/run the track-1 tests, you can copy the readme such as the [storage-blob-perf-tests-track-1-readme](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/perf-tests/storage-blob-track-1/README.md) for instructions._ Make sure to add the "setup" step in package.json. diff --git a/sdk/test-utils/perfstress/README.md b/sdk/test-utils/perfstress/README.md index 4ac08da8ae01..388807085d51 100644 --- a/sdk/test-utils/perfstress/README.md +++ b/sdk/test-utils/perfstress/README.md @@ -18,7 +18,7 @@ Link to the wiki - [Writing-Performance-Tests](https://github.com/Azure/azure-sd ## Examples -Check the [test folder](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/perfstress/test/). +Check the [test folder](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/perfstress/test/). ## Troubleshooting @@ -26,12 +26,12 @@ TODO ## Next steps -Check the [source](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/perfstress/src/) folder and the [test folder](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/perfstress/test/). +Check the [source](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/perfstress/src/) folder and the [test folder](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/perfstress/test/). Also check the PerfStress EPIC, here: https://github.com/Azure/azure-sdk-for-js/issues/8057 ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Ftest-utils%2Fperfstress%2FREADME.png) diff --git a/sdk/test-utils/recorder/GUIDELINES.md b/sdk/test-utils/recorder/GUIDELINES.md index 5e27916e9307..6826238bb19a 100644 --- a/sdk/test-utils/recorder/GUIDELINES.md +++ b/sdk/test-utils/recorder/GUIDELINES.md @@ -23,7 +23,7 @@ Add `@azure/test-utils-recorder` as a devDependency of your sdk. ## Adding a new test/test-suite -- `recorder` package assumes that the tests in the sdk are leveraging [mocha](https://mochajs.org/) and [rollup](https://rollupjs.org/guide/en/) (and [karma](https://karma-runner.github.io/latest/index.html) test runner for browser tests) as suggested by the [template](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/template/template) package in the repo. +- `recorder` package assumes that the tests in the sdk are leveraging [mocha](https://mochajs.org/) and [rollup](https://rollupjs.org/guide/en/) (and [karma](https://karma-runner.github.io/latest/index.html) test runner for browser tests) as suggested by the [template](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template) package in the repo. - `record` from `@azure/test-utils-recorder` package should be imported in the test files. diff --git a/sdk/test-utils/recorder/README.md b/sdk/test-utils/recorder/README.md index 479a07fab6c5..62a6c1531e2b 100644 --- a/sdk/test-utils/recorder/README.md +++ b/sdk/test-utils/recorder/README.md @@ -151,7 +151,7 @@ The common recorder provides the following public methods and properties: This package assumes that the tests in the sdk are leveraging [mocha](https://mochajs.org/) and [rollup](https://rollupjs.org/guide/en/) (and [karma](https://karma-runner.github.io/latest/index.html) test runner - for browser tests) as suggested by the [template](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/template/template) + for browser tests) as suggested by the [template](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template) package in the repo. It also returns an object with a method `stop()`, which will allow you to control when you want the recorder to stop re-routing your http requests. @@ -292,7 +292,7 @@ config.set({ For a more detailed and opinionated approach, please check out the following section of our guidelines: -[Setting up karma.conf.js file in the SDK](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/recorder/GUIDELINES.md#setting-up-karmaconfjs-file-in-the-sdk). +[Setting up karma.conf.js file in the SDK](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/GUIDELINES.md#setting-up-karmaconfjs-file-in-the-sdk). ## Examples @@ -423,7 +423,7 @@ which will skip the test in node or browser runtimes based on the `{runtime}` argument. If the `{runtime}` is undefined, the test will be skipped in both the node and browser runtimes. This method has no effect if the TEST_MODE environment variable is neither "record" nor "playback". You can read more -about this feature [here](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/recorder/GUIDELINES.md#skipping-a-test). +about this feature [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/recorder/GUIDELINES.md#skipping-a-test). ### Securing sensitive data @@ -546,6 +546,6 @@ search link: ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Ftest-utils%2Frecorder%2FREADME.png) diff --git a/sdk/test-utils/test-utils/README.md b/sdk/test-utils/test-utils/README.md index 134d90841507..83a4d557f2c2 100644 --- a/sdk/test-utils/test-utils/README.md +++ b/sdk/test-utils/test-utils/README.md @@ -245,10 +245,10 @@ handle it as soon as we find the time. ## Next steps -Check out the [source folder](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/test-utils/src/) and the [test folder](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/test-utils/test-utils/test/). +Check out the [source folder](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/test-utils/src/) and the [test folder](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/test-utils/test-utils/test/). ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Ftest-utils%2Fmulti-version%2FREADME.png) diff --git a/sdk/textanalytics/ai-text-analytics/README.md b/sdk/textanalytics/ai-text-analytics/README.md index fb4b89bae943..88ae43f0f630 100644 --- a/sdk/textanalytics/ai-text-analytics/README.md +++ b/sdk/textanalytics/ai-text-analytics/README.md @@ -21,11 +21,11 @@ Use the client library to: - Identify and categorize entities in your text as people, places, organizations, date/time, quantities, percentages, currencies, healthcare specific, and more. - Perform multiple of the above tasks at once. -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/textanalytics/ai-text-analytics/) | +[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/textanalytics/ai-text-analytics/) | [Package (NPM)](https://www.npmjs.com/package/@azure/ai-text-analytics) | [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-text-analytics) | [Product documentation](https://docs.microsoft.com/azure/cognitive-services/text-analytics/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/textanalytics/ai-text-analytics/samples) +[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/textanalytics/ai-text-analytics/samples) ## Getting started @@ -515,15 +515,15 @@ import { setLogLevel } from "@azure/logger"; setLogLevel("info"); ``` -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger). +For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). ## Next steps -Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/textanalytics/ai-text-analytics/samples) directory for detailed examples on how to use this library. +Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/textanalytics/ai-text-analytics/samples) directory for detailed examples on how to use this library. ## Contributing -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. ## Related projects @@ -535,9 +535,9 @@ If you'd like to contribute to this library, please read the [contributing guide [azure_sub]: https://azure.microsoft.com/free/ [cognitive_resource]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account [azure_portal]: https://portal.azure.com -[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity +[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity [cognitive_auth]: https://docs.microsoft.com/azure/cognitive-services/authentication [register_aad_app]: https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal -[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential +[defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential [data_limits]: https://docs.microsoft.com/azure/cognitive-services/text-analytics/overview#data-limits -[analyze_sentiment_opinion_mining_sample]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentimentWithOpinionMining.ts +[analyze_sentiment_opinion_mining_sample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/src/analyzeSentimentWithOpinionMining.ts diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/README.md b/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/README.md index 243a069e62bb..6c901691d495 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/README.md +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/README.md @@ -67,18 +67,18 @@ npx cross-env ENDPOINT="" TEXT_ANALYTICS_API_KEY="" node broadcasting.js ``` -[broadcasting]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/javascript/broadcasting.js -[directmessage]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/javascript/directMessage.js -[managinggroups]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/javascript/managingGroups.js +[broadcasting]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/javascript/broadcasting.js +[directmessage]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/javascript/directMessage.js +[managinggroups]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/javascript/managingGroups.js [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/web-pubsub/web-pubsub/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub/README.md diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/README.md b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/README.md index 15a6a7ec3315..316aa3b738bf 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/README.md +++ b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/README.md @@ -63,9 +63,9 @@ Alternatively, run a single sample with the correct environment variables set (s npx cross-env WPS_CONNECTION_STRING="" node dist/broadcasting.js ``` -[broadcasting]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/broadcasting.ts -[directmessage]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/directMessage.ts -[managinggroups]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/managingGroups.ts +[broadcasting]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/broadcasting.ts +[directmessage]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/directMessage.ts +[managinggroups]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/managingGroups.ts [freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/web-pubsub/web-pubsub/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub/README.md [typescript]: https://www.typescriptlang.org/docs/home.html From bf5cd3e2952ac6a1031011413fa16114524ebca0 Mon Sep 17 00:00:00 2001 From: Harsha Nalluru Date: Tue, 22 Jun 2021 15:53:53 -0700 Subject: [PATCH 019/134] [App Config] Add display_name to FeatureFlag (#15901) Fixes #15891 --- .../recording_can_add_and_get_featureflag.js | 52 ++++---- ...ecording_can_add_and_update_featureflag.js | 84 ++++++------- ...d_list_and_update_multiple_featureflags.js | 112 +++++++++--------- ...unexpected_value__as_feature_flag_value.js | 52 ++++---- ...value_hello_world_as_feature_flag_value.js | 52 ++++---- .../review/app-configuration.api.md | 1 + .../app-configuration/src/featureFlag.ts | 15 ++- .../src/internal/jsonModels.ts | 1 + .../test/public/featureFlag.spec.ts | 3 +- 9 files changed, 192 insertions(+), 180 deletions(-) diff --git a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_and_get_featureflag.js b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_and_get_featureflag.js index c14c71cd5613..d78a39fc5a45 100644 --- a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_and_get_featureflag.js +++ b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_and_get_featureflag.js @@ -1,17 +1,17 @@ let nock = require('nock'); -module.exports.hash = "0f3d1c1e4498c8bfdfe2a40257d26862"; +module.exports.hash = "6c38ae75a4edff790bfbb19ef7ba2a54"; -module.exports.testInfo = {"uniqueName":{"name-1":"name-1162095387390108897"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"name-1":"name-1162439656800608347"},"newDate":{}} nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162095387390108897', {"key":".appconfig.featureflag/name-1162095387390108897","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387390108897\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439656800608347', {"key":".appconfig.featureflag/name-1162439656800608347","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656800608347\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}"}) .query(true) - .reply(200, {"etag":"LkgZS0ER6zqlUjvc95OE8CrVlKP","key":".appconfig.featureflag/name-1162095387390108897","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387390108897\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:54+00:00"}, [ + .reply(200, {"etag":"oRPly66ZLIYi5tEIq1CVgWDCQdj","key":".appconfig.featureflag/name-1162439656800608347","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656800608347\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:07+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:52 GMT', + 'Tue, 22 Jun 2021 21:16:02 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -19,15 +19,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:54 GMT', + 'Tue, 22 Jun 2021 21:16:07 GMT', 'ETag', - '"LkgZS0ER6zqlUjvc95OE8CrVlKP"', + '"oRPly66ZLIYi5tEIq1CVgWDCQdj"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzkx;sn=3269791', + 'zAJw6V16=NToxOSMzNTkyMzY1;sn=3592365', 'x-ms-request-id', - '9e1c5772-5c83-4c87-b8dc-5591e3445047', + '846cb29a-90f7-40ac-9fe8-ebd117e10537', 'x-ms-correlation-request-id', - '9e1c5772-5c83-4c87-b8dc-5591e3445047', + '846cb29a-90f7-40ac-9fe8-ebd117e10537', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -39,13 +39,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .get('/kv/.appconfig.featureflag%2Fname-1162095387390108897') + .get('/kv/.appconfig.featureflag%2Fname-1162439656800608347') .query(true) - .reply(200, {"etag":"LkgZS0ER6zqlUjvc95OE8CrVlKP","key":".appconfig.featureflag/name-1162095387390108897","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387390108897\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:54+00:00"}, [ + .reply(200, {"etag":"oRPly66ZLIYi5tEIq1CVgWDCQdj","key":".appconfig.featureflag/name-1162439656800608347","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656800608347\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:07+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:52 GMT', + 'Tue, 22 Jun 2021 21:16:08 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -53,15 +53,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:54 GMT', + 'Tue, 22 Jun 2021 21:16:07 GMT', 'ETag', - '"LkgZS0ER6zqlUjvc95OE8CrVlKP"', + '"oRPly66ZLIYi5tEIq1CVgWDCQdj"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzkx;sn=3269791', + 'zAJw6V16=NToxOSMzNTkyMzY1;sn=3592365', 'x-ms-request-id', - 'b1908eaa-b516-45b9-b25b-06bf28f84fd7', + '928981b6-7027-4cbd-b01c-019333bcf6f8', 'x-ms-correlation-request-id', - 'b1908eaa-b516-45b9-b25b-06bf28f84fd7', + '928981b6-7027-4cbd-b01c-019333bcf6f8', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -73,13 +73,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .delete('/kv/.appconfig.featureflag%2Fname-1162095387390108897') + .delete('/kv/.appconfig.featureflag%2Fname-1162439656800608347') .query(true) - .reply(200, {"etag":"LkgZS0ER6zqlUjvc95OE8CrVlKP","key":".appconfig.featureflag/name-1162095387390108897","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387390108897\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:54+00:00"}, [ + .reply(200, {"etag":"oRPly66ZLIYi5tEIq1CVgWDCQdj","key":".appconfig.featureflag/name-1162439656800608347","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656800608347\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:07+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:53 GMT', + 'Tue, 22 Jun 2021 21:16:03 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -87,15 +87,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:54 GMT', + 'Tue, 22 Jun 2021 21:16:07 GMT', 'ETag', - '"LkgZS0ER6zqlUjvc95OE8CrVlKP"', + '"oRPly66ZLIYi5tEIq1CVgWDCQdj"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzkz;sn=3269793', + 'zAJw6V16=NToxOSMzNTkyMzY2;sn=3592366', 'x-ms-request-id', - 'e5891f67-aede-4e48-b7d0-5a835ef3c5c7', + 'd9085d47-0266-427e-bd1d-3ec8e9126882', 'x-ms-correlation-request-id', - 'e5891f67-aede-4e48-b7d0-5a835ef3c5c7', + 'd9085d47-0266-427e-bd1d-3ec8e9126882', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', diff --git a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_and_update_featureflag.js b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_and_update_featureflag.js index 64ac073bb5b0..1c15db6622f2 100644 --- a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_and_update_featureflag.js +++ b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_and_update_featureflag.js @@ -1,17 +1,17 @@ let nock = require('nock'); -module.exports.hash = "7a13a128a290c5e391e72b4bdb9f113d"; +module.exports.hash = "13ad4b67ef115e4c7dc2376c7b861525"; -module.exports.testInfo = {"uniqueName":{"name-1":"name-1162095387519409135"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"name-1":"name-1162439656917004795"},"newDate":{}} nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162095387519409135', {"key":".appconfig.featureflag/name-1162095387519409135","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387519409135\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439656917004795', {"key":".appconfig.featureflag/name-1162439656917004795","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656917004795\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}"}) .query(true) - .reply(200, {"etag":"7xf0x83wqhvINQvzFm9eDZSRha3","key":".appconfig.featureflag/name-1162095387519409135","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387519409135\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:55+00:00"}, [ + .reply(200, {"etag":"tb0PGX9cqktFAvENcBfNYXqN4Qs","key":".appconfig.featureflag/name-1162439656917004795","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656917004795\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:08+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:52 GMT', + 'Tue, 22 Jun 2021 21:16:09 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -19,15 +19,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:08 GMT', 'ETag', - '"7xf0x83wqhvINQvzFm9eDZSRha3"', + '"tb0PGX9cqktFAvENcBfNYXqN4Qs"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk0;sn=3269794', + 'zAJw6V16=NToxOSMzNTkyMzY3;sn=3592367', 'x-ms-request-id', - '6af288a7-20ce-4d03-beeb-388bd1a3164d', + '94198b67-8596-488c-838f-cccf2a7cc979', 'x-ms-correlation-request-id', - '6af288a7-20ce-4d03-beeb-388bd1a3164d', + '94198b67-8596-488c-838f-cccf2a7cc979', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -39,13 +39,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .get('/kv/.appconfig.featureflag%2Fname-1162095387519409135') + .get('/kv/.appconfig.featureflag%2Fname-1162439656917004795') .query(true) - .reply(200, {"etag":"7xf0x83wqhvINQvzFm9eDZSRha3","key":".appconfig.featureflag/name-1162095387519409135","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387519409135\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:55+00:00"}, [ + .reply(200, {"etag":"tb0PGX9cqktFAvENcBfNYXqN4Qs","key":".appconfig.featureflag/name-1162439656917004795","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656917004795\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:08+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:54 GMT', + 'Tue, 22 Jun 2021 21:16:03 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -53,15 +53,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:08 GMT', 'ETag', - '"7xf0x83wqhvINQvzFm9eDZSRha3"', + '"tb0PGX9cqktFAvENcBfNYXqN4Qs"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk0;sn=3269794', + 'zAJw6V16=NToxOSMzNTkyMzY3;sn=3592367', 'x-ms-request-id', - 'c63dea91-3fc7-4282-a303-8971db9f2f79', + '681bd4de-a950-435a-b50a-11453970a8cb', 'x-ms-correlation-request-id', - 'c63dea91-3fc7-4282-a303-8971db9f2f79', + '681bd4de-a950-435a-b50a-11453970a8cb', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -73,13 +73,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162095387519409135', {"key":".appconfig.featureflag/name-1162095387519409135","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387519409135\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":true,\"description\":\"I'm a description\"}","last_modified":"2021-05-14T00:57:55.000Z","tags":{},"etag":"7xf0x83wqhvINQvzFm9eDZSRha3"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439656917004795', {"key":".appconfig.featureflag/name-1162439656917004795","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656917004795\",\"enabled\":true,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","last_modified":"2021-06-22T21:16:08.000Z","tags":{},"etag":"tb0PGX9cqktFAvENcBfNYXqN4Qs"}) .query(true) - .reply(200, {"etag":"yiKlYOQLIzpGawI9jJqu7D0c7wJ","key":".appconfig.featureflag/name-1162095387519409135","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387519409135\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":true,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:55+00:00"}, [ + .reply(200, {"etag":"S0zm5XXS5iyEN5FFVFpsPM58bKA","key":".appconfig.featureflag/name-1162439656917004795","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656917004795\",\"enabled\":true,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:09+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:53 GMT', + 'Tue, 22 Jun 2021 21:16:09 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -87,15 +87,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:09 GMT', 'ETag', - '"yiKlYOQLIzpGawI9jJqu7D0c7wJ"', + '"S0zm5XXS5iyEN5FFVFpsPM58bKA"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk1;sn=3269795', + 'zAJw6V16=NToxOSMzNTkyMzY4;sn=3592368', 'x-ms-request-id', - '403eb3de-9740-4c48-95f2-d6607873c437', + 'c305062d-3b77-4144-a1ef-9abfe1c7eb6e', 'x-ms-correlation-request-id', - '403eb3de-9740-4c48-95f2-d6607873c437', + 'c305062d-3b77-4144-a1ef-9abfe1c7eb6e', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -107,13 +107,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .get('/kv/.appconfig.featureflag%2Fname-1162095387519409135') + .get('/kv/.appconfig.featureflag%2Fname-1162439656917004795') .query(true) - .reply(200, {"etag":"yiKlYOQLIzpGawI9jJqu7D0c7wJ","key":".appconfig.featureflag/name-1162095387519409135","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387519409135\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":true,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:55+00:00"}, [ + .reply(200, {"etag":"S0zm5XXS5iyEN5FFVFpsPM58bKA","key":".appconfig.featureflag/name-1162439656917004795","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656917004795\",\"enabled\":true,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:09+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:54 GMT', + 'Tue, 22 Jun 2021 21:16:04 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -121,15 +121,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:09 GMT', 'ETag', - '"yiKlYOQLIzpGawI9jJqu7D0c7wJ"', + '"S0zm5XXS5iyEN5FFVFpsPM58bKA"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk1;sn=3269795', + 'zAJw6V16=NToxOSMzNTkyMzY4;sn=3592368', 'x-ms-request-id', - '37e3265a-18ab-41d1-a32c-9459b0a27ff0', + 'ecef2ff7-c0fa-4689-a022-89e74829d4a7', 'x-ms-correlation-request-id', - '37e3265a-18ab-41d1-a32c-9459b0a27ff0', + 'ecef2ff7-c0fa-4689-a022-89e74829d4a7', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -141,13 +141,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .delete('/kv/.appconfig.featureflag%2Fname-1162095387519409135') + .delete('/kv/.appconfig.featureflag%2Fname-1162439656917004795') .query(true) - .reply(200, {"etag":"yiKlYOQLIzpGawI9jJqu7D0c7wJ","key":".appconfig.featureflag/name-1162095387519409135","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387519409135\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":true,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:55+00:00"}, [ + .reply(200, {"etag":"S0zm5XXS5iyEN5FFVFpsPM58bKA","key":".appconfig.featureflag/name-1162439656917004795","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439656917004795\",\"enabled\":true,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:09+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:53 GMT', + 'Tue, 22 Jun 2021 21:16:10 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -155,15 +155,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:09 GMT', 'ETag', - '"yiKlYOQLIzpGawI9jJqu7D0c7wJ"', + '"S0zm5XXS5iyEN5FFVFpsPM58bKA"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk2;sn=3269796', + 'zAJw6V16=NToxOSMzNTkyMzY5;sn=3592369', 'x-ms-request-id', - '9e9df427-13dd-4414-85f4-893a8a0546ec', + '8c217a3e-5574-455d-a17f-198cac230693', 'x-ms-correlation-request-id', - '9e9df427-13dd-4414-85f4-893a8a0546ec', + '8c217a3e-5574-455d-a17f-198cac230693', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', diff --git a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_list_and_update_multiple_featureflags.js b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_list_and_update_multiple_featureflags.js index d376c7ee42ad..f0332195dd52 100644 --- a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_list_and_update_multiple_featureflags.js +++ b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_featureflag_configuration_setting/recording_can_add_list_and_update_multiple_featureflags.js @@ -1,17 +1,17 @@ let nock = require('nock'); -module.exports.hash = "45aafb0f8e61428424793462e80c7b16"; +module.exports.hash = "8a7ebb1c70ead2328af210caaa10a4f3"; -module.exports.testInfo = {"uniqueName":{"name-1":"name-1162095387661802616"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"name-1":"name-1162439657053408694"},"newDate":{}} nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162095387661802616', {"key":".appconfig.featureflag/name-1162095387661802616","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439657053408694', {"key":".appconfig.featureflag/name-1162439657053408694","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}"}) .query(true) - .reply(200, {"etag":"Y7DSSKEWZaHk6sWPMaQy0YxMKtR","key":".appconfig.featureflag/name-1162095387661802616","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:56+00:00"}, [ + .reply(200, {"etag":"0Rq9X7UiykkkiGEBZ6MnQsC4uqy","key":".appconfig.featureflag/name-1162439657053408694","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:10+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:05 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -19,15 +19,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:56 GMT', + 'Tue, 22 Jun 2021 21:16:10 GMT', 'ETag', - '"Y7DSSKEWZaHk6sWPMaQy0YxMKtR"', + '"0Rq9X7UiykkkiGEBZ6MnQsC4uqy"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk3;sn=3269797', + 'zAJw6V16=NToxOSMzNTkyMzcw;sn=3592370', 'x-ms-request-id', - '392e2fcd-f6b1-4461-ae48-f89bf61608b3', + 'cee508d1-5179-4b52-a0c5-b7b6b448683a', 'x-ms-correlation-request-id', - '392e2fcd-f6b1-4461-ae48-f89bf61608b3', + 'cee508d1-5179-4b52-a0c5-b7b6b448683a', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -39,13 +39,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162095387661802616-2', {"key":".appconfig.featureflag/name-1162095387661802616-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616-2\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439657053408694-2', {"key":".appconfig.featureflag/name-1162439657053408694-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694-2\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}"}) .query(true) - .reply(200, {"etag":"yvaZqkZa8B2XR1OyDF8KgIHM1jI","key":".appconfig.featureflag/name-1162095387661802616-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616-2\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:57+00:00"}, [ + .reply(200, {"etag":"e95RJbg1kGLdRFK9WnqlmR3pWvO","key":".appconfig.featureflag/name-1162439657053408694-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694-2\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:10+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:54 GMT', + 'Tue, 22 Jun 2021 21:16:10 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -53,15 +53,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:57 GMT', + 'Tue, 22 Jun 2021 21:16:10 GMT', 'ETag', - '"yvaZqkZa8B2XR1OyDF8KgIHM1jI"', + '"e95RJbg1kGLdRFK9WnqlmR3pWvO"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk4;sn=3269798', + 'zAJw6V16=NToxOSMzNTkyMzcx;sn=3592371', 'x-ms-request-id', - 'cda5ad42-9d4d-4e85-bd45-cfb4cf8c14a4', + '832396a3-caf2-4ddb-a2c5-9853ee7cf055', 'x-ms-correlation-request-id', - 'cda5ad42-9d4d-4e85-bd45-cfb4cf8c14a4', + '832396a3-caf2-4ddb-a2c5-9853ee7cf055', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -75,11 +75,11 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) .get('/kv') .query(true) - .reply(200, {"items":[{"etag":"Y7DSSKEWZaHk6sWPMaQy0YxMKtR","key":".appconfig.featureflag/name-1162095387661802616","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:56+00:00"},{"etag":"yvaZqkZa8B2XR1OyDF8KgIHM1jI","key":".appconfig.featureflag/name-1162095387661802616-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616-2\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:57+00:00"}]}, [ + .reply(200, {"items":[{"etag":"0Rq9X7UiykkkiGEBZ6MnQsC4uqy","key":".appconfig.featureflag/name-1162439657053408694","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:10+00:00"},{"etag":"e95RJbg1kGLdRFK9WnqlmR3pWvO","key":".appconfig.featureflag/name-1162439657053408694-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694-2\",\"enabled\":false,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:10+00:00"}]}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:05 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kvset+json; charset=utf-8', 'Transfer-Encoding', @@ -87,11 +87,11 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk4;sn=3269798', + 'zAJw6V16=NToxOSMzNTkyMzcx;sn=3592371', 'x-ms-request-id', - '140fc8a5-9bd9-4839-84e8-0054711e66d6', + '29c7d55a-f19c-4d5e-b7cb-7a8ccde4ea05', 'x-ms-correlation-request-id', - '140fc8a5-9bd9-4839-84e8-0054711e66d6', + '29c7d55a-f19c-4d5e-b7cb-7a8ccde4ea05', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -103,13 +103,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162095387661802616', {"key":".appconfig.featureflag/name-1162095387661802616","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":true,\"description\":\"I'm a description\"}"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439657053408694', {"key":".appconfig.featureflag/name-1162439657053408694","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694\",\"enabled\":true,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}"}) .query(true) - .reply(200, {"etag":"1lZDBJQ7LkOkYN0J5EZRfr3KG7k","key":".appconfig.featureflag/name-1162095387661802616","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":true,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:57+00:00"}, [ + .reply(200, {"etag":"urU9HOvqs8b9iuW3HSywWe8fRw0","key":".appconfig.featureflag/name-1162439657053408694","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694\",\"enabled\":true,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:10+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:11 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -117,15 +117,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:57 GMT', + 'Tue, 22 Jun 2021 21:16:10 GMT', 'ETag', - '"1lZDBJQ7LkOkYN0J5EZRfr3KG7k"', + '"urU9HOvqs8b9iuW3HSywWe8fRw0"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5Nzk5;sn=3269799', + 'zAJw6V16=NToxOSMzNTkyMzcy;sn=3592372', 'x-ms-request-id', - 'dc3f727a-fdff-4335-8c13-9d6984e3ce24', + '19384e76-c7c6-40ed-8647-095fe6778e69', 'x-ms-correlation-request-id', - 'dc3f727a-fdff-4335-8c13-9d6984e3ce24', + '19384e76-c7c6-40ed-8647-095fe6778e69', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -137,13 +137,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162095387661802616-2', {"key":".appconfig.featureflag/name-1162095387661802616-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616-2\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm new description\"}","last_modified":"2021-05-14T00:57:57.000Z","tags":{},"etag":"yvaZqkZa8B2XR1OyDF8KgIHM1jI"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439657053408694-2', {"key":".appconfig.featureflag/name-1162439657053408694-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694-2\",\"enabled\":false,\"description\":\"I'm new description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","last_modified":"2021-06-22T21:16:10.000Z","tags":{},"etag":"e95RJbg1kGLdRFK9WnqlmR3pWvO"}) .query(true) - .reply(200, {"etag":"PwmV5WJUiUclvTNaVynhKqd8oSS","key":".appconfig.featureflag/name-1162095387661802616-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616-2\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm new description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:58+00:00"}, [ + .reply(200, {"etag":"jjyq0kuwFADqozpVbbtVzD6F72f","key":".appconfig.featureflag/name-1162439657053408694-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694-2\",\"enabled\":false,\"description\":\"I'm new description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:11+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:56 GMT', + 'Tue, 22 Jun 2021 21:16:06 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -151,15 +151,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:58 GMT', + 'Tue, 22 Jun 2021 21:16:11 GMT', 'ETag', - '"PwmV5WJUiUclvTNaVynhKqd8oSS"', + '"jjyq0kuwFADqozpVbbtVzD6F72f"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5ODAw;sn=3269800', + 'zAJw6V16=NToxOSMzNTkyMzcz;sn=3592373', 'x-ms-request-id', - '2efb7bef-f039-40cf-b265-369fcc50d010', + '66bbaf91-3f0b-4945-b46b-9df8292a764b', 'x-ms-correlation-request-id', - '2efb7bef-f039-40cf-b265-369fcc50d010', + '66bbaf91-3f0b-4945-b46b-9df8292a764b', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -173,11 +173,11 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) .get('/kv') .query(true) - .reply(200, {"items":[{"etag":"1lZDBJQ7LkOkYN0J5EZRfr3KG7k","key":".appconfig.featureflag/name-1162095387661802616","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":true,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:57+00:00"},{"etag":"PwmV5WJUiUclvTNaVynhKqd8oSS","key":".appconfig.featureflag/name-1162095387661802616-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616-2\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":false,\"description\":\"I'm new description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:58+00:00"}]}, [ + .reply(200, {"items":[{"etag":"urU9HOvqs8b9iuW3HSywWe8fRw0","key":".appconfig.featureflag/name-1162439657053408694","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694\",\"enabled\":true,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:10+00:00"},{"etag":"jjyq0kuwFADqozpVbbtVzD6F72f","key":".appconfig.featureflag/name-1162439657053408694-2","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694-2\",\"enabled\":false,\"description\":\"I'm new description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:11+00:00"}]}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:55 GMT', + 'Tue, 22 Jun 2021 21:16:11 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kvset+json; charset=utf-8', 'Transfer-Encoding', @@ -185,11 +185,11 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5ODAw;sn=3269800', + 'zAJw6V16=NToxOSMzNTkyMzcz;sn=3592373', 'x-ms-request-id', - '4532c4ac-7fe3-494f-bfb1-d23e32b2f2ca', + '932f6efa-0948-4513-9acd-b9bfe565dd02', 'x-ms-correlation-request-id', - '4532c4ac-7fe3-494f-bfb1-d23e32b2f2ca', + '932f6efa-0948-4513-9acd-b9bfe565dd02', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -201,21 +201,21 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .delete('/kv/.appconfig.featureflag%2Fname-1162095387661802616-2') + .delete('/kv/.appconfig.featureflag%2Fname-1162439657053408694-2') .query(true) .reply(204, "", [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:57 GMT', + 'Tue, 22 Jun 2021 21:16:06 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Connection', 'close', 'x-ms-request-id', - '9da73351-8649-44c0-aac7-84e78a2929b7', + 'd53a8e77-8887-4a40-87c9-2b5f889f4dca', 'x-ms-correlation-request-id', - '9da73351-8649-44c0-aac7-84e78a2929b7', + 'd53a8e77-8887-4a40-87c9-2b5f889f4dca', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -227,13 +227,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .delete('/kv/.appconfig.featureflag%2Fname-1162095387661802616') + .delete('/kv/.appconfig.featureflag%2Fname-1162439657053408694') .query(true) - .reply(200, {"etag":"1lZDBJQ7LkOkYN0J5EZRfr3KG7k","key":".appconfig.featureflag/name-1162095387661802616","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162095387661802616\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"enabled\":true,\"description\":\"I'm a description\"}","tags":{},"locked":false,"last_modified":"2021-05-14T00:57:57+00:00"}, [ + .reply(200, {"etag":"urU9HOvqs8b9iuW3HSywWe8fRw0","key":".appconfig.featureflag/name-1162439657053408694","label":"label-1","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"{\"id\":\"name-1162439657053408694\",\"enabled\":true,\"description\":\"I'm a description\",\"conditions\":{\"client_filters\":[{\"name\":\"Microsoft.TimeWindow\",\"parameters\":{\"Start\":\"Wed, 01 May 2019 13:59:59 GMT\",\"End\":\"Mon, 01 July 2019 00:00:00 GMT\"}},{\"name\":\"FilterX\"},{\"name\":\"Microsoft.Targeting\",\"parameters\":{\"Audience\":{\"Groups\":[{\"Name\":\"group-1\",\"RolloutPercentage\":25},{\"Name\":\"group-2\",\"RolloutPercentage\":45}],\"Users\":[\"userA\",\"userB\"],\"DefaultRolloutPercentage\":40}}},{\"name\":\"Microsoft.Percentage\",\"parameters\":{\"Value\":25}}]},\"display_name\":\"for display\"}","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:10+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 14 May 2021 00:57:56 GMT', + 'Tue, 22 Jun 2021 21:16:12 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -241,15 +241,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 14 May 2021 00:57:57 GMT', + 'Tue, 22 Jun 2021 21:16:10 GMT', 'ETag', - '"1lZDBJQ7LkOkYN0J5EZRfr3KG7k"', + '"urU9HOvqs8b9iuW3HSywWe8fRw0"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMjY5ODAx;sn=3269801', + 'zAJw6V16=NToxOSMzNTkyMzc0;sn=3592374', 'x-ms-request-id', - '196a489a-ec10-483e-9d4d-a0493f4907e6', + 'e47b8e8c-5863-4fee-b923-57da6eb7246e', 'x-ms-correlation-request-id', - '196a489a-ec10-483e-9d4d-a0493f4907e6', + 'e47b8e8c-5863-4fee-b923-57da6eb7246e', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', diff --git a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_serializeasconfigurationsettingparam/recording_unexpected_value__as_feature_flag_value.js b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_serializeasconfigurationsettingparam/recording_unexpected_value__as_feature_flag_value.js index 7bed84790165..2db2dba74d6b 100644 --- a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_serializeasconfigurationsettingparam/recording_unexpected_value__as_feature_flag_value.js +++ b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_serializeasconfigurationsettingparam/recording_unexpected_value__as_feature_flag_value.js @@ -1,17 +1,17 @@ let nock = require('nock'); -module.exports.hash = "5488b0a78bc36e79038fb3ef4081a15d"; +module.exports.hash = "a4ca9b251b8b0633e16f9e0e17360a93"; -module.exports.testInfo = {"uniqueName":{"name-1":"name-1162163960595608239"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"name-1":"name-1162439657273608939"},"newDate":{}} nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162163960595608239', {"key":".appconfig.featureflag/name-1162163960595608239","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"[]"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439657273608939', {"key":".appconfig.featureflag/name-1162439657273608939","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"[]"}) .query(true) - .reply(200, {"etag":"NqiUYlqAKxSal24DPF7foIYCWEJ","key":".appconfig.featureflag/name-1162163960595608239","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"[]","tags":{},"locked":false,"last_modified":"2021-05-21T23:26:45+00:00"}, [ + .reply(200, {"etag":"RF2UjbC36kg0nK1OJjRgF4RgTiA","key":".appconfig.featureflag/name-1162439657273608939","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"[]","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:12+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 21 May 2021 23:26:41 GMT', + 'Tue, 22 Jun 2021 21:16:07 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -19,15 +19,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 21 May 2021 23:26:45 GMT', + 'Tue, 22 Jun 2021 21:16:12 GMT', 'ETag', - '"NqiUYlqAKxSal24DPF7foIYCWEJ"', + '"RF2UjbC36kg0nK1OJjRgF4RgTiA"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMzM2OTUz;sn=3336953', + 'zAJw6V16=NToxOSMzNTkyMzc1;sn=3592375', 'x-ms-request-id', - '21e4fac6-6fd0-4733-9797-eb171d0e5af1', + '5c1765b0-353c-463f-b64d-a8718ab61f49', 'x-ms-correlation-request-id', - '21e4fac6-6fd0-4733-9797-eb171d0e5af1', + '5c1765b0-353c-463f-b64d-a8718ab61f49', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -39,13 +39,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .get('/kv/.appconfig.featureflag%2Fname-1162163960595608239') + .get('/kv/.appconfig.featureflag%2Fname-1162439657273608939') .query(true) - .reply(200, {"etag":"NqiUYlqAKxSal24DPF7foIYCWEJ","key":".appconfig.featureflag/name-1162163960595608239","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"[]","tags":{},"locked":false,"last_modified":"2021-05-21T23:26:45+00:00"}, [ + .reply(200, {"etag":"RF2UjbC36kg0nK1OJjRgF4RgTiA","key":".appconfig.featureflag/name-1162439657273608939","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"[]","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:12+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 21 May 2021 23:26:43 GMT', + 'Tue, 22 Jun 2021 21:16:12 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -53,15 +53,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 21 May 2021 23:26:45 GMT', + 'Tue, 22 Jun 2021 21:16:12 GMT', 'ETag', - '"NqiUYlqAKxSal24DPF7foIYCWEJ"', + '"RF2UjbC36kg0nK1OJjRgF4RgTiA"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMzM2OTUz;sn=3336953', + 'zAJw6V16=NToxOSMzNTkyMzc1;sn=3592375', 'x-ms-request-id', - '0ea753e1-3bef-4ada-8bff-9addbae6733d', + '7ef6e3fc-b1b0-4933-a357-6ea0c7f63c84', 'x-ms-correlation-request-id', - '0ea753e1-3bef-4ada-8bff-9addbae6733d', + '7ef6e3fc-b1b0-4933-a357-6ea0c7f63c84', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -73,13 +73,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .delete('/kv/.appconfig.featureflag%2Fname-1162163960595608239') + .delete('/kv/.appconfig.featureflag%2Fname-1162439657273608939') .query(true) - .reply(200, {"etag":"NqiUYlqAKxSal24DPF7foIYCWEJ","key":".appconfig.featureflag/name-1162163960595608239","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"[]","tags":{},"locked":false,"last_modified":"2021-05-21T23:26:45+00:00"}, [ + .reply(200, {"etag":"RF2UjbC36kg0nK1OJjRgF4RgTiA","key":".appconfig.featureflag/name-1162439657273608939","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"[]","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:12+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 21 May 2021 23:26:42 GMT', + 'Tue, 22 Jun 2021 21:16:07 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -87,15 +87,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 21 May 2021 23:26:45 GMT', + 'Tue, 22 Jun 2021 21:16:12 GMT', 'ETag', - '"NqiUYlqAKxSal24DPF7foIYCWEJ"', + '"RF2UjbC36kg0nK1OJjRgF4RgTiA"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMzM2OTU0;sn=3336954', + 'zAJw6V16=NToxOSMzNTkyMzc2;sn=3592376', 'x-ms-request-id', - '3fc20067-cb5f-43f3-aee3-fe048a3af438', + 'f316036a-02aa-4bec-9959-e38e39838e6b', 'x-ms-correlation-request-id', - '3fc20067-cb5f-43f3-aee3-fe048a3af438', + 'f316036a-02aa-4bec-9959-e38e39838e6b', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', diff --git a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_serializeasconfigurationsettingparam/recording_unexpected_value_hello_world_as_feature_flag_value.js b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_serializeasconfigurationsettingparam/recording_unexpected_value_hello_world_as_feature_flag_value.js index 25d4e69eb5a9..8dfb2dc8f1ff 100644 --- a/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_serializeasconfigurationsettingparam/recording_unexpected_value_hello_world_as_feature_flag_value.js +++ b/sdk/appconfiguration/app-configuration/recordings/node/appconfigurationclient__featureflag_serializeasconfigurationsettingparam/recording_unexpected_value_hello_world_as_feature_flag_value.js @@ -1,17 +1,17 @@ let nock = require('nock'); -module.exports.hash = "5488b0a78bc36e79038fb3ef4081a15d"; +module.exports.hash = "a4ca9b251b8b0633e16f9e0e17360a93"; -module.exports.testInfo = {"uniqueName":{"name-1":"name-1162163960704305092"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"name-1":"name-1162439657358703686"},"newDate":{}} nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .put('/kv/.appconfig.featureflag%2Fname-1162163960704305092', {"key":".appconfig.featureflag/name-1162163960704305092","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"Hello World"}) + .put('/kv/.appconfig.featureflag%2Fname-1162439657358703686', {"key":".appconfig.featureflag/name-1162439657358703686","content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"Hello World"}) .query(true) - .reply(200, {"etag":"TUCsSpczvtslRMRZaZWzyKNRxXD","key":".appconfig.featureflag/name-1162163960704305092","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"Hello World","tags":{},"locked":false,"last_modified":"2021-05-21T23:26:46+00:00"}, [ + .reply(200, {"etag":"xlVgpC7kEWSh6qtFl3qqBKmwG09","key":".appconfig.featureflag/name-1162439657358703686","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"Hello World","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:13+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 21 May 2021 23:26:44 GMT', + 'Tue, 22 Jun 2021 21:16:13 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -19,15 +19,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 21 May 2021 23:26:46 GMT', + 'Tue, 22 Jun 2021 21:16:13 GMT', 'ETag', - '"TUCsSpczvtslRMRZaZWzyKNRxXD"', + '"xlVgpC7kEWSh6qtFl3qqBKmwG09"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMzM2OTU1;sn=3336955', + 'zAJw6V16=NToxOSMzNTkyMzc3;sn=3592377', 'x-ms-request-id', - 'd2dfac97-c176-4c65-a368-0f8db4d07ae4', + 'cdf3317e-1160-4dac-ad1a-5c169796f5f6', 'x-ms-correlation-request-id', - 'd2dfac97-c176-4c65-a368-0f8db4d07ae4', + 'cdf3317e-1160-4dac-ad1a-5c169796f5f6', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -39,13 +39,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .get('/kv/.appconfig.featureflag%2Fname-1162163960704305092') + .get('/kv/.appconfig.featureflag%2Fname-1162439657358703686') .query(true) - .reply(200, {"etag":"TUCsSpczvtslRMRZaZWzyKNRxXD","key":".appconfig.featureflag/name-1162163960704305092","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"Hello World","tags":{},"locked":false,"last_modified":"2021-05-21T23:26:46+00:00"}, [ + .reply(200, {"etag":"xlVgpC7kEWSh6qtFl3qqBKmwG09","key":".appconfig.featureflag/name-1162439657358703686","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"Hello World","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:13+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 21 May 2021 23:26:42 GMT', + 'Tue, 22 Jun 2021 21:16:08 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -53,15 +53,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 21 May 2021 23:26:46 GMT', + 'Tue, 22 Jun 2021 21:16:13 GMT', 'ETag', - '"TUCsSpczvtslRMRZaZWzyKNRxXD"', + '"xlVgpC7kEWSh6qtFl3qqBKmwG09"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMzM2OTU1;sn=3336955', + 'zAJw6V16=NToxOSMzNTkyMzc3;sn=3592377', 'x-ms-request-id', - 'f356bd8d-0e7f-4fd3-9f75-f71b08295337', + '4b607f7a-ec53-4da0-a945-763d6f58d269', 'x-ms-correlation-request-id', - 'f356bd8d-0e7f-4fd3-9f75-f71b08295337', + '4b607f7a-ec53-4da0-a945-763d6f58d269', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', @@ -73,13 +73,13 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) ]); nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) - .delete('/kv/.appconfig.featureflag%2Fname-1162163960704305092') + .delete('/kv/.appconfig.featureflag%2Fname-1162439657358703686') .query(true) - .reply(200, {"etag":"TUCsSpczvtslRMRZaZWzyKNRxXD","key":".appconfig.featureflag/name-1162163960704305092","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"Hello World","tags":{},"locked":false,"last_modified":"2021-05-21T23:26:46+00:00"}, [ + .reply(200, {"etag":"xlVgpC7kEWSh6qtFl3qqBKmwG09","key":".appconfig.featureflag/name-1162439657358703686","label":null,"content_type":"application/vnd.microsoft.appconfig.ff+json;charset=utf-8","value":"Hello World","tags":{},"locked":false,"last_modified":"2021-06-22T21:16:13+00:00"}, [ 'Server', 'openresty/1.17.8.2', 'Date', - 'Fri, 21 May 2021 23:26:45 GMT', + 'Tue, 22 Jun 2021 21:16:14 GMT', 'Content-Type', 'application/vnd.microsoft.appconfig.kv+json; charset=utf-8', 'Transfer-Encoding', @@ -87,15 +87,15 @@ nock('https://myappconfig.azconfig.io:443', {"encodedQueryParams":true}) 'Connection', 'close', 'Last-Modified', - 'Fri, 21 May 2021 23:26:46 GMT', + 'Tue, 22 Jun 2021 21:16:13 GMT', 'ETag', - '"TUCsSpczvtslRMRZaZWzyKNRxXD"', + '"xlVgpC7kEWSh6qtFl3qqBKmwG09"', 'Sync-Token', - 'zAJw6V16=NToxOSMzMzM2OTU2;sn=3336956', + 'zAJw6V16=NToxOSMzNTkyMzc4;sn=3592378', 'x-ms-request-id', - '10ebc611-c1f1-4458-b594-a319fbbaa45b', + '4d6dc3d8-50fe-4f0e-a591-54d7782cfd81', 'x-ms-correlation-request-id', - '10ebc611-c1f1-4458-b594-a319fbbaa45b', + '4d6dc3d8-50fe-4f0e-a591-54d7782cfd81', 'Access-Control-Allow-Origin', '*', 'Access-Control-Allow-Credentials', diff --git a/sdk/appconfiguration/app-configuration/review/app-configuration.api.md b/sdk/appconfiguration/app-configuration/review/app-configuration.api.md index c2faa2a5da8f..93a9b10be30a 100644 --- a/sdk/appconfiguration/app-configuration/review/app-configuration.api.md +++ b/sdk/appconfiguration/app-configuration/review/app-configuration.api.md @@ -91,6 +91,7 @@ export interface FeatureFlagValue { }[]; }; description?: string; + displayName?: string; enabled: boolean; id?: string; } diff --git a/sdk/appconfiguration/app-configuration/src/featureFlag.ts b/sdk/appconfiguration/app-configuration/src/featureFlag.ts index f9225f780b44..8538356fbb91 100644 --- a/sdk/appconfiguration/app-configuration/src/featureFlag.ts +++ b/sdk/appconfiguration/app-configuration/src/featureFlag.ts @@ -41,6 +41,10 @@ export interface FeatureFlagValue { * Boolean flag to say if the feature flag is enabled. */ enabled: boolean; + /** + * Display name for the feature to use for display rather than the ID. + */ + displayName?: string; } /** @@ -62,10 +66,12 @@ export const FeatureFlagHelper = { } const jsonFeatureFlagValue: JsonFeatureFlagValue = { id: featureFlag.value.id ?? key.replace(featureFlagPrefix, ""), - ...featureFlag.value, + enabled: featureFlag.value.enabled, + description: featureFlag.value.description, conditions: { client_filters: featureFlag.value.conditions.clientFilters - } + }, + display_name: featureFlag.value.displayName }; const configSetting = { @@ -96,7 +102,10 @@ export function parseFeatureFlag( const featureflag: ConfigurationSetting = { ...setting, value: { - ...jsonFeatureFlagValue, + id: jsonFeatureFlagValue.id, + enabled: jsonFeatureFlagValue.enabled, + description: jsonFeatureFlagValue.description, + displayName: jsonFeatureFlagValue.display_name, conditions: { clientFilters: jsonFeatureFlagValue.conditions.client_filters } }, key, diff --git a/sdk/appconfiguration/app-configuration/src/internal/jsonModels.ts b/sdk/appconfiguration/app-configuration/src/internal/jsonModels.ts index 19c7378eab26..91f1f5b34f20 100644 --- a/sdk/appconfiguration/app-configuration/src/internal/jsonModels.ts +++ b/sdk/appconfiguration/app-configuration/src/internal/jsonModels.ts @@ -11,6 +11,7 @@ export type JsonFeatureFlagValue = { description?: string; enabled: boolean; id?: string; + display_name?: string; }; // keyvault secret reference diff --git a/sdk/appconfiguration/app-configuration/test/public/featureFlag.spec.ts b/sdk/appconfiguration/app-configuration/test/public/featureFlag.spec.ts index fd74292cd30a..a6f9aa118dc2 100644 --- a/sdk/appconfiguration/app-configuration/test/public/featureFlag.spec.ts +++ b/sdk/appconfiguration/app-configuration/test/public/featureFlag.spec.ts @@ -51,7 +51,8 @@ describe("AppConfigurationClient - FeatureFlag", () => { ] }, enabled: false, - description: "I'm a description" + description: "I'm a description", + displayName: "for display" }, isReadOnly: false, key: `${featureFlagPrefix + recorder.getUniqueName("name-1")}`, From 0f4ae0c84e72220b4db61c2bc8a6016eacf00cc9 Mon Sep 17 00:00:00 2001 From: Will Temple Date: Tue, 22 Jun 2021 15:55:28 -0700 Subject: [PATCH 020/134] [identity] Add publication metadata for extension pacakges (#15900) This should allow our pipelines to pick these packages up for publication. --- sdk/identity/ci.yml | 4 ++++ sdk/identity/identity-cache-persistence/package.json | 3 ++- sdk/identity/identity-vscode/package.json | 3 ++- .../test/public/node/visualStudioCodeCredential.spec.ts | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sdk/identity/ci.yml b/sdk/identity/ci.yml index 1c40eac5a650..855f8e9c53e6 100644 --- a/sdk/identity/ci.yml +++ b/sdk/identity/ci.yml @@ -28,3 +28,7 @@ extends: Artifacts: - name: azure-identity safeName: azureidentity + - name: azure-identity-cache-persistence + safeName: azureidentitycachepersistence + - name: azure-identity-vscode + safeName: azureidentityvscode diff --git a/sdk/identity/identity-cache-persistence/package.json b/sdk/identity/identity-cache-persistence/package.json index abaac4be0321..c7f516e43239 100644 --- a/sdk/identity/identity-cache-persistence/package.json +++ b/sdk/identity/identity-cache-persistence/package.json @@ -1,6 +1,7 @@ { "name": "@azure/identity-cache-persistence", "version": "1.0.0-beta.1", + "sdk-type": "client", "description": "A secure, persistent token cache for Azure Identity credentials that uses the OS secret-management API", "main": "dist/index.js", "module": "dist-esm/identity-cache-persistence/src/index.js", @@ -60,7 +61,7 @@ "engine": { "node": ">=12.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-cache-persistence/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity-cache-persistence/README.md", "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", diff --git a/sdk/identity/identity-vscode/package.json b/sdk/identity/identity-vscode/package.json index 1fbe791f863a..6181daca32a3 100644 --- a/sdk/identity/identity-vscode/package.json +++ b/sdk/identity/identity-vscode/package.json @@ -1,6 +1,7 @@ { "name": "@azure/identity-vscode", "version": "1.0.0-beta.1", + "sdk-type": "client", "description": "Use the Azure Account extension for Visual Studio Code to authenticate with Azure Identity", "main": "dist/index.js", "module": "dist-esm/identity-vscode/src/index.js", @@ -60,7 +61,7 @@ "engine": { "node": ">=12.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity-vscode/README.md", "sideEffects": false, "dependencies": { "@azure/identity": "^2.0.0-beta.4", diff --git a/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts b/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts index 1ec1824e41f5..5be8e7a00e2b 100644 --- a/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts +++ b/sdk/identity/identity-vscode/test/public/node/visualStudioCodeCredential.spec.ts @@ -2,6 +2,7 @@ // Licensed under the MIT license. /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ +/* eslint-disable @typescript-eslint/no-require-imports */ import assert from "assert"; import sinon from "sinon"; From c7f3a2a70bc2f1ee0e5f12f533f6d3823ff13e4b Mon Sep 17 00:00:00 2001 From: Will Temple Date: Tue, 22 Jun 2021 15:20:55 -0700 Subject: [PATCH 021/134] Replace master with main in homepage links. --- common/tools/dev-tool/package.json | 2 +- common/tools/dev-tool/src/commands/samples/publish.ts | 2 +- common/tools/eslint-plugin-azure-sdk/package.json | 2 +- .../src/rules/ts-package-json-homepage.ts | 2 +- sdk/advisor/arm-advisor/package.json | 2 +- sdk/agrifood/agrifood-farming-rest/package.json | 2 +- .../agrifood-farming-rest/samples/v1/javascript/package.json | 2 +- .../agrifood-farming-rest/samples/v1/typescript/package.json | 2 +- sdk/analysisservices/arm-analysisservices/package.json | 2 +- sdk/anomalydetector/ai-anomaly-detector/package.json | 2 +- .../ai-anomaly-detector/samples/v3/javascript/package.json | 2 +- .../ai-anomaly-detector/samples/v3/typescript/package.json | 2 +- sdk/apimanagement/arm-apimanagement/package.json | 2 +- sdk/appconfiguration/app-configuration/package.json | 2 +- .../app-configuration/samples/v1/javascript/package.json | 2 +- .../app-configuration/samples/v1/typescript/package.json | 2 +- sdk/appconfiguration/arm-appconfiguration/package.json | 2 +- sdk/applicationinsights/applicationinsights-query/package.json | 2 +- sdk/applicationinsights/arm-appinsights/package.json | 2 +- sdk/appplatform/arm-appplatform/package.json | 2 +- .../arm-appservice-profile-2020-09-01-hybrid/package.json | 2 +- sdk/appservice/arm-appservice/package.json | 2 +- sdk/attestation/arm-attestation/package.json | 2 +- sdk/attestation/attestation/package.json | 2 +- .../arm-authorization-profile-2019-03-01-hybrid/package.json | 2 +- .../arm-authorization-profile-2020-09-01-hybrid/package.json | 2 +- sdk/authorization/arm-authorization/package.json | 2 +- sdk/automation/arm-automation/package.json | 2 +- sdk/avs/arm-avs/package.json | 2 +- sdk/azurestack/arm-azurestack/package.json | 2 +- sdk/azurestackhci/arm-azurestackhci/package.json | 2 +- sdk/batch/batch/package.json | 2 +- sdk/batchai/arm-batchai/package.json | 2 +- sdk/billing/arm-billing/package.json | 2 +- sdk/botservice/arm-botservice/package.json | 2 +- sdk/cdn/arm-cdn/package.json | 2 +- sdk/changeanalysis/arm-changeanalysis/package.json | 2 +- sdk/cognitiveservices/arm-cognitiveservices/package.json | 2 +- .../cognitiveservices-anomalydetector/package.json | 2 +- .../cognitiveservices-autosuggest/package.json | 2 +- .../cognitiveservices-computervision/package.json | 2 +- .../cognitiveservices-contentmoderator/package.json | 2 +- .../cognitiveservices-customimagesearch/package.json | 2 +- .../cognitiveservices-customsearch/package.json | 2 +- .../cognitiveservices-customvision-prediction/package.json | 2 +- .../cognitiveservices-customvision-training/package.json | 2 +- .../cognitiveservices-entitysearch/package.json | 2 +- sdk/cognitiveservices/cognitiveservices-face/package.json | 2 +- .../cognitiveservices-formrecognizer/package.json | 2 +- .../cognitiveservices-imagesearch/package.json | 2 +- .../cognitiveservices-localsearch/package.json | 2 +- .../cognitiveservices-luis-authoring/package.json | 2 +- .../cognitiveservices-luis-runtime/package.json | 2 +- sdk/cognitiveservices/cognitiveservices-newssearch/package.json | 2 +- .../cognitiveservices-personalizer/package.json | 2 +- .../cognitiveservices-qnamaker-runtime/package.json | 2 +- sdk/cognitiveservices/cognitiveservices-qnamaker/package.json | 2 +- sdk/cognitiveservices/cognitiveservices-spellcheck/package.json | 2 +- .../cognitiveservices-textanalytics/package.json | 2 +- .../cognitiveservices-translatortext/package.json | 2 +- .../cognitiveservices-videosearch/package.json | 2 +- .../cognitiveservices-visualsearch/package.json | 2 +- sdk/cognitiveservices/cognitiveservices-websearch/package.json | 2 +- .../arm-commerce-profile-2020-09-01-hybrid/package.json | 2 +- sdk/commerce/arm-commerce/package.json | 2 +- sdk/communication/arm-communication/package.json | 2 +- sdk/communication/communication-chat/package.json | 2 +- .../communication-chat/samples/v1/javascript/package.json | 2 +- .../communication-chat/samples/v1/typescript/package.json | 2 +- sdk/communication/communication-common/package.json | 2 +- sdk/communication/communication-identity/package.json | 2 +- .../communication-identity/samples/v1/javascript/package.json | 2 +- .../communication-identity/samples/v1/typescript/package.json | 2 +- sdk/communication/communication-network-traversal/package.json | 2 +- .../samples/v1/javascript/package.json | 2 +- .../samples/v1/typescript/package.json | 2 +- sdk/communication/communication-phone-numbers/package.json | 2 +- .../samples/v1/javascript/package.json | 2 +- .../samples/v1/typescript/package.json | 2 +- sdk/communication/communication-sms/package.json | 2 +- .../communication-sms/samples/v1/javascript/package.json | 2 +- .../communication-sms/samples/v1/typescript/package.json | 2 +- sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json | 2 +- sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json | 2 +- sdk/compute/arm-compute/package.json | 2 +- sdk/confidentialledger/confidential-ledger-rest/package.json | 2 +- .../confidential-ledger-rest/samples/v1/javascript/package.json | 2 +- .../confidential-ledger-rest/samples/v1/typescript/package.json | 2 +- sdk/confluent/arm-confluent/package.json | 2 +- sdk/consumption/arm-consumption/package.json | 2 +- sdk/containerinstance/arm-containerinstance/package.json | 2 +- sdk/containerregistry/arm-containerregistry/package.json | 2 +- sdk/containerregistry/container-registry/package.json | 2 +- .../container-registry/samples/v1/javascript/package.json | 2 +- .../container-registry/samples/v1/typescript/package.json | 2 +- sdk/containerservice/arm-containerservice/package.json | 2 +- sdk/core/abort-controller/package.json | 2 +- sdk/core/core-amqp/package.json | 2 +- sdk/core/core-asynciterator-polyfill/package.json | 2 +- sdk/core/core-auth/package.json | 2 +- sdk/core/core-client-rest/package.json | 2 +- sdk/core/core-client/package.json | 2 +- sdk/core/core-crypto/package.json | 2 +- sdk/core/core-http/package.json | 2 +- sdk/core/core-lro/package.json | 2 +- sdk/core/core-paging/package.json | 2 +- sdk/core/core-rest-pipeline/package.json | 2 +- sdk/core/core-rest-pipeline/samples/v1/javascript/package.json | 2 +- sdk/core/core-rest-pipeline/samples/v1/typescript/package.json | 2 +- sdk/core/core-tracing/package.json | 2 +- sdk/core/core-util/package.json | 2 +- sdk/core/core-xml/package.json | 2 +- sdk/core/logger/package.json | 2 +- sdk/cosmosdb/arm-cosmosdb/package.json | 2 +- sdk/cosmosdb/cosmos/package.json | 2 +- sdk/customer-insights/arm-customerinsights/package.json | 2 +- sdk/databox/arm-databox/package.json | 2 +- .../arm-databoxedge-profile-2020-09-01-hybrid/package.json | 2 +- sdk/databoxedge/arm-databoxedge/package.json | 2 +- sdk/databricks/arm-databricks/package.json | 2 +- sdk/datacatalog/arm-datacatalog/package.json | 2 +- sdk/datadog/arm-datadog/package.json | 2 +- sdk/datafactory/arm-datafactory/package.json | 2 +- sdk/datalake-analytics/arm-datalake-analytics/package.json | 2 +- sdk/datamigration/arm-datamigration/package.json | 2 +- sdk/deploymentmanager/arm-deploymentmanager/package.json | 2 +- .../arm-deviceprovisioningservices/package.json | 2 +- .../iot-device-update/samples/v1/javascript/package.json | 2 +- .../iot-device-update/samples/v1/typescript/package.json | 2 +- sdk/devspaces/arm-devspaces/package.json | 2 +- sdk/devtestlabs/arm-devtestlabs/package.json | 2 +- sdk/digitaltwins/arm-digitaltwins/package.json | 2 +- sdk/digitaltwins/digital-twins-core/package.json | 2 +- .../digital-twins-core/samples/v1/javascript/package.json | 2 +- .../digital-twins-core/samples/v1/typescript/package.json | 2 +- sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json | 2 +- sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json | 2 +- sdk/dns/arm-dns/package.json | 2 +- sdk/documenttranslator/ai-document-translator-rest/package.json | 2 +- .../samples/v1/javascript/package.json | 2 +- .../samples/v1/typescript/package.json | 2 +- sdk/domainservices/arm-domainservices/package.json | 2 +- sdk/edgegateway/arm-edgegateway/package.json | 2 +- sdk/eventgrid/arm-eventgrid/package.json | 2 +- sdk/eventgrid/eventgrid/package.json | 2 +- sdk/eventgrid/eventgrid/samples/v4/javascript/package.json | 2 +- sdk/eventgrid/eventgrid/samples/v4/typescript/package.json | 2 +- .../arm-eventhub-profile-2020-09-01-hybrid/package.json | 2 +- sdk/eventhub/arm-eventhub/package.json | 2 +- sdk/eventhub/event-hubs/package.json | 2 +- sdk/eventhub/event-processor-host/package.json | 2 +- sdk/eventhub/eventhubs-checkpointstore-blob/package.json | 2 +- .../samples/v1/javascript/package.json | 2 +- .../samples/v1/typescript/package.json | 2 +- sdk/eventhub/mock-hub/package.json | 2 +- sdk/features/arm-features/package.json | 2 +- sdk/formrecognizer/ai-form-recognizer/package.json | 2 +- .../ai-form-recognizer/samples/v3/javascript/package.json | 2 +- .../ai-form-recognizer/samples/v3/typescript/package.json | 2 +- sdk/frontdoor/arm-frontdoor/package.json | 2 +- sdk/graphrbac/graph/package.json | 2 +- sdk/hanaonazure/arm-hanaonazure/package.json | 2 +- sdk/hdinsight/arm-hdinsight/package.json | 2 +- sdk/healthbot/arm-healthbot/package.json | 2 +- sdk/healthcareapis/arm-healthcareapis/package.json | 2 +- sdk/hybridcompute/arm-hybridcompute/package.json | 2 +- sdk/hybridkubernetes/arm-hybridkubernetes/package.json | 2 +- sdk/identity/identity-cache-persistence/package.json | 2 +- sdk/identity/identity-vscode/package.json | 2 +- sdk/identity/identity/package.json | 2 +- sdk/iot/iot-modelsrepository/package.json | 2 +- sdk/iot/iot-modelsrepository/samples/v1/javascript/package.json | 2 +- sdk/iot/iot-modelsrepository/samples/v1/typescript/package.json | 2 +- sdk/iotcentral/arm-iotcentral/package.json | 2 +- sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json | 2 +- sdk/iothub/arm-iothub/package.json | 2 +- sdk/iotspaces/arm-iotspaces/package.json | 2 +- .../arm-keyvault-profile-2019-03-01-hybrid/package.json | 2 +- .../arm-keyvault-profile-2020-09-01-hybrid/package.json | 2 +- sdk/keyvault/keyvault-admin/package.json | 2 +- sdk/keyvault/keyvault-admin/samples/v4/javascript/package.json | 2 +- sdk/keyvault/keyvault-admin/samples/v4/typescript/package.json | 2 +- sdk/keyvault/keyvault-certificates/package.json | 2 +- .../keyvault-certificates/samples/v4/javascript/package.json | 2 +- .../keyvault-certificates/samples/v4/typescript/package.json | 2 +- sdk/keyvault/keyvault-keys/package.json | 2 +- sdk/keyvault/keyvault-keys/samples/v4/javascript/package.json | 2 +- sdk/keyvault/keyvault-keys/samples/v4/typescript/package.json | 2 +- sdk/keyvault/keyvault-secrets/package.json | 2 +- .../keyvault-secrets/samples/v4/javascript/package.json | 2 +- .../keyvault-secrets/samples/v4/typescript/package.json | 2 +- .../arm-kubernetesconfiguration/package.json | 2 +- sdk/kusto/arm-kusto/package.json | 2 +- sdk/labservices/arm-labservices/package.json | 2 +- sdk/links/arm-links/package.json | 2 +- sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json | 2 +- sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json | 2 +- sdk/locks/arm-locks/package.json | 2 +- sdk/logic/arm-logic/package.json | 2 +- sdk/machinelearning/arm-commitmentplans/package.json | 2 +- sdk/machinelearning/arm-webservices/package.json | 2 +- sdk/machinelearning/arm-workspaces/package.json | 2 +- .../arm-machinelearningcompute/package.json | 2 +- .../arm-machinelearningexperimentation/package.json | 2 +- .../arm-machinelearningservices/package.json | 2 +- sdk/managedapplications/arm-managedapplications/package.json | 2 +- sdk/managementgroups/arm-managementgroups/package.json | 2 +- sdk/managementpartner/arm-managementpartner/package.json | 2 +- sdk/maps/arm-maps/package.json | 2 +- sdk/mariadb/arm-mariadb/package.json | 2 +- sdk/marketplaceordering/arm-marketplaceordering/package.json | 2 +- sdk/mediaservices/arm-mediaservices/package.json | 2 +- sdk/metricsadvisor/ai-metrics-advisor/package.json | 2 +- .../ai-metrics-advisor/samples/v1/javascript/package.json | 2 +- .../ai-metrics-advisor/samples/v1/typescript/package.json | 2 +- sdk/migrate/arm-migrate/package.json | 2 +- sdk/mixedreality/arm-mixedreality/package.json | 2 +- sdk/mixedreality/mixedreality-authentication/package.json | 2 +- .../samples/v1/javascript/package.json | 2 +- .../samples/v1/typescript/package.json | 2 +- sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json | 2 +- sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json | 2 +- sdk/monitor/arm-monitor/package.json | 2 +- sdk/monitor/monitor-opentelemetry-exporter/package.json | 2 +- sdk/monitor/monitor-query/package.json | 2 +- sdk/monitor/monitor-query/samples/v1/javascript/package.json | 2 +- sdk/monitor/monitor-query/samples/v1/typescript/package.json | 2 +- sdk/msi/arm-msi/package.json | 2 +- sdk/mysql/arm-mysql/package.json | 2 +- sdk/netapp/arm-netapp/package.json | 2 +- sdk/network/arm-network-profile-2019-03-01-hybrid/package.json | 2 +- sdk/network/arm-network-profile-2020-09-01-hybrid/package.json | 2 +- sdk/network/arm-network/package.json | 2 +- sdk/notificationhubs/arm-notificationhubs/package.json | 2 +- sdk/operationalinsights/arm-operationalinsights/package.json | 2 +- sdk/operationalinsights/loganalytics/package.json | 2 +- sdk/operationsmanagement/arm-operations/package.json | 2 +- sdk/peering/arm-peering/package.json | 2 +- sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json | 2 +- sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json | 2 +- sdk/policy/arm-policy/package.json | 2 +- sdk/policyinsights/arm-policyinsights/package.json | 2 +- sdk/postgresql/arm-postgresql-flexible/package.json | 2 +- sdk/postgresql/arm-postgresql/package.json | 2 +- sdk/powerbidedicated/arm-powerbidedicated/package.json | 2 +- sdk/powerbiembedded/arm-powerbiembedded/package.json | 2 +- sdk/privatedns/arm-privatedns/package.json | 2 +- sdk/purview/purview-catalog-rest/package.json | 2 +- .../purview-catalog-rest/samples/v1/javascript/package.json | 2 +- .../purview-catalog-rest/samples/v1/typescript/package.json | 2 +- sdk/purview/purview-scanning-rest/package.json | 2 +- .../purview-scanning-rest/samples/v1/javascript/package.json | 2 +- .../purview-scanning-rest/samples/v1/typescript/package.json | 2 +- sdk/quantum/quantum-jobs/package.json | 2 +- sdk/recoveryservices/arm-recoveryservices/package.json | 2 +- .../arm-recoveryservicesbackup/package.json | 2 +- .../arm-recoveryservices-siterecovery/package.json | 2 +- sdk/redis/arm-rediscache/package.json | 2 +- sdk/redisenterprise/arm-redisenterprisecache/package.json | 2 +- sdk/relay/arm-relay/package.json | 2 +- sdk/reservations/arm-reservations/package.json | 2 +- sdk/resourcegraph/arm-resourcegraph/package.json | 2 +- sdk/resourcehealth/arm-resourcehealth/package.json | 2 +- sdk/resourcemover/arm-resourcemover/package.json | 2 +- .../arm-resources-profile-2020-09-01-hybrid/package.json | 2 +- .../arm-resources-profile-hybrid-2019-03-01/package.json | 2 +- sdk/resources/arm-resources/package.json | 2 +- sdk/schemaregistry/schema-registry-avro/package.json | 2 +- .../schema-registry-avro/samples/v1/javascript/package.json | 2 +- .../schema-registry-avro/samples/v1/typescript/package.json | 2 +- sdk/schemaregistry/schema-registry/package.json | 2 +- .../schema-registry/samples/v1/javascript/package.json | 2 +- .../schema-registry/samples/v1/typescript/package.json | 2 +- sdk/search/arm-search/package.json | 2 +- sdk/search/search-documents/package.json | 2 +- sdk/search/search-documents/samples/javascript/package.json | 2 +- sdk/search/search-documents/samples/typescript/package.json | 2 +- sdk/security/arm-security/package.json | 2 +- sdk/service-map/arm-servicemap/package.json | 2 +- sdk/servicebus/arm-servicebus/package.json | 2 +- sdk/servicebus/service-bus/package.json | 2 +- sdk/servicebus/service-bus/samples/v7/javascript/package.json | 2 +- sdk/servicebus/service-bus/samples/v7/typescript/package.json | 2 +- sdk/servicefabric/arm-servicefabric/package.json | 2 +- sdk/servicefabric/servicefabric/package.json | 2 +- sdk/servicefabricmesh/arm-servicefabricmesh/package.json | 2 +- sdk/signalr/arm-signalr/package.json | 2 +- sdk/sql/arm-sql/package.json | 2 +- sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json | 2 +- sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json | 2 +- sdk/storage/arm-storage/package.json | 2 +- sdk/storage/storage-blob-changefeed/package.json | 2 +- sdk/storage/storage-blob/package.json | 2 +- sdk/storage/storage-datalake/package.json | 2 +- sdk/storage/storage-file-datalake/package.json | 2 +- sdk/storage/storage-file-share/package.json | 2 +- sdk/storage/storage-internal-avro/package.json | 2 +- sdk/storage/storage-queue/package.json | 2 +- sdk/storagecache/arm-storagecache/package.json | 2 +- sdk/storageimportexport/arm-storageimportexport/package.json | 2 +- sdk/storagesync/arm-storagesync/package.json | 2 +- sdk/storsimple1200series/arm-storsimple1200series/package.json | 2 +- sdk/storsimple8000series/arm-storsimple8000series/package.json | 2 +- sdk/streamanalytics/arm-streamanalytics/package.json | 2 +- .../arm-subscriptions-profile-2020-09-01-hybrid/package.json | 2 +- .../arm-subscriptions-profile-hybrid-2019-03-01/package.json | 2 +- sdk/subscription/arm-subscriptions/package.json | 2 +- sdk/support/arm-support/package.json | 2 +- sdk/synapse/arm-synapse/package.json | 2 +- sdk/synapse/synapse-access-control/package.json | 2 +- sdk/synapse/synapse-artifacts/package.json | 2 +- sdk/synapse/synapse-managed-private-endpoints/package.json | 2 +- sdk/synapse/synapse-monitoring/package.json | 2 +- sdk/synapse/synapse-spark/package.json | 2 +- sdk/tables/data-tables/package.json | 2 +- sdk/tables/data-tables/samples/v12/javascript/package.json | 2 +- sdk/tables/data-tables/samples/v12/typescript/package.json | 2 +- sdk/template/template/package.json | 2 +- sdk/template/template/samples/v1/javascript/package.json | 2 +- sdk/template/template/samples/v1/typescript/package.json | 2 +- sdk/test-utils/perfstress/package.json | 2 +- sdk/test-utils/recorder/package.json | 2 +- sdk/test-utils/test-utils/package.json | 2 +- sdk/textanalytics/ai-text-analytics/package.json | 2 +- .../ai-text-analytics/samples/v5/javascript/package.json | 2 +- .../ai-text-analytics/samples/v5/typescript/package.json | 2 +- sdk/timeseriesinsights/arm-timeseriesinsights/package.json | 2 +- sdk/trafficmanager/arm-trafficmanager/package.json | 2 +- sdk/videoanalyzer/video-analyzer-edge/package.json | 2 +- .../video-analyzer-edge/samples/javascript/package.json | 2 +- .../video-analyzer-edge/samples/typescript/package.json | 2 +- sdk/visualstudio/arm-visualstudio/package.json | 2 +- sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json | 2 +- sdk/web-pubsub/web-pubsub-express/package.json | 2 +- .../web-pubsub-express/samples/v1/javascript/package.json | 2 +- .../web-pubsub-express/samples/v1/typescript/package.json | 2 +- sdk/web-pubsub/web-pubsub/package.json | 2 +- sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json | 2 +- sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json | 2 +- 339 files changed, 339 insertions(+), 339 deletions(-) diff --git a/common/tools/dev-tool/package.json b/common/tools/dev-tool/package.json index aae4a3ee90e2..681bf0af06ae 100644 --- a/common/tools/dev-tool/package.json +++ b/common/tools/dev-tool/package.json @@ -34,7 +34,7 @@ "bugs": { "url": "https://github.com/azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/common/tools/dev-tool/", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/common/tools/dev-tool/", "sideEffects": false, "private": true, "prettier": "../eslint-plugin-azure-sdk/prettier.json", diff --git a/common/tools/dev-tool/src/commands/samples/publish.ts b/common/tools/dev-tool/src/commands/samples/publish.ts index 1a0785c4b111..5811d2471e33 100644 --- a/common/tools/dev-tool/src/commands/samples/publish.ts +++ b/common/tools/dev-tool/src/commands/samples/publish.ts @@ -99,7 +99,7 @@ function createPackageJson(info: SampleGenerationInfo, outputKind: OutputKind): bugs: { url: "https://github.com/Azure/azure-sdk-for-js/issues" }, - homepage: `https://github.com/Azure/azure-sdk-for-js/tree/master/${info.projectRepoPath}`, + homepage: `https://github.com/Azure/azure-sdk-for-js/tree/main/${info.projectRepoPath}`, ...info.computeSampleDependencies(outputKind) }; } diff --git a/common/tools/eslint-plugin-azure-sdk/package.json b/common/tools/eslint-plugin-azure-sdk/package.json index 22b5ff17a697..149644682892 100644 --- a/common/tools/eslint-plugin-azure-sdk/package.json +++ b/common/tools/eslint-plugin-azure-sdk/package.json @@ -21,7 +21,7 @@ } ], "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/common/tools/eslint-plugin-azure-sdk/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/common/tools/eslint-plugin-azure-sdk/", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git", diff --git a/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-homepage.ts b/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-homepage.ts index 07d1ec1b3e61..ed343b7d9721 100644 --- a/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-homepage.ts +++ b/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-homepage.ts @@ -37,7 +37,7 @@ export = { const nodeValue = node.value as Literal; if ( - !/^https:\/\/github.com\/Azure\/azure-sdk-for-js\/(blob|tree)\/master\/sdk\/(([a-z]+-)*[a-z]+\/)+(README\.md)?$/.test( + !/^https:\/\/github.com\/Azure\/azure-sdk-for-js\/(blob|tree)\/main\/sdk\/(([a-z]+-)*[a-z]+\/)+(README\.md)?$/.test( nodeValue.value as string ) ) { diff --git a/sdk/advisor/arm-advisor/package.json b/sdk/advisor/arm-advisor/package.json index f3dcccf69676..a877ba90191e 100644 --- a/sdk/advisor/arm-advisor/package.json +++ b/sdk/advisor/arm-advisor/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/advisor/arm-advisor", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/advisor/arm-advisor", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/agrifood/agrifood-farming-rest/package.json b/sdk/agrifood/agrifood-farming-rest/package.json index f8479dba5232..ff5fd1e68354 100644 --- a/sdk/agrifood/agrifood-farming-rest/package.json +++ b/sdk/agrifood/agrifood-farming-rest/package.json @@ -16,7 +16,7 @@ "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/agrifood-farming-rest.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/agrifood/agrifood-farming/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/agrifood-farming/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/package.json b/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/package.json index 492e758f1eee..3c1f96807857 100644 --- a/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/package.json +++ b/sdk/agrifood/agrifood-farming-rest/samples/v1/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/agrifood/agrifood-farming-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/agrifood-farming-rest", "dependencies": { "@azure-rest/agrifood-farming": "next", "dotenv": "latest", diff --git a/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/package.json b/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/package.json index f226144ec0c4..7c8bbc00bbc9 100644 --- a/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/package.json +++ b/sdk/agrifood/agrifood-farming-rest/samples/v1/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/agrifood/agrifood-farming-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/agrifood/agrifood-farming-rest", "dependencies": { "@azure-rest/agrifood-farming": "next", "dotenv": "latest", diff --git a/sdk/analysisservices/arm-analysisservices/package.json b/sdk/analysisservices/arm-analysisservices/package.json index b035e8002de1..f52e91cbf7df 100644 --- a/sdk/analysisservices/arm-analysisservices/package.json +++ b/sdk/analysisservices/arm-analysisservices/package.json @@ -26,7 +26,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/analysisservices/arm-analysisservices", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/analysisservices/arm-analysisservices", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/anomalydetector/ai-anomaly-detector/package.json b/sdk/anomalydetector/ai-anomaly-detector/package.json index 92749f3efee9..b7a81982e01a 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/package.json +++ b/sdk/anomalydetector/ai-anomaly-detector/package.json @@ -58,7 +58,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/package.json b/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/package.json index 38e404046214..1c2e2dd9adc0 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/package.json +++ b/sdk/anomalydetector/ai-anomaly-detector/samples/v3/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/anomalydetector/ai-anomaly-detector", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector", "dependencies": { "@azure/ai-anomaly-detector": "next", "dotenv": "latest", diff --git a/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/package.json b/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/package.json index fc7e1dfeabb8..71b97da5ff4b 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/package.json +++ b/sdk/anomalydetector/ai-anomaly-detector/samples/v3/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/anomalydetector/ai-anomaly-detector", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector", "dependencies": { "@azure/ai-anomaly-detector": "next", "dotenv": "latest", diff --git a/sdk/apimanagement/arm-apimanagement/package.json b/sdk/apimanagement/arm-apimanagement/package.json index 7d5af0afd50f..18bb9cfd81c3 100644 --- a/sdk/apimanagement/arm-apimanagement/package.json +++ b/sdk/apimanagement/arm-apimanagement/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/apimanagement/arm-apimanagement", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/apimanagement/arm-apimanagement", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index 90c0dd71c775..4fac8deb4680 100644 --- a/sdk/appconfiguration/app-configuration/package.json +++ b/sdk/appconfiguration/app-configuration/package.json @@ -16,7 +16,7 @@ "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/app-configuration.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/appconfiguration/app-configuration/samples/v1/javascript/package.json b/sdk/appconfiguration/app-configuration/samples/v1/javascript/package.json index 70400b50dfec..dddad45e9a84 100644 --- a/sdk/appconfiguration/app-configuration/samples/v1/javascript/package.json +++ b/sdk/appconfiguration/app-configuration/samples/v1/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration", "dependencies": { "@azure/app-configuration": "next", "dotenv": "latest", diff --git a/sdk/appconfiguration/app-configuration/samples/v1/typescript/package.json b/sdk/appconfiguration/app-configuration/samples/v1/typescript/package.json index ad1f27e9ec43..06d577d777f0 100644 --- a/sdk/appconfiguration/app-configuration/samples/v1/typescript/package.json +++ b/sdk/appconfiguration/app-configuration/samples/v1/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/app-configuration", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration", "dependencies": { "@azure/app-configuration": "next", "dotenv": "latest", diff --git a/sdk/appconfiguration/arm-appconfiguration/package.json b/sdk/appconfiguration/arm-appconfiguration/package.json index 6f81951910db..b7c97791c578 100644 --- a/sdk/appconfiguration/arm-appconfiguration/package.json +++ b/sdk/appconfiguration/arm-appconfiguration/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appconfiguration/arm-appconfiguration", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/arm-appconfiguration", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/applicationinsights/applicationinsights-query/package.json b/sdk/applicationinsights/applicationinsights-query/package.json index abea06a59016..4856d2a660ac 100644 --- a/sdk/applicationinsights/applicationinsights-query/package.json +++ b/sdk/applicationinsights/applicationinsights-query/package.json @@ -24,7 +24,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/applicationinsights/applicationinsights-query", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/applicationinsights/applicationinsights-query", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/applicationinsights/arm-appinsights/package.json b/sdk/applicationinsights/arm-appinsights/package.json index 80a232e130be..86aa24dbac0b 100644 --- a/sdk/applicationinsights/arm-appinsights/package.json +++ b/sdk/applicationinsights/arm-appinsights/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/applicationinsights/arm-appinsights", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/applicationinsights/arm-appinsights", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/appplatform/arm-appplatform/package.json b/sdk/appplatform/arm-appplatform/package.json index a06921a62ed4..048062d2f2ef 100644 --- a/sdk/appplatform/arm-appplatform/package.json +++ b/sdk/appplatform/arm-appplatform/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appplatform/arm-appplatform", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appplatform/arm-appplatform", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/package.json b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/package.json index 277da139be4d..a481eea50d04 100644 --- a/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/package.json +++ b/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/appservice/arm-appservice/package.json b/sdk/appservice/arm-appservice/package.json index f9e4bb711cc9..5ffcf4b60522 100644 --- a/sdk/appservice/arm-appservice/package.json +++ b/sdk/appservice/arm-appservice/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appservice/arm-appservice", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appservice/arm-appservice", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/attestation/arm-attestation/package.json b/sdk/attestation/arm-attestation/package.json index ac8a0e7a0ae4..07337a0d6638 100644 --- a/sdk/attestation/arm-attestation/package.json +++ b/sdk/attestation/arm-attestation/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/attestation/arm-attestation", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/arm-attestation", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/attestation/attestation/package.json b/sdk/attestation/attestation/package.json index db295444f051..2647445d2884 100644 --- a/sdk/attestation/attestation/package.json +++ b/sdk/attestation/attestation/package.json @@ -83,7 +83,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/attestation/attestation/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/attestation/README.md", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/package.json b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/package.json index 87781da4466f..446f75987da0 100644 --- a/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/package.json +++ b/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid/package.json @@ -28,7 +28,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization-profile-2019-03-01-hybrid", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/package.json b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/package.json index 0a37484339f3..116c9e399a91 100644 --- a/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/package.json +++ b/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/authorization/arm-authorization/package.json b/sdk/authorization/arm-authorization/package.json index 88d8e11426ec..13554cbdc890 100644 --- a/sdk/authorization/arm-authorization/package.json +++ b/sdk/authorization/arm-authorization/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/authorization/arm-authorization", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/authorization/arm-authorization", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/automation/arm-automation/package.json b/sdk/automation/arm-automation/package.json index 91183c924834..3b093314045a 100644 --- a/sdk/automation/arm-automation/package.json +++ b/sdk/automation/arm-automation/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/automation/arm-automation", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/automation/arm-automation", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/avs/arm-avs/package.json b/sdk/avs/arm-avs/package.json index 9c5754bc7f3c..6cac221a8bca 100644 --- a/sdk/avs/arm-avs/package.json +++ b/sdk/avs/arm-avs/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/avs/arm-avs", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/avs/arm-avs", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/azurestack/arm-azurestack/package.json b/sdk/azurestack/arm-azurestack/package.json index 8e8e7384f0d9..b56b53a85d67 100644 --- a/sdk/azurestack/arm-azurestack/package.json +++ b/sdk/azurestack/arm-azurestack/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/azurestack/arm-azurestack", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azurestack/arm-azurestack", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/azurestackhci/arm-azurestackhci/package.json b/sdk/azurestackhci/arm-azurestackhci/package.json index 1406e3a30a9a..2ac277230b0d 100644 --- a/sdk/azurestackhci/arm-azurestackhci/package.json +++ b/sdk/azurestackhci/arm-azurestackhci/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/azurestackhci/arm-azurestackhci", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azurestackhci/arm-azurestackhci", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/batch/batch/package.json b/sdk/batch/batch/package.json index 3f310a104523..450cfce5e38d 100644 --- a/sdk/batch/batch/package.json +++ b/sdk/batch/batch/package.json @@ -47,7 +47,7 @@ "esm": "^3.2.25", "ts-node": "^8.3.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/batch/batch", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/batch/batch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/batchai/arm-batchai/package.json b/sdk/batchai/arm-batchai/package.json index e33f70db0f1b..4e76a07f6ec8 100644 --- a/sdk/batchai/arm-batchai/package.json +++ b/sdk/batchai/arm-batchai/package.json @@ -26,7 +26,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/batchai/arm-batchai", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/batchai/arm-batchai", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/billing/arm-billing/package.json b/sdk/billing/arm-billing/package.json index 60c50b6e29f5..dfa45326cba5 100644 --- a/sdk/billing/arm-billing/package.json +++ b/sdk/billing/arm-billing/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/billing/arm-billing", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/billing/arm-billing", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/botservice/arm-botservice/package.json b/sdk/botservice/arm-botservice/package.json index e68418ca9547..b7a3d0fead4f 100644 --- a/sdk/botservice/arm-botservice/package.json +++ b/sdk/botservice/arm-botservice/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/botservice/arm-botservice", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/botservice/arm-botservice", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cdn/arm-cdn/package.json b/sdk/cdn/arm-cdn/package.json index d9a34566a5e9..974d18cf4424 100644 --- a/sdk/cdn/arm-cdn/package.json +++ b/sdk/cdn/arm-cdn/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cdn/arm-cdn", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cdn/arm-cdn", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/changeanalysis/arm-changeanalysis/package.json b/sdk/changeanalysis/arm-changeanalysis/package.json index 9a81486953c0..03152f03fa84 100644 --- a/sdk/changeanalysis/arm-changeanalysis/package.json +++ b/sdk/changeanalysis/arm-changeanalysis/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/changeanalysis/arm-changeanalysis", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/changeanalysis/arm-changeanalysis", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/arm-cognitiveservices/package.json b/sdk/cognitiveservices/arm-cognitiveservices/package.json index ffc156908ced..c101efdc1aed 100644 --- a/sdk/cognitiveservices/arm-cognitiveservices/package.json +++ b/sdk/cognitiveservices/arm-cognitiveservices/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/arm-cognitiveservices", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/arm-cognitiveservices", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-anomalydetector/package.json b/sdk/cognitiveservices/cognitiveservices-anomalydetector/package.json index c0891ef951d2..efb6a15b120d 100644 --- a/sdk/cognitiveservices/cognitiveservices-anomalydetector/package.json +++ b/sdk/cognitiveservices/cognitiveservices-anomalydetector/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-anomalydetector", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-anomalydetector", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-autosuggest/package.json b/sdk/cognitiveservices/cognitiveservices-autosuggest/package.json index 0d58fffd666c..976acebcc73c 100644 --- a/sdk/cognitiveservices/cognitiveservices-autosuggest/package.json +++ b/sdk/cognitiveservices/cognitiveservices-autosuggest/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-autosuggest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-autosuggest", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-computervision/package.json b/sdk/cognitiveservices/cognitiveservices-computervision/package.json index 10d8b4b31bed..3a48403c35e7 100644 --- a/sdk/cognitiveservices/cognitiveservices-computervision/package.json +++ b/sdk/cognitiveservices/cognitiveservices-computervision/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-computervision", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-computervision", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-contentmoderator/package.json b/sdk/cognitiveservices/cognitiveservices-contentmoderator/package.json index 0aef77f8f540..cf4fa646f381 100644 --- a/sdk/cognitiveservices/cognitiveservices-contentmoderator/package.json +++ b/sdk/cognitiveservices/cognitiveservices-contentmoderator/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-contentmoderator", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-contentmoderator", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-customimagesearch/package.json b/sdk/cognitiveservices/cognitiveservices-customimagesearch/package.json index 8bc2ab8dea64..066d554a00f7 100644 --- a/sdk/cognitiveservices/cognitiveservices-customimagesearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-customimagesearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-customimagesearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-customimagesearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-customsearch/package.json b/sdk/cognitiveservices/cognitiveservices-customsearch/package.json index e191ce67d925..218286caf701 100644 --- a/sdk/cognitiveservices/cognitiveservices-customsearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-customsearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-customsearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-customsearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-customvision-prediction/package.json b/sdk/cognitiveservices/cognitiveservices-customvision-prediction/package.json index dcd65543f6c2..cbba1d4dfe78 100644 --- a/sdk/cognitiveservices/cognitiveservices-customvision-prediction/package.json +++ b/sdk/cognitiveservices/cognitiveservices-customvision-prediction/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-customvision-prediction", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-customvision-prediction", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-customvision-training/package.json b/sdk/cognitiveservices/cognitiveservices-customvision-training/package.json index 66c6ad641c5c..58cf76f30ecd 100644 --- a/sdk/cognitiveservices/cognitiveservices-customvision-training/package.json +++ b/sdk/cognitiveservices/cognitiveservices-customvision-training/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-customvision-training", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-customvision-training", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-entitysearch/package.json b/sdk/cognitiveservices/cognitiveservices-entitysearch/package.json index e324260e2973..2d9d1764f19f 100644 --- a/sdk/cognitiveservices/cognitiveservices-entitysearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-entitysearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-entitysearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-entitysearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-face/package.json b/sdk/cognitiveservices/cognitiveservices-face/package.json index 6631272aa7a0..4b07761a3a37 100644 --- a/sdk/cognitiveservices/cognitiveservices-face/package.json +++ b/sdk/cognitiveservices/cognitiveservices-face/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-face", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-face", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-formrecognizer/package.json b/sdk/cognitiveservices/cognitiveservices-formrecognizer/package.json index 25dfecfceaeb..df3be6d87f2b 100644 --- a/sdk/cognitiveservices/cognitiveservices-formrecognizer/package.json +++ b/sdk/cognitiveservices/cognitiveservices-formrecognizer/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-formrecognizer", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-formrecognizer", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-imagesearch/package.json b/sdk/cognitiveservices/cognitiveservices-imagesearch/package.json index fc7427781dae..256c62b713c9 100644 --- a/sdk/cognitiveservices/cognitiveservices-imagesearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-imagesearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-imagesearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-imagesearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-localsearch/package.json b/sdk/cognitiveservices/cognitiveservices-localsearch/package.json index be454f87f6ca..db6d5485912b 100644 --- a/sdk/cognitiveservices/cognitiveservices-localsearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-localsearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-localsearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-localsearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-luis-authoring/package.json b/sdk/cognitiveservices/cognitiveservices-luis-authoring/package.json index 2b60b1d3f516..90a8146c7d0c 100644 --- a/sdk/cognitiveservices/cognitiveservices-luis-authoring/package.json +++ b/sdk/cognitiveservices/cognitiveservices-luis-authoring/package.json @@ -32,7 +32,7 @@ "uglify-js": "^3.4.9", "ts-mocha": "^6.0.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-luis-authoring", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-luis-authoring", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-luis-runtime/package.json b/sdk/cognitiveservices/cognitiveservices-luis-runtime/package.json index d394f542e15c..e4eb77017855 100644 --- a/sdk/cognitiveservices/cognitiveservices-luis-runtime/package.json +++ b/sdk/cognitiveservices/cognitiveservices-luis-runtime/package.json @@ -32,7 +32,7 @@ "uglify-js": "^3.4.9", "ts-mocha": "^6.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-luis-runtime", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-luis-runtime", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-newssearch/package.json b/sdk/cognitiveservices/cognitiveservices-newssearch/package.json index 380757cf1508..f20ee4a82f65 100644 --- a/sdk/cognitiveservices/cognitiveservices-newssearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-newssearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-newssearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-newssearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-personalizer/package.json b/sdk/cognitiveservices/cognitiveservices-personalizer/package.json index 68f5f2f45ddc..c739e09a553e 100644 --- a/sdk/cognitiveservices/cognitiveservices-personalizer/package.json +++ b/sdk/cognitiveservices/cognitiveservices-personalizer/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-personalizer", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-personalizer", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-qnamaker-runtime/package.json b/sdk/cognitiveservices/cognitiveservices-qnamaker-runtime/package.json index d553650cfa52..927bf66fb616 100644 --- a/sdk/cognitiveservices/cognitiveservices-qnamaker-runtime/package.json +++ b/sdk/cognitiveservices/cognitiveservices-qnamaker-runtime/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-qnamaker-runtime", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-qnamaker-runtime", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-qnamaker/package.json b/sdk/cognitiveservices/cognitiveservices-qnamaker/package.json index 488f10f02e93..ed8b2d9aef5b 100644 --- a/sdk/cognitiveservices/cognitiveservices-qnamaker/package.json +++ b/sdk/cognitiveservices/cognitiveservices-qnamaker/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-qnamaker", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-qnamaker", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-spellcheck/package.json b/sdk/cognitiveservices/cognitiveservices-spellcheck/package.json index 3279e0074adf..4a9d85c55419 100644 --- a/sdk/cognitiveservices/cognitiveservices-spellcheck/package.json +++ b/sdk/cognitiveservices/cognitiveservices-spellcheck/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-spellcheck", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-spellcheck", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-textanalytics/package.json b/sdk/cognitiveservices/cognitiveservices-textanalytics/package.json index 1347d017cff5..60835635f5e0 100644 --- a/sdk/cognitiveservices/cognitiveservices-textanalytics/package.json +++ b/sdk/cognitiveservices/cognitiveservices-textanalytics/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-textanalytics", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-textanalytics", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-translatortext/package.json b/sdk/cognitiveservices/cognitiveservices-translatortext/package.json index ede6d790ac72..6dc20f94e3c7 100644 --- a/sdk/cognitiveservices/cognitiveservices-translatortext/package.json +++ b/sdk/cognitiveservices/cognitiveservices-translatortext/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-translatortext", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-translatortext", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-videosearch/package.json b/sdk/cognitiveservices/cognitiveservices-videosearch/package.json index d9516a583a78..8efb1548ff05 100644 --- a/sdk/cognitiveservices/cognitiveservices-videosearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-videosearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-videosearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-videosearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-visualsearch/package.json b/sdk/cognitiveservices/cognitiveservices-visualsearch/package.json index 052c5972ddaf..42f4d9171b53 100644 --- a/sdk/cognitiveservices/cognitiveservices-visualsearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-visualsearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-visualsearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-visualsearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cognitiveservices/cognitiveservices-websearch/package.json b/sdk/cognitiveservices/cognitiveservices-websearch/package.json index 8294d316b8a6..92cb4dd1d866 100644 --- a/sdk/cognitiveservices/cognitiveservices-websearch/package.json +++ b/sdk/cognitiveservices/cognitiveservices-websearch/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cognitiveservices/cognitiveservices-websearch", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitiveservices/cognitiveservices-websearch", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/package.json b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/package.json index 5dc45d4a25f4..ef7d4986acd6 100644 --- a/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/package.json +++ b/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/commerce/arm-commerce-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/commerce/arm-commerce/package.json b/sdk/commerce/arm-commerce/package.json index 286ef12b9e29..35bab095144f 100644 --- a/sdk/commerce/arm-commerce/package.json +++ b/sdk/commerce/arm-commerce/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/commerce/arm-commerce", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/commerce/arm-commerce", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/communication/arm-communication/package.json b/sdk/communication/arm-communication/package.json index fd787d7dbae8..fa5034a17b65 100644 --- a/sdk/communication/arm-communication/package.json +++ b/sdk/communication/arm-communication/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/arm-communication", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/arm-communication", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index d646a102ae89..cf43a25914f2 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -60,7 +60,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-chat/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-chat/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/communication/communication-chat/samples/v1/javascript/package.json b/sdk/communication/communication-chat/samples/v1/javascript/package.json index 71582936a58a..29ab8188f8d7 100644 --- a/sdk/communication/communication-chat/samples/v1/javascript/package.json +++ b/sdk/communication/communication-chat/samples/v1/javascript/package.json @@ -23,7 +23,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-chat", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-chat", "dependencies": { "@azure/communication-chat": "next", "dotenv": "latest", diff --git a/sdk/communication/communication-chat/samples/v1/typescript/package.json b/sdk/communication/communication-chat/samples/v1/typescript/package.json index 2aa74539c518..6abd1dca2e44 100644 --- a/sdk/communication/communication-chat/samples/v1/typescript/package.json +++ b/sdk/communication/communication-chat/samples/v1/typescript/package.json @@ -27,7 +27,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-chat", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-chat", "dependencies": { "@azure/communication-chat": "next", "dotenv": "latest", diff --git a/sdk/communication/communication-common/package.json b/sdk/communication/communication-common/package.json index 92b999b32e86..954c77594af7 100644 --- a/sdk/communication/communication-common/package.json +++ b/sdk/communication/communication-common/package.json @@ -59,7 +59,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-common/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-common/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/communication/communication-identity/package.json b/sdk/communication/communication-identity/package.json index 70ffa5434c30..f8dd78cee1ff 100644 --- a/sdk/communication/communication-identity/package.json +++ b/sdk/communication/communication-identity/package.json @@ -65,7 +65,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-identity/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-identity/", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/communication/communication-identity/samples/v1/javascript/package.json b/sdk/communication/communication-identity/samples/v1/javascript/package.json index 9ed618e10cae..aa83fa0959d6 100644 --- a/sdk/communication/communication-identity/samples/v1/javascript/package.json +++ b/sdk/communication/communication-identity/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-identity", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-identity", "dependencies": { "@azure/communication-identity": "latest", "dotenv": "latest" diff --git a/sdk/communication/communication-identity/samples/v1/typescript/package.json b/sdk/communication/communication-identity/samples/v1/typescript/package.json index 568bf0d5b2ee..4a3936d52c92 100644 --- a/sdk/communication/communication-identity/samples/v1/typescript/package.json +++ b/sdk/communication/communication-identity/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-identity", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-identity", "dependencies": { "@azure/communication-identity": "latest", "dotenv": "latest" diff --git a/sdk/communication/communication-network-traversal/package.json b/sdk/communication/communication-network-traversal/package.json index 7b3076ccc711..6b46cbb27c3a 100644 --- a/sdk/communication/communication-network-traversal/package.json +++ b/sdk/communication/communication-network-traversal/package.json @@ -65,7 +65,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/communication/communication-network-traversal/samples/v1/javascript/package.json b/sdk/communication/communication-network-traversal/samples/v1/javascript/package.json index 109c87e86a32..489c56749ce9 100644 --- a/sdk/communication/communication-network-traversal/samples/v1/javascript/package.json +++ b/sdk/communication/communication-network-traversal/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-network-traversal", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-network-traversal", "dependencies": { "@azure/communication-network-traversal": "next", "dotenv": "latest", diff --git a/sdk/communication/communication-network-traversal/samples/v1/typescript/package.json b/sdk/communication/communication-network-traversal/samples/v1/typescript/package.json index 3e3384849db7..b7c6d4d5db8e 100644 --- a/sdk/communication/communication-network-traversal/samples/v1/typescript/package.json +++ b/sdk/communication/communication-network-traversal/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-network-traversal", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-network-traversal", "dependencies": { "@azure/communication-network-traversal": "next", "dotenv": "latest", diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index 94b1226c93c6..dd384db1e6d2 100644 --- a/sdk/communication/communication-phone-numbers/package.json +++ b/sdk/communication/communication-phone-numbers/package.json @@ -53,7 +53,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-phone-numbers/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-phone-numbers/", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/communication/communication-phone-numbers/samples/v1/javascript/package.json b/sdk/communication/communication-phone-numbers/samples/v1/javascript/package.json index e6de51487814..4cc1456748c5 100644 --- a/sdk/communication/communication-phone-numbers/samples/v1/javascript/package.json +++ b/sdk/communication/communication-phone-numbers/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-phone-numbers", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-phone-numbers", "dependencies": { "@azure/communication-phone-numbers": "next", "dotenv": "latest" diff --git a/sdk/communication/communication-phone-numbers/samples/v1/typescript/package.json b/sdk/communication/communication-phone-numbers/samples/v1/typescript/package.json index d650959942bc..c16130b22001 100644 --- a/sdk/communication/communication-phone-numbers/samples/v1/typescript/package.json +++ b/sdk/communication/communication-phone-numbers/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-phone-numbers", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-phone-numbers", "dependencies": { "@azure/communication-phone-numbers": "next", "dotenv": "latest" diff --git a/sdk/communication/communication-sms/package.json b/sdk/communication/communication-sms/package.json index 6ddf7b497368..6365d9ccf707 100644 --- a/sdk/communication/communication-sms/package.json +++ b/sdk/communication/communication-sms/package.json @@ -61,7 +61,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-sms/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-sms/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/communication/communication-sms/samples/v1/javascript/package.json b/sdk/communication/communication-sms/samples/v1/javascript/package.json index 815330776063..cfa86fbdd090 100644 --- a/sdk/communication/communication-sms/samples/v1/javascript/package.json +++ b/sdk/communication/communication-sms/samples/v1/javascript/package.json @@ -23,7 +23,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-sms", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-sms", "dependencies": { "@azure/communication-sms": "latest", "dotenv": "latest", diff --git a/sdk/communication/communication-sms/samples/v1/typescript/package.json b/sdk/communication/communication-sms/samples/v1/typescript/package.json index a88324512403..57f7927a1fb7 100644 --- a/sdk/communication/communication-sms/samples/v1/typescript/package.json +++ b/sdk/communication/communication-sms/samples/v1/typescript/package.json @@ -27,7 +27,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/communication/communication-sms", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-sms", "dependencies": { "@azure/communication-sms": "latest", "dotenv": "latest", diff --git a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json index 196ec72599b6..97c125755b25 100644 --- a/sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json +++ b/sdk/compute/arm-compute-profile-2019-03-01-hybrid/package.json @@ -28,7 +28,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute-profile-2019-03-01-hybrid", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute-profile-2019-03-01-hybrid", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json index 70f0b176486a..096bc7efff70 100644 --- a/sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json +++ b/sdk/compute/arm-compute-profile-2020-09-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/compute/arm-compute/package.json b/sdk/compute/arm-compute/package.json index c48f50b385fa..cb382df80381 100644 --- a/sdk/compute/arm-compute/package.json +++ b/sdk/compute/arm-compute/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/compute/arm-compute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/confidentialledger/confidential-ledger-rest/package.json b/sdk/confidentialledger/confidential-ledger-rest/package.json index fd5adcd4afce..c5d7755449cc 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/package.json +++ b/sdk/confidentialledger/confidential-ledger-rest/package.json @@ -16,7 +16,7 @@ "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/confidential-ledger.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/confidentialledger/confidential-ledger-rest/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confidentialledger/confidential-ledger-rest/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/confidentialledger/confidential-ledger-rest/samples/v1/javascript/package.json b/sdk/confidentialledger/confidential-ledger-rest/samples/v1/javascript/package.json index 5285a11b13c4..f962ebd6227a 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/samples/v1/javascript/package.json +++ b/sdk/confidentialledger/confidential-ledger-rest/samples/v1/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/confidentialledger/confidential-ledger-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confidentialledger/confidential-ledger-rest", "dependencies": { "@azure-rest/confidential-ledger": "next", "dotenv": "latest", diff --git a/sdk/confidentialledger/confidential-ledger-rest/samples/v1/typescript/package.json b/sdk/confidentialledger/confidential-ledger-rest/samples/v1/typescript/package.json index 2a6e67a353c8..f0bc50909aef 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/samples/v1/typescript/package.json +++ b/sdk/confidentialledger/confidential-ledger-rest/samples/v1/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/confidentialledger/confidential-ledger-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confidentialledger/confidential-ledger-rest", "dependencies": { "@azure-rest/confidential-ledger": "next", "dotenv": "latest", diff --git a/sdk/confluent/arm-confluent/package.json b/sdk/confluent/arm-confluent/package.json index c162f30e8f5e..da71fa1ac326 100644 --- a/sdk/confluent/arm-confluent/package.json +++ b/sdk/confluent/arm-confluent/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/confluent/arm-confluent", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/confluent/arm-confluent", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/consumption/arm-consumption/package.json b/sdk/consumption/arm-consumption/package.json index d1928028ae1c..b1ebe75e9646 100644 --- a/sdk/consumption/arm-consumption/package.json +++ b/sdk/consumption/arm-consumption/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/consumption/arm-consumption", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/consumption/arm-consumption", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/containerinstance/arm-containerinstance/package.json b/sdk/containerinstance/arm-containerinstance/package.json index 79fcc23fb81d..57537349e9c6 100644 --- a/sdk/containerinstance/arm-containerinstance/package.json +++ b/sdk/containerinstance/arm-containerinstance/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerinstance/arm-containerinstance", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/containerregistry/arm-containerregistry/package.json b/sdk/containerregistry/arm-containerregistry/package.json index fb2c5594ce96..ee74f4be5381 100644 --- a/sdk/containerregistry/arm-containerregistry/package.json +++ b/sdk/containerregistry/arm-containerregistry/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerregistry/arm-containerregistry", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/arm-containerregistry", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/containerregistry/container-registry/package.json b/sdk/containerregistry/container-registry/package.json index 58e4c2a27d00..ff18b91998b7 100644 --- a/sdk/containerregistry/container-registry/package.json +++ b/sdk/containerregistry/container-registry/package.json @@ -76,7 +76,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/containerregistry/container-registry/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/container-registry/README.md", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/containerregistry/container-registry/samples/v1/javascript/package.json b/sdk/containerregistry/container-registry/samples/v1/javascript/package.json index 9bdd65f51ca7..0814304b6cd8 100644 --- a/sdk/containerregistry/container-registry/samples/v1/javascript/package.json +++ b/sdk/containerregistry/container-registry/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerregistry/container-registry", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/container-registry", "dependencies": { "@azure/container-registry": "next", "dotenv": "latest", diff --git a/sdk/containerregistry/container-registry/samples/v1/typescript/package.json b/sdk/containerregistry/container-registry/samples/v1/typescript/package.json index 45acb92c751d..75886328da89 100644 --- a/sdk/containerregistry/container-registry/samples/v1/typescript/package.json +++ b/sdk/containerregistry/container-registry/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerregistry/container-registry", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerregistry/container-registry", "dependencies": { "@azure/container-registry": "next", "dotenv": "latest", diff --git a/sdk/containerservice/arm-containerservice/package.json b/sdk/containerservice/arm-containerservice/package.json index 77ccc2090831..7603177c7924 100644 --- a/sdk/containerservice/arm-containerservice/package.json +++ b/sdk/containerservice/arm-containerservice/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerservice/arm-containerservice", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/core/abort-controller/package.json b/sdk/core/abort-controller/package.json index 3f43fb4b387b..ce0d23916447 100644 --- a/sdk/core/abort-controller/package.json +++ b/sdk/core/abort-controller/package.json @@ -74,7 +74,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/abort-controller/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/abort-controller/README.md", "sideEffects": false, "dependencies": { "tslib": "^2.2.0" diff --git a/sdk/core/core-amqp/package.json b/sdk/core/core-amqp/package.json index 5699ef550ad0..8cb51a8531f8 100644 --- a/sdk/core/core-amqp/package.json +++ b/sdk/core/core-amqp/package.json @@ -62,7 +62,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-amqp/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-amqp/README.md", "sideEffects": false, "repository": "github:Azure/azure-sdk-for-js", "bugs": { diff --git a/sdk/core/core-asynciterator-polyfill/package.json b/sdk/core/core-asynciterator-polyfill/package.json index 6409de41b347..3d6168f18ac4 100644 --- a/sdk/core/core-asynciterator-polyfill/package.json +++ b/sdk/core/core-asynciterator-polyfill/package.json @@ -25,7 +25,7 @@ "node": ">=8.0.0" }, "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-asynciterator-polyfill/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-asynciterator-polyfill/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/core/core-auth/package.json b/sdk/core/core-auth/package.json index e263677a4269..9b804989c99c 100644 --- a/sdk/core/core-auth/package.json +++ b/sdk/core/core-auth/package.json @@ -63,7 +63,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-auth/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-auth/README.md", "sideEffects": false, "dependencies": { "@azure/abort-controller": "^1.0.0", diff --git a/sdk/core/core-client-rest/package.json b/sdk/core/core-client-rest/package.json index a3862cc2bca6..8782bb3644e3 100644 --- a/sdk/core/core-client-rest/package.json +++ b/sdk/core/core-client-rest/package.json @@ -57,7 +57,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-client-rest/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-rest/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index 7f80a4f62796..75ae43754150 100644 --- a/sdk/core/core-client/package.json +++ b/sdk/core/core-client/package.json @@ -72,7 +72,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-client/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/core/core-crypto/package.json b/sdk/core/core-crypto/package.json index fcb05b8fca92..00afa9885f07 100644 --- a/sdk/core/core-crypto/package.json +++ b/sdk/core/core-crypto/package.json @@ -71,7 +71,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-crypto/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-crypto/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/core/core-http/package.json b/sdk/core/core-http/package.json index 0744f4a118b2..74a6e273279e 100644 --- a/sdk/core/core-http/package.json +++ b/sdk/core/core-http/package.json @@ -57,7 +57,7 @@ "./dist-esm/src/util/url.js": "./dist-esm/src/util/url.browser.js" }, "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-http/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-http/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index 1ce6fba36af4..541fbdd231f3 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -42,7 +42,7 @@ "process": false }, "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-lro/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-lro/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/core/core-paging/package.json b/sdk/core/core-paging/package.json index 24a722a330fa..50f6031858b4 100644 --- a/sdk/core/core-paging/package.json +++ b/sdk/core/core-paging/package.json @@ -36,7 +36,7 @@ "node": ">=8.0.0" }, "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-paging/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-paging/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/core/core-rest-pipeline/package.json b/sdk/core/core-rest-pipeline/package.json index 75e7e6aa5e6c..2760c6257af5 100644 --- a/sdk/core/core-rest-pipeline/package.json +++ b/sdk/core/core-rest-pipeline/package.json @@ -79,7 +79,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-rest-pipeline/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "//metadata": { diff --git a/sdk/core/core-rest-pipeline/samples/v1/javascript/package.json b/sdk/core/core-rest-pipeline/samples/v1/javascript/package.json index b8872c697ca0..5b13979b381e 100644 --- a/sdk/core/core-rest-pipeline/samples/v1/javascript/package.json +++ b/sdk/core/core-rest-pipeline/samples/v1/javascript/package.json @@ -20,7 +20,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-rest-pipeline", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline", "dependencies": { "@azure/core-rest-pipeline": "next", "dotenv": "latest" diff --git a/sdk/core/core-rest-pipeline/samples/v1/typescript/package.json b/sdk/core/core-rest-pipeline/samples/v1/typescript/package.json index 27d4488f82bf..8da5e6dddd63 100644 --- a/sdk/core/core-rest-pipeline/samples/v1/typescript/package.json +++ b/sdk/core/core-rest-pipeline/samples/v1/typescript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-rest-pipeline", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-rest-pipeline", "dependencies": { "@azure/core-rest-pipeline": "next", "dotenv": "latest" diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index e59f994cab94..e18afe6c98a7 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -57,7 +57,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/README.md", "sideEffects": false, "dependencies": { "@opentelemetry/api": "^1.0.0", diff --git a/sdk/core/core-util/package.json b/sdk/core/core-util/package.json index 52f499a0373b..183336377de0 100644 --- a/sdk/core/core-util/package.json +++ b/sdk/core/core-util/package.json @@ -64,7 +64,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-util/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/core/core-xml/package.json b/sdk/core/core-xml/package.json index bd7e35680311..db57ef7ae1e5 100644 --- a/sdk/core/core-xml/package.json +++ b/sdk/core/core-xml/package.json @@ -71,7 +71,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-xml/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-xml/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/core/logger/package.json b/sdk/core/logger/package.json index ab7e72fa833d..28a453becd0e 100644 --- a/sdk/core/logger/package.json +++ b/sdk/core/logger/package.json @@ -65,7 +65,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/logger/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger/README.md", "sideEffects": false, "dependencies": { "tslib": "^2.2.0" diff --git a/sdk/cosmosdb/arm-cosmosdb/package.json b/sdk/cosmosdb/arm-cosmosdb/package.json index 65bc0efd7133..f32cdbf59391 100644 --- a/sdk/cosmosdb/arm-cosmosdb/package.json +++ b/sdk/cosmosdb/arm-cosmosdb/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cosmosdb/arm-cosmosdb", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/arm-cosmosdb", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/cosmosdb/cosmos/package.json b/sdk/cosmosdb/cosmos/package.json index 13454db899f1..b7fe171f8e98 100644 --- a/sdk/cosmosdb/cosmos/package.json +++ b/sdk/cosmosdb/cosmos/package.json @@ -32,7 +32,7 @@ "README.md", "LICENSE" ], - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cosmosdb/cosmos/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/cosmos/README.md", "sideEffects": false, "types": "./dist/types/latest/cosmos.d.ts", "typesVersions": { diff --git a/sdk/customer-insights/arm-customerinsights/package.json b/sdk/customer-insights/arm-customerinsights/package.json index 89b51667d0dc..5ef0f595af5f 100644 --- a/sdk/customer-insights/arm-customerinsights/package.json +++ b/sdk/customer-insights/arm-customerinsights/package.json @@ -26,7 +26,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/customer-insights/arm-customerinsights", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/customer-insights/arm-customerinsights", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/databox/arm-databox/package.json b/sdk/databox/arm-databox/package.json index b36129702a4b..16cd93139780 100644 --- a/sdk/databox/arm-databox/package.json +++ b/sdk/databox/arm-databox/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/databox/arm-databox", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/databox/arm-databox", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/package.json b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/package.json index b3376a9cd60b..ab84c75a50f7 100644 --- a/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/package.json +++ b/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/databoxedge/arm-databoxedge/package.json b/sdk/databoxedge/arm-databoxedge/package.json index 2015769b0aa7..737451b0934f 100644 --- a/sdk/databoxedge/arm-databoxedge/package.json +++ b/sdk/databoxedge/arm-databoxedge/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/databoxedge/arm-databoxedge", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/databoxedge/arm-databoxedge", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/databricks/arm-databricks/package.json b/sdk/databricks/arm-databricks/package.json index bbb647556acb..bf9a5c43a413 100644 --- a/sdk/databricks/arm-databricks/package.json +++ b/sdk/databricks/arm-databricks/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/databricks/arm-databricks", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/databricks/arm-databricks", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/datacatalog/arm-datacatalog/package.json b/sdk/datacatalog/arm-datacatalog/package.json index ddfea4198254..d14331b4d263 100644 --- a/sdk/datacatalog/arm-datacatalog/package.json +++ b/sdk/datacatalog/arm-datacatalog/package.json @@ -26,7 +26,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/datacatalog/arm-datacatalog", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/datacatalog/arm-datacatalog", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/datadog/arm-datadog/package.json b/sdk/datadog/arm-datadog/package.json index b72d38cfd121..8ba72f35e2a9 100644 --- a/sdk/datadog/arm-datadog/package.json +++ b/sdk/datadog/arm-datadog/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/datadog/arm-datadog", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datadog/arm-datadog", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/datafactory/arm-datafactory/package.json b/sdk/datafactory/arm-datafactory/package.json index 86bb470d5dc6..b58ebbd9c0e7 100644 --- a/sdk/datafactory/arm-datafactory/package.json +++ b/sdk/datafactory/arm-datafactory/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/datafactory/arm-datafactory", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/datalake-analytics/arm-datalake-analytics/package.json b/sdk/datalake-analytics/arm-datalake-analytics/package.json index 2b5c2dc3b789..51b4c33b85f9 100644 --- a/sdk/datalake-analytics/arm-datalake-analytics/package.json +++ b/sdk/datalake-analytics/arm-datalake-analytics/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/datalake-analytics/arm-datalake-analytics", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datalake-analytics/arm-datalake-analytics", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/datamigration/arm-datamigration/package.json b/sdk/datamigration/arm-datamigration/package.json index a43508d985e7..a3596c215d2d 100644 --- a/sdk/datamigration/arm-datamigration/package.json +++ b/sdk/datamigration/arm-datamigration/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/datamigration/arm-datamigration", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datamigration/arm-datamigration", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/deploymentmanager/arm-deploymentmanager/package.json b/sdk/deploymentmanager/arm-deploymentmanager/package.json index 90ff4f703456..16e1a1791988 100644 --- a/sdk/deploymentmanager/arm-deploymentmanager/package.json +++ b/sdk/deploymentmanager/arm-deploymentmanager/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/deploymentmanager/arm-deploymentmanager", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deploymentmanager/arm-deploymentmanager", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json index bbca9abf56cb..4e474c5b2d93 100644 --- a/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json +++ b/sdk/deviceprovisioningservices/arm-deviceprovisioningservices/package.json @@ -26,7 +26,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/deviceprovisioningservices/arm-deviceprovisioningservices", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/deviceprovisioningservices/arm-deviceprovisioningservices", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/deviceupdate/iot-device-update/samples/v1/javascript/package.json b/sdk/deviceupdate/iot-device-update/samples/v1/javascript/package.json index 42212631be9f..4b49e7de29e6 100644 --- a/sdk/deviceupdate/iot-device-update/samples/v1/javascript/package.json +++ b/sdk/deviceupdate/iot-device-update/samples/v1/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/deviceupdate/iot-device-update", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update", "dependencies": { "@azure/iot-device-update": "next", "dotenv": "latest", diff --git a/sdk/deviceupdate/iot-device-update/samples/v1/typescript/package.json b/sdk/deviceupdate/iot-device-update/samples/v1/typescript/package.json index 6ab79fc39ac4..eac957d57ab8 100644 --- a/sdk/deviceupdate/iot-device-update/samples/v1/typescript/package.json +++ b/sdk/deviceupdate/iot-device-update/samples/v1/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/deviceupdate/iot-device-update", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update", "dependencies": { "@azure/iot-device-update": "next", "dotenv": "latest", diff --git a/sdk/devspaces/arm-devspaces/package.json b/sdk/devspaces/arm-devspaces/package.json index f03e14c74c35..ee5299518048 100644 --- a/sdk/devspaces/arm-devspaces/package.json +++ b/sdk/devspaces/arm-devspaces/package.json @@ -26,7 +26,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/devspaces/arm-devspaces", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/devspaces/arm-devspaces", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/devtestlabs/arm-devtestlabs/package.json b/sdk/devtestlabs/arm-devtestlabs/package.json index 28853c7a5ef9..92b1cf869dc0 100644 --- a/sdk/devtestlabs/arm-devtestlabs/package.json +++ b/sdk/devtestlabs/arm-devtestlabs/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/devtestlabs/arm-devtestlabs", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/devtestlabs/arm-devtestlabs", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/digitaltwins/arm-digitaltwins/package.json b/sdk/digitaltwins/arm-digitaltwins/package.json index 6aacd298921d..e13bc848ee97 100644 --- a/sdk/digitaltwins/arm-digitaltwins/package.json +++ b/sdk/digitaltwins/arm-digitaltwins/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/digitaltwins/arm-digitaltwins", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/arm-digitaltwins", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/digitaltwins/digital-twins-core/package.json b/sdk/digitaltwins/digital-twins-core/package.json index c4591955c1e0..c34f53b5efbc 100644 --- a/sdk/digitaltwins/digital-twins-core/package.json +++ b/sdk/digitaltwins/digital-twins-core/package.json @@ -61,7 +61,7 @@ "isomorphic" ], "repository": "github:Azure/azure-sdk-for-js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/digitaltwins/digital-twins-core/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/digital-twins-core/", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, diff --git a/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/package.json b/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/package.json index fefd1a10c706..1f6ab8709e34 100644 --- a/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/package.json +++ b/sdk/digitaltwins/digital-twins-core/samples/v1/javascript/package.json @@ -27,7 +27,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/digitaltwins/digital-twins-core", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/digital-twins-core", "dependencies": { "@azure/digital-twins-core": "latest", "dotenv": "latest", diff --git a/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/package.json b/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/package.json index 2757ca164288..3eb3d5505050 100644 --- a/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/package.json +++ b/sdk/digitaltwins/digital-twins-core/samples/v1/typescript/package.json @@ -31,7 +31,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/digitaltwins/digital-twins-core", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/digitaltwins/digital-twins-core", "dependencies": { "@azure/digital-twins-core": "latest", "dotenv": "latest", diff --git a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json index b56a0ef5a27f..9f556013de7d 100644 --- a/sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json +++ b/sdk/dns/arm-dns-profile-2019-03-01-hybrid/package.json @@ -28,7 +28,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/dns/arm-dns-profile-2019-03-01-hybrid", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/dns/arm-dns-profile-2019-03-01-hybrid", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json index 5a483aeed58a..a3e6eef5ec3a 100644 --- a/sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json +++ b/sdk/dns/arm-dns-profile-2020-09-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/dns/arm-dns-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dns/arm-dns-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/dns/arm-dns/package.json b/sdk/dns/arm-dns/package.json index eb6cee0c9b59..37bcfae3c4ae 100644 --- a/sdk/dns/arm-dns/package.json +++ b/sdk/dns/arm-dns/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/dns/arm-dns", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/dns/arm-dns", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/documenttranslator/ai-document-translator-rest/package.json b/sdk/documenttranslator/ai-document-translator-rest/package.json index d93337139914..b4cf27b654e2 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/package.json +++ b/sdk/documenttranslator/ai-document-translator-rest/package.json @@ -16,7 +16,7 @@ "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/ai-document-translator.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/documenttranslator/ai-document-translator/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documenttranslator/ai-document-translator/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/documenttranslator/ai-document-translator-rest/samples/v1/javascript/package.json b/sdk/documenttranslator/ai-document-translator-rest/samples/v1/javascript/package.json index 5d7803d1ad10..1385e47074d9 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/samples/v1/javascript/package.json +++ b/sdk/documenttranslator/ai-document-translator-rest/samples/v1/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/documenttranslator/ai-document-translator-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documenttranslator/ai-document-translator-rest", "dependencies": { "@azure-rest/ai-document-translator": "next", "dotenv": "latest" diff --git a/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/package.json b/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/package.json index 9bb6ff39c404..4fce15f8742b 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/package.json +++ b/sdk/documenttranslator/ai-document-translator-rest/samples/v1/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/documenttranslator/ai-document-translator-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/documenttranslator/ai-document-translator-rest", "dependencies": { "@azure-rest/ai-document-translator": "next", "dotenv": "latest" diff --git a/sdk/domainservices/arm-domainservices/package.json b/sdk/domainservices/arm-domainservices/package.json index 26d00ac128ec..4d8eff6ea775 100644 --- a/sdk/domainservices/arm-domainservices/package.json +++ b/sdk/domainservices/arm-domainservices/package.json @@ -26,7 +26,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/domainservices/arm-domainservices", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/domainservices/arm-domainservices", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/edgegateway/arm-edgegateway/package.json b/sdk/edgegateway/arm-edgegateway/package.json index 26932d3391a5..9a2d803c2bc2 100644 --- a/sdk/edgegateway/arm-edgegateway/package.json +++ b/sdk/edgegateway/arm-edgegateway/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/edgegateway/arm-edgegateway", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/edgegateway/arm-edgegateway", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/eventgrid/arm-eventgrid/package.json b/sdk/eventgrid/arm-eventgrid/package.json index e6df49fe6e3f..0f19c904f815 100644 --- a/sdk/eventgrid/arm-eventgrid/package.json +++ b/sdk/eventgrid/arm-eventgrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventgrid/arm-eventgrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/arm-eventgrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/eventgrid/eventgrid/package.json b/sdk/eventgrid/eventgrid/package.json index 78d44cfd4b0b..667a68b65182 100644 --- a/sdk/eventgrid/eventgrid/package.json +++ b/sdk/eventgrid/eventgrid/package.json @@ -16,7 +16,7 @@ "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/eventgrid.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventgrid/eventgrid/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/eventgrid/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/eventgrid/eventgrid/samples/v4/javascript/package.json b/sdk/eventgrid/eventgrid/samples/v4/javascript/package.json index f20d01b15e7a..74690d17b9b0 100644 --- a/sdk/eventgrid/eventgrid/samples/v4/javascript/package.json +++ b/sdk/eventgrid/eventgrid/samples/v4/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventgrid/eventgrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/eventgrid", "dependencies": { "@azure/eventgrid": "latest", "dotenv": "latest", diff --git a/sdk/eventgrid/eventgrid/samples/v4/typescript/package.json b/sdk/eventgrid/eventgrid/samples/v4/typescript/package.json index b84e725965ef..3a0d25606933 100644 --- a/sdk/eventgrid/eventgrid/samples/v4/typescript/package.json +++ b/sdk/eventgrid/eventgrid/samples/v4/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventgrid/eventgrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventgrid/eventgrid", "dependencies": { "@azure/eventgrid": "latest", "dotenv": "latest", diff --git a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/package.json b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/package.json index 945073a52e03..cab3741b3807 100644 --- a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/package.json +++ b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/eventhub/arm-eventhub/package.json b/sdk/eventhub/arm-eventhub/package.json index 63c849412710..74625440a88b 100644 --- a/sdk/eventhub/arm-eventhub/package.json +++ b/sdk/eventhub/arm-eventhub/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/eventhub/arm-eventhub", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/eventhub/arm-eventhub", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index bfe648207a9b..8fb3d86eeb5e 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -5,7 +5,7 @@ "description": "Azure Event Hubs SDK for JS.", "author": "Microsoft Corporation", "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-hubs/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/", "repository": "github:Azure/azure-sdk-for-js", "sideEffects": false, "keywords": [ diff --git a/sdk/eventhub/event-processor-host/package.json b/sdk/eventhub/event-processor-host/package.json index b1344440f7fb..8915e8479998 100644 --- a/sdk/eventhub/event-processor-host/package.json +++ b/sdk/eventhub/event-processor-host/package.json @@ -5,7 +5,7 @@ "description": "Azure Event Processor Host (Event Hubs) SDK for JS.", "author": "Microsoft Corporation", "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/event-processor-host/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-processor-host/", "repository": "github:Azure/azure-sdk-for-js", "sideEffects": false, "keywords": [ diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/package.json b/sdk/eventhub/eventhubs-checkpointstore-blob/package.json index be9d87d45ca2..ff8c02ad877d 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/package.json +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/package.json @@ -5,7 +5,7 @@ "description": "An Azure Storage Blob solution to store checkpoints when using Event Hubs.", "author": "Microsoft Corporation", "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/eventhubs-checkpointstore-blob/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/eventhubs-checkpointstore-blob/", "repository": "github:Azure/azure-sdk-for-js", "sideEffects": false, "keywords": [ diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/package.json b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/package.json index f6b5a6c46425..60b8d4f625cd 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/package.json +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/package.json @@ -22,7 +22,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/eventhubs-checkpointstore-blob", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/eventhubs-checkpointstore-blob", "dependencies": { "@azure/eventhubs-checkpointstore-blob": "latest", "dotenv": "latest", diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/package.json b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/package.json index 7043f696aa8e..b9a8a0a2278a 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/package.json +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/package.json @@ -26,7 +26,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/eventhub/eventhubs-checkpointstore-blob", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/eventhubs-checkpointstore-blob", "dependencies": { "@azure/eventhubs-checkpointstore-blob": "latest", "dotenv": "latest", diff --git a/sdk/eventhub/mock-hub/package.json b/sdk/eventhub/mock-hub/package.json index 090cf619745a..437b14586606 100644 --- a/sdk/eventhub/mock-hub/package.json +++ b/sdk/eventhub/mock-hub/package.json @@ -48,7 +48,7 @@ "README.md", "License" ], - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/mock-hub/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/mock-hub/README.md", "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", diff --git a/sdk/features/arm-features/package.json b/sdk/features/arm-features/package.json index 59164bbe04f5..b9c9587fcd8d 100644 --- a/sdk/features/arm-features/package.json +++ b/sdk/features/arm-features/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/features/arm-features", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/features/arm-features", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/formrecognizer/ai-form-recognizer/package.json b/sdk/formrecognizer/ai-form-recognizer/package.json index 64ab9deb5ea2..a35b7cf0556f 100644 --- a/sdk/formrecognizer/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/package.json @@ -19,7 +19,7 @@ "./dist-esm/src/utils/utils.node.js": "./dist-esm/src/utils/utils.browser.js" }, "types": "./types/ai-form-recognizer.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/formrecognizer/ai-form-recognizer/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/formrecognizer/ai-form-recognizer/", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/package.json b/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/package.json index 7718ad316534..aaa752598a47 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/samples/v3/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/formrecognizer/ai-form-recognizer", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/formrecognizer/ai-form-recognizer", "dependencies": { "@azure/ai-form-recognizer": "latest", "dotenv": "latest", diff --git a/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/package.json b/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/package.json index 1215873e31ce..0eacf666f549 100644 --- a/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/samples/v3/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/formrecognizer/ai-form-recognizer", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/formrecognizer/ai-form-recognizer", "dependencies": { "@azure/ai-form-recognizer": "latest", "dotenv": "latest", diff --git a/sdk/frontdoor/arm-frontdoor/package.json b/sdk/frontdoor/arm-frontdoor/package.json index 43966c1a6208..e02afe2818a4 100644 --- a/sdk/frontdoor/arm-frontdoor/package.json +++ b/sdk/frontdoor/arm-frontdoor/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/frontdoor/arm-frontdoor", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/frontdoor/arm-frontdoor", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/graphrbac/graph/package.json b/sdk/graphrbac/graph/package.json index bd0dc241f8bd..49daf0969bb7 100644 --- a/sdk/graphrbac/graph/package.json +++ b/sdk/graphrbac/graph/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/graphrbac/graph", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/graphrbac/graph", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/hanaonazure/arm-hanaonazure/package.json b/sdk/hanaonazure/arm-hanaonazure/package.json index 62dee2ed0a7d..5482c18a84a9 100644 --- a/sdk/hanaonazure/arm-hanaonazure/package.json +++ b/sdk/hanaonazure/arm-hanaonazure/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/hanaonazure/arm-hanaonazure", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hanaonazure/arm-hanaonazure", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/hdinsight/arm-hdinsight/package.json b/sdk/hdinsight/arm-hdinsight/package.json index a93a57868999..236c44b11058 100644 --- a/sdk/hdinsight/arm-hdinsight/package.json +++ b/sdk/hdinsight/arm-hdinsight/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/hdinsight/arm-hdinsight", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hdinsight/arm-hdinsight", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/healthbot/arm-healthbot/package.json b/sdk/healthbot/arm-healthbot/package.json index 561d9da7c459..7b0b7f2cdbe1 100644 --- a/sdk/healthbot/arm-healthbot/package.json +++ b/sdk/healthbot/arm-healthbot/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/healthbot/arm-healthbot", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/healthbot/arm-healthbot", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/healthcareapis/arm-healthcareapis/package.json b/sdk/healthcareapis/arm-healthcareapis/package.json index b78262a8533f..44c4443b0b6c 100644 --- a/sdk/healthcareapis/arm-healthcareapis/package.json +++ b/sdk/healthcareapis/arm-healthcareapis/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/healthcareapis/arm-healthcareapis", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/healthcareapis/arm-healthcareapis", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/hybridcompute/arm-hybridcompute/package.json b/sdk/hybridcompute/arm-hybridcompute/package.json index e9bbc5f7e8da..a9e95ce265a7 100644 --- a/sdk/hybridcompute/arm-hybridcompute/package.json +++ b/sdk/hybridcompute/arm-hybridcompute/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/hybridcompute/arm-hybridcompute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hybridcompute/arm-hybridcompute", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/hybridkubernetes/arm-hybridkubernetes/package.json b/sdk/hybridkubernetes/arm-hybridkubernetes/package.json index b3d2833a6f58..b3cdcdcf0e86 100644 --- a/sdk/hybridkubernetes/arm-hybridkubernetes/package.json +++ b/sdk/hybridkubernetes/arm-hybridkubernetes/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/hybridkubernetes/arm-hybridkubernetes", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/hybridkubernetes/arm-hybridkubernetes", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/identity/identity-cache-persistence/package.json b/sdk/identity/identity-cache-persistence/package.json index c7f516e43239..51b9ca4cc660 100644 --- a/sdk/identity/identity-cache-persistence/package.json +++ b/sdk/identity/identity-cache-persistence/package.json @@ -61,7 +61,7 @@ "engine": { "node": ">=12.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity-cache-persistence/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-cache-persistence/README.md", "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", diff --git a/sdk/identity/identity-vscode/package.json b/sdk/identity/identity-vscode/package.json index 6181daca32a3..05f3dd3efd27 100644 --- a/sdk/identity/identity-vscode/package.json +++ b/sdk/identity/identity-vscode/package.json @@ -61,7 +61,7 @@ "engine": { "node": ">=12.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity-vscode/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity-vscode/README.md", "sideEffects": false, "dependencies": { "@azure/identity": "^2.0.0-beta.4", diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index 5c799d94f7b4..8c8982830086 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -76,7 +76,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/README.md", "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", diff --git a/sdk/iot/iot-modelsrepository/package.json b/sdk/iot/iot-modelsrepository/package.json index 74a5e2efff4a..e1a131282d7b 100644 --- a/sdk/iot/iot-modelsrepository/package.json +++ b/sdk/iot/iot-modelsrepository/package.json @@ -60,7 +60,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/iot/iot-modelsrepository/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/iot/iot-modelsrepository/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/iot/iot-modelsrepository/samples/v1/javascript/package.json b/sdk/iot/iot-modelsrepository/samples/v1/javascript/package.json index b438a832f14f..a3d83bc3e38c 100644 --- a/sdk/iot/iot-modelsrepository/samples/v1/javascript/package.json +++ b/sdk/iot/iot-modelsrepository/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iot/iot-modelsrepository", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iot/iot-modelsrepository", "dependencies": { "@azure/iot-modelsrepository": "next", "dotenv": "latest" diff --git a/sdk/iot/iot-modelsrepository/samples/v1/typescript/package.json b/sdk/iot/iot-modelsrepository/samples/v1/typescript/package.json index 73d525a66787..163b9c00d548 100644 --- a/sdk/iot/iot-modelsrepository/samples/v1/typescript/package.json +++ b/sdk/iot/iot-modelsrepository/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iot/iot-modelsrepository", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iot/iot-modelsrepository", "dependencies": { "@azure/iot-modelsrepository": "next", "dotenv": "latest" diff --git a/sdk/iotcentral/arm-iotcentral/package.json b/sdk/iotcentral/arm-iotcentral/package.json index c60ec138547b..395353525347 100644 --- a/sdk/iotcentral/arm-iotcentral/package.json +++ b/sdk/iotcentral/arm-iotcentral/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iotcentral/arm-iotcentral", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iotcentral/arm-iotcentral", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json index 74b62fa93db0..b786b8f407a3 100644 --- a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json +++ b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/iothub/arm-iothub/package.json b/sdk/iothub/arm-iothub/package.json index 9d995774012d..7824a6ad8e67 100644 --- a/sdk/iothub/arm-iothub/package.json +++ b/sdk/iothub/arm-iothub/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/iothub/arm-iothub", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/iothub/arm-iothub", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/iotspaces/arm-iotspaces/package.json b/sdk/iotspaces/arm-iotspaces/package.json index 4c8af39a8bf2..fa3f916b50db 100644 --- a/sdk/iotspaces/arm-iotspaces/package.json +++ b/sdk/iotspaces/arm-iotspaces/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/iotspaces/arm-iotspaces", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/iotspaces/arm-iotspaces", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/package.json b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/package.json index e17d3649513f..687d0d755e39 100644 --- a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/package.json +++ b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/package.json b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/package.json index 8105507f9035..95be678bbf1f 100644 --- a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/package.json +++ b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/keyvault/keyvault-admin/package.json b/sdk/keyvault/keyvault-admin/package.json index 88d457369a14..1bbfe7e3580d 100644 --- a/sdk/keyvault/keyvault-admin/package.json +++ b/sdk/keyvault/keyvault-admin/package.json @@ -5,7 +5,7 @@ "version": "4.1.0-beta.1", "license": "MIT", "description": "Isomorphic client library for Azure KeyVault's administrative functions.", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-admin/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-admin/README.md", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "node", diff --git a/sdk/keyvault/keyvault-admin/samples/v4/javascript/package.json b/sdk/keyvault/keyvault-admin/samples/v4/javascript/package.json index f2c1e131aac5..ca991cdfdce4 100644 --- a/sdk/keyvault/keyvault-admin/samples/v4/javascript/package.json +++ b/sdk/keyvault/keyvault-admin/samples/v4/javascript/package.json @@ -29,7 +29,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin", "dependencies": { "@azure/keyvault-admin": "next", "dotenv": "latest", diff --git a/sdk/keyvault/keyvault-admin/samples/v4/typescript/package.json b/sdk/keyvault/keyvault-admin/samples/v4/typescript/package.json index 9f87e6d8be47..297c134faa01 100644 --- a/sdk/keyvault/keyvault-admin/samples/v4/typescript/package.json +++ b/sdk/keyvault/keyvault-admin/samples/v4/typescript/package.json @@ -33,7 +33,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin", "dependencies": { "@azure/keyvault-admin": "next", "dotenv": "latest", diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 2acd9b225cca..ac684a2f05e2 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -5,7 +5,7 @@ "version": "4.3.0-beta.1", "license": "MIT", "description": "Isomorphic client library for Azure KeyVault's certificates.", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-certificates/README.md", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "node", diff --git a/sdk/keyvault/keyvault-certificates/samples/v4/javascript/package.json b/sdk/keyvault/keyvault-certificates/samples/v4/javascript/package.json index 536b4ad13c74..ff0bee378446 100644 --- a/sdk/keyvault/keyvault-certificates/samples/v4/javascript/package.json +++ b/sdk/keyvault/keyvault-certificates/samples/v4/javascript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-certificates", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates", "dependencies": { "@azure/keyvault-certificates": "next", "dotenv": "latest", diff --git a/sdk/keyvault/keyvault-certificates/samples/v4/typescript/package.json b/sdk/keyvault/keyvault-certificates/samples/v4/typescript/package.json index 276d7d11fc2f..b8a90994a436 100644 --- a/sdk/keyvault/keyvault-certificates/samples/v4/typescript/package.json +++ b/sdk/keyvault/keyvault-certificates/samples/v4/typescript/package.json @@ -29,7 +29,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-certificates", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-certificates", "dependencies": { "@azure/keyvault-certificates": "next", "dotenv": "latest", diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 01ca3b07569e..85cf47732d64 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -5,7 +5,7 @@ "version": "4.3.0-beta.1", "license": "MIT", "description": "Isomorphic client library for Azure KeyVault's keys.", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-keys/README.md", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "node", diff --git a/sdk/keyvault/keyvault-keys/samples/v4/javascript/package.json b/sdk/keyvault/keyvault-keys/samples/v4/javascript/package.json index 86f237d3ca32..2945671298a2 100644 --- a/sdk/keyvault/keyvault-keys/samples/v4/javascript/package.json +++ b/sdk/keyvault/keyvault-keys/samples/v4/javascript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-keys", "dependencies": { "@azure/keyvault-keys": "next", "dotenv": "latest", diff --git a/sdk/keyvault/keyvault-keys/samples/v4/typescript/package.json b/sdk/keyvault/keyvault-keys/samples/v4/typescript/package.json index 3781ffc9552e..263b039d8a4d 100644 --- a/sdk/keyvault/keyvault-keys/samples/v4/typescript/package.json +++ b/sdk/keyvault/keyvault-keys/samples/v4/typescript/package.json @@ -29,7 +29,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-keys", "dependencies": { "@azure/keyvault-keys": "next", "dotenv": "latest", diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 8f290665b927..240a9f8db14b 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -5,7 +5,7 @@ "version": "4.3.0-beta.1", "license": "MIT", "description": "Isomorphic client library for Azure KeyVault's secrets.", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/keyvault/keyvault-secrets/README.md", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "node", diff --git a/sdk/keyvault/keyvault-secrets/samples/v4/javascript/package.json b/sdk/keyvault/keyvault-secrets/samples/v4/javascript/package.json index 7d259fae2e36..6ac836e94bee 100644 --- a/sdk/keyvault/keyvault-secrets/samples/v4/javascript/package.json +++ b/sdk/keyvault/keyvault-secrets/samples/v4/javascript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets", "dependencies": { "@azure/keyvault-secrets": "latest", "dotenv": "latest", diff --git a/sdk/keyvault/keyvault-secrets/samples/v4/typescript/package.json b/sdk/keyvault/keyvault-secrets/samples/v4/typescript/package.json index 7feca5e6924d..5bdd0cfb97fc 100644 --- a/sdk/keyvault/keyvault-secrets/samples/v4/typescript/package.json +++ b/sdk/keyvault/keyvault-secrets/samples/v4/typescript/package.json @@ -29,7 +29,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-secrets", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-secrets", "dependencies": { "@azure/keyvault-secrets": "latest", "dotenv": "latest", diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/package.json b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/package.json index 9622186900f6..cd2e2545f9ca 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/package.json +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/kubernetesconfiguration/arm-kubernetesconfiguration", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/kubernetesconfiguration/arm-kubernetesconfiguration", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/kusto/arm-kusto/package.json b/sdk/kusto/arm-kusto/package.json index 1eef0eb6fb97..5418efffbbc6 100644 --- a/sdk/kusto/arm-kusto/package.json +++ b/sdk/kusto/arm-kusto/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/kusto/arm-kusto", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/kusto/arm-kusto", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/labservices/arm-labservices/package.json b/sdk/labservices/arm-labservices/package.json index 5ad34162ddf0..9ee0301ddad0 100644 --- a/sdk/labservices/arm-labservices/package.json +++ b/sdk/labservices/arm-labservices/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/labservices/arm-labservices", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/labservices/arm-labservices", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/links/arm-links/package.json b/sdk/links/arm-links/package.json index ce26a8012752..c75839f25ffd 100644 --- a/sdk/links/arm-links/package.json +++ b/sdk/links/arm-links/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/links/arm-links", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/links/arm-links", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json index 154e3fb5d54c..54633bf79bed 100644 --- a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json +++ b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/locks/arm-locks-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/locks/arm-locks-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json index 79ef27c45bb9..91a8d1492e1e 100644 --- a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json +++ b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/locks/arm-locks-profile-hybrid-2019-03-01", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/locks/arm-locks-profile-hybrid-2019-03-01", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/locks/arm-locks/package.json b/sdk/locks/arm-locks/package.json index ed0bb0c2316e..00370cc26347 100644 --- a/sdk/locks/arm-locks/package.json +++ b/sdk/locks/arm-locks/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/locks/arm-locks", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/locks/arm-locks", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/logic/arm-logic/package.json b/sdk/logic/arm-logic/package.json index 8da898503007..d562943fe641 100644 --- a/sdk/logic/arm-logic/package.json +++ b/sdk/logic/arm-logic/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/logic/arm-logic", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/logic/arm-logic", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/machinelearning/arm-commitmentplans/package.json b/sdk/machinelearning/arm-commitmentplans/package.json index 0c24bc45a9b7..f278f292273b 100644 --- a/sdk/machinelearning/arm-commitmentplans/package.json +++ b/sdk/machinelearning/arm-commitmentplans/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/machinelearning/arm-commitmentplans", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-commitmentplans", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/machinelearning/arm-webservices/package.json b/sdk/machinelearning/arm-webservices/package.json index 4f948ea91060..1f105ed79474 100644 --- a/sdk/machinelearning/arm-webservices/package.json +++ b/sdk/machinelearning/arm-webservices/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/webservices/arm-webservices", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/webservices/arm-webservices", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/machinelearning/arm-workspaces/package.json b/sdk/machinelearning/arm-workspaces/package.json index 92f211c73fbf..ed27d7b1f584 100644 --- a/sdk/machinelearning/arm-workspaces/package.json +++ b/sdk/machinelearning/arm-workspaces/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/machinelearning/arm-workspaces", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/machinelearning/arm-workspaces", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/package.json b/sdk/machinelearningcompute/arm-machinelearningcompute/package.json index cfed4491bda9..bf49b90c74d0 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/package.json +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/machinelearningcompute/arm-machinelearningcompute", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearningcompute/arm-machinelearningcompute", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/package.json b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/package.json index a1b7ea9a5b82..9b6aed6ca161 100644 --- a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/package.json +++ b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/machinelearningexperimentation/arm-machinelearningexperimentation", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/machinelearningexperimentation/arm-machinelearningexperimentation", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/machinelearningservices/arm-machinelearningservices/package.json b/sdk/machinelearningservices/arm-machinelearningservices/package.json index f03b28bd1607..6c9a22e7b32c 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/package.json +++ b/sdk/machinelearningservices/arm-machinelearningservices/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/machinelearningservices/arm-machinelearningservices", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/machinelearningservices/arm-machinelearningservices", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/managedapplications/arm-managedapplications/package.json b/sdk/managedapplications/arm-managedapplications/package.json index 6c4deac44c4b..79861c572083 100644 --- a/sdk/managedapplications/arm-managedapplications/package.json +++ b/sdk/managedapplications/arm-managedapplications/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/managedapplications/arm-managedapplications", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/managedapplications/arm-managedapplications", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/managementgroups/arm-managementgroups/package.json b/sdk/managementgroups/arm-managementgroups/package.json index db929a6019a5..be3d9ef7c625 100644 --- a/sdk/managementgroups/arm-managementgroups/package.json +++ b/sdk/managementgroups/arm-managementgroups/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/managementgroups/arm-managementgroups", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/managementgroups/arm-managementgroups", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/managementpartner/arm-managementpartner/package.json b/sdk/managementpartner/arm-managementpartner/package.json index 493851144d7d..6c2b42a7f552 100644 --- a/sdk/managementpartner/arm-managementpartner/package.json +++ b/sdk/managementpartner/arm-managementpartner/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/managementpartner/arm-managementpartner", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/managementpartner/arm-managementpartner", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/maps/arm-maps/package.json b/sdk/maps/arm-maps/package.json index 9ce88097918d..dad087f10ae7 100644 --- a/sdk/maps/arm-maps/package.json +++ b/sdk/maps/arm-maps/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/maps/arm-maps", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/maps/arm-maps", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/mariadb/arm-mariadb/package.json b/sdk/mariadb/arm-mariadb/package.json index d9d6d2e1e6d0..c7d9bf80cc17 100644 --- a/sdk/mariadb/arm-mariadb/package.json +++ b/sdk/mariadb/arm-mariadb/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mariadb/arm-mariadb", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mariadb/arm-mariadb", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/marketplaceordering/arm-marketplaceordering/package.json b/sdk/marketplaceordering/arm-marketplaceordering/package.json index 78ee6256591a..9a6cb2c9ae33 100644 --- a/sdk/marketplaceordering/arm-marketplaceordering/package.json +++ b/sdk/marketplaceordering/arm-marketplaceordering/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/marketplaceordering/arm-marketplaceordering", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/marketplaceordering/arm-marketplaceordering", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/mediaservices/arm-mediaservices/package.json b/sdk/mediaservices/arm-mediaservices/package.json index 66e388a7a886..ee22ec05d8f3 100644 --- a/sdk/mediaservices/arm-mediaservices/package.json +++ b/sdk/mediaservices/arm-mediaservices/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mediaservices/arm-mediaservices", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mediaservices/arm-mediaservices", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/metricsadvisor/ai-metrics-advisor/package.json b/sdk/metricsadvisor/ai-metrics-advisor/package.json index 1c096326c8ab..4d36a57cb3b8 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/package.json @@ -20,7 +20,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/metricsadvisor/ai-metrics-advisor/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/package.json b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/package.json index f1604dcfc47d..b41b4664df8d 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/metricsadvisor/ai-metrics-advisor", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor", "dependencies": { "@azure/ai-metrics-advisor": "next", "dotenv": "latest" diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/package.json b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/package.json index 84f08b6a568d..4e4e27d3cece 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/metricsadvisor/ai-metrics-advisor", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor", "dependencies": { "@azure/ai-metrics-advisor": "next", "dotenv": "latest" diff --git a/sdk/migrate/arm-migrate/package.json b/sdk/migrate/arm-migrate/package.json index 49b113f1bd65..252b6205c733 100644 --- a/sdk/migrate/arm-migrate/package.json +++ b/sdk/migrate/arm-migrate/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/migrate/arm-migrate", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/migrate/arm-migrate", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/mixedreality/arm-mixedreality/package.json b/sdk/mixedreality/arm-mixedreality/package.json index 32279b745bbb..55fb6fa9e4e9 100644 --- a/sdk/mixedreality/arm-mixedreality/package.json +++ b/sdk/mixedreality/arm-mixedreality/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/arm-mixedreality", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/arm-mixedreality", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/mixedreality/mixedreality-authentication/package.json b/sdk/mixedreality/mixedreality-authentication/package.json index 94cde2f9f59e..16264899cbf3 100644 --- a/sdk/mixedreality/mixedreality-authentication/package.json +++ b/sdk/mixedreality/mixedreality-authentication/package.json @@ -63,7 +63,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/mixedreality/mixedreality-authentication/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/mixedreality/mixedreality-authentication/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/package.json b/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/package.json index 3c650a0eeee6..94d306a779e4 100644 --- a/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/package.json +++ b/sdk/mixedreality/mixedreality-authentication/samples/v1/javascript/package.json @@ -22,7 +22,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/mixedreality-authentication", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication", "dependencies": { "@azure/mixedreality-authentication": "next", "dotenv": "latest", diff --git a/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/package.json b/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/package.json index e49ce83e4470..e0ead17f9494 100644 --- a/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/package.json +++ b/sdk/mixedreality/mixedreality-authentication/samples/v1/typescript/package.json @@ -26,7 +26,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mixedreality/mixedreality-authentication", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/mixedreality-authentication", "dependencies": { "@azure/mixedreality-authentication": "next", "dotenv": "latest", diff --git a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json index c4c7ea68e45c..d274ca5e8069 100644 --- a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json +++ b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json index 0f1d8e0edfbb..d9354f56c467 100644 --- a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json +++ b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/monitor/arm-monitor/package.json b/sdk/monitor/arm-monitor/package.json index 3a0e43d61f12..2b40038fbd88 100644 --- a/sdk/monitor/arm-monitor/package.json +++ b/sdk/monitor/arm-monitor/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/arm-monitor", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/arm-monitor", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/monitor/monitor-opentelemetry-exporter/package.json b/sdk/monitor/monitor-opentelemetry-exporter/package.json index 401274c6075b..963cd51d8e87 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/package.json @@ -51,7 +51,7 @@ "LICENSE" ], "license": "MIT", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/monitor-opentelemetry-exporter/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-opentelemetry-exporter/", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/monitor/monitor-query/package.json b/sdk/monitor/monitor-query/package.json index f68984ba0b63..3eb2ae18fb37 100644 --- a/sdk/monitor/monitor-query/package.json +++ b/sdk/monitor/monitor-query/package.json @@ -94,7 +94,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/monitor/monitor-query/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-query/README.md", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/monitor/monitor-query/samples/v1/javascript/package.json b/sdk/monitor/monitor-query/samples/v1/javascript/package.json index 8df0474602c5..f39d84df49d7 100644 --- a/sdk/monitor/monitor-query/samples/v1/javascript/package.json +++ b/sdk/monitor/monitor-query/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/monitor-query", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-query", "dependencies": { "@azure/monitor-query": "next", "dotenv": "latest", diff --git a/sdk/monitor/monitor-query/samples/v1/typescript/package.json b/sdk/monitor/monitor-query/samples/v1/typescript/package.json index 20f2bf774734..0689a42f9ed6 100644 --- a/sdk/monitor/monitor-query/samples/v1/typescript/package.json +++ b/sdk/monitor/monitor-query/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/monitor/monitor-query", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/monitor/monitor-query", "dependencies": { "@azure/monitor-query": "next", "dotenv": "latest", diff --git a/sdk/msi/arm-msi/package.json b/sdk/msi/arm-msi/package.json index bce966dc1ae2..fde1b3ef62bb 100644 --- a/sdk/msi/arm-msi/package.json +++ b/sdk/msi/arm-msi/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/msi/arm-msi", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/msi/arm-msi", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/mysql/arm-mysql/package.json b/sdk/mysql/arm-mysql/package.json index 287210f79af1..002baef71cd0 100644 --- a/sdk/mysql/arm-mysql/package.json +++ b/sdk/mysql/arm-mysql/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mysql/arm-mysql", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mysql/arm-mysql", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/netapp/arm-netapp/package.json b/sdk/netapp/arm-netapp/package.json index 107f1138714f..2bd722c709bc 100644 --- a/sdk/netapp/arm-netapp/package.json +++ b/sdk/netapp/arm-netapp/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/netapp/arm-netapp", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/netapp/arm-netapp", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/network/arm-network-profile-2019-03-01-hybrid/package.json b/sdk/network/arm-network-profile-2019-03-01-hybrid/package.json index 477aad097aef..f3f77e93ae7d 100644 --- a/sdk/network/arm-network-profile-2019-03-01-hybrid/package.json +++ b/sdk/network/arm-network-profile-2019-03-01-hybrid/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/network/arm-network-profile-2019-03-01-hybrid", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/network/arm-network-profile-2019-03-01-hybrid", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/network/arm-network-profile-2020-09-01-hybrid/package.json b/sdk/network/arm-network-profile-2020-09-01-hybrid/package.json index ce75797a9253..ed79a4aceedc 100644 --- a/sdk/network/arm-network-profile-2020-09-01-hybrid/package.json +++ b/sdk/network/arm-network-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/network/arm-network-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/network/arm-network/package.json b/sdk/network/arm-network/package.json index ab9ff38328b7..27144ec92901 100644 --- a/sdk/network/arm-network/package.json +++ b/sdk/network/arm-network/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/network/arm-network", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/notificationhubs/arm-notificationhubs/package.json b/sdk/notificationhubs/arm-notificationhubs/package.json index 0f0f7f1f7148..0f31c8842534 100644 --- a/sdk/notificationhubs/arm-notificationhubs/package.json +++ b/sdk/notificationhubs/arm-notificationhubs/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/notificationhubs/arm-notificationhubs", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/notificationhubs/arm-notificationhubs", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/operationalinsights/arm-operationalinsights/package.json b/sdk/operationalinsights/arm-operationalinsights/package.json index 066b3cd6ee8c..c1c039dcd080 100644 --- a/sdk/operationalinsights/arm-operationalinsights/package.json +++ b/sdk/operationalinsights/arm-operationalinsights/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/operationalinsights/arm-operationalinsights", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/operationalinsights/arm-operationalinsights", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/operationalinsights/loganalytics/package.json b/sdk/operationalinsights/loganalytics/package.json index 835261ff989e..56547dae1efe 100644 --- a/sdk/operationalinsights/loganalytics/package.json +++ b/sdk/operationalinsights/loganalytics/package.json @@ -24,7 +24,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/operationalinsights/loganalytics", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/operationalinsights/loganalytics", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/operationsmanagement/arm-operations/package.json b/sdk/operationsmanagement/arm-operations/package.json index 3ca223cc6b60..56e114a52dd6 100644 --- a/sdk/operationsmanagement/arm-operations/package.json +++ b/sdk/operationsmanagement/arm-operations/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/operationsmanagement/arm-operations", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/operationsmanagement/arm-operations", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/peering/arm-peering/package.json b/sdk/peering/arm-peering/package.json index d0ceacd60a82..c7c2b7e47341 100644 --- a/sdk/peering/arm-peering/package.json +++ b/sdk/peering/arm-peering/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/peering/arm-peering", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/peering/arm-peering", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json index 483a78f33d59..fe686de1fc7b 100644 --- a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json +++ b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/policy/arm-policy-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/policy/arm-policy-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json index 355349448855..712ae64221a3 100644 --- a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json +++ b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/policy/arm-policy-profile-hybrid-2019-03-01", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/policy/arm-policy-profile-hybrid-2019-03-01", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/policy/arm-policy/package.json b/sdk/policy/arm-policy/package.json index 6cecbe858827..e6934d947760 100644 --- a/sdk/policy/arm-policy/package.json +++ b/sdk/policy/arm-policy/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/policy/arm-policy", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/policy/arm-policy", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/policyinsights/arm-policyinsights/package.json b/sdk/policyinsights/arm-policyinsights/package.json index e45de3ffd1ca..2d1a254b3b14 100644 --- a/sdk/policyinsights/arm-policyinsights/package.json +++ b/sdk/policyinsights/arm-policyinsights/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/policyinsights/arm-policyinsights", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/policyinsights/arm-policyinsights", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/postgresql/arm-postgresql-flexible/package.json b/sdk/postgresql/arm-postgresql-flexible/package.json index 68183b512288..fb1da03042de 100644 --- a/sdk/postgresql/arm-postgresql-flexible/package.json +++ b/sdk/postgresql/arm-postgresql-flexible/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/postgresql/arm-postgresql-flexible", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/postgresql/arm-postgresql-flexible", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/postgresql/arm-postgresql/package.json b/sdk/postgresql/arm-postgresql/package.json index f0583e8fb064..985360d5fddb 100644 --- a/sdk/postgresql/arm-postgresql/package.json +++ b/sdk/postgresql/arm-postgresql/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/postgresql/arm-postgresql", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/postgresql/arm-postgresql", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/powerbidedicated/arm-powerbidedicated/package.json b/sdk/powerbidedicated/arm-powerbidedicated/package.json index 86138442b394..e9e3e8b3365b 100644 --- a/sdk/powerbidedicated/arm-powerbidedicated/package.json +++ b/sdk/powerbidedicated/arm-powerbidedicated/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/powerbidedicated/arm-powerbidedicated", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/powerbidedicated/arm-powerbidedicated", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/powerbiembedded/arm-powerbiembedded/package.json b/sdk/powerbiembedded/arm-powerbiembedded/package.json index 56a597006190..e4ca4e96d3d9 100644 --- a/sdk/powerbiembedded/arm-powerbiembedded/package.json +++ b/sdk/powerbiembedded/arm-powerbiembedded/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/powerbiembedded/arm-powerbiembedded", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/powerbiembedded/arm-powerbiembedded", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/privatedns/arm-privatedns/package.json b/sdk/privatedns/arm-privatedns/package.json index ecd71e56cd4a..ce01d91428f5 100644 --- a/sdk/privatedns/arm-privatedns/package.json +++ b/sdk/privatedns/arm-privatedns/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/privatedns/arm-privatedns", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/privatedns/arm-privatedns", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/purview/purview-catalog-rest/package.json b/sdk/purview/purview-catalog-rest/package.json index 683ab37dc26c..b52fe0d6c388 100644 --- a/sdk/purview/purview-catalog-rest/package.json +++ b/sdk/purview/purview-catalog-rest/package.json @@ -16,7 +16,7 @@ "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/purview-catalog-rest.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-catalog/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/purview/purview-catalog-rest/samples/v1/javascript/package.json b/sdk/purview/purview-catalog-rest/samples/v1/javascript/package.json index 817b18813863..3000bc50d32f 100644 --- a/sdk/purview/purview-catalog-rest/samples/v1/javascript/package.json +++ b/sdk/purview/purview-catalog-rest/samples/v1/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-catalog-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest", "dependencies": { "@azure-rest/purview-catalog": "next", "dotenv": "latest", diff --git a/sdk/purview/purview-catalog-rest/samples/v1/typescript/package.json b/sdk/purview/purview-catalog-rest/samples/v1/typescript/package.json index 7c74c94a51ab..593e4f1127da 100644 --- a/sdk/purview/purview-catalog-rest/samples/v1/typescript/package.json +++ b/sdk/purview/purview-catalog-rest/samples/v1/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-catalog-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest", "dependencies": { "@azure-rest/purview-catalog": "next", "dotenv": "latest", diff --git a/sdk/purview/purview-scanning-rest/package.json b/sdk/purview/purview-scanning-rest/package.json index a3a1204454f1..1373d967f220 100644 --- a/sdk/purview/purview-scanning-rest/package.json +++ b/sdk/purview/purview-scanning-rest/package.json @@ -16,7 +16,7 @@ "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/purview-scanning-rest.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-scanning-rest/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-scanning-rest/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/purview/purview-scanning-rest/samples/v1/javascript/package.json b/sdk/purview/purview-scanning-rest/samples/v1/javascript/package.json index 94c57837c700..bdd5a3482f43 100644 --- a/sdk/purview/purview-scanning-rest/samples/v1/javascript/package.json +++ b/sdk/purview/purview-scanning-rest/samples/v1/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-scanning-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-scanning-rest", "dependencies": { "@azure-rest/purview-scanning": "next", "dotenv": "latest", diff --git a/sdk/purview/purview-scanning-rest/samples/v1/typescript/package.json b/sdk/purview/purview-scanning-rest/samples/v1/typescript/package.json index d7269dba567f..4f720b415273 100644 --- a/sdk/purview/purview-scanning-rest/samples/v1/typescript/package.json +++ b/sdk/purview/purview-scanning-rest/samples/v1/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/purview/purview-scanning-rest", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-scanning-rest", "dependencies": { "@azure-rest/purview-scanning": "next", "dotenv": "latest", diff --git a/sdk/quantum/quantum-jobs/package.json b/sdk/quantum/quantum-jobs/package.json index 9eeb0ed01ad2..0b7a2689a2b9 100644 --- a/sdk/quantum/quantum-jobs/package.json +++ b/sdk/quantum/quantum-jobs/package.json @@ -59,7 +59,7 @@ "isomorphic" ], "repository": "github:Azure/azure-sdk-for-js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/quantum/quantum-jobs/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/quantum/quantum-jobs/", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, diff --git a/sdk/recoveryservices/arm-recoveryservices/package.json b/sdk/recoveryservices/arm-recoveryservices/package.json index 8d646e7d6255..20376606d69b 100644 --- a/sdk/recoveryservices/arm-recoveryservices/package.json +++ b/sdk/recoveryservices/arm-recoveryservices/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/recoveryservices/arm-recoveryservices", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservices/arm-recoveryservices", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json index 1cb10942f505..b31758dbafb6 100644 --- a/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json +++ b/sdk/recoveryservicesbackup/arm-recoveryservicesbackup/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/recoveryservicesbackup/arm-recoveryservicesbackup", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/recoveryservicesbackup/arm-recoveryservicesbackup", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json index 2b7af5044dfc..1376d42c7006 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/redis/arm-rediscache/package.json b/sdk/redis/arm-rediscache/package.json index 5f56a181672c..1938144a46ee 100644 --- a/sdk/redis/arm-rediscache/package.json +++ b/sdk/redis/arm-rediscache/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/redis/arm-rediscache", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redis/arm-rediscache", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/redisenterprise/arm-redisenterprisecache/package.json b/sdk/redisenterprise/arm-redisenterprisecache/package.json index 1afee7ef532c..016c6da09bcf 100644 --- a/sdk/redisenterprise/arm-redisenterprisecache/package.json +++ b/sdk/redisenterprise/arm-redisenterprisecache/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/redisenterprise/arm-redisenterprisecache", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/redisenterprise/arm-redisenterprisecache", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/relay/arm-relay/package.json b/sdk/relay/arm-relay/package.json index 87be03979c14..22d8588356f6 100644 --- a/sdk/relay/arm-relay/package.json +++ b/sdk/relay/arm-relay/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/relay/arm-relay", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/relay/arm-relay", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/reservations/arm-reservations/package.json b/sdk/reservations/arm-reservations/package.json index d2615bab247a..3ed3ffb6d440 100644 --- a/sdk/reservations/arm-reservations/package.json +++ b/sdk/reservations/arm-reservations/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/reservations/arm-reservations", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/reservations/arm-reservations", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/resourcegraph/arm-resourcegraph/package.json b/sdk/resourcegraph/arm-resourcegraph/package.json index 6f27b2e61b0f..df62daefb40e 100644 --- a/sdk/resourcegraph/arm-resourcegraph/package.json +++ b/sdk/resourcegraph/arm-resourcegraph/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/resourcegraph/arm-resourcegraph", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourcegraph/arm-resourcegraph", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/resourcehealth/arm-resourcehealth/package.json b/sdk/resourcehealth/arm-resourcehealth/package.json index 3055a2704230..c8c350f2f591 100644 --- a/sdk/resourcehealth/arm-resourcehealth/package.json +++ b/sdk/resourcehealth/arm-resourcehealth/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/resourcehealth/arm-resourcehealth", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/resourcehealth/arm-resourcehealth", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/resourcemover/arm-resourcemover/package.json b/sdk/resourcemover/arm-resourcemover/package.json index be331843adb6..08acdd8be900 100644 --- a/sdk/resourcemover/arm-resourcemover/package.json +++ b/sdk/resourcemover/arm-resourcemover/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/resourcemover/arm-resourcemover", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourcemover/arm-resourcemover", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/package.json b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/package.json index eb6816fe6f18..11a1d2d24f63 100644 --- a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/package.json +++ b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/resources/arm-resources-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resources/arm-resources-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/package.json b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/package.json index c8daaa0301ac..a114ebb9b805 100644 --- a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/package.json +++ b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/resources/arm-resources-profile-hybrid-2019-03-01", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/resources/arm-resources-profile-hybrid-2019-03-01", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/resources/arm-resources/package.json b/sdk/resources/arm-resources/package.json index 64d0180a29d7..65ef4026fa64 100644 --- a/sdk/resources/arm-resources/package.json +++ b/sdk/resources/arm-resources/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/resources/arm-resources", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resources/arm-resources", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/schemaregistry/schema-registry-avro/package.json b/sdk/schemaregistry/schema-registry-avro/package.json index f8f90fc6fdb9..9af885ff40b1 100644 --- a/sdk/schemaregistry/schema-registry-avro/package.json +++ b/sdk/schemaregistry/schema-registry-avro/package.json @@ -55,7 +55,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/schemaregistry/schema-registry-avro/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry-avro/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "//sampleConfiguration": { diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/package.json b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/package.json index cd6ee54ec632..788d166355a3 100644 --- a/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/package.json +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry-avro", "dependencies": { "@azure/schema-registry-avro": "next", "dotenv": "latest", diff --git a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/package.json b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/package.json index 019817269518..d012f24da7dd 100644 --- a/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/package.json +++ b/sdk/schemaregistry/schema-registry-avro/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry-avro", "dependencies": { "@azure/schema-registry-avro": "next", "dotenv": "latest", diff --git a/sdk/schemaregistry/schema-registry/package.json b/sdk/schemaregistry/schema-registry/package.json index 11d7457c46b1..94f6de6c819a 100644 --- a/sdk/schemaregistry/schema-registry/package.json +++ b/sdk/schemaregistry/schema-registry/package.json @@ -82,7 +82,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/schemaregistry/schema-registry/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/schemaregistry/schema-registry/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/schemaregistry/schema-registry/samples/v1/javascript/package.json b/sdk/schemaregistry/schema-registry/samples/v1/javascript/package.json index 239a016ce0b3..6163c9c32831 100644 --- a/sdk/schemaregistry/schema-registry/samples/v1/javascript/package.json +++ b/sdk/schemaregistry/schema-registry/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry", "dependencies": { "@azure/schema-registry": "next", "dotenv": "latest", diff --git a/sdk/schemaregistry/schema-registry/samples/v1/typescript/package.json b/sdk/schemaregistry/schema-registry/samples/v1/typescript/package.json index ed16226fb10b..baba062943da 100644 --- a/sdk/schemaregistry/schema-registry/samples/v1/typescript/package.json +++ b/sdk/schemaregistry/schema-registry/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/schemaregistry/schema-registry", "dependencies": { "@azure/schema-registry": "next", "dotenv": "latest", diff --git a/sdk/search/arm-search/package.json b/sdk/search/arm-search/package.json index cb293c644348..e805e27ce74a 100644 --- a/sdk/search/arm-search/package.json +++ b/sdk/search/arm-search/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/search/arm-search", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/search/arm-search", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/search/search-documents/package.json b/sdk/search/search-documents/package.json index 545fce3ffe2d..8776dc4b41d5 100644 --- a/sdk/search/search-documents/package.json +++ b/sdk/search/search-documents/package.json @@ -72,7 +72,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/", "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", diff --git a/sdk/search/search-documents/samples/javascript/package.json b/sdk/search/search-documents/samples/javascript/package.json index 74b3e5c2270c..df8201557344 100644 --- a/sdk/search/search-documents/samples/javascript/package.json +++ b/sdk/search/search-documents/samples/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents", "sideEffects": false, "dependencies": { "@azure/search-documents": "latest", diff --git a/sdk/search/search-documents/samples/typescript/package.json b/sdk/search/search-documents/samples/typescript/package.json index b23a2dcf38e3..8f1d5358a31d 100644 --- a/sdk/search/search-documents/samples/typescript/package.json +++ b/sdk/search/search-documents/samples/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search-documents", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents", "sideEffects": false, "dependencies": { "@azure/search-documents": "latest", diff --git a/sdk/security/arm-security/package.json b/sdk/security/arm-security/package.json index a34f4122d6f7..ab9cfc26388f 100644 --- a/sdk/security/arm-security/package.json +++ b/sdk/security/arm-security/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/security/arm-security", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/security/arm-security", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/service-map/arm-servicemap/package.json b/sdk/service-map/arm-servicemap/package.json index 395461461703..0fd1d7250ed8 100644 --- a/sdk/service-map/arm-servicemap/package.json +++ b/sdk/service-map/arm-servicemap/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/service-map/arm-servicemap", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/service-map/arm-servicemap", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/servicebus/arm-servicebus/package.json b/sdk/servicebus/arm-servicebus/package.json index aac2b3edee78..4a3e56681e22 100644 --- a/sdk/servicebus/arm-servicebus/package.json +++ b/sdk/servicebus/arm-servicebus/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/arm-servicebus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/arm-servicebus", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index e4934376d22e..10b452e79098 100644 --- a/sdk/servicebus/service-bus/package.json +++ b/sdk/servicebus/service-bus/package.json @@ -5,7 +5,7 @@ "version": "7.2.1", "license": "MIT", "description": "Azure Service Bus SDK for JavaScript", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", diff --git a/sdk/servicebus/service-bus/samples/v7/javascript/package.json b/sdk/servicebus/service-bus/samples/v7/javascript/package.json index d0910e483ab3..c7e47dc07251 100644 --- a/sdk/servicebus/service-bus/samples/v7/javascript/package.json +++ b/sdk/servicebus/service-bus/samples/v7/javascript/package.json @@ -23,7 +23,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "dependencies": { "@azure/service-bus": "next", "dotenv": "latest", diff --git a/sdk/servicebus/service-bus/samples/v7/typescript/package.json b/sdk/servicebus/service-bus/samples/v7/typescript/package.json index 63502849957b..f47c2ae96670 100644 --- a/sdk/servicebus/service-bus/samples/v7/typescript/package.json +++ b/sdk/servicebus/service-bus/samples/v7/typescript/package.json @@ -27,7 +27,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "dependencies": { "@azure/service-bus": "next", "dotenv": "latest", diff --git a/sdk/servicefabric/arm-servicefabric/package.json b/sdk/servicefabric/arm-servicefabric/package.json index 3cef1816bbd8..09e9088903be 100644 --- a/sdk/servicefabric/arm-servicefabric/package.json +++ b/sdk/servicefabric/arm-servicefabric/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicefabric/arm-servicefabric", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicefabric/arm-servicefabric", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/servicefabric/servicefabric/package.json b/sdk/servicefabric/servicefabric/package.json index 6ddf0c65d1f1..dc3b40415908 100644 --- a/sdk/servicefabric/servicefabric/package.json +++ b/sdk/servicefabric/servicefabric/package.json @@ -25,7 +25,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicefabric/servicefabric", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicefabric/servicefabric", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/package.json b/sdk/servicefabricmesh/arm-servicefabricmesh/package.json index a1e1597a74a2..fdd1e11017b6 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/package.json +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/servicefabricmesh/arm-servicefabricmesh", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/servicefabricmesh/arm-servicefabricmesh", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/signalr/arm-signalr/package.json b/sdk/signalr/arm-signalr/package.json index 639818d22aa3..d6e619813daa 100644 --- a/sdk/signalr/arm-signalr/package.json +++ b/sdk/signalr/arm-signalr/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/signalr/arm-signalr", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/signalr/arm-signalr", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/sql/arm-sql/package.json b/sdk/sql/arm-sql/package.json index 551393f55986..22a5b5c69fa3 100644 --- a/sdk/sql/arm-sql/package.json +++ b/sdk/sql/arm-sql/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/sql/arm-sql", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sql/arm-sql", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json index 63c86fdde2bc..d398e0f6d994 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/sqlvirtualmachine/arm-sqlvirtualmachine", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sqlvirtualmachine/arm-sqlvirtualmachine", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json index b145fbce8319..a01053038129 100644 --- a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json +++ b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/arm-storage-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/arm-storage-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/storage/arm-storage/package.json b/sdk/storage/arm-storage/package.json index a3ff8a8d9330..f1ec9c4fe09c 100644 --- a/sdk/storage/arm-storage/package.json +++ b/sdk/storage/arm-storage/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/arm-storage", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/arm-storage", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json index 605a5702c129..f38f05596497 100644 --- a/sdk/storage/storage-blob-changefeed/package.json +++ b/sdk/storage/storage-blob-changefeed/package.json @@ -83,7 +83,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob-changefeed/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob-changefeed/", "sideEffects": false, "//metadata": { "constantPaths": [ diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index c050250799b5..d37bf39348e7 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -91,7 +91,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-blob/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/", "sideEffects": false, "//metadata": { "constantPaths": [ diff --git a/sdk/storage/storage-datalake/package.json b/sdk/storage/storage-datalake/package.json index 3bec9f15eded..77ded73c86f2 100644 --- a/sdk/storage/storage-datalake/package.json +++ b/sdk/storage/storage-datalake/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-datalake", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-datalake", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 2dda156fa6dc..2ec07e79261c 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -88,7 +88,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-file-datalake/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-file-datalake/", "//metadata": { "constantPaths": [ { diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index af135ddfd7f8..ffdd5c71ca1c 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -84,7 +84,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-file-share/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-file-share/", "sideEffects": false, "//metadata": { "constantPaths": [ diff --git a/sdk/storage/storage-internal-avro/package.json b/sdk/storage/storage-internal-avro/package.json index 069253c0df2a..41b1c9c53615 100644 --- a/sdk/storage/storage-internal-avro/package.json +++ b/sdk/storage/storage-internal-avro/package.json @@ -7,7 +7,7 @@ "description": "internal avro parser", "license": "MIT", "repository": "github:Azure/azure-sdk-for-js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-internal-avro/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-internal-avro/", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index 9a202bc23d4b..bf1361417121 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -80,7 +80,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/storage-queue/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/", "sideEffects": false, "//metadata": { "constantPaths": [ diff --git a/sdk/storagecache/arm-storagecache/package.json b/sdk/storagecache/arm-storagecache/package.json index af392a8d60bd..be9abbe053c5 100644 --- a/sdk/storagecache/arm-storagecache/package.json +++ b/sdk/storagecache/arm-storagecache/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storagecache/arm-storagecache", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagecache/arm-storagecache", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/storageimportexport/arm-storageimportexport/package.json b/sdk/storageimportexport/arm-storageimportexport/package.json index 9fb220f65205..9a79781b78a0 100644 --- a/sdk/storageimportexport/arm-storageimportexport/package.json +++ b/sdk/storageimportexport/arm-storageimportexport/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storageimportexport/arm-storageimportexport", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/storageimportexport/arm-storageimportexport", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/storagesync/arm-storagesync/package.json b/sdk/storagesync/arm-storagesync/package.json index cb4eb848217f..29b8ef52098c 100644 --- a/sdk/storagesync/arm-storagesync/package.json +++ b/sdk/storagesync/arm-storagesync/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storagesync/arm-storagesync", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storagesync/arm-storagesync", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/storsimple1200series/arm-storsimple1200series/package.json b/sdk/storsimple1200series/arm-storsimple1200series/package.json index 5ceebf14fd7e..9a197dea0fdb 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/package.json +++ b/sdk/storsimple1200series/arm-storsimple1200series/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storsimple1200series/arm-storsimple1200series", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/storsimple1200series/arm-storsimple1200series", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/storsimple8000series/arm-storsimple8000series/package.json b/sdk/storsimple8000series/arm-storsimple8000series/package.json index 155092690260..192caba6625a 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/package.json +++ b/sdk/storsimple8000series/arm-storsimple8000series/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storsimple8000series/arm-storsimple8000series", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/storsimple8000series/arm-storsimple8000series", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/streamanalytics/arm-streamanalytics/package.json b/sdk/streamanalytics/arm-streamanalytics/package.json index 9b18bf9ef96f..e5246c121745 100644 --- a/sdk/streamanalytics/arm-streamanalytics/package.json +++ b/sdk/streamanalytics/arm-streamanalytics/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/streamanalytics/arm-streamanalytics", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/streamanalytics/arm-streamanalytics", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/package.json b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/package.json index a299d61947e5..7b5d90e547fa 100644 --- a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/package.json +++ b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/package.json b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/package.json index 32f921d1d79b..41779db9b83e 100644 --- a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/package.json +++ b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/subscription/arm-subscriptions/package.json b/sdk/subscription/arm-subscriptions/package.json index 1bb5ce9e8ab0..6f56ecd0b90b 100644 --- a/sdk/subscription/arm-subscriptions/package.json +++ b/sdk/subscription/arm-subscriptions/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/subscription/arm-subscriptions", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/subscription/arm-subscriptions", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/support/arm-support/package.json b/sdk/support/arm-support/package.json index bf509c08ccf9..275ea5195a21 100644 --- a/sdk/support/arm-support/package.json +++ b/sdk/support/arm-support/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/support/arm-support", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/support/arm-support", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/synapse/arm-synapse/package.json b/sdk/synapse/arm-synapse/package.json index 110cec07f695..c01cf1d6f7d6 100644 --- a/sdk/synapse/arm-synapse/package.json +++ b/sdk/synapse/arm-synapse/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/synapse/arm-synapse", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/synapse/arm-synapse", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/synapse/synapse-access-control/package.json b/sdk/synapse/synapse-access-control/package.json index c489ac4ab00c..ecf62550ebab 100644 --- a/sdk/synapse/synapse-access-control/package.json +++ b/sdk/synapse/synapse-access-control/package.json @@ -2,7 +2,7 @@ "name": "@azure/synapse-access-control", "author": "Microsoft Corporation", "description": "A generated SDK for AccessControlClient.", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/synapse/synapse-access-control/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-access-control/README.md", "repository": "github:Azure/azure-sdk-for-js", "sdk-type": "client", "version": "1.0.0-beta.3", diff --git a/sdk/synapse/synapse-artifacts/package.json b/sdk/synapse/synapse-artifacts/package.json index 324e028bc463..693265ec8586 100644 --- a/sdk/synapse/synapse-artifacts/package.json +++ b/sdk/synapse/synapse-artifacts/package.json @@ -4,7 +4,7 @@ "description": "A generated SDK for ArtifactsClient.", "sdk-type": "client", "version": "1.0.0-beta.5", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/synapse/synapse-artifacts/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-artifacts/README.md", "repository": "github:Azure/azure-sdk-for-js", "dependencies": { "@azure/core-lro": "^1.0.2", diff --git a/sdk/synapse/synapse-managed-private-endpoints/package.json b/sdk/synapse/synapse-managed-private-endpoints/package.json index bac7eed76889..46a878a73a49 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/package.json +++ b/sdk/synapse/synapse-managed-private-endpoints/package.json @@ -2,7 +2,7 @@ "name": "@azure/synapse-managed-private-endpoints", "author": "Microsoft Corporation", "description": "A generated SDK for ManagedPrivateEndpointsClient.", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/synapse/synapse-managed-private-endpoints/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-managed-private-endpoints/README.md", "repository": "github:Azure/azure-sdk-for-js", "sdk-type": "client", "version": "1.0.0-beta.3", diff --git a/sdk/synapse/synapse-monitoring/package.json b/sdk/synapse/synapse-monitoring/package.json index 8d932b43ffac..9697352edb89 100644 --- a/sdk/synapse/synapse-monitoring/package.json +++ b/sdk/synapse/synapse-monitoring/package.json @@ -2,7 +2,7 @@ "name": "@azure/synapse-monitoring", "author": "Microsoft Corporation", "description": "A generated SDK for MonitoringClient.", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/synapse/synapse-monitoring/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-monitoring/README.md", "repository": "github:Azure/azure-sdk-for-js", "sdk-type": "client", "version": "1.0.0-beta.3", diff --git a/sdk/synapse/synapse-spark/package.json b/sdk/synapse/synapse-spark/package.json index 571cd75968d6..bce069089528 100644 --- a/sdk/synapse/synapse-spark/package.json +++ b/sdk/synapse/synapse-spark/package.json @@ -2,7 +2,7 @@ "name": "@azure/synapse-spark", "author": "Microsoft Corporation", "description": "A generated SDK for SparkClient.", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/synapse/synapse-spark/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-spark/README.md", "repository": "github:Azure/azure-sdk-for-js", "sdk-type": "client", "version": "1.0.0-beta.3", diff --git a/sdk/tables/data-tables/package.json b/sdk/tables/data-tables/package.json index 418fd8bc66d9..2e360e93587c 100644 --- a/sdk/tables/data-tables/package.json +++ b/sdk/tables/data-tables/package.json @@ -72,7 +72,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/data-tables/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/tables/data-tables/samples/v12/javascript/package.json b/sdk/tables/data-tables/samples/v12/javascript/package.json index 7dc57a371916..af8d98bcd2d5 100644 --- a/sdk/tables/data-tables/samples/v12/javascript/package.json +++ b/sdk/tables/data-tables/samples/v12/javascript/package.json @@ -20,7 +20,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/tables/data-tables", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/tables/data-tables", "dependencies": { "@azure/data-tables": "next", "dotenv": "latest", diff --git a/sdk/tables/data-tables/samples/v12/typescript/package.json b/sdk/tables/data-tables/samples/v12/typescript/package.json index 12a5ff128f01..33022c141778 100644 --- a/sdk/tables/data-tables/samples/v12/typescript/package.json +++ b/sdk/tables/data-tables/samples/v12/typescript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/tables/data-tables", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/tables/data-tables", "dependencies": { "@azure/data-tables": "next", "dotenv": "latest", diff --git a/sdk/template/template/package.json b/sdk/template/template/package.json index 46009eb92733..88305b1fb0fd 100644 --- a/sdk/template/template/package.json +++ b/sdk/template/template/package.json @@ -77,7 +77,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/template/template/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/template/template/README.md", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/template/template/samples/v1/javascript/package.json b/sdk/template/template/samples/v1/javascript/package.json index af74504a330e..ff3086827330 100644 --- a/sdk/template/template/samples/v1/javascript/package.json +++ b/sdk/template/template/samples/v1/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/template/template", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template", "dependencies": { "@azure/template": "next", "dotenv": "latest", diff --git a/sdk/template/template/samples/v1/typescript/package.json b/sdk/template/template/samples/v1/typescript/package.json index 839bf6a27859..3f3bc41854cf 100644 --- a/sdk/template/template/samples/v1/typescript/package.json +++ b/sdk/template/template/samples/v1/typescript/package.json @@ -25,7 +25,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/template/template", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template", "dependencies": { "@azure/template": "next", "dotenv": "latest", diff --git a/sdk/test-utils/perfstress/package.json b/sdk/test-utils/perfstress/package.json index 8a226e062288..df285d1bf629 100644 --- a/sdk/test-utils/perfstress/package.json +++ b/sdk/test-utils/perfstress/package.json @@ -56,7 +56,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/test-utils/perfstress/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/test-utils/perfstress/README.md", "sideEffects": false, "private": true, "dependencies": { diff --git a/sdk/test-utils/recorder/package.json b/sdk/test-utils/recorder/package.json index 814db97c65ea..e61b9f111421 100644 --- a/sdk/test-utils/recorder/package.json +++ b/sdk/test-utils/recorder/package.json @@ -59,7 +59,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/test-utils/recorder/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/test-utils/recorder/", "sideEffects": false, "private": true, "dependencies": { diff --git a/sdk/test-utils/test-utils/package.json b/sdk/test-utils/test-utils/package.json index b616ae5e7c11..56b3aa749cf7 100644 --- a/sdk/test-utils/test-utils/package.json +++ b/sdk/test-utils/test-utils/package.json @@ -52,7 +52,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/test-utils/test-utils/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/test-utils/test-utils/README.md", "sideEffects": false, "private": true, "dependencies": { diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index 814f914642a2..eea2ced8bc95 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -16,7 +16,7 @@ "main": "./dist/index.js", "module": "./dist-esm/src/index.js", "types": "./types/ai-text-analytics.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/textanalytics/ai-text-analytics/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/textanalytics/ai-text-analytics/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/package.json b/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/package.json index d7e6d9e4596f..1fe02f954a65 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/package.json +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/textanalytics/ai-text-analytics", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/textanalytics/ai-text-analytics", "dependencies": { "@azure/ai-text-analytics": "next", "dotenv": "latest", diff --git a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/package.json b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/package.json index d1e428ef61b6..0dab36d935e6 100644 --- a/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/package.json +++ b/sdk/textanalytics/ai-text-analytics/samples/v5/typescript/package.json @@ -28,7 +28,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/textanalytics/ai-text-analytics", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/textanalytics/ai-text-analytics", "dependencies": { "@azure/ai-text-analytics": "next", "dotenv": "latest", diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/package.json b/sdk/timeseriesinsights/arm-timeseriesinsights/package.json index 25b1c9f7ce6c..d16181f08035 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/package.json +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/timeseriesinsights/arm-timeseriesinsights", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/timeseriesinsights/arm-timeseriesinsights", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/trafficmanager/arm-trafficmanager/package.json b/sdk/trafficmanager/arm-trafficmanager/package.json index b154d1ebe61b..7feef4a52f26 100644 --- a/sdk/trafficmanager/arm-trafficmanager/package.json +++ b/sdk/trafficmanager/arm-trafficmanager/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/trafficmanager/arm-trafficmanager", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/trafficmanager/arm-trafficmanager", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/videoanalyzer/video-analyzer-edge/package.json b/sdk/videoanalyzer/video-analyzer-edge/package.json index 981bf3fb2a2b..3bb716edadd0 100644 --- a/sdk/videoanalyzer/video-analyzer-edge/package.json +++ b/sdk/videoanalyzer/video-analyzer-edge/package.json @@ -55,7 +55,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/videoanalyzer/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/videoanalyzer/", "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { diff --git a/sdk/videoanalyzer/video-analyzer-edge/samples/javascript/package.json b/sdk/videoanalyzer/video-analyzer-edge/samples/javascript/package.json index 2f19bba45713..18c90b304316 100644 --- a/sdk/videoanalyzer/video-analyzer-edge/samples/javascript/package.json +++ b/sdk/videoanalyzer/video-analyzer-edge/samples/javascript/package.json @@ -21,7 +21,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/mediaservices", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mediaservices", "sideEffects": false, "dependencies": { "@azure/template": "latest", diff --git a/sdk/videoanalyzer/video-analyzer-edge/samples/typescript/package.json b/sdk/videoanalyzer/video-analyzer-edge/samples/typescript/package.json index bb18be8c5978..cdd247528dae 100644 --- a/sdk/videoanalyzer/video-analyzer-edge/samples/typescript/package.json +++ b/sdk/videoanalyzer/video-analyzer-edge/samples/typescript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/template/template", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/template/template", "sideEffects": false, "dependencies": { "dotenv": "^8.2.0" diff --git a/sdk/visualstudio/arm-visualstudio/package.json b/sdk/visualstudio/arm-visualstudio/package.json index d138b84aa8e0..e5a4f09f2f82 100644 --- a/sdk/visualstudio/arm-visualstudio/package.json +++ b/sdk/visualstudio/arm-visualstudio/package.json @@ -25,7 +25,7 @@ "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/visualstudio/arm-visualstudio", + "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/visualstudio/arm-visualstudio", "repository": { "type": "git", "url": "https://github.com/azure/azure-sdk-for-js.git" diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json index 955a8b85cce9..2c614357cfc1 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json @@ -26,7 +26,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/vmwarecloudsimple/arm-vmwarecloudsimple", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/vmwarecloudsimple/arm-vmwarecloudsimple", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/web-pubsub/web-pubsub-express/package.json b/sdk/web-pubsub/web-pubsub-express/package.json index c35cc23a30cc..9402a439ee30 100644 --- a/sdk/web-pubsub/web-pubsub-express/package.json +++ b/sdk/web-pubsub/web-pubsub-express/package.json @@ -54,7 +54,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search/", "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", diff --git a/sdk/web-pubsub/web-pubsub-express/samples/v1/javascript/package.json b/sdk/web-pubsub/web-pubsub-express/samples/v1/javascript/package.json index 62a3d9f7709e..c7003a47c385 100644 --- a/sdk/web-pubsub/web-pubsub-express/samples/v1/javascript/package.json +++ b/sdk/web-pubsub/web-pubsub-express/samples/v1/javascript/package.json @@ -20,7 +20,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/web-pubsub/web-pubsub-express", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub-express", "dependencies": { "@azure/web-pubsub-express": "next", "dotenv": "latest" diff --git a/sdk/web-pubsub/web-pubsub-express/samples/v1/typescript/package.json b/sdk/web-pubsub/web-pubsub-express/samples/v1/typescript/package.json index 73d915f70f19..4ebfc6eed7c7 100644 --- a/sdk/web-pubsub/web-pubsub-express/samples/v1/typescript/package.json +++ b/sdk/web-pubsub/web-pubsub-express/samples/v1/typescript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/web-pubsub/web-pubsub-express", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub-express", "dependencies": { "@azure/web-pubsub-express": "next", "dotenv": "latest" diff --git a/sdk/web-pubsub/web-pubsub/package.json b/sdk/web-pubsub/web-pubsub/package.json index eea7ea8010d5..55e9fd92d07d 100644 --- a/sdk/web-pubsub/web-pubsub/package.json +++ b/sdk/web-pubsub/web-pubsub/package.json @@ -57,7 +57,7 @@ "engines": { "node": ">=8.0.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/search/search/", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search/", "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json index c5b83b530066..27c8fa3ed048 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json +++ b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json @@ -20,7 +20,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/web-pubsub/web-pubsub", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub", "dependencies": { "@azure/web-pubsub": "next", "dotenv": "latest" diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json index f4767947c4e1..27324ebbf8ff 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json +++ b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json @@ -24,7 +24,7 @@ "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/web-pubsub/web-pubsub", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub", "dependencies": { "@azure/web-pubsub": "next", "dotenv": "latest" From 0eeb81aee87f028a7b9ca609b6aa28093d1c3116 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Tue, 22 Jun 2021 16:24:17 -0700 Subject: [PATCH 022/134] [core] - added changelog entries for recent changes (#15902) I recently added a few breaking changes to core-tracing which have impacted core-http but forgot to add changelog entries. This commit just addresses the changelog. --- sdk/core/core-http/CHANGELOG.md | 2 ++ sdk/core/core-tracing/CHANGELOG.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index cfa8a6b1b9e0..6a94d77d6ecf 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -6,6 +6,8 @@ ### Breaking Changes +- Updated @azure/core-tracing to version `1.0.0-preview.12`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. + ### Key Bugs Fixed ### Fixed diff --git a/sdk/core/core-tracing/CHANGELOG.md b/sdk/core/core-tracing/CHANGELOG.md index d6aac66e465c..a309dea716be 100644 --- a/sdk/core/core-tracing/CHANGELOG.md +++ b/sdk/core/core-tracing/CHANGELOG.md @@ -7,6 +7,8 @@ ### Breaking Changes - Removed `OpenCensusSpanWrapper` and `OpenCensusTracerWrapper` from the public API. Customers using these wrappers should migrate to using `OpenTelemetry` directly. [PR #15770](https://github.com/Azure/azure-sdk-for-js/pull/15770) +- Update `@azure/core-tracing` to version 1.0.0-preview.12. This brings core-tracing up to date with `@opentelemetry/api@1.0.0`. + - `Span#context` was renamed to `Span#spanContext`. This change is supported in `@azure/core-http@1.2.7`. ## 1.0.0-preview.11 (2021-03-30) From 556da80751c6dd5eae43742bbf059234b5dc7126 Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Tue, 22 Jun 2021 17:08:01 -0700 Subject: [PATCH 023/134] [ContainerRegistry] switch to use official TS code generator (#15777) and re-generate code. * Don't set userAgentPrefix in convenience layer * Update version constant prefix * Use latest @autorest/typescript plugin --- .../container-registry/package.json | 6 +- .../container-registry/src/constants.ts | 4 - .../src/containerRegistryClient.ts | 12 - .../src/generated/generatedClient.ts | 13 +- .../src/generated/generatedClientContext.ts | 11 +- .../container-registry/src/generated/index.ts | 1 + .../src/generated/models/index.ts | 96 +++++++- .../generated/operations/authentication.ts | 3 +- .../generated/operations/containerRegistry.ts | 29 ++- .../operations/containerRegistryBlob.ts | 37 ++- .../operationsInterfaces/authentication.ts | 32 +++ .../operationsInterfaces/containerRegistry.ts | 228 ++++++++++++++++++ .../containerRegistryBlob.ts | 166 +++++++++++++ .../generated/operationsInterfaces/index.ts | 11 + .../container-registry/swagger/README.md | 3 +- 15 files changed, 588 insertions(+), 64 deletions(-) delete mode 100644 sdk/containerregistry/container-registry/src/constants.ts create mode 100644 sdk/containerregistry/container-registry/src/generated/operationsInterfaces/authentication.ts create mode 100644 sdk/containerregistry/container-registry/src/generated/operationsInterfaces/containerRegistry.ts create mode 100644 sdk/containerregistry/container-registry/src/generated/operationsInterfaces/containerRegistryBlob.ts create mode 100644 sdk/containerregistry/container-registry/src/generated/operationsInterfaces/index.ts diff --git a/sdk/containerregistry/container-registry/package.json b/sdk/containerregistry/container-registry/package.json index ff18b91998b7..ecfd88075a42 100644 --- a/sdk/containerregistry/container-registry/package.json +++ b/sdk/containerregistry/container-registry/package.json @@ -15,11 +15,7 @@ "constantPaths": [ { "path": "src/generated/generatedClientContext.ts", - "prefix": "packageVersion" - }, - { - "path": "src/constants.ts", - "prefix": "SDK_VERSION" + "prefix": "const packageDetails" }, { "path": "swagger/README.md", diff --git a/sdk/containerregistry/container-registry/src/constants.ts b/sdk/containerregistry/container-registry/src/constants.ts deleted file mode 100644 index 3ec689ed2107..000000000000 --- a/sdk/containerregistry/container-registry/src/constants.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -export const SDK_VERSION: string = "1.0.0-beta.4"; diff --git a/sdk/containerregistry/container-registry/src/containerRegistryClient.ts b/sdk/containerregistry/container-registry/src/containerRegistryClient.ts index aa323f5395ac..d2a3f9a80eca 100644 --- a/sdk/containerregistry/container-registry/src/containerRegistryClient.ts +++ b/sdk/containerregistry/container-registry/src/containerRegistryClient.ts @@ -15,7 +15,6 @@ import { SpanStatusCode } from "@azure/core-tracing"; import "@azure/core-paging"; import { PageSettings, PagedAsyncIterableIterator } from "@azure/core-paging"; -import { SDK_VERSION } from "./constants"; import { logger } from "./logger"; import { GeneratedClient } from "./generated"; import { createSpan } from "./tracing"; @@ -122,17 +121,6 @@ export class ContainerRegistryClient { options = credentialOrOptions ?? {}; } - // The below code helps us set a proper User-Agent header on all requests - const libInfo = `azsdk-js-container-registry/${SDK_VERSION}`; - if (!options.userAgentOptions) { - options.userAgentOptions = {}; - } - if (options.userAgentOptions.userAgentPrefix) { - options.userAgentOptions.userAgentPrefix = `${options.userAgentOptions.userAgentPrefix} ${libInfo}`; - } else { - options.userAgentOptions.userAgentPrefix = libInfo; - } - const internalPipelineOptions: InternalPipelineOptions = { ...options, loggingOptions: { diff --git a/sdk/containerregistry/container-registry/src/generated/generatedClient.ts b/sdk/containerregistry/container-registry/src/generated/generatedClient.ts index 802392a69460..efe08bacd8e7 100644 --- a/sdk/containerregistry/container-registry/src/generated/generatedClient.ts +++ b/sdk/containerregistry/container-registry/src/generated/generatedClient.ts @@ -6,11 +6,16 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { + ContainerRegistryImpl, + ContainerRegistryBlobImpl, + AuthenticationImpl +} from "./operations"; import { ContainerRegistry, ContainerRegistryBlob, Authentication -} from "./operations"; +} from "./operationsInterfaces"; import { GeneratedClientContext } from "./generatedClientContext"; import { GeneratedClientOptionalParams } from "./models"; @@ -23,9 +28,9 @@ export class GeneratedClient extends GeneratedClientContext { */ constructor(url: string, options?: GeneratedClientOptionalParams) { super(url, options); - this.containerRegistry = new ContainerRegistry(this); - this.containerRegistryBlob = new ContainerRegistryBlob(this); - this.authentication = new Authentication(this); + this.containerRegistry = new ContainerRegistryImpl(this); + this.containerRegistryBlob = new ContainerRegistryBlobImpl(this); + this.authentication = new AuthenticationImpl(this); } containerRegistry: ContainerRegistry; diff --git a/sdk/containerregistry/container-registry/src/generated/generatedClientContext.ts b/sdk/containerregistry/container-registry/src/generated/generatedClientContext.ts index e23312f41401..d6a7b973d414 100644 --- a/sdk/containerregistry/container-registry/src/generated/generatedClientContext.ts +++ b/sdk/containerregistry/container-registry/src/generated/generatedClientContext.ts @@ -27,17 +27,24 @@ export class GeneratedClientContext extends coreClient.ServiceClient { if (!options) { options = {}; } - const defaults: GeneratedClientOptionalParams = { requestContentType: "application/json; charset=utf-8" }; + const packageDetails = `azsdk-js-container-registry/1.0.0-beta.4`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; + const optionsWithDefaults = { ...defaults, ...options, + userAgentOptions: { + userAgentPrefix + }, baseUri: options.endpoint || "{url}" }; - super(optionsWithDefaults); // Parameter assignments this.url = url; diff --git a/sdk/containerregistry/container-registry/src/generated/index.ts b/sdk/containerregistry/container-registry/src/generated/index.ts index 3aebf3c9a56c..707d58f011e8 100644 --- a/sdk/containerregistry/container-registry/src/generated/index.ts +++ b/sdk/containerregistry/container-registry/src/generated/index.ts @@ -9,3 +9,4 @@ export * from "./models"; export { GeneratedClient } from "./generatedClient"; export { GeneratedClientContext } from "./generatedClientContext"; +export * from "./operationsInterfaces"; diff --git a/sdk/containerregistry/container-registry/src/generated/models/index.ts b/sdk/containerregistry/container-registry/src/generated/models/index.ts index 691193ab46eb..145d3de29f2b 100644 --- a/sdk/containerregistry/container-registry/src/generated/models/index.ts +++ b/sdk/containerregistry/container-registry/src/generated/models/index.ts @@ -7,7 +7,7 @@ */ import * as coreClient from "@azure/core-client"; -import * as coreHttps from "@azure/core-rest-pipeline"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; /** Acr error response describing why the operation failed */ export interface AcrErrors { @@ -230,12 +230,12 @@ export interface ManifestAttributesBase { * CPU architecture * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly architecture?: ArtifactArchitecture | null; + readonly architecture?: ArtifactArchitecture; /** * Operating system * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operatingSystem?: ArtifactOperatingSystem | null; + readonly operatingSystem?: ArtifactOperatingSystem; /** * List of artifacts that are referenced by this manifest list, with information about the platform each supports. This list will be empty if this is a leaf manifest and not a manifest list. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -331,12 +331,12 @@ export interface ArtifactManifestProperties { * CPU architecture * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly architecture?: ArtifactArchitecture | null; + readonly architecture?: ArtifactArchitecture; /** * Operating system * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly operatingSystem?: ArtifactOperatingSystem | null; + readonly operatingSystem?: ArtifactOperatingSystem; /** * List of artifacts that are referenced by this manifest list, with information about the platform each supports. This list will be empty if this is a leaf manifest and not a manifest list. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -468,7 +468,7 @@ export interface Descriptor { /** Specifies a list of URIs from which this object may be downloaded. */ urls?: string[]; /** Additional information provided through arbitrary metadata. */ - annotations?: Annotations | null; + annotations?: Annotations; } /** Additional information provided through arbitrary metadata. */ @@ -553,7 +553,7 @@ export type ManifestWrapper = Manifest & { /** (V2, OCI) List of V2 image layer information */ layers?: Descriptor[]; /** (OCI, OCIIndex) Additional metadata */ - annotations?: Annotations | null; + annotations?: Annotations; /** (V1) CPU architecture */ architecture?: string; /** (V1) Image name */ @@ -593,7 +593,7 @@ export type OCIManifest = Manifest & { /** List of V2 image layer information */ layers?: Descriptor[]; /** Additional information provided through arbitrary metadata. */ - annotations?: Annotations | null; + annotations?: Annotations; }; /** Returns the requested OCI index file */ @@ -601,7 +601,7 @@ export type OCIIndex = Manifest & { /** List of OCI image layer information */ manifests?: ManifestListAttributes[]; /** Additional information provided through arbitrary metadata. */ - annotations?: Annotations | null; + annotations?: Annotations; }; /** Returns the requested V1 manifest file */ @@ -773,7 +773,7 @@ export const enum KnownArtifactArchitecture { * Defines values for ArtifactArchitecture. \ * {@link KnownArtifactArchitecture} can be used interchangeably with ArtifactArchitecture, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **386** \ * **amd64** \ * **arm** \ @@ -812,7 +812,7 @@ export const enum KnownArtifactOperatingSystem { * Defines values for ArtifactOperatingSystem. \ * {@link KnownArtifactOperatingSystem} can be used interchangeably with ArtifactOperatingSystem, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **aix** \ * **android** \ * **darwin** \ @@ -836,6 +836,10 @@ export type ArtifactTagOrderBy = "none" | "timedesc" | "timeasc"; /** Defines values for ArtifactManifestOrderBy. */ export type ArtifactManifestOrderBy = "none" | "timedesc" | "timeasc"; +/** Optional parameters. */ +export interface ContainerRegistryCheckDockerV2SupportOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface ContainerRegistryGetManifestOptionalParams extends coreClient.OperationOptions { @@ -846,12 +850,20 @@ export interface ContainerRegistryGetManifestOptionalParams /** Contains response data for the getManifest operation. */ export type ContainerRegistryGetManifestResponse = Manifest; +/** Optional parameters. */ +export interface ContainerRegistryCreateManifestOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the createManifest operation. */ export type ContainerRegistryCreateManifestResponse = ContainerRegistryCreateManifestHeaders & { /** The parsed response body. */ body: any; }; +/** Optional parameters. */ +export interface ContainerRegistryDeleteManifestOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface ContainerRegistryGetRepositoriesOptionalParams extends coreClient.OperationOptions { @@ -865,9 +877,17 @@ export interface ContainerRegistryGetRepositoriesOptionalParams export type ContainerRegistryGetRepositoriesResponse = ContainerRegistryGetRepositoriesHeaders & Repositories; +/** Optional parameters. */ +export interface ContainerRegistryGetPropertiesOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the getProperties operation. */ export type ContainerRegistryGetPropertiesResponse = ContainerRepositoryProperties; +/** Optional parameters. */ +export interface ContainerRegistryDeleteRepositoryOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface ContainerRegistryUpdatePropertiesOptionalParams extends coreClient.OperationOptions { @@ -895,6 +915,10 @@ export interface ContainerRegistryGetTagsOptionalParams export type ContainerRegistryGetTagsResponse = ContainerRegistryGetTagsHeaders & TagList; +/** Optional parameters. */ +export interface ContainerRegistryGetTagPropertiesOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the getTagProperties operation. */ export type ContainerRegistryGetTagPropertiesResponse = ArtifactTagProperties; @@ -908,6 +932,10 @@ export interface ContainerRegistryUpdateTagAttributesOptionalParams /** Contains response data for the updateTagAttributes operation. */ export type ContainerRegistryUpdateTagAttributesResponse = ArtifactTagProperties; +/** Optional parameters. */ +export interface ContainerRegistryDeleteTagOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface ContainerRegistryGetManifestsOptionalParams extends coreClient.OperationOptions { @@ -923,6 +951,10 @@ export interface ContainerRegistryGetManifestsOptionalParams export type ContainerRegistryGetManifestsResponse = ContainerRegistryGetManifestsHeaders & AcrManifests; +/** Optional parameters. */ +export interface ContainerRegistryGetManifestPropertiesOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the getManifestProperties operation. */ export type ContainerRegistryGetManifestPropertiesResponse = ArtifactManifestProperties; @@ -981,6 +1013,10 @@ export interface ContainerRegistryGetManifestsNextOptionalParams export type ContainerRegistryGetManifestsNextResponse = ContainerRegistryGetManifestsNextHeaders & AcrManifests; +/** Optional parameters. */ +export interface ContainerRegistryBlobGetBlobOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the getBlob operation. */ export type ContainerRegistryBlobGetBlobResponse = ContainerRegistryBlobGetBlobHeaders & { /** @@ -999,9 +1035,17 @@ export type ContainerRegistryBlobGetBlobResponse = ContainerRegistryBlobGetBlobH readableStreamBody?: NodeJS.ReadableStream; }; +/** Optional parameters. */ +export interface ContainerRegistryBlobCheckBlobExistsOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the checkBlobExists operation. */ export type ContainerRegistryBlobCheckBlobExistsResponse = ContainerRegistryBlobCheckBlobExistsHeaders; +/** Optional parameters. */ +export interface ContainerRegistryBlobDeleteBlobOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the deleteBlob operation. */ export type ContainerRegistryBlobDeleteBlobResponse = ContainerRegistryBlobDeleteBlobHeaders & { /** @@ -1020,12 +1064,24 @@ export type ContainerRegistryBlobDeleteBlobResponse = ContainerRegistryBlobDelet readableStreamBody?: NodeJS.ReadableStream; }; +/** Optional parameters. */ +export interface ContainerRegistryBlobMountBlobOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the mountBlob operation. */ export type ContainerRegistryBlobMountBlobResponse = ContainerRegistryBlobMountBlobHeaders; +/** Optional parameters. */ +export interface ContainerRegistryBlobGetUploadStatusOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the getUploadStatus operation. */ export type ContainerRegistryBlobGetUploadStatusResponse = ContainerRegistryBlobGetUploadStatusHeaders; +/** Optional parameters. */ +export interface ContainerRegistryBlobUploadChunkOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the uploadChunk operation. */ export type ContainerRegistryBlobUploadChunkResponse = ContainerRegistryBlobUploadChunkHeaders; @@ -1033,15 +1089,27 @@ export type ContainerRegistryBlobUploadChunkResponse = ContainerRegistryBlobUplo export interface ContainerRegistryBlobCompleteUploadOptionalParams extends coreClient.OperationOptions { /** Optional raw data of blob */ - value?: coreHttps.RequestBodyType; + value?: coreRestPipeline.RequestBodyType; } /** Contains response data for the completeUpload operation. */ export type ContainerRegistryBlobCompleteUploadResponse = ContainerRegistryBlobCompleteUploadHeaders; +/** Optional parameters. */ +export interface ContainerRegistryBlobCancelUploadOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ContainerRegistryBlobStartUploadOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the startUpload operation. */ export type ContainerRegistryBlobStartUploadResponse = ContainerRegistryBlobStartUploadHeaders; +/** Optional parameters. */ +export interface ContainerRegistryBlobGetChunkOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the getChunk operation. */ export type ContainerRegistryBlobGetChunkResponse = ContainerRegistryBlobGetChunkHeaders & { /** @@ -1060,6 +1128,10 @@ export type ContainerRegistryBlobGetChunkResponse = ContainerRegistryBlobGetChun readableStreamBody?: NodeJS.ReadableStream; }; +/** Optional parameters. */ +export interface ContainerRegistryBlobCheckChunkExistsOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the checkChunkExists operation. */ export type ContainerRegistryBlobCheckChunkExistsResponse = ContainerRegistryBlobCheckChunkExistsHeaders; diff --git a/sdk/containerregistry/container-registry/src/generated/operations/authentication.ts b/sdk/containerregistry/container-registry/src/generated/operations/authentication.ts index 4adc5bd654e6..d4e078be69dc 100644 --- a/sdk/containerregistry/container-registry/src/generated/operations/authentication.ts +++ b/sdk/containerregistry/container-registry/src/generated/operations/authentication.ts @@ -6,6 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { Authentication } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; @@ -18,7 +19,7 @@ import { } from "../models"; /** Class representing a Authentication. */ -export class Authentication { +export class AuthenticationImpl implements Authentication { private readonly client: GeneratedClientContext; /** diff --git a/sdk/containerregistry/container-registry/src/generated/operations/containerRegistry.ts b/sdk/containerregistry/container-registry/src/generated/operations/containerRegistry.ts index f9906614b4ac..9b6e18ae944b 100644 --- a/sdk/containerregistry/container-registry/src/generated/operations/containerRegistry.ts +++ b/sdk/containerregistry/container-registry/src/generated/operations/containerRegistry.ts @@ -6,27 +6,36 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { ContainerRegistry } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { GeneratedClientContext } from "../generatedClientContext"; import { + ContainerRegistryCheckDockerV2SupportOptionalParams, ContainerRegistryGetManifestOptionalParams, ContainerRegistryGetManifestResponse, Manifest, + ContainerRegistryCreateManifestOptionalParams, ContainerRegistryCreateManifestResponse, + ContainerRegistryDeleteManifestOptionalParams, ContainerRegistryGetRepositoriesOptionalParams, ContainerRegistryGetRepositoriesResponse, + ContainerRegistryGetPropertiesOptionalParams, ContainerRegistryGetPropertiesResponse, + ContainerRegistryDeleteRepositoryOptionalParams, ContainerRegistryUpdatePropertiesOptionalParams, ContainerRegistryUpdatePropertiesResponse, ContainerRegistryGetTagsOptionalParams, ContainerRegistryGetTagsResponse, + ContainerRegistryGetTagPropertiesOptionalParams, ContainerRegistryGetTagPropertiesResponse, ContainerRegistryUpdateTagAttributesOptionalParams, ContainerRegistryUpdateTagAttributesResponse, + ContainerRegistryDeleteTagOptionalParams, ContainerRegistryGetManifestsOptionalParams, ContainerRegistryGetManifestsResponse, + ContainerRegistryGetManifestPropertiesOptionalParams, ContainerRegistryGetManifestPropertiesResponse, ContainerRegistryUpdateManifestPropertiesOptionalParams, ContainerRegistryUpdateManifestPropertiesResponse, @@ -39,7 +48,7 @@ import { } from "../models"; /** Class representing a ContainerRegistry. */ -export class ContainerRegistry { +export class ContainerRegistryImpl implements ContainerRegistry { private readonly client: GeneratedClientContext; /** @@ -54,7 +63,9 @@ export class ContainerRegistry { * Tells whether this Docker Registry instance supports Docker Registry HTTP API v2 * @param options The options parameters. */ - checkDockerV2Support(options?: coreClient.OperationOptions): Promise { + checkDockerV2Support( + options?: ContainerRegistryCheckDockerV2SupportOptionalParams + ): Promise { return this.client.sendOperationRequest( { options }, checkDockerV2SupportOperationSpec @@ -89,7 +100,7 @@ export class ContainerRegistry { name: string, reference: string, payload: Manifest, - options?: coreClient.OperationOptions + options?: ContainerRegistryCreateManifestOptionalParams ): Promise { return this.client.sendOperationRequest( { name, reference, payload, options }, @@ -107,7 +118,7 @@ export class ContainerRegistry { deleteManifest( name: string, reference: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryDeleteManifestOptionalParams ): Promise { return this.client.sendOperationRequest( { name, reference, options }, @@ -135,7 +146,7 @@ export class ContainerRegistry { */ getProperties( name: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryGetPropertiesOptionalParams ): Promise { return this.client.sendOperationRequest( { name, options }, @@ -150,7 +161,7 @@ export class ContainerRegistry { */ deleteRepository( name: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryDeleteRepositoryOptionalParams ): Promise { return this.client.sendOperationRequest( { name, options }, @@ -197,7 +208,7 @@ export class ContainerRegistry { getTagProperties( name: string, reference: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryGetTagPropertiesOptionalParams ): Promise { return this.client.sendOperationRequest( { name, reference, options }, @@ -231,7 +242,7 @@ export class ContainerRegistry { deleteTag( name: string, reference: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryDeleteTagOptionalParams ): Promise { return this.client.sendOperationRequest( { name, reference, options }, @@ -263,7 +274,7 @@ export class ContainerRegistry { getManifestProperties( name: string, digest: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryGetManifestPropertiesOptionalParams ): Promise { return this.client.sendOperationRequest( { name, digest, options }, diff --git a/sdk/containerregistry/container-registry/src/generated/operations/containerRegistryBlob.ts b/sdk/containerregistry/container-registry/src/generated/operations/containerRegistryBlob.ts index 4404d3ad9a9b..cd3546d6a2db 100644 --- a/sdk/containerregistry/container-registry/src/generated/operations/containerRegistryBlob.ts +++ b/sdk/containerregistry/container-registry/src/generated/operations/containerRegistryBlob.ts @@ -6,27 +6,38 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ +import { ContainerRegistryBlob } from "../operationsInterfaces"; import * as coreClient from "@azure/core-client"; -import * as coreHttps from "@azure/core-rest-pipeline"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { GeneratedClientContext } from "../generatedClientContext"; import { + ContainerRegistryBlobGetBlobOptionalParams, ContainerRegistryBlobGetBlobResponse, + ContainerRegistryBlobCheckBlobExistsOptionalParams, ContainerRegistryBlobCheckBlobExistsResponse, + ContainerRegistryBlobDeleteBlobOptionalParams, ContainerRegistryBlobDeleteBlobResponse, + ContainerRegistryBlobMountBlobOptionalParams, ContainerRegistryBlobMountBlobResponse, + ContainerRegistryBlobGetUploadStatusOptionalParams, ContainerRegistryBlobGetUploadStatusResponse, + ContainerRegistryBlobUploadChunkOptionalParams, ContainerRegistryBlobUploadChunkResponse, ContainerRegistryBlobCompleteUploadOptionalParams, ContainerRegistryBlobCompleteUploadResponse, + ContainerRegistryBlobCancelUploadOptionalParams, + ContainerRegistryBlobStartUploadOptionalParams, ContainerRegistryBlobStartUploadResponse, + ContainerRegistryBlobGetChunkOptionalParams, ContainerRegistryBlobGetChunkResponse, + ContainerRegistryBlobCheckChunkExistsOptionalParams, ContainerRegistryBlobCheckChunkExistsResponse } from "../models"; /** Class representing a ContainerRegistryBlob. */ -export class ContainerRegistryBlob { +export class ContainerRegistryBlobImpl implements ContainerRegistryBlob { private readonly client: GeneratedClientContext; /** @@ -46,7 +57,7 @@ export class ContainerRegistryBlob { getBlob( name: string, digest: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobGetBlobOptionalParams ): Promise { return this.client.sendOperationRequest( { name, digest, options }, @@ -63,7 +74,7 @@ export class ContainerRegistryBlob { checkBlobExists( name: string, digest: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobCheckBlobExistsOptionalParams ): Promise { return this.client.sendOperationRequest( { name, digest, options }, @@ -80,7 +91,7 @@ export class ContainerRegistryBlob { deleteBlob( name: string, digest: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobDeleteBlobOptionalParams ): Promise { return this.client.sendOperationRequest( { name, digest, options }, @@ -99,7 +110,7 @@ export class ContainerRegistryBlob { name: string, mount: string, fromParam: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobMountBlobOptionalParams ): Promise { return this.client.sendOperationRequest( { name, mount, fromParam, options }, @@ -116,7 +127,7 @@ export class ContainerRegistryBlob { */ getUploadStatus( location: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobGetUploadStatusOptionalParams ): Promise { return this.client.sendOperationRequest( { location, options }, @@ -133,8 +144,8 @@ export class ContainerRegistryBlob { */ uploadChunk( location: string, - value: coreHttps.RequestBodyType, - options?: coreClient.OperationOptions + value: coreRestPipeline.RequestBodyType, + options?: ContainerRegistryBlobUploadChunkOptionalParams ): Promise { return this.client.sendOperationRequest( { location, value, options }, @@ -170,7 +181,7 @@ export class ContainerRegistryBlob { */ cancelUpload( location: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobCancelUploadOptionalParams ): Promise { return this.client.sendOperationRequest( { location, options }, @@ -185,7 +196,7 @@ export class ContainerRegistryBlob { */ startUpload( name: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobStartUploadOptionalParams ): Promise { return this.client.sendOperationRequest( { name, options }, @@ -206,7 +217,7 @@ export class ContainerRegistryBlob { name: string, digest: string, range: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobGetChunkOptionalParams ): Promise { return this.client.sendOperationRequest( { name, digest, range, options }, @@ -225,7 +236,7 @@ export class ContainerRegistryBlob { name: string, digest: string, range: string, - options?: coreClient.OperationOptions + options?: ContainerRegistryBlobCheckChunkExistsOptionalParams ): Promise { return this.client.sendOperationRequest( { name, digest, range, options }, diff --git a/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/authentication.ts b/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/authentication.ts new file mode 100644 index 000000000000..ac0462ab6a22 --- /dev/null +++ b/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/authentication.ts @@ -0,0 +1,32 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + AuthenticationExchangeAadAccessTokenForAcrRefreshTokenOptionalParams, + AuthenticationExchangeAadAccessTokenForAcrRefreshTokenResponse, + AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenOptionalParams, + AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenResponse +} from "../models"; + +/** Interface representing a Authentication. */ +export interface Authentication { + /** + * Exchange AAD tokens for an ACR refresh Token + * @param options The options parameters. + */ + exchangeAadAccessTokenForAcrRefreshToken( + options?: AuthenticationExchangeAadAccessTokenForAcrRefreshTokenOptionalParams + ): Promise; + /** + * Exchange ACR Refresh token for an ACR Access Token + * @param options The options parameters. + */ + exchangeAcrRefreshTokenForAcrAccessToken( + options?: AuthenticationExchangeAcrRefreshTokenForAcrAccessTokenOptionalParams + ): Promise; +} diff --git a/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/containerRegistry.ts b/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/containerRegistry.ts new file mode 100644 index 000000000000..8591964af2d9 --- /dev/null +++ b/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/containerRegistry.ts @@ -0,0 +1,228 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + ContainerRegistryCheckDockerV2SupportOptionalParams, + ContainerRegistryGetManifestOptionalParams, + ContainerRegistryGetManifestResponse, + Manifest, + ContainerRegistryCreateManifestOptionalParams, + ContainerRegistryCreateManifestResponse, + ContainerRegistryDeleteManifestOptionalParams, + ContainerRegistryGetRepositoriesOptionalParams, + ContainerRegistryGetRepositoriesResponse, + ContainerRegistryGetPropertiesOptionalParams, + ContainerRegistryGetPropertiesResponse, + ContainerRegistryDeleteRepositoryOptionalParams, + ContainerRegistryUpdatePropertiesOptionalParams, + ContainerRegistryUpdatePropertiesResponse, + ContainerRegistryGetTagsOptionalParams, + ContainerRegistryGetTagsResponse, + ContainerRegistryGetTagPropertiesOptionalParams, + ContainerRegistryGetTagPropertiesResponse, + ContainerRegistryUpdateTagAttributesOptionalParams, + ContainerRegistryUpdateTagAttributesResponse, + ContainerRegistryDeleteTagOptionalParams, + ContainerRegistryGetManifestsOptionalParams, + ContainerRegistryGetManifestsResponse, + ContainerRegistryGetManifestPropertiesOptionalParams, + ContainerRegistryGetManifestPropertiesResponse, + ContainerRegistryUpdateManifestPropertiesOptionalParams, + ContainerRegistryUpdateManifestPropertiesResponse, + ContainerRegistryGetRepositoriesNextOptionalParams, + ContainerRegistryGetRepositoriesNextResponse, + ContainerRegistryGetTagsNextOptionalParams, + ContainerRegistryGetTagsNextResponse, + ContainerRegistryGetManifestsNextOptionalParams, + ContainerRegistryGetManifestsNextResponse +} from "../models"; + +/** Interface representing a ContainerRegistry. */ +export interface ContainerRegistry { + /** + * Tells whether this Docker Registry instance supports Docker Registry HTTP API v2 + * @param options The options parameters. + */ + checkDockerV2Support( + options?: ContainerRegistryCheckDockerV2SupportOptionalParams + ): Promise; + /** + * Get the manifest identified by `name` and `reference` where `reference` can be a tag or digest. + * @param name Name of the image (including the namespace) + * @param reference A tag or a digest, pointing to a specific image + * @param options The options parameters. + */ + getManifest( + name: string, + reference: string, + options?: ContainerRegistryGetManifestOptionalParams + ): Promise; + /** + * Put the manifest identified by `name` and `reference` where `reference` can be a tag or digest. + * @param name Name of the image (including the namespace) + * @param reference A tag or a digest, pointing to a specific image + * @param payload Manifest body, can take v1 or v2 values depending on accept header + * @param options The options parameters. + */ + createManifest( + name: string, + reference: string, + payload: Manifest, + options?: ContainerRegistryCreateManifestOptionalParams + ): Promise; + /** + * Delete the manifest identified by `name` and `reference`. Note that a manifest can _only_ be deleted + * by `digest`. + * @param name Name of the image (including the namespace) + * @param reference Digest of a BLOB + * @param options The options parameters. + */ + deleteManifest( + name: string, + reference: string, + options?: ContainerRegistryDeleteManifestOptionalParams + ): Promise; + /** + * List repositories + * @param options The options parameters. + */ + getRepositories( + options?: ContainerRegistryGetRepositoriesOptionalParams + ): Promise; + /** + * Get repository attributes + * @param name Name of the image (including the namespace) + * @param options The options parameters. + */ + getProperties( + name: string, + options?: ContainerRegistryGetPropertiesOptionalParams + ): Promise; + /** + * Delete the repository identified by `name` + * @param name Name of the image (including the namespace) + * @param options The options parameters. + */ + deleteRepository( + name: string, + options?: ContainerRegistryDeleteRepositoryOptionalParams + ): Promise; + /** + * Update the attribute identified by `name` where `reference` is the name of the repository. + * @param name Name of the image (including the namespace) + * @param options The options parameters. + */ + updateProperties( + name: string, + options?: ContainerRegistryUpdatePropertiesOptionalParams + ): Promise; + /** + * List tags of a repository + * @param name Name of the image (including the namespace) + * @param options The options parameters. + */ + getTags( + name: string, + options?: ContainerRegistryGetTagsOptionalParams + ): Promise; + /** + * Get tag attributes by tag + * @param name Name of the image (including the namespace) + * @param reference Tag name + * @param options The options parameters. + */ + getTagProperties( + name: string, + reference: string, + options?: ContainerRegistryGetTagPropertiesOptionalParams + ): Promise; + /** + * Update tag attributes + * @param name Name of the image (including the namespace) + * @param reference Tag name + * @param options The options parameters. + */ + updateTagAttributes( + name: string, + reference: string, + options?: ContainerRegistryUpdateTagAttributesOptionalParams + ): Promise; + /** + * Delete tag + * @param name Name of the image (including the namespace) + * @param reference Tag name + * @param options The options parameters. + */ + deleteTag( + name: string, + reference: string, + options?: ContainerRegistryDeleteTagOptionalParams + ): Promise; + /** + * List manifests of a repository + * @param name Name of the image (including the namespace) + * @param options The options parameters. + */ + getManifests( + name: string, + options?: ContainerRegistryGetManifestsOptionalParams + ): Promise; + /** + * Get manifest attributes + * @param name Name of the image (including the namespace) + * @param digest Digest of a BLOB + * @param options The options parameters. + */ + getManifestProperties( + name: string, + digest: string, + options?: ContainerRegistryGetManifestPropertiesOptionalParams + ): Promise; + /** + * Update properties of a manifest + * @param name Name of the image (including the namespace) + * @param digest Digest of a BLOB + * @param options The options parameters. + */ + updateManifestProperties( + name: string, + digest: string, + options?: ContainerRegistryUpdateManifestPropertiesOptionalParams + ): Promise; + /** + * GetRepositoriesNext + * @param nextLink The nextLink from the previous successful call to the GetRepositories method. + * @param options The options parameters. + */ + getRepositoriesNext( + nextLink: string, + options?: ContainerRegistryGetRepositoriesNextOptionalParams + ): Promise; + /** + * GetTagsNext + * @param name Name of the image (including the namespace) + * @param nextLink The nextLink from the previous successful call to the GetTags method. + * @param options The options parameters. + */ + getTagsNext( + name: string, + nextLink: string, + options?: ContainerRegistryGetTagsNextOptionalParams + ): Promise; + /** + * GetManifestsNext + * @param name Name of the image (including the namespace) + * @param nextLink The nextLink from the previous successful call to the GetManifests method. + * @param options The options parameters. + */ + getManifestsNext( + name: string, + nextLink: string, + options?: ContainerRegistryGetManifestsNextOptionalParams + ): Promise; +} diff --git a/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/containerRegistryBlob.ts b/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/containerRegistryBlob.ts new file mode 100644 index 000000000000..4f8d82092b09 --- /dev/null +++ b/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/containerRegistryBlob.ts @@ -0,0 +1,166 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreRestPipeline from "@azure/core-rest-pipeline"; +import { + ContainerRegistryBlobGetBlobOptionalParams, + ContainerRegistryBlobGetBlobResponse, + ContainerRegistryBlobCheckBlobExistsOptionalParams, + ContainerRegistryBlobCheckBlobExistsResponse, + ContainerRegistryBlobDeleteBlobOptionalParams, + ContainerRegistryBlobDeleteBlobResponse, + ContainerRegistryBlobMountBlobOptionalParams, + ContainerRegistryBlobMountBlobResponse, + ContainerRegistryBlobGetUploadStatusOptionalParams, + ContainerRegistryBlobGetUploadStatusResponse, + ContainerRegistryBlobUploadChunkOptionalParams, + ContainerRegistryBlobUploadChunkResponse, + ContainerRegistryBlobCompleteUploadOptionalParams, + ContainerRegistryBlobCompleteUploadResponse, + ContainerRegistryBlobCancelUploadOptionalParams, + ContainerRegistryBlobStartUploadOptionalParams, + ContainerRegistryBlobStartUploadResponse, + ContainerRegistryBlobGetChunkOptionalParams, + ContainerRegistryBlobGetChunkResponse, + ContainerRegistryBlobCheckChunkExistsOptionalParams, + ContainerRegistryBlobCheckChunkExistsResponse +} from "../models"; + +/** Interface representing a ContainerRegistryBlob. */ +export interface ContainerRegistryBlob { + /** + * Retrieve the blob from the registry identified by digest. + * @param name Name of the image (including the namespace) + * @param digest Digest of a BLOB + * @param options The options parameters. + */ + getBlob( + name: string, + digest: string, + options?: ContainerRegistryBlobGetBlobOptionalParams + ): Promise; + /** + * Same as GET, except only the headers are returned. + * @param name Name of the image (including the namespace) + * @param digest Digest of a BLOB + * @param options The options parameters. + */ + checkBlobExists( + name: string, + digest: string, + options?: ContainerRegistryBlobCheckBlobExistsOptionalParams + ): Promise; + /** + * Removes an already uploaded blob. + * @param name Name of the image (including the namespace) + * @param digest Digest of a BLOB + * @param options The options parameters. + */ + deleteBlob( + name: string, + digest: string, + options?: ContainerRegistryBlobDeleteBlobOptionalParams + ): Promise; + /** + * Mount a blob identified by the `mount` parameter from another repository. + * @param name Name of the image (including the namespace) + * @param mount Digest of blob to mount from the source repository. + * @param fromParam Name of the source repository. + * @param options The options parameters. + */ + mountBlob( + name: string, + mount: string, + fromParam: string, + options?: ContainerRegistryBlobMountBlobOptionalParams + ): Promise; + /** + * Retrieve status of upload identified by uuid. The primary purpose of this endpoint is to resolve the + * current status of a resumable upload. + * @param location Link acquired from upload start or previous chunk. Note, do not include initial / + * (must do substring(1) ) + * @param options The options parameters. + */ + getUploadStatus( + location: string, + options?: ContainerRegistryBlobGetUploadStatusOptionalParams + ): Promise; + /** + * Upload a stream of data without completing the upload. + * @param location Link acquired from upload start or previous chunk. Note, do not include initial / + * (must do substring(1) ) + * @param value Raw data of blob + * @param options The options parameters. + */ + uploadChunk( + location: string, + value: coreRestPipeline.RequestBodyType, + options?: ContainerRegistryBlobUploadChunkOptionalParams + ): Promise; + /** + * Complete the upload, providing all the data in the body, if necessary. A request without a body will + * just complete the upload with previously uploaded content. + * @param digest Digest of a BLOB + * @param location Link acquired from upload start or previous chunk. Note, do not include initial / + * (must do substring(1) ) + * @param options The options parameters. + */ + completeUpload( + digest: string, + location: string, + options?: ContainerRegistryBlobCompleteUploadOptionalParams + ): Promise; + /** + * Cancel outstanding upload processes, releasing associated resources. If this is not called, the + * unfinished uploads will eventually timeout. + * @param location Link acquired from upload start or previous chunk. Note, do not include initial / + * (must do substring(1) ) + * @param options The options parameters. + */ + cancelUpload( + location: string, + options?: ContainerRegistryBlobCancelUploadOptionalParams + ): Promise; + /** + * Initiate a resumable blob upload with an empty request body. + * @param name Name of the image (including the namespace) + * @param options The options parameters. + */ + startUpload( + name: string, + options?: ContainerRegistryBlobStartUploadOptionalParams + ): Promise; + /** + * Retrieve the blob from the registry identified by `digest`. This endpoint may also support RFC7233 + * compliant range requests. Support can be detected by issuing a HEAD request. If the header + * `Accept-Range: bytes` is returned, range requests can be used to fetch partial content. + * @param name Name of the image (including the namespace) + * @param digest Digest of a BLOB + * @param range Format : bytes=-, HTTP Range header specifying blob chunk. + * @param options The options parameters. + */ + getChunk( + name: string, + digest: string, + range: string, + options?: ContainerRegistryBlobGetChunkOptionalParams + ): Promise; + /** + * Same as GET, except only the headers are returned. + * @param name Name of the image (including the namespace) + * @param digest Digest of a BLOB + * @param range Format : bytes=-, HTTP Range header specifying blob chunk. + * @param options The options parameters. + */ + checkChunkExists( + name: string, + digest: string, + range: string, + options?: ContainerRegistryBlobCheckChunkExistsOptionalParams + ): Promise; +} diff --git a/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/index.ts b/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/index.ts new file mode 100644 index 000000000000..b6666ac1ae96 --- /dev/null +++ b/sdk/containerregistry/container-registry/src/generated/operationsInterfaces/index.ts @@ -0,0 +1,11 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export * from "./containerRegistry"; +export * from "./containerRegistryBlob"; +export * from "./authentication"; diff --git a/sdk/containerregistry/container-registry/swagger/README.md b/sdk/containerregistry/container-registry/swagger/README.md index 144e4c441f9e..a3f9c0acad9d 100644 --- a/sdk/containerregistry/container-registry/swagger/README.md +++ b/sdk/containerregistry/container-registry/swagger/README.md @@ -19,8 +19,7 @@ add-credentials: false override-client-name: GeneratedClient disable-async-iterators: true hide-clients: true -use-core-v2: true use-extension: - "@autorest/typescript": "C:/github/autorest.typescript" + "@autorest/typescript": "6.0.0-beta.4" package-version: 1.0.0-beta.4 ``` From 63bc1fda89304d6ed3771f92c7ace62d1244aee8 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Wed, 23 Jun 2021 10:44:33 +0800 Subject: [PATCH 024/134] Arm cosmosdb release (#15789) * arm-cosmosdb-release * version update --- sdk/cosmosdb/arm-cosmosdb/README.md | 52 +- sdk/cosmosdb/arm-cosmosdb/package.json | 2 +- .../src/cosmosDBManagementClient.ts | 25 +- .../src/cosmosDBManagementClientContext.ts | 21 +- .../src/models/cassandraResourcesMappers.ts | 4 + .../src/models/databaseAccountsMappers.ts | 4 + .../src/models/gremlinResourcesMappers.ts | 4 + sdk/cosmosdb/arm-cosmosdb/src/models/index.ts | 4219 ++++++++++------- .../arm-cosmosdb/src/models/mappers.ts | 1179 ++++- .../src/models/mongoDBResourcesMappers.ts | 4 + .../src/models/notebookWorkspacesMappers.ts | 4 + .../arm-cosmosdb/src/models/parameters.ts | 104 +- .../privateEndpointConnectionsMappers.ts | 4 + .../src/models/privateLinkResourcesMappers.ts | 4 + .../restorableDatabaseAccountsMappers.ts | 16 + .../restorableMongodbCollectionsMappers.ts | 16 + .../restorableMongodbDatabasesMappers.ts | 16 + .../restorableMongodbResourcesMappers.ts | 15 + .../models/restorableSqlContainersMappers.ts | 27 + .../models/restorableSqlDatabasesMappers.ts | 17 + .../models/restorableSqlResourcesMappers.ts | 15 + .../src/models/sqlResourcesMappers.ts | 7 + .../src/models/tableResourcesMappers.ts | 4 + .../src/operations/cassandraResources.ts | 685 +-- .../src/operations/gremlinResources.ts | 681 +-- .../arm-cosmosdb/src/operations/index.ts | 9 +- .../src/operations/mongoDBResources.ts | 685 +-- .../operations/restorableDatabaseAccounts.ts | 189 + .../restorableMongodbCollections.ts | 89 + .../operations/restorableMongodbDatabases.ts | 89 + .../operations/restorableMongodbResources.ts | 91 + .../src/operations/restorableSqlContainers.ts | 91 + .../src/operations/restorableSqlDatabases.ts | 89 + .../src/operations/restorableSqlResources.ts | 91 + .../src/operations/sqlResources.ts | 1672 ++----- .../src/operations/tableResources.ts | 330 +- 36 files changed, 5971 insertions(+), 4583 deletions(-) create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/models/restorableDatabaseAccountsMappers.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/models/restorableMongodbCollectionsMappers.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/models/restorableMongodbDatabasesMappers.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/models/restorableMongodbResourcesMappers.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/models/restorableSqlContainersMappers.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/models/restorableSqlDatabasesMappers.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/models/restorableSqlResourcesMappers.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/operations/restorableDatabaseAccounts.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbCollections.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbDatabases.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbResources.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlContainers.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlDatabases.ts create mode 100644 sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlResources.ts diff --git a/sdk/cosmosdb/arm-cosmosdb/README.md b/sdk/cosmosdb/arm-cosmosdb/README.md index 9cf8ab01c9f4..73e3db480ef7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/README.md +++ b/sdk/cosmosdb/arm-cosmosdb/README.md @@ -1,11 +1,11 @@ ## Azure CosmosDBManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for CosmosDBManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for CosmosDBManagementClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -14,18 +14,15 @@ You must have an [Azure subscription](https://azure.microsoft.com/free/). ### How to install To use this SDK in your project, you will need to install two packages. - - `@azure/arm-cosmosdb` that contains the client. - `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. Install both packages using the below command: - ```bash npm install --save @azure/arm-cosmosdb @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. -> If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. ### How to use @@ -39,7 +36,6 @@ npm install --save @azure/arm-cosmosdb @azure/identity In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and get databaseAccounts as an example written in JavaScript. ##### Sample code @@ -55,24 +51,20 @@ const creds = new DefaultAzureCredential(); const client = new CosmosDBManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const accountName = "testaccountName"; -client.databaseAccounts - .get(resourceGroupName, accountName) - .then((result) => { - console.log("The result is:"); - console.log(result); - }) - .catch((err) => { - console.log("An error occurred:"); - console.error(err); - }); +client.databaseAccounts.get(resourceGroupName, accountName).then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` #### browser - Authentication, client creation, and get databaseAccounts as an example written in JavaScript. In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. - -- See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. -- Note down the client Id from the previous step and use it in the browser sample below. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code @@ -90,23 +82,21 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const subscriptionId = ""; // Create credentials using the `@azure/identity` package. // Please note that you can also use credentials from the `@azure/ms-rest-browserauth` package instead. - const credential = new InteractiveBrowserCredential({ + const credential = new InteractiveBrowserCredential( + { clientId: "", tenant: "" }); const client = new Azure.ArmCosmosdb.CosmosDBManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const accountName = "testaccountName"; - client.databaseAccounts - .get(resourceGroupName, accountName) - .then((result) => { - console.log("The result is:"); - console.log(result); - }) - .catch((err) => { - console.log("An error occurred:"); - console.error(err); - }); + client.databaseAccounts.get(resourceGroupName, accountName).then((result) => { + console.log("The result is:"); + console.log(result); + }).catch((err) => { + console.log("An error occurred:"); + console.error(err); + }); diff --git a/sdk/cosmosdb/arm-cosmosdb/package.json b/sdk/cosmosdb/arm-cosmosdb/package.json index f32cdbf59391..157505c142cb 100644 --- a/sdk/cosmosdb/arm-cosmosdb/package.json +++ b/sdk/cosmosdb/arm-cosmosdb/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-cosmosdb", "author": "Microsoft Corporation", "description": "CosmosDBManagementClient Library with typescript type definitions for node.js and browser.", - "version": "14.0.0", + "version": "14.1.0", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", diff --git a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts index 7fe2cf1c9026..bb1862208b62 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts @@ -14,6 +14,7 @@ import * as Mappers from "./models/mappers"; import * as operations from "./operations"; import { CosmosDBManagementClientContext } from "./cosmosDBManagementClientContext"; + class CosmosDBManagementClient extends CosmosDBManagementClientContext { // Operation groups databaseAccounts: operations.DatabaseAccounts; @@ -35,8 +36,15 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext { cassandraResources: operations.CassandraResources; gremlinResources: operations.GremlinResources; notebookWorkspaces: operations.NotebookWorkspaces; - privateLinkResources: operations.PrivateLinkResources; privateEndpointConnections: operations.PrivateEndpointConnections; + privateLinkResources: operations.PrivateLinkResources; + restorableDatabaseAccounts: operations.RestorableDatabaseAccounts; + restorableSqlDatabases: operations.RestorableSqlDatabases; + restorableSqlContainers: operations.RestorableSqlContainers; + restorableSqlResources: operations.RestorableSqlResources; + restorableMongodbDatabases: operations.RestorableMongodbDatabases; + restorableMongodbCollections: operations.RestorableMongodbCollections; + restorableMongodbResources: operations.RestorableMongodbResources; /** * Initializes a new instance of the CosmosDBManagementClient class. @@ -49,11 +57,7 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext { * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor( - credentials: msRest.ServiceClientCredentials | TokenCredential, - subscriptionId: string, - options?: Models.CosmosDBManagementClientOptions - ) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CosmosDBManagementClientOptions) { super(credentials, subscriptionId, options); this.databaseAccounts = new operations.DatabaseAccounts(this); this.operations = new operations.Operations(this); @@ -74,8 +78,15 @@ class CosmosDBManagementClient extends CosmosDBManagementClientContext { this.cassandraResources = new operations.CassandraResources(this); this.gremlinResources = new operations.GremlinResources(this); this.notebookWorkspaces = new operations.NotebookWorkspaces(this); - this.privateLinkResources = new operations.PrivateLinkResources(this); this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); + this.privateLinkResources = new operations.PrivateLinkResources(this); + this.restorableDatabaseAccounts = new operations.RestorableDatabaseAccounts(this); + this.restorableSqlDatabases = new operations.RestorableSqlDatabases(this); + this.restorableSqlContainers = new operations.RestorableSqlContainers(this); + this.restorableSqlResources = new operations.RestorableSqlResources(this); + this.restorableMongodbDatabases = new operations.RestorableMongodbDatabases(this); + this.restorableMongodbCollections = new operations.RestorableMongodbCollections(this); + this.restorableMongodbResources = new operations.RestorableMongodbResources(this); } } diff --git a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClientContext.ts b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClientContext.ts index 6f429ad77115..f8d7ab8eab11 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClientContext.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-cosmosdb"; -const packageVersion = "14.0.0"; +const packageVersion = "14.1.0"; export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; @@ -31,16 +31,12 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor( - credentials: msRest.ServiceClientCredentials | TokenCredential, - subscriptionId: string, - options?: Models.CosmosDBManagementClientOptions - ) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.CosmosDBManagementClientOptions) { if (credentials == undefined) { - throw new Error("'credentials' cannot be null."); + throw new Error('\'credentials\' cannot be null.'); } if (subscriptionId == undefined) { - throw new Error("'subscriptionId' cannot be null."); + throw new Error('\'subscriptionId\' cannot be null.'); } if (!options) { @@ -53,8 +49,8 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli super(credentials, options); - this.apiVersion = "2021-05-15"; - this.acceptLanguage = "en-US"; + this.apiVersion = '2021-06-15'; + this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; this.requestContentType = "application/json; charset=utf-8"; @@ -64,10 +60,7 @@ export class CosmosDBManagementClientContext extends msRestAzure.AzureServiceCli if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if ( - options.longRunningOperationRetryTimeout !== null && - options.longRunningOperationRetryTimeout !== undefined - ) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraResourcesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraResourcesMappers.ts index d23b609ceecb..74398ce35f03 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraResourcesMappers.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/cassandraResourcesMappers.ts @@ -17,6 +17,7 @@ export { AutoUpgradePolicyResource, AzureEntityResource, BackupPolicy, + BackupPolicyMigrationState, BaseResource, Capability, CassandraKeyspaceCreateUpdateParameters, @@ -45,6 +46,7 @@ export { CreateUpdateOptions, DatabaseAccountCreateUpdateParameters, DatabaseAccountGetResults, + DatabaseRestoreResource, ExcludedPath, FailoverPolicy, GremlinDatabaseCreateUpdateParameters, @@ -89,6 +91,7 @@ export { PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RestoreParameters, SpatialSpec, SqlContainerCreateUpdateParameters, SqlContainerGetPropertiesOptions, @@ -114,6 +117,7 @@ export { SqlUserDefinedFunctionGetPropertiesResource, SqlUserDefinedFunctionGetResults, SqlUserDefinedFunctionResource, + SystemData, TableCreateUpdateParameters, TableGetPropertiesOptions, TableGetPropertiesResource, diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/databaseAccountsMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/databaseAccountsMappers.ts index 59afb81faa5d..daf8a890c4d4 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/databaseAccountsMappers.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/databaseAccountsMappers.ts @@ -17,6 +17,7 @@ export { AutoUpgradePolicyResource, AzureEntityResource, BackupPolicy, + BackupPolicyMigrationState, BaseResource, Capability, CassandraKeyspaceCreateUpdateParameters, @@ -50,6 +51,7 @@ export { DatabaseAccountRegenerateKeyParameters, DatabaseAccountsListResult, DatabaseAccountUpdateParameters, + DatabaseRestoreResource, ErrorResponse, ExcludedPath, FailoverPolicies, @@ -107,6 +109,7 @@ export { ProxyResource, RegionForOnlineOffline, Resource, + RestoreParameters, SpatialSpec, SqlContainerCreateUpdateParameters, SqlContainerGetPropertiesOptions, @@ -132,6 +135,7 @@ export { SqlUserDefinedFunctionGetPropertiesResource, SqlUserDefinedFunctionGetResults, SqlUserDefinedFunctionResource, + SystemData, TableCreateUpdateParameters, TableGetPropertiesOptions, TableGetPropertiesResource, diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/gremlinResourcesMappers.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/gremlinResourcesMappers.ts index 1754395e323f..c950ad92168e 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/gremlinResourcesMappers.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/gremlinResourcesMappers.ts @@ -17,6 +17,7 @@ export { AutoUpgradePolicyResource, AzureEntityResource, BackupPolicy, + BackupPolicyMigrationState, BaseResource, Capability, CassandraKeyspaceCreateUpdateParameters, @@ -43,6 +44,7 @@ export { CreateUpdateOptions, DatabaseAccountCreateUpdateParameters, DatabaseAccountGetResults, + DatabaseRestoreResource, ExcludedPath, FailoverPolicy, GremlinDatabaseCreateUpdateParameters, @@ -89,6 +91,7 @@ export { PrivateLinkServiceConnectionStateProperty, ProxyResource, Resource, + RestoreParameters, SpatialSpec, SqlContainerCreateUpdateParameters, SqlContainerGetPropertiesOptions, @@ -114,6 +117,7 @@ export { SqlUserDefinedFunctionGetPropertiesResource, SqlUserDefinedFunctionGetResults, SqlUserDefinedFunctionResource, + SystemData, TableCreateUpdateParameters, TableGetPropertiesOptions, TableGetPropertiesResource, diff --git a/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts b/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts index bed260dc3e97..957f3666b2df 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/models/index.ts @@ -55,9 +55,7 @@ export interface ManagedServiceIdentity { * references will be ARM resource ids in the form: * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: { - [propertyName: string]: ManagedServiceIdentityUserAssignedIdentitiesValue; - }; + userAssignedIdentities?: { [propertyName: string]: ManagedServiceIdentityUserAssignedIdentitiesValue }; } /** @@ -235,7 +233,8 @@ export interface Resource extends BaseResource { * and a location * @summary Proxy Resource */ -export interface ProxyResource extends Resource {} +export interface ProxyResource extends Resource { +} /** * A private endpoint connection @@ -280,13 +279,68 @@ export interface AnalyticalStorageConfiguration { schemaType?: AnalyticalStorageSchemaType; } +/** + * Specific Databases to restore. + */ +export interface DatabaseRestoreResource { + /** + * The name of the database available for restore. + */ + databaseName?: string; + /** + * The names of the collections available for restore. + */ + collectionNames?: string[]; +} + +/** + * Parameters to indicate the information about the restore. + */ +export interface RestoreParameters { + /** + * Describes the mode of the restore. Possible values include: 'PointInTime' + */ + restoreMode?: RestoreMode; + /** + * The id of the restorable database account from which the restore has to be initiated. For + * example: + * /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} + */ + restoreSource?: string; + /** + * Time to which the account has to be restored (ISO-8601 format). + */ + restoreTimestampInUtc?: Date; + /** + * List of specific databases available for restore. + */ + databasesToRestore?: DatabaseRestoreResource[]; +} + +/** + * The object representing the state of the migration between the backup policies. + */ +export interface BackupPolicyMigrationState { + /** + * Describes the status of migration between backup policy types. Possible values include: + * 'Invalid', 'InProgress', 'Completed', 'Failed' + */ + status?: BackupPolicyMigrationStatus; + /** + * Describes the target backup policy type of the backup policy migration. Possible values + * include: 'Periodic', 'Continuous' + */ + targetType?: BackupPolicyType; + /** + * Time at which the backup policy migration started (ISO-8601 format). + */ + startTime?: Date; +} + /** * Contains the possible cases for BackupPolicy. */ -export type BackupPolicyUnion = - | BackupPolicy - | PeriodicModeBackupPolicy - | ContinuousModeBackupPolicy; +export type BackupPolicyUnion = BackupPolicy | PeriodicModeBackupPolicy | ContinuousModeBackupPolicy; /** * The object representing the policy for taking backups on an account. @@ -296,6 +350,10 @@ export interface BackupPolicy { * Polymorphic Discriminator */ type: "BackupPolicy"; + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: BackupPolicyMigrationState; } /** @@ -325,6 +383,38 @@ export interface CorsPolicy { maxAgeInSeconds?: number; } +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; +} + /** * The core properties of ARM resources. */ @@ -474,6 +564,20 @@ export interface DatabaseAccountGetResults extends ARMResourceProperties { * Analytical storage specific properties. */ analyticalStorageConfiguration?: AnalyticalStorageConfiguration; + /** + * A unique identifier assigned to the database account + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceId?: string; + /** + * Enum to indicate the mode of account creation. Possible values include: 'Default', 'Restore'. + * Default value: 'Default'. + */ + createMode?: CreateMode; + /** + * Parameters to indicate the information about the restore. + */ + restoreParameters?: RestoreParameters; /** * The object representing the policy for taking backups on an account. */ @@ -491,6 +595,16 @@ export interface DatabaseAccountGetResults extends ARMResourceProperties { * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. */ networkAclBypassResourceIds?: string[]; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for + * authentication. + */ + disableLocalAuth?: boolean; + /** + * The system meta data relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -545,7 +659,8 @@ export interface OptionsResource { /** * An interface representing SqlDatabaseGetPropertiesOptions. */ -export interface SqlDatabaseGetPropertiesOptions extends OptionsResource {} +export interface SqlDatabaseGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB SQL database. @@ -785,7 +900,8 @@ export interface SqlContainerGetPropertiesResource { /** * An interface representing SqlContainerGetPropertiesOptions. */ -export interface SqlContainerGetPropertiesOptions extends OptionsResource {} +export interface SqlContainerGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB container. @@ -944,7 +1060,8 @@ export interface MongoDBDatabaseGetPropertiesResource { /** * An interface representing MongoDBDatabaseGetPropertiesOptions. */ -export interface MongoDBDatabaseGetPropertiesOptions extends OptionsResource {} +export interface MongoDBDatabaseGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB MongoDB database. @@ -1033,7 +1150,8 @@ export interface MongoDBCollectionGetPropertiesResource { /** * An interface representing MongoDBCollectionGetPropertiesOptions. */ -export interface MongoDBCollectionGetPropertiesOptions extends OptionsResource {} +export interface MongoDBCollectionGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB MongoDB collection. @@ -1072,7 +1190,8 @@ export interface TableGetPropertiesResource { /** * An interface representing TableGetPropertiesOptions. */ -export interface TableGetPropertiesOptions extends OptionsResource {} +export interface TableGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB Table. @@ -1111,7 +1230,8 @@ export interface CassandraKeyspaceGetPropertiesResource { /** * An interface representing CassandraKeyspaceGetPropertiesOptions. */ -export interface CassandraKeyspaceGetPropertiesOptions extends OptionsResource {} +export interface CassandraKeyspaceGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB Cassandra keyspace. @@ -1218,7 +1338,8 @@ export interface CassandraTableGetPropertiesResource { /** * An interface representing CassandraTableGetPropertiesOptions. */ -export interface CassandraTableGetPropertiesOptions extends OptionsResource {} +export interface CassandraTableGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB Cassandra table. @@ -1257,7 +1378,8 @@ export interface GremlinDatabaseGetPropertiesResource { /** * An interface representing GremlinDatabaseGetPropertiesOptions. */ -export interface GremlinDatabaseGetPropertiesOptions extends OptionsResource {} +export interface GremlinDatabaseGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB Gremlin database. @@ -1319,7 +1441,8 @@ export interface GremlinGraphGetPropertiesResource { /** * An interface representing GremlinGraphGetPropertiesOptions. */ -export interface GremlinGraphGetPropertiesOptions extends OptionsResource {} +export interface GremlinGraphGetPropertiesOptions extends OptionsResource { +} /** * An Azure Cosmos DB Gremlin graph. @@ -1592,6 +1715,11 @@ export interface DatabaseAccountCreateUpdateParameters extends ARMResourceProper * Analytical storage specific properties. */ analyticalStorageConfiguration?: AnalyticalStorageConfiguration; + /** + * Enum to indicate the mode of account creation. Possible values include: 'Default', 'Restore'. + * Default value: 'Default'. + */ + createMode?: CreateMode; /** * The object representing the policy for taking backups on an account. */ @@ -1609,6 +1737,15 @@ export interface DatabaseAccountCreateUpdateParameters extends ARMResourceProper * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. */ networkAclBypassResourceIds?: string[]; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for + * authentication. + */ + disableLocalAuth?: boolean; + /** + * Parameters to indicate the information about the restore. + */ + restoreParameters?: RestoreParameters; } /** @@ -1717,6 +1854,11 @@ export interface DatabaseAccountUpdateParameters { * An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. */ networkAclBypassResourceIds?: string[]; + /** + * Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for + * authentication. + */ + disableLocalAuth?: boolean; } /** @@ -2579,6 +2721,10 @@ export interface PeriodicModeBackupPolicy { * Polymorphic Discriminator */ type: "Periodic"; + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: BackupPolicyMigrationState; /** * Configuration values for periodic mode backup */ @@ -2593,6 +2739,10 @@ export interface ContinuousModeBackupPolicy { * Polymorphic Discriminator */ type: "Continuous"; + /** + * The object representing the state of the migration between the backup policies. + */ + migrationState?: BackupPolicyMigrationState; } /** @@ -2626,7 +2776,8 @@ export interface AzureEntityResource extends Resource { /** * Parameters to create a notebook workspace resource */ -export interface NotebookWorkspaceCreateUpdateParameters extends ARMProxyResource {} +export interface NotebookWorkspaceCreateUpdateParameters extends ARMProxyResource { +} /** * A notebook workspace resource @@ -2661,6 +2812,27 @@ export interface NotebookWorkspaceConnectionInfoResult { readonly notebookServerEndpoint?: string; } +/** + * A private link resource + */ +export interface PrivateLinkResource extends ARMProxyResource { + /** + * The private link resource group id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly groupId?: string; + /** + * The private link resource required member names. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly requiredMembers?: string[]; + /** + * The private link resource required zone names. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly requiredZoneNames?: string[]; +} + /** * The set of data plane operations permitted through this Role Definition. */ @@ -2770,106 +2942,584 @@ export interface SqlRoleAssignmentGetResults extends ARMProxyResource { } /** - * A private link resource + * Properties of the regional restorable account. */ -export interface PrivateLinkResource extends ARMProxyResource { +export interface RestorableLocationResource { /** - * The private link resource group id. + * The location of the regional restorable account. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly groupId?: string; + readonly locationName?: string; /** - * The private link resource required member names. + * The instance id of the regional restorable account. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredMembers?: string[]; + readonly regionalDatabaseAccountInstanceId?: string; /** - * The private link resource required zone names. + * The creation time of the regional restorable database account (ISO-8601 format). * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly requiredZoneNames?: string[]; -} - -/** - * Optional Parameters. - */ -export interface DatabaseAccountsListUsagesOptionalParams extends msRest.RequestOptionsBase { + readonly creationTime?: Date; /** - * An OData filter expression that describes a subset of usages to return. The supported - * parameter is name.value (name of the metric, can have an or of multiple names). + * The time at which the regional restorable database account has been deleted (ISO-8601 format). + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; + readonly deletionTime?: Date; } /** - * Optional Parameters. + * A Azure Cosmos DB restorable database account. */ -export interface DatabaseListUsagesOptionalParams extends msRest.RequestOptionsBase { +export interface RestorableDatabaseAccountGetResult { /** - * An OData filter expression that describes a subset of usages to return. The supported - * parameter is name.value (name of the metric, can have an or of multiple names). + * The name of the global database account */ - filter?: string; + accountName?: string; + /** + * The creation time of the restorable database account (ISO-8601 format). + */ + creationTime?: Date; + /** + * The time at which the restorable database account has been deleted (ISO-8601 format). + */ + deletionTime?: Date; + /** + * The API type of the restorable database account. Possible values include: 'MongoDB', + * 'Gremlin', 'Cassandra', 'Table', 'Sql', 'GremlinV2' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly apiType?: ApiType; + /** + * List of regions where the of the database account can be restored from. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly restorableLocations?: RestorableLocationResource[]; + /** + * The unique resource identifier of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The name of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The type of Azure resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * The location of the resource group to which the resource belongs. + */ + location?: string; } /** - * Optional Parameters. + * Cosmos DB SQL database resource object */ -export interface CollectionListUsagesOptionalParams extends msRest.RequestOptionsBase { +export interface RestorableSqlDatabasePropertiesResourceDatabase { /** - * An OData filter expression that describes a subset of usages to return. The supported - * parameter is name.value (name of the metric, can have an or of multiple names). + * Name of the Cosmos DB SQL database */ - filter?: string; + id: string; + /** + * A system generated property. A unique identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _rid?: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _ts?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency + * control. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _etag?: string; + /** + * A system generated property that specified the addressable path of the collections resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _colls?: string; + /** + * A system generated property that specifies the addressable path of the users resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _users?: string; + /** + * A system generated property that specifies the addressable path of the database resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _self?: string; } /** - * Optional Parameters. + * The resource of an Azure Cosmos DB SQL database event */ -export interface CollectionPartitionListUsagesOptionalParams extends msRest.RequestOptionsBase { +export interface RestorableSqlDatabasePropertiesResource { /** - * An OData filter expression that describes a subset of usages to return. The supported - * parameter is name.value (name of the metric, can have an or of multiple names). + * A system generated property. A unique identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; + readonly _rid?: string; + /** + * The operation type of this database event. Possible values include: 'Create', 'Replace', + * 'Delete', 'SystemOperation' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly operationType?: OperationType; + /** + * The time when this database event happened. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly eventTimestamp?: string; + /** + * The name of the SQL database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ownerId?: string; + /** + * The resource ID of the SQL database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ownerResourceId?: string; + /** + * Cosmos DB SQL database resource object + */ + database?: RestorableSqlDatabasePropertiesResourceDatabase; } /** - * An interface representing CosmosDBManagementClientOptions. + * An Azure Cosmos DB SQL database event */ -export interface CosmosDBManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface RestorableSqlDatabaseGetResult { + /** + * The resource of an Azure Cosmos DB SQL database event + */ + resource?: RestorableSqlDatabasePropertiesResource; + /** + * The unique resource Identifier of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The name of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The type of Azure resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** - * @interface - * The List operation response, that contains the database accounts and their properties. - * @extends Array - */ -export interface DatabaseAccountsListResult extends Array {} - -/** - * @interface - * The response to a list metrics request. - * @extends Array - */ -export interface MetricListResult extends Array {} - -/** - * @interface - * The response to a list usage request. - * @extends Array - */ -export interface UsagesResult extends Array {} - -/** - * @interface - * The response to a list metric definitions request. - * @extends Array + * Cosmos DB SQL container resource object */ -export interface MetricDefinitionsListResult extends Array {} - -/** +export interface RestorableSqlContainerPropertiesResourceContainer { + /** + * Name of the Cosmos DB SQL container + */ + id: string; + /** + * The configuration of the indexing policy. By default, the indexing is automatic for all + * document paths within the container + */ + indexingPolicy?: IndexingPolicy; + /** + * The configuration of the partition key to be used for partitioning data into multiple + * partitions + */ + partitionKey?: ContainerPartitionKey; + /** + * Default time to live + */ + defaultTtl?: number; + /** + * The unique key policy configuration for specifying uniqueness constraints on documents in the + * collection in the Azure Cosmos DB service. + */ + uniqueKeyPolicy?: UniqueKeyPolicy; + /** + * The conflict resolution policy for the container. + */ + conflictResolutionPolicy?: ConflictResolutionPolicy; + /** + * Analytical TTL. + */ + analyticalStorageTtl?: number; + /** + * A system generated property. A unique identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _rid?: string; + /** + * A system generated property that denotes the last updated timestamp of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _ts?: number; + /** + * A system generated property representing the resource etag required for optimistic concurrency + * control. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _etag?: string; + /** + * A system generated property that specifies the addressable path of the container resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _self?: string; +} + +/** + * The resource of an Azure Cosmos DB SQL container event + */ +export interface RestorableSqlContainerPropertiesResource { + /** + * A system generated property. A unique identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _rid?: string; + /** + * The operation type of this container event. Possible values include: 'Create', 'Replace', + * 'Delete', 'SystemOperation' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly operationType?: OperationType; + /** + * The when this container event happened. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly eventTimestamp?: string; + /** + * The name of this SQL container. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ownerId?: string; + /** + * The resource ID of this SQL container. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ownerResourceId?: string; + /** + * Cosmos DB SQL container resource object + */ + container?: RestorableSqlContainerPropertiesResourceContainer; +} + +/** + * An Azure Cosmos DB SQL container event + */ +export interface RestorableSqlContainerGetResult { + /** + * The resource of an Azure Cosmos DB SQL container event + */ + resource?: RestorableSqlContainerPropertiesResource; + /** + * The unique resource Identifier of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The name of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The type of Azure resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * The resource of an Azure Cosmos DB MongoDB database event + */ +export interface RestorableMongodbDatabasePropertiesResource { + /** + * A system generated property. A unique identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _rid?: string; + /** + * The operation type of this database event. Possible values include: 'Create', 'Replace', + * 'Delete', 'SystemOperation' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly operationType?: OperationType; + /** + * The time when this database event happened. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly eventTimestamp?: string; + /** + * The name of this MongoDB database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ownerId?: string; + /** + * The resource ID of this MongoDB database. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ownerResourceId?: string; +} + +/** + * An Azure Cosmos DB MongoDB database event + */ +export interface RestorableMongodbDatabaseGetResult { + /** + * The resource of an Azure Cosmos DB MongoDB database event + */ + resource?: RestorableMongodbDatabasePropertiesResource; + /** + * The unique resource Identifier of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The name of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The type of Azure resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * The resource of an Azure Cosmos DB MongoDB collection event + */ +export interface RestorableMongodbCollectionPropertiesResource { + /** + * A system generated property. A unique identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly _rid?: string; + /** + * The operation type of this collection event. Possible values include: 'Create', 'Replace', + * 'Delete', 'SystemOperation' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly operationType?: OperationType; + /** + * The time when this collection event happened. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly eventTimestamp?: string; + /** + * The name of this MongoDB collection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ownerId?: string; + /** + * The resource ID of this MongoDB collection. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ownerResourceId?: string; +} + +/** + * An Azure Cosmos DB MongoDB collection event + */ +export interface RestorableMongodbCollectionGetResult { + /** + * The resource of an Azure Cosmos DB MongoDB collection event + */ + resource?: RestorableMongodbCollectionPropertiesResource; + /** + * The unique resource Identifier of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The name of the ARM resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The type of Azure resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * Properties of the regional restorable account. + */ +export interface ContinuousBackupRestoreLocation { + /** + * The name of the continuous backup restore location. + */ + location?: string; +} + +/** + * Information about the status of continuous backups. + */ +export interface ContinuousBackupInformation { + /** + * The latest restorable timestamp for a resource. + */ + latestRestorableTimestamp?: string; +} + +/** + * Backup information of a resource. + */ +export interface BackupInformation { + /** + * Information about the status of continuous backups. + */ + continuousBackupInformation?: ContinuousBackupInformation; +} + +/** + * Optional Parameters. + */ +export interface DatabaseAccountsListUsagesOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that describes a subset of usages to return. The supported + * parameter is name.value (name of the metric, can have an or of multiple names). + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface DatabaseListUsagesOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that describes a subset of usages to return. The supported + * parameter is name.value (name of the metric, can have an or of multiple names). + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface CollectionListUsagesOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that describes a subset of usages to return. The supported + * parameter is name.value (name of the metric, can have an or of multiple names). + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface CollectionPartitionListUsagesOptionalParams extends msRest.RequestOptionsBase { + /** + * An OData filter expression that describes a subset of usages to return. The supported + * parameter is name.value (name of the metric, can have an or of multiple names). + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RestorableSqlContainersListOptionalParams extends msRest.RequestOptionsBase { + /** + * The resource ID of the SQL database. + */ + restorableSqlDatabaseRid?: string; + /** + * The snapshot create timestamp after which snapshots need to be listed. + */ + startTime?: string; + /** + * The snapshot create timestamp before which snapshots need to be listed. + */ + endTime?: string; +} + +/** + * Optional Parameters. + */ +export interface RestorableSqlResourcesListOptionalParams extends msRest.RequestOptionsBase { + /** + * The location where the restorable resources are located. + */ + restoreLocation?: string; + /** + * The timestamp when the restorable resources existed. + */ + restoreTimestampInUtc?: string; +} + +/** + * Optional Parameters. + */ +export interface RestorableMongodbCollectionsListOptionalParams extends msRest.RequestOptionsBase { + /** + * The resource ID of the MongoDB database. + */ + restorableMongodbDatabaseRid?: string; +} + +/** + * Optional Parameters. + */ +export interface RestorableMongodbResourcesListOptionalParams extends msRest.RequestOptionsBase { + /** + * The location where the restorable resources are located. + */ + restoreLocation?: string; + /** + * The timestamp when the restorable resources existed. + */ + restoreTimestampInUtc?: string; +} + +/** + * An interface representing CosmosDBManagementClientOptions. + */ +export interface CosmosDBManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * The List operation response, that contains the database accounts and their properties. + * @extends Array + */ +export interface DatabaseAccountsListResult extends Array { +} + +/** + * @interface + * The response to a list metrics request. + * @extends Array + */ +export interface MetricListResult extends Array { +} + +/** + * @interface + * The response to a list usage request. + * @extends Array + */ +export interface UsagesResult extends Array { +} + +/** + * @interface + * The response to a list metric definitions request. + * @extends Array + */ +export interface MetricDefinitionsListResult extends Array { +} + +/** * @interface * Result of the request to list Resource Provider operations. It contains a list of operations and * a URL link to get the next set of results. @@ -2887,140 +3537,217 @@ export interface OperationListResult extends Array { * The response to a list percentile metrics request. * @extends Array */ -export interface PercentileMetricListResult extends Array {} +export interface PercentileMetricListResult extends Array { +} /** * @interface * The response to a list partition metrics request. * @extends Array */ -export interface PartitionMetricListResult extends Array {} +export interface PartitionMetricListResult extends Array { +} /** * @interface * The response to a list partition level usage request. * @extends Array */ -export interface PartitionUsagesResult extends Array {} +export interface PartitionUsagesResult extends Array { +} /** * @interface * The List operation response, that contains the SQL databases and their properties. * @extends Array */ -export interface SqlDatabaseListResult extends Array {} +export interface SqlDatabaseListResult extends Array { +} /** * @interface * The List operation response, that contains the containers and their properties. * @extends Array */ -export interface SqlContainerListResult extends Array {} +export interface SqlContainerListResult extends Array { +} /** * @interface * The List operation response, that contains the storedProcedures and their properties. * @extends Array */ -export interface SqlStoredProcedureListResult extends Array {} +export interface SqlStoredProcedureListResult extends Array { +} /** * @interface * The List operation response, that contains the userDefinedFunctions and their properties. * @extends Array */ -export interface SqlUserDefinedFunctionListResult extends Array {} +export interface SqlUserDefinedFunctionListResult extends Array { +} /** * @interface * The List operation response, that contains the triggers and their properties. * @extends Array */ -export interface SqlTriggerListResult extends Array {} +export interface SqlTriggerListResult extends Array { +} /** * @interface * The relevant Role Definitions. * @extends Array */ -export interface SqlRoleDefinitionListResult extends Array {} +export interface SqlRoleDefinitionListResult extends Array { +} /** * @interface * The relevant Role Assignments. * @extends Array */ -export interface SqlRoleAssignmentListResult extends Array {} +export interface SqlRoleAssignmentListResult extends Array { +} /** * @interface * The List operation response, that contains the MongoDB databases and their properties. * @extends Array */ -export interface MongoDBDatabaseListResult extends Array {} +export interface MongoDBDatabaseListResult extends Array { +} /** * @interface * The List operation response, that contains the MongoDB collections and their properties. * @extends Array */ -export interface MongoDBCollectionListResult extends Array {} +export interface MongoDBCollectionListResult extends Array { +} /** * @interface * The List operation response, that contains the Table and their properties. * @extends Array */ -export interface TableListResult extends Array {} +export interface TableListResult extends Array { +} /** * @interface * The List operation response, that contains the Cassandra keyspaces and their properties. * @extends Array */ -export interface CassandraKeyspaceListResult extends Array {} +export interface CassandraKeyspaceListResult extends Array { +} /** * @interface * The List operation response, that contains the Cassandra tables and their properties. * @extends Array */ -export interface CassandraTableListResult extends Array {} +export interface CassandraTableListResult extends Array { +} /** * @interface * The List operation response, that contains the Gremlin databases and their properties. * @extends Array */ -export interface GremlinDatabaseListResult extends Array {} +export interface GremlinDatabaseListResult extends Array { +} /** * @interface * The List operation response, that contains the graphs and their properties. * @extends Array */ -export interface GremlinGraphListResult extends Array {} +export interface GremlinGraphListResult extends Array { +} /** * @interface * A list of notebook workspace resources * @extends Array */ -export interface NotebookWorkspaceListResult extends Array {} +export interface NotebookWorkspaceListResult extends Array { +} + +/** + * @interface + * A list of private endpoint connections + * @extends Array + */ +export interface PrivateEndpointConnectionListResult extends Array { +} /** * @interface * A list of private link resources * @extends Array */ -export interface PrivateLinkResourceListResult extends Array {} +export interface PrivateLinkResourceListResult extends Array { +} /** * @interface - * A list of private endpoint connections - * @extends Array + * The List operation response, that contains the restorable database accounts and their + * properties. + * @extends Array + */ +export interface RestorableDatabaseAccountsListResult extends Array { +} + +/** + * @interface + * The List operation response, that contains the SQL database events and their properties. + * @extends Array + */ +export interface RestorableSqlDatabasesListResult extends Array { +} + +/** + * @interface + * The List operation response, that contains the SQL container events and their properties. + * @extends Array + */ +export interface RestorableSqlContainersListResult extends Array { +} + +/** + * @interface + * The List operation response, that contains the restorable SQL resources. + * @extends Array */ -export interface PrivateEndpointConnectionListResult extends Array {} +export interface RestorableSqlResourcesListResult extends Array { +} + +/** + * @interface + * The List operation response, that contains the MongoDB database events and their properties. + * @extends Array + */ +export interface RestorableMongodbDatabasesListResult extends Array { +} + +/** + * @interface + * The List operation response, that contains the MongoDB collection events and their properties. + * @extends Array + */ +export interface RestorableMongodbCollectionsListResult extends Array { +} + +/** + * @interface + * The List operation response, that contains the restorable MongoDB resources. + * @extends Array + */ +export interface RestorableMongodbResourcesListResult extends Array { +} /** * Defines values for DatabaseAccountKind. @@ -3028,7 +3755,7 @@ export interface PrivateEndpointConnectionListResult extends Array */ - listCassandraKeyspaces( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listCassandraKeyspaces(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - listCassandraKeyspaces( - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + listCassandraKeyspaces(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The optional parameters * @param callback The callback */ - listCassandraKeyspaces( - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listCassandraKeyspaces( - resourceGroupName: string, - accountName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listCassandraKeyspaces(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listCassandraKeyspaces(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -75,8 +55,7 @@ export class CassandraResources { options }, listCassandraKeyspacesOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -88,24 +67,14 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - getCassandraKeyspace( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param callback The callback */ - getCassandraKeyspace( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - callback: msRest.ServiceCallback - ): void; + getCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -113,22 +82,8 @@ export class CassandraResources { * @param options The optional parameters * @param callback The callback */ - getCassandraKeyspace( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getCassandraKeyspace( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -137,8 +92,7 @@ export class CassandraResources { options }, getCassandraKeyspaceOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -151,22 +105,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateCassandraKeyspace( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - createUpdateCassandraKeyspaceParameters: Models.CassandraKeyspaceCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateCassandraKeyspace( - resourceGroupName, - accountName, - keyspaceName, - createUpdateCassandraKeyspaceParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.CassandraResourcesCreateUpdateCassandraKeyspaceResponse - >; + createUpdateCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, createUpdateCassandraKeyspaceParameters: Models.CassandraKeyspaceCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateCassandraKeyspace(resourceGroupName,accountName,keyspaceName,createUpdateCassandraKeyspaceParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -177,18 +118,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - deleteCassandraKeyspace( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteCassandraKeyspace( - resourceGroupName, - accountName, - keyspaceName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteCassandraKeyspace(resourceGroupName,accountName,keyspaceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -200,24 +132,14 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - getCassandraKeyspaceThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getCassandraKeyspaceThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param callback The callback */ - getCassandraKeyspaceThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - callback: msRest.ServiceCallback - ): void; + getCassandraKeyspaceThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -225,22 +147,8 @@ export class CassandraResources { * @param options The optional parameters * @param callback The callback */ - getCassandraKeyspaceThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getCassandraKeyspaceThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getCassandraKeyspaceThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getCassandraKeyspaceThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -249,8 +157,7 @@ export class CassandraResources { options }, getCassandraKeyspaceThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -263,22 +170,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - updateCassandraKeyspaceThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateCassandraKeyspaceThroughput( - resourceGroupName, - accountName, - keyspaceName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.CassandraResourcesUpdateCassandraKeyspaceThroughputResponse - >; + updateCassandraKeyspaceThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateCassandraKeyspaceThroughput(resourceGroupName,accountName,keyspaceName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -289,20 +183,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - migrateCassandraKeyspaceToAutoscale( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateCassandraKeyspaceToAutoscale( - resourceGroupName, - accountName, - keyspaceName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResponse - >; + migrateCassandraKeyspaceToAutoscale(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateCassandraKeyspaceToAutoscale(resourceGroupName,accountName,keyspaceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -313,20 +196,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - migrateCassandraKeyspaceToManualThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateCassandraKeyspaceToManualThroughput( - resourceGroupName, - accountName, - keyspaceName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResponse - >; + migrateCassandraKeyspaceToManualThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateCassandraKeyspaceToManualThroughput(resourceGroupName,accountName,keyspaceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -337,24 +209,14 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - listCassandraTables( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listCassandraTables(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param callback The callback */ - listCassandraTables( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - callback: msRest.ServiceCallback - ): void; + listCassandraTables(resourceGroupName: string, accountName: string, keyspaceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -362,20 +224,8 @@ export class CassandraResources { * @param options The optional parameters * @param callback The callback */ - listCassandraTables( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listCassandraTables( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listCassandraTables(resourceGroupName: string, accountName: string, keyspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listCassandraTables(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -384,8 +234,7 @@ export class CassandraResources { options }, listCassandraTablesOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -397,13 +246,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - getCassandraTable( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getCassandraTable(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -411,13 +254,7 @@ export class CassandraResources { * @param tableName Cosmos DB table name. * @param callback The callback */ - getCassandraTable( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - callback: msRest.ServiceCallback - ): void; + getCassandraTable(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -426,22 +263,8 @@ export class CassandraResources { * @param options The optional parameters * @param callback The callback */ - getCassandraTable( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getCassandraTable( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getCassandraTable(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getCassandraTable(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -451,8 +274,7 @@ export class CassandraResources { options }, getCassandraTableOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -466,24 +288,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateCassandraTable( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - createUpdateCassandraTableParameters: Models.CassandraTableCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateCassandraTable( - resourceGroupName, - accountName, - keyspaceName, - tableName, - createUpdateCassandraTableParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.CassandraResourcesCreateUpdateCassandraTableResponse - >; + createUpdateCassandraTable(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, createUpdateCassandraTableParameters: Models.CassandraTableCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateCassandraTable(resourceGroupName,accountName,keyspaceName,tableName,createUpdateCassandraTableParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -495,20 +302,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - deleteCassandraTable( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteCassandraTable( - resourceGroupName, - accountName, - keyspaceName, - tableName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteCassandraTable(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteCassandraTable(resourceGroupName,accountName,keyspaceName,tableName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -521,13 +317,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - getCassandraTableThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getCassandraTableThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -535,13 +325,7 @@ export class CassandraResources { * @param tableName Cosmos DB table name. * @param callback The callback */ - getCassandraTableThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - callback: msRest.ServiceCallback - ): void; + getCassandraTableThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -550,24 +334,8 @@ export class CassandraResources { * @param options The optional parameters * @param callback The callback */ - getCassandraTableThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getCassandraTableThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getCassandraTableThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getCassandraTableThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -577,8 +345,7 @@ export class CassandraResources { options }, getCassandraTableThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -592,24 +359,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - updateCassandraTableThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateCassandraTableThroughput( - resourceGroupName, - accountName, - keyspaceName, - tableName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.CassandraResourcesUpdateCassandraTableThroughputResponse - >; + updateCassandraTableThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateCassandraTableThroughput(resourceGroupName,accountName,keyspaceName,tableName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -621,22 +373,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - migrateCassandraTableToAutoscale( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateCassandraTableToAutoscale( - resourceGroupName, - accountName, - keyspaceName, - tableName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.CassandraResourcesMigrateCassandraTableToAutoscaleResponse - >; + migrateCassandraTableToAutoscale(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateCassandraTableToAutoscale(resourceGroupName,accountName,keyspaceName,tableName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -648,22 +387,9 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - migrateCassandraTableToManualThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateCassandraTableToManualThroughput( - resourceGroupName, - accountName, - keyspaceName, - tableName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.CassandraResourcesMigrateCassandraTableToManualThroughputResponse - >; + migrateCassandraTableToManualThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateCassandraTableToManualThroughput(resourceGroupName,accountName,keyspaceName,tableName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -676,13 +402,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateCassandraKeyspace( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - createUpdateCassandraKeyspaceParameters: Models.CassandraKeyspaceCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, createUpdateCassandraKeyspaceParameters: Models.CassandraKeyspaceCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -692,8 +412,7 @@ export class CassandraResources { options }, beginCreateUpdateCassandraKeyspaceOperationSpec, - options - ); + options); } /** @@ -704,12 +423,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteCassandraKeyspace( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteCassandraKeyspace(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -718,8 +432,7 @@ export class CassandraResources { options }, beginDeleteCassandraKeyspaceOperationSpec, - options - ); + options); } /** @@ -732,13 +445,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateCassandraKeyspaceThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateCassandraKeyspaceThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -748,8 +455,7 @@ export class CassandraResources { options }, beginUpdateCassandraKeyspaceThroughputOperationSpec, - options - ); + options); } /** @@ -760,12 +466,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateCassandraKeyspaceToAutoscale( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateCassandraKeyspaceToAutoscale(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -774,8 +475,7 @@ export class CassandraResources { options }, beginMigrateCassandraKeyspaceToAutoscaleOperationSpec, - options - ); + options); } /** @@ -786,12 +486,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateCassandraKeyspaceToManualThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateCassandraKeyspaceToManualThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -800,8 +495,7 @@ export class CassandraResources { options }, beginMigrateCassandraKeyspaceToManualThroughputOperationSpec, - options - ); + options); } /** @@ -815,14 +509,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateCassandraTable( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - createUpdateCassandraTableParameters: Models.CassandraTableCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateCassandraTable(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, createUpdateCassandraTableParameters: Models.CassandraTableCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -833,8 +520,7 @@ export class CassandraResources { options }, beginCreateUpdateCassandraTableOperationSpec, - options - ); + options); } /** @@ -846,13 +532,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteCassandraTable( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteCassandraTable(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -862,8 +542,7 @@ export class CassandraResources { options }, beginDeleteCassandraTableOperationSpec, - options - ); + options); } /** @@ -877,14 +556,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateCassandraTableThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateCassandraTableThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -895,8 +567,7 @@ export class CassandraResources { options }, beginUpdateCassandraTableThroughputOperationSpec, - options - ); + options); } /** @@ -908,13 +579,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateCassandraTableToAutoscale( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateCassandraTableToAutoscale(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -924,8 +589,7 @@ export class CassandraResources { options }, beginMigrateCassandraTableToAutoscaleOperationSpec, - options - ); + options); } /** @@ -937,13 +601,7 @@ export class CassandraResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateCassandraTableToManualThroughput( - resourceGroupName: string, - accountName: string, - keyspaceName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateCassandraTableToManualThroughput(resourceGroupName: string, accountName: string, keyspaceName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -953,8 +611,7 @@ export class CassandraResources { options }, beginMigrateCassandraTableToManualThroughputOperationSpec, - options - ); + options); } } @@ -962,11 +619,18 @@ export class CassandraResources { const serializer = new msRest.Serializer(Mappers); const listCassandraKeyspacesOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.accountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.CassandraKeyspaceListResult @@ -980,16 +644,19 @@ const listCassandraKeyspacesOperationSpec: msRest.OperationSpec = { const getCassandraKeyspaceOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.keyspaceName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.CassandraKeyspaceGetResults @@ -1003,16 +670,19 @@ const getCassandraKeyspaceOperationSpec: msRest.OperationSpec = { const getCassandraKeyspaceThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.keyspaceName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1026,16 +696,19 @@ const getCassandraKeyspaceThroughputOperationSpec: msRest.OperationSpec = { const listCassandraTablesOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.keyspaceName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.CassandraTableListResult @@ -1049,8 +722,7 @@ const listCassandraTablesOperationSpec: msRest.OperationSpec = { const getCassandraTableOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1058,8 +730,12 @@ const getCassandraTableOperationSpec: msRest.OperationSpec = { Parameters.keyspaceName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.CassandraTableGetResults @@ -1073,8 +749,7 @@ const getCassandraTableOperationSpec: msRest.OperationSpec = { const getCassandraTableThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1082,8 +757,12 @@ const getCassandraTableThroughputOperationSpec: msRest.OperationSpec = { Parameters.keyspaceName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1097,16 +776,19 @@ const getCassandraTableThroughputOperationSpec: msRest.OperationSpec = { const beginCreateUpdateCassandraKeyspaceOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.keyspaceName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateCassandraKeyspaceParameters", mapper: { @@ -1128,16 +810,19 @@ const beginCreateUpdateCassandraKeyspaceOperationSpec: msRest.OperationSpec = { const beginDeleteCassandraKeyspaceOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.keyspaceName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -1150,16 +835,19 @@ const beginDeleteCassandraKeyspaceOperationSpec: msRest.OperationSpec = { const beginUpdateCassandraKeyspaceThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.keyspaceName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -1181,16 +869,19 @@ const beginUpdateCassandraKeyspaceThroughputOperationSpec: msRest.OperationSpec const beginMigrateCassandraKeyspaceToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.keyspaceName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1205,16 +896,19 @@ const beginMigrateCassandraKeyspaceToAutoscaleOperationSpec: msRest.OperationSpe const beginMigrateCassandraKeyspaceToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.keyspaceName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1229,8 +923,7 @@ const beginMigrateCassandraKeyspaceToManualThroughputOperationSpec: msRest.Opera const beginCreateUpdateCassandraTableOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1238,8 +931,12 @@ const beginCreateUpdateCassandraTableOperationSpec: msRest.OperationSpec = { Parameters.keyspaceName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateCassandraTableParameters", mapper: { @@ -1261,8 +958,7 @@ const beginCreateUpdateCassandraTableOperationSpec: msRest.OperationSpec = { const beginDeleteCassandraTableOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1270,8 +966,12 @@ const beginDeleteCassandraTableOperationSpec: msRest.OperationSpec = { Parameters.keyspaceName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -1284,8 +984,7 @@ const beginDeleteCassandraTableOperationSpec: msRest.OperationSpec = { const beginUpdateCassandraTableThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1293,8 +992,12 @@ const beginUpdateCassandraTableThroughputOperationSpec: msRest.OperationSpec = { Parameters.keyspaceName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -1316,8 +1019,7 @@ const beginUpdateCassandraTableThroughputOperationSpec: msRest.OperationSpec = { const beginMigrateCassandraTableToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1325,8 +1027,12 @@ const beginMigrateCassandraTableToAutoscaleOperationSpec: msRest.OperationSpec = Parameters.keyspaceName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1341,8 +1047,7 @@ const beginMigrateCassandraTableToAutoscaleOperationSpec: msRest.OperationSpec = const beginMigrateCassandraTableToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/cassandraKeyspaces/{keyspaceName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1350,8 +1055,12 @@ const beginMigrateCassandraTableToManualThroughputOperationSpec: msRest.Operatio Parameters.keyspaceName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/gremlinResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/gremlinResources.ts index 642c17104a8a..68c437ee319b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/gremlinResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/gremlinResources.ts @@ -33,39 +33,21 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - listGremlinDatabases( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listGremlinDatabases(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - listGremlinDatabases( - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + listGremlinDatabases(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The optional parameters * @param callback The callback */ - listGremlinDatabases( - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listGremlinDatabases( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listGremlinDatabases(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listGremlinDatabases(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -73,8 +55,7 @@ export class GremlinResources { options }, listGremlinDatabasesOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -86,24 +67,14 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - getGremlinDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getGremlinDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - getGremlinDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + getGremlinDatabase(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -111,20 +82,8 @@ export class GremlinResources { * @param options The optional parameters * @param callback The callback */ - getGremlinDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getGremlinDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getGremlinDatabase(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getGremlinDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,8 +92,7 @@ export class GremlinResources { options }, getGremlinDatabaseOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -147,22 +105,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateGremlinDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - createUpdateGremlinDatabaseParameters: Models.GremlinDatabaseCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateGremlinDatabase( - resourceGroupName, - accountName, - databaseName, - createUpdateGremlinDatabaseParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GremlinResourcesCreateUpdateGremlinDatabaseResponse - >; + createUpdateGremlinDatabase(resourceGroupName: string, accountName: string, databaseName: string, createUpdateGremlinDatabaseParameters: Models.GremlinDatabaseCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateGremlinDatabase(resourceGroupName,accountName,databaseName,createUpdateGremlinDatabaseParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -173,18 +118,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - deleteGremlinDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteGremlinDatabase( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteGremlinDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteGremlinDatabase(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -196,24 +132,14 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - getGremlinDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getGremlinDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - getGremlinDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + getGremlinDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -221,22 +147,8 @@ export class GremlinResources { * @param options The optional parameters * @param callback The callback */ - getGremlinDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getGremlinDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getGremlinDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getGremlinDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -245,8 +157,7 @@ export class GremlinResources { options }, getGremlinDatabaseThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -259,22 +170,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - updateGremlinDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateGremlinDatabaseThroughput( - resourceGroupName, - accountName, - databaseName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GremlinResourcesUpdateGremlinDatabaseThroughputResponse - >; + updateGremlinDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateGremlinDatabaseThroughput(resourceGroupName,accountName,databaseName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -285,20 +183,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - migrateGremlinDatabaseToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateGremlinDatabaseToAutoscale( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GremlinResourcesMigrateGremlinDatabaseToAutoscaleResponse - >; + migrateGremlinDatabaseToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateGremlinDatabaseToAutoscale(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -309,20 +196,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - migrateGremlinDatabaseToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateGremlinDatabaseToManualThroughput( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GremlinResourcesMigrateGremlinDatabaseToManualThroughputResponse - >; + migrateGremlinDatabaseToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateGremlinDatabaseToManualThroughput(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -333,24 +209,14 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - listGremlinGraphs( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listGremlinGraphs(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - listGremlinGraphs( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + listGremlinGraphs(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -358,20 +224,8 @@ export class GremlinResources { * @param options The optional parameters * @param callback The callback */ - listGremlinGraphs( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listGremlinGraphs( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listGremlinGraphs(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listGremlinGraphs(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -380,8 +234,7 @@ export class GremlinResources { options }, listGremlinGraphsOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -393,13 +246,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - getGremlinGraph( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getGremlinGraph(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -407,13 +254,7 @@ export class GremlinResources { * @param graphName Cosmos DB graph name. * @param callback The callback */ - getGremlinGraph( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - callback: msRest.ServiceCallback - ): void; + getGremlinGraph(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -422,22 +263,8 @@ export class GremlinResources { * @param options The optional parameters * @param callback The callback */ - getGremlinGraph( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getGremlinGraph( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getGremlinGraph(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getGremlinGraph(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -447,8 +274,7 @@ export class GremlinResources { options }, getGremlinGraphOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -462,24 +288,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateGremlinGraph( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - createUpdateGremlinGraphParameters: Models.GremlinGraphCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateGremlinGraph( - resourceGroupName, - accountName, - databaseName, - graphName, - createUpdateGremlinGraphParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GremlinResourcesCreateUpdateGremlinGraphResponse - >; + createUpdateGremlinGraph(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, createUpdateGremlinGraphParameters: Models.GremlinGraphCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateGremlinGraph(resourceGroupName,accountName,databaseName,graphName,createUpdateGremlinGraphParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -491,20 +302,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - deleteGremlinGraph( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteGremlinGraph( - resourceGroupName, - accountName, - databaseName, - graphName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteGremlinGraph(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteGremlinGraph(resourceGroupName,accountName,databaseName,graphName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -517,13 +317,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - getGremlinGraphThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getGremlinGraphThroughput(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -531,13 +325,7 @@ export class GremlinResources { * @param graphName Cosmos DB graph name. * @param callback The callback */ - getGremlinGraphThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - callback: msRest.ServiceCallback - ): void; + getGremlinGraphThroughput(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -546,24 +334,8 @@ export class GremlinResources { * @param options The optional parameters * @param callback The callback */ - getGremlinGraphThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getGremlinGraphThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getGremlinGraphThroughput(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getGremlinGraphThroughput(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -573,8 +345,7 @@ export class GremlinResources { options }, getGremlinGraphThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -588,24 +359,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - updateGremlinGraphThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateGremlinGraphThroughput( - resourceGroupName, - accountName, - databaseName, - graphName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GremlinResourcesUpdateGremlinGraphThroughputResponse - >; + updateGremlinGraphThroughput(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateGremlinGraphThroughput(resourceGroupName,accountName,databaseName,graphName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -617,22 +373,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - migrateGremlinGraphToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateGremlinGraphToAutoscale( - resourceGroupName, - accountName, - databaseName, - graphName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GremlinResourcesMigrateGremlinGraphToAutoscaleResponse - >; + migrateGremlinGraphToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateGremlinGraphToAutoscale(resourceGroupName,accountName,databaseName,graphName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -644,22 +387,9 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - migrateGremlinGraphToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateGremlinGraphToManualThroughput( - resourceGroupName, - accountName, - databaseName, - graphName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.GremlinResourcesMigrateGremlinGraphToManualThroughputResponse - >; + migrateGremlinGraphToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateGremlinGraphToManualThroughput(resourceGroupName,accountName,databaseName,graphName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -672,13 +402,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateGremlinDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - createUpdateGremlinDatabaseParameters: Models.GremlinDatabaseCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateGremlinDatabase(resourceGroupName: string, accountName: string, databaseName: string, createUpdateGremlinDatabaseParameters: Models.GremlinDatabaseCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -688,8 +412,7 @@ export class GremlinResources { options }, beginCreateUpdateGremlinDatabaseOperationSpec, - options - ); + options); } /** @@ -700,12 +423,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteGremlinDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteGremlinDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -714,8 +432,7 @@ export class GremlinResources { options }, beginDeleteGremlinDatabaseOperationSpec, - options - ); + options); } /** @@ -728,13 +445,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateGremlinDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateGremlinDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -744,8 +455,7 @@ export class GremlinResources { options }, beginUpdateGremlinDatabaseThroughputOperationSpec, - options - ); + options); } /** @@ -756,12 +466,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateGremlinDatabaseToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateGremlinDatabaseToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -770,8 +475,7 @@ export class GremlinResources { options }, beginMigrateGremlinDatabaseToAutoscaleOperationSpec, - options - ); + options); } /** @@ -782,12 +486,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateGremlinDatabaseToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateGremlinDatabaseToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -796,8 +495,7 @@ export class GremlinResources { options }, beginMigrateGremlinDatabaseToManualThroughputOperationSpec, - options - ); + options); } /** @@ -811,14 +509,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateGremlinGraph( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - createUpdateGremlinGraphParameters: Models.GremlinGraphCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateGremlinGraph(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, createUpdateGremlinGraphParameters: Models.GremlinGraphCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -829,8 +520,7 @@ export class GremlinResources { options }, beginCreateUpdateGremlinGraphOperationSpec, - options - ); + options); } /** @@ -842,13 +532,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteGremlinGraph( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteGremlinGraph(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -858,8 +542,7 @@ export class GremlinResources { options }, beginDeleteGremlinGraphOperationSpec, - options - ); + options); } /** @@ -873,14 +556,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateGremlinGraphThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateGremlinGraphThroughput(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -891,8 +567,7 @@ export class GremlinResources { options }, beginUpdateGremlinGraphThroughputOperationSpec, - options - ); + options); } /** @@ -904,13 +579,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateGremlinGraphToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateGremlinGraphToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -920,8 +589,7 @@ export class GremlinResources { options }, beginMigrateGremlinGraphToAutoscaleOperationSpec, - options - ); + options); } /** @@ -933,13 +601,7 @@ export class GremlinResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateGremlinGraphToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - graphName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateGremlinGraphToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, graphName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -949,8 +611,7 @@ export class GremlinResources { options }, beginMigrateGremlinGraphToManualThroughputOperationSpec, - options - ); + options); } } @@ -958,11 +619,18 @@ export class GremlinResources { const serializer = new msRest.Serializer(Mappers); const listGremlinDatabasesOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.accountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.GremlinDatabaseListResult @@ -976,16 +644,19 @@ const listGremlinDatabasesOperationSpec: msRest.OperationSpec = { const getGremlinDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.GremlinDatabaseGetResults @@ -999,16 +670,19 @@ const getGremlinDatabaseOperationSpec: msRest.OperationSpec = { const getGremlinDatabaseThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1022,16 +696,19 @@ const getGremlinDatabaseThroughputOperationSpec: msRest.OperationSpec = { const listGremlinGraphsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.GremlinGraphListResult @@ -1045,8 +722,7 @@ const listGremlinGraphsOperationSpec: msRest.OperationSpec = { const getGremlinGraphOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1054,8 +730,12 @@ const getGremlinGraphOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.graphName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.GremlinGraphGetResults @@ -1069,8 +749,7 @@ const getGremlinGraphOperationSpec: msRest.OperationSpec = { const getGremlinGraphThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1078,8 +757,12 @@ const getGremlinGraphThroughputOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.graphName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1093,16 +776,19 @@ const getGremlinGraphThroughputOperationSpec: msRest.OperationSpec = { const beginCreateUpdateGremlinDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateGremlinDatabaseParameters", mapper: { @@ -1124,16 +810,19 @@ const beginCreateUpdateGremlinDatabaseOperationSpec: msRest.OperationSpec = { const beginDeleteGremlinDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -1146,16 +835,19 @@ const beginDeleteGremlinDatabaseOperationSpec: msRest.OperationSpec = { const beginUpdateGremlinDatabaseThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -1177,16 +869,19 @@ const beginUpdateGremlinDatabaseThroughputOperationSpec: msRest.OperationSpec = const beginMigrateGremlinDatabaseToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1201,16 +896,19 @@ const beginMigrateGremlinDatabaseToAutoscaleOperationSpec: msRest.OperationSpec const beginMigrateGremlinDatabaseToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1225,8 +923,7 @@ const beginMigrateGremlinDatabaseToManualThroughputOperationSpec: msRest.Operati const beginCreateUpdateGremlinGraphOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1234,8 +931,12 @@ const beginCreateUpdateGremlinGraphOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.graphName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateGremlinGraphParameters", mapper: { @@ -1257,8 +958,7 @@ const beginCreateUpdateGremlinGraphOperationSpec: msRest.OperationSpec = { const beginDeleteGremlinGraphOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1266,8 +966,12 @@ const beginDeleteGremlinGraphOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.graphName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -1280,8 +984,7 @@ const beginDeleteGremlinGraphOperationSpec: msRest.OperationSpec = { const beginUpdateGremlinGraphThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1289,8 +992,12 @@ const beginUpdateGremlinGraphThroughputOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.graphName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -1312,8 +1019,7 @@ const beginUpdateGremlinGraphThroughputOperationSpec: msRest.OperationSpec = { const beginMigrateGremlinGraphToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1321,8 +1027,12 @@ const beginMigrateGremlinGraphToAutoscaleOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.graphName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1337,8 +1047,7 @@ const beginMigrateGremlinGraphToAutoscaleOperationSpec: msRest.OperationSpec = { const beginMigrateGremlinGraphToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1346,8 +1055,12 @@ const beginMigrateGremlinGraphToManualThroughputOperationSpec: msRest.OperationS Parameters.databaseName, Parameters.graphName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/index.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/index.ts index d5736137864a..3641d33ef32a 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/index.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/index.ts @@ -26,5 +26,12 @@ export * from "./tableResources"; export * from "./cassandraResources"; export * from "./gremlinResources"; export * from "./notebookWorkspaces"; -export * from "./privateLinkResources"; export * from "./privateEndpointConnections"; +export * from "./privateLinkResources"; +export * from "./restorableDatabaseAccounts"; +export * from "./restorableSqlDatabases"; +export * from "./restorableSqlContainers"; +export * from "./restorableSqlResources"; +export * from "./restorableMongodbDatabases"; +export * from "./restorableMongodbCollections"; +export * from "./restorableMongodbResources"; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/mongoDBResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/mongoDBResources.ts index 2597d4823fa8..11847cee69eb 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/mongoDBResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/mongoDBResources.ts @@ -33,39 +33,21 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - listMongoDBDatabases( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listMongoDBDatabases(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - listMongoDBDatabases( - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + listMongoDBDatabases(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The optional parameters * @param callback The callback */ - listMongoDBDatabases( - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listMongoDBDatabases( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listMongoDBDatabases(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listMongoDBDatabases(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -73,8 +55,7 @@ export class MongoDBResources { options }, listMongoDBDatabasesOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -86,24 +67,14 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - getMongoDBDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getMongoDBDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - getMongoDBDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + getMongoDBDatabase(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -111,20 +82,8 @@ export class MongoDBResources { * @param options The optional parameters * @param callback The callback */ - getMongoDBDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getMongoDBDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getMongoDBDatabase(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getMongoDBDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -133,8 +92,7 @@ export class MongoDBResources { options }, getMongoDBDatabaseOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -147,22 +105,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateMongoDBDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - createUpdateMongoDBDatabaseParameters: Models.MongoDBDatabaseCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateMongoDBDatabase( - resourceGroupName, - accountName, - databaseName, - createUpdateMongoDBDatabaseParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.MongoDBResourcesCreateUpdateMongoDBDatabaseResponse - >; + createUpdateMongoDBDatabase(resourceGroupName: string, accountName: string, databaseName: string, createUpdateMongoDBDatabaseParameters: Models.MongoDBDatabaseCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateMongoDBDatabase(resourceGroupName,accountName,databaseName,createUpdateMongoDBDatabaseParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -173,18 +118,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - deleteMongoDBDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteMongoDBDatabase( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteMongoDBDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMongoDBDatabase(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -196,24 +132,14 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - getMongoDBDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getMongoDBDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - getMongoDBDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + getMongoDBDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -221,22 +147,8 @@ export class MongoDBResources { * @param options The optional parameters * @param callback The callback */ - getMongoDBDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getMongoDBDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getMongoDBDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getMongoDBDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -245,8 +157,7 @@ export class MongoDBResources { options }, getMongoDBDatabaseThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -259,22 +170,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - updateMongoDBDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateMongoDBDatabaseThroughput( - resourceGroupName, - accountName, - databaseName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.MongoDBResourcesUpdateMongoDBDatabaseThroughputResponse - >; + updateMongoDBDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateMongoDBDatabaseThroughput(resourceGroupName,accountName,databaseName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -285,20 +183,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - migrateMongoDBDatabaseToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateMongoDBDatabaseToAutoscale( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResponse - >; + migrateMongoDBDatabaseToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateMongoDBDatabaseToAutoscale(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -309,20 +196,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - migrateMongoDBDatabaseToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateMongoDBDatabaseToManualThroughput( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResponse - >; + migrateMongoDBDatabaseToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateMongoDBDatabaseToManualThroughput(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -333,24 +209,14 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - listMongoDBCollections( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listMongoDBCollections(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - listMongoDBCollections( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + listMongoDBCollections(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -358,22 +224,8 @@ export class MongoDBResources { * @param options The optional parameters * @param callback The callback */ - listMongoDBCollections( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listMongoDBCollections( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listMongoDBCollections(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listMongoDBCollections(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -382,8 +234,7 @@ export class MongoDBResources { options }, listMongoDBCollectionsOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -395,13 +246,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - getMongoDBCollection( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getMongoDBCollection(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -409,13 +254,7 @@ export class MongoDBResources { * @param collectionName Cosmos DB collection name. * @param callback The callback */ - getMongoDBCollection( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - callback: msRest.ServiceCallback - ): void; + getMongoDBCollection(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -424,24 +263,8 @@ export class MongoDBResources { * @param options The optional parameters * @param callback The callback */ - getMongoDBCollection( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getMongoDBCollection( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getMongoDBCollection(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getMongoDBCollection(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -451,8 +274,7 @@ export class MongoDBResources { options }, getMongoDBCollectionOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -466,24 +288,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateMongoDBCollection( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - createUpdateMongoDBCollectionParameters: Models.MongoDBCollectionCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateMongoDBCollection( - resourceGroupName, - accountName, - databaseName, - collectionName, - createUpdateMongoDBCollectionParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.MongoDBResourcesCreateUpdateMongoDBCollectionResponse - >; + createUpdateMongoDBCollection(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, createUpdateMongoDBCollectionParameters: Models.MongoDBCollectionCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateMongoDBCollection(resourceGroupName,accountName,databaseName,collectionName,createUpdateMongoDBCollectionParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -495,20 +302,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - deleteMongoDBCollection( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteMongoDBCollection( - resourceGroupName, - accountName, - databaseName, - collectionName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteMongoDBCollection(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMongoDBCollection(resourceGroupName,accountName,databaseName,collectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -521,13 +317,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - getMongoDBCollectionThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getMongoDBCollectionThroughput(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -535,13 +325,7 @@ export class MongoDBResources { * @param collectionName Cosmos DB collection name. * @param callback The callback */ - getMongoDBCollectionThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - callback: msRest.ServiceCallback - ): void; + getMongoDBCollectionThroughput(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -550,24 +334,8 @@ export class MongoDBResources { * @param options The optional parameters * @param callback The callback */ - getMongoDBCollectionThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getMongoDBCollectionThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getMongoDBCollectionThroughput(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getMongoDBCollectionThroughput(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -577,8 +345,7 @@ export class MongoDBResources { options }, getMongoDBCollectionThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -592,24 +359,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - updateMongoDBCollectionThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateMongoDBCollectionThroughput( - resourceGroupName, - accountName, - databaseName, - collectionName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.MongoDBResourcesUpdateMongoDBCollectionThroughputResponse - >; + updateMongoDBCollectionThroughput(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateMongoDBCollectionThroughput(resourceGroupName,accountName,databaseName,collectionName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -621,22 +373,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - migrateMongoDBCollectionToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateMongoDBCollectionToAutoscale( - resourceGroupName, - accountName, - databaseName, - collectionName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResponse - >; + migrateMongoDBCollectionToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateMongoDBCollectionToAutoscale(resourceGroupName,accountName,databaseName,collectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -648,22 +387,9 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - migrateMongoDBCollectionToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateMongoDBCollectionToManualThroughput( - resourceGroupName, - accountName, - databaseName, - collectionName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResponse - >; + migrateMongoDBCollectionToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateMongoDBCollectionToManualThroughput(resourceGroupName,accountName,databaseName,collectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -676,13 +402,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateMongoDBDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - createUpdateMongoDBDatabaseParameters: Models.MongoDBDatabaseCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateMongoDBDatabase(resourceGroupName: string, accountName: string, databaseName: string, createUpdateMongoDBDatabaseParameters: Models.MongoDBDatabaseCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -692,8 +412,7 @@ export class MongoDBResources { options }, beginCreateUpdateMongoDBDatabaseOperationSpec, - options - ); + options); } /** @@ -704,12 +423,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteMongoDBDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteMongoDBDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -718,8 +432,7 @@ export class MongoDBResources { options }, beginDeleteMongoDBDatabaseOperationSpec, - options - ); + options); } /** @@ -732,13 +445,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateMongoDBDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateMongoDBDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -748,8 +455,7 @@ export class MongoDBResources { options }, beginUpdateMongoDBDatabaseThroughputOperationSpec, - options - ); + options); } /** @@ -760,12 +466,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateMongoDBDatabaseToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateMongoDBDatabaseToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -774,8 +475,7 @@ export class MongoDBResources { options }, beginMigrateMongoDBDatabaseToAutoscaleOperationSpec, - options - ); + options); } /** @@ -786,12 +486,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateMongoDBDatabaseToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateMongoDBDatabaseToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -800,8 +495,7 @@ export class MongoDBResources { options }, beginMigrateMongoDBDatabaseToManualThroughputOperationSpec, - options - ); + options); } /** @@ -815,14 +509,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateMongoDBCollection( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - createUpdateMongoDBCollectionParameters: Models.MongoDBCollectionCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateMongoDBCollection(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, createUpdateMongoDBCollectionParameters: Models.MongoDBCollectionCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -833,8 +520,7 @@ export class MongoDBResources { options }, beginCreateUpdateMongoDBCollectionOperationSpec, - options - ); + options); } /** @@ -846,13 +532,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteMongoDBCollection( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteMongoDBCollection(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -862,8 +542,7 @@ export class MongoDBResources { options }, beginDeleteMongoDBCollectionOperationSpec, - options - ); + options); } /** @@ -877,14 +556,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateMongoDBCollectionThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateMongoDBCollectionThroughput(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -895,8 +567,7 @@ export class MongoDBResources { options }, beginUpdateMongoDBCollectionThroughputOperationSpec, - options - ); + options); } /** @@ -908,13 +579,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateMongoDBCollectionToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateMongoDBCollectionToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -924,8 +589,7 @@ export class MongoDBResources { options }, beginMigrateMongoDBCollectionToAutoscaleOperationSpec, - options - ); + options); } /** @@ -937,13 +601,7 @@ export class MongoDBResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateMongoDBCollectionToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - collectionName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateMongoDBCollectionToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, collectionName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -953,8 +611,7 @@ export class MongoDBResources { options }, beginMigrateMongoDBCollectionToManualThroughputOperationSpec, - options - ); + options); } } @@ -962,11 +619,18 @@ export class MongoDBResources { const serializer = new msRest.Serializer(Mappers); const listMongoDBDatabasesOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.accountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.MongoDBDatabaseListResult @@ -980,16 +644,19 @@ const listMongoDBDatabasesOperationSpec: msRest.OperationSpec = { const getMongoDBDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.MongoDBDatabaseGetResults @@ -1003,16 +670,19 @@ const getMongoDBDatabaseOperationSpec: msRest.OperationSpec = { const getMongoDBDatabaseThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1026,16 +696,19 @@ const getMongoDBDatabaseThroughputOperationSpec: msRest.OperationSpec = { const listMongoDBCollectionsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.MongoDBCollectionListResult @@ -1049,8 +722,7 @@ const listMongoDBCollectionsOperationSpec: msRest.OperationSpec = { const getMongoDBCollectionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1058,8 +730,12 @@ const getMongoDBCollectionOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.collectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.MongoDBCollectionGetResults @@ -1073,8 +749,7 @@ const getMongoDBCollectionOperationSpec: msRest.OperationSpec = { const getMongoDBCollectionThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1082,8 +757,12 @@ const getMongoDBCollectionThroughputOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.collectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1097,16 +776,19 @@ const getMongoDBCollectionThroughputOperationSpec: msRest.OperationSpec = { const beginCreateUpdateMongoDBDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateMongoDBDatabaseParameters", mapper: { @@ -1128,16 +810,19 @@ const beginCreateUpdateMongoDBDatabaseOperationSpec: msRest.OperationSpec = { const beginDeleteMongoDBDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -1150,16 +835,19 @@ const beginDeleteMongoDBDatabaseOperationSpec: msRest.OperationSpec = { const beginUpdateMongoDBDatabaseThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -1181,16 +869,19 @@ const beginUpdateMongoDBDatabaseThroughputOperationSpec: msRest.OperationSpec = const beginMigrateMongoDBDatabaseToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1205,16 +896,19 @@ const beginMigrateMongoDBDatabaseToAutoscaleOperationSpec: msRest.OperationSpec const beginMigrateMongoDBDatabaseToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1229,8 +923,7 @@ const beginMigrateMongoDBDatabaseToManualThroughputOperationSpec: msRest.Operati const beginCreateUpdateMongoDBCollectionOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1238,8 +931,12 @@ const beginCreateUpdateMongoDBCollectionOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.collectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateMongoDBCollectionParameters", mapper: { @@ -1261,8 +958,7 @@ const beginCreateUpdateMongoDBCollectionOperationSpec: msRest.OperationSpec = { const beginDeleteMongoDBCollectionOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1270,8 +966,12 @@ const beginDeleteMongoDBCollectionOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.collectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -1284,8 +984,7 @@ const beginDeleteMongoDBCollectionOperationSpec: msRest.OperationSpec = { const beginUpdateMongoDBCollectionThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1293,8 +992,12 @@ const beginUpdateMongoDBCollectionThroughputOperationSpec: msRest.OperationSpec Parameters.databaseName, Parameters.collectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -1316,8 +1019,7 @@ const beginUpdateMongoDBCollectionThroughputOperationSpec: msRest.OperationSpec const beginMigrateMongoDBCollectionToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1325,8 +1027,12 @@ const beginMigrateMongoDBCollectionToAutoscaleOperationSpec: msRest.OperationSpe Parameters.databaseName, Parameters.collectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -1341,8 +1047,7 @@ const beginMigrateMongoDBCollectionToAutoscaleOperationSpec: msRest.OperationSpe const beginMigrateMongoDBCollectionToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -1350,8 +1055,12 @@ const beginMigrateMongoDBCollectionToManualThroughputOperationSpec: msRest.Opera Parameters.databaseName, Parameters.collectionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableDatabaseAccounts.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableDatabaseAccounts.ts new file mode 100644 index 000000000000..196125de93ea --- /dev/null +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableDatabaseAccounts.ts @@ -0,0 +1,189 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/restorableDatabaseAccountsMappers"; +import * as Parameters from "../models/parameters"; +import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext"; + +/** Class representing a RestorableDatabaseAccounts. */ +export class RestorableDatabaseAccounts { + private readonly client: CosmosDBManagementClientContext; + + /** + * Create a RestorableDatabaseAccounts. + * @param {CosmosDBManagementClientContext} client Reference to the service client. + */ + constructor(client: CosmosDBManagementClientContext) { + this.client = client; + } + + /** + * Lists all the restorable Azure Cosmos DB database accounts available under the subscription and + * in a region. This call requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param [options] The optional parameters + * @returns Promise + */ + listByLocation(location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param callback The callback + */ + listByLocation(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param options The optional parameters + * @param callback The callback + */ + listByLocation(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByLocation(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + listByLocationOperationSpec, + callback) as Promise; + } + + /** + * Lists all the restorable Azure Cosmos DB database accounts available under the subscription. + * This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param [options] The optional parameters + * @returns Promise + */ + getByLocation(location: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param callback The callback + */ + getByLocation(location: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param options The optional parameters + * @param callback The callback + */ + getByLocation(location: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getByLocation(location: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + instanceId, + options + }, + getByLocationOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableDatabaseAccountsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/restorableDatabaseAccounts", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableDatabaseAccountsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getByLocationOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location, + Parameters.instanceId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableDatabaseAccountGetResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbCollections.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbCollections.ts new file mode 100644 index 000000000000..0fe490a4c3e3 --- /dev/null +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbCollections.ts @@ -0,0 +1,89 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/restorableMongodbCollectionsMappers"; +import * as Parameters from "../models/parameters"; +import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext"; + +/** Class representing a RestorableMongodbCollections. */ +export class RestorableMongodbCollections { + private readonly client: CosmosDBManagementClientContext; + + /** + * Create a RestorableMongodbCollections. + * @param {CosmosDBManagementClientContext} client Reference to the service client. + */ + constructor(client: CosmosDBManagementClientContext) { + this.client = client; + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a + * specific database. This helps in scenario where container was accidentally deleted. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param [options] The optional parameters + * @returns Promise + */ + list(location: string, instanceId: string, options?: Models.RestorableMongodbCollectionsListOptionalParams): Promise; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param callback The callback + */ + list(location: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param options The optional parameters + * @param callback The callback + */ + list(location: string, instanceId: string, options: Models.RestorableMongodbCollectionsListOptionalParams, callback: msRest.ServiceCallback): void; + list(location: string, instanceId: string, options?: Models.RestorableMongodbCollectionsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + instanceId, + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbCollections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location, + Parameters.instanceId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.restorableMongodbDatabaseRid + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableMongodbCollectionsListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbDatabases.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbDatabases.ts new file mode 100644 index 000000000000..5144f20e34df --- /dev/null +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbDatabases.ts @@ -0,0 +1,89 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/restorableMongodbDatabasesMappers"; +import * as Parameters from "../models/parameters"; +import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext"; + +/** Class representing a RestorableMongodbDatabases. */ +export class RestorableMongodbDatabases { + private readonly client: CosmosDBManagementClientContext; + + /** + * Create a RestorableMongodbDatabases. + * @param {CosmosDBManagementClientContext} client Reference to the service client. + */ + constructor(client: CosmosDBManagementClientContext) { + this.client = client; + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the + * restorable account. This helps in scenario where database was accidentally deleted to get the + * deletion time. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param [options] The optional parameters + * @returns Promise + */ + list(location: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param callback The callback + */ + list(location: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param options The optional parameters + * @param callback The callback + */ + list(location: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(location: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + instanceId, + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbDatabases", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location, + Parameters.instanceId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableMongodbDatabasesListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbResources.ts new file mode 100644 index 000000000000..5d4f07933664 --- /dev/null +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableMongodbResources.ts @@ -0,0 +1,91 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/restorableMongodbResourcesMappers"; +import * as Parameters from "../models/parameters"; +import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext"; + +/** Class representing a RestorableMongodbResources. */ +export class RestorableMongodbResources { + private readonly client: CosmosDBManagementClientContext; + + /** + * Create a RestorableMongodbResources. + * @param {CosmosDBManagementClientContext} client Reference to the service client. + */ + constructor(client: CosmosDBManagementClientContext) { + this.client = client; + } + + /** + * Return a list of database and collection combo that exist on the account at the given timestamp + * and location. This helps in scenarios to validate what resources exist at given timestamp and + * location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param [options] The optional parameters + * @returns Promise + */ + list(location: string, instanceId: string, options?: Models.RestorableMongodbResourcesListOptionalParams): Promise; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param callback The callback + */ + list(location: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param options The optional parameters + * @param callback The callback + */ + list(location: string, instanceId: string, options: Models.RestorableMongodbResourcesListOptionalParams, callback: msRest.ServiceCallback): void; + list(location: string, instanceId: string, options?: Models.RestorableMongodbResourcesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + instanceId, + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableMongodbResources", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location, + Parameters.instanceId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.restoreLocation, + Parameters.restoreTimestampInUtc + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableMongodbResourcesListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlContainers.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlContainers.ts new file mode 100644 index 000000000000..b193a249a6b0 --- /dev/null +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlContainers.ts @@ -0,0 +1,91 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/restorableSqlContainersMappers"; +import * as Parameters from "../models/parameters"; +import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext"; + +/** Class representing a RestorableSqlContainers. */ +export class RestorableSqlContainers { + private readonly client: CosmosDBManagementClientContext; + + /** + * Create a RestorableSqlContainers. + * @param {CosmosDBManagementClientContext} client Reference to the service client. + */ + constructor(client: CosmosDBManagementClientContext) { + this.client = client; + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a + * specific database. This helps in scenario where container was accidentally deleted. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param [options] The optional parameters + * @returns Promise + */ + list(location: string, instanceId: string, options?: Models.RestorableSqlContainersListOptionalParams): Promise; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param callback The callback + */ + list(location: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param options The optional parameters + * @param callback The callback + */ + list(location: string, instanceId: string, options: Models.RestorableSqlContainersListOptionalParams, callback: msRest.ServiceCallback): void; + list(location: string, instanceId: string, options?: Models.RestorableSqlContainersListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + instanceId, + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlContainers", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location, + Parameters.instanceId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.restorableSqlDatabaseRid, + Parameters.startTime, + Parameters.endTime + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableSqlContainersListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlDatabases.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlDatabases.ts new file mode 100644 index 000000000000..49eb4039b1d9 --- /dev/null +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlDatabases.ts @@ -0,0 +1,89 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/restorableSqlDatabasesMappers"; +import * as Parameters from "../models/parameters"; +import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext"; + +/** Class representing a RestorableSqlDatabases. */ +export class RestorableSqlDatabases { + private readonly client: CosmosDBManagementClientContext; + + /** + * Create a RestorableSqlDatabases. + * @param {CosmosDBManagementClientContext} client Reference to the service client. + */ + constructor(client: CosmosDBManagementClientContext) { + this.client = client; + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the + * restorable account. This helps in scenario where database was accidentally deleted to get the + * deletion time. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param [options] The optional parameters + * @returns Promise + */ + list(location: string, instanceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param callback The callback + */ + list(location: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param options The optional parameters + * @param callback The callback + */ + list(location: string, instanceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(location: string, instanceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + instanceId, + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlDatabases", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location, + Parameters.instanceId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableSqlDatabasesListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlResources.ts new file mode 100644 index 000000000000..da5a23fb80d4 --- /dev/null +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/restorableSqlResources.ts @@ -0,0 +1,91 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/restorableSqlResourcesMappers"; +import * as Parameters from "../models/parameters"; +import { CosmosDBManagementClientContext } from "../cosmosDBManagementClientContext"; + +/** Class representing a RestorableSqlResources. */ +export class RestorableSqlResources { + private readonly client: CosmosDBManagementClientContext; + + /** + * Create a RestorableSqlResources. + * @param {CosmosDBManagementClientContext} client Reference to the service client. + */ + constructor(client: CosmosDBManagementClientContext) { + this.client = client; + } + + /** + * Return a list of database and container combo that exist on the account at the given timestamp + * and location. This helps in scenarios to validate what resources exist at given timestamp and + * location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param [options] The optional parameters + * @returns Promise + */ + list(location: string, instanceId: string, options?: Models.RestorableSqlResourcesListOptionalParams): Promise; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param callback The callback + */ + list(location: string, instanceId: string, callback: msRest.ServiceCallback): void; + /** + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param options The optional parameters + * @param callback The callback + */ + list(location: string, instanceId: string, options: Models.RestorableSqlResourcesListOptionalParams, callback: msRest.ServiceCallback): void; + list(location: string, instanceId: string, options?: Models.RestorableSqlResourcesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + instanceId, + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{instanceId}/restorableSqlResources", + urlParameters: [ + Parameters.subscriptionId, + Parameters.location, + Parameters.instanceId + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.restoreLocation, + Parameters.restoreTimestampInUtc + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RestorableSqlResourcesListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/sqlResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/sqlResources.ts index bcd30c1523cb..94c069d835b7 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/sqlResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/sqlResources.ts @@ -33,39 +33,21 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - listSqlDatabases( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listSqlDatabases(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - listSqlDatabases( - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + listSqlDatabases(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The optional parameters * @param callback The callback */ - listSqlDatabases( - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listSqlDatabases( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listSqlDatabases(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSqlDatabases(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -73,8 +55,7 @@ export class SqlResources { options }, listSqlDatabasesOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -85,24 +66,14 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - getSqlDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + getSqlDatabase(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -110,20 +81,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlDatabase(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -132,8 +91,7 @@ export class SqlResources { options }, getSqlDatabaseOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -145,22 +103,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateSqlDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - createUpdateSqlDatabaseParameters: Models.SqlDatabaseCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateSqlDatabase( - resourceGroupName, - accountName, - databaseName, - createUpdateSqlDatabaseParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesCreateUpdateSqlDatabaseResponse - >; + createUpdateSqlDatabase(resourceGroupName: string, accountName: string, databaseName: string, createUpdateSqlDatabaseParameters: Models.SqlDatabaseCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateSqlDatabase(resourceGroupName,accountName,databaseName,createUpdateSqlDatabaseParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -171,18 +116,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - deleteSqlDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteSqlDatabase( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteSqlDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteSqlDatabase(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -194,24 +130,14 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - getSqlDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + getSqlDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -219,22 +145,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -243,8 +155,7 @@ export class SqlResources { options }, getSqlDatabaseThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -257,22 +168,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - updateSqlDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateSqlDatabaseThroughput( - resourceGroupName, - accountName, - databaseName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesUpdateSqlDatabaseThroughputResponse - >; + updateSqlDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateSqlDatabaseThroughput(resourceGroupName,accountName,databaseName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -283,20 +181,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - migrateSqlDatabaseToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateSqlDatabaseToAutoscale( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesMigrateSqlDatabaseToAutoscaleResponse - >; + migrateSqlDatabaseToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateSqlDatabaseToAutoscale(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -307,20 +194,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - migrateSqlDatabaseToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateSqlDatabaseToManualThroughput( - resourceGroupName, - accountName, - databaseName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesMigrateSqlDatabaseToManualThroughputResponse - >; + migrateSqlDatabaseToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateSqlDatabaseToManualThroughput(resourceGroupName,accountName,databaseName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -331,24 +207,14 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - listSqlContainers( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listSqlContainers(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param callback The callback */ - listSqlContainers( - resourceGroupName: string, - accountName: string, - databaseName: string, - callback: msRest.ServiceCallback - ): void; + listSqlContainers(resourceGroupName: string, accountName: string, databaseName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -356,20 +222,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - listSqlContainers( - resourceGroupName: string, - accountName: string, - databaseName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listSqlContainers( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listSqlContainers(resourceGroupName: string, accountName: string, databaseName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSqlContainers(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -378,8 +232,7 @@ export class SqlResources { options }, listSqlContainersOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -391,13 +244,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlContainer( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlContainer(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -405,13 +252,7 @@ export class SqlResources { * @param containerName Cosmos DB container name. * @param callback The callback */ - getSqlContainer( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - callback: msRest.ServiceCallback - ): void; + getSqlContainer(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -420,22 +261,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlContainer( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlContainer( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlContainer(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlContainer(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -445,8 +272,7 @@ export class SqlResources { options }, getSqlContainerOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -460,24 +286,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateSqlContainer( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - createUpdateSqlContainerParameters: Models.SqlContainerCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateSqlContainer( - resourceGroupName, - accountName, - databaseName, - containerName, - createUpdateSqlContainerParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesCreateUpdateSqlContainerResponse - >; + createUpdateSqlContainer(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, createUpdateSqlContainerParameters: Models.SqlContainerCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateSqlContainer(resourceGroupName,accountName,databaseName,containerName,createUpdateSqlContainerParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -489,20 +300,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - deleteSqlContainer( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteSqlContainer( - resourceGroupName, - accountName, - databaseName, - containerName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteSqlContainer(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteSqlContainer(resourceGroupName,accountName,databaseName,containerName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -514,13 +314,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlContainerThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlContainerThroughput(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -528,13 +322,7 @@ export class SqlResources { * @param containerName Cosmos DB container name. * @param callback The callback */ - getSqlContainerThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - callback: msRest.ServiceCallback - ): void; + getSqlContainerThroughput(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -543,24 +331,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlContainerThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlContainerThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlContainerThroughput(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlContainerThroughput(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -570,8 +342,7 @@ export class SqlResources { options }, getSqlContainerThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -585,24 +356,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - updateSqlContainerThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateSqlContainerThroughput( - resourceGroupName, - accountName, - databaseName, - containerName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesUpdateSqlContainerThroughputResponse - >; + updateSqlContainerThroughput(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateSqlContainerThroughput(resourceGroupName,accountName,databaseName,containerName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -614,22 +370,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - migrateSqlContainerToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateSqlContainerToAutoscale( - resourceGroupName, - accountName, - databaseName, - containerName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesMigrateSqlContainerToAutoscaleResponse - >; + migrateSqlContainerToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateSqlContainerToAutoscale(resourceGroupName,accountName,databaseName,containerName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -641,22 +384,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - migrateSqlContainerToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateSqlContainerToManualThroughput( - resourceGroupName, - accountName, - databaseName, - containerName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesMigrateSqlContainerToManualThroughputResponse - >; + migrateSqlContainerToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateSqlContainerToManualThroughput(resourceGroupName,accountName,databaseName,containerName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -668,13 +398,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - listSqlStoredProcedures( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listSqlStoredProcedures(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -682,13 +406,7 @@ export class SqlResources { * @param containerName Cosmos DB container name. * @param callback The callback */ - listSqlStoredProcedures( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - callback: msRest.ServiceCallback - ): void; + listSqlStoredProcedures(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -697,24 +415,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - listSqlStoredProcedures( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listSqlStoredProcedures( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listSqlStoredProcedures(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSqlStoredProcedures(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -724,8 +426,7 @@ export class SqlResources { options }, listSqlStoredProceduresOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -738,14 +439,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlStoredProcedure( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - storedProcedureName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlStoredProcedure(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, storedProcedureName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -754,14 +448,7 @@ export class SqlResources { * @param storedProcedureName Cosmos DB storedProcedure name. * @param callback The callback */ - getSqlStoredProcedure( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - storedProcedureName: string, - callback: msRest.ServiceCallback - ): void; + getSqlStoredProcedure(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, storedProcedureName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -771,26 +458,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlStoredProcedure( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - storedProcedureName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlStoredProcedure( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - storedProcedureName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlStoredProcedure(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, storedProcedureName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlStoredProcedure(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, storedProcedureName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -801,8 +470,7 @@ export class SqlResources { options }, getSqlStoredProcedureOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -817,26 +485,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateSqlStoredProcedure( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - storedProcedureName: string, - createUpdateSqlStoredProcedureParameters: Models.SqlStoredProcedureCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateSqlStoredProcedure( - resourceGroupName, - accountName, - databaseName, - containerName, - storedProcedureName, - createUpdateSqlStoredProcedureParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesCreateUpdateSqlStoredProcedureResponse - >; + createUpdateSqlStoredProcedure(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, storedProcedureName: string, createUpdateSqlStoredProcedureParameters: Models.SqlStoredProcedureCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateSqlStoredProcedure(resourceGroupName,accountName,databaseName,containerName,storedProcedureName,createUpdateSqlStoredProcedureParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -849,22 +500,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - deleteSqlStoredProcedure( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - storedProcedureName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteSqlStoredProcedure( - resourceGroupName, - accountName, - databaseName, - containerName, - storedProcedureName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteSqlStoredProcedure(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, storedProcedureName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteSqlStoredProcedure(resourceGroupName,accountName,databaseName,containerName,storedProcedureName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -876,13 +514,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - listSqlUserDefinedFunctions( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listSqlUserDefinedFunctions(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -890,13 +522,7 @@ export class SqlResources { * @param containerName Cosmos DB container name. * @param callback The callback */ - listSqlUserDefinedFunctions( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - callback: msRest.ServiceCallback - ): void; + listSqlUserDefinedFunctions(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -905,24 +531,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - listSqlUserDefinedFunctions( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listSqlUserDefinedFunctions( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listSqlUserDefinedFunctions(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSqlUserDefinedFunctions(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -932,8 +542,7 @@ export class SqlResources { options }, listSqlUserDefinedFunctionsOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -946,14 +555,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlUserDefinedFunction( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - userDefinedFunctionName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlUserDefinedFunction(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, userDefinedFunctionName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -962,14 +564,7 @@ export class SqlResources { * @param userDefinedFunctionName Cosmos DB userDefinedFunction name. * @param callback The callback */ - getSqlUserDefinedFunction( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - userDefinedFunctionName: string, - callback: msRest.ServiceCallback - ): void; + getSqlUserDefinedFunction(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, userDefinedFunctionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -979,26 +574,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlUserDefinedFunction( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - userDefinedFunctionName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlUserDefinedFunction( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - userDefinedFunctionName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlUserDefinedFunction(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, userDefinedFunctionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlUserDefinedFunction(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, userDefinedFunctionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1009,8 +586,7 @@ export class SqlResources { options }, getSqlUserDefinedFunctionOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -1025,26 +601,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateSqlUserDefinedFunction( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - userDefinedFunctionName: string, - createUpdateSqlUserDefinedFunctionParameters: Models.SqlUserDefinedFunctionCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateSqlUserDefinedFunction( - resourceGroupName, - accountName, - databaseName, - containerName, - userDefinedFunctionName, - createUpdateSqlUserDefinedFunctionParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesCreateUpdateSqlUserDefinedFunctionResponse - >; + createUpdateSqlUserDefinedFunction(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, userDefinedFunctionName: string, createUpdateSqlUserDefinedFunctionParameters: Models.SqlUserDefinedFunctionCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateSqlUserDefinedFunction(resourceGroupName,accountName,databaseName,containerName,userDefinedFunctionName,createUpdateSqlUserDefinedFunctionParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -1057,22 +616,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - deleteSqlUserDefinedFunction( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - userDefinedFunctionName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteSqlUserDefinedFunction( - resourceGroupName, - accountName, - databaseName, - containerName, - userDefinedFunctionName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteSqlUserDefinedFunction(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, userDefinedFunctionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteSqlUserDefinedFunction(resourceGroupName,accountName,databaseName,containerName,userDefinedFunctionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -1084,13 +630,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - listSqlTriggers( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listSqlTriggers(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -1098,13 +638,7 @@ export class SqlResources { * @param containerName Cosmos DB container name. * @param callback The callback */ - listSqlTriggers( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - callback: msRest.ServiceCallback - ): void; + listSqlTriggers(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -1113,22 +647,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - listSqlTriggers( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listSqlTriggers( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listSqlTriggers(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSqlTriggers(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1138,8 +658,7 @@ export class SqlResources { options }, listSqlTriggersOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -1152,14 +671,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlTrigger( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - triggerName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlTrigger(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -1168,14 +680,7 @@ export class SqlResources { * @param triggerName Cosmos DB trigger name. * @param callback The callback */ - getSqlTrigger( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - triggerName: string, - callback: msRest.ServiceCallback - ): void; + getSqlTrigger(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, triggerName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -1185,24 +690,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlTrigger( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - triggerName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlTrigger( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - triggerName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlTrigger(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, triggerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlTrigger(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, triggerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1213,8 +702,7 @@ export class SqlResources { options }, getSqlTriggerOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -1228,26 +716,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateSqlTrigger( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - triggerName: string, - createUpdateSqlTriggerParameters: Models.SqlTriggerCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateSqlTrigger( - resourceGroupName, - accountName, - databaseName, - containerName, - triggerName, - createUpdateSqlTriggerParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesCreateUpdateSqlTriggerResponse - >; + createUpdateSqlTrigger(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, triggerName: string, createUpdateSqlTriggerParameters: Models.SqlTriggerCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateSqlTrigger(resourceGroupName,accountName,databaseName,containerName,triggerName,createUpdateSqlTriggerParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -1260,22 +731,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - deleteSqlTrigger( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - triggerName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteSqlTrigger( - resourceGroupName, - accountName, - databaseName, - containerName, - triggerName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteSqlTrigger(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteSqlTrigger(resourceGroupName,accountName,databaseName,containerName,triggerName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -1286,24 +744,14 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlRoleDefinition( - roleDefinitionId: string, - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlRoleDefinition(roleDefinitionId: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param roleDefinitionId The GUID for the Role Definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - getSqlRoleDefinition( - roleDefinitionId: string, - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + getSqlRoleDefinition(roleDefinitionId: string, resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param roleDefinitionId The GUID for the Role Definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -1311,22 +759,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlRoleDefinition( - roleDefinitionId: string, - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlRoleDefinition( - roleDefinitionId: string, - resourceGroupName: string, - accountName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlRoleDefinition(roleDefinitionId: string, resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlRoleDefinition(roleDefinitionId: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { roleDefinitionId, @@ -1335,8 +769,7 @@ export class SqlResources { options }, getSqlRoleDefinitionOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -1349,22 +782,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateSqlRoleDefinition( - roleDefinitionId: string, - resourceGroupName: string, - accountName: string, - createUpdateSqlRoleDefinitionParameters: Models.SqlRoleDefinitionCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateSqlRoleDefinition( - roleDefinitionId, - resourceGroupName, - accountName, - createUpdateSqlRoleDefinitionParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesCreateUpdateSqlRoleDefinitionResponse - >; + createUpdateSqlRoleDefinition(roleDefinitionId: string, resourceGroupName: string, accountName: string, createUpdateSqlRoleDefinitionParameters: Models.SqlRoleDefinitionCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateSqlRoleDefinition(roleDefinitionId,resourceGroupName,accountName,createUpdateSqlRoleDefinitionParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -1375,18 +795,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - deleteSqlRoleDefinition( - roleDefinitionId: string, - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteSqlRoleDefinition( - roleDefinitionId, - resourceGroupName, - accountName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteSqlRoleDefinition(roleDefinitionId: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteSqlRoleDefinition(roleDefinitionId,resourceGroupName,accountName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -1396,41 +807,21 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - listSqlRoleDefinitions( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listSqlRoleDefinitions(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - listSqlRoleDefinitions( - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + listSqlRoleDefinitions(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The optional parameters * @param callback The callback */ - listSqlRoleDefinitions( - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listSqlRoleDefinitions( - resourceGroupName: string, - accountName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listSqlRoleDefinitions(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSqlRoleDefinitions(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1438,8 +829,7 @@ export class SqlResources { options }, listSqlRoleDefinitionsOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -1450,24 +840,14 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - getSqlRoleAssignment( - roleAssignmentId: string, - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getSqlRoleAssignment(roleAssignmentId: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param roleAssignmentId The GUID for the Role Assignment. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - getSqlRoleAssignment( - roleAssignmentId: string, - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + getSqlRoleAssignment(roleAssignmentId: string, resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param roleAssignmentId The GUID for the Role Assignment. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -1475,22 +855,8 @@ export class SqlResources { * @param options The optional parameters * @param callback The callback */ - getSqlRoleAssignment( - roleAssignmentId: string, - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getSqlRoleAssignment( - roleAssignmentId: string, - resourceGroupName: string, - accountName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getSqlRoleAssignment(roleAssignmentId: string, resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSqlRoleAssignment(roleAssignmentId: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { roleAssignmentId, @@ -1499,8 +865,7 @@ export class SqlResources { options }, getSqlRoleAssignmentOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -1513,22 +878,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateSqlRoleAssignment( - roleAssignmentId: string, - resourceGroupName: string, - accountName: string, - createUpdateSqlRoleAssignmentParameters: Models.SqlRoleAssignmentCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateSqlRoleAssignment( - roleAssignmentId, - resourceGroupName, - accountName, - createUpdateSqlRoleAssignmentParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.SqlResourcesCreateUpdateSqlRoleAssignmentResponse - >; + createUpdateSqlRoleAssignment(roleAssignmentId: string, resourceGroupName: string, accountName: string, createUpdateSqlRoleAssignmentParameters: Models.SqlRoleAssignmentCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateSqlRoleAssignment(roleAssignmentId,resourceGroupName,accountName,createUpdateSqlRoleAssignmentParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -1539,18 +891,9 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - deleteSqlRoleAssignment( - roleAssignmentId: string, - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteSqlRoleAssignment( - roleAssignmentId, - resourceGroupName, - accountName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteSqlRoleAssignment(roleAssignmentId: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteSqlRoleAssignment(roleAssignmentId,resourceGroupName,accountName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -1560,41 +903,21 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - listSqlRoleAssignments( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listSqlRoleAssignments(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - listSqlRoleAssignments( - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + listSqlRoleAssignments(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The optional parameters * @param callback The callback */ - listSqlRoleAssignments( - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listSqlRoleAssignments( - resourceGroupName: string, - accountName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listSqlRoleAssignments(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSqlRoleAssignments(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -1602,8 +925,22 @@ export class SqlResources { options }, listSqlRoleAssignmentsOperationSpec, - callback - ) as Promise; + callback) as Promise; + } + + /** + * Retrieves continuous backup information for a container resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @param location The name of the continuous backup restore location. + * @param [options] The optional parameters + * @returns Promise + */ + retrieveContinuousBackupInformation(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, location: Models.ContinuousBackupRestoreLocation, options?: msRest.RequestOptionsBase): Promise { + return this.beginRetrieveContinuousBackupInformation(resourceGroupName,accountName,databaseName,containerName,location,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -1615,13 +952,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateSqlDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - createUpdateSqlDatabaseParameters: Models.SqlDatabaseCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateSqlDatabase(resourceGroupName: string, accountName: string, databaseName: string, createUpdateSqlDatabaseParameters: Models.SqlDatabaseCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1631,8 +962,7 @@ export class SqlResources { options }, beginCreateUpdateSqlDatabaseOperationSpec, - options - ); + options); } /** @@ -1643,12 +973,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteSqlDatabase( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteSqlDatabase(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1657,8 +982,7 @@ export class SqlResources { options }, beginDeleteSqlDatabaseOperationSpec, - options - ); + options); } /** @@ -1671,13 +995,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateSqlDatabaseThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateSqlDatabaseThroughput(resourceGroupName: string, accountName: string, databaseName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1687,8 +1005,7 @@ export class SqlResources { options }, beginUpdateSqlDatabaseThroughputOperationSpec, - options - ); + options); } /** @@ -1699,12 +1016,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateSqlDatabaseToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateSqlDatabaseToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1713,8 +1025,7 @@ export class SqlResources { options }, beginMigrateSqlDatabaseToAutoscaleOperationSpec, - options - ); + options); } /** @@ -1725,12 +1036,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateSqlDatabaseToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateSqlDatabaseToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1739,8 +1045,7 @@ export class SqlResources { options }, beginMigrateSqlDatabaseToManualThroughputOperationSpec, - options - ); + options); } /** @@ -1754,14 +1059,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateSqlContainer( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - createUpdateSqlContainerParameters: Models.SqlContainerCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateSqlContainer(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, createUpdateSqlContainerParameters: Models.SqlContainerCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1772,8 +1070,7 @@ export class SqlResources { options }, beginCreateUpdateSqlContainerOperationSpec, - options - ); + options); } /** @@ -1785,13 +1082,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteSqlContainer( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteSqlContainer(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1801,8 +1092,7 @@ export class SqlResources { options }, beginDeleteSqlContainerOperationSpec, - options - ); + options); } /** @@ -1816,14 +1106,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateSqlContainerThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateSqlContainerThroughput(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1834,8 +1117,7 @@ export class SqlResources { options }, beginUpdateSqlContainerThroughputOperationSpec, - options - ); + options); } /** @@ -1847,13 +1129,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateSqlContainerToAutoscale( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateSqlContainerToAutoscale(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1863,8 +1139,7 @@ export class SqlResources { options }, beginMigrateSqlContainerToAutoscaleOperationSpec, - options - ); + options); } /** @@ -1876,13 +1151,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateSqlContainerToManualThroughput( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateSqlContainerToManualThroughput(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1892,8 +1161,7 @@ export class SqlResources { options }, beginMigrateSqlContainerToManualThroughputOperationSpec, - options - ); + options); } /** @@ -1908,15 +1176,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateSqlStoredProcedure( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - storedProcedureName: string, - createUpdateSqlStoredProcedureParameters: Models.SqlStoredProcedureCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateSqlStoredProcedure(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, storedProcedureName: string, createUpdateSqlStoredProcedureParameters: Models.SqlStoredProcedureCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1928,8 +1188,7 @@ export class SqlResources { options }, beginCreateUpdateSqlStoredProcedureOperationSpec, - options - ); + options); } /** @@ -1942,14 +1201,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteSqlStoredProcedure( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - storedProcedureName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteSqlStoredProcedure(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, storedProcedureName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1960,8 +1212,7 @@ export class SqlResources { options }, beginDeleteSqlStoredProcedureOperationSpec, - options - ); + options); } /** @@ -1976,15 +1227,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateSqlUserDefinedFunction( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - userDefinedFunctionName: string, - createUpdateSqlUserDefinedFunctionParameters: Models.SqlUserDefinedFunctionCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateSqlUserDefinedFunction(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, userDefinedFunctionName: string, createUpdateSqlUserDefinedFunctionParameters: Models.SqlUserDefinedFunctionCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -1996,8 +1239,7 @@ export class SqlResources { options }, beginCreateUpdateSqlUserDefinedFunctionOperationSpec, - options - ); + options); } /** @@ -2010,14 +1252,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteSqlUserDefinedFunction( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - userDefinedFunctionName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteSqlUserDefinedFunction(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, userDefinedFunctionName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -2028,8 +1263,7 @@ export class SqlResources { options }, beginDeleteSqlUserDefinedFunctionOperationSpec, - options - ); + options); } /** @@ -2043,15 +1277,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateSqlTrigger( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - triggerName: string, - createUpdateSqlTriggerParameters: Models.SqlTriggerCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateSqlTrigger(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, triggerName: string, createUpdateSqlTriggerParameters: Models.SqlTriggerCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -2063,8 +1289,7 @@ export class SqlResources { options }, beginCreateUpdateSqlTriggerOperationSpec, - options - ); + options); } /** @@ -2077,14 +1302,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteSqlTrigger( - resourceGroupName: string, - accountName: string, - databaseName: string, - containerName: string, - triggerName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteSqlTrigger(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, triggerName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -2095,8 +1313,7 @@ export class SqlResources { options }, beginDeleteSqlTriggerOperationSpec, - options - ); + options); } /** @@ -2109,13 +1326,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateSqlRoleDefinition( - roleDefinitionId: string, - resourceGroupName: string, - accountName: string, - createUpdateSqlRoleDefinitionParameters: Models.SqlRoleDefinitionCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateSqlRoleDefinition(roleDefinitionId: string, resourceGroupName: string, accountName: string, createUpdateSqlRoleDefinitionParameters: Models.SqlRoleDefinitionCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { roleDefinitionId, @@ -2125,8 +1336,7 @@ export class SqlResources { options }, beginCreateUpdateSqlRoleDefinitionOperationSpec, - options - ); + options); } /** @@ -2137,12 +1347,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteSqlRoleDefinition( - roleDefinitionId: string, - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteSqlRoleDefinition(roleDefinitionId: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { roleDefinitionId, @@ -2151,8 +1356,7 @@ export class SqlResources { options }, beginDeleteSqlRoleDefinitionOperationSpec, - options - ); + options); } /** @@ -2165,13 +1369,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateSqlRoleAssignment( - roleAssignmentId: string, - resourceGroupName: string, - accountName: string, - createUpdateSqlRoleAssignmentParameters: Models.SqlRoleAssignmentCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateSqlRoleAssignment(roleAssignmentId: string, resourceGroupName: string, accountName: string, createUpdateSqlRoleAssignmentParameters: Models.SqlRoleAssignmentCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { roleAssignmentId, @@ -2181,8 +1379,7 @@ export class SqlResources { options }, beginCreateUpdateSqlRoleAssignmentOperationSpec, - options - ); + options); } /** @@ -2193,12 +1390,7 @@ export class SqlResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteSqlRoleAssignment( - roleAssignmentId: string, - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteSqlRoleAssignment(roleAssignmentId: string, resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { roleAssignmentId, @@ -2207,8 +1399,31 @@ export class SqlResources { options }, beginDeleteSqlRoleAssignmentOperationSpec, - options - ); + options); + } + + /** + * Retrieves continuous backup information for a container resource. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @param location The name of the continuous backup restore location. + * @param [options] The optional parameters + * @returns Promise + */ + beginRetrieveContinuousBackupInformation(resourceGroupName: string, accountName: string, databaseName: string, containerName: string, location: Models.ContinuousBackupRestoreLocation, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + accountName, + databaseName, + containerName, + location, + options + }, + beginRetrieveContinuousBackupInformationOperationSpec, + options); } } @@ -2216,11 +1431,18 @@ export class SqlResources { const serializer = new msRest.Serializer(Mappers); const listSqlDatabasesOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.accountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlDatabaseListResult @@ -2234,16 +1456,19 @@ const listSqlDatabasesOperationSpec: msRest.OperationSpec = { const getSqlDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlDatabaseGetResults @@ -2257,16 +1482,19 @@ const getSqlDatabaseOperationSpec: msRest.OperationSpec = { const getSqlDatabaseThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -2280,16 +1508,19 @@ const getSqlDatabaseThroughputOperationSpec: msRest.OperationSpec = { const listSqlContainersOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlContainerListResult @@ -2303,8 +1534,7 @@ const listSqlContainersOperationSpec: msRest.OperationSpec = { const getSqlContainerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2312,8 +1542,12 @@ const getSqlContainerOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlContainerGetResults @@ -2327,8 +1561,7 @@ const getSqlContainerOperationSpec: msRest.OperationSpec = { const getSqlContainerThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2336,8 +1569,12 @@ const getSqlContainerThroughputOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -2351,8 +1588,7 @@ const getSqlContainerThroughputOperationSpec: msRest.OperationSpec = { const listSqlStoredProceduresOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2360,8 +1596,12 @@ const listSqlStoredProceduresOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlStoredProcedureListResult @@ -2375,8 +1615,7 @@ const listSqlStoredProceduresOperationSpec: msRest.OperationSpec = { const getSqlStoredProcedureOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2385,8 +1624,12 @@ const getSqlStoredProcedureOperationSpec: msRest.OperationSpec = { Parameters.containerName, Parameters.storedProcedureName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlStoredProcedureGetResults @@ -2400,8 +1643,7 @@ const getSqlStoredProcedureOperationSpec: msRest.OperationSpec = { const listSqlUserDefinedFunctionsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2409,8 +1651,12 @@ const listSqlUserDefinedFunctionsOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlUserDefinedFunctionListResult @@ -2424,8 +1670,7 @@ const listSqlUserDefinedFunctionsOperationSpec: msRest.OperationSpec = { const getSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2434,8 +1679,12 @@ const getSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec = { Parameters.containerName, Parameters.userDefinedFunctionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlUserDefinedFunctionGetResults @@ -2449,8 +1698,7 @@ const getSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec = { const listSqlTriggersOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2458,8 +1706,12 @@ const listSqlTriggersOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlTriggerListResult @@ -2473,8 +1725,7 @@ const listSqlTriggersOperationSpec: msRest.OperationSpec = { const getSqlTriggerOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2483,8 +1734,12 @@ const getSqlTriggerOperationSpec: msRest.OperationSpec = { Parameters.containerName, Parameters.triggerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlTriggerGetResults @@ -2498,16 +1753,19 @@ const getSqlTriggerOperationSpec: msRest.OperationSpec = { const getSqlRoleDefinitionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", urlParameters: [ Parameters.roleDefinitionId, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlRoleDefinitionGetResults @@ -2521,11 +1779,18 @@ const getSqlRoleDefinitionOperationSpec: msRest.OperationSpec = { const listSqlRoleDefinitionsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.accountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlRoleDefinitionListResult @@ -2539,16 +1804,19 @@ const listSqlRoleDefinitionsOperationSpec: msRest.OperationSpec = { const getSqlRoleAssignmentOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", urlParameters: [ Parameters.roleAssignmentId, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlRoleAssignmentGetResults @@ -2562,11 +1830,18 @@ const getSqlRoleAssignmentOperationSpec: msRest.OperationSpec = { const listSqlRoleAssignmentsOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.accountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.SqlRoleAssignmentListResult @@ -2580,16 +1855,19 @@ const listSqlRoleAssignmentsOperationSpec: msRest.OperationSpec = { const beginCreateUpdateSqlDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateSqlDatabaseParameters", mapper: { @@ -2611,16 +1889,19 @@ const beginCreateUpdateSqlDatabaseOperationSpec: msRest.OperationSpec = { const beginDeleteSqlDatabaseOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -2633,16 +1914,19 @@ const beginDeleteSqlDatabaseOperationSpec: msRest.OperationSpec = { const beginUpdateSqlDatabaseThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -2664,16 +1948,19 @@ const beginUpdateSqlDatabaseThroughputOperationSpec: msRest.OperationSpec = { const beginMigrateSqlDatabaseToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -2688,16 +1975,19 @@ const beginMigrateSqlDatabaseToAutoscaleOperationSpec: msRest.OperationSpec = { const beginMigrateSqlDatabaseToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.databaseName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -2712,8 +2002,7 @@ const beginMigrateSqlDatabaseToManualThroughputOperationSpec: msRest.OperationSp const beginCreateUpdateSqlContainerOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2721,8 +2010,12 @@ const beginCreateUpdateSqlContainerOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateSqlContainerParameters", mapper: { @@ -2744,8 +2037,7 @@ const beginCreateUpdateSqlContainerOperationSpec: msRest.OperationSpec = { const beginDeleteSqlContainerOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2753,8 +2045,12 @@ const beginDeleteSqlContainerOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -2767,8 +2063,7 @@ const beginDeleteSqlContainerOperationSpec: msRest.OperationSpec = { const beginUpdateSqlContainerThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2776,8 +2071,12 @@ const beginUpdateSqlContainerThroughputOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -2799,8 +2098,7 @@ const beginUpdateSqlContainerThroughputOperationSpec: msRest.OperationSpec = { const beginMigrateSqlContainerToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2808,8 +2106,12 @@ const beginMigrateSqlContainerToAutoscaleOperationSpec: msRest.OperationSpec = { Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -2824,8 +2126,7 @@ const beginMigrateSqlContainerToAutoscaleOperationSpec: msRest.OperationSpec = { const beginMigrateSqlContainerToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2833,8 +2134,12 @@ const beginMigrateSqlContainerToManualThroughputOperationSpec: msRest.OperationS Parameters.databaseName, Parameters.containerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -2849,8 +2154,7 @@ const beginMigrateSqlContainerToManualThroughputOperationSpec: msRest.OperationS const beginCreateUpdateSqlStoredProcedureOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2859,8 +2163,12 @@ const beginCreateUpdateSqlStoredProcedureOperationSpec: msRest.OperationSpec = { Parameters.containerName, Parameters.storedProcedureName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateSqlStoredProcedureParameters", mapper: { @@ -2882,8 +2190,7 @@ const beginCreateUpdateSqlStoredProcedureOperationSpec: msRest.OperationSpec = { const beginDeleteSqlStoredProcedureOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/storedProcedures/{storedProcedureName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2892,8 +2199,12 @@ const beginDeleteSqlStoredProcedureOperationSpec: msRest.OperationSpec = { Parameters.containerName, Parameters.storedProcedureName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -2906,8 +2217,7 @@ const beginDeleteSqlStoredProcedureOperationSpec: msRest.OperationSpec = { const beginCreateUpdateSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2916,8 +2226,12 @@ const beginCreateUpdateSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec Parameters.containerName, Parameters.userDefinedFunctionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateSqlUserDefinedFunctionParameters", mapper: { @@ -2939,8 +2253,7 @@ const beginCreateUpdateSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec const beginDeleteSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/userDefinedFunctions/{userDefinedFunctionName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2949,8 +2262,12 @@ const beginDeleteSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec = { Parameters.containerName, Parameters.userDefinedFunctionName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -2963,8 +2280,7 @@ const beginDeleteSqlUserDefinedFunctionOperationSpec: msRest.OperationSpec = { const beginCreateUpdateSqlTriggerOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -2973,8 +2289,12 @@ const beginCreateUpdateSqlTriggerOperationSpec: msRest.OperationSpec = { Parameters.containerName, Parameters.triggerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateSqlTriggerParameters", mapper: { @@ -2996,8 +2316,7 @@ const beginCreateUpdateSqlTriggerOperationSpec: msRest.OperationSpec = { const beginDeleteSqlTriggerOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/triggers/{triggerName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -3006,8 +2325,12 @@ const beginDeleteSqlTriggerOperationSpec: msRest.OperationSpec = { Parameters.containerName, Parameters.triggerName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -3020,16 +2343,19 @@ const beginDeleteSqlTriggerOperationSpec: msRest.OperationSpec = { const beginCreateUpdateSqlRoleDefinitionOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", urlParameters: [ Parameters.roleDefinitionId, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateSqlRoleDefinitionParameters", mapper: { @@ -3051,16 +2377,19 @@ const beginCreateUpdateSqlRoleDefinitionOperationSpec: msRest.OperationSpec = { const beginDeleteSqlRoleDefinitionOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleDefinitions/{roleDefinitionId}", urlParameters: [ Parameters.roleDefinitionId, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: {}, 202: {}, @@ -3074,16 +2403,19 @@ const beginDeleteSqlRoleDefinitionOperationSpec: msRest.OperationSpec = { const beginCreateUpdateSqlRoleAssignmentOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", urlParameters: [ Parameters.roleAssignmentId, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateSqlRoleAssignmentParameters", mapper: { @@ -3105,16 +2437,19 @@ const beginCreateUpdateSqlRoleAssignmentOperationSpec: msRest.OperationSpec = { const beginDeleteSqlRoleAssignmentOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlRoleAssignments/{roleAssignmentId}", urlParameters: [ Parameters.roleAssignmentId, Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: {}, 202: {}, @@ -3125,3 +2460,38 @@ const beginDeleteSqlRoleAssignmentOperationSpec: msRest.OperationSpec = { }, serializer }; + +const beginRetrieveContinuousBackupInformationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}/retrieveContinuousBackupInformation", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.accountName, + Parameters.databaseName, + Parameters.containerName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "location", + mapper: { + ...Mappers.ContinuousBackupRestoreLocation, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.BackupInformation + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/cosmosdb/arm-cosmosdb/src/operations/tableResources.ts b/sdk/cosmosdb/arm-cosmosdb/src/operations/tableResources.ts index 2c51037b59b0..b0ccec17248b 100644 --- a/sdk/cosmosdb/arm-cosmosdb/src/operations/tableResources.ts +++ b/sdk/cosmosdb/arm-cosmosdb/src/operations/tableResources.ts @@ -33,39 +33,21 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - listTables( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase - ): Promise; + listTables(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param callback The callback */ - listTables( - resourceGroupName: string, - accountName: string, - callback: msRest.ServiceCallback - ): void; + listTables(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The optional parameters * @param callback The callback */ - listTables( - resourceGroupName: string, - accountName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - listTables( - resourceGroupName: string, - accountName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + listTables(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listTables(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -73,8 +55,7 @@ export class TableResources { options }, listTablesOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -85,24 +66,14 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - getTable( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getTable(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. * @param callback The callback */ - getTable( - resourceGroupName: string, - accountName: string, - tableName: string, - callback: msRest.ServiceCallback - ): void; + getTable(resourceGroupName: string, accountName: string, tableName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -110,20 +81,8 @@ export class TableResources { * @param options The optional parameters * @param callback The callback */ - getTable( - resourceGroupName: string, - accountName: string, - tableName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getTable( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getTable(resourceGroupName: string, accountName: string, tableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getTable(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -132,8 +91,7 @@ export class TableResources { options }, getTableOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -145,22 +103,9 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - createUpdateTable( - resourceGroupName: string, - accountName: string, - tableName: string, - createUpdateTableParameters: Models.TableCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginCreateUpdateTable( - resourceGroupName, - accountName, - tableName, - createUpdateTableParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.TableResourcesCreateUpdateTableResponse - >; + createUpdateTable(resourceGroupName: string, accountName: string, tableName: string, createUpdateTableParameters: Models.TableCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateUpdateTable(resourceGroupName,accountName,tableName,createUpdateTableParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -171,18 +116,9 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - deleteTable( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginDeleteTable( - resourceGroupName, - accountName, - tableName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()); + deleteTable(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteTable(resourceGroupName,accountName,tableName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -194,24 +130,14 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - getTableThroughput( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise; + getTableThroughput(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. * @param callback The callback */ - getTableThroughput( - resourceGroupName: string, - accountName: string, - tableName: string, - callback: msRest.ServiceCallback - ): void; + getTableThroughput(resourceGroupName: string, accountName: string, tableName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. @@ -219,22 +145,8 @@ export class TableResources { * @param options The optional parameters * @param callback The callback */ - getTableThroughput( - resourceGroupName: string, - accountName: string, - tableName: string, - options: msRest.RequestOptionsBase, - callback: msRest.ServiceCallback - ): void; - getTableThroughput( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: - | msRest.RequestOptionsBase - | msRest.ServiceCallback, - callback?: msRest.ServiceCallback - ): Promise { + getTableThroughput(resourceGroupName: string, accountName: string, tableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getTableThroughput(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -243,8 +155,7 @@ export class TableResources { options }, getTableThroughputOperationSpec, - callback - ) as Promise; + callback) as Promise; } /** @@ -257,22 +168,9 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - updateTableThroughput( - resourceGroupName: string, - accountName: string, - tableName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginUpdateTableThroughput( - resourceGroupName, - accountName, - tableName, - updateThroughputParameters, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.TableResourcesUpdateTableThroughputResponse - >; + updateTableThroughput(resourceGroupName: string, accountName: string, tableName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateTableThroughput(resourceGroupName,accountName,tableName,updateThroughputParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -283,20 +181,9 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - migrateTableToAutoscale( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateTableToAutoscale( - resourceGroupName, - accountName, - tableName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.TableResourcesMigrateTableToAutoscaleResponse - >; + migrateTableToAutoscale(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateTableToAutoscale(resourceGroupName,accountName,tableName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -307,20 +194,9 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - migrateTableToManualThroughput( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { - return this.beginMigrateTableToManualThroughput( - resourceGroupName, - accountName, - tableName, - options - ).then((lroPoller) => lroPoller.pollUntilFinished()) as Promise< - Models.TableResourcesMigrateTableToManualThroughputResponse - >; + migrateTableToManualThroughput(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginMigrateTableToManualThroughput(resourceGroupName,accountName,tableName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -332,13 +208,7 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - beginCreateUpdateTable( - resourceGroupName: string, - accountName: string, - tableName: string, - createUpdateTableParameters: Models.TableCreateUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginCreateUpdateTable(resourceGroupName: string, accountName: string, tableName: string, createUpdateTableParameters: Models.TableCreateUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -348,8 +218,7 @@ export class TableResources { options }, beginCreateUpdateTableOperationSpec, - options - ); + options); } /** @@ -360,12 +229,7 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - beginDeleteTable( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginDeleteTable(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -374,8 +238,7 @@ export class TableResources { options }, beginDeleteTableOperationSpec, - options - ); + options); } /** @@ -388,13 +251,7 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - beginUpdateTableThroughput( - resourceGroupName: string, - accountName: string, - tableName: string, - updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, - options?: msRest.RequestOptionsBase - ): Promise { + beginUpdateTableThroughput(resourceGroupName: string, accountName: string, tableName: string, updateThroughputParameters: Models.ThroughputSettingsUpdateParameters, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -404,8 +261,7 @@ export class TableResources { options }, beginUpdateTableThroughputOperationSpec, - options - ); + options); } /** @@ -416,12 +272,7 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateTableToAutoscale( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateTableToAutoscale(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -430,8 +281,7 @@ export class TableResources { options }, beginMigrateTableToAutoscaleOperationSpec, - options - ); + options); } /** @@ -442,12 +292,7 @@ export class TableResources { * @param [options] The optional parameters * @returns Promise */ - beginMigrateTableToManualThroughput( - resourceGroupName: string, - accountName: string, - tableName: string, - options?: msRest.RequestOptionsBase - ): Promise { + beginMigrateTableToManualThroughput(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -456,8 +301,7 @@ export class TableResources { options }, beginMigrateTableToManualThroughputOperationSpec, - options - ); + options); } } @@ -465,11 +309,18 @@ export class TableResources { const serializer = new msRest.Serializer(Mappers); const listTablesOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables", - urlParameters: [Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.accountName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.TableListResult @@ -483,16 +334,19 @@ const listTablesOperationSpec: msRest.OperationSpec = { const getTableOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.TableGetResults @@ -506,16 +360,19 @@ const getTableOperationSpec: msRest.OperationSpec = { const getTableThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -529,16 +386,19 @@ const getTableThroughputOperationSpec: msRest.OperationSpec = { const beginCreateUpdateTableOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "createUpdateTableParameters", mapper: { @@ -560,16 +420,19 @@ const beginCreateUpdateTableOperationSpec: msRest.OperationSpec = { const beginDeleteTableOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 202: {}, 204: {}, @@ -582,16 +445,19 @@ const beginDeleteTableOperationSpec: msRest.OperationSpec = { const beginUpdateTableThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], requestBody: { parameterPath: "updateThroughputParameters", mapper: { @@ -613,16 +479,19 @@ const beginUpdateTableThroughputOperationSpec: msRest.OperationSpec = { const beginMigrateTableToAutoscaleOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToAutoscale", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults @@ -637,16 +506,19 @@ const beginMigrateTableToAutoscaleOperationSpec: msRest.OperationSpec = { const beginMigrateTableToManualThroughputOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: - "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables/{tableName}/throughputSettings/default/migrateToManualThroughput", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, Parameters.accountName, Parameters.tableName ], - queryParameters: [Parameters.apiVersion], - headerParameters: [Parameters.acceptLanguage], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], responses: { 200: { bodyMapper: Mappers.ThroughputSettingsGetResults From b499bfbfa161280cf5524d6d733274ed0f7aeedd Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Tue, 22 Jun 2021 20:27:50 -0700 Subject: [PATCH 025/134] [KeyVault] - Migrate Key Vault Admin package to Core V2 (#15881) ## What - Migrate @azure/keyvault-admin to core V2 - Migrate `KeyVaultBackupClient` and `KeyVaultAccessControlClient` to core CAE - Bump our minimum `@azure/core-lro` version to 1.0.6 ## Why This PR proves out two important things: it demonstrates that core continuous access evaluation works for both container registry (already done) and Key Vault (this PR). It also demonstrates the migration path for Core V2 for Key Vault. The change to core-lro addresses an issue where core-lro was incorrectly depending on core-http (#15880) That has been fixed on 1.0.6 and allows package owners to migrate to core-rest-pipeline and remove core-http without seeing build breaks. Resolves #15522 Resolves #14306 --- common/config/rush/common-versions.json | 2 - .../communication-identity/package.json | 2 +- .../communication-phone-numbers/package.json | 2 +- .../ai-form-recognizer/package.json | 2 +- sdk/keyvault/keyvault-admin/package.json | 18 +- .../review/keyvault-admin.api.md | 27 +- .../keyvault-admin/src/accessControlClient.ts | 40 ++- .../keyvault-admin/src/accessControlModels.ts | 94 ++++++- .../keyvault-admin/src/backupClient.ts | 34 ++- .../keyvault-admin/src/backupClientModels.ts | 6 +- .../src/challengeAuthenticationCallbacks.ts | 166 +++++++++++++ sdk/keyvault/keyvault-admin/src/constants.ts | 5 + .../src/generated/keyVaultClient.ts | 66 ++--- .../src/generated/keyVaultClientContext.ts | 53 ++-- .../lro/azureAsyncOperationStrategy.ts | 197 --------------- .../src/generated/lro/bodyPollingStrategy.ts | 62 ----- .../src/generated/lro/constants.ts | 9 - .../keyvault-admin/src/generated/lro/index.ts | 23 -- .../src/generated/lro/locationStrategy.ts | 74 ------ .../src/generated/lro/lroPolicy.ts | 43 ---- .../src/generated/lro/lroPoller.ts | 154 ------------ .../src/generated/lro/models.ts | 60 ----- .../src/generated/lro/operation.ts | 82 ------- .../src/generated/lro/passthroughStrategy.ts | 30 --- .../src/generated/lro/requestUtils.ts | 117 --------- .../src/generated/models/index.ts | 230 +++++------------- .../src/generated/models/mappers.ts | 48 ++-- .../src/generated/models/parameters.ts | 5 +- .../generated/operations/roleAssignments.ts | 66 ++--- .../generated/operations/roleDefinitions.ts | 66 ++--- .../operationsInterfaces/roleAssignments.ts | 3 +- .../operationsInterfaces/roleDefinitions.ts | 3 +- sdk/keyvault/keyvault-admin/src/index.ts | 2 +- .../src/lro/backup/operation.ts | 5 +- .../src/lro/keyVaultAdminPoller.ts | 6 +- .../src/lro/restore/operation.ts | 8 +- .../src/lro/selectiveKeyRestore/operation.ts | 12 +- .../keyvault-admin/src/tracingHelpers.ts | 64 +++++ sdk/keyvault/keyvault-admin/swagger/README.md | 4 +- .../challengeAuthenticationCallbacks.spec.ts | 200 +++++++++++++++ ...challengeBasedAuthenticationPolicy.spec.ts | 130 ---------- .../internal/serviceVersionParameter.spec.ts | 31 ++- .../test/internal/userAgent.spec.ts | 2 +- .../test/public/accessControlClient.spec.ts | 2 +- .../test/public/backupClient.spec.ts | 4 +- .../test/utils/authentication.ts | 7 +- .../keyvault-admin/test/utils/recorder.ts | 2 +- .../test/utils/supportsTracing.ts | 44 ++++ .../keyvault-certificates/package.json | 2 +- sdk/keyvault/keyvault-keys/package.json | 2 +- sdk/keyvault/keyvault-secrets/package.json | 2 +- .../ai-metrics-advisor/package.json | 2 +- .../storage-blob-changefeed/package.json | 2 +- sdk/storage/storage-blob/package.json | 2 +- sdk/synapse/synapse-artifacts/package.json | 2 +- .../ai-text-analytics/package.json | 2 +- 56 files changed, 860 insertions(+), 1468 deletions(-) create mode 100644 sdk/keyvault/keyvault-admin/src/challengeAuthenticationCallbacks.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/azureAsyncOperationStrategy.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/bodyPollingStrategy.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/constants.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/index.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/locationStrategy.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/lroPolicy.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/lroPoller.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/models.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/operation.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/passthroughStrategy.ts delete mode 100644 sdk/keyvault/keyvault-admin/src/generated/lro/requestUtils.ts create mode 100644 sdk/keyvault/keyvault-admin/src/tracingHelpers.ts create mode 100644 sdk/keyvault/keyvault-admin/test/internal/challengeAuthenticationCallbacks.spec.ts delete mode 100644 sdk/keyvault/keyvault-admin/test/internal/challengeBasedAuthenticationPolicy.spec.ts create mode 100644 sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index 83304b3912fd..a9ba42820513 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -71,12 +71,10 @@ "@azure/ms-rest-nodeauth": ["^0.9.2"], // Idenity is moving from v1 to v2. Moving all packages to v2 is going to take a bit of time, in the mean time we could use v2 on the perf-identity tests. "@azure/identity": ["^2.0.0-beta.4", "2.0.0-beta.3", "^1.1.0"], - // App Config uses keyvault-secrets in a sample, switch to latest once the preview becomes GA // Issue #14771 tracks updating to these versions "@microsoft/api-extractor": ["7.13.2"], "prettier": ["2.2.1"], // All packages should move to 1.0.0 once core-rest-pipeline 1.1.0 GAs "@azure/core-tracing": ["1.0.0-preview.11"] - } } diff --git a/sdk/communication/communication-identity/package.json b/sdk/communication/communication-identity/package.json index f8dd78cee1ff..efbb4ef2f049 100644 --- a/sdk/communication/communication-identity/package.json +++ b/sdk/communication/communication-identity/package.json @@ -77,7 +77,7 @@ "@azure/communication-common": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index dd384db1e6d2..b8097778687a 100644 --- a/sdk/communication/communication-phone-numbers/package.json +++ b/sdk/communication/communication-phone-numbers/package.json @@ -65,7 +65,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/formrecognizer/ai-form-recognizer/package.json b/sdk/formrecognizer/ai-form-recognizer/package.json index a35b7cf0556f..b2c66d679bc9 100644 --- a/sdk/formrecognizer/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/package.json @@ -79,7 +79,7 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", "@azure/core-tracing": "1.0.0-preview.12", diff --git a/sdk/keyvault/keyvault-admin/package.json b/sdk/keyvault/keyvault-admin/package.json index 1bbfe7e3580d..65cd07c9b75b 100644 --- a/sdk/keyvault/keyvault-admin/package.json +++ b/sdk/keyvault/keyvault-admin/package.json @@ -104,17 +104,21 @@ "sideEffects": false, "dependencies": { "@azure/abort-controller": "^1.0.0", + "@azure/core-auth": "^1.3.0", + "@azure/core-client": "^1.0.0", "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.12", + "@azure/core-rest-pipeline": "1.1.0-beta.4", + "@azure/core-tracing": "1.0.0-preview.11", "@azure/logger": "^1.0.0", "@types/uuid": "^8.0.0", - "uuid": "^8.3.0", - "tslib": "^2.2.0" + "tslib": "^2.2.0", + "uuid": "^8.3.0" }, "devDependencies": { "@azure/abort-controller": "^1.0.0", + "@azure/core-util": "^1.0.0-beta.1", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.4", @@ -128,9 +132,9 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", - "@types/sinon": "^9.0.4", "@types/mocha": "^7.0.2", "@types/node": "^8.0.0", + "@types/sinon": "^9.0.4", "assert": "^1.4.1", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", @@ -150,7 +154,7 @@ "rollup-plugin-visualizer": "^4.0.4", "sinon": "^9.0.2", "source-map-support": "^0.5.9", - "typescript": "~4.2.0", - "typedoc": "0.15.2" + "typedoc": "0.15.2", + "typescript": "~4.2.0" } } diff --git a/sdk/keyvault/keyvault-admin/review/keyvault-admin.api.md b/sdk/keyvault/keyvault-admin/review/keyvault-admin.api.md index dfcc077593f7..a73d9fbb9b96 100644 --- a/sdk/keyvault/keyvault-admin/review/keyvault-admin.api.md +++ b/sdk/keyvault/keyvault-admin/review/keyvault-admin.api.md @@ -4,35 +4,36 @@ ```ts -import * as coreHttp from '@azure/core-http'; +import { CommonClientOptions } from '@azure/core-client'; +import { OperationOptions } from '@azure/core-client'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; import { PollerLike } from '@azure/core-lro'; import { PollOperationState } from '@azure/core-lro'; -import { TokenCredential } from '@azure/core-http'; +import { TokenCredential } from '@azure/core-auth'; // @public -export interface AccessControlClientOptions extends coreHttp.PipelineOptions { +export interface AccessControlClientOptions extends CommonClientOptions { serviceVersion?: SUPPORTED_API_VERSIONS; } // @public -export interface CreateRoleAssignmentOptions extends coreHttp.OperationOptions { +export interface CreateRoleAssignmentOptions extends OperationOptions { } // @public -export interface DeleteRoleAssignmentOptions extends coreHttp.OperationOptions { +export interface DeleteRoleAssignmentOptions extends OperationOptions { } // @public -export interface DeleteRoleDefinitionOptions extends coreHttp.OperationOptions { +export interface DeleteRoleDefinitionOptions extends OperationOptions { } // @public -export interface GetRoleAssignmentOptions extends coreHttp.OperationOptions { +export interface GetRoleAssignmentOptions extends OperationOptions { } // @public -export interface GetRoleDefinitionOptions extends coreHttp.OperationOptions { +export interface GetRoleDefinitionOptions extends OperationOptions { } // @public @@ -68,7 +69,7 @@ export class KeyVaultBackupClient { } // @public -export interface KeyVaultBackupClientOptions extends coreHttp.PipelineOptions { +export interface KeyVaultBackupClientOptions extends CommonClientOptions { serviceVersion?: SUPPORTED_API_VERSIONS; } @@ -76,7 +77,7 @@ export interface KeyVaultBackupClientOptions extends coreHttp.PipelineOptions { export type KeyVaultBackupOperationState = KeyVaultAdminPollOperationState; // @public -export interface KeyVaultBackupPollerOptions extends coreHttp.OperationOptions { +export interface KeyVaultBackupPollerOptions extends OperationOptions { intervalInMs?: number; resumeFrom?: string; } @@ -204,7 +205,7 @@ export enum KnownKeyVaultRoleScope { export const LATEST_API_VERSION = "7.2"; // @public -export interface ListRoleAssignmentsOptions extends coreHttp.OperationOptions { +export interface ListRoleAssignmentsOptions extends OperationOptions { } // @public @@ -213,7 +214,7 @@ export interface ListRoleAssignmentsPageSettings { } // @public -export interface ListRoleDefinitionsOptions extends coreHttp.OperationOptions { +export interface ListRoleDefinitionsOptions extends OperationOptions { } // @public @@ -225,7 +226,7 @@ export interface ListRoleDefinitionsPageSettings { export const SDK_VERSION: string; // @public -export interface SetRoleDefinitionOptions extends coreHttp.OperationOptions { +export interface SetRoleDefinitionOptions extends OperationOptions { assignableScopes?: KeyVaultRoleScope[]; description?: string; permissions?: KeyVaultPermission[]; diff --git a/sdk/keyvault/keyvault-admin/src/accessControlClient.ts b/sdk/keyvault/keyvault-admin/src/accessControlClient.ts index 00076f18f6be..8111382d9822 100644 --- a/sdk/keyvault/keyvault-admin/src/accessControlClient.ts +++ b/sdk/keyvault/keyvault-admin/src/accessControlClient.ts @@ -2,21 +2,12 @@ // Licensed under the MIT license. /// -import { - TokenCredential, - isTokenCredential, - signingPolicy, - createPipelineFromOptions, - InternalPipelineOptions -} from "@azure/core-http"; +import { TokenCredential } from "@azure/core-auth"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { challengeBasedAuthenticationPolicy, createTraceFunction } from "../../keyvault-common/src"; +import { createTraceFunction } from "./tracingHelpers"; import { KeyVaultClient } from "./generated/keyVaultClient"; -import { - KeyVaultClientOptionalParams, - RoleAssignmentsListForScopeOptionalParams -} from "./generated/models"; +import { RoleAssignmentsListForScopeOptionalParams } from "./generated/models"; import { CreateRoleAssignmentOptions, @@ -35,10 +26,12 @@ import { DeleteRoleDefinitionOptions } from "./accessControlModels"; -import { SDK_VERSION, LATEST_API_VERSION } from "./constants"; +import { SDK_VERSION, LATEST_API_VERSION, authenticationScopes } from "./constants"; import { mappings } from "./mappings"; import { logger } from "./log"; import { v4 as v4uuid } from "uuid"; +import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline"; +import { createChallengeCallbacks } from "./challengeAuthenticationCallbacks"; const withTrace = createTraceFunction("Azure.KeyVault.Admin.KeyVaultAccessControlClient"); @@ -94,15 +87,13 @@ export class KeyVaultAccessControlClient { : libInfo }; - const authPolicy = isTokenCredential(credential) - ? challengeBasedAuthenticationPolicy(credential) - : signingPolicy(credential); + const serviceVersion = options.serviceVersion || LATEST_API_VERSION; - const internalPipelineOptions: InternalPipelineOptions = { + const clientOptions = { ...options, loggingOptions: { logger: logger.info, - allowedHeaderNames: [ + additionalAllowedHeaderNames: [ "x-ms-keyvault-region", "x-ms-keyvault-network-info", "x-ms-keyvault-service-version" @@ -110,12 +101,15 @@ export class KeyVaultAccessControlClient { } }; - const params: KeyVaultClientOptionalParams = createPipelineFromOptions( - internalPipelineOptions, - authPolicy + this.client = new KeyVaultClient(serviceVersion, clientOptions); + + this.client.pipeline.addPolicy( + bearerTokenAuthenticationPolicy({ + credential, + scopes: authenticationScopes, + challengeCallbacks: createChallengeCallbacks() + }) ); - params.apiVersion = options.serviceVersion || LATEST_API_VERSION; - this.client = new KeyVaultClient(params); } /** diff --git a/sdk/keyvault/keyvault-admin/src/accessControlModels.ts b/sdk/keyvault/keyvault-admin/src/accessControlModels.ts index c2f0bc79e3dc..6445e425d978 100644 --- a/sdk/keyvault/keyvault-admin/src/accessControlModels.ts +++ b/sdk/keyvault/keyvault-admin/src/accessControlModels.ts @@ -1,27 +1,95 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import * as coreHttp from "@azure/core-http"; +import { CommonClientOptions, OperationOptions } from "@azure/core-client"; import { SUPPORTED_API_VERSIONS } from "./constants"; import { DataAction as KeyVaultDataAction, - KnownDataAction as KnownKeyVaultDataAction, - KnownRoleScope as KnownKeyVaultRoleScope, RoleScope as KeyVaultRoleScope } from "./generated/index"; -export { KeyVaultDataAction, KnownKeyVaultDataAction, KeyVaultRoleScope, KnownKeyVaultRoleScope }; +export { KeyVaultDataAction, KeyVaultRoleScope }; /** * The optional parameters accepted by the Key Vault's AccessControlClient */ -export interface AccessControlClientOptions extends coreHttp.PipelineOptions { +export interface AccessControlClientOptions extends CommonClientOptions { /** * The accepted versions of the Key Vault's service API. */ serviceVersion?: SUPPORTED_API_VERSIONS; } +/** Known values of {@link DataAction} that the service accepts. */ +export enum KnownKeyVaultDataAction { + /** Read HSM key metadata. */ + ReadHsmKey = "Microsoft.KeyVault/managedHsm/keys/read/action", + /** Update an HSM key. */ + WriteHsmKey = "Microsoft.KeyVault/managedHsm/keys/write/action", + /** Read deleted HSM key. */ + ReadDeletedHsmKey = "Microsoft.KeyVault/managedHsm/keys/deletedKeys/read/action", + /** Recover deleted HSM key. */ + RecoverDeletedHsmKey = "Microsoft.KeyVault/managedHsm/keys/deletedKeys/recover/action", + /** Backup HSM keys. */ + BackupHsmKeys = "Microsoft.KeyVault/managedHsm/keys/backup/action", + /** Restore HSM keys. */ + RestoreHsmKeys = "Microsoft.KeyVault/managedHsm/keys/restore/action", + /** Delete role assignment. */ + DeleteRoleAssignment = "Microsoft.KeyVault/managedHsm/roleAssignments/delete/action", + /** Get role assignment. */ + GetRoleAssignment = "Microsoft.KeyVault/managedHsm/roleAssignments/read/action", + /** Create or update role assignment. */ + WriteRoleAssignment = "Microsoft.KeyVault/managedHsm/roleAssignments/write/action", + /** Get role definition. */ + ReadRoleDefinition = "Microsoft.KeyVault/managedHsm/roleDefinitions/read/action", + /** Encrypt using an HSM key. */ + EncryptHsmKey = "Microsoft.KeyVault/managedHsm/keys/encrypt/action", + /** Decrypt using an HSM key. */ + DecryptHsmKey = "Microsoft.KeyVault/managedHsm/keys/decrypt/action", + /** Wrap using an HSM key. */ + WrapHsmKey = "Microsoft.KeyVault/managedHsm/keys/wrap/action", + /** Unwrap using an HSM key. */ + UnwrapHsmKey = "Microsoft.KeyVault/managedHsm/keys/unwrap/action", + /** Sign using an HSM key. */ + SignHsmKey = "Microsoft.KeyVault/managedHsm/keys/sign/action", + /** Verify using an HSM key. */ + VerifyHsmKey = "Microsoft.KeyVault/managedHsm/keys/verify/action", + /** Create an HSM key. */ + CreateHsmKey = "Microsoft.KeyVault/managedHsm/keys/create", + /** Delete an HSM key. */ + DeleteHsmKey = "Microsoft.KeyVault/managedHsm/keys/delete", + /** Export an HSM key. */ + ExportHsmKey = "Microsoft.KeyVault/managedHsm/keys/export/action", + /** Import an HSM key. */ + ImportHsmKey = "Microsoft.KeyVault/managedHsm/keys/import/action", + /** Purge a deleted HSM key. */ + PurgeDeletedHsmKey = "Microsoft.KeyVault/managedHsm/keys/deletedKeys/delete", + /** Download an HSM security domain. */ + DownloadHsmSecurityDomain = "Microsoft.KeyVault/managedHsm/securitydomain/download/action", + /** Upload an HSM security domain. */ + UploadHsmSecurityDomain = "Microsoft.KeyVault/managedHsm/securitydomain/upload/action", + /** Check the status of the HSM security domain exchange file. */ + ReadHsmSecurityDomainStatus = "Microsoft.KeyVault/managedHsm/securitydomain/upload/read", + /** Download an HSM security domain transfer key. */ + ReadHsmSecurityDomainTransferKey = "Microsoft.KeyVault/managedHsm/securitydomain/transferkey/read", + /** Start an HSM backup. */ + StartHsmBackup = "Microsoft.KeyVault/managedHsm/backup/start/action", + /** Start an HSM restore. */ + StartHsmRestore = "Microsoft.KeyVault/managedHsm/restore/start/action", + /** Read an HSM backup status. */ + ReadHsmBackupStatus = "Microsoft.KeyVault/managedHsm/backup/status/action", + /** Read an HSM restore status. */ + ReadHsmRestoreStatus = "Microsoft.KeyVault/managedHsm/restore/status/action" +} + +/** Known values of {@link RoleScope} that the service accepts. */ +export enum KnownKeyVaultRoleScope { + /** Global scope */ + Global = "/", + /** Keys scope */ + Keys = "/keys" +} + /** * A Key Vault role assignment. */ @@ -126,39 +194,39 @@ export interface KeyVaultRoleAssignmentProperties { * An interface representing the optional parameters that can be * passed to {@link createRoleAssignment} */ -export interface CreateRoleAssignmentOptions extends coreHttp.OperationOptions {} +export interface CreateRoleAssignmentOptions extends OperationOptions {} /** * An interface representing the optional parameters that can be * passed to {@link deleteRoleAssignment} */ -export interface DeleteRoleAssignmentOptions extends coreHttp.OperationOptions {} +export interface DeleteRoleAssignmentOptions extends OperationOptions {} /** * An interface representing the optional parameters that can be * passed to {@link getRoleAssignment} */ -export interface GetRoleAssignmentOptions extends coreHttp.OperationOptions {} +export interface GetRoleAssignmentOptions extends OperationOptions {} /** * An interface representing optional parameters passed to {@link listRoleAssignments}. */ -export interface ListRoleAssignmentsOptions extends coreHttp.OperationOptions {} +export interface ListRoleAssignmentsOptions extends OperationOptions {} /** * An interface representing optional parameters passed to {@link listRoleDefinitions}. */ -export interface ListRoleDefinitionsOptions extends coreHttp.OperationOptions {} +export interface ListRoleDefinitionsOptions extends OperationOptions {} /** * An interface representing optional parameters passed to {@link getRoleDefinition}. */ -export interface GetRoleDefinitionOptions extends coreHttp.OperationOptions {} +export interface GetRoleDefinitionOptions extends OperationOptions {} /** * An interface representing optional parameters passed to {@link setRoleDefinition}. */ -export interface SetRoleDefinitionOptions extends coreHttp.OperationOptions { +export interface SetRoleDefinitionOptions extends OperationOptions { /** * UUID used as the name of the role definition to create. If it's not provided, a new UUID will be generated. */ @@ -184,7 +252,7 @@ export interface SetRoleDefinitionOptions extends coreHttp.OperationOptions { /** * An interface representing optional parameters passed to {@link deleteRoleDefinition}. */ -export interface DeleteRoleDefinitionOptions extends coreHttp.OperationOptions {} +export interface DeleteRoleDefinitionOptions extends OperationOptions {} /** * Arguments for retrieving the next page of search results. diff --git a/sdk/keyvault/keyvault-admin/src/backupClient.ts b/sdk/keyvault/keyvault-admin/src/backupClient.ts index e997fff43ec0..420d55eb4f95 100644 --- a/sdk/keyvault/keyvault-admin/src/backupClient.ts +++ b/sdk/keyvault/keyvault-admin/src/backupClient.ts @@ -1,16 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { - createPipelineFromOptions, - InternalPipelineOptions, - isTokenCredential, - signingPolicy, - TokenCredential -} from "@azure/core-http"; import { PollerLike } from "@azure/core-lro"; -import { challengeBasedAuthenticationPolicy } from "../../keyvault-common/src"; import { KeyVaultClient } from "./generated/keyVaultClient"; import { KeyVaultBackupClientOptions, @@ -21,7 +13,7 @@ import { KeyVaultRestoreResult, KeyVaultSelectiveKeyRestoreResult } from "./backupClientModels"; -import { LATEST_API_VERSION, SDK_VERSION } from "./constants"; +import { LATEST_API_VERSION, SDK_VERSION, authenticationScopes } from "./constants"; import { logger } from "./log"; import { KeyVaultBackupPoller } from "./lro/backup/poller"; import { KeyVaultRestorePoller } from "./lro/restore/poller"; @@ -30,8 +22,10 @@ import { KeyVaultBackupOperationState } from "./lro/backup/operation"; import { KeyVaultRestoreOperationState } from "./lro/restore/operation"; import { KeyVaultAdminPollOperationState } from "./lro/keyVaultAdminPoller"; import { KeyVaultSelectiveKeyRestoreOperationState } from "./lro/selectiveKeyRestore/operation"; -import { KeyVaultClientOptionalParams } from "./generated/models"; import { mappings } from "./mappings"; +import { TokenCredential } from "@azure/core-auth"; +import { bearerTokenAuthenticationPolicy } from "@azure/core-rest-pipeline"; +import { createChallengeCallbacks } from "./challengeAuthenticationCallbacks"; export { KeyVaultBackupOperationState, @@ -93,15 +87,13 @@ export class KeyVaultBackupClient { : libInfo }; - const authPolicy = isTokenCredential(credential) - ? challengeBasedAuthenticationPolicy(credential) - : signingPolicy(credential); + const apiVersion = options.serviceVersion || LATEST_API_VERSION; - const internalPipelineOptions: InternalPipelineOptions = { + const clientOptions = { ...options, loggingOptions: { logger: logger.info, - allowedHeaderNames: [ + additionalAllowedHeaderNames: [ "x-ms-keyvault-region", "x-ms-keyvault-network-info", "x-ms-keyvault-service-version" @@ -109,12 +101,14 @@ export class KeyVaultBackupClient { } }; - const params: KeyVaultClientOptionalParams = createPipelineFromOptions( - internalPipelineOptions, - authPolicy + this.client = new KeyVaultClient(apiVersion, clientOptions); + this.client.pipeline.addPolicy( + bearerTokenAuthenticationPolicy({ + credential, + scopes: authenticationScopes, + challengeCallbacks: createChallengeCallbacks() + }) ); - params.apiVersion = options.serviceVersion || LATEST_API_VERSION; - this.client = new KeyVaultClient(params); } /** diff --git a/sdk/keyvault/keyvault-admin/src/backupClientModels.ts b/sdk/keyvault/keyvault-admin/src/backupClientModels.ts index 8ab3eac1cfe0..dbeaac6a2346 100644 --- a/sdk/keyvault/keyvault-admin/src/backupClientModels.ts +++ b/sdk/keyvault/keyvault-admin/src/backupClientModels.ts @@ -1,13 +1,13 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import * as coreHttp from "@azure/core-http"; +import { CommonClientOptions, OperationOptions } from "@azure/core-client"; import { SUPPORTED_API_VERSIONS } from "./constants"; /** * The optional parameters accepted by the KeyVaultBackupClient */ -export interface KeyVaultBackupClientOptions extends coreHttp.PipelineOptions { +export interface KeyVaultBackupClientOptions extends CommonClientOptions { /** * The accepted versions of the Key Vault's service API. */ @@ -18,7 +18,7 @@ export interface KeyVaultBackupClientOptions extends coreHttp.PipelineOptions { * An interface representing the optional parameters that can be * passed to {@link beginBackup} */ -export interface KeyVaultBackupPollerOptions extends coreHttp.OperationOptions { +export interface KeyVaultBackupPollerOptions extends OperationOptions { /** * Time between each polling */ diff --git a/sdk/keyvault/keyvault-admin/src/challengeAuthenticationCallbacks.ts b/sdk/keyvault/keyvault-admin/src/challengeAuthenticationCallbacks.ts new file mode 100644 index 000000000000..274ea633e571 --- /dev/null +++ b/sdk/keyvault/keyvault-admin/src/challengeAuthenticationCallbacks.ts @@ -0,0 +1,166 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + AuthorizeRequestOnChallengeOptions, + AuthorizeRequestOptions, + ChallengeCallbacks, + PipelineRequest, + RequestBodyType +} from "@azure/core-rest-pipeline"; +import { GetTokenOptions } from "@azure/core-auth"; + +const validParsedWWWAuthenticateProperties = ["authorization", "resource", "scope"]; + +/** + * @internal + * + * Holds the known WWWAuthenticate keys and their values as a result of + * parsing a WWW-Authenticate header. + */ +type ParsedWWWAuthenticate = { + [Key in "authorization" | "resource" | "scope"]?: string; +}; + +/** + * @internal + * Holds the state of Challenge Auth. + * When making the first request we force Key Vault to begin a challenge + * by clearing out the request body and storing it locally. + * + * Later on, the authorizeRequestOnChallenge callback will process the + * challenge and, if ready to resend the original request, reset the body + * so that it may be sent again. + * + * Once a client has succeeded once, we can start skipping CAE. + */ +type ChallengeState = + | { + status: "none"; + } + | { + status: "started"; + originalBody?: RequestBodyType; + } + | { + status: "complete"; + }; + +/** + * Parses an WWW-Authenticate response. + * This transforms a string value like: + * `Bearer authorization="some_authorization", resource="https://some.url"` + * into an object like: + * `{ authorization: "some_authorization", resource: "https://some.url" }` + * @param wwwAuthenticate - String value in the WWW-Authenticate header + */ +export function parseWWWAuthenticate(wwwAuthenticate: string): ParsedWWWAuthenticate { + const pairDelimiter = /,? +/; + return wwwAuthenticate.split(pairDelimiter).reduce((kvPairs, p) => { + if (p.match(/\w="/)) { + // 'sampleKey="sample_value"' -> [sampleKey, "sample_value"] -> { sampleKey: sample_value } + const [key, value] = p.split("="); + if (validParsedWWWAuthenticateProperties.includes(key)) { + // The values will be wrapped in quotes, which need to be stripped out. + return { ...kvPairs, [key]: value.slice(1, -1) }; + } + } + return kvPairs; + }, {}); +} + +/** + * @internal + * + * Creates challenge callback handlers to manage CAE lifecycle in Azure Key Vault. + * + * Key Vault supports other authentication schemes, but we ensure challenge authentication + * is used by first sending a copy of the request, without authorization or content. + * + * when the challenge is received, it will be authenticated and used to send the original + * request with authorization. + * + * Following the first request of a client, follow-up requests will get the cached token + * if possible. + */ +export function createChallengeCallbacks(): ChallengeCallbacks { + let challengeState: ChallengeState = { status: "none" }; + + function requestToOptions(request: PipelineRequest): GetTokenOptions { + return { + abortSignal: request.abortSignal, + requestOptions: { + timeout: request.timeout + }, + tracingOptions: request.tracingOptions + }; + } + + async function authorizeRequest(options: AuthorizeRequestOptions) { + const { scopes, request } = options; + const requestOptions: GetTokenOptions = requestToOptions(request); + + switch (challengeState.status) { + case "none": + challengeState = { + status: "started", + originalBody: request.body + }; + request.body = null; + break; + case "started": + break; // Retry, we should not overwrite the original body + case "complete": { + const token = await options.getAccessToken(scopes, requestOptions); + if (token) { + request.headers.set("authorization", `Bearer ${token.token}`); + } + break; + } + } + return Promise.resolve(); + } + + async function authorizeRequestOnChallenge( + options: AuthorizeRequestOnChallengeOptions + ): Promise { + const { scopes, request, response } = options; + + if (request.body === null && challengeState.status === "started") { + // Reset the original body before doing anything else. + // Note: If successful status will be "complete", otherwise "none" will + // restart the process. + request.body = challengeState.originalBody; + } + + const getTokenOptions = requestToOptions(request); + + const challenge = response.headers.get("WWW-Authenticate"); + if (!challenge) { + throw new Error("Missing challenge."); + } + const parsedChallenge: ParsedWWWAuthenticate = parseWWWAuthenticate(challenge) || []; + + const accessToken = await options.getAccessToken( + parsedChallenge.scope ? [parsedChallenge.scope] : scopes, + getTokenOptions + ); + + if (!accessToken) { + return false; + } + + options.request.headers.set("Authorization", `Bearer ${accessToken.token}`); + + challengeState = { + status: "complete" + }; + + return true; + } + + return { + authorizeRequest, + authorizeRequestOnChallenge + }; +} diff --git a/sdk/keyvault/keyvault-admin/src/constants.ts b/sdk/keyvault/keyvault-admin/src/constants.ts index 557757871381..a80b776975d3 100644 --- a/sdk/keyvault/keyvault-admin/src/constants.ts +++ b/sdk/keyvault/keyvault-admin/src/constants.ts @@ -15,3 +15,8 @@ export const LATEST_API_VERSION = "7.2"; * Supported API versions */ export type SUPPORTED_API_VERSIONS = "7.2"; + +/** + * Authentication scopes + */ +export const authenticationScopes = ["https://managedhsm.azure.net/.default"]; diff --git a/sdk/keyvault/keyvault-admin/src/generated/keyVaultClient.ts b/sdk/keyvault/keyvault-admin/src/generated/keyVaultClient.ts index 69b2bc474277..b7843fd72d71 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/keyVaultClient.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/keyVaultClient.ts @@ -6,7 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as coreHttp from "@azure/core-http"; +import * as coreClient from "@azure/core-client"; import { RoleDefinitionsImpl, RoleAssignmentsImpl } from "./operations"; import { RoleDefinitions, RoleAssignments } from "./operationsInterfaces"; import * as Parameters from "./models/parameters"; @@ -14,6 +14,7 @@ import * as Mappers from "./models/mappers"; import { KeyVaultClientContext } from "./keyVaultClientContext"; import { KeyVaultClientOptionalParams, + ApiVersion72, KeyVaultClientFullBackupOptionalParams, KeyVaultClientFullBackupResponse, KeyVaultClientFullBackupStatusOptionalParams, @@ -29,10 +30,14 @@ import { export class KeyVaultClient extends KeyVaultClientContext { /** * Initializes a new instance of the KeyVaultClient class. + * @param apiVersion Api Version * @param options The parameter options */ - constructor(options?: KeyVaultClientOptionalParams) { - super(options); + constructor( + apiVersion: ApiVersion72, + options?: KeyVaultClientOptionalParams + ) { + super(apiVersion, options); this.roleDefinitions = new RoleDefinitionsImpl(this); this.roleAssignments = new RoleAssignmentsImpl(this); } @@ -46,14 +51,10 @@ export class KeyVaultClient extends KeyVaultClientContext { vaultBaseUrl: string, options?: KeyVaultClientFullBackupOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.sendOperationRequest( - operationArguments, + { vaultBaseUrl, options }, fullBackupOperationSpec - ) as Promise; + ); } /** @@ -67,15 +68,10 @@ export class KeyVaultClient extends KeyVaultClientContext { jobId: string, options?: KeyVaultClientFullBackupStatusOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - jobId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.sendOperationRequest( - operationArguments, + { vaultBaseUrl, jobId, options }, fullBackupStatusOperationSpec - ) as Promise; + ); } /** @@ -88,14 +84,10 @@ export class KeyVaultClient extends KeyVaultClientContext { vaultBaseUrl: string, options?: KeyVaultClientFullRestoreOperationOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.sendOperationRequest( - operationArguments, + { vaultBaseUrl, options }, fullRestoreOperationOperationSpec - ) as Promise; + ); } /** @@ -109,15 +101,10 @@ export class KeyVaultClient extends KeyVaultClientContext { jobId: string, options?: KeyVaultClientRestoreStatusOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - jobId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.sendOperationRequest( - operationArguments, + { vaultBaseUrl, jobId, options }, restoreStatusOperationSpec - ) as Promise; + ); } /** @@ -132,24 +119,19 @@ export class KeyVaultClient extends KeyVaultClientContext { keyName: string, options?: KeyVaultClientSelectiveKeyRestoreOperationOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - keyName, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.sendOperationRequest( - operationArguments, + { vaultBaseUrl, keyName, options }, selectiveKeyRestoreOperationOperationSpec - ) as Promise; + ); } roleDefinitions: RoleDefinitions; roleAssignments: RoleAssignments; } // Operation Specifications -const serializer = new coreHttp.Serializer(Mappers, /* isXml */ false); +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const fullBackupOperationSpec: coreHttp.OperationSpec = { +const fullBackupOperationSpec: coreClient.OperationSpec = { path: "/backup", httpMethod: "POST", responses: { @@ -168,7 +150,7 @@ const fullBackupOperationSpec: coreHttp.OperationSpec = { mediaType: "json", serializer }; -const fullBackupStatusOperationSpec: coreHttp.OperationSpec = { +const fullBackupStatusOperationSpec: coreClient.OperationSpec = { path: "/backup/{jobId}/pending", httpMethod: "GET", responses: { @@ -184,7 +166,7 @@ const fullBackupStatusOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const fullRestoreOperationOperationSpec: coreHttp.OperationSpec = { +const fullRestoreOperationOperationSpec: coreClient.OperationSpec = { path: "/restore", httpMethod: "PUT", responses: { @@ -203,7 +185,7 @@ const fullRestoreOperationOperationSpec: coreHttp.OperationSpec = { mediaType: "json", serializer }; -const restoreStatusOperationSpec: coreHttp.OperationSpec = { +const restoreStatusOperationSpec: coreClient.OperationSpec = { path: "/restore/{jobId}/pending", httpMethod: "GET", responses: { @@ -219,7 +201,7 @@ const restoreStatusOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const selectiveKeyRestoreOperationOperationSpec: coreHttp.OperationSpec = { +const selectiveKeyRestoreOperationOperationSpec: coreClient.OperationSpec = { path: "/keys/{keyName}/restore", httpMethod: "PUT", responses: { diff --git a/sdk/keyvault/keyvault-admin/src/generated/keyVaultClientContext.ts b/sdk/keyvault/keyvault-admin/src/generated/keyVaultClientContext.ts index 47366d5de20d..164b60fd2535 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/keyVaultClientContext.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/keyVaultClientContext.ts @@ -6,36 +6,51 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as coreHttp from "@azure/core-http"; -import { KeyVaultClientOptionalParams } from "./models"; +import * as coreClient from "@azure/core-client"; +import { ApiVersion72, KeyVaultClientOptionalParams } from "./models"; -const packageName = "@azure/keyvault-admin"; export const packageVersion = "4.1.0-beta.1"; -export class KeyVaultClientContext extends coreHttp.ServiceClient { - apiVersion: string; +export class KeyVaultClientContext extends coreClient.ServiceClient { + apiVersion: ApiVersion72; /** * Initializes a new instance of the KeyVaultClientContext class. + * @param apiVersion Api Version * @param options The parameter options */ - constructor(options?: KeyVaultClientOptionalParams) { + constructor( + apiVersion: ApiVersion72, + options?: KeyVaultClientOptionalParams + ) { + if (apiVersion === undefined) { + throw new Error("'apiVersion' cannot be null"); + } + // Initializing default values for options if (!options) { options = {}; } - - if (!options.userAgent) { - const defaultUserAgent = coreHttp.getDefaultUserAgentValue(); - options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; - } - - super(undefined, options); - - this.requestContentType = "application/json; charset=utf-8"; - this.baseUri = options.endpoint || "{vaultBaseUrl}"; - - // Assigning values to Constant parameters - this.apiVersion = options.apiVersion || "7.2"; + const defaults: KeyVaultClientOptionalParams = { + requestContentType: "application/json; charset=utf-8" + }; + + const packageDetails = `azsdk-js-keyvault-admin/4.1.0-beta.1`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; + + const optionsWithDefaults = { + ...defaults, + ...options, + userAgentOptions: { + userAgentPrefix + }, + baseUri: options.endpoint || "{vaultBaseUrl}" + }; + super(optionsWithDefaults); + // Parameter assignments + this.apiVersion = apiVersion; } } diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/azureAsyncOperationStrategy.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/azureAsyncOperationStrategy.ts deleted file mode 100644 index ecdc300c1ff5..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/azureAsyncOperationStrategy.ts +++ /dev/null @@ -1,197 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { - LROStrategy, - BaseResult, - LROOperationStep, - LROResponseInfo, - FinalStateVia -} from "./models"; -import { OperationSpec, OperationArguments } from "@azure/core-http"; -import { terminalStates } from "./constants"; -import { SendOperationFn } from "."; - -export function createAzureAsyncOperationStrategy( - initialOperation: LROOperationStep, - sendOperationFn: SendOperationFn, - finalStateVia?: FinalStateVia -): LROStrategy { - const lroData = initialOperation.result._lroData; - if (!lroData) { - throw new Error( - "Expected lroData to be defined for Azure-AsyncOperation strategy" - ); - } - - let currentOperation = initialOperation; - let lastKnownPollingUrl = - lroData.azureAsyncOperation || lroData.operationLocation; - - return { - isTerminal: () => { - const currentResult = currentOperation.result._lroData; - - if (!currentResult) { - throw new Error("Expected lroData to determine terminal status"); - } - - if (currentOperation === initialOperation) { - // Azure-AsyncOperations don't need to check for terminal state - // on originalOperation result, always need to poll - return false; - } - - const { status = "succeeded" } = currentResult; - return terminalStates.includes(status.toLowerCase()); - }, - sendFinalRequest: async () => { - if (!initialOperation.result._lroData) { - throw new Error("Expected lroData to determine terminal status"); - } - - if (!currentOperation.result._lroData) { - throw new Error("Expected lroData to determine terminal status"); - } - - const initialOperationResult = initialOperation.result._lroData; - const currentOperationResult = currentOperation.result._lroData; - - if ( - !shouldPerformFinalGet(initialOperationResult, currentOperationResult) - ) { - return currentOperation; - } - - if (initialOperationResult.requestMethod === "PUT") { - currentOperation = await sendFinalGet( - initialOperation, - sendOperationFn - ); - - return currentOperation; - } - - if (initialOperationResult.location) { - switch (finalStateVia) { - case "original-uri": - currentOperation = await sendFinalGet( - initialOperation, - sendOperationFn - ); - return currentOperation; - - case "azure-async-operation": - return currentOperation; - case "location": - default: - const location = - initialOperationResult.location || - currentOperationResult.location; - - if (!location) { - throw new Error("Couldn't determine final GET URL from location"); - } - - return await sendFinalGet( - initialOperation, - sendOperationFn, - location - ); - } - } - - // All other cases return the last operation - return currentOperation; - }, - poll: async () => { - if (!lastKnownPollingUrl) { - throw new Error("Unable to determine polling url"); - } - - const pollingArgs = currentOperation.args; - // Make sure we don't send any body to the get request - const { requestBody, ...restSpec } = currentOperation.spec; - const pollingSpec: OperationSpec = { - ...restSpec, - httpMethod: "GET", - path: lastKnownPollingUrl - }; - - const result = await sendOperationFn(pollingArgs, pollingSpec); - - // Update latest polling url - lastKnownPollingUrl = - result._lroData?.azureAsyncOperation || - result._lroData?.operationLocation || - lastKnownPollingUrl; - - // Update lastOperation result - currentOperation = { - args: pollingArgs, - spec: pollingSpec, - result - }; - - return currentOperation; - } - }; -} - -function shouldPerformFinalGet( - initialResult: LROResponseInfo, - currentResult: LROResponseInfo -) { - const { status } = currentResult; - const { requestMethod: initialRequestMethod, location } = initialResult; - if (status && status.toLowerCase() !== "succeeded") { - return false; - } - - if (initialRequestMethod === "DELETE") { - return false; - } - - if (initialRequestMethod !== "PUT" && !location) { - return false; - } - - return true; -} - -async function sendFinalGet( - initialOperation: LROOperationStep, - sendOperationFn: SendOperationFn, - path?: string -): Promise> { - // Make sure we don't send any body to the get request - const { requestBody, ...restSpec } = initialOperation.spec; - const finalGetSpec: OperationSpec = { - ...restSpec, - httpMethod: "GET" - }; - - // Send final GET request to the Original URL - const spec = { - ...finalGetSpec, - ...(path && { path }) - }; - - let operationArgs: OperationArguments = initialOperation.args; - if (operationArgs.options) { - operationArgs.options.shouldDeserialize = true; - } - - const finalResult = await sendOperationFn(initialOperation.args, spec); - - return { - args: initialOperation.args, - spec, - result: finalResult - }; -} diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/bodyPollingStrategy.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/bodyPollingStrategy.ts deleted file mode 100644 index 35cc6bac2a3a..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/bodyPollingStrategy.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { LROStrategy, BaseResult, LROOperationStep } from "./models"; -import { OperationSpec } from "@azure/core-http"; -import { terminalStates } from "./constants"; -import { SendOperationFn } from "./lroPoller"; - -/** - * Creates a polling strategy based on BodyPolling which uses the provisioning state - * from the result to determine the current operation state - */ -export function createBodyPollingStrategy( - initialOperation: LROOperationStep, - sendOperation: SendOperationFn -): LROStrategy { - if (!initialOperation.result._lroData) { - throw new Error("Expected lroData to be defined for BodyPolling strategy"); - } - - let currentOperation = initialOperation; - - return { - isTerminal: () => { - const currentResult = currentOperation.result._lroData; - if (!currentResult) { - throw new Error("Expected lroData to determine terminal status"); - } - - const { provisioningState = "succeeded" } = currentResult; - // If provisioning state is missing, default to Success - - return terminalStates.includes(provisioningState.toLowerCase()); - }, - sendFinalRequest: () => { - // BodyPolling doesn't require a final get so return the lastOperation - return Promise.resolve(currentOperation); - }, - poll: async () => { - // When doing BodyPolling, we need to poll to the original url with a - // GET http method - const { requestBody, ...restSpec } = initialOperation.spec; - const pollingSpec: OperationSpec = { - // Make sure we don't send any body to the get request - ...restSpec, - httpMethod: "GET" - }; - - // Execute the polling operation - initialOperation.result = await sendOperation( - initialOperation.args, - pollingSpec - ); - return initialOperation; - } - }; -} diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/constants.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/constants.ts deleted file mode 100644 index fa0ee2d9942c..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/constants.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export const terminalStates = ["succeeded", "failed", "canceled", "cancelled"]; diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/index.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/index.ts deleted file mode 100644 index f605ce7ee356..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { shouldDeserializeLRO } from "./requestUtils"; -export { createBodyPollingStrategy } from "./bodyPollingStrategy"; -export { terminalStates } from "./constants"; -export { lroPolicy } from "./lroPolicy"; -export { LROPoller, LROPollerOptions, SendOperationFn } from "./lroPoller"; -export { - LROResponseInfo, - BaseResult, - LROOperationStep, - LROOperationState, - LROStrategy, - LROOperation -} from "./models"; -export { makeOperation } from "./operation"; -export * from "./locationStrategy"; diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/locationStrategy.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/locationStrategy.ts deleted file mode 100644 index 1a5c8d462eac..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/locationStrategy.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { BaseResult, LROOperationStep, LROStrategy } from "./models"; -import { SendOperationFn } from "./lroPoller"; -import { OperationSpec } from "@azure/core-http"; - -export function createLocationStrategy( - initialOperation: LROOperationStep, - sendOperationFn: SendOperationFn -): LROStrategy { - const lroData = initialOperation.result._lroData; - if (!lroData) { - throw new Error( - "Expected lroData to be defined for Azure-AsyncOperation strategy" - ); - } - - let currentOperation = initialOperation; - let lastKnownPollingUrl = lroData.location; - - return { - isTerminal: () => { - const currentResult = currentOperation.result._lroData; - if (!currentResult) { - throw new Error("Expected lroData to determine terminal status"); - } - - if (currentOperation === initialOperation) { - return false; - } - - if (currentResult.statusCode === 202) { - return false; - } - - return true; - }, - sendFinalRequest: () => Promise.resolve(currentOperation), - poll: async () => { - if (!lastKnownPollingUrl) { - throw new Error("Unable to determine polling url"); - } - - const pollingArgs = currentOperation.args; - // Make sure we don't send any body to the get request - const { requestBody, ...restSpec } = currentOperation.spec; - const pollingSpec: OperationSpec = { - ...restSpec, - httpMethod: "GET", - path: lastKnownPollingUrl - }; - - const result = await sendOperationFn(pollingArgs, pollingSpec); - - // Update latest polling url - lastKnownPollingUrl = result._lroData?.location || lastKnownPollingUrl; - - // Update lastOperation result - currentOperation = { - args: pollingArgs, - spec: pollingSpec, - result - }; - - return currentOperation; - } - }; -} diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/lroPolicy.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/lroPolicy.ts deleted file mode 100644 index 0591f541b30a..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/lroPolicy.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { - RequestPolicy, - RequestPolicyOptions, - BaseRequestPolicy, - HttpOperationResponse, - WebResource -} from "@azure/core-http"; -import { getLROData } from "./requestUtils"; - -export function lroPolicy() { - return { - create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => { - return new LROPolicy(nextPolicy, options); - } - }; -} - -class LROPolicy extends BaseRequestPolicy { - constructor(nextPolicy: RequestPolicy, options: RequestPolicyOptions) { - super(nextPolicy, options); - } - - public async sendRequest( - webResource: WebResource - ): Promise { - let result = await this._nextPolicy.sendRequest(webResource); - - if (webResource.shouldDeserialize !== undefined) { - const _lroData = getLROData(result); - result.parsedBody = { ...result.parsedBody, _lroData }; - } - - return result; - } -} diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/lroPoller.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/lroPoller.ts deleted file mode 100644 index bc2f2aa05a24..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/lroPoller.ts +++ /dev/null @@ -1,154 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { Poller } from "@azure/core-lro"; -import { - OperationSpec, - OperationArguments, - delay, - RestError -} from "@azure/core-http"; -import { - BaseResult, - LROOperationState, - LROOperationStep, - FinalStateVia -} from "./models"; -import { makeOperation } from "./operation"; -import { createBodyPollingStrategy } from "./bodyPollingStrategy"; -import { createAzureAsyncOperationStrategy } from "./azureAsyncOperationStrategy"; -import { createLocationStrategy } from "./locationStrategy"; -import { createPassthroughStrategy } from "./passthroughStrategy"; - -export type SendOperationFn = ( - args: OperationArguments, - spec: OperationSpec -) => Promise; - -export interface LROPollerOptions { - /** - * Defines how much time the poller is going to wait before making a new request to the service. - */ - intervalInMs?: number; - /** - * Arguments used to send the initial operation - */ - initialOperationArguments: OperationArguments; - /** - * Operation spec provided for the initial operation - */ - initialOperationSpec: OperationSpec; - /** - * Result from the initial operation - */ - initialOperationResult: TResult; - /** - * Function to execute an operation based on an operation spec and arguments - */ - sendOperation: SendOperationFn; - /** - * Optional information on where to poll. When not defined it defaults to "Location" - */ - finalStateVia?: FinalStateVia; -} - -export class LROPoller extends Poller< - LROOperationState, - TResult -> { - private intervalInMs: number; - - constructor({ - initialOperationArguments, - initialOperationResult, - initialOperationSpec, - sendOperation, - finalStateVia, - intervalInMs = 2000 - }: LROPollerOptions) { - const initialOperation = { - args: initialOperationArguments, - spec: initialOperationSpec, - result: initialOperationResult - }; - - const pollingStrategy = getPollingStrategy( - initialOperation, - sendOperation, - finalStateVia - ); - - const state: LROOperationState = { - // Initial operation will become the last operation - initialOperation, - lastOperation: initialOperation, - pollingStrategy, - finalStateVia - }; - - const operation = makeOperation(state); - super(operation); - - this.intervalInMs = intervalInMs; - } - - /** - * The method used by the poller to wait before attempting to update its operation. - */ - delay(): Promise { - return delay(this.intervalInMs); - } -} - -/** - * This function determines which strategy to use based on the response from - * the last operation executed, this last operation can be an initial operation - * or a polling operation. The 3 possible strategies are described below: - * - * A) Azure-AsyncOperation or Operation-Location - * B) Location - * C) BodyPolling (provisioningState) - * - This strategy is used when: - * - Response doesn't contain any of the following headers Location, Azure-AsyncOperation or Operation-Location - * - Last operation method is PUT - */ -function getPollingStrategy( - initialOperation: LROOperationStep, - sendOperationFn: SendOperationFn, - finalStateVia?: FinalStateVia -) { - const lroData = initialOperation.result._lroData; - - if (!lroData) { - const error = new RestError( - "Service response doesn't include the required LRO data to continue polling" - ); - error.statusCode = initialOperation.result._response.status; - error.response = initialOperation.result._response; - throw error; - } - - if (lroData.azureAsyncOperation || lroData.operationLocation) { - return createAzureAsyncOperationStrategy( - initialOperation, - sendOperationFn, - finalStateVia - ); - } - - if (lroData.location) { - return createLocationStrategy(initialOperation, sendOperationFn); - } - - if (["PUT", "PATCH"].includes(lroData.requestMethod || "")) { - return createBodyPollingStrategy(initialOperation, sendOperationFn); - } - - // Default strategy is just a passthrough returning the initial operation - return createPassthroughStrategy(initialOperation); -} diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/models.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/models.ts deleted file mode 100644 index a90afc5b41de..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/models.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { - OperationArguments, - OperationSpec, - RestResponse, - HttpMethods -} from "@azure/core-http"; -import { PollOperationState, PollOperation } from "@azure/core-lro"; - -export type FinalStateVia = - | "azure-async-operation" - | "location" - | "original-uri"; - -export interface LROResponseInfo { - requestMethod: HttpMethods; - statusCode: number; - isInitialRequest?: boolean; - azureAsyncOperation?: string; - operationLocation?: string; - location?: string; - provisioningState?: string; - status?: string; -} - -export interface BaseResult extends RestResponse { - _lroData?: LROResponseInfo; -} - -export interface LROOperationStep { - args: OperationArguments; - spec: OperationSpec; - result: TResult; -} - -export interface LROOperationState - extends PollOperationState { - lastOperation: LROOperationStep; - initialOperation: LROOperationStep; - pollingStrategy: LROStrategy; - finalStateVia?: FinalStateVia; -} - -export interface LROStrategy { - isTerminal: () => boolean; - sendFinalRequest: () => Promise>; - poll: () => Promise>; -} - -export type LROOperation = PollOperation< - LROOperationState, - TResult ->; diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/operation.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/operation.ts deleted file mode 100644 index 9cda560a0212..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/operation.ts +++ /dev/null @@ -1,82 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { BaseResult, LROOperationState, LROOperation } from "./models"; - -/** - * Creates a copy of the operation from a given State - */ -export function makeOperation( - state: LROOperationState -): LROOperation { - return { - state: { ...state }, - update, - cancel, - toString: function(this: LROOperation) { - return JSON.stringify(this.state); - } - }; -} - -/** - * General update function for LROPoller, the general process is as follows - * 1. Check initial operation result to determine the strategy to use - * - Strategies: Location, Azure-AsyncOperation, Original Uri - * 2. Check if the operation result has a terminal state - * - Terminal state will be determined by each strategy - * 2.1 If it is terminal state Check if a final GET request is required, if so - * send final GET request and return result from operation. If no final GET - * is required, just return the result from operation. - * - Determining what to call for final request is responsibility of each strategy - * 2.2 If it is not terminal state, call the polling operation call it and go to step 1 - * - Determining what to call for polling is responsibility of each strategy - * - Strategies will always use the latest URI for polling if provided otherwise - * the last known one - */ -async function update( - this: LROOperation -): Promise> { - const state = { ...this.state }; - - const { sendFinalRequest, poll, isTerminal } = state.pollingStrategy; - const currentResponse = state.lastOperation; - const currentLroData = currentResponse.result._lroData; - - if (!currentLroData) { - throw new Error( - "Expected lroData to be defined for updating LRO operation" - ); - } - - if (state.result) { - state.isCompleted = true; - return makeOperation(state); - } - - // Check if last result is terminal - if (isTerminal()) { - state.lastOperation = await sendFinalRequest(); - state.result = state.lastOperation.result; - } else { - state.lastOperation = await poll(); - } - - // Return operation - return makeOperation(state); -} - -/** - * Swagger doesn't support defining a cancel operation, we'll just mark - * the operation state as cancelled - */ -async function cancel( - this: LROOperation -): Promise> { - return makeOperation({ ...this.state, isCancelled: true }); -} diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/passthroughStrategy.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/passthroughStrategy.ts deleted file mode 100644 index 23342c2e4ec7..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/passthroughStrategy.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { LROStrategy, BaseResult, LROOperationStep } from "./models"; - -/** - * Creates a polling strategy based on BodyPolling which uses the provisioning state - * from the result to determine the current operation state - */ -export function createPassthroughStrategy( - initialOperation: LROOperationStep -): LROStrategy { - return { - isTerminal: () => { - return true; - }, - sendFinalRequest: () => { - // BodyPolling doesn't require a final get so return the lastOperation - return Promise.resolve(initialOperation); - }, - poll: async () => { - throw new Error("Passthrough strategy should never poll"); - } - }; -} diff --git a/sdk/keyvault/keyvault-admin/src/generated/lro/requestUtils.ts b/sdk/keyvault/keyvault-admin/src/generated/lro/requestUtils.ts deleted file mode 100644 index e9af4cde5e25..000000000000 --- a/sdk/keyvault/keyvault-admin/src/generated/lro/requestUtils.ts +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { HttpOperationResponse } from "@azure/core-http"; -import { terminalStates } from "./constants"; -import { LROResponseInfo } from "./models"; - -/** - * We need to selectively deserialize our responses, only deserializing if we - * are in a final LRO response, not deserializing any polling non-terminal responses - */ -export function shouldDeserializeLRO(finalStateVia?: string) { - let initialOperationInfo: LROResponseInfo | undefined; - let isInitialRequest = true; - - return (response: HttpOperationResponse) => { - if (response.status < 200 || response.status >= 300) { - return true; - } - - if (!initialOperationInfo) { - initialOperationInfo = getLROData(response); - } else { - isInitialRequest = false; - } - - if ( - initialOperationInfo.azureAsyncOperation || - initialOperationInfo.operationLocation - ) { - return ( - !isInitialRequest && - isAsyncOperationFinalResponse( - response, - initialOperationInfo, - finalStateVia - ) - ); - } - - if (initialOperationInfo.location) { - return isLocationFinalResponse(response); - } - - if (initialOperationInfo.requestMethod === "PUT") { - return isBodyPollingFinalResponse(response); - } - - return true; - }; -} - -function isAsyncOperationFinalResponse( - response: HttpOperationResponse, - initialOperationInfo: LROResponseInfo, - finalStateVia?: string -): boolean { - const status: string = response.parsedBody?.status || "Succeeded"; - if (!terminalStates.includes(status.toLowerCase())) { - return false; - } - - if (initialOperationInfo.requestMethod === "DELETE") { - return true; - } - - if ( - initialOperationInfo.requestMethod === "PUT" && - finalStateVia && - finalStateVia.toLowerCase() === "azure-asyncoperation" - ) { - return true; - } - - if ( - initialOperationInfo.requestMethod !== "PUT" && - !initialOperationInfo.location - ) { - return true; - } - - return false; -} - -function isLocationFinalResponse(response: HttpOperationResponse): boolean { - return response.status !== 202; -} - -function isBodyPollingFinalResponse(response: HttpOperationResponse): boolean { - const provisioningState: string = - response.parsedBody?.properties?.provisioningState || "Succeeded"; - - if (terminalStates.includes(provisioningState.toLowerCase())) { - return true; - } - - return false; -} - -export function getLROData(result: HttpOperationResponse): LROResponseInfo { - const statusCode = result.status; - const { status, properties } = result.parsedBody || {}; - return { - statusCode, - azureAsyncOperation: result.headers.get("azure-asyncoperation"), - operationLocation: result.headers.get("operation-location"), - location: result.headers.get("location"), - requestMethod: result.request.method, - status, - provisioningState: properties?.provisioningState - }; -} diff --git a/sdk/keyvault/keyvault-admin/src/generated/models/index.ts b/sdk/keyvault/keyvault-admin/src/generated/models/index.ts index 171d758142ae..aed423362463 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/models/index.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/models/index.ts @@ -6,7 +6,7 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as coreHttp from "@azure/core-http"; +import * as coreClient from "@azure/core-client"; /** The key vault error exception. */ export interface KeyVaultError { @@ -265,6 +265,21 @@ export interface KeyVaultClientSelectiveKeyRestoreOperationHeaders { azureAsyncOperation?: string; } +/** Known values of {@link ApiVersion72} that the service accepts. */ +export const enum KnownApiVersion72 { + /** Api Version '7.2' */ + Seven2 = "7.2" +} + +/** + * Defines values for ApiVersion72. \ + * {@link KnownApiVersion72} can be used interchangeably with ApiVersion72, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **7.2**: Api Version '7.2' + */ +export type ApiVersion72 = string; + /** Known values of {@link RoleType} that the service accepts. */ export const enum KnownRoleType { /** Built in role. */ @@ -277,16 +292,14 @@ export const enum KnownRoleType { * Defines values for RoleType. \ * {@link KnownRoleType} can be used interchangeably with RoleType, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **AKVBuiltInRole**: Built in role. \ * **CustomRole**: Custom role. */ export type RoleType = string; /** Known values of {@link DataAction} that the service accepts. */ -// Note: `const` keyword removed manually while we discuss the generated code -// in https://github.com/Azure/autorest.typescript/issues/1013 -export enum KnownDataAction { +export const enum KnownDataAction { /** Read HSM key metadata. */ ReadHsmKey = "Microsoft.KeyVault/managedHsm/keys/read/action", /** Update an HSM key. */ @@ -351,7 +364,7 @@ export enum KnownDataAction { * Defines values for DataAction. \ * {@link KnownDataAction} can be used interchangeably with DataAction, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **Microsoft.KeyVault\/managedHsm\/keys\/read\/action**: Read HSM key metadata. \ * **Microsoft.KeyVault\/managedHsm\/keys\/write\/action**: Update an HSM key. \ * **Microsoft.KeyVault\/managedHsm\/keys\/deletedKeys\/read\/action**: Read deleted HSM key. \ @@ -385,9 +398,7 @@ export enum KnownDataAction { export type DataAction = string; /** Known values of {@link RoleScope} that the service accepts. */ -// Note: `const` keyword removed manually while we discuss the generated code -// in https://github.com/Azure/autorest.typescript/issues/1013 -export enum KnownRoleScope { +export const enum KnownRoleScope { /** Global scope */ Global = "/", /** Keys scope */ @@ -398,7 +409,7 @@ export enum KnownRoleScope { * Defines values for RoleScope. \ * {@link KnownRoleScope} can be used interchangeably with RoleScope, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **\/**: Global scope \ * **\/keys**: Keys scope */ @@ -413,248 +424,137 @@ export const enum KnownRoleDefinitionType { * Defines values for RoleDefinitionType. \ * {@link KnownRoleDefinitionType} can be used interchangeably with RoleDefinitionType, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **Microsoft.Authorization\/roleDefinitions** */ export type RoleDefinitionType = string; /** Optional parameters. */ -export interface RoleDefinitionsDeleteOptionalParams extends coreHttp.OperationOptions {} +export interface RoleDefinitionsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RoleDefinitionsCreateOrUpdateOptionalParams extends coreHttp.OperationOptions {} +export interface RoleDefinitionsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type RoleDefinitionsCreateOrUpdateResponse = RoleDefinition & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RoleDefinition; - }; -}; +export type RoleDefinitionsCreateOrUpdateResponse = RoleDefinition; /** Optional parameters. */ -export interface RoleDefinitionsGetOptionalParams extends coreHttp.OperationOptions {} +export interface RoleDefinitionsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RoleDefinitionsGetResponse = RoleDefinition & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RoleDefinition; - }; -}; +export type RoleDefinitionsGetResponse = RoleDefinition; /** Optional parameters. */ -export interface RoleDefinitionsListOptionalParams extends coreHttp.OperationOptions { +export interface RoleDefinitionsListOptionalParams + extends coreClient.OperationOptions { /** The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. */ filter?: string; } /** Contains response data for the list operation. */ -export type RoleDefinitionsListResponse = RoleDefinitionListResult & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RoleDefinitionListResult; - }; -}; +export type RoleDefinitionsListResponse = RoleDefinitionListResult; /** Optional parameters. */ -export interface RoleDefinitionsListNextOptionalParams extends coreHttp.OperationOptions { +export interface RoleDefinitionsListNextOptionalParams + extends coreClient.OperationOptions { /** The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. */ filter?: string; } /** Contains response data for the listNext operation. */ -export type RoleDefinitionsListNextResponse = RoleDefinitionListResult & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RoleDefinitionListResult; - }; -}; +export type RoleDefinitionsListNextResponse = RoleDefinitionListResult; /** Optional parameters. */ -export interface RoleAssignmentsDeleteOptionalParams extends coreHttp.OperationOptions {} +export interface RoleAssignmentsDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface RoleAssignmentsCreateOptionalParams extends coreHttp.OperationOptions {} +export interface RoleAssignmentsCreateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the create operation. */ -export type RoleAssignmentsCreateResponse = RoleAssignment & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RoleAssignment; - }; -}; +export type RoleAssignmentsCreateResponse = RoleAssignment; /** Optional parameters. */ -export interface RoleAssignmentsGetOptionalParams extends coreHttp.OperationOptions {} +export interface RoleAssignmentsGetOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type RoleAssignmentsGetResponse = RoleAssignment & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RoleAssignment; - }; -}; +export type RoleAssignmentsGetResponse = RoleAssignment; /** Optional parameters. */ -export interface RoleAssignmentsListForScopeOptionalParams extends coreHttp.OperationOptions { +export interface RoleAssignmentsListForScopeOptionalParams + extends coreClient.OperationOptions { /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ filter?: string; } /** Contains response data for the listForScope operation. */ -export type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RoleAssignmentListResult; - }; -}; +export type RoleAssignmentsListForScopeResponse = RoleAssignmentListResult; /** Optional parameters. */ -export interface RoleAssignmentsListForScopeNextOptionalParams extends coreHttp.OperationOptions { +export interface RoleAssignmentsListForScopeNextOptionalParams + extends coreClient.OperationOptions { /** The filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal. */ filter?: string; } /** Contains response data for the listForScopeNext operation. */ -export type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RoleAssignmentListResult; - }; -}; +export type RoleAssignmentsListForScopeNextResponse = RoleAssignmentListResult; /** Optional parameters. */ -export interface KeyVaultClientFullBackupOptionalParams extends coreHttp.OperationOptions { +export interface KeyVaultClientFullBackupOptionalParams + extends coreClient.OperationOptions { /** Azure blob shared access signature token pointing to a valid Azure blob container where full backup needs to be stored. This token needs to be valid for at least next 24 hours from the time of making this call */ azureStorageBlobContainerUri?: SASTokenParameter; } /** Contains response data for the fullBackup operation. */ export type KeyVaultClientFullBackupResponse = KeyVaultClientFullBackupHeaders & - FullBackupOperation & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: FullBackupOperation; - /** The parsed HTTP response headers. */ - parsedHeaders: KeyVaultClientFullBackupHeaders; - }; - }; + FullBackupOperation; /** Optional parameters. */ -export interface KeyVaultClientFullBackupStatusOptionalParams extends coreHttp.OperationOptions {} +export interface KeyVaultClientFullBackupStatusOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the fullBackupStatus operation. */ -export type KeyVaultClientFullBackupStatusResponse = FullBackupOperation & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: FullBackupOperation; - }; -}; +export type KeyVaultClientFullBackupStatusResponse = FullBackupOperation; /** Optional parameters. */ export interface KeyVaultClientFullRestoreOperationOptionalParams - extends coreHttp.OperationOptions { + extends coreClient.OperationOptions { /** The Azure blob SAS token pointing to a folder where the previous successful full backup was stored */ restoreBlobDetails?: RestoreOperationParameters; } /** Contains response data for the fullRestoreOperation operation. */ export type KeyVaultClientFullRestoreOperationResponse = KeyVaultClientFullRestoreOperationHeaders & - RestoreOperation & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RestoreOperation; - /** The parsed HTTP response headers. */ - parsedHeaders: KeyVaultClientFullRestoreOperationHeaders; - }; - }; + RestoreOperation; /** Optional parameters. */ -export interface KeyVaultClientRestoreStatusOptionalParams extends coreHttp.OperationOptions {} +export interface KeyVaultClientRestoreStatusOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the restoreStatus operation. */ -export type KeyVaultClientRestoreStatusResponse = RestoreOperation & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: RestoreOperation; - }; -}; +export type KeyVaultClientRestoreStatusResponse = RestoreOperation; /** Optional parameters. */ export interface KeyVaultClientSelectiveKeyRestoreOperationOptionalParams - extends coreHttp.OperationOptions { + extends coreClient.OperationOptions { /** The Azure blob SAS token pointing to a folder where the previous successful full backup was stored */ restoreBlobDetails?: SelectiveKeyRestoreOperationParameters; } /** Contains response data for the selectiveKeyRestoreOperation operation. */ export type KeyVaultClientSelectiveKeyRestoreOperationResponse = KeyVaultClientSelectiveKeyRestoreOperationHeaders & - SelectiveKeyRestoreOperation & { - /** The underlying HTTP response. */ - _response: coreHttp.HttpResponse & { - /** The response body as text (string format) */ - bodyAsText: string; - - /** The response body as parsed JSON or XML */ - parsedBody: SelectiveKeyRestoreOperation; - /** The parsed HTTP response headers. */ - parsedHeaders: KeyVaultClientSelectiveKeyRestoreOperationHeaders; - }; - }; + SelectiveKeyRestoreOperation; /** Optional parameters. */ -export interface KeyVaultClientOptionalParams extends coreHttp.ServiceClientOptions { - /** Api Version */ - apiVersion?: string; +export interface KeyVaultClientOptionalParams + extends coreClient.ServiceClientOptions { /** Overrides client endpoint. */ endpoint?: string; } diff --git a/sdk/keyvault/keyvault-admin/src/generated/models/mappers.ts b/sdk/keyvault/keyvault-admin/src/generated/models/mappers.ts index daa76065ddef..099d0f44b0d2 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/models/mappers.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/models/mappers.ts @@ -6,9 +6,9 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as coreHttp from "@azure/core-http"; +import * as coreClient from "@azure/core-client"; -export const KeyVaultError: coreHttp.CompositeMapper = { +export const KeyVaultError: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultError", @@ -24,7 +24,7 @@ export const KeyVaultError: coreHttp.CompositeMapper = { } }; -export const ErrorModel: coreHttp.CompositeMapper = { +export const ErrorModel: coreClient.CompositeMapper = { type: { name: "Composite", className: "ErrorModel", @@ -54,7 +54,7 @@ export const ErrorModel: coreHttp.CompositeMapper = { } }; -export const RoleDefinitionCreateParameters: coreHttp.CompositeMapper = { +export const RoleDefinitionCreateParameters: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleDefinitionCreateParameters", @@ -70,7 +70,7 @@ export const RoleDefinitionCreateParameters: coreHttp.CompositeMapper = { } }; -export const RoleDefinitionProperties: coreHttp.CompositeMapper = { +export const RoleDefinitionProperties: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleDefinitionProperties", @@ -120,7 +120,7 @@ export const RoleDefinitionProperties: coreHttp.CompositeMapper = { } }; -export const Permission: coreHttp.CompositeMapper = { +export const Permission: coreClient.CompositeMapper = { type: { name: "Composite", className: "Permission", @@ -173,7 +173,7 @@ export const Permission: coreHttp.CompositeMapper = { } }; -export const RoleDefinition: coreHttp.CompositeMapper = { +export const RoleDefinition: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleDefinition", @@ -244,7 +244,7 @@ export const RoleDefinition: coreHttp.CompositeMapper = { } }; -export const RoleDefinitionListResult: coreHttp.CompositeMapper = { +export const RoleDefinitionListResult: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleDefinitionListResult", @@ -271,7 +271,7 @@ export const RoleDefinitionListResult: coreHttp.CompositeMapper = { } }; -export const RoleAssignmentCreateParameters: coreHttp.CompositeMapper = { +export const RoleAssignmentCreateParameters: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleAssignmentCreateParameters", @@ -287,7 +287,7 @@ export const RoleAssignmentCreateParameters: coreHttp.CompositeMapper = { } }; -export const RoleAssignmentProperties: coreHttp.CompositeMapper = { +export const RoleAssignmentProperties: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleAssignmentProperties", @@ -310,7 +310,7 @@ export const RoleAssignmentProperties: coreHttp.CompositeMapper = { } }; -export const RoleAssignment: coreHttp.CompositeMapper = { +export const RoleAssignment: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleAssignment", @@ -347,7 +347,7 @@ export const RoleAssignment: coreHttp.CompositeMapper = { } }; -export const RoleAssignmentPropertiesWithScope: coreHttp.CompositeMapper = { +export const RoleAssignmentPropertiesWithScope: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleAssignmentPropertiesWithScope", @@ -374,7 +374,7 @@ export const RoleAssignmentPropertiesWithScope: coreHttp.CompositeMapper = { } }; -export const RoleAssignmentListResult: coreHttp.CompositeMapper = { +export const RoleAssignmentListResult: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleAssignmentListResult", @@ -401,7 +401,7 @@ export const RoleAssignmentListResult: coreHttp.CompositeMapper = { } }; -export const SASTokenParameter: coreHttp.CompositeMapper = { +export const SASTokenParameter: coreClient.CompositeMapper = { type: { name: "Composite", className: "SASTokenParameter", @@ -424,7 +424,7 @@ export const SASTokenParameter: coreHttp.CompositeMapper = { } }; -export const FullBackupOperation: coreHttp.CompositeMapper = { +export const FullBackupOperation: coreClient.CompositeMapper = { type: { name: "Composite", className: "FullBackupOperation", @@ -477,7 +477,7 @@ export const FullBackupOperation: coreHttp.CompositeMapper = { } }; -export const RestoreOperationParameters: coreHttp.CompositeMapper = { +export const RestoreOperationParameters: coreClient.CompositeMapper = { type: { name: "Composite", className: "RestoreOperationParameters", @@ -500,7 +500,7 @@ export const RestoreOperationParameters: coreHttp.CompositeMapper = { } }; -export const RestoreOperation: coreHttp.CompositeMapper = { +export const RestoreOperation: coreClient.CompositeMapper = { type: { name: "Composite", className: "RestoreOperation", @@ -547,7 +547,7 @@ export const RestoreOperation: coreHttp.CompositeMapper = { } }; -export const SelectiveKeyRestoreOperationParameters: coreHttp.CompositeMapper = { +export const SelectiveKeyRestoreOperationParameters: coreClient.CompositeMapper = { type: { name: "Composite", className: "SelectiveKeyRestoreOperationParameters", @@ -570,7 +570,7 @@ export const SelectiveKeyRestoreOperationParameters: coreHttp.CompositeMapper = } }; -export const SelectiveKeyRestoreOperation: coreHttp.CompositeMapper = { +export const SelectiveKeyRestoreOperation: coreClient.CompositeMapper = { type: { name: "Composite", className: "SelectiveKeyRestoreOperation", @@ -617,7 +617,7 @@ export const SelectiveKeyRestoreOperation: coreHttp.CompositeMapper = { } }; -export const RoleAssignmentFilter: coreHttp.CompositeMapper = { +export const RoleAssignmentFilter: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleAssignmentFilter", @@ -632,7 +632,7 @@ export const RoleAssignmentFilter: coreHttp.CompositeMapper = { } }; -export const RoleDefinitionFilter: coreHttp.CompositeMapper = { +export const RoleDefinitionFilter: coreClient.CompositeMapper = { type: { name: "Composite", className: "RoleDefinitionFilter", @@ -647,7 +647,7 @@ export const RoleDefinitionFilter: coreHttp.CompositeMapper = { } }; -export const KeyVaultClientFullBackupHeaders: coreHttp.CompositeMapper = { +export const KeyVaultClientFullBackupHeaders: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultClientFullBackupHeaders", @@ -668,7 +668,7 @@ export const KeyVaultClientFullBackupHeaders: coreHttp.CompositeMapper = { } }; -export const KeyVaultClientFullRestoreOperationHeaders: coreHttp.CompositeMapper = { +export const KeyVaultClientFullRestoreOperationHeaders: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultClientFullRestoreOperationHeaders", @@ -689,7 +689,7 @@ export const KeyVaultClientFullRestoreOperationHeaders: coreHttp.CompositeMapper } }; -export const KeyVaultClientSelectiveKeyRestoreOperationHeaders: coreHttp.CompositeMapper = { +export const KeyVaultClientSelectiveKeyRestoreOperationHeaders: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultClientSelectiveKeyRestoreOperationHeaders", diff --git a/sdk/keyvault/keyvault-admin/src/generated/models/parameters.ts b/sdk/keyvault/keyvault-admin/src/generated/models/parameters.ts index 8a7e76e13804..c5208248fc46 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/models/parameters.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/models/parameters.ts @@ -10,7 +10,7 @@ import { OperationParameter, OperationURLParameter, OperationQueryParameter -} from "@azure/core-http"; +} from "@azure/core-client"; import { RoleDefinitionCreateParameters as RoleDefinitionCreateParametersMapper, RoleAssignmentCreateParameters as RoleAssignmentCreateParametersMapper, @@ -69,9 +69,8 @@ export const roleDefinitionName: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "7.2", - isConstant: true, serializedName: "api-version", + required: true, type: { name: "String" } diff --git a/sdk/keyvault/keyvault-admin/src/generated/operations/roleAssignments.ts b/sdk/keyvault/keyvault-admin/src/generated/operations/roleAssignments.ts index 4472cf352b37..859d36f215e1 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/operations/roleAssignments.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/operations/roleAssignments.ts @@ -7,7 +7,7 @@ */ import { RoleAssignments } from "../operationsInterfaces"; -import * as coreHttp from "@azure/core-http"; +import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { KeyVaultClientContext } from "../keyVaultClientContext"; @@ -48,17 +48,11 @@ export class RoleAssignmentsImpl implements RoleAssignments { scope: string, roleAssignmentName: string, options?: RoleAssignmentsDeleteOptionalParams - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - roleAssignmentName, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, roleAssignmentName, options }, deleteOperationSpec - ) as Promise; + ); } /** @@ -76,17 +70,10 @@ export class RoleAssignmentsImpl implements RoleAssignments { parameters: RoleAssignmentCreateParameters, options?: RoleAssignmentsCreateOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - roleAssignmentName, - parameters, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, roleAssignmentName, parameters, options }, createOperationSpec - ) as Promise; + ); } /** @@ -102,16 +89,10 @@ export class RoleAssignmentsImpl implements RoleAssignments { roleAssignmentName: string, options?: RoleAssignmentsGetOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - roleAssignmentName, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, roleAssignmentName, options }, getOperationSpec - ) as Promise; + ); } /** @@ -125,15 +106,10 @@ export class RoleAssignmentsImpl implements RoleAssignments { scope: string, options?: RoleAssignmentsListForScopeOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, options }, listForScopeOperationSpec - ) as Promise; + ); } /** @@ -149,22 +125,16 @@ export class RoleAssignmentsImpl implements RoleAssignments { nextLink: string, options?: RoleAssignmentsListForScopeNextOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - nextLink, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, nextLink, options }, listForScopeNextOperationSpec - ) as Promise; + ); } } // Operation Specifications -const serializer = new coreHttp.Serializer(Mappers, /* isXml */ false); +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const deleteOperationSpec: coreHttp.OperationSpec = { +const deleteOperationSpec: coreClient.OperationSpec = { path: "/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}", httpMethod: "DELETE", @@ -184,7 +154,7 @@ const deleteOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const createOperationSpec: coreHttp.OperationSpec = { +const createOperationSpec: coreClient.OperationSpec = { path: "/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}", httpMethod: "PUT", @@ -207,7 +177,7 @@ const createOperationSpec: coreHttp.OperationSpec = { mediaType: "json", serializer }; -const getOperationSpec: coreHttp.OperationSpec = { +const getOperationSpec: coreClient.OperationSpec = { path: "/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}", httpMethod: "GET", @@ -228,7 +198,7 @@ const getOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const listForScopeOperationSpec: coreHttp.OperationSpec = { +const listForScopeOperationSpec: coreClient.OperationSpec = { path: "/{scope}/providers/Microsoft.Authorization/roleAssignments", httpMethod: "GET", responses: { @@ -244,7 +214,7 @@ const listForScopeOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const listForScopeNextOperationSpec: coreHttp.OperationSpec = { +const listForScopeNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { diff --git a/sdk/keyvault/keyvault-admin/src/generated/operations/roleDefinitions.ts b/sdk/keyvault/keyvault-admin/src/generated/operations/roleDefinitions.ts index e16f7be93510..1addeb10b155 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/operations/roleDefinitions.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/operations/roleDefinitions.ts @@ -7,7 +7,7 @@ */ import { RoleDefinitions } from "../operationsInterfaces"; -import * as coreHttp from "@azure/core-http"; +import * as coreClient from "@azure/core-client"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; import { KeyVaultClientContext } from "../keyVaultClientContext"; @@ -48,17 +48,11 @@ export class RoleDefinitionsImpl implements RoleDefinitions { scope: string, roleDefinitionName: string, options?: RoleDefinitionsDeleteOptionalParams - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - roleDefinitionName, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, roleDefinitionName, options }, deleteOperationSpec - ) as Promise; + ); } /** @@ -77,17 +71,10 @@ export class RoleDefinitionsImpl implements RoleDefinitions { parameters: RoleDefinitionCreateParameters, options?: RoleDefinitionsCreateOrUpdateOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - roleDefinitionName, - parameters, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, roleDefinitionName, parameters, options }, createOrUpdateOperationSpec - ) as Promise; + ); } /** @@ -103,16 +90,10 @@ export class RoleDefinitionsImpl implements RoleDefinitions { roleDefinitionName: string, options?: RoleDefinitionsGetOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - roleDefinitionName, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, roleDefinitionName, options }, getOperationSpec - ) as Promise; + ); } /** @@ -126,15 +107,10 @@ export class RoleDefinitionsImpl implements RoleDefinitions { scope: string, options?: RoleDefinitionsListOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, options }, listOperationSpec - ) as Promise; + ); } /** @@ -150,22 +126,16 @@ export class RoleDefinitionsImpl implements RoleDefinitions { nextLink: string, options?: RoleDefinitionsListNextOptionalParams ): Promise { - const operationArguments: coreHttp.OperationArguments = { - vaultBaseUrl, - scope, - nextLink, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; return this.client.sendOperationRequest( - operationArguments, + { vaultBaseUrl, scope, nextLink, options }, listNextOperationSpec - ) as Promise; + ); } } // Operation Specifications -const serializer = new coreHttp.Serializer(Mappers, /* isXml */ false); +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const deleteOperationSpec: coreHttp.OperationSpec = { +const deleteOperationSpec: coreClient.OperationSpec = { path: "/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionName}", httpMethod: "DELETE", @@ -185,7 +155,7 @@ const deleteOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const createOrUpdateOperationSpec: coreHttp.OperationSpec = { +const createOrUpdateOperationSpec: coreClient.OperationSpec = { path: "/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionName}", httpMethod: "PUT", @@ -208,7 +178,7 @@ const createOrUpdateOperationSpec: coreHttp.OperationSpec = { mediaType: "json", serializer }; -const getOperationSpec: coreHttp.OperationSpec = { +const getOperationSpec: coreClient.OperationSpec = { path: "/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionName}", httpMethod: "GET", @@ -229,7 +199,7 @@ const getOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const listOperationSpec: coreHttp.OperationSpec = { +const listOperationSpec: coreClient.OperationSpec = { path: "/{scope}/providers/Microsoft.Authorization/roleDefinitions", httpMethod: "GET", responses: { @@ -245,7 +215,7 @@ const listOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const listNextOperationSpec: coreHttp.OperationSpec = { +const listNextOperationSpec: coreClient.OperationSpec = { path: "{nextLink}", httpMethod: "GET", responses: { diff --git a/sdk/keyvault/keyvault-admin/src/generated/operationsInterfaces/roleAssignments.ts b/sdk/keyvault/keyvault-admin/src/generated/operationsInterfaces/roleAssignments.ts index 157c263f9e2f..64a01edae5f3 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/operationsInterfaces/roleAssignments.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/operationsInterfaces/roleAssignments.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as coreHttp from "@azure/core-http"; import { RoleAssignmentsDeleteOptionalParams, RoleAssignmentCreateParameters, @@ -34,7 +33,7 @@ export interface RoleAssignments { scope: string, roleAssignmentName: string, options?: RoleAssignmentsDeleteOptionalParams - ): Promise; + ): Promise; /** * Creates a role assignment. * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. diff --git a/sdk/keyvault/keyvault-admin/src/generated/operationsInterfaces/roleDefinitions.ts b/sdk/keyvault/keyvault-admin/src/generated/operationsInterfaces/roleDefinitions.ts index 5780ec44cfa0..55e150491670 100644 --- a/sdk/keyvault/keyvault-admin/src/generated/operationsInterfaces/roleDefinitions.ts +++ b/sdk/keyvault/keyvault-admin/src/generated/operationsInterfaces/roleDefinitions.ts @@ -6,7 +6,6 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import * as coreHttp from "@azure/core-http"; import { RoleDefinitionsDeleteOptionalParams, RoleDefinitionCreateParameters, @@ -34,7 +33,7 @@ export interface RoleDefinitions { scope: string, roleDefinitionName: string, options?: RoleDefinitionsDeleteOptionalParams - ): Promise; + ): Promise; /** * Creates or updates a custom role definition. * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. diff --git a/sdk/keyvault/keyvault-admin/src/index.ts b/sdk/keyvault/keyvault-admin/src/index.ts index 133961b78ca3..853d2ec37e4b 100644 --- a/sdk/keyvault/keyvault-admin/src/index.ts +++ b/sdk/keyvault/keyvault-admin/src/index.ts @@ -7,4 +7,4 @@ export * from "./accessControlModels"; export * from "./backupClient"; export * from "./backupClientModels"; -export * from "./constants"; +export { LATEST_API_VERSION, SDK_VERSION, SUPPORTED_API_VERSIONS } from "./constants"; diff --git a/sdk/keyvault/keyvault-admin/src/lro/backup/operation.ts b/sdk/keyvault/keyvault-admin/src/lro/backup/operation.ts index 585f04f30e9b..171c8a1a6a3b 100644 --- a/sdk/keyvault/keyvault-admin/src/lro/backup/operation.ts +++ b/sdk/keyvault/keyvault-admin/src/lro/backup/operation.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license. import { AbortSignalLike } from "@azure/abort-controller"; -import { RequestOptionsBase } from "@azure/core-http"; import { KeyVaultClient } from "../../generated/keyVaultClient"; import { FullBackupOperation, @@ -15,7 +14,7 @@ import { KeyVaultAdminPollOperation, KeyVaultAdminPollOperationState } from "../keyVaultAdminPoller"; -import { createTraceFunction } from "../../../../keyvault-common/src/tracingHelpers"; +import { createTraceFunction } from "../../tracingHelpers"; /** * @internal @@ -53,7 +52,7 @@ export class KeyVaultBackupPollOperation extends KeyVaultAdminPollOperation< public state: KeyVaultBackupPollOperationState, private vaultUrl: string, private client: KeyVaultClient, - private requestOptions: RequestOptionsBase = {} + private requestOptions: KeyVaultBeginBackupOptions = {} ) { super(state, { cancelMessage: "Cancelling a full Key Vault backup is not supported." }); } diff --git a/sdk/keyvault/keyvault-admin/src/lro/keyVaultAdminPoller.ts b/sdk/keyvault/keyvault-admin/src/lro/keyVaultAdminPoller.ts index 3c0a3013e843..a07e45ce7bf0 100644 --- a/sdk/keyvault/keyvault-admin/src/lro/keyVaultAdminPoller.ts +++ b/sdk/keyvault/keyvault-admin/src/lro/keyVaultAdminPoller.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { delay, RequestOptionsBase } from "@azure/core-http"; +import { OperationOptions } from "@azure/core-client"; import { Poller, PollOperation, PollOperationState } from "@azure/core-lro"; import { KeyVaultClient } from "../generated/keyVaultClient"; @@ -11,7 +11,7 @@ import { KeyVaultClient } from "../generated/keyVaultClient"; export interface KeyVaultAdminPollerOptions { vaultUrl: string; client: KeyVaultClient; - requestOptions?: RequestOptionsBase; + requestOptions?: OperationOptions; intervalInMs?: number; resumeFrom?: string; } @@ -78,7 +78,7 @@ export abstract class KeyVaultAdminPoller< * The method used by the poller to wait before attempting to update its operation. */ async delay(): Promise { - return delay(this.intervalInMs); + return new Promise((resolve) => setTimeout(resolve, this.intervalInMs)); } /** diff --git a/sdk/keyvault/keyvault-admin/src/lro/restore/operation.ts b/sdk/keyvault/keyvault-admin/src/lro/restore/operation.ts index 2c96a94428d3..f75784b47bb6 100644 --- a/sdk/keyvault/keyvault-admin/src/lro/restore/operation.ts +++ b/sdk/keyvault/keyvault-admin/src/lro/restore/operation.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license. import { AbortSignalLike } from "@azure/abort-controller"; -import { OperationOptions, RequestOptionsBase } from "@azure/core-http"; import { KeyVaultClient } from "../../generated/keyVaultClient"; import { KeyVaultClientFullRestoreOperationOptionalParams, @@ -14,8 +13,9 @@ import { KeyVaultAdminPollOperation, KeyVaultAdminPollOperationState } from "../keyVaultAdminPoller"; -import { KeyVaultRestoreResult } from "../../backupClientModels"; -import { createTraceFunction } from "../../../../keyvault-common/src"; +import { KeyVaultBeginRestoreOptions, KeyVaultRestoreResult } from "../../backupClientModels"; +import { createTraceFunction } from "../../tracingHelpers"; +import { OperationOptions } from "@azure/core-client"; /** * @internal @@ -59,7 +59,7 @@ export class KeyVaultRestorePollOperation extends KeyVaultAdminPollOperation< public state: KeyVaultRestorePollOperationState, private vaultUrl: string, private client: KeyVaultClient, - private requestOptions: RequestOptionsBase = {} + private requestOptions: KeyVaultBeginRestoreOptions = {} ) { super(state, { cancelMessage: "Cancelling the restoration full Key Vault backup is not supported." diff --git a/sdk/keyvault/keyvault-admin/src/lro/selectiveKeyRestore/operation.ts b/sdk/keyvault/keyvault-admin/src/lro/selectiveKeyRestore/operation.ts index f8f993a0cadd..adf130be22bc 100644 --- a/sdk/keyvault/keyvault-admin/src/lro/selectiveKeyRestore/operation.ts +++ b/sdk/keyvault/keyvault-admin/src/lro/selectiveKeyRestore/operation.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license. import { AbortSignalLike } from "@azure/abort-controller"; -import { OperationOptions, RequestOptionsBase } from "@azure/core-http"; import { KeyVaultClient } from "../../generated/keyVaultClient"; import { KeyVaultClientRestoreStatusResponse, @@ -14,14 +13,17 @@ import { KeyVaultAdminPollOperation, KeyVaultAdminPollOperationState } from "../keyVaultAdminPoller"; -import { KeyVaultSelectiveKeyRestoreResult } from "../../backupClientModels"; -import { createTraceFunction } from "../../../../keyvault-common/src"; +import { + KeyVaultBeginSelectiveKeyRestoreOptions, + KeyVaultSelectiveKeyRestoreResult +} from "../../backupClientModels"; +import { OperationOptions } from "@azure/core-client"; +import { createTraceFunction } from "../../tracingHelpers"; /** * @internal */ const withTrace = createTraceFunction("Azure.KeyVault.Admin.KeyVaultSelectiveKeyRestorePoller"); - /** * An interface representing the publicly available properties of the state of a restore Key Vault's poll operation. */ @@ -62,7 +64,7 @@ export class KeyVaultSelectiveKeyRestorePollOperation extends KeyVaultAdminPollO public state: KeyVaultSelectiveKeyRestorePollOperationState, private vaultUrl: string, private client: KeyVaultClient, - private requestOptions: RequestOptionsBase = {} + private requestOptions: KeyVaultBeginSelectiveKeyRestoreOptions = {} ) { super(state, { cancelMessage: "Cancelling a selective Key Vault restore is not supported." }); } diff --git a/sdk/keyvault/keyvault-admin/src/tracingHelpers.ts b/sdk/keyvault/keyvault-admin/src/tracingHelpers.ts new file mode 100644 index 000000000000..a20a3f97ce31 --- /dev/null +++ b/sdk/keyvault/keyvault-admin/src/tracingHelpers.ts @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { OperationOptions } from "@azure/core-client"; +import { createSpanFunction, Span, SpanStatusCode } from "@azure/core-tracing"; + +/** + * An interface representing a function that is traced. + * + * A traced function will automatically create and close tracing ' + * spans as needed and will handle setting the status / errors as a + * result of calling the underlying callback. + * + * use {@link createTraceFunction} to add tracing to a block of code. + * + * @internal + */ +export interface TracedFunction { + ( + operationName: string, + options: TOptions, + cb: (options: TOptions, span: Span) => Promise + ): Promise; +} + +/** + * Returns a function that can be used for tracing options. + * + * @param prefix - The prefix to use, likely the name of the class / client. + * + * @example const withTrace = createTraceFunction("Azure.KeyVault.Certificates.CertificateClient") + * + * @internal + */ +export function createTraceFunction(prefix: string): TracedFunction { + const createSpan = createSpanFunction({ + namespace: "Microsoft.KeyVault", + packagePrefix: prefix + }); + + return async function(operationName, options, cb) { + const { updatedOptions, span } = createSpan(operationName, options); + + try { + // NOTE: we really do need to await on this function here so we can handle any exceptions thrown and properly + // close the span. + const result = await cb(updatedOptions, span); + + // otel 0.16+ needs this or else the code ends up being set as UNSET + span.setStatus({ + code: SpanStatusCode.OK + }); + return result; + } catch (err) { + span.setStatus({ + code: SpanStatusCode.ERROR, + message: err.message + }); + throw err; + } finally { + span.end(); + } + }; +} diff --git a/sdk/keyvault/keyvault-admin/swagger/README.md b/sdk/keyvault/keyvault-admin/swagger/README.md index 3f63cc06be80..fb6afb8b3fdf 100644 --- a/sdk/keyvault/keyvault-admin/swagger/README.md +++ b/sdk/keyvault/keyvault-admin/swagger/README.md @@ -4,11 +4,9 @@ ```yaml package-name: "@azure/keyvault-admin" -use-extension: - "@autorest/typescript": "6.0.0-alpha.20210527.9" azure-arm: false disable-async-iterators: true -use-core-v2: false +api-version-parameter: choice generate-metadata: false add-credentials: false license-header: MICROSOFT_MIT_NO_VERSION diff --git a/sdk/keyvault/keyvault-admin/test/internal/challengeAuthenticationCallbacks.spec.ts b/sdk/keyvault/keyvault-admin/test/internal/challengeAuthenticationCallbacks.spec.ts new file mode 100644 index 000000000000..d3c45efd043e --- /dev/null +++ b/sdk/keyvault/keyvault-admin/test/internal/challengeAuthenticationCallbacks.spec.ts @@ -0,0 +1,200 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import chai, { assert } from "chai"; +import chaiAsPromised from "chai-as-promised"; +chai.use(chaiAsPromised); +import { + createChallengeCallbacks, + parseWWWAuthenticate +} from "../../src/challengeAuthenticationCallbacks"; +import { + AuthorizeRequestOptions, + ChallengeCallbacks, + createHttpHeaders, + createPipelineRequest, + PipelineRequest +} from "@azure/core-rest-pipeline"; + +describe("Challenge based authentication tests", function() { + let request: PipelineRequest; + let challengeCallbacks: ChallengeCallbacks; + + beforeEach(() => { + request = createPipelineRequest({ url: "https://foo.bar" }); + challengeCallbacks = createChallengeCallbacks(); + }); + + describe("authorizeRequest", () => { + it("always starts the challenge on the first call", async () => { + let getAccessTokenCallCount = 0; + const options: AuthorizeRequestOptions = { + getAccessToken: () => { + getAccessTokenCallCount += 1; + return Promise.resolve({ token: "access_token", expiresOnTimestamp: 1000 }); + }, + request, + scopes: [] + }; + + await challengeCallbacks.authorizeRequest!(options); + + assert.notExists(options.request.headers.get("authorization")); + // We do not call getAccessToken on the first request + assert.equal(getAccessTokenCallCount, 0); + }); + + it("sets the authorization token if it gets one on subsequent calls", async () => { + let getAccessTokenCallCount = 0; + const options: AuthorizeRequestOptions = { + getAccessToken: () => { + getAccessTokenCallCount += 1; + return Promise.resolve({ token: "access_token", expiresOnTimestamp: 1000 }); + }, + request, + scopes: [] + }; + + // Set up the challenge state to complete by calling authorizeRequestOnChallenge first + await challengeCallbacks.authorizeRequestOnChallenge!({ + getAccessToken: () => { + return Promise.resolve({ token: "successful_token", expiresOnTimestamp: 999999999 }); + }, + request, + response: { + headers: createHttpHeaders({ + "WWW-Authenticate": `Bearer scope="cae_scope"` + }), + request, + status: 200 + }, + scopes: [] + }); + + await challengeCallbacks.authorizeRequest!(options); + + assert.equal(1, getAccessTokenCallCount); + assert.equal(options.request.headers.get("authorization"), "Bearer access_token"); + }); + + it("does not modify headers when unable to get access token", async () => { + const options: AuthorizeRequestOptions = { + getAccessToken: () => { + return Promise.resolve(null); + }, + request: createPipelineRequest({ + url: "https://foo.bar", + headers: createHttpHeaders() + }), + scopes: ["any_scope"] + }; + + await challengeCallbacks.authorizeRequest!(options); + + assert.notExists(options.request.headers.get("authorization")); + }); + }); + + describe("authorizeRequestOnChallenge", () => { + it("validates WWW-Authenticate exists", async () => { + await assert.isRejected( + challengeCallbacks.authorizeRequestOnChallenge!({ + getAccessToken: () => Promise.resolve(null), + request, + response: { + headers: createHttpHeaders(), + request, + status: 200 + }, + scopes: [] + }), + "Missing challenge" + ); + }); + + it("passes the correct scopes if provided", async () => { + let getAccessTokenScopes: string[] = []; + await challengeCallbacks.authorizeRequestOnChallenge!({ + getAccessToken: (scopes) => { + getAccessTokenScopes = scopes; + return Promise.resolve(null); + }, + request, + response: { + headers: createHttpHeaders({ + "WWW-Authenticate": `Bearer scope="cae_scope"` + }), + request, + status: 200 + }, + scopes: [] + }); + + assert.sameMembers(getAccessTokenScopes, ["cae_scope"]); + }); + + it("returns true and sets the authorization header if challenge succeeds", async () => { + const result = await challengeCallbacks.authorizeRequestOnChallenge!({ + getAccessToken: () => { + return Promise.resolve({ token: "successful_token", expiresOnTimestamp: 999999999 }); + }, + request, + response: { + headers: createHttpHeaders({ + "WWW-Authenticate": `Bearer scope="cae_scope"` + }), + request, + status: 200 + }, + scopes: [] + }); + assert.isTrue(result); + }); + + it("returns false and does not modify header if challenge fails", async () => { + const result = await challengeCallbacks.authorizeRequestOnChallenge!({ + getAccessToken: () => { + return Promise.resolve(null); + }, + request, + response: { + headers: createHttpHeaders({ + "WWW-Authenticate": `Bearer scope="cae_scope"` + }), + request, + status: 200 + }, + scopes: [] + }); + assert.isFalse(result); + }); + }); + + describe("parseWWWAuthenticate tests", () => { + it("Should work for known shapes of the WWW-Authenticate header", () => { + const wwwAuthenticate1 = `Bearer authorization="some_authorization", resource="https://some.url"`; + const parsed1 = parseWWWAuthenticate(wwwAuthenticate1); + assert.deepEqual(parsed1, { + authorization: "some_authorization", + resource: "https://some.url" + }); + + const wwwAuthenticate2 = `Bearer authorization="some_authorization", scope="https://some.url"`; + const parsed2 = parseWWWAuthenticate(wwwAuthenticate2); + assert.deepEqual(parsed2, { + authorization: "some_authorization", + scope: "https://some.url" + }); + }); + + it("Should ignore unknown values in the WWW-Authenticate header", () => { + const wwwAuthenticate1 = `Bearer authorization="some_authorization", resource="https://some.url" scope="scope", a="a", b="b"`; + const parsed1 = parseWWWAuthenticate(wwwAuthenticate1); + assert.deepEqual(parsed1, { + authorization: "some_authorization", + resource: "https://some.url", + scope: "scope" + }); + }); + }); +}); diff --git a/sdk/keyvault/keyvault-admin/test/internal/challengeBasedAuthenticationPolicy.spec.ts b/sdk/keyvault/keyvault-admin/test/internal/challengeBasedAuthenticationPolicy.spec.ts deleted file mode 100644 index 0b0b19324a58..000000000000 --- a/sdk/keyvault/keyvault-admin/test/internal/challengeBasedAuthenticationPolicy.spec.ts +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import * as assert from "assert"; -import Sinon, { createSandbox } from "sinon"; -import { env, Recorder } from "@azure/test-utils-recorder"; - -import { - AuthenticationChallengeCache, - AuthenticationChallenge, - parseWWWAuthenticate, - challengeBasedAuthenticationPolicy -} from "../../../keyvault-common/src"; -import { KeyVaultAccessControlClient } from "../../src"; -import { authenticate } from "../utils/authentication"; -import { WebResource } from "@azure/core-http"; -import { ClientSecretCredential } from "@azure/identity"; - -describe("Challenge based authentication tests", function() { - let client: KeyVaultAccessControlClient; - let recorder: Recorder; - let sandbox: Sinon.SinonSandbox; - - beforeEach(async function() { - const authentication = await authenticate(this); - client = authentication.accessControlClient; - recorder = authentication.recorder; - sandbox = createSandbox(); - }); - - afterEach(async function() { - sandbox.restore(); - await recorder.stop(); - }); - - it("Authentication should be idempotent", async function() { - const spy = sandbox.spy(AuthenticationChallengeCache.prototype, "setCachedChallenge"); - const spyEqualTo = sandbox.spy(AuthenticationChallenge.prototype, "equalTo"); - - const promises = [ - client.listRoleAssignments("/").next(), - client.listRoleAssignments("/").next() - ]; - await Promise.all(promises); - - // Even though we had multiple requests, only one authentication should have happened. - - // This is determined by the comparison between the cached challenge and the new receive challenge. - // So, AuthenticationChallenge's equalTo should have returned true at least once. - assert.ok(spyEqualTo.returned(true)); - - // The challenge should have been written to the cache exactly ONCE. - assert.equal(spy.getCalls().length, 1); - }); - - it("Once authenticated, new requests should not authenticate again", async function() { - const spy = sandbox.spy(AuthenticationChallengeCache.prototype, "setCachedChallenge"); - - await client.listRoleAssignments("/").next(); - await client.listRoleAssignments("/").next(); - - assert.equal(spy.getCalls().length, 1); - }); - - describe("parseWWWAuthenticate tests", () => { - it("Should work for known shapes of the WWW-Authenticate header", () => { - const wwwAuthenticate1 = `Bearer authorization="some_authorization", resource="https://some.url"`; - const parsed1 = parseWWWAuthenticate(wwwAuthenticate1); - assert.deepEqual(parsed1, { - authorization: "some_authorization", - resource: "https://some.url" - }); - - const wwwAuthenticate2 = `Bearer authorization="some_authorization", scope="https://some.url"`; - const parsed2 = parseWWWAuthenticate(wwwAuthenticate2); - assert.deepEqual(parsed2, { - authorization: "some_authorization", - scope: "https://some.url" - }); - }); - - it("Should skip unexpected properties on the WWW-Authenticate header", () => { - const wwwAuthenticate1 = `Bearer authorization="some_authorization", a="a", b="b"`; - const parsed1 = parseWWWAuthenticate(wwwAuthenticate1); - assert.deepEqual(parsed1, { - authorization: "some_authorization", - a: "a", - b: "b" - }); - - const wwwAuthenticate2 = `scope="https://some.url", a="a", c="c"`; - const parsed2 = parseWWWAuthenticate(wwwAuthenticate2); - assert.deepEqual(parsed2, { - scope: "https://some.url", - a: "a", - c: "c" - }); - }); - }); -}); - -describe("Local Challenge based authentication tests", () => { - it("should recover gracefully when a downstream policy fails", async () => { - // The simplest possible policy with a _nextPolicy that throws an error. - const credential = new ClientSecretCredential( - env.AZURE_TENANT_ID!, - env.AZURE_CLIENT_ID!, - env.AZURE_CLIENT_SECRET! - ); - - const policy = challengeBasedAuthenticationPolicy(credential).create( - { - sendRequest: () => { - throw new Error("Boom"); - } - }, - { log: () => null, shouldLog: () => false } - ); - - const request = new WebResource("https://portal.azure.com", "GET", "request body"); - - try { - await policy.sendRequest(request); - } catch (err) { - // the next policy throws - } - - assert.equal(request.body, "request body"); - }); -}); diff --git a/sdk/keyvault/keyvault-admin/test/internal/serviceVersionParameter.spec.ts b/sdk/keyvault/keyvault-admin/test/internal/serviceVersionParameter.spec.ts index fa9d7173d741..54111694573b 100644 --- a/sdk/keyvault/keyvault-admin/test/internal/serviceVersionParameter.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/internal/serviceVersionParameter.spec.ts @@ -5,7 +5,12 @@ import * as assert from "assert"; import { createSandbox, SinonSandbox, SinonSpy } from "sinon"; import { KeyVaultAccessControlClient, KeyVaultBackupClient } from "../../src"; import { LATEST_API_VERSION } from "../../src/constants"; -import { HttpClient, WebResourceLike, HttpOperationResponse, HttpHeaders } from "@azure/core-http"; +import { + PipelineRequest, + PipelineResponse, + createHttpHeaders, + HttpClient +} from "@azure/core-rest-pipeline"; import { ClientSecretCredential } from "@azure/identity"; import { env } from "@azure/test-utils-recorder"; import { URL } from "url"; @@ -13,19 +18,21 @@ import { URL } from "url"; // Adding this to the source would change the public API. type ApIVersions = "7.2"; +const baseUrl = "https://managed_hsm.managedhsm.azure.net/"; + describe("The keyvault-admin clients should set the serviceVersion", () => { function makeHTTPMock(path: string, status = 200): HttpClient { return { - async sendRequest(httpRequest: WebResourceLike): Promise { + async sendRequest(request: PipelineRequest): Promise { return { status, - headers: new HttpHeaders(), - request: httpRequest, - parsedBody: { - id: `${env.AZURE_MANAGEDHSM_URI}${path}`, + headers: createHttpHeaders(), + request: request, + bodyAsText: JSON.stringify({ + id: `${baseUrl}${path}`, startTime: new Date(), attributes: {} - } + }) }; } }; @@ -33,7 +40,7 @@ describe("The keyvault-admin clients should set the serviceVersion", () => { let mockHttpClient: HttpClient; let sandbox: SinonSandbox; - let spy: SinonSpy<[WebResourceLike], Promise>; + let spy: SinonSpy<[PipelineRequest], Promise>; let credential: ClientSecretCredential; beforeEach(async () => { @@ -56,7 +63,7 @@ describe("The keyvault-admin clients should set the serviceVersion", () => { }); it("it should default to the latest API version", async function() { - const client = new KeyVaultAccessControlClient(env.AZURE_MANAGEDHSM_URI, credential, { + const client = new KeyVaultAccessControlClient(baseUrl, credential, { httpClient: mockHttpClient }); await client.listRoleDefinitions("/").next(); @@ -69,7 +76,7 @@ describe("The keyvault-admin clients should set the serviceVersion", () => { it("it should allow us to specify an API version from a specific set of versions", async function() { const serviceVersion = "7.2"; - const client = new KeyVaultAccessControlClient(env.AZURE_MANAGEDHSM_URI, credential, { + const client = new KeyVaultAccessControlClient(baseUrl, credential, { serviceVersion: serviceVersion as ApIVersions, httpClient: mockHttpClient }); @@ -89,7 +96,7 @@ describe("The keyvault-admin clients should set the serviceVersion", () => { }); it("it should default to the latest API version", async function() { - const client = new KeyVaultBackupClient(env.AZURE_MANAGEDHSM_URI, credential, { + const client = new KeyVaultBackupClient(baseUrl, credential, { httpClient: mockHttpClient }); await client.beginBackup("secretName", "value"); @@ -102,7 +109,7 @@ describe("The keyvault-admin clients should set the serviceVersion", () => { it("it should allow us to specify an API version from a specific set of versions", async function() { const serviceVersion = "7.2"; - const client = new KeyVaultBackupClient(env.AZURE_MANAGEDHSM_URI, credential, { + const client = new KeyVaultBackupClient(baseUrl, credential, { serviceVersion: serviceVersion as ApIVersions, httpClient: mockHttpClient }); diff --git a/sdk/keyvault/keyvault-admin/test/internal/userAgent.spec.ts b/sdk/keyvault/keyvault-admin/test/internal/userAgent.spec.ts index 5e065f41721d..21c4bae829b1 100644 --- a/sdk/keyvault/keyvault-admin/test/internal/userAgent.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/internal/userAgent.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { SDK_VERSION } from "../../src/constants"; import { packageVersion } from "../../src/generated/keyVaultClientContext"; -import { isNode } from "@azure/core-http"; +import { isNode } from "@azure/core-util"; import path from "path"; import fs from "fs"; diff --git a/sdk/keyvault/keyvault-admin/test/public/accessControlClient.spec.ts b/sdk/keyvault/keyvault-admin/test/public/accessControlClient.spec.ts index 7599d4e74fd8..8b2d8ff8d970 100644 --- a/sdk/keyvault/keyvault-admin/test/public/accessControlClient.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/public/accessControlClient.spec.ts @@ -13,7 +13,7 @@ import { KnownKeyVaultDataAction } from "../../src"; import { authenticate } from "../utils/authentication"; -import { supportsTracing } from "../../../keyvault-common/test/utils/supportsTracing"; +import { supportsTracing } from "../utils/supportsTracing"; describe("KeyVaultAccessControlClient", () => { let client: KeyVaultAccessControlClient; diff --git a/sdk/keyvault/keyvault-admin/test/public/backupClient.spec.ts b/sdk/keyvault/keyvault-admin/test/public/backupClient.spec.ts index 65974f340f73..0e0c3bd55c7f 100644 --- a/sdk/keyvault/keyvault-admin/test/public/backupClient.spec.ts +++ b/sdk/keyvault/keyvault-admin/test/public/backupClient.spec.ts @@ -10,7 +10,7 @@ import { KeyVaultBackupClient } from "../../src"; import { authenticate } from "../utils/authentication"; import { testPollerProperties } from "../utils/recorder"; import { getSasToken } from "../utils/common"; -import { delay } from "@azure/core-http"; +import { delay } from "@azure/core-util"; import { assert } from "chai"; import { KeyClient } from "@azure/keyvault-keys"; @@ -68,7 +68,7 @@ describe("KeyVaultBackupClient", () => { "invalid_sas_token", testPollerProperties ); - await assert.isRejected(backupPoller.pollUntilDone(), /SAS token is malformed/); + await assert.isRejected(backupPoller.pollUntilDone(), /SAS token/); }); }); diff --git a/sdk/keyvault/keyvault-admin/test/utils/authentication.ts b/sdk/keyvault/keyvault-admin/test/utils/authentication.ts index 69723ab40af0..283769598593 100644 --- a/sdk/keyvault/keyvault-admin/test/utils/authentication.ts +++ b/sdk/keyvault/keyvault-admin/test/utils/authentication.ts @@ -8,7 +8,6 @@ import { v4 as uuidv4 } from "uuid"; import { KeyVaultAccessControlClient, KeyVaultBackupClient } from "../../src"; import { uniqueString } from "./recorder"; -import { DefaultHttpClient } from "@azure/core-http"; import { getEnvironmentVariable } from "./common"; export async function authenticate(that: any): Promise { @@ -67,11 +66,7 @@ export async function authenticate(that: any): Promise { const keyVaultHsmUrl = getEnvironmentVariable("AZURE_MANAGEDHSM_URI"); - // Passing a separate httpClient for every instance as a workaround - // for a caching issue when creating role assignments - const accessControlClient = new KeyVaultAccessControlClient(keyVaultHsmUrl, credential, { - httpClient: new DefaultHttpClient() - }); + const accessControlClient = new KeyVaultAccessControlClient(keyVaultHsmUrl, credential); const keyClient = new KeyClient(keyVaultHsmUrl, credential); const backupClient = new KeyVaultBackupClient(keyVaultHsmUrl, credential); diff --git a/sdk/keyvault/keyvault-admin/test/utils/recorder.ts b/sdk/keyvault/keyvault-admin/test/utils/recorder.ts index dce9de46df48..01d8abd3a2d4 100644 --- a/sdk/keyvault/keyvault-admin/test/utils/recorder.ts +++ b/sdk/keyvault/keyvault-admin/test/utils/recorder.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. import { isPlaybackMode } from "@azure/test-utils-recorder"; -import { isNode } from "@azure/core-http"; +import { isNode } from "@azure/core-util"; import * as dotenv from "dotenv"; if (isNode) { diff --git a/sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts b/sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts new file mode 100644 index 000000000000..da54ac21a98c --- /dev/null +++ b/sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts @@ -0,0 +1,44 @@ +import { + TestTracer, + setTracer, + setSpan, + context as otContext, + OperationTracingOptions +} from "@azure/core-tracing"; +import { assert } from "chai"; + +const prefix = "Azure.KeyVault"; + +export async function supportsTracing( + callback: (tracingOptions: OperationTracingOptions) => Promise, + children: string[] +): Promise { + const tracer = new TestTracer(); + setTracer(tracer); + const rootSpan = tracer.startSpan("root"); + const tracingContext = setSpan(otContext.active(), rootSpan); + + try { + await callback({ tracingContext }); + } finally { + rootSpan.end(); + } + + // Ensure any spans created by KeyVault are parented correctly + let rootSpans = tracer + .getRootSpans() + .filter((span) => span.name.startsWith(prefix) || span.name === "root"); + + assert.equal(rootSpans.length, 1, "Should only have one root span."); + assert.strictEqual(rootSpan, rootSpans[0], "The root span should match what was passed in."); + + // Ensure top-level children are created correctly. + // Testing the entire tree structure can be tricky as other packages might create their own spans. + const spanGraph = tracer.getSpanGraph(rootSpan.context().traceId); + const directChildren = spanGraph.roots[0].children.map((child) => child.name); + // LROs might poll N times, so we'll make a unique array and compare that. + assert.sameMembers(Array.from(new Set(directChildren)), children); + + // Ensure all spans are properly closed + assert.equal(tracer.getActiveSpans().length, 0, "All spans should have had end called"); +} diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index ac684a2f05e2..0b8f094eff08 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -109,7 +109,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 85cf47732d64..8ab2fdcf4e52 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -105,7 +105,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 240a9f8db14b..38938b255935 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -105,7 +105,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/metricsadvisor/ai-metrics-advisor/package.json b/sdk/metricsadvisor/ai-metrics-advisor/package.json index 4d36a57cb3b8..75715f6e56e3 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/package.json @@ -82,7 +82,7 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", "@azure/core-tracing": "1.0.0-preview.12", diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json index f38f05596497..e48cde45b46e 100644 --- a/sdk/storage/storage-blob-changefeed/package.json +++ b/sdk/storage/storage-blob-changefeed/package.json @@ -97,7 +97,7 @@ "@azure/storage-blob": "^12.6.0-beta.1", "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index d37bf39348e7..231a43507320 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -128,7 +128,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/synapse/synapse-artifacts/package.json b/sdk/synapse/synapse-artifacts/package.json index 693265ec8586..755b64f50394 100644 --- a/sdk/synapse/synapse-artifacts/package.json +++ b/sdk/synapse/synapse-artifacts/package.json @@ -7,7 +7,7 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-artifacts/README.md", "repository": "github:Azure/azure-sdk-for-js", "dependencies": { - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-http": "^1.2.0", "@azure/core-tracing": "1.0.0-preview.12", diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index eea2ced8bc95..8ab2efab712b 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -94,7 +94,7 @@ "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", "@azure/core-rest-pipeline": "^1.0.3", - "@azure/core-lro": "^1.0.2", + "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.11", "@azure/logger": "^1.0.0", From 56c744234fcd2a5482d99bd2b2bc9e9c34cf12c4 Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Wed, 23 Jun 2021 00:13:53 -0400 Subject: [PATCH 026/134] Skip rush update when runnign using pull request (#15907) --- eng/pipelines/aggregate-reports.yml | 45 +++++++++++++++-------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/eng/pipelines/aggregate-reports.yml b/eng/pipelines/aggregate-reports.yml index fd3a7fa9922d..7c5b825aceba 100644 --- a/eng/pipelines/aggregate-reports.yml +++ b/eng/pipelines/aggregate-reports.yml @@ -75,30 +75,31 @@ jobs: displayName: 'Publish Security Analysis Logs' condition: succeededOrFailed() -- job: 'RushUpdate' - variables: - - template: /eng/pipelines/templates/variables/globals.yml +- ${{ if eq(variables['Build.Reason'], 'Schedule') }}: + - job: 'RushUpdate' + variables: + - template: /eng/pipelines/templates/variables/globals.yml - pool: - name: azsdk-pool-mms-ubuntu-1804-general - vmImage: MMSUbuntu18.04 + pool: + name: azsdk-pool-mms-ubuntu-1804-general + vmImage: MMSUbuntu18.04 - steps: - - template: /eng/pipelines/templates/steps/common.yml + steps: + - template: /eng/pipelines/templates/steps/common.yml - - template: /eng/common/pipelines/templates/steps/set-default-branch.yml + - template: /eng/common/pipelines/templates/steps/set-default-branch.yml - - script: | - node common/scripts/install-run-rush.js install - node common/scripts/install-run-rush.js update --recheck - displayName: "Run Rush Update" + - script: | + node common/scripts/install-run-rush.js install + node common/scripts/install-run-rush.js update --recheck + displayName: "Run Rush Update" - - template: /eng/common/pipelines/templates/steps/create-pull-request.yml - parameters: - RepoName: azure-sdk-for-js - BaseBranchName: $(DefaultBranch) - PRBranchName: automated-rush-update - CommitMsg: "Automatic rush update recheck" - PRTitle: "Automatic rush update" - PRBody: "Automatic rush update PR" - PushArgs: "-f" + - template: /eng/common/pipelines/templates/steps/create-pull-request.yml + parameters: + RepoName: azure-sdk-for-js + BaseBranchName: $(DefaultBranch) + PRBranchName: automated-rush-update + CommitMsg: "Automatic rush update recheck" + PRTitle: "Automatic rush update" + PRBody: "Automatic rush update PR" + PushArgs: "-f" From 5728f70f94b9baf6e360f131c829b59c151d8c13 Mon Sep 17 00:00:00 2001 From: Will Temple Date: Tue, 22 Jun 2021 21:41:01 -0700 Subject: [PATCH 027/134] Move to @azure/msal-node-extensions 1.0.0-alpha.7 (#15908) * Move to @azure/msal-node-extensions 1.0.0-alpha.7 This version unpins the `keytar` dependency, resolving build issues for some developers, and allowing keytar 7.7.0 (which uses NAPI, reducing prebuild complexity). * Update pnpm-lock --- common/config/rush/pnpm-lock.yaml | 52 +++---------------- .../identity-cache-persistence/package.json | 2 +- 2 files changed, 8 insertions(+), 46 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 83efa376954e..b44bf6ca5f5c 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -622,18 +622,18 @@ packages: node: '>=0.8.0' resolution: integrity: sha512-jFqUWe83wVb6O8cNGGBFg2QlKvqM1ezUgJTEV7kIsAPX0RXhGFE4B1DLNt6hCnkTXDbw+KGW0zgxOEr4MJQwLw== - /@azure/msal-node-extensions/1.0.0-alpha.6: + /@azure/msal-node-extensions/1.0.0-alpha.7: dependencies: '@azure/msal-common': 1.7.2 bindings: 1.5.0 - keytar: 7.0.0 + keytar: 7.7.0 nan: 2.14.2 dev: false engines: node: '>=10' requiresBuild: true resolution: - integrity: sha512-fVufHc02C+daYOMAHBnE998abB4qUIeJ9gmTxmSelHhGfBGvvzMbCohCu4sTlSVDKUndF3yD/Nxvw/cEtpcZKg== + integrity: sha512-fz+4sTFCnpFDYrJ/FrJ3bx3atUEQ5sUhsZYohUyC9yACxII9kn908hBsxl+xeuzheTN/bq45EZureMioSEogNw== /@azure/msal-node/1.0.0-beta.6: dependencies: '@azure/msal-common': 4.3.0 @@ -5075,14 +5075,6 @@ packages: debug: '*' resolution: integrity: sha512-hbhRogUYIulfkBTZT7xoPrCYhRBnBoqbbL4fszWD0ReFGUxU+LYBr3dwKdAluaDQ/ynT9/7C+Lf7pPNW4gSx4Q== - /keytar/7.0.0: - dependencies: - node-addon-api: 3.2.1 - prebuild-install: 5.3.5 - dev: false - requiresBuild: true - resolution: - integrity: sha512-uvmdb5ZE2NgegcUDrmhutI9BUh+bTbt8+bwPliOMiLiWmrV76Tfg6DyI7Ud903a/4xlkJpKGnR0TyRpRyFOc3A== /keytar/7.7.0: dependencies: node-addon-api: 3.2.1 @@ -5633,10 +5625,6 @@ packages: dev: false resolution: integrity: sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg== - /noop-logger/0.1.1: - dev: false - resolution: - integrity: sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI= /normalize-package-data/2.5.0: dependencies: hosted-git-info: 2.8.9 @@ -6101,29 +6089,6 @@ packages: node: '>=4' resolution: integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== - /prebuild-install/5.3.5: - dependencies: - detect-libc: 1.0.3 - expand-template: 2.0.3 - github-from-package: 0.0.0 - minimist: 1.2.5 - mkdirp: 0.5.5 - napi-build-utils: 1.0.2 - node-abi: 2.30.0 - noop-logger: 0.1.1 - npmlog: 4.1.2 - pump: 3.0.0 - rc: 1.2.8 - simple-get: 3.1.0 - tar-fs: 2.1.1 - tunnel-agent: 0.6.0 - which-pm-runs: 1.0.0 - dev: false - engines: - node: '>=6' - hasBin: true - resolution: - integrity: sha512-YmMO7dph9CYKi5IR/BzjOJlRzpxGGVo1EsLSUZ0mt/Mq0HWZIHOKHHcHdT69yG54C9m6i45GpItwRHpk0Py7Uw== /prebuild-install/6.1.3: dependencies: detect-libc: 1.0.3 @@ -7830,10 +7795,6 @@ packages: dev: false resolution: integrity: sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= - /which-pm-runs/1.0.0: - dev: false - resolution: - integrity: sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= /which-typed-array/1.1.4: dependencies: available-typed-arrays: 1.0.4 @@ -9299,6 +9260,7 @@ packages: version: 0.0.0 file:projects/core-rest-pipeline.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -9347,7 +9309,7 @@ packages: dev: false name: '@rush-temp/core-rest-pipeline' resolution: - integrity: sha512-B30gNDjvYMKn9TTL3Li38tIe02Gn9y/2pz9MLrKoWFzITzyQwaht729dCk6oSYXfesN+LipPoM26kw5lkOQ0rg== + integrity: sha512-zojuz/HSp53v8H/nOSzpSDLTCo1p6cjkcVQ+F4bNKUJ6TPNNKlo7++PBthtyS8TT/rwXhpIAeKuke+RaifY1fA== tarball: file:projects/core-rest-pipeline.tgz version: 0.0.0 file:projects/core-tracing.tgz: @@ -9969,7 +9931,7 @@ packages: file:projects/identity-cache-persistence.tgz: dependencies: '@azure/msal-node': 1.1.0 - '@azure/msal-node-extensions': 1.0.0-alpha.6 + '@azure/msal-node-extensions': 1.0.0-alpha.7 '@microsoft/api-extractor': 7.7.11 '@types/jws': 3.2.3 '@types/mocha': 7.0.2 @@ -9997,7 +9959,7 @@ packages: dev: false name: '@rush-temp/identity-cache-persistence' resolution: - integrity: sha512-4kcOh05iPn1Q/OPFhlcPgE8+2HNI/hTed17+qMabC68jt8SzX7c1Llhiu8uJfmrvyg/ws83dgWnd38dEYDDqEA== + integrity: sha512-ghvnAviHt/DkYNKLTDyXUyBHUwHzsJNUjxEfu0BDFigjI3GIhL4sj4b9tC1zM/BEz5WcX+iNwGyyxli9rpQ/qA== tarball: file:projects/identity-cache-persistence.tgz version: 0.0.0 file:projects/identity-vscode.tgz: diff --git a/sdk/identity/identity-cache-persistence/package.json b/sdk/identity/identity-cache-persistence/package.json index 51b9ca4cc660..fb5ec5b295e2 100644 --- a/sdk/identity/identity-cache-persistence/package.json +++ b/sdk/identity/identity-cache-persistence/package.json @@ -67,7 +67,7 @@ "@azure/core-auth": "^1.3.0", "@azure/identity": "^2.0.0-beta.4", "@azure/msal-node": "^1.1.0", - "@azure/msal-node-extensions": "1.0.0-alpha.6", + "@azure/msal-node-extensions": "1.0.0-alpha.7", "keytar": "^7.6.0", "tslib": "^2.2.0" }, From 023db761eab32465660b3b276e259d0dc8af5349 Mon Sep 17 00:00:00 2001 From: luc <44377201+LuChen-Microsoft@users.noreply.github.com> Date: Wed, 23 Jun 2021 11:28:45 -0700 Subject: [PATCH 028/134] [Communication]Feature: add sender display name within send typing notifications (#15731) * Feature: add sender display name within send typing notifications * update Changelog * update signaling package * update swagger file --- common/config/rush/pnpm-lock.yaml | 34 +++---- .../communication-chat/CHANGELOG.md | 1 + .../communication-chat/package.json | 2 +- ...cording_successfully_creates_a_thread.json | 12 +-- ...cording_successfully_deletes_a_thread.json | 4 +- ...uccessfully_retrieves_a_thread_client.json | 2 +- ...ording_successfully_adds_participants.json | 8 +- ...ording_successfully_deletes_a_message.json | 4 +- ...ccessfully_gets_the_thread_properties.json | 6 +- ...cessfully_intializes_chatthreadclient.json | 12 +-- ...recording_successfully_lists_messages.json | 6 +- ...rding_successfully_lists_participants.json | 6 +- ...ding_successfully_lists_read_receipts.json | 6 +- ...ing_successfully_remove_a_participant.json | 6 +- ...ding_successfully_retrieves_a_message.json | 6 +- ...ecording_successfully_sends_a_message.json | 8 +- ...rding_successfully_sends_read_receipt.json | 6 +- ...uccessfully_sends_typing_notification.json | 6 +- ...successfully_updates_the_thread_topic.json | 8 +- ...recording_successfully_creates_a_thread.js | 40 ++++---- ...recording_successfully_deletes_a_thread.js | 12 +-- ..._successfully_retrieves_a_thread_client.js | 2 +- ...ecording_successfully_adds_participants.js | 24 ++--- ...ecording_successfully_deletes_a_message.js | 12 +-- ...successfully_gets_the_thread_properties.js | 14 +-- ...uccessfully_intializes_chatthreadclient.js | 40 ++++---- .../recording_successfully_lists_messages.js | 14 +-- ...cording_successfully_lists_participants.js | 14 +-- ...ording_successfully_lists_read_receipts.js | 14 +-- ...rding_successfully_remove_a_participant.js | 12 +-- ...ording_successfully_retrieves_a_message.js | 14 +-- .../recording_successfully_sends_a_message.js | 16 ++-- ...cording_successfully_sends_read_receipt.js | 12 +-- ..._successfully_sends_typing_notification.js | 14 +-- ...g_successfully_updates_the_thread_topic.js | 24 ++--- .../review/communication-chat.api.md | 4 +- .../src/chatThreadClient.ts | 11 ++- .../src/generated/src/models/index.ts | 13 +++ .../src/generated/src/models/mappers.ts | 15 +++ .../src/generated/src/models/parameters.ts | 6 ++ .../generated/src/operations/chatThread.ts | 95 ++++++++++--------- .../communication-chat/src/models/options.ts | 5 +- .../communication-chat/swagger/README.md | 2 +- .../internal/chatThreadClient.mocked.spec.ts | 19 ++++ 44 files changed, 329 insertions(+), 262 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index b44bf6ca5f5c..31ffdb1860f2 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -183,7 +183,7 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-fa220+fQn27JN8QtajeMe88rqrJn3qctT/8FV/abJe6tSBJlAWYXOHiIF3nCgSeyIb5F9pi7Fycd9M55OY4O9w== - /@azure/communication-signaling/1.0.0-beta.5: + /@azure/communication-signaling/1.0.0-beta.6: dependencies: '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.9 @@ -195,7 +195,7 @@ packages: engines: node: '>=8.0.0' resolution: - integrity: sha512-pGXI4F5OVzdM9Omg5fiflA/Vvs88qqER/ZxNj3PoWAdaYIPkWGb86OClbB0VsHi6gZ4ZDzyTP/l9hrREBuBYRA== + integrity: sha512-4ejoRfG3Xb9BBjOT7T930me60EMMpB0OBHkdwJmrCA8SlEIJ8YcnmKYWJL+ocI8EMtOGRI/vu2FB4yYdYERXyg== /@azure/core-asynciterator-polyfill/1.0.0: dev: false resolution: @@ -8287,7 +8287,7 @@ packages: dev: false name: '@rush-temp/ai-form-recognizer' resolution: - integrity: sha512-Srr3ktLMdIW3tZsNv7fS4ATz06mhYaWC760VUvo3d/p31RGT0DXFlKyL9TAOMEPMl8Qd4kUZB7yP0hgEHHRxXA== + integrity: sha512-cZozO8m3e5wJ5clV7rFbEMfhe7gj+3cmqPcOrgoBiCQ4c4yQFD/lP7srZMlqM6zaIThKh6Yt5YkzUX1nrdahcw== tarball: file:projects/ai-form-recognizer.tgz version: 0.0.0 file:projects/ai-metrics-advisor.tgz: @@ -8331,7 +8331,7 @@ packages: dev: false name: '@rush-temp/ai-metrics-advisor' resolution: - integrity: sha512-l8niJqS6qP7ELTJPG2ytZ4h7o2GVgby/RxIdw7SyeEbHw46Tif/LoIzU1EVuKLD1PqEm4D2UdG946JeyvGtL0A== + integrity: sha512-JMwh8/HxWV1MhZ3lnPMve/8d95HROYOC+Z89D1zRzcr2LnSYQfDgFbIphKN7tqk7l+C+jFwELsFDwG7SWzmx0Q== tarball: file:projects/ai-metrics-advisor.tgz version: 0.0.0 file:projects/ai-text-analytics.tgz: @@ -8379,7 +8379,7 @@ packages: dev: false name: '@rush-temp/ai-text-analytics' resolution: - integrity: sha512-pHEcNgFDgMHovkQb65+IbokkB/WfAGg6sRD8sCXucVxtJQqDhrQRFePdXg6zNw8FJbt0HKSPvAV5F26fzmZV7Q== + integrity: sha512-vBEf8TUObUkBdOduEKEuN3V17KT8ax/MycFhx+fo4Qs34iJMqX/YIAIAme/QvDvdWCtf1PrEk+Ep66/2Us6Ppw== tarball: file:projects/ai-text-analytics.tgz version: 0.0.0 file:projects/app-configuration.tgz: @@ -8493,7 +8493,8 @@ packages: file:projects/communication-chat.tgz: dependencies: '@azure/communication-identity': 1.0.0 - '@azure/communication-signaling': 1.0.0-beta.5 + '@azure/communication-signaling': 1.0.0-beta.6 + '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8542,7 +8543,7 @@ packages: dev: false name: '@rush-temp/communication-chat' resolution: - integrity: sha512-M48ACwIHKYHqfp3DLWqmPoLqgOdPLu1M5ew2gQh9riQdJuYKCkfwridZssYv1R+GrVRHIQgOGGV9LwPTXn9vRg== + integrity: sha512-TbNfdBPlkCqa1Ex1ZDR7akp5ILR/faYeTq54BII+aFgN12J2GoGgayYzQkXQc/8jlBU2wBaZld5uROkdlNAGUw== tarball: file:projects/communication-chat.tgz version: 0.0.0 file:projects/communication-common.tgz: @@ -8647,7 +8648,7 @@ packages: dev: false name: '@rush-temp/communication-identity' resolution: - integrity: sha512-DU3BXq1v9EwcqeGfsIhi8ILI2Eacn/lzjpY+kT9lUeVWrWdrcKu+GqLU/Nwohx49C28DNqUAHNtwCmuW+pa3Xw== + integrity: sha512-JAq+J4bnU999yJ1xDMY33cUBRvPMMO8SaOflGAECSC+3CQAwiW/JxryHFlpwaA8lWqhmbgJMT1J/pSiTAqigFg== tarball: file:projects/communication-identity.tgz version: 0.0.0 file:projects/communication-network-traversal.tgz: @@ -8752,7 +8753,7 @@ packages: dev: false name: '@rush-temp/communication-phone-numbers' resolution: - integrity: sha512-flZAFiS2wvGEEBPwghkL7qsPkJGsNzAwFXteSh6ESKbZ+DeeRETVyCN5ItiL93I5PDZup3Iqfv8nR3tuuOWoRQ== + integrity: sha512-e4wloANn5FgQplBYioWale2py47636k+n9AhvBxEv2zYAAGT8h6Y6fDAUUu+2ghFZGZQ5r9wAplzJG+T69E3Qw== tarball: file:projects/communication-phone-numbers.tgz version: 0.0.0 file:projects/communication-sms.tgz: @@ -10124,6 +10125,7 @@ packages: version: 0.0.0 file:projects/keyvault-admin.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.11 '@azure/keyvault-keys': 4.2.1 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -10163,7 +10165,7 @@ packages: dev: false name: '@rush-temp/keyvault-admin' resolution: - integrity: sha512-pvrTD1Fp+QI8mhhePrtbSOrwrAtGzwdsrnWHphylLXk5ihA3CMCKTQgwiWKN5juadDQ7ikbdtgTnMDegyNq5dA== + integrity: sha512-JqYaBoRx4c9WwiPxa1JEbi0nMsGstpFmr73TeJ9toZkQK8BEd/jKFJTe3sUbm+DbxoBh2PbT1Fc+fGhC/+MGew== tarball: file:projects/keyvault-admin.tgz version: 0.0.0 file:projects/keyvault-certificates.tgz: @@ -10220,7 +10222,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-DHF+8x775VowWkTR284qcDoRPR0ADBERVWkB4alQE6Qf8Xl8Wfg7QGSAZAzPjTgtw4vmZaHL9c9EzysyEQNqrA== + integrity: sha512-q9D1kEeUD+ZVft65Cy2mrzcf/V1RHCvwKNhMqN+Y4jFAEVMHADxIoFbXHkjpBQStioMCR0ydk2OS7x1t1GBahQ== tarball: file:projects/keyvault-certificates.tgz version: 0.0.0 file:projects/keyvault-common.tgz: @@ -10291,7 +10293,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-RgDNeqtWdvrmIBrwvvmV8S3LhGNTgxrEpNITdH3ELrzK25OQmDgbB+38oDqk9b8xCpbEAar7d1vyfsPYsubFiw== + integrity: sha512-pUChOaNDr/umom/rVHeSgyfxRGweU8oP32WL1r882KNYnXg5q5HQIJ4RXz+HF9xX1aMqyBgvdAJubaKIEZrYWA== tarball: file:projects/keyvault-keys.tgz version: 0.0.0 file:projects/keyvault-secrets.tgz: @@ -10347,7 +10349,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-W6y3Hbxq5NJm4gUSeJRCPrefdvdyKdGwwnX83QpXUyv0+/e2cjUNtLSPcubfwqp08+lA4CRkFxhC5SA1rtIMPw== + integrity: sha512-D1laiUgAUGtDk6TKiiEAXE4uwusgDMoRRQ3pDZ2U9olRZR0HAfc/NaCKFyOaKGc4k3iMc1E9uO/q4TEBdb41TA== tarball: file:projects/keyvault-secrets.tgz version: 0.0.0 file:projects/logger.tgz: @@ -11182,7 +11184,7 @@ packages: dev: false name: '@rush-temp/storage-blob-changefeed' resolution: - integrity: sha512-TAYIp08XH6wUYN0Q7phk+InW7NcAf3Yc5iUEooKGwygVPjwyQJ1DwX5lRdHERwU5njCtdpK4plnV1H8l5GOFmQ== + integrity: sha512-ArM0rdnKrpM+JYqEanwwlK2vDlT9qYw/vTS8kRKsneHFcWIqf8VefCbhMS961NxEhyoU0vXmpqMIcPo9xlpMFg== tarball: file:projects/storage-blob-changefeed.tgz version: 0.0.0 file:projects/storage-blob.tgz: @@ -11240,7 +11242,7 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-IoUxzovMJaRnbE5J0Cex9+20xg62IW1junKpaph1XELiwsT+RD/c6Ecim/aVDuX1lQuNykZfbMayUWw+4JQtfw== + integrity: sha512-NsJl51NIeTjZIH4PEFIwPFjwkUy6TxsicsHzY0I9umf7iMZ9Lw1zAwiyKGnaQzRVhs0Eacdc0iEtQpP4lf91lA== tarball: file:projects/storage-blob.tgz version: 0.0.0 file:projects/storage-file-datalake.tgz: @@ -11524,7 +11526,7 @@ packages: dev: false name: '@rush-temp/synapse-artifacts' resolution: - integrity: sha512-wmrO52GPGKpUtaBRypEqdktg4lIsmTVxG3QsW5TeKk2hzID2BPW/WB2Q+yyiRmVAsbeqwBv90khanONpg2fOow== + integrity: sha512-vt9kUozRHF9Bo1L4dUupFdfDtnLDMChwVh+/aJ1YWAXDAqoPa6Bl1JWdz/7ENOwqfdt3GxZjWD5uQ0QzyZNUzQ== tarball: file:projects/synapse-artifacts.tgz version: 0.0.0 file:projects/synapse-managed-private-endpoints.tgz: diff --git a/sdk/communication/communication-chat/CHANGELOG.md b/sdk/communication/communication-chat/CHANGELOG.md index d2b6cfe2e2ca..93b12372d659 100644 --- a/sdk/communication/communication-chat/CHANGELOG.md +++ b/sdk/communication/communication-chat/CHANGELOG.md @@ -4,6 +4,7 @@ ### Added - Added support to add `metadata` for `message` +- Added `senderDisplayName` in `sendTypingNotification` operation. ## 1.0.1 (Unreleased) diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index cf43a25914f2..0103976d0e27 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -66,7 +66,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/communication-common": "^1.0.0", - "@azure/communication-signaling": "1.0.0-beta.5", + "@azure/communication-signaling": "1.0.0-beta.6", "@azure/core-auth": "^1.3.0", "@azure/core-http": "^1.2.0", "@azure/core-tracing": "1.0.0-preview.12", diff --git a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_creates_a_thread.json b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_creates_a_thread.json index 5df3f2facd8e..6d71868387cf 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_creates_a_thread.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_creates_a_thread.json @@ -8,7 +8,7 @@ }, "requestBody": "{\"createTokenWithScopes\":[\"chat\"]}", "status": 201, - "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-10bb-2e7c-5b3a0d000547\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-05-12T18:24:33.5765816+00:00\"}}", + "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-d37b-a175-5b3a0d00095e\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-06-15T21:15:32.740112+00:00\"}}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -21,7 +21,7 @@ }, "requestBody": "{\"createTokenWithScopes\":[\"chat\"]}", "status": 201, - "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-129f-2e7c-5b3a0d000548\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-05-12T18:24:33.0606174+00:00\"}}", + "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-d4d2-a175-5b3a0d00095f\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-06-15T21:15:32.2007476+00:00\"}}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -32,12 +32,12 @@ "query": { "api-version": "2021-04-05-preview6" }, - "requestBody": "{\"topic\":\"test topic\",\"participants\":[{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-10bb-2e7c-5b3a0d000547\"}}},{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-129f-2e7c-5b3a0d000548\"}}}]}", + "requestBody": "{\"topic\":\"test topic\",\"participants\":[{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-d37b-a175-5b3a0d00095e\"}}},{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-d4d2-a175-5b3a0d00095f\"}}}]}", "status": 201, - "response": "{\"chatThread\":{\"id\":\"19:3VBfD6wcJOmvbsDwk6pz-G49K-cppJh3qreDihMUhCY1@thread.v2\",\"topic\":\"test topic\",\"createdOn\":\"2021-05-11T18:24:35Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-10bb-2e7c-5b3a0d000547\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-10bb-2e7c-5b3a0d000547\"}}}}", + "response": "{\"chatThread\":{\"id\":\"19:iRzzqpzkmJXzcaLJkgL2aAN1h4_lky7dstdUyqpd8781@thread.v2\",\"topic\":\"test topic\",\"createdOn\":\"2021-06-14T21:15:34Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-d37b-a175-5b3a0d00095e\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-d37b-a175-5b3a0d00095e\"}}}}", "responseHeaders": { "content-type": "application/json; charset=utf-8", - "location": "https://endpoint/chat/threads/19%3A3VBfD6wcJOmvbsDwk6pz-G49K-cppJh3qreDihMUhCY1@thread.v2" + "location": "https://endpoint/chat/threads/19%3AiRzzqpzkmJXzcaLJkgL2aAN1h4_lky7dstdUyqpd8781@thread.v2" } } ], @@ -45,5 +45,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e855b5b88d976e0d32b1b77a9ce5a3e4" + "hash": "75c58be21382fa1cd54bdb4d5ba6613f" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_deletes_a_thread.json b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_deletes_a_thread.json index 2d7e9ca45a70..5b2fda185dca 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_deletes_a_thread.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_deletes_a_thread.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "DELETE", - "url": "https://endpoint/chat/threads/19%3A3VBfD6wcJOmvbsDwk6pz-G49K-cppJh3qreDihMUhCY1%40thread.v2", + "url": "https://endpoint/chat/threads/19%3AiRzzqpzkmJXzcaLJkgL2aAN1h4_lky7dstdUyqpd8781%40thread.v2", "query": { "api-version": "2021-04-05-preview6" }, @@ -16,5 +16,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "5e2c24f10895e25d8dfbb138a4efeecf" + "hash": "d92e9933f70ad2f7603e66a7ff1778d9" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_retrieves_a_thread_client.json b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_retrieves_a_thread_client.json index aeccb57eb5ec..af9dffbfe884 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_retrieves_a_thread_client.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatclient_chat_operations/recording_successfully_retrieves_a_thread_client.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "290218e7f8a4e1f9825ff61916362281" + "hash": "a36a212bc11b0a17347477fcea93e6c1" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_adds_participants.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_adds_participants.json index c35aa9c43070..392eb14c6e0f 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_adds_participants.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_adds_participants.json @@ -8,18 +8,18 @@ }, "requestBody": "{\"createTokenWithScopes\":[\"chat\"]}", "status": 201, - "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-36a0-2e7c-5b3a0d00054b\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-05-12T18:24:43.2776308+00:00\"}}", + "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-f300-a175-5b3a0d000962\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-06-15T21:15:40.7781366+00:00\"}}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } }, { "method": "POST", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/participants/:add", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/participants/:add", "query": { "api-version": "2021-04-05-preview6" }, - "requestBody": "{\"participants\":[{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-36a0-2e7c-5b3a0d00054b\"}}}]}", + "requestBody": "{\"participants\":[{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-f300-a175-5b3a0d000962\"}}}]}", "status": 201, "response": "{}", "responseHeaders": { @@ -31,5 +31,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "3baf472ac677417b8a106dc2089d3603" + "hash": "1acc5822935d074991440c6953c4cefd" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_deletes_a_message.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_deletes_a_message.json index eb154173fb34..33f3cc434e7c 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_deletes_a_message.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_deletes_a_message.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "DELETE", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/messages/1620757481104", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/messages/1623705338819", "query": { "api-version": "2021-04-05-preview6" }, @@ -16,5 +16,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "686b31ba5694682918295afb722fc715" + "hash": "4df622d771cf4f64d29813ba82281467" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_gets_the_thread_properties.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_gets_the_thread_properties.json index cf15a94fbb83..20273379bb67 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_gets_the_thread_properties.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_gets_the_thread_properties.json @@ -2,13 +2,13 @@ "recordings": [ { "method": "GET", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2", "query": { "api-version": "2021-04-05-preview6" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"19:46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1@thread.v2\",\"topic\":\"test topic\",\"createdOn\":\"2021-05-11T18:24:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}}}", + "response": "{\"id\":\"19:3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1@thread.v2\",\"topic\":\"test topic\",\"createdOn\":\"2021-06-14T21:15:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}}}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -18,5 +18,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "93eb0c58e662554adf0a0b1652cba863" + "hash": "1255c8a418e21e86e003cd7e7b6512e6" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_intializes_chatthreadclient.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_intializes_chatthreadclient.json index d567287852bf..85327b4ba07d 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_intializes_chatthreadclient.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_intializes_chatthreadclient.json @@ -8,7 +8,7 @@ }, "requestBody": "{\"createTokenWithScopes\":[\"chat\"]}", "status": 201, - "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-05-12T18:24:36.4340408+00:00\"}}", + "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-06-15T21:15:35.028116+00:00\"}}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -21,7 +21,7 @@ }, "requestBody": "{\"createTokenWithScopes\":[\"chat\"]}", "status": 201, - "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1dbf-2e7c-5b3a0d00054a\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-05-12T18:24:36.9100628+00:00\"}}", + "response": "{\"identity\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dd19-a175-5b3a0d000961\"},\"accessToken\":{\"token\":\"token\",\"expiresOn\":\"2021-06-15T21:15:35.3191043+00:00\"}}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -32,12 +32,12 @@ "query": { "api-version": "2021-04-05-preview6" }, - "requestBody": "{\"topic\":\"test topic\",\"participants\":[{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}}},{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1dbf-2e7c-5b3a0d00054a\"}}}]}", + "requestBody": "{\"topic\":\"test topic\",\"participants\":[{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}}},{\"communicationIdentifier\":{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dd19-a175-5b3a0d000961\"}}}]}", "status": 201, - "response": "{\"chatThread\":{\"id\":\"19:46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1@thread.v2\",\"topic\":\"test topic\",\"createdOn\":\"2021-05-11T18:24:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}}}}", + "response": "{\"chatThread\":{\"id\":\"19:3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1@thread.v2\",\"topic\":\"test topic\",\"createdOn\":\"2021-06-14T21:15:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}}}}", "responseHeaders": { "content-type": "application/json; charset=utf-8", - "location": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1@thread.v2" + "location": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1@thread.v2" } } ], @@ -45,5 +45,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "add3d465020bc54dc349b9d94eed0ede" + "hash": "050eee3ce4986bf0451df10b71a24329" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_messages.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_messages.json index 0b10ae187743..ee0b8fc0035e 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_messages.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_messages.json @@ -2,13 +2,13 @@ "recordings": [ { "method": "GET", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/messages", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/messages", "query": { "api-version": "2021-04-05-preview6" }, "requestBody": null, "status": 200, - "response": "{\"value\":[{\"id\":\"1620757481104\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1620757481104\",\"content\":{\"message\":\"content\"},\"senderDisplayName\":\"\",\"createdOn\":\"2021-05-11T18:24:41Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}},\"metadata\":{\"tags\":\"sometag\"}},{\"id\":\"1620757480073\",\"type\":\"topicUpdated\",\"sequenceId\":\"3\",\"version\":\"1620757480073\",\"content\":{\"topic\":\"new topic\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}}},\"createdOn\":\"2021-05-11T18:24:40Z\"},{\"id\":\"1620757478791\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1620757478791\",\"content\":{\"topic\":\"test topic\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}}},\"createdOn\":\"2021-05-11T18:24:38Z\"},{\"id\":\"1620757478760\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1620757478760\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1dbf-2e7c-5b3a0d00054a\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1dbf-2e7c-5b3a0d00054a\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}}},\"createdOn\":\"2021-05-11T18:24:38Z\"}]}", + "response": "{\"value\":[{\"id\":\"1623705338819\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623705338819\",\"content\":{\"message\":\"content\"},\"senderDisplayName\":\"\",\"createdOn\":\"2021-06-14T21:15:38Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}},\"metadata\":{\"tags\":\"sometag\"}},{\"id\":\"1623705338037\",\"type\":\"topicUpdated\",\"sequenceId\":\"3\",\"version\":\"1623705338037\",\"content\":{\"topic\":\"new topic\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}}},\"createdOn\":\"2021-06-14T21:15:38Z\"},{\"id\":\"1623705336897\",\"type\":\"topicUpdated\",\"sequenceId\":\"2\",\"version\":\"1623705336897\",\"content\":{\"topic\":\"test topic\",\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}}},\"createdOn\":\"2021-06-14T21:15:36Z\"},{\"id\":\"1623705336834\",\"type\":\"participantAdded\",\"sequenceId\":\"1\",\"version\":\"1623705336834\",\"content\":{\"participants\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dd19-a175-5b3a0d000961\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dd19-a175-5b3a0d000961\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}],\"initiatorCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}}},\"createdOn\":\"2021-06-14T21:15:36Z\"}]}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -18,5 +18,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a9daf86e170a3076a437fcfb30c0098b" + "hash": "c4116140d3be1b4ed41313e241897dd7" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_participants.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_participants.json index 30e93ee9ea62..674d4f1ee98d 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_participants.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_participants.json @@ -2,13 +2,13 @@ "recordings": [ { "method": "GET", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/participants", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/participants", "query": { "api-version": "2021-04-05-preview6" }, "requestBody": null, "status": 200, - "response": "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1dbf-2e7c-5b3a0d00054a\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1dbf-2e7c-5b3a0d00054a\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-36a0-2e7c-5b3a0d00054b\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-36a0-2e7c-5b3a0d00054b\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", + "response": "{\"value\":[{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dd19-a175-5b3a0d000961\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dd19-a175-5b3a0d000961\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"},{\"communicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-f300-a175-5b3a0d000962\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-f300-a175-5b3a0d000962\"}},\"shareHistoryTime\":\"1970-01-01T00:00:00Z\"}]}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -18,5 +18,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "79a38c810c223a8b25e83ef1eef1419f" + "hash": "f4cc3c6bd04fd6621cf0a53395745ca9" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_read_receipts.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_read_receipts.json index 859aa624299e..21f690b38fff 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_read_receipts.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_lists_read_receipts.json @@ -2,13 +2,13 @@ "recordings": [ { "method": "GET", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/readReceipts", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/readReceipts", "query": { "api-version": "2021-04-05-preview6" }, "requestBody": null, "status": 200, - "response": "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}},\"chatMessageId\":\"1620757481104\",\"readOn\":\"2021-05-11T18:24:41Z\"}]}", + "response": "{\"value\":[{\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}},\"chatMessageId\":\"1623705338819\",\"readOn\":\"2021-06-14T21:15:39Z\"}]}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -18,5 +18,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e94b8015149f5a5f82313dad6f57fe23" + "hash": "9460e6f73e799320f37e19bd0623ecad" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_remove_a_participant.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_remove_a_participant.json index d5857bd21f5f..5de1c35cd7c3 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_remove_a_participant.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_remove_a_participant.json @@ -2,11 +2,11 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/participants/:remove", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/participants/:remove", "query": { "api-version": "2021-04-05-preview6" }, - "requestBody": "{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1dbf-2e7c-5b3a0d00054a\"}}", + "requestBody": "{\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dd19-a175-5b3a0d000961\"}}", "status": 204, "response": "", "responseHeaders": {} @@ -16,5 +16,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "3909a61f136266ee3b7f6f5560e54ade" + "hash": "0d88f92b6cd471b79b4364abc3d79cbf" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_retrieves_a_message.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_retrieves_a_message.json index 1a7bd104e181..2e6528150eb8 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_retrieves_a_message.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_retrieves_a_message.json @@ -2,13 +2,13 @@ "recordings": [ { "method": "GET", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/messages/1620757481104", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/messages/1623705338819", "query": { "api-version": "2021-04-05-preview6" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"1620757481104\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1620757481104\",\"content\":{\"message\":\"content\"},\"senderDisplayName\":\"\",\"createdOn\":\"2021-05-11T18:24:41Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}},\"metadata\":{\"tags\":\"sometag\"}}", + "response": "{\"id\":\"1623705338819\",\"type\":\"text\",\"sequenceId\":\"4\",\"version\":\"1623705338819\",\"content\":{\"message\":\"content\"},\"senderDisplayName\":\"\",\"createdOn\":\"2021-06-14T21:15:38Z\",\"senderCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}},\"metadata\":{\"tags\":\"sometag\"}}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -18,5 +18,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "cea3701657fa63b8ccf67b349fcaa878" + "hash": "b8b05b6ed7c050d353ccb0062a6efa0a" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_a_message.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_a_message.json index 656ffb1d98c3..0bb19a1f9c72 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_a_message.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_a_message.json @@ -2,16 +2,16 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/messages", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/messages", "query": { "api-version": "2021-04-05-preview6" }, "requestBody": "{\"content\":\"content\",\"metadata\":{\"tags\":\"sometag\"}}", "status": 201, - "response": "{\"id\":\"1620757481104\"}", + "response": "{\"id\":\"1623705338819\"}", "responseHeaders": { "content-type": "application/json; charset=utf-8", - "location": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1@thread.v2/messages/1620757481104" + "location": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1@thread.v2/messages/1623705338819" } } ], @@ -19,5 +19,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "31e2ec5a73ffe29ac1cc5548c994fab9" + "hash": "3a88763cb7fda945fb80523c0e82a45c" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_read_receipt.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_read_receipt.json index d794f5da9d92..57252a06a4bb 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_read_receipt.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_read_receipt.json @@ -2,11 +2,11 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/readReceipts", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/readReceipts", "query": { "api-version": "2021-04-05-preview6" }, - "requestBody": "{\"chatMessageId\":\"1620757481104\"}", + "requestBody": "{\"chatMessageId\":\"1623705338819\"}", "status": 200, "response": "", "responseHeaders": { @@ -18,5 +18,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "3a4bac5fb39e45e34ff2ca210089c5ca" + "hash": "73d3c12e3f3a0509b0044b8187e2c051" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_typing_notification.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_typing_notification.json index f8db756a8ea7..68e6469b1eb6 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_typing_notification.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_sends_typing_notification.json @@ -2,11 +2,11 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2/typing", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2/typing", "query": { "api-version": "2021-04-05-preview6" }, - "requestBody": null, + "requestBody": "{}", "status": 200, "response": "", "responseHeaders": { @@ -18,5 +18,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "14a2d7e401a934c1ed33eb1e04c1fa7e" + "hash": "2fc4f953abf2cd5612640aa2b6af4aa0" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_updates_the_thread_topic.json b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_updates_the_thread_topic.json index 686eaa2ae5c6..0e0990f03477 100644 --- a/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_updates_the_thread_topic.json +++ b/sdk/communication/communication-chat/recordings/browsers/chatthreadclient/recording_successfully_updates_the_thread_topic.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "PATCH", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2", "query": { "api-version": "2021-04-05-preview6" }, @@ -13,13 +13,13 @@ }, { "method": "GET", - "url": "https://endpoint/chat/threads/19%3A46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1%40thread.v2", + "url": "https://endpoint/chat/threads/19%3A3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1%40thread.v2", "query": { "api-version": "2021-04-05-preview6" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"19:46ODrtCpTL2rGAPEaHRQI75e9Jm_AyfKxyEA6HTTryQ1@thread.v2\",\"topic\":\"new topic\",\"createdOn\":\"2021-05-11T18:24:38Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8e-1be3-2e7c-5b3a0d000549\"}}}", + "response": "{\"id\":\"19:3UhaYJAgmFT9pQAXBl_Zu_rxT_KhqrS08VzfQ39UqUI1@thread.v2\",\"topic\":\"new topic\",\"createdOn\":\"2021-06-14T21:15:36Z\",\"createdByCommunicationIdentifier\":{\"rawId\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\",\"communicationUser\":{\"id\":\"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-dc82-a175-5b3a0d000960\"}}}", "responseHeaders": { "content-type": "application/json; charset=utf-8" } @@ -29,5 +29,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "570d48d5089041a8cc0edd26ec4ccf4a" + "hash": "cdb749d3bb82f640534d2a61b146fd63" } \ No newline at end of file diff --git a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_creates_a_thread.js b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_creates_a_thread.js index cd91a12fe954..06bab30b1729 100644 --- a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_creates_a_thread.js +++ b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_creates_a_thread.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "c58a8bd2d6a25564b38d6c2e3574d185"; +module.exports.hash = "532588d7bc35f02e085fe3d50b331b6f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .post('/identities', {"createTokenWithScopes":["chat"]}) .query(true) - .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-c874-2a7a-5b3a0d0005f3"},"accessToken":{"token":"token","expiresOn":"2021-05-12T18:24:14.0747804+00:00"}}, [ + .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-787b-7679-5b3a0d000824"},"accessToken":{"token":"token","expiresOn":"2021-06-15T21:15:09.4156339+00:00"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,25 +15,25 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Request-Context', 'appId=', 'MS-CV', - 'Clh8b1LiokOV7fOiM78GRg.0', + '4lsn//dUfEmEOQxg48JdVw.0', 'x-ms-client-request-id', - 'ababe5e9-8ad2-4259-a7d0-5bdd1ed1c09e', + 'f6bbc4ca-b87a-485e-aef9-643b3c399767', 'api-supported-versions', '2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1', 'X-Processing-Time', - '457ms', + '428ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '0z8uaYAAAAACuXXPWqSrZTLQKflOb+Nn9V1NURURHRTA4MTMANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '03cbHYAAAAAB3+VFAuJH2QZwyeguJQE7SUERYMzFFREdFMDIwOQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:15 GMT' + 'Mon, 14 Jun 2021 21:15:10 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) .post('/identities', {"createTokenWithScopes":["chat"]}) .query(true) - .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-c9e6-2a7a-5b3a0d0005f4"},"accessToken":{"token":"token","expiresOn":"2021-05-12T18:24:15.4525515+00:00"}}, [ + .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-79ef-7679-5b3a0d000825"},"accessToken":{"token":"token","expiresOn":"2021-06-15T21:15:09.8692238+00:00"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -41,43 +41,43 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Request-Context', 'appId=', 'MS-CV', - 'GIik/a/LJEK1WyxNnz6kDQ.0', + '5j/+ZO0E4EWEB2rnLRd6nw.0', 'x-ms-client-request-id', - '38a4084e-5c4e-41be-8f42-9a2e1eeaeb70', + '15bbf9b4-0707-4ef3-8698-209db95e0e7b', 'api-supported-versions', '2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1', 'X-Processing-Time', - '111ms', + '250ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '00MuaYAAAAADiarmY5bBUTL938buslC9RV1NURURHRTA4MTMANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '03sbHYAAAAADaaPM/8KnDRq4iAm7YwQQeUERYMzFFREdFMDIwOQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:16 GMT' + 'Mon, 14 Jun 2021 21:15:10 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('/chat/threads', {"topic":"test topic","participants":[{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-c874-2a7a-5b3a0d0005f3"}}},{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-c9e6-2a7a-5b3a0d0005f4"}}}]}) + .post('/chat/threads', {"topic":"test topic","participants":[{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-787b-7679-5b3a0d000824"}}},{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-79ef-7679-5b3a0d000825"}}}]}) .query(true) - .reply(201, {"chatThread":{"id":"19:ccmd51185skzyzMBCnT8VLrapOfYFlFnAa0F1kztzbs1@thread.v2","topic":"test topic","createdOn":"2021-05-11T18:24:17Z","createdByCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-c874-2a7a-5b3a0d0005f3","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-c874-2a7a-5b3a0d0005f3"}}}}, [ + .reply(201, {"chatThread":{"id":"19:S6rsC6flduxpFtSV2TaFwiS99mKWwhg5608zV5bO0-o1@thread.v2","topic":"test topic","createdOn":"2021-06-14T21:15:11Z","createdByCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-787b-7679-5b3a0d000824","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-787b-7679-5b3a0d000824"}}}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Accmd51185skzyzMBCnT8VLrapOfYFlFnAa0F1kztzbs1@thread.v2', + 'https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3AS6rsC6flduxpFtSV2TaFwiS99mKWwhg5608zV5bO0-o1@thread.v2', 'MS-CV', - 'grA+ljHdmkO4MqywxMQyRg.0', + '3/jfTJ4q7ECdh7LoxK8ezg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '929ms', + '979ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '00cuaYAAAAACi9PG3F/cMSKg2oxKRWqQvV1NURURHRTA4MTQANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '03sbHYAAAAACAfBo3xtkORbqu9ZtGDJLvUERYMzFFREdFMDIyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:17 GMT' + 'Mon, 14 Jun 2021 21:15:11 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_deletes_a_thread.js b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_deletes_a_thread.js index ec45ad06a2a9..cd44ae870525 100644 --- a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_deletes_a_thread.js +++ b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_deletes_a_thread.js @@ -1,25 +1,25 @@ let nock = require('nock'); -module.exports.hash = "e51bac69f00a983af97a432032dbf341"; +module.exports.hash = "5f24872081379cf3a7425479e8f94dde"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .delete('/chat/threads/19%3Accmd51185skzyzMBCnT8VLrapOfYFlFnAa0F1kztzbs1%40thread.v2') + .delete('/chat/threads/19%3AS6rsC6flduxpFtSV2TaFwiS99mKWwhg5608zV5bO0-o1%40thread.v2') .query(true) .reply(204, "", [ 'MS-CV', - 'gjSfUOTO4UG6PypUI3I1Ig.0', + '6Z1zjleAN0+B0QN0TxKSLA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '290ms', + '335ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '00suaYAAAAADxjFPE2PVKRKKvJK4CDVxXV1NURURHRTA4MTQANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '04MbHYAAAAAC3tznKaCjMTbSJYs5TKRX7UERYMzFFREdFMDIyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:18 GMT' + 'Mon, 14 Jun 2021 21:15:11 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_retrieves_a_thread_client.js b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_retrieves_a_thread_client.js index 1b79ddd0ae7a..4056507d4a8b 100644 --- a/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_retrieves_a_thread_client.js +++ b/sdk/communication/communication-chat/recordings/node/chatclient_chat_operations/recording_successfully_retrieves_a_thread_client.js @@ -1,5 +1,5 @@ let nock = require('nock'); -module.exports.hash = "1af1d1af9b61d8d77cb1368e7c7ce051"; +module.exports.hash = "181af765abba90ff8b1fb46761d6ad39"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_adds_participants.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_adds_participants.js index 293d2326ba94..9e8cd03de44a 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_adds_participants.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_adds_participants.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "1a1f067ce4b17032ea2a8259d4e72e62"; +module.exports.hash = "56896101f9b0e9c5b2aba99d4beff406"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .post('/identities', {"createTokenWithScopes":["chat"]}) .query(true) - .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-ebee-2e7c-5b3a0d000546"},"accessToken":{"token":"token","expiresOn":"2021-05-12T18:24:24.1572912+00:00"}}, [ + .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-9bbd-7679-5b3a0d000828"},"accessToken":{"token":"token","expiresOn":"2021-06-15T21:15:18.4458709+00:00"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,23 +15,23 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Request-Context', 'appId=', 'MS-CV', - 'A0nLq+jqvUKtrxfn26np2A.0', + 'XAlB3ZS7nE6NfSDezouE/Q.0', 'x-ms-client-request-id', - '6a5f86b2-0c82-49fd-a5cf-0f02fd491029', + 'e3730f66-b10e-4fa5-894b-7181192df5a6', 'api-supported-versions', '2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1', 'X-Processing-Time', - '122ms', + '170ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02cuaYAAAAABxiUrIMriCSKGKMHlIcIjiV1NURURHRTA4MTMANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '058bHYAAAAABjIUhHYqt4S6cxCxD6QET1UERYMzFFREdFMDIwOQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:24 GMT' + 'Mon, 14 Jun 2021 21:15:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/participants/:add', {"participants":[{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-ebee-2e7c-5b3a0d000546"}}}]}) + .post('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/participants/:add', {"participants":[{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-9bbd-7679-5b3a0d000828"}}}]}) .query(true) .reply(201, {}, [ 'Transfer-Encoding', @@ -39,17 +39,17 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Content-Type', 'application/json; charset=utf-8', 'MS-CV', - '3TrQqxOfdUOuc07nheN42A.0', + '2WnPhc87c0eJR4b6S8wpvQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '391ms', + '446ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02cuaYAAAAAD0evR5gfUjTI/Og0Jq1DnHV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '058bHYAAAAABH6CU36KQDTJTqShF3Pk4qUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:25 GMT' + 'Mon, 14 Jun 2021 21:15:19 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_deletes_a_message.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_deletes_a_message.js index 83ca08fcd595..34ec820d1771 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_deletes_a_message.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_deletes_a_message.js @@ -1,25 +1,25 @@ let nock = require('nock'); -module.exports.hash = "99dab1eee1f2015b9c781625ce8891cd"; +module.exports.hash = "1a814ddcbc4190c3adefc3fc8633ba57"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .delete('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/messages/1620757462303') + .delete('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/messages/1623705316364') .query(true) .reply(204, "", [ 'MS-CV', - 'Z1zgqLsMd0227eztOoQ88Q.0', + 'IsmezrBOm0aR7XWAEYO3hw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '392ms', + '458ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02MuaYAAAAABFLRpKRe18Touj+mVa/VyGV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '05sbHYAAAAACyeSEmq3qzQJlSTIdK+Y3xUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:24 GMT' + 'Mon, 14 Jun 2021 21:15:18 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_gets_the_thread_properties.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_gets_the_thread_properties.js index 43060110246b..ea70cd7ece92 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_gets_the_thread_properties.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_gets_the_thread_properties.js @@ -1,29 +1,29 @@ let nock = require('nock'); -module.exports.hash = "ece92519958e051517109e9a4846c92f"; +module.exports.hash = "83c28f4ed758d8c7b92b56697f30ed8a"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .get('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2') + .get('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2') .query(true) - .reply(200, {"id":"19:-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1@thread.v2","topic":"test topic","createdOn":"2021-05-11T18:24:20Z","createdByCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}}}, [ + .reply(200, {"id":"19:oXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1@thread.v2","topic":"test topic","createdOn":"2021-06-14T21:15:13Z","createdByCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'MS-CV', - 'YscyAR4LLEGbc1oaT5vBmg.0', + 'XRdx7dUhEE6IUutFLXPemA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '247ms', + '262ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01MuaYAAAAACOW2Up1hAOQ5rV+q9nUoHtV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '04sbHYAAAAACM40SCEl8aR7nqx/bVNqS3UERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:20 GMT' + 'Mon, 14 Jun 2021 21:15:14 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_intializes_chatthreadclient.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_intializes_chatthreadclient.js index f198e2829082..b4ee7c0b0233 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_intializes_chatthreadclient.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_intializes_chatthreadclient.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "0343e67db5392abf4721684204568393"; +module.exports.hash = "628c4be719245416c8ba7170a19f6873"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) .post('/identities', {"createTokenWithScopes":["chat"]}) .query(true) - .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"},"accessToken":{"token":"token","expiresOn":"2021-05-12T18:24:18.1319123+00:00"}}, [ + .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"},"accessToken":{"token":"token","expiresOn":"2021-06-15T21:15:11.6627392+00:00"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,25 +15,25 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Request-Context', 'appId=', 'MS-CV', - '1wX7u/e6F0SMwdBTMAg+Gg.0', + '9iiQ2TgLGk6J0iWF5k54ag.0', 'x-ms-client-request-id', - 'd2db3cda-15c7-40de-a2f0-609698f4f12e', + '85dcfae4-5b7b-46f2-9067-000edfa734cd', 'api-supported-versions', '2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1', 'X-Processing-Time', - '101ms', + '166ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '008uaYAAAAAAA6zChyT/KTpcuU8G/JcYoV1NURURHRTA4MTMANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '04MbHYAAAAAD+DyxeKk+HTq9OeaPd3N+UUERYMzFFREdFMDIwOQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:18 GMT' + 'Mon, 14 Jun 2021 21:15:12 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) .post('/identities', {"createTokenWithScopes":["chat"]}) .query(true) - .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d72a-2e7c-5b3a0d000545"},"accessToken":{"token":"token","expiresOn":"2021-05-12T18:24:18.8514265+00:00"}}, [ + .reply(201, {"identity":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-820c-7679-5b3a0d000827"},"accessToken":{"token":"token","expiresOn":"2021-06-15T21:15:11.8626066+00:00"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -41,43 +41,43 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Request-Context', 'appId=', 'MS-CV', - 'iHQC3nJspkuU7Iwkbwoorg.0', + '34iLh6L7EkuVg/olxHn+Dg.0', 'x-ms-client-request-id', - '8e2b0035-c7ff-41d8-8f21-08f982b78320', + 'b0e33386-ff54-44d9-90ec-97faeb84b839', 'api-supported-versions', '2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1', 'X-Processing-Time', - '116ms', + '162ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '008uaYAAAAAA+ZZfLKV42RY8O5uqQWCXzV1NURURHRTA4MTMANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '04MbHYAAAAABbIm5PJmpvTI+XFNecp4zyUERYMzFFREdFMDIwOQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:19 GMT' + 'Mon, 14 Jun 2021 21:15:12 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('/chat/threads', {"topic":"test topic","participants":[{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}}},{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d72a-2e7c-5b3a0d000545"}}}]}) + .post('/chat/threads', {"topic":"test topic","participants":[{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}}},{"communicationIdentifier":{"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-820c-7679-5b3a0d000827"}}}]}) .query(true) - .reply(201, {"chatThread":{"id":"19:-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1@thread.v2","topic":"test topic","createdOn":"2021-05-11T18:24:20Z","createdByCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}}}}, [ + .reply(201, {"chatThread":{"id":"19:oXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1@thread.v2","topic":"test topic","createdOn":"2021-06-14T21:15:13Z","createdByCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}}}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1@thread.v2', + 'https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1@thread.v2', 'MS-CV', - 'ycAE05ZEKUWe1wrjpl9T6g.0', + 'Jwp+ONjCskKl4P/Y3RMZqA.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '910ms', + '1797ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '008uaYAAAAAB3Lf7fxXLeTIOrwyeDZZ5TV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '04MbHYAAAAADOWtc18Nn6RJcudXb+q203UERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:20 GMT' + 'Mon, 14 Jun 2021 21:15:14 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_messages.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_messages.js index bf7c4eebf64a..acbb8745bf10 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_messages.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_messages.js @@ -1,29 +1,29 @@ let nock = require('nock'); -module.exports.hash = "cdaca9cba53e2ea55edb80336ba72818"; +module.exports.hash = "1f8534fbb5a951a66d210f9e8991c150"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .get('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/messages') + .get('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/messages') .query(true) - .reply(200, {"value":[{"id":"1620757462303","type":"text","sequenceId":"4","version":"1620757462303","content":{"message":"content"},"senderDisplayName":"","createdOn":"2021-05-11T18:24:22Z","senderCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}},"metadata":{"tags":"sometag"}},{"id":"1620757461563","type":"topicUpdated","sequenceId":"3","version":"1620757461563","content":{"topic":"new topic","initiatorCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}}},"createdOn":"2021-05-11T18:24:21Z"},{"id":"1620757460470","type":"topicUpdated","sequenceId":"2","version":"1620757460470","content":{"topic":"test topic","initiatorCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}}},"createdOn":"2021-05-11T18:24:20Z"},{"id":"1620757460438","type":"participantAdded","sequenceId":"1","version":"1620757460438","content":{"participants":[{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}},"shareHistoryTime":"1970-01-01T00:00:00Z"},{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d72a-2e7c-5b3a0d000545","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d72a-2e7c-5b3a0d000545"}},"shareHistoryTime":"1970-01-01T00:00:00Z"}],"initiatorCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}}},"createdOn":"2021-05-11T18:24:20Z"}]}, [ + .reply(200, {"value":[{"id":"1623705316364","type":"text","sequenceId":"4","version":"1623705316364","content":{"message":"content"},"senderDisplayName":"","createdOn":"2021-06-14T21:15:16Z","senderCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}},"metadata":{"tags":"sometag"}},{"id":"1623705315442","type":"topicUpdated","sequenceId":"3","version":"1623705315442","content":{"topic":"new topic","initiatorCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}}},"createdOn":"2021-06-14T21:15:15Z"},{"id":"1623705313786","type":"topicUpdated","sequenceId":"2","version":"1623705313786","content":{"topic":"test topic","initiatorCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}}},"createdOn":"2021-06-14T21:15:13Z"},{"id":"1623705313598","type":"participantAdded","sequenceId":"1","version":"1623705313598","content":{"participants":[{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}},"shareHistoryTime":"1970-01-01T00:00:00Z"},{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-820c-7679-5b3a0d000827","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-820c-7679-5b3a0d000827"}},"shareHistoryTime":"1970-01-01T00:00:00Z"}],"initiatorCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}}},"createdOn":"2021-06-14T21:15:13Z"}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'MS-CV', - 'CPA0rdbPCUWsxrHYdcS3Og.0', + 'Vub52Ljv+0awkzXFioPOzQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '278ms', + '281ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02MuaYAAAAAACuuWZEs7/RoXFN7twVEYVV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '05sbHYAAAAACp1pjW7kElSJs/Te8DoQCeUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:24 GMT' + 'Mon, 14 Jun 2021 21:15:18 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_participants.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_participants.js index 0e65da9ad790..3d99632a7951 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_participants.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_participants.js @@ -1,29 +1,29 @@ let nock = require('nock'); -module.exports.hash = "8c0d3b6a3726a2fac38003a952a86dd0"; +module.exports.hash = "95dcb31f768c13ecb44ca6ed39d58046"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .get('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/participants') + .get('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/participants') .query(true) - .reply(200, {"value":[{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}},"shareHistoryTime":"1970-01-01T00:00:00Z"},{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d72a-2e7c-5b3a0d000545","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d72a-2e7c-5b3a0d000545"}},"shareHistoryTime":"1970-01-01T00:00:00Z"},{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-ebee-2e7c-5b3a0d000546","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-ebee-2e7c-5b3a0d000546"}},"shareHistoryTime":"1970-01-01T00:00:00Z"}]}, [ + .reply(200, {"value":[{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}},"shareHistoryTime":"1970-01-01T00:00:00Z"},{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-820c-7679-5b3a0d000827","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-820c-7679-5b3a0d000827"}},"shareHistoryTime":"1970-01-01T00:00:00Z"},{"communicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-9bbd-7679-5b3a0d000828","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-9bbd-7679-5b3a0d000828"}},"shareHistoryTime":"1970-01-01T00:00:00Z"}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'MS-CV', - 'gSGPr9hLOUWt81uwyJ1hng.0', + 'PYclnk3AREaOhcBZhdurFw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '261ms', + '267ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02cuaYAAAAACZRAwvN2kLQZFF7IStNV+rV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '058bHYAAAAAB4UnwSKij5S6Dxm+kWHJX0UERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:25 GMT' + 'Mon, 14 Jun 2021 21:15:19 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_read_receipts.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_read_receipts.js index c1d235913a1d..6425cd1154bc 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_read_receipts.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_lists_read_receipts.js @@ -1,29 +1,29 @@ let nock = require('nock'); -module.exports.hash = "68f698ad1cd68fb5d2031b79d0a1fd0f"; +module.exports.hash = "9efaea99e71681e119e42483f0f46e96"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .get('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/readReceipts') + .get('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/readReceipts') .query(true) - .reply(200, {"value":[{"senderCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}},"chatMessageId":"1620757462303","readOn":"2021-05-11T18:24:23Z"}]}, [ + .reply(200, {"value":[{"senderCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}},"chatMessageId":"1623705316364","readOn":"2021-06-14T21:15:17Z"}]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'MS-CV', - 'QHni5MHfLEeT2aC2xzcG1w.0', + 'DIgH5Lkrmkeysj3ixFhAlw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '246ms', + '254ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02suaYAAAAAAbQXwquk3XQqjd9mELMNX+V1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '06MbHYAAAAACr7sUtac1+RbD53WNAmBmcUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:26 GMT' + 'Mon, 14 Jun 2021 21:15:20 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_remove_a_participant.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_remove_a_participant.js index 1b33ee5c0b3e..281f86735f90 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_remove_a_participant.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_remove_a_participant.js @@ -1,25 +1,25 @@ let nock = require('nock'); -module.exports.hash = "95d8e7f0df4d2e1894f7edb044ad665a"; +module.exports.hash = "3f3e581d127d4ee7534cf66acf4944a1"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/participants/:remove', {"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d72a-2e7c-5b3a0d000545"}}) + .post('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/participants/:remove', {"communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-820c-7679-5b3a0d000827"}}) .query(true) .reply(204, "", [ 'MS-CV', - 'FHJ9scyN40qbY7tkMBwBQQ.0', + 'qFO+14I8ZUqaoGOVHSuw/w.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '436ms', + '514ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '02suaYAAAAADz+9xCRMTKQrymORUjTFl/V1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '06MbHYAAAAADOHuUDKsoARoYH96bjACYyUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:26 GMT' + 'Mon, 14 Jun 2021 21:15:20 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_retrieves_a_message.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_retrieves_a_message.js index 5ea72f1ad8c0..39c787fcf772 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_retrieves_a_message.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_retrieves_a_message.js @@ -1,29 +1,29 @@ let nock = require('nock'); -module.exports.hash = "94aa021d271cac8daa16f4a5666cc01c"; +module.exports.hash = "3834d1c4cc3814113d869d38eaba2554"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .get('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/messages/1620757462303') + .get('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/messages/1623705316364') .query(true) - .reply(200, {"id":"1620757462303","type":"text","sequenceId":"4","version":"1620757462303","content":{"message":"content"},"senderDisplayName":"","createdOn":"2021-05-11T18:24:22Z","senderCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}},"metadata":{"tags":"sometag"}}, [ + .reply(200, {"id":"1623705316364","type":"text","sequenceId":"4","version":"1623705316364","content":{"message":"content"},"senderDisplayName":"","createdOn":"2021-06-14T21:15:16Z","senderCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}},"metadata":{"tags":"sometag"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'MS-CV', - 'ceGlDmDW6UevPM1gfFpa7w.0', + 'vqqXFiklyE+QlC4FYP8scg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '257ms', + '264ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '018uaYAAAAABE2yW1ZMivRIxfLvgRKNbuV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '05sbHYAAAAAAher0cdOu+QKWgXoeN3Q0aUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:23 GMT' + 'Mon, 14 Jun 2021 21:15:17 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_a_message.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_a_message.js index ec69a38da789..ece01d631f62 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_a_message.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_a_message.js @@ -1,31 +1,31 @@ let nock = require('nock'); -module.exports.hash = "924d33cf80d4f1f5e371dc108fcad06e"; +module.exports.hash = "28a39068dc1d56a110f18d8ca5465626"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/messages', {"content":"content","metadata":{"tags":"sometag"}}) + .post('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/messages', {"content":"content","metadata":{"tags":"sometag"}}) .query(true) - .reply(201, {"id":"1620757462303"}, [ + .reply(201, {"id":"1623705316364"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1@thread.v2/messages/1620757462303', + 'https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1@thread.v2/messages/1623705316364', 'MS-CV', - 'lWm0tehVcEywizucD35Ldw.0', + '5QJd3ekax0yelfHqjOQ9kw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '383ms', + '508ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01suaYAAAAAAB2a+oTswWQ7Mh2nvv8Uf4V1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '05MbHYAAAAAD3RhG5KhINTaymXg13uOkGUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:22 GMT' + 'Mon, 14 Jun 2021 21:15:16 GMT' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_read_receipt.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_read_receipt.js index 4152aaa32d7c..c594baad6c07 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_read_receipt.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_read_receipt.js @@ -1,27 +1,27 @@ let nock = require('nock'); -module.exports.hash = "d4d886db28d5a84c886e4fb6e8961f29"; +module.exports.hash = "1b4d74b8fdcbd80f10e063f085f851c9"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/readReceipts', {"chatMessageId":"1620757462303"}) + .post('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/readReceipts', {"chatMessageId":"1623705316364"}) .query(true) .reply(200, "", [ 'MS-CV', - 'LybLfplat0C/y/m+9mD9Hw.0', + 'SKdUyTx1Wk2t0f0uUM3svQ.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '582ms', + '910ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '018uaYAAAAADZ1a65U1XgS7/c0f7waRzwV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '05cbHYAAAAACI1UBuFdQMQKxdT8v7o/+lUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:23 GMT', + 'Mon, 14 Jun 2021 21:15:17 GMT', 'Content-Length', '0' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_typing_notification.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_typing_notification.js index c28e3aec6b1d..b618213a3861 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_typing_notification.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_sends_typing_notification.js @@ -1,27 +1,27 @@ let nock = require('nock'); -module.exports.hash = "33d8e6bf8697a18bf09f6892ba52451b"; +module.exports.hash = "10dd04e171c2258c64ce665e70a9383f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2/typing') + .post('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2/typing', {}) .query(true) .reply(200, "", [ 'MS-CV', - '0MJ2NlqypkadkAk1TXuAVw.0', + 'xbhvxzM+f0efV/8yQfkzWw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', - '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', + '2021-04-05-preview6', 'X-Processing-Time', - '354ms', + '386ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01suaYAAAAAALNyQgg+/USb9KcVhHgMP9V1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '05MbHYAAAAADW9RnSEWHCT6qCuDGfSuKcUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:22 GMT', + 'Mon, 14 Jun 2021 21:15:16 GMT', 'Content-Length', '0' ]); diff --git a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_updates_the_thread_topic.js b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_updates_the_thread_topic.js index e0a370b6ecef..3e6090213a0e 100644 --- a/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_updates_the_thread_topic.js +++ b/sdk/communication/communication-chat/recordings/node/chatthreadclient/recording_successfully_updates_the_thread_topic.js @@ -1,49 +1,49 @@ let nock = require('nock'); -module.exports.hash = "b2e3c085aa73b0d20ac7b91f39172d2b"; +module.exports.hash = "583421fca0c161e20873222c40e6e511"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .patch('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2', {"topic":"new topic"}) + .patch('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2', {"topic":"new topic"}) .query(true) .reply(204, "", [ 'MS-CV', - 'Vk1I5fX1CEqlM9FUMqqW9g.0', + '2XwxNXHGkUK3sN+g9Bttyw.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '385ms', + '451ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01cuaYAAAAAA1xRHl2httSbJCeL315360V1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '048bHYAAAAADmk2DXG6t2RovGNIpa8cL6UERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:21 GMT' + 'Mon, 14 Jun 2021 21:15:15 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('/chat/threads/19%3A-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1%40thread.v2') + .get('/chat/threads/19%3AoXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1%40thread.v2') .query(true) - .reply(200, {"id":"19:-SU2gzDrzE720bWocJYfAkee6As1QmtdJW3bcNJWyEw1@thread.v2","topic":"new topic","createdOn":"2021-05-11T18:24:20Z","createdByCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000009-fc8d-d468-2a7a-5b3a0d0005f5"}}}, [ + .reply(200, {"id":"19:oXeDm2YWQ-rjbfG0ilcCtPs5GBwZEeVt5ssFsYc0Ehc1@thread.v2","topic":"new topic","createdOn":"2021-06-14T21:15:13Z","createdByCommunicationIdentifier":{"rawId":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826","communicationUser":{"id":"8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_0000000a-ac42-8140-7679-5b3a0d000826"}}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'MS-CV', - 'hzuO+cnz7E+sy5VGiStv+w.0', + 'kNPyN1XI90GRGwDGhESvWg.0', 'Strict-Transport-Security', 'max-age=2592000', 'api-supported-versions', '2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6', 'X-Processing-Time', - '251ms', + '429ms', 'X-Cache', 'CONFIG_NOCACHE', 'X-Azure-Ref', - '01cuaYAAAAACtX21QSQ+YSaPGThQeoH4LV1NURURHRTA4MTkANzA1NDM5NWUtY2UxZC00NTVlLWFlNWQtMjMzY2E4MzkwNTU0', + '048bHYAAAAABb0PlQOowIQ7lFJ0/nvJxSUERYMzFFREdFMDIxNgA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=', 'Date', - 'Tue, 11 May 2021 18:24:21 GMT' + 'Mon, 14 Jun 2021 21:15:15 GMT' ]); diff --git a/sdk/communication/communication-chat/review/communication-chat.api.md b/sdk/communication/communication-chat/review/communication-chat.api.md index c421d79196d8..7c28cb354527 100644 --- a/sdk/communication/communication-chat/review/communication-chat.api.md +++ b/sdk/communication/communication-chat/review/communication-chat.api.md @@ -258,7 +258,9 @@ export interface SendReadReceiptRequest { } // @public -export type SendTypingNotificationOptions = OperationOptions; +export interface SendTypingNotificationOptions extends OperationOptions { + senderDisplayName?: string; +} // @public export interface UpdateMessageOptions extends OperationOptions { diff --git a/sdk/communication/communication-chat/src/chatThreadClient.ts b/sdk/communication/communication-chat/src/chatThreadClient.ts index 618bb8f1aa87..cb9876351261 100644 --- a/sdk/communication/communication-chat/src/chatThreadClient.ts +++ b/sdk/communication/communication-chat/src/chatThreadClient.ts @@ -485,11 +485,14 @@ export class ChatThreadClient { try { const dateNow = new Date(); + const { senderDisplayName, ...restOptions } = operationOptionsToRequestOptionsBase( + updatedOptions + ); if (this.canPostTypingNotification(dateNow)) { - await this.client.chatThread.sendTypingNotification( - this.threadId, - operationOptionsToRequestOptionsBase(updatedOptions) - ); + await this.client.chatThread.sendTypingNotification(this.threadId, { + sendTypingNotificationRequest: { senderDisplayName: senderDisplayName }, + ...restOptions + }); this.timeOfLastTypingRequest = dateNow; return true; diff --git a/sdk/communication/communication-chat/src/generated/src/models/index.ts b/sdk/communication/communication-chat/src/generated/src/models/index.ts index 7e3b660cc55c..dd22c5a1d444 100644 --- a/sdk/communication/communication-chat/src/generated/src/models/index.ts +++ b/sdk/communication/communication-chat/src/generated/src/models/index.ts @@ -274,6 +274,12 @@ export interface UpdateChatThreadRequest { topic?: string; } +/** Request payload for typing notifications. */ +export interface SendTypingNotificationRequest { + /** The display name of the typing notification sender. This property is used to populate sender name for push notifications. */ + senderDisplayName?: string; +} + /** Known values of {@link CommunicationCloudEnvironmentModel} that the service accepts. */ export const enum KnownCommunicationCloudEnvironmentModel { Public = "public", @@ -410,6 +416,13 @@ export type ChatThreadGetChatThreadPropertiesResponse = ChatThreadProperties & { }; }; +/** Optional parameters. */ +export interface ChatThreadSendTypingNotificationOptionalParams + extends coreHttp.OperationOptions { + /** Details of the typing notification request. */ + sendTypingNotificationRequest?: SendTypingNotificationRequest; +} + /** Optional parameters. */ export interface ChatThreadListChatReadReceiptsNextOptionalParams extends coreHttp.OperationOptions { diff --git a/sdk/communication/communication-chat/src/generated/src/models/mappers.ts b/sdk/communication/communication-chat/src/generated/src/models/mappers.ts index f1742de53bb9..bea3dcbc6a78 100644 --- a/sdk/communication/communication-chat/src/generated/src/models/mappers.ts +++ b/sdk/communication/communication-chat/src/generated/src/models/mappers.ts @@ -764,3 +764,18 @@ export const UpdateChatThreadRequest: coreHttp.CompositeMapper = { } } }; + +export const SendTypingNotificationRequest: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "SendTypingNotificationRequest", + modelProperties: { + senderDisplayName: { + serializedName: "senderDisplayName", + type: { + name: "String" + } + } + } + } +}; diff --git a/sdk/communication/communication-chat/src/generated/src/models/parameters.ts b/sdk/communication/communication-chat/src/generated/src/models/parameters.ts index 999ae512166b..da8ebf7e70ee 100644 --- a/sdk/communication/communication-chat/src/generated/src/models/parameters.ts +++ b/sdk/communication/communication-chat/src/generated/src/models/parameters.ts @@ -18,6 +18,7 @@ import { CommunicationIdentifierModel as CommunicationIdentifierModelMapper, AddChatParticipantsRequest as AddChatParticipantsRequestMapper, UpdateChatThreadRequest as UpdateChatThreadRequestMapper, + SendTypingNotificationRequest as SendTypingNotificationRequestMapper, CreateChatThreadRequest as CreateChatThreadRequestMapper } from "../models/mappers"; @@ -163,6 +164,11 @@ export const updateChatThreadRequest: OperationParameter = { mapper: UpdateChatThreadRequestMapper }; +export const sendTypingNotificationRequest: OperationParameter = { + parameterPath: ["options", "sendTypingNotificationRequest"], + mapper: SendTypingNotificationRequestMapper +}; + export const nextLink: OperationURLParameter = { parameterPath: "nextLink", mapper: { diff --git a/sdk/communication/communication-chat/src/generated/src/operations/chatThread.ts b/sdk/communication/communication-chat/src/generated/src/operations/chatThread.ts index 1b31745ec6c3..e548b19102ac 100644 --- a/sdk/communication/communication-chat/src/generated/src/operations/chatThread.ts +++ b/sdk/communication/communication-chat/src/generated/src/operations/chatThread.ts @@ -27,6 +27,7 @@ import { ChatThreadAddChatParticipantsResponse, UpdateChatThreadRequest, ChatThreadGetChatThreadPropertiesResponse, + ChatThreadSendTypingNotificationOptionalParams, ChatThreadListChatReadReceiptsNextOptionalParams, ChatThreadListChatReadReceiptsNextResponse, ChatThreadListChatMessagesNextOptionalParams, @@ -198,25 +199,6 @@ export class ChatThread { ) as Promise; } - /** - * Posts a typing event to a thread, on behalf of a user. - * @param chatThreadId Id of the thread. - * @param options The options parameters. - */ - sendTypingNotification( - chatThreadId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - chatThreadId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest( - operationArguments, - sendTypingNotificationOperationSpec - ) as Promise; - } - /** * Gets the participants of a thread. * @param chatThreadId Thread id to get participants for. @@ -321,6 +303,25 @@ export class ChatThread { ) as Promise; } + /** + * Posts a typing event to a thread, on behalf of a user. + * @param chatThreadId Id of the thread. + * @param options The options parameters. + */ + sendTypingNotification( + chatThreadId: string, + options?: ChatThreadSendTypingNotificationOptionalParams + ): Promise { + const operationArguments: coreHttp.OperationArguments = { + chatThreadId, + options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) + }; + return this.client.sendOperationRequest( + operationArguments, + sendTypingNotificationOperationSpec + ) as Promise; + } + /** * ListChatReadReceiptsNext * @param chatThreadId Thread id to get the chat message read receipts for. @@ -613,33 +614,6 @@ const deleteChatMessageOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; -const sendTypingNotificationOperationSpec: coreHttp.OperationSpec = { - path: "/chat/threads/{chatThreadId}/typing", - httpMethod: "POST", - responses: { - 200: {}, - 401: { - bodyMapper: Mappers.CommunicationErrorResponse, - isError: true - }, - 403: { - bodyMapper: Mappers.CommunicationErrorResponse, - isError: true - }, - 429: { - bodyMapper: Mappers.CommunicationErrorResponse, - isError: true - }, - 503: { - bodyMapper: Mappers.CommunicationErrorResponse, - isError: true - } - }, - queryParameters: [Parameters.apiVersion], - urlParameters: [Parameters.endpoint, Parameters.chatThreadId], - headerParameters: [Parameters.accept], - serializer -}; const listChatParticipantsOperationSpec: coreHttp.OperationSpec = { path: "/chat/threads/{chatThreadId}/participants", httpMethod: "GET", @@ -791,6 +765,35 @@ const getChatThreadPropertiesOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const sendTypingNotificationOperationSpec: coreHttp.OperationSpec = { + path: "/chat/threads/{chatThreadId}/typing", + httpMethod: "POST", + responses: { + 200: {}, + 401: { + bodyMapper: Mappers.CommunicationErrorResponse, + isError: true + }, + 403: { + bodyMapper: Mappers.CommunicationErrorResponse, + isError: true + }, + 429: { + bodyMapper: Mappers.CommunicationErrorResponse, + isError: true + }, + 503: { + bodyMapper: Mappers.CommunicationErrorResponse, + isError: true + } + }, + requestBody: Parameters.sendTypingNotificationRequest, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.endpoint, Parameters.chatThreadId], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; const listChatReadReceiptsNextOperationSpec: coreHttp.OperationSpec = { path: "{nextLink}", httpMethod: "GET", diff --git a/sdk/communication/communication-chat/src/models/options.ts b/sdk/communication/communication-chat/src/models/options.ts index 1d09281426ba..09a711a703fd 100644 --- a/sdk/communication/communication-chat/src/models/options.ts +++ b/sdk/communication/communication-chat/src/models/options.ts @@ -112,7 +112,10 @@ export type RemoveParticipantOptions = OperationOptions; /** * Options to send typing notifications. */ -export type SendTypingNotificationOptions = OperationOptions; +export interface SendTypingNotificationOptions extends OperationOptions { + /** The display name of the typing notification sender. This property is used to populate sender name for push notifications. */ + senderDisplayName?: string; +} /** * Options to send read receipt. diff --git a/sdk/communication/communication-chat/swagger/README.md b/sdk/communication/communication-chat/swagger/README.md index efbb991153b8..12cf1bbd1f11 100644 --- a/sdk/communication/communication-chat/swagger/README.md +++ b/sdk/communication/communication-chat/swagger/README.md @@ -12,7 +12,7 @@ generate-metadata: false license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated tag: package-chat-2021-04-05-preview6 -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/896d05e37dbb00712726620b8d679cc3c3be09fb/specification/communication/data-plane/Chat/readme.md +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/29e0c9624a8e60138127457f2e863bb4a9ba1419/specification/communication/data-plane/Chat/readme.md model-date-time-as-string: false optional-response-headers: true use-extension: diff --git a/sdk/communication/communication-chat/test/internal/chatThreadClient.mocked.spec.ts b/sdk/communication/communication-chat/test/internal/chatThreadClient.mocked.spec.ts index f2425573eb3d..f69555a61893 100644 --- a/sdk/communication/communication-chat/test/internal/chatThreadClient.mocked.spec.ts +++ b/sdk/communication/communication-chat/test/internal/chatThreadClient.mocked.spec.ts @@ -344,6 +344,25 @@ describe("[Mocked] ChatThreadClient", async () => { assert.equal(request.method, "POST"); }); + it("makes successful sent typing notification request with sender display name", async () => { + const mockHttpClient = generateHttpClient(200); + chatThreadClient = createChatThreadClient(threadId, mockHttpClient); + const spy = sinon.spy(mockHttpClient, "sendRequest"); + + const options = { senderDisplayName: "Bob Admin" }; + const result = await chatThreadClient.sendTypingNotification(options); + assert.isTrue(result); + + sinon.assert.calledOnce(spy); + const request = spy.getCall(0).args[0]; + assert.equal( + request.url, + `${baseUri}/chat/threads/${threadId}/typing?api-version=${API_VERSION}` + ); + assert.equal(request.method, "POST"); + assert.deepEqual(JSON.parse(request.body), options); + }); + it("makes successful sent read receipt request", async () => { const mockHttpClient = generateHttpClient(200); chatThreadClient = createChatThreadClient(threadId, mockHttpClient); From a1f909d09a3c12bfb04e2519a8da6cca3c3611b4 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Wed, 23 Jun 2021 11:54:58 -0700 Subject: [PATCH 029/134] Update ubuntu VM image (#15706) * Update ubuntu vm image * Update vmImage names * Update platform-matric.json * Update platform-matric.json --- common/tools/eslint-plugin-azure-sdk/ci.yml | 2 +- eng/pipelines/docindex.yml | 2 +- eng/pipelines/mgmt-ci.yml | 4 +- eng/pipelines/mgmt-pr.yml | 2 +- eng/pipelines/templates/jobs/ci.yml | 8 +-- eng/pipelines/templates/jobs/smoke.tests.yml | 12 ++--- .../templates/stages/archetype-js-release.yml | 16 +++--- .../templates/stages/platform-matrix.json | 49 +++++++++++++++---- eng/pipelines/templates/variables/globals.yml | 2 +- 9 files changed, 63 insertions(+), 34 deletions(-) diff --git a/common/tools/eslint-plugin-azure-sdk/ci.yml b/common/tools/eslint-plugin-azure-sdk/ci.yml index 2fd0a75e8df7..2253227cb6fb 100644 --- a/common/tools/eslint-plugin-azure-sdk/ci.yml +++ b/common/tools/eslint-plugin-azure-sdk/ci.yml @@ -15,7 +15,7 @@ jobs: - template: /eng/pipelines/templates/variables/globals.yml pool: - vmImage: 'Ubuntu 18.04' + vmImage: 'Ubuntu 20.04' steps: - template: /eng/pipelines/templates/steps/common.yml diff --git a/eng/pipelines/docindex.yml b/eng/pipelines/docindex.yml index 6d63957efd3a..959893344c25 100644 --- a/eng/pipelines/docindex.yml +++ b/eng/pipelines/docindex.yml @@ -5,7 +5,7 @@ jobs: - job: UpdateDocsMsBuildConfig pool: - vmImage: ubuntu-18.04 + vmImage: ubuntu-20.04 variables: DocRepoLocation: $(Pipeline.Workspace)/docs DocRepoOwner: MicrosoftDocs diff --git a/eng/pipelines/mgmt-ci.yml b/eng/pipelines/mgmt-ci.yml index c2178aaa4235..906ab013e9b7 100644 --- a/eng/pipelines/mgmt-ci.yml +++ b/eng/pipelines/mgmt-ci.yml @@ -207,7 +207,7 @@ jobs: - job: 'Build' pool: - vmImage: 'Ubuntu 16.04' + vmImage: 'Ubuntu 20.04' steps: - task: NodeTool@0 @@ -236,7 +236,7 @@ jobs: - job: 'Analyze' pool: - vmImage: 'Ubuntu 16.04' + vmImage: 'Ubuntu 20.04' steps: - task: NodeTool@0 diff --git a/eng/pipelines/mgmt-pr.yml b/eng/pipelines/mgmt-pr.yml index e9f9a9db5a66..32f30504a7aa 100644 --- a/eng/pipelines/mgmt-pr.yml +++ b/eng/pipelines/mgmt-pr.yml @@ -205,7 +205,7 @@ jobs: - job: Build displayName: Build auto-generated projects pool: - vmImage: Ubuntu 16.04 + vmImage: Ubuntu 20.04 steps: - task: NodeTool@0 inputs: diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index 22ad61dda60e..f1a755558c9e 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -26,8 +26,8 @@ jobs: - template: ../variables/globals.yml pool: - name: azsdk-pool-mms-ubuntu-1804-general - vmImage: MMSUbuntu18.04 + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 steps: - script: | @@ -48,8 +48,8 @@ jobs: - template: ../variables/globals.yml pool: - name: azsdk-pool-mms-ubuntu-1804-general - vmImage: MMSUbuntu18.04 + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 steps: - template: ../steps/common.yml diff --git a/eng/pipelines/templates/jobs/smoke.tests.yml b/eng/pipelines/templates/jobs/smoke.tests.yml index 5fddde1e1c7d..40f51388f05d 100644 --- a/eng/pipelines/templates/jobs/smoke.tests.yml +++ b/eng/pipelines/templates/jobs/smoke.tests.yml @@ -15,8 +15,8 @@ jobs: variables: - template: /eng/pipelines/templates/variables/globals.yml pool: - name: "azsdk-pool-mms-ubuntu-1804-general" - vmImage: "MMSUbuntu18.04" + name: "azsdk-pool-mms-ubuntu-2004-general" + vmImage: "MMSUbuntu20.04" displayName: Check Smoke Test Eligibility steps: - template: /eng/pipelines/templates/steps/use-node-version.yml @@ -65,14 +65,14 @@ jobs: ArmTemplateParameters: $(AzureCloudArmTemplateParameters) NodeTestVersion: "12.x" Linux Node14 (AzureCloud): - Pool: "azsdk-pool-mms-ubuntu-1804-general" - OSVmImage: "MMSUbuntu18.04" + Pool: "azsdk-pool-mms-ubuntu-2004-general" + OSVmImage: "MMSUbuntu20.04" SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) ArmTemplateParameters: $(AzureCloudArmTemplateParameters) NodeTestVersion: "14.x" Linux Node16 (AzureCloud): - Pool: "azsdk-pool-mms-ubuntu-1804-general" - OSVmImage: "MMSUbuntu18.04" + Pool: "azsdk-pool-mms-ubuntu-2004-general" + OSVmImage: "MMSUbuntu20.04" SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources) ArmTemplateParameters: $(AzureCloudArmTemplateParameters) NodeTestVersion: "16.x" diff --git a/eng/pipelines/templates/stages/archetype-js-release.yml b/eng/pipelines/templates/stages/archetype-js-release.yml index dbf7947053b2..187be7bc08fe 100644 --- a/eng/pipelines/templates/stages/archetype-js-release.yml +++ b/eng/pipelines/templates/stages/archetype-js-release.yml @@ -23,8 +23,8 @@ stages: environment: github pool: - name: azsdk-pool-mms-ubuntu-1804-general - vmImage: MMSUbuntu18.04 + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 strategy: runOnce: @@ -62,8 +62,8 @@ stages: dependsOn: TagRepository pool: - name: azsdk-pool-mms-ubuntu-1804-general - vmImage: MMSUbuntu18.04 + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 strategy: runOnce: @@ -181,8 +181,8 @@ stages: dependsOn: PublishPackage pool: - name: azsdk-pool-mms-ubuntu-1804-general - vmImage: MMSUbuntu18.04 + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 strategy: runOnce: @@ -225,8 +225,8 @@ stages: condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['SetDevVersion'], ''), eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'))) displayName: Publish package to daily feed pool: - name: azsdk-pool-mms-ubuntu-1804-general - vmImage: MMSUbuntu18.04 + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 steps: - checkout: self - download: current diff --git a/eng/pipelines/templates/stages/platform-matrix.json b/eng/pipelines/templates/stages/platform-matrix.json index d9f954271007..f9e1997fb4d1 100644 --- a/eng/pipelines/templates/stages/platform-matrix.json +++ b/eng/pipelines/templates/stages/platform-matrix.json @@ -4,29 +4,58 @@ }, "matrix": { "Agent": { - "windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" }, - "ubuntu-18.04": { "OSVmImage": "MMSUbuntu18.04", "Pool": "azsdk-pool-mms-ubuntu-1804-general" }, - "macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" } + "windows-2019": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general" + }, + "ubuntu-20.04": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general" + }, + "macOS-10.15": { + "OSVmImage": "macOS-10.15", + "Pool": "Azure Pipelines" + } }, - "NodeTestVersion": [ "10.x", "12.x", "14.x", "16.x" ], + "NodeTestVersion": ["10.x", "12.x", "14.x", "16.x"], "TestType": "node", "TestResultsFiles": "**/test-results.xml" }, "include": [ { - "Agent": { "windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" } }, + "Agent": { + "windows-2019": { + "OSVmImage": "MMS2019", + "Pool": "azsdk-pool-mms-win-2019-general" + } + }, "Scenario": { - "coverage": { "TestType": "node", "TestResultsFiles": "**/test-results.xml", "PublishCodeCoverage": "true" }, - "sample": { "TestType": "sample", "TestResultsFiles": "**/test-results.xml" }, - "browser": { "TestType": "browser", "TestResultsFiles": "**/test-results.browser.xml" } + "coverage": { + "TestType": "node", + "TestResultsFiles": "**/test-results.xml", + "PublishCodeCoverage": "true" + }, + "sample": { + "TestType": "sample", + "TestResultsFiles": "**/test-results.xml" + }, + "browser": { + "TestType": "browser", + "TestResultsFiles": "**/test-results.browser.xml" + } }, "NodeTestVersion": "12.x" }, { - "Agent": { "ubuntu-18.04": { "OSVmImage": "MMSUbuntu18.04", "Pool": "azsdk-pool-mms-ubuntu-1804-general" } }, + "Agent": { + "ubuntu-20.04": { + "OSVmImage": "MMSUbuntu20.04", + "Pool": "azsdk-pool-mms-ubuntu-2004-general" + } + }, "TestType": "node", "NodeTestVersion": "12.x", - "DependencyVersion": [ "max", "min" ], + "DependencyVersion": ["max", "min"], "TestResultsFiles": "**/test-results.xml" } ] diff --git a/eng/pipelines/templates/variables/globals.yml b/eng/pipelines/templates/variables/globals.yml index 67a41fbe143a..c8e9b2fca31f 100644 --- a/eng/pipelines/templates/variables/globals.yml +++ b/eng/pipelines/templates/variables/globals.yml @@ -1,7 +1,7 @@ variables: DocWardenVersion: '0.5.0' NodeVersion: "14.x" - OSVmImage: "ubuntu-18.04" + OSVmImage: "ubuntu-20.04" skipComponentGovernanceDetection: true coalesceResultFilter: $[ coalesce(variables['packageGlobFilter'], '**') ] ServiceVersion: "" From 6c59958ebd42c493a96585f8e55aa2257cddafa3 Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Wed, 23 Jun 2021 15:35:42 -0400 Subject: [PATCH 030/134] Default live test timeout to 60 minutes (#15926) --- eng/pipelines/templates/jobs/live.tests.yml | 2 +- eng/pipelines/templates/stages/archetype-sdk-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/jobs/live.tests.yml b/eng/pipelines/templates/jobs/live.tests.yml index 52c877e8482e..06c9c1973421 100644 --- a/eng/pipelines/templates/jobs/live.tests.yml +++ b/eng/pipelines/templates/jobs/live.tests.yml @@ -13,7 +13,7 @@ parameters: default: 0 - name: TimeoutInMinutes type: number - default: 0 + default: 60 - name: PublishCodeCoverage type: boolean default: false diff --git a/eng/pipelines/templates/stages/archetype-sdk-tests.yml b/eng/pipelines/templates/stages/archetype-sdk-tests.yml index 7c37bd2ccf14..d7a567dd508b 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-tests.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-tests.yml @@ -13,7 +13,7 @@ parameters: default: 0 - name: TimeoutInMinutes type: number - default: 0 + default: 60 - name: PublishCodeCoverage type: boolean default: false From 137c6714ee2c8fbe7b3f3eb5bf10f969ba9d0a4a Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Wed, 23 Jun 2021 13:28:53 -0700 Subject: [PATCH 031/134] Fix handling of typed arrays in request bodies (#15904) NodeJS does not support directly passing typed arrays or ArrayBuffers to `http.ClientRequest` streams. This means we must correctly wrap these types in a `Buffer` for them to be serialized correctly. --- .../core-rest-pipeline/src/nodeHttpClient.ts | 9 ++- .../test/node/nodeHttpClient.spec.ts | 73 +++++++++++++++++++ 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts b/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts index 1d0fcc3c088f..f750d303e3c8 100644 --- a/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts +++ b/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts @@ -157,7 +157,14 @@ class NodeHttpClient implements HttpClient { if (body && isReadableStream(body)) { body.pipe(req); } else if (body) { - req.end(body); + if (typeof body === "string" || Buffer.isBuffer(body)) { + req.end(body); + } else if (isArrayBuffer(body)) { + req.end(ArrayBuffer.isView(body) ? Buffer.from(body.buffer) : Buffer.from(body)); + } else { + logger.error("Unrecognized body type", body); + throw new RestError("Unrecognized body type"); + } } else { // streams don't like "undefined" being passed as data req.end(); diff --git a/sdk/core/core-rest-pipeline/test/node/nodeHttpClient.spec.ts b/sdk/core/core-rest-pipeline/test/node/nodeHttpClient.spec.ts index 51ad1650c874..f9f09fd4860e 100644 --- a/sdk/core/core-rest-pipeline/test/node/nodeHttpClient.spec.ts +++ b/sdk/core/core-rest-pipeline/test/node/nodeHttpClient.spec.ts @@ -22,6 +22,23 @@ class FakeRequest extends PassThrough { } } +/** + * Generic NodeJS streams accept typed arrays just fine, + * but `http.ClientRequest` objects *only* support chunks + * of `Buffer` and `string`, so we must convert them first. + * + * This fake asserts we have only passed the correct types. + */ +const httpRequestChecker = { + on() { + /* no op */ + }, + end(chunk: unknown) { + const isString = typeof chunk === "string"; + assert(isString || Buffer.isBuffer(chunk), "Expected either string or Buffer"); + } +}; + function createResponse(statusCode: number, body = ""): IncomingMessage { const response = new FakeResponse(); response.headers = {}; @@ -259,4 +276,60 @@ describe("NodeHttpClient", function() { assert.strictEqual(response.status, 200); assert.strictEqual(response.bodyAsText, inputString); }); + + it("should handle typed array bodies correctly", async function() { + const client = createDefaultHttpClient(); + stubbedHttpsRequest.returns(httpRequestChecker); + + const data = new Uint8Array(10); + for (let i = 0; i < 10; i++) { + data[i] = i; + } + + const request = createPipelineRequest({ url: "https://example.com", body: data }); + const promise = client.sendRequest(request); + stubbedHttpsRequest.yield(createResponse(200)); + const response = await promise; + assert.strictEqual(response.status, 200); + }); + + it("should handle ArrayBuffer bodies correctly", async function() { + const client = createDefaultHttpClient(); + stubbedHttpsRequest.returns(httpRequestChecker); + + const data = new Uint8Array(10); + for (let i = 0; i < 10; i++) { + data[i] = i; + } + + const request = createPipelineRequest({ url: "https://example.com", body: data.buffer }); + const promise = client.sendRequest(request); + stubbedHttpsRequest.yield(createResponse(200)); + const response = await promise; + assert.strictEqual(response.status, 200); + }); + + it("should handle Buffer bodies correctly", async function() { + const client = createDefaultHttpClient(); + stubbedHttpsRequest.returns(httpRequestChecker); + + const data = Buffer.from("example text"); + + const request = createPipelineRequest({ url: "https://example.com", body: data }); + const promise = client.sendRequest(request); + stubbedHttpsRequest.yield(createResponse(200)); + const response = await promise; + assert.strictEqual(response.status, 200); + }); + + it("should handle string bodies correctly", async function() { + const client = createDefaultHttpClient(); + stubbedHttpsRequest.returns(httpRequestChecker); + + const request = createPipelineRequest({ url: "https://example.com", body: "test data" }); + const promise = client.sendRequest(request); + stubbedHttpsRequest.yield(createResponse(200)); + const response = await promise; + assert.strictEqual(response.status, 200); + }); }); From 65a90e57bcba32ee3d7553d1ef1e791d9d285487 Mon Sep 17 00:00:00 2001 From: Jose Manuel Heredia Hidalgo Date: Wed, 23 Jun 2021 13:35:24 -0700 Subject: [PATCH 032/134] [Tables] Migration Guide (#15857) * Migration Guide * Update sdk/tables/data-tables/MigrationGuide.md Co-authored-by: Christopher Scott * Update sdk/tables/data-tables/MigrationGuide.md Co-authored-by: Christopher Scott * Update sdk/tables/data-tables/MigrationGuide.md Co-authored-by: Christopher Scott * Update sdk/tables/data-tables/MigrationGuide.md Co-authored-by: Christopher Scott * Update sdk/tables/data-tables/MigrationGuide.md Co-authored-by: Christopher Scott * Fix typos * Apply suggestions from code review Co-authored-by: Matt Ellis * Address comments Co-authored-by: Christopher Scott Co-authored-by: Matt Ellis --- sdk/tables/data-tables/MigrationGuide.md | 479 +++++++++++++++++++++++ 1 file changed, 479 insertions(+) create mode 100644 sdk/tables/data-tables/MigrationGuide.md diff --git a/sdk/tables/data-tables/MigrationGuide.md b/sdk/tables/data-tables/MigrationGuide.md new file mode 100644 index 000000000000..fae04ad86117 --- /dev/null +++ b/sdk/tables/data-tables/MigrationGuide.md @@ -0,0 +1,479 @@ +# Guide for migrating to `@azure/data-tables` from `azure-storage` + +This guide is intended to assist in the migration to `@azure/data-tables` from the legacy `azure-storage` package. It will focus on side-by-side comparisons for similar operations between the two packages. + +We assume that you are familiar with `azure-storage`. If you are new to the Azure Tables client library for JavaScript, please refer to the [README](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/README.md) and [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/tables/data-tables/samples/v12) rather than this guide. + +## Table of contents + +- [Migration benefits](#migration-benefits) + - [Cross Service SDK improvements](#cross-service-sdk-improvements) +- [Important changes](#important-changes) + - [Package name and structure](#package-name-and-structure) + - [Constructing the clients](#constructing-the-clients) + - [Creating a Table](#creating-a-table) + - [Adding data to the table](#adding-data-to-the-table) + - [Fetching a single entity from the table](#fetching-a-single-entity-from-the-table) + - [Querying data from the table](#querying-data-from-the-table) + - [Delete table entities](#delete-table-entities) + - [Batch Transactions](#batch-transactions) + - [Sequential Actions](#sequential-actions) +- [Additional samples](#additional-samples) + +## Migration benefits + +As Azure has matured and been embraced by a more diverse group of developers, we have been focused on learning the patterns and practices to best support developer productivity and to understand the gaps that the JavaScript client libraries have. + +There were several areas of consistent feedback expressed across the Azure client library ecosystem. One of the most important is that the client libraries for different Azure services have not had a consistent approach to organization, naming, and API structure. Additionally, many developers have felt that the learning curve was difficult, and the APIs did not offer a good, approachable, and consistent onboarding story for those learning Azure or exploring a specific Azure service. + +To improve the development experience across Azure services, a set of uniform [design guidelines](https://azure.github.io/azure-sdk/general_introduction.html) was created for all languages to drive a consistent experience with established API patterns for all services. A set of [TypeScript & JavaScript Guidelines](https://azure.github.io/azure-sdk/typescript_introduction.html) was also introduced to ensure that TypeScript clients have a natural and idiomatic feel with respect to the TypeScript and JavaScript ecosystems. The new `@azure/data-tables` follows these guidelines. + +### Cross Service SDK improvements + +The modern `@azure/data-tables` client library also provides the ability to share in some of the cross-service improvements made to the Azure development experience, such as + +- A unified logging and diagnostics pipeline offering a common view of the activities across each of the client libraries +- Use of promises rather than callbacks for a simplified programming experience +- Use of async iterators in paging APIs + +## Important changes + +### Package name and structure + +The modern client library is named `@azure/data-tables` and was released beginning with version 12. The legacy client library is named `azure-storage` with version of 2.x.x or below. + +The legacy library `azure-storage` grouped functionality to work with multiple services in the same package such as `Blob`, `Queue`, `Files` and `Tables`. The new `@azure/data-tables` is dedicated to `Tables` there are new generation packages for the other storage services `@azure/storage-blob`, `@azure/storage-queue`, `@azure/storage-files` this provides more granular control on which dependencies to take on your project. + +### Constructing the clients + +Previously in `azure-storage`, you would use `createTableService` which can be used to get an instance of the `TableService` in order to perform service level operations. + +```javascript +const azure = require("azure-storage"); +const tableService = azure.createTableService(""); +``` + +Now, in `@azure/data-tables`, we need a TableServiceClient for service level operations. + +```javascript +const { TableServiceClient } = require("@azure/data-tables"); +const tableService = TableServiceClient.fromConnectionString(""); +``` + +### Creating a Table + +Previously in `azure-storage`, you would use a `TableService` instance to create a table. The `createTable` method would take a callback to execute once the table has been created. This forces sequential operations to be inside the callback, potentially creating a callback chain + +```javascript +const azure = require("azure-storage"); +const tableService = azure.createTableService(""); + +const tableName = ""; +tableService.createTable(tableName, function() { + console.log(`Table created`); +}); +``` + +With `@azure/data-tables` you have access to all table level operations directly from the `TableServiceClient`. Because the table service client is not affinitized to any one table, it is ideal for scenarios where you need to create, delete, or list more than one table. + +```javascript +const { TableServiceClient, AzureNamedKeyCredential } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableService = new TableServiceClient( + tablesEndpoint, + new AzureNamedKeyCredential("", "") +); + +// Creates the table with `tableName` if it doesn't exist +const table = await tableService.createTable(tableName); +console.log(`Table created`); +``` + +If your intention is to work only in the context of a single table, it's also possible to create a table from the `TableClient`. + +```javascript +const { TableClient, AzureNamedKeyCredential } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); + +// Creates the table with `tableName` if it doesn't exist +const table = await tableClient.createTable(); +console.log(`Table created`); +``` + +### Adding data to the table + +Previously in `azure-storage`, we would create our entity as an object with a specific structure for representing values, also keeping in mind that there are 2 required properties `PartitionKey` and `RowKey` in which the capital `P` and `R` respectively are important as the service is case sensitive. + +There were 2 ways to set the property values in `azure-storage` the raw way in which the value of each property is an object with a property named `_`containing the value and an optional property named `$` to specify the `Edm` type. If no type is passed it is inferred + +```javascript +const azure = require("azure-storage"); +const tableName = ""; +const tableService = azure.createTableService(""); + +const task1 = { + PartitionKey: { _: "hometasks" }, + RowKey: { _: "1" }, + description: { _: "take out the trash" }, + dueDate: { _: new Date(2015, 6, 20), $: "Edm.DateTime" } +}; + +tableService.insertEntity(tableName, task1, function() { + console.log("Entity inserted"); +}); +``` + +The other way in `azure-storage` to insert an entity was to use the entityGenerator which helped abstracting the creation of the value object described above + +```javascript +const azure = require("azure-storage"); +const entGen = azure.TableUtilities.entityGenerator; +const tableName = ""; +const tableService = azure.createTableService(""); + +const task1 = { + PartitionKey: entGen.String("hometasks"), + RowKey: entGen.String("1"), + description: entGen.String("take out the trash"), + dueDate: entGen.DateTime(new Date(2015, 6, 20)) +}; + +tableService.insertEntity(tableName, task1, function() { + console.log("Entity inserted"); +}); +``` + +Now in the new `@azure/data-tables` SDK, in order to have more idiomatic property names in our entities we have moved to `partitionKey` and `rowKey` (camel case). Also you no longer need to use the value object structure or entityGenerator anymore, instead use normal JavaScript values. + +```javascript +const { TableClient, AzureNamedKeyCredential } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); + +// Creates the table with `tableName` if it doesn't exist +const task1 = { + partitionKey: "hometasks", + rowKey: "1", + description: "take out the trash", + dueDate: new Date(2015, 6, 20) +}; + +await tableClient.createEntity(task1); +``` + +If you are using TypeScript, the `@azure/data-tables` package provides a type, `TableEntity`, that can help you build your entities providing static check to make sure the required `rowKey` and `partitionKey` properties are present. + +```typescript +const { TableClient, AzureNamedKeyCredential, TableEntity } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); + +const task1: TableEntity = { + partitionKey: "hometasks", + rowKey: "1", + description: "take out the trash", + dueDate: new Date(2015, 6, 20) +}; + +await tableClient.createEntity(task1); +``` + +### Fetching a single entity from the table + +Both clients allow for fetching a single entity from the table if the partitionKey and rowKey are known. + +Previously in `azure-storage`, to access the entity we'd need to do it inside the callback on `retrieveEntity` + +```javascript +const azure = require("azure-storage"); +const tableService = azure.createTableService(""); + +const tableName = ""; +tableService.retrieveEntity(tableName, "hometasks", "1", function(error, result, response) { + if (!error) { + // result contains the entity + console.log(result); + } +}); +``` + +Now with `@azure/data-tables` we use `getEntity` on the TableClient, the return type is a Promise of the entity which can be awaited, making the code cleaner. + +```javascript +const { TableClient, AzureNamedKeyCredential } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); + +const entity = await tableClient.getEntity("hometasks", "1"); +console.log(entity); +``` + +### Querying data from the table + +Previously in `azure-storage`, querying a table didn't provide a built in way to handle pagination, looking as follows. + +```javascript +const azure = require("azure-storage"); +const tableService = azure.createTableService(""); +const tableName = ""; +const query = new azure.TableQuery().where("PartitionKey eq ?", "part2"); + +let entities = []; + +function listEntities(query, continuationToken, callback) { + tableService.queryEntities(tableName, query, null, function(error, result) { + entities.push(result.entries); + const token = result.continuationToken; + if (token) { + listEntities(query, continuationToken, callback); + } else { + console.log("completed getting all entities"); + callback(); + } + }); +} + +listEntities(query, null, function() { + console.log(entities); +}); +``` + +In the new `@azure/data-tables` we return a `PagedAsyncIterableIterator` that handles the details of pagination internally, simplifying the task of iteration. + +```javascript +const { TableClient, AzureNamedKeyCredential, odata } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); +const partitionKey = "part2"; + +const entities = tableClient.listEntities({ + queryOptions: { filter: odata`PartitionKey eq ${partitionKey}` } +}); + +for await (const entity of entities) { + console.log(entity); +} +``` + +### Delete table entities + +Previously with `azure-storage`, deleting a table entity was accomplished with the following code. + +```javascript +const azure = require("azure-storage"); +const tableService = azure.createTableService(""); + +const tableName = ""; +const task = { + PartitionKey: { _: "hometasks" }, + RowKey: { _: "1" } +}; + +tableService.deleteEntity(tableName, task, function(error, response) { + if (!error) { + console.log("Entity deleted"); + } +}); +``` + +Now in `@azure/data-tables`, deleting an entity requires just the paritionKey and rowKey values. + +```javascript +const { TableClient, AzureNamedKeyCredential } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); + +await tableClient.deleteEntity("hometasks", "1"); +console.log("Entity deleted"); +``` + +### Batch Transactions + +Previously with `azure-storage`, creating and executing a transactional batch operation involved creating a `TableBatch` which contained the TableOperation(s) to be executed. The result from ExecuteBatch was a TableBatchResult which is essentially a collection of TableResults. + +```javascript +const azure = require("azure-storage"); +const tableService = azure.createTableService(""); + +const tableName = ""; + +const task1 = { + PartitionKey: { _: "hometasks" }, + RowKey: { _: "1" }, + description: { _: "Take out the trash" }, + dueDate: { _: new Date(2015, 6, 20) } +}; +const task2 = { + PartitionKey: { _: "hometasks" }, + RowKey: { _: "2" }, + description: { _: "Wash the dishes" }, + dueDate: { _: new Date(2015, 6, 20) } +}; + +const batch = new azure.TableBatch(); + +batch.insertEntity(task1, { echoContent: true }); +batch.insertEntity(task2, { echoContent: true }); + +tableService.executeBatch(tableName, batch, function(error, result, response) { + if (!error) { + console.log("Batch completed"); + } +}); +``` + +Now in `@azure/data-tables`, you just need to create an array of operations and pass it to the `submitTransaction` method on the `TableClient` + +```javascript +const { TableClient, AzureNamedKeyCredential } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); + +const task1 = { + partitionKey: "hometasks", + rowKey: "1", + description: "Take out the trash", + dueDate: new Date(2015, 6, 20) +}; +const task2 = { + partitionKey: "hometasks", + rowKey: "2", + description: "Wash the dishes", + dueDate: new Date(2015, 6, 20) +}; + +const tableActions = [ + ["create", task1], + ["create", task2] +]; + +await tableClient.submitTransaction(tableActions); +console.log("Transaction completed"); +``` + +For convenience also provide a helper that works in a similar way as `TableBatch` in `azure-storage`. + +```javascript +const { TableClient, AzureNamedKeyCredential, TableTransaction } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); + +const task1 = { + partitionKey: "hometasks", + rowKey: "1", + description: "Take out the trash", + dueDate: new Date(2015, 6, 20) +}; +const task2 = { + partitionKey: "hometasks", + rowKey: "2", + description: "Wash the dishes", + dueDate: new Date(2015, 6, 20) +}; + +const transaction = new TableTransaction(); +transaction.createEntity(task1); +transaction.createEntity(task2); + +await tableClient.submitTransaction(transaction.actions); +console.log("Transaction completed"); +``` + +### Sequential Actions + +Previously in `azure-storage`, all the operations took a callback which would be executed once the operation completed. For example, to create a table and then insert two entities we would like to write the following nested code + +```javascript +const azure = require("azure-storage"); +const tableService = azure.createTableService(""); + +const tableName = ""; +tableService.createTable(tableName, function() { + tableService.insertEntity( + tableName, + { PartitionKey: "p1", RowKey: "r1", foo: "bar" }, + function() { + tableService.insertEntity( + tableName, + { PartitionKey: "p2", RowKey: "r2", foo: "baz" }, + function() { + console.log("Inserted Entity"); + } + ); + } + ); +}); +``` + +With `@azure/data-tables` we work with promises which makes the programming experience better, leveraging async/await we no longer need nested code blocks to perform sequential actions + +```javascript +const { TableClient, AzureNamedKeyCredential } = require("@azure/data-tables"); +const tableName = ""; +const tablesEndpoint = "https://.table.core.windows.net"; + +const tableClient = new TableClient( + tablesEndpoint, + tableName, + new AzureNamedKeyCredential("", "") +); + +await tableClient.createTable(); +await tableClient.createEntity({ partitionKey: "p1", rowKey: "r1", foo: "bar" }); +await tableClient.createEntity({ partitionKey: "p2", rowKey: "r2", foo: "baz" }); +``` + +## Additional samples + +More samples can be found [here](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/tables/data-tables/samples/v12) From 99d53b6b85e855cadc281683b4e16be4a15cbfe2 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Wed, 23 Jun 2021 13:49:36 -0700 Subject: [PATCH 033/134] [core] - GA core-rest-pipeline 1.1.0 (#15923) ## What - Update `@azure/core-rest-pipeline` to 1.1.0 from beta - Update dependencies to the latest version - Update everyone to the same version of `@azure/core-tracing` ## Why Now that we used the CAE capabilities added in core-rest-pipeline in both container registry and key vault it's time to GA this version! It also unblocks our efforts to get everyone upgraded to the latest core-tracing (and OTel by extension) versions. --- common/config/rush/common-versions.json | 6 ++---- sdk/agrifood/agrifood-farming-rest/package.json | 2 +- sdk/attestation/attestation/package.json | 4 ++-- .../confidential-ledger-rest/package.json | 2 +- sdk/containerregistry/container-registry/package.json | 4 ++-- sdk/core/core-client-rest/package.json | 2 +- sdk/core/core-client/package.json | 4 ++-- sdk/core/core-rest-pipeline/CHANGELOG.md | 6 +++++- sdk/core/core-rest-pipeline/package.json | 4 ++-- sdk/core/core-rest-pipeline/src/constants.ts | 2 +- sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts | 2 +- sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts | 2 +- sdk/core/perf-tests/core-rest-pipeline/package.json | 2 +- .../ai-document-translator-rest/package.json | 2 +- sdk/eventgrid/eventgrid/package.json | 4 ++-- sdk/iot/iot-modelsrepository/package.json | 4 ++-- sdk/keyvault/keyvault-admin/package.json | 4 ++-- sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts | 2 +- sdk/purview/purview-catalog-rest/package.json | 2 +- sdk/purview/purview-scanning-rest/package.json | 2 +- sdk/storage/perf-tests/storage-blob/package.json | 2 +- sdk/storage/storage-blob/package.json | 2 +- sdk/tables/data-tables/package.json | 4 ++-- sdk/textanalytics/ai-text-analytics/package.json | 4 ++-- 24 files changed, 38 insertions(+), 36 deletions(-) diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index a9ba42820513..46ee6a250076 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -65,8 +65,6 @@ // @azure/test-utils-perfstress should depend on lowest version of @azure/core-http for maximum compatibility, allowing test // projects to choose a higher version if desired. "@azure/core-http": ["^1.0.0"], - // @azure/container-registry and perf test are using the beta version in the repo. - "@azure/core-rest-pipeline": ["1.1.0-beta.4"], // @azure/event-processor-host is on a much lower major version "@azure/ms-rest-nodeauth": ["^0.9.2"], // Idenity is moving from v1 to v2. Moving all packages to v2 is going to take a bit of time, in the mean time we could use v2 on the perf-identity tests. @@ -74,7 +72,7 @@ // Issue #14771 tracks updating to these versions "@microsoft/api-extractor": ["7.13.2"], "prettier": ["2.2.1"], - // All packages should move to 1.0.0 once core-rest-pipeline 1.1.0 GAs - "@azure/core-tracing": ["1.0.0-preview.11"] + // @azure/cosmos was unable to upgrade due to test failures, Issue #15928 tracks making this upgrade + "@azure/core-rest-pipeline": ["^1.0.3"] } } diff --git a/sdk/agrifood/agrifood-farming-rest/package.json b/sdk/agrifood/agrifood-farming-rest/package.json index ff5fd1e68354..0c27893927cf 100644 --- a/sdk/agrifood/agrifood-farming-rest/package.json +++ b/sdk/agrifood/agrifood-farming-rest/package.json @@ -86,7 +86,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure-rest/core-client": "1.0.0-beta.4", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/attestation/attestation/package.json b/sdk/attestation/attestation/package.json index 2647445d2884..ddd9204de7a5 100644 --- a/sdk/attestation/attestation/package.json +++ b/sdk/attestation/attestation/package.json @@ -89,8 +89,8 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", - "@azure/core-rest-pipeline": "^1.0.3", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", "jsrsasign": "^10.3.0" diff --git a/sdk/confidentialledger/confidential-ledger-rest/package.json b/sdk/confidentialledger/confidential-ledger-rest/package.json index c5d7755449cc..be96d264d97f 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/package.json +++ b/sdk/confidentialledger/confidential-ledger-rest/package.json @@ -86,7 +86,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure-rest/core-client": "1.0.0-beta.4", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/containerregistry/container-registry/package.json b/sdk/containerregistry/container-registry/package.json index ecfd88075a42..446720df2e09 100644 --- a/sdk/containerregistry/container-registry/package.json +++ b/sdk/containerregistry/container-registry/package.json @@ -78,9 +78,9 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", - "@azure/core-rest-pipeline": "1.1.0-beta.4", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/core/core-client-rest/package.json b/sdk/core/core-client-rest/package.json index 8782bb3644e3..8df299483348 100644 --- a/sdk/core/core-client-rest/package.json +++ b/sdk/core/core-client-rest/package.json @@ -62,7 +62,7 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "tslib": "^2.2.0" }, "devDependencies": { diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index 75ae43754150..2f46e8c964e3 100644 --- a/sdk/core/core-client/package.json +++ b/sdk/core/core-client/package.json @@ -79,8 +79,8 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-asynciterator-polyfill": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-rest-pipeline": "^1.0.3", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, "devDependencies": { diff --git a/sdk/core/core-rest-pipeline/CHANGELOG.md b/sdk/core/core-rest-pipeline/CHANGELOG.md index 83325d678b12..204c6f00e236 100644 --- a/sdk/core/core-rest-pipeline/CHANGELOG.md +++ b/sdk/core/core-rest-pipeline/CHANGELOG.md @@ -1,11 +1,15 @@ # Release History -## 1.1.0-beta.4 (Unreleased) +## 1.1.0 (Unreleased) ### Fixed - Fixed an issue where `proxySettings` does not work when there is username but no password [Issue 15720](https://github.com/Azure/azure-sdk-for-js/issues/15720) +### Breaking Changes + +- Updated @azure/core-tracing to version `1.0.0-preview.12`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. + ## 1.1.0-beta.3 (2021-06-03) - Merged `bearerTokenChallengeAuthenticationPolicy` into `bearerTokenAuthenticationPolicy`. This will keep the functionality of `bearerTokenAuthenticationPolicy`, but also adds the `challengeCallbacks` feature. diff --git a/sdk/core/core-rest-pipeline/package.json b/sdk/core/core-rest-pipeline/package.json index 2760c6257af5..5848c1a2bc5a 100644 --- a/sdk/core/core-rest-pipeline/package.json +++ b/sdk/core/core-rest-pipeline/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-rest-pipeline", - "version": "1.1.0-beta.4", + "version": "1.1.0", "description": "Isomorphic client library for making HTTP requests in node.js and browser.", "sdk-type": "client", "main": "dist/index.js", @@ -93,7 +93,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "form-data": "^3.0.0", "tslib": "^2.2.0", diff --git a/sdk/core/core-rest-pipeline/src/constants.ts b/sdk/core/core-rest-pipeline/src/constants.ts index a1df7c491c7a..9ffa1892ce39 100644 --- a/sdk/core/core-rest-pipeline/src/constants.ts +++ b/sdk/core/core-rest-pipeline/src/constants.ts @@ -1,4 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "1.1.0-beta.4"; +export const SDK_VERSION: string = "1.1.0"; diff --git a/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts b/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts index 3ada95732249..fd6125a05201 100644 --- a/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts +++ b/sdk/core/core-rest-pipeline/src/policies/tracingPolicy.ts @@ -77,7 +77,7 @@ export function tracingPolicy(options: TracingPolicyOptions = {}): PipelinePolic try { // set headers - const spanContext = span.context(); + const spanContext = span.spanContext(); const traceParentHeader = getTraceParentHeader(spanContext); if (traceParentHeader) { request.headers.set("traceparent", traceParentHeader); diff --git a/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts b/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts index 4f10a42646a9..f7003d05c446 100644 --- a/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts +++ b/sdk/core/core-rest-pipeline/test/tracingPolicy.spec.ts @@ -88,7 +88,7 @@ class MockSpan implements Span { return this._attributes[key]; } - context(): SpanContext { + spanContext(): SpanContext { const state = this.state; const traceState = { diff --git a/sdk/core/perf-tests/core-rest-pipeline/package.json b/sdk/core/perf-tests/core-rest-pipeline/package.json index d253ccf01d9c..05096d5ba069 100644 --- a/sdk/core/perf-tests/core-rest-pipeline/package.json +++ b/sdk/core/perf-tests/core-rest-pipeline/package.json @@ -7,7 +7,7 @@ "author": "", "license": "ISC", "dependencies": { - "@azure/core-rest-pipeline": "1.1.0-beta.4", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/core-auth": "^1.3.0", "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0" diff --git a/sdk/documenttranslator/ai-document-translator-rest/package.json b/sdk/documenttranslator/ai-document-translator-rest/package.json index b4cf27b654e2..85dc02526b4e 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/package.json +++ b/sdk/documenttranslator/ai-document-translator-rest/package.json @@ -91,7 +91,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure-rest/core-client": "1.0.0-beta.4", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/eventgrid/eventgrid/package.json b/sdk/eventgrid/eventgrid/package.json index 667a68b65182..2bab3114d7a7 100644 --- a/sdk/eventgrid/eventgrid/package.json +++ b/sdk/eventgrid/eventgrid/package.json @@ -91,8 +91,8 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", - "@azure/core-rest-pipeline": "^1.0.3", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", "uuid": "^8.3.0" diff --git a/sdk/iot/iot-modelsrepository/package.json b/sdk/iot/iot-modelsrepository/package.json index e1a131282d7b..92d32575096c 100644 --- a/sdk/iot/iot-modelsrepository/package.json +++ b/sdk/iot/iot-modelsrepository/package.json @@ -66,8 +66,8 @@ "dependencies": { "@azure/core-client": "^1.0.0", "@azure/core-util": "^1.0.0-beta.1", - "@azure/core-rest-pipeline": "^1.0.3", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", "tslib": "^2.2.0" diff --git a/sdk/keyvault/keyvault-admin/package.json b/sdk/keyvault/keyvault-admin/package.json index 65cd07c9b75b..2b3d32eaf19e 100644 --- a/sdk/keyvault/keyvault-admin/package.json +++ b/sdk/keyvault/keyvault-admin/package.json @@ -109,8 +109,8 @@ "@azure/core-http": "^1.2.0", "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", - "@azure/core-rest-pipeline": "1.1.0-beta.4", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-rest-pipeline": "^1.1.0", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "@types/uuid": "^8.0.0", "tslib": "^2.2.0", diff --git a/sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts b/sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts index da54ac21a98c..e3b3aa41f8af 100644 --- a/sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts +++ b/sdk/keyvault/keyvault-admin/test/utils/supportsTracing.ts @@ -34,7 +34,7 @@ export async function supportsTracing( // Ensure top-level children are created correctly. // Testing the entire tree structure can be tricky as other packages might create their own spans. - const spanGraph = tracer.getSpanGraph(rootSpan.context().traceId); + const spanGraph = tracer.getSpanGraph(rootSpan.spanContext().traceId); const directChildren = spanGraph.roots[0].children.map((child) => child.name); // LROs might poll N times, so we'll make a unique array and compare that. assert.sameMembers(Array.from(new Set(directChildren)), children); diff --git a/sdk/purview/purview-catalog-rest/package.json b/sdk/purview/purview-catalog-rest/package.json index b52fe0d6c388..c26b4d53f52e 100644 --- a/sdk/purview/purview-catalog-rest/package.json +++ b/sdk/purview/purview-catalog-rest/package.json @@ -85,7 +85,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure-rest/core-client": "1.0.0-beta.4", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/purview/purview-scanning-rest/package.json b/sdk/purview/purview-scanning-rest/package.json index 1373d967f220..61584a41ab83 100644 --- a/sdk/purview/purview-scanning-rest/package.json +++ b/sdk/purview/purview-scanning-rest/package.json @@ -85,7 +85,7 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure-rest/core-client": "1.0.0-beta.4", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, diff --git a/sdk/storage/perf-tests/storage-blob/package.json b/sdk/storage/perf-tests/storage-blob/package.json index 37aad0a42180..69652be5dd4d 100644 --- a/sdk/storage/perf-tests/storage-blob/package.json +++ b/sdk/storage/perf-tests/storage-blob/package.json @@ -8,7 +8,7 @@ "license": "ISC", "dependencies": { "@azure/core-http": "^1.2.0", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/storage-blob": "^12.6.0-beta.1", "@azure/test-utils-perfstress": "^1.0.0", "dotenv": "^8.2.0", diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 231a43507320..12edfff46aa1 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -136,7 +136,7 @@ "tslib": "^2.2.0" }, "devDependencies": { - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.4", diff --git a/sdk/tables/data-tables/package.json b/sdk/tables/data-tables/package.json index 2e360e93587c..6accb5c71e4f 100644 --- a/sdk/tables/data-tables/package.json +++ b/sdk/tables/data-tables/package.json @@ -78,11 +78,11 @@ "dependencies": { "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/core-paging": "^1.1.1", "@azure/core-xml": "1.0.0-beta.1", "@azure/logger": "^1.0.0", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0", "uuid": "^8.3.0" }, diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index 8ab2efab712b..27fd072f9334 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -93,10 +93,10 @@ "@azure/core-asynciterator-polyfill": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/core-lro": "^1.0.6", "@azure/core-paging": "^1.1.1", - "@azure/core-tracing": "1.0.0-preview.11", + "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, From 2d2c6561cac330b8720763db88705fad4e867bda Mon Sep 17 00:00:00 2001 From: Jose Manuel Heredia Hidalgo Date: Wed, 23 Jun 2021 15:49:17 -0700 Subject: [PATCH 034/134] [Tables] Support AAD Authentication (#15852) * Support AAD Authentication * Update changelog * Update recordings * fix format * Update sdk/tables/data-tables/README.md Co-authored-by: Matt Ellis * Address comments and add test * Update release version * Add Acknowledgments to changelog * Fix link * Remove breaking changes section Co-authored-by: Matt Ellis --- sdk/tables/data-tables/CHANGELOG.md | 14 +- sdk/tables/data-tables/README.md | 69 +++-- sdk/tables/data-tables/karma.conf.js | 15 +- sdk/tables/data-tables/package.json | 3 +- .../recording_should_send_a_null_ap.json | 2 +- ...rding_should_handle_sub_request_error.json | 95 +++++++ ...ns_when_using_tabletransaction_helper.json | 96 +++++++ ...send_a_set_of_create_batch_operations.json | 95 +++++++ ...send_a_set_of_delete_batch_operations.json | 95 +++++++ ...send_a_set_of_update_batch_operations.json | 118 ++++++++ ...send_a_set_of_upsert_batch_operations.json | 118 ++++++++ ...nsactions_with_the_same_partition_key.json | 161 +++++++++++ ...ding_should_createentity_with_boolean.json | 95 +++++++ ...cording_should_createentity_with_date.json | 95 +++++++ ...ing_should_createentity_with_datetime.json | 95 +++++++ ...cording_should_createentity_with_guid.json | 95 +++++++ ...ording_should_createentity_with_int32.json | 95 +++++++ ...ording_should_createentity_with_int64.json | 95 +++++++ ...uld_createentity_with_only_primitives.json | 95 +++++++ ...teentity_with_primitive_int_and_float.json | 95 +++++++ .../recording_should_list_all.json | 56 ++++ ...ording_should_list_binary_with_filter.json | 56 ++++ .../recording_should_list_by_page.json | 169 +++++++++++ .../recording_should_list_with_filter.json | 56 ++++ ...g_should_create_new_table_then_delete.json | 93 ++++++ .../recording_should_list_all.json | 54 ++++ .../recording_should_list_by_page.json | 156 ++++++++++ .../recording_should_send_a_null_ap.js | 20 +- ...cording_should_handle_sub_request_error.js | 263 +++++++++++++++++ ...ions_when_using_tabletransaction_helper.js | 159 +++++++++++ ...d_send_a_set_of_create_batch_operations.js | 157 ++++++++++ ...d_send_a_set_of_delete_batch_operations.js | 157 ++++++++++ ...d_send_a_set_of_update_batch_operations.js | 185 ++++++++++++ ...d_send_a_set_of_upsert_batch_operations.js | 185 ++++++++++++ ...ransactions_with_the_same_partition_key.js | 208 ++++++++++++++ ...ording_should_createentity_with_boolean.js | 190 +++++++++++++ ...recording_should_createentity_with_date.js | 190 +++++++++++++ ...rding_should_createentity_with_datetime.js | 190 +++++++++++++ ...recording_should_createentity_with_guid.js | 190 +++++++++++++ ...ecording_should_createentity_with_int32.js | 190 +++++++++++++ ...ecording_should_createentity_with_int64.js | 190 +++++++++++++ ...hould_createentity_with_only_primitives.js | 190 +++++++++++++ ...eateentity_with_primitive_int_and_float.js | 190 +++++++++++++ .../recording_should_list_all.js | 139 +++++++++ ...ecording_should_list_binary_with_filter.js | 139 +++++++++ .../recording_should_list_by_page.js | 267 ++++++++++++++++++ .../recording_should_list_with_filter.js | 139 +++++++++ ...ing_should_create_new_table_then_delete.js | 186 ++++++++++++ .../recording_should_list_all.js | 138 +++++++++ .../recording_should_list_by_page.js | 259 +++++++++++++++++ .../data-tables/review/data-tables.api.md | 9 +- .../samples-dev/authenticationMethods.ts | 17 ++ sdk/tables/data-tables/src/TableClient.ts | 84 +++++- .../data-tables/src/TableServiceClient.ts | 71 ++++- .../data-tables/src/TableTransaction.ts | 88 ++++-- sdk/tables/data-tables/src/utils/constants.ts | 4 +- .../data-tables/src/utils/isCredential.ts | 10 +- sdk/tables/data-tables/swagger/README.md | 2 +- .../test/internal/tableTransaction.spec.ts | 51 ++++ .../test/public/tableclient.spec.ts | 2 +- .../test/public/tableserviceclient.spec.ts | 2 +- .../test/public/transaction.spec.ts | 2 +- .../test/public/utils/recordedClient.ts | 41 ++- 63 files changed, 6689 insertions(+), 96 deletions(-) create mode 100644 sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_handle_sub_request_error.json create mode 100644 sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_create_actions_when_using_tabletransaction_helper.json create mode 100644 sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_create_batch_operations.json create mode 100644 sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_delete_batch_operations.json create mode 100644 sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_update_batch_operations.json create mode 100644 sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_upsert_batch_operations.json create mode 100644 sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_multiple_transactions_with_the_same_partition_key.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_boolean.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_date.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_datetime.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_guid.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int32.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int64.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_only_primitives.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_primitive_int_and_float.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_all.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_binary_with_filter.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_by_page.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_with_filter.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_create_get_table_and_delete/recording_should_create_new_table_then_delete.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_listtables/recording_should_list_all.json create mode 100644 sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_listtables/recording_should_list_by_page.json create mode 100644 sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_handle_sub_request_error.js create mode 100644 sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_create_actions_when_using_tabletransaction_helper.js create mode 100644 sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_create_batch_operations.js create mode 100644 sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_delete_batch_operations.js create mode 100644 sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_update_batch_operations.js create mode 100644 sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_upsert_batch_operations.js create mode 100644 sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_multiple_transactions_with_the_same_partition_key.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_boolean.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_date.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_datetime.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_guid.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int32.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int64.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_only_primitives.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_primitive_int_and_float.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_all.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_binary_with_filter.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_by_page.js create mode 100644 sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_with_filter.js create mode 100644 sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_create_get_table_and_delete/recording_should_create_new_table_then_delete.js create mode 100644 sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_listtables/recording_should_list_all.js create mode 100644 sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_listtables/recording_should_list_by_page.js create mode 100644 sdk/tables/data-tables/test/internal/tableTransaction.spec.ts diff --git a/sdk/tables/data-tables/CHANGELOG.md b/sdk/tables/data-tables/CHANGELOG.md index 21bbf91a67e3..089855f3f593 100644 --- a/sdk/tables/data-tables/CHANGELOG.md +++ b/sdk/tables/data-tables/CHANGELOG.md @@ -1,15 +1,21 @@ # Release History -## 12.0.1 (Unreleased) +## 12.1.0 (Unreleased) -### Features Added +### Acknowledgments -### Breaking Changes +Thank you to our developer community members who helped to make the Azure Tables client library better with their contributions to this release: + +- Eros Stein _([GitHub](https://github.com/eestein))_ + +### Features Added -### Key Bugs Fixed +- Support for Azure Active Directory (AAD) authorization has been added to `TableServiceClient` and `TableClient`. This enables use of `TokenCredential` credentials. Note: Only Azure Storage API endpoints currently support AAD authorization. [#15852](https://github.com/Azure/azure-sdk-for-js/pull/15852) ### Fixed +- Fix [#15664](https://github.com/Azure/azure-sdk-for-js/issues/15701), adding check to make sure we always have only one forward slash (`/`) added to the end of the URL [#15698](https://github.com/Azure/azure-sdk-for-js/pull/15698) (A community contribution, courtesy of _[eestein](https://github.com/eestein))_ +- Fix [#15701](https://github.com/Azure/azure-sdk-for-js/issues/15701) by improving error handling and reporting on `submitTransaction`. [#15852](https://github.com/Azure/azure-sdk-for-js/pull/15852) ## 12.0.0 (2021-06-09) diff --git a/sdk/tables/data-tables/README.md b/sdk/tables/data-tables/README.md index 3d6e53634f2f..549bb494ce79 100644 --- a/sdk/tables/data-tables/README.md +++ b/sdk/tables/data-tables/README.md @@ -41,12 +41,14 @@ npm install @azure/data-tables Azure Tables supports several ways to authenticate. In order to interact with the Azure Tables service you'll need to create an instance of a Tables client - `TableServiceClient` or `TableClient` for example. See [samples for creating the `TableServiceClient`](#create-the-table-service-client) to learn more about authentication. -Note: Azure Tables doesn't support Azure Active Directory (AAD) +Note: Azure Active Directory (AAD) is only supported for Azure Storage accounts. - [Service client with Shared Key](#tableserviceclient-with-azurenamedkeycredential) - [Service client with Shared access signatures](#tableserviceclient-with-sas-token) +- [Service client with TokenCredential (AAD)](#tableserviceclient-with-tokencredential-aad) - [Table client with Shared Key](#tableclient-with-azurenamedkeycredential) - [Table client with Shared access signatures](#tableclient-with-sas-token) +- [Table client with TokenCredential (AAD)](#tableclient-with-tokencredential-aad) #### Following features, interfaces, classes or functions are only available in Node.js @@ -115,22 +117,28 @@ const { TableServiceClient, AzureNamedKeyCredential } = require("@azure/data-tab The `TableServiceClient` requires a URL to the table service and an access credential. It also optionally accepts some settings in the `options` parameter. -#### `TableServiceClient` with `AzureNamedKeyCredential` +#### `TableServiceClient` with TokenCredential (AAD) +Azure Tables provides integration with Azure Active Directory (Azure AD) for identity-based authentication of requests +to the Table service when targeting a Storage endpoint. With Azure AD, you can use role-based access control (RBAC) to +grant access to your Azure Table resources to users, groups, or applications. -You can instantiate a `TableServiceClient` with a `AzureNamedKeyCredential` by passing account-name and account-key as arguments. (The account-name and account-key can be obtained from the azure portal.) -[ONLY AVAILABLE IN NODE.JS RUNTIME] +To access a table resource with a `TokenCredential`, the authenticated identity should have either the "Storage Table Data Contributor" or "Storage Table Data Reader" role. -```javascript -const { TableServiceClient, AzureNamedKeyCredential } = require("@azure/data-tables"); +With the `@azure/identity` package, you can seamlessly authorize requests in both development and production environments. +To learn more about Azure AD integration in Azure Storage, see the [Azure.Identity README](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) -// Enter your storage account name and shared key -const account = ""; -const accountKey = ""; +```javascript +const { TableServiceClient } = require("@azure/data-tables"); +const { DefaultAzureCredential } = require("@azure/identity"); + +// DefaultAzureCredential expects the following three environment variables: +// - AZURE_TENANT_ID: The tenant ID in Azure Active Directory +// - AZURE_CLIENT_ID: The application (client) ID registered in the AAD tenant +// - AZURE_CLIENT_SECRET: The client secret for the registered application +const credential = new DefaultAzureCredential(); +const account = ""; -// Use AzureNamedKeyCredential with storage account and account key -// AzureNamedKeyCredential is only available in Node.js runtime, not in browsers -const credential = new AzureNamedKeyCredential(account, accountKey); -const serviceClient = new TableServiceClient( +const clientWithAAD = new TableServiceClient( `https://${account}.table.core.windows.net`, credential ); @@ -214,7 +222,7 @@ main(); The `TableClient` is created in a similar way as the `TableServiceClient` with the difference that `TableClient` takes a table name as a parameter -#### TableClient with `AzureNamedKeyCredential` +#### `TableClient` with `AzureNamedKeyCredential` You can instantiate a `TableClient` with a `AzureNamedKeyCredential` by passing account-name and account-key as arguments. (The account-name and account-key can be obtained from the azure portal.) [ONLY AVAILABLE IN NODE.JS RUNTIME] @@ -233,9 +241,38 @@ const credential = new AzureNamedKeyCredential(account, accountKey); const client = new TableClient(`https://${account}.table.core.windows.net`, tableName, credential); ``` -#### TableClient with SAS Token +#### `TableClient` with `TokenCredential` (Azure Active Directory) +Azure Tables provides integration with Azure Active Directory (Azure AD) for identity-based authentication of requests +to the Table service when targeting a Storage endpoint. With Azure AD, you can use role-based access control (RBAC) to +grant access to your Azure Table resources to users, groups, or applications. + +To access a table resource with a `TokenCredential`, the authenticated identity should have either the "Storage Table Data Contributor" or "Storage Table Data Reader" role. + +With the `@azure/identity` package, you can seamlessly authorize requests in both development and production environments. +To learn more about Azure AD integration in Azure Storage, see the [Azure.Identity README](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/README.md) + +```javascript +const { TableClient } = require("@azure/data-tables"); +const { DefaultAzureCredential } = require("@azure/identity"); + +// DefaultAzureCredential expects the following three environment variables: +// - AZURE_TENANT_ID: The tenant ID in Azure Active Directory +// - AZURE_CLIENT_ID: The application (client) ID registered in the AAD tenant +// - AZURE_CLIENT_SECRET: The client secret for the registered application +const credential = new DefaultAzureCredential(); +const account = ""; +const tableName = ""; + +const clientWithAAD = new TableClient( + `https://${account}.table.core.windows.net`, + tableName, + credential +); +``` + +#### `TableClient` with SAS Token -Also, You can instantiate a `TableClient` with a shared access signatures (SAS). You can get the SAS token from the Azure Portal. +You can instantiate a `TableClient` with a shared access signatures (SAS). You can get the SAS token from the Azure Portal. ```javascript const { TableClient, AzureSASCredential } = require("@azure/data-tables"); diff --git a/sdk/tables/data-tables/karma.conf.js b/sdk/tables/data-tables/karma.conf.js index 91fa45895a95..8cbf28efc5e3 100644 --- a/sdk/tables/data-tables/karma.conf.js +++ b/sdk/tables/data-tables/karma.conf.js @@ -66,7 +66,10 @@ module.exports = function(config) { "SAS_TOKEN", "TEST_MODE", "SAS_CONNECTION_STRING", - "ACCOUNT_CONNECTION_STRING" + "ACCOUNT_CONNECTION_STRING", + "AZURE_TENANT_ID", + "AZURE_CLIENT_ID", + "AZURE_CLIENT_SECRET" ], // test results reporter to use @@ -116,7 +119,15 @@ module.exports = function(config) { // start these browsers // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher // 'ChromeHeadless', 'Chrome', 'Firefox', 'Edge', 'IE' - browsers: ["ChromeHeadless"], + browsers: ["ChromeHeadlessNoSandbox"], + customLaunchers: { + ChromeHeadlessNoSandbox: { + base: "ChromeHeadless", + //--no-sandbox allows our tests to run in Linux without having to change the system. + // --disable-web-security allows us to authenticate from the browser without setting up special CORS configuration + flags: ["--no-sandbox", "--disable-web-security"] + } + }, // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits diff --git a/sdk/tables/data-tables/package.json b/sdk/tables/data-tables/package.json index 6accb5c71e4f..531c45096fae 100644 --- a/sdk/tables/data-tables/package.json +++ b/sdk/tables/data-tables/package.json @@ -1,6 +1,6 @@ { "name": "@azure/data-tables", - "version": "12.0.1", + "version": "12.1.0", "description": "An isomorphic client library for the Azure Tables service.", "sdk-type": "client", "main": "dist/index.js", @@ -87,6 +87,7 @@ "uuid": "^8.3.0" }, "devDependencies": { + "@azure/identity": "2.0.0-beta.3", "@azure/dev-tool": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/tables/data-tables/recordings/browsers/access_policy_operations/recording_should_send_a_null_ap.json b/sdk/tables/data-tables/recordings/browsers/access_policy_operations/recording_should_send_a_null_ap.json index 095538157193..22dd7054f897 100644 --- a/sdk/tables/data-tables/recordings/browsers/access_policy_operations/recording_should_send_a_null_ap.json +++ b/sdk/tables/data-tables/recordings/browsers/access_policy_operations/recording_should_send_a_null_ap.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "99b326e72cf80e639e002ee667739997" + "hash": "65d2202c7fe40d3369331e3cd46092ca" } \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_handle_sub_request_error.json b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_handle_sub_request_error.json new file mode 100644 index 000000000000..7821fdb73577 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_handle_sub_request_error.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "0aaab0ad-9ef6-44b3-a845-0496d64d0600" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": "{\"TableName\":\"batchTableTestTokenCredentialbrowser\"}", + "status": 409, + "response": "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-US\",\"value\":\"The table specified already exists.\\nRequestId:eed558ad-b002-00a8-4ba5-6455aa000000\\nTime:2021-06-19T00:56:01.7287463Z\"}}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:01 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8760c567-aa37-402d-b54f-53f3b67083b9", + "x-ms-request-id": "eed558ad-b002-00a8-4ba5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "c61644dd-f013-4551-a705-b21125ca0600" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/$batch", + "query": {}, + "requestBody": "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/noExistingTable HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"name\":\"first\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/noExistingTable HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"name\":\"second\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/noExistingTable HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"name\":\"third\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n", + "status": 202, + "response": "--batchresponse_cb44f736-50f6-4f0e-a669-2bc180df6ec3\r\nContent-Type: multipart/mixed; boundary=changesetresponse_44cad1ff-aebc-450f-97fe-21cec59aa238\r\n\r\n--changesetresponse_44cad1ff-aebc-450f-97fe-21cec59aa238\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 404 Not Found\r\nX-Content-Type-Options: nosniff\r\nDataServiceVersion: 3.0;\r\nContent-Type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8\r\n\r\n{\"odata.error\":{\"code\":\"TableNotFound\",\"message\":{\"lang\":\"en-US\",\"value\":\"0:The table specified does not exist.\\nRequestId:eed558bf-b002-00a8-5ba5-6455aa000000\\nTime:2021-06-19T00:56:01.8688473Z\"}}}\r\n--changesetresponse_44cad1ff-aebc-450f-97fe-21cec59aa238--\r\n--batchresponse_cb44f736-50f6-4f0e-a669-2bc180df6ec3--\r\n", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "multipart/mixed; boundary=batchresponse_cb44f736-50f6-4f0e-a669-2bc180df6ec3", + "date": "Sat, 19 Jun 2021 00:56:01 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2b53d369-26b2-48d1-803e-b43dee903255", + "x-ms-request-id": "eed558bf-b002-00a8-5ba5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "b630b7770881d4f8e1de3c1b25b8a041" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_create_actions_when_using_tabletransaction_helper.json b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_create_actions_when_using_tabletransaction_helper.json new file mode 100644 index 000000000000..690c1774aa17 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_create_actions_when_using_tabletransaction_helper.json @@ -0,0 +1,96 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:58 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "c61644dd-f013-4551-a705-b211d9c90600" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": "{\"TableName\":\"batchTableTestTokenCredentialbrowser\"}", + "status": 201, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables/@Element\",\"TableName\":\"batchTableTestTokenCredentialbrowser\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "location": "https://fakeaccount.table.core.windows.net/Tables('batchTableTestTokenCredentialbrowser')", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6eced3e0-2ef3-45cf-8f3a-6dbf9869818c", + "x-ms-request-id": "eed556d0-b002-00a8-21a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:58 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - EUS ProdSlices", + "x-ms-request-id": "886af2d5-f917-4781-a597-bfda43100500" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/$batch", + "query": {}, + "requestBody": "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"helper\",\"RowKey\":\"1\",\"value\":\"t1\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"helper\",\"RowKey\":\"2\",\"value\":\"t2\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n", + "status": 202, + "response": "--batchresponse_c96d1882-77ee-4987-a969-53a177bcb4a9\r\nContent-Type: multipart/mixed; boundary=changesetresponse_5e2143f5-8f22-47f6-b578-4c504acf063a\r\n\r\n--changesetresponse_5e2143f5-8f22-47f6-b578-4c504acf063a\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='helper',RowKey='1')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='helper',RowKey='1')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A59.820377Z'\"\r\n\r\n\r\n--changesetresponse_5e2143f5-8f22-47f6-b578-4c504acf063a\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='helper',RowKey='2')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='helper',RowKey='2')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A59.820377Z'\"\r\n\r\n\r\n--changesetresponse_5e2143f5-8f22-47f6-b578-4c504acf063a--\r\n--batchresponse_c96d1882-77ee-4987-a969-53a177bcb4a9--\r\n", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "multipart/mixed; boundary=batchresponse_c96d1882-77ee-4987-a969-53a177bcb4a9", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "434638da-d66b-4718-ae75-db67ef6b84c4", + "x-ms-request-id": "eed55706-b002-00a8-52a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "96724302c30afffc8645cd23ecc4a47f" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_create_batch_operations.json b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_create_batch_operations.json new file mode 100644 index 000000000000..69e853f949a3 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_create_batch_operations.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:58 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "d6c8b145-db3d-4cb9-adf0-e9a43dfc1000" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": "{\"TableName\":\"batchTableTestTokenCredentialbrowser\"}", + "status": 409, + "response": "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-US\",\"value\":\"The table specified already exists.\\nRequestId:eed5573a-b002-00a8-7fa5-6455aa000000\\nTime:2021-06-19T00:56:00.0225221Z\"}}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "67101641-ca5f-4324-9d0d-a43178eb0a2d", + "x-ms-request-id": "eed5573a-b002-00a8-7fa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "485b1aa6-5dba-4524-a518-671e564c0600" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/$batch", + "query": {}, + "requestBody": "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"name\":\"first\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"name\":\"second\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"name\":\"third\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n", + "status": 202, + "response": "--batchresponse_edb9cb64-fc8d-47c0-ad90-de978f66e7a7\r\nContent-Type: multipart/mixed; boundary=changesetresponse_233810c9-d929-46f7-aa26-8aab8af47237\r\n\r\n--changesetresponse_233810c9-d929-46f7-aa26-8aab8af47237\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='1')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='1')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A00.1936453Z'\"\r\n\r\n\r\n--changesetresponse_233810c9-d929-46f7-aa26-8aab8af47237\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='2')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='2')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A00.1936453Z'\"\r\n\r\n\r\n--changesetresponse_233810c9-d929-46f7-aa26-8aab8af47237\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='3')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='3')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A00.1936453Z'\"\r\n\r\n\r\n--changesetresponse_233810c9-d929-46f7-aa26-8aab8af47237--\r\n--batchresponse_edb9cb64-fc8d-47c0-ad90-de978f66e7a7--\r\n", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "multipart/mixed; boundary=batchresponse_edb9cb64-fc8d-47c0-ad90-de978f66e7a7", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "92919822-12a2-4726-aac3-2dfbf08d6cd5", + "x-ms-request-id": "eed55764-b002-00a8-27a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7d6272b84d0ed431ed585d7a140b46bc" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_delete_batch_operations.json b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_delete_batch_operations.json new file mode 100644 index 000000000000..61e44f7b55f4 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_delete_batch_operations.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - EUS ProdSlices", + "x-ms-request-id": "8204aa9a-699d-4ebc-a82e-93c11a730500" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": "{\"TableName\":\"batchTableTestTokenCredentialbrowser\"}", + "status": 409, + "response": "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-US\",\"value\":\"The table specified already exists.\\nRequestId:eed55869-b002-00a8-0ea5-6455aa000000\\nTime:2021-06-19T00:56:01.3174517Z\"}}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "efd0c898-d5db-4ace-a66b-649aad05d10f", + "x-ms-request-id": "eed55869-b002-00a8-0ea5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "c704f1b0-910f-4395-802c-e348a2820f00" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/$batch", + "query": {}, + "requestBody": "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nDELETE https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='1') HTTP/1.1\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nif-match: *\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nDELETE https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='2') HTTP/1.1\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nif-match: *\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nDELETE https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='3') HTTP/1.1\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nif-match: *\r\n\r\n\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n", + "status": 202, + "response": "--batchresponse_fc1f65b8-392e-4135-abd7-72c13a0ff899\r\nContent-Type: multipart/mixed; boundary=changesetresponse_cabc78f0-4da2-4b92-99f8-208846abac77\r\n\r\n--changesetresponse_cabc78f0-4da2-4b92-99f8-208846abac77\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\n\r\n\r\n--changesetresponse_cabc78f0-4da2-4b92-99f8-208846abac77\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\n\r\n\r\n--changesetresponse_cabc78f0-4da2-4b92-99f8-208846abac77\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\n\r\n\r\n--changesetresponse_cabc78f0-4da2-4b92-99f8-208846abac77--\r\n--batchresponse_fc1f65b8-392e-4135-abd7-72c13a0ff899--\r\n", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "multipart/mixed; boundary=batchresponse_fc1f65b8-392e-4135-abd7-72c13a0ff899", + "date": "Sat, 19 Jun 2021 00:56:01 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bf58bfa6-b862-438c-af83-21fddd87203d", + "x-ms-request-id": "eed55882-b002-00a8-23a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "3f3f30f782ad7dab318145291fd0a42b" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_update_batch_operations.json b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_update_batch_operations.json new file mode 100644 index 000000000000..d99529102dc5 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_update_batch_operations.json @@ -0,0 +1,118 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "ec339bce-cd28-4d13-b038-31156fbf0700" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": "{\"TableName\":\"batchTableTestTokenCredentialbrowser\"}", + "status": 409, + "response": "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-US\",\"value\":\"The table specified already exists.\\nRequestId:eed55793-b002-00a8-51a5-6455aa000000\\nTime:2021-06-19T00:56:00.3797784Z\"}}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8097e461-0eb9-416c-811d-fa77026486a5", + "x-ms-request-id": "eed55793-b002-00a8-51a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - EUS ProdSlices", + "x-ms-request-id": "18b6c1b1-3399-429b-8515-09ddfafe0400" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/$batch", + "query": {}, + "requestBody": "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='1') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\nif-match: *\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"name\":\"updated\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='2') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\nif-match: *\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"name\":\"updated\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='3') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\nif-match: *\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"name\":\"updated\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n", + "status": 202, + "response": "--batchresponse_a7d0d2e1-320e-4bfd-88ff-75f7f995422d\r\nContent-Type: multipart/mixed; boundary=changesetresponse_ec86e9cf-197e-45fa-b879-94197063808b\r\n\r\n--changesetresponse_ec86e9cf-197e-45fa-b879-94197063808b\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A00.5917321Z'\"\r\n\r\n\r\n--changesetresponse_ec86e9cf-197e-45fa-b879-94197063808b\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A00.5917321Z'\"\r\n\r\n\r\n--changesetresponse_ec86e9cf-197e-45fa-b879-94197063808b\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A00.5927328Z'\"\r\n\r\n\r\n--changesetresponse_ec86e9cf-197e-45fa-b879-94197063808b--\r\n--batchresponse_a7d0d2e1-320e-4bfd-88ff-75f7f995422d--\r\n", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "multipart/mixed; boundary=batchresponse_a7d0d2e1-320e-4bfd-88ff-75f7f995422d", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c39b90e8-2a4e-4996-992c-020173e9ea16", + "x-ms-request-id": "eed557c3-b002-00a8-7aa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser()", + "query": { + "$filter": "PartitionKey eq 'batchTest'" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#batchTableTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A00.5917321Z'\\\"\",\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"Timestamp\":\"2021-06-19T00:56:00.5917321Z\",\"name\":\"updated\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A00.5917321Z'\\\"\",\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"Timestamp\":\"2021-06-19T00:56:00.5917321Z\",\"name\":\"updated\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A00.5927328Z'\\\"\",\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"Timestamp\":\"2021-06-19T00:56:00.5927328Z\",\"name\":\"updated\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8ddcbdac-44d5-4765-a67c-13396d307d06", + "x-ms-request-id": "eed557cf-b002-00a8-06a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "9ac44e3643b3b68768ea81c0c57a397a" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_upsert_batch_operations.json b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_upsert_batch_operations.json new file mode 100644 index 000000000000..3ea7e7cae7e3 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_a_set_of_upsert_batch_operations.json @@ -0,0 +1,118 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - EUS ProdSlices", + "x-ms-request-id": "87482d50-c115-4b8e-9528-1551fa060500" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": "{\"TableName\":\"batchTableTestTokenCredentialbrowser\"}", + "status": 409, + "response": "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-US\",\"value\":\"The table specified already exists.\\nRequestId:eed55805-b002-00a8-37a5-6455aa000000\\nTime:2021-06-19T00:56:00.8441120Z\"}}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6721bf4a-65f6-4108-b112-5075b72c4b0a", + "x-ms-request-id": "eed55805-b002-00a8-37a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:59 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "c5089dc3-7113-453c-b0bc-8acbcdc01000" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/$batch", + "query": {}, + "requestBody": "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='1') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"name\":\"upserted\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='2') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"name\":\"upserted\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='3') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"name\":\"upserted\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='batchTest',RowKey='4') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"4\",\"name\":\"upserted\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n", + "status": 202, + "response": "--batchresponse_f447869c-8a1f-4bf7-99a4-7809043f64e7\r\nContent-Type: multipart/mixed; boundary=changesetresponse_583cd2a0-41fa-4cc1-bd50-2fc1ea0892de\r\n\r\n--changesetresponse_583cd2a0-41fa-4cc1-bd50-2fc1ea0892de\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A01.0200393Z'\"\r\n\r\n\r\n--changesetresponse_583cd2a0-41fa-4cc1-bd50-2fc1ea0892de\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A01.0200393Z'\"\r\n\r\n\r\n--changesetresponse_583cd2a0-41fa-4cc1-bd50-2fc1ea0892de\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A01.0200393Z'\"\r\n\r\n\r\n--changesetresponse_583cd2a0-41fa-4cc1-bd50-2fc1ea0892de\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A01.02104Z'\"\r\n\r\n\r\n--changesetresponse_583cd2a0-41fa-4cc1-bd50-2fc1ea0892de--\r\n--batchresponse_f447869c-8a1f-4bf7-99a4-7809043f64e7--\r\n", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "multipart/mixed; boundary=batchresponse_f447869c-8a1f-4bf7-99a4-7809043f64e7", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6cde5ba8-c800-4899-be30-d648b0ae8916", + "x-ms-request-id": "eed5582c-b002-00a8-5ba5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser()", + "query": { + "$filter": "PartitionKey eq 'batchTest'" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#batchTableTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A01.0200393Z'\\\"\",\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"Timestamp\":\"2021-06-19T00:56:01.0200393Z\",\"name\":\"upserted\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A01.0200393Z'\\\"\",\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"Timestamp\":\"2021-06-19T00:56:01.0200393Z\",\"name\":\"upserted\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A01.0200393Z'\\\"\",\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"Timestamp\":\"2021-06-19T00:56:01.0200393Z\",\"name\":\"upserted\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A01.02104Z'\\\"\",\"PartitionKey\":\"batchTest\",\"RowKey\":\"4\",\"Timestamp\":\"2021-06-19T00:56:01.02104Z\",\"name\":\"upserted\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b8eb77db-1a2a-4262-85d1-11f62d286174", + "x-ms-request-id": "eed55840-b002-00a8-6ba5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "9daeb0b79218a017fc35fc0341b37099" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_multiple_transactions_with_the_same_partition_key.json b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_multiple_transactions_with_the_same_partition_key.json new file mode 100644 index 000000000000..a7f311ff37fc --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/batch_operations_tokencredential/recording_should_send_multiple_transactions_with_the_same_partition_key.json @@ -0,0 +1,161 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:00 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - SCUS ProdSlices", + "x-ms-request-id": "5c414636-7035-4936-8618-a0c5c7a10900" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": "{\"TableName\":\"batchTableTestTokenCredentialbrowser\"}", + "status": 409, + "response": "{\"odata.error\":{\"code\":\"TableAlreadyExists\",\"message\":{\"lang\":\"en-US\",\"value\":\"The table specified already exists.\\nRequestId:eed558cd-b002-00a8-67a5-6455aa000000\\nTime:2021-06-19T00:56:02.0069460Z\"}}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:01 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8cae1fd2-457e-46ec-a1c1-f52bbc3c4910", + "x-ms-request-id": "eed558cd-b002-00a8-67a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:01 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "c704f1b0-910f-4395-802c-e348c0820f00" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/$batch", + "query": {}, + "requestBody": "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r1\",\"value\":\"1\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r2\",\"value\":\"2\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r3\",\"value\":\"3\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n", + "status": 202, + "response": "--batchresponse_0d512f66-f901-4062-98b2-587609c73ee4\r\nContent-Type: multipart/mixed; boundary=changesetresponse_9978a372-a59f-4dd1-91a4-4c10cb73dfb0\r\n\r\n--changesetresponse_9978a372-a59f-4dd1-91a4-4c10cb73dfb0\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r1')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r1')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A02.168062Z'\"\r\n\r\n\r\n--changesetresponse_9978a372-a59f-4dd1-91a4-4c10cb73dfb0\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r2')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r2')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A02.168062Z'\"\r\n\r\n\r\n--changesetresponse_9978a372-a59f-4dd1-91a4-4c10cb73dfb0\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r3')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r3')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A02.168062Z'\"\r\n\r\n\r\n--changesetresponse_9978a372-a59f-4dd1-91a4-4c10cb73dfb0--\r\n--batchresponse_0d512f66-f901-4062-98b2-587609c73ee4--\r\n", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "multipart/mixed; boundary=batchresponse_0d512f66-f901-4062-98b2-587609c73ee4", + "date": "Sat, 19 Jun 2021 00:56:01 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5dda01e6-77f1-4037-a884-4ca0da4db3ee", + "x-ms-request-id": "eed558f5-b002-00a8-07a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:01 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - SCUS ProdSlices", + "x-ms-request-id": "5c414636-7035-4936-8618-a0c5d2a10900" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/$batch", + "query": {}, + "requestBody": "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r4\",\"value\":\"4\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r5\",\"value\":\"5\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r6\",\"value\":\"6\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n", + "status": 202, + "response": "--batchresponse_52dd77a2-4d85-4212-a4f3-2b18e9f778ca\r\nContent-Type: multipart/mixed; boundary=changesetresponse_dad6fe88-cdb6-40d1-a712-98433be2436c\r\n\r\n--changesetresponse_dad6fe88-cdb6-40d1-a712-98433be2436c\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r4')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r4')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A02.3121654Z'\"\r\n\r\n\r\n--changesetresponse_dad6fe88-cdb6-40d1-a712-98433be2436c\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r5')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r5')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A02.3121654Z'\"\r\n\r\n\r\n--changesetresponse_dad6fe88-cdb6-40d1-a712-98433be2436c\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r6')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser(PartitionKey='multiBatch1',RowKey='r6')\r\nETag: W/\"datetime'2021-06-19T00%3A56%3A02.3121654Z'\"\r\n\r\n\r\n--changesetresponse_dad6fe88-cdb6-40d1-a712-98433be2436c--\r\n--batchresponse_52dd77a2-4d85-4212-a4f3-2b18e9f778ca--\r\n", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "multipart/mixed; boundary=batchresponse_52dd77a2-4d85-4212-a4f3-2b18e9f778ca", + "date": "Sat, 19 Jun 2021 00:56:01 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8e1c7e95-7f67-41d2-bed1-62fe070b92bc", + "x-ms-request-id": "eed5590a-b002-00a8-1ba5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialbrowser()", + "query": { + "$filter": "PartitionKey eq 'multiBatch1'" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#batchTableTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A02.168062Z'\\\"\",\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r1\",\"Timestamp\":\"2021-06-19T00:56:02.168062Z\",\"value\":\"1\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A02.168062Z'\\\"\",\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r2\",\"Timestamp\":\"2021-06-19T00:56:02.168062Z\",\"value\":\"2\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A02.168062Z'\\\"\",\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r3\",\"Timestamp\":\"2021-06-19T00:56:02.168062Z\",\"value\":\"3\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A02.3121654Z'\\\"\",\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r4\",\"Timestamp\":\"2021-06-19T00:56:02.3121654Z\",\"value\":\"4\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A02.3121654Z'\\\"\",\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r5\",\"Timestamp\":\"2021-06-19T00:56:02.3121654Z\",\"value\":\"5\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A56%3A02.3121654Z'\\\"\",\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r6\",\"Timestamp\":\"2021-06-19T00:56:02.3121654Z\",\"value\":\"6\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:56:02 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ee6efee5-6197-4149-b927-8d213f6ba41c", + "x-ms-request-id": "eed55914-b002-00a8-23a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "906a9f7885904df3b82544d04be9ec10" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_boolean.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_boolean.json new file mode 100644 index 000000000000..fa3a7f017872 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_boolean.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "485b1aa6-5dba-4524-a518-671ed84b0600" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser", + "query": {}, + "requestBody": "{\"PartitionKey\":\"P6_browser\",\"RowKey\":\"R6\",\"testField\":true,\"testField@odata.type\":\"Edm.Boolean\"}", + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "dataserviceid": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P6_browser',RowKey='R6')", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A56.031659Z'\"", + "location": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P6_browser',RowKey='R6')", + "preference-applied": "return-no-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "10dc6b35-c65b-4899-9770-9ee24b9f13ae", + "x-ms-request-id": "eed5538f-b002-00a8-3ba5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P6_browser',RowKey='R6')", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser/@Element\",\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A56.031659Z'\\\"\",\"PartitionKey\":\"P6_browser\",\"RowKey\":\"R6\",\"Timestamp\":\"2021-06-19T00:55:56.031659Z\",\"testField\":true}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A56.031659Z'\"", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9afeeb69-40a3-46c2-aaf6-b38248a021e3", + "x-ms-request-id": "eed55395-b002-00a8-41a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P6_browser',RowKey='R6')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "532e54e7-9881-4540-9605-d4b9a1c7ff8d", + "x-ms-request-id": "eed553b6-b002-00a8-5aa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "ac280f30e9b17c38bf5c69cd4b0ab116" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_date.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_date.json new file mode 100644 index 000000000000..34f4b925d155 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_date.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - SCUS ProdSlices", + "x-ms-request-id": "84d4ca17-8cd9-4de8-88c2-2881c82f0900" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser", + "query": {}, + "requestBody": "{\"PartitionKey\":\"P2_browser\",\"RowKey\":\"R2\",\"testField\":\"2020-09-17T00:00:00.111Z\",\"testField@odata.type\":\"Edm.DateTime\"}", + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "dataserviceid": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P2_browser',RowKey='R2')", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A54.8598212Z'\"", + "location": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P2_browser',RowKey='R2')", + "preference-applied": "return-no-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "af76ad9e-5e0d-48d8-88f7-20cc6fb6b930", + "x-ms-request-id": "eed5525d-b002-00a8-17a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P2_browser',RowKey='R2')", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser/@Element\",\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A54.8598212Z'\\\"\",\"PartitionKey\":\"P2_browser\",\"RowKey\":\"R2\",\"Timestamp\":\"2021-06-19T00:55:54.8598212Z\",\"testField@odata.type\":\"Edm.DateTime\",\"testField\":\"2020-09-17T00:00:00.111Z\"}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A54.8598212Z'\"", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4f64df57-d2f0-4854-bcc0-329fc8f4efbf", + "x-ms-request-id": "eed55269-b002-00a8-23a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P2_browser',RowKey='R2')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "43c3ea67-d701-4d5e-a390-90f0673a057d", + "x-ms-request-id": "eed5526d-b002-00a8-27a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "62fd05d66a70941caec26bbe0dd9d0c3" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_datetime.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_datetime.json new file mode 100644 index 000000000000..4376cb0313ac --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_datetime.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - SCUS ProdSlices", + "x-ms-request-id": "187edc62-fcf9-4dc9-a101-1b2e80d30900" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser", + "query": {}, + "requestBody": "{\"PartitionKey\":\"P7_browser\",\"RowKey\":\"R7\",\"testField\":\"2020-09-17T00:00:00.99999Z\",\"testField@odata.type\":\"Edm.DateTime\"}", + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "dataserviceid": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P7_browser',RowKey='R7')", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A56.2948478Z'\"", + "location": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P7_browser',RowKey='R7')", + "preference-applied": "return-no-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "196a6d5c-1028-495c-88a6-1bf41adcf335", + "x-ms-request-id": "eed553e1-b002-00a8-01a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P7_browser',RowKey='R7')", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser/@Element\",\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A56.2948478Z'\\\"\",\"PartitionKey\":\"P7_browser\",\"RowKey\":\"R7\",\"Timestamp\":\"2021-06-19T00:55:56.2948478Z\",\"testField@odata.type\":\"Edm.DateTime\",\"testField\":\"2020-09-17T00:00:00.99999Z\"}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A56.2948478Z'\"", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b54aae0f-9801-4d74-91e9-f88cad9ec360", + "x-ms-request-id": "eed553e5-b002-00a8-05a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P7_browser',RowKey='R7')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:56 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "010c5787-5c71-4357-93ac-8b6e6e7a7416", + "x-ms-request-id": "eed553f2-b002-00a8-12a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "d32f9a392bb674d0d983b7aa1eeb37e9" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_guid.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_guid.json new file mode 100644 index 000000000000..93e9bf2ae6df --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_guid.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "c704f1b0-910f-4395-802c-e348b4810f00" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser", + "query": {}, + "requestBody": "{\"PartitionKey\":\"P3_browser\",\"RowKey\":\"R3\",\"testField\":\"cf8ef051-1b7d-4e93-a1e5-a3944d7e441c\",\"testField@odata.type\":\"Edm.Guid\"}", + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "dataserviceid": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P3_browser',RowKey='R3')", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A55.19506Z'\"", + "location": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P3_browser',RowKey='R3')", + "preference-applied": "return-no-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "57a6a403-8024-40d0-872b-60ad6506ec76", + "x-ms-request-id": "eed552b8-b002-00a8-6aa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P3_browser',RowKey='R3')", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser/@Element\",\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A55.19506Z'\\\"\",\"PartitionKey\":\"P3_browser\",\"RowKey\":\"R3\",\"Timestamp\":\"2021-06-19T00:55:55.19506Z\",\"testField@odata.type\":\"Edm.Guid\",\"testField\":\"cf8ef051-1b7d-4e93-a1e5-a3944d7e441c\"}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A55.19506Z'\"", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9f5ae903-fdc6-43a4-bfc2-dfa5eea86305", + "x-ms-request-id": "eed552c2-b002-00a8-74a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P3_browser',RowKey='R3')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c05c3d79-6e16-4829-a79c-20b119d17da3", + "x-ms-request-id": "eed552d2-b002-00a8-04a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "cf6dd4746e80f2dabf831be8cea36eaa" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int32.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int32.json new file mode 100644 index 000000000000..c451c9d69a21 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int32.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "d6c8b145-db3d-4cb9-adf0-e9a4b4fb1000" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser", + "query": {}, + "requestBody": "{\"PartitionKey\":\"P5_browser\",\"RowKey\":\"R5\",\"testField\":123,\"testField@odata.type\":\"Edm.Int32\"}", + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "dataserviceid": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P5_browser',RowKey='R5')", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A55.7414508Z'\"", + "location": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P5_browser',RowKey='R5')", + "preference-applied": "return-no-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "28ee26f4-6afb-40ea-9cdc-aaa63fcfcc30", + "x-ms-request-id": "eed55358-b002-00a8-06a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P5_browser',RowKey='R5')", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser/@Element\",\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A55.7414508Z'\\\"\",\"PartitionKey\":\"P5_browser\",\"RowKey\":\"R5\",\"Timestamp\":\"2021-06-19T00:55:55.7414508Z\",\"testField\":123}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A55.7414508Z'\"", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b00f746c-fc55-49dc-ac4e-908e56aae437", + "x-ms-request-id": "eed55361-b002-00a8-0fa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P5_browser',RowKey='R5')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "15a252b0-1549-4624-b477-f6e3c4c0ed59", + "x-ms-request-id": "eed5536b-b002-00a8-19a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "47934ab49795f4c0384ab4ad692ef0a2" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int64.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int64.json new file mode 100644 index 000000000000..0a5463f0881b --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int64.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "ec339bce-cd28-4d13-b038-3115e4be0700" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser", + "query": {}, + "requestBody": "{\"PartitionKey\":\"P4_browser\",\"RowKey\":\"R4\",\"testField\":\"12345543221\",\"testField@odata.type\":\"Edm.Int64\"}", + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "dataserviceid": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P4_browser',RowKey='R4')", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A55.4452386Z'\"", + "location": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P4_browser',RowKey='R4')", + "preference-applied": "return-no-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "74d25a07-bc21-4b8c-8134-a99a9689f658", + "x-ms-request-id": "eed552f9-b002-00a8-2ba5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P4_browser',RowKey='R4')", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser/@Element\",\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A55.4452386Z'\\\"\",\"PartitionKey\":\"P4_browser\",\"RowKey\":\"R4\",\"Timestamp\":\"2021-06-19T00:55:55.4452386Z\",\"testField@odata.type\":\"Edm.Int64\",\"testField\":\"12345543221\"}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A55.4452386Z'\"", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a3be52d6-508d-4ccd-b7c2-371c40b97170", + "x-ms-request-id": "eed5530e-b002-00a8-3fa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P4_browser',RowKey='R4')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2187d61d-47e2-49ca-b9c9-245b05a4c07a", + "x-ms-request-id": "eed5531b-b002-00a8-4ca5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "8899c7e94052a1d1c0f2bbbb96dcc837" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_only_primitives.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_only_primitives.json new file mode 100644 index 000000000000..272c5c967bc4 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_only_primitives.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "c5089dc3-7113-453c-b0bc-8acb0ec01000" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser", + "query": {}, + "requestBody": "{\"PartitionKey\":\"P2_browser\",\"RowKey\":\"R1\",\"testField\":\"testEntity\"}", + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "dataserviceid": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P2_browser',RowKey='R1')", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A54.6016376Z'\"", + "location": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P2_browser',RowKey='R1')", + "preference-applied": "return-no-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0fbdf4b2-7312-4df6-903c-f298a054a7d6", + "x-ms-request-id": "eed55217-b002-00a8-53a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P2_browser',RowKey='R1')", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser/@Element\",\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A54.6016376Z'\\\"\",\"PartitionKey\":\"P2_browser\",\"RowKey\":\"R1\",\"Timestamp\":\"2021-06-19T00:55:54.6016376Z\",\"testField\":\"testEntity\"}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A54.6016376Z'\"", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "731afb08-1011-4dca-9238-ec22fb020359", + "x-ms-request-id": "eed5521f-b002-00a8-5ba5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P2_browser',RowKey='R1')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cff1daa8-85e3-4084-82bc-0253e72dafe2", + "x-ms-request-id": "eed5522b-b002-00a8-67a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "d73bbd4dd7595f671447d8eb5185a2f6" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_primitive_int_and_float.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_primitive_int_and_float.json new file mode 100644 index 000000000000..df3f3fe4ef89 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_primitive_int_and_float.json @@ -0,0 +1,95 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "c61644dd-f013-4551-a705-b21160c90600" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser", + "query": {}, + "requestBody": "{\"PartitionKey\":\"P8_browser\",\"RowKey\":\"R8\",\"integerNumber\":3,\"floatingPointNumber\":3.14}", + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "dataserviceid": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P8_browser',RowKey='R8')", + "date": "Sat, 19 Jun 2021 00:55:56 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A56.5850561Z'\"", + "location": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P8_browser',RowKey='R8')", + "preference-applied": "return-no-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2a37486c-44dc-45ce-bca4-28ebc701d19d", + "x-ms-request-id": "eed55434-b002-00a8-4fa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P8_browser',RowKey='R8')", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser/@Element\",\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A56.5850561Z'\\\"\",\"PartitionKey\":\"P8_browser\",\"RowKey\":\"R8\",\"Timestamp\":\"2021-06-19T00:55:56.5850561Z\",\"integerNumber\":3,\"floatingPointNumber\":3.14}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:56 GMT", + "etag": "W/\"datetime'2021-06-19T00%3A55%3A56.5850561Z'\"", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6e6e683a-8f80-4bcb-b238-f4d8abae33ee", + "x-ms-request-id": "eed55441-b002-00a8-5ca5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser(PartitionKey='P8_browser',RowKey='R8')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:56 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b8fbb890-5157-4b73-a311-313f4702a4c7", + "x-ms-request-id": "eed55445-b002-00a8-60a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "69249ed6562f7f60b9f93359ed92c62a" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_all.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_all.json new file mode 100644 index 000000000000..ba1d92548e49 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_all.json @@ -0,0 +1,56 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:52 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "ec339bce-cd28-4d13-b038-3115b1be0700" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser()", + "query": { + "$filter": "PartitionKey eq 'listEntitiesTest'" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.4881228Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"0\",\"Timestamp\":\"2021-06-19T00:55:52.4881228Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.5321544Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"1\",\"Timestamp\":\"2021-06-19T00:55:52.5321544Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.8784033Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"10\",\"Timestamp\":\"2021-06-19T00:55:52.8784033Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.9184316Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"11\",\"Timestamp\":\"2021-06-19T00:55:52.9184316Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.959461Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"12\",\"Timestamp\":\"2021-06-19T00:55:52.959461Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0145005Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"13\",\"Timestamp\":\"2021-06-19T00:55:53.0145005Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0525278Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"14\",\"Timestamp\":\"2021-06-19T00:55:53.0525278Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0925565Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"15\",\"Timestamp\":\"2021-06-19T00:55:53.0925565Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.1315845Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"16\",\"Timestamp\":\"2021-06-19T00:55:53.1315845Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.1686107Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"17\",\"Timestamp\":\"2021-06-19T00:55:53.1686107Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.2056372Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"18\",\"Timestamp\":\"2021-06-19T00:55:53.2056372Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.2426642Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"19\",\"Timestamp\":\"2021-06-19T00:55:53.2426642Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.5711824Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"2\",\"Timestamp\":\"2021-06-19T00:55:52.5711824Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6092097Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"3\",\"Timestamp\":\"2021-06-19T00:55:52.6092097Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6462363Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"4\",\"Timestamp\":\"2021-06-19T00:55:52.6462363Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6842636Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"5\",\"Timestamp\":\"2021-06-19T00:55:52.6842636Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7212901Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"6\",\"Timestamp\":\"2021-06-19T00:55:52.7212901Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7593174Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"7\",\"Timestamp\":\"2021-06-19T00:55:52.7593174Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7973443Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"8\",\"Timestamp\":\"2021-06-19T00:55:52.7973443Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.8353716Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"9\",\"Timestamp\":\"2021-06-19T00:55:52.8353716Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.4510958Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"binary1\",\"Timestamp\":\"2021-06-19T00:55:52.4510958Z\",\"foo@odata.type\":\"Edm.Binary\",\"foo\":\"QmFy\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c465c9bc-2c66-445b-9fef-2dabc73d676b", + "x-ms-request-id": "eed55128-b002-00a8-76a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "74ecbc863ea060ee4abe1c1c534a237f" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_binary_with_filter.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_binary_with_filter.json new file mode 100644 index 000000000000..ac81406cb9a1 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_binary_with_filter.json @@ -0,0 +1,56 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "3a098889-cf57-49fc-8a0b-003202161000" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser()", + "query": { + "$filter": "RowKey eq 'binary1'" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.4510958Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"binary1\",\"Timestamp\":\"2021-06-19T00:55:52.4510958Z\",\"foo@odata.type\":\"Edm.Binary\",\"foo\":\"QmFy\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:54 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "37d62abb-8389-45a7-a1e0-e3e8f793cb3d", + "x-ms-request-id": "eed551e2-b002-00a8-21a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "caa8a49f9e4be3de35c971371f42fba1" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_by_page.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_by_page.json new file mode 100644 index 000000000000..cadb3d19a80a --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_by_page.json @@ -0,0 +1,169 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:52 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - EUS ProdSlices", + "x-ms-request-id": "e3de468e-0135-45c4-ba04-4389f1900400" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser()", + "query": { + "$top": "5", + "$filter": "PartitionKey eq 'listEntitiesTest'" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.4881228Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"0\",\"Timestamp\":\"2021-06-19T00:55:52.4881228Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.5321544Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"1\",\"Timestamp\":\"2021-06-19T00:55:52.5321544Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.8784033Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"10\",\"Timestamp\":\"2021-06-19T00:55:52.8784033Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.9184316Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"11\",\"Timestamp\":\"2021-06-19T00:55:52.9184316Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.959461Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"12\",\"Timestamp\":\"2021-06-19T00:55:52.959461Z\",\"foo\":\"testEntity\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextPartitionKey,x-ms-continuation-NextRowKey,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e616c0b0-8593-4772-8979-0e23185b5ac4", + "x-ms-continuation-nextpartitionkey": "1!24!bGlzdEVudGl0aWVzVGVzdA--", + "x-ms-continuation-nextrowkey": "1!4!MTM-", + "x-ms-request-id": "eed55155-b002-00a8-1da5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser()", + "query": { + "$top": "5", + "$filter": "PartitionKey eq 'listEntitiesTest'", + "NextPartitionKey": "1!24!bGlzdEVudGl0aWVzVGVzdA--", + "NextRowKey": "1!4!MTM-" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0145005Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"13\",\"Timestamp\":\"2021-06-19T00:55:53.0145005Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0525278Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"14\",\"Timestamp\":\"2021-06-19T00:55:53.0525278Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0925565Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"15\",\"Timestamp\":\"2021-06-19T00:55:53.0925565Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.1315845Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"16\",\"Timestamp\":\"2021-06-19T00:55:53.1315845Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.1686107Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"17\",\"Timestamp\":\"2021-06-19T00:55:53.1686107Z\",\"foo\":\"testEntity\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextPartitionKey,x-ms-continuation-NextRowKey,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8b316cf1-72fa-4edd-b59e-48a47cb65ed0", + "x-ms-continuation-nextpartitionkey": "1!24!bGlzdEVudGl0aWVzVGVzdA--", + "x-ms-continuation-nextrowkey": "1!4!MTg-", + "x-ms-request-id": "eed5515c-b002-00a8-24a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser()", + "query": { + "$top": "5", + "$filter": "PartitionKey eq 'listEntitiesTest'", + "NextPartitionKey": "1!24!bGlzdEVudGl0aWVzVGVzdA--", + "NextRowKey": "1!4!MTg-" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.2056372Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"18\",\"Timestamp\":\"2021-06-19T00:55:53.2056372Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.2426642Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"19\",\"Timestamp\":\"2021-06-19T00:55:53.2426642Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.5711824Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"2\",\"Timestamp\":\"2021-06-19T00:55:52.5711824Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6092097Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"3\",\"Timestamp\":\"2021-06-19T00:55:52.6092097Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6462363Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"4\",\"Timestamp\":\"2021-06-19T00:55:52.6462363Z\",\"foo\":\"testEntity\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextPartitionKey,x-ms-continuation-NextRowKey,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ae067582-9324-40fd-a1a7-044dedd2a642", + "x-ms-continuation-nextpartitionkey": "1!24!bGlzdEVudGl0aWVzVGVzdA--", + "x-ms-continuation-nextrowkey": "1!4!NQ--", + "x-ms-request-id": "eed5516b-b002-00a8-33a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser()", + "query": { + "$top": "5", + "$filter": "PartitionKey eq 'listEntitiesTest'", + "NextPartitionKey": "1!24!bGlzdEVudGl0aWVzVGVzdA--", + "NextRowKey": "1!4!NQ--" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6842636Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"5\",\"Timestamp\":\"2021-06-19T00:55:52.6842636Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7212901Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"6\",\"Timestamp\":\"2021-06-19T00:55:52.7212901Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7593174Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"7\",\"Timestamp\":\"2021-06-19T00:55:52.7593174Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7973443Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"8\",\"Timestamp\":\"2021-06-19T00:55:52.7973443Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.8353716Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"9\",\"Timestamp\":\"2021-06-19T00:55:52.8353716Z\",\"foo\":\"testEntity\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextPartitionKey,x-ms-continuation-NextRowKey,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "caa18af3-1fb6-4bc8-b385-1589de7d8bc7", + "x-ms-continuation-nextpartitionkey": "1!24!bGlzdEVudGl0aWVzVGVzdA--", + "x-ms-continuation-nextrowkey": "1!12!YmluYXJ5MQ--", + "x-ms-request-id": "eed55179-b002-00a8-40a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser()", + "query": { + "$top": "5", + "$filter": "PartitionKey eq 'listEntitiesTest'", + "NextPartitionKey": "1!24!bGlzdEVudGl0aWVzVGVzdA--", + "NextRowKey": "1!12!YmluYXJ5MQ--" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.4510958Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"binary1\",\"Timestamp\":\"2021-06-19T00:55:52.4510958Z\",\"foo@odata.type\":\"Edm.Binary\",\"foo\":\"QmFy\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "42af7184-c3c9-43ec-90c7-1b4edb2c780a", + "x-ms-request-id": "eed5517e-b002-00a8-45a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "580942175a5d66c69e436ec9ea2064a3" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_with_filter.json b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_with_filter.json new file mode 100644 index 000000000000..3eef2fcbed87 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableclient_tokencredential_listentities/recording_should_list_with_filter.json @@ -0,0 +1,56 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - WUS2 ProdSlices", + "x-ms-request-id": "3a098889-cf57-49fc-8a0b-0032fa151000" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialbrowser()", + "query": { + "$filter": "foo eq 'testEntity'" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialbrowser\",\"value\":[{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.4881228Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"0\",\"Timestamp\":\"2021-06-19T00:55:52.4881228Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.5321544Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"1\",\"Timestamp\":\"2021-06-19T00:55:52.5321544Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.8784033Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"10\",\"Timestamp\":\"2021-06-19T00:55:52.8784033Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.9184316Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"11\",\"Timestamp\":\"2021-06-19T00:55:52.9184316Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.959461Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"12\",\"Timestamp\":\"2021-06-19T00:55:52.959461Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0145005Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"13\",\"Timestamp\":\"2021-06-19T00:55:53.0145005Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0525278Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"14\",\"Timestamp\":\"2021-06-19T00:55:53.0525278Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.0925565Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"15\",\"Timestamp\":\"2021-06-19T00:55:53.0925565Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.1315845Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"16\",\"Timestamp\":\"2021-06-19T00:55:53.1315845Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.1686107Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"17\",\"Timestamp\":\"2021-06-19T00:55:53.1686107Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.2056372Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"18\",\"Timestamp\":\"2021-06-19T00:55:53.2056372Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A53.2426642Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"19\",\"Timestamp\":\"2021-06-19T00:55:53.2426642Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.5711824Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"2\",\"Timestamp\":\"2021-06-19T00:55:52.5711824Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6092097Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"3\",\"Timestamp\":\"2021-06-19T00:55:52.6092097Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6462363Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"4\",\"Timestamp\":\"2021-06-19T00:55:52.6462363Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.6842636Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"5\",\"Timestamp\":\"2021-06-19T00:55:52.6842636Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7212901Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"6\",\"Timestamp\":\"2021-06-19T00:55:52.7212901Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7593174Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"7\",\"Timestamp\":\"2021-06-19T00:55:52.7593174Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.7973443Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"8\",\"Timestamp\":\"2021-06-19T00:55:52.7973443Z\",\"foo\":\"testEntity\"},{\"odata.etag\":\"W/\\\"datetime'2021-06-19T00%3A55%3A52.8353716Z'\\\"\",\"PartitionKey\":\"listEntitiesTest\",\"RowKey\":\"9\",\"Timestamp\":\"2021-06-19T00:55:52.8353716Z\",\"foo\":\"testEntity\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:53 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "16affb9d-5767-4fe4-a2de-44e5e96b386f", + "x-ms-request-id": "eed551b6-b002-00a8-7aa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "49cedad40339199693961c6e207c962f" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_create_get_table_and_delete/recording_should_create_new_table_then_delete.json b/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_create_get_table_and_delete/recording_should_create_new_table_then_delete.json new file mode 100644 index 000000000000..96d25929b22f --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_create_get_table_and_delete/recording_should_create_new_table_then_delete.json @@ -0,0 +1,93 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:55 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - SCUS ProdSlices", + "x-ms-request-id": "84d4ca17-8cd9-4de8-88c2-288129300900" + } + }, + { + "method": "POST", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": "{\"TableName\":\"testTableTokenCredentialbrowser\"}", + "status": 201, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables/@Element\",\"TableName\":\"testTableTokenCredentialbrowser\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:56 GMT", + "location": "https://fakeaccount.table.core.windows.net/Tables('testTableTokenCredentialbrowser')", + "preference-applied": "return-content", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3c5ecfc2-bb0c-43de-9443-7c5f4e7a11f6", + "x-ms-request-id": "eed5546a-b002-00a8-01a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables\",\"value\":[{\"TableName\":\"testTableTokenCredentialbrowser\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:56 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4966bf12-b25d-4191-9f5c-d65ccb45a45c", + "x-ms-request-id": "eed55475-b002-00a8-0aa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "DELETE", + "url": "https://fakeaccount.table.core.windows.net/Tables('testTableTokenCredentialbrowser')", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "date": "Sat, 19 Jun 2021 00:55:56 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "459b8a0b-659e-46fa-bc2f-c828bc92b7b7", + "x-ms-request-id": "eed5547e-b002-00a8-13a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "da88f5383fd5eebc6c066f95e45c3a6f" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_listtables/recording_should_list_all.json b/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_listtables/recording_should_list_all.json new file mode 100644 index 000000000000..d9c0f6318801 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_listtables/recording_should_list_all.json @@ -0,0 +1,54 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:57 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - SCUS ProdSlices", + "x-ms-request-id": "5c414636-7035-4936-8618-a0c50fa10900" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables\",\"value\":[{\"TableName\":\"ListTableTestTokenCredentialbrowser0\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser1\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser10\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser11\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser12\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser13\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser14\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser15\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser16\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser17\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser18\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser19\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser2\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser3\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser4\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser5\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser6\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser7\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser8\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser9\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:57 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "79c80460-a360-4775-af75-39ae96d00545", + "x-ms-request-id": "eed55596-b002-00a8-79a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "3d698a62fe27c2660068e1e707c1c872" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_listtables/recording_should_list_by_page.json b/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_listtables/recording_should_list_by_page.json new file mode 100644 index 000000000000..943f722f9913 --- /dev/null +++ b/sdk/tables/data-tables/recordings/browsers/tableserviceclient_tokencredential_listtables/recording_should_list_by_page.json @@ -0,0 +1,156 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1318", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:57 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.8 - NCUS ProdSlices", + "x-ms-request-id": "c61644dd-f013-4551-a705-b211a1c90600" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": { + "$top": "5" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables\",\"value\":[{\"TableName\":\"ListTableTestTokenCredentialbrowser0\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser1\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser10\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser11\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser12\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextTableName,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:57 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c9666148-4e53-4a65-9051-5724c709fda6", + "x-ms-continuation-nexttablename": "1!72!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbGJyb3dzZXIxMwEwMWQ3NjRhNWRkNTIyZGFl", + "x-ms-request-id": "eed555a8-b002-00a8-09a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": { + "$top": "5", + "NextTableName": "1!72!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbGJyb3dzZXIxMwEwMWQ3NjRhNWRkNTIyZGFl" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables\",\"value\":[{\"TableName\":\"ListTableTestTokenCredentialbrowser13\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser14\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser15\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser16\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser17\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextTableName,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:57 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "40169c37-1f8b-4b64-bc2e-e545a80c52f0", + "x-ms-continuation-nexttablename": "1!72!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbGJyb3dzZXIxOAEwMWQ3NjRhNWRkNzYzNzE0", + "x-ms-request-id": "eed555b3-b002-00a8-13a5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": { + "$top": "5", + "NextTableName": "1!72!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbGJyb3dzZXIxOAEwMWQ3NjRhNWRkNzYzNzE0" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables\",\"value\":[{\"TableName\":\"ListTableTestTokenCredentialbrowser18\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser19\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser2\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser3\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser4\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextTableName,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:58 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7aeb34fd-f7df-4ad9-a6a0-36c4e79051f0", + "x-ms-continuation-nexttablename": "1!72!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbGJyb3dzZXI1ATAxZDc2NGE1ZGQxNmEwM2E-", + "x-ms-request-id": "eed555c0-b002-00a8-1fa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": { + "$top": "5", + "NextTableName": "1!72!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbGJyb3dzZXI1ATAxZDc2NGE1ZGQxNmEwM2E-" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables\",\"value\":[{\"TableName\":\"ListTableTestTokenCredentialbrowser5\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser6\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser7\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser8\"},{\"TableName\":\"ListTableTestTokenCredentialbrowser9\"}]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextTableName,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:58 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c7fd56f0-2ec0-4f53-b4cf-7c82d2c0856e", + "x-ms-continuation-nexttablename": "1!68!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbG5vZGUwATAxZDc2NGE1ZDM0NjFmZjY-", + "x-ms-request-id": "eed555cc-b002-00a8-2aa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + }, + { + "method": "GET", + "url": "https://fakeaccount.table.core.windows.net/Tables", + "query": { + "$top": "5", + "NextTableName": "1!68!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbG5vZGUwATAxZDc2NGE1ZDM0NjFmZjY-" + }, + "requestBody": null, + "status": 200, + "response": "{\"odata.metadata\":\"https://fakeaccount.table.core.windows.net/$metadata#Tables\",\"value\":[]}", + "responseHeaders": { + "access-control-allow-origin": "*", + "access-control-expose-headers": "x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding", + "cache-control": "no-cache", + "content-type": "application/json;odata=minimalmetadata;streaming=true;charset=utf-8", + "date": "Sat, 19 Jun 2021 00:55:58 GMT", + "server": "Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "735a0d8e-ce4a-4abb-a867-96d36abb919f", + "x-ms-request-id": "eed555dd-b002-00a8-3aa5-6455aa000000", + "x-ms-version": "2019-02-02" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "6b0653f6a3e6a02df6043a0624fa22e7" +} \ No newline at end of file diff --git a/sdk/tables/data-tables/recordings/node/access_policy_operations/recording_should_send_a_null_ap.js b/sdk/tables/data-tables/recordings/node/access_policy_operations/recording_should_send_a_null_ap.js index 9a9cac05e95c..ac3ab311a042 100644 --- a/sdk/tables/data-tables/recordings/node/access_policy_operations/recording_should_send_a_null_ap.js +++ b/sdk/tables/data-tables/recordings/node/access_policy_operations/recording_should_send_a_null_ap.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "067942f4c3d80b9135fe9a839778ea97"; +module.exports.hash = "c2c79babdf0a75c701089dad1adeddf2"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -18,15 +18,15 @@ nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":tru 'Server', 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'f17422da-a002-00f3-1d4e-5d52d6000000', + '7c52f145-1002-0129-2ba5-64b1a8000000', 'x-ms-client-request-id', - '6b9bac01-b7f6-4214-8f21-ddc8fa2de261', + 'c145c784-e0ea-4f0c-a458-c282737b3f6d', 'x-ms-version', '2019-02-02', 'X-Content-Type-Options', 'nosniff', 'Date', - 'Wed, 09 Jun 2021 16:44:59 GMT' + 'Sat, 19 Jun 2021 00:55:30 GMT' ]); nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) @@ -38,13 +38,13 @@ nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":tru 'Server', 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'f17422eb-a002-00f3-2a4e-5d52d6000000', + '7c52f154-1002-0129-38a5-64b1a8000000', 'x-ms-client-request-id', - 'f5a0c1ec-306f-4e62-aebf-81d8d070aa96', + '7c01318d-9e9e-47e3-822a-58524b1bd78c', 'x-ms-version', '2019-02-02', 'Date', - 'Wed, 09 Jun 2021 16:45:00 GMT' + 'Sat, 19 Jun 2021 00:55:30 GMT' ]); nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) @@ -58,9 +58,9 @@ nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":tru 'Server', 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'f1742343-a002-00f3-794e-5d52d6000000', + '7c52f15c-1002-0129-40a5-64b1a8000000', 'x-ms-client-request-id', - 'ec752160-bbbc-4284-9903-f7c46be99765', + '8637b70d-adc8-4199-b467-e7898fa7e59a', 'x-ms-version', '2019-02-02', 'Access-Control-Expose-Headers', @@ -68,5 +68,5 @@ nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":tru 'Access-Control-Allow-Origin', '*', 'Date', - 'Wed, 09 Jun 2021 16:45:00 GMT' + 'Sat, 19 Jun 2021 00:55:30 GMT' ]); diff --git a/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_handle_sub_request_error.js b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_handle_sub_request_error.js new file mode 100644 index 000000000000..cf8f1dbe9409 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_handle_sub_request_error.js @@ -0,0 +1,263 @@ +let nock = require('nock'); + +module.exports.hash = "6ba62f21b59c8e526f266ea02d551e9d"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'd266ebaa-90fb-4519-a096-efa910cf5c00', + 'x-ms-ests-server', + '2.1.11829.4 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrmZJIB-9YDkwUoSfSyqYqgBpWVNCwpbOEkt4IvSfNd59udT4UtOD1xrH7RWZnlhs7nO7TXwM_nGrbFybWSAUlinHa4ofHqpu1HWjQ-zJboeR-D6xu44HSbskds_kBYBnHmpL6SCz4ynG4D86VIsiRvA8BxyH6KzlYh2YYwbJ4oGogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '325c2ba7-8fa1-423e-a41d-7faf18a20a00', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreOXmyCucjNT6Q24qVvHL92zxyJ64Z70ySk0RqeJaQ0-wY81brSXninIjbSxp55gkvOsGC4GtpsY0MyK82LsMMbvzRkd4tOy05WKtym7mVrf9_0Qb7LrVQkNgevLCLEWrHnViZxqw7MdPJHIPb-enEn23GrbFnPZW3jlyIczlPC4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=160fc4a6-280d-4327-ae89-2f424289f849&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '46621f17-9866-47c3-a5b1-868a85ba0900', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/Tables', {"TableName":"batchTableTestTokenCredentialnode"}) + .reply(409, {"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The table specified already exists.\nRequestId:7c530450-1002-0129-74a5-64b1a8000000\nTime:2021-06-19T00:55:46.2255541Z"}}}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530450-1002-0129-74a5-64b1a8000000', + 'x-ms-client-request-id', + 'abc003a6-045c-4baa-8ff5-3fdd74c27c6e', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'b039aa23-d4dc-46ca-ac0a-a3a34de10500', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtTf6avkyevUe8xT--Nle6xgrVgXcRmbem0F_u4dZn6yk6Lk36rbZ05sJeWlhKsBd9fbUnQxtb55c9HdL5YTn716JxHIWu9g4qcJbWfPHAyzU7CiAxg4TLIEC2oZzbS-t41Xn6uN6BbKPUSQ3CaFFUPDL7U1zYotuJLFlia6aaQIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '4174321f-7683-4c57-abc5-0e838d990500', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrnB_ykAABx7zjZQ9UZd2WUjjYLQqL1dtrAIErzrgwLWjr26P4DH3Yivy4MkvdqKJkxthBgUkCQVe1_VNHwKNR0AmrdrDHIAZ807laQTPiycsdJaMRjtN-XrB6NHhuHNU8l80gJbvjYLsysg0Z_Y8cAGcbzZCNz6wU2u9YoXELgRggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=b05389b5-cca3-44dd-b159-22a846386e18&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '110fb2cd-31b2-4137-b1c7-1bc161d81100', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/$batch', "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/noExistingTable HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"name\":\"first\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/noExistingTable HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"name\":\"second\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/noExistingTable HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"name\":\"third\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n") + .reply(202, "--batchresponse_85b3b7a2-92e7-4a43-992e-f1e4a077a6f0\r\nContent-Type: multipart/mixed; boundary=changesetresponse_7b5bf2b6-58cb-4de5-97a1-8f69d87c2a25\r\n\r\n--changesetresponse_7b5bf2b6-58cb-4de5-97a1-8f69d87c2a25\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 404 Not Found\r\nX-Content-Type-Options: nosniff\r\nDataServiceVersion: 3.0;\r\nContent-Type: application/json;odata=minimalmetadata;streaming=true;charset=utf-8\r\n\r\n{\"odata.error\":{\"code\":\"TableNotFound\",\"message\":{\"lang\":\"en-US\",\"value\":\"0:The table specified does not exist.\\nRequestId:7c5304cb-1002-0129-66a5-64b1a8000000\\nTime:2021-06-19T00:55:46.6448551Z\"}}}\r\n--changesetresponse_7b5bf2b6-58cb-4de5-97a1-8f69d87c2a25--\r\n--batchresponse_85b3b7a2-92e7-4a43-992e-f1e4a077a6f0--\r\n", [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'multipart/mixed; boundary=batchresponse_85b3b7a2-92e7-4a43-992e-f1e4a077a6f0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c5304cb-1002-0129-66a5-64b1a8000000', + 'x-ms-client-request-id', + 'dff687cd-006b-43a4-b3b8-64415d28491d', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_create_actions_when_using_tabletransaction_helper.js b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_create_actions_when_using_tabletransaction_helper.js new file mode 100644 index 000000000000..07ae37b7b091 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_create_actions_when_using_tabletransaction_helper.js @@ -0,0 +1,159 @@ +let nock = require('nock'); + +module.exports.hash = "7fe804a6bdf9f14679c93ca16293cd63"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '72c9ebfa-5c66-4326-996b-005787153d00', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:43 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-hnRlRqVf2oF88fntnCRewo2m94JwvKyzHJSMKJqRttuh2S2P0rR0mEOSlPwBw7xrcpXnqyiqhjsAKoy4sqpFCzqvWHoS5YXVFQ2X22EOYO187f4ETFdklltfJ7_DO4BR1voT_6IwGvVsGXH5WZkhN4hxcv2CGdXZZ0ILHMC6qIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:43 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '4174321f-7683-4c57-abc5-0e832f990500', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:43 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr_9iEmMu4qMfWwm28TOppywXyH7HXARGZjZuKWFsOYOYECuztEBccVtxEeKjxch1tVKyCxg3ir-Qma6qaOv_NT89-NUSNaq3BrfZYVXc2Z-cuXJsQwNnA1IEwYgtpdJVv9zqtzpDYzjMO4yUpAwGTzag2Vfu_uqs5jwoX6-Z7RT8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:43 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=5e36fe2b-97d5-4434-b0d7-1fefda53b439&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'f7c664a7-9230-42f3-afcc-eb2bcdfd0500', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:43 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:43 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/Tables', {"TableName":"batchTableTestTokenCredentialnode"}) + .reply(201, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables/@Element","TableName":"batchTableTestTokenCredentialnode"}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Location', + "https://fakeaccount.table.core.windows.net/Tables('batchTableTestTokenCredentialnode')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530152-1002-0129-25a5-64b1a8000000', + 'x-ms-client-request-id', + 'e70f055b-6978-4b90-ab9d-de8dc1abac5b', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:43 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/$batch', "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"helper\",\"RowKey\":\"1\",\"value\":\"t1\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"helper\",\"RowKey\":\"2\",\"value\":\"t2\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n") + .reply(202, "--batchresponse_ff4da75a-5da8-4c64-8090-1edcb5560f52\r\nContent-Type: multipart/mixed; boundary=changesetresponse_24d13c9b-4f6e-4b97-9c75-18f8a94686c1\r\n\r\n--changesetresponse_24d13c9b-4f6e-4b97-9c75-18f8a94686c1\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='helper',RowKey='1')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='helper',RowKey='1')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A44.1240453Z'\"\r\n\r\n\r\n--changesetresponse_24d13c9b-4f6e-4b97-9c75-18f8a94686c1\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='helper',RowKey='2')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='helper',RowKey='2')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A44.1240453Z'\"\r\n\r\n\r\n--changesetresponse_24d13c9b-4f6e-4b97-9c75-18f8a94686c1--\r\n--batchresponse_ff4da75a-5da8-4c64-8090-1edcb5560f52--\r\n", [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'multipart/mixed; boundary=batchresponse_ff4da75a-5da8-4c64-8090-1edcb5560f52', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c53016e-1002-0129-37a5-64b1a8000000', + 'x-ms-client-request-id', + '4a6fab29-d694-4fd1-a26c-d8f8e9537399', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:43 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_create_batch_operations.js b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_create_batch_operations.js new file mode 100644 index 000000000000..2199de30281e --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_create_batch_operations.js @@ -0,0 +1,157 @@ +let nock = require('nock'); + +module.exports.hash = "659ac4694c40f47f27cde9bb7ae0d0b9"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'ae1e9397-e263-4c27-a5f4-ee87019b3b00', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9Pt3dRZ1On-0Xe7sTCfznyfklESJSIUoPT9ONl3xtsaXeV89yidCVRT_mVEcdKE6i381ewMv75QplhOZe_qzis2PfJiSRjLitpOgLBMEWPdqfPmBVg0cHwFImqgLC1ec2L4XcrMTfFCw7XuTpvtbF9U7yvvIyNKWQqAO5MUsTJUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '325c2ba7-8fa1-423e-a41d-7fafc9a10a00', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1UOpjJasVToWJY3B_Lm2Q7_Yi6fQ0x6KG-sFTDwl2BYggN8dSuAlvv5llB4Yk_rGO4gi9GolTdoH5NB2GgnVPTRrBZTDWykBSPB8YAytm8W0d5-9v58IyyB5DfdYV0BuqpMcLPliRbZh1Uo_LlH0oCtAEY37GphaN5b_8wW2RrcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=0435038f-7b81-43c6-9daa-ad51c7794eac&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '31d461b1-56a4-4911-99ad-6cc08f590400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/Tables', {"TableName":"batchTableTestTokenCredentialnode"}) + .reply(409, {"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The table specified already exists.\nRequestId:7c530201-1002-0129-41a5-64b1a8000000\nTime:2021-06-19T00:55:44.4993148Z"}}}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530201-1002-0129-41a5-64b1a8000000', + 'x-ms-client-request-id', + '91783dca-f184-46bb-8880-c4849a1a1c81', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/$batch', "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"name\":\"first\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"name\":\"second\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"name\":\"third\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n") + .reply(202, "--batchresponse_e4f00644-da67-413c-8c4a-36803e8abb93\r\nContent-Type: multipart/mixed; boundary=changesetresponse_af1ffaeb-9e17-405a-b168-57d1c3ef8f5b\r\n\r\n--changesetresponse_af1ffaeb-9e17-405a-b168-57d1c3ef8f5b\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='1')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='1')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A44.5453474Z'\"\r\n\r\n\r\n--changesetresponse_af1ffaeb-9e17-405a-b168-57d1c3ef8f5b\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='2')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='2')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A44.5453474Z'\"\r\n\r\n\r\n--changesetresponse_af1ffaeb-9e17-405a-b168-57d1c3ef8f5b\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='3')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='3')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A44.5453474Z'\"\r\n\r\n\r\n--changesetresponse_af1ffaeb-9e17-405a-b168-57d1c3ef8f5b--\r\n--batchresponse_e4f00644-da67-413c-8c4a-36803e8abb93--\r\n", [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'multipart/mixed; boundary=batchresponse_e4f00644-da67-413c-8c4a-36803e8abb93', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530213-1002-0129-52a5-64b1a8000000', + 'x-ms-client-request-id', + 'd277436c-0fb5-40cb-ac02-ae3e24bd75c0', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_delete_batch_operations.js b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_delete_batch_operations.js new file mode 100644 index 000000000000..bcde71090651 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_delete_batch_operations.js @@ -0,0 +1,157 @@ +let nock = require('nock'); + +module.exports.hash = "bb6fb6ab6bcd4ba9d95528629452b831"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '60daca11-a111-4276-8165-0386e6fc3e00', + 'x-ms-ests-server', + '2.1.11829.4 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPIDGum_ZXYlNfRTzyWw2F62j1P8a9nBbGBHHQbr7k2xDyccCkm4-4-t0YSk9UGmUnZlMq1o1lPmUmFb_uU2BruyxjY4y7RT1yvep8KvgM47GXB441kg32pWeMZ46-RYLY602Vfg28knxjm3slACVJPbxQE9AQNZstdOl106HMWggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '6fd8babd-1fb2-40ed-896b-f676065c0700', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJIgWU9P-sd9cC01Z7N7DOQmRWz5nlM_tf4hYrBTh9-Naw95NQlse0xLeZDr9Lx-VPOSb4cDvU6u90LicKKaZewD4ADbzcTrALDP1sfw7vhgjkhrgNptI9xDpcZES3NUB4wantPeZhP5HajRLDwpxHR0DF0t4HfePTEHOJsklLIMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=347998e2-5dd5-4d98-99aa-d01ba864396f&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '31d461b1-56a4-4911-99ad-6cc0c5590400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/Tables', {"TableName":"batchTableTestTokenCredentialnode"}) + .reply(409, {"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The table specified already exists.\nRequestId:7c5303c0-1002-0129-6fa5-64b1a8000000\nTime:2021-06-19T00:55:45.9013213Z"}}}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c5303c0-1002-0129-6fa5-64b1a8000000', + 'x-ms-client-request-id', + '31aab991-4d17-4fd5-8f03-c9f1760dda96', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/$batch', "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nDELETE https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='1') HTTP/1.1\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nif-match: *\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nDELETE https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='2') HTTP/1.1\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nif-match: *\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nDELETE https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='3') HTTP/1.1\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nif-match: *\r\n\r\n\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n") + .reply(202, "--batchresponse_7a531141-4a0b-4426-a922-bfe1a6aafbbf\r\nContent-Type: multipart/mixed; boundary=changesetresponse_18c03b87-8949-473d-b62a-8254d782d147\r\n\r\n--changesetresponse_18c03b87-8949-473d-b62a-8254d782d147\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\n\r\n\r\n--changesetresponse_18c03b87-8949-473d-b62a-8254d782d147\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\n\r\n\r\n--changesetresponse_18c03b87-8949-473d-b62a-8254d782d147\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\n\r\n\r\n--changesetresponse_18c03b87-8949-473d-b62a-8254d782d147--\r\n--batchresponse_7a531141-4a0b-4426-a922-bfe1a6aafbbf--\r\n", [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'multipart/mixed; boundary=batchresponse_7a531141-4a0b-4426-a922-bfe1a6aafbbf', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c5303cd-1002-0129-7ba5-64b1a8000000', + 'x-ms-client-request-id', + 'b4b872ed-bd53-43af-8c3f-793bcfc1de25', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_update_batch_operations.js b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_update_batch_operations.js new file mode 100644 index 000000000000..3a159b5a66fd --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_update_batch_operations.js @@ -0,0 +1,185 @@ +let nock = require('nock'); + +module.exports.hash = "7d9af0ee8cf4fe3f2960151a3e397df0"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '4805505a-9e17-4f1e-b17a-5836082a8700', + 'x-ms-ests-server', + '2.1.11829.4 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWAKSVOm7xqEwzvmARHq2bhDY0YtYiD3ypVsgYK8QabzP86vrPSbvDmw8_dJ1AvRqaRCyhN7LT31euNbg7l09jIDhCKeBmnWnDLtamlJf8Ut_bLfPZnoIQ7ZRNKIwTfK2N4QwiZ-c44sKkuU-2HrJOap3N--J2RKzPb78Bvh012kgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '31d461b1-56a4-4911-99ad-6cc099590400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfSGQk5Tcrs4pUIq4kJ_ZqYtI29lX0tZ5THYMfoSq9HY-3_cOeTtn2U2Cjn5k6FCwBidAF1OcbQ-NMUFdw2H3mKvHl_f71sR4L4BsKJpnit6fGNOOD-jiMXZmroqYO01ipng6tFcW5VebAut-LpSiVQ897O7Buwj_7HjTPFxAU78gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=ba4bf607-e469-4c66-a836-7c66687d8e61&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '31d461b1-56a4-4911-99ad-6cc0a0590400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/Tables', {"TableName":"batchTableTestTokenCredentialnode"}) + .reply(409, {"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The table specified already exists.\nRequestId:7c5302a4-1002-0129-5da5-64b1a8000000\nTime:2021-06-19T00:55:44.9666498Z"}}}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c5302a4-1002-0129-5da5-64b1a8000000', + 'x-ms-client-request-id', + 'd335a22f-4d38-40cc-adb9-b5b5ad90f03f', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/$batch', "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='1') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\nif-match: *\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"name\":\"updated\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='2') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\nif-match: *\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"name\":\"updated\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='3') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\nif-match: *\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"name\":\"updated\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n") + .reply(202, "--batchresponse_c7419af2-f379-47fb-8e00-672304cdfe4c\r\nContent-Type: multipart/mixed; boundary=changesetresponse_1eb57195-1900-4840-a10e-c423f66a5230\r\n\r\n--changesetresponse_1eb57195-1900-4840-a10e-c423f66a5230\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A45.0174735Z'\"\r\n\r\n\r\n--changesetresponse_1eb57195-1900-4840-a10e-c423f66a5230\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A45.0174735Z'\"\r\n\r\n\r\n--changesetresponse_1eb57195-1900-4840-a10e-c423f66a5230\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A45.0174735Z'\"\r\n\r\n\r\n--changesetresponse_1eb57195-1900-4840-a10e-c423f66a5230--\r\n--batchresponse_c7419af2-f379-47fb-8e00-672304cdfe4c--\r\n", [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'multipart/mixed; boundary=batchresponse_c7419af2-f379-47fb-8e00-672304cdfe4c', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c5302af-1002-0129-68a5-64b1a8000000', + 'x-ms-client-request-id', + 'a67ac632-697b-4b4c-9a6f-109369b1542b', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/batchTableTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#batchTableTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A45.0174735Z'\"","PartitionKey":"batchTest","RowKey":"1","Timestamp":"2021-06-19T00:55:45.0174735Z","name":"updated"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A45.0174735Z'\"","PartitionKey":"batchTest","RowKey":"2","Timestamp":"2021-06-19T00:55:45.0174735Z","name":"updated"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A45.0174735Z'\"","PartitionKey":"batchTest","RowKey":"3","Timestamp":"2021-06-19T00:55:45.0174735Z","name":"updated"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c5302c5-1002-0129-7ba5-64b1a8000000', + 'x-ms-client-request-id', + '4b0aaa4d-59b7-4857-82f0-5b13266069da', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:44 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_upsert_batch_operations.js b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_upsert_batch_operations.js new file mode 100644 index 000000000000..80ff595c7925 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_a_set_of_upsert_batch_operations.js @@ -0,0 +1,185 @@ +let nock = require('nock'); + +module.exports.hash = "db96ff2bce0bb30fef64fe7c843bf74a"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9b967a57-ab97-421b-99af-d8100f929800', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2micihfQnvwUnjanO-MwELfJ5yxMetJOrpHSPx9NvMqBR-KC0Se9AzV6IBLvQqAG3orfoEKHgl4nrAZgVeWL63eczKj8J0ZnqeLdf9ki2c_Ebpg2sobYDPdB2W1b9OZn2qmCP1SJl-W4T4A6AYL5kLhqkkbPv-gpr1G3juVSdVsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '31d461b1-56a4-4911-99ad-6cc0b0590400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreTau2oCmJW3fP--XEGPBF13cRazacE4vk6oh81kFeL747S3hWHsGwhUXEOSi2PQbzXffxkJgfXh1uTAYR0Ddh40iiiYa100pB5UPh6NKzmHeC3PYKzwcfitHp_4jC7WaquboLxMmep6c1FeBoae01TnJnhX8I1PJhEUSpNatzO0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=830dcd09-06c0-4dc9-b0a6-0bc66105155c&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'b6a3ee90-0d7e-41e4-bd9b-5143a3b40600', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/Tables', {"TableName":"batchTableTestTokenCredentialnode"}) + .reply(409, {"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The table specified already exists.\nRequestId:7c530344-1002-0129-74a5-64b1a8000000\nTime:2021-06-19T00:55:45.4930282Z"}}}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530344-1002-0129-74a5-64b1a8000000', + 'x-ms-client-request-id', + '044d2a10-5984-4dd5-a691-508398c230f7', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/$batch', "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='1') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"1\",\"name\":\"upserted\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='2') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"2\",\"name\":\"upserted\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='3') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"3\",\"name\":\"upserted\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPUT https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='batchTest',RowKey='4') HTTP/1.1\r\ncontent-type: application/json\r\ndataserviceversion: 3.0\r\naccept: application/json\r\n\r\n\r\n{\"PartitionKey\":\"batchTest\",\"RowKey\":\"4\",\"name\":\"upserted\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n") + .reply(202, "--batchresponse_a2f9693e-ea9e-48b3-bdba-9871d633b5ee\r\nContent-Type: multipart/mixed; boundary=changesetresponse_2d2eeb6e-7b25-4c44-9170-09272189ddb7\r\n\r\n--changesetresponse_2d2eeb6e-7b25-4c44-9170-09272189ddb7\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A45.5418525Z'\"\r\n\r\n\r\n--changesetresponse_2d2eeb6e-7b25-4c44-9170-09272189ddb7\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A45.5418525Z'\"\r\n\r\n\r\n--changesetresponse_2d2eeb6e-7b25-4c44-9170-09272189ddb7\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A45.5428532Z'\"\r\n\r\n\r\n--changesetresponse_2d2eeb6e-7b25-4c44-9170-09272189ddb7\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion: 1.0;\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A45.5428532Z'\"\r\n\r\n\r\n--changesetresponse_2d2eeb6e-7b25-4c44-9170-09272189ddb7--\r\n--batchresponse_a2f9693e-ea9e-48b3-bdba-9871d633b5ee--\r\n", [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'multipart/mixed; boundary=batchresponse_a2f9693e-ea9e-48b3-bdba-9871d633b5ee', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c53034e-1002-0129-7ea5-64b1a8000000', + 'x-ms-client-request-id', + '9eeb3e51-fe40-49b2-bda6-4a86414d00d1', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/batchTableTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#batchTableTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A45.5418525Z'\"","PartitionKey":"batchTest","RowKey":"1","Timestamp":"2021-06-19T00:55:45.5418525Z","name":"upserted"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A45.5418525Z'\"","PartitionKey":"batchTest","RowKey":"2","Timestamp":"2021-06-19T00:55:45.5418525Z","name":"upserted"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A45.5428532Z'\"","PartitionKey":"batchTest","RowKey":"3","Timestamp":"2021-06-19T00:55:45.5428532Z","name":"upserted"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A45.5428532Z'\"","PartitionKey":"batchTest","RowKey":"4","Timestamp":"2021-06-19T00:55:45.5428532Z","name":"upserted"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530361-1002-0129-11a5-64b1a8000000', + 'x-ms-client-request-id', + 'b5b8f12e-f3bf-4f36-bb36-505a6726be34', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:45 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_multiple_transactions_with_the_same_partition_key.js b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_multiple_transactions_with_the_same_partition_key.js new file mode 100644 index 000000000000..61e9736d40e8 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/batch_operations_tokencredential/recording_should_send_multiple_transactions_with_the_same_partition_key.js @@ -0,0 +1,208 @@ +let nock = require('nock'); + +module.exports.hash = "c2facf3a7e0d5911aa36b9d39d9eb8cf"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '45c47fb6-4f74-4c6a-8265-c5950d605500', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrnIzGMCeF5tlg7DnKX5NXGi-hEkSZflFLExb_NLEOvAbZDBUhEyp7mShIy0m3-zgsMX1te1UfzUTFrxc2NPo_rkJGDL4XTvvJasXw8viSMYwMfnA0CeqwfU6RrPTVzBwJsHCbJO_RDe0uKqFlrI0xKolzTrJaM4vYWp4vpJrY-u0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '44b0c367-333b-40ac-9544-a604c4680900', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrhdQ2u9MQoQUdhNx1cnbe4P2Nr739Lrsdds-1eC1n9jBwzFOHwSIJSfzoURdk6qj1bwi2x-UkP69o9WhZt0uXLyuVjT216mVHRiY7h76a28vVaLbDTebhSVZjTrEYEvgfoZ0PBLJXCF7i4raHN1J4IQ4xisKRviyzX-IoQgrk8p8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=7cf02e95-fd29-40de-8bad-67fbfd515f8f&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'b50a8c45-56e2-453b-9c5c-02e8a2350400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwDwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/Tables', {"TableName":"batchTableTestTokenCredentialnode"}) + .reply(409, {"odata.error":{"code":"TableAlreadyExists","message":{"lang":"en-US","value":"The table specified already exists.\nRequestId:7c53051d-1002-0129-30a5-64b1a8000000\nTime:2021-06-19T00:55:46.9790951Z"}}}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c53051d-1002-0129-30a5-64b1a8000000', + 'x-ms-client-request-id', + 'd8ffba2c-db36-4046-a300-a06adcaf33a1', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/$batch', "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r1\",\"value\":\"1\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r2\",\"value\":\"2\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r3\",\"value\":\"3\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n") + .reply(202, "--batchresponse_3fd4af7b-bf26-49ba-83fc-23e984b58cce\r\nContent-Type: multipart/mixed; boundary=changesetresponse_92e62f1f-20c9-4fd6-a23a-9df6bbd87382\r\n\r\n--changesetresponse_92e62f1f-20c9-4fd6-a23a-9df6bbd87382\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r1')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r1')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A47.0221264Z'\"\r\n\r\n\r\n--changesetresponse_92e62f1f-20c9-4fd6-a23a-9df6bbd87382\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r2')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r2')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A47.0221264Z'\"\r\n\r\n\r\n--changesetresponse_92e62f1f-20c9-4fd6-a23a-9df6bbd87382\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r3')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r3')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A47.0221264Z'\"\r\n\r\n\r\n--changesetresponse_92e62f1f-20c9-4fd6-a23a-9df6bbd87382--\r\n--batchresponse_3fd4af7b-bf26-49ba-83fc-23e984b58cce--\r\n", [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'multipart/mixed; boundary=batchresponse_3fd4af7b-bf26-49ba-83fc-23e984b58cce', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530522-1002-0129-35a5-64b1a8000000', + 'x-ms-client-request-id', + '2d76e5be-901b-4095-823f-1c411a3ea45a', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/$batch', "--batch_fakeId\r\ncontent-type: multipart/mixed; boundary=changeset_fakeId\r\n\r\n\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r4\",\"value\":\"4\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r5\",\"value\":\"5\"}\r\n--changeset_fakeId\r\ncontent-type: application/http\r\ncontent-transfer-encoding: binary\r\n\r\nPOST https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode HTTP/1.1\r\ncontent-type: application/json;odata=nometadata\r\naccept: application/json;odata=minimalmetadata\r\ndataserviceversion: 3.0\r\nprefer: return-no-content\r\n\r\n\r\n{\"PartitionKey\":\"multiBatch1\",\"RowKey\":\"r6\",\"value\":\"6\"}\r\n--changeset_fakeId--\r\n--batch_fakeId--\r\n") + .reply(202, "--batchresponse_edd0e207-7dee-4fd7-b851-6779b29e31f5\r\nContent-Type: multipart/mixed; boundary=changesetresponse_5792fcb9-7908-42ec-8ca9-270ef367f61a\r\n\r\n--changesetresponse_5792fcb9-7908-42ec-8ca9-270ef367f61a\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r4')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r4')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A47.0961792Z'\"\r\n\r\n\r\n--changesetresponse_5792fcb9-7908-42ec-8ca9-270ef367f61a\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r5')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r5')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A47.0961792Z'\"\r\n\r\n\r\n--changesetresponse_5792fcb9-7908-42ec-8ca9-270ef367f61a\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion: 3.0;\r\nLocation: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r6')\r\nDataServiceId: https://fakeaccount.table.core.windows.net/batchTableTestTokenCredentialnode(PartitionKey='multiBatch1',RowKey='r6')\r\nETag: W/\"datetime'2021-06-19T00%3A55%3A47.0961792Z'\"\r\n\r\n\r\n--changesetresponse_5792fcb9-7908-42ec-8ca9-270ef367f61a--\r\n--batchresponse_edd0e207-7dee-4fd7-b851-6779b29e31f5--\r\n", [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'multipart/mixed; boundary=batchresponse_edd0e207-7dee-4fd7-b851-6779b29e31f5', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530541-1002-0129-53a5-64b1a8000000', + 'x-ms-client-request-id', + 'a102889b-4183-48f1-99d3-13907bcdad34', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:46 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/batchTableTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#batchTableTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A47.0221264Z'\"","PartitionKey":"multiBatch1","RowKey":"r1","Timestamp":"2021-06-19T00:55:47.0221264Z","value":"1"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A47.0221264Z'\"","PartitionKey":"multiBatch1","RowKey":"r2","Timestamp":"2021-06-19T00:55:47.0221264Z","value":"2"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A47.0221264Z'\"","PartitionKey":"multiBatch1","RowKey":"r3","Timestamp":"2021-06-19T00:55:47.0221264Z","value":"3"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A47.0961792Z'\"","PartitionKey":"multiBatch1","RowKey":"r4","Timestamp":"2021-06-19T00:55:47.0961792Z","value":"4"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A47.0961792Z'\"","PartitionKey":"multiBatch1","RowKey":"r5","Timestamp":"2021-06-19T00:55:47.0961792Z","value":"5"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A47.0961792Z'\"","PartitionKey":"multiBatch1","RowKey":"r6","Timestamp":"2021-06-19T00:55:47.0961792Z","value":"6"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c530553-1002-0129-64a5-64b1a8000000', + 'x-ms-client-request-id', + 'b207bee1-8fc2-4026-9105-aa10dc4788f7', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:47 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_boolean.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_boolean.js new file mode 100644 index 000000000000..a92e14c780a9 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_boolean.js @@ -0,0 +1,190 @@ +let nock = require('nock'); + +module.exports.hash = "10564c0369135bb56c3a21a46e67619c"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'e9d7084a-d9d9-4875-a39f-b7eb92c6eb00', + 'x-ms-ests-server', + '2.1.11829.4 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQ1NEZfeWSzUWIf1UGmBb6xEpL-gTTrnQKy0rXpAJzZYi4niMlGgG59YnrR2sV0E22uG1Ys1qCl-dsHfyZX4EMksOWVweA-9-dDvdXy-SdmOtdU5oqB8hDdk_FYFUlC0z97lDLin4kNOyoFaEBAogoCkBZMEJciJqGQplnGGkO58gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '44b0c367-333b-40ac-9544-a604b5670900', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrAIlaFWvucn06OPvM9ZaA1_f7w037dvVe5PW506Y0u6mfswzxIp2_8jdfmv5rwtbFa0Cqw0HVIgC5J37Kurc91Apm39lS77hm1-gNsXDiA-R_VQV4sWPqRl7Mr5avdBV-SuX7g0Is6h-hlBkhlgmv7_W5lhrFHT1lCvVMsdKCBL8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=58fbbb2b-44ca-431b-8906-0ef6cb541b89&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'ff744711-21ed-41d2-b72f-920cb0bb0f00', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/tableClientTestTokenCredentialnode', {"PartitionKey":"P6_node","RowKey":"R6","testField":true,"testField@odata.type":"Edm.Boolean"}) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A39.0804247Z'"`, + 'Location', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P6_node',RowKey='R6')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fb13-1002-0129-52a5-64b1a8000000', + 'x-ms-client-request-id', + '598d7a92-78b7-4f32-8538-bfaeed442a87', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-no-content', + 'DataServiceId', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P6_node',RowKey='R6')", + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get(`/tableClientTestTokenCredentialnode(PartitionKey='P6_node',RowKey='R6')`) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode/@Element","odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A39.0804247Z'\"","PartitionKey":"P6_node","RowKey":"R6","Timestamp":"2021-06-19T00:55:39.0804247Z","testField":true}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A39.0804247Z'"`, + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fb2a-1002-0129-68a5-64b1a8000000', + 'x-ms-client-request-id', + 'bf93f713-3d4b-4c41-8fac-a4eeae485e50', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/tableClientTestTokenCredentialnode(PartitionKey='P6_node',RowKey='R6')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fb3e-1002-0129-7ba5-64b1a8000000', + 'x-ms-client-request-id', + '3f164cfe-6a1c-4be6-b9bf-79db20a39fde', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_date.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_date.js new file mode 100644 index 000000000000..967c4368227c --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_date.js @@ -0,0 +1,190 @@ +let nock = require('nock'); + +module.exports.hash = "40113f7a007204ac74b06c1c82ae2bfd"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'd0fec8af-1629-48d9-b48f-bda980a7d500', + 'x-ms-ests-server', + '2.1.11829.4 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrjua_SgLG0sUwlEiOmfpUhns4e93QIzNj5ogCYVY1QquiE-7HHYCPUVlpOikBdLxBV0MC7R0aNYqSWZt2BEHWsdS71WU8IJNulMe0HwRSlulKbtopDETo4EFuPctkk_8IaMfwnuPv2wZQfQcPAM4EwcwEAE1FI0eH1q50wNJtHF0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '31d461b1-56a4-4911-99ad-6cc07b580400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtTtCQ2o2zOBBUFQSJsq64K06YaQrVruaZS4dEcG3seKc2ii_5mO1yzViRlMCCkwlo-V-B2VdPXoX_Mc0v60JWQ2ZQz3CbIsx17CX_bkAiDZjlltApY9rhmCi6ndSyRtRUpvpcYXKAmI1_MTZ9Lh77jtmep5LZNrTxJiD4VpJc7EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=35af48ee-ce47-49b6-a4ae-efb038e0ce37&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '5b76ab08-ca3a-412b-b1bd-cc76c5441100', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/tableClientTestTokenCredentialnode', {"PartitionKey":"P2_node","RowKey":"R2","testField":"2020-09-17T00:00:00.111Z","testField@odata.type":"Edm.DateTime"}) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A37.1830625Z'"`, + 'Location', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P2_node',RowKey='R2')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f8af-1002-0129-0ea5-64b1a8000000', + 'x-ms-client-request-id', + '92e9a7b7-7dc0-4076-b4f2-7f9bf505e29d', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-no-content', + 'DataServiceId', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P2_node',RowKey='R2')", + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get(`/tableClientTestTokenCredentialnode(PartitionKey='P2_node',RowKey='R2')`) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode/@Element","odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A37.1830625Z'\"","PartitionKey":"P2_node","RowKey":"R2","Timestamp":"2021-06-19T00:55:37.1830625Z","testField@odata.type":"Edm.DateTime","testField":"2020-09-17T00:00:00.111Z"}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A37.1830625Z'"`, + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f8bf-1002-0129-1da5-64b1a8000000', + 'x-ms-client-request-id', + 'c8ba1f73-d0cf-4ce8-b1aa-eb5243863c82', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/tableClientTestTokenCredentialnode(PartitionKey='P2_node',RowKey='R2')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f8cc-1002-0129-2aa5-64b1a8000000', + 'x-ms-client-request-id', + '56b8d97c-5768-4408-b6d1-0e4c16c0f2af', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_datetime.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_datetime.js new file mode 100644 index 000000000000..444d9684d6c5 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_datetime.js @@ -0,0 +1,190 @@ +let nock = require('nock'); + +module.exports.hash = "ed676a3b36db8a9446e03369e600e4c9"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '88888bb1-83a1-4a04-90a4-fc91051f0600', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0YYZFX60cgMktNttNHDVQN7oqz-hRNHaHm4jb18Z6hm5dt1861X4sZPZ160FlBNxyPWXvFuI_LYseaRksWZLNucbWTJFWrV8LGlZlKYIOrb3XTVPn3gLY2t6X0WSxZpwCeFJ_Z1dDLMPStjD5tuT5uMp5oOfT3hhYYFliAAH1BIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '63adac0c-4d93-4567-a4a3-315276470400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5ntINOze3Gw33af7eB_vlDwvDTup4UHtIzORTNFuHzkl6zK0NJRPMiE7wy2hvE-XEZkR1DL_GeBV3IwKoJblymjd-wCpi7ScjWgDFDIDcYYg5N9sad_EbDWNPaOUxaACH_WYAhRucgntlOEkycYwRDcwqb77HKskpOo_n71HEG4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=92776bb8-de46-4306-98bf-69dc35d849bf&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Length', + '1318', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9e4c6b85-fab3-491f-b32f-8cbcd4a21000', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/tableClientTestTokenCredentialnode', {"PartitionKey":"P7_node","RowKey":"R7","testField":"2020-09-17T00:00:00.99999Z","testField@odata.type":"Edm.DateTime"}) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A39.5667739Z'"`, + 'Location', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P7_node',RowKey='R7')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fbb0-1002-0129-6ba5-64b1a8000000', + 'x-ms-client-request-id', + '38083eba-7c52-4b59-871b-072366c9df44', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-no-content', + 'DataServiceId', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P7_node',RowKey='R7')", + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get(`/tableClientTestTokenCredentialnode(PartitionKey='P7_node',RowKey='R7')`) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode/@Element","odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A39.5667739Z'\"","PartitionKey":"P7_node","RowKey":"R7","Timestamp":"2021-06-19T00:55:39.5667739Z","testField@odata.type":"Edm.DateTime","testField":"2020-09-17T00:00:00.99999Z"}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A39.5667739Z'"`, + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fbc3-1002-0129-7ea5-64b1a8000000', + 'x-ms-client-request-id', + '3b649968-254d-407a-81cc-33d53761f6f7', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/tableClientTestTokenCredentialnode(PartitionKey='P7_node',RowKey='R7')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fbcd-1002-0129-07a5-64b1a8000000', + 'x-ms-client-request-id', + '375c1ff7-d007-43b0-beb6-54968dd29474', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_guid.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_guid.js new file mode 100644 index 000000000000..c9bdd5c3fabb --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_guid.js @@ -0,0 +1,190 @@ +let nock = require('nock'); + +module.exports.hash = "69bd9ea5f4e3b945fa8d1b27c65e8da3"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '4439626b-da80-4cd3-be6b-c026725e4000', + 'x-ms-ests-server', + '2.1.11829.4 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrvb27eed2HHH4_WexU2T7BPQxU58v2RNAvtiL3RkUFlDE39WRew9qN8irS6dpqJ_-ErVj9yOP27il3Dcdl43IeGyC9ewRNIsXlABVTPfluHGvRt0xP_1nm7aQAUYUtICaZ27GG5gSo4RPH2_QOsijgFO6oCUPte-9jg5Gv8wmlH8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'bc1df750-7440-44f9-92ca-cb4f57510600', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrL6jgsMplReh7Usi-wYsUojqLnrV9jJoD3AyeRNc9Yout_Iue8G_P4YtbRHBIN_2j26B4Q4nG_n2aKGnkeRnZk1vFYYKnxHsoOX82wZg8qlzysIqBTuncGeanPhSarWAcU6U1iODmLHUZFzNJRyPlByt-tCFxoqZ4J3v_y2c8DoogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=97b75d8f-57e7-47fd-aabe-2b510f8301b5&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Length', + '1318', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'b50a8c45-56e2-453b-9c5c-02e841340400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/tableClientTestTokenCredentialnode', {"PartitionKey":"P3_node","RowKey":"R3","testField":"cf8ef051-1b7d-4e93-a1e5-a3944d7e441c","testField@odata.type":"Edm.Guid"}) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A37.6153729Z'"`, + 'Location', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P3_node',RowKey='R3')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f930-1002-0129-0aa5-64b1a8000000', + 'x-ms-client-request-id', + '5bfb527d-d3e9-416d-a350-56ef681eba3a', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-no-content', + 'DataServiceId', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P3_node',RowKey='R3')", + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get(`/tableClientTestTokenCredentialnode(PartitionKey='P3_node',RowKey='R3')`) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode/@Element","odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A37.6153729Z'\"","PartitionKey":"P3_node","RowKey":"R3","Timestamp":"2021-06-19T00:55:37.6153729Z","testField@odata.type":"Edm.Guid","testField":"cf8ef051-1b7d-4e93-a1e5-a3944d7e441c"}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A37.6153729Z'"`, + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f93e-1002-0129-18a5-64b1a8000000', + 'x-ms-client-request-id', + 'd613cec9-90c8-4c55-9f84-da030ce3567f', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/tableClientTestTokenCredentialnode(PartitionKey='P3_node',RowKey='R3')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f94e-1002-0129-27a5-64b1a8000000', + 'x-ms-client-request-id', + '0d1c7b4f-3ac0-4fd8-bedb-334b038d238e', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int32.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int32.js new file mode 100644 index 000000000000..9246ce4283dc --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int32.js @@ -0,0 +1,190 @@ +let nock = require('nock'); + +module.exports.hash = "4f351ff8900eff07413bfe4ee5aebcc1"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'e3483083-c0db-4cdd-a90c-4e6ae2348700', + 'x-ms-ests-server', + '2.1.11829.4 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQD0iOVr5g8oPsJClmR59XvGNtS83SctzMcirmFc23O2Tn_1yNiz1sYZSQrdq_SQ5zGD4iuDFqkoxMVxxSoinWBzwiseQy0JhU9dJQTI_L6HHmtyJY_rQfZJKezoP80Gi3W-ZIKZp8et1g1Dq7xKSjcb-vh3vdvJqZXX8w3ZCc3wgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Length', + '1753', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c6230cd5-fda1-4d43-859b-8cbe14d91100', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXeuCloJZWSCDrZqo8RaSrK6anZZr07rTaSFtMHbTPxLd5GM1RwoWy5pYkXLE-40xGcfRri1AUlOgh-u_p1nbu2bBYnszVYNtEA_sUyKYV6BEs8LpuDehSdp8xY_HLpzDRdKxEtvTZquhfs4gFpttso6-Zit5E7gtX_2e7-1ywk0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=471f8ce6-73f9-4250-906b-3ffbe5b64bae&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'ff744711-21ed-41d2-b72f-920ca3bb0f00', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/tableClientTestTokenCredentialnode', {"PartitionKey":"P5_node","RowKey":"R5","testField":123,"testField@odata.type":"Edm.Int32"}) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A38.630101Z'"`, + 'Location', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P5_node',RowKey='R5')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fa74-1002-0129-3aa5-64b1a8000000', + 'x-ms-client-request-id', + '44aa8206-20ad-4410-b31d-b964e2f6ca15', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-no-content', + 'DataServiceId', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P5_node',RowKey='R5')", + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get(`/tableClientTestTokenCredentialnode(PartitionKey='P5_node',RowKey='R5')`) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode/@Element","odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A38.630101Z'\"","PartitionKey":"P5_node","RowKey":"R5","Timestamp":"2021-06-19T00:55:38.630101Z","testField":123}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A38.630101Z'"`, + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fa84-1002-0129-49a5-64b1a8000000', + 'x-ms-client-request-id', + '5e1f67bc-0134-4f5f-af84-db716f0c58cb', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/tableClientTestTokenCredentialnode(PartitionKey='P5_node',RowKey='R5')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fa93-1002-0129-57a5-64b1a8000000', + 'x-ms-client-request-id', + 'c83b03f4-8f31-47ab-8dc3-3d86af5dc584', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int64.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int64.js new file mode 100644 index 000000000000..b2c2fffdba58 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_int64.js @@ -0,0 +1,190 @@ +let nock = require('nock'); + +module.exports.hash = "9328941615eb80fa4e895157041f336e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Length', + '980', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '2a6d5727-88e6-4116-8e01-0c0823fe8800', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7Gb53XBV1JIIzooJ00VapIimogdoRnhDH58NcT9M5DTQC0yXUIPJGC_ANy5i2kfVqoSrie5EDcjSVgtAau4S4rg6ndVazIBxNkk4XHEBocamGMiWBaGW5BnaMuv30pWw3sOT9aQFmyWAoyLen7VIoeLJMAK9vAtTZJx6BT967_UgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '1e87a220-4533-49cd-a63b-b5793cd70500', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9nfNGvLSyU5qe9M0zhuoHU2juPDD5HwXvDsXV0nMoQ9tGAOUqepastkkLKPNmZOiobV_oi7fjH2Swlx-Ps28C8HLPUqJvwz3_Y7yuF4KeBpb4th0u8gGG1UM4yOpnSIMrP7cIFgzZtQuaCkafMa2trEZBUmivFszC2S7o2pB8JcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=e003c58e-c097-43dc-859d-9c50cbf94b9c&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c6230cd5-fda1-4d43-859b-8cbe00d91100', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/tableClientTestTokenCredentialnode', {"PartitionKey":"P4_node","RowKey":"R4","testField":"12345543221","testField@odata.type":"Edm.Int64"}) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A38.1117284Z'"`, + 'Location', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P4_node',RowKey='R4')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f9c4-1002-0129-12a5-64b1a8000000', + 'x-ms-client-request-id', + 'cecf4c27-fae6-4cbc-acc7-e99f67406a78', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-no-content', + 'DataServiceId', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P4_node',RowKey='R4')", + 'Date', + 'Sat, 19 Jun 2021 00:55:37 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get(`/tableClientTestTokenCredentialnode(PartitionKey='P4_node',RowKey='R4')`) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode/@Element","odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A38.1117284Z'\"","PartitionKey":"P4_node","RowKey":"R4","Timestamp":"2021-06-19T00:55:38.1117284Z","testField@odata.type":"Edm.Int64","testField":"12345543221"}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A38.1117284Z'"`, + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f9cd-1002-0129-1ba5-64b1a8000000', + 'x-ms-client-request-id', + 'cb63132a-7837-4280-9e00-e409370741c5', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/tableClientTestTokenCredentialnode(PartitionKey='P4_node',RowKey='R4')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f9d1-1002-0129-1fa5-64b1a8000000', + 'x-ms-client-request-id', + '2ce4b45d-08a8-4ce6-85c9-af9caa895462', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:38 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_only_primitives.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_only_primitives.js new file mode 100644 index 000000000000..f37eb9b3c8d7 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_only_primitives.js @@ -0,0 +1,190 @@ +let nock = require('nock'); + +module.exports.hash = "5611e1c8bfdf5f6393a291806dbfd658"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'b5406530-9ca8-4d9c-a742-5312543c0800', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWln6flulBxacG2R4fvx4h18PlfrsMArXkYA7RdjtK5CN8X4QVuo2g6CarXw64KE9ak7-h8la779EgknLUQc9HQPyWnoiM9AUyaH-OB44Z4ZE9Cprby1GeHiOVbeTPObLY2KwjjUgZpSV-g6miZKjVbqOZnn2cMRVk2PjVV12KbUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'bc1df750-7440-44f9-92ca-cb4f37510600', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2okKimeeRaPbJPzDiG1z0ATj3sdB2riQ71hrLcmRsxkf0mrIznExTqiMmTW-UINlm9x9CNDlZWAPfIuPBOCD2eYOcJA12YJnAlCRNShT6ESLD2xh9XUDpOnfiOTwUEv8Wwl-oUYmMDSMjgunOURXo8WyCAzArTKdYRhR86CjY_IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=712499ab-d7c5-4087-891f-faa5be2a95de&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '46621f17-9866-47c3-a5b1-868a0eb90900', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/tableClientTestTokenCredentialnode', {"PartitionKey":"P2_node","RowKey":"R1","testField":"testEntity"}) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A36.7057194Z'"`, + 'Location', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P2_node',RowKey='R1')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f824-1002-0129-09a5-64b1a8000000', + 'x-ms-client-request-id', + 'f1eb2b69-d4ab-4608-9ffc-dfc132b0b140', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-no-content', + 'DataServiceId', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P2_node',RowKey='R1')", + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get(`/tableClientTestTokenCredentialnode(PartitionKey='P2_node',RowKey='R1')`) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode/@Element","odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A36.7057194Z'\"","PartitionKey":"P2_node","RowKey":"R1","Timestamp":"2021-06-19T00:55:36.7057194Z","testField":"testEntity"}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A36.7057194Z'"`, + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f832-1002-0129-16a5-64b1a8000000', + 'x-ms-client-request-id', + '70057e79-c0e6-4053-a117-f33fbe32d3da', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/tableClientTestTokenCredentialnode(PartitionKey='P2_node',RowKey='R1')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f83c-1002-0129-20a5-64b1a8000000', + 'x-ms-client-request-id', + '9c9b5502-608a-461c-a4ee-0790d5c013d9', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_primitive_int_and_float.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_primitive_int_and_float.js new file mode 100644 index 000000000000..f69897dba423 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_createentity_getentity_and_delete/recording_should_createentity_with_primitive_int_and_float.js @@ -0,0 +1,190 @@ +let nock = require('nock'); + +module.exports.hash = "fa95dcd9caf5c77aa6d43d9b90915678"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'd0c55236-1229-473f-aab6-70803d3dd800', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrxm-6qU2Ju8uLi6s-fkf8a90YQuAc-I-pNt2SBpkxvB8W2jrAzcNBE2wegd6A9tuHvORRRRVb_VGCGVAkyiN9GBLDejyUL5bE6kw_0MYT_R9X4JjmqiwFFJFCeYO5BWLuRqaa4nOW7lvRDV1zV07EItKx8QcG9ZPKMCAmQnSX0rcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c6230cd5-fda1-4d43-859b-8cbe45d91100', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:39 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9354xxJvQ9B5ZzPszHEGw33IFyBWbAWF-sPpzykRqtZzd0v-Y2E49boYostkBd570KXv8Rthb8ASSfCBGbIvFF2uNhuDUz-zvxjUWH_DjHYixa9p-1plvzi7dDsmEw8GC_fWe2rQubMMwbqpu-jdoyl7WtemOPnU0e7ivWs7QW4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=0c7915c6-b23c-4d66-a155-e8fd5653f4ab&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '6fd8babd-1fb2-40ed-896b-f676515b0700', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/tableClientTestTokenCredentialnode', {"PartitionKey":"P8_node","RowKey":"R8","integerNumber":3,"floatingPointNumber":3.14}) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A40.0881478Z'"`, + 'Location', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P8_node',RowKey='R8')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fc5c-1002-0129-0fa5-64b1a8000000', + 'x-ms-client-request-id', + '142ff500-4cee-4b32-8df5-754f6007e16b', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-no-content', + 'DataServiceId', + "https://fakeaccount.table.core.windows.net/tableClientTestTokenCredentialnode(PartitionKey='P8_node',RowKey='R8')", + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get(`/tableClientTestTokenCredentialnode(PartitionKey='P8_node',RowKey='R8')`) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode/@Element","odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A40.0881478Z'\"","PartitionKey":"P8_node","RowKey":"R8","Timestamp":"2021-06-19T00:55:40.0881478Z","integerNumber":3,"floatingPointNumber":3.14}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'ETag', + `W/"datetime'2021-06-19T00%3A55%3A40.0881478Z'"`, + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fc6c-1002-0129-1da5-64b1a8000000', + 'x-ms-client-request-id', + 'd0bcded2-da83-4925-ae5e-7fe48b6b1395', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,ETag,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:39 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/tableClientTestTokenCredentialnode(PartitionKey='P8_node',RowKey='R8')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fc7a-1002-0129-2aa5-64b1a8000000', + 'x-ms-client-request-id', + '761ec110-7e7b-45bd-932f-0ce2ce666ec0', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:40 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_all.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_all.js new file mode 100644 index 000000000000..29fd31f88994 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_all.js @@ -0,0 +1,139 @@ +let nock = require('nock'); + +module.exports.hash = "322d467b8d45b1d35853c220ed663b12"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '11d03411-d1b3-4199-a347-771e657e0500', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwAQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHK5NNuudjbvIiIAB5qW1LdhYwicCzoSGZYbyAcoRGGgJeqPILlfoDGxBB8VNvPmYFE5HEBQdFYKEwkpcnTT60KiIbbkSvAeKcx3dWKmYIcqq9qSzPwuRtZ5PGeepe2ASP8lFsVX5MOr5N_zcELxaD9pTrS4a9DUjfJiuxE_7RTwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:34 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '31d461b1-56a4-4911-99ad-6cc01b580400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwAQAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZOlTdi2bzcxuEHWcn-pafRWvEA7GtF4-IvGQTmnjjDwtbF615hSPgxCW5w3ZTYqcGJ0H-17CtG6pl1-DzV8uxpq3vVqS1ibBaqK-ae4uyi751YhkY1aXmWx9IgxXVqgan46N_GIgK1lQGegAUMxAvcjiWVRl0pPjhxDEBTFl6cQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:34 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=ceac68f6-34ed-4281-a328-865bfc4934f1&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'b50a8c45-56e2-453b-9c5c-02e8cc330400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwAgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:34 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/tableClientTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.7956301Z'\"","PartitionKey":"listEntitiesTest","RowKey":"0","Timestamp":"2021-06-19T00:55:33.7956301Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.838661Z'\"","PartitionKey":"listEntitiesTest","RowKey":"1","Timestamp":"2021-06-19T00:55:33.838661Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1949167Z'\"","PartitionKey":"listEntitiesTest","RowKey":"10","Timestamp":"2021-06-19T00:55:34.1949167Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.2349455Z'\"","PartitionKey":"listEntitiesTest","RowKey":"11","Timestamp":"2021-06-19T00:55:34.2349455Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.2729723Z'\"","PartitionKey":"listEntitiesTest","RowKey":"12","Timestamp":"2021-06-19T00:55:34.2729723Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.3099993Z'\"","PartitionKey":"listEntitiesTest","RowKey":"13","Timestamp":"2021-06-19T00:55:34.3099993Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.3500281Z'\"","PartitionKey":"listEntitiesTest","RowKey":"14","Timestamp":"2021-06-19T00:55:34.3500281Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.386054Z'\"","PartitionKey":"listEntitiesTest","RowKey":"15","Timestamp":"2021-06-19T00:55:34.386054Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.425082Z'\"","PartitionKey":"listEntitiesTest","RowKey":"16","Timestamp":"2021-06-19T00:55:34.425082Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.4631097Z'\"","PartitionKey":"listEntitiesTest","RowKey":"17","Timestamp":"2021-06-19T00:55:34.4631097Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.5001359Z'\"","PartitionKey":"listEntitiesTest","RowKey":"18","Timestamp":"2021-06-19T00:55:34.5001359Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.5371624Z'\"","PartitionKey":"listEntitiesTest","RowKey":"19","Timestamp":"2021-06-19T00:55:34.5371624Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.8766883Z'\"","PartitionKey":"listEntitiesTest","RowKey":"2","Timestamp":"2021-06-19T00:55:33.8766883Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9127141Z'\"","PartitionKey":"listEntitiesTest","RowKey":"3","Timestamp":"2021-06-19T00:55:33.9127141Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9507414Z'\"","PartitionKey":"listEntitiesTest","RowKey":"4","Timestamp":"2021-06-19T00:55:33.9507414Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9857666Z'\"","PartitionKey":"listEntitiesTest","RowKey":"5","Timestamp":"2021-06-19T00:55:33.9857666Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.0217924Z'\"","PartitionKey":"listEntitiesTest","RowKey":"6","Timestamp":"2021-06-19T00:55:34.0217924Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.0628227Z'\"","PartitionKey":"listEntitiesTest","RowKey":"7","Timestamp":"2021-06-19T00:55:34.0628227Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1178614Z'\"","PartitionKey":"listEntitiesTest","RowKey":"8","Timestamp":"2021-06-19T00:55:34.1178614Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1558883Z'\"","PartitionKey":"listEntitiesTest","RowKey":"9","Timestamp":"2021-06-19T00:55:34.1558883Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.7385887Z'\"","PartitionKey":"listEntitiesTest","RowKey":"binary1","Timestamp":"2021-06-19T00:55:33.7385887Z","foo@odata.type":"Edm.Binary","foo":"QmFy"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f611-1002-0129-13a5-64b1a8000000', + 'x-ms-client-request-id', + '05545865-470a-40c9-89e1-40551555b6cd', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:34 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_binary_with_filter.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_binary_with_filter.js new file mode 100644 index 000000000000..3811ba3936cd --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_binary_with_filter.js @@ -0,0 +1,139 @@ +let nock = require('nock'); + +module.exports.hash = "7349a45a2b78736e225d70c6a2b6e141"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'a613350d-2eb5-4c7f-809c-e2b70daf3400', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrB3yY3gHxGnxCYhkkz45z4wG-0vd7W8zzxQB9oMlUvECREedemfriWrX96A7bQUxlIcDU5XYwJCpRUXMmiQvMt0lt456-bZ5SCrcGu7huiq5CbslqSPvvkCNrx6iXi_BJ0Iy5F7hXaS637JiOJp687xONa-UO96l4RjM8VcxBqh4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '1e87a220-4533-49cd-a63b-b579fad60500', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrm47tvRx8QwcN_PJuQuF556ZLefdsAkAj6gQOL50eg_Us7lRaT8mQScqE4UpxKEgKqo5h67E-CB6sUizMY_QSjtkLAjaK9db2NcGldNeJeDQrSPfXtedi_SWX9ePf2yUG2hxE1GxC5ghshLXImwiNCpqRTNJXY0luBxLjDBrq_54gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=640ba359-bba6-4a78-a393-d9c261390d38&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '1e87a220-4533-49cd-a63b-b579fed60500', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:36 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/tableClientTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.7385887Z'\"","PartitionKey":"listEntitiesTest","RowKey":"binary1","Timestamp":"2021-06-19T00:55:33.7385887Z","foo@odata.type":"Edm.Binary","foo":"QmFy"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f7b8-1002-0129-25a5-64b1a8000000', + 'x-ms-client-request-id', + 'cf5d34a7-e3e8-4cea-a304-ea28b150e708', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:36 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_by_page.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_by_page.js new file mode 100644 index 000000000000..e3450c2ae55a --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_by_page.js @@ -0,0 +1,267 @@ +let nock = require('nock'); + +module.exports.hash = "44b8d1b90df1b075f5dfd75add015626"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '0761fd87-bd33-46b3-84cb-bb3a9a2d3800', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwAgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruOOLh95R1L_guFxwCP2-28kYLRPreHCPwapL0PBec--qxDZ_8nzLxHkhZuwHLv5ZmL5Eo5Ex2sJVtcKyK7FenCnrqJY7RFK8ZZGc95wFNF3o_vRPXO5dJ76ksB1_RAwlC_ir_oCzFA-pBOWmd9bNHQ5ojOqMAjEncUD7IXFEZswgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:34 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '63adac0c-4d93-4567-a4a3-3152bd460400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwAgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzpZKaasZJ7sBggLsX8_JO3cuPNVxUKuIU_tjr7PXW65OygkwQ1gC_T_APshMf_IMYxvsOaZnuFyIWItSv_cE1BJJo1P8psOQhkygmZ4mpkvkLPu1o6Gomz8CnTOlbCykAdj_9Fgxj29qJy5BYSCWLJRMqcfTWRBHX6G0vpTwn-EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=91d12009-8e18-4828-9abe-eea97b8da357&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '63adac0c-4d93-4567-a4a3-3152c4460400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwAwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/tableClientTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.7956301Z'\"","PartitionKey":"listEntitiesTest","RowKey":"0","Timestamp":"2021-06-19T00:55:33.7956301Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.838661Z'\"","PartitionKey":"listEntitiesTest","RowKey":"1","Timestamp":"2021-06-19T00:55:33.838661Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1949167Z'\"","PartitionKey":"listEntitiesTest","RowKey":"10","Timestamp":"2021-06-19T00:55:34.1949167Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.2349455Z'\"","PartitionKey":"listEntitiesTest","RowKey":"11","Timestamp":"2021-06-19T00:55:34.2349455Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.2729723Z'\"","PartitionKey":"listEntitiesTest","RowKey":"12","Timestamp":"2021-06-19T00:55:34.2729723Z","foo":"testEntity"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f699-1002-0129-15a5-64b1a8000000', + 'x-ms-client-request-id', + '9412cd7e-a8fe-4bd1-a9c2-4ce5b68695b5', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'x-ms-continuation-NextPartitionKey', + '1!24!bGlzdEVudGl0aWVzVGVzdA--', + 'x-ms-continuation-NextRowKey', + '1!4!MTM-', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextPartitionKey,x-ms-continuation-NextRowKey,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/tableClientTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.3099993Z'\"","PartitionKey":"listEntitiesTest","RowKey":"13","Timestamp":"2021-06-19T00:55:34.3099993Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.3500281Z'\"","PartitionKey":"listEntitiesTest","RowKey":"14","Timestamp":"2021-06-19T00:55:34.3500281Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.386054Z'\"","PartitionKey":"listEntitiesTest","RowKey":"15","Timestamp":"2021-06-19T00:55:34.386054Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.425082Z'\"","PartitionKey":"listEntitiesTest","RowKey":"16","Timestamp":"2021-06-19T00:55:34.425082Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.4631097Z'\"","PartitionKey":"listEntitiesTest","RowKey":"17","Timestamp":"2021-06-19T00:55:34.4631097Z","foo":"testEntity"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f6ae-1002-0129-27a5-64b1a8000000', + 'x-ms-client-request-id', + '81e99b2d-84ff-44de-9ce5-bb62fa8ac2f6', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'x-ms-continuation-NextPartitionKey', + '1!24!bGlzdEVudGl0aWVzVGVzdA--', + 'x-ms-continuation-NextRowKey', + '1!4!MTg-', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextPartitionKey,x-ms-continuation-NextRowKey,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/tableClientTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.5001359Z'\"","PartitionKey":"listEntitiesTest","RowKey":"18","Timestamp":"2021-06-19T00:55:34.5001359Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.5371624Z'\"","PartitionKey":"listEntitiesTest","RowKey":"19","Timestamp":"2021-06-19T00:55:34.5371624Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.8766883Z'\"","PartitionKey":"listEntitiesTest","RowKey":"2","Timestamp":"2021-06-19T00:55:33.8766883Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9127141Z'\"","PartitionKey":"listEntitiesTest","RowKey":"3","Timestamp":"2021-06-19T00:55:33.9127141Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9507414Z'\"","PartitionKey":"listEntitiesTest","RowKey":"4","Timestamp":"2021-06-19T00:55:33.9507414Z","foo":"testEntity"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f6b8-1002-0129-30a5-64b1a8000000', + 'x-ms-client-request-id', + '8fd29db2-c759-467e-bd45-106e278e39fd', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'x-ms-continuation-NextPartitionKey', + '1!24!bGlzdEVudGl0aWVzVGVzdA--', + 'x-ms-continuation-NextRowKey', + '1!4!NQ--', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextPartitionKey,x-ms-continuation-NextRowKey,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/tableClientTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9857666Z'\"","PartitionKey":"listEntitiesTest","RowKey":"5","Timestamp":"2021-06-19T00:55:33.9857666Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.0217924Z'\"","PartitionKey":"listEntitiesTest","RowKey":"6","Timestamp":"2021-06-19T00:55:34.0217924Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.0628227Z'\"","PartitionKey":"listEntitiesTest","RowKey":"7","Timestamp":"2021-06-19T00:55:34.0628227Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1178614Z'\"","PartitionKey":"listEntitiesTest","RowKey":"8","Timestamp":"2021-06-19T00:55:34.1178614Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1558883Z'\"","PartitionKey":"listEntitiesTest","RowKey":"9","Timestamp":"2021-06-19T00:55:34.1558883Z","foo":"testEntity"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f6d0-1002-0129-46a5-64b1a8000000', + 'x-ms-client-request-id', + '4817dfb1-4454-43c1-b6c8-8de38439ba9a', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'x-ms-continuation-NextPartitionKey', + '1!24!bGlzdEVudGl0aWVzVGVzdA--', + 'x-ms-continuation-NextRowKey', + '1!12!YmluYXJ5MQ--', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextPartitionKey,x-ms-continuation-NextRowKey,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/tableClientTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.7385887Z'\"","PartitionKey":"listEntitiesTest","RowKey":"binary1","Timestamp":"2021-06-19T00:55:33.7385887Z","foo@odata.type":"Edm.Binary","foo":"QmFy"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f6d9-1002-0129-4fa5-64b1a8000000', + 'x-ms-client-request-id', + '98036eea-57a0-40a1-b843-c70c54768c0b', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_with_filter.js b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_with_filter.js new file mode 100644 index 000000000000..59e173ca2533 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableclient_tokencredential_listentities/recording_should_list_with_filter.js @@ -0,0 +1,139 @@ +let nock = require('nock'); + +module.exports.hash = "e9aa994631697f0a134559c1ab074fac"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'ef26cc37-2fea-4e5d-ab7a-e36514684700', + 'x-ms-ests-server', + '2.1.11829.4 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwAwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrcd1zmpFwEwO7ddl7kJFp-TI7vbohYFllyslIfzo9kd0ElEuOV6hlyV1HHw3EOBkr-bFDCgzdz6Ui_bMetUX3jozgVw-RF83FRu1TAlkI-nRI2aeWvbEhy0ZjBLORO7kiE43We5qx3nf4V0UcFVzZ0u4LS3DpomoYCiFR-M54mDYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '6fd8babd-1fb2-40ed-896b-f676d85a0700', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwAwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2w8iH2W55cpT8eo3yZW7NOuv2D6lQ8OIwrWYE6UBAeHZctO2VPDlgrFEsGJL2bQvBVInhJkBfW0pdNhnPOdXvTlmO5lBLB4uwaOrGUtTwOpL1-hmmnojcGlQDVZD6S4cTppCfr3XjDfzXi0rkGigRoSkqYICBxESAByUb8tbOxggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=c7e321a3-b066-41f0-a181-5dd78e052f38&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '325c2ba7-8fa1-423e-a41d-7faf72a00a00', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwBAAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/tableClientTestTokenCredentialnode()') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#tableClientTestTokenCredentialnode","value":[{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.7956301Z'\"","PartitionKey":"listEntitiesTest","RowKey":"0","Timestamp":"2021-06-19T00:55:33.7956301Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.838661Z'\"","PartitionKey":"listEntitiesTest","RowKey":"1","Timestamp":"2021-06-19T00:55:33.838661Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1949167Z'\"","PartitionKey":"listEntitiesTest","RowKey":"10","Timestamp":"2021-06-19T00:55:34.1949167Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.2349455Z'\"","PartitionKey":"listEntitiesTest","RowKey":"11","Timestamp":"2021-06-19T00:55:34.2349455Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.2729723Z'\"","PartitionKey":"listEntitiesTest","RowKey":"12","Timestamp":"2021-06-19T00:55:34.2729723Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.3099993Z'\"","PartitionKey":"listEntitiesTest","RowKey":"13","Timestamp":"2021-06-19T00:55:34.3099993Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.3500281Z'\"","PartitionKey":"listEntitiesTest","RowKey":"14","Timestamp":"2021-06-19T00:55:34.3500281Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.386054Z'\"","PartitionKey":"listEntitiesTest","RowKey":"15","Timestamp":"2021-06-19T00:55:34.386054Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.425082Z'\"","PartitionKey":"listEntitiesTest","RowKey":"16","Timestamp":"2021-06-19T00:55:34.425082Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.4631097Z'\"","PartitionKey":"listEntitiesTest","RowKey":"17","Timestamp":"2021-06-19T00:55:34.4631097Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.5001359Z'\"","PartitionKey":"listEntitiesTest","RowKey":"18","Timestamp":"2021-06-19T00:55:34.5001359Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.5371624Z'\"","PartitionKey":"listEntitiesTest","RowKey":"19","Timestamp":"2021-06-19T00:55:34.5371624Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.8766883Z'\"","PartitionKey":"listEntitiesTest","RowKey":"2","Timestamp":"2021-06-19T00:55:33.8766883Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9127141Z'\"","PartitionKey":"listEntitiesTest","RowKey":"3","Timestamp":"2021-06-19T00:55:33.9127141Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9507414Z'\"","PartitionKey":"listEntitiesTest","RowKey":"4","Timestamp":"2021-06-19T00:55:33.9507414Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A33.9857666Z'\"","PartitionKey":"listEntitiesTest","RowKey":"5","Timestamp":"2021-06-19T00:55:33.9857666Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.0217924Z'\"","PartitionKey":"listEntitiesTest","RowKey":"6","Timestamp":"2021-06-19T00:55:34.0217924Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.0628227Z'\"","PartitionKey":"listEntitiesTest","RowKey":"7","Timestamp":"2021-06-19T00:55:34.0628227Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1178614Z'\"","PartitionKey":"listEntitiesTest","RowKey":"8","Timestamp":"2021-06-19T00:55:34.1178614Z","foo":"testEntity"},{"odata.etag":"W/\"datetime'2021-06-19T00%3A55%3A34.1558883Z'\"","PartitionKey":"listEntitiesTest","RowKey":"9","Timestamp":"2021-06-19T00:55:34.1558883Z","foo":"testEntity"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52f72a-1002-0129-1ea5-64b1a8000000', + 'x-ms-client-request-id', + 'b16267b8-edff-4d0a-b086-32e306d345df', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:35 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_create_get_table_and_delete/recording_should_create_new_table_then_delete.js b/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_create_get_table_and_delete/recording_should_create_new_table_then_delete.js new file mode 100644 index 000000000000..23d9a0b552fe --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_create_get_table_and_delete/recording_should_create_new_table_then_delete.js @@ -0,0 +1,186 @@ +let nock = require('nock'); + +module.exports.hash = "15e46ef53417a2bde0a0e06e18ec137e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '746a1598-97d0-4021-b5f2-2b456c8d1001', + 'x-ms-ests-server', + '2.1.11829.4 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrsrIcN5b4bjfJ4plqevlUjn4-14Q5SJIiShlvRoFrBb9Gb3fUooDrDWk_qK9O8t8P3ILdxYLsS_gZjvkJKvuQgZtfY-4PhcmIuGrIhU-EnXhQQs2GP6DmI6S7aA--Jsua8wHoT9MdjjW4F3CrDo8syS_ykJyDjZCDDRv6j-jRShQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:40 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '5b76ab08-ca3a-412b-b1bd-cc764e451100', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCgAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrW8lTQnuPS0ebdUdwmQ8R-i-5D4BbMtxAlyHr39z_AW5t_-94nL22_WxjAzLsGeeKtBGCHvQ8FlC67gP5eNQFAlGFK3lvvh319nSjRsNpiToh8kYtN1xwnq-bO4uwDQ_RjG-DHTreRJm7WgWxuL-VnwILSkeSb6KwqES5pml3wREgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:40 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=e3e0aa3b-9be0-46aa-bbcb-950a0792b4a5&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'add56cbb-1ad9-403e-8f99-053441c90900', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:40 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .post('/Tables', {"TableName":"testTableTokenCredentialnode"}) + .reply(201, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables/@Element","TableName":"testTableTokenCredentialnode"}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Location', + "https://fakeaccount.table.core.windows.net/Tables('testTableTokenCredentialnode')", + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fd41-1002-0129-66a5-64b1a8000000', + 'x-ms-client-request-id', + 'bc906706-c2e5-4ed9-9ad4-117997ac5ef8', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Preference-Applied', + 'return-content', + 'Date', + 'Sat, 19 Jun 2021 00:55:40 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/Tables') + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables","value":[{"TableName":"testTableTokenCredentialnode"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fd51-1002-0129-75a5-64b1a8000000', + 'x-ms-client-request-id', + 'd61c0b93-81d2-4d02-92cc-651c41321f0c', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:40 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .delete(`/Tables('testTableTokenCredentialnode')`) + .reply(204, "", [ + 'Cache-Control', + 'no-cache', + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52fd5d-1002-0129-80a5-64b1a8000000', + 'x-ms-client-request-id', + '58cb6498-d66a-43b1-9bb1-629630ed3fdf', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Date', + 'Sat, 19 Jun 2021 00:55:40 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_listtables/recording_should_list_all.js b/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_listtables/recording_should_list_all.js new file mode 100644 index 000000000000..ae9ddd9761bf --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_listtables/recording_should_list_all.js @@ -0,0 +1,138 @@ +let nock = require('nock'); + +module.exports.hash = "f54112350519da785929ef017a710193"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '96f8cb1e-95a3-45d3-9cf3-c8a84c1ee400', + 'x-ms-ests-server', + '2.1.11829.4 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:41 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4t61NjsTpg-U4VEwYkwboa_V8Jl3wKyrygkC6252N4pt0PvRZBO_jLQy1gmml7mbX5gC3kscC3LNkIr-1ZsNUzsRN0htKtZs27uD75NtZyXoQH02_-jOXAvDCQz-wYyZSfaKKBGXFfH7mDhKsb5Sxk0rQzVKL7wB8DmaGSV_M7MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:41 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '63adac0c-4d93-4567-a4a3-3152ea470400', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:41 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrU5c_HJ4vRBzbEBmZJMpsXoYNZZ8ZQNSvGlVqveqLWafLthGf_Kwe5JMyTwm7yUy2H7k8OLje7gzuxev5Mg3t3hAFix_xvaJG6anBUblJ--qqccf6fcn7C5XO0JxxFj25a1fqCy-pzFHlLqeEI6a2o04MOsGKqeD1THJrLB64kN8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:41 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=c75ae3de-dab3-43d7-b0b8-48e3f4492799&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '5b76ab08-ca3a-412b-b1bd-cc7682451100', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:41 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/Tables') + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables","value":[{"TableName":"ListTableTestTokenCredentialnode0"},{"TableName":"ListTableTestTokenCredentialnode1"},{"TableName":"ListTableTestTokenCredentialnode10"},{"TableName":"ListTableTestTokenCredentialnode11"},{"TableName":"ListTableTestTokenCredentialnode12"},{"TableName":"ListTableTestTokenCredentialnode13"},{"TableName":"ListTableTestTokenCredentialnode14"},{"TableName":"ListTableTestTokenCredentialnode15"},{"TableName":"ListTableTestTokenCredentialnode16"},{"TableName":"ListTableTestTokenCredentialnode17"},{"TableName":"ListTableTestTokenCredentialnode18"},{"TableName":"ListTableTestTokenCredentialnode19"},{"TableName":"ListTableTestTokenCredentialnode2"},{"TableName":"ListTableTestTokenCredentialnode3"},{"TableName":"ListTableTestTokenCredentialnode4"},{"TableName":"ListTableTestTokenCredentialnode5"},{"TableName":"ListTableTestTokenCredentialnode6"},{"TableName":"ListTableTestTokenCredentialnode7"},{"TableName":"ListTableTestTokenCredentialnode8"},{"TableName":"ListTableTestTokenCredentialnode9"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52ff38-1002-0129-2ba5-64b1a8000000', + 'x-ms-client-request-id', + '60bf61e9-45ac-471e-9073-37b71501d9c8', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:41 GMT' +]); diff --git a/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_listtables/recording_should_list_by_page.js b/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_listtables/recording_should_list_by_page.js new file mode 100644 index 000000000000..3b5cf403e7d9 --- /dev/null +++ b/sdk/tables/data-tables/recordings/node/tableserviceclient_tokencredential_listtables/recording_should_list_by_page.js @@ -0,0 +1,259 @@ +let nock = require('nock'); + +module.exports.hash = "12027aefd98a3936ec9210ef1fd1acf3"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'cf449b9e-30a2-47dd-bf50-9a5fb1f11600', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrts_9ibzfPtWlY6XfBKllsv--9co513hb0XA5v2IysWiKMnB-ASqc3mfCWmIwpV_MkZ8R361wrZZtfiqlGsuzJ7GT81vUWrwx2UMTqHMztLVvba1aV-iTurDtNNM_QK3eV78aLpgFH1cOACwoUx9u43u8kM2BO0Wfjbi3ZwlpBzkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:42 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '110fb2cd-31b2-4137-b1c7-1bc19dd71100', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrOAGVjCrnr6mVQYJ-d32Ez8wWSdSf4oiRbw2hz0eHyWmtBfwHMXNXmx-PwiGWFYXZ7kpu75MR6xVuFbp67sOSsxDvr3iH1kKG-BtDzLpwChPXtQuEArSYQEeCDIMBtFou8licY68aGfMKI2zkrZCf-nft5qmnD505uesktlONQqogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:42 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=1f0fcce6-6334-4fdc-9fdd-3cfe827a8c43&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '46621f17-9866-47c3-a5b1-868aedb90900', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=Am7dTJW8_JpAtBhW6bg0-FLJVDEwCwAAAII3X9gOAAAA; expires=Mon, 19-Jul-2021 00:55:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Sat, 19 Jun 2021 00:55:42 GMT', + 'Content-Length', + '1318' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/Tables') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables","value":[{"TableName":"ListTableTestTokenCredentialnode0"},{"TableName":"ListTableTestTokenCredentialnode1"},{"TableName":"ListTableTestTokenCredentialnode10"},{"TableName":"ListTableTestTokenCredentialnode11"},{"TableName":"ListTableTestTokenCredentialnode12"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52ffb1-1002-0129-1ea5-64b1a8000000', + 'x-ms-client-request-id', + '545c3bfa-45ae-44d7-a9ee-3147abe49b10', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'x-ms-continuation-NextTableName', + '1!68!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbG5vZGUxMwEwMWQ3NjRhNWQzYTQwOGQ1', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextTableName,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:42 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/Tables') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables","value":[{"TableName":"ListTableTestTokenCredentialnode13"},{"TableName":"ListTableTestTokenCredentialnode14"},{"TableName":"ListTableTestTokenCredentialnode15"},{"TableName":"ListTableTestTokenCredentialnode16"},{"TableName":"ListTableTestTokenCredentialnode17"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52ffc0-1002-0129-2aa5-64b1a8000000', + 'x-ms-client-request-id', + '0fccc29f-49d9-47cd-8cc7-1e11c615fc98', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'x-ms-continuation-NextTableName', + '1!68!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbG5vZGUxOAEwMWQ3NjRhNWQzY2ZkYmUx', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextTableName,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:42 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/Tables') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables","value":[{"TableName":"ListTableTestTokenCredentialnode18"},{"TableName":"ListTableTestTokenCredentialnode19"},{"TableName":"ListTableTestTokenCredentialnode2"},{"TableName":"ListTableTestTokenCredentialnode3"},{"TableName":"ListTableTestTokenCredentialnode4"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52ffce-1002-0129-37a5-64b1a8000000', + 'x-ms-client-request-id', + '85a735ef-1b52-450b-966d-fbebb24d103c', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'x-ms-continuation-NextTableName', + '1!68!bGlzdHRhYmxldGVzdHRva2VuY3JlZGVudGlhbG5vZGU1ATAxZDc2NGE1ZDM2YWM1Y2I-', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextTableName,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:42 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/Tables') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables","value":[{"TableName":"ListTableTestTokenCredentialnode5"},{"TableName":"ListTableTestTokenCredentialnode6"},{"TableName":"ListTableTestTokenCredentialnode7"},{"TableName":"ListTableTestTokenCredentialnode8"},{"TableName":"ListTableTestTokenCredentialnode9"}]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52ffd7-1002-0129-40a5-64b1a8000000', + 'x-ms-client-request-id', + 'aaa77c8d-80de-4b40-a45a-604dc9ba03aa', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'x-ms-continuation-NextTableName', + '1!68!dGFibGVjbGllbnR0ZXN0dG9rZW5jcmVkZW50aWFsbm9kZQEwMWQ3NjRhNWNmMGViMzAx', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,x-ms-continuation-NextTableName,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:42 GMT' +]); + +nock('https://fakeaccount.table.core.windows.net:443', {"encodedQueryParams":true}) + .get('/Tables') + .query(true) + .reply(200, {"odata.metadata":"https://fakeaccount.table.core.windows.net/$metadata#Tables","value":[]}, [ + 'Cache-Control', + 'no-cache', + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json;odata=minimalmetadata;streaming=true;charset=utf-8', + 'Server', + 'Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '7c52ffeb-1002-0129-53a5-64b1a8000000', + 'x-ms-client-request-id', + '5db831f3-f77f-491b-8552-d22597a9e74d', + 'x-ms-version', + '2019-02-02', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Expose-Headers', + 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,X-Content-Type-Options,Cache-Control,Content-Type,Content-Length,Date,Transfer-Encoding', + 'Access-Control-Allow-Origin', + '*', + 'Date', + 'Sat, 19 Jun 2021 00:55:42 GMT' +]); diff --git a/sdk/tables/data-tables/review/data-tables.api.md b/sdk/tables/data-tables/review/data-tables.api.md index 25e4814b4508..9fb7cc97e3d3 100644 --- a/sdk/tables/data-tables/review/data-tables.api.md +++ b/sdk/tables/data-tables/review/data-tables.api.md @@ -13,6 +13,7 @@ import { OperationOptions } from '@azure/core-client'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; import { Pipeline } from '@azure/core-rest-pipeline'; import { SASCredential } from '@azure/core-auth'; +import { TokenCredential } from '@azure/core-auth'; // @public export interface AccessPolicy { @@ -226,7 +227,9 @@ export interface SignedIdentifier { // @public export class TableClient { - constructor(url: string, tableName: string, credential: NamedKeyCredential | SASCredential, options?: TableServiceClientOptions); + constructor(url: string, tableName: string, credential: NamedKeyCredential, options?: TableServiceClientOptions); + constructor(url: string, tableName: string, credential: SASCredential, options?: TableServiceClientOptions); + constructor(url: string, tableName: string, credential: TokenCredential, options?: TableServiceClientOptions); constructor(url: string, tableName: string, options?: TableServiceClientOptions); createEntity(entity: TableEntity, options?: OperationOptions): Promise; createTable(options?: OperationOptions): Promise; @@ -358,7 +361,9 @@ export interface TableSasSignatureValues { // @public export class TableServiceClient { - constructor(url: string, credential: NamedKeyCredential | SASCredential, options?: TableServiceClientOptions); + constructor(url: string, credential: NamedKeyCredential, options?: TableServiceClientOptions); + constructor(url: string, credential: SASCredential, options?: TableServiceClientOptions); + constructor(url: string, credential: TokenCredential, options?: TableServiceClientOptions); constructor(url: string, options?: TableServiceClientOptions); createTable(name: string, options?: OperationOptions): Promise; deleteTable(name: string, options?: OperationOptions): Promise; diff --git a/sdk/tables/data-tables/samples-dev/authenticationMethods.ts b/sdk/tables/data-tables/samples-dev/authenticationMethods.ts index aa4c575f3f0c..e08880703cad 100644 --- a/sdk/tables/data-tables/samples-dev/authenticationMethods.ts +++ b/sdk/tables/data-tables/samples-dev/authenticationMethods.ts @@ -14,6 +14,8 @@ import { AzureSASCredential } from "@azure/data-tables"; +import { DefaultAzureCredential } from "@azure/identity"; + // Load the .env file if it exists import * as dotenv from "dotenv"; dotenv.config(); @@ -41,6 +43,19 @@ async function tableServiceClientWithSasConnectionString() { countTablesWithClient(client); } +/** + * Create a TableServiceCLient using a SAS connection String + */ +async function tableServiceClientWithAAD() { + // DefaultAzureCredential expects the following three environment variables: + // - AZURE_TENANT_ID: The tenant ID in Azure Active Directory + // - AZURE_CLIENT_ID: The application (client) ID registered in the AAD tenant + // - AZURE_CLIENT_SECRET: The client secret for the registered application + const credential = new DefaultAzureCredential(); + const client = new TableServiceClient(tablesUrl, credential); + countTablesWithClient(client); +} + /** * Create a TableServiceCLient using a SAS token */ @@ -88,6 +103,8 @@ export async function main() { await tableServiceClientWithAccountConnectionString(); await tableServiceClientWithAccountKey(); + + await tableServiceClientWithAAD(); } main().catch((err) => { diff --git a/sdk/tables/data-tables/src/TableClient.ts b/sdk/tables/data-tables/src/TableClient.ts index d1099ebfa2a6..fb73e4642400 100644 --- a/sdk/tables/data-tables/src/TableClient.ts +++ b/sdk/tables/data-tables/src/TableClient.ts @@ -29,8 +29,10 @@ import { getClientParamsFromConnectionString } from "./utils/connectionString"; import { isNamedKeyCredential, isSASCredential, + isTokenCredential, NamedKeyCredential, - SASCredential + SASCredential, + TokenCredential } from "@azure/core-auth"; import { tablesNamedKeyCredentialPolicy } from "./tablesNamedCredentialPolicy"; import "@azure/core-paging"; @@ -44,7 +46,7 @@ import { serializeSignedIdentifiers } from "./serialization"; import { Table } from "./generated/operationsInterfaces"; -import { LIB_INFO, TablesLoggingAllowedHeaderNames } from "./utils/constants"; +import { LIB_INFO, STORAGE_SCOPE, TablesLoggingAllowedHeaderNames } from "./utils/constants"; import { FullOperationResponse, InternalClientPipelineOptions, @@ -78,7 +80,7 @@ export class TableClient { */ public pipeline: Pipeline; private table: Table; - private credential?: NamedKeyCredential | SASCredential; + private credential?: NamedKeyCredential | SASCredential | TokenCredential; private transactionClient?: InternalTableTransaction; /** @@ -89,16 +91,16 @@ export class TableClient { /** * Creates a new instance of the TableClient class. * - * @param url - The URL of the service account that is the target of the desired operation., such as - * "https://myaccount.table.core.windows.net". + * @param url - The URL of the service account that is the target of the desired operation, such as "https://myaccount.table.core.windows.net". * @param tableName - the name of the table - * @param credential - NamedKeyCredential or SASCredential used to authenticate requests. Only Supported for Node + * @param credential - NamedKeyCredential used to authenticate requests. Only Supported for Node * @param options - Optional. Options to configure the HTTP pipeline. * + * * ### Example using an account name/key: * * ```js - * const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables") + * const { AzureNamedKeyCredential, TableClient } = require("@azure/data-tables"); * const account = ""; * const accountKey = "" * const tableName = ""; @@ -106,15 +108,30 @@ export class TableClient { * * const client = new TableClient( * `https://${account}.table.core.windows.net`, - * `${tableName}`, + * tableName, * sharedKeyCredential * ); * ``` + */ + constructor( + url: string, + tableName: string, + credential: NamedKeyCredential, + options?: TableClientOptions + ); + /** + * Creates a new instance of the TableClient class. + * + * @param url - The URL of the service account that is the target of the desired operation, such as "https://myaccount.table.core.windows.net". + * @param tableName - the name of the table + * @param credential - SASCredential used to authenticate requests + * @param options - Optional. Options to configure the HTTP pipeline. + * * * ### Example using a SAS Token: * * ```js - * const { AzureSASCredential, TableClient } = require("@azure/data-tables") + * const { AzureSASCredential, TableClient } = require("@azure/data-tables"); * const account = ""; * const sasToken = ""; * const tableName = "
"; @@ -122,7 +139,7 @@ export class TableClient { * * const client = new TableClient( * `https://${account}.table.core.windows.net`, - * `${tableName}`, + * tableName, * sasCredential * ); * ``` @@ -130,7 +147,39 @@ export class TableClient { constructor( url: string, tableName: string, - credential: NamedKeyCredential | SASCredential, + credential: SASCredential, + options?: TableClientOptions + ); + /** + * Creates a new instance of the TableClient class. + * + * @param url - The URL of the service account that is the target of the desired operation, such as "https://myaccount.table.core.windows.net". + * @param tableName - the name of the table + * @param credential - Azure Active Directory credential used to authenticate requests + * @param options - Optional. Options to configure the HTTP pipeline. + * + * + * ### Example using an Azure Active Directory credential: + * + * ```js + * cons { DefaultAzureCredential } = require("@azure/identity"); + * const { AzureSASCredential, TableClient } = require("@azure/data-tables"); + * const account = ""; + * const sasToken = ""; + * const tableName = "
"; + * const credential = new DefaultAzureCredential(); + * + * const client = new TableClient( + * `https://${account}.table.core.windows.net`, + * tableName, + * credential + * ); + * ``` + */ + constructor( + url: string, + tableName: string, + credential: TokenCredential, options?: TableClientOptions ); /** @@ -160,17 +209,20 @@ export class TableClient { constructor( url: string, tableName: string, - credentialOrOptions?: NamedKeyCredential | SASCredential | TableClientOptions, + credentialOrOptions?: NamedKeyCredential | SASCredential | TableClientOptions | TokenCredential, options: TableClientOptions = {} ) { this.url = url; + this.tableName = tableName; const credential = isCredential(credentialOrOptions) ? credentialOrOptions : undefined; + this.credential = credential; const clientOptions = (!isCredential(credentialOrOptions) ? credentialOrOptions : options) || {}; clientOptions.endpoint = clientOptions.endpoint || this.url; + if (!clientOptions.userAgentOptions) { clientOptions.userAgentOptions = {}; } @@ -192,11 +244,13 @@ export class TableClient { }, serializationOptions: { stringifyXML - } + }, + ...(isTokenCredential(this.credential) && { + credential: this.credential, + credentialScopes: STORAGE_SCOPE + }) }; - this.tableName = tableName; - this.credential = credential; const generatedClient = new GeneratedClient(this.url, internalPipelineOptions); if (isNamedKeyCredential(credential)) { generatedClient.pipeline.addPolicy(tablesNamedKeyCredentialPolicy(credential)); diff --git a/sdk/tables/data-tables/src/TableServiceClient.ts b/sdk/tables/data-tables/src/TableServiceClient.ts index c669f1ca1e42..b19bcab74f62 100644 --- a/sdk/tables/data-tables/src/TableServiceClient.ts +++ b/sdk/tables/data-tables/src/TableServiceClient.ts @@ -21,11 +21,13 @@ import { isNamedKeyCredential, NamedKeyCredential, SASCredential, - isSASCredential + isSASCredential, + TokenCredential, + isTokenCredential } from "@azure/core-auth"; import "@azure/core-paging"; import { PagedAsyncIterableIterator } from "@azure/core-paging"; -import { LIB_INFO, TablesLoggingAllowedHeaderNames } from "./utils/constants"; +import { LIB_INFO, STORAGE_SCOPE, TablesLoggingAllowedHeaderNames } from "./utils/constants"; import { logger } from "./logger"; import { InternalClientPipelineOptions, OperationOptions } from "@azure/core-client"; import { SpanStatusCode } from "@azure/core-tracing"; @@ -57,13 +59,11 @@ export class TableServiceClient { /** * Creates a new instance of the TableServiceClient class. * - * @param url - The URL of the service account that is the target of the desired operation., such as - * "https://myaccount.table.core.windows.net". You can append a SAS, - * such as "https://myaccount.table.core.windows.net?sasString". + * @param url - The URL of the service account that is the target of the desired operation., such as "https://myaccount.table.core.windows.net". * @param credential - NamedKeyCredential | SASCredential used to authenticate requests. Only Supported for Node * @param options - Options to configure the HTTP pipeline. * - * Example using an account name/key: + * ### Example using an account name/key: * * ```js * const { AzureNamedKeyCredential, TableServiceClient } = require("@azure/data-tables") @@ -76,11 +76,50 @@ export class TableServiceClient { * ); * ``` */ - constructor( - url: string, - credential: NamedKeyCredential | SASCredential, - options?: TableServiceClientOptions - ); + constructor(url: string, credential: NamedKeyCredential, options?: TableServiceClientOptions); + /** + * Creates a new instance of the TableServiceClient class. + * + * @param url - The URL of the service account that is the target of the desired operation., such as "https://myaccount.table.core.windows.net". + * @param credential - SASCredential used to authenticate requests + * @param options - Options to configure the HTTP pipeline. + * + * ### Example using a SAS Token. + * + * ```js + * const { AzureSASCredential, TableServiceClient } = require("@azure/data-tables") + * const account = "" + * const sasCredential = new AzureSASCredential(account, ""); + * + * const tableServiceClient = new TableServiceClient( + * `https://${account}.table.core.windows.net`, + * sasCredential + * ); + * ``` + */ + constructor(url: string, credential: SASCredential, options?: TableServiceClientOptions); + /** + * Creates a new instance of the TableServiceClient class. + * + * @param url - The URL of the service account that is the target of the desired operation., such as "https://myaccount.table.core.windows.net". + * @param credential - Azure Active Directory credential used to authenticate requests + * @param options - Options to configure the HTTP pipeline. + * + * ### Example using an Azure Active Directory credential: + * + * ```js + * cons { DefaultAzureCredential } = require("@azure/identity"); + * const { TableServiceClient } = require("@azure/data-tables") + * const account = "" + * const credential = new DefaultAzureCredential(); + * + * const tableServiceClient = new TableServiceClient( + * `https://${account}.table.core.windows.net`, + * credential + * ); + * ``` + */ + constructor(url: string, credential: TokenCredential, options?: TableServiceClientOptions); /** * Creates a new instance of the TableServiceClient class. * @@ -102,7 +141,11 @@ export class TableServiceClient { constructor(url: string, options?: TableServiceClientOptions); constructor( url: string, - credentialOrOptions?: NamedKeyCredential | SASCredential | TableServiceClientOptions, + credentialOrOptions?: + | NamedKeyCredential + | SASCredential + | TokenCredential + | TableServiceClientOptions, options?: TableServiceClientOptions ) { this.url = url; @@ -135,9 +178,9 @@ export class TableServiceClient { serializationOptions: { stringifyXML } - } + }, + ...(isTokenCredential(credential) && { credential, credentialScopes: STORAGE_SCOPE }) }; - const client = new GeneratedClient(this.url, internalPipelineOptions); if (isNamedKeyCredential(credential)) { client.pipeline.addPolicy(tablesNamedKeyCredentialPolicy(credential)); diff --git a/sdk/tables/data-tables/src/TableTransaction.ts b/sdk/tables/data-tables/src/TableTransaction.ts index 60fa0edbdde1..c5b1356cfaf4 100644 --- a/sdk/tables/data-tables/src/TableTransaction.ts +++ b/sdk/tables/data-tables/src/TableTransaction.ts @@ -6,13 +6,15 @@ import { createPipelineRequest, PipelineResponse, RestError, - Pipeline + Pipeline, + PipelineRequest } from "@azure/core-rest-pipeline"; import { ServiceClient, OperationOptions, serializationPolicy, - serializationPolicyName + serializationPolicyName, + ServiceClientOptions } from "@azure/core-client"; import { DeleteTableEntityOptions, @@ -26,8 +28,10 @@ import { import { isNamedKeyCredential, isSASCredential, + isTokenCredential, NamedKeyCredential, - SASCredential + SASCredential, + TokenCredential } from "@azure/core-auth"; import { getAuthorizationHeader } from "./tablesNamedCredentialPolicy"; import { TableClientLike } from "./utils/internalModels"; @@ -48,6 +52,7 @@ import { } from "./TablePolicies"; import { isCosmosEndpoint } from "./utils/isCosmosEndpoint"; import { cosmosPatchPolicy } from "./cosmosPathPolicy"; +import { STORAGE_SCOPE } from "./utils/constants"; /** * Helper to build a list of transaction actions @@ -126,7 +131,7 @@ export class InternalTableTransaction { partitionKey: string; }; private interceptClient: TableClientLike; - private credential?: NamedKeyCredential | SASCredential; + private credential?: NamedKeyCredential | SASCredential | TokenCredential; /** * @param url - Tables account url @@ -139,7 +144,7 @@ export class InternalTableTransaction { transactionId: string, changesetId: string, interceptClient: TableClientLike, - credential?: NamedKeyCredential | SASCredential + credential?: NamedKeyCredential | SASCredential | TokenCredential ) { this.credential = credential; this.url = url; @@ -150,7 +155,7 @@ export class InternalTableTransaction { // Depending on the auth method used we need to build the url if (!credential) { - // When authenticating with SAS we need to add the SAS token after $batch + // When the SAS token is provided as part of the URL we need to move it after $batch const urlParts = url.split("?"); this.url = urlParts[0]; const sas = urlParts.length > 1 ? `?${urlParts[1]}` : ""; @@ -266,7 +271,15 @@ export class InternalTableTransaction { this.resetableState.transactionId, this.resetableState.changesetId ); - const client = new ServiceClient(); + + const options: ServiceClientOptions = {}; + + if (isTokenCredential(this.credential)) { + options.credentialScopes = STORAGE_SCOPE; + options.credential = this.credential; + } + + const client = new ServiceClient(options); const headers = getTransactionHeaders(this.resetableState.transactionId); const { span, updatedOptions } = createSpan( @@ -313,12 +326,20 @@ export class InternalTableTransaction { } } -function parseTransactionResponse(transactionResponse: PipelineResponse): TableTransactionResponse { +export function parseTransactionResponse( + transactionResponse: PipelineResponse +): TableTransactionResponse { const subResponsePrefix = `--changesetresponse_`; const status = transactionResponse.status; const rawBody = transactionResponse.bodyAsText || ""; const splitBody = rawBody.split(subResponsePrefix); - // Droping the first and last elemets as they are the boundaries + const isSuccessByStatus = 200 <= status && status < 300; + + if (!isSuccessByStatus) { + handleBodyError(rawBody, status, transactionResponse.request, transactionResponse); + } + + // Dropping the first and last elements as they are the boundaries // we just care about sub request content const subResponses = splitBody.slice(1, splitBody.length - 1); @@ -334,18 +355,12 @@ function parseTransactionResponse(transactionResponse: PipelineResponse): TableT const bodyMatch = subResponse.match(/\{(.*)\}/); if (bodyMatch?.length === 2) { - const parsedError = JSON.parse(bodyMatch[0]); - // Only transaction sub-responses return body - if (parsedError && parsedError["odata.error"]) { - const error: TableServiceErrorOdataError = parsedError["odata.error"]; - const message = error.message?.value || "One of the transaction operations failed"; - throw new RestError(message, { - code: error.code, - statusCode: subResponseStatus, - request: transactionResponse.request, - response: transactionResponse - }); - } + handleBodyError( + bodyMatch[0], + subResponseStatus, + transactionResponse.request, + transactionResponse + ); } const etagMatch = subResponse.match(/ETag: (.*)/); @@ -365,6 +380,37 @@ function parseTransactionResponse(transactionResponse: PipelineResponse): TableT }; } +function handleBodyError( + bodyAsText: string, + statusCode: number, + request: PipelineRequest, + response: PipelineResponse +) { + let parsedError; + + try { + parsedError = JSON.parse(bodyAsText); + } catch { + parsedError = {}; + } + + let message = "Transaction Failed"; + let code: string | undefined; + // Only transaction sub-responses return body + if (parsedError && parsedError["odata.error"]) { + const error: TableServiceErrorOdataError = parsedError["odata.error"]; + message = error.message?.value ?? message; + code = error.code; + } + + throw new RestError(message, { + code, + statusCode, + request, + response + }); +} + /** * Prepares the transaction pipeline to intercept operations * @param pipeline - Client pipeline diff --git a/sdk/tables/data-tables/src/utils/constants.ts b/sdk/tables/data-tables/src/utils/constants.ts index a342cb50e221..6b76ab289be8 100644 --- a/sdk/tables/data-tables/src/utils/constants.ts +++ b/sdk/tables/data-tables/src/utils/constants.ts @@ -1,13 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.0.1"; +export const SDK_VERSION: string = "12.1.0"; export const LIB_INFO = `azsdk-js-data-tables/${SDK_VERSION}`; export const SERVICE_VERSION = "2019-02-02"; export const TRANSACTION_HTTP_VERSION_1_1 = "HTTP/1.1"; export const TRANSACTION_HTTP_LINE_ENDING = "\r\n"; +export const STORAGE_SCOPE = "https://storage.azure.com/.default"; + export const HeaderConstants = { AUTHORIZATION: "authorization", CONTENT_LENGTH: "content-length", diff --git a/sdk/tables/data-tables/src/utils/isCredential.ts b/sdk/tables/data-tables/src/utils/isCredential.ts index c0a3340acc51..0bf4931664c4 100644 --- a/sdk/tables/data-tables/src/utils/isCredential.ts +++ b/sdk/tables/data-tables/src/utils/isCredential.ts @@ -4,12 +4,16 @@ import { isNamedKeyCredential, isSASCredential, + isTokenCredential, NamedKeyCredential, - SASCredential + SASCredential, + TokenCredential } from "@azure/core-auth"; export function isCredential( credential: unknown -): credential is NamedKeyCredential | SASCredential { - return isSASCredential(credential) || isNamedKeyCredential(credential); +): credential is NamedKeyCredential | SASCredential | TokenCredential { + return ( + isSASCredential(credential) || isNamedKeyCredential(credential) || isTokenCredential(credential) + ); } diff --git a/sdk/tables/data-tables/swagger/README.md b/sdk/tables/data-tables/swagger/README.md index 9b09ee46d45a..da8f8e72fd8d 100644 --- a/sdk/tables/data-tables/swagger/README.md +++ b/sdk/tables/data-tables/swagger/README.md @@ -6,7 +6,7 @@ ```yaml v3: true -package-version: 12.0.1 +package-version: 12.1.0 package-name: "@azure/data-tables" title: TablesClient description: Tables Client diff --git a/sdk/tables/data-tables/test/internal/tableTransaction.spec.ts b/sdk/tables/data-tables/test/internal/tableTransaction.spec.ts new file mode 100644 index 000000000000..708a6aaf6cf4 --- /dev/null +++ b/sdk/tables/data-tables/test/internal/tableTransaction.spec.ts @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { assert } from "chai"; +import { parseTransactionResponse } from "../../src/TableTransaction"; +import { + PipelineResponse, + createHttpHeaders, + createPipelineRequest +} from "@azure/core-rest-pipeline"; + +describe("TableTransaction", () => { + describe("parseTransactionResponse", () => { + it("should handle error with no error info", () => { + const testResponse: PipelineResponse = { + headers: createHttpHeaders(), + request: createPipelineRequest({ url: "https://example.org" }), + status: 400 + }; + + try { + parseTransactionResponse(testResponse); + assert.fail("Expected error"); + } catch (error) { + assert.equal(error.message, "Transaction Failed"); + } + }); + + it("should handle error with odata error info", () => { + const testResponse: PipelineResponse = { + headers: createHttpHeaders(), + request: createPipelineRequest({ url: "https://example.org" }), + status: 400, + bodyAsText: JSON.stringify({ + "odata.error": { + code: "123", + message: { value: "Test message" } + } + }) + }; + + try { + parseTransactionResponse(testResponse); + assert.fail("Expected error"); + } catch (error) { + assert.equal(error.message, "Test message"); + assert.equal(error.code, "123"); + } + }); + }); +}); diff --git a/sdk/tables/data-tables/test/public/tableclient.spec.ts b/sdk/tables/data-tables/test/public/tableclient.spec.ts index 9e402fa6b9cf..d893cdaa7646 100644 --- a/sdk/tables/data-tables/test/public/tableclient.spec.ts +++ b/sdk/tables/data-tables/test/public/tableclient.spec.ts @@ -14,7 +14,7 @@ import { isNode, isNode8 } from "@azure/test-utils"; import { FullOperationResponse } from "@azure/core-client"; // SASConnectionString and SASToken are supported in both node and browser -const authModes: CreateClientMode[] = ["SASConnectionString"]; +const authModes: CreateClientMode[] = ["TokenCredential", "SASConnectionString"]; // Validate all supported auth strategies when running in live mode if (isLiveMode()) { diff --git a/sdk/tables/data-tables/test/public/tableserviceclient.spec.ts b/sdk/tables/data-tables/test/public/tableserviceclient.spec.ts index 82eeaab07af8..405a29b8250d 100644 --- a/sdk/tables/data-tables/test/public/tableserviceclient.spec.ts +++ b/sdk/tables/data-tables/test/public/tableserviceclient.spec.ts @@ -14,7 +14,7 @@ import { assert } from "chai"; import { FullOperationResponse } from "@azure/core-client"; // SASConnectionString and SASToken are supported in both node and browser -const authModes: CreateClientMode[] = ["SASConnectionString"]; +const authModes: CreateClientMode[] = ["TokenCredential", "SASConnectionString"]; // Validate all supported auth strategies when running in live mode if (isLiveMode()) { diff --git a/sdk/tables/data-tables/test/public/transaction.spec.ts b/sdk/tables/data-tables/test/public/transaction.spec.ts index 61851e2ae00d..2c5ed0dd5553 100644 --- a/sdk/tables/data-tables/test/public/transaction.spec.ts +++ b/sdk/tables/data-tables/test/public/transaction.spec.ts @@ -15,7 +15,7 @@ import { Uuid } from "../../src/utils/uuid"; import * as sinon from "sinon"; // SASConnectionString and SASToken are supported in both node and browser -const authModes: CreateClientMode[] = ["SASConnectionString"]; +const authModes: CreateClientMode[] = ["TokenCredential", "SASConnectionString"]; // Validate all supported auth strategies when running in live mode if (isLiveMode()) { diff --git a/sdk/tables/data-tables/test/public/utils/recordedClient.ts b/sdk/tables/data-tables/test/public/utils/recordedClient.ts index dfb3ce499487..7f2f08e8f590 100644 --- a/sdk/tables/data-tables/test/public/utils/recordedClient.ts +++ b/sdk/tables/data-tables/test/public/utils/recordedClient.ts @@ -3,6 +3,7 @@ import { env, RecorderEnvironmentSetup } from "@azure/test-utils-recorder"; +import { ClientSecretCredential } from "@azure/identity"; import { TableClient, TableServiceClient } from "../../../src"; import { AzureNamedKeyCredential, AzureSASCredential } from "@azure/core-auth"; @@ -21,7 +22,10 @@ const replaceableVariables: { [k: string]: string } = { ACCOUNT_KEY: `${mockAccountKey}`, ACCOUNT_SAS: `${mockAccountKey}`, TABLES_URL: `https://${mockAccountName}.table.core.windows.net`, - SAS_CONNECTION_STRING: `${mockSasConnectionString}` + SAS_CONNECTION_STRING: `${mockSasConnectionString}`, + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888" }; export const recordedEnvironmentSetup: RecorderEnvironmentSetup = { @@ -56,7 +60,8 @@ export type CreateClientMode = | "SASConnectionString" | "SASToken" | "AccountKey" - | "AccountConnectionString"; + | "AccountConnectionString" + | "TokenCredential"; export function createTableClient( tableName: string, @@ -98,6 +103,22 @@ export function createTableClient( new AzureNamedKeyCredential(env.ACCOUNT_NAME, env.ACCOUNT_KEY) ); + case "TokenCredential": { + if (!env.AZURE_TENANT_ID || !env.AZURE_CLIENT_ID || !env.AZURE_CLIENT_SECRET) { + throw new Error( + "AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET must be defined, make sure that they are in the environment" + ); + } + + const credential = new ClientSecretCredential( + env.AZURE_TENANT_ID, + env.AZURE_CLIENT_ID, + env.AZURE_CLIENT_SECRET + ); + + return new TableClient(env.TABLES_URL, tableName, credential); + } + case "AccountConnectionString": if (!env.ACCOUNT_CONNECTION_STRING) { throw new Error( @@ -146,6 +167,22 @@ export function createTableServiceClient( new AzureNamedKeyCredential(env.ACCOUNT_NAME, env.ACCOUNT_KEY) ); + case "TokenCredential": { + if (!env.AZURE_TENANT_ID || !env.AZURE_CLIENT_ID || !env.AZURE_CLIENT_SECRET) { + throw new Error( + "AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET must be defined, make sure that they are in the environment" + ); + } + + const credential = new ClientSecretCredential( + env.AZURE_TENANT_ID, + env.AZURE_CLIENT_ID, + env.AZURE_CLIENT_SECRET + ); + + return new TableServiceClient(env.TABLES_URL, credential); + } + case "AccountConnectionString": if (!env.ACCOUNT_CONNECTION_STRING) { throw new Error( From 46078e3abeacd67721bf36618f2cd518c481912b Mon Sep 17 00:00:00 2001 From: Dina Berry <41597107+diberry@users.noreply.github.com> Date: Wed, 23 Jun 2021 17:49:36 -0700 Subject: [PATCH 035/134] Doc improvements for blob storage file upload content type 2 (#12938) --- .../browserSamples/largeFileUploads.js | 5 ++- sdk/storage/storage-blob/src/Clients.ts | 39 +++++++++++++++++-- 2 files changed, 38 insertions(+), 6 deletions(-) diff --git a/sdk/storage/storage-blob/samples/browserSamples/largeFileUploads.js b/sdk/storage/storage-blob/samples/browserSamples/largeFileUploads.js index 46d6973deae7..c0e212640319 100644 --- a/sdk/storage/storage-blob/samples/browserSamples/largeFileUploads.js +++ b/sdk/storage/storage-blob/samples/browserSamples/largeFileUploads.js @@ -103,7 +103,8 @@ async function upload() { ); const file = document.getElementById("file").files[0]; - await blockBlobClient.uploadData(file, { - maxSingleShotSize: 4 * 1024 * 1024 + await blockBlobClient.uploadBrowserData(file, { + maxSingleShotSize: 4 * 1024 * 1024, + blobHTTPHeaders: { blobContentType: file.type } // set mimetype }); } diff --git a/sdk/storage/storage-blob/src/Clients.ts b/sdk/storage/storage-blob/src/Clients.ts index 28673e9102db..cf8d852f7c37 100644 --- a/sdk/storage/storage-blob/src/Clients.ts +++ b/sdk/storage/storage-blob/src/Clients.ts @@ -1364,6 +1364,9 @@ export class BlobClient extends StorageClient { * @param blobHTTPHeaders - If no value provided, or no value provided for * the specified blob HTTP headers, these blob HTTP * headers without a value will be cleared. + * A common header to set is `blobContentType` + * enabling the browser to provide functionality + * based on file type. * @param options - Optional options to Blob Set HTTP Headers operation. */ public async setHTTPHeaders( @@ -2135,7 +2138,10 @@ export interface AppendBlobCreateOptions extends CommonOptions { */ conditions?: BlobRequestConditions; /** - * HTTP headers to set when creating append blobs. + * HTTP headers to set when creating append blobs. A common header + * to set is `blobContentType`, enabling the browser to provide functionality + * based on file type. + * */ blobHTTPHeaders?: BlobHTTPHeaders; /** @@ -2169,7 +2175,10 @@ export interface AppendBlobCreateIfNotExistsOptions extends CommonOptions { */ abortSignal?: AbortSignalLike; /** - * HTTP headers to set when creating append blobs. + * HTTP headers to set when creating append blobs. A common header to set is + * `blobContentType`, enabling the browser to provide functionality + * based on file type. + * */ blobHTTPHeaders?: BlobHTTPHeaders; /** @@ -2731,7 +2740,10 @@ export interface BlockBlobUploadOptions extends CommonOptions { */ conditions?: BlobRequestConditions; /** - * HTTP headers to set when uploading to a block blob. + * HTTP headers to set when uploading to a block blob. A common header to set is + * `blobContentType`, enabling the browser to provide functionality + * based on file type. + * */ blobHTTPHeaders?: BlobHTTPHeaders; /** @@ -2814,6 +2826,10 @@ export interface BlockBlobSyncUploadFromURLOptions extends CommonOptions { copySourceBlobProperties?: boolean; /** * HTTP headers to set when uploading to a block blob. + * + * A common header to set is `blobContentType`, enabling the browser to provide functionality + * based on file type. + * */ blobHTTPHeaders?: BlobHTTPHeaders; /** @@ -3115,6 +3131,10 @@ export interface BlockBlobUploadStreamOptions extends CommonOptions { /** * Blob HTTP Headers. + * + * A common header to set is `blobContentType`, enabling the + * browser to provide functionality based on file type. + * */ blobHTTPHeaders?: BlobHTTPHeaders; @@ -3181,7 +3201,10 @@ export interface BlockBlobParallelUploadOptions extends CommonOptions { onProgress?: (progress: TransferProgressEvent) => void; /** - * Blob HTTP Headers. + * Blob HTTP Headers. A common header to set is + * `blobContentType`, enabling the browser to provide + * functionality based on file type. + * */ blobHTTPHeaders?: BlobHTTPHeaders; @@ -3809,6 +3832,10 @@ export class BlockBlobClient extends BlobClient { * Otherwise, this method will call {@link stageBlock} to upload blocks, and finally call {@link commitBlockList} * to commit the block list. * + * A common {@link BlockBlobParallelUploadOptions.blobHTTPHeaders} option to set is + * `blobContentType`, enabling the browser to provide + * functionality based on file type. + * * @param data - Buffer(Node.js), Blob, ArrayBuffer or ArrayBufferView * @param options - */ @@ -3862,6 +3889,10 @@ export class BlockBlobClient extends BlobClient { * Otherwise, this method will call {@link stageBlock} to upload blocks, and finally call * {@link commitBlockList} to commit the block list. * + * A common {@link BlockBlobParallelUploadOptions.blobHTTPHeaders} option to set is + * `blobContentType`, enabling the browser to provide + * functionality based on file type. + * * @deprecated Use {@link uploadData} instead. * * @param browserData - Blob, File, ArrayBuffer or ArrayBufferView From 58b199399054e19919f128a9211199f1371e55db Mon Sep 17 00:00:00 2001 From: Richard Park <51494936+richardpark-msft@users.noreply.github.com> Date: Wed, 23 Jun 2021 19:00:57 -0700 Subject: [PATCH 036/134] [service-bus] Fixing issue where links were not removed from our internal cache (#15929) Today we cache any opened links in the connectionContext. These links should be removed when the link itself is closed but, due to a mismatch in the values, we weren't. I've fixed this by just making an abstract method in LinkEntity (the base for all the link types) and just having each link properly remove itself from the cache. Fixes #15890 --- sdk/servicebus/service-bus/CHANGELOG.md | 2 + .../service-bus/src/core/batchingReceiver.ts | 4 + .../service-bus/src/core/linkEntity.ts | 22 +-- .../service-bus/src/core/managementClient.ts | 4 + .../service-bus/src/core/messageSender.ts | 4 + .../service-bus/src/core/streamingReceiver.ts | 4 + .../service-bus/src/session/messageSession.ts | 4 + .../internal/unit/linkentity.unittest.spec.ts | 138 ++++++++++++++++++ 8 files changed, 166 insertions(+), 16 deletions(-) diff --git a/sdk/servicebus/service-bus/CHANGELOG.md b/sdk/servicebus/service-bus/CHANGELOG.md index fb594535d709..5271d0eeec11 100644 --- a/sdk/servicebus/service-bus/CHANGELOG.md +++ b/sdk/servicebus/service-bus/CHANGELOG.md @@ -10,6 +10,8 @@ ### Fixed +- Fixing an issue where the internal link cache would not properly remove closed links. + [PR#15929](https://github.com/Azure/azure-sdk-for-js/pull/15929) ## 7.2.0 (2021-06-10) diff --git a/sdk/servicebus/service-bus/src/core/batchingReceiver.ts b/sdk/servicebus/service-bus/src/core/batchingReceiver.ts index b298f4b4cbc2..413203ff3d03 100644 --- a/sdk/servicebus/service-bus/src/core/batchingReceiver.ts +++ b/sdk/servicebus/service-bus/src/core/batchingReceiver.ts @@ -152,6 +152,10 @@ export class BatchingReceiver extends MessageReceiver { context.messageReceivers[bReceiver.name] = bReceiver; return bReceiver; } + + protected removeLinkFromContext(): void { + delete this._context.messageReceivers[this.name]; + } } /** diff --git a/sdk/servicebus/service-bus/src/core/linkEntity.ts b/sdk/servicebus/service-bus/src/core/linkEntity.ts index a78d32b22b1a..29f217d86fb8 100644 --- a/sdk/servicebus/service-bus/src/core/linkEntity.ts +++ b/sdk/servicebus/service-bus/src/core/linkEntity.ts @@ -299,22 +299,7 @@ export abstract class LinkEntity): Promise; + /** + * Clears this link from context's link cache. + */ + protected abstract removeLinkFromContext(): void; + /** * Closes the internally held rhea link, stops the token renewal timer and sets * the this._link field to undefined. diff --git a/sdk/servicebus/service-bus/src/core/managementClient.ts b/sdk/servicebus/service-bus/src/core/managementClient.ts index de2cb800dd08..5f7c07186fa2 100644 --- a/sdk/servicebus/service-bus/src/core/managementClient.ts +++ b/sdk/servicebus/service-bus/src/core/managementClient.ts @@ -1328,6 +1328,10 @@ export class ManagementClient extends LinkEntity { throw error; } } + + protected removeLinkFromContext(): void { + delete this._context.managementClients[this.name]; + } } /** diff --git a/sdk/servicebus/service-bus/src/core/messageSender.ts b/sdk/servicebus/service-bus/src/core/messageSender.ts index 980ffee1b281..7f523471be81 100644 --- a/sdk/servicebus/service-bus/src/core/messageSender.ts +++ b/sdk/servicebus/service-bus/src/core/messageSender.ts @@ -467,4 +467,8 @@ export class MessageSender extends LinkEntity { context.senders[sbSender.name] = sbSender; return sbSender; } + + protected removeLinkFromContext(): void { + delete this._context.senders[this.name]; + } } diff --git a/sdk/servicebus/service-bus/src/core/streamingReceiver.ts b/sdk/servicebus/service-bus/src/core/streamingReceiver.ts index d6bb59bba49d..6251e79824b1 100644 --- a/sdk/servicebus/service-bus/src/core/streamingReceiver.ts +++ b/sdk/servicebus/service-bus/src/core/streamingReceiver.ts @@ -658,4 +658,8 @@ export class StreamingReceiver extends MessageReceiver { this._isDetaching = false; } } + + protected removeLinkFromContext(): void { + delete this._context.messageReceivers[this.name]; + } } diff --git a/sdk/servicebus/service-bus/src/session/messageSession.ts b/sdk/servicebus/service-bus/src/session/messageSession.ts index bff8a94a8aea..f38a9fb075f5 100644 --- a/sdk/servicebus/service-bus/src/session/messageSession.ts +++ b/sdk/servicebus/service-bus/src/session/messageSession.ts @@ -925,4 +925,8 @@ export class MessageSession extends LinkEntity { await messageSession._init(options?.abortSignal); return messageSession; } + + protected removeLinkFromContext(): void { + delete this._context.messageSessions[this.name]; + } } diff --git a/sdk/servicebus/service-bus/test/internal/unit/linkentity.unittest.spec.ts b/sdk/servicebus/service-bus/test/internal/unit/linkentity.unittest.spec.ts index 6db1eeee0531..f534cbdda46f 100644 --- a/sdk/servicebus/service-bus/test/internal/unit/linkentity.unittest.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/unit/linkentity.unittest.spec.ts @@ -7,14 +7,25 @@ import chaiAsPromised from "chai-as-promised"; import { Receiver, ReceiverOptions } from "rhea-promise"; import sinon from "sinon"; import { ConnectionContext } from "../../../src/connectionContext"; +import { BatchingReceiver } from "../../../src/core/batchingReceiver"; import { LinkEntity } from "../../../src/core/linkEntity"; +import { ManagementClient } from "../../../src/core/managementClient"; +import { MessageSender } from "../../../src/core/messageSender"; +import { StreamingReceiver } from "../../../src/core/streamingReceiver"; import { receiverLogger } from "../../../src/log"; +import { MessageSession } from "../../../src/session/messageSession"; import { createConnectionContextForTests, createRheaReceiverForTests } from "./unittestUtils"; chai.use(chaiAsPromised); const assert = chai.assert; describe("LinkEntity unit tests", () => { class LinkForTests extends LinkEntity { + private _removeLinkFromContextCalled: boolean = false; + + protected removeLinkFromContext(): void { + this._removeLinkFromContextCalled = true; + } + async createRheaLink(options: ReceiverOptions): Promise { return createRheaReceiverForTests(options); } @@ -39,6 +50,10 @@ describe("LinkEntity unit tests", () => { afterEach(async () => { await linkEntity.close(); + assert.isTrue( + (linkEntity as LinkForTests)["_removeLinkFromContextCalled"], + "Every link should have a chance to remove themselves from the cache" + ); }); describe("initLink", () => { @@ -327,6 +342,129 @@ describe("LinkEntity unit tests", () => { }); }); + describe("cache cleanup", () => { + it("batchingreceiver", () => { + const batchingReceiver = new BatchingReceiver(connectionContext, "entityPath", { + abortSignal: undefined, + lockRenewer: undefined, + receiveMode: "receiveAndDelete", + tracingOptions: {} + }); + + initCachedLinks(batchingReceiver.name); + + batchingReceiver["removeLinkFromContext"](); + + assertLinkCaches({ + name: batchingReceiver.name, + clearedCache: connectionContext.messageReceivers, + unchangedCaches: [ + connectionContext.managementClients, + connectionContext.messageSessions, + connectionContext.senders + ] + }); + }); + + it("streamingreceiver", () => { + const streamingReceiver = new StreamingReceiver(connectionContext, "entityPath", { + abortSignal: undefined, + lockRenewer: undefined, + receiveMode: "receiveAndDelete", + tracingOptions: {} + }); + + initCachedLinks(streamingReceiver.name); + + streamingReceiver["removeLinkFromContext"](); + + assertLinkCaches({ + name: streamingReceiver.name, + clearedCache: connectionContext.messageReceivers, + unchangedCaches: [ + connectionContext.managementClients, + connectionContext.messageSessions, + connectionContext.senders + ] + }); + }); + + it("sender", () => { + const sender = new MessageSender(connectionContext, "entityPath", {}); + + initCachedLinks(sender.name); + + sender["removeLinkFromContext"](); + + assertLinkCaches({ + name: sender.name, + clearedCache: connectionContext.senders, + unchangedCaches: [ + connectionContext.managementClients, + connectionContext.messageReceivers, + connectionContext.messageSessions + ] + }); + }); + + it("session", () => { + const messageSession = new MessageSession(connectionContext, "entityPath", "session-id", { + abortSignal: undefined, + retryOptions: {} + }); + + initCachedLinks(messageSession.name); + + messageSession["removeLinkFromContext"](); + + assertLinkCaches({ + name: messageSession.name, + clearedCache: connectionContext.messageSessions, + unchangedCaches: [ + connectionContext.managementClients, + connectionContext.messageReceivers, + connectionContext.senders + ] + }); + }); + + it("managementclient", () => { + const mgmtClient = new ManagementClient(connectionContext, "entityPath"); + + initCachedLinks(mgmtClient.name); + + mgmtClient["removeLinkFromContext"](); + + assertLinkCaches({ + name: mgmtClient.name, + clearedCache: connectionContext.managementClients, + unchangedCaches: [ + connectionContext.messageSessions, + connectionContext.messageReceivers, + connectionContext.senders + ] + }); + }); + + function assertLinkCaches(args: { + name: string; + clearedCache: { [name: string]: any }; + unchangedCaches: { [name: string]: any }[]; + }): void { + assert.isEmpty( + args.unchangedCaches.filter((cache) => cache[args.name] == null), + "Unrelated caches should not be changed." + ); + } + + function initCachedLinks(name: string) { + connectionContext.messageReceivers[name] = {} as any; + connectionContext.senders[name] = {} as any; + connectionContext.managementClients[name] = {} as any; + connectionContext.messageSessions[name] = {} as any; + } + }); + function assertLinkEntityOpen(): void { assert.isTrue(linkEntity.isOpen(), "link should be open"); assert.exists(linkEntity["_tokenRenewalTimer"], "the tokenrenewal timer should have been set"); From bb833fc695b769c363413a46c79d4802624e5794 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Thu, 24 Jun 2021 11:39:46 +0800 Subject: [PATCH 037/134] arm-trafficmanager-release (#15695) * arm-trafficmanager-release * readme update * update package.json --- .../arm-trafficmanager/LICENSE.txt | 2 +- .../arm-trafficmanager/README.md | 117 ++++++++++-------- .../arm-trafficmanager/package.json | 9 +- .../arm-trafficmanager/rollup.config.js | 4 +- .../src/models/endpointsMappers.ts | 4 +- .../models/geographicHierarchiesMappers.ts | 4 +- .../src/models/heatMapMappers.ts | 4 +- .../arm-trafficmanager/src/models/index.ts | 28 ++++- .../arm-trafficmanager/src/models/mappers.ts | 27 +++- .../src/models/parameters.ts | 5 +- .../src/models/profilesMappers.ts | 4 +- .../trafficManagerUserMetricsKeysMappers.ts | 4 +- .../src/operations/endpoints.ts | 5 +- .../src/operations/geographicHierarchies.ts | 5 +- .../src/operations/heatMap.ts | 5 +- .../src/operations/index.ts | 5 +- .../src/operations/profiles.ts | 5 +- .../trafficManagerUserMetricsKeys.ts | 5 +- .../src/trafficManagerManagementClient.ts | 15 ++- .../trafficManagerManagementClientContext.ts | 27 ++-- 20 files changed, 171 insertions(+), 113 deletions(-) diff --git a/sdk/trafficmanager/arm-trafficmanager/LICENSE.txt b/sdk/trafficmanager/arm-trafficmanager/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/trafficmanager/arm-trafficmanager/LICENSE.txt +++ b/sdk/trafficmanager/arm-trafficmanager/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/trafficmanager/arm-trafficmanager/README.md b/sdk/trafficmanager/arm-trafficmanager/README.md index 83f08c7a1e84..72d87a5e5739 100644 --- a/sdk/trafficmanager/arm-trafficmanager/README.md +++ b/sdk/trafficmanager/arm-trafficmanager/README.md @@ -1,98 +1,105 @@ ## Azure TrafficManagerManagementClient SDK for JavaScript -This package contains an isomorphic SDK for TrafficManagerManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for TrafficManagerManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-trafficmanager` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-trafficmanager +npm install --save @azure/arm-trafficmanager @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. ### How to use -#### nodejs - Authentication, client creation and get endpoints as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth - -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. +#### nodejs - Authentication, client creation, and get endpoints as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { TrafficManagerManagementClient, TrafficManagerManagementModels, TrafficManagerManagementMappers } from "@azure/arm-trafficmanager"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { TrafficManagerManagementClient } = require("@azure/arm-trafficmanager"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new TrafficManagerManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const profileName = "testprofileName"; - const endpointType = "testendpointType"; - const endpointName = "testendpointName"; - client.endpoints.get(resourceGroupName, profileName, endpointType, endpointName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new TrafficManagerManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const profileName = "testprofileName"; +const endpointType = "testendpointType"; +const endpointName = "testendpointName"; +client.endpoints.get(resourceGroupName, profileName, endpointType, endpointName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get endpoints as an example written in JavaScript. +#### browser - Authentication, client creation, and get endpoints as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-trafficmanager sample - - + diff --git a/sdk/trafficmanager/arm-trafficmanager/package.json b/sdk/trafficmanager/arm-trafficmanager/package.json index 7feef4a52f26..41b4ac47a42a 100644 --- a/sdk/trafficmanager/arm-trafficmanager/package.json +++ b/sdk/trafficmanager/arm-trafficmanager/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-trafficmanager", "author": "Microsoft Corporation", "description": "TrafficManagerManagementClient Library with typescript type definitions for node.js and browser.", - "version": "5.0.0", + "version": "5.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/trafficManagerManagementClient.js", "types": "./esm/trafficManagerManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/trafficmanager/arm-trafficmanager/rollup.config.js b/sdk/trafficmanager/arm-trafficmanager/rollup.config.js index a17ee84b53b1..164228bd9fad 100644 --- a/sdk/trafficmanager/arm-trafficmanager/rollup.config.js +++ b/sdk/trafficmanager/arm-trafficmanager/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/trafficmanager/arm-trafficmanager/src/models/endpointsMappers.ts b/sdk/trafficmanager/arm-trafficmanager/src/models/endpointsMappers.ts index 74e5202c4a5f..a13fdcfe3a69 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/models/endpointsMappers.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/models/endpointsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/trafficmanager/arm-trafficmanager/src/models/geographicHierarchiesMappers.ts b/sdk/trafficmanager/arm-trafficmanager/src/models/geographicHierarchiesMappers.ts index 2d5082b2bd3f..509feee44585 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/models/geographicHierarchiesMappers.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/models/geographicHierarchiesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/trafficmanager/arm-trafficmanager/src/models/heatMapMappers.ts b/sdk/trafficmanager/arm-trafficmanager/src/models/heatMapMappers.ts index 2d5082b2bd3f..509feee44585 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/models/heatMapMappers.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/models/heatMapMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/trafficmanager/arm-trafficmanager/src/models/index.ts b/sdk/trafficmanager/arm-trafficmanager/src/models/index.ts index 0ac29100769d..33650bcd99cf 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/models/index.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -213,6 +213,18 @@ export interface Endpoint extends ProxyResource { * 'NestedEndpoints'. */ minChildEndpoints?: number; + /** + * The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child + * profile in order for the parent profile to be considered available. Only applicable to + * endpoint of type 'NestedEndpoints'. + */ + minChildEndpointsIPv4?: number; + /** + * The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the + * child profile in order for the parent profile to be considered available. Only applicable to + * endpoint of type 'NestedEndpoints'. + */ + minChildEndpointsIPv6?: number; /** * The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic * routing method. Please consult Traffic Manager Geographic documentation for a full list of @@ -388,6 +400,10 @@ export interface Profile extends TrackedResource { * profile. Possible values include: 'Enabled', 'Disabled' */ trafficViewEnrollmentStatus?: TrafficViewEnrollmentStatus; + /** + * The list of allowed endpoint record types. + */ + allowedEndpointRecordTypes?: AllowedEndpointRecordType[]; /** * Maximum number of endpoints to be returned for MultiValue routing type. */ @@ -537,6 +553,14 @@ export type TrafficRoutingMethod = 'Performance' | 'Priority' | 'Weighted' | 'Ge */ export type TrafficViewEnrollmentStatus = 'Enabled' | 'Disabled'; +/** + * Defines values for AllowedEndpointRecordType. + * Possible values include: 'DomainName', 'IPv4Address', 'IPv6Address', 'Any' + * @readonly + * @enum {string} + */ +export type AllowedEndpointRecordType = 'DomainName' | 'IPv4Address' | 'IPv6Address' | 'Any'; + /** * Contains response data for the update operation. */ diff --git a/sdk/trafficmanager/arm-trafficmanager/src/models/mappers.ts b/sdk/trafficmanager/arm-trafficmanager/src/models/mappers.ts index 3a47f4b548ea..530afca7e3c0 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/models/mappers.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -329,6 +329,18 @@ export const Endpoint: msRest.CompositeMapper = { name: "Number" } }, + minChildEndpointsIPv4: { + serializedName: "properties.minChildEndpointsIPv4", + type: { + name: "Number" + } + }, + minChildEndpointsIPv6: { + serializedName: "properties.minChildEndpointsIPv6", + type: { + name: "Number" + } + }, geoMapping: { serializedName: "properties.geoMapping", type: { @@ -618,6 +630,17 @@ export const Profile: msRest.CompositeMapper = { name: "String" } }, + allowedEndpointRecordTypes: { + serializedName: "properties.allowedEndpointRecordTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, maxReturn: { serializedName: "properties.maxReturn", type: { diff --git a/sdk/trafficmanager/arm-trafficmanager/src/models/parameters.ts b/sdk/trafficmanager/arm-trafficmanager/src/models/parameters.ts index e4def72ebab4..1b2b07e257c7 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/models/parameters.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/trafficmanager/arm-trafficmanager/src/models/profilesMappers.ts b/sdk/trafficmanager/arm-trafficmanager/src/models/profilesMappers.ts index 77a57d2799ef..d2876b523221 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/models/profilesMappers.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/models/profilesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/trafficmanager/arm-trafficmanager/src/models/trafficManagerUserMetricsKeysMappers.ts b/sdk/trafficmanager/arm-trafficmanager/src/models/trafficManagerUserMetricsKeysMappers.ts index 74e5202c4a5f..a13fdcfe3a69 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/models/trafficManagerUserMetricsKeysMappers.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/models/trafficManagerUserMetricsKeysMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/trafficmanager/arm-trafficmanager/src/operations/endpoints.ts b/sdk/trafficmanager/arm-trafficmanager/src/operations/endpoints.ts index a145afda82c4..6a73995ea38c 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/operations/endpoints.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/operations/endpoints.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/trafficmanager/arm-trafficmanager/src/operations/geographicHierarchies.ts b/sdk/trafficmanager/arm-trafficmanager/src/operations/geographicHierarchies.ts index 23ee086f81d9..7beed3575e5f 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/operations/geographicHierarchies.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/operations/geographicHierarchies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/trafficmanager/arm-trafficmanager/src/operations/heatMap.ts b/sdk/trafficmanager/arm-trafficmanager/src/operations/heatMap.ts index 64f690a2ae0f..858cad24fbc2 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/operations/heatMap.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/operations/heatMap.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/trafficmanager/arm-trafficmanager/src/operations/index.ts b/sdk/trafficmanager/arm-trafficmanager/src/operations/index.ts index 7a6963644fb9..6c8f9d8ebee2 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/operations/index.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/trafficmanager/arm-trafficmanager/src/operations/profiles.ts b/sdk/trafficmanager/arm-trafficmanager/src/operations/profiles.ts index c704f921817e..df121d1e6dc9 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/operations/profiles.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/operations/profiles.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/trafficmanager/arm-trafficmanager/src/operations/trafficManagerUserMetricsKeys.ts b/sdk/trafficmanager/arm-trafficmanager/src/operations/trafficManagerUserMetricsKeys.ts index 25f0c0a39267..0a514e8258d8 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/operations/trafficManagerUserMetricsKeys.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/operations/trafficManagerUserMetricsKeys.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClient.ts b/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClient.ts index 4891f23eaa38..b89b90ca52dd 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClient.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,12 +25,17 @@ class TrafficManagerManagementClient extends TrafficManagerManagementClientConte /** * Initializes a new instance of the TrafficManagerManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.TrafficManagerManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.TrafficManagerManagementClientOptions) { super(credentials, subscriptionId, options); this.endpoints = new operations.Endpoints(this); this.profiles = new operations.Profiles(this); diff --git a/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClientContext.ts b/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClientContext.ts index 2a11ff723215..ae6556c0009a 100644 --- a/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClientContext.ts +++ b/sdk/trafficmanager/arm-trafficmanager/src/trafficManagerManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -11,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-trafficmanager"; -const packageVersion = "5.0.0"; +const packageVersion = "5.1.0"; export class TrafficManagerManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the TrafficManagerManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.TrafficManagerManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.TrafficManagerManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } @@ -38,14 +43,14 @@ export class TrafficManagerManagementClientContext extends msRestAzure.AzureServ if (!options) { options = {}; } - if(!options.userAgent) { + if (!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } super(credentials, options); - this.apiVersion = '2018-04-01'; + this.apiVersion = '2018-08-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -53,10 +58,10 @@ export class TrafficManagerManagementClientContext extends msRestAzure.AzureServ this.credentials = credentials; this.subscriptionId = subscriptionId; - if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } From b77a2a496e6f57a94acb1158d331fad1ebef3222 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Thu, 24 Jun 2021 12:03:43 +0800 Subject: [PATCH 038/134] arm-eventgrid-release (#15791) * arm-eventgrid-release * update package.json * Update sdk/eventgrid/arm-eventgrid/README.md Co-authored-by: Ramya Rao Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com> Co-authored-by: Ramya Rao --- sdk/eventgrid/arm-eventgrid/README.md | 106 ++--- sdk/eventgrid/arm-eventgrid/package.json | 9 +- .../src/eventGridManagementClient.ts | 10 +- .../src/eventGridManagementClientContext.ts | 16 +- .../src/models/domainTopicsMappers.ts | 1 - .../src/models/domainsMappers.ts | 1 - .../src/models/eventChannelsMappers.ts | 1 - .../src/models/eventSubscriptionsMappers.ts | 1 - .../src/models/extensionTopicsMappers.ts | 1 - .../arm-eventgrid/src/models/index.ts | 415 ++++++++++-------- .../arm-eventgrid/src/models/mappers.ts | 377 +++++++++------- .../src/models/partnerNamespacesMappers.ts | 1 - .../src/models/partnerRegistrationsMappers.ts | 1 - .../partnerTopicEventSubscriptionsMappers.ts | 1 - .../src/models/partnerTopicsMappers.ts | 1 - .../privateEndpointConnectionsMappers.ts | 1 - .../systemTopicEventSubscriptionsMappers.ts | 1 - .../src/models/systemTopicsMappers.ts | 1 - .../src/models/topicTypesMappers.ts | 1 - .../arm-eventgrid/src/models/topicsMappers.ts | 1 - .../src/operations/domainTopics.ts | 1 + .../arm-eventgrid/src/operations/domains.ts | 1 + .../src/operations/partnerRegistrations.ts | 45 -- .../operations/privateEndpointConnections.ts | 94 ++-- .../src/operations/privateLinkResources.ts | 50 ++- 25 files changed, 624 insertions(+), 514 deletions(-) diff --git a/sdk/eventgrid/arm-eventgrid/README.md b/sdk/eventgrid/arm-eventgrid/README.md index 9a71e7ac5a15..9d2baac15a15 100644 --- a/sdk/eventgrid/arm-eventgrid/README.md +++ b/sdk/eventgrid/arm-eventgrid/README.md @@ -1,93 +1,101 @@ ## Azure EventGridManagementClient SDK for JavaScript -This package contains an isomorphic SDK for EventGridManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for EventGridManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-eventgrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-eventgrid +npm install --save @azure/arm-eventgrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. ### How to use -#### nodejs - client creation and get domains as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth - -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. +#### nodejs - Authentication, client creation, and get domains as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { EventGridManagementClient } = require("@azure/arm-eventgrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new EventGridManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const domainName = "testdomainName"; - client.domains.get(resourceGroupName, domainName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new EventGridManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const domainName = "testdomainName"; +client.domains.get(resourceGroupName, domainName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get domains as an example written in JavaScript. +#### browser - Authentication, client creation, and get domains as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-eventgrid sample - - + diff --git a/sdk/eventgrid/arm-eventgrid/package.json b/sdk/eventgrid/arm-eventgrid/package.json index 0f19c904f815..100062887bd8 100644 --- a/sdk/eventgrid/arm-eventgrid/package.json +++ b/sdk/eventgrid/arm-eventgrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-eventgrid", "author": "Microsoft Corporation", "description": "EventGridManagementClient Library with typescript type definitions for node.js and browser.", - "version": "10.0.0", + "version": "11.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/eventGridManagementClient.js", "types": "./esm/eventGridManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts index e8f75e082283..a94dd9bbe5b6 100644 --- a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts +++ b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -35,12 +36,17 @@ class EventGridManagementClient extends EventGridManagementClientContext { /** * Initializes a new instance of the EventGridManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.EventGridManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.EventGridManagementClientOptions) { super(credentials, subscriptionId, options); this.domains = new operations.Domains(this); this.domainTopics = new operations.DomainTopics(this); diff --git a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts index 1a68b4d06cc4..bb8fd2444771 100644 --- a/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts +++ b/sdk/eventgrid/arm-eventgrid/src/eventGridManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-eventgrid"; -const packageVersion = "10.0.0"; +const packageVersion = "11.0.0"; export class EventGridManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the EventGridManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.EventGridManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.EventGridManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } @@ -44,7 +50,7 @@ export class EventGridManagementClientContext extends msRestAzure.AzureServiceCl super(credentials, options); - this.apiVersion = '2020-10-15-preview'; + this.apiVersion = '2021-06-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts index 219e6f9e971b..9a88c5f158ae 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/domainTopicsMappers.ts @@ -54,7 +54,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts index 5bafd97475ad..701d7d83192e 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/domainsMappers.ts @@ -57,7 +57,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts index b78f4a31a6d1..528d8700f8bd 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/eventChannelsMappers.ts @@ -54,7 +54,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts index f0ff5301de8e..62a9a4d4958e 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/eventSubscriptionsMappers.ts @@ -57,7 +57,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts index 7337a3674a2c..3c5419606cdd 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/extensionTopicsMappers.ts @@ -53,7 +53,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/index.ts b/sdk/eventgrid/arm-eventgrid/src/models/index.ts index d05f2b28145b..a5dab9d3abfd 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/index.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/index.ts @@ -122,7 +122,7 @@ export interface InboundIpRule { export interface ResourceSku { /** * The Sku name of the resource. The possible values are: Basic or Premium. Possible values - * include: 'Basic', 'Premium' + * include: 'Basic', 'Premium'. Default value: 'Basic'. */ name?: Sku; } @@ -249,28 +249,61 @@ export interface TrackedResource extends Resource { tags?: { [propertyName: string]: string }; } +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; +} + /** * EventGrid Domain. */ export interface Domain extends TrackedResource { /** * List of private endpoint connections. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - privateEndpointConnections?: PrivateEndpointConnection[]; + readonly privateEndpointConnections?: PrivateEndpointConnection[]; /** - * Provisioning state of the domain. Possible values include: 'Creating', 'Updating', 'Deleting', - * 'Succeeded', 'Canceled', 'Failed' + * Provisioning state of the Event Grid Domain Resource. Possible values include: 'Creating', + * 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: DomainProvisioningState; /** - * Endpoint for the domain. + * Endpoint for the Event Grid Domain Resource which is used for publishing the events. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endpoint?: string; /** * This determines the format that Event Grid should expect for incoming events published to the - * domain. Possible values include: 'EventGridSchema', 'CustomEventSchema', + * Event Grid Domain Resource. Possible values include: 'EventGridSchema', 'CustomEventSchema', * 'CloudEventSchemaV1_0'. Default value: 'EventGridSchema'. */ inputSchema?: InputSchema; @@ -279,7 +312,7 @@ export interface Domain extends TrackedResource { */ inputSchemaMapping?: InputSchemaMappingUnion; /** - * Metric resource id for the domain. + * Metric resource id for the Event Grid Domain Resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly metricResourceId?: string; @@ -287,7 +320,7 @@ export interface Domain extends TrackedResource { * This determines if traffic is allowed over public network. By default it is enabled. * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled' + * />. Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'. */ publicNetworkAccess?: PublicNetworkAccess; /** @@ -296,13 +329,56 @@ export interface Domain extends TrackedResource { */ inboundIpRules?: InboundIpRule[]; /** - * The Sku pricing tier for the domain. + * This boolean is used to enable or disable local auth. Default value is false. When the + * property is set to true, only AAD token will be used to authenticate if user is allowed to + * publish to the domain. Default value: false. + */ + disableLocalAuth?: boolean; + /** + * This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics + * associated with this Event Grid Domain resource. + * In this context, creation of domain topic can be auto-managed (when true) or self-managed + * (when false). The default value for this property is true. + * When this property is null or set to true, Event Grid is responsible of automatically creating + * the domain topic when the first event subscription is + * created at the scope of the domain topic. If this property is set to false, then creating the + * first event subscription will require creating a domain topic + * by the user. The self-management mode can be used if the user wants full control of when the + * domain topic is created, while auto-managed mode provides the + * flexibility to perform less operations and manage fewer resources by the user. Also, note that + * in auto-managed creation mode, user is allowed to create the + * domain topic on demand if needed. Default value: true. + */ + autoCreateTopicWithFirstSubscription?: boolean; + /** + * This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics + * associated with this Event Grid Domain resource. + * In this context, deletion of domain topic can be auto-managed (when true) or self-managed + * (when false). The default value for this property is true. + * When this property is set to true, Event Grid is responsible of automatically deleting the + * domain topic when the last event subscription at the scope + * of the domain topic is deleted. If this property is set to false, then the user needs to + * manually delete the domain topic when it is no longer needed + * (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The + * self-management mode can be used if the user wants full + * control of when the domain topic needs to be deleted, while auto-managed mode provides the + * flexibility to perform less operations and manage fewer + * resources by the user. Default value: true. + */ + autoDeleteTopicWithLastSubscription?: boolean; + /** + * The Sku pricing tier for the Event Grid Domain resource. */ sku?: ResourceSku; /** - * Identity information for the resource. + * Identity information for the Event Grid Domain resource. */ identity?: IdentityInfo; + /** + * The system metadata relating to the Event Grid Domain resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -325,6 +401,44 @@ export interface DomainUpdateParameters { * considered only if PublicNetworkAccess is enabled. */ inboundIpRules?: InboundIpRule[]; + /** + * This boolean is used to enable or disable local auth. Default value is false. When the + * property is set to true, only AAD token will be used to authenticate if user is allowed to + * publish to the domain. + */ + disableLocalAuth?: boolean; + /** + * This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics + * associated with this Event Grid Domain resource. + * In this context, creation of domain topic can be auto-managed (when true) or self-managed + * (when false). The default value for this property is true. + * When this property is null or set to true, Event Grid is responsible of automatically creating + * the domain topic when the first event subscription is + * created at the scope of the domain topic. If this property is set to false, then creating the + * first event subscription will require creating a domain topic + * by the user. The self-management mode can be used if the user wants full control of when the + * domain topic is created, while auto-managed mode provides the + * flexibility to perform less operations and manage fewer resources by the user. Also, note that + * in auto-managed creation mode, user is allowed to create the + * domain topic on demand if needed. + */ + autoCreateTopicWithFirstSubscription?: boolean; + /** + * This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics + * associated with this Event Grid Domain resource. + * In this context, deletion of domain topic can be auto-managed (when true) or self-managed + * (when false). The default value for this property is true. + * When this property is set to true, Event Grid is responsible of automatically deleting the + * domain topic when the last event subscription at the scope + * of the domain topic is deleted. If this property is set to false, then the user needs to + * manually delete the domain topic when it is no longer needed + * (e.g., when last event subscription is deleted and the resource needs to be cleaned up). The + * self-management mode can be used if the user wants full + * control of when the domain topic needs to be deleted, while auto-managed mode provides the + * flexibility to perform less operations and manage fewer + * resources by the user. + */ + autoDeleteTopicWithLastSubscription?: boolean; /** * Identity information for the resource. */ @@ -366,8 +480,14 @@ export interface DomainTopic extends Resource { /** * Provisioning state of the domain topic. Possible values include: 'Creating', 'Updating', * 'Deleting', 'Succeeded', 'Canceled', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - provisioningState?: DomainTopicProvisioningState; + readonly provisioningState?: DomainTopicProvisioningState; + /** + * The system metadata relating to Domain Topic resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -429,7 +549,7 @@ export interface AdvancedFilter { export interface EventChannelFilter { /** * Allows advanced filters to be evaluated against an array of values instead of expecting a - * singular value. + * singular value. The default value is either false or null. Default value: false. */ enableAdvancedFilteringOnArrays?: boolean; /** @@ -772,38 +892,6 @@ export interface IsNotNullAdvancedFilter { key?: string; } -/** - * Metadata pertaining to creation and last modification of the resource. - */ -export interface SystemData { - /** - * The identity that created the resource. - */ - createdBy?: string; - /** - * The type of identity that created the resource. Possible values include: 'User', - * 'Application', 'ManagedIdentity', 'Key' - */ - createdByType?: CreatedByType; - /** - * The timestamp of resource creation (UTC). - */ - createdAt?: Date; - /** - * The identity that last modified the resource. - */ - lastModifiedBy?: string; - /** - * The type of identity that last modified the resource. Possible values include: 'User', - * 'Application', 'ManagedIdentity', 'Key' - */ - lastModifiedByType?: CreatedByType; - /** - * The timestamp of resource last modification (UTC) - */ - lastModifiedAt?: Date; -} - /** * Event Channel. */ @@ -847,7 +935,7 @@ export interface EventChannel extends Resource { */ partnerTopicFriendlyDescription?: string; /** - * The system metadata relating to this resource. + * The system metadata relating to Event Channel resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly systemData?: SystemData; @@ -942,11 +1030,11 @@ export interface EventSubscriptionFilter { */ export interface RetryPolicy { /** - * Maximum number of delivery retry attempts for events. + * Maximum number of delivery retry attempts for events. Default value: 30. */ maxDeliveryAttempts?: number; /** - * Time To Live (in minutes) for events. + * Time To Live (in minutes) for events. Default value: 1440. */ eventTimeToLiveInMinutes?: number; } @@ -1081,11 +1169,11 @@ export interface WebHookEventSubscriptionDestination { */ readonly endpointBaseUrl?: string; /** - * Maximum number of events per batch. + * Maximum number of events per batch. Default value: 1. */ maxEventsPerBatch?: number; /** - * Preferred batch size in Kilobytes. + * Preferred batch size in Kilobytes. Default value: 64. */ preferredBatchSizeInKilobytes?: number; /** @@ -1218,11 +1306,11 @@ export interface AzureFunctionEventSubscriptionDestination { */ resourceId?: string; /** - * Maximum number of events per batch. + * Maximum number of events per batch. Default value: 1. */ maxEventsPerBatch?: number; /** - * Preferred batch size in Kilobytes. + * Preferred batch size in Kilobytes. Default value: 64. */ preferredBatchSizeInKilobytes?: number; /** @@ -1274,7 +1362,8 @@ export interface EventSubscription extends Resource { expirationTimeUtc?: Date; /** * The event delivery schema for the event subscription. Possible values include: - * 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV1_0' + * 'EventGridSchema', 'CustomInputSchema', 'CloudEventSchemaV1_0'. Default value: + * 'EventGridSchema'. */ eventDeliverySchema?: EventDeliverySchema; /** @@ -1297,7 +1386,7 @@ export interface EventSubscription extends Resource { */ deadLetterWithResourceIdentity?: DeadLetterWithResourceIdentity; /** - * The system metadata relating to this resource. + * The system metadata relating to Event Subscription resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly systemData?: SystemData; @@ -1417,6 +1506,10 @@ export interface Operation { * Origin of the operation */ origin?: string; + /** + * This Boolean is used to determine if the operation is a data plane action or not. + */ + isDataAction?: boolean; /** * Properties of the operation */ @@ -1427,6 +1520,10 @@ export interface Operation { * EventGrid Partner Namespace. */ export interface PartnerNamespace extends TrackedResource { + /** + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; /** * Provisioning state of the partner namespace. Possible values include: 'Creating', 'Updating', * 'Deleting', 'Succeeded', 'Canceled', 'Failed' @@ -1445,7 +1542,25 @@ export interface PartnerNamespace extends TrackedResource { */ readonly endpoint?: string; /** - * The system metadata relating to this resource. + * This determines if traffic is allowed over public network. By default it is enabled. + * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'. + */ + publicNetworkAccess?: PublicNetworkAccess; + /** + * This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are + * considered only if PublicNetworkAccess is enabled. + */ + inboundIpRules?: InboundIpRule[]; + /** + * This boolean is used to enable or disable local auth. Default value is false. When the + * property is set to true, only AAD token will be used to authenticate if user is allowed to + * publish to the partner namespace. Default value: false. + */ + disableLocalAuth?: boolean; + /** + * The system metadata relating to Partner Namespace resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly systemData?: SystemData; @@ -1459,6 +1574,24 @@ export interface PartnerNamespaceUpdateParameters { * Tags of the partner namespace. */ tags?: { [propertyName: string]: string }; + /** + * This determines if traffic is allowed over public network. By default it is enabled. + * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; + /** + * This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are + * considered only if PublicNetworkAccess is enabled. + */ + inboundIpRules?: InboundIpRule[]; + /** + * This boolean is used to enable or disable local auth. Default value is false. When the + * property is set to true, only AAD token will be used to authenticate if user is allowed to + * publish to the partner namespace. + */ + disableLocalAuth?: boolean; } /** @@ -1560,7 +1693,7 @@ export interface PartnerRegistration extends TrackedResource { */ authorizedAzureSubscriptionIds?: string[]; /** - * The system metadata relating to this resource. + * The system metadata relating to Partner Registration resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly systemData?: SystemData; @@ -1626,28 +1759,18 @@ export interface EventType extends Resource { isInDefaultSet?: boolean; } -/** - * Result of the List Partner Registration Event Types operation. - */ -export interface PartnerRegistrationEventTypesListResult { - /** - * A collection of partner registration event types. - */ - value?: EventType[]; - /** - * A link for the next page of partner registration event types. - */ - nextLink?: string; -} - /** * Properties of the Partner Topic update. */ export interface PartnerTopicUpdateParameters { /** - * Tags of the partner topic. + * Tags of the Partner Topic resource. */ tags?: { [propertyName: string]: string }; + /** + * Identity information for the Partner Topic resource. + */ + identity?: IdentityInfo; } /** @@ -1683,58 +1806,14 @@ export interface PartnerTopic extends TrackedResource { */ partnerTopicFriendlyDescription?: string; /** - * Identity information for the resource. - */ - identity?: IdentityInfo; - /** - * The system metadata relating to this resource. + * The system metadata relating to Partner Topic resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly systemData?: SystemData; -} - -/** - * Properties of a partner topic type. - */ -export interface PartnerTopicType extends Resource { - /** - * Official name of the partner. - */ - partnerName?: string; - /** - * Name of the partner topic type. This name should be unique among all partner topic types - * names. - */ - topicTypeName?: string; /** - * Display Name for the partner topic type. + * Identity information for the Partner Topic resource. */ - displayName?: string; - /** - * Description of the partner topic type. - */ - description?: string; - /** - * URI of the partner website that can be used by Azure customers to setup Event Grid - * integration on an event source. - */ - setupUri?: string; - /** - * Status of whether the customer has authorized a partner to create partner topics - * in the customer's subscription. Possible values include: 'NotApplicable', 'NotAuthorized', - * 'Authorized' - */ - authorizationState?: PartnerTopicTypeAuthorizationState; -} - -/** - * Result of the List Partner Topic Types operation. - */ -export interface PartnerTopicTypesListResult { - /** - * A collection of partner topic types. - */ - value?: PartnerTopicType[]; + identity?: IdentityInfo; } /** @@ -1783,14 +1862,14 @@ export interface SystemTopic extends TrackedResource { */ readonly metricResourceId?: string; /** - * Identity information for the resource. - */ - identity?: IdentityInfo; - /** - * The system metadata relating to this resource. + * The system metadata relating to System Topic resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly systemData?: SystemData; + /** + * Identity information for the resource. + */ + identity?: IdentityInfo; } /** @@ -1825,7 +1904,10 @@ export interface ExtendedLocation { * EventGrid Topic */ export interface Topic extends TrackedResource { - privateEndpointConnections?: PrivateEndpointConnection[]; + /** + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; /** * Provisioning state of the topic. Possible values include: 'Creating', 'Updating', 'Deleting', * 'Succeeded', 'Canceled', 'Failed' @@ -1858,7 +1940,7 @@ export interface Topic extends TrackedResource { * This determines if traffic is allowed over public network. By default it is enabled. * You can further restrict to specific IPs by configuring . Possible values include: 'Enabled', 'Disabled' + * />. Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'. */ publicNetworkAccess?: PublicNetworkAccess; /** @@ -1866,6 +1948,12 @@ export interface Topic extends TrackedResource { * considered only if PublicNetworkAccess is enabled. */ inboundIpRules?: InboundIpRule[]; + /** + * This boolean is used to enable or disable local auth. Default value is false. When the + * property is set to true, only AAD token will be used to authenticate if user is allowed to + * publish to the topic. Default value: false. + */ + disableLocalAuth?: boolean; /** * The Sku pricing tier for the topic. */ @@ -1882,6 +1970,11 @@ export interface Topic extends TrackedResource { * Extended location of the resource. */ extendedLocation?: ExtendedLocation; + /** + * The system metadata relating to Topic resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -1889,11 +1982,11 @@ export interface Topic extends TrackedResource { */ export interface TopicUpdateParameters { /** - * Tags of the resource. + * Tags of the Topic resource. */ tags?: { [propertyName: string]: string }; /** - * Resource identity information. + * Topic resource identity information. */ identity?: IdentityInfo; /** @@ -1908,6 +2001,12 @@ export interface TopicUpdateParameters { * considered only if PublicNetworkAccess is enabled. */ inboundIpRules?: InboundIpRule[]; + /** + * This boolean is used to enable or disable local auth. Default value is false. When the + * property is set to true, only AAD token will be used to authenticate if user is allowed to + * publish to the topic. + */ + disableLocalAuth?: boolean; /** * The Sku pricing tier for the topic. */ @@ -3189,12 +3288,12 @@ export interface DomainsListResult extends Array { /** * @interface - * Result of the List Domain Topics operation + * Result of the List Domain Topics operation. * @extends Array */ export interface DomainTopicsListResult extends Array { /** - * A link for the next page of domain topics + * A link for the next page of domain topics. */ nextLink?: string; } @@ -3396,6 +3495,14 @@ export type Sku = 'Basic' | 'Premium'; */ export type IdentityType = 'None' | 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned'; +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + /** * Defines values for DomainTopicProvisioningState. * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed' @@ -3421,14 +3528,6 @@ export type EventChannelProvisioningState = 'Creating' | 'Updating' | 'Deleting' */ export type PartnerTopicReadinessState = 'NotActivatedByUserYet' | 'ActivatedByUser' | 'DeactivatedByUser' | 'DeletedByUser'; -/** - * Defines values for CreatedByType. - * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' - * @readonly - * @enum {string} - */ -export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; - /** * Defines values for EventSubscriptionProvisioningState. * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed', @@ -3494,14 +3593,6 @@ export type PartnerTopicProvisioningState = 'Creating' | 'Updating' | 'Deleting' */ export type PartnerTopicActivationState = 'NeverActivated' | 'Activated' | 'Deactivated'; -/** - * Defines values for PartnerTopicTypeAuthorizationState. - * Possible values include: 'NotApplicable', 'NotAuthorized', 'Authorized' - * @readonly - * @enum {string} - */ -export type PartnerTopicTypeAuthorizationState = 'NotApplicable' | 'NotAuthorized' | 'Authorized'; - /** * Defines values for TopicProvisioningState. * Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed' @@ -3536,35 +3627,35 @@ export type TopicTypeProvisioningState = 'Creating' | 'Updating' | 'Deleting' | /** * Defines values for ParentType. - * Possible values include: 'topics', 'domains' + * Possible values include: 'topics', 'domains', 'partnerNamespaces' * @readonly * @enum {string} */ -export type ParentType = 'topics' | 'domains'; +export type ParentType = 'topics' | 'domains' | 'partnerNamespaces'; /** * Defines values for ParentType1. - * Possible values include: 'topics', 'domains' + * Possible values include: 'topics', 'domains', 'partnerNamespaces' * @readonly * @enum {string} */ -export type ParentType1 = 'topics' | 'domains'; +export type ParentType1 = 'topics' | 'domains' | 'partnerNamespaces'; /** * Defines values for ParentType2. - * Possible values include: 'topics', 'domains' + * Possible values include: 'topics', 'domains', 'partnerNamespaces' * @readonly * @enum {string} */ -export type ParentType2 = 'topics' | 'domains'; +export type ParentType2 = 'topics' | 'domains' | 'partnerNamespaces'; /** * Defines values for ParentType3. - * Possible values include: 'topics', 'domains' + * Possible values include: 'topics', 'domains', 'partnerNamespaces' * @readonly * @enum {string} */ -export type ParentType3 = 'topics' | 'domains'; +export type ParentType3 = 'topics' | 'domains' | 'partnerNamespaces'; /** * Contains response data for the get operation. @@ -5206,26 +5297,6 @@ export type PartnerRegistrationsListByResourceGroupResponse = PartnerRegistratio }; }; -/** - * Contains response data for the list operation. - */ -export type PartnerRegistrationsListResponse = PartnerRegistrationsListResult & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: PartnerRegistrationsListResult; - }; -}; - /** * Contains response data for the listBySubscriptionNext operation. */ diff --git a/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts index bc21a5531e3e..47fb345ddabe 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/mappers.ts @@ -181,6 +181,7 @@ export const ResourceSku: msRest.CompositeMapper = { modelProperties: { name: { serializedName: "name", + defaultValue: 'Basic', type: { name: "String" } @@ -373,6 +374,52 @@ export const TrackedResource: msRest.CompositeMapper = { } }; +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + export const Domain: msRest.CompositeMapper = { serializedName: "Domain", type: { @@ -381,6 +428,7 @@ export const Domain: msRest.CompositeMapper = { modelProperties: { ...TrackedResource.type.modelProperties, privateEndpointConnections: { + readOnly: true, serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", @@ -429,6 +477,7 @@ export const Domain: msRest.CompositeMapper = { }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", + defaultValue: 'Enabled', type: { name: "String" } @@ -445,6 +494,27 @@ export const Domain: msRest.CompositeMapper = { } } }, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", + defaultValue: false, + type: { + name: "Boolean" + } + }, + autoCreateTopicWithFirstSubscription: { + serializedName: "properties.autoCreateTopicWithFirstSubscription", + defaultValue: true, + type: { + name: "Boolean" + } + }, + autoDeleteTopicWithLastSubscription: { + serializedName: "properties.autoDeleteTopicWithLastSubscription", + defaultValue: true, + type: { + name: "Boolean" + } + }, sku: { serializedName: "sku", type: { @@ -458,6 +528,14 @@ export const Domain: msRest.CompositeMapper = { name: "Composite", className: "IdentityInfo" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -498,6 +576,24 @@ export const DomainUpdateParameters: msRest.CompositeMapper = { } } }, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", + type: { + name: "Boolean" + } + }, + autoCreateTopicWithFirstSubscription: { + serializedName: "properties.autoCreateTopicWithFirstSubscription", + type: { + name: "Boolean" + } + }, + autoDeleteTopicWithLastSubscription: { + serializedName: "properties.autoDeleteTopicWithLastSubscription", + type: { + name: "Boolean" + } + }, identity: { serializedName: "identity", type: { @@ -563,10 +659,19 @@ export const DomainTopic: msRest.CompositeMapper = { modelProperties: { ...Resource.type.modelProperties, provisioningState: { + readOnly: true, serializedName: "properties.provisioningState", type: { name: "String" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -652,6 +757,7 @@ export const EventChannelFilter: msRest.CompositeMapper = { modelProperties: { enableAdvancedFilteringOnArrays: { serializedName: "enableAdvancedFilteringOnArrays", + defaultValue: false, type: { name: "Boolean" } @@ -1091,52 +1197,6 @@ export const IsNotNullAdvancedFilter: msRest.CompositeMapper = { } }; -export const SystemData: msRest.CompositeMapper = { - serializedName: "systemData", - type: { - name: "Composite", - className: "SystemData", - modelProperties: { - createdBy: { - serializedName: "createdBy", - type: { - name: "String" - } - }, - createdByType: { - serializedName: "createdByType", - type: { - name: "String" - } - }, - createdAt: { - serializedName: "createdAt", - type: { - name: "DateTime" - } - }, - lastModifiedBy: { - serializedName: "lastModifiedBy", - type: { - name: "String" - } - }, - lastModifiedByType: { - serializedName: "lastModifiedByType", - type: { - name: "String" - } - }, - lastModifiedAt: { - serializedName: "lastModifiedAt", - type: { - name: "DateTime" - } - } - } - } -}; - export const EventChannel: msRest.CompositeMapper = { serializedName: "EventChannel", type: { @@ -1337,12 +1397,14 @@ export const RetryPolicy: msRest.CompositeMapper = { modelProperties: { maxDeliveryAttempts: { serializedName: "maxDeliveryAttempts", + defaultValue: 30, type: { name: "Number" } }, eventTimeToLiveInMinutes: { serializedName: "eventTimeToLiveInMinutes", + defaultValue: 1440, type: { name: "Number" } @@ -1518,12 +1580,14 @@ export const WebHookEventSubscriptionDestination: msRest.CompositeMapper = { }, maxEventsPerBatch: { serializedName: "properties.maxEventsPerBatch", + defaultValue: 1, type: { name: "Number" } }, preferredBatchSizeInKilobytes: { serializedName: "properties.preferredBatchSizeInKilobytes", + defaultValue: 64, type: { name: "Number" } @@ -1728,12 +1792,14 @@ export const AzureFunctionEventSubscriptionDestination: msRest.CompositeMapper = }, maxEventsPerBatch: { serializedName: "properties.maxEventsPerBatch", + defaultValue: 1, type: { name: "Number" } }, preferredBatchSizeInKilobytes: { serializedName: "properties.preferredBatchSizeInKilobytes", + defaultValue: 64, type: { name: "Number" } @@ -1815,6 +1881,7 @@ export const EventSubscription: msRest.CompositeMapper = { }, eventDeliverySchema: { serializedName: "properties.eventDeliverySchema", + defaultValue: 'EventGridSchema', type: { name: "String" } @@ -2024,6 +2091,12 @@ export const Operation: msRest.CompositeMapper = { name: "String" } }, + isDataAction: { + serializedName: "isDataAction", + type: { + name: "Boolean" + } + }, properties: { serializedName: "properties", type: { @@ -2041,6 +2114,19 @@ export const PartnerNamespace: msRest.CompositeMapper = { className: "PartnerNamespace", modelProperties: { ...TrackedResource.type.modelProperties, + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2061,6 +2147,32 @@ export const PartnerNamespace: msRest.CompositeMapper = { name: "String" } }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + defaultValue: 'Enabled', + type: { + name: "String" + } + }, + inboundIpRules: { + serializedName: "properties.inboundIpRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InboundIpRule" + } + } + } + }, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", + defaultValue: false, + type: { + name: "Boolean" + } + }, systemData: { readOnly: true, serializedName: "systemData", @@ -2089,6 +2201,30 @@ export const PartnerNamespaceUpdateParameters: msRest.CompositeMapper = { } } } + }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + inboundIpRules: { + serializedName: "properties.inboundIpRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InboundIpRule" + } + } + } + }, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", + type: { + name: "Boolean" + } } } } @@ -2333,34 +2469,6 @@ export const EventType: msRest.CompositeMapper = { } }; -export const PartnerRegistrationEventTypesListResult: msRest.CompositeMapper = { - serializedName: "PartnerRegistrationEventTypesListResult", - type: { - name: "Composite", - className: "PartnerRegistrationEventTypesListResult", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EventType" - } - } - } - }, - nextLink: { - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const PartnerTopicUpdateParameters: msRest.CompositeMapper = { serializedName: "PartnerTopicUpdateParameters", type: { @@ -2377,6 +2485,13 @@ export const PartnerTopicUpdateParameters: msRest.CompositeMapper = { } } } + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityInfo" + } } } } @@ -2420,13 +2535,6 @@ export const PartnerTopic: msRest.CompositeMapper = { name: "String" } }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "IdentityInfo" - } - }, systemData: { readOnly: true, serializedName: "systemData", @@ -2434,74 +2542,12 @@ export const PartnerTopic: msRest.CompositeMapper = { name: "Composite", className: "SystemData" } - } - } - } -}; - -export const PartnerTopicType: msRest.CompositeMapper = { - serializedName: "PartnerTopicType", - type: { - name: "Composite", - className: "PartnerTopicType", - modelProperties: { - ...Resource.type.modelProperties, - partnerName: { - serializedName: "properties.partnerName", - type: { - name: "String" - } - }, - topicTypeName: { - serializedName: "properties.topicTypeName", - type: { - name: "String" - } - }, - displayName: { - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - description: { - serializedName: "properties.description", - type: { - name: "String" - } }, - setupUri: { - serializedName: "properties.setupUri", - type: { - name: "String" - } - }, - authorizationState: { - serializedName: "properties.authorizationState", - type: { - name: "String" - } - } - } - } -}; - -export const PartnerTopicTypesListResult: msRest.CompositeMapper = { - serializedName: "PartnerTopicTypesListResult", - type: { - name: "Composite", - className: "PartnerTopicTypesListResult", - modelProperties: { - value: { - serializedName: "value", + identity: { + serializedName: "identity", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "PartnerTopicType" - } - } + name: "Composite", + className: "IdentityInfo" } } } @@ -2603,13 +2649,6 @@ export const SystemTopic: msRest.CompositeMapper = { name: "String" } }, - identity: { - serializedName: "identity", - type: { - name: "Composite", - className: "IdentityInfo" - } - }, systemData: { readOnly: true, serializedName: "systemData", @@ -2617,6 +2656,13 @@ export const SystemTopic: msRest.CompositeMapper = { name: "Composite", className: "SystemData" } + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "IdentityInfo" + } } } } @@ -2680,6 +2726,7 @@ export const Topic: msRest.CompositeMapper = { modelProperties: { ...TrackedResource.type.modelProperties, privateEndpointConnections: { + readOnly: true, serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", @@ -2728,6 +2775,7 @@ export const Topic: msRest.CompositeMapper = { }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", + defaultValue: 'Enabled', type: { name: "String" } @@ -2744,6 +2792,13 @@ export const Topic: msRest.CompositeMapper = { } } }, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", + defaultValue: false, + type: { + name: "Boolean" + } + }, sku: { serializedName: "sku", type: { @@ -2770,6 +2825,14 @@ export const Topic: msRest.CompositeMapper = { name: "Composite", className: "ExtendedLocation" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -2817,6 +2880,12 @@ export const TopicUpdateParameters: msRest.CompositeMapper = { } } }, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", + type: { + name: "Boolean" + } + }, sku: { serializedName: "sku", type: { diff --git a/sdk/eventgrid/arm-eventgrid/src/models/partnerNamespacesMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/partnerNamespacesMappers.ts index 5317a9fa5261..b7321832bd5d 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/partnerNamespacesMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/partnerNamespacesMappers.ts @@ -57,7 +57,6 @@ export { PartnerNamespaceUpdateParameters, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/partnerRegistrationsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/partnerRegistrationsMappers.ts index a9ede6c017ec..6b5bed65d8f9 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/partnerRegistrationsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/partnerRegistrationsMappers.ts @@ -55,7 +55,6 @@ export { PartnerRegistrationsListResult, PartnerRegistrationUpdateParameters, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicEventSubscriptionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicEventSubscriptionsMappers.ts index f0ff5301de8e..62a9a4d4958e 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicEventSubscriptionsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicEventSubscriptionsMappers.ts @@ -57,7 +57,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicsMappers.ts index 65359234294b..6bd2de64ab0a 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/partnerTopicsMappers.ts @@ -54,7 +54,6 @@ export { PartnerRegistration, PartnerTopic, PartnerTopicsListResult, - PartnerTopicType, PartnerTopicUpdateParameters, PrivateEndpoint, PrivateEndpointConnection, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts index 100abc468699..72af2f510a3b 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/privateEndpointConnectionsMappers.ts @@ -53,7 +53,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionListResult, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/systemTopicEventSubscriptionsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/systemTopicEventSubscriptionsMappers.ts index f0ff5301de8e..62a9a4d4958e 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/systemTopicEventSubscriptionsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/systemTopicEventSubscriptionsMappers.ts @@ -57,7 +57,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/systemTopicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/systemTopicsMappers.ts index 0cf533c42022..a7620c6be7d7 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/systemTopicsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/systemTopicsMappers.ts @@ -53,7 +53,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts index 40f1f1c6813d..60e1e18de7e0 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/topicTypesMappers.ts @@ -54,7 +54,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts b/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts index 89226e19cc01..493840462550 100644 --- a/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts +++ b/sdk/eventgrid/arm-eventgrid/src/models/topicsMappers.ts @@ -54,7 +54,6 @@ export { PartnerNamespace, PartnerRegistration, PartnerTopic, - PartnerTopicType, PrivateEndpoint, PrivateEndpointConnection, Resource, diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts b/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts index cf39abb48fd9..5d0b701ca416 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/domainTopics.ts @@ -293,6 +293,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { + 200: {}, 202: {}, 204: {}, default: { diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts b/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts index 643757adfeca..62ff03d132cb 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/domains.ts @@ -526,6 +526,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { + 200: {}, 202: {}, 204: {}, default: { diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/partnerRegistrations.ts b/sdk/eventgrid/arm-eventgrid/src/operations/partnerRegistrations.ts index b3eab50bd3ed..343ca64c1815 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/partnerRegistrations.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/partnerRegistrations.ts @@ -219,31 +219,6 @@ export class PartnerRegistrations { callback) as Promise; } - /** - * List all partners registrations. - * @summary List all available partners registrations. - * @param [options] The optional parameters - * @returns Promise - */ - list(options?: msRest.RequestOptionsBase): Promise; - /** - * @param callback The callback - */ - list(callback: msRest.ServiceCallback): void; - /** - * @param options The optional parameters - * @param callback The callback - */ - list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - options - }, - listOperationSpec, - callback) as Promise; - } - /** * List all the partner registrations under an Azure subscription. * @summary List partner registrations under an Azure subscription. @@ -474,26 +449,6 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { serializer }; -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "providers/Microsoft.EventGrid/partnerRegistrations", - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.PartnerRegistrationsListResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/privateEndpointConnections.ts b/sdk/eventgrid/arm-eventgrid/src/operations/privateEndpointConnections.ts index 4a35ad9c8679..09ade02dc5c4 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/privateEndpointConnections.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/privateEndpointConnections.ts @@ -27,13 +27,13 @@ export class PrivateEndpointConnections { } /** - * Get a specific private endpoint connection under a topic or domain. + * Get a specific private endpoint connection under a topic, domain, or partner namespace. * @summary Get a specific private endpoint connection. * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateEndpointConnectionName The name of the private endpoint connection connection. * @param [options] The optional parameters * @returns Promise @@ -41,20 +41,20 @@ export class PrivateEndpointConnections { get(resourceGroupName: string, parentType: Models.ParentType, parentName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateEndpointConnectionName The name of the private endpoint connection connection. * @param callback The callback */ get(resourceGroupName: string, parentType: Models.ParentType, parentName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateEndpointConnectionName The name of the private endpoint connection connection. * @param options The optional parameters * @param callback The callback @@ -74,13 +74,13 @@ export class PrivateEndpointConnections { } /** - * Update a specific private endpoint connection under a topic or domain. + * Update a specific private endpoint connection under a topic, domain or partner namespace. * @summary Update a specific private endpoint connection. * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateEndpointConnectionName The name of the private endpoint connection connection. * @param privateEndpointConnection The private endpoint connection object to update. * @param [options] The optional parameters @@ -92,13 +92,13 @@ export class PrivateEndpointConnections { } /** - * Delete a specific private endpoint connection under a topic or domain. + * Delete a specific private endpoint connection under a topic, domain, or partner namespace. * @summary Delete a specific private endpoint connection. * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateEndpointConnectionName The name of the private endpoint connection connection. * @param [options] The optional parameters * @returns Promise @@ -109,32 +109,32 @@ export class PrivateEndpointConnections { } /** - * Get all private endpoint connections under a topic or domain. + * Get all private endpoint connections under a topic, domain, or partner namespace. * @summary Lists all private endpoint connections under a resource. * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param [options] The optional parameters * @returns Promise */ listByResource(resourceGroupName: string, parentType: Models.ParentType3, parentName: string, options?: Models.PrivateEndpointConnectionsListByResourceOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param callback The callback */ listByResource(resourceGroupName: string, parentType: Models.ParentType3, parentName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param options The optional parameters * @param callback The callback */ @@ -152,13 +152,13 @@ export class PrivateEndpointConnections { } /** - * Update a specific private endpoint connection under a topic or domain. + * Update a specific private endpoint connection under a topic, domain or partner namespace. * @summary Update a specific private endpoint connection. * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateEndpointConnectionName The name of the private endpoint connection connection. * @param privateEndpointConnection The private endpoint connection object to update. * @param [options] The optional parameters @@ -179,13 +179,13 @@ export class PrivateEndpointConnections { } /** - * Delete a specific private endpoint connection under a topic or domain. + * Delete a specific private endpoint connection under a topic, domain, or partner namespace. * @summary Delete a specific private endpoint connection. * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * Possible values include: 'topics', 'domains' - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. Possible values include: 'topics', 'domains', 'partnerNamespaces' + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateEndpointConnectionName The name of the private endpoint connection connection. * @param [options] The optional parameters * @returns Promise @@ -204,7 +204,7 @@ export class PrivateEndpointConnections { } /** - * Get all private endpoint connections under a topic or domain. + * Get all private endpoint connections under a topic, domain, or partner namespace. * @summary Lists all private endpoint connections under a resource. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters diff --git a/sdk/eventgrid/arm-eventgrid/src/operations/privateLinkResources.ts b/sdk/eventgrid/arm-eventgrid/src/operations/privateLinkResources.ts index eb9e8318d193..418811b13ebb 100644 --- a/sdk/eventgrid/arm-eventgrid/src/operations/privateLinkResources.ts +++ b/sdk/eventgrid/arm-eventgrid/src/operations/privateLinkResources.ts @@ -29,9 +29,10 @@ export class PrivateLinkResources { * Get properties of a private link resource. * @summary Get a private link resource. * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateLinkResourceName The name of private link resource. * @param [options] The optional parameters * @returns Promise @@ -39,18 +40,20 @@ export class PrivateLinkResources { get(resourceGroupName: string, parentType: string, parentName: string, privateLinkResourceName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateLinkResourceName The name of private link resource. * @param callback The callback */ get(resourceGroupName: string, parentType: string, parentName: string, privateLinkResourceName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param privateLinkResourceName The name of private link resource. * @param options The optional parameters * @param callback The callback @@ -70,29 +73,32 @@ export class PrivateLinkResources { } /** - * List all the private link resources under a topic or domain. - * @summary List private link resources under specific topic or domain. + * List all the private link resources under a topic, domain, or partner namespace. + * @summary List private link resources under specific topic, domain, or partner namespace. * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param [options] The optional parameters * @returns Promise */ listByResource(resourceGroupName: string, parentType: string, parentName: string, options?: Models.PrivateLinkResourcesListByResourceOptionalParams): Promise; /** * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param callback The callback */ listByResource(resourceGroupName: string, parentType: string, parentName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group within the user's subscription. - * @param parentType The type of the parent resource. This can be either \'topics\' or \'domains\'. - * @param parentName The name of the parent resource (namely, either, the topic name or domain - * name). + * @param parentType The type of the parent resource. This can be either \'topics\', \'domains\', + * or \'partnerNamespaces\'. + * @param parentName The name of the parent resource (namely, either, the topic name, domain name, + * or partner namespace name). * @param options The optional parameters * @param callback The callback */ @@ -110,8 +116,8 @@ export class PrivateLinkResources { } /** - * List all the private link resources under a topic or domain. - * @summary List private link resources under specific topic or domain. + * List all the private link resources under a topic, domain, or partner namespace. + * @summary List private link resources under specific topic, domain, or partner namespace. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise From 93d102be2ed1b6f36abd06a799b529b87b737997 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Wed, 23 Jun 2021 22:54:23 -0700 Subject: [PATCH 039/134] Bump up version for storage packages (#15849) --- sdk/storage/storage-file-datalake/CHANGELOG.md | 11 +++++++++++ sdk/storage/storage-file-datalake/package.json | 2 +- .../src/generated/src/storageClientContext.ts | 2 +- .../storage-file-datalake/src/utils/constants.ts | 2 +- sdk/storage/storage-file-datalake/swagger/README.md | 2 +- sdk/storage/storage-file-share/CHANGELOG.md | 11 +++++++++++ sdk/storage/storage-file-share/package.json | 2 +- .../src/generated/src/storageClientContext.ts | 2 +- sdk/storage/storage-file-share/src/utils/constants.ts | 2 +- sdk/storage/storage-file-share/swagger/README.md | 2 +- sdk/storage/storage-queue/CHANGELOG.md | 11 +++++++++++ sdk/storage/storage-queue/package.json | 2 +- .../src/generated/src/storageClientContext.ts | 2 +- sdk/storage/storage-queue/src/utils/constants.ts | 2 +- sdk/storage/storage-queue/swagger/README.md | 2 +- 15 files changed, 45 insertions(+), 12 deletions(-) diff --git a/sdk/storage/storage-file-datalake/CHANGELOG.md b/sdk/storage/storage-file-datalake/CHANGELOG.md index fd8fe1d3aca4..73aa81c900f7 100644 --- a/sdk/storage/storage-file-datalake/CHANGELOG.md +++ b/sdk/storage/storage-file-datalake/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 12.5.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 12.5.0 (2021-06-09) - Includes all features released in 12.5.0-beta.1. diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 2ec07e79261c..0e77f1218b1b 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -1,6 +1,6 @@ { "name": "@azure/storage-file-datalake", - "version": "12.5.0", + "version": "12.5.1", "description": "Microsoft Azure Storage SDK for JavaScript - DataLake", "sdk-type": "client", "main": "./dist/index.js", diff --git a/sdk/storage/storage-file-datalake/src/generated/src/storageClientContext.ts b/sdk/storage/storage-file-datalake/src/generated/src/storageClientContext.ts index 4360a5939bc2..c3fe998ea423 100644 --- a/sdk/storage/storage-file-datalake/src/generated/src/storageClientContext.ts +++ b/sdk/storage/storage-file-datalake/src/generated/src/storageClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { StorageClientOptionalParams } from "./models"; const packageName = "azure-storage-datalake"; -const packageVersion = "1.0.0"; +const packageVersion = "12.5.1"; export class StorageClientContext extends coreHttp.ServiceClient { url: string; diff --git a/sdk/storage/storage-file-datalake/src/utils/constants.ts b/sdk/storage/storage-file-datalake/src/utils/constants.ts index 93e380a1b44e..c42f0120f499 100644 --- a/sdk/storage/storage-file-datalake/src/utils/constants.ts +++ b/sdk/storage/storage-file-datalake/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.5.0"; +export const SDK_VERSION: string = "12.5.1"; export const SERVICE_VERSION: string = "2020-06-12"; export const KB: number = 1024; diff --git a/sdk/storage/storage-file-datalake/swagger/README.md b/sdk/storage/storage-file-datalake/swagger/README.md index b35029dcd2d1..65a81304f2bf 100644 --- a/sdk/storage/storage-file-datalake/swagger/README.md +++ b/sdk/storage/storage-file-datalake/swagger/README.md @@ -20,7 +20,7 @@ disable-async-iterators: true add-credentials: false use-extension: "@autorest/typescript": "6.0.0-dev.20210223.1" -package-version: 12.5.0 +package-version: 12.5.1 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-file-share/CHANGELOG.md b/sdk/storage/storage-file-share/CHANGELOG.md index 46d0d1dd8698..4539cc4a333c 100644 --- a/sdk/storage/storage-file-share/CHANGELOG.md +++ b/sdk/storage/storage-file-share/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 12.6.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 12.6.0 (2021-06-09) - Updated Azure Storage Service API version to 2020-08-04. diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index ffdd5c71ca1c..3213ecede8a8 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-file-share", "sdk-type": "client", - "version": "12.6.0", + "version": "12.6.1", "description": "Microsoft Azure Storage SDK for JavaScript - File", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", diff --git a/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts b/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts index 45833ae5ab6d..56ff8b5b4e72 100644 --- a/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts +++ b/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { StorageClientOptionalParams } from "./models"; const packageName = "azure-storage-file-share"; -const packageVersion = "12.6.0"; +const packageVersion = "12.6.1"; export class StorageClientContext extends coreHttp.ServiceClient { url: string; diff --git a/sdk/storage/storage-file-share/src/utils/constants.ts b/sdk/storage/storage-file-share/src/utils/constants.ts index 912a37fc20b8..6336e306953f 100644 --- a/sdk/storage/storage-file-share/src/utils/constants.ts +++ b/sdk/storage/storage-file-share/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.6.0"; +export const SDK_VERSION: string = "12.6.1"; export const SERVICE_VERSION: string = "2020-08-04"; export const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB diff --git a/sdk/storage/storage-file-share/swagger/README.md b/sdk/storage/storage-file-share/swagger/README.md index 0169570adf2d..6569b26e8b7b 100644 --- a/sdk/storage/storage-file-share/swagger/README.md +++ b/sdk/storage/storage-file-share/swagger/README.md @@ -20,7 +20,7 @@ disable-async-iterators: true add-credentials: false use-extension: "@autorest/typescript": "6.0.0-dev.20210218.1" -package-version: 12.6.0 +package-version: 12.6.1 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-queue/CHANGELOG.md b/sdk/storage/storage-queue/CHANGELOG.md index 293a7db28e7f..e965acc7ec09 100644 --- a/sdk/storage/storage-queue/CHANGELOG.md +++ b/sdk/storage/storage-queue/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 12.5.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 12.5.0 (2021-06-09) - Updated Azure Storage Service API version to 2020-08-04. diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index bf1361417121..2d3aa290f0e7 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-queue", "sdk-type": "client", - "version": "12.5.0", + "version": "12.5.1", "description": "Microsoft Azure Storage SDK for JavaScript - Queue", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", diff --git a/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts b/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts index 8f8841d4ae72..ef6bea647b30 100644 --- a/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts +++ b/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { StorageClientOptionalParams } from "./models"; const packageName = "azure-storage-queue"; -const packageVersion = "12.5.0"; +const packageVersion = "12.5.1"; export class StorageClientContext extends coreHttp.ServiceClient { url: string; diff --git a/sdk/storage/storage-queue/src/utils/constants.ts b/sdk/storage/storage-queue/src/utils/constants.ts index 84824cc350ea..3670be345055 100644 --- a/sdk/storage/storage-queue/src/utils/constants.ts +++ b/sdk/storage/storage-queue/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.5.0"; +export const SDK_VERSION: string = "12.5.1"; export const SERVICE_VERSION: string = "2020-08-04"; /** diff --git a/sdk/storage/storage-queue/swagger/README.md b/sdk/storage/storage-queue/swagger/README.md index 9da3b7af00d9..1e9c6b6797d2 100644 --- a/sdk/storage/storage-queue/swagger/README.md +++ b/sdk/storage/storage-queue/swagger/README.md @@ -20,7 +20,7 @@ disable-async-iterators: true add-credentials: false use-extension: "@autorest/typescript": "6.0.0-dev.20210218.1" -package-version: 12.5.0 +package-version: 12.5.1 ``` ## Customizations for Track 2 Generator From 23bb2708e6ddb766a1e714afdf67f5c550eb7d01 Mon Sep 17 00:00:00 2001 From: Jose Manuel Heredia Hidalgo Date: Thu, 24 Jun 2021 00:11:38 -0700 Subject: [PATCH 040/134] [Core Rest] Add pagination helper for rest clients @azure-rest/core-client-paging (#15831) * Prototype paging helper function * Use paginate in farmbeats * Updates * Update farmbeats * Address PR feedback * Move paging to its own package * Use REST Error * Update types output * update home page * Explicit return RestError * Move paging to its own file and update changelog and versions --- common/config/rush/pnpm-lock.yaml | 44 ++- rush.json | 5 + .../agrifood-farming-rest/CHANGELOG.md | 3 + .../agrifood-farming-rest/package.json | 3 +- .../review/agrifood-farming.api.md | 15 + .../samples-dev/listFarmers.ts | 30 +- .../agrifood-farming-rest/src/index.ts | 2 + .../agrifood-farming-rest/src/paging.ts | 37 +++ .../test/public/smoke.spec.ts | 11 +- .../confidential-ledger-rest/package.json | 2 +- sdk/core/ci.yml | 2 + sdk/core/core-client-paging-rest/CHANGELOG.md | 5 + sdk/core/core-client-paging-rest/LICENSE | 21 ++ sdk/core/core-client-paging-rest/README.md | 112 ++++++++ .../api-extractor.json | 31 ++ .../core-client-paging-rest/karma.conf.js | 121 ++++++++ sdk/core/core-client-paging-rest/package.json | 101 +++++++ .../review/core-client-paging.api.md | 23 ++ .../core-client-paging-rest/rollup.config.js | 2 + sdk/core/core-client-paging-rest/src/index.ts | 10 + .../core-client-paging-rest/src/paginate.ts | 144 ++++++++++ .../src/url.browser.ts | 9 + sdk/core/core-client-paging-rest/src/url.ts | 4 + .../test/paginate.spec.ts | 264 ++++++++++++++++++ .../core-client-paging-rest/tsconfig.json | 8 + sdk/core/core-client-paging-rest/tsdoc.json | 4 + sdk/core/core-client-rest/CHANGELOG.md | 9 +- sdk/core/core-client-rest/api-extractor.json | 4 +- sdk/core/core-client-rest/karma.conf.js | 8 +- sdk/core/core-client-rest/package.json | 4 +- .../review/core-client.api.md | 13 +- sdk/core/core-client-rest/src/common.ts | 4 + sdk/core/core-client-rest/src/getClient.ts | 84 +++++- sdk/core/core-client-rest/src/index.ts | 1 + .../core-client-rest/src/pathClientTypes.ts | 26 +- sdk/core/core-client-rest/src/restError.ts | 30 ++ sdk/core/core-client-rest/tsconfig.json | 2 +- .../ai-document-translator-rest/package.json | 2 +- sdk/purview/purview-catalog-rest/package.json | 2 +- .../purview-scanning-rest/package.json | 2 +- 40 files changed, 1146 insertions(+), 58 deletions(-) create mode 100644 sdk/agrifood/agrifood-farming-rest/src/paging.ts create mode 100644 sdk/core/core-client-paging-rest/CHANGELOG.md create mode 100644 sdk/core/core-client-paging-rest/LICENSE create mode 100644 sdk/core/core-client-paging-rest/README.md create mode 100644 sdk/core/core-client-paging-rest/api-extractor.json create mode 100644 sdk/core/core-client-paging-rest/karma.conf.js create mode 100644 sdk/core/core-client-paging-rest/package.json create mode 100644 sdk/core/core-client-paging-rest/review/core-client-paging.api.md create mode 100644 sdk/core/core-client-paging-rest/rollup.config.js create mode 100644 sdk/core/core-client-paging-rest/src/index.ts create mode 100644 sdk/core/core-client-paging-rest/src/paginate.ts create mode 100644 sdk/core/core-client-paging-rest/src/url.browser.ts create mode 100644 sdk/core/core-client-paging-rest/src/url.ts create mode 100644 sdk/core/core-client-paging-rest/test/paginate.spec.ts create mode 100644 sdk/core/core-client-paging-rest/tsconfig.json create mode 100644 sdk/core/core-client-paging-rest/tsdoc.json create mode 100644 sdk/core/core-client-rest/src/restError.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 31ffdb1860f2..47e34d984ca1 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -21,6 +21,7 @@ dependencies: '@rush-temp/core-auth': file:projects/core-auth.tgz '@rush-temp/core-client': file:projects/core-client.tgz '@rush-temp/core-client-1': file:projects/core-client-1.tgz + '@rush-temp/core-client-paging': file:projects/core-client-paging.tgz '@rush-temp/core-crypto': file:projects/core-crypto.tgz '@rush-temp/core-http': file:projects/core-http.tgz '@rush-temp/core-lro': file:projects/core-lro.tgz @@ -8154,7 +8155,7 @@ packages: dev: false name: '@rush-temp/agrifood-farming' resolution: - integrity: sha512-F6n2fF7nYjo1puQJoehl5wZ2ETNbVOh5R24BoZf1DpjBylMBLYK9XUk/V4ffDHUFaSl1G+CRuO5d6zPMmqLI2Q== + integrity: sha512-1TBfH8mrt2ib3U1qef5slQiSujNaeVSuPS4ISdNcq6Vu2vUIjiJ1oxuXA6rfaaeSG1mGHp9wJDJ7Li0h5wsF1Q== tarball: file:projects/agrifood-farming.tgz version: 0.0.0 file:projects/ai-anomaly-detector.tgz: @@ -9046,6 +9047,44 @@ packages: integrity: sha512-SG/UNSQX+LFioBKFma6ZxRnA/Z5bzBG+UUyTKgfFLuFFMLHGeKSYfH8yrepW+iivLnbClPQfcVes07ZljoR6vQ== tarball: file:projects/core-client-1.tgz version: 0.0.0 + file:projects/core-client-paging.tgz: + dependencies: + '@azure/core-rest-pipeline': 1.0.4 + '@microsoft/api-extractor': 7.13.2 + '@types/chai': 4.2.19 + '@types/mocha': 7.0.2 + '@types/node': 8.10.66 + chai: 4.3.4 + cross-env: 7.0.3 + eslint: 7.29.0 + inherits: 2.0.4 + karma: 6.3.4 + karma-chrome-launcher: 3.1.0 + karma-coverage: 2.0.3 + karma-edge-launcher: 0.4.2_karma@6.3.4 + karma-env-preprocessor: 0.1.1 + karma-firefox-launcher: 1.3.0 + karma-ie-launcher: 1.0.0_karma@6.3.4 + karma-junit-reporter: 2.0.1_karma@6.3.4 + karma-mocha: 2.0.1 + karma-mocha-reporter: 2.2.5_karma@6.3.4 + karma-sourcemap-loader: 0.3.8 + mocha: 7.2.0 + mocha-junit-reporter: 1.23.3_mocha@7.2.0 + prettier: 2.2.1 + rimraf: 3.0.2 + rollup: 1.32.1 + sinon: 9.2.4 + tslib: 2.3.0 + typedoc: 0.15.2 + typescript: 4.2.4 + util: 0.12.4 + dev: false + name: '@rush-temp/core-client-paging' + resolution: + integrity: sha512-MWsd9fmRdJ/ArkZHl867uBk7W5lA+voMiDFivxzcJSuFVG85nOEPNnoZz8AFlqbnLrhV2r3EOwbsp2M+s3iFHg== + tarball: file:projects/core-client-paging.tgz + version: 0.0.0 file:projects/core-client.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 @@ -9081,7 +9120,7 @@ packages: dev: false name: '@rush-temp/core-client' resolution: - integrity: sha512-KnWCuWw5xZmHZQX21uqtlzRlZe1LZQVtuavo4FBOjiivGamirzND/+QxMOfW7m4DlV/htMeT1bg1CNSxOTVKmA== + integrity: sha512-7b3K4L1f+at6Zz1whbFBdVfAgZlrvpPudcOgwbBeXPyJumHKk4pi5t4LVsKGfTOWxzFv31rPICyaJZ5IncvLhg== tarball: file:projects/core-client.tgz version: 0.0.0 file:projects/core-crypto.tgz: @@ -11919,6 +11958,7 @@ specifiers: '@rush-temp/core-auth': file:./projects/core-auth.tgz '@rush-temp/core-client': file:./projects/core-client.tgz '@rush-temp/core-client-1': file:./projects/core-client-1.tgz + '@rush-temp/core-client-paging': file:./projects/core-client-paging.tgz '@rush-temp/core-crypto': file:./projects/core-crypto.tgz '@rush-temp/core-http': file:./projects/core-http.tgz '@rush-temp/core-lro': file:./projects/core-lro.tgz diff --git a/rush.json b/rush.json index eb5e506f2aeb..ddf01f788db5 100644 --- a/rush.json +++ b/rush.json @@ -436,6 +436,11 @@ "projectFolder": "sdk/core/core-client-rest", "versionPolicyName": "core" }, + { + "packageName": "@azure-rest/core-client-paging", + "projectFolder": "sdk/core/core-client-paging-rest", + "versionPolicyName": "core" + }, { "packageName": "@azure/core-asynciterator-polyfill", "projectFolder": "sdk/core/core-asynciterator-polyfill", diff --git a/sdk/agrifood/agrifood-farming-rest/CHANGELOG.md b/sdk/agrifood/agrifood-farming-rest/CHANGELOG.md index a4eb6307d029..e9261131b5e5 100644 --- a/sdk/agrifood/agrifood-farming-rest/CHANGELOG.md +++ b/sdk/agrifood/agrifood-farming-rest/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.0.0-beta.2 (Unreleased) +### Features Added + +- Export pagination helper function. [#15831](https://github.com/Azure/azure-sdk-for-js/pull/15831) ## 1.0.0-beta.1 (2021-05-26) diff --git a/sdk/agrifood/agrifood-farming-rest/package.json b/sdk/agrifood/agrifood-farming-rest/package.json index 0c27893927cf..f431a0a52a71 100644 --- a/sdk/agrifood/agrifood-farming-rest/package.json +++ b/sdk/agrifood/agrifood-farming-rest/package.json @@ -85,7 +85,8 @@ "autoPublish": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure-rest/core-client": "1.0.0-beta.4", + "@azure-rest/core-client-paging": "1.0.0-beta.1", + "@azure-rest/core-client": "1.0.0-beta.5", "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/agrifood/agrifood-farming-rest/review/agrifood-farming.api.md b/sdk/agrifood/agrifood-farming-rest/review/agrifood-farming.api.md index 3484b5c12ec7..f1b91823a351 100644 --- a/sdk/agrifood/agrifood-farming-rest/review/agrifood-farming.api.md +++ b/sdk/agrifood/agrifood-farming-rest/review/agrifood-farming.api.md @@ -7,6 +7,8 @@ import { Client } from '@azure-rest/core-client'; import { ClientOptions } from '@azure-rest/core-client'; import { HttpResponse } from '@azure-rest/core-client'; +import { PagedAsyncIterableIterator } from '@azure-rest/core-client-paging'; +import { PathUncheckedResponse } from '@azure-rest/core-client'; import { RequestParameters } from '@azure-rest/core-client'; import { TokenCredential } from '@azure/core-auth'; @@ -1921,6 +1923,9 @@ export type GeoJsonObject = Polygon | MultiPolygon | Point; // @public (undocumented) export type GeoJsonObjectType = "Point" | "Polygon" | "MultiPolygon"; +// @public +export type GetArrayType = T extends Array ? TData : never; + // @public (undocumented) export interface HarvestData { area?: Measure; @@ -2589,6 +2594,16 @@ export interface OAuthTokensListQueryParamProperties { minLastModifiedDateTime?: Date; } +// @public +export function paginate(client: Client, initialResponse: TReturn): PagedAsyncIterableIterator, PaginateReturn[]>; + +// @public +export type PaginateReturn = TResult extends { + body: { + value?: infer TPage; + }; +} ? GetArrayType : Array; + // @public (undocumented) export interface Paths1LxjoxzFarmersFarmeridAttachmentsAttachmentidPatchRequestbodyContentMultipartFormDataSchema { createdDateTime?: string; diff --git a/sdk/agrifood/agrifood-farming-rest/samples-dev/listFarmers.ts b/sdk/agrifood/agrifood-farming-rest/samples-dev/listFarmers.ts index bcab0f874357..557886f7a5f8 100644 --- a/sdk/agrifood/agrifood-farming-rest/samples-dev/listFarmers.ts +++ b/sdk/agrifood/agrifood-farming-rest/samples-dev/listFarmers.ts @@ -8,7 +8,7 @@ * @azsdk-weight 20 */ -import FarmBeats, { Farmer } from "@azure-rest/agrifood-farming"; +import FarmBeats, { paginate } from "@azure-rest/agrifood-farming"; import { DefaultAzureCredential } from "@azure/identity"; import dotenv from "dotenv"; @@ -18,34 +18,18 @@ const endpoint = process.env["FARMBEATS_ENDPOINT"] || ""; async function main() { const farming = FarmBeats(endpoint, new DefaultAzureCredential()); + const response = await farming.path("/farmers").get(); - const result = await farming.path("/farmers").get(); - - if (result.status !== "200") { - throw result.body.error?.message; + if (response.status !== "200") { + throw response.body.error || new Error(`Unexpected status code ${response.status}`); } - let farmers: Farmer[] = result.body.value ?? []; - let skipToken = result.body.skipToken; - - // Farmer results may be paginated. In case there are more than one page of farmers - // the service would return a skipToken that can be used for subsequent request to get - // the next page of farmers. Here we'll keep calling until the service stops returning a - // skip token which means that there are no more pages. - while (skipToken) { - const page = await farming.path("/farmers").get({ queryParameters: { $skipToken: skipToken } }); - if (page.status !== "200") { - throw page.body.error; - } - - farmers.concat(page.body.value ?? []); - skipToken = page.body.skipToken; - } + const farmers = paginate(farming, response); // Lof each farmer id - farmers.forEach((farmer) => { + for await (const farmer of farmers) { console.log(farmer.id); - }); + } } main().catch(console.error); diff --git a/sdk/agrifood/agrifood-farming-rest/src/index.ts b/sdk/agrifood/agrifood-farming-rest/src/index.ts index 9a420561b89e..8bc909814a2a 100644 --- a/sdk/agrifood/agrifood-farming-rest/src/index.ts +++ b/sdk/agrifood/agrifood-farming-rest/src/index.ts @@ -8,4 +8,6 @@ export * from "./models"; export * from "./parameters"; export * from "./responses"; +export { paginate, PaginateReturn, GetArrayType } from "./paging"; + export default FarmBeats; diff --git a/sdk/agrifood/agrifood-farming-rest/src/paging.ts b/sdk/agrifood/agrifood-farming-rest/src/paging.ts new file mode 100644 index 000000000000..2dabe2eeb0d0 --- /dev/null +++ b/sdk/agrifood/agrifood-farming-rest/src/paging.ts @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { paginateResponse, PagedAsyncIterableIterator } from "@azure-rest/core-client-paging"; +import { Client, PathUncheckedResponse } from "@azure-rest/core-client"; + +/** + * Helper type to extract the type of an array + */ +export type GetArrayType = T extends Array ? TData : never; + +/** + * Helper type to infer the Type of the paged elements from the response type + * This type is generated based on the swagger information for x-ms-pageable + * specifically on the itemName property which indicates the property of the response + * where the page items are found. The default value is `value`. + * This type will allow us to provide strongly typed Iterator based on the response we get as second parameter + */ +export type PaginateReturn = TResult extends { + body: { value?: infer TPage }; +} + ? GetArrayType + : Array; + +/** + * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be + * obtained from the swagger + * @param client - Client to use for sending the next page requests + * @param initialResponse - Initial response containing the nextLink and current page of elements + * @returns - PagedAsyncIterableIterator to iterate the elements + */ +export function paginate( + client: Client, + initialResponse: TReturn +): PagedAsyncIterableIterator, PaginateReturn[]> { + return paginateResponse>(client, initialResponse); +} diff --git a/sdk/agrifood/agrifood-farming-rest/test/public/smoke.spec.ts b/sdk/agrifood/agrifood-farming-rest/test/public/smoke.spec.ts index a8388c21c081..ffe9c1cd6ebe 100644 --- a/sdk/agrifood/agrifood-farming-rest/test/public/smoke.spec.ts +++ b/sdk/agrifood/agrifood-farming-rest/test/public/smoke.spec.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { FarmBeatsRestClient } from "../../src"; +import { FarmBeatsRestClient, Farmer, paginate } from "../../src"; import { Recorder } from "@azure/test-utils-recorder"; import { assert } from "chai"; @@ -29,7 +29,14 @@ describe("List farmers", () => { assert.fail(`GET "/farmers" failed with ${result.status}`); } - assert.isDefined(result.body.value?.length); + const farmers = paginate(client, result); + + let lastFarmer: Farmer | undefined = undefined; + for await (const farmer of farmers) { + lastFarmer = farmer; + } + + assert.isDefined(lastFarmer); }); it("should create a farmer", async () => { diff --git a/sdk/confidentialledger/confidential-ledger-rest/package.json b/sdk/confidentialledger/confidential-ledger-rest/package.json index be96d264d97f..9c1f361f9106 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/package.json +++ b/sdk/confidentialledger/confidential-ledger-rest/package.json @@ -85,7 +85,7 @@ "autoPublish": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure-rest/core-client": "1.0.0-beta.4", + "@azure-rest/core-client": "1.0.0-beta.5", "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index 0f0b8f5e85fc..f3fb45ea2feb 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -48,6 +48,8 @@ extends: safeName: azurecoreclient - name: azure-rest-core-client safeName: azurerestcoreclient + - name: azure-rest-core-client-paging + safeName: azurerestcoreclientpaging - name: azure-core-crypto safeName: azurecorecrypto - name: azure-core-http diff --git a/sdk/core/core-client-paging-rest/CHANGELOG.md b/sdk/core/core-client-paging-rest/CHANGELOG.md new file mode 100644 index 000000000000..2238faf06c29 --- /dev/null +++ b/sdk/core/core-client-paging-rest/CHANGELOG.md @@ -0,0 +1,5 @@ +# Release History + +## 1.0.0-beta.1 (UNRELEASED) + +- First release of package, see README.md for details. diff --git a/sdk/core/core-client-paging-rest/LICENSE b/sdk/core/core-client-paging-rest/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/core/core-client-paging-rest/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/core/core-client-paging-rest/README.md b/sdk/core/core-client-paging-rest/README.md new file mode 100644 index 000000000000..9d4e9c57b5e7 --- /dev/null +++ b/sdk/core/core-client-paging-rest/README.md @@ -0,0 +1,112 @@ +# Azure Rest Core Paging library for JavaScript (Experimental) + +This library is primarily intended to be used in code generated by [AutoRest](https://github.com/Azure/Autorest) and [`autorest.typescript`](https://github.com/Azure/autorest.typescript). Specifically for rest level clients, as a helper to handle Pageable operations. This package implements support for Autorest `x-ms-pageable` specification. + +## Getting started + +### Requirements + +- [Node.js](https://nodejs.org) LTS + +### Installation + +This package is primarily used in generated code and not meant to be consumed directly by end users. + +## Key concepts + +### Helper function `paginateResponse` + +Paginate response is a helper function to handle pagination for the user. Given a response that contains a body with a link to the next page and an array with the current page of results, this helper returns a PagedAsyncIterableIterator that can be used to get all the items or page by page. + +In order to provide better typings, the library that consumes `paginateResponse` can wrap it providing additional types. For example a code generator may consume and export in the following way + +#### Typescript + +```typescript +/** + * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be + * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a + * hand written library. + */ +export function paginate( + client: Client, + initialResponse: TReturn +): PagedAsyncIterableIterator, PaginateReturn[]> { + return paginateResponse>(client, initialResponse, { + // For example these values could come from the swagger + itemName: "items", + nextLinkName: "continuationLink", + }); +} + +// Helper type to extract the type of an array +type GetArrayType = T extends Array ? TData : never; + +// Helper type to infer the Type of the paged elements from the response type +// This type will be generated based on the swagger information for x-ms-pageable +// specifically on the itemName property which indicates the property of the response +// where the page items are found. The default value is `value`. +// This type will allow us to provide strongly typed Iterator based on the response we get as second parameter +export type PaginateReturn = TResult extends { + body: { items: infer TPage }; +} + ? GetArrayType + : Array; + +// Usage +const client = Client("https://example.org", new DefaultAzureCredentials()); + +const response = client.path("/foo").get(); +const items = paginate(client, response); + +for await (const item of items) { + console.log(item.name); +} +``` + +#### JavaScript + +```javascript +/** + * This is the wrapper function that would be exposed. It is hiding the Pagination Options because it can be + * obtained in the case of a generator from the Swagger definition or by a developer context knowledge in case of a + * hand written library. + */ +export function paginate(client, initialResponse) { + return paginateResponse(client, initialResponse, { + // For example these values could come from the swagger + itemName: "items", + nextLinkName: "continuationLink", + }); +} + +// Usage +const client = Client("https://example.org", new DefaultAzureCredentials()); + +const response = client.path("/foo").get(); +const items = paginate(client, response); + +for await (const item of items) { + console.log(item.name); +} +``` + +## Examples + +Examples can be found in the `samples` folder. + +## Next steps + +You can build and run the tests locally by executing `rushx test`. Explore the `test` folder to see advanced usage and behavior of the public classes. + +Learn more about [AutoRest](https://github.com/Azure/autorest) and the [autorest.typescript extension](https://github.com/Azure/autorest.typescript) for generating a compatible client on top of this package. + +## Troubleshooting + +If you run into issues while using this library, please feel free to [file an issue](https://github.com/Azure/azure-sdk-for-js/issues/new). + +## Contributing + +If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore-rest%2Fcore-client%2FREADME.png) diff --git a/sdk/core/core-client-paging-rest/api-extractor.json b/sdk/core/core-client-paging-rest/api-extractor.json new file mode 100644 index 000000000000..5f0bb62e9090 --- /dev/null +++ b/sdk/core/core-client-paging-rest/api-extractor.json @@ -0,0 +1,31 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "mainEntryPointFilePath": "types/latest/src/index.d.ts", + "docModel": { + "enabled": true + }, + "apiReport": { + "enabled": true, + "reportFolder": "./review" + }, + "dtsRollup": { + "enabled": true, + "untrimmedFilePath": "", + "publicTrimmedFilePath": "./types/latest/core-client-paging-rest.d.ts" + }, + "messages": { + "tsdocMessageReporting": { + "default": { + "logLevel": "none" + } + }, + "extractorMessageReporting": { + "ae-missing-release-tag": { + "logLevel": "none" + }, + "ae-unresolved-link": { + "logLevel": "none" + } + } + } +} diff --git a/sdk/core/core-client-paging-rest/karma.conf.js b/sdk/core/core-client-paging-rest/karma.conf.js new file mode 100644 index 000000000000..005c7f1c5a55 --- /dev/null +++ b/sdk/core/core-client-paging-rest/karma.conf.js @@ -0,0 +1,121 @@ +// https://github.com/karma-runner/karma-chrome-launcher +process.env.CHROME_BIN = require("puppeteer").executablePath(); + +module.exports = function (config) { + config.set({ + // base path that will be used to resolve all patterns (eg. files, exclude) + basePath: "./", + + // frameworks to use + // available frameworks: https://npmjs.org/browse/keyword/karma-adapter + frameworks: ["mocha"], + + plugins: [ + "karma-mocha", + "karma-mocha-reporter", + "karma-chrome-launcher", + "karma-edge-launcher", + "karma-firefox-launcher", + "karma-ie-launcher", + "karma-env-preprocessor", + "karma-coverage", + "karma-sourcemap-loader", + "karma-junit-reporter", + ], + + // list of files / patterns to load in the browser + files: [ + // Uncomment the cdn link below for the polyfill service to support IE11 missing features + // Promise,String.prototype.startsWith,String.prototype.endsWith,String.prototype.repeat,String.prototype.includes,Array.prototype.includes,Object.keys + // "https://cdn.polyfill.io/v2/polyfill.js?features=Symbol,Promise,String.prototype.startsWith,String.prototype.endsWith,String.prototype.repeat,String.prototype.includes,Array.prototype.includes,Object.keys|always", + "dist-test/index.browser.js", + ], + + // list of files / patterns to exclude + exclude: [], + + // preprocess matching files before serving them to the browser + // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor + preprocessors: { + "**/*.js": ["sourcemap", "env"], + // IMPORTANT: COMMENT following line if you want to debug in your browsers!! + // Preprocess source file to calculate code coverage, however this will make source file unreadable + //"dist-test/index.browser.js": ["coverage"] + }, + + // inject following environment values into browser testing with window.__env__ + // environment values MUST be exported or set with same console running "karma start" + // https://www.npmjs.com/package/karma-env-preprocessor + // EXAMPLE: envPreprocessor: ["ACCOUNT_NAME", "ACCOUNT_SAS"], + + // test results reporter to use + // possible values: 'dots', 'progress' + // available reporters: https://npmjs.org/browse/keyword/karma-reporter + reporters: ["mocha", "coverage", "junit"], + + coverageReporter: { + // specify a common output directory + dir: "coverage-browser/", + reporters: [ + { type: "json", subdir: ".", file: "coverage.json" }, + { type: "lcovonly", subdir: ".", file: "lcov.info" }, + { type: "html", subdir: "html" }, + { type: "cobertura", subdir: ".", file: "cobertura-coverage.xml" }, + ], + }, + + junitReporter: { + outputDir: "", // results will be saved as $outputDir/$browserName.xml + outputFile: "test-results.browser.xml", // if included, results will be saved as $outputDir/$browserName/$outputFile + suite: "", // suite will become the package name attribute in xml testsuite element + useBrowserName: false, // add browser name to report and classes names + nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element + classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element + properties: {}, // key value pair of properties to add to the section of the report + }, + + // web server port + port: 9876, + + // enable / disable colors in the output (reporters and logs) + colors: true, + + // level of logging + // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG + logLevel: config.LOG_INFO, + + // enable / disable watching file and executing tests whenever any file changes + autoWatch: false, + + // start these browsers + // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher + // 'ChromeHeadless', 'Chrome', 'Firefox', 'Edge', 'IE' + browsers: ["ChromeHeadlessNoSandbox"], + customLaunchers: { + ChromeHeadlessNoSandbox: { + base: "ChromeHeadless", + flags: ["--no-sandbox"], + }, + }, + + // Continuous Integration mode + // if true, Karma captures browsers, runs the tests and exits + singleRun: true, + + // Concurrency level + // how many browser should be started simultaneous + concurrency: 1, + + browserNoActivityTimeout: 600000, + browserDisconnectTimeout: 10000, + browserDisconnectTolerance: 3, + + client: { + mocha: { + // change Karma's debug.html to the mocha web reporter + reporter: "html", + timeout: "600000", + }, + }, + }); +}; diff --git a/sdk/core/core-client-paging-rest/package.json b/sdk/core/core-client-paging-rest/package.json new file mode 100644 index 000000000000..280db0713bc3 --- /dev/null +++ b/sdk/core/core-client-paging-rest/package.json @@ -0,0 +1,101 @@ +{ + "name": "@azure-rest/core-client-paging", + "version": "1.0.0-beta.1", + "description": "A helper library which implements Autorest x-ms-pageable spec for pagination.", + "sdk-type": "core", + "main": "dist/index.js", + "module": "dist-esm/src/index.js", + "types": "types/latest/core-client-paging-rest.d.ts", + "browser": { + "./dist-esm/src/url.js": "./dist-esm/src/url.browser.js" + }, + "scripts": { + "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", + "build:browser": "npm run build:ts && cross-env ONLY_BROWSER=true rollup -c 2>&1", + "build:node": "npm run build:ts && cross-env ONLY_NODE=true rollup -c 2>&1", + "build:samples": "echo Skipped.", + "build:test": "tsc -p . && rollup -c 2>&1", + "build:ts": "tsc -p .", + "build": "npm run build:ts && rollup -c 2>&1 && api-extractor run --local", + "check-format": "prettier --list-different \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", + "clean": "rimraf dist dist-* types *.tgz *.log", + "execute:samples": "echo skipped", + "extract-api": "npm run build:ts && api-extractor run --local", + "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", + "integration-test:browser": "echo skipped", + "integration-test:node": "echo skipped", + "integration-test": "npm run integration-test:node && npm run integration-test:browser", + "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]", + "lint": "eslint package.json api-extractor.json src test --ext .ts", + "pack": "npm pack 2>&1", + "prebuild": "npm run clean", + "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", + "test:node": "npm run clean && npm run build:test && npm run unit-test:node", + "test": "npm run clean && npm run build:test && npm run unit-test", + "unit-test:browser": "karma start --single-run", + "unit-test:node": "mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"", + "unit-test": "npm run unit-test:node && npm run unit-test:browser", + "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" + }, + "files": [ + "dist/", + "dist-esm/src/", + "types/src/latest/core-client-paging-rest.d.ts", + "README.md", + "LICENSE" + ], + "repository": "github:Azure/azure-sdk-for-js", + "keywords": [ + "azure", + "cloud" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "engines": { + "node": ">=8.0.0" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/", + "sideEffects": false, + "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", + "dependencies": { + "@azure/core-paging": "^1.1.1", + "@azure/core-rest-pipeline": "^1.0.3", + "@azure-rest/core-client": "1.0.0-beta.5", + "tslib": "^2.2.0" + }, + "devDependencies": { + "@microsoft/api-extractor": "7.13.2", + "@types/chai": "^4.1.6", + "@types/mocha": "^7.0.2", + "@types/node": "^8.0.0", + "@azure/eslint-plugin-azure-sdk": "^3.0.0", + "@azure/dev-tool": "^1.0.0", + "chai": "^4.2.0", + "cross-env": "^7.0.2", + "eslint": "^7.15.0", + "inherits": "^2.0.3", + "karma": "^6.2.0", + "karma-chrome-launcher": "^3.0.0", + "karma-coverage": "^2.0.0", + "karma-edge-launcher": "^0.4.2", + "karma-env-preprocessor": "^0.1.1", + "karma-firefox-launcher": "^1.1.0", + "karma-ie-launcher": "^1.0.0", + "karma-junit-reporter": "^2.0.1", + "karma-mocha": "^2.0.1", + "karma-mocha-reporter": "^2.2.5", + "karma-sourcemap-loader": "^0.3.8", + "mocha": "^7.1.1", + "mocha-junit-reporter": "^1.18.0", + "prettier": "2.2.1", + "rimraf": "^3.0.0", + "rollup": "^1.16.3", + "sinon": "^9.0.2", + "typescript": "~4.2.0", + "util": "^0.12.1", + "typedoc": "0.15.2" + } +} diff --git a/sdk/core/core-client-paging-rest/review/core-client-paging.api.md b/sdk/core/core-client-paging-rest/review/core-client-paging.api.md new file mode 100644 index 000000000000..e3a6c7305a9c --- /dev/null +++ b/sdk/core/core-client-paging-rest/review/core-client-paging.api.md @@ -0,0 +1,23 @@ +## API Report File for "@azure-rest/core-client-paging" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { Client } from '@azure-rest/core-client'; +import { HttpResponse } from '@azure-rest/core-client'; +import { PagedAsyncIterableIterator } from '@azure/core-paging'; + +export { PagedAsyncIterableIterator } + +// @public +export interface PaginateOptions { + itemName?: string; + nextLinkName?: string | null; +} + +// @public +export function paginateResponse(client: Client, initialResponse: HttpResponse, options?: PaginateOptions): PagedAsyncIterableIterator; + + +``` diff --git a/sdk/core/core-client-paging-rest/rollup.config.js b/sdk/core/core-client-paging-rest/rollup.config.js new file mode 100644 index 000000000000..26e83ddfafa4 --- /dev/null +++ b/sdk/core/core-client-paging-rest/rollup.config.js @@ -0,0 +1,2 @@ +import { makeConfig } from "@azure/dev-tool/shared-config/rollup"; +export default makeConfig(require("./package.json")); diff --git a/sdk/core/core-client-paging-rest/src/index.ts b/sdk/core/core-client-paging-rest/src/index.ts new file mode 100644 index 000000000000..902316ffaffd --- /dev/null +++ b/sdk/core/core-client-paging-rest/src/index.ts @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * A helper library which implements Autorest x-ms-pageable spec for pagination + * + * @packageDocumentation + */ +export { paginateResponse, PaginateOptions } from "./paginate"; +export { PagedAsyncIterableIterator } from "@azure/core-paging"; diff --git a/sdk/core/core-client-paging-rest/src/paginate.ts b/sdk/core/core-client-paging-rest/src/paginate.ts new file mode 100644 index 000000000000..9aa5796ddabe --- /dev/null +++ b/sdk/core/core-client-paging-rest/src/paginate.ts @@ -0,0 +1,144 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/// + +import { + Client, + createRestError, + HttpResponse, + PathUncheckedResponse, +} from "@azure-rest/core-client"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; + +const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"]; + +const DEFAULT_NEXTLINK = "nextLink"; +const DEFAULT_VALUES = "value"; + +/** + * Options to indicate custom values for where to look for nextLink and values + * when paginating a response + */ +export interface PaginateOptions { + /** + * Property name in the body where the nextLink is located + * The default value is `nextLink`. + * nextLink is an opaque URL for the client, in which the next set of results is located. + * Note: if nextLinkName is set to `null` only the first page is returned, no additional + * requests are made. + */ + nextLinkName?: string | null; + /** + * Indicates the name of the property in which the set of values is found. Default: `value` + */ + itemName?: string; +} + +/** + * Helper to iterate pageable responses + * @param client - Client to use for sending the request to get additional pages + * @param initialResponse - The initial response + * @param options - Options to use custom property names for pagination + * @returns - return a PagedAsyncIterableIterator that can be used to iterate the elements + */ +export function paginateResponse( + client: Client, + initialResponse: HttpResponse, + options: PaginateOptions = {} +): PagedAsyncIterableIterator { + const iter = listAll(client, initialResponse, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: () => { + return listPage(client, initialResponse, options); + }, + }; +} + +async function* listAll( + client: Client, + initialResponse: PathUncheckedResponse, + paginateOptions: PaginateOptions +): AsyncIterableIterator { + for await (const page of listPage(client, initialResponse, paginateOptions)) { + yield* page; + } +} + +async function* listPage[]>( + client: Client, + initialResponse: PathUncheckedResponse, + options: PaginateOptions +): AsyncIterableIterator { + let result = initialResponse; + checkPagingRequest(result); + let nextLink = getNextLink(result.body, options); + let values = getElements(result.body, options); + + yield values; + + // According to x-ms-pageable is the nextLinkName is set to null we should only + // return the first page and skip any additional queries even if the initial response + // contains a nextLink. + if (options.nextLinkName === null) { + return; + } + + while (nextLink) { + result = await client.pathUnchecked(nextLink).get(); + checkPagingRequest(result); + nextLink = getNextLink(result.body, options); + values = getElements(result.body, options); + yield values; + } +} + +/** + * Checks if a request failed + */ +function checkPagingRequest(response: PathUncheckedResponse) { + if (!Http2xxStatusCodes.includes(response.status)) { + throw createRestError( + `Pagination failed with unexpected statusCode ${response.status}`, + response + ); + } +} + +/** + * Gets for the value of nextLink in the body. If a custom nextLinkName was provided, it will be used instead of default + */ +function getNextLink(body: Record, paginateOptions: PaginateOptions = {}) { + const nextLinkName = paginateOptions.nextLinkName ?? DEFAULT_NEXTLINK; + const nextLink = body[nextLinkName]; + + if (typeof nextLink !== "string" && typeof nextLink !== "undefined") { + throw new Error(`Body Property ${nextLinkName} should be a string or undefined`); + } + + return nextLink; +} + +/** + * Gets the elements of the current request in the body. By default it will look in the `value` property unless + * a different value for itemName has been provided as part of the options. + */ +function getElements( + body: Record, + paginateOptions: PaginateOptions = {} +): T[] { + const valueName = paginateOptions?.itemName ?? DEFAULT_VALUES; + const value = body[valueName]; + + if (!Array.isArray(value)) { + throw new Error(`Body Property ${valueName} is not an array`); + } + + return (value as T[]) ?? []; +} diff --git a/sdk/core/core-client-paging-rest/src/url.browser.ts b/sdk/core/core-client-paging-rest/src/url.browser.ts new file mode 100644 index 000000000000..a6b3956caf41 --- /dev/null +++ b/sdk/core/core-client-paging-rest/src/url.browser.ts @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/// + +const url = URL; +const urlSearchParams = URLSearchParams; + +export { url as URL, urlSearchParams as URLSearchParams }; diff --git a/sdk/core/core-client-paging-rest/src/url.ts b/sdk/core/core-client-paging-rest/src/url.ts new file mode 100644 index 000000000000..993e69798f9e --- /dev/null +++ b/sdk/core/core-client-paging-rest/src/url.ts @@ -0,0 +1,4 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +export { URL, URLSearchParams } from "url"; diff --git a/sdk/core/core-client-paging-rest/test/paginate.spec.ts b/sdk/core/core-client-paging-rest/test/paginate.spec.ts new file mode 100644 index 000000000000..28404e7975cc --- /dev/null +++ b/sdk/core/core-client-paging-rest/test/paginate.spec.ts @@ -0,0 +1,264 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { assert } from "chai"; +import { Client, getClient, PathUncheckedResponse } from "@azure-rest/core-client"; +import { paginateResponse } from "../src/paginate"; +import { PipelineResponse, createHttpHeaders } from "@azure/core-rest-pipeline"; +import { URL } from "../src/url"; +import { PagedAsyncIterableIterator } from "@azure/core-paging"; + +/** + * This is a sample of how code generator can generate code around the Swagger spec for pagination to improve UX + */ + +// Helper type to extract the type of an array +type GetArrayType = T extends Array ? TData : unknown; + +// Helper type to infer the Type of the paged elements from the response type +// This type will be generated based on the swagger information for x-ms-pageable +// specifically on the itemName property which indicates the property of the response +// where the page items are found. The default value is `value` +export type PaginateReturn = TResult extends + | { + body: { value: infer TPage }; + } + | { + // In the tests below we are using values as a custom pagination property + // In cases like this the generator will have to generate one of these + // entries for each unique value of itemName in the swagger. Most of the times + // the itemName remains constant throughout the swagger, but that is not a requirement + body: { values: infer TPage }; + } + ? GetArrayType + : Array; + +/** + * Shapes of the test responses + */ +interface TestItem { + foo?: number; +} + +interface TestResponse extends PathUncheckedResponse { + body: { + value: Array; + }; +} + +interface TestResponseValues extends PathUncheckedResponse { + body: { + values: Array; + }; +} + +/** + * This is the default paginate helper function + */ +export function paginate( + client: Client, + initialResponse: TReturn +): PagedAsyncIterableIterator, PaginateReturn[]> { + return paginateResponse>(client, initialResponse); +} + +/** + * Paginate helper function defining a custom property to find the paged elements. + */ +export function paginateCustom( + client: Client, + initialResponse: TReturn +): PagedAsyncIterableIterator, PaginateReturn[]> { + // The generator would generate this based on the swagger so that our users don't need to specify the itemName + // when it can be taken from the swagger + return paginateResponse>(client, initialResponse, { itemName: "values" }); +} + +describe("Paginate heleper", () => { + let client: Client; + + beforeEach(() => { + client = getClient("http://localhost:3000", { allowInsecureConnection: true }); + client.pipeline.getOrderedPolicies().forEach(({ name }) => { + client.pipeline.removePolicy({ name }); + }); + }); + + it("Paging_getNoItemNamePages", async () => { + // Paginate assumes the resource supports get and nextLink is an opaque url to which a get can be done + // by default and following autorest x-ms-pageable extension, Paginate assumes that the pageable result + // will contain a property nextLink which is the opaque url for the next page, and a value property containing + // an array with the results (the page); + const expectedPage = [{ foo: 1 }]; + mockResponse(client, [ + { path: "/paging/noitemname", response: { status: 200, body: { value: expectedPage } } }, + ]); + const response: TestResponse = await client.pathUnchecked("/paging/noitemname").get(); + const items = paginate(client, response); + const result = []; + + for await (const item of items) { + result.push(item); + } + + assert.deepEqual(result, expectedPage); + }); + + it("Paging_getNullNextLinkNamePages", async () => { + // A paging operation that must ignore any kind of nextLink, and stop after page 1. + + const expectedPage = [{ foo: 1 }]; + mockResponse(client, [ + { + path: "/paging/nullnextlink", + response: { status: 200, body: { value: expectedPage, nextLink: "/paging/nullnextlink" } }, + }, + { + path: "/paging/nullnextlink", + response: { status: 400, body: { value: expectedPage, nextLink: "/paging/nullnextlink" } }, + }, + ]); + + const response: TestResponse = await client.pathUnchecked("/paging/nullnextlink").get(); + const items = paginateResponse(client, response, { nextLinkName: null }); + const result = []; + + for await (const item of items) { + result.push(item); + } + + assert.deepEqual(result, expectedPage); + }); + + it("Paging_getSinglePages", async () => { + // Autorest x-ms-pageable extension allows setting a different name for the property that contains the page + // we can allow overriding this through the pagingOptions values. + // The extension also allows setting a custom nextLink property name. + + const expectedPage = [{ foo: 1 }]; + mockResponse(client, [ + { path: "/paging/single", response: { status: 200, body: { values: expectedPage } } }, + ]); + + const response: TestResponseValues = await client.pathUnchecked("/paging/single").get(); + const items = paginateCustom(client, response); + const result = []; + for await (const item of items) { + // We get a strong type for item :) + result.push(item); + } + + assert.deepEqual(result, expectedPage); + }); + + it("Paging_firstResponseEmpty", async () => { + // First response has an empty [] next page contains a page with an element + const expectedPage = [{ foo: 1 }]; + mockResponse(client, [ + { + path: "/paging/firstResponseEmpty/1", + response: { status: 200, body: { value: [], nextLink: "/paging/firstResponseEmpty/2" } }, + }, + { + path: "/paging/firstResponseEmpty/2", + response: { status: 200, body: { value: expectedPage } }, + }, + ]); + + const response: TestResponse = await client.pathUnchecked("/paging/firstResponseEmpty/1").get(); + const items = paginate(client, response); + const result = []; + for await (const item of items) { + result.push(item); + } + + assert.deepEqual(result, expectedPage); + }); + + it("Paging_getMultiplePages", async () => { + const expectedPages = [{ foo: 1 }, { foo: 2 }, { foo: 3 }]; + + const mockResponses: MockResponse[] = [ + { + path: "/paging/multiple", + response: { + status: 200, + body: { value: [expectedPages[0]], nextLink: "/paging/multiple/1" }, + }, + }, + { + path: "/paging/multiple/1", + response: { + status: 200, + body: { value: [expectedPages[1]], nextLink: "/paging/multiple/2" }, + }, + }, + { + path: "/paging/multiple/2", + response: { + status: 200, + body: { value: [expectedPages[2]], nextLink: undefined }, + }, + }, + ]; + + mockResponse(client, mockResponses); + + const response: TestResponse = await client.pathUnchecked("/paging/multiple").get(); + const items = paginate(client, response); + const result = []; + for await (const item of items) { + result.push(item); + } + + assert.deepEqual(result, [...expectedPages]); + }); +}); + +interface MockResponse { + path: string; + response: { + status: number; + body: any; + }; +} + +/** + * Creates a pipeline with a mocked service call + * @param client - client to mock requests for + * @param response - Responses to return, the actual request url is matched to one of the paths in the responses and the defined object is returned. + * if no path matches a 404 error is returned + */ +function mockResponse(client: Client, responses: MockResponse[]) { + let count = 0; + + client.pipeline.addPolicy({ + name: "mockClient", + sendRequest: async (request, _next): Promise => { + if (count < responses.length) { + count++; + } + + const path = new URL(request.url).pathname; + + const response = responses.find((r) => r.path === path); + + if (!response) { + return { + headers: createHttpHeaders(), + request, + status: 404, + }; + } + + const { body, status } = response.response; + const bodyAsText = JSON.stringify(body); + return { + headers: createHttpHeaders(), + request, + status, + bodyAsText, + }; + }, + }); +} diff --git a/sdk/core/core-client-paging-rest/tsconfig.json b/sdk/core/core-client-paging-rest/tsconfig.json new file mode 100644 index 000000000000..82e643af7e8c --- /dev/null +++ b/sdk/core/core-client-paging-rest/tsconfig.json @@ -0,0 +1,8 @@ +{ + "extends": "../../../tsconfig.package", + "compilerOptions": { + "outDir": "./dist-esm", + "declarationDir": "./types/latest" + }, + "include": ["src/**/*.ts", "test/**/*.ts"] +} diff --git a/sdk/core/core-client-paging-rest/tsdoc.json b/sdk/core/core-client-paging-rest/tsdoc.json new file mode 100644 index 000000000000..81c5a8a2aa2f --- /dev/null +++ b/sdk/core/core-client-paging-rest/tsdoc.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", + "extends": ["../../../tsdoc.json"] +} diff --git a/sdk/core/core-client-rest/CHANGELOG.md b/sdk/core/core-client-rest/CHANGELOG.md index a1db200e7f80..ec7cbfad0df2 100644 --- a/sdk/core/core-client-rest/CHANGELOG.md +++ b/sdk/core/core-client-rest/CHANGELOG.md @@ -1,4 +1,11 @@ -# Release History +# Release History\ + +## 1.0.0-beta.5 (2021-06-24) + +### Features Added + +- Expose client option to set `allowInsecureConnection` to support http. [#15831](https://github.com/Azure/azure-sdk-for-js/pull/15831) +- Add new createRestError which takes a response to create a RestError. [#15831](https://github.com/Azure/azure-sdk-for-js/pull/15831) ## 1.0.0-beta.4 (2021-05-27) diff --git a/sdk/core/core-client-rest/api-extractor.json b/sdk/core/core-client-rest/api-extractor.json index f2f292d5bd5d..26337c79ce43 100644 --- a/sdk/core/core-client-rest/api-extractor.json +++ b/sdk/core/core-client-rest/api-extractor.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "types/src/index.d.ts", + "mainEntryPointFilePath": "types/latest/src/index.d.ts", "docModel": { "enabled": true }, @@ -11,7 +11,7 @@ "dtsRollup": { "enabled": true, "untrimmedFilePath": "", - "publicTrimmedFilePath": "./types/src/latest/core-client-rest.d.ts" + "publicTrimmedFilePath": "./types/latest/core-client-rest.d.ts" }, "messages": { "tsdocMessageReporting": { diff --git a/sdk/core/core-client-rest/karma.conf.js b/sdk/core/core-client-rest/karma.conf.js index 346ad9e087da..62b9c70ebd81 100644 --- a/sdk/core/core-client-rest/karma.conf.js +++ b/sdk/core/core-client-rest/karma.conf.js @@ -85,7 +85,13 @@ module.exports = function (config) { // start these browsers // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher // 'ChromeHeadless', 'Chrome', 'Firefox', 'Edge', 'IE' - browsers: ["ChromeHeadless"], + browsers: ["ChromeHeadlessNoSandbox"], + customLaunchers: { + ChromeHeadlessNoSandbox: { + base: "ChromeHeadless", + flags: ["--no-sandbox"], + }, + }, // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits diff --git a/sdk/core/core-client-rest/package.json b/sdk/core/core-client-rest/package.json index 8df299483348..c7e5cfc07697 100644 --- a/sdk/core/core-client-rest/package.json +++ b/sdk/core/core-client-rest/package.json @@ -1,6 +1,6 @@ { "name": "@azure-rest/core-client", - "version": "1.0.0-beta.4", + "version": "1.0.0-beta.5", "description": "Core library for interfacing with AutoRest rest level generated code", "sdk-type": "client", "main": "dist/index.js", @@ -8,7 +8,7 @@ "browser": { "./dist-esm/src/url.js": "./dist-esm/src/url.browser.js" }, - "types": "types/src/latest/core-client-rest.d.ts", + "types": "types/latest/core-client-rest.d.ts", "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "npm run build:ts && cross-env ONLY_BROWSER=true rollup -c 2>&1", diff --git a/sdk/core/core-client-rest/review/core-client.api.md b/sdk/core/core-client-rest/review/core-client.api.md index ea051b9894bf..a853c4d6ef32 100644 --- a/sdk/core/core-client-rest/review/core-client.api.md +++ b/sdk/core/core-client-rest/review/core-client.api.md @@ -9,6 +9,7 @@ import { Pipeline } from '@azure/core-rest-pipeline'; import { PipelineOptions } from '@azure/core-rest-pipeline'; import { PipelineRequest } from '@azure/core-rest-pipeline'; import { RawHttpHeaders } from '@azure/core-rest-pipeline'; +import { RestError } from '@azure/core-rest-pipeline'; import { TokenCredential } from '@azure/core-auth'; // @public @@ -41,13 +42,17 @@ export type ClientOptions = PipelineOptions & { }; baseUrl?: string; apiVersion?: string; + allowInsecureConnection?: boolean; }; // @public export function createDefaultPipeline(baseUrl: string, credential?: TokenCredential | KeyCredential, options?: ClientOptions): Pipeline; // @public -export function getClient(baseUrl: string, options?: PipelineOptions): Client; +export function createRestError(message: string, response: PathUncheckedResponse): RestError; + +// @public +export function getClient(baseUrl: string, options?: ClientOptions): Client; // @public export function getClient(baseUrl: string, credentials?: TokenCredential | KeyCredential, options?: ClientOptions): Client; @@ -79,7 +84,11 @@ export type RequestParameters = { }; // @public -export type RouteParams = TRoute extends `{${infer _Param}}/${infer Tail}` ? [pathParam: string, ...pathParams: RouteParams] : TRoute extends `{${infer _Param}}` ? [pathParam: string] : TRoute extends `${infer _Prefix}:${infer Tail}` ? RouteParams<`{${Tail}}`> : []; +export type RouteParams = TRoute extends `${infer _Head}/{${infer _Param}}${infer Tail}` ? [ + pathParam: string, + ...pathParams: RouteParams +] : [ +]; ``` diff --git a/sdk/core/core-client-rest/src/common.ts b/sdk/core/core-client-rest/src/common.ts index 432ec7179601..c51d5e5e0653 100644 --- a/sdk/core/core-client-rest/src/common.ts +++ b/sdk/core/core-client-rest/src/common.ts @@ -28,6 +28,10 @@ export type ClientOptions = PipelineOptions & { * Options for setting a custom apiVersion. */ apiVersion?: string; + /** + * Option to allow calling http (insecure) endpoints + */ + allowInsecureConnection?: boolean; }; /** diff --git a/sdk/core/core-client-rest/src/getClient.ts b/sdk/core/core-client-rest/src/getClient.ts index a26613319857..69e8b5e23c60 100644 --- a/sdk/core/core-client-rest/src/getClient.ts +++ b/sdk/core/core-client-rest/src/getClient.ts @@ -52,7 +52,7 @@ export interface Client { * @param baseUrl - Base endpoint for the client * @param options - Client options */ -export function getClient(baseUrl: string, options?: PipelineOptions): Client; +export function getClient(baseUrl: string, options?: ClientOptions): Client; /** * Creates a client with a default pipeline * @param baseUrl - Base endpoint for the client @@ -70,7 +70,6 @@ export function getClient( clientOptions: ClientOptions = {} ): Client { let credentials: TokenCredential | KeyCredential | undefined; - if (credentialsOrPipelineOptions) { if (isCredential(credentialsOrPipelineOptions)) { credentials = credentialsOrPipelineOptions; @@ -80,31 +79,96 @@ export function getClient( } const pipeline = createDefaultPipeline(baseUrl, credentials, clientOptions); + const { allowInsecureConnection } = clientOptions; const client = (path: string, ...args: Array) => { return { get: (options: RequestParameters = {}): Promise => { - return buildSendRequest("GET", clientOptions, baseUrl, path, pipeline, options, args); + return buildSendRequest( + "GET", + clientOptions, + baseUrl, + path, + pipeline, + { allowInsecureConnection, ...options }, + args + ); }, post: (options: RequestParameters = {}): Promise => { - return buildSendRequest("POST", clientOptions, baseUrl, path, pipeline, options, args); + return buildSendRequest( + "POST", + clientOptions, + baseUrl, + path, + pipeline, + { allowInsecureConnection, ...options }, + args + ); }, put: (options: RequestParameters = {}): Promise => { - return buildSendRequest("PUT", clientOptions, baseUrl, path, pipeline, options, args); + return buildSendRequest( + "PUT", + clientOptions, + baseUrl, + path, + pipeline, + { allowInsecureConnection, ...options }, + args + ); }, patch: (options: RequestParameters = {}): Promise => { - return buildSendRequest("PATCH", clientOptions, baseUrl, path, pipeline, options, args); + return buildSendRequest( + "PATCH", + clientOptions, + baseUrl, + path, + pipeline, + { allowInsecureConnection, ...options }, + args + ); }, delete: (options: RequestParameters = {}): Promise => { - return buildSendRequest("DELETE", clientOptions, baseUrl, path, pipeline, options, args); + return buildSendRequest( + "DELETE", + clientOptions, + baseUrl, + path, + pipeline, + { allowInsecureConnection, ...options }, + args + ); }, head: (options: RequestParameters = {}): Promise => { - return buildSendRequest("HEAD", clientOptions, baseUrl, path, pipeline, options, args); + return buildSendRequest( + "HEAD", + clientOptions, + baseUrl, + path, + pipeline, + { allowInsecureConnection, ...options }, + args + ); }, options: (options: RequestParameters = {}): Promise => { - return buildSendRequest("OPTIONS", clientOptions, baseUrl, path, pipeline, options, args); + return buildSendRequest( + "OPTIONS", + clientOptions, + baseUrl, + path, + pipeline, + { allowInsecureConnection, ...options }, + args + ); }, trace: (options: RequestParameters = {}): Promise => { - return buildSendRequest("TRACE", clientOptions, baseUrl, path, pipeline, options, args); + return buildSendRequest( + "TRACE", + clientOptions, + baseUrl, + path, + pipeline, + { allowInsecureConnection, ...options }, + args + ); }, }; }; diff --git a/sdk/core/core-client-rest/src/index.ts b/sdk/core/core-client-rest/src/index.ts index ea2e7c612dcf..6835b4e377bb 100644 --- a/sdk/core/core-client-rest/src/index.ts +++ b/sdk/core/core-client-rest/src/index.ts @@ -8,6 +8,7 @@ export { createDefaultPipeline } from "./clientHelpers"; export { CertificateCredential, isCertificateCredential } from "./certificateCredential"; +export { createRestError } from "./restError"; export * from "./common"; export * from "./getClient"; export * from "./pathClientTypes"; diff --git a/sdk/core/core-client-rest/src/pathClientTypes.ts b/sdk/core/core-client-rest/src/pathClientTypes.ts index 75dfe73f43fe..03cb7ff8d47f 100644 --- a/sdk/core/core-client-rest/src/pathClientTypes.ts +++ b/sdk/core/core-client-rest/src/pathClientTypes.ts @@ -37,10 +37,22 @@ export type RequestParameters = { * Helper type used to detect parameters in a path template * keys surounded by \{\} will be considered a path parameter */ -export type RouteParams = TRoute extends `{${infer _Param}}/${infer Tail}` - ? [pathParam: string, ...pathParams: RouteParams] - : TRoute extends `{${infer _Param}}` - ? [pathParam: string] - : TRoute extends `${infer _Prefix}:${infer Tail}` - ? RouteParams<`{${Tail}}`> - : []; +export type RouteParams< + TRoute extends string + // This is trying to match the string in TRoute with a template where HEAD/{PARAM}/TAIL + // for example in the followint path: /foo/{fooId}/bar/{barId}/baz the template will infer + // HEAD: /foo + // Param: fooId + // Tail: /bar/{barId}/baz + // The above sample path would return [pathParam: string, pathParam: string] +> = TRoute extends `${infer _Head}/{${infer _Param}}${infer Tail}` + ? // In case we have a match for the template above we know for sure + // that we have at least one pathParameter, that's why we set the first pathParam + // in the tuple. At this point we have only matched up until param, if we want to identify + // additional parameters we can call RouteParameters recursively on the Tail to match the remaining parts, + // in case the Tail has more parameters, it will return a tuple with the parameters found in tail. + // We spread the second path params to end up with a single dimension tuple at the end. + [pathParam: string, ...pathParams: RouteParams] + : // When the path doesn't match the template, it means that we have no path parameters so we return + // an empty tuple. + []; diff --git a/sdk/core/core-client-rest/src/restError.ts b/sdk/core/core-client-rest/src/restError.ts new file mode 100644 index 000000000000..1cb18be69502 --- /dev/null +++ b/sdk/core/core-client-rest/src/restError.ts @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { PathUncheckedResponse } from "./getClient"; +import { RestError, PipelineResponse, createHttpHeaders } from "@azure/core-rest-pipeline"; + +/** + * Creates a rest error from a PathUnchecked response + */ +export function createRestError(message: string, response: PathUncheckedResponse): RestError { + return new RestError(message, { + statusCode: statusCodeToNumber(response.status), + request: response.request, + response: toPipelineResponse(response), + }); +} + +function toPipelineResponse(response: PathUncheckedResponse): PipelineResponse { + return { + headers: createHttpHeaders(response.headers), + request: response.request, + status: statusCodeToNumber(response.status) ?? -1, + }; +} + +function statusCodeToNumber(statusCode: string): number | undefined { + const status = Number.parseInt(statusCode); + + return Number.isNaN(status) ? undefined : status; +} diff --git a/sdk/core/core-client-rest/tsconfig.json b/sdk/core/core-client-rest/tsconfig.json index 3863167ddb92..82e643af7e8c 100644 --- a/sdk/core/core-client-rest/tsconfig.json +++ b/sdk/core/core-client-rest/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../../tsconfig.package", "compilerOptions": { "outDir": "./dist-esm", - "declarationDir": "./types" + "declarationDir": "./types/latest" }, "include": ["src/**/*.ts", "test/**/*.ts"] } diff --git a/sdk/documenttranslator/ai-document-translator-rest/package.json b/sdk/documenttranslator/ai-document-translator-rest/package.json index 85dc02526b4e..ae9275a2b86d 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/package.json +++ b/sdk/documenttranslator/ai-document-translator-rest/package.json @@ -90,7 +90,7 @@ "autoPublish": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure-rest/core-client": "1.0.0-beta.4", + "@azure-rest/core-client": "1.0.0-beta.5", "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/purview/purview-catalog-rest/package.json b/sdk/purview/purview-catalog-rest/package.json index c26b4d53f52e..4ceda593c3db 100644 --- a/sdk/purview/purview-catalog-rest/package.json +++ b/sdk/purview/purview-catalog-rest/package.json @@ -84,7 +84,7 @@ "autoPublish": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure-rest/core-client": "1.0.0-beta.4", + "@azure-rest/core-client": "1.0.0-beta.5", "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/purview/purview-scanning-rest/package.json b/sdk/purview/purview-scanning-rest/package.json index 61584a41ab83..dd3258b10eaa 100644 --- a/sdk/purview/purview-scanning-rest/package.json +++ b/sdk/purview/purview-scanning-rest/package.json @@ -84,7 +84,7 @@ "autoPublish": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure-rest/core-client": "1.0.0-beta.4", + "@azure-rest/core-client": "1.0.0-beta.5", "@azure/core-rest-pipeline": "^1.1.0", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" From 5f71ecd285efbf92cf10afe13db37eb890c79a7d Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Wed, 23 Jun 2021 15:19:07 -0700 Subject: [PATCH 041/134] Rename master to main --- .github/CODEOWNERS | 2 +- .../dev-tool/src/templates/sampleReadme.md.ts | 4 ++-- .../docs/rules/ts-package-json-homepage.md | 2 +- .../src/utils/metadata.ts | 2 +- .../tests/rules/ts-apiextractor-json-types.ts | 2 +- .../ts-config-allowsyntheticdefaultimports.ts | 2 +- .../tests/rules/ts-config-declaration.ts | 2 +- .../tests/rules/ts-config-esmoduleinterop.ts | 2 +- .../tests/rules/ts-config-exclude.ts | 2 +- ...ts-config-forceconsistentcasinginfilenames.ts | 2 +- .../tests/rules/ts-config-importhelpers.ts | 2 +- .../tests/rules/ts-config-lib.ts | 2 +- .../tests/rules/ts-config-module.ts | 2 +- .../tests/rules/ts-config-moduleresolution.ts | 2 +- .../rules/ts-config-no-experimentaldecorators.ts | 2 +- .../tests/rules/ts-config-sourcemap.ts | 2 +- .../tests/rules/ts-config-strict.ts | 2 +- .../tests/rules/ts-config-target.ts | 2 +- .../tests/rules/ts-package-json-author.ts | 6 +++--- .../tests/rules/ts-package-json-bugs.ts | 6 +++--- .../rules/ts-package-json-engine-is-present.ts | 6 +++--- .../rules/ts-package-json-files-required.ts | 8 ++++---- .../tests/rules/ts-package-json-homepage.ts | 16 ++++++++-------- .../tests/rules/ts-package-json-keywords.ts | 8 ++++---- .../tests/rules/ts-package-json-license.ts | 6 +++--- .../tests/rules/ts-package-json-main-is-cjs.ts | 6 +++--- .../tests/rules/ts-package-json-module.ts | 6 +++--- .../tests/rules/ts-package-json-name.ts | 6 +++--- .../tests/rules/ts-package-json-repo.ts | 6 +++--- .../rules/ts-package-json-required-scripts.ts | 6 +++--- .../tests/rules/ts-package-json-sideeffects.ts | 6 +++--- .../tests/rules/ts-package-json-types.ts | 6 +++--- .../tests/rules/ts-versioning-semver.ts | 6 +++--- eng/ignore-links.txt | 14 +++++++------- eng/scripts/Language-Settings.ps1 | 2 +- rush.json | 6 +++--- samples/frameworks/react/ts/src/utils/auth.ts | 2 +- .../sample-react/src/components/Page.tsx | 2 +- sdk/core/core-http/samples/index.html | 2 +- sdk/cosmosdb/cosmos/README.md | 2 +- .../event-hubs/samples/browserSample/index.html | 2 +- .../samples/javascript/receiveEvents.js | 2 +- .../samples/typescript/src/receiveEvents.ts | 2 +- sdk/eventhub/event-hubs/src/connectionContext.ts | 2 +- .../samples/javascript/sendBatch.js | 2 +- .../samples/typescript/src/sendBatch.ts | 2 +- .../event-processor-host/src/hostContext.ts | 2 +- .../receiveEventsUsingCheckpointStore.ts | 2 +- .../receiveEventsWithApiSpecificStorage.ts | 2 +- .../receiveEventsUsingCheckpointStore.js | 2 +- .../receiveEventsWithApiSpecificStorage.js | 2 +- .../src/receiveEventsUsingCheckpointStore.ts | 2 +- .../src/receiveEventsWithApiSpecificStorage.ts | 2 +- .../samples/javascript/defaultAzureCredential.js | 2 +- .../typescript/src/defaultAzureCredential.ts | 2 +- sdk/identity/identity/src/constants.ts | 2 +- .../credentials/authorizationCodeCredential.ts | 4 ++-- sdk/keyvault/keyvault-admin/README.md | 2 +- .../service-bus/src/serviceBusError.ts | 2 +- ...rding_supports_updating_on_progress_events.js | 4 ++-- 60 files changed, 108 insertions(+), 108 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0ad9bfb79ac6..3f75f4c2450b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,5 +1,5 @@ # Instructions for CODEOWNERS file format and automatic build failure notifications: -# https://github.com/Azure/azure-sdk/blob/master/docs/policies/opensource.md#codeowners +# https://github.com/Azure/azure-sdk/blob/main/docs/policies/opensource.md#codeowners ########### # SDK diff --git a/common/tools/dev-tool/src/templates/sampleReadme.md.ts b/common/tools/dev-tool/src/templates/sampleReadme.md.ts index 8c073656ba8b..e8134874edd4 100644 --- a/common/tools/dev-tool/src/templates/sampleReadme.md.ts +++ b/common/tools/dev-tool/src/templates/sampleReadme.md.ts @@ -61,7 +61,7 @@ function fileLinks(info: SampleReadmeConfiguration) { : relativeSourcePath.replace(/\.ts$/, ".js"); return `[${sampleLinkTag( relativeSourcePath - )}]: https://github.com/Azure/azure-sdk-for-js/blob/master/${packageSamplesPathFragment}/${sourcePath}`; + )}]: https://github.com/Azure/azure-sdk-for-js/blob/main/${packageSamplesPathFragment}/${sourcePath}`; }) .join("\n"); } @@ -233,7 +233,7 @@ ${fileLinks(info)} [apiref]: ${info.apiRefLink ?? `https://docs.microsoft.com/javascript/api/@azure/${info.baseName}`} [freesub]: https://azure.microsoft.com/free/ ${resourceLinks(info)} -[package]: https://github.com/Azure/azure-sdk-for-js/tree/master/${info.projectRepoPath}/README.md +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/${info.projectRepoPath}/README.md ${info.useTypeScript ? "[typescript]: https://www.typescriptlang.org/docs/home.html\n" : ""}\ `, { diff --git a/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md b/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md index d78b26c4e356..baf8d9cbec97 100644 --- a/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md +++ b/common/tools/eslint-plugin-azure-sdk/docs/rules/ts-package-json-homepage.md @@ -28,7 +28,7 @@ Requires `homepage` in `package.json` to be set to the library's readme. ```json { - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master" + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main" } ``` diff --git a/common/tools/eslint-plugin-azure-sdk/src/utils/metadata.ts b/common/tools/eslint-plugin-azure-sdk/src/utils/metadata.ts index fa81e7302fb4..4447a459fecf 100644 --- a/common/tools/eslint-plugin-azure-sdk/src/utils/metadata.ts +++ b/common/tools/eslint-plugin-azure-sdk/src/utils/metadata.ts @@ -21,7 +21,7 @@ export const getRuleMetaData = ( description: ruleDescription, category: "Best Practices", recommended: true, - url: `https://github.com/Azure/azure-sdk-for-js/tree/master/common/tools/eslint-plugin-azure-sdk/docs/rules/${ruleName}.md` + url: `https://github.com/Azure/azure-sdk-for-js/tree/main/common/tools/eslint-plugin-azure-sdk/docs/rules/${ruleName}.md` }, schema: schema || [] }; diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-apiextractor-json-types.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-apiextractor-json-types.ts index cc8263619348..b4f44765d305 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-apiextractor-json-types.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-apiextractor-json-types.ts @@ -98,7 +98,7 @@ ruleTester.run("ts-package-json-types", rule, { filename: "sdk/package/package-a/api-extractor.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: exampleConfigGood, filename: "sdk/template/template/api-extractor.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-allowsyntheticdefaultimports.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-allowsyntheticdefaultimports.ts index 36ada13b7408..1f30c46f5bb4 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-allowsyntheticdefaultimports.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-allowsyntheticdefaultimports.ts @@ -115,7 +115,7 @@ ruleTester.run("ts-config-allowsyntheticdefaultimports", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-declaration.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-declaration.ts index 288abd5b1f50..b840e1d06cf1 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-declaration.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-declaration.ts @@ -113,7 +113,7 @@ ruleTester.run("ts-config-declaration", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-esmoduleinterop.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-esmoduleinterop.ts index 4cc261ab6299..59ea46aa9b35 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-esmoduleinterop.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-esmoduleinterop.ts @@ -113,7 +113,7 @@ ruleTester.run("ts-config-esmoduleinterop", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-exclude.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-exclude.ts index 9deaac8abc83..3f1a19915792 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-exclude.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-exclude.ts @@ -113,7 +113,7 @@ ruleTester.run("ts-config-exclude", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json with "scripts" removed for testing purposes) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json with "scripts" removed for testing purposes) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-forceconsistentcasinginfilenames.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-forceconsistentcasinginfilenames.ts index fc7c7c250634..6102f7c0b063 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-forceconsistentcasinginfilenames.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-forceconsistentcasinginfilenames.ts @@ -113,7 +113,7 @@ ruleTester.run("ts-config-forceconsistentcasinginfilenames", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-importhelpers.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-importhelpers.ts index 229a1f6e3bb0..6e619a93b15b 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-importhelpers.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-importhelpers.ts @@ -115,7 +115,7 @@ ruleTester.run("ts-config-importhelpers", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-lib.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-lib.ts index 96f431838d8b..f589fe640769 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-lib.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-lib.ts @@ -115,7 +115,7 @@ ruleTester.run("ts-config-lib", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-module.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-module.ts index b84861c0ee20..992b9bb6f5fe 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-module.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-module.ts @@ -115,7 +115,7 @@ ruleTester.run("ts-config-module", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-moduleresolution.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-moduleresolution.ts index bb495104051a..c12114f9c2e9 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-moduleresolution.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-moduleresolution.ts @@ -113,7 +113,7 @@ ruleTester.run("ts-config-moduleresolution", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-no-experimentaldecorators.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-no-experimentaldecorators.ts index 595d1dd6c4f8..22588193fa06 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-no-experimentaldecorators.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-no-experimentaldecorators.ts @@ -115,7 +115,7 @@ ruleTester.run("ts-config-no-experimentaldecorators", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-sourcemap.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-sourcemap.ts index bfdfb8c3e02c..53aacf680c3d 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-sourcemap.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-sourcemap.ts @@ -113,7 +113,7 @@ ruleTester.run("ts-config-sourcemap", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-strict.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-strict.ts index 682a34ed7606..b0ce32f35636 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-strict.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-strict.ts @@ -113,7 +113,7 @@ ruleTester.run("ts-config-strict", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-target.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-target.ts index d89d869d8842..0c2fd5d0819c 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-target.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-config-target.ts @@ -113,7 +113,7 @@ ruleTester.run("ts-config-target", rule, { filename: "tsconfig.json" }, { - // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/tsconfig.json) + // a full example tsconfig.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/tsconfig.json) code: exampleTsconfigGood, filename: "tsconfig.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-author.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-author.ts index 625bbde1eeeb..09bb3bffa4ea 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-author.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-author.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -259,7 +259,7 @@ ruleTester.run("ts-package-json-author", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-bugs.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-bugs.ts index be01b4742691..0d635c19ab45 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-bugs.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-bugs.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -259,7 +259,7 @@ ruleTester.run("ts-package-json-bugs", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-engine-is-present.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-engine-is-present.ts index 8810059d534a..460aac7924da 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-engine-is-present.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-engine-is-present.ts @@ -21,7 +21,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -134,7 +134,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -261,7 +261,7 @@ ruleTester.run("ts-package-json-engine-is-present", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-files-required.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-files-required.ts index d06db43a8645..8c7e98813c03 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-files-required.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-files-required.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -131,7 +131,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -241,7 +241,7 @@ const examplePackageBadFixed = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -380,7 +380,7 @@ ruleTester.run("ts-package-json-files-required", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-homepage.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-homepage.ts index 995344e8435e..cd9560c92351 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-homepage.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-homepage.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/README.md", + "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/README.md", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -256,25 +256,25 @@ ruleTester.run("ts-package-json-homepage", rule, { { // only the fields we care about code: - '{"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/README.md"}', + '{"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/README.md"}', filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, { // incorrect format but in a file we don't care about code: - '{"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus"}', + '{"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus"}', filename: "not_package.json" } ], invalid: [ { code: - '{"notHomepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/README.md"}', + '{"notHomepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/README.md"}', filename: "package.json", errors: [ { @@ -285,7 +285,7 @@ ruleTester.run("ts-package-json-homepage", rule, { { // homepage is in a nested object code: - '{"outer": {"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/servicebus/service-bus/README.md"}}', + '{"outer": {"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/servicebus/service-bus/README.md"}}', filename: "package.json", errors: [ { @@ -296,7 +296,7 @@ ruleTester.run("ts-package-json-homepage", rule, { { // not pointing to README code: - '{"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus"}', + '{"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus"}', filename: "package.json", errors: [ { diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-keywords.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-keywords.ts index 364660a32c15..24a3ce30e4e2 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-keywords.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-keywords.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -130,7 +130,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [], "bugs": { @@ -238,7 +238,7 @@ const examplePackageBadFixed = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": ["azure"], "bugs": { @@ -360,7 +360,7 @@ ruleTester.run("ts-package-json-keywords", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-license.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-license.ts index ac9d030475bd..5e0117ae8bb1 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-license.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-license.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "Apache", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -259,7 +259,7 @@ ruleTester.run("ts-package-json-license", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-main-is-cjs.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-main-is-cjs.ts index 1a4676910d41..11ab7740972b 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-main-is-cjs.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-main-is-cjs.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -264,7 +264,7 @@ ruleTester.run("ts-package-json-main-is-cjs", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-module.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-module.ts index ef2c272028c2..3c032bea6b71 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-module.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-module.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -264,7 +264,7 @@ ruleTester.run("ts-package-json-module", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-name.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-name.ts index 0d78da197404..8635abe36e11 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-name.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-name.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -264,7 +264,7 @@ ruleTester.run("ts-package-json-name", rule, { filename: "service-bus-rest/package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "service-bus/package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-repo.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-repo.ts index ae553c64e6e6..3509fb67d4a5 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-repo.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-repo.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-java", "keywords": [ "azure", @@ -259,7 +259,7 @@ ruleTester.run("ts-package-json-repo", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-required-scripts.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-required-scripts.ts index 64705d518827..ad0715bcafe7 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-required-scripts.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-required-scripts.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -138,7 +138,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -269,7 +269,7 @@ ruleTester.run("ts-package-json-required-scripts", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-sideeffects.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-sideeffects.ts index d3fcfc3ed622..e60fee5f440f 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-sideeffects.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-sideeffects.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -259,7 +259,7 @@ ruleTester.run("ts-package-json-sideeffects", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-types.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-types.ts index 79de4aea3cf6..1a19eb2eb493 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-types.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-types.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -259,7 +259,7 @@ ruleTester.run("ts-package-json-types", rule, { filename: "index/package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "service-bus/package.json" }, diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-versioning-semver.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-versioning-semver.ts index b5c164e8df44..98b1fd4f6631 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-versioning-semver.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-versioning-semver.ts @@ -19,7 +19,7 @@ const examplePackageGood = `{ "version": "1.0.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -132,7 +132,7 @@ const examplePackageBad = `{ "version": "1.2", "license": "MIT", "description": "Azure Service Bus SDK for Node.js", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/servicebus/service-bus", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus", "repository": "github:Azure/azure-sdk-for-js", "keywords": [ "azure", @@ -307,7 +307,7 @@ ruleTester.run("ts-versioning-semver", rule, { filename: "package.json" }, { - // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) + // a full example package.json (taken from https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/package.json with "scripts" removed for testing purposes) code: examplePackageGood, filename: "package.json" }, diff --git a/eng/ignore-links.txt b/eng/ignore-links.txt index 0cac0e9dbddf..0306124efee6 100644 --- a/eng/ignore-links.txt +++ b/eng/ignore-links.txt @@ -1,10 +1,10 @@ -https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/samples -https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/samples/javascript -https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/samples/typescript -https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-admin/test/ +https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/samples +https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/samples/javascript +https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/samples/typescript +https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin/test/ https://docs.microsoft.com/javascript/api/@azure/keyvault-admin https://docs.microsoft.com/javascript/api/@azure/storage-blob-changefeed -https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/javascript -https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/samples/typescript -https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob-changefeed/test/ +https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/javascript +https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/samples/typescript +https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-blob-changefeed/test/ https://github.com/Azure/azure-digital-twins/blob/private-preview/Documentation/how-to-manage-routes.md diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index 7d474595128f..bfe5fc689fe9 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -3,7 +3,7 @@ $LanguageShort = "js" $LanguageDisplayName = "JavaScript" $PackageRepository = "NPM" $packagePattern = "*.tgz" -$MetadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/releases/latest/js-packages.csv" +$MetadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/main/_data/releases/latest/js-packages.csv" $BlobStorageUrl = "https://azuresdkdocs.blob.core.windows.net/%24web?restype=container&comp=list&prefix=javascript%2F&delimiter=%2F" function Confirm-NodeInstallation diff --git a/rush.json b/rush.json index ddf01f788db5..6335ae217f28 100644 --- a/rush.json +++ b/rush.json @@ -186,16 +186,16 @@ * The URL of this Git repository, used by "rush change" to determine the base branch for your PR. * * The "rush change" command needs to determine which files are affected by your PR diff. - * If you merged or cherry-picked commits from the master branch into your PR branch, those commits + * If you merged or cherry-picked commits from the main branch into your PR branch, those commits * should be excluded from this diff (since they belong to some other PR). In order to do that, * Rush needs to know where to find the base branch for your PR. This information cannot be * determined from Git alone, since the "pull request" feature is not a Git concept. Ideally * Rush would use a vendor-specific protocol to query the information from GitHub, Azure DevOps, etc. - * But to keep things simple, "rush change" simply assumes that your PR is against the "master" branch + * But to keep things simple, "rush change" simply assumes that your PR is against the "main" branch * of the Git remote indicated by the respository.url setting in rush.json. If you are working in * a GitHub "fork" of the real repo, this setting will be different from the repository URL of your * your PR branch, and in this situation "rush change" will also automatically invoke "git fetch" - * to retrieve the latest activity for the remote master branch. + * to retrieve the latest activity for the remote main branch. */ "url": "https://github.com/Azure/azure-sdk-for-js" }, diff --git a/samples/frameworks/react/ts/src/utils/auth.ts b/samples/frameworks/react/ts/src/utils/auth.ts index c58696a51763..c422eafb2f2b 100644 --- a/samples/frameworks/react/ts/src/utils/auth.ts +++ b/samples/frameworks/react/ts/src/utils/auth.ts @@ -7,7 +7,7 @@ For more information on the authentication strategies available for client-side applications, please refer to - https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md. + https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md. */ import { InteractiveBrowserCredential } from "@azure/identity"; diff --git a/sdk/appconfiguration/app-configuration/sample-react/src/components/Page.tsx b/sdk/appconfiguration/app-configuration/sample-react/src/components/Page.tsx index 77cfdf3ed939..2d28a31ebe05 100644 --- a/sdk/appconfiguration/app-configuration/sample-react/src/components/Page.tsx +++ b/sdk/appconfiguration/app-configuration/sample-react/src/components/Page.tsx @@ -168,7 +168,7 @@ export default function Page(): JSX.Element { Link to App Config Samples diff --git a/sdk/core/core-http/samples/index.html b/sdk/core/core-http/samples/index.html index 4fa02617fdcf..c19540dbd1c5 100644 --- a/sdk/core/core-http/samples/index.html +++ b/sdk/core/core-http/samples/index.html @@ -6,7 +6,7 @@ - + diff --git a/sdk/cosmosdb/cosmos/README.md b/sdk/cosmosdb/cosmos/README.md index 0870a91113ef..9d6d0f456e1b 100644 --- a/sdk/cosmosdb/cosmos/README.md +++ b/sdk/cosmosdb/cosmos/README.md @@ -1,7 +1,7 @@ # Azure Cosmos DB client library for JavaScript/TypeScript [![latest npm badge](https://img.shields.io/npm/v/%40azure%2Fcosmos/latest.svg)][npm] -[![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/js/js%20-%20cosmosdb%20-%20ci?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=850&branchName=master) +[![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/js/js%20-%20cosmosdb%20-%20ci?branchName=main)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=850&branchName=main) Azure Cosmos DB is a globally distributed, multi-model database service that supports document, key-value, wide-column, and graph databases. This package is intended for JavaScript/Typescript applications to interact with **SQL API** databases and the JSON documents they contain: diff --git a/sdk/eventhub/event-hubs/samples/browserSample/index.html b/sdk/eventhub/event-hubs/samples/browserSample/index.html index a3205d413387..6bee5b189da3 100644 --- a/sdk/eventhub/event-hubs/samples/browserSample/index.html +++ b/sdk/eventhub/event-hubs/samples/browserSample/index.html @@ -47,7 +47,7 @@

Event Hubs Sample

This sample uses the InteractiveBrowserCredential diff --git a/sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js b/sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js index d6304d70b2f5..a2f992c8709c 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js +++ b/sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js @@ -11,7 +11,7 @@ For an example that uses checkpointing, see the sample in the eventhubs-checkpointstore-blob package on GitHub at the following link: - https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/eventhubs-checkpointstore-blob/samples/javascript/receiveEventsUsingCheckpointStore.js + https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/javascript/receiveEventsUsingCheckpointStore.js Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. diff --git a/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts b/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts index 7359c2013dc9..21c29531d866 100644 --- a/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts +++ b/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts @@ -11,7 +11,7 @@ For an example that uses checkpointing, see the sample in the eventhubs-checkpointstore-blob package on GitHub at the following link: - https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/eventhubs-checkpointstore-blob/samples/typescript/src/receiveEventsUsingCheckpointStore.ts + https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/typescript/src/receiveEventsUsingCheckpointStore.ts Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. diff --git a/sdk/eventhub/event-hubs/src/connectionContext.ts b/sdk/eventhub/event-hubs/src/connectionContext.ts index 2a06c77eebdf..dfeae5920112 100644 --- a/sdk/eventhub/event-hubs/src/connectionContext.ts +++ b/sdk/eventhub/event-hubs/src/connectionContext.ts @@ -142,7 +142,7 @@ type ConnectionContextMethods = Omit< export namespace ConnectionContext { /** * The user agent string for the EventHubs client. - * See guideline at https://github.com/Azure/azure-sdk/blob/master/docs/design/Telemetry.mdk + * See guideline at https://github.com/Azure/azure-sdk/blob/main/docs/design/Telemetry.mdk */ const userAgent: string = `azsdk-js-azureeventhubs/${ packageJsonInfo.version diff --git a/sdk/eventhub/event-processor-host/samples/javascript/sendBatch.js b/sdk/eventhub/event-processor-host/samples/javascript/sendBatch.js index 090b1c755c58..0045cc4c9987 100644 --- a/sdk/eventhub/event-processor-host/samples/javascript/sendBatch.js +++ b/sdk/eventhub/event-processor-host/samples/javascript/sendBatch.js @@ -4,5 +4,5 @@ The sample to populate your Event Hubs instance with events before you try any of the other samples that show how to receive the events from Event Hubs is moved to - https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/javascript/sendEvents.js + https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/javascript/sendEvents.js */ diff --git a/sdk/eventhub/event-processor-host/samples/typescript/src/sendBatch.ts b/sdk/eventhub/event-processor-host/samples/typescript/src/sendBatch.ts index 8c6c93b665eb..306b4b89f1f3 100644 --- a/sdk/eventhub/event-processor-host/samples/typescript/src/sendBatch.ts +++ b/sdk/eventhub/event-processor-host/samples/typescript/src/sendBatch.ts @@ -4,5 +4,5 @@ The sample to populate your Event Hubs instance with events before you try any of the other samples that show how to receive the events from Event Hubs is moved to - https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/typescript/src/sendEvents.ts + https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/sendEvents.ts */ diff --git a/sdk/eventhub/event-processor-host/src/hostContext.ts b/sdk/eventhub/event-processor-host/src/hostContext.ts index b53a73c62956..b817997ee60d 100644 --- a/sdk/eventhub/event-processor-host/src/hostContext.ts +++ b/sdk/eventhub/event-processor-host/src/hostContext.ts @@ -331,7 +331,7 @@ export namespace HostContext { /** * @property {string} userAgent The user agent string for the EventHubs client. - * See guideline at https://github.com/Azure/azure-sdk/blob/master/docs/design/Telemetry.mdk + * See guideline at https://github.com/Azure/azure-sdk/blob/main/docs/design/Telemetry.mdk */ const userAgent: string = `azsdk-js-azureeventprocessorhost/${ packageInfo.version diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples-dev/receiveEventsUsingCheckpointStore.ts b/sdk/eventhub/eventhubs-checkpointstore-blob/samples-dev/receiveEventsUsingCheckpointStore.ts index c794d51c1885..eaffd0cc4312 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples-dev/receiveEventsUsingCheckpointStore.ts +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples-dev/receiveEventsUsingCheckpointStore.ts @@ -47,7 +47,7 @@ export async function main() { // The below code will set up your program to listen to events from your Event Hub instance. // If your Event Hub instance doesn't have any events, then please run "sendEvents.ts" from the event-hubs project - // located here: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/sendEvents.ts + // located here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/sendEvents.ts const subscription = consumerClient.subscribe({ processEvents: async (events, context) => { diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples-dev/receiveEventsWithApiSpecificStorage.ts b/sdk/eventhub/eventhubs-checkpointstore-blob/samples-dev/receiveEventsWithApiSpecificStorage.ts index 7152cd9d575b..3ba9f3f2b615 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples-dev/receiveEventsWithApiSpecificStorage.ts +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples-dev/receiveEventsWithApiSpecificStorage.ts @@ -50,7 +50,7 @@ export async function main() { // The below code will set up your program to listen to events from your Event Hub instance. // If your Event Hub instance doesn't have any events, then please run "sendEvents.ts" from the event-hubs project - // located here: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/sendEvents.ts + // located here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/sendEvents.ts const subscription = consumerClient.subscribe({ processEvents: async (events, context) => { diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsUsingCheckpointStore.js b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsUsingCheckpointStore.js index 9003d979a139..872db75615c9 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsUsingCheckpointStore.js +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsUsingCheckpointStore.js @@ -47,7 +47,7 @@ async function main() { // The below code will set up your program to listen to events from your Event Hub instance. // If your Event Hub instance doesn't have any events, then please run "sendEvents.ts" from the event-hubs project - // located here: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/sendEvents.ts + // located here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/sendEvents.ts const subscription = consumerClient.subscribe({ processEvents: async (events, context) => { diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsWithApiSpecificStorage.js b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsWithApiSpecificStorage.js index eb38c10930c9..1cd5384d12b3 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsWithApiSpecificStorage.js +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsWithApiSpecificStorage.js @@ -50,7 +50,7 @@ async function main() { // The below code will set up your program to listen to events from your Event Hub instance. // If your Event Hub instance doesn't have any events, then please run "sendEvents.ts" from the event-hubs project - // located here: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/sendEvents.ts + // located here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/sendEvents.ts const subscription = consumerClient.subscribe({ processEvents: async (events, context) => { diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts index c794d51c1885..eaffd0cc4312 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts @@ -47,7 +47,7 @@ export async function main() { // The below code will set up your program to listen to events from your Event Hub instance. // If your Event Hub instance doesn't have any events, then please run "sendEvents.ts" from the event-hubs project - // located here: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/sendEvents.ts + // located here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/sendEvents.ts const subscription = consumerClient.subscribe({ processEvents: async (events, context) => { diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsWithApiSpecificStorage.ts b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsWithApiSpecificStorage.ts index 7152cd9d575b..3ba9f3f2b615 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsWithApiSpecificStorage.ts +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsWithApiSpecificStorage.ts @@ -50,7 +50,7 @@ export async function main() { // The below code will set up your program to listen to events from your Event Hub instance. // If your Event Hub instance doesn't have any events, then please run "sendEvents.ts" from the event-hubs project - // located here: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/eventhub/event-hubs/samples/sendEvents.ts + // located here: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/sendEvents.ts const subscription = consumerClient.subscribe({ processEvents: async (events, context) => { diff --git a/sdk/identity/identity/samples/javascript/defaultAzureCredential.js b/sdk/identity/identity/samples/javascript/defaultAzureCredential.js index e67480198464..30da561a7666 100644 --- a/sdk/identity/identity/samples/javascript/defaultAzureCredential.js +++ b/sdk/identity/identity/samples/javascript/defaultAzureCredential.js @@ -12,7 +12,7 @@ require("dotenv").config(); * This is because the `DefaultAzureCredential` combines credentials commonly used to authenticate when deployed, * with credentials used to authenticate in a development environment. * - * For more information, you may go to our readme: [link](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential) + * For more information, you may go to our readme: [link](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential) */ async function main() { diff --git a/sdk/identity/identity/samples/typescript/src/defaultAzureCredential.ts b/sdk/identity/identity/samples/typescript/src/defaultAzureCredential.ts index 50f458a766a4..c7bfd5ba7f77 100644 --- a/sdk/identity/identity/samples/typescript/src/defaultAzureCredential.ts +++ b/sdk/identity/identity/samples/typescript/src/defaultAzureCredential.ts @@ -12,7 +12,7 @@ require("dotenv").config(); * This is because the `DefaultAzureCredential` combines credentials commonly used to authenticate when deployed, * with credentials used to authenticate in a development environment. * - * For more information, you may go to our readme: [link](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential) + * For more information, you may go to our readme: [link](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential) */ export async function main(): Promise { diff --git a/sdk/identity/identity/src/constants.ts b/sdk/identity/identity/src/constants.ts index 799bd55b1e3b..eb52937aef5d 100644 --- a/sdk/identity/identity/src/constants.ts +++ b/sdk/identity/identity/src/constants.ts @@ -7,7 +7,7 @@ */ // TODO: temporary - this is the Azure CLI clientID - we'll replace it when // Developer Sign On application is available -// https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/identity/Azure.Identity/src/Constants.cs#L9 +// https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/src/Constants.cs#L9 export const DeveloperSignOnClientId = "04b07795-8ddb-461a-bbee-02f9e1bf7b46"; /** diff --git a/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts b/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts index 3df20f63e9a0..2224aaf61f9c 100644 --- a/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts +++ b/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts @@ -40,7 +40,7 @@ export class AuthorizationCodeCredential implements TokenCredential { * the authorization code flow to obtain an authorization code to be used * with this credential. A full example of this flow is provided here: * - * https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/manual/authorizationCodeSample.ts + * https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/manual/authorizationCodeSample.ts * * @param tenantId - The Azure Active Directory tenant (directory) ID or name. * 'common' may be used when dealing with multi-tenant scenarios. @@ -70,7 +70,7 @@ export class AuthorizationCodeCredential implements TokenCredential { * the authorization code flow to obtain an authorization code to be used * with this credential. A full example of this flow is provided here: * - * https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/manual/authorizationCodeSample.ts + * https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/manual/authorizationCodeSample.ts * * @param tenantId - The Azure Active Directory tenant (directory) ID or name. * 'common' may be used when dealing with multi-tenant scenarios. diff --git a/sdk/keyvault/keyvault-admin/README.md b/sdk/keyvault/keyvault-admin/README.md index 78b5b39ec144..bf2b8d461582 100644 --- a/sdk/keyvault/keyvault-admin/README.md +++ b/sdk/keyvault/keyvault-admin/README.md @@ -256,7 +256,7 @@ If you'd like to contribute to this library, please read the [contributing guide [dotenv]: https://www.npmjs.com/package/dotenv] [identity-npm]: https://www.npmjs.com/package/@azure/identity [keyvault_docs]: https://docs.microsoft.com/azure/key-vault/ -[logging]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.ts.com/Azure/azure-sdk-for-net/blob/master/sdk/keyvault/Microsoft.Azure.KeyVault/CONTRIBUTING.md +[logging]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.ts.com/Azure/azure-sdk-for-net/blob/main/sdk/keyvault/Microsoft.Azure.KeyVault/CONTRIBUTING.md [managedhsm]: https://docs.microsoft.com/azure/key-vault/managed-hsm/overview [npm]: https://www.npmjs.com/ [package-gh]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/keyvault/keyvault-admin diff --git a/sdk/servicebus/service-bus/src/serviceBusError.ts b/sdk/servicebus/service-bus/src/serviceBusError.ts index 1eb70a8f455d..a6e98cc1d351 100644 --- a/sdk/servicebus/service-bus/src/serviceBusError.ts +++ b/sdk/servicebus/service-bus/src/serviceBusError.ts @@ -9,7 +9,7 @@ import { isObjectWithProperties } from "./util/typeGuards"; * Service Bus failure codes. */ export type ServiceBusErrorCode = - // note: This list is intended to loosely follow https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/ServiceBusFailureReason.cs + // note: This list is intended to loosely follow https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/ServiceBusFailureReason.cs /** * The exception was the result of a general error within the client library. */ diff --git a/sdk/storage/storage-blob/recordings/node/blobclient_begincopyfromurl_poller/recording_supports_updating_on_progress_events.js b/sdk/storage/storage-blob/recordings/node/blobclient_begincopyfromurl_poller/recording_supports_updating_on_progress_events.js index 96f614997341..fc9be991ff37 100644 --- a/sdk/storage/storage-blob/recordings/node/blobclient_begincopyfromurl_poller/recording_supports_updating_on_progress_events.js +++ b/sdk/storage/storage-blob/recordings/node/blobclient_begincopyfromurl_poller/recording_supports_updating_on_progress_events.js @@ -136,7 +136,7 @@ nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParam 'x-ms-copy-id', '78936c7d-84fd-43de-931f-03bbc78baee2', 'x-ms-copy-source', - 'https://raw.githubusercontent.com/Azure/azure-sdk-for-js/master/README.md', + 'https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/README.md', 'x-ms-copy-status', 'pending', 'x-ms-copy-progress', @@ -190,7 +190,7 @@ nock('https://fakestorageaccount.blob.core.windows.net:443', {"encodedQueryParam 'x-ms-copy-id', '78936c7d-84fd-43de-931f-03bbc78baee2', 'x-ms-copy-source', - 'https://raw.githubusercontent.com/Azure/azure-sdk-for-js/master/README.md', + 'https://raw.githubusercontent.com/Azure/azure-sdk-for-js/main/README.md', 'x-ms-copy-status', 'success', 'x-ms-copy-progress', From 24302c8f08906308d8664ebaa45bdf1b4bfeb76f Mon Sep 17 00:00:00 2001 From: Hector Hernandez <39923391+hectorhdzg@users.noreply.github.com> Date: Thu, 24 Jun 2021 10:20:20 -0700 Subject: [PATCH 042/134] [Azure Monitor Exporter] Updating OpenTelemetry API to 1.0.0 (#15934) * Updating OpenTelemetry API to 1.0.0 * Updating version in Monitor Query * lint fix * Format * rush update --- common/config/rush/common-versions.json | 45 ++-- common/config/rush/pnpm-lock.yaml | 196 +++++++----------- .../package.json | 10 +- .../src/export/trace.ts | 4 +- .../src/platform/nodejs/httpSender.ts | 2 +- .../nodejs/persist/fileSystemPersist.ts | 6 +- .../src/utils/constants/span/dbAttributes.ts | 42 +--- .../utils/constants/span/grpcAttributes.ts | 19 +- .../utils/constants/span/httpAttributes.ts | 8 +- .../src/utils/eventhub.ts | 4 +- .../src/utils/spanUtils.ts | 40 ++-- .../test/common/scenario/basic.ts | 37 ++-- .../test/unit/export/trace.test.ts | 26 +-- .../nodejs/persist/fileSystemPersist.test.ts | 6 +- .../test/unit/utils/spanUtils.test.ts | 39 ++-- sdk/monitor/monitor-query/package.json | 6 +- 16 files changed, 190 insertions(+), 300 deletions(-) diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index 46ee6a250076..2763847c8a0f 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -45,8 +45,12 @@ // when there is a new beta version which is being maintained in the repo. // Remove "^12.4.1" when the storage-blob releases a stable version. // Add a new entry in case a new version is being tested through the perf tests (Example: "12.2.0"). - "@azure/storage-blob": ["^12.4.1"], - "@azure/ms-rest-js": ["^2.0.0"], + "@azure/storage-blob": [ + "^12.4.1" + ], + "@azure/ms-rest-js": [ + "^2.0.0" + ], /** * For example, allow some projects to use an older TypeScript compiler * (in addition to whatever "usual" version is being used by other projects in the repo): @@ -55,24 +59,41 @@ // "~2.4.0" // ] // Following is required to allow for backward compatibility with Event Processor Host Track 1 - "@azure/event-hubs": ["^2.1.4"], - // Monitor-opentelemetry-exporter and monitor-query both depend on different versions of @opentelemetry and need to be updated - "@opentelemetry/api": ["^0.18.1", "0.21.0"], + "@azure/event-hubs": [ + "^2.1.4" + ], // Monitor: Allow node 10 types until Timeout / Timer conflict is resolved in OpenTelemetry repo // TODO: remove when released https://github.com/open-telemetry/opentelemetry-js/pull/1352 // eslint v7.15 needs node v10.12 - "@types/node": ["^10.0.0", "^10.12.0"], + "@types/node": [ + "^10.0.0", + "^10.12.0" + ], // @azure/test-utils-perfstress should depend on lowest version of @azure/core-http for maximum compatibility, allowing test // projects to choose a higher version if desired. - "@azure/core-http": ["^1.0.0"], + "@azure/core-http": [ + "^1.0.0" + ], // @azure/event-processor-host is on a much lower major version - "@azure/ms-rest-nodeauth": ["^0.9.2"], + "@azure/ms-rest-nodeauth": [ + "^0.9.2" + ], // Idenity is moving from v1 to v2. Moving all packages to v2 is going to take a bit of time, in the mean time we could use v2 on the perf-identity tests. - "@azure/identity": ["^2.0.0-beta.4", "2.0.0-beta.3", "^1.1.0"], + "@azure/identity": [ + "^2.0.0-beta.4", + "2.0.0-beta.3", + "^1.1.0" + ], // Issue #14771 tracks updating to these versions - "@microsoft/api-extractor": ["7.13.2"], - "prettier": ["2.2.1"], + "@microsoft/api-extractor": [ + "7.13.2" + ], + "prettier": [ + "2.2.1" + ], // @azure/cosmos was unable to upgrade due to test failures, Issue #15928 tracks making this upgrade - "@azure/core-rest-pipeline": ["^1.0.3"] + "@azure/core-rest-pipeline": [ + "^1.0.3" + ] } } diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 47e34d984ca1..b0ffa6675ca4 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1042,18 +1042,6 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-GtpMGd6vkzDMYcpu2t9LlhEgMy/SzBwRnz48EejlRArYqZzqSzAsKmegUK7zHgl+EOIaK9mKHhnRaQu3qw20cA== - /@opentelemetry/api/0.18.1: - dev: false - engines: - node: '>=8.0.0' - resolution: - integrity: sha512-pKNxHe3AJ5T2N5G3AlT9gx6FyF5K2FS9ZNc+FipC+f1CpVF/EY+JHTJ749dnM2kWIgZTbDJFiGMuc0FYjNSCOg== - /@opentelemetry/api/0.21.0: - dev: false - engines: - node: '>=8.0.0' - resolution: - integrity: sha512-Q7hHb3nidPgnBS2fi+y3K64F3EV48d9v09/6EtigIgVF43NFNhw/dboDKC7gECEkbTwuvFeLCbwKs9JaC8LDEw== /@opentelemetry/api/1.0.0: dev: false engines: @@ -1066,140 +1054,104 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-iXKByCMfrlO5S6Oh97BuM56tM2cIBB0XsL/vWF/AtJrJEKx4MC/Xdu0xDsGXMGcNWpqF7ujMsjjnp0+UHBwnDQ== - /@opentelemetry/context-async-hooks/0.21.0_@opentelemetry+api@0.21.0: + /@opentelemetry/context-async-hooks/0.22.0_@opentelemetry+api@1.0.0: dependencies: - '@opentelemetry/api': 0.21.0 + '@opentelemetry/api': 1.0.0 dev: false engines: node: '>=8.1.0' peerDependencies: - '@opentelemetry/api': ^0.21.0 + '@opentelemetry/api': ^1.0.0 resolution: - integrity: sha512-3XxzT7jiDLbohUy66NWsYuWFtXsMI0qMhetWVlFmmBfMPLMR+U6xWA4xhfRMb6kMEjR5XJHbyDSxYwzxrd10sg== + integrity: sha512-JakZ9NJCiaf8FJ6lcR2Fle9xkBKxSFbXK4mk9gZ14totNh9SOTiUBUk08bAnATWUINrQlN8/5hpGKi5gs+FUxQ== /@opentelemetry/context-base/0.10.2: dev: false engines: node: '>=8.0.0' resolution: integrity: sha512-hZNKjKOYsckoOEgBziGMnBcX0M7EtstnCmwz5jZUOUYwlZ+/xxX6z3jPu1XVO2Jivk0eLfuP9GP+vFD49CMetw== - /@opentelemetry/core/0.18.2: - dependencies: - '@opentelemetry/api': 0.18.1 - semver: 7.3.5 - dev: false - engines: - node: '>=8.5.0' - resolution: - integrity: sha512-WG8veOEd8xZHuBaOHddzWQg5yj794lrEPAe6W1qI0YkV7pyqYXvhJdCxOU5Lyo1SWzTAjI5xrCUQ9J2WlrqzYA== - /@opentelemetry/core/0.21.0_@opentelemetry+api@0.21.0: + /@opentelemetry/core/0.22.0_@opentelemetry+api@1.0.0: dependencies: - '@opentelemetry/api': 0.21.0 - '@opentelemetry/semantic-conventions': 0.21.0 + '@opentelemetry/api': 1.0.0 + '@opentelemetry/semantic-conventions': 0.22.0 semver: 7.3.5 dev: false engines: node: '>=8.5.0' peerDependencies: - '@opentelemetry/api': ^0.21.0 + '@opentelemetry/api': ^1.0.0 resolution: - integrity: sha512-sZZQThBuqhCdBPgzPq4y9L4dhnpXXCCEqNsR6IUmMc/kQ8Bcw3lmI5fymLlliSt+lnTc26xJPVKZlwoQfwhThg== - /@opentelemetry/node/0.21.0_@opentelemetry+api@0.21.0: + integrity: sha512-x6JxuQ4rY2x39GEXJSqMgyf8XZPNNiZrGcCMhZSrtypq/WXlsJuxMNnUAl2hj2rpSGGukhhWn5cMpCmMJJz1hw== + /@opentelemetry/node/0.22.0_@opentelemetry+api@1.0.0: dependencies: - '@opentelemetry/api': 0.21.0 - '@opentelemetry/context-async-hooks': 0.21.0_@opentelemetry+api@0.21.0 - '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 - '@opentelemetry/propagator-b3': 0.21.0_@opentelemetry+api@0.21.0 - '@opentelemetry/propagator-jaeger': 0.21.0_@opentelemetry+api@0.21.0 - '@opentelemetry/tracing': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/api': 1.0.0 + '@opentelemetry/context-async-hooks': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/propagator-b3': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/propagator-jaeger': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.0 semver: 7.3.5 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^0.21.0 + '@opentelemetry/api': ^1.0.0 resolution: - integrity: sha512-PCA3pFmzTMN3iIlZ6Bz2BgPe8jEIdKRK7WyjfT9qqrLrHZ/dXNmX4MIz2IKTyQtS6tGt2jayD0IpWsVFctPOIA== - /@opentelemetry/propagator-b3/0.21.0_@opentelemetry+api@0.21.0: + integrity: sha512-+HhGbDruQ7cwejVOIYyxRa28uosnG8W95NiQZ6qE8PXXPsDSyGeftAPbtYpGit0H2f5hrVcMlwmWHeAo9xkSLA== + /@opentelemetry/propagator-b3/0.22.0_@opentelemetry+api@1.0.0: dependencies: - '@opentelemetry/api': 0.21.0 - '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/api': 1.0.0 + '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.0 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^0.21.0 + '@opentelemetry/api': ^1.0.0 resolution: - integrity: sha512-KXQKXa76ilzBNdwr7hze9251g0AqBmwhCPnt17UCgb+97DFcOyEy5Rc7nnjZNxNGYYqUbk8116MK9hMZO2icGw== - /@opentelemetry/propagator-jaeger/0.21.0_@opentelemetry+api@0.21.0: + integrity: sha512-7UESJWUUmInXrlux9whSjoIMfpmajKbu2UBU/ux7TVkLTeaJwebLHoqDhuUTS4dbmvg3fnkpfmocyUgby16NwQ== + /@opentelemetry/propagator-jaeger/0.22.0_@opentelemetry+api@1.0.0: dependencies: - '@opentelemetry/api': 0.21.0 - '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 + '@opentelemetry/api': 1.0.0 + '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.0 dev: false engines: node: '>=8.5.0' peerDependencies: - '@opentelemetry/api': ^0.21.0 - resolution: - integrity: sha512-H0TaYBvDi4stz19UJNPFR1IRikQYjoKYuV6tZV4V5NnPAFTjBhvj/Heb0fNDUWK5G1tVB5NPrEsNSZjjdfvjLw== - /@opentelemetry/resources/0.18.2: - dependencies: - '@opentelemetry/api': 0.18.1 - '@opentelemetry/core': 0.18.2 - dev: false - engines: - node: '>=8.0.0' + '@opentelemetry/api': ^1.0.0 resolution: - integrity: sha512-EBPqFsreXgFaqkMmWCE8vh6pFhbWExRHSO24qSeGhxFmM5SQP/D1jJqMp/jVUSmrF97fPkMS0aEH5z7NOWdxQA== - /@opentelemetry/resources/0.21.0_@opentelemetry+api@0.21.0: + integrity: sha512-Xclq+eLfc0Zk1UAbY6clYjoCZqikk4SzvG8C/ODJ6LfDHnqMr/fKXaHHhh/DdHdi6d73o9S8ytblryc+CaTkrw== + /@opentelemetry/resources/0.22.0_@opentelemetry+api@1.0.0: dependencies: - '@opentelemetry/api': 0.21.0 - '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 - '@opentelemetry/semantic-conventions': 0.21.0 + '@opentelemetry/api': 1.0.0 + '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/semantic-conventions': 0.22.0 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^0.21.0 - resolution: - integrity: sha512-xQUL2/2npP/isH8sbOSdynIRWmlM6p02L9Ex8x/BhUuSkGrMoxO2ezLPPYnfYam1py6ubaz8m1C54O2IRCmgQQ== - /@opentelemetry/semantic-conventions/0.18.2: - dev: false - engines: - node: '>=8.0.0' - resolution: - integrity: sha512-+0P+PrP9qSFVaayNdek4P1OAGE+PEl2SsufuHDRmUpOY25Wzjo7Atyar56Trjc32jkNy4lID6ZFT6BahsR9P9A== - /@opentelemetry/semantic-conventions/0.21.0: - dev: false - engines: - node: '>=8.0.0' + '@opentelemetry/api': ^1.0.0 resolution: - integrity: sha512-qQtZJ8Q+bO/gemBELsZbz5s//tNnyc+mQD/0RHc77XhI6ZBb+tprU6KN/7l0fl5z29smmai0hcJ9UNILC/7nIw== - /@opentelemetry/tracing/0.18.2: - dependencies: - '@opentelemetry/api': 0.18.1 - '@opentelemetry/core': 0.18.2 - '@opentelemetry/resources': 0.18.2 - '@opentelemetry/semantic-conventions': 0.18.2 - lodash.merge: 4.6.2 + integrity: sha512-LiX6/JyuD2eHi7Ewrq/PUP79azDqshd0r2oksNTJ+VwgbGfMlq79ykd4FhiEEk23fFbajGt+9ginadXoRk17dg== + /@opentelemetry/semantic-conventions/0.22.0: dev: false engines: node: '>=8.0.0' resolution: - integrity: sha512-IQSu+NwMhX8O9Wkjc4HjNqs/aKfkcInCE3dQuAOBBec/saLrM6jqd+Fa5QUzg03WMOqpDuZm5KTkr5+6DUrr0g== - /@opentelemetry/tracing/0.21.0_@opentelemetry+api@0.21.0: + integrity: sha512-t4fKikazahwNKmwD+CE/icHyuZldWvNMupJhjxdk9T/KxHFx3zCGjHT3MKavwYP6abzgAAm5WwzD1oHlmj7dyg== + /@opentelemetry/tracing/0.22.0_@opentelemetry+api@1.0.0: dependencies: - '@opentelemetry/api': 0.21.0 - '@opentelemetry/core': 0.21.0_@opentelemetry+api@0.21.0 - '@opentelemetry/resources': 0.21.0_@opentelemetry+api@0.21.0 - '@opentelemetry/semantic-conventions': 0.21.0 + '@opentelemetry/api': 1.0.0 + '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/semantic-conventions': 0.22.0 lodash.merge: 4.6.2 dev: false engines: node: '>=8.0.0' peerDependencies: - '@opentelemetry/api': ^0.21.0 + '@opentelemetry/api': ^1.0.0 resolution: - integrity: sha512-6+2pfFpu7Yo2DwmBK9sHDUSIL7UshcEMwDF6+LghGK68ILRaEMqqBPgKarjhFH9ERgJB9GOkJ2snK96qIzMZNA== + integrity: sha512-EFrKTFndiEdh/KnzwDgo/EcphG/5z/NyLck8oiUUY+YMP7hskXNYHjTWSAv9UxtYe1MzgLbjmAateTuMmFIVNw== /@rollup/plugin-commonjs/11.0.2_rollup@1.32.1: dependencies: '@rollup/pluginutils': 3.1.0_rollup@1.32.1 @@ -8155,7 +8107,7 @@ packages: dev: false name: '@rush-temp/agrifood-farming' resolution: - integrity: sha512-1TBfH8mrt2ib3U1qef5slQiSujNaeVSuPS4ISdNcq6Vu2vUIjiJ1oxuXA6rfaaeSG1mGHp9wJDJ7Li0h5wsF1Q== + integrity: sha512-zxH3z0da7M7HliJFRufLVPCbrJZvGYX+bkJITR0xUJf4mRfWvfkboNOxjbKwxGVawQ1quKiqTmyZsPpLw9HIEQ== tarball: file:projects/agrifood-farming.tgz version: 0.0.0 file:projects/ai-anomaly-detector.tgz: @@ -8246,7 +8198,7 @@ packages: dev: false name: '@rush-temp/ai-document-translator' resolution: - integrity: sha512-SPtI9UxA5hglJh6QjPR1ZenuxfvvhsOequZrZl14qmvGwGDENI7NAWnb1MuarQcRfMRyd40dv2asnqG312iNqw== + integrity: sha512-3YHPFrjR8WULy8t7MNaoiNCoYBNkDfM9aRwRE1xbf80I5qtPfA7BD4mbo7sxMYesQdGiLSl9V1UARbbN4fy2pA== tarball: file:projects/ai-document-translator.tgz version: 0.0.0 file:projects/ai-form-recognizer.tgz: @@ -8380,7 +8332,7 @@ packages: dev: false name: '@rush-temp/ai-text-analytics' resolution: - integrity: sha512-vBEf8TUObUkBdOduEKEuN3V17KT8ax/MycFhx+fo4Qs34iJMqX/YIAIAme/QvDvdWCtf1PrEk+Ep66/2Us6Ppw== + integrity: sha512-PwfQ6A/U3Da95CRcCnbn/txOlXbzGxeAOIDNrlZXTr8TXitD4PIYgrl8k25NeztMKg76BICQv3QL+V6d4Li8zQ== tarball: file:projects/ai-text-analytics.tgz version: 0.0.0 file:projects/app-configuration.tgz: @@ -8488,7 +8440,7 @@ packages: dev: false name: '@rush-temp/attestation' resolution: - integrity: sha512-rUDB0KUUyb0NTzy6aVtQjsVuZG/o6dzet024G5HxEyOUHbb1KOakRDwet38Knpu5GGYPxP5Cl7GRIAFv9+q87Q== + integrity: sha512-BZ8CCLDiqLswQ8wK4lnFc4/ZMcn+a7VT+T83/aZtyiAw2XFgJ3BzIVU8Pq5Ol81OxELobA1M/L7Tw7vu6hHpwQ== tarball: file:projects/attestation.tgz version: 0.0.0 file:projects/communication-chat.tgz: @@ -8847,7 +8799,7 @@ packages: dev: false name: '@rush-temp/confidential-ledger' resolution: - integrity: sha512-PvCYuuLI3tCKXH+1yJcEcf0kJ4BtC55RwaXwwOyWcM/rMmYrKPtYImDBGl6UJgSE4khFPEhtMlbg9ErXDExs0Q== + integrity: sha512-jPiYbuPxYfVKkWJVYow1irqzxO/9Pyx68cONy0qLfzwOi4OC8TkXQVI0p23E5Wm/kvd46aWD+aaRD7nCKlPvZw== tarball: file:projects/confidential-ledger.tgz version: 0.0.0 file:projects/container-registry.tgz: @@ -8891,7 +8843,7 @@ packages: dev: false name: '@rush-temp/container-registry' resolution: - integrity: sha512-DFt88tLfBmEUwAR8+6xpAupuO1aKe9m2Ajb5uNRjiDzQBA6GlFEG6+hV5ToyDt6pGxGOpFH+T60ij7pjEuUkqg== + integrity: sha512-rvApa+GUcNzh2bFcw3EljYQpQalgHz0S9tsfcCv8ZPyBU4kuN53KasLy1bBEJLwqyIOrRQRdzYvLmgoW5sO0qA== tarball: file:projects/container-registry.tgz version: 0.0.0 file:projects/core-amqp.tgz: @@ -9044,12 +8996,11 @@ packages: dev: false name: '@rush-temp/core-client-1' resolution: - integrity: sha512-SG/UNSQX+LFioBKFma6ZxRnA/Z5bzBG+UUyTKgfFLuFFMLHGeKSYfH8yrepW+iivLnbClPQfcVes07ZljoR6vQ== + integrity: sha512-DrijA2NS4/XmZj1662Y6vb7WdQYW3/fyOjeAtDpkusGwA3qf0QRQoivCfvxTtRLTJH4XYH20Z5i375iAoOMYWQ== tarball: file:projects/core-client-1.tgz version: 0.0.0 file:projects/core-client-paging.tgz: dependencies: - '@azure/core-rest-pipeline': 1.0.4 '@microsoft/api-extractor': 7.13.2 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 @@ -9082,7 +9033,7 @@ packages: dev: false name: '@rush-temp/core-client-paging' resolution: - integrity: sha512-MWsd9fmRdJ/ArkZHl867uBk7W5lA+voMiDFivxzcJSuFVG85nOEPNnoZz8AFlqbnLrhV2r3EOwbsp2M+s3iFHg== + integrity: sha512-cILnMe2cNW8wClpKU+i6EyZHXtI9FyIkDCrLvd4I8utQ/Cw6x2l4T88rx/nbdN2qTm/QfY1Oi49xgNPEqoam4A== tarball: file:projects/core-client-paging.tgz version: 0.0.0 file:projects/core-client.tgz: @@ -9120,7 +9071,7 @@ packages: dev: false name: '@rush-temp/core-client' resolution: - integrity: sha512-7b3K4L1f+at6Zz1whbFBdVfAgZlrvpPudcOgwbBeXPyJumHKk4pi5t4LVsKGfTOWxzFv31rPICyaJZ5IncvLhg== + integrity: sha512-il6SXKHslnN6KhbWk81o67b69k+uGgOd/UVEWmvp0OBuiF7+5YWUxbMGShuPaDCCODV5Eg1OX3bOVBU122ECyg== tarball: file:projects/core-client.tgz version: 0.0.0 file:projects/core-crypto.tgz: @@ -9349,7 +9300,7 @@ packages: dev: false name: '@rush-temp/core-rest-pipeline' resolution: - integrity: sha512-zojuz/HSp53v8H/nOSzpSDLTCo1p6cjkcVQ+F4bNKUJ6TPNNKlo7++PBthtyS8TT/rwXhpIAeKuke+RaifY1fA== + integrity: sha512-B30gNDjvYMKn9TTL3Li38tIe02Gn9y/2pz9MLrKoWFzITzyQwaht729dCk6oSYXfesN+LipPoM26kw5lkOQ0rg== tarball: file:projects/core-rest-pipeline.tgz version: 0.0.0 file:projects/core-tracing.tgz: @@ -9543,7 +9494,7 @@ packages: dev: false name: '@rush-temp/cosmos' resolution: - integrity: sha512-hiMrME79odG1cqoJyrO/ejY8+j5YBw/e2ZTcyKcLuJ8EzgpoCdcJd5+JFGP7Mr1P/dvzSJKEQfvSZvI3pRJdlQ== + integrity: sha512-xeynzMPENTLSgyH0Fi0tNXaGW76n4EWdwWWPrjSje3pHCLEw7BVgaLSOSQDkhuQskBJ6wxoDvL3OPJiUnXZzBg== tarball: file:projects/cosmos.tgz version: 0.0.0 file:projects/data-tables.tgz: @@ -9551,6 +9502,7 @@ packages: '@azure/core-rest-pipeline': 1.0.4 '@azure/core-tracing': 1.0.0-preview.11 '@azure/core-xml': 1.0.0-beta.1 + '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-inject': 4.0.2_rollup@1.32.1 @@ -9600,7 +9552,7 @@ packages: dev: false name: '@rush-temp/data-tables' resolution: - integrity: sha512-fR6CYIR3sEMfnYpxmHgHv+8i3K9knpzIyqJaHyQPWflM7NiKxSMtQpf4y12qhC3aLCYY1GcSPJxA9+a0ait/xQ== + integrity: sha512-JnJ5r5pu8XHpQxCvIJFi0KWwk3XECT5OCXekLOqH2kXVxFzrI0IEwX9ToJwfFvXkmIaZYmFKKRc4NAhQ14TsdA== tarball: file:projects/data-tables.tgz version: 0.0.0 file:projects/dev-tool.tgz: @@ -9906,7 +9858,7 @@ packages: dev: false name: '@rush-temp/eventgrid' resolution: - integrity: sha512-QnzkeP9oYk6af81WVML/39OdVLgIESJBSzZXBFWtKYvaMbmc0PPaSFH4zfRS8AY5Xhh0ldrGM17m2Z6GwvNnoQ== + integrity: sha512-SBgApUEcGwhnF6aSeBKHFBxyPi7WfhLFrhH+VmYkQzWH6Y3I+6Q82Q6iegDWtMOQCYhgWhdEX4IMC37Z+6ytnA== tarball: file:projects/eventgrid.tgz version: 0.0.0 file:projects/eventhubs-checkpointstore-blob.tgz: @@ -10159,7 +10111,7 @@ packages: dev: false name: '@rush-temp/iot-modelsrepository' resolution: - integrity: sha512-qM8f/dF2yWddaq4BW2zZ1zucZDckpytzeB3YqPWhmdBEsBvIlPiPjl74h4kspJ8wWLsuvhOKlz1nrIFu131O/g== + integrity: sha512-xxLD7Acc6ktPpKllJjKXO0WDBy97DSh1kfiF5cECusqDY3u7+BF8GBs/7E3x0do6/Eofn1goARxH9hC+mKM0fA== tarball: file:projects/iot-modelsrepository.tgz version: 0.0.0 file:projects/keyvault-admin.tgz: @@ -10204,7 +10156,7 @@ packages: dev: false name: '@rush-temp/keyvault-admin' resolution: - integrity: sha512-JqYaBoRx4c9WwiPxa1JEbi0nMsGstpFmr73TeJ9toZkQK8BEd/jKFJTe3sUbm+DbxoBh2PbT1Fc+fGhC/+MGew== + integrity: sha512-LlmRCxSakkuseakBlCLSHrPvJPhBanDgaYXv9uAz2/L44BajmfkYbZ5CASZ69fsC8w+YsF9n0dbcmO2S4w56hA== tarball: file:projects/keyvault-admin.tgz version: 0.0.0 file:projects/keyvault-certificates.tgz: @@ -10500,11 +10452,11 @@ packages: file:projects/monitor-opentelemetry-exporter.tgz: dependencies: '@microsoft/api-extractor': 7.7.11 - '@opentelemetry/api': 0.18.1 - '@opentelemetry/core': 0.18.2 - '@opentelemetry/resources': 0.18.2 - '@opentelemetry/semantic-conventions': 0.18.2 - '@opentelemetry/tracing': 0.18.2 + '@opentelemetry/api': 1.0.0 + '@opentelemetry/core': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/resources': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/semantic-conventions': 0.22.0 + '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.0 '@types/mocha': 7.0.2 '@types/node': 10.17.60 eslint: 7.29.0 @@ -10524,16 +10476,16 @@ packages: dev: false name: '@rush-temp/monitor-opentelemetry-exporter' resolution: - integrity: sha512-w2ct7E2nX0YTa9nbI14EWNAYg8zHDznRHSjkb6GK3lm9q6AfPXjewK9bOZqqhtBbc0ap4LfH+FuexnltuzFnaA== + integrity: sha512-aZpEWfv4GO5hp+TrhXmiB4PQCA1cTDjeTWq2Qyk+ckCPt42cNTscgaulw2mjyPfZmPk6YzIJ/5vbZAvxfpoO7Q== tarball: file:projects/monitor-opentelemetry-exporter.tgz version: 0.0.0 file:projects/monitor-query.tgz: dependencies: '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 - '@opentelemetry/api': 0.21.0 - '@opentelemetry/node': 0.21.0_@opentelemetry+api@0.21.0 - '@opentelemetry/tracing': 0.18.2 + '@opentelemetry/api': 1.0.0 + '@opentelemetry/node': 0.22.0_@opentelemetry+api@1.0.0 + '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.0 '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 @@ -10572,7 +10524,7 @@ packages: dev: false name: '@rush-temp/monitor-query' resolution: - integrity: sha512-ON6PB//RHdZG1TyksRq5CyFzk1G2eC5kqn8TIYI71bTklo+xQiRQWgzvRg45CPjt+JP+BRTgXqX6TVub4cNWiQ== + integrity: sha512-sKEbHURwQ0W5MZKWdtDb9GCLNhzi9FZlfjkZLdSYsdVEwHEv/lwp8cqtVr7IkJ5KD21UnyexhmvRzTtHMvwXPA== tarball: file:projects/monitor-query.tgz version: 0.0.0 file:projects/perf-ai-form-recognizer.tgz: @@ -10638,7 +10590,7 @@ packages: dev: false name: '@rush-temp/perf-core-rest-pipeline' resolution: - integrity: sha512-4q+no8yk20vAH8+zbnKxeml6k7tFKGCKCWlPqlecQ0YEPXVsebPhaBYIfKXdko2g/Txt1Y+v1v7xmAfFFwcbFw== + integrity: sha512-VtDP3wPovpWESSwAZQ7FqSBdZAqLmijGC50UHykB1qGKoSk/v4hnX3v3H/qef2Gq1m9962VNH3A1xHcAujr5Ng== tarball: file:projects/perf-core-rest-pipeline.tgz version: 0.0.0 file:projects/perf-eventgrid.tgz: @@ -10761,7 +10713,7 @@ packages: dev: false name: '@rush-temp/perf-storage-blob' resolution: - integrity: sha512-KYjx9lP6U+6d8rXevBGZd+LdvZWgWCvAAUYhSa/lgVE06d4BLkG0ND2GJDQPTdRIW39vxjJwqwowhFe4/Z0Jxw== + integrity: sha512-h1YaI4Uhhooobl0kV7ArC9qdp4YS6nOuRsfRX0xt621Ag6o8Sk5IeYHTo+mezVebEZFvPNiuTHIzBBdPhISOKg== tarball: file:projects/perf-storage-blob.tgz version: 0.0.0 file:projects/perf-storage-file-datalake.tgz: @@ -10840,7 +10792,7 @@ packages: dev: false name: '@rush-temp/purview-catalog' resolution: - integrity: sha512-+812uw23hRbV3dE91BX7cnyQ3nvmQzZHcezDgotVIHo/P8eYR+UsRxXaAVXYFbQMteJswuu/wv1aDAsTUIV+bA== + integrity: sha512-WPSEZTapYdZwHdzDo8F+4Tzx6W49pvnyQQFcRraQOqgeUkrCF6wfDW0JtkR2xU2GWjnuif/ilg4NoanFQcidbQ== tarball: file:projects/purview-catalog.tgz version: 0.0.0 file:projects/purview-scanning.tgz: @@ -10883,7 +10835,7 @@ packages: dev: false name: '@rush-temp/purview-scanning' resolution: - integrity: sha512-xFY0I3wujRaJjJCYdh2N29gUyRmtMG9QK+BLuQzfgb7HHRDJ/iZLqfI9VZPvaTDLGBjLBsFV9fOJxve8BtF3FQ== + integrity: sha512-xO9TV5e8I9WEWBc9dsOEzbx9j+l2NSgyz7s1vy4b3vsFGtOJMkeAIOKK6dXOcvf+QVOp8FOSk5XwSNAggDIyqA== tarball: file:projects/purview-scanning.tgz version: 0.0.0 file:projects/quantum-jobs.tgz: @@ -11281,7 +11233,7 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-NsJl51NIeTjZIH4PEFIwPFjwkUy6TxsicsHzY0I9umf7iMZ9Lw1zAwiyKGnaQzRVhs0Eacdc0iEtQpP4lf91lA== + integrity: sha512-vDjrlt3aRme+YkIbvsx56A9FZpNC+7u96T0wFb2R+oVQy1UQpcvbsMD0ztuI59ao7b830JOeObLzHdwbiQg8Aw== tarball: file:projects/storage-blob.tgz version: 0.0.0 file:projects/storage-file-datalake.tgz: diff --git a/sdk/monitor/monitor-opentelemetry-exporter/package.json b/sdk/monitor/monitor-opentelemetry-exporter/package.json index 963cd51d8e87..5bd37efa024f 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/package.json @@ -95,11 +95,11 @@ }, "dependencies": { "@azure/core-http": "^1.2.0", - "@opentelemetry/api": "^0.18.1", - "@opentelemetry/core": "^0.18.2", - "@opentelemetry/resources": "^0.18.2", - "@opentelemetry/semantic-conventions": "^0.18.2", - "@opentelemetry/tracing": "^0.18.2", + "@opentelemetry/api": "^1.0.0", + "@opentelemetry/core": "^0.22.0", + "@opentelemetry/resources": "^0.22.0", + "@opentelemetry/semantic-conventions": "^0.22.0", + "@opentelemetry/tracing": "^0.22.0", "tslib": "^2.2.0" }, "sideEffects": false, diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/export/trace.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/export/trace.ts index e7fbd1d564e9..a90cf99c7501 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/export/trace.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/export/trace.ts @@ -96,7 +96,7 @@ export class AzureMonitorTraceExporter implements SpanExporter { if (result) { diag.info(result); const breezeResponse = JSON.parse(result) as BreezeResponse; - let filteredEnvelopes: Envelope[] = []; + const filteredEnvelopes: Envelope[] = []; breezeResponse.errors.forEach((error) => { if (error.statusCode && isRetriable(error.statusCode)) { filteredEnvelopes.push(envelopes[error.index]); @@ -132,7 +132,7 @@ export class AzureMonitorTraceExporter implements SpanExporter { // To prevent circular redirects if (this._numConsecutiveRedirects < 10) { if (restError.response && restError.response.headers) { - let location = restError.response.headers.get("location"); + const location = restError.response.headers.get("location"); if (location) { // Update sender URL this._sender.handlePermanentRedirect(location); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/platform/nodejs/httpSender.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/platform/nodejs/httpSender.ts index 201608d63d04..f1b70cfc6d01 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/platform/nodejs/httpSender.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/platform/nodejs/httpSender.ts @@ -52,7 +52,7 @@ export class HttpSender implements Sender { handlePermanentRedirect(location: string | undefined) { if (location) { - let locUrl = new url.URL(location); + const locUrl = new url.URL(location); if (locUrl && locUrl.host) { this._appInsightsClient.host = "https://" + locUrl.host; } diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/platform/nodejs/persist/fileSystemPersist.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/platform/nodejs/persist/fileSystemPersist.ts index 6fce252c1e81..ff651cdc1c42 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/platform/nodejs/persist/fileSystemPersist.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/platform/nodejs/persist/fileSystemPersist.ts @@ -154,12 +154,12 @@ export class FileSystemPersist implements PersistentStorage { } else { files.forEach(async (file) => { // Check expiration - let fileCreationDate: Date = new Date( + const fileCreationDate: Date = new Date( parseInt(file.split(FileSystemPersist.FILENAME_SUFFIX)[0]) ); - let expired = new Date(+new Date() - this.fileRetemptionPeriod) > fileCreationDate; + const expired = new Date(+new Date() - this.fileRetemptionPeriod) > fileCreationDate; if (expired) { - var filePath = path.join(this._tempDirectory, file); + const filePath = path.join(this._tempDirectory, file); await unlinkAsync(filePath); } }); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/dbAttributes.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/dbAttributes.ts index 70def6256e72..88bf583a5345 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/dbAttributes.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/dbAttributes.ts @@ -4,48 +4,12 @@ import * as conventions from "@opentelemetry/semantic-conventions"; /** - * OpenTelemetry DB type attribute. + * OpenTelemetry DB name attribute. * @internal */ -export const { DB_TYPE } = conventions.DatabaseAttribute; -/** - * OpenTelemetry DB instance attribute. - * @internal - */ -export const { DB_INSTANCE } = conventions.DatabaseAttribute; +export const DB_NAME = conventions.SemanticAttributes.DB_NAME; /** * OpenTelemetry DB statement attribute. * @internal */ -export const { DB_STATEMENT } = conventions.DatabaseAttribute; -/** - * OpenTelemetry peer address attribute. - * @internal - */ -export const PEER_ADDRESS = conventions.GeneralAttribute.NET_PEER_ADDRESS; -/** - * OpenTelemetry peer hostname attribute. - * @internal - */ -export const PEER_HOSTNAME = conventions.GeneralAttribute.NET_PEER_HOSTNAME; - -/** - * OpenTelemetry peer port attribute. - * @internal - */ -export const PEER_PORT = conventions.GeneralAttribute.NET_PEER_PORT; -/** - * OpenTelemetry peer IPV4 attribute. - * @internal - */ -export const PEER_IPV4 = conventions.GeneralAttribute.NET_PEER_IPV4; -/** - * OpenTelemetry peer IPV6 attribute. - * @internal - */ -export const PEER_IPV6 = conventions.GeneralAttribute.NET_PEER_IPV6; -/** - * OpenTelemetry peer service attribute. - * @internal - */ -export const PEER_SERVICE = conventions.GeneralAttribute.NET_PEER_SERVICE; +export const DB_STATEMENT = conventions.SemanticAttributes.DB_STATEMENT; diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/grpcAttributes.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/grpcAttributes.ts index 05ca3bb2bef4..900fe04fdfb0 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/grpcAttributes.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/grpcAttributes.ts @@ -3,28 +3,13 @@ import * as conventions from "@opentelemetry/semantic-conventions"; -/** - * OpenTelemetry GRPC kind attribute. - * @internal - */ -export const { GRPC_KIND } = conventions.RpcAttribute; /** * OpenTelemetry GRPC method attribute. * @internal */ -export const { GRPC_METHOD } = conventions.RpcAttribute; +export const GRPC_METHOD = conventions.SemanticAttributes.RPC_METHOD; /** * OpenTelemetry GRPC status code attribute. * @internal */ -export const { GRPC_STATUS_CODE } = conventions.RpcAttribute; -/** - * OpenTelemetry GRPC error name attribute. - * @internal - */ -export const { GRPC_ERROR_NAME } = conventions.RpcAttribute; -/** - * OpenTelemetry GRPC error message attribute. - * @internal - */ -export const { GRPC_ERROR_MESSAGE } = conventions.RpcAttribute; +export const GRPC_STATUS_CODE = conventions.SemanticAttributes.RPC_GRPC_STATUS_CODE; diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/httpAttributes.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/httpAttributes.ts index b95de5ee7fb3..d742d21ce6ab 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/httpAttributes.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/constants/span/httpAttributes.ts @@ -7,19 +7,19 @@ import * as conventions from "@opentelemetry/semantic-conventions"; * OpenTelemetry HTTP method attribute. * @internal */ -export const { HTTP_METHOD } = conventions.HttpAttribute; +export const HTTP_METHOD = conventions.SemanticAttributes.HTTP_METHOD; /** * OpenTelemetry HTTP URL attribute. * @internal */ -export const { HTTP_URL } = conventions.HttpAttribute; +export const HTTP_URL = conventions.SemanticAttributes.HTTP_URL; /** * OpenTelemetry HTTP route attribute. * @internal */ -export const { HTTP_ROUTE } = conventions.HttpAttribute; +export const HTTP_ROUTE = conventions.SemanticAttributes.HTTP_ROUTE; /** * OpenTelemetry HTTP status code attribute. * @internal */ -export const { HTTP_STATUS_CODE } = conventions.HttpAttribute; +export const HTTP_STATUS_CODE = conventions.SemanticAttributes.HTTP_STATUS_CODE; diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/eventhub.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/eventhub.ts index b5cb85b21d2c..c6750362efb6 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/eventhub.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/eventhub.ts @@ -3,7 +3,7 @@ import { SpanKind } from "@opentelemetry/api"; import { hrTimeToMilliseconds } from "@opentelemetry/core"; -import { GeneralAttribute } from "@opentelemetry/semantic-conventions"; +import { SemanticAttributes } from "@opentelemetry/semantic-conventions"; import { ReadableSpan } from "@opentelemetry/tracing"; import { RemoteDependencyData, RequestData } from "../generated"; import { TIME_SINCE_ENQUEUED, ENQUEUED_TIME } from "./constants/applicationinsights"; @@ -43,7 +43,7 @@ export const parseEventHubSpan = ( baseData: RequestData | RemoteDependencyData ): void => { const namespace = span.attributes[AzNamespace] as typeof MicrosoftEventHub; - const peerAddress = ((span.attributes[GeneralAttribute.NET_PEER_ADDRESS] || + const peerAddress = ((span.attributes[SemanticAttributes.NET_PEER_NAME] || span.attributes["peer.address"] || "unknown") as string).replace(/\/$/g, ""); // remove trailing "/" const messageBusDestination = (span.attributes[MessageBusDestination] || "unknown") as string; diff --git a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts index 2d81104afb95..b99b0a0a37cf 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts @@ -5,7 +5,7 @@ import { URL } from "url"; import { ReadableSpan } from "@opentelemetry/tracing"; import { hrTimeToMilliseconds } from "@opentelemetry/core"; import { diag, SpanKind, SpanStatusCode, Link } from "@opentelemetry/api"; -import { SERVICE_RESOURCE } from "@opentelemetry/resources"; +import { ResourceAttributes } from "@opentelemetry/semantic-conventions"; import { Tags, Properties, MSLink, Measurements } from "../types"; import { HTTP_METHOD, @@ -22,15 +22,10 @@ import { MS_LINKS, INPROC } from "./constants/applicationinsights"; -import { - GRPC_ERROR_MESSAGE, - GRPC_ERROR_NAME, - GRPC_METHOD, - GRPC_STATUS_CODE -} from "./constants/span/grpcAttributes"; +import { GRPC_METHOD, GRPC_STATUS_CODE } from "./constants/span/grpcAttributes"; import { msToTimeSpan } from "./breezeUtils"; import { getInstance } from "../platform"; -import { DB_STATEMENT, DB_TYPE, DB_INSTANCE } from "./constants/span/dbAttributes"; +import { DB_NAME, DB_STATEMENT } from "./constants/span/dbAttributes"; import { parseEventHubSpan } from "./eventhub"; import { AzNamespace, MicrosoftEventHub } from "./constants/span/azAttributes"; import { RemoteDependencyData, RequestData, TelemetryItem as Envelope } from "../generated"; @@ -39,14 +34,14 @@ function createTagsFromSpan(span: ReadableSpan): Tags { const context = getInstance(); const tags: Tags = { ...context.tags }; - tags[AI_OPERATION_ID] = span.spanContext.traceId; + tags[AI_OPERATION_ID] = span.spanContext().traceId; if (span.parentSpanId) { tags[AI_OPERATION_PARENT_ID] = span.parentSpanId; } if (span.resource && span.resource.attributes) { - const serviceName = span.resource.attributes[SERVICE_RESOURCE.NAME]; - const serviceNamespace = span.resource.attributes[SERVICE_RESOURCE.NAMESPACE]; - const serviceInstanceId = span.resource.attributes[SERVICE_RESOURCE.INSTANCE_ID]; + const serviceName = span.resource.attributes[ResourceAttributes.SERVICE_NAME]; + const serviceNamespace = span.resource.attributes[ResourceAttributes.SERVICE_NAMESPACE]; + const serviceInstanceId = span.resource.attributes[ResourceAttributes.SERVICE_INSTANCE_ID]; if (serviceName) { if (serviceNamespace) { tags[AI_CLOUD_ROLE] = `${serviceNamespace}.${serviceName}`; @@ -83,11 +78,7 @@ function createPropertiesFromSpan(span: ReadableSpan): [Properties, Measurements const measurements: Measurements = {}; for (const key of Object.keys(span.attributes)) { - if ( - key === GRPC_ERROR_MESSAGE || - key === GRPC_ERROR_NAME || - !(key.startsWith("http.") || key.startsWith("grpc.") || key.startsWith("db.")) - ) { + if (!(key.startsWith("http.") || key.startsWith("rpc.") || key.startsWith("db."))) { properties[key] = span.attributes[key] as string; } } @@ -107,7 +98,7 @@ function createPropertiesFromSpan(span: ReadableSpan): [Properties, Measurements function createDependencyData(span: ReadableSpan): RemoteDependencyData { const data: RemoteDependencyData = { name: span.name, - id: `|${span.spanContext.traceId}.${span.spanContext.spanId}.`, + id: `|${span.spanContext().traceId}.${span.spanContext().spanId}.`, success: span.status.code === SpanStatusCode.OK, resultCode: String(span.status.code), target: span.attributes[HTTP_URL] as string | undefined, @@ -144,14 +135,9 @@ function createDependencyData(span: ReadableSpan): RemoteDependencyData { if (span.attributes[DB_STATEMENT]) { data.name = String(span.attributes[DB_STATEMENT]); data.data = String(span.attributes[DB_STATEMENT]); - if (span.attributes[DB_TYPE]) { - data.type = String(span.attributes[DB_TYPE]); - } else { - data.type = "DB"; - } - - if (span.attributes[DB_INSTANCE]) { - data.target = String(span.attributes[DB_INSTANCE]); + data.type = "DB"; + if (span.attributes[DB_NAME]) { + data.target = String(span.attributes[DB_NAME]); } } @@ -161,7 +147,7 @@ function createDependencyData(span: ReadableSpan): RemoteDependencyData { function createRequestData(span: ReadableSpan): RequestData { const data: RequestData = { name: span.name, - id: `|${span.spanContext.traceId}.${span.spanContext.spanId}.`, + id: `|${span.spanContext().traceId}.${span.spanContext().spanId}.`, success: span.status.code === SpanStatusCode.OK, responseCode: String(span.status.code), duration: msToTimeSpan(hrTimeToMilliseconds(span.duration)), diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/basic.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/basic.ts index a817f620469e..c20e245d5aa1 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/basic.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/basic.ts @@ -37,29 +37,20 @@ export class BasicScenario implements Scenario { foo: "bar" } }); - const ctx = opentelemetry.setSpan(opentelemetry.context.active(), root); - const child1 = tracer.startSpan( - `${this.constructor.name}.Child.1`, - { - startTime: 0, - kind: opentelemetry.SpanKind.CLIENT, - attributes: { - numbers: "123" - } - }, - ctx - ); - const child2 = tracer.startSpan( - `${this.constructor.name}.Child.2`, - { - startTime: 0, - kind: opentelemetry.SpanKind.CLIENT, - attributes: { - numbers: "1234" - } - }, - ctx - ); + const child1 = tracer.startSpan(`${this.constructor.name}.Child.1`, { + startTime: 0, + kind: opentelemetry.SpanKind.CLIENT, + attributes: { + numbers: "123" + } + }); + const child2 = tracer.startSpan(`${this.constructor.name}.Child.2`, { + startTime: 0, + kind: opentelemetry.SpanKind.CLIENT, + attributes: { + numbers: "1234" + } + }); child1.setStatus({ code: SpanStatusCode.OK }); child1.end(100); await delay(0); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts index ee9293616d2f..88db775e3d62 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts @@ -152,8 +152,8 @@ describe("#AzureMonitorBaseExporter", () => { it("should handle permanent redirects in Azure Monitor", async () => { const exporter = new TestExporter(); - let redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; - let redirectLocation = redirectHost + "/v2/track"; + const redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; + const redirectLocation = redirectHost + "/v2/track"; // Redirect endpoint const redirectScope = nock(redirectHost).post("/v2/track", () => { return true; @@ -161,8 +161,8 @@ describe("#AzureMonitorBaseExporter", () => { redirectScope.reply(200, JSON.stringify(successfulBreezeResponse(1))); scope.reply(308, {}, { location: redirectLocation }); - let result = await exporter.exportEnvelopesPrivate([envelope]); - let persistedEnvelopes = (await exporter["_persister"].shift()) as Envelope[]; + const result = await exporter.exportEnvelopesPrivate([envelope]); + const persistedEnvelopes = (await exporter["_persister"].shift()) as Envelope[]; assert.strictEqual(persistedEnvelopes, null); assert.strictEqual(result.code, ExportResultCode.SUCCESS); assert.strictEqual( @@ -173,8 +173,8 @@ describe("#AzureMonitorBaseExporter", () => { it("should handle temporary redirects in Azure Monitor", async () => { const exporter = new TestExporter(); - let redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; - let redirectLocation = redirectHost + "/v2/track"; + const redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; + const redirectLocation = redirectHost + "/v2/track"; // Redirect endpoint const redirectScope = nock(redirectHost).post("/v2/track", () => { return true; @@ -182,8 +182,8 @@ describe("#AzureMonitorBaseExporter", () => { redirectScope.reply(200, JSON.stringify(successfulBreezeResponse(1))); scope.reply(307, {}, { location: redirectLocation }); - let result = await exporter.exportEnvelopesPrivate([envelope]); - let persistedEnvelopes = (await exporter["_persister"].shift()) as Envelope[]; + const result = await exporter.exportEnvelopesPrivate([envelope]); + const persistedEnvelopes = (await exporter["_persister"].shift()) as Envelope[]; assert.strictEqual(persistedEnvelopes, null); assert.strictEqual(result.code, ExportResultCode.SUCCESS); assert.strictEqual( @@ -194,8 +194,8 @@ describe("#AzureMonitorBaseExporter", () => { it("should use redirect URL for following requests", async () => { const exporter = new TestExporter(); - let redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; - let redirectLocation = redirectHost + "/v2/track"; + const redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; + const redirectLocation = redirectHost + "/v2/track"; // Redirect endpoint const redirectScope = nock(redirectHost).post("/v2/track", () => { return true; @@ -218,8 +218,8 @@ describe("#AzureMonitorBaseExporter", () => { it("should stop redirecting when circular redirect is triggered", async () => { const exporter = new TestExporter(); - let redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; - let redirectLocation = redirectHost + "/v2/track"; + const redirectHost = "https://ukwest-0.in.applicationinsights.azure.com"; + const redirectLocation = redirectHost + "/v2/track"; // Redirect endpoint const redirectScope = nock(redirectHost).post("/v2/track", () => { return true; @@ -234,7 +234,7 @@ describe("#AzureMonitorBaseExporter", () => { }) .persist(); - let result = await exporter.exportEnvelopesPrivate([envelope]); + const result = await exporter.exportEnvelopesPrivate([envelope]); assert.strictEqual(result.code, ExportResultCode.FAILED); assert.strictEqual(result.error?.message, "Circular redirect"); }); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/persist/fileSystemPersist.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/persist/fileSystemPersist.test.ts index e3af385fcc01..cf5309d182f0 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/persist/fileSystemPersist.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/persist/fileSystemPersist.test.ts @@ -151,10 +151,10 @@ describe("FileSystemPersist", () => { persister.fileRetemptionPeriod = 1; // wait 100 ms await sleep(100); - let cleanup = await persister["_fileCleanupTask"](); + const cleanup = await persister["_fileCleanupTask"](); assert.strictEqual(cleanup, true); - let fileValue = await persister.shift(); - assert.deepStrictEqual(fileValue, null); //File doesn't exist anymore + const fileValue = await persister.shift(); + assert.deepStrictEqual(fileValue, null); // File doesn't exist anymore }); }); }); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/spanUtils.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/spanUtils.test.ts index 21d82113840a..ad82fb80e4d5 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/spanUtils.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/spanUtils.test.ts @@ -5,7 +5,8 @@ import { Span, BasicTracerProvider, TracerConfig } from "@opentelemetry/tracing" import { SpanKind, SpanStatusCode, ROOT_CONTEXT } from "@opentelemetry/api"; import * as assert from "assert"; import { hrTimeToMilliseconds } from "@opentelemetry/core"; -import { Resource, SERVICE_RESOURCE } from "@opentelemetry/resources"; +import { Resource } from "@opentelemetry/resources"; +import { ResourceAttributes } from "@opentelemetry/semantic-conventions"; import { Tags, Properties, Measurements } from "../../../src/types"; import { @@ -25,9 +26,9 @@ const context = getInstance(undefined, "./"); const tracerProviderConfig: TracerConfig = { resource: new Resource({ - [SERVICE_RESOURCE.INSTANCE_ID]: "testServiceInstanceID", - [SERVICE_RESOURCE.NAME]: "testServiceName", - [SERVICE_RESOURCE.NAMESPACE]: "testServiceNamespace" + [ResourceAttributes.SERVICE_INSTANCE_ID]: "testServiceInstanceID", + [ResourceAttributes.SERVICE_NAME]: "testServiceName", + [ResourceAttributes.SERVICE_NAMESPACE]: "testServiceNamespace" }) }; @@ -94,10 +95,7 @@ describe("spanUtils.ts", () => { span.setAttributes({ "extra.attribute": "foo", [grpc.GRPC_STATUS_CODE]: SpanStatusCode.OK, - [grpc.GRPC_KIND]: SpanKind.SERVER, - [grpc.GRPC_METHOD]: "/foo.Example/Foo", - [grpc.GRPC_ERROR_MESSAGE]: "some error message", - [grpc.GRPC_ERROR_NAME]: "some error name" + [grpc.GRPC_METHOD]: "/foo.Example/Foo" }); span.setStatus({ code: SpanStatusCode.OK @@ -109,15 +107,13 @@ describe("spanUtils.ts", () => { [ai.AI_OPERATION_NAME]: "/foo.Example/Foo" }; const expectedProperties = { - "extra.attribute": "foo", - [grpc.GRPC_ERROR_MESSAGE]: "some error message", - [grpc.GRPC_ERROR_NAME]: "some error name" + "extra.attribute": "foo" }; const expectedBaseData: Partial = { source: undefined, duration: msToTimeSpan(hrTimeToMilliseconds(span.duration)), - id: `|${span.spanContext.traceId}.${span.spanContext.spanId}.`, + id: `|${span.spanContext().traceId}.${span.spanContext().spanId}.`, success: true, responseCode: "1", url: "/foo.Example/Foo", @@ -150,10 +146,7 @@ describe("spanUtils.ts", () => { span.setAttributes({ "extra.attribute": "foo", [grpc.GRPC_STATUS_CODE]: SpanStatusCode.OK, - [grpc.GRPC_KIND]: SpanKind.CLIENT, - [grpc.GRPC_METHOD]: "/foo.Example/Foo", - [grpc.GRPC_ERROR_MESSAGE]: "some error message", - [grpc.GRPC_ERROR_NAME]: "some error name" + [grpc.GRPC_METHOD]: "/foo.Example/Foo" }); span.setStatus({ code: SpanStatusCode.OK @@ -164,14 +157,12 @@ describe("spanUtils.ts", () => { [ai.AI_OPERATION_PARENT_ID]: "parentSpanId" }; const expectedProperties = { - "extra.attribute": "foo", - [grpc.GRPC_ERROR_MESSAGE]: "some error message", - [grpc.GRPC_ERROR_NAME]: "some error name" + "extra.attribute": "foo" }; const expectedBaseData: Partial = { duration: msToTimeSpan(hrTimeToMilliseconds(span.duration)), - id: `|${span.spanContext.traceId}.${span.spanContext.spanId}.`, + id: `|${span.spanContext().traceId}.${span.spanContext().spanId}.`, success: true, resultCode: "1", target: "/foo.Example/Foo", @@ -223,7 +214,7 @@ describe("spanUtils.ts", () => { const expectedBaseData: Partial = { duration: msToTimeSpan(hrTimeToMilliseconds(span.duration)), - id: `|${span.spanContext.traceId}.${span.spanContext.spanId}.`, + id: `|${span.spanContext().traceId}.${span.spanContext().spanId}.`, success: true, responseCode: "1", name: `parent span`, @@ -272,7 +263,7 @@ describe("spanUtils.ts", () => { const expectedBaseData: Partial = { duration: msToTimeSpan(hrTimeToMilliseconds(span.duration)), - id: `|${span.spanContext.traceId}.${span.spanContext.spanId}.`, + id: `|${span.spanContext().traceId}.${span.spanContext().spanId}.`, success: true, resultCode: "1", target: undefined, @@ -330,7 +321,7 @@ describe("spanUtils.ts", () => { const expectedBaseData: RequestData = { duration: msToTimeSpan(hrTimeToMilliseconds(span.duration)), - id: `|${span.spanContext.traceId}.${span.spanContext.spanId}.`, + id: `|${span.spanContext().traceId}.${span.spanContext().spanId}.`, success: true, responseCode: "200", url: "https://example.com/api/example", @@ -372,7 +363,7 @@ describe("spanUtils.ts", () => { }); span.end(); const expectedTags: Tags = { - [ai.AI_OPERATION_ID]: span.spanContext.traceId, + [ai.AI_OPERATION_ID]: span.spanContext().traceId, [ai.AI_OPERATION_PARENT_ID]: "parentSpanId" }; const expectedProperties = { diff --git a/sdk/monitor/monitor-query/package.json b/sdk/monitor/monitor-query/package.json index 3eb2ae18fb37..5c57f1039934 100644 --- a/sdk/monitor/monitor-query/package.json +++ b/sdk/monitor/monitor-query/package.json @@ -111,9 +111,9 @@ "@azure/monitor-opentelemetry-exporter": "1.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", - "@opentelemetry/api": "0.21.0", - "@opentelemetry/node": "0.21.0", - "@opentelemetry/tracing": "^0.18.2", + "@opentelemetry/api": "^1.0.0", + "@opentelemetry/node": "0.22.0", + "@opentelemetry/tracing": "^0.22.0", "@types/chai-as-promised": "^7.1.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", From 1f6b914ee2615fb007603fa43f0ce1bb5ac24840 Mon Sep 17 00:00:00 2001 From: Jose Manuel Heredia Hidalgo Date: Thu, 24 Jun 2021 10:30:18 -0700 Subject: [PATCH 043/134] [Tables] Add missing browser mappings (#15944) * Add missing browser mappings * Update changelog --- sdk/tables/data-tables/CHANGELOG.md | 1 + sdk/tables/data-tables/package.json | 1 + .../data-tables/src/utils/computeHMACSHA256.browser.ts | 6 ++++++ sdk/tables/data-tables/src/utils/isCosmosEndpoint.ts | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 sdk/tables/data-tables/src/utils/computeHMACSHA256.browser.ts diff --git a/sdk/tables/data-tables/CHANGELOG.md b/sdk/tables/data-tables/CHANGELOG.md index 089855f3f593..47ecf664cf82 100644 --- a/sdk/tables/data-tables/CHANGELOG.md +++ b/sdk/tables/data-tables/CHANGELOG.md @@ -16,6 +16,7 @@ Thank you to our developer community members who helped to make the Azure Tables - Fix [#15664](https://github.com/Azure/azure-sdk-for-js/issues/15701), adding check to make sure we always have only one forward slash (`/`) added to the end of the URL [#15698](https://github.com/Azure/azure-sdk-for-js/pull/15698) (A community contribution, courtesy of _[eestein](https://github.com/eestein))_ - Fix [#15701](https://github.com/Azure/azure-sdk-for-js/issues/15701) by improving error handling and reporting on `submitTransaction`. [#15852](https://github.com/Azure/azure-sdk-for-js/pull/15852) +- Fix [#15921](https://github.com/Azure/azure-sdk-for-js/issues/15921) incorrect `url` import and missing browser mapping for `computeHMACSHA256` [#15944](https://github.com/Azure/azure-sdk-for-js/pull/15944) ## 12.0.0 (2021-06-09) diff --git a/sdk/tables/data-tables/package.json b/sdk/tables/data-tables/package.json index 531c45096fae..cc8659d93f78 100644 --- a/sdk/tables/data-tables/package.json +++ b/sdk/tables/data-tables/package.json @@ -9,6 +9,7 @@ "./dist-esm/src/tablesNamedCredentialPolicy.js": "./dist-esm/src/tablesNamedCredentialPolicy.browser.js", "./dist-esm/src/utils/accountConnectionString.js": "./dist-esm/src/utils/accountConnectionString.browser.js", "./dist-esm/src/utils/url.js": "./dist-esm/src/utils/url.browser.js", + "./dist-esm/src/utils/computeHMACSHA256.js": "./dist-esm/src/utils/computeHMACSHA256.browser.js", "./dist-esm/src/utils/bufferSerializer.js": "./dist-esm/src/utils/bufferSerializer.browser.js", "./dist-esm/src/utils/transactionHeaders.js": "./dist-esm/src/utils/transactionHeaders.browser.js", "./dist-esm/test/public/utils/env.js": "./dist-esm/test/public/utils/env.browser.js" diff --git a/sdk/tables/data-tables/src/utils/computeHMACSHA256.browser.ts b/sdk/tables/data-tables/src/utils/computeHMACSHA256.browser.ts new file mode 100644 index 000000000000..531c57276276 --- /dev/null +++ b/sdk/tables/data-tables/src/utils/computeHMACSHA256.browser.ts @@ -0,0 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +export function computeHMACSHA256(_stringToSign: string, _accountKey: string): string { + throw new Error("computeHMACSHA256 is not supported in the browser"); +} diff --git a/sdk/tables/data-tables/src/utils/isCosmosEndpoint.ts b/sdk/tables/data-tables/src/utils/isCosmosEndpoint.ts index 86d1b4d30425..5ae4984b7fc8 100644 --- a/sdk/tables/data-tables/src/utils/isCosmosEndpoint.ts +++ b/sdk/tables/data-tables/src/utils/isCosmosEndpoint.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { URL } from "url"; +import { URL } from "./url"; export function isCosmosEndpoint(url: string): boolean { const parsedURL = new URL(url); From d3c3f90cf486ff2fa3306f19243756b94185eb1b Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Thu, 24 Jun 2021 11:44:54 -0700 Subject: [PATCH 044/134] [Storage] Use ES2017 (#15835) --- common/tools/dev-tool/src/commands/samples/prep.ts | 5 ----- sdk/core/core-http/CHANGELOG.md | 2 ++ sdk/core/core-http/tsconfig.json | 1 - sdk/core/core-lro/CHANGELOG.md | 3 +++ sdk/core/core-lro/tsconfig.json | 1 - sdk/quantum/quantum-jobs/tsconfig.json | 1 - sdk/storage/storage-blob-changefeed/tsconfig.json | 2 +- sdk/storage/storage-blob/CHANGELOG.md | 11 ++++++----- sdk/storage/storage-blob/package.json | 2 +- .../src/generated/src/storageClientContext.ts | 2 +- sdk/storage/storage-blob/src/utils/constants.ts | 2 +- sdk/storage/storage-blob/swagger/README.md | 2 +- sdk/storage/storage-blob/tsconfig.json | 1 - sdk/storage/storage-datalake/tsconfig.json | 2 +- sdk/storage/storage-file-datalake/CHANGELOG.md | 5 +++-- sdk/storage/storage-file-datalake/package.json | 2 +- .../src/generated/src/storageClientContext.ts | 2 +- .../storage-file-datalake/src/utils/constants.ts | 2 +- sdk/storage/storage-file-datalake/swagger/README.md | 2 +- sdk/storage/storage-file-datalake/tsconfig.json | 1 - sdk/storage/storage-file-share/CHANGELOG.md | 9 +++++---- sdk/storage/storage-file-share/package.json | 2 +- .../src/generated/src/storageClientContext.ts | 2 +- sdk/storage/storage-file-share/src/utils/constants.ts | 2 +- sdk/storage/storage-file-share/swagger/README.md | 2 +- sdk/storage/storage-file-share/tsconfig.json | 1 - sdk/storage/storage-internal-avro/tsconfig.json | 2 +- sdk/storage/storage-queue/CHANGELOG.md | 5 +++-- sdk/storage/storage-queue/package.json | 2 +- .../src/generated/src/storageClientContext.ts | 2 +- sdk/storage/storage-queue/src/utils/constants.ts | 2 +- sdk/storage/storage-queue/swagger/README.md | 2 +- sdk/storage/storage-queue/tsconfig.json | 2 +- 33 files changed, 42 insertions(+), 44 deletions(-) diff --git a/common/tools/dev-tool/src/commands/samples/prep.ts b/common/tools/dev-tool/src/commands/samples/prep.ts index 93520fee5d22..a71827e9f48a 100644 --- a/common/tools/dev-tool/src/commands/samples/prep.ts +++ b/common/tools/dev-tool/src/commands/samples/prep.ts @@ -68,11 +68,6 @@ async function enableLocalRun( let relativePath = new Array(depth).fill("..").join("/"); - if (isTs) { - // TypeScript imports should use src directly - relativePath += "/src"; - } - outputContent = fileContents.replace( importRegex, isTs ? `import $1 from "${relativePath}";` : `const $1 = require("${relativePath}");` diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index 6a94d77d6ecf..614b1ee2195c 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -4,6 +4,8 @@ ### Features Added +- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features + ### Breaking Changes - Updated @azure/core-tracing to version `1.0.0-preview.12`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. diff --git a/sdk/core/core-http/tsconfig.json b/sdk/core/core-http/tsconfig.json index 9297e6572f79..385444e7c6bb 100644 --- a/sdk/core/core-http/tsconfig.json +++ b/sdk/core/core-http/tsconfig.json @@ -3,7 +3,6 @@ "compilerOptions": { "module": "commonjs", "outDir": "dist", - "target": "es5", "declarationDir": "./types/latest" }, "exclude": ["node_modules"], diff --git a/sdk/core/core-lro/CHANGELOG.md b/sdk/core/core-lro/CHANGELOG.md index 492bd011c446..3027313aee59 100644 --- a/sdk/core/core-lro/CHANGELOG.md +++ b/sdk/core/core-lro/CHANGELOG.md @@ -2,6 +2,9 @@ ## 1.0.6 (Unreleased) +### New Features + +- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features ## 1.0.5 (2021-04-12) diff --git a/sdk/core/core-lro/tsconfig.json b/sdk/core/core-lro/tsconfig.json index 4820f2c7f6fd..03fc9ff7ca4c 100644 --- a/sdk/core/core-lro/tsconfig.json +++ b/sdk/core/core-lro/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.package", "compilerOptions": { - "target": "es5", "outDir": "./dist-esm", "declarationDir": "./types" }, diff --git a/sdk/quantum/quantum-jobs/tsconfig.json b/sdk/quantum/quantum-jobs/tsconfig.json index bf3fbe880e89..e838de106aff 100644 --- a/sdk/quantum/quantum-jobs/tsconfig.json +++ b/sdk/quantum/quantum-jobs/tsconfig.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.package", "compilerOptions": { "strict": true, - "target": "es5", "sourceMap": true, "lib": [ "es6", diff --git a/sdk/storage/storage-blob-changefeed/tsconfig.json b/sdk/storage/storage-blob-changefeed/tsconfig.json index f89af540f58e..c7b6c414d056 100644 --- a/sdk/storage/storage-blob-changefeed/tsconfig.json +++ b/sdk/storage/storage-blob-changefeed/tsconfig.json @@ -6,7 +6,7 @@ "sourceMap": true, "inlineSources": true, "newLine": "LF", - "target": "es5", + "target": "ES2017", "moduleResolution": "node", "noUnusedLocals": true, "noUnusedParameters": true, diff --git a/sdk/storage/storage-blob/CHANGELOG.md b/sdk/storage/storage-blob/CHANGELOG.md index 30b6df5baf7f..7e2526d0c030 100644 --- a/sdk/storage/storage-blob/CHANGELOG.md +++ b/sdk/storage/storage-blob/CHANGELOG.md @@ -1,16 +1,17 @@ # Release History -## 12.6.1 (Unreleased) +## 12.7.0 (Unreleased) ### Features Added +- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features + ### Breaking Changes ### Key Bugs Fixed ### Fixed - ## 12.6.0 (2021-06-09) - Includes all features released in 12.6.0-beta.1. @@ -355,12 +356,12 @@ - [Breaking] The static methods to create client types are removed. The functionality is moved into new instance methods added to the parent clients. - [Breaking] The telemetry strings have been updated. - `Azure-Storage/${SDK_VERSION}` is updated to `azsdk-js-storagefile/${SDK_VERSION}`. -- [Breaking]  withPipeline method is removed. +- [Breaking] withPipeline method is removed. - Async iterators with pagination support are added for listing methods - `listContainers()`, `listBlobsFlat()` and `listBlobsByHierarchy()` - Please refer to the samples for async iterators in the `samples` folder. -- [Breaking]  Methods that list segments(`listBlobFlatSegment()` and `listContainersSegment()`) are no longer exposed in public api. -- [Breaking]  High level convenience functions are moved into clients as their instance member function. +- [Breaking] Methods that list segments(`listBlobFlatSegment()` and `listContainersSegment()`) are no longer exposed in public api. +- [Breaking] High level convenience functions are moved into clients as their instance member function. - `uploadFileToBlockBlob()`, `uploadStreamToBlockBlob()` and `uploadBrowserDataToBlockBlob()` -> `BlockBlobClient.uploadFile()`, `BlockBlobClient.uploadStream()` and `BlockBlobClient.uploadBrowserData()` respectively - `downloadBlobToBuffer()` -> `BlobClient.downloadToBuffer()` - [Breaking] `StorageClient` is no longer exposed. `StorageClient.newPipeline()` static method is moved to the top level exported function `newPipeline()`. diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 12edfff46aa1..044a8abcb10e 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-blob", "sdk-type": "client", - "version": "12.6.1", + "version": "12.7.0", "description": "Microsoft Azure Storage SDK for JavaScript - Blob", "main": "./dist/index.js", "module": "./dist-esm/storage-blob/src/index.js", diff --git a/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts b/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts index eadc7a75d318..875a3d460f73 100644 --- a/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts +++ b/sdk/storage/storage-blob/src/generated/src/storageClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { StorageClientOptionalParams } from "./models"; const packageName = "azure-storage-blob"; -const packageVersion = "12.6.0-beta.1"; +const packageVersion = "12.7.0"; export class StorageClientContext extends coreHttp.ServiceClient { url: string; diff --git a/sdk/storage/storage-blob/src/utils/constants.ts b/sdk/storage/storage-blob/src/utils/constants.ts index a6ae3677cef8..812f57869452 100644 --- a/sdk/storage/storage-blob/src/utils/constants.ts +++ b/sdk/storage/storage-blob/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.6.1"; +export const SDK_VERSION: string = "12.7.0"; export const SERVICE_VERSION: string = "2020-08-04"; export const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB diff --git a/sdk/storage/storage-blob/swagger/README.md b/sdk/storage/storage-blob/swagger/README.md index f848f3af1d1c..c0b7fea055ba 100644 --- a/sdk/storage/storage-blob/swagger/README.md +++ b/sdk/storage/storage-blob/swagger/README.md @@ -20,7 +20,7 @@ disable-async-iterators: true add-credentials: false use-extension: "@autorest/typescript": "6.0.0-dev.20210218.1" -package-version: 12.6.0 +package-version: 12.7.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-blob/tsconfig.json b/sdk/storage/storage-blob/tsconfig.json index 87bfa51f261a..30ee4ab31057 100644 --- a/sdk/storage/storage-blob/tsconfig.json +++ b/sdk/storage/storage-blob/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.package", "compilerOptions": { - "target": "es5", "declarationDir": "./typings/latest", "outDir": "./dist-esm", "lib": ["dom", "es5", "es6", "es7", "esnext"] diff --git a/sdk/storage/storage-datalake/tsconfig.json b/sdk/storage/storage-datalake/tsconfig.json index 422b584abd5e..8f1155a15cee 100644 --- a/sdk/storage/storage-datalake/tsconfig.json +++ b/sdk/storage/storage-datalake/tsconfig.json @@ -3,7 +3,7 @@ "module": "es6", "moduleResolution": "node", "strict": true, - "target": "es5", + "target": "ES2017", "sourceMap": true, "declarationMap": true, "esModuleInterop": true, diff --git a/sdk/storage/storage-file-datalake/CHANGELOG.md b/sdk/storage/storage-file-datalake/CHANGELOG.md index 73aa81c900f7..eb934587f838 100644 --- a/sdk/storage/storage-file-datalake/CHANGELOG.md +++ b/sdk/storage/storage-file-datalake/CHANGELOG.md @@ -1,16 +1,17 @@ # Release History -## 12.5.1 (Unreleased) +## 12.6.0 (Unreleased) ### Features Added +- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features + ### Breaking Changes ### Key Bugs Fixed ### Fixed - ## 12.5.0 (2021-06-09) - Includes all features released in 12.5.0-beta.1. diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 0e77f1218b1b..a906f2b50f43 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -1,6 +1,6 @@ { "name": "@azure/storage-file-datalake", - "version": "12.5.1", + "version": "12.6.0", "description": "Microsoft Azure Storage SDK for JavaScript - DataLake", "sdk-type": "client", "main": "./dist/index.js", diff --git a/sdk/storage/storage-file-datalake/src/generated/src/storageClientContext.ts b/sdk/storage/storage-file-datalake/src/generated/src/storageClientContext.ts index c3fe998ea423..825cf5c2f28d 100644 --- a/sdk/storage/storage-file-datalake/src/generated/src/storageClientContext.ts +++ b/sdk/storage/storage-file-datalake/src/generated/src/storageClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { StorageClientOptionalParams } from "./models"; const packageName = "azure-storage-datalake"; -const packageVersion = "12.5.1"; +const packageVersion = "12.6.0"; export class StorageClientContext extends coreHttp.ServiceClient { url: string; diff --git a/sdk/storage/storage-file-datalake/src/utils/constants.ts b/sdk/storage/storage-file-datalake/src/utils/constants.ts index c42f0120f499..95896e69b4ba 100644 --- a/sdk/storage/storage-file-datalake/src/utils/constants.ts +++ b/sdk/storage/storage-file-datalake/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.5.1"; +export const SDK_VERSION: string = "12.6.0"; export const SERVICE_VERSION: string = "2020-06-12"; export const KB: number = 1024; diff --git a/sdk/storage/storage-file-datalake/swagger/README.md b/sdk/storage/storage-file-datalake/swagger/README.md index 65a81304f2bf..d23a3a2f659d 100644 --- a/sdk/storage/storage-file-datalake/swagger/README.md +++ b/sdk/storage/storage-file-datalake/swagger/README.md @@ -20,7 +20,7 @@ disable-async-iterators: true add-credentials: false use-extension: "@autorest/typescript": "6.0.0-dev.20210223.1" -package-version: 12.5.1 +package-version: 12.6.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-file-datalake/tsconfig.json b/sdk/storage/storage-file-datalake/tsconfig.json index c35976e440c9..9f975525b2df 100644 --- a/sdk/storage/storage-file-datalake/tsconfig.json +++ b/sdk/storage/storage-file-datalake/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.package", "compilerOptions": { - "target": "es5", "declarationDir": "./typings/latest", "outDir": "./dist-esm", "lib": ["dom", "es5", "es6", "es7", "esnext"] diff --git a/sdk/storage/storage-file-share/CHANGELOG.md b/sdk/storage/storage-file-share/CHANGELOG.md index 4539cc4a333c..ab65003604cf 100644 --- a/sdk/storage/storage-file-share/CHANGELOG.md +++ b/sdk/storage/storage-file-share/CHANGELOG.md @@ -1,16 +1,17 @@ # Release History -## 12.6.1 (Unreleased) +## 12.7.0 (Unreleased) ### Features Added +- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features + ### Breaking Changes ### Key Bugs Fixed ### Fixed - ## 12.6.0 (2021-06-09) - Updated Azure Storage Service API version to 2020-08-04. @@ -240,8 +241,8 @@ - Async iterators with pagination support are added for listing methods - `listFilesAndDirectories()` and `listShares()` - Please refer to the samples for async iterators in the `samples` folder. -- [Breaking] Methods that list segments(`listFilesAndDirectoriesSegment()` and `listSharesSegment()`) are no longer exposed in public api. -- [Breaking] High level convenience functions are moved into clients as their instance member function. +- [Breaking] Methods that list segments(`listFilesAndDirectoriesSegment()` and `listSharesSegment()`) are no longer exposed in public api. +- [Breaking] High level convenience functions are moved into clients as their instance member function. - `uploadFileToAzureFile()`, `uploadStreamToAzureFile()`, `downloadAzureFileToBuffer()` and `uploadBrowserDataToAzureFile()` -> `FileClient.uploadFile()`, `FileClient.uploadStream()`, `FileClient.downloadToBuffer()` and `FileClient.uploadBrowserData()` respectively. - [Breaking] `StorageClient` is no longer exposed. `StorageClient.newPipeline()` static method is moved to the top level exported function `newPipeline()`. diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index 3213ecede8a8..af507b80c6cd 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-file-share", "sdk-type": "client", - "version": "12.6.1", + "version": "12.7.0", "description": "Microsoft Azure Storage SDK for JavaScript - File", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", diff --git a/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts b/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts index 56ff8b5b4e72..772a603bba4e 100644 --- a/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts +++ b/sdk/storage/storage-file-share/src/generated/src/storageClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { StorageClientOptionalParams } from "./models"; const packageName = "azure-storage-file-share"; -const packageVersion = "12.6.1"; +const packageVersion = "12.7.0"; export class StorageClientContext extends coreHttp.ServiceClient { url: string; diff --git a/sdk/storage/storage-file-share/src/utils/constants.ts b/sdk/storage/storage-file-share/src/utils/constants.ts index 6336e306953f..588b6d41fb0c 100644 --- a/sdk/storage/storage-file-share/src/utils/constants.ts +++ b/sdk/storage/storage-file-share/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.6.1"; +export const SDK_VERSION: string = "12.7.0"; export const SERVICE_VERSION: string = "2020-08-04"; export const FILE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024 * 1024 * 1024; // 4TB diff --git a/sdk/storage/storage-file-share/swagger/README.md b/sdk/storage/storage-file-share/swagger/README.md index 6569b26e8b7b..63ee104d54a1 100644 --- a/sdk/storage/storage-file-share/swagger/README.md +++ b/sdk/storage/storage-file-share/swagger/README.md @@ -20,7 +20,7 @@ disable-async-iterators: true add-credentials: false use-extension: "@autorest/typescript": "6.0.0-dev.20210218.1" -package-version: 12.6.1 +package-version: 12.7.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-file-share/tsconfig.json b/sdk/storage/storage-file-share/tsconfig.json index 6e93555f95cd..1412a9e71031 100644 --- a/sdk/storage/storage-file-share/tsconfig.json +++ b/sdk/storage/storage-file-share/tsconfig.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.package", "compilerOptions": { - "target": "es5", "declarationDir": "./typings/latest", "outDir": "./dist-esm", "lib": ["dom", "es5", "es6", "es7", "esnext"] diff --git a/sdk/storage/storage-internal-avro/tsconfig.json b/sdk/storage/storage-internal-avro/tsconfig.json index dbc93666cc3c..59936309f9dd 100644 --- a/sdk/storage/storage-internal-avro/tsconfig.json +++ b/sdk/storage/storage-internal-avro/tsconfig.json @@ -6,7 +6,7 @@ "sourceMap": true, "inlineSources": true, "newLine": "LF", - "target": "es5", + "target": "ES2017", "moduleResolution": "node", "noUnusedLocals": true, "noUnusedParameters": true, diff --git a/sdk/storage/storage-queue/CHANGELOG.md b/sdk/storage/storage-queue/CHANGELOG.md index e965acc7ec09..d043c6fd2ef9 100644 --- a/sdk/storage/storage-queue/CHANGELOG.md +++ b/sdk/storage/storage-queue/CHANGELOG.md @@ -1,16 +1,17 @@ # Release History -## 12.5.1 (Unreleased) +## 12.6.0 (Unreleased) ### Features Added +- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features + ### Breaking Changes ### Key Bugs Fixed ### Fixed - ## 12.5.0 (2021-06-09) - Updated Azure Storage Service API version to 2020-08-04. diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index 2d3aa290f0e7..f52a2e4a85a3 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -1,7 +1,7 @@ { "name": "@azure/storage-queue", "sdk-type": "client", - "version": "12.5.1", + "version": "12.6.0", "description": "Microsoft Azure Storage SDK for JavaScript - Queue", "main": "./dist/index.js", "module": "./dist-esm/src/index.js", diff --git a/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts b/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts index ef6bea647b30..29170a98b637 100644 --- a/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts +++ b/sdk/storage/storage-queue/src/generated/src/storageClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { StorageClientOptionalParams } from "./models"; const packageName = "azure-storage-queue"; -const packageVersion = "12.5.1"; +const packageVersion = "12.6.0"; export class StorageClientContext extends coreHttp.ServiceClient { url: string; diff --git a/sdk/storage/storage-queue/src/utils/constants.ts b/sdk/storage/storage-queue/src/utils/constants.ts index 3670be345055..8957596de221 100644 --- a/sdk/storage/storage-queue/src/utils/constants.ts +++ b/sdk/storage/storage-queue/src/utils/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "12.5.1"; +export const SDK_VERSION: string = "12.6.0"; export const SERVICE_VERSION: string = "2020-08-04"; /** diff --git a/sdk/storage/storage-queue/swagger/README.md b/sdk/storage/storage-queue/swagger/README.md index 1e9c6b6797d2..b6da2d77a485 100644 --- a/sdk/storage/storage-queue/swagger/README.md +++ b/sdk/storage/storage-queue/swagger/README.md @@ -20,7 +20,7 @@ disable-async-iterators: true add-credentials: false use-extension: "@autorest/typescript": "6.0.0-dev.20210218.1" -package-version: 12.5.1 +package-version: 12.6.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/storage/storage-queue/tsconfig.json b/sdk/storage/storage-queue/tsconfig.json index 7cb54efc5738..06eec6cd125e 100644 --- a/sdk/storage/storage-queue/tsconfig.json +++ b/sdk/storage/storage-queue/tsconfig.json @@ -6,7 +6,7 @@ "sourceMap": true, "inlineSources": true, "newLine": "LF", - "target": "es5", + "target": "ES2017", "moduleResolution": "node", "noUnusedLocals": true, "noUnusedParameters": true, From cbaa410a491471685041d0522c510e6df2dbed72 Mon Sep 17 00:00:00 2001 From: Jose Manuel Heredia Hidalgo Date: Thu, 24 Jun 2021 11:46:20 -0700 Subject: [PATCH 045/134] [Tables] Expose client option allowInsecureConnection (#15938) In order for Tables to connect to Azurite and Storage emulator, the client needs to accept `allowInsecureConnection`. Also when using the emulator connection string shortcut, setting it by default. --- sdk/core/core-client/CHANGELOG.md | 6 ++++++ sdk/core/core-client/package.json | 2 +- sdk/core/core-client/review/core-client.api.md | 2 +- sdk/core/core-client/src/interfaces.ts | 4 ++++ sdk/core/core-client/src/serviceClient.ts | 4 ---- sdk/tables/data-tables/CHANGELOG.md | 1 + sdk/tables/data-tables/src/utils/connectionString.ts | 3 ++- 7 files changed, 15 insertions(+), 7 deletions(-) diff --git a/sdk/core/core-client/CHANGELOG.md b/sdk/core/core-client/CHANGELOG.md index 303d1cae3562..1fbe0479458f 100644 --- a/sdk/core/core-client/CHANGELOG.md +++ b/sdk/core/core-client/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 1.2.0 (UNRELEASED) + +### Features Added + +- Moved `allowInsecureConnection` from `ServiceClientOptions` to `CommonClientOptions` [issue 15938](https://github.com/azure/azure-sdk-for-js/issues/15938) + ## 1.1.3 (2021-06-17) ### Key Bugs Fixed diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index 2f46e8c964e3..7dca87f5fa1e 100644 --- a/sdk/core/core-client/package.json +++ b/sdk/core/core-client/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-client", - "version": "1.1.3", + "version": "1.2.0", "description": "Core library for interfacing with AutoRest generated code", "sdk-type": "client", "main": "dist/index.js", diff --git a/sdk/core/core-client/review/core-client.api.md b/sdk/core/core-client/review/core-client.api.md index 5091d890876f..93e52f8c0ebe 100644 --- a/sdk/core/core-client/review/core-client.api.md +++ b/sdk/core/core-client/review/core-client.api.md @@ -37,6 +37,7 @@ export interface BaseMapper { // @public export interface CommonClientOptions extends PipelineOptions { + allowInsecureConnection?: boolean; httpClient?: HttpClient; } @@ -351,7 +352,6 @@ export class ServiceClient { // @public export interface ServiceClientOptions extends CommonClientOptions { - allowInsecureConnection?: boolean; baseUri?: string; credential?: TokenCredential; credentialScopes?: string | string[]; diff --git a/sdk/core/core-client/src/interfaces.ts b/sdk/core/core-client/src/interfaces.ts index 1250e111039b..b8dc9dab2d93 100644 --- a/sdk/core/core-client/src/interfaces.ts +++ b/sdk/core/core-client/src/interfaces.ts @@ -554,4 +554,8 @@ export interface CommonClientOptions extends PipelineOptions { * The HttpClient that will be used to send HTTP requests. */ httpClient?: HttpClient; + /** + * Set to true if the request is sent over HTTP instead of HTTPS + */ + allowInsecureConnection?: boolean; } diff --git a/sdk/core/core-client/src/serviceClient.ts b/sdk/core/core-client/src/serviceClient.ts index 9a7fdd2e1098..c9c1611e91d7 100644 --- a/sdk/core/core-client/src/serviceClient.ts +++ b/sdk/core/core-client/src/serviceClient.ts @@ -49,10 +49,6 @@ export interface ServiceClientOptions extends CommonClientOptions { * A customized pipeline to use, otherwise a default one will be created. */ pipeline?: Pipeline; - /** - * Set to true if the request is sent over HTTP instead of HTTPS - */ - allowInsecureConnection?: boolean; } /** diff --git a/sdk/tables/data-tables/CHANGELOG.md b/sdk/tables/data-tables/CHANGELOG.md index 47ecf664cf82..bd383a3c5f7e 100644 --- a/sdk/tables/data-tables/CHANGELOG.md +++ b/sdk/tables/data-tables/CHANGELOG.md @@ -17,6 +17,7 @@ Thank you to our developer community members who helped to make the Azure Tables - Fix [#15664](https://github.com/Azure/azure-sdk-for-js/issues/15701), adding check to make sure we always have only one forward slash (`/`) added to the end of the URL [#15698](https://github.com/Azure/azure-sdk-for-js/pull/15698) (A community contribution, courtesy of _[eestein](https://github.com/eestein))_ - Fix [#15701](https://github.com/Azure/azure-sdk-for-js/issues/15701) by improving error handling and reporting on `submitTransaction`. [#15852](https://github.com/Azure/azure-sdk-for-js/pull/15852) - Fix [#15921](https://github.com/Azure/azure-sdk-for-js/issues/15921) incorrect `url` import and missing browser mapping for `computeHMACSHA256` [#15944](https://github.com/Azure/azure-sdk-for-js/pull/15944) +- Fix [#15854](https://github.com/Azure/autorest.typescript/issues/892) by setting `allowInsecureConnection` to true when using the development connection string. ## 12.0.0 (2021-06-09) diff --git a/sdk/tables/data-tables/src/utils/connectionString.ts b/sdk/tables/data-tables/src/utils/connectionString.ts index 43dc56cadb74..2d333eb924f7 100644 --- a/sdk/tables/data-tables/src/utils/connectionString.ts +++ b/sdk/tables/data-tables/src/utils/connectionString.ts @@ -21,10 +21,11 @@ const DevelopmentConnectionString = */ export function getClientParamsFromConnectionString( connectionString: string, - options?: TableServiceClientOptions + options: TableServiceClientOptions = {} ): ClientParamsFromConnectionString { if (connectionString.toLowerCase().indexOf("usedevelopmentstorage=true") !== -1) { connectionString = DevelopmentConnectionString; + options.allowInsecureConnection = true; } const extractedCreds = extractConnectionStringParts(connectionString); if (extractedCreds.kind === "AccountConnString") { From 3c21c594c59e7900db43ba3c2f855c4f48e724c3 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 24 Jun 2021 12:14:15 -0700 Subject: [PATCH 046/134] Sync eng/common directory with azure-sdk-tools for PR 1729 (#15927) * Check for API review status only if release date is set in changelog * Change property name to ReleaseStatus Co-authored-by: Praveen Kuttappan --- eng/common/scripts/Create-APIReview.ps1 | 4 ++++ eng/common/scripts/Package-Properties.ps1 | 7 +++++++ eng/common/scripts/Save-Package-Properties.ps1 | 1 + 3 files changed, 12 insertions(+) diff --git a/eng/common/scripts/Create-APIReview.ps1 b/eng/common/scripts/Create-APIReview.ps1 index 0ef5e0ba6818..456d249c9c18 100644 --- a/eng/common/scripts/Create-APIReview.ps1 +++ b/eng/common/scripts/Create-APIReview.ps1 @@ -121,6 +121,10 @@ if ($packages) # Ignore API review status for prerelease version Write-Host "Package version is not GA. Ignoring API view approval status" } + elseif (!$pkgInfo.ReleaseStatus -or $pkgInfo.ReleaseStatus -eq "Unreleased") + { + Write-Host "Release date is not set for current version in change log file for package. Ignoring API review approval status since package is not yet ready for release." + } else { # Return error code if status code is 201 for new data plane package diff --git a/eng/common/scripts/Package-Properties.ps1 b/eng/common/scripts/Package-Properties.ps1 index 64698a181b7e..e00ea7bb9eaf 100644 --- a/eng/common/scripts/Package-Properties.ps1 +++ b/eng/common/scripts/Package-Properties.ps1 @@ -13,6 +13,7 @@ class PackageProps [string]$SdkType [boolean]$IsNewSdk [string]$ArtifactName + [string]$ReleaseStatus PackageProps([string]$name, [string]$version, [string]$directoryPath, [string]$serviceDirectory) { @@ -48,6 +49,12 @@ class PackageProps if (Test-Path (Join-Path $directoryPath "CHANGELOG.md")) { $this.ChangeLogPath = Join-Path $directoryPath "CHANGELOG.md" + # Get release date for current version and set in package property + $changeLogEntry = Get-ChangeLogEntry -ChangeLogLocation $this.ChangeLogPath -VersionString $this.Version + if ($changeLogEntry -and !$changeLogEntry.ReleaseStatus) + { + $this.ReleaseStatus = $changeLogEntry.ReleaseStatus.Trim().Trim("()") + } } else { diff --git a/eng/common/scripts/Save-Package-Properties.ps1 b/eng/common/scripts/Save-Package-Properties.ps1 index 3de89434904a..26f4f17c8807 100644 --- a/eng/common/scripts/Save-Package-Properties.ps1 +++ b/eng/common/scripts/Save-Package-Properties.ps1 @@ -22,6 +22,7 @@ if ($allPackageProperties) Write-Host "Package Version: $($pkg.Version)" Write-Host "Package SDK Type: $($pkg.SdkType)" Write-Host "Artifact Name: $($pkg.ArtifactName)" + Write-Host "Release date: $($pkg.ReleaseStatus)" $configFilePrefix = $pkg.Name if ($pkg.ArtifactName) { From 5903b7cd3dd2f18d77f33e8407af381800755310 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Thu, 24 Jun 2021 12:59:13 -0700 Subject: [PATCH 047/134] [core] - Bump core-http to 2.0.0 and core-lro to 2.0.0 (#15925) ## What - Update core-http to 2.0.0 - Update core-lro to 2.0.0 - Update packages to use latest version ## Why This will support our last breaking change for core-tracing, and allow everyone to be on the same minimum version. This will also allow us to target ES2017 across the board. --- common/config/rush/pnpm-lock.yaml | 91 ++++++++++--------- .../ai-anomaly-detector/package.json | 2 +- .../app-configuration/package.json | 2 +- .../communication-chat/package.json | 2 +- .../communication-common/package.json | 2 +- .../communication-identity/package.json | 4 +- .../package.json | 2 +- .../communication-phone-numbers/package.json | 4 +- .../communication-sms/package.json | 2 +- sdk/core/core-http/CHANGELOG.md | 2 +- sdk/core/core-http/package.json | 2 +- sdk/core/core-http/src/util/constants.ts | 2 +- sdk/core/core-lro/CHANGELOG.md | 2 +- sdk/core/core-lro/package.json | 4 +- .../iot-device-update/package.json | 2 +- .../digital-twins-core/package.json | 2 +- .../ai-form-recognizer/package.json | 4 +- sdk/identity/identity/package.json | 2 +- sdk/keyvault/keyvault-admin/package.json | 4 +- .../keyvault-certificates/package.json | 4 +- sdk/keyvault/keyvault-common/package.json | 2 +- sdk/keyvault/keyvault-keys/package.json | 4 +- sdk/keyvault/keyvault-secrets/package.json | 4 +- .../ai-metrics-advisor/package.json | 4 +- .../mixedreality-authentication/package.json | 2 +- .../package.json | 2 +- sdk/monitor/monitor-query/package.json | 2 +- sdk/quantum/quantum-jobs/package.json | 2 +- .../schema-registry-avro/package.json | 2 +- .../schema-registry/package.json | 2 +- sdk/search/search-documents/package.json | 2 +- sdk/servicebus/service-bus/package.json | 2 +- .../perf-tests/storage-blob/package.json | 2 +- .../storage-blob-changefeed/package.json | 4 +- sdk/storage/storage-blob/package.json | 4 +- .../storage-file-datalake/package.json | 2 +- sdk/storage/storage-file-share/package.json | 2 +- sdk/storage/storage-queue/package.json | 2 +- .../synapse-access-control/package.json | 2 +- sdk/synapse/synapse-artifacts/package.json | 4 +- .../package.json | 2 +- sdk/synapse/synapse-monitoring/package.json | 2 +- sdk/synapse/synapse-spark/package.json | 2 +- sdk/template/template/package.json | 2 +- sdk/test-utils/recorder/package.json | 2 +- .../ai-text-analytics/package.json | 2 +- .../video-analyzer-edge/package.json | 2 +- .../web-pubsub-express/package.json | 2 +- sdk/web-pubsub/web-pubsub/package.json | 2 +- 49 files changed, 106 insertions(+), 105 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index b0ffa6675ca4..ba79c9b3d643 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -8156,7 +8156,7 @@ packages: dev: false name: '@rush-temp/ai-anomaly-detector' resolution: - integrity: sha512-UAqCxcDDBSZGFVOEnudBw/8NhxgecArsuqft804NK03x42otRc88mxgBvkl+CNnhfdowlmOcZMsIOduXGOqt4w== + integrity: sha512-HOZBZxEhHXas5ja/2SIPBxPI0wj2T9wbE72i0ejPvI/A1qUJlirCnroCn0+OtyvYDPai5/CMhEHPPVf1CFg2vQ== tarball: file:projects/ai-anomaly-detector.tgz version: 0.0.0 file:projects/ai-document-translator.tgz: @@ -8240,7 +8240,7 @@ packages: dev: false name: '@rush-temp/ai-form-recognizer' resolution: - integrity: sha512-cZozO8m3e5wJ5clV7rFbEMfhe7gj+3cmqPcOrgoBiCQ4c4yQFD/lP7srZMlqM6zaIThKh6Yt5YkzUX1nrdahcw== + integrity: sha512-PG6KP/nYmP5pFVwSv1MHC+bEPEIP02GHMIkhzn4UhD6ibW97V/QdZ2n4BQlGWmccMGA8axhbFsZRSLU/BBGPTw== tarball: file:projects/ai-form-recognizer.tgz version: 0.0.0 file:projects/ai-metrics-advisor.tgz: @@ -8284,7 +8284,7 @@ packages: dev: false name: '@rush-temp/ai-metrics-advisor' resolution: - integrity: sha512-JMwh8/HxWV1MhZ3lnPMve/8d95HROYOC+Z89D1zRzcr2LnSYQfDgFbIphKN7tqk7l+C+jFwELsFDwG7SWzmx0Q== + integrity: sha512-jR1S5XpW18t2/lVo4/hkNpG9N0ztS1p1peq8u+XMcIGX7uoDQgFBMWkOra8tv6QGivsoMQ0xWwAOswG7A+oVqg== tarball: file:projects/ai-metrics-advisor.tgz version: 0.0.0 file:projects/ai-text-analytics.tgz: @@ -8332,7 +8332,7 @@ packages: dev: false name: '@rush-temp/ai-text-analytics' resolution: - integrity: sha512-PwfQ6A/U3Da95CRcCnbn/txOlXbzGxeAOIDNrlZXTr8TXitD4PIYgrl8k25NeztMKg76BICQv3QL+V6d4Li8zQ== + integrity: sha512-d2IVGQX1cy4qBc/4qANWXKVMLRbvYr8PF5qL/tj6aTomya5fHI+sbKXmvXMZG4lJV1dUG5OSrxq34QYaVbcBFQ== tarball: file:projects/ai-text-analytics.tgz version: 0.0.0 file:projects/app-configuration.tgz: @@ -8385,7 +8385,7 @@ packages: dev: false name: '@rush-temp/app-configuration' resolution: - integrity: sha512-hYJ2Lj/Ytr0bj0SwC6UlHWkmFFm7c0z9H5Caic14Cd9liyHs/6ae8yP+N+Rqd9PNV/JstbjHlcbtgpyH/hvZFA== + integrity: sha512-hnxdxVITPVLYJIeSx6vf7SXvuzyKSo06rX/A37blEI12OFSYPmenR23ZTMvc7tuVrjS6VBAlNy710wd/DMx5vQ== tarball: file:projects/app-configuration.tgz version: 0.0.0 file:projects/attestation.tgz: @@ -8496,7 +8496,7 @@ packages: dev: false name: '@rush-temp/communication-chat' resolution: - integrity: sha512-TbNfdBPlkCqa1Ex1ZDR7akp5ILR/faYeTq54BII+aFgN12J2GoGgayYzQkXQc/8jlBU2wBaZld5uROkdlNAGUw== + integrity: sha512-x9R12DgmsAeN8ncSUNj7I0mdKT992y/8v1WLisNcJn7OW14IfCITuJx4JLmCEfOo7vbNe2pulwYlTqQ5MUNt9w== tarball: file:projects/communication-chat.tgz version: 0.0.0 file:projects/communication-common.tgz: @@ -8549,7 +8549,7 @@ packages: dev: false name: '@rush-temp/communication-common' resolution: - integrity: sha512-3r1o3XqYCECrYUxeVFLvgWACp8Hg2LBQw0eDflZDHWUsXmNyXdNJpnBHQuY8A/b5i7myuv7u0DUiBwGPg8gmTQ== + integrity: sha512-NsvGPAqTmqJyCBQ/EeksY2zWcD7tusREqXMAWsxmHzmO0zG4uUb8ordkkb09keCbRUFVCQBkN3sScKy4MZJjqw== tarball: file:projects/communication-common.tgz version: 0.0.0 file:projects/communication-identity.tgz: @@ -8601,7 +8601,7 @@ packages: dev: false name: '@rush-temp/communication-identity' resolution: - integrity: sha512-JAq+J4bnU999yJ1xDMY33cUBRvPMMO8SaOflGAECSC+3CQAwiW/JxryHFlpwaA8lWqhmbgJMT1J/pSiTAqigFg== + integrity: sha512-OrBwofz9RC/Uof8DsCbPPKOf9qGLMqUsOeZe7Q/nIbfnbZYFV7jcf/FaRIlKm6ouIM/i5Juj2rEzKy7LWx5VsA== tarball: file:projects/communication-identity.tgz version: 0.0.0 file:projects/communication-network-traversal.tgz: @@ -8654,7 +8654,7 @@ packages: dev: false name: '@rush-temp/communication-network-traversal' resolution: - integrity: sha512-F1T6zU4yFjAaG3tkEUgBLRSMrMsmDvsuEWzSlJVYIrHfTZygDNR/eDQWAmjgF3TQwcn5btAEJFBNjripDSnkiQ== + integrity: sha512-4flsoWfGKC+zhYkduTncSI22tlrJ18C9lDtSscghuOZM/i2U8J04RVPUH2HJJYwh6vB4qJgpclic1AUpytOQ3w== tarball: file:projects/communication-network-traversal.tgz version: 0.0.0 file:projects/communication-phone-numbers.tgz: @@ -8706,7 +8706,7 @@ packages: dev: false name: '@rush-temp/communication-phone-numbers' resolution: - integrity: sha512-e4wloANn5FgQplBYioWale2py47636k+n9AhvBxEv2zYAAGT8h6Y6fDAUUu+2ghFZGZQ5r9wAplzJG+T69E3Qw== + integrity: sha512-ZMZNMp8xGJWX+SYkH9BN4HjdxXIlhCtnztjuUGS53VtbRT81S/fJ8YzjbtskJNCI07RyC0dlvIZccsKEUb/iXA== tarball: file:projects/communication-phone-numbers.tgz version: 0.0.0 file:projects/communication-sms.tgz: @@ -8757,7 +8757,7 @@ packages: dev: false name: '@rush-temp/communication-sms' resolution: - integrity: sha512-zUaVWSyuQ9ddNUiWJ8XLHHJfIaRPnuXMxPN67Gve0Orx95YTyectyZmJSFK8qMUKuvcNsKP7cMg4hhhkejM8IA== + integrity: sha512-sLFrpFT/bZo8ppBxJnw0KkGHXVFw39cOKN3yj+TLispv0m9w/RfEdqi68SgrRM4BBPwAEmjSF7r8k9GbZAolHA== tarball: file:projects/communication-sms.tgz version: 0.0.0 file:projects/confidential-ledger.tgz: @@ -9232,7 +9232,7 @@ packages: dev: false name: '@rush-temp/core-lro' resolution: - integrity: sha512-qGsbhY42+yb7/ZND4jJU68QDnFa1/q2Aw++lfViXx/wohdotqvkmY08PS6+ma9e62WFwrFjItZvQU/sw4yYvFQ== + integrity: sha512-BBFyzmuJV6yP3Bd7Q1woBHOV5zTLGzpv3I89Ax8nkQWgkunvGYiWt27DFoVPaYN+58yyfSPCQ+NW9CHqIrGiNg== tarball: file:projects/core-lro.tgz version: 0.0.0 file:projects/core-paging.tgz: @@ -9644,7 +9644,7 @@ packages: dev: false name: '@rush-temp/digital-twins-core' resolution: - integrity: sha512-ZDdMr3qllyTdU+WuhJSoEb3eVwuGddKn79fKcdajDoJMqde0PIFjAjMg61bR+iR4Ij2AfznBrvjl0DshNTgB9Q== + integrity: sha512-/rP1evOkdU5PuvNi5ZPNSeZcrnMXoPVk4iKPM4xjLRnbv20NKsZAB6BfyNyOQaozDNFDtG/YfwYItrPz7m+C7g== tarball: file:projects/digital-twins-core.tgz version: 0.0.0 file:projects/eslint-plugin-azure-sdk.tgz: @@ -10033,7 +10033,7 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-WhzQXtuVDAdYFtQtAqj9om+FireeOVVkgmVP/bZwh4vYueDup+Nlp6slAq9lMJz/auX80Y9LXy1VzErjNxWtsA== + integrity: sha512-hx8wOkNk9gdLdTKfNQ3H5vR+k1Bnis30iELhVW13dlQvS7Opo26T+vK5+P55hZqZSCAZX5WqU1IRPL/WH0nRKQ== tarball: file:projects/identity.tgz version: 0.0.0 file:projects/iot-device-update.tgz: @@ -10059,7 +10059,7 @@ packages: dev: false name: '@rush-temp/iot-device-update' resolution: - integrity: sha512-6tJv5E6OLIpAoRhOoofXqsG5/QqEXSyXHRY0pPfegzAsUPd6Q9/nOCdnJdEcJefSzE8gtUotJVUr0wT3kFtW1w== + integrity: sha512-BpN759UQhFDm8UYFjZC+9fwEp6fZVZpuc19yYGdugKdWF+D4i245U5la7afkTbYhS7gKLoH+ii+PhCm+3Kuv2A== tarball: file:projects/iot-device-update.tgz version: 0.0.0 file:projects/iot-modelsrepository.tgz: @@ -10156,7 +10156,7 @@ packages: dev: false name: '@rush-temp/keyvault-admin' resolution: - integrity: sha512-LlmRCxSakkuseakBlCLSHrPvJPhBanDgaYXv9uAz2/L44BajmfkYbZ5CASZ69fsC8w+YsF9n0dbcmO2S4w56hA== + integrity: sha512-N1mMTHFZ+L+1jJGw0FmU/nYy2Tx41AWtzxAT4eKotj+ix1PhQW7tu712sfGSK8rJciA9z2YaXnq2KlCalpJrHw== tarball: file:projects/keyvault-admin.tgz version: 0.0.0 file:projects/keyvault-certificates.tgz: @@ -10213,7 +10213,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-q9D1kEeUD+ZVft65Cy2mrzcf/V1RHCvwKNhMqN+Y4jFAEVMHADxIoFbXHkjpBQStioMCR0ydk2OS7x1t1GBahQ== + integrity: sha512-SZIpvWi1Oh0fR52xInZ1rEJlPDGJGJIuPwdLaZED57YjEaO+s8x42Ud/n5xJ+gC+1sZP8aRdwDYzvKllCLggRg== tarball: file:projects/keyvault-certificates.tgz version: 0.0.0 file:projects/keyvault-common.tgz: @@ -10226,7 +10226,7 @@ packages: dev: false name: '@rush-temp/keyvault-common' resolution: - integrity: sha512-GRiP+Js7NDvQqLYkl8FpmDyaJbN+DdiHA97LxaNliDBYMb+9O9h5716lJYbtFAq0K4f5BcN1VWHlW0xIVfrYPg== + integrity: sha512-bPRo3thH2+A9xkidN62waMvwoiZ/lL5ZEo1g1HDcaFudx4D6UY1otc/GHflEXvEMG5SFdOvJWiADMFsKCD3EXA== tarball: file:projects/keyvault-common.tgz version: 0.0.0 file:projects/keyvault-keys.tgz: @@ -10284,7 +10284,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-pUChOaNDr/umom/rVHeSgyfxRGweU8oP32WL1r882KNYnXg5q5HQIJ4RXz+HF9xX1aMqyBgvdAJubaKIEZrYWA== + integrity: sha512-mZg+MNTvoPCKHfVVEBCZomsF8N4LpjbZoWexpAC1iTKaHvj8ILjxuGH6YP8WJssvDdQUH3xOhPAScIOMYdGTnA== tarball: file:projects/keyvault-keys.tgz version: 0.0.0 file:projects/keyvault-secrets.tgz: @@ -10340,7 +10340,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-D1laiUgAUGtDk6TKiiEAXE4uwusgDMoRRQ3pDZ2U9olRZR0HAfc/NaCKFyOaKGc4k3iMc1E9uO/q4TEBdb41TA== + integrity: sha512-W5dDV1QHJ+u9+NJWNi11koGkXachZAB66ASayigW7tdmGyyRzIKubOZvKaXKQCN1jlsABXK6Q7GQvVzM5/0M2Q== tarball: file:projects/keyvault-secrets.tgz version: 0.0.0 file:projects/logger.tgz: @@ -10430,7 +10430,7 @@ packages: dev: false name: '@rush-temp/mixedreality-authentication' resolution: - integrity: sha512-Wotv/XF90O+vucRT0Tq6IEdgaSlERZ2GU0DO6hx5h/tg6DTyjeJvZ1wCt0YdjT2lUb9IuWFOOevpO4vwQzQkUw== + integrity: sha512-J3o/wRGxiLoaX9H26cUyJ24rF9cmZ3fmsKpQZWIX8fZdKOYd8/FYyY562CkjEmC0tdzQw65h/eWoorg8hFRb3w== tarball: file:projects/mixedreality-authentication.tgz version: 0.0.0 file:projects/mock-hub.tgz: @@ -10476,7 +10476,7 @@ packages: dev: false name: '@rush-temp/monitor-opentelemetry-exporter' resolution: - integrity: sha512-aZpEWfv4GO5hp+TrhXmiB4PQCA1cTDjeTWq2Qyk+ckCPt42cNTscgaulw2mjyPfZmPk6YzIJ/5vbZAvxfpoO7Q== + integrity: sha512-Lq8fsz2BpYqrWz1cYDlNTjLaReTJFmj13Wqq5M59N+jw0QYt8G+hAlyu4vx6G/S8EFBBcA8CCLehrkVJVMnf5g== tarball: file:projects/monitor-opentelemetry-exporter.tgz version: 0.0.0 file:projects/monitor-query.tgz: @@ -10524,7 +10524,7 @@ packages: dev: false name: '@rush-temp/monitor-query' resolution: - integrity: sha512-sKEbHURwQ0W5MZKWdtDb9GCLNhzi9FZlfjkZLdSYsdVEwHEv/lwp8cqtVr7IkJ5KD21UnyexhmvRzTtHMvwXPA== + integrity: sha512-ZqbLi+vZHrI+Vz3RzDS2+A/pyL3d+jhv/mtt3kIBz7MNhrR2U3LChG5y3je2HY06XRuyhg7O/gz0TBrSTQHt/Q== tarball: file:projects/monitor-query.tgz version: 0.0.0 file:projects/perf-ai-form-recognizer.tgz: @@ -10713,7 +10713,7 @@ packages: dev: false name: '@rush-temp/perf-storage-blob' resolution: - integrity: sha512-h1YaI4Uhhooobl0kV7ArC9qdp4YS6nOuRsfRX0xt621Ag6o8Sk5IeYHTo+mezVebEZFvPNiuTHIzBBdPhISOKg== + integrity: sha512-qgt/1g9b5WF7t/MgCo8AIzGZWtEUogkGYw1ynmOaJIyzJg7F9xT7LggSbz6djkydtTveJ6/qe1rg1/H1hEnGMQ== tarball: file:projects/perf-storage-blob.tgz version: 0.0.0 file:projects/perf-storage-file-datalake.tgz: @@ -10888,7 +10888,7 @@ packages: dev: false name: '@rush-temp/quantum-jobs' resolution: - integrity: sha512-upn0yiRQfNXukzJK3UktrUiKGxVYOq83fsqT1AUnXtVKE/Skg7vF7GgPqXmZ7WZfYFfkZBTWvqTnPUD+ZXSsuQ== + integrity: sha512-EkskcLw/yARmVBVNoHwawqSzEyiiu1G6rbH+6SSQiTSJg2DF3AqdrwAibkaRjFeHRRGGApYvb+vADefmWXZaNg== tarball: file:projects/quantum-jobs.tgz version: 0.0.0 file:projects/schema-registry-avro.tgz: @@ -10942,7 +10942,7 @@ packages: dev: false name: '@rush-temp/schema-registry-avro' resolution: - integrity: sha512-YThr/Ltxi5X65AtKzecvNSoDN7p+74dXCgDLZN6h6+bhUN2GIyZvyNPwCUrG0MSeRvF1DC7HYvYwo00/2hFnMw== + integrity: sha512-FFj5S9ii1kaeUrp/Rjax+J5jGBh7arsAlAJQxigXMOUm9KCAsSLNtMManqAbpvsML7TSL+6cBmqmjF0L+28Xfg== tarball: file:projects/schema-registry-avro.tgz version: 0.0.0 file:projects/schema-registry.tgz: @@ -10992,7 +10992,7 @@ packages: dev: false name: '@rush-temp/schema-registry' resolution: - integrity: sha512-YT9wQqawJcplFXXt8QMZBzCTnMrtlMAzLZGpWw73hfhr94oPAjEFol54qJd3O7HL4ZAoeIUM8Lip1gGTgcqiYw== + integrity: sha512-SJQMGaVqwgt7MBCEDaGza5srjmLnmbrakVpMEO+b9n7+PP1qc90d50PEQJolapHFM3RDNfSbon+kOK19q9FK9g== tarball: file:projects/schema-registry.tgz version: 0.0.0 file:projects/search-documents.tgz: @@ -11045,7 +11045,7 @@ packages: dev: false name: '@rush-temp/search-documents' resolution: - integrity: sha512-RaYfwmjKEeuaRMKTLJvd1bhl3zRNKNXm8jMgbQCtAvbztsqMUa1nER1//BRRttdhZyocX6bTQwxoaWyurC9ySw== + integrity: sha512-gYgY1PygI2bfmIB4TDx/BzHCuoOXWZbZchbmuf4dMTHawr2jPuVZrTcGdods1jlBY7doAq4muoudrSWyyDlUGA== tarball: file:projects/search-documents.tgz version: 0.0.0 file:projects/service-bus.tgz: @@ -11119,7 +11119,7 @@ packages: dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-nmjsnu4i71YU0BKjM5mWBOotfzNPx9n9qhFWxeRhQ1vRepucjY1e5e2opdyRuVM3jJabE/nJL1f0SU1lOeTwwA== + integrity: sha512-WmD50C2zdjAvRU3aqyHKU8Mu6Yr76u9VczCNZVx9FeQPtDX6zIySgroMNlrjFX2EC/5HF2aUdOsTtpYFFSN83g== tarball: file:projects/service-bus.tgz version: 0.0.0 file:projects/storage-blob-changefeed.tgz: @@ -11175,7 +11175,7 @@ packages: dev: false name: '@rush-temp/storage-blob-changefeed' resolution: - integrity: sha512-ArM0rdnKrpM+JYqEanwwlK2vDlT9qYw/vTS8kRKsneHFcWIqf8VefCbhMS961NxEhyoU0vXmpqMIcPo9xlpMFg== + integrity: sha512-ksbw8dPxjkpa1QLxHQeDSg9+cQJ6xVwwNFD00yYN+ew7TKQF/lpB06PtVONdU1YzYZ/c3d7P9qSajZXDqbmoEQ== tarball: file:projects/storage-blob-changefeed.tgz version: 0.0.0 file:projects/storage-blob.tgz: @@ -11233,7 +11233,7 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-vDjrlt3aRme+YkIbvsx56A9FZpNC+7u96T0wFb2R+oVQy1UQpcvbsMD0ztuI59ao7b830JOeObLzHdwbiQg8Aw== + integrity: sha512-Y2PYAaYTgmGrVfnf3V9wNGDMpbHvqGUbWVyOumm/ZcGyoYk5GJLEfzyfrcu/Km+q6vInYa6DJIvyhtGIMpRGpw== tarball: file:projects/storage-blob.tgz version: 0.0.0 file:projects/storage-file-datalake.tgz: @@ -11291,7 +11291,7 @@ packages: dev: false name: '@rush-temp/storage-file-datalake' resolution: - integrity: sha512-GSXIBdYBUFknYcqm0yyf0BQFERTz4Gp0wL68GrZzV+8R955SE1mrWaQHj/P0FdieF8OhtjkRpdqL7lLkV0h0wg== + integrity: sha512-WadrudqhN+4o2y/lIxJfIOw2XhIbzM578cULuCnQUIjq/sxraUQ6VT4ruWRRqkpBJYXAkvKGFKU1nk9hZI21Pw== tarball: file:projects/storage-file-datalake.tgz version: 0.0.0 file:projects/storage-file-share.tgz: @@ -11345,7 +11345,7 @@ packages: dev: false name: '@rush-temp/storage-file-share' resolution: - integrity: sha512-j2TuqNfjmOV+hVI9t3sRto2kAX0tNEJGKRxgO3ZKWEBPKi2m9qiOqIoCw0cT4u7Hsri8WYckxBC+Fy9n0vXabg== + integrity: sha512-tm+npdfU7HW8bDAXmLHl7SkTVE0R0OkQkj6Ao1VtZxbaNsV2yHgino//7zrzTHm5NXYM1T9/UZd5lAxUkUg2YA== tarball: file:projects/storage-file-share.tgz version: 0.0.0 file:projects/storage-internal-avro.tgz: @@ -11449,7 +11449,7 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-GpLMmYAA4M3r4FAqNw06BFVyx8/be7iP+YuqBZF54QwowCpoUbU/NnBN4lCmTYg/QfbPxN3lfLTcw8xqUWqB2w== + integrity: sha512-uTyj9p7/aIjlEkguZAVtnCxV8fU7iOxRZV0j/GwWWIpuFKaK92rtWJGRBrQ/IRVRehNuS81GgRBEVb5tIyLIvA== tarball: file:projects/storage-queue.tgz version: 0.0.0 file:projects/synapse-access-control.tgz: @@ -11468,7 +11468,7 @@ packages: dev: false name: '@rush-temp/synapse-access-control' resolution: - integrity: sha512-cTj+TIV66H+n36HhogXdHLPHo+qBWVx6/A3/c/tAa0YdMMGUNLrS7m2f2WcANDJivLHl38gkAY9Nzm5kWIg6Vg== + integrity: sha512-B6ZNAWWZamD+jFqi0Z5UrXPb407k7n22KotiiBdG17Kvb5+IFZHvB2XSb6UqXKX6acTH2oTPGnhqJX9zNu7bnQ== tarball: file:projects/synapse-access-control.tgz version: 0.0.0 file:projects/synapse-artifacts.tgz: @@ -11517,7 +11517,7 @@ packages: dev: false name: '@rush-temp/synapse-artifacts' resolution: - integrity: sha512-vt9kUozRHF9Bo1L4dUupFdfDtnLDMChwVh+/aJ1YWAXDAqoPa6Bl1JWdz/7ENOwqfdt3GxZjWD5uQ0QzyZNUzQ== + integrity: sha512-FGswIITasIIQLmyG+RTFkrm6PPW6DZvclEJM8OZjR7a2Wo3X6F/dXVx04wOQXkyOpEGhS9Q4t1zeQGx1kqoibw== tarball: file:projects/synapse-artifacts.tgz version: 0.0.0 file:projects/synapse-managed-private-endpoints.tgz: @@ -11536,7 +11536,7 @@ packages: dev: false name: '@rush-temp/synapse-managed-private-endpoints' resolution: - integrity: sha512-TxDjc/JaUiPvOTSomuZm5zbnZYGV7PHbmn6jACR/TKb174c/qA58bTOcsk5NgpJGYM5bsGICVLlc1zcme8mf6Q== + integrity: sha512-n3HmGyFWLvYD13xpEZDbDR/UTytR45c8RaaFn4S+RvgMl9qbSLKF2HNtdj/9Kizg70MsfHITsevCObkrF1MAaw== tarball: file:projects/synapse-managed-private-endpoints.tgz version: 0.0.0 file:projects/synapse-monitoring.tgz: @@ -11555,7 +11555,7 @@ packages: dev: false name: '@rush-temp/synapse-monitoring' resolution: - integrity: sha512-czBS9LdKdlhgQTikMWqNQJZrvH6lLWREePSMOrc14+a3a0m8AuqukIG9oP4ChtxMU460+uiP85SUIBD3m6DynA== + integrity: sha512-ZP/mUHpmJecIKZu5BgZ7KMs1RpcGx+gvvhcqfQPHjsXHItdYRw2SZaNeYWe5EPnmB/bIAxWnh0UgMIKXAmQ0+Q== tarball: file:projects/synapse-monitoring.tgz version: 0.0.0 file:projects/synapse-spark.tgz: @@ -11574,7 +11574,7 @@ packages: dev: false name: '@rush-temp/synapse-spark' resolution: - integrity: sha512-0EQSRYbZpxXr2lIJNnJBzLnxNtIg8vvKbZgP8m4BEY/Bh6zePj/040ofZb7oyjDTJ2GBG/6xGSXe6rWcQYbueQ== + integrity: sha512-K+6F+RZEd5QAlbJlquMsiXPVc39i9C9CR9eQik5HhMV0tkWrk9DnKEx+l4nqIBvJ4yFAcew448mS+Fcp3HpQxA== tarball: file:projects/synapse-spark.tgz version: 0.0.0 file:projects/template.tgz: @@ -11618,11 +11618,12 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-3fbGqkIaKqvCh8c+NNU0di1d3N/83L3/4VReIw0YOCpTSUOABqCeyJXuI4CrlcuvPjR4W8e+FS4bJU3WknmxJg== + integrity: sha512-hQI0Ql4AZ4XWrILH/tsta0ICSinVvE+Bus/7L8tuBRza+LJUlaJVgEG16kY/mex7qaCRZkn8FiIJkD2mlywRLg== tarball: file:projects/template.tgz version: 0.0.0 file:projects/test-utils-perfstress.tgz: dependencies: + '@azure/core-http': 1.2.6 '@types/minimist': 1.2.1 '@types/node': 8.10.66 '@types/node-fetch': 2.5.10 @@ -11640,7 +11641,7 @@ packages: dev: false name: '@rush-temp/test-utils-perfstress' resolution: - integrity: sha512-7ahu0ZcXw1v5iEXcsI5CSvKzXrEZnq7PfbVYC8UrJGYkTHENmDD9RPBPcNgUqLsfWS0VUCsYOmr7+jv0Gi4rDA== + integrity: sha512-G01AKC+QVmgEMfC2qhx04eGCjF263vxZi+gl5okAPVDSdU0VVksM/RTytC5FuJtedCuNnKIiCDsTRXY8jPGwlQ== tarball: file:projects/test-utils-perfstress.tgz version: 0.0.0 file:projects/test-utils-recorder.tgz: @@ -11696,7 +11697,7 @@ packages: dev: false name: '@rush-temp/test-utils-recorder' resolution: - integrity: sha512-fGHrJYrVCdiA8F/jXpnMAdz1b/Xz68JAMfGSHwdiEki22yPna09NHn0kSceTlHuj4OGetNAxk0+ZeY7hhICaHA== + integrity: sha512-AmE/h0wK80qWpCOM+dLXlhMjLYIM7A3UFZIALzlOVy3BiGlN/3Sr3c6/7uNXTp2q6C0vqrl8wpnH3zP59oZkXQ== tarball: file:projects/test-utils-recorder.tgz version: 0.0.0 file:projects/test-utils.tgz: @@ -11765,7 +11766,7 @@ packages: dev: false name: '@rush-temp/video-analyzer-edge' resolution: - integrity: sha512-989HvDXIApeDGqoTNg6I8JUTUtpBn6pzLuYST0JYrKE7/2sJq7x1yp8CtKi+jeqhnG7aiDa9GjacpxgdrQbXEQ== + integrity: sha512-EmFXjIs+Itmn0tO3VRG4C3jHBRvXmUCgXRotTtnHy3MjmfDPcW9Ad9/3ZAxs+yhAdVTfQ4eZAkcyCUAS99Weqg== tarball: file:projects/video-analyzer-edge.tgz version: 0.0.0 file:projects/web-pubsub-express.tgz: @@ -11826,7 +11827,7 @@ packages: dev: false name: '@rush-temp/web-pubsub-express' resolution: - integrity: sha512-Lr9G7CThq8ki5jg+j6J8n8kGVpRlCHDtlZWjahAwvL0Y+xHD0CdeHW5Ey95lTdtLQkRUm4LRXrgQezq9J81+XA== + integrity: sha512-nQ+4E7biXcZfZGOfGQjqRGDnh53ktgWERarLRnUPJXlTNG0/ex0hAPL+BRXji6UIqlX1/NTcXPPc3KAu5gZbmQ== tarball: file:projects/web-pubsub-express.tgz version: 0.0.0 file:projects/web-pubsub.tgz: @@ -11883,7 +11884,7 @@ packages: dev: false name: '@rush-temp/web-pubsub' resolution: - integrity: sha512-vR4Y02jE/bLss6v013XQnI7fHgUp+r4ENYXoaHKRAtNMixhfeobUozzrZuMQJjCTyh0ps8FxxEn3BB3It5SySQ== + integrity: sha512-gWCUFpMhKrd5v3cvLLkcJIYn8C1lQgg487WLD4H040NGB6hY89G1JQyfrihPi4h059Oi9fHq4mCwbqvWVHHocg== tarball: file:projects/web-pubsub.tgz version: 0.0.0 registry: '' diff --git a/sdk/anomalydetector/ai-anomaly-detector/package.json b/sdk/anomalydetector/ai-anomaly-detector/package.json index b7a81982e01a..01b424eaa639 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/package.json +++ b/sdk/anomalydetector/ai-anomaly-detector/package.json @@ -62,7 +62,7 @@ "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-paging": "^1.1.1", "@azure/logger": "^1.0.0", diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index 4fac8deb4680..c3a82889b5c6 100644 --- a/sdk/appconfiguration/app-configuration/package.json +++ b/sdk/appconfiguration/app-configuration/package.json @@ -88,7 +88,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-asynciterator-polyfill": "^1.0.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index 0103976d0e27..9858315fc660 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -68,7 +68,7 @@ "@azure/communication-common": "^1.0.0", "@azure/communication-signaling": "1.0.0-beta.6", "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", diff --git a/sdk/communication/communication-common/package.json b/sdk/communication/communication-common/package.json index 954c77594af7..10240341dcb1 100644 --- a/sdk/communication/communication-common/package.json +++ b/sdk/communication/communication-common/package.json @@ -65,7 +65,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "events": "^3.0.0", "jwt-decode": "~2.2.0", diff --git a/sdk/communication/communication-identity/package.json b/sdk/communication/communication-identity/package.json index efbb4ef2f049..6fef9d2c424f 100644 --- a/sdk/communication/communication-identity/package.json +++ b/sdk/communication/communication-identity/package.json @@ -76,8 +76,8 @@ "@azure/abort-controller": "^1.0.0", "@azure/communication-common": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/communication/communication-network-traversal/package.json b/sdk/communication/communication-network-traversal/package.json index 6b46cbb27c3a..65b3f969c4ec 100644 --- a/sdk/communication/communication-network-traversal/package.json +++ b/sdk/communication/communication-network-traversal/package.json @@ -76,7 +76,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/communication-common": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index b8097778687a..63bf9bede986 100644 --- a/sdk/communication/communication-phone-numbers/package.json +++ b/sdk/communication/communication-phone-numbers/package.json @@ -64,8 +64,8 @@ "@azure/communication-common": "^1.0.0", "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/communication/communication-sms/package.json b/sdk/communication/communication-sms/package.json index 6365d9ccf707..6336a1129744 100644 --- a/sdk/communication/communication-sms/package.json +++ b/sdk/communication/communication-sms/package.json @@ -68,7 +68,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/communication-common": "^1.0.0", "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index 614b1ee2195c..28455bc8f792 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.2.7 (Unreleased) +## 2.0.0 (Unreleased) ### Features Added diff --git a/sdk/core/core-http/package.json b/sdk/core/core-http/package.json index 74a6e273279e..9e738688c4c4 100644 --- a/sdk/core/core-http/package.json +++ b/sdk/core/core-http/package.json @@ -2,7 +2,7 @@ "name": "@azure/core-http", "sdk-type": "client", "author": "Microsoft Corporation", - "version": "1.2.7", + "version": "2.0.0", "description": "Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest", "tags": [ "isomorphic", diff --git a/sdk/core/core-http/src/util/constants.ts b/sdk/core/core-http/src/util/constants.ts index a870e36a2324..9e51d987813f 100644 --- a/sdk/core/core-http/src/util/constants.ts +++ b/sdk/core/core-http/src/util/constants.ts @@ -5,7 +5,7 @@ export const Constants = { /** * The core-http version */ - coreHttpVersion: "1.2.7", + coreHttpVersion: "2.0.0", /** * Specifies HTTP. diff --git a/sdk/core/core-lro/CHANGELOG.md b/sdk/core/core-lro/CHANGELOG.md index 3027313aee59..60dca1cffbdc 100644 --- a/sdk/core/core-lro/CHANGELOG.md +++ b/sdk/core/core-lro/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.0.6 (Unreleased) +## 2.0.0 (Unreleased) ### New Features diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index 541fbdd231f3..f5e545433726 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -2,7 +2,7 @@ "name": "@azure/core-lro", "author": "Microsoft Corporation", "sdk-type": "client", - "version": "1.0.6", + "version": "2.0.0", "description": "LRO Polling strategy for the Azure SDK in TypeScript", "tags": [ "isomorphic", @@ -101,7 +101,7 @@ "tslib": "^2.2.0" }, "devDependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", "@microsoft/api-extractor": "7.7.11", diff --git a/sdk/deviceupdate/iot-device-update/package.json b/sdk/deviceupdate/iot-device-update/package.json index c17a477d4259..d4d4656f8049 100644 --- a/sdk/deviceupdate/iot-device-update/package.json +++ b/sdk/deviceupdate/iot-device-update/package.json @@ -5,7 +5,7 @@ "description": "Device Update for IoT Hub is an Azure service that enables customers to publish update for their IoT devices to the cloud, and then deploy that update to their devices (approve updates to groups of devices managed and provisioned in IoT Hub). It leverages the proven security and reliability of the Windows Update platform, optimized for IoT devices. It works globally and knows when and how to update devices, enabling customers to focus on their business goals and let Device Update for IoT Hub handle the updates.", "version": "1.0.0-beta.2", "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" diff --git a/sdk/digitaltwins/digital-twins-core/package.json b/sdk/digitaltwins/digital-twins-core/package.json index c34f53b5efbc..fa48e3439cc5 100644 --- a/sdk/digitaltwins/digital-twins-core/package.json +++ b/sdk/digitaltwins/digital-twins-core/package.json @@ -66,7 +66,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/formrecognizer/ai-form-recognizer/package.json b/sdk/formrecognizer/ai-form-recognizer/package.json index b2c66d679bc9..f59a177c0339 100644 --- a/sdk/formrecognizer/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/package.json @@ -79,9 +79,9 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index 8c8982830086..9e7ca636a081 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -80,7 +80,7 @@ "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "@azure/abort-controller": "^1.0.0", diff --git a/sdk/keyvault/keyvault-admin/package.json b/sdk/keyvault/keyvault-admin/package.json index 2b3d32eaf19e..21f52957fb86 100644 --- a/sdk/keyvault/keyvault-admin/package.json +++ b/sdk/keyvault/keyvault-admin/package.json @@ -106,8 +106,8 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-rest-pipeline": "^1.1.0", "@azure/core-tracing": "1.0.0-preview.12", diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 0b8f094eff08..1ede6aa87f7b 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -108,8 +108,8 @@ }, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/keyvault/keyvault-common/package.json b/sdk/keyvault/keyvault-common/package.json index 4f7d09eb6bc9..c69c1f6235d8 100644 --- a/sdk/keyvault/keyvault-common/package.json +++ b/sdk/keyvault/keyvault-common/package.json @@ -57,7 +57,7 @@ "docs": "echo Skipped." }, "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 8ab2fdcf4e52..dbee46ace3b4 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -104,8 +104,8 @@ }, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 38938b255935..827e82c783cb 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -104,8 +104,8 @@ }, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/metricsadvisor/ai-metrics-advisor/package.json b/sdk/metricsadvisor/ai-metrics-advisor/package.json index 75715f6e56e3..ad3d8fd11c56 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/package.json @@ -82,9 +82,9 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/mixedreality/mixedreality-authentication/package.json b/sdk/mixedreality/mixedreality-authentication/package.json index 16264899cbf3..347b88a97b62 100644 --- a/sdk/mixedreality/mixedreality-authentication/package.json +++ b/sdk/mixedreality/mixedreality-authentication/package.json @@ -68,7 +68,7 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/monitor/monitor-opentelemetry-exporter/package.json b/sdk/monitor/monitor-opentelemetry-exporter/package.json index 5bd37efa024f..fa5218648d87 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/package.json @@ -94,7 +94,7 @@ "typedoc": "0.15.2" }, "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@opentelemetry/api": "^1.0.0", "@opentelemetry/core": "^0.22.0", "@opentelemetry/resources": "^0.22.0", diff --git a/sdk/monitor/monitor-query/package.json b/sdk/monitor/monitor-query/package.json index 5c57f1039934..fdb263e316b2 100644 --- a/sdk/monitor/monitor-query/package.json +++ b/sdk/monitor/monitor-query/package.json @@ -99,7 +99,7 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/quantum/quantum-jobs/package.json b/sdk/quantum/quantum-jobs/package.json index 0b7a2689a2b9..fbc21fdba9d5 100644 --- a/sdk/quantum/quantum-jobs/package.json +++ b/sdk/quantum/quantum-jobs/package.json @@ -65,7 +65,7 @@ }, "dependencies": { "@azure/core-paging": "^1.1.1", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, diff --git a/sdk/schemaregistry/schema-registry-avro/package.json b/sdk/schemaregistry/schema-registry-avro/package.json index 9af885ff40b1..e43e23235cbb 100644 --- a/sdk/schemaregistry/schema-registry-avro/package.json +++ b/sdk/schemaregistry/schema-registry-avro/package.json @@ -71,7 +71,7 @@ }, "dependencies": { "@azure/schema-registry": "1.0.0-beta.2", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "avsc": "^5.5.1", diff --git a/sdk/schemaregistry/schema-registry/package.json b/sdk/schemaregistry/schema-registry/package.json index 94f6de6c819a..fc2c686a855c 100644 --- a/sdk/schemaregistry/schema-registry/package.json +++ b/sdk/schemaregistry/schema-registry/package.json @@ -86,7 +86,7 @@ "sideEffects": false, "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/search/search-documents/package.json b/sdk/search/search-documents/package.json index 8776dc4b41d5..cd3e9b5cb0b1 100644 --- a/sdk/search/search-documents/package.json +++ b/sdk/search/search-documents/package.json @@ -76,7 +76,7 @@ "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index 10b452e79098..7f2e173f621a 100644 --- a/sdk/servicebus/service-bus/package.json +++ b/sdk/servicebus/service-bus/package.json @@ -113,7 +113,7 @@ "@azure/abort-controller": "^1.0.0", "@azure/core-amqp": "^3.0.0", "@azure/core-asynciterator-polyfill": "^1.0.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/core-paging": "^1.1.1", "@azure/core-auth": "^1.3.0", diff --git a/sdk/storage/perf-tests/storage-blob/package.json b/sdk/storage/perf-tests/storage-blob/package.json index 69652be5dd4d..76c3927c502e 100644 --- a/sdk/storage/perf-tests/storage-blob/package.json +++ b/sdk/storage/perf-tests/storage-blob/package.json @@ -7,7 +7,7 @@ "author": "", "license": "ISC", "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-rest-pipeline": "^1.1.0", "@azure/storage-blob": "^12.6.0-beta.1", "@azure/test-utils-perfstress": "^1.0.0", diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json index e48cde45b46e..071b2beb6df0 100644 --- a/sdk/storage/storage-blob-changefeed/package.json +++ b/sdk/storage/storage-blob-changefeed/package.json @@ -96,8 +96,8 @@ "dependencies": { "@azure/storage-blob": "^12.6.0-beta.1", "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 044a8abcb10e..afa6b0cd040f 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -127,8 +127,8 @@ }, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-http": "^2.0.0", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index a906f2b50f43..150f37c0a70b 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -107,7 +107,7 @@ }, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index af507b80c6cd..81e665939c7f 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -115,7 +115,7 @@ }, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index f52a2e4a85a3..adf059ae409a 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -110,7 +110,7 @@ }, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/synapse/synapse-access-control/package.json b/sdk/synapse/synapse-access-control/package.json index ecf62550ebab..b1cc04915140 100644 --- a/sdk/synapse/synapse-access-control/package.json +++ b/sdk/synapse/synapse-access-control/package.json @@ -8,7 +8,7 @@ "version": "1.0.0-beta.3", "dependencies": { "@azure/core-paging": "^1.1.1", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, diff --git a/sdk/synapse/synapse-artifacts/package.json b/sdk/synapse/synapse-artifacts/package.json index 755b64f50394..dc008cc3db2a 100644 --- a/sdk/synapse/synapse-artifacts/package.json +++ b/sdk/synapse/synapse-artifacts/package.json @@ -7,9 +7,9 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/synapse/synapse-artifacts/README.md", "repository": "github:Azure/azure-sdk-for-js", "dependencies": { - "@azure/core-lro": "^1.0.6", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, diff --git a/sdk/synapse/synapse-managed-private-endpoints/package.json b/sdk/synapse/synapse-managed-private-endpoints/package.json index 46a878a73a49..bc21f6916746 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/package.json +++ b/sdk/synapse/synapse-managed-private-endpoints/package.json @@ -8,7 +8,7 @@ "version": "1.0.0-beta.3", "dependencies": { "@azure/core-paging": "^1.1.1", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, diff --git a/sdk/synapse/synapse-monitoring/package.json b/sdk/synapse/synapse-monitoring/package.json index 9697352edb89..86354b19127f 100644 --- a/sdk/synapse/synapse-monitoring/package.json +++ b/sdk/synapse/synapse-monitoring/package.json @@ -7,7 +7,7 @@ "sdk-type": "client", "version": "1.0.0-beta.3", "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, diff --git a/sdk/synapse/synapse-spark/package.json b/sdk/synapse/synapse-spark/package.json index bce069089528..780b9d46ff1f 100644 --- a/sdk/synapse/synapse-spark/package.json +++ b/sdk/synapse/synapse-spark/package.json @@ -7,7 +7,7 @@ "sdk-type": "client", "version": "1.0.0-beta.3", "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "tslib": "^2.2.0" }, diff --git a/sdk/template/template/package.json b/sdk/template/template/package.json index 88305b1fb0fd..63636ac9ec77 100644 --- a/sdk/template/template/package.json +++ b/sdk/template/template/package.json @@ -82,7 +82,7 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0" diff --git a/sdk/test-utils/recorder/package.json b/sdk/test-utils/recorder/package.json index e61b9f111421..d40d116beff2 100644 --- a/sdk/test-utils/recorder/package.json +++ b/sdk/test-utils/recorder/package.json @@ -63,7 +63,7 @@ "sideEffects": false, "private": true, "dependencies": { - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "fs-extra": "^8.1.0", "nise": "^4.0.3", diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index 27fd072f9334..57cd73f5f4ca 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -94,7 +94,7 @@ "@azure/core-auth": "^1.3.0", "@azure/core-client": "^1.0.0", "@azure/core-rest-pipeline": "^1.1.0", - "@azure/core-lro": "^1.0.6", + "@azure/core-lro": "^2.0.0", "@azure/core-paging": "^1.1.1", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", diff --git a/sdk/videoanalyzer/video-analyzer-edge/package.json b/sdk/videoanalyzer/video-analyzer-edge/package.json index 3bb716edadd0..8d596099da21 100644 --- a/sdk/videoanalyzer/video-analyzer-edge/package.json +++ b/sdk/videoanalyzer/video-analyzer-edge/package.json @@ -60,7 +60,7 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "events": "^3.0.0", diff --git a/sdk/web-pubsub/web-pubsub-express/package.json b/sdk/web-pubsub/web-pubsub-express/package.json index 9402a439ee30..094056cc13cb 100644 --- a/sdk/web-pubsub/web-pubsub-express/package.json +++ b/sdk/web-pubsub/web-pubsub-express/package.json @@ -58,7 +58,7 @@ "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", diff --git a/sdk/web-pubsub/web-pubsub/package.json b/sdk/web-pubsub/web-pubsub/package.json index 55e9fd92d07d..43b2e553d4f9 100644 --- a/sdk/web-pubsub/web-pubsub/package.json +++ b/sdk/web-pubsub/web-pubsub/package.json @@ -61,7 +61,7 @@ "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^1.2.0", + "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", From 9b9a9d12d781c5400164b74cd97a943e72af6fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Thu, 24 Jun 2021 17:21:01 -0400 Subject: [PATCH 048/134] [Identity] Samples aligned with other languages (v1 compatible) (#15031) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In this PR we're aligning the samples of Identity with other languages. The samples I'm adding in this PR are: - Rolling certificates with ClientCertificateCredential ([.Net](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/identity/Azure.Identity/samples/ClientCertificateCredentialSamples.md#rolling-certificates)). - ClientCertificateCredential with a Key Vault Certificate ([Python](https://github.com/Azure/azure-sdk-for-python/pull/18109)) (decided not to use `@azure/keyvault-certificates` because of the possible issues converting certificates from one format to another in Node). - Custom credentials ([.Net](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/identity/Azure.Identity/samples/DefiningCustomCredentialTypes.md#defining-custom-credential-types)). - Using MSAL directly ([.Net](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/identity/Azure.Identity/samples/DefiningCustomCredentialTypes.md#authenticating-with-msal-directly)). - On Behalf Of Flow ([.Net](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/identity/Azure.Identity/samples/DefiningCustomCredentialTypes.md#authenticating-with-the-on-behalf-of-flow)). New samples related to the v2-specific features will be added after the Identity package is separated. Related to #14435 --- I’ve decided to use this opportunity to: Fix #15324 This PR also implicitly: Fixes #15573 --- .../identity/samples/AzureIdentityExamples.md | 557 +++++++++++++++--- 1 file changed, 490 insertions(+), 67 deletions(-) diff --git a/sdk/identity/identity/samples/AzureIdentityExamples.md b/sdk/identity/identity/samples/AzureIdentityExamples.md index af07eabf52d8..9fde9177df7f 100644 --- a/sdk/identity/identity/samples/AzureIdentityExamples.md +++ b/sdk/identity/identity/samples/AzureIdentityExamples.md @@ -1,33 +1,48 @@ # Table of contents - [Introduction](#introduction) -- [Authenticating client side browser applications](#authenticating-client-side-browser-applications) -- [Authenticating server side applications](#authenticating-server-side-applications) +- [Requirements](#requirements) +- [Authenticating client-side browser applications](#authenticating-client-side-browser-applications) +- [Authenticating server-side applications](#authenticating-server-side-applications) - [Authenticating User Accounts](#authenticating-user-accounts) - [Authenticating User Accounts with developer tools](#authenticating-user-accounts-with-developer-tools) - [Authenticating Service Principals](#authenticating-service-principals) - [Authenticating Azure Hosted Applications](#authenticating-azure-hosted-applications) - [Chaining credentials](#chaining-credentials) - [Authenticating With Azure Stack using Azure Identity](#authenticating-with-azure-stack-using-azure-identity) +- [Authenticating With Azure Stack using Azure Identity](#authenticating-with-azure-stack-using-azure-identity) +- [Advanced Examples](#advanced-examples) + - [Custom Credentials](#custom-credentials) + - [Authenticating with a pre-fetched access token](#authenticating-with-a-pre-fetched-access-token). + - [Authenticating with MSAL directly](#authenticating-with-msal-directly). + - [Authenticating with the @azure/msal-node Confidential Client](#authenticating-with-the-azure-msal-node-confidential-client). + - [Authenticating with the @azure/msal-node On Behalf Flow](#authenticating-with-the-azure-msal-node-on-behalf-flow). + - [Authenticating with the @azure/msal-browser Public Client](#authenticating-with-the-azure-msal-browser-public-client). + - [Authenticating with Key Vault Certificates](#authenticating-with-key-vault-certificates) + - [Rolling Certificates](#rolling-certificates) ## Introduction -Authenticating your application, users, and principals is an integral part of working with the Azure Client Libraries. The Azure Identity library provides multiple ways to authenticate, each with a flexible configuration that covers most scenarios. In this document we will go over some of these scenarios and provide small examples that can be used as a starting point for your needs. +Authenticating your application, users, and principals is an integral part of working with the Azure client libraries. The Azure Identity library provides multiple ways to gain access to the Azure services, each with a flexible configuration that covers most scenarios. There is sample code in [JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/samples/javascript) and [TypeScript](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity/samples/typescript) to cover the basic authentication scenarios. This document covers several use cases of Identity with greater context and links to the underlying authentication flows and other available documentation. -## Authenticating client side browser applications +## Authenticating client-side browser applications -For client side applications running in the browser, the `InteractiveBrowserCredential` provides the simplest user authentication experience and is the only credential type that we support in the browser. To get started, you need to register your application in the Microsoft identity platform and set the right permissions. +For client-side applications running in the browser, the `InteractiveBrowserCredential` provides the most direct user authentication experience. It's the only credential type that we support in the browser. To get started, register your application in the Microsoft Identity platform and set the proper permissions. - [Register a single page application](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) in the Microsoft identity platform - Configure the app registration with a redirect URI to specify where the Microsoft identity platform should redirect the client along with any security tokens. - If using v1 of `@azure/identity` package, follow the instructions at [Redirect URI: MSAL.js 1.0 with implicit flow](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration#redirect-uri-msaljs-10-with-implicit-flow) to set the redirect URI. - If using v2 of `@azure/identity` package, follow the instructions at [Redirect URI: MSAL.js 2.0 with auth code flow](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration#redirect-uri-msaljs-20-with-auth-code-flow) -- Ensure that your application has the right permission for the APIs it intends to use. +- Ensure that your application has the correct permission for the APIs it intends to use. - In your app registration in the Azure portal, go to `API Permissions` - Click on `Add a permission` - - Select the API you want to use. For example, if you are using any of our management/control plane packages i.e. the ones whose name starts with `@azure/arm-`, then you should select ``Azure Service Management`. + - Select the API you want to use. For example, if you're using any of our management/control plane packages (the ones whose name starts with `@azure/arm-`), you should select **Azure Service Management**. +- Ensure that your AAD Application has enabled public authentication flows: + - Go to Azure Active Directory in the Azure portal and find your app registration. + - Navigate to the **Authentication** section. + - Under **Advanced settings**, select **yes** on the option **Allow public client flows**. -Copy the client ID and tenant ID from the `Overview` section of your app registration in Azure portal and use it in the below code snippet where we authenticate a `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] using the `InteractiveBrowserCredential`. +Copy the client ID and tenant ID from the **Overview** section of your app registration in the Azure portal and use it in the below code snippet where we authenticate a `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] using the `InteractiveBrowserCredential`. ```ts function withInteractiveBrowserCredential() { @@ -40,22 +55,23 @@ function withInteractiveBrowserCredential() { } ``` -## Authenticating server side applications +If your project is already using MSAL to authenticate on the browser, or if you're looking for more advanced authentication scenarios in the browser, the Azure SDK makes it easy to use MSAL directly to authenticate our clients: [Authenticating with the @azure/msal-browser Public Client](#authenticating-with-the-azure-msal-browser-public-client). + +## Authenticating server-side applications -For server side applications we provide options that vary from minimal configuration with sensible defaults using the `DefaultAzureCredential` to more specialized credentials that can support your specific scenario. +For server-side applications, we provide options that vary from a minimal configuration with sensible defaults using the `DefaultAzureCredential` to more specialized credentials. -- To get started, you can always rely on interactive authentication of your user account which requires minimum setup. -- As you develop your application, you may want to first sign in using the developer tools like Azure CLI or Azure PowerShell to avoid signing in interactively every time you run your application. -- As you deploy your application to Azure App Service or run it in a virtual machine, you may want to make use of [Managed Identity](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview). +- To get started, you can always rely on interactive authentication of your user account, which requires minimal setup. +- As you develop your application, you may want to sign in using the developer tools like Azure CLI or Azure PowerShell, to avoid signing in interactively every time you run your application. +- As you deploy your application to Azure App Service or run it in a virtual machine, you may want to use [Managed Identity](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview). -You can [chain multiple credentials](#chaining-credentials) together so that they are tried sequentially until one of them succeeds. -This is useful to make use of different authentication mechanisms based on your environment without changing your application code. +We also provide a way to chain multiple credentials so that they try to authenticate sequentially until one of them succeeds. Chaining credentials will allow your code to work in multiple environments, including your local development tools. For more information, go to the section: [Chaining credentials](#chaining-credentials). One such chained credential that we provide out of the box is `DefaultAzureCredential`. ### Authenticating User Accounts -Authenticating user accounts is the easiest way to get started with minimal set up. For production scenarios, we recommend authenticating using service principals or managed identity which are listed in the later sections. +Authenticating user accounts is the easiest way to get started with minimal set up. For production scenarios, we recommend authenticating using service principals or managed identities, which are listed in the later sections. | Credential with example | Usage | Setup required | | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | @@ -74,7 +90,7 @@ Authenticating user accounts is the easiest way to get started with minimal set ### Authenticating Service Principals -An Azure service principal is an identity created for use with applications, hosted services, and automated tools to access Azure resources. This access is restricted by the roles assigned to the service principal, giving you control over which resources can be accessed and at which level. For security reasons, it's always recommended to use service principals with automated tools rather than allowing them to log in with a user identity. +An Azure service principal is an identity created for use with applications, hosted services, and automated tools to access Azure resources. The roles assigned by the service principal will determine what resources are accessible. For security reasons, use service principals through automation rather than allowing them to log in with a user identity. To learn more, read [Application and service principal objects in Azure Active Directory][app-register-service-principal] @@ -88,7 +104,7 @@ To learn more, read [Application and service principal objects in Azure Active D | [ClientSecretCredential](#authenticating-a-service-principal-with-a-client-secret) | Authenticates a service principal using a secret. | | [ClientCertificateCredential](#authenticating-a-service-principal-with-a-client-certificate) | Authenticates a service principal using a certificate. | | [EnvironmentCredential](#authenticating-a-service-principal-with-environment-credentials) | Authenticates a service principal or user via credential information specified in environment variables. | -| [DefaultAzureCredential](#authenticating-with-defaultazurecredential) | Tries `EnvironmentCredential`, `AzureCliCredential`, `AzurePowerShellCredential` and other credentials sequentially until one of them succeeds. Use this to have your application authenticate using developer tools, service principals or managed identity based on what is available in the current environment without changing your code. | +| [DefaultAzureCredential](#authenticating-with-defaultazurecredential) | Tries `EnvironmentCredential`, `AzureCliCredential`, `AzurePowerShellCredential`, and other credentials sequentially until one of them succeeds. Use this to have your application authenticate using developer tools, service principals, or managed identity based on what's available in the current environment without changing your code. | ### Authenticating Azure Hosted Applications @@ -96,7 +112,7 @@ If your application is hosted in Azure, you can make use of [Managed Identity](h | Credential with example | Usage | | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [ManagedIdentityCredential](#authenticating-in-azure-with-managed-identity) | Authenticate in a virtual machine, app service, function app, cloud shell, or AKS environment on Azure, with system assigned managed identity, user assigned managed identity, or app registration (when working with AKS pod-identity). | +| [ManagedIdentityCredential](#authenticating-in-azure-with-managed-identity) | Authenticate in a virtual machine, App Service, Functions app, Cloud Shell, or AKS environment on Azure, with system-assigned managed identity, user-assigned managed identity, or app registration (when working with AKS pod identity). | | [DefaultAzureCredential](#authenticating-with-defaultazurecredential) | Tries `EnvironmentCredential`, `ManagedIdentityCredential`, `AzureCliCredential`, `AzurePowerShellCredential`, and other credentials sequentially until one of them succeeds. Use this to have your application authenticate using developer tools, service principals or managed identity based on what is available in the current environment without changing your code. | ### Examples @@ -108,7 +124,7 @@ This example demonstrates authenticating the `SecretClient` from the [@azure/key ```ts /** * The default credential first checks environment variables for configuration. - * If environment configuration is incomplete, it will try managed identity. + * If the environment configuration is incomplete, it will try managed identity. */ function withDefaultAzureCredential() { const credential = new DefaultAzureCredential(); @@ -116,15 +132,15 @@ function withDefaultAzureCredential() { } ``` -#### Authenticating a user assigned managed identity with `DefaultAzureCredential` +#### Authenticating a user-assigned managed identity with `DefaultAzureCredential` -This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `DefaultAzureCredential`, deployed to an Azure resource with a user assigned managed identity configured. +This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `DefaultAzureCredential`, deployed to an Azure resource with a user-assigned managed identity configured. -For more information about how to configure a user assigned managed identity for an Azure resource please refer to [What are managed identities for Azure resources][azure_managed_identities]. +For more information about configuring a user-assigned managed identity for an Azure resource, refer to [What are managed identities for Azure resources][azure_managed_identities]. ```ts /** - * The default credential will use the user assigned managed identity with the specified client ID. + * The default credential will use the user-assigned managed identity with the specified client ID. */ function withDefaultAzureCredential() { // Alternatively, you may set the environment variable AZURE_CLIENT_ID="" and omit the `managedIdentityClientId` @@ -138,9 +154,11 @@ function withDefaultAzureCredential() { #### Authenticating a user account interactively in the browser -For clients that have a default browser available and for client-side applications running in the browser, the `InteractiveBrowserCredential` provides the simplest user authentication experience. In the sample below an application authenticates a `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] using the `InteractiveBrowserCredential`. +For clients with a default browser available and client-side applications running in the browser, the `InteractiveBrowserCredential` provides the most direct user authentication experience. In the sample below, an application authenticates a `SecretClient` from the [@azure/service-bus][service_bus_client_library] using the `InteractiveBrowserCredential`. + +For Node.js, if a `clientId` is provided, the Azure Active Directory application will need to be configured to have a "Mobile and desktop applications" redirect endpoint. Follow our guide on [setting up Redirect URIs for Desktop apps that calls to web APIs](https://docs.microsoft.com/azure/active-directory/develop/scenario-desktop-app-registration#redirect-uris). -> For client side applications running in the browser, the `InteractiveBrowserCredential` is the only credential type that is supported. You will also need to configure your app registration for single-page applications and set the right permissions. Please refer to the [Authenticating client side browser applications](#authenticating-client-side-browser-applications) for more information. +For client-side applications running in the browser, the `InteractiveBrowserCredential` is the only credential type that is supported. For more information, see [Authenticating client-side browser applications](#authenticating-client-side-browser-applications). ```ts function withInteractiveBrowserCredential() { @@ -148,8 +166,7 @@ function withInteractiveBrowserCredential() { tenantId: "", clientId: "" }); - - const client = new SecretClient("https://key-vault-name.vault.azure.net", credential); + const client = new ServiceBusClient("", credential); } ``` @@ -157,14 +174,14 @@ function withInteractiveBrowserCredential() { This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `ClientSecretCredential`. There's also [a runnable sample](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/typescript/src/clientSecretCredential.ts) to create a Key Vault key client you can copy-paste. -An Azure service principal is an identity created for use with applications, hosted services, and automated tools to access Azure resources. This access is restricted by the roles assigned to the service principal, giving you control over which resources can be accessed and at which level. For security reasons, it's always recommended to use service principals with automated tools rather than allowing them to log in with a user identity. +You'll need to: -To learn more, read [Application and service principal objects in Azure Active Directory][app-register-service-principal] +- [Create an application registration][quickstart-register-app] +- [Create a Service Principal with the Azure CLI][service_principal_azure_cli] or [Create an Azure service principal with Azure PowerShell][service_principal_azure_powershell] -Set up: +To learn more about service principals, see [Application and service principal objects in Azure Active Directory][app-register-service-principal]. -- [Application registration][quickstart-register-app] -- [Create a Service Principal with the Azure CLI][service_principal_azure_cli] or [Create an Azure service principal with Azure PowerShell][service_principal_azure_powershell] +In the following sample, an application authenticates a `SecretClient` from the [@azure/service-bus][service_bus_client_library] using the `ClientSecretCredential`: ```ts /** @@ -176,26 +193,31 @@ function withClientSecretCredential() { "", "" ); - const client = new SecretClient("https://key-vault-name.vault.azure.net", credential); + const client = new ServiceBusClient("", credential); } ``` #### Authenticating a service principal with environment credentials -This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `EnvironmentCredential`. The `EnvironmentCredential` looks for well-known environment variable names to determine how it should authenticate. It effectively acts as a wrapper for the `ClientSecretCredential`, `ClientCertificateCredential` or `UsernamePasswordCredential` depending on which environment variables are present. - -An Azure service principal is an identity created for use with applications, hosted services, and automated tools to access Azure resources. This access is restricted by the roles assigned to the service principal, giving you control over which resources can be accessed and at which level. For security reasons, it's always recommended to use service principals with automated tools rather than allowing them to log in with a user identity. +This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `EnvironmentCredential`. The `EnvironmentCredential`: -To learn more, read [Application and service principal objects in Azure Active Directory][app-register-service-principal] +- Looks for well-known environment variable names to determine how it should authenticate. +- Acts as a wrapper for the `ClientSecretCredential`, `ClientCertificateCredential`, or `UsernamePasswordCredential`, depending on which environment variables are present. -Set up: +You'll need to: -- [Application registration][quickstart-register-app] +- [Create an application registration][quickstart-register-app] - [Create a Service Principal with the Azure CLI][service_principal_azure_cli] or [Create an Azure service principal with Azure PowerShell][service_principal_azure_powershell] +- Provide the environment variables: + - `AZURE_TENANT_ID`, containing the AD tenant ID or name. + - `AZURE_CLIENT_ID`, containing the ID of the user/service principal to authenticate as. + - `AZURE_CLIENT_SECRET`, containing a client secret created belonging to the same user/service principal. + +To learn more about service principals, see [Application and service principal objects in Azure Active Directory][app-register-service-principal]. ```ts /** - * Authenticate with a client certificate. + * Authenticate using the AZURE_TENANT_ID, AZURE_CLIENT_ID, and AZURE_CLIENT_SECRET environment variables. */ function withEnvironmentCredential() { let credential = new EnvironmentCredential(); @@ -207,15 +229,13 @@ function withEnvironmentCredential() { This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `ClientCertificateCredential`. -An Azure service principal is an identity created for use with applications, hosted services, and automated tools to access Azure resources. This access is restricted by the roles assigned to the service principal, giving you control over which resources can be accessed and at which level. For security reasons, it's always recommended to use service principals with automated tools rather than allowing them to log in with a user identity. - -To learn more, read [Application and service principal objects in Azure Active Directory][app-register-service-principal] - -Set up: +You'll need to: -- [Application registration][quickstart-register-app] +- [Create an application registration][quickstart-register-app] - [Create a Service Principal with the Azure CLI][service_principal_azure_cli] or [Create an Azure service principal with Azure PowerShell][service_principal_azure_powershell] +To learn more about service principals, see [Application and service principal objects in Azure Active Directory][app-register-service-principal]. + ```ts /** * Authenticate with a client certificate. @@ -232,11 +252,21 @@ function withClientCertificateCredential() { #### Authenticating a user account with device code flow -This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `DeviceCodeCredential`. +This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `DeviceCodeCredential`. The `DeviceCodeCredential` offers a credential that can be used with little to no setup. The user can use the browser of their choice to complete the authentication process. + +To authenticate a user through device code flow, complete the following steps: + +1. Go to Azure Active Directory in Azure portal and find your app registration. +2. Navigate to the **Authentication** section. +3. Under **Advanced settings**, select `yes` on the option `Allow public client flows`. + +You also need to be the administrator of your tenant to grant consent to your application when you log in for the first time. -For more information about how to configure an AAD application for device code flow please refer to [Enable applications for device code flow][device_code_flow]. +If you can't configure the device code flow option on your Active Directory, it may require your app to be multi-tenant. To make your app multi-tenant: -> The `DeviceCodeCredential` offers a credential that can be used with little to no setup - the user is free to use whatever browser they choose to complete the authentication process. +1. Navigate to the **Authentication** panel. +2. Select **Accounts in any organizational directory**. +3. Select **yes** for **Treat application as Public Client**. ```ts /** @@ -259,7 +289,7 @@ function withDeviceCodeCredential() { This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `UsernamePasswordCredential`. The user must **not** have Multi-factor auth turned on. -Apart from user name and password, this credential requires you to know the tenant ID and client ID. To get the client ID, first [register your application][quickstart-register-app] +Apart from user name and password, this credential requires you to know the tenant ID and client ID. To get the client ID, first [register your application][quickstart-register-app]. ```ts /** @@ -278,15 +308,15 @@ function withClientCertificateCredential() { #### Authenticating a user account with auth code flow -This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `AuthorizationCodeCredential` on a web application. This can be useful when you want complete control over the authentication flow or when the `InteractiveBrowserCredential` does not fit your use-case. +This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `AuthorizationCodeCredential` on a Node.js service intended as the back-end for a web application. This can be useful when you want complete control over the authentication flow or when the `InteractiveBrowserCredential` doesn't fit your use case. -First, [register your application][quickstart-register-app] and get your client id, tenant id and redirect URL. +First, [register your application][quickstart-register-app] and get your client ID, tenant ID and redirect URL. -Next, prompt the user to login at the URL documented at [Microsoft identity platform and OAuth 2.0 authorization code flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code). You will need the client id, tenant id, redirect URL, and the scopes your application plans to access. +Next, prompt the user to login at the URL documented at [Microsoft identity platform and OAuth 2.0 authorization code flow](https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code). You'll need the client ID, tenant ID, redirect URL, and the scopes your application plans to access. Then create an API at the redirect URL with the following code to access the Key Vault service. -For a complete example using the authorization code flow in Electron please refer to [our electron sample](https://github.com/Azure/azure-sdk-for-js/blob/main/samples/frameworks/electron/ts/src/authProvider.ts) +For a complete example using the authorization code flow in Electron, please refer to [our electron sample](https://github.com/Azure/azure-sdk-for-js/blob/main/samples/frameworks/electron/ts/src/authProvider.ts) ```ts /** @@ -308,7 +338,7 @@ function withAuthCodeCredential() { This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `AzureCliCredential` on a workstation with Azure CLI installed and signed in. -#### Configure the Azure CLI +##### Configure the Azure CLI Sign in using the [Azure CLI][azure_cli] @@ -353,7 +383,7 @@ function withAzureCliCredential() { This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `AzurePowerShellCredential` on a workstation with Azure PowerShell installed and authenticated. -#### Configure Azure PowerShell +##### Configure Azure PowerShell Sign in using [Azure PowerShell][azure_powershell]: @@ -361,7 +391,7 @@ Sign in using [Azure PowerShell][azure_powershell]: PS> Connect-AzAccount ``` -If the account / service principal has access to multiple tenants (subscriptions), ensure that the `Get-AzContext` cmdlet returns the correct subscription: +If the account/service principal has access to multiple tenants (subscriptions), ensure that the `Get-AzContext` cmdlet returns the correct subscription: ```powershell PS> Get-AzContext @@ -395,7 +425,7 @@ UserId : /** * Authenticate with Azure PowerShell */ -function withAzureCliCredential() { +function withAzurePowerShellCredential() { // Like the Azure CLI Credential, the Azure PowerShell Credential does not accept any // options or parameters, and uses the current user session within the Az.Account PowerShell // module. @@ -407,13 +437,13 @@ function withAzureCliCredential() { #### Authenticating in Azure with managed identity -This examples demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] client library using the `ManagedIdentityCredential` in a virtual machine, app service, function app, cloud shell, or AKS environment on Azure, with system assigned, or user assigned managed identity enabled. +This example demonstrates authenticating the `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] using the `ManagedIdentityCredential` in a virtual machine, App Service, Functions app, Cloud Shell, or AKS environment on Azure, with system-assigned or user-assigned managed identity enabled. -For more information about how to configure your Azure resource for managed identity please refer to [Configure managed identities for Azure resources](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/qs-configure-cli-windows-vm). +For more information about configuring your Azure resource for managed identity, see [Configure managed identities for Azure resources](https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/qs-configure-cli-windows-vm). ```ts /** - * Authenticate with a system assigned managed identity. + * Authenticate with a system-assigned managed identity. */ function withSystemAssignedManagedIdentityCredential() { const credential = new ManagedIdentityCredential(); @@ -422,7 +452,7 @@ function withSystemAssignedManagedIdentityCredential() { } /** - * Authenticate with a user assigned managed identity. + * Authenticate with a user-assigned managed identity. */ function withUserManagedIdentityCredential() { const credential = new ManagedIdentityCredential(""); @@ -433,7 +463,7 @@ function withUserManagedIdentityCredential() { ## Chaining credentials -The `ChainedTokenCredential` class provides the ability to link together multiple credential instances to be tried sequentially when authenticating. The following example demonstrates creating a credential which will attempt to authenticate a `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] using managed identity, and fall back to certificate authentication if a managed identity is unavailable in the current environment. +The `ChainedTokenCredential` class provides the ability to link together multiple credential instances to be tried sequentially when authenticating. The following example demonstrates creating a credential that will attempt to authenticate a `SecretClient` from the [@azure/keyvault-secrets][secrets_client_library] using managed identity and fall back to certificate authentication if a managed identity is unavailable in the current environment. ```ts function withChainedTokenCredential() { @@ -449,7 +479,7 @@ function withChainedTokenCredential() { ### Determine the Azure Authority Host for Azure Stack -In powershell run this command or have your Azure Stack Administrator run this command: +In PowerShell, run this command or have your Azure Stack administrator run this command: ```powershell Get-AzEnvironment -Name @@ -467,8 +497,7 @@ The ActiveDirectory Authority in the output will be your Azure Authority Host ### Determine the Tenant ID for Azure Stack -If the Identity provider of your Azure Stack is Azure Active Directory (Azure AD) then contact your Azure Stack Administrator to find out your tenant ID. -else, if the Identity provider of your Azure Stack is Active Directory Federation Services (AD FS) then your tenant id is `adfs`. +If the Identity provider of your Azure Stack is Azure Active Directory (Azure AD), contact your Azure Stack administrator to find your tenant ID. Otherwise, if the Identity provider of your Azure Stack is Active Directory Federation Services (ADFS), your tenant ID is `adfs`. ### Authentication example @@ -491,13 +520,407 @@ function main() { } ``` +## Advanced Examples + +### Custom Credentials + +The `@azure/identity` library covers a broad range of Azure Active Directory authentication scenarios. However, we understand there are cases in which the credentials provided might not meet the specific needs of your application. Some applications might avoid taking a dependency on the `@azure/identity` package. In such cases, you may want to write your custom credential. + +In this section, we'll examine some such scenarios. + +### Authenticating with a pre-fetched access token + +The [@azure/core-auth][core_auth] package exports a `TokenCredential` interface. The interface is used by the `@azure/identity` package to define a standard public API for all of the Identity credentials we offer. There are cases in which it's convenient to create custom credentials. For example, when a token is pre-fetched, a custom `TokenCredential` can return that token as an `AccessToken` to the Azure SDK clients. + +In this example, `StaticTokenCredential` implements the `TokenCredential` abstraction. It takes a pre-fetched access token in its constructor as an [AccessToken](https://docs.microsoft.com/javascript/api/@azure/core-auth/accesstoken) and returns that from its implementation of `getToken()`. + +**Prerequisites** + +Install the [@azure/core-auth][core_auth] package. + +```ts +import { TokenCredential, AccessToken } from "@azure/core-auth"; + +class StaticTokenCredential implements TokenCredential { + // AccessToken is an object with two properties: + // - A "token" property with a string value. + // - And an "expiresOnTimestamp" property with a numeric unix timestamp as its value. + constructor(private accessToken: AccessToken) {} + async getToken(): Promise { + return this.accessToken; + } +} +``` + +Once the application has defined this credential, it can authenticate Azure SDK clients with a pre-fetched `AccessToken`. The following example shows how an application already using some other mechanism for acquiring tokens (the hypothetical method `getTokenForScope()`) could use the `StaticTokenCredential` to authenticate a `SecretClient` from `@azure/keyvault-secrets`. + +```ts +import { SecretClient } from "@azure/keyvault-secrets"; + +// StaticTokenCredential would be defined before the main() function... + +async function main() { + const accessToken = getTokenForScope("https://vault.azure.net/.default"); + + // In this case, `accessToken` has to contain two properties: + // - A "token" property with a string value. + // - And an "expiresOnTimestamp" property with a numeric unix timestamp as its value. + + const credential = new StaticTokenCredential(accessToken); + + const client = new SecretClient("https://myvault.vault.azure.net/", credential); +} +``` + +When using this custom credential type, it's the caller's responsibility to ensure the token is valid and contains the correct claims needed to authenticate calls from the particular service client. In the preceding case, the token must have the scope `https://vault.azure.net/.default` to authorize calls to Azure Blob Storage. + +### Authenticating with MSAL Directly + +Some applications already use the [@azure/msal-node][msal_node_npm] or [@azure/msal-browser][msal_browser_npm] package to authenticate portions of their application. In these cases, the application might want to use the same to authenticate Azure SDK clients, to take advantage of the token caching the MSAL client application is doing, and preventing unnecessary authentication calls. + +#### Authenticating with the @azure/msal-node Confidential Client + +In this example, the [ConfidentialClientApplicationCredential](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/master/lib/msal-node/docs/initialize-confidential-client-application.md) is constructed with an instance of `ConfidentialClientApplication` it then implements `getToken()` using the `acquireTokenByClientCredential()` method to acquire a token. + +**Prerequisites** + +Install the [@azure/msal-node][msal_node_npm] and [@azure/core-auth][core_auth]. + +> For more information about MSAL for Node.js, see [the README of the `@azure/msal-node` package][msal_node_readme]. +> For more information about working with the Confidential Client of MSAL, see [Initialization of MSAL (Node.js)](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/master/lib/msal-node/docs/initialize-confidential-client-application.md). + +```ts +import { TokenCredential, AccessToken } from "@azure/core-auth"; +import * as msalNode from "@azure/msal-node"; + +class ConfidentialClientCredential implements TokenCredential { + constructor(private confidentialApp: msalNode.ConfidentialClientApplication) {} + async getToken(scopes: string | string[]): Promise { + const result = await this.confidentialApp.acquireTokenByClientCredential({ + scopes: Array.isArray(scopes) ? scopes : [scopes] + }); + return { + token: result.accessToken, + expiresOnTimestamp: result.expiresOn.getTime() + }; + } +} +``` + +Users could then use the `ConfidentialClientApplicationCredential` to authenticate a `SecretClient` from `@azure/keyvault-secrets` with an MSAL `ConfidentialClientApplication`: + +```ts +import { SecretClient } from "@azure/keyvault-secrets"; +import * as msalNode from "@azure/msal-node"; + +async function main() { + const confidentialClient = new msalNode.ConfidentialClientApplication({ + // MSAL Configuration + }); + + const client = new SecretClient( + "https://myvault.vault.azure.net/", + new ConfidentialClientCredential(confidentialClient) + ); +} +``` + +#### Authenticating with the @azure/msal-node On Behalf Of Flow + +Currently, the `@azure/identity` library doesn't provide a credential type for clients which need to authenticate via the [On Behalf of Flow](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/master/lib/msal-common/docs/request.md#on-behalf-of-flow). While we may add support for this feature in the future, users currently requiring this will have to implement their own `TokenCredential` class. + +In this example, the `OnBehalfOfCredential` accepts a client ID, client secret, and a user's access token. It then creates an instance of `ConfidentialClientApplication` from MSAL to obtain an OBO token that can authenticate client requests. + +**Prerequisites** + +Install the [@azure/msal-node][msal_node_npm] and [@azure/core-auth][core_auth]. + +> For more information about MSAL for Node.js, see [the README of the `@azure/msal-node` package][msal_node_readme]. +> For more information about working with the Confidential Client of MSAL, see [Initialization of MSAL (Node.js)](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/master/lib/msal-node/docs/initialize-confidential-client-application.md). +> For more information about working with the On Behalf Flow with MSAL, see [On Behalf of Flow](https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/master/lib/msal-common/docs/request.md#on-behalf-of-flow). + +```ts +import { TokenCredential, AccessToken } from "@azure/core-auth"; +import * as msalNode from "@azure/msal-node"; + +class OnBehalfOfCredential implements TokenCredential { + private confidentialApp: msalNode.ConfidentialClientApplication; + + constructor ( + private clientId: string, + private clientSecret: string, + private userAccessToken: string + ) { + this.confidentialApp = new msalNode.ConfidentialClientApplication({ + auth: { + clientId, + clientSecret + } + }); + } + async getToken(scopes: string | string[]): Promise { + const result = await this.confidentialApp.acquireTokenOnBehalfOf({ + scopes: Array.isArray(scopes) ? scopes : [scopes], + oboAssertion: this.userAccessToken + }); + return { + token: result.accessToken, + expiresOnTimestamp: result.expiresOn.getTime() + }; + } +} +``` + +The following example shows an how the `OnBehalfOfCredential` could be used to authenticate a `SecretClient`: + +```ts +import { SecretClient } from "@azure/keyvault-secrets"; + +async function main() { + const oboCredential = new OnBehalfOfCredential(clientId, clientSecret, userAccessToken); + + const client = new SecretClient("https://myvault.vault.azure.net/", oboCredential); +} +``` + +#### Authenticating with the @azure/msal-browser Public Client + +While `@azure/identity` provides some browser support, for users that need the complete feature set offered by `@azure/msal-browser`, it's possible to implement a `TokenCredential` on top of MSAL's public API for the browsers. + +For this example, you'll define a `BrowserCredential` class with the following methods: + +- `getToken` — Will use the Silent Authentication flow, retrieving the account from memory to prevent unnecessary redirections. +- `prepare` — Will try either to check if the account has previously authenticated or to parse the redirection URI values if present. +- `hasAuthenticated` — Can be used to determine if the authentication has taken place. +- `loginRedirect` — If called, this method triggers the authentication via redirection. + +**Prerequisites** + +Install the [@azure/msal-browser][msal_browser_npm] and [@azure/core-auth][core_auth]. + +> For more information about MSAL for browsers, see [the README of the `@azure/msal-browser` package][msal_browser_readme]. + +```ts +import { TokenCredential, AccessToken } from "@azure/core-auth"; +import * as msalBrowser from "@azure/msal-browser"; + +class BrowserCredential implements TokenCredential { + private publicApp: msalBrowser.PublicClientApplication; + private hasAuthenticated: boolean = false; + + constructor(clientId, redirectUri) { + this.publicApp = new msalBrowser.PublicClientApplication({ + auth: { + clientId, + redirectUri + } + }); + } + + // Either confirm the account already exists in memory, or tries to parse the redirect URI values. + async prepare(): Promise { + try { + if (await this.publicApp.getActiveAccount()) { + this.hasAuthenticated = true; + return; + } + await this.publicApp.handleRedirectPromise(); + this.hasAuthenticated = true; + } catch(e) { + console.error("BrowserCredential prepare() failed", e); + } + } + + // Should be true if prepare() was successful. + isAuthenticated(): boolean { + return this.hasAuthenticated; + } + + // If called, triggers authentication via redirection. + async loginRedirect(scopes: string | string[]): Promise { + const loginRequest = { + scopes: Array.isArray(scopes) ? scopes : [scopes] + }; + await this.app.loginRedirect(loginRequest); + } + + // Tries to retrieve the token without triggering a redirection. + async getToken(scopes: string | string[]): Promise { + if (!this.hasAuthenticated) { + throw new Error("Authentication required"); + } + + const parameters: msalBrowser.SilentRequest = { + account: await this.publicApp.getActiveAccount(), + scopes + }; + + const result = await this.publicApp.acquireTokenSilent(parameters); + return { + token: result.accessToken, + expiresOnTimestamp: result.expiresOn.getTime() + }; + } +} +``` + +The following example shows how the `BrowserCredential` could be used to authenticate a `ServiceBusClient`. For this example to work, the redirect URI configured in the AAD application should point to the same page that runs this code originally. For example, `http://localhost:80`. + +```ts +import { ServiceBusClient } from "@azure/service-bus"; + +async function main() { + const browserCredential = new BrowserCredential(clientId, location.origin); + + await browserCredential.prepare(); + + if (!browserCredential.isAuthenticated()) { + await browserCredential.loginRedirect("https://servicebus.azure.net/.default"); + } + + const client = new ServiceBusClient(serviceBusEndpoint, browserCredential); +} +``` + +### Authenticating with Key Vault Certificates + +Azure Key Vault supports creating secure certificates that can be used to authenticate Azure SDK clients. + +There are different ways to create Key Vault certificates. For example, through the Azure CLI: [Quickstart: Set and retrieve a certificate from Azure Key Vault using Azure CLI](https://docs.microsoft.com/azure/key-vault/certificates/quick-create-cli). + +Once you have a certificate, you may export the certificate with the Azure CLI following the steps at [Export certificates from Azure Key Vault](https://docs.microsoft.com/azure/key-vault/certificates/how-to-export-certificate?tabs=azure-cli). + +You can also export your certificate through the Azure portal. Navigate to your Key Vault resource, go to a specific certificate, then download the certificate in PFX/PEM format. + +Once you have a Key Vault certificate downloaded, go to Azure Active Directory. Find the Enterprise app you want to authenticate with, go to **Certificates & secrets**, and upload the certificate. + +After that, you can authenticate by pointing the `@azure/identity`'s `ClientCertificateCredential` to the PEM certificate's path, as follows: + +```ts +const credential = new ClientCertificateCredential( + "", + "", + "" +); +``` + +### Rolling Certificates + +Long-running applications may need to roll certificates during process execution. At the moment, the `ClientCertificateCredential` doesn't support certificate rotation. The credential treats the certificate provided as immutable. Therefore, clients constructed with a `ClientCertificateCredential` using a particular certificate would fail to authenticate requests after that certificate rolls and the original is no longer valid. + +However, if an application wants to roll this certificate without creating new service clients, it can accomplish this by creating its own `TokenCredential` implementation, which wraps the `ClientCertificateCredential`. Implementing this custom `TokenCredential` would somewhat depend on how the application handles certificate rotation. + +#### Explicit rotation + +If the application gets notified of certificate rotations and can directly respond, it might choose to wrap the `ClientCertificateCredential` in a custom credential which provides a means for rotating the certificate. + +**Prerequisites** + +Install the [@azure/core-auth][core_auth] package. + +```ts +import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth"; +import { ClientCertificateCredential } from "@azure/identity"; + +class RotatableCertificateCredential implements TokenCredential { + private readonly tenantId: string; + private readonly clientId: string; + private credential: ClientCertificateCredential; + + constructor(tenantId: string, clientId: string, PEMCertificatePath: string) { + this.tenantId = tenantId; + this.clientId = clientId; + this.credential = new ClientCertificateCredential(tenantId, clientId, PEMCertificatePath); + } + + async getToken(scopes: string | string[], options?: GetTokenOptions): Promise { + return this.credential.getToken(scopes, options); + } + + rotateCertificate(PEMCertificatePath: string) { + this.credential = new ClientCertificateCredential( + this.tenantId, + this.clientId, + PEMCertificatePath + ); + } +} +``` + +The preceding example shows a custom credential type `RotatableCertificateCredential`, which provides a `rotateCertificate`. The implementation internally relies on an instance of `ClientCertificateCredential`. `rotateCertificate` replaces this instance with a new one using the new certificate path. + +#### Implicit rotation + +Some applications might want to respond to certificate rotations that are external to the application. For instance, a separate process rotates the certificate by updating it on disk. Here the application creates a custom credential that checks for certificate updates when tokens are requested. + +```ts +import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth"; +import { ClientCertificateCredential } from "@azure/identity"; +import * as fs from "fs"; + +class RotatingCertificateCredential implements TokenCredential { + private readonly tenantId: string; + private readonly clientId: string; + private readonly certificatePath: string; + private promise: Promise | null = null; + private credential: ClientCertificateCredential; + private lastModified: number = 0; + + constructor(tenantId: string, clientId: string, certificatePath: string) { + this.tenantId = tenantId; + this.clientId = clientId; + this.certificatePath = certificatePath; + + this.refreshCertificate(); + } + + async getToken(scopes: string | string[], options?: GetTokenOptions): Promise { + await this.refreshCertificate(); + + return this.credential.getToken(scopes, options); + } + + refreshCertificate(): Promise { + if (this.promise) { + return this.promise; + } + return new Promise((resolve, reject) => { + fs.stat(this.certificatePath, (err, stats) => { + if (err) { + reject(err); + } else { + if (this.lastModified < stats.mtime.getTime()) { + this.lastModified = stats.mtime.getTime(); + this.credential = new ClientCertificateCredential( + this.tenantId, + this.clientId, + this.certificatePath + ); + this.promise = null; + } + resolve(); + } + }); + }); + } +} +``` + +In this example, the custom credential type `RotatingCertificateCredential` again uses a `ClientCertificateCredential` instance to retrieve tokens. However, in this case, it will attempt to refresh the certificate before obtaining the token. The method `RefreshCertificate` will query to see if the certificate has changed. If so, it will replace `this.credential` with a new instance of the certificate credential using the same certificate path. + [azure_cli]: https://docs.microsoft.com/cli/azure [secrets_client_library]: https://www.npmjs.com/package/@azure/keyvault-secrets +[service_bus_client_library]: https://www.npmjs.com/package/@azure/service-bus [azure_managed_identities]: https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview [service_principal_azure_cli]: https://docs.microsoft.com/cli/azure/create-an-azure-service-principal-azure-cli [device_code_flow]: https://github.com/Azure/azure-sdk-for-java/wiki/Set-up-Your-Environment-for-Authentication#enable-applications-for-device-code-flow [quickstart-register-app]: https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app [app-register-service-principal]: https://docs.microsoft.com/azure/active-directory/develop/app-objects-and-service-principals [service_principal_azure_powershell]: https://docs.microsoft.com/powershell/azure/create-azure-service-principal-azureps +[msal_node_readme]: https://github.com/sadasant/microsoft-authentication-library-for-js/tree/master/lib/msal-node +[msal_node_npm]: https://www.npmjs.com/package/@azure/msal-node +[msal_browser_readme]: https://github.com/sadasant/microsoft-authentication-library-for-js/tree/master/lib/msal-browser +[msal_browser_npm]: https://www.npmjs.com/package/@azure/msal-browser +[core_auth]: https://www.npmjs.com/package/@azure/core-auth From aa8db15f92d3e935d69bb1f178f95e5dd54988e9 Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Thu, 24 Jun 2021 14:23:25 -0700 Subject: [PATCH 049/134] Tweak workspace settings for VS Code startup perf (#15956) This greatly improved my first open experience on my laptop. The only tradeoff is `node_modules` folders won't appear in the file tree of VS Code, but I think this is a pretty uncommon place to browse into manually. --- dataplane.code-workspace | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dataplane.code-workspace b/dataplane.code-workspace index d30b5915fc29..8ffbd11b10f8 100644 --- a/dataplane.code-workspace +++ b/dataplane.code-workspace @@ -298,7 +298,10 @@ "**/*.d.ts": true, "**/test-browser/*": true }, - "typescript.tsdk": "core-http/node_modules/typescript/lib" + "typescript.tsdk": "core-http/node_modules/typescript/lib", + "files.exclude": { + "**/node_modules": true + } }, "extensions": { "recommendations": [ From 4ff4cef516d31ab10b36bed648c055622712a5e1 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 24 Jun 2021 14:42:15 -0700 Subject: [PATCH 050/134] Add Ubuntu 20 to local dns bypass template (#15951) Co-authored-by: Praveen Kuttappan --- eng/common/pipelines/templates/steps/bypass-local-dns.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/bypass-local-dns.yml b/eng/common/pipelines/templates/steps/bypass-local-dns.yml index c0608dbf64d7..8b4887870f7d 100644 --- a/eng/common/pipelines/templates/steps/bypass-local-dns.yml +++ b/eng/common/pipelines/templates/steps/bypass-local-dns.yml @@ -8,7 +8,9 @@ steps: succeededOrFailed(), or( eq(variables['OSVmImage'], 'ubuntu-18.04'), - eq(variables['OSVmImage'], 'MMSUbuntu18.04') + eq(variables['OSVmImage'], 'ubuntu-20.04'), + eq(variables['OSVmImage'], 'MMSUbuntu18.04'), + eq(variables['OSVmImage'], 'MMSUbuntu20.04') ), eq(variables['Container'], '') ) From 8afa5cf9ebb7307e4460fd1e1e9577a961fcacf4 Mon Sep 17 00:00:00 2001 From: KarishmaGhiya Date: Thu, 24 Jun 2021 15:07:39 -0700 Subject: [PATCH 051/134] [MetricsAdvisor] Generated code and latest swagger (#15748) --- .../ai-metrics-advisor/README.md | 16 +- .../recording_creates_eventhubs_data_feed.js | 38 +- .../recording_deletes_eventhubs_data_feed.js | 32 +- .../recording_creates_eventhubs_data_feed.js | 28 +- .../recording_deletes_eventhubs_data_feed.js | 22 +- .../review/ai-metrics-advisor.api.md | 312 +++++++------ .../samples-dev/alertingConfig.ts | 7 +- .../samples-dev/dataFeed.ts | 3 +- .../samples-dev/dataSourceCredential.ts | 51 +- .../samples-dev/detectionConfig.ts | 11 +- .../ai-metrics-advisor/samples-dev/hooks.ts | 3 +- .../samples-dev/incidentsAndAlerts.ts | 35 +- .../samples-dev/metricFeedback.ts | 8 +- .../samples-dev/quickstart.ts | 2 +- .../samples-dev/seriesData.ts | 14 +- .../samples/v1/javascript/alertingConfig.js | 7 +- .../samples/v1/javascript/dataFeed.js | 3 +- .../v1/javascript/dataSourceCredential.js | 39 +- .../samples/v1/javascript/detectionConfig.js | 11 +- .../samples/v1/javascript/hooks.js | 3 +- .../v1/javascript/incidentsAndAlerts.js | 35 +- .../samples/v1/javascript/metricFeedback.js | 8 +- .../samples/v1/javascript/package.json | 2 +- .../samples/v1/javascript/quickstart.js | 2 +- .../samples/v1/javascript/sample.env | 7 + .../samples/v1/javascript/seriesData.js | 14 +- .../samples/v1/typescript/package.json | 2 +- .../samples/v1/typescript/sample.env | 7 + .../v1/typescript/src/alertingConfig.ts | 7 +- .../samples/v1/typescript/src/dataFeed.ts | 3 +- .../v1/typescript/src/dataSourceCredential.ts | 51 +- .../v1/typescript/src/detectionConfig.ts | 11 +- .../samples/v1/typescript/src/hooks.ts | 3 +- .../v1/typescript/src/incidentsAndAlerts.ts | 35 +- .../v1/typescript/src/metricFeedback.ts | 8 +- .../samples/v1/typescript/src/quickstart.ts | 2 +- .../samples/v1/typescript/src/seriesData.ts | 14 +- .../src/generated/models/index.ts | 29 +- .../src/generated/models/mappers.ts | 5 - .../src/generated/models/parameters.ts | 1 - .../src/metricsAdvisorAdministrationClient.ts | 132 +++--- .../src/metricsAdvisorClient.ts | 434 ++++++++---------- .../ai-metrics-advisor/src/models.ts | 151 +++--- .../ai-metrics-advisor/src/transforms.ts | 98 ++-- .../ai-metrics-advisor/swagger/README.md | 52 ++- .../test/internal/transforms.spec.ts | 2 - .../test/public/adminclient.spec.ts | 26 +- .../test/public/advisorclient.spec.ts | 76 +-- .../test/public/dataSourceCred.spec.ts | 135 +++--- .../test/public/datafeed.spec.ts | 64 ++- .../test/public/hookTests.spec.ts | 6 +- 51 files changed, 1054 insertions(+), 1013 deletions(-) diff --git a/sdk/metricsadvisor/ai-metrics-advisor/README.md b/sdk/metricsadvisor/ai-metrics-advisor/README.md index fffbc886fb05..48c691adcbcb 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/README.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/README.md @@ -113,9 +113,9 @@ const adminClient = new MetricsAdvisorAdministrationClient("", credent `MetricsAdvisorAdministrationClient` is the interface responsible for managing entities in the Metrics Advisor resources, such as managing data feeds, anomaly detection configurations, anomaly alerting configurations. -### DataFeed +### Data Feed -A `DataFeed` is what Metrics Advisor ingests from your data source, such as Cosmos DB or a SQL server. A data feed contains rows of: +A data feed is what Metrics Advisor ingests from your data source, such as Cosmos DB or a SQL server. A data feed contains rows of: - timestamps - zero or more dimensions @@ -123,7 +123,7 @@ A `DataFeed` is what Metrics Advisor ingests from your data source, such as Cosm ### Metric -A `Metric` is a quantifiable measure that is used to monitor and assess the status of a specific business process. It can be a combination of multiple time series values divided into dimensions. For example a web health metric might contain dimensions for user count and the en-us market. +A metric is a quantifiable measure that is used to monitor and assess the status of a specific business process. It can be a combination of multiple time series values divided into dimensions. For example a web health metric might contain dimensions for user count and the en-us market. ### AnomalyDetectionConfiguration @@ -131,15 +131,15 @@ A `Metric` is a quantifiable measure that is used to monitor and assess the stat ### Anomaly & Incident -After a detection configuration is applied to metrics, `Incident`s are generated whenever any series within it has an `Anomaly`. +After a detection configuration is applied to metrics, `AnomalyIncident`s are generated whenever any series within it has an `DataPointAnomaly`. ### Alert -You can configure which anomalies should trigger an `Alert`. You can set multiple alerts with different settings. For example, you could create an alert for anomalies with lower business impact, and another for more important alerts. +You can configure which anomalies should trigger an `AnomalyAlert`. You can set multiple alerts with different settings. For example, you could create an alert for anomalies with lower business impact, and another for more important alerts. ### Hook -Metrics Advisor lets you create and subscribe to real-time alerts. These alerts are sent over the internet, using a `Hook`. +Metrics Advisor lets you create and subscribe to real-time alerts. These alerts are sent over the internet, using a notification hook. Please refer to [the Metrics Advisory Glossary][metrics_advisor_glossary] documentation page for a comprehensive list of concepts. @@ -462,10 +462,10 @@ async function queryAnomaliesByAlert(client, alert) { console.log( `Listing anomalies for alert configuration '${alert.alertConfigId}' and alert '${alert.id}'` ); - const iterator = client.listAnomalies(alert); + const iterator = client.listAnomaliesForAlert(alert); for await (const anomaly of iterator) { console.log( - ` Anomaly ${anomaly.severity} ${anomaly.status} ${anomaly.seriesKey.dimension} ${anomaly.timestamp}` + ` Anomaly ${anomaly.severity} ${anomaly.status} ${anomaly.seriesKey} ${anomaly.timestamp}` ); } } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js index 02971c33ef58..99351b5eda14 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js @@ -1,11 +1,11 @@ let nock = require('nock'); -module.exports.hash = "20a42b7c23b773a1da152bf8cfd1872b"; +module.exports.hash = "b305b062177574b168150bc47bb53ffe"; -module.exports.testInfo = {"uniqueName":{"js-test-datafeed-":"js-test-datafeed-162286538972802836","js-test-appInsightsFeed-":"js-test-appInsightsFeed-162286538972803864","js-test-sqlServerFeed-":"js-test-sqlServerFeed-162286538972807760","js-test-cosmosFeed-":"js-test-cosmosFeed-162286538972800952","js-test-dataExplorerFeed-":"js-test-dataExplorerFeed-162286538972805442","js-test-tableFeed-":"js-test-tableFeed-162286538972800856","js-test-httpRequestFeed-":"js-test-httpRequestFeed-162286538972809899","js-test-logAnalyticsFeed-":"js-test-logAnalyticsFeed-162286538972803497","js-test-influxdbFeed-":"js-test-influxdbFeed-162286538972805329","js-test-mongoDbFeed-":"js-test-mongoDbFeed-162286538972808553","js-test-mySqlFeed-":"js-test-mySqlFeed-162286538972808287","js-test-postgreSqlFeed-":"js-test-postgreSqlFeed-162286538972809007","js-test-dataLakeGenFeed-":"js-test-dataLakeGenFeed-162286538972803708"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"js-test-datafeed-":"js-test-datafeed-162456611703607360","js-test-appInsightsFeed-":"js-test-appInsightsFeed-162456611703602601","js-test-sqlServerFeed-":"js-test-sqlServerFeed-162456611703605931","js-test-cosmosFeed-":"js-test-cosmosFeed-162456611703606158","js-test-dataExplorerFeed-":"js-test-dataExplorerFeed-162456611703605594","js-test-tableFeed-":"js-test-tableFeed-162456611703601948","js-test-httpRequestFeed-":"js-test-httpRequestFeed-162456611703601598","js-test-logAnalyticsFeed-":"js-test-logAnalyticsFeed-162456611703605729","js-test-influxdbFeed-":"js-test-influxdbFeed-162456611703608797","js-test-mongoDbFeed-":"js-test-mongoDbFeed-162456611703608062","js-test-mySqlFeed-":"js-test-mySqlFeed-162456611703601892","js-test-postgreSqlFeed-":"js-test-postgreSqlFeed-162456611703605513","js-test-dataLakeGenFeed-":"js-test-dataLakeGenFeed-162456611703602792"},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F") + .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -22,59 +22,59 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8555f162-6194-490d-98e9-74574bef5400', + '0825421b-0412-4892-9d10-18085d133a00', 'x-ms-ests-server', - '2.1.11787.14 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AmLQSFzZ3NtIncXgUaZsx9HGLH8mAQAAAO3sTNgOAAAA; expires=Mon, 05-Jul-2021 03:56:30 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ap4NeeLKqOpIlcTRHUTrwPfGLH8mAQAAAGXgZtgOAAAA; expires=Sat, 24-Jul-2021 20:21:57 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Sat, 05 Jun 2021 03:56:30 GMT', + 'Thu, 24 Jun 2021 20:21:56 GMT', 'Content-Length', '1331' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureEventHubs","dataFeedName":"js-test-httpRequestFeed-162286538972809899","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"connectionString":"eventhub-connection-string","consumerGroup":"consumer-group"}}) + .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureEventHubs","dataFeedName":"js-test-httpRequestFeed-162456611703601598","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"connectionString":"eventhub-connection-string","consumerGroup":"consumer-group"}}) .reply(201, "", [ 'Content-Length', '0', 'Location', - 'https://endpoint/metricsadvisor/v1.0/dataFeeds/d14eb6dc-6761-491d-bf79-d3279080f70d', + 'https://endpoint/metricsadvisor/v1.0/dataFeeds/1409ab03-d455-465e-9df0-ef5db2cdb961', 'x-request-id', - '5720d423-b94c-4644-a50a-cf33d5498f8f', + 'bf8ce3d4-e4ca-4825-9222-40ab47422d30', 'x-envoy-upstream-service-time', - '6108', + '7340', 'apim-request-id', - '5720d423-b94c-4644-a50a-cf33d5498f8f', + 'bf8ce3d4-e4ca-4825-9222-40ab47422d30', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Sat, 05 Jun 2021 03:56:36 GMT' + 'Thu, 24 Jun 2021 20:22:04 GMT' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .get('/metricsadvisor/v1.0/dataFeeds/d14eb6dc-6761-491d-bf79-d3279080f70d') - .reply(200, {"dataFeedId":"d14eb6dc-6761-491d-bf79-d3279080f70d","dataFeedName":"js-test-httpRequestFeed-162286538972809899","metrics":[{"metricId":"da49548d-fb10-44ef-8f9f-472b7e257bbe","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"cbea5d2b-c4af-4d97-bae0-6b21d92dfb67","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2021-06-05T00:00:00Z","dataSourceType":"AzureEventHubs","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["azure_client_id"],"viewers":[],"creator":"azure_client_id","status":"Active","createdTime":"2021-06-05T03:56:36Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"consumerGroup":"consumer-group"},"authenticationType":"Basic"}, [ + .get('/metricsadvisor/v1.0/dataFeeds/1409ab03-d455-465e-9df0-ef5db2cdb961') + .reply(200, {"dataFeedId":"1409ab03-d455-465e-9df0-ef5db2cdb961","dataFeedName":"js-test-httpRequestFeed-162456611703601598","metrics":[{"metricId":"5b7c65ed-5f79-4281-a53d-631edc294f9a","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"6e9f6865-afa0-4524-831d-ed620e6fa5a9","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2021-06-24T00:00:00Z","dataSourceType":"AzureEventHubs","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["azure_client_id"],"viewers":[],"creator":"azure_client_id","status":"Active","createdTime":"2021-06-24T20:22:04Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"consumerGroup":"consumer-group"},"authenticationType":"Basic"}, [ 'Content-Length', '1263', 'Content-Type', 'application/json; charset=utf-8', 'x-request-id', - 'd55c046c-e32c-43ea-a89e-77cf47bb875e', + '9af44072-c58d-46ca-86a7-bab9d1e12f52', 'x-envoy-upstream-service-time', - '183', + '5334', 'apim-request-id', - 'd55c046c-e32c-43ea-a89e-77cf47bb875e', + '9af44072-c58d-46ca-86a7-bab9d1e12f52', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Sat, 05 Jun 2021 03:56:36 GMT' + 'Thu, 24 Jun 2021 20:22:10 GMT' ]); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js index b9f3a1f971dc..4dc578def2db 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js @@ -1,11 +1,11 @@ let nock = require('nock'); -module.exports.hash = "8db789c5a43bf8d7e9c8ff57f96724c2"; +module.exports.hash = "3b26ef694bf46025b536723153ef1756"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F") + .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -22,57 +22,57 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b1e3b71e-7805-4038-a226-cc8e7c6f6500', + 'e26d6036-8ed7-4299-8775-58c73aa43600', 'x-ms-ests-server', - '2.1.11787.14 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AmLQSFzZ3NtIncXgUaZsx9HGLH8mAgAAAO3sTNgOAAAA; expires=Mon, 05-Jul-2021 03:56:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=Ap4NeeLKqOpIlcTRHUTrwPfGLH8mAgAAAGXgZtgOAAAA; expires=Sat, 24-Jul-2021 20:22:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Sat, 05 Jun 2021 03:56:37 GMT', + 'Thu, 24 Jun 2021 20:22:10 GMT', 'Content-Length', '1331' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .delete('/metricsadvisor/v1.0/dataFeeds/d14eb6dc-6761-491d-bf79-d3279080f70d') + .delete('/metricsadvisor/v1.0/dataFeeds/1409ab03-d455-465e-9df0-ef5db2cdb961') .reply(204, "", [ 'Content-Length', '0', 'x-request-id', - '293c7964-b109-4123-86cc-ea20f39e3ef4', + '4666cc14-a826-4061-947a-085483e932ac', 'x-envoy-upstream-service-time', - '5590', + '5984', 'apim-request-id', - '293c7964-b109-4123-86cc-ea20f39e3ef4', + '4666cc14-a826-4061-947a-085483e932ac', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Sat, 05 Jun 2021 03:56:42 GMT' + 'Thu, 24 Jun 2021 20:22:16 GMT' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .get('/metricsadvisor/v1.0/dataFeeds/d14eb6dc-6761-491d-bf79-d3279080f70d') + .get('/metricsadvisor/v1.0/dataFeeds/1409ab03-d455-465e-9df0-ef5db2cdb961') .reply(404, {"code":"404 NOT_FOUND","message":"datafeedId is invalid."}, [ 'Content-Length', '59', 'Content-Type', 'application/json; charset=utf-8', 'x-request-id', - 'fee8363d-582a-4c16-9f94-fd67d7db5423', + 'c3d92522-51c4-4c5b-8b5a-30f3808a3793', 'x-envoy-upstream-service-time', - '5138', + '5314', 'apim-request-id', - 'fee8363d-582a-4c16-9f94-fd67d7db5423', + 'c3d92522-51c4-4c5b-8b5a-30f3808a3793', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Sat, 05 Jun 2021 03:56:47 GMT' + 'Thu, 24 Jun 2021 20:22:22 GMT' ]); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js index da9fedd3e8a7..c2d1cf90604e 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js @@ -1,47 +1,47 @@ let nock = require('nock'); -module.exports.hash = "20a42b7c23b773a1da152bf8cfd1872b"; +module.exports.hash = "b305b062177574b168150bc47bb53ffe"; -module.exports.testInfo = {"uniqueName":{"js-test-datafeed-":"js-test-datafeed-162286540825106897","js-test-appInsightsFeed-":"js-test-appInsightsFeed-162286540825103508","js-test-sqlServerFeed-":"js-test-sqlServerFeed-162286540825102841","js-test-cosmosFeed-":"js-test-cosmosFeed-162286540825109497","js-test-dataExplorerFeed-":"js-test-dataExplorerFeed-162286540825100498","js-test-tableFeed-":"js-test-tableFeed-162286540825106607","js-test-httpRequestFeed-":"js-test-httpRequestFeed-162286540825107845","js-test-logAnalyticsFeed-":"js-test-logAnalyticsFeed-162286540825103590","js-test-influxdbFeed-":"js-test-influxdbFeed-162286540825109243","js-test-mongoDbFeed-":"js-test-mongoDbFeed-162286540825106090","js-test-mySqlFeed-":"js-test-mySqlFeed-162286540825102842","js-test-postgreSqlFeed-":"js-test-postgreSqlFeed-162286540825106280","js-test-dataLakeGenFeed-":"js-test-dataLakeGenFeed-162286540825100711"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"js-test-datafeed-":"js-test-datafeed-162456614300300139","js-test-appInsightsFeed-":"js-test-appInsightsFeed-162456614300408925","js-test-sqlServerFeed-":"js-test-sqlServerFeed-162456614300402561","js-test-cosmosFeed-":"js-test-cosmosFeed-162456614300400836","js-test-dataExplorerFeed-":"js-test-dataExplorerFeed-162456614300402514","js-test-tableFeed-":"js-test-tableFeed-162456614300409086","js-test-httpRequestFeed-":"js-test-httpRequestFeed-162456614300408284","js-test-logAnalyticsFeed-":"js-test-logAnalyticsFeed-162456614300401025","js-test-influxdbFeed-":"js-test-influxdbFeed-162456614300401958","js-test-mongoDbFeed-":"js-test-mongoDbFeed-162456614300402402","js-test-mySqlFeed-":"js-test-mySqlFeed-162456614300400971","js-test-postgreSqlFeed-":"js-test-postgreSqlFeed-162456614300408445","js-test-dataLakeGenFeed-":"js-test-dataLakeGenFeed-162456614300400179"},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) - .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureEventHubs","dataFeedName":"js-test-httpRequestFeed-162286540825107845","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"connectionString":"eventhub-connection-string","consumerGroup":"consumer-group"}}) + .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureEventHubs","dataFeedName":"js-test-httpRequestFeed-162456614300408284","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"connectionString":"eventhub-connection-string","consumerGroup":"consumer-group"}}) .reply(201, "", [ 'Content-Length', '0', 'Location', - 'https://endpoint/metricsadvisor/v1.0/dataFeeds/f6e5a8cb-398a-4d5a-89e7-56d1307d72c5', + 'https://endpoint/metricsadvisor/v1.0/dataFeeds/49afdaec-205b-4211-8020-56a7458063c2', 'x-request-id', - '386f4c2e-85ca-46e5-a265-388c1387d4de', + 'fb26ee74-d492-4354-ae45-99e8253fdfb7', 'x-envoy-upstream-service-time', - '749', + '2233', 'apim-request-id', - '386f4c2e-85ca-46e5-a265-388c1387d4de', + 'fb26ee74-d492-4354-ae45-99e8253fdfb7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Sat, 05 Jun 2021 03:56:48 GMT' + 'Thu, 24 Jun 2021 20:22:24 GMT' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .get('/metricsadvisor/v1.0/dataFeeds/f6e5a8cb-398a-4d5a-89e7-56d1307d72c5') - .reply(200, {"dataFeedId":"f6e5a8cb-398a-4d5a-89e7-56d1307d72c5","dataFeedName":"js-test-httpRequestFeed-162286540825107845","metrics":[{"metricId":"15512319-f95c-48ae-aeca-f775497fbc35","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"395ca396-b5d4-45a3-96fa-d0adc40873f8","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2021-06-05T00:00:00Z","dataSourceType":"AzureEventHubs","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaghiya@microsoft.com"],"viewers":[],"creator":"kaghiya@microsoft.com","status":"Active","createdTime":"2021-06-05T03:56:48Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"consumerGroup":"consumer-group"},"authenticationType":"Basic"}, [ + .get('/metricsadvisor/v1.0/dataFeeds/49afdaec-205b-4211-8020-56a7458063c2') + .reply(200, {"dataFeedId":"49afdaec-205b-4211-8020-56a7458063c2","dataFeedName":"js-test-httpRequestFeed-162456614300408284","metrics":[{"metricId":"f0d89260-9d15-438f-865c-877a65558832","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"05627ee3-091c-4d8c-8263-819e6d689193","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2021-06-24T00:00:00Z","dataSourceType":"AzureEventHubs","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaghiya@microsoft.com"],"viewers":[],"creator":"kaghiya@microsoft.com","status":"Active","createdTime":"2021-06-24T20:22:24Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"consumerGroup":"consumer-group"},"authenticationType":"Basic"}, [ 'Content-Length', '1233', 'Content-Type', 'application/json; charset=utf-8', 'x-request-id', - 'a44fa8ca-54d1-48e6-b609-a38894c2d09d', + 'b8689547-dcd2-4a12-8cfd-7ebf3cf2e8d5', 'x-envoy-upstream-service-time', - '175', + '500', 'apim-request-id', - 'a44fa8ca-54d1-48e6-b609-a38894c2d09d', + 'b8689547-dcd2-4a12-8cfd-7ebf3cf2e8d5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Sat, 05 Jun 2021 03:56:48 GMT' + 'Thu, 24 Jun 2021 20:22:25 GMT' ]); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js index 48650d46562b..ce36671aa4ea 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js @@ -1,45 +1,45 @@ let nock = require('nock'); -module.exports.hash = "8db789c5a43bf8d7e9c8ff57f96724c2"; +module.exports.hash = "3b26ef694bf46025b536723153ef1756"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) - .delete('/metricsadvisor/v1.0/dataFeeds/f6e5a8cb-398a-4d5a-89e7-56d1307d72c5') + .delete('/metricsadvisor/v1.0/dataFeeds/49afdaec-205b-4211-8020-56a7458063c2') .reply(204, "", [ 'Content-Length', '0', 'x-request-id', - 'bdbfaac7-2008-4713-866a-abbb8a6787c2', + '24dfcbc6-ba4c-45b4-9f19-98c141b9c83a', 'x-envoy-upstream-service-time', - '431', + '6082', 'apim-request-id', - 'bdbfaac7-2008-4713-866a-abbb8a6787c2', + '24dfcbc6-ba4c-45b4-9f19-98c141b9c83a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Sat, 05 Jun 2021 03:56:48 GMT' + 'Thu, 24 Jun 2021 20:22:31 GMT' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .get('/metricsadvisor/v1.0/dataFeeds/f6e5a8cb-398a-4d5a-89e7-56d1307d72c5') + .get('/metricsadvisor/v1.0/dataFeeds/49afdaec-205b-4211-8020-56a7458063c2') .reply(404, {"code":"404 NOT_FOUND","message":"datafeedId is invalid."}, [ 'Content-Length', '59', 'Content-Type', 'application/json; charset=utf-8', 'x-request-id', - 'fce9dd4e-f02f-47b4-a626-c5afd5251b74', + 'b53ca28c-fbaf-4a8c-b738-d26533679f90', 'x-envoy-upstream-service-time', - '139', + '192', 'apim-request-id', - 'fce9dd4e-f02f-47b4-a626-c5afd5251b74', + 'b53ca28c-fbaf-4a8c-b738-d26533679f90', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Sat, 05 Jun 2021 03:56:49 GMT' + 'Thu, 24 Jun 2021 20:22:31 GMT' ]); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md b/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md index 0962f302827e..7747aa7b95fc 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md @@ -53,11 +53,11 @@ export interface AnomalyAlert { export interface AnomalyAlertConfiguration { crossMetricsOperator?: MetricAnomalyAlertConfigurationsOperator; description?: string; + dimensionsToSplitAlert?: string[]; hookIds: string[]; id: string; metricAlertConfigurations: MetricAlertConfiguration[]; name: string; - splitAlertByDimensions?: string[]; } // @public @@ -230,7 +230,7 @@ export interface CreateDataFeedOptions extends OperationOptions { } // @public -export interface CredentialsPageResponse extends Array { +export interface CredentialsPageResponse extends Array { continuationToken?: string; _response: coreHttp.HttpResponse & { bodyAsText: string; @@ -239,32 +239,13 @@ export interface CredentialsPageResponse extends Array; - granularity: DataFeedGranularity; - ingestionSettings: DataFeedIngestionSettings; - description?: string; - rollupSettings?: DataFeedRollupSettings; - missingDataPointFillSettings?: DataFeedMissingDataPointFillSettings; - accessMode?: DataFeedAccessMode; - adminEmails?: string[]; - viewerEmails?: string[]; - actionLinkTemplate?: string; -}; +export type DataFeedAccessMode = "Private" | "Public"; // @public -export type DataFeedAccessMode = "Private" | "Public"; +export type DataFeedAutoRollupMethod = "None" | "Sum" | "Max" | "Min" | "Avg" | "Count"; // @public -export type DataFeedDescriptor = Omit; +export type DataFeedDescriptor = Omit; // @public export type DataFeedDetailStatus = "Active" | "Paused"; @@ -277,13 +258,13 @@ export interface DataFeedDimension { // @public export type DataFeedGranularity = { - granularityType: "Yearly" | "Monthly" | "Weekly" | "Daily" | "Hourly" | "PerMinute" | "PerSecond"; + granularityType: "Yearly" | "Monthly" | "Weekly" | "Daily" | "Hourly" | "PerMinute"; } | { granularityType: "Custom"; customGranularityValue: number; }; -// @public (undocumented) +// @public export interface DataFeedIngestionProgress { readonly latestActiveTimestamp?: Date; readonly latestSuccessTimestamp?: Date; @@ -332,9 +313,6 @@ export type DataFeedPatch = { status?: DataFeedDetailStatus; }; -// @public -export type DataFeedRollupMethod = "None" | "Sum" | "Max" | "Min" | "Avg" | "Count"; - // @public export type DataFeedRollupSettings = { rollupType: "NoRollup"; @@ -344,7 +322,7 @@ export type DataFeedRollupSettings = { } | { rollupType: "AutoRollup"; autoRollupGroupByColumnNames?: string[]; - rollupMethod?: DataFeedRollupMethod; + rollupMethod?: DataFeedAutoRollupMethod; rollupIdentificationValue?: string; }; @@ -364,7 +342,7 @@ export type DataFeedSourcePatch = Partial & { }; // @public -export interface DataFeedsPageResponse extends Array { +export interface DataFeedsPageResponse extends Array { continuationToken?: string; _response: coreHttp.HttpResponse & { bodyAsText: string; @@ -375,20 +353,6 @@ export interface DataFeedsPageResponse extends Array { // @public export type DataFeedStatus = "Paused" | "Active"; -// @public -export interface DataLakeGen2SharedKeyDatasourceCredential extends DatasourceCredential { - accountKey: string; - type: "DataLakeGen2SharedKey"; -} - -// @public -export interface DataLakeGen2SharedKeyDatasourceCredentialPatch { - accountKey?: string; - description?: string; - name?: string; - type: "DataLakeGen2SharedKey"; -} - // @public export type DataLakeStorageGen2AuthBasic = { authenticationType: "Basic"; @@ -434,25 +398,98 @@ export interface DataPointAnomaly { } // @public -export interface DatasourceCredential { +export interface DataSourceCredentialEntity { description?: string; readonly id?: string; name: string; } // @public -export type DatasourceCredentialPatch = SqlServerConnectionStringDatasourceCredentialPatch | DataLakeGen2SharedKeyDatasourceCredentialPatch | ServicePrincipalDatasourceCredentialPatch | ServicePrincipalInKeyVaultDatasourceCredentialPatch; +export type DataSourceCredentialEntityUnion = DataSourceSqlConnectionString | DataSourceDataLakeGen2SharedKey | DataSourceServicePrincipal | DataSourceServicePrincipalInKeyVault; -// @public (undocumented) -export type DatasourceCredentialUnion = SqlServerConnectionStringDatasourceCredential | DataLakeGen2SharedKeyDatasourceCredential | ServicePrincipalDatasourceCredential | ServicePrincipalInKeyVaultDatasourceCredential; +// @public +export type DataSourceCredentialPatch = DataSourceSqlServerConnectionStringPatch | DataSourceDataLakeGen2SharedKeyPatch | DataSourceServicePrincipalPatch | DataSourceServicePrincipalInKeyVaultPatch; + +// @public +export interface DataSourceDataLakeGen2SharedKey extends DataSourceCredentialEntity { + accountKey?: string; + type: "DataLakeGen2SharedKey"; +} + +// @public +export interface DataSourceDataLakeGen2SharedKeyPatch { + accountKey?: string; + description?: string; + name?: string; + type: "DataLakeGen2SharedKey"; +} + +// @public +export interface DataSourceServicePrincipal extends DataSourceCredentialEntity { + clientId: string; + clientSecret?: string; + tenantId: string; + type: "ServicePrincipal"; +} + +// @public +export interface DataSourceServicePrincipalInKeyVault extends DataSourceCredentialEntity { + keyVaultClientId: string; + keyVaultClientSecret?: string; + keyVaultEndpoint: string; + servicePrincipalIdNameInKV: string; + servicePrincipalSecretNameInKV: string; + tenantId: string; + type: "ServicePrincipalInKV"; +} + +// @public +export interface DataSourceServicePrincipalInKeyVaultPatch { + description?: string; + keyVaultClientId?: string; + keyVaultClientSecret?: string; + keyVaultEndpoint?: string; + name?: string; + servicePrincipalIdNameInKV?: string; + servicePrincipalSecretNameInKV?: string; + tenantId?: string; + type: "ServicePrincipalInKV"; +} + +// @public +export interface DataSourceServicePrincipalPatch { + clientId?: string; + clientSecret?: string; + description?: string; + name?: string; + tenantId?: string; + type: "ServicePrincipal"; +} + +// @public +export interface DataSourceSqlConnectionString extends DataSourceCredentialEntity { + connectionString?: string; + type: "AzureSQLConnectionString"; +} + +// @public +export interface DataSourceSqlServerConnectionStringPatch { + connectionString?: string; + description?: string; + name?: string; + type: "AzureSQLConnectionString"; +} // @public export type DataSourceType = "AzureApplicationInsights" | "AzureBlob" | "AzureCosmosDB" | "AzureDataExplorer" | "AzureDataLakeStorageGen2" | "AzureEventHubs" | "AzureLogAnalytics" | "AzureTable" | "InfluxDB" | "MongoDB" | "MySql" | "PostgreSql" | "SqlServer"; +// @public +export type DetectionConditionOperator = "AND" | "OR"; + // @public export interface DetectionConditionsCommon { changeThresholdCondition?: ChangeThresholdConditionUnion; - conditionOperator?: DetectionConditionsOperator; + conditionOperator?: DetectionConditionOperator; hardThresholdCondition?: HardThresholdConditionUnion; smartDetectionCondition?: SmartDetectionCondition; } @@ -460,14 +497,11 @@ export interface DetectionConditionsCommon { // @public export interface DetectionConditionsCommonPatch { changeThresholdCondition?: Partial; - conditionOperator?: DetectionConditionsOperator; + conditionOperator?: DetectionConditionOperator; hardThresholdCondition?: Partial; smartDetectionCondition?: Partial; } -// @public -export type DetectionConditionsOperator = "AND" | "OR"; - // @public export interface DetectionConfigurationsPageResponse extends Array { _response: coreHttp.HttpResponse & { @@ -488,7 +522,7 @@ export interface DimensionValuesPageResponse extends Array { }; } -// @public (undocumented) +// @public export interface EmailHookParameter { toList: string[]; } @@ -505,7 +539,7 @@ export type EmailNotificationHookPatch = { hookParameter?: Partial; } & NotificationHookPatch; -// @public (undocumented) +// @public export interface EnrichmentStatus { readonly message?: string; readonly status?: string; @@ -519,7 +553,7 @@ export type FeedbackQueryTimeMode = "MetricTimestamp" | "FeedbackCreatedTime"; export type FeedbackType = "Anomaly" | "ChangePoint" | "Period" | "Comment"; // @public -export type GetAnomalyAlertConfigurationResponse = AnomalyAlertConfiguration & { +export type GetAlertConfigResponse = AnomalyAlertConfiguration & { _response: coreHttp.HttpResponse & { bodyAsText: string; parsedBody: any; @@ -527,7 +561,7 @@ export type GetAnomalyAlertConfigurationResponse = AnomalyAlertConfiguration & { }; // @public -export type GetAnomalyDetectionConfigurationResponse = AnomalyDetectionConfiguration & { +export type GetDataFeedResponse = MetricsAdvisorDataFeed & { _response: coreHttp.HttpResponse & { bodyAsText: string; parsedBody: any; @@ -535,7 +569,7 @@ export type GetAnomalyDetectionConfigurationResponse = AnomalyDetectionConfigura }; // @public -export type GetCredentialEntityResponse = DatasourceCredentialUnion & { +export type GetDataSourceCredentialEntityResponse = DataSourceCredentialEntityUnion & { _response: coreHttp.HttpResponse & { bodyAsText: string; parsedBody: any; @@ -543,7 +577,7 @@ export type GetCredentialEntityResponse = DatasourceCredentialUnion & { }; // @public -export type GetDataFeedResponse = DataFeed & { +export type GetDetectionConfigResponse = AnomalyDetectionConfiguration & { _response: coreHttp.HttpResponse & { bodyAsText: string; parsedBody: any; @@ -695,15 +729,14 @@ export interface ListAnomaliesForAlertConfigurationOptions extends OperationOpti // @public export interface ListAnomaliesForDetectionConfigurationOptions extends OperationOptions { - dimensionFilter?: DimensionKey[]; + seriesGroupKeys?: DimensionKey[]; severityFilter?: SeverityFilterCondition; skip?: number; } // @public export interface ListAnomalyDimensionValuesOptions extends OperationOptions { - // (undocumented) - dimensionFilter?: DimensionKey; + seriesGroupKey?: DimensionKey; skip?: number; } @@ -725,14 +758,14 @@ export interface ListDataFeedsOptions extends OperationOptions { } // @public -export interface ListDatasourceCredentialsOptions extends OperationOptions { +export interface ListDataSourceCredentialsOptions extends OperationOptions { skip?: number; } // @public export interface ListFeedbackOptions extends OperationOptions { filter?: { - dimensionFilter?: DimensionKey; + dimensionKey?: DimensionKey; feedbackType?: FeedbackType; startTime?: Date | string; endTime?: Date | string; @@ -754,7 +787,7 @@ export interface ListIncidentsForAlertOptions extends OperationOptions { // @public export interface ListIncidentsForDetectionConfigurationOptions extends OperationOptions { - dimensionFilter?: DimensionKey[]; + seriesGroupKeys?: DimensionKey[]; } // @public @@ -791,7 +824,7 @@ export type LogAnalyticsAuthServicePrincipalInKeyVault = { credentialId: string; }; -// @public (undocumented) +// @public export interface MetricAlertConfiguration { alertConditions?: MetricAnomalyAlertConditions; alertScope: MetricAnomalyAlertScope; @@ -800,7 +833,7 @@ export interface MetricAlertConfiguration { snoozeCondition?: MetricAnomalyAlertSnoozeCondition; } -// @public (undocumented) +// @public export interface MetricAnomalyAlertConditions { metricBoundaryCondition?: MetricBoundaryCondition; severityCondition?: SeverityCondition; @@ -814,13 +847,13 @@ export type MetricAnomalyAlertScope = { scopeType: "All"; } | { scopeType: "Dimension"; - dimensionAnomalyScope: DimensionKey; + seriesGroupInScope: DimensionKey; } | { scopeType: "TopN"; topNAnomalyScope: TopNGroupScope; }; -// @public (undocumented) +// @public export interface MetricAnomalyAlertSnoozeCondition { autoSnooze: number; onlyForSuccessive: boolean; @@ -886,7 +919,7 @@ export interface MetricEnrichedSeriesData { isAnomaly?: boolean[]; lowerBounds?: number[]; periods?: number[]; - series: DimensionKey; + seriesKey: DimensionKey; timestamps?: Date[]; upperBounds?: number[]; values?: number[]; @@ -932,35 +965,35 @@ export type MetricPeriodFeedback = { // @public export class MetricsAdvisorAdministrationClient { constructor(endpointUrl: string, credential: TokenCredential | MetricsAdvisorKeyCredential, options?: MetricsAdvisorAdministrationClientOptions); - createAlertConfig(config: Omit, options?: OperationOptions): Promise; + createAlertConfig(config: Omit, options?: OperationOptions): Promise; createDataFeed(feed: DataFeedDescriptor, operationOptions?: CreateDataFeedOptions): Promise; - createDatasourceCredential(datasourceCredential: DatasourceCredentialUnion, options?: OperationOptions): Promise; - createDetectionConfig(config: Omit, options?: OperationOptions): Promise; + createDataSourceCredential(dataSourceCredential: DataSourceCredentialEntityUnion, options?: OperationOptions): Promise; + createDetectionConfig(config: Omit, options?: OperationOptions): Promise; createHook(hookInfo: EmailNotificationHook | WebNotificationHook, options?: OperationOptions): Promise; deleteAlertConfig(id: string, options?: OperationOptions): Promise; deleteDataFeed(id: string, options?: OperationOptions): Promise; - deleteDatasourceCredential(id: string, options?: OperationOptions): Promise; + deleteDataSourceCredential(id: string, options?: OperationOptions): Promise; deleteDetectionConfig(id: string, options?: OperationOptions): Promise; deleteHook(id: string, options?: OperationOptions): Promise; readonly endpointUrl: string; - getAlertConfig(id: string, options?: OperationOptions): Promise; + getAlertConfig(id: string, options?: OperationOptions): Promise; getDataFeed(id: string, options?: OperationOptions): Promise; getDataFeedIngestionProgress(dataFeedId: string, options?: {}): Promise; - getDatasourceCredential(id: string, options?: OperationOptions): Promise; - getDetectionConfig(id: string, options?: OperationOptions): Promise; + getDataSourceCredential(id: string, options?: OperationOptions): Promise; + getDetectionConfig(id: string, options?: OperationOptions): Promise; getHook(id: string, options?: OperationOptions): Promise; listAlertConfigs(detectionConfigId: string, options?: OperationOptions): PagedAsyncIterableIterator; listDataFeedIngestionStatus(dataFeedId: string, startTime: Date | string, endTime: Date | string, options?: ListDataFeedIngestionStatusOptions): PagedAsyncIterableIterator; - listDataFeeds(options?: ListDataFeedsOptions): PagedAsyncIterableIterator; - listDatasourceCredential(options?: ListDatasourceCredentialsOptions): PagedAsyncIterableIterator; + listDataFeeds(options?: ListDataFeedsOptions): PagedAsyncIterableIterator; + listDataSourceCredential(options?: ListDataSourceCredentialsOptions): PagedAsyncIterableIterator; listDetectionConfigs(metricId: string, options?: OperationOptions): PagedAsyncIterableIterator; listHooks(options?: ListHooksOptions): PagedAsyncIterableIterator; refreshDataFeedIngestion(dataFeedId: string, startTime: Date | string, endTime: Date | string, options?: OperationOptions): Promise; - updateAlertConfig(id: string, patch: Partial>, options?: OperationOptions): Promise; - updateDataFeed(dataFeedId: string, patch: DataFeedPatch, options?: OperationOptions): Promise; - updateDatasourceCredential(id: string, patch: DatasourceCredentialPatch, options?: OperationOptions): Promise; - updateDetectionConfig(id: string, patch: AnomalyDetectionConfigurationPatch, options?: OperationOptions): Promise; - updateHook(id: string, patch: EmailNotificationHookPatch | WebNotificationHookPatch, options?: OperationOptions): Promise; + updateAlertConfig(id: string, patch: Partial>, options?: OperationOptions): Promise; + updateDataFeed(dataFeedId: string, patch: DataFeedPatch, options?: OperationOptions): Promise; + updateDataSourceCredential(id: string, patch: DataSourceCredentialPatch, options?: OperationOptions): Promise; + updateDetectionConfig(id: string, patch: AnomalyDetectionConfigurationPatch, options?: OperationOptions): Promise; + updateHook(id: string, patch: EmailNotificationHookPatch | WebNotificationHookPatch, options?: OperationOptions): Promise; } // @public @@ -970,19 +1003,19 @@ export interface MetricsAdvisorAdministrationClientOptions extends PipelineOptio // @public export class MetricsAdvisorClient { constructor(endpointUrl: string, credential: TokenCredential | MetricsAdvisorKeyCredential, options?: MetricsAdvisorClientOptions); - createFeedback(feedback: MetricFeedbackUnion, options?: OperationOptions): Promise; + addFeedback(feedback: MetricFeedbackUnion, options?: OperationOptions): Promise; readonly endpointUrl: string; getFeedback(id: string, options?: OperationOptions): Promise; getIncidentRootCauses(detectionConfigId: string, incidentId: string, options?: OperationOptions): Promise; - getMetricEnrichedSeriesData(detectionConfigId: string, startTime: Date | string, endTime: Date | string, seriesToFilter: DimensionKey[], options?: GetMetricEnrichedSeriesDataOptions): Promise; - getMetricSeriesData(metricId: string, startTime: Date | string, endTime: Date | string, seriesToFilter: DimensionKey[], options?: GetMetricSeriesDataOptions): Promise; + getMetricEnrichedSeriesData(detectionConfigId: string, seriesKey: DimensionKey[], startTime: Date | string, endTime: Date | string, options?: GetMetricEnrichedSeriesDataOptions): Promise; + getMetricSeriesData(metricId: string, seriesKey: DimensionKey[], startTime: Date | string, endTime: Date | string, options?: GetMetricSeriesDataOptions): Promise; listAlerts(alertConfigId: string, startTime: Date | string, endTime: Date | string, timeMode: AlertQueryTimeMode, options?: ListAlertsOptions): PagedAsyncIterableIterator; - listAnomalies(alert: AnomalyAlert, options?: ListAnomaliesForAlertConfigurationOptions): PagedAsyncIterableIterator; - listAnomalies(detectionConfigId: string, startTime: Date | string, endTime: Date | string, options?: ListAnomaliesForDetectionConfigurationOptions): PagedAsyncIterableIterator; + listAnomaliesForAlert(alert: AnomalyAlert, options?: ListAnomaliesForAlertConfigurationOptions): PagedAsyncIterableIterator; + listAnomaliesForDetectionConfiguration(detectionConfigId: string, startTime: Date | string, endTime: Date | string, options?: ListAnomaliesForDetectionConfigurationOptions): PagedAsyncIterableIterator; listAnomalyDimensionValues(detectionConfigId: string, startTime: Date | string, endTime: Date | string, dimensionName: string, options?: ListAnomalyDimensionValuesOptions): PagedAsyncIterableIterator; listFeedback(metricId: string, options?: ListFeedbackOptions): PagedAsyncIterableIterator; - listIncidents(alert: AnomalyAlert, options?: ListIncidentsForAlertOptions): PagedAsyncIterableIterator; - listIncidents(detectionConfigId: string, startTime: Date | string, endTime: Date | string, options?: ListIncidentsForDetectionConfigurationOptions): PagedAsyncIterableIterator; + listIncidentsForAlert(alert: AnomalyAlert, options?: ListIncidentsForAlertOptions): PagedAsyncIterableIterator; + listIncidentsForDetectionConfiguration(detectionConfigId: string, startTime: Date | string, endTime: Date | string, options?: ListIncidentsForDetectionConfigurationOptions): PagedAsyncIterableIterator; listMetricDimensionValues(metricId: string, dimensionName: string, options?: ListMetricDimensionValuesOptions): PagedAsyncIterableIterator; listMetricEnrichmentStatus(metricId: string, startTime: Date | string, endTime: Date | string, options?: ListMetricEnrichmentStatusOptions): PagedAsyncIterableIterator; listMetricSeriesDefinitions(metricId: string, activeSince: Date | string, options?: ListMetricSeriesDefinitionsOptions): PagedAsyncIterableIterator; @@ -992,6 +1025,28 @@ export class MetricsAdvisorClient { export interface MetricsAdvisorClientOptions extends PipelineOptions { } +// @public +export type MetricsAdvisorDataFeed = { + id: string; + name: string; + createdOn: Date; + status: DataFeedStatus; + isAdmin: boolean; + creator: string; + source: DataFeedSource; + schema: DataFeedSchema; + metricIds: Record; + granularity: DataFeedGranularity; + ingestionSettings: DataFeedIngestionSettings; + description?: string; + rollupSettings?: DataFeedRollupSettings; + missingDataPointFillSettings?: DataFeedMissingDataPointFillSettings; + accessMode?: DataFeedAccessMode; + adminEmails?: string[]; + viewerEmails?: string[]; + actionLinkTemplate?: string; +}; + // @public export class MetricsAdvisorKeyCredential { constructor(subscriptionKey: string, apiKey: string); @@ -1015,13 +1070,13 @@ export interface MetricSeriesData { // @public export interface MetricSeriesDefinition { - dimension: Record; metricId: string; + seriesKey: Record; } // @public export type MetricSeriesGroupDetectionCondition = DetectionConditionsCommon & { - group: DimensionKey; + groupKey: DimensionKey; }; // @public @@ -1035,7 +1090,7 @@ export interface MetricSeriesPageResponse extends Array // @public export type MetricSingleSeriesDetectionCondition = DetectionConditionsCommon & { - series: DimensionKey; + seriesKey: DimensionKey; }; // @public @@ -1082,68 +1137,25 @@ export type PostgreSqlDataFeedSource = { authenticationType: "Basic"; }; -// @public -export interface ServicePrincipalDatasourceCredential extends DatasourceCredential { - clientId: string; - clientSecret: string; - tenantId: string; - type: "ServicePrincipal"; -} - -// @public -export interface ServicePrincipalDatasourceCredentialPatch { - clientId?: string; - clientSecret?: string; - description?: string; - name?: string; - tenantId?: string; - type: "ServicePrincipal"; -} - -// @public -export interface ServicePrincipalInKeyVaultDatasourceCredential extends DatasourceCredential { - keyVaultClientId: string; - keyVaultClientSecret: string; - keyVaultEndpoint: string; - servicePrincipalIdNameInKV: string; - servicePrincipalSecretNameInKV: string; - tenantId: string; - type: "ServicePrincipalInKV"; -} - -// @public -export interface ServicePrincipalInKeyVaultDatasourceCredentialPatch { - description?: string; - keyVaultClientId?: string; - keyVaultClientSecret?: string; - keyVaultEndpoint?: string; - name?: string; - servicePrincipalIdNameInKV?: string; - servicePrincipalSecretNameInKV?: string; - tenantId?: string; - type: "ServicePrincipalInKV"; -} - // @public export type Severity = "Low" | "Medium" | "High"; -// @public (undocumented) +// @public export interface SeverityCondition { maxAlertSeverity: Severity; minAlertSeverity: Severity; } -// @public (undocumented) +// @public export interface SeverityFilterCondition { max: Severity; min: Severity; } -// @public (undocumented) +// @public export interface SmartDetectionCondition { anomalyDetectorDirection: AnomalyDetectorDirection; sensitivity: number; - // (undocumented) suppressCondition: SuppressCondition; } @@ -1185,33 +1197,19 @@ export interface SqlServerAuthServicePrincipalInKeyVault { // @public export type SqlServerAuthTypes = SqlServerAuthBasic | SqlServerAuthManagedIdentity | SqlServerAuthConnectionString | SqlServerAuthServicePrincipal | SqlServerAuthServicePrincipalInKeyVault; -// @public -export interface SqlServerConnectionStringDatasourceCredential extends DatasourceCredential { - connectionString: string; - type: "AzureSQLConnectionString"; -} - -// @public -export interface SqlServerConnectionStringDatasourceCredentialPatch { - connectionString?: string; - description?: string; - name?: string; - type: "AzureSQLConnectionString"; -} - // @public export type SqlServerDataFeedSource = { dataSourceType: "SqlServer"; query: string; } & SqlServerAuthTypes; -// @public (undocumented) +// @public export interface SuppressCondition { minNumber: number; minRatio: number; } -// @public (undocumented) +// @public export interface TopNGroupScope { minTopCount: number; period: number; diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/alertingConfig.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/alertingConfig.ts index 8939157c0ce5..6a94009a5592 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/alertingConfig.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/alertingConfig.ts @@ -66,7 +66,7 @@ async function createAlertConfig( detectionConfigurationId: detectionConfigId, alertScope: { scopeType: "Dimension", - dimensionAnomalyScope: { city: "Manila", category: "Handmade" } + seriesGroupInScope: { city: "Manila", category: "Handmade" } } } ], @@ -101,7 +101,7 @@ async function updateAlertConfig( detectionConfigurationId: detectionConfigId, alertScope: { scopeType: "Dimension", - dimensionAnomalyScope: { + seriesGroupInScope: { city: "Kolkata", category: "Shoes Handbags & Sunglasses" } @@ -110,8 +110,7 @@ async function updateAlertConfig( ] }; console.log(`Updating alerting configuration ${detectionConfigId}`); - await adminClient.updateAlertConfig(alertConfigId, patch); - const updated = await adminClient.getAlertConfig(alertConfigId); + const updated = await adminClient.updateAlertConfig(alertConfigId, patch); return updated; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataFeed.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataFeed.ts index 35fa4ec65cbf..5029a2a39f59 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataFeed.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataFeed.ts @@ -164,8 +164,7 @@ async function updateDataFeed(client: MetricsAdvisorAdministrationClient, dataFe try { console.log(`Updating datafeed ${dataFeedId}...`); - await client.updateDataFeed(dataFeedId, patch); - const updated = await client.getDataFeed(dataFeedId); + const updated = await client.updateDataFeed(dataFeedId, patch); console.dir(updated); } catch (err) { console.log("Error occurred when updating data feed"); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataSourceCredential.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataSourceCredential.ts index 29319c0afff6..5aa35afb9046 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataSourceCredential.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataSourceCredential.ts @@ -13,9 +13,9 @@ dotenv.config(); import { MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient, - GetCredentialEntityResponse, - DatasourceCredentialPatch, - SqlServerConnectionStringDatasourceCredential + GetDataSourceCredentialEntityResponse, + DataSourceCredentialPatch, + DataSourceSqlConnectionString } from "@azure/ai-metrics-advisor"; export async function main() { @@ -27,19 +27,19 @@ export async function main() { const adminClient = new MetricsAdvisorAdministrationClient(endpoint, credential); - const created = await createDatasourceCredential(adminClient); + const created = await createDataSourceCredential(adminClient); if (created.id) { - await getDatasourceCredential(adminClient, created.id); - await updateDatasourceCredential(adminClient, created.id); - await listDatasourceCredentials(adminClient); - await deleteDatasourceCredential(adminClient, created.id); + await getDataSourceCredential(adminClient, created.id); + await updateDataSourceCredential(adminClient, created.id); + await listDataSourceCredentials(adminClient); + await deleteDataSourceCredential(adminClient, created.id); } } -async function listDatasourceCredentials(client: MetricsAdvisorAdministrationClient) { - console.log("Listing Datasource credentials ..."); +async function listDataSourceCredentials(client: MetricsAdvisorAdministrationClient) { + console.log("Listing DataSource credentials ..."); console.log(" using while loop"); - const iter = client.listDatasourceCredential(); + const iter = client.listDataSourceCredential(); let result = await iter.next(); while (!result.done) { console.log(`id :${result.value.id}, name: ${result.value.name}`); @@ -48,7 +48,7 @@ async function listDatasourceCredentials(client: MetricsAdvisorAdministrationCli // second approach console.log(" using for-await-of loop"); - const iterator = client.listDatasourceCredential(); + const iterator = client.listDataSourceCredential(); for await (const datasourceCredential of iterator) { console.log( `id :${datasourceCredential.id}, name: ${datasourceCredential.name}, type: ${datasourceCredential.type}` @@ -57,7 +57,7 @@ async function listDatasourceCredentials(client: MetricsAdvisorAdministrationCli // by pages console.log(" by pages"); - const pages = client.listDatasourceCredential().byPage({ maxPageSize: 1 }); + const pages = client.listDataSourceCredential().byPage({ maxPageSize: 1 }); let page = await pages.next(); let i = 1; while (!page.done) { @@ -71,34 +71,34 @@ async function listDatasourceCredentials(client: MetricsAdvisorAdministrationCli } } -async function createDatasourceCredential( +async function createDataSourceCredential( client: MetricsAdvisorAdministrationClient -): Promise { - console.log("Creating Datasource credential..."); - const datasourceCredential: SqlServerConnectionStringDatasourceCredential = { +): Promise { + console.log("Creating DataSource credential..."); + const datasourceCredential: DataSourceSqlConnectionString = { name: "Sql-server-cred", description: "an example sql server credential", type: "AzureSQLConnectionString", connectionString: "connection-string" }; - const result = await client.createDatasourceCredential(datasourceCredential); + const result = await client.createDataSourceCredential(datasourceCredential); console.dir(result); return result; } -async function getDatasourceCredential( +async function getDataSourceCredential( client: MetricsAdvisorAdministrationClient, datasourceCredentialId: string ) { console.log("Retrieving datasourceCredential by id..."); - const result = await client.getDatasourceCredential(datasourceCredentialId); + const result = await client.getDataSourceCredential(datasourceCredentialId); console.log("datasource credential result is as follows - "); console.log(` id: ${result.id}`); console.log(` datasource credential type: ${result.type}`); console.log(` name: ${result.name}`); } -async function updateDatasourceCredential( +async function updateDataSourceCredential( client: MetricsAdvisorAdministrationClient, credentialId: string ) { @@ -107,12 +107,11 @@ async function updateDatasourceCredential( description: "updated-description", type: "AzureSQLConnectionString", connectionString: "connection-string" - } as DatasourceCredentialPatch; + } as DataSourceCredentialPatch; try { console.log(`Updating credential ${credentialId}...`); - await client.updateDatasourceCredential(credentialId, patch); - const updated = await client.getDataFeed(credentialId); + const updated = await client.updateDataSourceCredential(credentialId, patch); console.dir(updated); } catch (err) { console.log("Error occurred when updating credential"); @@ -120,12 +119,12 @@ async function updateDatasourceCredential( } } -async function deleteDatasourceCredential( +async function deleteDataSourceCredential( client: MetricsAdvisorAdministrationClient, credentialId: string ) { console.log(`Deleting datasource credential ${credentialId}...`); - await client.deleteDatasourceCredential(credentialId); + await client.deleteDataSourceCredential(credentialId); } main() diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/detectionConfig.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/detectionConfig.ts index d48ab3a87976..62c462e92f26 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/detectionConfig.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/detectionConfig.ts @@ -92,7 +92,7 @@ async function createDetectionConfig( }; const seriesGroupDetectionConditions: MetricSeriesGroupDetectionCondition[] = [ { - group: { city: "Manila" }, + groupKey: { city: "Manila" }, conditionOperator: "AND", changeThresholdCondition: { anomalyDetectorDirection: "Both", @@ -105,7 +105,7 @@ async function createDetectionConfig( ]; const seriesDetectionConditions: MetricSingleSeriesDetectionCondition[] = [ { - series: { city: "Manila", category: "Handmade" }, + seriesKey: { city: "Manila", category: "Handmade" }, conditionOperator: "AND", hardThresholdCondition: { anomalyDetectorDirection: "Up", @@ -152,7 +152,7 @@ async function updateDetectionConfig( }, seriesGroupDetectionConditions: [ { - group: { city: "Manila" }, + groupKey: { city: "Manila" }, conditionOperator: "AND", hardThresholdCondition: { anomalyDetectorDirection: "Up", @@ -163,7 +163,7 @@ async function updateDetectionConfig( ], seriesDetectionConditions: [ { - series: { city: "Manila", category: "Handmade" }, + seriesKey: { city: "Manila", category: "Handmade" }, conditionOperator: "OR", changeThresholdCondition: { anomalyDetectorDirection: "Both", @@ -176,8 +176,7 @@ async function updateDetectionConfig( ] }; console.log(`Updating existing detection configuration '${configId}'`); - await adminClient.updateDetectionConfig(configId, patch); - const result = adminClient.getDetectionConfig(configId); + const result = await adminClient.updateDetectionConfig(configId, patch); console.log(result); return result; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/hooks.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/hooks.ts index 6269498a1537..e1e63f4890a2 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/hooks.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/hooks.ts @@ -93,8 +93,7 @@ async function updateEmailHook(client: MetricsAdvisorAdministrationClient, hookI toList: ["test2@example.com", "test3@example.com"] } }; - await client.updateHook(hookId, emailPatch); - const response = await client.getHook(hookId); + const response = await client.updateHook(hookId, emailPatch); console.log(response); return response; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/incidentsAndAlerts.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/incidentsAndAlerts.ts index fb2806793efa..a849dd398a2e 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/incidentsAndAlerts.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/incidentsAndAlerts.ts @@ -76,12 +76,12 @@ async function listIncidentsForDetectionConfig( ) { console.log(`Listing incidents for detection config '${detectionConfigId}'`); console.log(" using for-await-of syntax"); - const listIterator = client.listIncidents( + const listIterator = client.listIncidentsForDetectionConfiguration( detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), { - dimensionFilter: [{ city: "Manila", category: "Shoes Handbags & Sunglasses" }] + seriesGroupKeys: [{ city: "Manila", category: "Shoes Handbags & Sunglasses" }] } ); for await (const incident of listIterator) { @@ -97,7 +97,11 @@ async function listIncidentsForDetectionConfig( console.log(` by pages`); const iterator = client - .listIncidents(detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020")) + .listIncidentsForDetectionConfiguration( + detectionConfigId, + new Date("10/22/2020"), + new Date("10/24/2020") + ) .byPage({ maxPageSize: 20 }); let result = await iterator.next(); @@ -121,7 +125,7 @@ async function listAnomaliesForDetectionConfig( detectionConfigId: string ) { console.log(`Listing anomalies for detection config '${detectionConfigId}'`); - const listIterator = client.listAnomalies( + const listIterator = client.listAnomaliesForDetectionConfiguration( detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), @@ -143,9 +147,14 @@ async function listAnomaliesForDetectionConfig( console.log(` by pages`); const iterator = client - .listAnomalies(detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), { - severityFilter: { min: "Medium", max: "High" } - }) + .listAnomaliesForDetectionConfiguration( + detectionConfigId, + new Date("10/22/2020"), + new Date("10/24/2020"), + { + severityFilter: { min: "Medium", max: "High" } + } + ) .byPage({ maxPageSize: 20 }); let result = await iterator.next(); @@ -223,7 +232,7 @@ async function listIncidentsForAlert( `Listing incidents for alert configuration '${alertConfigId}' and alert '${alertId}'` ); console.log(" using for-await-of syntax"); - const listIterator = client.listIncidents({ alertConfigId, id: alertId }); + const listIterator = client.listIncidentsForAlert({ alertConfigId, id: alertId }); for await (const incident of listIterator) { console.log(" Incident"); console.log(` id: ${incident.id}`); @@ -236,7 +245,9 @@ async function listIncidentsForAlert( } console.log(` by pages`); - const iterator = client.listIncidents({ alertConfigId, id: alertId }).byPage({ maxPageSize: 20 }); + const iterator = client + .listIncidentsForAlert({ alertConfigId, id: alertId }) + .byPage({ maxPageSize: 20 }); let result = await iterator.next(); while (!result.done) { @@ -263,7 +274,7 @@ async function listAnomaliesForAlert( `Listing anomalies for alert configuration '${alertConfigId}' and alert '${alertId}'` ); console.log(" using for-await-of syntax"); - const listIterator = client.listAnomalies({ alertConfigId, id: alertId }); + const listIterator = client.listAnomaliesForAlert({ alertConfigId, id: alertId }); for await (const anomaly of listIterator) { console.log(" Anomaly"); console.log(` timestamp: ${anomaly.timestamp}`); @@ -272,7 +283,9 @@ async function listAnomaliesForAlert( } console.log(` by pages`); - const iterator = client.listAnomalies({ alertConfigId, id: alertId }).byPage({ maxPageSize: 20 }); + const iterator = client + .listAnomaliesForAlert({ alertConfigId, id: alertId }) + .byPage({ maxPageSize: 20 }); let result = await iterator.next(); while (!result.done) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/metricFeedback.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/metricFeedback.ts index 10b1a48fbfad..2d63c94b4cdc 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/metricFeedback.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/metricFeedback.ts @@ -48,7 +48,7 @@ async function provideAnomalyFeedback(client: MetricsAdvisorClient, metricId: st value: "NotAnomaly", dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(anomalyFeedback); + return await client.addFeedback(anomalyFeedback); } async function providePeriodFeedback(client: MetricsAdvisorClient, metricId: string) { @@ -60,7 +60,7 @@ async function providePeriodFeedback(client: MetricsAdvisorClient, metricId: str periodValue: 4, dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(periodFeedback); + return await client.addFeedback(periodFeedback); } async function provideChangePointFeedback(client: MetricsAdvisorClient, metricId: string) { @@ -72,7 +72,7 @@ async function provideChangePointFeedback(client: MetricsAdvisorClient, metricId value: "ChangePoint", dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(changePointFeedback); + return await client.addFeedback(changePointFeedback); } async function provideCommentFeedback(client: MetricsAdvisorClient, metricId: string) { @@ -83,7 +83,7 @@ async function provideCommentFeedback(client: MetricsAdvisorClient, metricId: st dimensionKey: { city: "Manila", category: "Handmade" }, comment: "This is a comment" }; - return await client.createFeedback(commendFeedback); + return await client.addFeedback(commendFeedback); } async function getFeedback(client: MetricsAdvisorClient, feedbackId: string) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/quickstart.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/quickstart.ts index 6332c87cffa9..dfc923d27f41 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/quickstart.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/quickstart.ts @@ -277,7 +277,7 @@ async function queryAnomaliesByAlert(client: MetricsAdvisorClient, alert: Anomal console.log( `Listing anomalies for alert configuration '${alert.alertConfigId}' and alert '${alert.id}'` ); - const listIterator = client.listAnomalies(alert); + const listIterator = client.listAnomaliesForAlert(alert); for await (const anomaly of listIterator) { console.log( ` Anomaly ${anomaly.severity} ${anomaly.status} ${anomaly.seriesKey.dimension} ${anomaly.timestamp}` diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/seriesData.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/seriesData.ts index 584bcf8e8592..a6cee81fd8ce 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/seriesData.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/seriesData.ts @@ -36,17 +36,17 @@ async function getEnrichedSeriesData(client: MetricsAdvisorClient, detectionConf try { const result = await client.getMetricEnrichedSeriesData( detectionConfigId, - new Date("09/01/2020"), - new Date("09/12/2020"), [ { city: "Manila", category: "Handmade" }, { city: "Shanghai", category: "Shoes Handbags & Sunglasses" } - ] + ], + new Date("09/01/2020"), + new Date("09/12/2020") ); for (const enriched of result) { console.log("enriched series:"); - console.log(enriched.series); + console.log(enriched.seriesKey); if (enriched.timestamps && enriched.timestamps.length > 0) { for (let i = 0; i < enriched.timestamps.length; i++) { console.log(" ----"); @@ -71,12 +71,12 @@ async function getMetricSeriesData(client: MetricsAdvisorClient, metricId: strin try { const result = await client.getMetricSeriesData( metricId, - new Date("09/01/2020"), - new Date("09/12/2020"), [ { city: "Manila", category: "Handmade" }, { city: "Shanghai", category: "Shoes Handbags & Sunglasses" } - ] + ], + new Date("09/01/2020"), + new Date("09/12/2020") ); for (const series of result) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/alertingConfig.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/alertingConfig.js index ee70cf4d5380..483361d32cae 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/alertingConfig.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/alertingConfig.js @@ -61,7 +61,7 @@ async function createAlertConfig(adminClient, detectionConfigId) { detectionConfigurationId: detectionConfigId, alertScope: { scopeType: "Dimension", - dimensionAnomalyScope: { city: "Manila", category: "Handmade" } + seriesGroupInScope: { city: "Manila", category: "Handmade" } } } ], @@ -91,7 +91,7 @@ async function updateAlertConfig(adminClient, alertConfigId, detectionConfigId, detectionConfigurationId: detectionConfigId, alertScope: { scopeType: "Dimension", - dimensionAnomalyScope: { + seriesGroupInScope: { city: "Kolkata", category: "Shoes Handbags & Sunglasses" } @@ -100,8 +100,7 @@ async function updateAlertConfig(adminClient, alertConfigId, detectionConfigId, ] }; console.log(`Updating alerting configuration ${detectionConfigId}`); - await adminClient.updateAlertConfig(alertConfigId, patch); - const updated = await adminClient.getAlertConfig(alertConfigId); + const updated = await adminClient.updateAlertConfig(alertConfigId, patch); return updated; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataFeed.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataFeed.js index 690caa3adbbf..787af32b5e5f 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataFeed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataFeed.js @@ -158,8 +158,7 @@ async function updateDataFeed(client, dataFeedId) { try { console.log(`Updating datafeed ${dataFeedId}...`); - await client.updateDataFeed(dataFeedId, patch); - const updated = await client.getDataFeed(dataFeedId); + const updated = await client.updateDataFeed(dataFeedId, patch); console.dir(updated); } catch (err) { console.log("Error occurred when updating data feed"); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataSourceCredential.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataSourceCredential.js index 2e2629eb0b05..e50cf6f6266a 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataSourceCredential.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/dataSourceCredential.js @@ -23,19 +23,19 @@ async function main() { const adminClient = new MetricsAdvisorAdministrationClient(endpoint, credential); - const created = await createDatasourceCredential(adminClient); + const created = await createDataSourceCredential(adminClient); if (created.id) { - await getDatasourceCredential(adminClient, created.id); - await updateDatasourceCredential(adminClient, created.id); - await listDatasourceCredentials(adminClient); - await deleteDatasourceCredential(adminClient, created.id); + await getDataSourceCredential(adminClient, created.id); + await updateDataSourceCredential(adminClient, created.id); + await listDataSourceCredentials(adminClient); + await deleteDataSourceCredential(adminClient, created.id); } } -async function listDatasourceCredentials(client) { - console.log("Listing Datasource credentials ..."); +async function listDataSourceCredentials(client) { + console.log("Listing DataSource credentials ..."); console.log(" using while loop"); - const iter = client.listDatasourceCredential(); + const iter = client.listDataSourceCredential(); let result = await iter.next(); while (!result.done) { console.log(`id :${result.value.id}, name: ${result.value.name}`); @@ -44,7 +44,7 @@ async function listDatasourceCredentials(client) { // second approach console.log(" using for-await-of loop"); - const iterator = client.listDatasourceCredential(); + const iterator = client.listDataSourceCredential(); for await (const datasourceCredential of iterator) { console.log( `id :${datasourceCredential.id}, name: ${datasourceCredential.name}, type: ${datasourceCredential.type}` @@ -53,7 +53,7 @@ async function listDatasourceCredentials(client) { // by pages console.log(" by pages"); - const pages = client.listDatasourceCredential().byPage({ maxPageSize: 1 }); + const pages = client.listDataSourceCredential().byPage({ maxPageSize: 1 }); let page = await pages.next(); let i = 1; while (!page.done) { @@ -67,29 +67,29 @@ async function listDatasourceCredentials(client) { } } -async function createDatasourceCredential(client) { - console.log("Creating Datasource credential..."); +async function createDataSourceCredential(client) { + console.log("Creating DataSource credential..."); const datasourceCredential = { name: "Sql-server-cred", description: "an example sql server credential", type: "AzureSQLConnectionString", connectionString: "connection-string" }; - const result = await client.createDatasourceCredential(datasourceCredential); + const result = await client.createDataSourceCredential(datasourceCredential); console.dir(result); return result; } -async function getDatasourceCredential(client, datasourceCredentialId) { +async function getDataSourceCredential(client, datasourceCredentialId) { console.log("Retrieving datasourceCredential by id..."); - const result = await client.getDatasourceCredential(datasourceCredentialId); + const result = await client.getDataSourceCredential(datasourceCredentialId); console.log("datasource credential result is as follows - "); console.log(` id: ${result.id}`); console.log(` datasource credential type: ${result.type}`); console.log(` name: ${result.name}`); } -async function updateDatasourceCredential(client, credentialId) { +async function updateDataSourceCredential(client, credentialId) { const patch = { name: "update-credential-name", description: "updated-description", @@ -99,8 +99,7 @@ async function updateDatasourceCredential(client, credentialId) { try { console.log(`Updating credential ${credentialId}...`); - await client.updateDatasourceCredential(credentialId, patch); - const updated = await client.getDataFeed(credentialId); + const updated = await client.updateDataSourceCredential(credentialId, patch); console.dir(updated); } catch (err) { console.log("Error occurred when updating credential"); @@ -108,9 +107,9 @@ async function updateDatasourceCredential(client, credentialId) { } } -async function deleteDatasourceCredential(client, credentialId) { +async function deleteDataSourceCredential(client, credentialId) { console.log(`Deleting datasource credential ${credentialId}...`); - await client.deleteDatasourceCredential(credentialId); + await client.deleteDataSourceCredential(credentialId); } main() diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/detectionConfig.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/detectionConfig.js index e11642fdca75..77cf92447b5e 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/detectionConfig.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/detectionConfig.js @@ -81,7 +81,7 @@ async function createDetectionConfig(adminClient, metricId) { }; const seriesGroupDetectionConditions = [ { - group: { city: "Manila" }, + groupKey: { city: "Manila" }, conditionOperator: "AND", changeThresholdCondition: { anomalyDetectorDirection: "Both", @@ -94,7 +94,7 @@ async function createDetectionConfig(adminClient, metricId) { ]; const seriesDetectionConditions = [ { - series: { city: "Manila", category: "Handmade" }, + seriesKey: { city: "Manila", category: "Handmade" }, conditionOperator: "AND", hardThresholdCondition: { anomalyDetectorDirection: "Up", @@ -138,7 +138,7 @@ async function updateDetectionConfig(adminClient, configId) { }, seriesGroupDetectionConditions: [ { - group: { city: "Manila" }, + groupKey: { city: "Manila" }, conditionOperator: "AND", hardThresholdCondition: { anomalyDetectorDirection: "Up", @@ -149,7 +149,7 @@ async function updateDetectionConfig(adminClient, configId) { ], seriesDetectionConditions: [ { - series: { city: "Manila", category: "Handmade" }, + seriesKey: { city: "Manila", category: "Handmade" }, conditionOperator: "OR", changeThresholdCondition: { anomalyDetectorDirection: "Both", @@ -162,8 +162,7 @@ async function updateDetectionConfig(adminClient, configId) { ] }; console.log(`Updating existing detection configuration '${configId}'`); - await adminClient.updateDetectionConfig(configId, patch); - const result = adminClient.getDetectionConfig(configId); + const result = await adminClient.updateDetectionConfig(configId, patch); console.log(result); return result; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/hooks.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/hooks.js index 21655d74db6e..8207f3778086 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/hooks.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/hooks.js @@ -89,8 +89,7 @@ async function updateEmailHook(client, hookId) { toList: ["test2@example.com", "test3@example.com"] } }; - await client.updateHook(hookId, emailPatch); - const response = await client.getHook(hookId); + const response = await client.updateHook(hookId, emailPatch); console.log(response); return response; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/incidentsAndAlerts.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/incidentsAndAlerts.js index 1b49d871ecc8..c1f7a754ffc4 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/incidentsAndAlerts.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/incidentsAndAlerts.js @@ -72,12 +72,12 @@ async function listAnomalyDimensionValues(client, detectionConfigId) { async function listIncidentsForDetectionConfig(client, detectionConfigId) { console.log(`Listing incidents for detection config '${detectionConfigId}'`); console.log(" using for-await-of syntax"); - const listIterator = client.listIncidents( + const listIterator = client.listIncidentsForDetectionConfiguration( detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), { - dimensionFilter: [{ city: "Manila", category: "Shoes Handbags & Sunglasses" }] + seriesGroupKeys: [{ city: "Manila", category: "Shoes Handbags & Sunglasses" }] } ); for await (const incident of listIterator) { @@ -93,7 +93,11 @@ async function listIncidentsForDetectionConfig(client, detectionConfigId) { console.log(` by pages`); const iterator = client - .listIncidents(detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020")) + .listIncidentsForDetectionConfiguration( + detectionConfigId, + new Date("10/22/2020"), + new Date("10/24/2020") + ) .byPage({ maxPageSize: 20 }); let result = await iterator.next(); @@ -114,7 +118,7 @@ async function listIncidentsForDetectionConfig(client, detectionConfigId) { async function listAnomaliesForDetectionConfig(client, detectionConfigId) { console.log(`Listing anomalies for detection config '${detectionConfigId}'`); - const listIterator = client.listAnomalies( + const listIterator = client.listAnomaliesForDetectionConfiguration( detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), @@ -136,9 +140,14 @@ async function listAnomaliesForDetectionConfig(client, detectionConfigId) { console.log(` by pages`); const iterator = client - .listAnomalies(detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), { - severityFilter: { min: "Medium", max: "High" } - }) + .listAnomaliesForDetectionConfiguration( + detectionConfigId, + new Date("10/22/2020"), + new Date("10/24/2020"), + { + severityFilter: { min: "Medium", max: "High" } + } + ) .byPage({ maxPageSize: 20 }); let result = await iterator.next(); @@ -208,7 +217,7 @@ async function listIncidentsForAlert(client, alertConfigId, alertId) { `Listing incidents for alert configuration '${alertConfigId}' and alert '${alertId}'` ); console.log(" using for-await-of syntax"); - const listIterator = client.listIncidents({ alertConfigId, id: alertId }); + const listIterator = client.listIncidentsForAlert({ alertConfigId, id: alertId }); for await (const incident of listIterator) { console.log(" Incident"); console.log(` id: ${incident.id}`); @@ -221,7 +230,9 @@ async function listIncidentsForAlert(client, alertConfigId, alertId) { } console.log(` by pages`); - const iterator = client.listIncidents({ alertConfigId, id: alertId }).byPage({ maxPageSize: 20 }); + const iterator = client + .listIncidentsForAlert({ alertConfigId, id: alertId }) + .byPage({ maxPageSize: 20 }); let result = await iterator.next(); while (!result.done) { @@ -244,7 +255,7 @@ async function listAnomaliesForAlert(client, alertConfigId, alertId) { `Listing anomalies for alert configuration '${alertConfigId}' and alert '${alertId}'` ); console.log(" using for-await-of syntax"); - const listIterator = client.listAnomalies({ alertConfigId, id: alertId }); + const listIterator = client.listAnomaliesForAlert({ alertConfigId, id: alertId }); for await (const anomaly of listIterator) { console.log(" Anomaly"); console.log(` timestamp: ${anomaly.timestamp}`); @@ -253,7 +264,9 @@ async function listAnomaliesForAlert(client, alertConfigId, alertId) { } console.log(` by pages`); - const iterator = client.listAnomalies({ alertConfigId, id: alertId }).byPage({ maxPageSize: 20 }); + const iterator = client + .listAnomaliesForAlert({ alertConfigId, id: alertId }) + .byPage({ maxPageSize: 20 }); let result = await iterator.next(); while (!result.done) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/metricFeedback.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/metricFeedback.js index 22b4797b5a96..de3dad02aa88 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/metricFeedback.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/metricFeedback.js @@ -40,7 +40,7 @@ async function provideAnomalyFeedback(client, metricId) { value: "NotAnomaly", dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(anomalyFeedback); + return await client.addFeedback(anomalyFeedback); } async function providePeriodFeedback(client, metricId) { @@ -52,7 +52,7 @@ async function providePeriodFeedback(client, metricId) { periodValue: 4, dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(periodFeedback); + return await client.addFeedback(periodFeedback); } async function provideChangePointFeedback(client, metricId) { @@ -64,7 +64,7 @@ async function provideChangePointFeedback(client, metricId) { value: "ChangePoint", dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(changePointFeedback); + return await client.addFeedback(changePointFeedback); } async function provideCommentFeedback(client, metricId) { @@ -75,7 +75,7 @@ async function provideCommentFeedback(client, metricId) { dimensionKey: { city: "Manila", category: "Handmade" }, comment: "This is a comment" }; - return await client.createFeedback(commendFeedback); + return await client.addFeedback(commendFeedback); } async function getFeedback(client, feedbackId) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/package.json b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/package.json index b41b4664df8d..9ebde40289ac 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/package.json @@ -26,7 +26,7 @@ }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor", "dependencies": { - "@azure/ai-metrics-advisor": "next", + "@azure/ai-metrics-advisor": "latest", "dotenv": "latest" } } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/quickstart.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/quickstart.js index 702ec997d49f..3572bdd03e09 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/quickstart.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/quickstart.js @@ -249,7 +249,7 @@ async function queryAnomaliesByAlert(client, alert) { console.log( `Listing anomalies for alert configuration '${alert.alertConfigId}' and alert '${alert.id}'` ); - const listIterator = client.listAnomalies(alert); + const listIterator = client.listAnomaliesForAlert(alert); for await (const anomaly of listIterator) { console.log( ` Anomaly ${anomaly.severity} ${anomaly.status} ${anomaly.seriesKey.dimension} ${anomaly.timestamp}` diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/sample.env b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/sample.env index 262d9f416c00..31e59787777d 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/sample.env +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/sample.env @@ -3,6 +3,13 @@ METRICS_ADVISOR_ENDPOINT=https://.cognitiveservices.azure.com/ METRICS_ADVISOR_SUBSCRIPTION_KEY= METRICS_ADVISOR_API_KEY= +# METRICS_ADVISOR_METRIC_ID= +# METRICS_ADVISOR_DETECTION_CONFIG_ID= +# METRICS_ADVISOR_HOOK_ID= +# METRICS_ADVISOR_DATAFEED_ID= +# METRICS_ADVISOR_INCIDENT_ID= +# METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING= +# METRICS_ADVISOR_AZURE_SQL_SERVER_QUERY= # Our tests assume that TEST_MODE is "playback" by default. You can # change it to "record" to generate new recordings, or "live" to bypass the recorder entirely. diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/seriesData.js b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/seriesData.js index f2deedc78da1..e1258231dd9b 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/seriesData.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/seriesData.js @@ -35,17 +35,17 @@ async function getEnrichedSeriesData(client, detectionConfigId) { try { const result = await client.getMetricEnrichedSeriesData( detectionConfigId, - new Date("09/01/2020"), - new Date("09/12/2020"), [ { city: "Manila", category: "Handmade" }, { city: "Shanghai", category: "Shoes Handbags & Sunglasses" } - ] + ], + new Date("09/01/2020"), + new Date("09/12/2020") ); for (const enriched of result) { console.log("enriched series:"); - console.log(enriched.series); + console.log(enriched.seriesKey); if (enriched.timestamps && enriched.timestamps.length > 0) { for (let i = 0; i < enriched.timestamps.length; i++) { console.log(" ----"); @@ -70,12 +70,12 @@ async function getMetricSeriesData(client, metricId) { try { const result = await client.getMetricSeriesData( metricId, - new Date("09/01/2020"), - new Date("09/12/2020"), [ { city: "Manila", category: "Handmade" }, { city: "Shanghai", category: "Shoes Handbags & Sunglasses" } - ] + ], + new Date("09/01/2020"), + new Date("09/12/2020") ); for (const series of result) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/package.json b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/package.json index 4e4e27d3cece..dbacb900c6d2 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/package.json @@ -30,7 +30,7 @@ }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor", "dependencies": { - "@azure/ai-metrics-advisor": "next", + "@azure/ai-metrics-advisor": "latest", "dotenv": "latest" }, "devDependencies": { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/sample.env b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/sample.env index 262d9f416c00..31e59787777d 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/sample.env +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/sample.env @@ -3,6 +3,13 @@ METRICS_ADVISOR_ENDPOINT=https://.cognitiveservices.azure.com/ METRICS_ADVISOR_SUBSCRIPTION_KEY= METRICS_ADVISOR_API_KEY= +# METRICS_ADVISOR_METRIC_ID= +# METRICS_ADVISOR_DETECTION_CONFIG_ID= +# METRICS_ADVISOR_HOOK_ID= +# METRICS_ADVISOR_DATAFEED_ID= +# METRICS_ADVISOR_INCIDENT_ID= +# METRICS_ADVISOR_SQL_SERVER_CONNECTION_STRING= +# METRICS_ADVISOR_AZURE_SQL_SERVER_QUERY= # Our tests assume that TEST_MODE is "playback" by default. You can # change it to "record" to generate new recordings, or "live" to bypass the recorder entirely. diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/alertingConfig.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/alertingConfig.ts index d6c21dc47373..0bac19e8ca0e 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/alertingConfig.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/alertingConfig.ts @@ -65,7 +65,7 @@ async function createAlertConfig( detectionConfigurationId: detectionConfigId, alertScope: { scopeType: "Dimension", - dimensionAnomalyScope: { city: "Manila", category: "Handmade" } + seriesGroupInScope: { city: "Manila", category: "Handmade" } } } ], @@ -100,7 +100,7 @@ async function updateAlertConfig( detectionConfigurationId: detectionConfigId, alertScope: { scopeType: "Dimension", - dimensionAnomalyScope: { + seriesGroupInScope: { city: "Kolkata", category: "Shoes Handbags & Sunglasses" } @@ -109,8 +109,7 @@ async function updateAlertConfig( ] }; console.log(`Updating alerting configuration ${detectionConfigId}`); - await adminClient.updateAlertConfig(alertConfigId, patch); - const updated = await adminClient.getAlertConfig(alertConfigId); + const updated = await adminClient.updateAlertConfig(alertConfigId, patch); return updated; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts index cc23cc0fdca0..a059fb5781d7 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts @@ -163,8 +163,7 @@ async function updateDataFeed(client: MetricsAdvisorAdministrationClient, dataFe try { console.log(`Updating datafeed ${dataFeedId}...`); - await client.updateDataFeed(dataFeedId, patch); - const updated = await client.getDataFeed(dataFeedId); + const updated = await client.updateDataFeed(dataFeedId, patch); console.dir(updated); } catch (err) { console.log("Error occurred when updating data feed"); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts index cfff021626e2..3df297155ccd 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts @@ -12,9 +12,9 @@ dotenv.config(); import { MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient, - GetCredentialEntityResponse, - DatasourceCredentialPatch, - SqlServerConnectionStringDatasourceCredential + GetDataSourceCredentialEntityResponse, + DataSourceCredentialPatch, + DataSourceSqlConnectionString } from "@azure/ai-metrics-advisor"; export async function main() { @@ -26,19 +26,19 @@ export async function main() { const adminClient = new MetricsAdvisorAdministrationClient(endpoint, credential); - const created = await createDatasourceCredential(adminClient); + const created = await createDataSourceCredential(adminClient); if (created.id) { - await getDatasourceCredential(adminClient, created.id); - await updateDatasourceCredential(adminClient, created.id); - await listDatasourceCredentials(adminClient); - await deleteDatasourceCredential(adminClient, created.id); + await getDataSourceCredential(adminClient, created.id); + await updateDataSourceCredential(adminClient, created.id); + await listDataSourceCredentials(adminClient); + await deleteDataSourceCredential(adminClient, created.id); } } -async function listDatasourceCredentials(client: MetricsAdvisorAdministrationClient) { - console.log("Listing Datasource credentials ..."); +async function listDataSourceCredentials(client: MetricsAdvisorAdministrationClient) { + console.log("Listing DataSource credentials ..."); console.log(" using while loop"); - const iter = client.listDatasourceCredential(); + const iter = client.listDataSourceCredential(); let result = await iter.next(); while (!result.done) { console.log(`id :${result.value.id}, name: ${result.value.name}`); @@ -47,7 +47,7 @@ async function listDatasourceCredentials(client: MetricsAdvisorAdministrationCli // second approach console.log(" using for-await-of loop"); - const iterator = client.listDatasourceCredential(); + const iterator = client.listDataSourceCredential(); for await (const datasourceCredential of iterator) { console.log( `id :${datasourceCredential.id}, name: ${datasourceCredential.name}, type: ${datasourceCredential.type}` @@ -56,7 +56,7 @@ async function listDatasourceCredentials(client: MetricsAdvisorAdministrationCli // by pages console.log(" by pages"); - const pages = client.listDatasourceCredential().byPage({ maxPageSize: 1 }); + const pages = client.listDataSourceCredential().byPage({ maxPageSize: 1 }); let page = await pages.next(); let i = 1; while (!page.done) { @@ -70,34 +70,34 @@ async function listDatasourceCredentials(client: MetricsAdvisorAdministrationCli } } -async function createDatasourceCredential( +async function createDataSourceCredential( client: MetricsAdvisorAdministrationClient -): Promise { - console.log("Creating Datasource credential..."); - const datasourceCredential: SqlServerConnectionStringDatasourceCredential = { +): Promise { + console.log("Creating DataSource credential..."); + const datasourceCredential: DataSourceSqlConnectionString = { name: "Sql-server-cred", description: "an example sql server credential", type: "AzureSQLConnectionString", connectionString: "connection-string" }; - const result = await client.createDatasourceCredential(datasourceCredential); + const result = await client.createDataSourceCredential(datasourceCredential); console.dir(result); return result; } -async function getDatasourceCredential( +async function getDataSourceCredential( client: MetricsAdvisorAdministrationClient, datasourceCredentialId: string ) { console.log("Retrieving datasourceCredential by id..."); - const result = await client.getDatasourceCredential(datasourceCredentialId); + const result = await client.getDataSourceCredential(datasourceCredentialId); console.log("datasource credential result is as follows - "); console.log(` id: ${result.id}`); console.log(` datasource credential type: ${result.type}`); console.log(` name: ${result.name}`); } -async function updateDatasourceCredential( +async function updateDataSourceCredential( client: MetricsAdvisorAdministrationClient, credentialId: string ) { @@ -106,12 +106,11 @@ async function updateDatasourceCredential( description: "updated-description", type: "AzureSQLConnectionString", connectionString: "connection-string" - } as DatasourceCredentialPatch; + } as DataSourceCredentialPatch; try { console.log(`Updating credential ${credentialId}...`); - await client.updateDatasourceCredential(credentialId, patch); - const updated = await client.getDataFeed(credentialId); + const updated = await client.updateDataSourceCredential(credentialId, patch); console.dir(updated); } catch (err) { console.log("Error occurred when updating credential"); @@ -119,12 +118,12 @@ async function updateDatasourceCredential( } } -async function deleteDatasourceCredential( +async function deleteDataSourceCredential( client: MetricsAdvisorAdministrationClient, credentialId: string ) { console.log(`Deleting datasource credential ${credentialId}...`); - await client.deleteDatasourceCredential(credentialId); + await client.deleteDataSourceCredential(credentialId); } main() diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/detectionConfig.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/detectionConfig.ts index 9d50179736e2..07c2ee7be3e8 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/detectionConfig.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/detectionConfig.ts @@ -91,7 +91,7 @@ async function createDetectionConfig( }; const seriesGroupDetectionConditions: MetricSeriesGroupDetectionCondition[] = [ { - group: { city: "Manila" }, + groupKey: { city: "Manila" }, conditionOperator: "AND", changeThresholdCondition: { anomalyDetectorDirection: "Both", @@ -104,7 +104,7 @@ async function createDetectionConfig( ]; const seriesDetectionConditions: MetricSingleSeriesDetectionCondition[] = [ { - series: { city: "Manila", category: "Handmade" }, + seriesKey: { city: "Manila", category: "Handmade" }, conditionOperator: "AND", hardThresholdCondition: { anomalyDetectorDirection: "Up", @@ -151,7 +151,7 @@ async function updateDetectionConfig( }, seriesGroupDetectionConditions: [ { - group: { city: "Manila" }, + groupKey: { city: "Manila" }, conditionOperator: "AND", hardThresholdCondition: { anomalyDetectorDirection: "Up", @@ -162,7 +162,7 @@ async function updateDetectionConfig( ], seriesDetectionConditions: [ { - series: { city: "Manila", category: "Handmade" }, + seriesKey: { city: "Manila", category: "Handmade" }, conditionOperator: "OR", changeThresholdCondition: { anomalyDetectorDirection: "Both", @@ -175,8 +175,7 @@ async function updateDetectionConfig( ] }; console.log(`Updating existing detection configuration '${configId}'`); - await adminClient.updateDetectionConfig(configId, patch); - const result = adminClient.getDetectionConfig(configId); + const result = await adminClient.updateDetectionConfig(configId, patch); console.log(result); return result; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/hooks.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/hooks.ts index d5de92b2b880..5e8a44790ceb 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/hooks.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/hooks.ts @@ -92,8 +92,7 @@ async function updateEmailHook(client: MetricsAdvisorAdministrationClient, hookI toList: ["test2@example.com", "test3@example.com"] } }; - await client.updateHook(hookId, emailPatch); - const response = await client.getHook(hookId); + const response = await client.updateHook(hookId, emailPatch); console.log(response); return response; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/incidentsAndAlerts.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/incidentsAndAlerts.ts index 5f38dc1f79bc..752344d33afc 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/incidentsAndAlerts.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/incidentsAndAlerts.ts @@ -75,12 +75,12 @@ async function listIncidentsForDetectionConfig( ) { console.log(`Listing incidents for detection config '${detectionConfigId}'`); console.log(" using for-await-of syntax"); - const listIterator = client.listIncidents( + const listIterator = client.listIncidentsForDetectionConfiguration( detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), { - dimensionFilter: [{ city: "Manila", category: "Shoes Handbags & Sunglasses" }] + seriesGroupKeys: [{ city: "Manila", category: "Shoes Handbags & Sunglasses" }] } ); for await (const incident of listIterator) { @@ -96,7 +96,11 @@ async function listIncidentsForDetectionConfig( console.log(` by pages`); const iterator = client - .listIncidents(detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020")) + .listIncidentsForDetectionConfiguration( + detectionConfigId, + new Date("10/22/2020"), + new Date("10/24/2020") + ) .byPage({ maxPageSize: 20 }); let result = await iterator.next(); @@ -120,7 +124,7 @@ async function listAnomaliesForDetectionConfig( detectionConfigId: string ) { console.log(`Listing anomalies for detection config '${detectionConfigId}'`); - const listIterator = client.listAnomalies( + const listIterator = client.listAnomaliesForDetectionConfiguration( detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), @@ -142,9 +146,14 @@ async function listAnomaliesForDetectionConfig( console.log(` by pages`); const iterator = client - .listAnomalies(detectionConfigId, new Date("10/22/2020"), new Date("10/24/2020"), { - severityFilter: { min: "Medium", max: "High" } - }) + .listAnomaliesForDetectionConfiguration( + detectionConfigId, + new Date("10/22/2020"), + new Date("10/24/2020"), + { + severityFilter: { min: "Medium", max: "High" } + } + ) .byPage({ maxPageSize: 20 }); let result = await iterator.next(); @@ -222,7 +231,7 @@ async function listIncidentsForAlert( `Listing incidents for alert configuration '${alertConfigId}' and alert '${alertId}'` ); console.log(" using for-await-of syntax"); - const listIterator = client.listIncidents({ alertConfigId, id: alertId }); + const listIterator = client.listIncidentsForAlert({ alertConfigId, id: alertId }); for await (const incident of listIterator) { console.log(" Incident"); console.log(` id: ${incident.id}`); @@ -235,7 +244,9 @@ async function listIncidentsForAlert( } console.log(` by pages`); - const iterator = client.listIncidents({ alertConfigId, id: alertId }).byPage({ maxPageSize: 20 }); + const iterator = client + .listIncidentsForAlert({ alertConfigId, id: alertId }) + .byPage({ maxPageSize: 20 }); let result = await iterator.next(); while (!result.done) { @@ -262,7 +273,7 @@ async function listAnomaliesForAlert( `Listing anomalies for alert configuration '${alertConfigId}' and alert '${alertId}'` ); console.log(" using for-await-of syntax"); - const listIterator = client.listAnomalies({ alertConfigId, id: alertId }); + const listIterator = client.listAnomaliesForAlert({ alertConfigId, id: alertId }); for await (const anomaly of listIterator) { console.log(" Anomaly"); console.log(` timestamp: ${anomaly.timestamp}`); @@ -271,7 +282,9 @@ async function listAnomaliesForAlert( } console.log(` by pages`); - const iterator = client.listAnomalies({ alertConfigId, id: alertId }).byPage({ maxPageSize: 20 }); + const iterator = client + .listAnomaliesForAlert({ alertConfigId, id: alertId }) + .byPage({ maxPageSize: 20 }); let result = await iterator.next(); while (!result.done) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/metricFeedback.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/metricFeedback.ts index 9580f3a87870..452299361631 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/metricFeedback.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/metricFeedback.ts @@ -47,7 +47,7 @@ async function provideAnomalyFeedback(client: MetricsAdvisorClient, metricId: st value: "NotAnomaly", dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(anomalyFeedback); + return await client.addFeedback(anomalyFeedback); } async function providePeriodFeedback(client: MetricsAdvisorClient, metricId: string) { @@ -59,7 +59,7 @@ async function providePeriodFeedback(client: MetricsAdvisorClient, metricId: str periodValue: 4, dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(periodFeedback); + return await client.addFeedback(periodFeedback); } async function provideChangePointFeedback(client: MetricsAdvisorClient, metricId: string) { @@ -71,7 +71,7 @@ async function provideChangePointFeedback(client: MetricsAdvisorClient, metricId value: "ChangePoint", dimensionKey: { city: "Manila", category: "Handmade" } }; - return await client.createFeedback(changePointFeedback); + return await client.addFeedback(changePointFeedback); } async function provideCommentFeedback(client: MetricsAdvisorClient, metricId: string) { @@ -82,7 +82,7 @@ async function provideCommentFeedback(client: MetricsAdvisorClient, metricId: st dimensionKey: { city: "Manila", category: "Handmade" }, comment: "This is a comment" }; - return await client.createFeedback(commendFeedback); + return await client.addFeedback(commendFeedback); } async function getFeedback(client: MetricsAdvisorClient, feedbackId: string) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts index ef829470a5a7..dd79a66c9a16 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts @@ -276,7 +276,7 @@ async function queryAnomaliesByAlert(client: MetricsAdvisorClient, alert: Anomal console.log( `Listing anomalies for alert configuration '${alert.alertConfigId}' and alert '${alert.id}'` ); - const listIterator = client.listAnomalies(alert); + const listIterator = client.listAnomaliesForAlert(alert); for await (const anomaly of listIterator) { console.log( ` Anomaly ${anomaly.severity} ${anomaly.status} ${anomaly.seriesKey.dimension} ${anomaly.timestamp}` diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/seriesData.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/seriesData.ts index faf08b2cee71..6cb67fea44a3 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/seriesData.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/seriesData.ts @@ -35,17 +35,17 @@ async function getEnrichedSeriesData(client: MetricsAdvisorClient, detectionConf try { const result = await client.getMetricEnrichedSeriesData( detectionConfigId, - new Date("09/01/2020"), - new Date("09/12/2020"), [ { city: "Manila", category: "Handmade" }, { city: "Shanghai", category: "Shoes Handbags & Sunglasses" } - ] + ], + new Date("09/01/2020"), + new Date("09/12/2020") ); for (const enriched of result) { console.log("enriched series:"); - console.log(enriched.series); + console.log(enriched.seriesKey); if (enriched.timestamps && enriched.timestamps.length > 0) { for (let i = 0; i < enriched.timestamps.length; i++) { console.log(" ----"); @@ -70,12 +70,12 @@ async function getMetricSeriesData(client: MetricsAdvisorClient, metricId: strin try { const result = await client.getMetricSeriesData( metricId, - new Date("09/01/2020"), - new Date("09/12/2020"), [ { city: "Manila", category: "Handmade" }, { city: "Shanghai", category: "Shoes Handbags & Sunglasses" } - ] + ], + new Date("09/01/2020"), + new Date("09/12/2020") ); for (const series of result) { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/index.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/index.ts index 5d45f053674e..444c049becdb 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/index.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/index.ts @@ -127,8 +127,11 @@ export interface MetricAlertingConfiguration { /** Negation operation */ negationOperation?: boolean; dimensionAnomalyScope?: DimensionGroupIdentity; + /** Group Scope for Top N values */ topNAnomalyScope?: TopNGroupScope; + /** Alert Severity Condition */ severityFilter?: SeverityCondition; + /** Represents Conditions to snooze Alerts */ snoozeFilter?: AlertSnoozeCondition; valueFilter?: ValueCondition; } @@ -138,6 +141,7 @@ export interface DimensionGroupIdentity { dimension: { [propertyName: string]: string }; } +/** Group Scope for Top N values */ export interface TopNGroupScope { /** top N, value range : [1, +∞) */ top: number; @@ -151,6 +155,7 @@ export interface TopNGroupScope { minTopCount: number; } +/** Alert Severity Condition */ export interface SeverityCondition { /** min alert severity */ minAlertSeverity: Severity; @@ -158,6 +163,7 @@ export interface SeverityCondition { maxAlertSeverity: Severity; } +/** Represents Conditions to snooze Alerts */ export interface AlertSnoozeCondition { /** snooze point count, value range : [0, +∞) */ autoSnooze: number; @@ -409,19 +415,23 @@ export interface WholeMetricConfiguration { * should be specified when combining multiple detection conditions */ conditionOperator?: AnomalyDetectionConfigurationLogicType; + /** Represents Smart Condition */ smartDetectionCondition?: SmartDetectionCondition; hardThresholdCondition?: HardThresholdCondition; changeThresholdCondition?: ChangeThresholdCondition; } +/** Represents Smart Condition */ export interface SmartDetectionCondition { /** sensitivity, value range : (0, 100] */ sensitivity: number; /** detection direction */ anomalyDetectorDirection: AnomalyDetectorDirection; + /** Represents Suppress Condition */ suppressCondition: SuppressCondition; } +/** Represents Suppress Condition */ export interface SuppressCondition { /** min point number, value range : [1, +∞) */ minNumber: number; @@ -444,6 +454,7 @@ export interface HardThresholdCondition { upperBound?: number; /** detection direction */ anomalyDetectorDirection: AnomalyDetectorDirection; + /** Represents Suppress Condition */ suppressCondition: SuppressCondition; } @@ -459,6 +470,7 @@ export interface ChangeThresholdCondition { withinRange: boolean; /** detection direction */ anomalyDetectorDirection: AnomalyDetectorDirection; + /** Represents Suppress Condition */ suppressCondition: SuppressCondition; } @@ -470,6 +482,7 @@ export interface DimensionGroupConfiguration { * should be specified when combining multiple detection conditions */ conditionOperator?: AnomalyDetectionConfigurationLogicType; + /** Represents Smart Condition */ smartDetectionCondition?: SmartDetectionCondition; hardThresholdCondition?: HardThresholdCondition; changeThresholdCondition?: ChangeThresholdCondition; @@ -483,6 +496,7 @@ export interface SeriesConfiguration { * should be specified when combining multiple detection conditions */ conditionOperator?: AnomalyDetectionConfigurationLogicType; + /** Represents Smart Condition */ smartDetectionCondition?: SmartDetectionCondition; hardThresholdCondition?: HardThresholdCondition; changeThresholdCondition?: ChangeThresholdCondition; @@ -609,9 +623,11 @@ export interface DetectionAnomalyResultQuery { export interface DetectionAnomalyFilterCondition { /** dimension filter */ dimensionFilter?: DimensionGroupIdentity[]; + /** Represents Conditions to filter severity */ severityFilter?: SeverityFilterCondition; } +/** Represents Conditions to filter severity */ export interface SeverityFilterCondition { /** min severity */ min: Severity; @@ -982,6 +998,7 @@ export interface IngestionStatusList { readonly value?: IngestionStatus[]; } +/** Ingestion Status */ export interface IngestionStatus { /** * data slice timestamp. @@ -1007,6 +1024,7 @@ export interface IngestionProgressResetOptions { endTime: Date; } +/** Track the progress for Datafeed Ingestion */ export interface DataFeedIngestionProgress { /** * the timestamp of latest success ingestion job. @@ -1132,19 +1150,19 @@ export interface EnrichmentStatus { export interface AzureSQLConnectionStringParam { /** The connection string to access the Azure SQL. */ - connectionString: string; + connectionString?: string; } export interface DataLakeGen2SharedKeyParam { /** The account key to access the Azure Data Lake Storage Gen2. */ - accountKey: string; + accountKey?: string; } export interface ServicePrincipalParam { /** The client id of the service principal. */ clientId: string; /** The client secret of the service principal. */ - clientSecret: string; + clientSecret?: string; /** The tenant id of the service principal. */ tenantId: string; } @@ -1155,7 +1173,7 @@ export interface ServicePrincipalInKVParam { /** The Client Id to access the Key Vault. */ keyVaultClientId: string; /** The Client Secret to access the Key Vault. */ - keyVaultClientSecret: string; + keyVaultClientSecret?: string; /** The secret name of the service principal's client Id in the Key Vault. */ servicePrincipalIdNameInKV: string; /** The secret name of the service principal's client secret in the Key Vault. */ @@ -1422,6 +1440,7 @@ export interface PeriodFeedbackValue { periodValue: number; } +/** Parameters for Email Hook */ export interface EmailHookParameter { /** Email TO: list. */ toList: string[]; @@ -1708,6 +1727,7 @@ export type PeriodFeedback = MetricFeedback & { export type EmailHookInfo = HookInfo & { /** Polymorphic discriminator, which specifies the different types this object can be */ hookType: "Email"; + /** Parameters for Email Hook */ hookParameter: EmailHookParameter; }; @@ -1816,7 +1836,6 @@ export type Granularity = | "Daily" | "Hourly" | "Minutely" - | "Secondly" | "Custom"; /** Defines values for EntityStatus. */ export type EntityStatus = "Active" | "Paused"; diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/mappers.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/mappers.ts index 810fe6e34f8f..fd16aec04ad3 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/mappers.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/mappers.ts @@ -2047,7 +2047,6 @@ export const DataFeedDetail: coreHttp.CompositeMapper = { "Daily", "Hourly", "Minutely", - "Secondly", "Custom" ] } @@ -3327,7 +3326,6 @@ export const AzureSQLConnectionStringParam: coreHttp.CompositeMapper = { modelProperties: { connectionString: { serializedName: "connectionString", - required: true, type: { name: "String" } @@ -3343,7 +3341,6 @@ export const DataLakeGen2SharedKeyParam: coreHttp.CompositeMapper = { modelProperties: { accountKey: { serializedName: "accountKey", - required: true, type: { name: "String" } @@ -3366,7 +3363,6 @@ export const ServicePrincipalParam: coreHttp.CompositeMapper = { }, clientSecret: { serializedName: "clientSecret", - required: true, type: { name: "String" } @@ -3403,7 +3399,6 @@ export const ServicePrincipalInKVParam: coreHttp.CompositeMapper = { }, keyVaultClientSecret: { serializedName: "keyVaultClientSecret", - required: true, type: { name: "String" } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/parameters.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/parameters.ts index 3fb0143059e9..0df4e5a6357b 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/parameters.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/generated/models/parameters.ts @@ -262,7 +262,6 @@ export const granularityName: OperationQueryParameter = { "Daily", "Hourly", "Minutely", - "Secondly", "Custom" ] } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts index 4d9e92f078ca..fe7014943516 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts @@ -23,7 +23,7 @@ import { GeneratedClient } from "./generated/generatedClient"; import { IngestionStatus, DataFeedGranularity, - DataFeed, + MetricsAdvisorDataFeed, DataFeedPatch, WebNotificationHook, EmailNotificationHook, @@ -32,11 +32,11 @@ import { AnomalyDetectionConfiguration, AnomalyDetectionConfigurationPatch, GetDataFeedResponse, - GetAnomalyDetectionConfigurationResponse, - GetAnomalyAlertConfigurationResponse, + GetDetectionConfigResponse, + GetAlertConfigResponse, GetHookResponse, NotificationHookUnion, - DataFeedRollupMethod, + DataFeedAutoRollupMethod, DataFeedsPageResponse, IngestionStatusPageResponse, AlertConfigurationsPageResponse, @@ -45,10 +45,10 @@ import { DataFeedStatus, GetIngestionProgressResponse, AnomalyAlertConfiguration, - DatasourceCredentialUnion, - DatasourceCredentialPatch, + DataSourceCredentialEntityUnion, + DataSourceCredentialPatch, CredentialsPageResponse, - GetCredentialEntityResponse + GetDataSourceCredentialEntityResponse } from "./models"; import { DataSourceType, HookInfoUnion, NeedRollupEnum } from "./generated/models"; import { @@ -97,7 +97,7 @@ export interface ListHooksOptions extends OperationOptions { /** * Options for listing data source credentials */ -export interface ListDatasourceCredentialsOptions extends OperationOptions { +export interface ListDataSourceCredentialsOptions extends OperationOptions { /** Number of items to skip */ skip?: number; } @@ -137,7 +137,7 @@ export interface ListDataFeedsOptions extends OperationOptions { * describes the input to Create Data Feed operation */ export type DataFeedDescriptor = Omit< - DataFeed, + MetricsAdvisorDataFeed, "id" | "metricIds" | "isAdmin" | "status" | "creator" | "createdOn" >; @@ -239,7 +239,7 @@ export class MetricsAdvisorAdministrationClient { rollupSettings?.rollupType === "AutoRollup" || rollupSettings?.rollupType === "AlreadyRollup" ? rollupSettings.rollupIdentificationValue : undefined; - const rollUpMethod: DataFeedRollupMethod | undefined = + const rollUpMethod: DataFeedAutoRollupMethod | undefined = rollupSettings?.rollupType === "AutoRollup" ? rollupSettings.rollupMethod : undefined; const fillMissingPointType = missingDataPointFillSettings?.fillType; const fillMissingPointValue = @@ -307,7 +307,7 @@ export class MetricsAdvisorAdministrationClient { try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); const result = await this.client.getDataFeedById(id, requestOptions); - const resultDataFeed: DataFeed = fromServiceDataFeedDetailUnion(result); + const resultDataFeed: MetricsAdvisorDataFeed = fromServiceDataFeedDetailUnion(result); return { ...resultDataFeed, _response: result._response }; } catch (e) { span.setStatus({ @@ -374,7 +374,7 @@ export class MetricsAdvisorAdministrationClient { */ public listDataFeeds( options: ListDataFeedsOptions = {} - ): PagedAsyncIterableIterator { + ): PagedAsyncIterableIterator { const iter = this.listItemsOfDataFeeds(options); return { /** @@ -403,7 +403,7 @@ export class MetricsAdvisorAdministrationClient { private async *listItemsOfDataFeeds( options: ListDataFeedsOptions - ): AsyncIterableIterator { + ): AsyncIterableIterator { for await (const segment of this.listSegmentsOfDataFeeds(options)) { if (segment) { yield* segment; @@ -472,7 +472,7 @@ export class MetricsAdvisorAdministrationClient { dataFeedId: string, patch: DataFeedPatch, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateDataFeed", options @@ -511,7 +511,9 @@ export class MetricsAdvisorAdministrationClient { status: patch.status, actionLinkTemplate: patch.actionLinkTemplate }; - return await this.client.updateDataFeed(dataFeedId, patchBody, requestOptions); + const result = await this.client.updateDataFeed(dataFeedId, patchBody, requestOptions); + const resultDataFeed: MetricsAdvisorDataFeed = fromServiceDataFeedDetailUnion(result); + return { ...resultDataFeed, _response: result._response }; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -558,7 +560,7 @@ export class MetricsAdvisorAdministrationClient { public async createDetectionConfig( config: Omit, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-createDetectionConfig", options @@ -596,7 +598,7 @@ export class MetricsAdvisorAdministrationClient { public async getDetectionConfig( id: string, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-getDetectionConfig", options @@ -631,7 +633,7 @@ export class MetricsAdvisorAdministrationClient { id: string, patch: AnomalyDetectionConfigurationPatch, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateDetectionConfig", options @@ -640,7 +642,15 @@ export class MetricsAdvisorAdministrationClient { try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); const transformed = toServiceAnomalyDetectionConfigurationPatch(patch); - return await this.client.updateAnomalyDetectionConfiguration(id, transformed, requestOptions); + const result = await this.client.updateAnomalyDetectionConfiguration( + id, + transformed, + requestOptions + ); + return { + ...fromServiceAnomalyDetectionConfiguration(result), + _response: result._response + }; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -689,7 +699,7 @@ export class MetricsAdvisorAdministrationClient { public async createAlertConfig( config: Omit, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-createAlertConfig", options @@ -728,7 +738,7 @@ export class MetricsAdvisorAdministrationClient { id: string, patch: Partial>, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateAlertConfig", options @@ -737,7 +747,12 @@ export class MetricsAdvisorAdministrationClient { try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); const transformed = toServiceAlertConfigurationPatch(patch); - return await this.client.updateAnomalyAlertingConfiguration(id, transformed, requestOptions); + const result = await this.client.updateAnomalyAlertingConfiguration( + id, + transformed, + requestOptions + ); + return { ...fromServiceAlertConfiguration(result), _response: result._response }; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -758,7 +773,7 @@ export class MetricsAdvisorAdministrationClient { public async getAlertConfig( id: string, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-getAlertConfig", options @@ -1132,14 +1147,18 @@ export class MetricsAdvisorAdministrationClient { id: string, patch: EmailNotificationHookPatch | WebNotificationHookPatch, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateHook", options ); try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); - return await this.client.updateHook(id, patch, requestOptions); + const result = await this.client.updateHook(id, patch, requestOptions); + const resultHookResponse: NotificationHookUnion = fromServiceHookInfoUnion( + result._response.parsedBody + ); + return { ...resultHookResponse, _response: result._response }; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -1560,29 +1579,28 @@ export class MetricsAdvisorAdministrationClient { /** * Creates data source credential for the given id - * @param datasourceCredential - the credential entity object to create + * @param dataSourceCredential - the credential entity object to create * @param options - The options parameter */ - - public async createDatasourceCredential( - datasourceCredential: DatasourceCredentialUnion, + public async createDataSourceCredential( + dataSourceCredential: DataSourceCredentialEntityUnion, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( - "MetricsAdvisorAdministrationClient-createDatasourceCredential", + "MetricsAdvisorAdministrationClient-createDataSourceCredential", options ); try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); // transformation - const transformedCred = toServiceCredential(datasourceCredential); + const transformedCred = toServiceCredential(dataSourceCredential); const result = await this.client.createCredential(transformedCred, requestOptions); if (!result.location) { throw new Error("Expected a valid location to retrieve the created credential entity"); } const lastSlashIndex = result.location.lastIndexOf("/"); const credEntityId = result.location.substring(lastSlashIndex + 1); - return this.getDatasourceCredential(credEntityId); + return this.getDataSourceCredential(credEntityId); } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -1600,12 +1618,12 @@ export class MetricsAdvisorAdministrationClient { * @param options - The options parameter */ - public async getDatasourceCredential( + public async getDataSourceCredential( id: string, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( - "MetricsAdvisorAdministrationClient-getDatasourceCredential", + "MetricsAdvisorAdministrationClient-getDataSourceCredential", options ); try { @@ -1634,18 +1652,18 @@ export class MetricsAdvisorAdministrationClient { * ```js * const client = new MetricsAdvisorAdministrationClient(endpoint, * new MetricsAdvisorKeyCredential(subscriptionKey, apiKey)); - * const datasourceCredentialList = client.listDatasourceCredential(); + * const dataSourceCredentialList = client.listDataSourceCredential(); * let i = 1; - * for await (const datasourceCredential of datasourceCredentialList){ - * console.log(`datasourceCredential ${i++}:`); - * console.log(datasourceCredential); + * for await (const dataSourceCredential of dataSourceCredentialList){ + * console.log(`dataSourceCredential ${i++}:`); + * console.log(dataSourceCredential); * } * ``` * * Example using `iter.next()`: * * ```js - * let iter = client.listDatasourceCredential(); + * let iter = client.listDataSourceCredential(); * let result = await iter.next(); * while (!result.done) { * console.dir(result); @@ -1656,14 +1674,14 @@ export class MetricsAdvisorAdministrationClient { * Example using `byPage()`: * * ```js - * const pages = client.listDatasourceCredential().byPage({ maxPageSize: 2 }); + * const pages = client.listDataSourceCredential().byPage({ maxPageSize: 2 }); * let page = await pages.next(); * let i = 1; * while (!page.done) { * if (page.value) { * console.log(`-- page ${i++}`); * for (const credential of page.value) { - * console.log("datasource credential-"); + * console.log("dataSource credential-"); * console.dir(credential); * } * } @@ -1671,10 +1689,10 @@ export class MetricsAdvisorAdministrationClient { * } * ``` */ - public listDatasourceCredential( - options: ListDatasourceCredentialsOptions = {} - ): PagedAsyncIterableIterator { - const iter = this.listItemsOfDatasourceCredentials(options); + public listDataSourceCredential( + options: ListDataSourceCredentialsOptions = {} + ): PagedAsyncIterableIterator { + const iter = this.listItemsOfDataSourceCredentials(options); return { /** * The next method, part of the iteration protocol @@ -1700,9 +1718,9 @@ export class MetricsAdvisorAdministrationClient { }; } - private async *listItemsOfDatasourceCredentials( - options: ListDatasourceCredentialsOptions - ): AsyncIterableIterator { + private async *listItemsOfDataSourceCredentials( + options: ListDataSourceCredentialsOptions + ): AsyncIterableIterator { for await (const segment of this.listSegmentsOfCredentialEntities(options)) { if (segment) { yield* segment; @@ -1711,7 +1729,7 @@ export class MetricsAdvisorAdministrationClient { } private async *listSegmentsOfCredentialEntities( - options: ListDatasourceCredentialsOptions & { maxPageSize?: number }, + options: ListDataSourceCredentialsOptions & { maxPageSize?: number }, continuationToken?: string ): AsyncIterableIterator { let segmentResponse; @@ -1763,22 +1781,24 @@ export class MetricsAdvisorAdministrationClient { * @param patch - Input to the update credential entity operation {@link DataSourceCredentialPatch} * @param options - The options parameter */ - public async updateDatasourceCredential( + public async updateDataSourceCredential( id: string, - patch: DatasourceCredentialPatch, + patch: DataSourceCredentialPatch, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateDataSourceCredential", options ); try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); - return await this.client.updateCredential( + const result = await this.client.updateCredential( id, toServiceCredentialPatch(patch), requestOptions ); + const resultCred = fromServiceCredential(result); + return { ...resultCred, _response: result._response }; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -1795,7 +1815,7 @@ export class MetricsAdvisorAdministrationClient { * @param id - id of the credential entity to delete * @param options - The options parameter */ - public async deleteDatasourceCredential( + public async deleteDataSourceCredential( id: string, options: OperationOptions = {} ): Promise { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts index 0b61639d5df2..1e038aae8b55 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts @@ -51,7 +51,7 @@ export interface MetricsAdvisorClientOptions extends PipelineOptions {} */ export interface ListIncidentsForDetectionConfigurationOptions extends OperationOptions { /** Dimension Filter */ - dimensionFilter?: DimensionKey[]; // lifted + seriesGroupKeys?: DimensionKey[]; // lifted } /** @@ -66,7 +66,7 @@ export interface ListAnomaliesForDetectionConfigurationOptions extends Operation /** Number of items to skip */ skip?: number; /** Dimension Filter */ - dimensionFilter?: DimensionKey[]; + seriesGroupKeys?: DimensionKey[]; /** Severity Filter */ severityFilter?: SeverityFilterCondition; } @@ -93,7 +93,8 @@ export interface ListIncidentsForAlertOptions extends OperationOptions { export interface ListAnomalyDimensionValuesOptions extends OperationOptions { /** Number of items to skip */ skip?: number; - dimensionFilter?: DimensionKey; + /** Specify series group to filter results */ + seriesGroupKey?: DimensionKey; } /** @@ -106,7 +107,7 @@ export interface ListFeedbackOptions extends OperationOptions { * filter when listing feedbacks */ filter?: { - dimensionFilter?: DimensionKey; + dimensionKey?: DimensionKey; /** * filter feedbacks by type */ @@ -517,7 +518,57 @@ export class MetricsAdvisorClient { } } - private listAnomaliesForAlert( + /** + * Returns an async iterable iterator to list anamolies associated with an alert + * + * `.byPage()` returns an async iterable iterator to list the anomalies in pages. + * + * Example using `for await` syntax: + * + * ```js + * const client = new MetricsAdvisorClient(endpoint, + * new MetricsAdvisorKeyCredential(subscriptionKey, apiKey)); + * const anamolyList = client.listAnomaliesForAlert({alertConfigId, id: alertId}); + * let i = 1; + * for await (const anamoly of anamolyList){ + * console.log(`anamoly ${i++}:`); + * console.log(anamoly); + * } + * ``` + * + * Example using `iter.next()`: + * + * ```js + * let iter = client.listAnomaliesForAlert({alertConfigId, id: alertId}); + * let result = await iter.next(); + * while (!result.done) { + * console.log(` anamoly - ${result.value.metricId}, ${result.value.detectionConfigurationId} `); + * result = await iter.next(); + * } + * ``` + * + * Example using `byPage()`: + * + * ```js + * const pages = client.listAnomaliesForAlert({alertConfigId, id: alertId}).byPage({ maxPageSize: 10 }); + * let page = await pages.next(); + * let i = 1; + * while (!page.done) { + * if (page.value) { + * console.log(`-- page ${i++}`); + * for (const anomaly of page.value) { + * console.log(`${anomaly}`); + * } + * } + * page = await pages.next(); + * } + * + * ``` + * @param alert - Anomaly alert containing alertConfigId and id + * @param options - The options parameter. + */ + + public listAnomaliesForAlert( alert: AnomalyAlert, options: ListAnomaliesForAlertConfigurationOptions = {} ): PagedAsyncIterableIterator { @@ -661,7 +712,7 @@ export class MetricsAdvisorClient { * ```js * const client = new MetricsAdvisorClient(endpoint, * new MetricsAdvisorKeyCredential(subscriptionKey, apiKey)); - * const incidentList = client.listIncidents(anomalyAlert); + * const incidentList = client.listIncidentsForAlert(anomalyAlert); * let i = 1; * for await (const incident of incidentList){ * console.log(`incident ${i++}:`); @@ -672,7 +723,7 @@ export class MetricsAdvisorClient { * Example using `iter.next()`: * * ```js - * let iter = client.listIncidents(anomalyAlert); + * let iter = client.listIncidentsForAlert(anomalyAlert); * let result = await iter.next(); * while (!result.done) { * console.log(` incident - ${result.value.id}`); @@ -684,7 +735,7 @@ export class MetricsAdvisorClient { * Example using `byPage()`: * * ```js - * const pages = client.listIncidents(anomalyAlert).byPage({ maxPageSize: 10 }); + * const pages = client.listIncidentsForAlert(anomalyAlert).byPage({ maxPageSize: 10 }); * let page = await pages.next(); * let i = 1; * while (!page.done) { @@ -700,100 +751,7 @@ export class MetricsAdvisorClient { * @param alert - Anomaly alert containing alertConfigId and id * @param options - The options parameter. */ - public listIncidents( - alert: AnomalyAlert, - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: ListIncidentsForAlertOptions - ): PagedAsyncIterableIterator; - /** - * Returns an async iterable iterator to list incidents for an anomaly detection configuration. - * - * `.byPage()` returns an async iterable iterator to list the incidents in pages. - * - * Example using `for await` syntax: - * - * ```js - * const client = new MetricsAdvisorClient(endpoint, - * new MetricsAdvisorKeyCredential(subscriptionKey, apiKey)); - * const incidentList = client - * .listIncidents(detectionConfigId, startTime, endTime); - * let i = 1; - * for await (const incident of incidentList){ - * console.log(`incident ${i++}:`); - * console.log(incident); - * } - * ``` - * - * Example using `iter.next()`: - * - * ```js - * let iter = client.listIncidents(detectionConfigId, startTime, endTime); - * let result = await iter.next(); - * while (!result.done) { - * console.log(` incident - ${result.value.id}`); - * console.dir(result.value); - * result = await iter.next(); - * } - * ``` - * - * Example using `byPage()`: - * - * ```js - * const pages = client.listIncidents(detectionConfigId, startTime, endTime) - * .byPage({ maxPageSize: 10 }); - * let page = await pages.next(); - * let i = 1; - * while (!page.done) { - * if (page.value) { - * console.log(`-- page ${i++}`); - * for (const incident of page.value) { - * console.dir(incident); - * } - * } - * page = await pages.next(); - * } - * ``` - * @param detectionConfigId - Anomaly detection configuration id - * @param startTime - The start of time range to query for incidents - * @param endTime - The end of time range to query for incidents - * @param options - The options parameter. - */ - public listIncidents( - detectionConfigId: string, - startTime: Date | string, - endTime: Date | string, - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: ListIncidentsForDetectionConfigurationOptions - ): PagedAsyncIterableIterator; - - public listIncidents( - alertOrDetectionConfigId: AnomalyAlert | string, - optionsOrStartTime?: ListIncidentsForAlertOptions | Date | string, - endTime?: Date | string, - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: ListIncidentsForDetectionConfigurationOptions - ): PagedAsyncIterableIterator { - if (typeof alertOrDetectionConfigId === "string") { - if (!optionsOrStartTime || !endTime) { - throw new Error("Invalid startTime or endTime"); - } - return this.listIncidentsForDetectionConfiguration( - alertOrDetectionConfigId, - typeof optionsOrStartTime === "string" - ? new Date(optionsOrStartTime) - : (optionsOrStartTime as Date), - typeof endTime === "string" ? new Date(endTime) : endTime, - options || {} - ); - } else { - return this.listIncidentsForAlert( - alertOrDetectionConfigId as AnomalyAlert, - (optionsOrStartTime || {}) as ListIncidentsForAlertOptions - ); - } - } - - private listIncidentsForAlert( + public listIncidentsForAlert( alert: AnomalyAlert, options: ListIncidentsForAlertOptions = {} ): PagedAsyncIterableIterator { @@ -832,20 +790,20 @@ export class MetricsAdvisorClient { * @param detectionConfigId - Anomaly detection configuration id * @param startTime - The start of time range to query metric enriched series data * @param endTime - The end of time range to query metric enriched series data - * @param seriesToFilter - Series to retrieve their data + * @param seriesKey - Series to retrieve their data * @param options - The options parameter. */ public async getMetricEnrichedSeriesData( detectionConfigId: string, + seriesKey: DimensionKey[], startTime: Date | string, endTime: Date | string, - seriesToFilter: DimensionKey[], options: GetMetricEnrichedSeriesDataOptions = {} ): Promise { const optionsBody = { startTime: typeof startTime === "string" ? new Date(startTime) : startTime, endTime: typeof endTime === "string" ? new Date(endTime) : endTime, - series: seriesToFilter.map((s) => { + series: seriesKey.map((s) => { return { dimension: s }; }) }; @@ -856,7 +814,7 @@ export class MetricsAdvisorClient { ); const results = result.value.map((d) => { return { - series: d.series.dimension, + seriesKey: d.series.dimension, timestamps: d.timestampList, values: d.valueList, expectedValues: d.expectedValueList, @@ -889,9 +847,9 @@ export class MetricsAdvisorClient { startTime: startTime, endTime: endTime, filter: - options.dimensionFilter || options.severityFilter + options.seriesGroupKeys || options.severityFilter ? { - dimensionFilter: options.dimensionFilter?.map((d) => { + dimensionFilter: options.seriesGroupKeys?.map((d) => { return { dimension: d }; }), severityFilter: options.severityFilter @@ -985,102 +943,6 @@ export class MetricsAdvisorClient { } } - private listAnomaliesForDetectionConfiguration( - detectionConfigId: string, - startTime: Date, - endTime: Date, - options: ListAnomaliesForDetectionConfigurationOptions = {} - ): PagedAsyncIterableIterator { - const iter = this.listItemsOfAnomaliesForDetectionConfig( - detectionConfigId, - startTime, - endTime, - options - ); - return { - /** - * The next method, part of the iteration protocol - */ - next() { - return iter.next(); - }, - /** - * The connection to the async iterator, part of the iteration protocol - */ - [Symbol.asyncIterator]() { - return this; - }, - /** - * @returns An AsyncIterableIterator that works a page at a time - */ - byPage: (settings: PageSettings = {}) => { - return this.listSegmentsOfAnomaliesForDetectionConfig( - detectionConfigId, - startTime, - endTime, - settings.maxPageSize, - settings.continuationToken, - options - ); - } - }; - } - - /** - * Returns an async iterable iterator to list anamolies associated with an alert - * - * `.byPage()` returns an async iterable iterator to list the anomalies in pages. - * - * Example using `for await` syntax: - * - * ```js - * const client = new MetricsAdvisorClient(endpoint, - * new MetricsAdvisorKeyCredential(subscriptionKey, apiKey)); - * const anamolyList = client.listAnomalies({alertConfigId, id: alertId}); - * let i = 1; - * for await (const anamoly of anamolyList){ - * console.log(`anamoly ${i++}:`); - * console.log(anamoly); - * } - * ``` - * - * Example using `iter.next()`: - * - * ```js - * let iter = client.listAnomalies({alertConfigId, id: alertId}); - * let result = await iter.next(); - * while (!result.done) { - * console.log(` anamoly - ${result.value.metricId}, ${result.value.detectionConfigurationId} `); - * result = await iter.next(); - * } - * ``` - * - * Example using `byPage()`: - * - * ```js - * const pages = client.listAnomalies({alertConfigId, id: alertId}).byPage({ maxPageSize: 10 }); - * let page = await pages.next(); - * let i = 1; - * while (!page.done) { - * if (page.value) { - * console.log(`-- page ${i++}`); - * for (const anomaly of page.value) { - * console.log(`${anomaly}`); - * } - * } - * page = await pages.next(); - * } - * - * ``` - * @param alert - Anomaly alert containing alertConfigId and id - * @param options - The options parameter. - */ - public listAnomalies( - alert: AnomalyAlert, - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: ListAnomaliesForAlertConfigurationOptions - ): PagedAsyncIterableIterator; - /** * Returns an async iterable iterator to list anomalies for a detection configuration. * @@ -1091,7 +953,7 @@ export class MetricsAdvisorClient { * ```js * const client = new MetricsAdvisorClient(endpoint, * new MetricsAdvisorKeyCredential(subscriptionKey, apiKey)); - * const anomalies = client.listAnomalies(detectionConfigId, startTime, endTime); + * const anomalies = client.listAnomaliesForDetectionConfiguration(detectionConfigId, startTime, endTime); * let i = 1; * for await (const anomaly of anomalies) { * console.log(`anomaly ${i++}:`); @@ -1102,7 +964,7 @@ export class MetricsAdvisorClient { * Example using `iter.next()`: * * ```js - * let iter = client.listAnomalies(detectionConfigId, startTime, endTime); + * let iter = client.listAnomaliesForDetectionConfiguration(detectionConfigId, startTime, endTime); * let result = await iter.next(); * while (!result.done) { * console.log(` anomaly - ${result.value.severity} ${result.value.status}`); @@ -1114,7 +976,7 @@ export class MetricsAdvisorClient { * Example using `byPage()`: * * ```js - * const pages = client.listAnomalies(detectionConfigId, startTime, endTime) + * const pages = client.listAnomaliesForDetectionConfiguration(detectionConfigId, startTime, endTime) * .byPage({ maxPageSize: 10 }); * let page = await pages.next(); * let i = 1; @@ -1134,38 +996,47 @@ export class MetricsAdvisorClient { * @param endTime - The end of time range to query anomalies * @param options - The options parameter. */ - public listAnomalies( + public listAnomaliesForDetectionConfiguration( detectionConfigId: string, startTime: Date | string, endTime: Date | string, - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: ListAnomaliesForDetectionConfigurationOptions - ): PagedAsyncIterableIterator; - public listAnomalies( - alertOrDetectionConfigId: AnomalyAlert | string, - optionsOrStartTime?: ListAnomaliesForAlertConfigurationOptions | Date | string, - endTime?: Date | string, - // eslint-disable-next-line @azure/azure-sdk/ts-naming-options - options?: ListAnomaliesForDetectionConfigurationOptions + options: ListAnomaliesForDetectionConfigurationOptions = {} ): PagedAsyncIterableIterator { - if (typeof alertOrDetectionConfigId === "string") { - if (!optionsOrStartTime || !endTime) { - throw new Error("Invalid startTime or endTime"); + const start: Date = typeof startTime === "string" ? new Date(startTime) : startTime; + const end: Date = typeof endTime === "string" ? new Date(endTime) : endTime; + const iter = this.listItemsOfAnomaliesForDetectionConfig( + detectionConfigId, + start, + end, + options + ); + return { + /** + * The next method, part of the iteration protocol + */ + next() { + return iter.next(); + }, + /** + * The connection to the async iterator, part of the iteration protocol + */ + [Symbol.asyncIterator]() { + return this; + }, + /** + * @returns An AsyncIterableIterator that works a page at a time + */ + byPage: (settings: PageSettings = {}) => { + return this.listSegmentsOfAnomaliesForDetectionConfig( + detectionConfigId, + start, + end, + settings.maxPageSize, + settings.continuationToken, + options + ); } - return this.listAnomaliesForDetectionConfiguration( - alertOrDetectionConfigId, - typeof optionsOrStartTime === "string" - ? new Date(optionsOrStartTime) - : (optionsOrStartTime as Date), - typeof endTime === "string" ? new Date(endTime) : endTime, - options || {} - ); - } else { - return this.listAnomaliesForAlert( - alertOrDetectionConfigId, - (optionsOrStartTime as ListAnomaliesForAlertConfigurationOptions) || {} - ); - } + }; } // ## list segments of dimension values of anomalies detected by a detection configuration @@ -1181,7 +1052,7 @@ export class MetricsAdvisorClient { let segmentResponse; const optionsBody = { ...options, - dimensionFilter: options.dimensionFilter ? { dimension: options.dimensionFilter } : undefined, + dimensionFilter: options.seriesGroupKey ? { dimension: options.seriesGroupKey } : undefined, startTime, endTime, dimensionName @@ -1367,7 +1238,7 @@ export class MetricsAdvisorClient { startTime: startTime, endTime: endTime, filter: { - dimensionFilter: options.dimensionFilter?.map((d) => { + dimensionFilter: options.seriesGroupKeys?.map((d) => { return { dimension: d }; }) } @@ -1461,16 +1332,71 @@ export class MetricsAdvisorClient { } } - private listIncidentsForDetectionConfiguration( + /** + * Returns an async iterable iterator to list incidents for an anomaly detection configuration. + * + * `.byPage()` returns an async iterable iterator to list the incidents in pages. + * + * Example using `for await` syntax: + * + * ```js + * const client = new MetricsAdvisorClient(endpoint, + * new MetricsAdvisorKeyCredential(subscriptionKey, apiKey)); + * const incidentList = client + * .listIncidentsForDetectionConfiguration(detectionConfigId, startTime, endTime); + * let i = 1; + * for await (const incident of incidentList){ + * console.log(`incident ${i++}:`); + * console.log(incident); + * } + * ``` + * + * Example using `iter.next()`: + * + * ```js + * let iter = client.listIncidentsForDetectionConfiguration(detectionConfigId, startTime, endTime); + * let result = await iter.next(); + * while (!result.done) { + * console.log(` incident - ${result.value.id}`); + * console.dir(result.value); + * result = await iter.next(); + * } + * ``` + * + * Example using `byPage()`: + * + * ```js + * const pages = client.listIncidentsForDetectionConfiguration(detectionConfigId, startTime, endTime) + * .byPage({ maxPageSize: 10 }); + * let page = await pages.next(); + * let i = 1; + * while (!page.done) { + * if (page.value) { + * console.log(`-- page ${i++}`); + * for (const incident of page.value) { + * console.dir(incident); + * } + * } + * page = await pages.next(); + * } + * ``` + * @param detectionConfigId - Anomaly detection configuration id + * @param startTime - The start of time range to query for incidents + * @param endTime - The end of time range to query for incidents + * @param options - The options parameter. + */ + public listIncidentsForDetectionConfiguration( detectionConfigId: string, - startTime: Date, - endTime: Date, + startTime: Date | string, + endTime: Date | string, options: ListIncidentsForDetectionConfigurationOptions = {} ): PagedAsyncIterableIterator { + const start: Date = typeof startTime === "string" ? new Date(startTime) : startTime; + const end: Date = typeof endTime === "string" ? new Date(endTime) : endTime; const iter = this.listItemsOfIncidentsForDetectionConfig( detectionConfigId, - startTime, - endTime, + start, + end, options ); return { @@ -1492,8 +1418,8 @@ export class MetricsAdvisorClient { byPage: (settings: PageSettings = {}) => { return this.listSegmentsOfIncidentsForDetectionConfig( detectionConfigId, - startTime, - endTime, + start, + end, settings.continuationToken, settings.maxPageSize, options @@ -1556,12 +1482,12 @@ export class MetricsAdvisorClient { * @param options - The options parameter * @returns Response with Feedback object */ - public async createFeedback( + public async addFeedback( feedback: MetricFeedbackUnion, options: OperationOptions = {} ): Promise { const { span, updatedOptions: finalOptions } = createSpan( - "MetricsAdvisorAdministrationClient-createFeedback", + "MetricsAdvisorClient-addFeedback", options ); @@ -1596,7 +1522,7 @@ export class MetricsAdvisorClient { options: OperationOptions = {} ): Promise { const { span, updatedOptions: finalOptions } = createSpan( - "MetricsAdvisorAdministrationClient-getFeedback", + "MetricsAdvisorClient-getFeedback", options ); @@ -1635,8 +1561,8 @@ export class MetricsAdvisorClient { : options.filter?.endTime; const optionsBody = { metricId, - dimensionFilter: options.filter?.dimensionFilter - ? { dimension: options.filter?.dimensionFilter } + dimensionFilter: options.filter?.dimensionKey + ? { dimension: options.filter?.dimensionKey } : undefined, feedbackType: options.filter?.feedbackType, startTime, @@ -1790,26 +1716,26 @@ export class MetricsAdvisorClient { * @param metricId - Metric id * @param startTime - The start of the time range to retrieve series data * @param endTime - The end of the time range to retrieve series data - * @param seriesToFilter - A list of time series to retrieve their data + * @param seriesKey - A list of time series to retrieve their data * @param options - The options parameter */ public async getMetricSeriesData( metricId: string, + seriesKey: DimensionKey[], startTime: Date | string, endTime: Date | string, - seriesToFilter: DimensionKey[], options: GetMetricSeriesDataOptions = {} ): Promise { const optionsBody = { startTime: typeof startTime === "string" ? new Date(startTime) : startTime, endTime: typeof endTime === "string" ? new Date(endTime) : endTime, - series: seriesToFilter + series: seriesKey }; const result = await this.client.getMetricData(metricId, optionsBody, options); const resultArray = result.value?.map((s) => { return { - definition: { metricId: s.id!.metricId!, dimension: s.id!.dimension! }, + definition: { metricId: s.id!.metricId!, seriesKey: s.id!.dimension! }, timestamps: s.timestampList, values: s.valueList }; @@ -1842,7 +1768,7 @@ export class MetricsAdvisorClient { const definitions = segmentResponse.value?.map((d) => { return { metricId: d.metricId!, - dimension: d.dimension! + seriesKey: d.dimension! }; }); const resultArray = Object.defineProperty(definitions || [], "continuationToken", { @@ -1868,7 +1794,7 @@ export class MetricsAdvisorClient { const definitions = segmentResponse.value?.map((d) => { return { metricId: d.metricId!, - dimension: d.dimension! + seriesKey: d.dimension! }; }); const resultArray = Object.defineProperty(definitions || [], "continuationToken", { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts index 9eb2eaf167a5..354ce2b6679b 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts @@ -122,9 +122,9 @@ export interface DataFeedIngestionSettings { } /** - * Defines values for DataFeedRollupMethod. + * Defines values for DataFeedAutoRollupMethod. */ -export type DataFeedRollupMethod = "None" | "Sum" | "Max" | "Min" | "Avg" | "Count"; +export type DataFeedAutoRollupMethod = "None" | "Sum" | "Max" | "Min" | "Avg" | "Count"; /** * Specifies the rollup settings for a data feed. @@ -149,7 +149,7 @@ export type DataFeedRollupSettings = /** * roll up method */ - rollupMethod?: DataFeedRollupMethod; + rollupMethod?: DataFeedAutoRollupMethod; /** * the identification value for the row of calculated all-up value. */ @@ -181,14 +181,7 @@ export type DataFeedAccessMode = "Private" | "Public"; */ export type DataFeedGranularity = | { - granularityType: - | "Yearly" - | "Monthly" - | "Weekly" - | "Daily" - | "Hourly" - | "PerMinute" - | "PerSecond"; + granularityType: "Yearly" | "Monthly" | "Weekly" | "Daily" | "Hourly" | "PerMinute"; } | { granularityType: "Custom"; @@ -201,7 +194,7 @@ export type DataFeedStatus = "Paused" | "Active"; /** * Represents a Metrics Advisor data feed. */ -export type DataFeed = { +export type MetricsAdvisorDataFeed = { /** * Unique id of the data feed. */ @@ -337,7 +330,7 @@ export type AzureCosmosDbDataFeedSource = { export interface AzureDataExplorerAuthServicePrincipal { /** Authentication Type */ authenticationType: "ServicePrincipal"; - /** datasource credential id */ + /** dataSource credential id */ credentialId: string; } @@ -347,7 +340,7 @@ export interface AzureDataExplorerAuthServicePrincipal { export interface AzureDataExplorerAuthServicePrincipalInKeyVault { /** Authentication Type */ authenticationType: "ServicePrincipalInKV"; - /** datasource credential id */ + /** dataSource credential id */ credentialId: string; } @@ -646,7 +639,7 @@ export interface SqlServerAuthManagedIdentity { export interface SqlServerAuthConnectionString { /** Azure SQL Connection String Authentication */ authenticationType: "AzureSQLConnectionString"; - /** Datasource Credential Id for Sql Server datafeed authentication */ + /** DataSource Credential Id for Sql Server datafeed authentication */ credentialId: string; } @@ -656,7 +649,7 @@ export interface SqlServerAuthConnectionString { export interface SqlServerAuthServicePrincipalInKeyVault { /** Service Principal in Keyvault Authentication */ authenticationType: "ServicePrincipalInKV"; - /** Datasource Credential Id for Sql Server datafeed authentication */ + /** DataSource Credential Id for Sql Server datafeed authentication */ credentialId: string; /** Connection string for Sql Server datafeed authentication */ connectionString: string; @@ -668,7 +661,7 @@ export interface SqlServerAuthServicePrincipalInKeyVault { export interface SqlServerAuthServicePrincipal { /** Service Principal Authentication */ authenticationType: "ServicePrincipal"; - /** Datasource Credential Id for Sql Server datafeed authentication */ + /** DataSource Credential Id for Sql Server datafeed authentication */ credentialId: string; /** Connection string for Sql Server datafeed authentication */ connectionString: string; @@ -785,7 +778,7 @@ export type DataFeedPatch = { * When changing to a different data source type, both dataSourceType and dataSourceParameter are required. */ export type DataFeedSourcePatch = Partial & { - /** datasource type for patch */ + /** dataSource type for patch */ dataSourceType: DataFeedSource["dataSourceType"]; }; @@ -797,7 +790,7 @@ export type MetricAnomalyAlertConfigurationsOperator = "AND" | "OR" | "XOR"; /** * The logical operator to apply across anomaly detection conditions. */ -export type DetectionConditionsOperator = "AND" | "OR"; +export type DetectionConditionOperator = "AND" | "OR"; /** * Represents properties common to anomaly detection conditions. @@ -806,7 +799,7 @@ export interface DetectionConditionsCommon { /** * Condition operator */ - conditionOperator?: DetectionConditionsOperator; + conditionOperator?: DetectionConditionOperator; /** * Specifies the condition for Smart Detection */ @@ -828,7 +821,7 @@ export interface DetectionConditionsCommonPatch { /** * Condition operator */ - conditionOperator?: DetectionConditionsOperator; + conditionOperator?: DetectionConditionOperator; /** * Specifies the condition for Smart Detection */ @@ -868,7 +861,7 @@ export type MetricSeriesGroupDetectionCondition = DetectionConditionsCommon & { /** * identifies the group of time series */ - group: DimensionKey; + groupKey: DimensionKey; }; /** @@ -878,7 +871,7 @@ export type MetricSingleSeriesDetectionCondition = DetectionConditionsCommon & { /** * identifies the time series */ - series: DimensionKey; + seriesKey: DimensionKey; }; /** @@ -1344,7 +1337,7 @@ export type MetricAnomalyAlertScope = /** * dimension scope */ - dimensionAnomalyScope: DimensionKey; + seriesGroupInScope: DimensionKey; } | { scopeType: "TopN"; @@ -1355,7 +1348,7 @@ export type MetricAnomalyAlertScope = }; /** - * Defines the + * Defines the Boundary Conditions for the Metric */ export type MetricBoundaryCondition = | { @@ -1435,6 +1428,10 @@ export type MetricBoundaryCondition = type?: "Value" | "Mean"; }; +/** + * Defines conditions to decide whether the detected anomalies should be + * included in an alert or not. + */ export interface MetricAnomalyAlertConditions { /** * severity condition to trigger alert @@ -1446,6 +1443,10 @@ export interface MetricAnomalyAlertConditions { metricBoundaryCondition?: MetricBoundaryCondition; } +/** + * Defines alerting settings for anomalies detected by a detection + * configuration. + */ export interface MetricAlertConfiguration { /** * Anomaly detection configuration unique id @@ -1503,7 +1504,7 @@ export interface AnomalyAlertConfiguration { /** * dimensions used to split alert */ - splitAlertByDimensions?: string[]; + dimensionsToSplitAlert?: string[]; } /** @@ -1599,7 +1600,7 @@ export interface MetricSeriesDefinition { /** * identifies a time series */ - dimension: Record; + seriesKey: Record; } /** @@ -1627,7 +1628,7 @@ export interface MetricEnrichedSeriesData { /** * identifies the time series. */ - series: DimensionKey; + seriesKey: DimensionKey; /** * timestamp list */ @@ -1663,7 +1664,7 @@ export interface MetricEnrichedSeriesData { /** * Contains response data for the getDataFeed operation. */ -export type GetDataFeedResponse = DataFeed & { +export type GetDataFeedResponse = MetricsAdvisorDataFeed & { /** * The underlying HTTP response. */ @@ -1683,7 +1684,7 @@ export type GetDataFeedResponse = DataFeed & { /** * Contains response data for the getAnomalyDetectionConfiguration operation. */ -export type GetAnomalyDetectionConfigurationResponse = AnomalyDetectionConfiguration & { +export type GetDetectionConfigResponse = AnomalyDetectionConfiguration & { /** * The underlying HTTP response. */ @@ -1703,7 +1704,7 @@ export type GetAnomalyDetectionConfigurationResponse = AnomalyDetectionConfigura /** * Contains response data for the getAnomalyAlertConfiguration operation. */ -export type GetAnomalyAlertConfigurationResponse = AnomalyAlertConfiguration & { +export type GetAlertConfigResponse = AnomalyAlertConfiguration & { /** * The underlying HTTP response. */ @@ -1743,7 +1744,7 @@ export type GetHookResponse = NotificationHookUnion & { /** * Contains response data for the getCredentialEntity operation. */ -export type GetCredentialEntityResponse = DatasourceCredentialUnion & { +export type GetDataSourceCredentialEntityResponse = DataSourceCredentialEntityUnion & { /** * The underlying HTTP response. */ @@ -1941,6 +1942,9 @@ export interface MetricSeriesPageResponse extends Array }; } +/** + * Represents Enrichment Status + */ export interface EnrichmentStatus { /** * data slice timestamp. @@ -1983,7 +1987,7 @@ export interface MetricEnrichmentStatusPageResponse extends Array { +export interface DataFeedsPageResponse extends Array { /** * Continuation token to pass to `byPage()` to resume listing of more results if available. */ @@ -2187,7 +2191,7 @@ export type GetIngestionProgressResponse = { /** * Data Source Credential */ -export interface DatasourceCredential { +export interface DataSourceCredentialEntity { /** * Unique id of data source credential * NOTE: This property will not be serialized. It can only be populated by the server. @@ -2202,49 +2206,49 @@ export interface DatasourceCredential { /** * SqlServer Data Source Credential */ -export interface SqlServerConnectionStringDatasourceCredential extends DatasourceCredential { +export interface DataSourceSqlConnectionString extends DataSourceCredentialEntity { /** Azure Sql Connection String credential */ type: "AzureSQLConnectionString"; /** The connection string for SqlServer Data Source Credential */ - connectionString: string; + connectionString?: string; } /** - * DataLake Gen2 Shared Key Datasource Credential + * DataLake Gen2 Shared Key DataSource Credential */ -export interface DataLakeGen2SharedKeyDatasourceCredential extends DatasourceCredential { - /** DataLakeGen2 Shared Key Datasource credential */ +export interface DataSourceDataLakeGen2SharedKey extends DataSourceCredentialEntity { + /** DataLakeGen2 Shared Key DataSource credential */ type: "DataLakeGen2SharedKey"; - /** The account key of the DataLake Gen2 Shared Key Datasource Credential */ - accountKey: string; + /** The account key of the DataLake Gen2 Shared Key DataSource Credential */ + accountKey?: string; } /** - * Service Principal Datasource Credential + * Service Principal DataSource Credential */ -export interface ServicePrincipalDatasourceCredential extends DatasourceCredential { - /** Service Principal Datasource Credential */ +export interface DataSourceServicePrincipal extends DataSourceCredentialEntity { + /** Service Principal DataSource Credential */ type: "ServicePrincipal"; /** The client id of the service principal. */ clientId: string; /** The client secret of the service principal. */ - clientSecret: string; + clientSecret?: string; /** The tenant id of the service principal. */ tenantId: string; } /** - * Service Principal in KeyVault Datasource Credential + * Service Principal in KeyVault DataSource Credential */ -export interface ServicePrincipalInKeyVaultDatasourceCredential extends DatasourceCredential { - /** Service Principal in KeyVault Datasource Credential */ +export interface DataSourceServicePrincipalInKeyVault extends DataSourceCredentialEntity { + /** Service Principal in KeyVault DataSource Credential */ type: "ServicePrincipalInKV"; /** The Key Vault endpoint that storing the service principal. */ keyVaultEndpoint: string; /** The Client Id to access the Key Vault. */ keyVaultClientId: string; /** The Client Secret to access the Key Vault. */ - keyVaultClientSecret: string; + keyVaultClientSecret?: string; /** The secret name of the service principal's client Id in the Key Vault. */ servicePrincipalIdNameInKV: string; /** The secret name of the service principal's client secret in the Key Vault. */ @@ -2253,16 +2257,19 @@ export interface ServicePrincipalInKeyVaultDatasourceCredential extends Datasour tenantId: string; } -export type DatasourceCredentialUnion = - | SqlServerConnectionStringDatasourceCredential - | DataLakeGen2SharedKeyDatasourceCredential - | ServicePrincipalDatasourceCredential - | ServicePrincipalInKeyVaultDatasourceCredential; +/** + * Data Source Credential Entity Union Type + */ +export type DataSourceCredentialEntityUnion = + | DataSourceSqlConnectionString + | DataSourceDataLakeGen2SharedKey + | DataSourceServicePrincipal + | DataSourceServicePrincipalInKeyVault; /** * SqlServer Data Source Credential Patch */ -export interface SqlServerConnectionStringDatasourceCredentialPatch { +export interface DataSourceSqlServerConnectionStringPatch { /** Azure Sql Connection String credential */ type: "AzureSQLConnectionString"; /** Name of data source credential */ @@ -2274,24 +2281,24 @@ export interface SqlServerConnectionStringDatasourceCredentialPatch { } /** - * DataLake Gen2 Shared Key Datasource Credential Patch + * DataLake Gen2 Shared Key DataSource Credential Patch */ -export interface DataLakeGen2SharedKeyDatasourceCredentialPatch { - /** DataLakeGen2 Shared Key Datasource credential */ +export interface DataSourceDataLakeGen2SharedKeyPatch { + /** DataLakeGen2 Shared Key DataSource credential */ type: "DataLakeGen2SharedKey"; /** Name of data source credential */ name?: string; /** Description of data source credential */ description?: string; - /** The account key of the DataLake Gen2 Shared Key Datasource Credential */ + /** The account key of the DataLake Gen2 Shared Key DataSource Credential */ accountKey?: string; } /** - * Service Principal Datasource Credential Patch + * Service Principal DataSource Credential Patch */ -export interface ServicePrincipalDatasourceCredentialPatch { - /** Service Principal Datasource Credential */ +export interface DataSourceServicePrincipalPatch { + /** Service Principal DataSource Credential */ type: "ServicePrincipal"; /** Name of data source credential */ name?: string; @@ -2306,10 +2313,10 @@ export interface ServicePrincipalDatasourceCredentialPatch { } /** - * Service Principal in KeyVault Datasource Credential Patch + * Service Principal in KeyVault DataSource Credential Patch */ -export interface ServicePrincipalInKeyVaultDatasourceCredentialPatch { - /** Service Principal in KeyVault Datasource Credential */ +export interface DataSourceServicePrincipalInKeyVaultPatch { + /** Service Principal in KeyVault DataSource Credential */ type: "ServicePrincipalInKV"; /** Name of data source credential */ name?: string; @@ -2330,18 +2337,18 @@ export interface ServicePrincipalInKeyVaultDatasourceCredentialPatch { } /** - * Datasource credential patch types + * DataSource credential patch types */ -export type DatasourceCredentialPatch = - | SqlServerConnectionStringDatasourceCredentialPatch - | DataLakeGen2SharedKeyDatasourceCredentialPatch - | ServicePrincipalDatasourceCredentialPatch - | ServicePrincipalInKeyVaultDatasourceCredentialPatch; +export type DataSourceCredentialPatch = + | DataSourceSqlServerConnectionStringPatch + | DataSourceDataLakeGen2SharedKeyPatch + | DataSourceServicePrincipalPatch + | DataSourceServicePrincipalInKeyVaultPatch; /** * Contains response data for the listCredentials operation. */ -export interface CredentialsPageResponse extends Array { +export interface CredentialsPageResponse extends Array { /** * Continuation token to pass to `byPage()` to resume listing of more results if available. */ diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/transforms.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/transforms.ts index d97dbd68cd05..6119119d5e3e 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/transforms.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/transforms.ts @@ -57,7 +57,7 @@ import { MetricChangePointFeedback, MetricCommentFeedback, MetricPeriodFeedback, - DataFeed, + MetricsAdvisorDataFeed, AzureBlobDataFeedSource, AzureDataExplorerDataFeedSource, NotificationHookUnion, @@ -70,20 +70,20 @@ import { HardThresholdConditionUnion, ChangeThresholdConditionUnion, DataFeedGranularity, - DatasourceCredentialPatch, + DataSourceCredentialPatch, AzureDataExplorerAuthTypes, AzureDataLakeStorageGen2AuthTypes, AzureDataLakeStorageGen2DataFeedSource, SqlServerAuthTypes, AnomalyDetectionConfigurationPatch, - DatasourceCredentialUnion, - DatasourceCredential, + DataSourceCredentialEntityUnion, + DataSourceCredentialEntity, DataFeedSource, DataFeedSourcePatch, - SqlServerConnectionStringDatasourceCredentialPatch, - DataLakeGen2SharedKeyDatasourceCredentialPatch, - ServicePrincipalDatasourceCredentialPatch, - ServicePrincipalInKeyVaultDatasourceCredentialPatch + DataSourceSqlServerConnectionStringPatch, + DataSourceDataLakeGen2SharedKeyPatch, + DataSourceServicePrincipalPatch, + DataSourceServicePrincipalInKeyVaultPatch } from "./models"; // transform the protocol layer (codegen) service models into convenience layer models @@ -106,7 +106,7 @@ export function fromServiceAnomalyDetectionConfiguration( changeThresholdCondition } = c; return { - group: group.dimension, + groupKey: group.dimension, conditionOperator, smartDetectionCondition, hardThresholdCondition: hardThresholdCondition as HardThresholdConditionUnion, @@ -122,7 +122,7 @@ export function fromServiceAnomalyDetectionConfiguration( changeThresholdCondition } = c; return { - series: series.dimension, + seriesKey: series.dimension, conditionOperator, smartDetectionCondition, hardThresholdCondition: hardThresholdCondition as HardThresholdConditionUnion, @@ -142,14 +142,14 @@ export function toServiceAnomalyDetectionConfiguration( wholeMetricConfiguration: from.wholeSeriesDetectionCondition, dimensionGroupOverrideConfigurations: from.seriesGroupDetectionConditions?.map((c) => { const { - group, + groupKey, conditionOperator, smartDetectionCondition, hardThresholdCondition, changeThresholdCondition } = c; return { - group: { dimension: group }, + group: { dimension: groupKey }, conditionOperator, smartDetectionCondition, hardThresholdCondition, @@ -158,14 +158,14 @@ export function toServiceAnomalyDetectionConfiguration( }), seriesOverrideConfigurations: from.seriesDetectionConditions?.map((c) => { const { - series, + seriesKey, conditionOperator, smartDetectionCondition, hardThresholdCondition, changeThresholdCondition } = c; return { - series: { dimension: series }, + series: { dimension: seriesKey }, conditionOperator, smartDetectionCondition, hardThresholdCondition, @@ -184,14 +184,14 @@ export function toServiceAnomalyDetectionConfigurationPatch( wholeMetricConfiguration: from.wholeSeriesDetectionCondition, dimensionGroupOverrideConfigurations: from.seriesGroupDetectionConditions?.map((c) => { const { - group, + groupKey, conditionOperator, smartDetectionCondition, hardThresholdCondition, changeThresholdCondition } = c; return { - group: { dimension: group }, + group: { dimension: groupKey }, conditionOperator, smartDetectionCondition, hardThresholdCondition, @@ -200,14 +200,14 @@ export function toServiceAnomalyDetectionConfigurationPatch( }), seriesOverrideConfigurations: from.seriesDetectionConditions?.map((c) => { const { - series, + seriesKey, conditionOperator, smartDetectionCondition, hardThresholdCondition, changeThresholdCondition } = c; return { - series: { dimension: series }, + series: { dimension: seriesKey }, conditionOperator, smartDetectionCondition, hardThresholdCondition, @@ -341,8 +341,6 @@ function fromServiceGranularity(original: ServiceGranularity, value?: number): D switch (original) { case "Minutely": return { granularityType: "PerMinute" }; - case "Secondly": - return { granularityType: "PerSecond" }; case "Custom": return { granularityType: "Custom", customGranularityValue: value! }; default: @@ -361,8 +359,6 @@ export function toServiceGranularity( return { granularityName: "Custom", granularityAmount: model.customGranularityValue }; case "PerMinute": return { granularityName: "Minutely" }; - case "PerSecond": - return { granularityName: "Secondly" }; default: return { granularityName: model.granularityType }; } @@ -889,7 +885,9 @@ export function toServiceDataFeedSourcePatch( } } -export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUnion): DataFeed { +export function fromServiceDataFeedDetailUnion( + original: ServiceDataFeedDetailUnion +): MetricsAdvisorDataFeed { const metricMap: Record = {}; for (const metric of original.metrics) { metricMap[metric.name] = metric.id!; @@ -935,7 +933,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn switch (original.dataSourceType) { case "AzureApplicationInsights": { const orig = original as ServiceAzureApplicationInsightsDataFeed; - const result1: DataFeed = { + const result1: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "AzureApplicationInsights", @@ -968,7 +966,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn container: orig2.dataSourceParameter.container, ...auth }; - const result2: DataFeed = { + const result2: MetricsAdvisorDataFeed = { ...common, source }; @@ -976,7 +974,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } case "AzureCosmosDB": { const orig3 = original as ServiceAzureCosmosDBDataFeed; - const result3: DataFeed = { + const result3: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "AzureCosmosDB", @@ -1013,7 +1011,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn query: orig4.dataSourceParameter.query, ...auth }; - const result4: DataFeed = { + const result4: MetricsAdvisorDataFeed = { ...common, source }; @@ -1046,7 +1044,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn fileTemplate: orig5.dataSourceParameter.fileTemplate, ...auth }; - const result5: DataFeed = { + const result5: MetricsAdvisorDataFeed = { ...common, source }; @@ -1054,7 +1052,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } case "AzureTable": { const orig6 = original as ServiceAzureTableDataFeed; - const result6: DataFeed = { + const result6: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "AzureTable", @@ -1068,7 +1066,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } case "InfluxDB": { const orig8 = original as ServiceInfluxDBDataFeed; - const result8: DataFeed = { + const result8: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "InfluxDB", @@ -1084,7 +1082,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } case "MongoDB": { const orig9 = original as ServiceMongoDBDataFeed; - const result9: DataFeed = { + const result9: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "MongoDB", @@ -1098,7 +1096,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } case "MySql": { const orig10 = original as ServiceMySqlDataFeed; - const result10: DataFeed = { + const result10: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "MySql", @@ -1111,7 +1109,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } case "PostgreSql": { const orig11 = original as ServicePostgreSqlDataFeed; - const result11: DataFeed = { + const result11: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "PostgreSql", @@ -1156,7 +1154,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } else { throw new Error(`Unexpected authentication type: '${original.authenticationType}'`); } - const result12: DataFeed = { + const result12: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "SqlServer", @@ -1168,7 +1166,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } case "AzureEventHubs": { const orig13 = original as ServiceAzureEventHubsDataFeed; - const result13: DataFeed = { + const result13: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "AzureEventHubs", @@ -1181,7 +1179,7 @@ export function fromServiceDataFeedDetailUnion(original: ServiceDataFeedDetailUn } case "AzureLogAnalytics": { const orig14 = original as ServiceAzureLogAnalyticsDataFeed; - const result14: DataFeed = { + const result14: MetricsAdvisorDataFeed = { ...common, source: { dataSourceType: "AzureLogAnalytics", @@ -1305,7 +1303,7 @@ export function fromServiceAlertConfiguration( c.anomalyScopeType === "All" ? { scopeType: "All" } : c.anomalyScopeType === "Dimension" - ? { scopeType: "Dimension", dimensionAnomalyScope: c.dimensionAnomalyScope!.dimension } + ? { scopeType: "Dimension", seriesGroupInScope: c.dimensionAnomalyScope!.dimension } : { scopeType: "TopN", topNAnomalyScope: c.topNAnomalyScope! }; return { detectionConfigurationId: c.anomalyDetectionConfigurationId, @@ -1318,7 +1316,7 @@ export function fromServiceAlertConfiguration( } }; }), - splitAlertByDimensions: result.splitAlertByDimensions + dimensionsToSplitAlert: result.splitAlertByDimensions }; } @@ -1337,7 +1335,7 @@ export function toServiceAlertConfiguration( : c.alertScope.scopeType === "Dimension" ? { anomalyScopeType: "Dimension", - dimensionAnomalyScope: { dimension: c.alertScope.dimensionAnomalyScope } + dimensionAnomalyScope: { dimension: c.alertScope.seriesGroupInScope } } : { anomalyScopeType: "TopN", topNAnomalyScope: c.alertScope.topNAnomalyScope }; return { @@ -1351,7 +1349,7 @@ export function toServiceAlertConfiguration( valueFilter: c.alertConditions?.metricBoundaryCondition }; }), - splitAlertByDimensions: from.splitAlertByDimensions + splitAlertByDimensions: from.dimensionsToSplitAlert }; } @@ -1370,7 +1368,7 @@ export function toServiceAlertConfigurationPatch( : c.alertScope.scopeType === "Dimension" ? { anomalyScopeType: "Dimension", - dimensionAnomalyScope: { dimension: c.alertScope.dimensionAnomalyScope } + dimensionAnomalyScope: { dimension: c.alertScope.seriesGroupInScope } } : { anomalyScopeType: "TopN", topNAnomalyScope: c.alertScope.topNAnomalyScope }; return { @@ -1384,14 +1382,14 @@ export function toServiceAlertConfigurationPatch( valueFilter: c.alertConditions?.metricBoundaryCondition }; }), - splitAlertByDimensions: from.splitAlertByDimensions + splitAlertByDimensions: from.dimensionsToSplitAlert }; } export function fromServiceCredential( result: ServiceDataSourceCredentialUnion -): DatasourceCredentialUnion { - const common: DatasourceCredential = { +): DataSourceCredentialEntityUnion { + const common: DataSourceCredentialEntity = { description: result.dataSourceCredentialDescription, id: result.dataSourceCredentialId, name: result.dataSourceCredentialName @@ -1433,7 +1431,7 @@ export function fromServiceCredential( } export function toServiceCredential( - from: DatasourceCredentialUnion + from: DataSourceCredentialEntityUnion ): ServiceDataSourceCredentialUnion { const common = { dataSourceCredentialName: from.name, @@ -1492,7 +1490,7 @@ export function toServiceCredential( } export function toServiceCredentialPatch( - from: DatasourceCredentialPatch + from: DataSourceCredentialPatch ): ServiceDataSourceCredentialPatch { const common = { dataSourceCredentialName: from.name, @@ -1500,7 +1498,7 @@ export function toServiceCredentialPatch( }; switch (from.type) { case "AzureSQLConnectionString": { - const cred1 = from as SqlServerConnectionStringDatasourceCredentialPatch; + const cred1 = from as DataSourceSqlServerConnectionStringPatch; return { ...common, dataSourceCredentialType: from.type, @@ -1510,7 +1508,7 @@ export function toServiceCredentialPatch( }; } case "DataLakeGen2SharedKey": { - const cred2 = from as DataLakeGen2SharedKeyDatasourceCredentialPatch; + const cred2 = from as DataSourceDataLakeGen2SharedKeyPatch; return { ...common, dataSourceCredentialType: from.type, @@ -1520,7 +1518,7 @@ export function toServiceCredentialPatch( }; } case "ServicePrincipal": { - const cred3 = from as ServicePrincipalDatasourceCredentialPatch; + const cred3 = from as DataSourceServicePrincipalPatch; return { ...common, dataSourceCredentialType: from.type, @@ -1532,7 +1530,7 @@ export function toServiceCredentialPatch( }; } case "ServicePrincipalInKV": { - const cred4 = from as ServicePrincipalInKeyVaultDatasourceCredentialPatch; + const cred4 = from as DataSourceServicePrincipalInKeyVaultPatch; return { ...common, dataSourceCredentialType: from.type, diff --git a/sdk/metricsadvisor/ai-metrics-advisor/swagger/README.md b/sdk/metricsadvisor/ai-metrics-advisor/swagger/README.md index 2cf37ff3b2d0..e03bab257f7e 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/swagger/README.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/swagger/README.md @@ -14,7 +14,7 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ source-code-folder-path: ./src/generated # openapi v2 in PR -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/7efe0ae6a89c93a915c85af1e2f871501adac0c9/specification/cognitiveservices/data-plane/MetricsAdvisor/preview/v1.0/MetricsAdvisor.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/08f5e391f2153a99580b458cc71ef88e45dd0531/specification/cognitiveservices/data-plane/MetricsAdvisor/preview/v1.0/MetricsAdvisor.json add-credentials: false override-client-name: GeneratedClient use-extension: @@ -689,3 +689,53 @@ directive: } } ``` + +### Add description for `SmartDetectionCondition` + +```yaml +directive: + - from: swagger-document + where: $.definitions.SmartDetectionCondition + transform: > + $.description = "Represents Smart Condition" + - from: swagger-document + where: $.definitions.SuppressCondition + transform: > + $.description = "Represents Suppress Condition" + - from: swagger-document + where: $.definitions.AlertSnoozeCondition + transform: > + $.description = "Represents Conditions to snooze Alerts" + - from: swagger-document + where: $.definitions.SeverityFilterCondition + transform: > + $.description = "Represents Conditions to filter severity" + - from: swagger-document + where: $.definitions.DataFeedIngestionProgress + transform: > + $.description = "Track the progress for Datafeed Ingestion" + - from: swagger-document + where: $.definitions.EmailHookParameter + transform: > + $.description = "Parameters for Email Hook" + - from: swagger-document + where: $.definitions.EmailHookParameter + transform: > + $.description = "Parameters for Email Hook" + - from: swagger-document + where: $.definitions.WebHookParameter + transform: > + $.description = "Parameters for Web Hook" + - from: swagger-document + where: $.definitions.IngestionStatus + transform: > + $.description = "Ingestion Status" + - from: swagger-document + where: $.definitions.SeverityCondition + transform: > + $.description = "Alert Severity Condition" + - from: swagger-document + where: $.definitions.TopNGroupScope + transform: > + $.description = "Group Scope for Top N values" +``` diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/internal/transforms.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/internal/transforms.spec.ts index 4c8c7e87a346..5c9a1b6929bd 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/internal/transforms.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/internal/transforms.spec.ts @@ -217,7 +217,6 @@ describe("Transforms", () => { [ { original: "Yearly", expected: "Yearly" }, { original: "Daily", expected: "Daily" }, - { original: "Secondly", expected: "PerSecond" }, { original: "Minutely", expected: "PerMinute" } ].forEach((granularity) => { it(`fromServiceDataFeedDetailUnion() on granularity ${granularity.original}`, () => { @@ -246,7 +245,6 @@ describe("Transforms", () => { [ { original: "Yearly", expected: "Yearly" }, { original: "Daily", expected: "Daily" }, - { original: "PerSecond", expected: "Secondly" }, { original: "PerMinute", expected: "Minutely" } ].forEach((granularity) => { it(`toServiceGranularity() on granularity ${granularity.original}`, () => { diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/adminclient.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/adminclient.spec.ts index 72e218197a77..c83f66dd11c4 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/adminclient.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/adminclient.spec.ts @@ -179,7 +179,7 @@ matrix([[true, false]] as const, async (useAad) => { }, seriesGroupDetectionConditions: [ { - group: { city: "Mumbai" }, + groupKey: { city: "Mumbai" }, hardThresholdCondition: { anomalyDetectorDirection: "Up", upperBound: 400, @@ -189,7 +189,7 @@ matrix([[true, false]] as const, async (useAad) => { ], seriesDetectionConditions: [ { - series: { city: "Kolkata", category: "Handmade" }, + seriesKey: { city: "Kolkata", category: "Handmade" }, changeThresholdCondition: { anomalyDetectorDirection: "Both", shiftPoint: 1, @@ -201,8 +201,7 @@ matrix([[true, false]] as const, async (useAad) => { ] }; - await client.updateDetectionConfig(createdDetectionConfigId, expected); - const actual = await client.getDetectionConfig(createdDetectionConfigId); + const actual = await client.updateDetectionConfig(createdDetectionConfigId, expected); assert.ok(actual.id, "Expecting valid detection config"); createdDetectionConfigId = actual.id!; @@ -217,18 +216,18 @@ matrix([[true, false]] as const, async (useAad) => { "Expecting valid seriesGroupDetectionConditions" ); assert.deepStrictEqual( - actual.seriesGroupDetectionConditions![0].group, - expected.seriesGroupDetectionConditions![0].group + actual.seriesGroupDetectionConditions![0].groupKey, + expected.seriesGroupDetectionConditions![0].groupKey ); assert.deepStrictEqual( actual.seriesGroupDetectionConditions![0].hardThresholdCondition, expected.seriesGroupDetectionConditions![0].hardThresholdCondition ); assert.ok(actual.seriesDetectionConditions, "Expecting valid seriesDetectionConditions"); - delete (actual.seriesDetectionConditions![0].series as any).seriesId; // workaround service issue + delete (actual.seriesDetectionConditions![0].seriesKey as any).seriesId; // workaround service issue assert.deepStrictEqual( - actual.seriesDetectionConditions![0].series, - expected.seriesDetectionConditions![0].series + actual.seriesDetectionConditions![0].seriesKey, + expected.seriesDetectionConditions![0].seriesKey ); assert.deepStrictEqual( actual.seriesDetectionConditions![0].changeThresholdCondition, @@ -277,7 +276,7 @@ matrix([[true, false]] as const, async (useAad) => { crossMetricsOperator: "AND", metricAlertConfigurations: [metricAlertConfig, metricAlertConfig], hookIds: [], - splitAlertByDimensions: [] + dimensionsToSplitAlert: [] }; const actual = await client.createAlertConfig(expectedAlertConfig); @@ -293,8 +292,8 @@ matrix([[true, false]] as const, async (useAad) => { ); assert.deepStrictEqual(actual.hookIds, expectedAlertConfig.hookIds); assert.deepStrictEqual( - actual.splitAlertByDimensions, - expectedAlertConfig.splitAlertByDimensions + actual.dimensionsToSplitAlert, + expectedAlertConfig.dimensionsToSplitAlert ); }); @@ -325,8 +324,7 @@ matrix([[true, false]] as const, async (useAad) => { metricAlertConfigurations: [metricAlertConfig, metricAlertConfig] }; - await client.updateAlertConfig(createdAlertConfigId, patch); - const actual = await client.getAlertConfig(createdAlertConfigId); + const actual = await client.updateAlertConfig(createdAlertConfigId, patch); assert.ok(actual.id, "Expecting valid alerting config"); assert.equal(actual.name, "new alert config name"); assert.equal(actual.description, "new alert config description"); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/advisorclient.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/advisorclient.spec.ts index 57020a6ee465..c68166d66640 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/advisorclient.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/advisorclient.spec.ts @@ -32,7 +32,7 @@ matrix([[true, false]] as const, async (useAad) => { }); it("listAnomaliesForDetectionConfiguration()", async function() { - const iterator = client.listAnomalies( + const iterator = client.listAnomaliesForDetectionConfiguration( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, new Date(Date.UTC(2020, 0, 5)), new Date(Date.UTC(2020, 10, 5)) @@ -45,7 +45,7 @@ matrix([[true, false]] as const, async (useAad) => { it("listAnomaliesForDetectionConfiguration() by page", async function() { const iterator = client - .listAnomalies( + .listAnomaliesForDetectionConfiguration( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, new Date(Date.UTC(2020, 0, 5)), new Date(Date.UTC(2020, 10, 5)) @@ -58,7 +58,7 @@ matrix([[true, false]] as const, async (useAad) => { }); it("listAnomaliesForDetectionConfiguration() with datetime strings", async function() { - const iterator = client.listAnomalies( + const iterator = client.listAnomaliesForDetectionConfiguration( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, "2020-01-05T00:00:00.000Z", "2020-11-05T00:00:00.000Z" @@ -71,7 +71,7 @@ matrix([[true, false]] as const, async (useAad) => { it("listAnomaliesForDetectionConfiguration() throws for invalid datetime strings", async function() { try { - const iterator = client.listAnomalies( + const iterator = client.listAnomaliesForDetectionConfiguration( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, "startTime", "endTime" @@ -84,7 +84,7 @@ matrix([[true, false]] as const, async (useAad) => { }); it("listIncidentsForDetectionConfiguration()", async function() { - const iterator = client.listIncidents( + const iterator = client.listIncidentsForDetectionConfiguration( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, new Date(Date.UTC(2020, 0, 5)), new Date(Date.UTC(2020, 10, 5)) @@ -97,7 +97,7 @@ matrix([[true, false]] as const, async (useAad) => { it("listIncidentsForDetectionConfiguration() by page", async function() { const iterator = client - .listIncidents( + .listIncidentsForDetectionConfiguration( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, new Date(Date.UTC(2020, 0, 5)), new Date(Date.UTC(2020, 10, 5)) @@ -110,7 +110,7 @@ matrix([[true, false]] as const, async (useAad) => { }); it("listIncidentsForDetectionConfiguration() with datetime strings", async function() { - const iterator = client.listIncidents( + const iterator = client.listIncidentsForDetectionConfiguration( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, "2020-01-05T00:00:00.000Z", "2020-11-05T00:00:00.000Z" @@ -123,7 +123,7 @@ matrix([[true, false]] as const, async (useAad) => { it("listIncidentsForDetectionConfiguration() throws for invalid datetime string", async function() { try { - const iterator = client.listIncidents( + const iterator = client.listIncidentsForDetectionConfiguration( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, "startTime", "endTime" @@ -218,7 +218,7 @@ matrix([[true, false]] as const, async (useAad) => { }); it("lists anomalies for alert", async function() { - const iterator = client.listAnomalies({ + const iterator = client.listAnomaliesForAlert({ alertConfigId: testEnv.METRICS_ADVISOR_ALERT_CONFIG_ID, id: testEnv.METRICS_ADVISOR_ALERT_ID }); @@ -230,7 +230,7 @@ matrix([[true, false]] as const, async (useAad) => { it("lists anomalies for alert by page", async function() { const iterator = client - .listAnomalies({ + .listAnomaliesForAlert({ alertConfigId: testEnv.METRICS_ADVISOR_ALERT_CONFIG_ID, id: testEnv.METRICS_ADVISOR_ALERT_ID }) @@ -242,7 +242,7 @@ matrix([[true, false]] as const, async (useAad) => { }); it("lists incidents for alert", async function() { - const iterator = client.listIncidents({ + const iterator = client.listIncidentsForAlert({ alertConfigId: testEnv.METRICS_ADVISOR_ALERT_CONFIG_ID, id: testEnv.METRICS_ADVISOR_ALERT_ID }); @@ -254,7 +254,7 @@ matrix([[true, false]] as const, async (useAad) => { it("lists incidents for alert by page", async function() { const iterator = client - .listIncidents({ + .listIncidentsForAlert({ alertConfigId: testEnv.METRICS_ADVISOR_ALERT_CONFIG_ID, id: testEnv.METRICS_ADVISOR_ALERT_ID }) @@ -271,9 +271,9 @@ matrix([[true, false]] as const, async (useAad) => { new Date(Date.UTC(2020, 7, 5)) ); let result = await iterator.next(); - assert.ok(result.value.dimension, "Expecting first definition"); + assert.ok(result.value.seriesKey, "Expecting first definition"); result = await iterator.next(); - assert.ok(result.value.dimension, "Expecting second definition"); + assert.ok(result.value.seriesKey, "Expecting second definition"); }); it("listMetricSeriesDefinitions() with datetime string", async function() { @@ -282,9 +282,9 @@ matrix([[true, false]] as const, async (useAad) => { "2020-08-05T00:00:00.000Z" ); let result = await iterator.next(); - assert.ok(result.value.dimension, "Expecting first definition"); + assert.ok(result.value.seriesKey, "Expecting first definition"); result = await iterator.next(); - assert.ok(result.value.dimension, "Expecting second definition"); + assert.ok(result.value.seriesKey, "Expecting second definition"); }); it("listMetricSeriesDefinitions() by page", async function() { @@ -324,19 +324,19 @@ matrix([[true, false]] as const, async (useAad) => { it("lists series data for a metric", async function() { const data = await client.getMetricSeriesData( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_METRIC_ID_1, - new Date(Date.UTC(2020, 7, 5)), - new Date(Date.UTC(2020, 8, 5)), [ { city: "Manila", category: "Shoes Handbags & Sunglasses" }, { city: "Cairo", category: "Home & Garden" } - ] + ], + new Date(Date.UTC(2020, 7, 5)), + new Date(Date.UTC(2020, 8, 5)) ); assert.ok(data && data!.length === 2, "Expecting data for two time series"); assert.equal( data![0].definition.metricId, testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_METRIC_ID_1 ); - assert.deepStrictEqual(data![0].definition.dimension, { + assert.deepStrictEqual(data![0].definition.seriesKey, { city: "Manila", category: "Shoes Handbags & Sunglasses" }); @@ -353,7 +353,7 @@ matrix([[true, false]] as const, async (useAad) => { data![1].definition.metricId, testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_METRIC_ID_1 ); - assert.deepStrictEqual(data![1].definition.dimension, { + assert.deepStrictEqual(data![1].definition.seriesKey, { city: "Cairo", category: "Home & Garden" }); @@ -370,19 +370,19 @@ matrix([[true, false]] as const, async (useAad) => { it("lists series data for a metric with datetime strings", async function() { const data = await client.getMetricSeriesData( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_METRIC_ID_1, - "2020-08-05T00:00:00.000Z", - "2020-09-05T00:00:00.000Z", [ { city: "Cairo", category: "Home & Garden" }, { city: "Manila", category: "Shoes Handbags & Sunglasses" } - ] + ], + "2020-08-05T00:00:00.000Z", + "2020-09-05T00:00:00.000Z" ); assert.ok(data && data!.length === 2, "Expecting data for two time series"); assert.equal( data![0].definition.metricId, testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_METRIC_ID_1 ); - assert.deepStrictEqual(data![0].definition.dimension, { + assert.deepStrictEqual(data![0].definition.seriesKey, { city: "Cairo", category: "Home & Garden" }); @@ -399,16 +399,16 @@ matrix([[true, false]] as const, async (useAad) => { it("list enriched data for a detection configuration", async function() { const data = await client.getMetricEnrichedSeriesData( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, - new Date(Date.UTC(2020, 7, 1)), - new Date(Date.UTC(2020, 7, 27)), [ { city: "Manila", category: "Shoes Handbags & Sunglasses" }, { city: "Cairo", category: "Home & Garden" } - ] + ], + new Date(Date.UTC(2020, 7, 1)), + new Date(Date.UTC(2020, 7, 27)) ); assert.ok(data && data!.length === 2, "Expecting data for two time series"); - assert.deepStrictEqual(data![0].series, { + assert.deepStrictEqual(data![0].seriesKey, { city: "Manila", category: "Shoes Handbags & Sunglasses" }); @@ -423,7 +423,7 @@ matrix([[true, false]] as const, async (useAad) => { "Expecting enriched data for the first time series" ); - assert.deepStrictEqual(data![1].series, { + assert.deepStrictEqual(data![1].seriesKey, { city: "Cairo", category: "Home & Garden" }); @@ -442,16 +442,16 @@ matrix([[true, false]] as const, async (useAad) => { it("list enriched data for a detection configuration with datetime strings", async function() { const data = await client.getMetricEnrichedSeriesData( testEnv.METRICS_ADVISOR_AZURE_SQLSERVER_DETECTION_CONFIG_ID, - "2020-08-01T00:00:00.000Z", - "2020-08-27T00:00:00.000Z", [ { city: "Manila", category: "Shoes Handbags & Sunglasses" }, { city: "Cairo", category: "Home & Garden" } - ] + ], + "2020-08-01T00:00:00.000Z", + "2020-08-27T00:00:00.000Z" ); assert.ok(data && data!.length === 2, "Expecting data for two time series"); - assert.deepStrictEqual(data![0].series, { + assert.deepStrictEqual(data![0].seriesKey, { city: "Manila", category: "Shoes Handbags & Sunglasses" }); @@ -525,7 +525,7 @@ matrix([[true, false]] as const, async (useAad) => { value: "NotAnomaly", dimensionKey: { city: "Cairo", category: "Home & Garden" } }; - const actual = await client.createFeedback(anomalyFeedback); + const actual = await client.addFeedback(anomalyFeedback); assert.ok(actual.id, "Expecting valid feedback"); createdFeedbackId = actual.id!; @@ -543,7 +543,7 @@ matrix([[true, false]] as const, async (useAad) => { value: "ChangePoint", dimensionKey: { city: "Cairo", category: "Home & Garden" } }; - const actual = await client.createFeedback(changePointFeedback); + const actual = await client.addFeedback(changePointFeedback); assert.ok(actual.id, "Expecting valid feedback"); createdFeedbackId = actual.id!; @@ -561,7 +561,7 @@ matrix([[true, false]] as const, async (useAad) => { periodValue: 4, dimensionKey: { city: "Cairo", category: "Home & Garden" } }; - const actual = await client.createFeedback(periodFeedback); + const actual = await client.addFeedback(periodFeedback); assert.ok(actual.id, "Expecting valid feedback"); createdFeedbackId = actual.id!; @@ -580,7 +580,7 @@ matrix([[true, false]] as const, async (useAad) => { comment: "This is a comment" }; - const actual = await client.createFeedback(expectedCommentFeedback); + const actual = await client.addFeedback(expectedCommentFeedback); assert.ok(actual.id, "Expecting valid feedback"); createdFeedbackId = actual.id!; diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/dataSourceCred.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/dataSourceCred.spec.ts index 9e4dd81097a7..b806c8d5306b 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/dataSourceCred.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/dataSourceCred.spec.ts @@ -4,15 +4,15 @@ import { assert } from "chai"; import { Context } from "mocha"; import { - DataLakeGen2SharedKeyDatasourceCredential, - DataLakeGen2SharedKeyDatasourceCredentialPatch, + DataSourceDataLakeGen2SharedKey, + DataSourceDataLakeGen2SharedKeyPatch, MetricsAdvisorAdministrationClient, - ServicePrincipalDatasourceCredential, - ServicePrincipalDatasourceCredentialPatch, - ServicePrincipalInKeyVaultDatasourceCredential, - ServicePrincipalInKeyVaultDatasourceCredentialPatch, - SqlServerConnectionStringDatasourceCredential, - SqlServerConnectionStringDatasourceCredentialPatch + DataSourceServicePrincipal, + DataSourceServicePrincipalPatch, + DataSourceServicePrincipalInKeyVault, + DataSourceServicePrincipalInKeyVaultPatch, + DataSourceSqlConnectionString, + DataSourceSqlServerConnectionStringPatch } from "../../src"; import { createRecordedAdminClient, makeCredential } from "./util/recordedClients"; import { Recorder } from "@azure/test-utils-recorder"; @@ -31,7 +31,7 @@ describe("DataSourceCredential", () => { } }); describe("dataSource credential CRUD operations", async function() { - const datasourceCredential = { + const dataSourceCredential = { description: "used for testing purposes only" }; @@ -41,14 +41,14 @@ describe("DataSourceCredential", () => { let createdServicePrincipalInKVCredId: string; it("creates sql server connection string credential", async function() { - const sqlServerCredential: SqlServerConnectionStringDatasourceCredential = { - ...datasourceCredential, + const sqlServerCredential: DataSourceSqlConnectionString = { + ...dataSourceCredential, name: "ExampleSQLCredential", type: "AzureSQLConnectionString", connectionString: "sql-server-connection-string" }; - const createdSqlServerCred = await client.createDatasourceCredential(sqlServerCredential); - assert.ok(createdSqlServerCred.id, "Expecting valid datasource credential"); + const createdSqlServerCred = await client.createDataSourceCredential(sqlServerCredential); + assert.ok(createdSqlServerCred.id, "Expecting valid dataSource credential"); createdSqlServerCredId = createdSqlServerCred.id!; assert.equal(createdSqlServerCred.name, sqlServerCredential.name); assert.equal(createdSqlServerCred.description, sqlServerCredential.description); @@ -59,30 +59,32 @@ describe("DataSourceCredential", () => { if (!createdSqlServerCredId) { this.skip(); } - const sqlServerCredentialPatch: SqlServerConnectionStringDatasourceCredentialPatch = { + const sqlServerCredentialPatch: DataSourceSqlServerConnectionStringPatch = { name: "UpdatedSqlCred", description: "updated description", connectionString: "updated-string", type: "AzureSQLConnectionString" }; - await client.updateDatasourceCredential(createdSqlServerCredId, sqlServerCredentialPatch); - const updated = await client.getDatasourceCredential(createdSqlServerCredId); - assert.ok(updated.id, "Expecting valid datasource credential"); + const updated = await client.updateDataSourceCredential( + createdSqlServerCredId, + sqlServerCredentialPatch + ); + assert.ok(updated.id, "Expecting valid dataSource credential"); assert.equal(updated.description, sqlServerCredentialPatch.description); assert.equal(updated.type, sqlServerCredentialPatch.type); assert.equal(updated.name, sqlServerCredentialPatch.name); }); it("creates datalake gen2 shared key credential", async function() { - const datalakeCred: DataLakeGen2SharedKeyDatasourceCredential = { - ...datasourceCredential, + const datalakeCred: DataSourceDataLakeGen2SharedKey = { + ...dataSourceCredential, name: "ExampleDLCredential", type: "DataLakeGen2SharedKey", accountKey: "account-key" }; - const createdDatalakeCred = await client.createDatasourceCredential(datalakeCred); - assert.ok(createdDatalakeCred.id, "Expecting valid datasource credential"); + const createdDatalakeCred = await client.createDataSourceCredential(datalakeCred); + assert.ok(createdDatalakeCred.id, "Expecting valid dataSource credential"); createdDatalakeCredId = createdDatalakeCred.id!; assert.equal(createdDatalakeCred.name, datalakeCred.name); assert.equal(createdDatalakeCred.description, datalakeCred.description); @@ -93,23 +95,25 @@ describe("DataSourceCredential", () => { if (!createdDatalakeCredId) { this.skip(); } - const dataLakeCredentialPatch: DataLakeGen2SharedKeyDatasourceCredentialPatch = { + const dataLakeCredentialPatch: DataSourceDataLakeGen2SharedKeyPatch = { name: "UpdatedDataLakeCred", description: "updated description", accountKey: "updated account key", type: "DataLakeGen2SharedKey" }; - await client.updateDatasourceCredential(createdDatalakeCredId, dataLakeCredentialPatch); - const updated = await client.getDatasourceCredential(createdDatalakeCredId); - assert.ok(updated.id, "Expecting valid datasource credential"); + const updated = await client.updateDataSourceCredential( + createdDatalakeCredId, + dataLakeCredentialPatch + ); + assert.ok(updated.id, "Expecting valid dataSource credential"); assert.equal(updated.description, dataLakeCredentialPatch.description); assert.equal(updated.type, dataLakeCredentialPatch.type); assert.equal(updated.name, dataLakeCredentialPatch.name); }); it("creates service principal credential", async function() { - const servicePrincipalCred: ServicePrincipalDatasourceCredential = { - ...datasourceCredential, + const servicePrincipalCred: DataSourceServicePrincipal = { + ...dataSourceCredential, name: "ExampleSPCredential", type: "ServicePrincipal", clientId: "client-id", @@ -117,10 +121,10 @@ describe("DataSourceCredential", () => { tenantId: "tenant-id" }; - const createdServicePrincipalCred = await client.createDatasourceCredential( + const createdServicePrincipalCred = await client.createDataSourceCredential( servicePrincipalCred ); - assert.ok(createdServicePrincipalCred.id, "Expecting valid sql server datasource credential"); + assert.ok(createdServicePrincipalCred.id, "Expecting valid sql server dataSource credential"); createdServicePrincipalCredId = createdServicePrincipalCred.id!; assert.equal(createdServicePrincipalCred.name, servicePrincipalCred.name); assert.equal(createdServicePrincipalCred.description, servicePrincipalCred.description); @@ -131,7 +135,7 @@ describe("DataSourceCredential", () => { if (!createdServicePrincipalCredId) { this.skip(); } - const servicePrincipalCredentialPatch: ServicePrincipalDatasourceCredentialPatch = { + const servicePrincipalCredentialPatch: DataSourceServicePrincipalPatch = { name: "UpdatedSPCred", description: "updated description", clientId: "updated-client", @@ -139,24 +143,23 @@ describe("DataSourceCredential", () => { tenantId: "updated-tenant", type: "ServicePrincipal" }; - await client.updateDatasourceCredential( + const updated = await client.updateDataSourceCredential( createdServicePrincipalCredId, servicePrincipalCredentialPatch ); - const updated = await client.getDatasourceCredential(createdServicePrincipalCredId); - assert.ok(updated.id, "Expecting valid datasource credential"); + assert.ok(updated.id, "Expecting valid dataSource credential"); assert.equal(updated.description, servicePrincipalCredentialPatch.description); assert.equal(updated.type, servicePrincipalCredentialPatch.type); assert.equal(updated.name, servicePrincipalCredentialPatch.name); assert.equal( - (updated as ServicePrincipalDatasourceCredentialPatch).clientId, + (updated as DataSourceServicePrincipalPatch).clientId, servicePrincipalCredentialPatch.clientId ); }); it("creates service principal in keyvault credential", async function() { - const servicePrincipalInKVCred: ServicePrincipalInKeyVaultDatasourceCredential = { - ...datasourceCredential, + const servicePrincipalInKVCred: DataSourceServicePrincipalInKeyVault = { + ...dataSourceCredential, name: "ExampleSPinKVCredential", type: "ServicePrincipalInKV", tenantId: "tenant-id", @@ -167,10 +170,10 @@ describe("DataSourceCredential", () => { servicePrincipalSecretNameInKV: "service-principal-secret-name-in-kv" }; - const createdServicePrincipalInKVCred = await client.createDatasourceCredential( + const createdServicePrincipalInKVCred = await client.createDataSourceCredential( servicePrincipalInKVCred ); - assert.ok(createdServicePrincipalInKVCred.id, "Expecting valid datasource credential"); + assert.ok(createdServicePrincipalInKVCred.id, "Expecting valid dataSource credential"); createdServicePrincipalInKVCredId = createdServicePrincipalInKVCred.id!; assert.equal(createdServicePrincipalInKVCred.name, servicePrincipalInKVCred.name); assert.equal( @@ -184,7 +187,7 @@ describe("DataSourceCredential", () => { if (!createdServicePrincipalInKVCredId) { this.skip(); } - const servicePrincipalInKVCredentialPatch: ServicePrincipalInKeyVaultDatasourceCredentialPatch = { + const servicePrincipalInKVCredentialPatch: DataSourceServicePrincipalInKeyVaultPatch = { name: "UpdatedSPinKVCred", description: "updated description", keyVaultEndpoint: "updated-keyvault-endpoint", @@ -196,88 +199,86 @@ describe("DataSourceCredential", () => { type: "ServicePrincipalInKV" }; - await client.updateDatasourceCredential( + const updated = await client.updateDataSourceCredential( createdServicePrincipalInKVCredId, servicePrincipalInKVCredentialPatch ); - const updated = await client.getDatasourceCredential(createdServicePrincipalInKVCredId); - assert.ok(updated.id, "Expecting valid datasource credential"); + assert.ok(updated.id, "Expecting valid dataSource credential"); assert.equal(updated.description, servicePrincipalInKVCredentialPatch.description); assert.equal(updated.type, servicePrincipalInKVCredentialPatch.type); assert.equal(updated.name, servicePrincipalInKVCredentialPatch.name); assert.equal( - (updated as ServicePrincipalDatasourceCredentialPatch).tenantId, + (updated as DataSourceServicePrincipalPatch).tenantId, servicePrincipalInKVCredentialPatch.tenantId ); assert.equal( - (updated as ServicePrincipalInKeyVaultDatasourceCredentialPatch).keyVaultClientId, + (updated as DataSourceServicePrincipalInKeyVaultPatch).keyVaultClientId, servicePrincipalInKVCredentialPatch.keyVaultClientId ); assert.equal( - (updated as ServicePrincipalInKeyVaultDatasourceCredentialPatch).servicePrincipalIdNameInKV, + (updated as DataSourceServicePrincipalInKeyVaultPatch).servicePrincipalIdNameInKV, servicePrincipalInKVCredentialPatch.servicePrincipalIdNameInKV ); }); - it("lists datasource credentials one by one and by pages", async function() { - const iterator = client.listDatasourceCredential(); + it("lists dataSource credentials one by one and by pages", async function() { + const iterator = client.listDataSourceCredential(); let result = await iterator.next(); - assert.ok(result.value.id, "Expecting first datasource credential"); + assert.ok(result.value.id, "Expecting first dataSource credential"); result = await iterator.next(); - assert.ok(result.value.id, "Expecting second datasource credential"); + assert.ok(result.value.id, "Expecting second dataSource credential"); - const pageIterator = client.listDatasourceCredential().byPage({ maxPageSize: 2 }); + const pageIterator = client.listDataSourceCredential().byPage({ maxPageSize: 2 }); let pageResult = await pageIterator.next(); assert.equal(pageResult.value.length, 2, "Expecting two entries in first page"); pageResult = await pageIterator.next(); assert.equal(pageResult.value.length, 2, "Expecting two entries in second page"); }); - it("deletes sqlserver datasource credential", async function(this: Context) { + it("deletes sqlserver dataSource credential", async function(this: Context) { if (!createdSqlServerCredId) { this.skip(); } - await verifyDatasourceCredentialDeletion(client, createdSqlServerCredId); + await verifyDataSourceCredentialDeletion(this, client, createdSqlServerCredId); }); - it("deletes datalake gen2 shared key datasource credential", async function(this: Context) { + it("deletes datalake gen2 shared key dataSource credential", async function(this: Context) { if (!createdDatalakeCredId) { this.skip(); } - await verifyDatasourceCredentialDeletion(client, createdDatalakeCredId); + await verifyDataSourceCredentialDeletion(this, client, createdDatalakeCredId); }); - it("deletes service principal datasource credential", async function(this: Context) { + it("deletes service principal dataSource credential", async function(this: Context) { if (!createdServicePrincipalCredId) { this.skip(); } - await verifyDatasourceCredentialDeletion(client, createdServicePrincipalCredId); + await verifyDataSourceCredentialDeletion(this, client, createdServicePrincipalCredId); }); - it("deletes service principal in KeyVault datasource credential", async function(this: Context) { + it("deletes service principal in KeyVault dataSource credential", async function(this: Context) { if (!createdServicePrincipalInKVCredId) { this.skip(); } - await verifyDatasourceCredentialDeletion(client, createdServicePrincipalInKVCredId); + await verifyDataSourceCredentialDeletion(this, client, createdServicePrincipalInKVCredId); }); }); }).timeout(60000); -export async function verifyDatasourceCredentialDeletion( - // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types - this: any, +export async function verifyDataSourceCredentialDeletion( + context: Context, client: MetricsAdvisorAdministrationClient, - createdDatasourceCredentialId: string + createdDataSourceCredentialId: string ): Promise { - if (!createdDatasourceCredentialId) { - this.skip(); + if (!createdDataSourceCredentialId) { + context.skip(); } - await client.deleteDatasourceCredential(createdDatasourceCredentialId); + await client.deleteDataSourceCredential(createdDataSourceCredentialId); try { - await client.getDatasourceCredential(createdDatasourceCredentialId); - assert.fail("Expecting error getting datasource credential"); + await client.getDataSourceCredential(createdDataSourceCredentialId); + assert.fail("Expecting error getting dataSource credential"); } catch (error) { assert.equal((error as any).code, "404 NOT_FOUND"); assert.equal((error as any).message, "credentialId is invalid."); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts index 1c737edc6372..1158bf677da6 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts @@ -346,8 +346,7 @@ matrix([[true, false]] as const, async (useAad) => { viewerEmails: ["viewer1@example.com"], actionLinkTemplate: "Updated Azure Blob action link template" }; - await client.updateDataFeed(createdAzureBlobDataFeedId, patch); - const updated = await client.getDataFeed(createdAzureBlobDataFeedId); + const updated = await client.updateDataFeed(createdAzureBlobDataFeedId, patch); assert.ok(updated.id, "Expecting valid data feed"); assert.equal(updated.source.dataSourceType, "AzureBlob"); assert.deepStrictEqual( @@ -461,16 +460,16 @@ matrix([[true, false]] as const, async (useAad) => { assert.equal(result.value.length, 1, "Expecting one entry in second page"); }); - it("deletes an Azure Blob datafeed", async function() { - await verifyDataFeedDeletion(client, createdAzureBlobDataFeedId); + it("deletes an Azure Blob datafeed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdAzureBlobDataFeedId); }); - it("deletes an Azure Application Insights feed", async function() { - await verifyDataFeedDeletion(client, createdAppFeedId); + it("deletes an Azure Application Insights feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdAppFeedId); }); - it("deletes an Azure SQL Server feed", async function() { - await verifyDataFeedDeletion(client, createdSqlServerFeedId); + it("deletes an Azure SQL Server feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdSqlServerFeedId); }); it("creates an Azure Cosmos DB Feed", async () => { @@ -506,8 +505,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("deletes an Azure Cosmos DB", async function() { - await verifyDataFeedDeletion(client, createdCosmosFeedId); + it("deletes an Azure Cosmos DB", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdCosmosFeedId); }); it("creates an Azure Data Explorer feed", async () => { @@ -539,8 +538,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("deletes an Azure Data Explorer feed", async function() { - await verifyDataFeedDeletion(client, createdAzureDataExplorerFeedId); + it("deletes an Azure Data Explorer feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdAzureDataExplorerFeedId); }); it("creates an Azure Table feed", async () => { @@ -571,8 +570,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("deletes an Azure Table feed", async function() { - await verifyDataFeedDeletion(client, createdAzureTableFeedId); + it("deletes an Azure Table feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdAzureTableFeedId); }); it("creates InfluxDB data feed", async () => { @@ -606,8 +605,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("deletes InfluxDB data feed", async function() { - await verifyDataFeedDeletion(client, createdInfluxFeedId); + it("deletes InfluxDB data feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdInfluxFeedId); }); it("creates MongoDB data feed", async () => { @@ -641,8 +640,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("deletes MongoDB data feed", async function() { - await verifyDataFeedDeletion(client, createdMongoDbFeedId); + it("deletes MongoDB data feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdMongoDbFeedId); }); it("creates MySQL data feed", async () => { @@ -674,8 +673,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("deletes MySQL data feed", async function() { - await verifyDataFeedDeletion(client, createdMySqlFeedId); + it("deletes MySQL data feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdMySqlFeedId); }); it("creates Datalake Gen 2 data feed", async () => { @@ -709,8 +708,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("deletes Datalake Gen 2 data feed", async function() { - await verifyDataFeedDeletion(client, createdDataLakeGenId); + it("deletes Datalake Gen 2 data feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdDataLakeGenId); }); it.skip("creates Eventhubs data feed", async () => { @@ -739,8 +738,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it.skip("deletes Eventhubs data feed", async function() { - await verifyDataFeedDeletion(client, createdEventhubsId); + it.skip("deletes Eventhubs data feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdEventhubsId); }); it("creates Log Analytics data feed", async () => { @@ -775,8 +774,8 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it("deletes Log Analytics data feed", async function() { - await verifyDataFeedDeletion(client, createdLogAnalyticsId); + it("deletes Log Analytics data feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdLogAnalyticsId); }); it("creates PostgreSQL data feed", async () => { @@ -827,8 +826,7 @@ matrix([[true, false]] as const, async (useAad) => { authenticationType: "Basic" } }; - await client.updateDataFeed(createdPostGreSqlId, patch); - const updated = await client.getDataFeed(createdPostGreSqlId); + const updated = await client.updateDataFeed(createdPostGreSqlId, patch); assert.ok(updated.id, "Expecting valid data feed"); assert.equal(updated.source.dataSourceType, "MongoDB"); @@ -838,8 +836,8 @@ matrix([[true, false]] as const, async (useAad) => { ); }); - it("deletes PostgreSQL data feed", async function() { - await verifyDataFeedDeletion(client, createdPostGreSqlId); + it("deletes PostgreSQL data feed", async function(this: Context) { + await verifyDataFeedDeletion(this, client, createdPostGreSqlId); }); it("creates Unknown data feed", async () => { @@ -887,15 +885,13 @@ matrix([[true, false]] as const, async (useAad) => { }); }); -// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types export async function verifyDataFeedDeletion( - // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types - this: any, + context: Context, client: MetricsAdvisorAdministrationClient, createdDataFeedId: string ): Promise { if (!createdDataFeedId) { - this.skip(); + context.skip(); } await client.deleteDataFeed(createdDataFeedId); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/hookTests.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/hookTests.spec.ts index ecebce41f3c6..6d601483e1a0 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/hookTests.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/hookTests.spec.ts @@ -78,8 +78,7 @@ matrix([[true, false]] as const, async (useAad) => { toList: ["test2@example.com", "test3@example.com"] } }; - await client.updateHook(createdEmailHookId, emailPatch); - const updated = await client.getHook(createdEmailHookId); + const updated = await client.updateHook(createdEmailHookId, emailPatch); assert.equal(updated.hookType, emailPatch.hookType); const emailHook = updated as EmailNotificationHook; assert.deepEqual(emailHook.hookParameter?.toList, [ @@ -97,8 +96,7 @@ matrix([[true, false]] as const, async (useAad) => { password: "pass123" } }; - await client.updateHook(createdWebHookId, webPatch); - const updated = await client.getHook(createdWebHookId); + const updated = await client.updateHook(createdWebHookId, webPatch); assert.equal(updated.hookType, webPatch.hookType); const webHook = updated as WebNotificationHook; assert.equal(webHook.hookParameter?.username, "user1"); From d9066a2d3569ec544d0d7111d1b99286404536a2 Mon Sep 17 00:00:00 2001 From: bashiMoha <43245345+bashimoha@users.noreply.github.com> Date: Thu, 24 Jun 2021 17:12:08 -0500 Subject: [PATCH 052/134] Attestation\README listing links as a list (#15914) * displayed links as a list rather than a single line * displayed links as a list rather than a single line * appconfiguration\Readme: displayed links as a list rather than a single line * attestation\Readme: displayed links as a list rather than a single line #6449 * Apply suggestions from code review Co-authored-by: Deyaaeldeen Almahallawi --- sdk/agrifood/agrifood-farming-rest/README.md | 7 ++++++- sdk/anomalydetector/ai-anomaly-detector/README.md | 12 +++++++----- sdk/appconfiguration/app-configuration/README.md | 12 +++++++----- sdk/attestation/attestation/README.md | 7 ++++++- 4 files changed, 26 insertions(+), 12 deletions(-) diff --git a/sdk/agrifood/agrifood-farming-rest/README.md b/sdk/agrifood/agrifood-farming-rest/README.md index f22b933c58a8..eebd9adbb401 100644 --- a/sdk/agrifood/agrifood-farming-rest/README.md +++ b/sdk/agrifood/agrifood-farming-rest/README.md @@ -10,7 +10,12 @@ Use FarmBeats client library for JavaScript to do the following. **Please rely heavily on the [service's documentation][product_documentation] and our [REST client docs][rest_client] to use this library** -[Source code][source_code] | [Package (NPM)][npm] | [API reference documentation][ref_docs]| [Product documentation][product_documentation] +Key links: + +- [Source code][source_code] +- [Package (NPM)][npm] +- [API reference documentation][ref_docs] +- [Product documentation][product_documentation] ## Getting started diff --git a/sdk/anomalydetector/ai-anomaly-detector/README.md b/sdk/anomalydetector/ai-anomaly-detector/README.md index 18c2c028d19a..5a3e1e4969d9 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/README.md +++ b/sdk/anomalydetector/ai-anomaly-detector/README.md @@ -2,11 +2,13 @@ [Azure AnomalyDetector](https://azure.microsoft.com/services/cognitive-services/anomaly-detector/) API enables you to monitor and detect abnormalities in your time series data with machine learning. -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/anomalydetector/ai-anomaly-detector/) | -[Package (NPM)](https://www.npmjs.com/package/@azure/ai-anomaly-detector) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-anomaly-detector) | -[Product documentation](https://docs.microsoft.com/azure/cognitive-services/anomaly-detector/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector/samples) +Key links: + +- [Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/) +- [Package (NPM)](https://www.npmjs.com/package/@azure/ai-anomaly-detector) +- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-anomaly-detector) +- [Product documentation](https://docs.microsoft.com/azure/cognitive-services/anomaly-detector/) +- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector/samples) ## Key concepts diff --git a/sdk/appconfiguration/app-configuration/README.md b/sdk/appconfiguration/app-configuration/README.md index fd135434c83c..d4ce5d88fb10 100644 --- a/sdk/appconfiguration/app-configuration/README.md +++ b/sdk/appconfiguration/app-configuration/README.md @@ -8,11 +8,13 @@ Use the client library for App Configuration to: - Tag keys with labels - Replay settings from any point in time -[Source code](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appconfiguration/app-configuration/) | -[Package (NPM)](https://www.npmjs.com/package/@azure/app-configuration) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/app-configuration) | -[Product documentation](https://docs.microsoft.com/azure/azure-app-configuration/) | -[Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples) +Key links: + +- [Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/appconfiguration/app-configuration/) +- [Package (NPM)](https://www.npmjs.com/package/@azure/app-configuration) +- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/app-configuration) +- [Product documentation](https://docs.microsoft.com/azure/azure-app-configuration/) +- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/app-configuration/samples) ## Getting started diff --git a/sdk/attestation/attestation/README.md b/sdk/attestation/attestation/README.md index 50db5844228f..c286f33ef2a6 100644 --- a/sdk/attestation/attestation/README.md +++ b/sdk/attestation/attestation/README.md @@ -12,7 +12,12 @@ For a more complete view of Azure libraries, see the [azure sdk typescript relea > NOTE: This is a preview SDK for the Microsoft Azure Attestation service. It provides all the essential functionality to access the Azure Attestation service, it should be considered 'as-is" and is subject to changes in the future which may break compatibility with previous versions. - [Source code][source_code] | [Package (NPM)][Attestation_npm] | [API reference documentation][API_reference] | [Product documentation](https://docs.microsoft.com/azure/attestation/) +Key links: + +- [Source code][source_code] +- [Package (NPM)][Attestation_npm] +- [API reference documentation][API_reference] +- [Product documentation](https://docs.microsoft.com/azure/attestation/) ## Getting started From c6b82eeb2884ee17f9911f648114e14b4aabdbf8 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 24 Jun 2021 17:34:16 -0700 Subject: [PATCH 053/134] Update references from master to main (#15977) Co-authored-by: Wes Haggard --- eng/common/scripts/Verify-Links.ps1 | 2 +- eng/common/scripts/update-docs-metadata.ps1 | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/eng/common/scripts/Verify-Links.ps1 b/eng/common/scripts/Verify-Links.ps1 index 6267d4d1b2b8..3808d1f8bb5e 100644 --- a/eng/common/scripts/Verify-Links.ps1 +++ b/eng/common/scripts/Verify-Links.ps1 @@ -27,7 +27,7 @@ List of http status codes that count as broken links. Defaults to 400, 401, 404, SocketError.HostNotFound = 11001, SocketError.NoData = 11004. .PARAMETER branchReplaceRegex - Regex to check if the link needs to be replaced. E.g. ^(https://github.com/.*/(?:blob|tree)/)master(/.*)$ + Regex to check if the link needs to be replaced. E.g. ^(https://github.com/.*/(?:blob|tree)/)main(/.*)$ .PARAMETER branchReplacementName The substitute branch name or SHA commit. diff --git a/eng/common/scripts/update-docs-metadata.ps1 b/eng/common/scripts/update-docs-metadata.ps1 index 6154afd51591..bc9d426cc59a 100644 --- a/eng/common/scripts/update-docs-metadata.ps1 +++ b/eng/common/scripts/update-docs-metadata.ps1 @@ -67,10 +67,10 @@ function GetAdjustedReadmeContent($pkgInfo){ $fileContent = $fileContent -replace $titleRegex, "`${0} - Version $($pkgInfo.PackageVersion) `n" $foundTitle = $matches["filetitle"] } - # Replace github master link with release tag. + # Replace github main link with release tag. $ReplacementPattern = "`${1}$($pkgInfo.Tag)" $fileContent = $fileContent -replace $releaseReplaceRegex, $ReplacementPattern - + $header = "---`ntitle: $foundTitle`nkeywords: Azure, $Language, SDK, API, $($pkgInfo.PackageId), $service`nauthor: maggiepint`nms.author: magpint`nms.date: $date`nms.topic: article`nms.prod: azure`nms.technology: azure`nms.devlang: $Language`nms.service: $service`n---`n" if ($fileContent) { @@ -101,7 +101,7 @@ foreach ($config in $targets) { if ($pkgsFiltered) { Write-Host "Given the visible artifacts, $($config.mode) Readme updates against $($config.path_to_config) will be processed for the following packages." Write-Host ($pkgsFiltered | % { $_.PackageId + " " + $_.PackageVersion }) - + foreach ($packageInfo in $pkgsFiltered) { $readmeName = "$($packageInfo.DocsReadMeName.ToLower())-readme${suffix}.md" $readmeFolder = Join-Path $DocRepoLocation $config.content_folder @@ -115,12 +115,12 @@ foreach ($config in $targets) { if ($packageInfo.ReadmeContent) { $adjustedContent = GetAdjustedReadmeContent -pkgInfo $packageInfo } - + if ($adjustedContent) { try { Push-Location $DocRepoLocation Set-Content -Path $readmeLocation -Value $adjustedContent -Force - + Write-Host "Updated readme for $readmeName." } catch { Write-Host $_ From 35739abf7cb66dea2ee4ff1ab18d386500ab10cf Mon Sep 17 00:00:00 2001 From: Harsha Nalluru Date: Thu, 24 Jun 2021 18:33:26 -0700 Subject: [PATCH 054/134] [App config] Perf tests (#15763) Adds the list test Closes #13981 --- common/config/rush/pnpm-lock.yaml | 17 +++++ rush.json | 5 ++ .../perf-tests/app-configuration/README.md | 9 +++ .../perf-tests/app-configuration/package.json | 47 ++++++++++++++ .../perf-tests/app-configuration/sample.env | 3 + .../test/appConfigBase.spec.ts | 15 +++++ .../app-configuration/test/index.spec.ts | 8 +++ .../test/listSettings.spec.ts | 65 +++++++++++++++++++ .../app-configuration/tsconfig.json | 16 +++++ 9 files changed, 185 insertions(+) create mode 100644 sdk/appconfiguration/perf-tests/app-configuration/README.md create mode 100644 sdk/appconfiguration/perf-tests/app-configuration/package.json create mode 100644 sdk/appconfiguration/perf-tests/app-configuration/sample.env create mode 100644 sdk/appconfiguration/perf-tests/app-configuration/test/appConfigBase.spec.ts create mode 100644 sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts create mode 100644 sdk/appconfiguration/perf-tests/app-configuration/test/listSettings.spec.ts create mode 100644 sdk/appconfiguration/perf-tests/app-configuration/tsconfig.json diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index ba79c9b3d643..68a8d64ec858 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -57,6 +57,7 @@ dependencies: '@rush-temp/perf-ai-form-recognizer': file:projects/perf-ai-form-recognizer.tgz '@rush-temp/perf-ai-metrics-advisor': file:projects/perf-ai-metrics-advisor.tgz '@rush-temp/perf-ai-text-analytics': file:projects/perf-ai-text-analytics.tgz + '@rush-temp/perf-app-configuration': file:projects/perf-app-configuration.tgz '@rush-temp/perf-core-rest-pipeline': file:projects/perf-core-rest-pipeline.tgz '@rush-temp/perf-eventgrid': file:projects/perf-eventgrid.tgz '@rush-temp/perf-identity': file:projects/perf-identity.tgz @@ -10577,6 +10578,21 @@ packages: integrity: sha512-Kvl28eIyB/TUFjHazX20V+clKd8zLCBx+Tb7zTU3Yp1kei9JNZfqMaDmDlCyfw1bmRLDslq5/xfo/NEMWks0wQ== tarball: file:projects/perf-ai-text-analytics.tgz version: 0.0.0 + file:projects/perf-app-configuration.tgz: + dependencies: + '@types/node': 8.10.66 + '@types/uuid': 8.3.0 + dotenv: 8.6.0 + ts-node: 9.1.1_typescript@4.2.4 + tslib: 2.3.0 + typescript: 4.2.4 + uuid: 8.3.2 + dev: false + name: '@rush-temp/perf-app-configuration' + resolution: + integrity: sha512-i2b4+TTev+rOwl+F2AqZoAyVcrP7/qP4IkOI9KeSEWSjbizV7wKmvzpENQylboaW5EJoe7XqxGIUDLxuDxWVWQ== + tarball: file:projects/perf-app-configuration.tgz + version: 0.0.0 file:projects/perf-core-rest-pipeline.tgz: dependencies: '@types/uuid': 8.3.0 @@ -11947,6 +11963,7 @@ specifiers: '@rush-temp/perf-ai-form-recognizer': file:./projects/perf-ai-form-recognizer.tgz '@rush-temp/perf-ai-metrics-advisor': file:./projects/perf-ai-metrics-advisor.tgz '@rush-temp/perf-ai-text-analytics': file:./projects/perf-ai-text-analytics.tgz + '@rush-temp/perf-app-configuration': file:./projects/perf-app-configuration.tgz '@rush-temp/perf-core-rest-pipeline': file:./projects/perf-core-rest-pipeline.tgz '@rush-temp/perf-eventgrid': file:./projects/perf-eventgrid.tgz '@rush-temp/perf-identity': file:./projects/perf-identity.tgz diff --git a/rush.json b/rush.json index 6335ae217f28..c8b941b088ee 100644 --- a/rush.json +++ b/rush.json @@ -784,6 +784,11 @@ "packageName": "@azure-tests/perf-core-rest-pipeline", "projectFolder": "sdk/core/perf-tests/core-rest-pipeline", "versionPolicyName": "test" + }, + { + "packageName": "@azure-tests/perf-app-configuration", + "projectFolder": "sdk/appconfiguration/perf-tests/app-configuration", + "versionPolicyName": "test" } ] } diff --git a/sdk/appconfiguration/perf-tests/app-configuration/README.md b/sdk/appconfiguration/perf-tests/app-configuration/README.md new file mode 100644 index 000000000000..0ba79a26d65f --- /dev/null +++ b/sdk/appconfiguration/perf-tests/app-configuration/README.md @@ -0,0 +1,9 @@ +### Guide + +1. Build the app-config perf tests package `rush build -t perf-app-configuration`. +2. Copy the `sample.env` file and name it as `.env`. +3. Create a App Configuration resource and populate the `.env` file with `APPCONFIG_CONNECTION_STRING` variable. +4. Run the tests as follows + + - list configuration settings + - `npm run perf-test:node -- ListSettingsTest --warmup 2 --duration 7 --iterations 2 --parallel 2` diff --git a/sdk/appconfiguration/perf-tests/app-configuration/package.json b/sdk/appconfiguration/perf-tests/app-configuration/package.json new file mode 100644 index 000000000000..d0dfc3134729 --- /dev/null +++ b/sdk/appconfiguration/perf-tests/app-configuration/package.json @@ -0,0 +1,47 @@ +{ + "name": "@azure-tests/perf-app-configuration", + "version": "1.0.0", + "description": "", + "main": "", + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "@azure/app-configuration": "^1.2.0-beta.2", + "@azure/core-http": "^2.0.0", + "@azure/test-utils-perfstress": "^1.0.0", + "dotenv": "^8.2.0" + }, + "devDependencies": { + "@types/uuid": "^8.0.0", + "@types/node": "^8.0.0", + "uuid": "^8.3.0", + "tslib": "^2.2.0", + "ts-node": "^9.0.0", + "typescript": "~4.2.0" + }, + "private": true, + "scripts": { + "perf-test:node": "ts-node test/index.spec.ts", + "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", + "build": "tsc -p .", + "build:samples": "echo skipped", + "build:test": "echo skipped", + "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", + "clean": "rimraf dist dist-esm test-dist typings *.tgz *.log", + "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", + "integration-test:browser": "echo skipped", + "integration-test:node": "echo skipped", + "integration-test": "echo skipped", + "lint:fix": "eslint package.json src test --ext .ts --fix --fix-type [problem,suggestion]", + "lint": "eslint package.json src test --ext .ts -f html -o app-config-perf-test-lintReport.html || exit 0", + "pack": "npm pack 2>&1", + "prebuild": "npm run clean", + "unit-test:browser": "echo skipped", + "unit-test:node": "echo skipped", + "unit-test": "echo skipped", + "test:browser": "echo skipped", + "test:node": "echo skipped", + "test": "echo skipped" + } +} diff --git a/sdk/appconfiguration/perf-tests/app-configuration/sample.env b/sdk/appconfiguration/perf-tests/app-configuration/sample.env new file mode 100644 index 000000000000..db027248c47f --- /dev/null +++ b/sdk/appconfiguration/perf-tests/app-configuration/sample.env @@ -0,0 +1,3 @@ +# This is the connection string for your app-configuration resource +# You can get this from the Azure portal. +APPCONFIG_CONNECTION_STRING= diff --git a/sdk/appconfiguration/perf-tests/app-configuration/test/appConfigBase.spec.ts b/sdk/appconfiguration/perf-tests/app-configuration/test/appConfigBase.spec.ts new file mode 100644 index 000000000000..cf6eaa5b22b6 --- /dev/null +++ b/sdk/appconfiguration/perf-tests/app-configuration/test/appConfigBase.spec.ts @@ -0,0 +1,15 @@ +import { PerfStressTest, getEnvVar } from "@azure/test-utils-perfstress"; +import { AppConfigurationClient } from "@azure/app-configuration"; +// Expects the .env file at the same level +import * as dotenv from "dotenv"; +dotenv.config(); + +export abstract class AppConfigTest extends PerfStressTest { + client: AppConfigurationClient; + + constructor() { + super(); + const connectionString = getEnvVar("APPCONFIG_CONNECTION_STRING"); + this.client = new AppConfigurationClient(connectionString); + } +} diff --git a/sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts b/sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts new file mode 100644 index 000000000000..9ba6ac840be0 --- /dev/null +++ b/sdk/appconfiguration/perf-tests/app-configuration/test/index.spec.ts @@ -0,0 +1,8 @@ +import { PerfStressProgram, selectPerfStressTest } from "@azure/test-utils-perfstress"; +import { ListSettingsTest } from "./listSettings.spec"; + +console.log("=== Starting the perfStress test ==="); + +const perfStressProgram = new PerfStressProgram(selectPerfStressTest([ListSettingsTest])); + +perfStressProgram.run(); diff --git a/sdk/appconfiguration/perf-tests/app-configuration/test/listSettings.spec.ts b/sdk/appconfiguration/perf-tests/app-configuration/test/listSettings.spec.ts new file mode 100644 index 000000000000..5f7910d81d4a --- /dev/null +++ b/sdk/appconfiguration/perf-tests/app-configuration/test/listSettings.spec.ts @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { generateUuid } from "@azure/core-http"; +import { PerfStressOptionDictionary, executeParallel } from "@azure/test-utils-perfstress"; +import { AppConfigTest } from "./appConfigBase.spec"; + +interface ListTestOptions { + /** + * Number of settings to be created/listed in the test + */ + count: number; +} + +export class ListSettingsTest extends AppConfigTest { + static prefix = generateUuid(); + public options: PerfStressOptionDictionary = { + count: { + required: true, + description: "Number of settings to be listed", + longName: "count", + defaultValue: 10 + } + }; + + public async globalSetup() { + await executeParallel( + async (_count: number, _index: number) => { + await this.client.addConfigurationSetting({ + key: ListSettingsTest.prefix + generateUuid(), + value: "random" + }); + }, + this.parsedOptions.count.value!, + 32 + ); + } + + async runAsync(): Promise { + for await (const response of this.client + .listConfigurationSettings({ keyFilter: ListSettingsTest.prefix + "*" }) + .byPage()) { + for (const _ of response.items) { + } + } + } + + public async globalCleanup() { + const keys: string[] = []; + for await (const response of this.client + .listConfigurationSettings({ keyFilter: ListSettingsTest.prefix + "*" }) + .byPage()) { + for (const setting of response.items) { + keys.push(setting.key); + } + } + await executeParallel( + async (count: number, _: number) => { + await this.client.deleteConfigurationSetting({ key: keys[count] }); + }, + this.parsedOptions.count.value!, + 32 + ); + } +} diff --git a/sdk/appconfiguration/perf-tests/app-configuration/tsconfig.json b/sdk/appconfiguration/perf-tests/app-configuration/tsconfig.json new file mode 100644 index 000000000000..3e6fb394a933 --- /dev/null +++ b/sdk/appconfiguration/perf-tests/app-configuration/tsconfig.json @@ -0,0 +1,16 @@ +{ + "extends": "../../../../tsconfig.package", + "compilerOptions": { + "module": "CommonJS", + "declarationDir": "./typings/latest", + "lib": [ + "ES6", + "ESNext.AsyncIterable" + ], + "noEmit": true + }, + "compileOnSave": true, + "include": [ + "./test/**/*.ts" + ] +} From bb9896d200a0e9b77210fdc7881a62bfe973a163 Mon Sep 17 00:00:00 2001 From: Harsha Nalluru Date: Thu, 24 Jun 2021 18:49:06 -0700 Subject: [PATCH 055/134] [core-http] Throttling retry policy fix in core-http (#15832) Fixes https://github.com/Azure/azure-sdk-for-js/issues/15796 ## Problem The throttlingRetryPolicy in core-http has the potential to retry for an extended period if the service continues returning "retry after" headers on subsequent calls. Here's the snippet of code that handles the "retry after" retries: ```typescript public async sendRequest(httpRequest: WebResource): Promise { return this._nextPolicy.sendRequest(httpRequest.clone()).catch((err) => { // other code elided.... return delay(delayInMs).then((_: any) => this.sendRequest(httpRequest.clone())); ``` ## Solution Update delay such that it respects abort signal. Similar to what I had to do for app-config at https://github.com/Azure/azure-sdk-for-js/pull/15721 --- .../src/policies/throttlingRetryPolicy.ts | 58 ++--------------- sdk/core/core-http/CHANGELOG.md | 1 + sdk/core/core-http/review/core-http.api.md | 5 +- sdk/core/core-http/src/coreHttp.ts | 3 +- .../bearerTokenAuthenticationPolicy.ts | 4 +- .../src/policies/exponentialRetryPolicy.ts | 4 +- .../src/policies/rpRegistrationPolicy.ts | 35 +++++------ .../src/policies/systemErrorRetryPolicy.ts | 4 +- .../src/policies/throttlingRetryPolicy.ts | 14 ++++- sdk/core/core-http/src/util/delay.ts | 62 +++++++++++++++++++ sdk/core/core-http/src/util/typeguards.ts | 11 ++++ sdk/core/core-http/src/util/utils.ts | 10 --- .../policies/throttlingRetryPolicyTests.ts | 38 +++++++++++- 13 files changed, 156 insertions(+), 93 deletions(-) create mode 100644 sdk/core/core-http/src/util/delay.ts create mode 100644 sdk/core/core-http/src/util/typeguards.ts diff --git a/sdk/appconfiguration/app-configuration/src/policies/throttlingRetryPolicy.ts b/sdk/appconfiguration/app-configuration/src/policies/throttlingRetryPolicy.ts index c53f9b599c4f..020daedd7cfb 100644 --- a/sdk/appconfiguration/app-configuration/src/policies/throttlingRetryPolicy.ts +++ b/sdk/appconfiguration/app-configuration/src/policies/throttlingRetryPolicy.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { AbortError, AbortSignalLike } from "@azure/abort-controller"; +import { AbortError } from "@azure/abort-controller"; import { BaseRequestPolicy, RequestPolicy, @@ -12,7 +12,7 @@ import { Constants, RestError } from "@azure/core-http"; -import { isDefined } from "../internal/typeguards"; +import { delay } from "@azure/core-http"; /** * @internal @@ -27,55 +27,6 @@ export function throttlingRetryPolicy(): RequestPolicyFactory { const StandardAbortMessage = "The operation was aborted."; -/** - * A wrapper for setTimeout that resolves a promise after t milliseconds. - * @param delayInMs - The number of milliseconds to be delayed. - * @param abortSignal - The abortSignal associated with containing operation. - * @param abortErrorMsg - The abort error message associated with containing operation. - * @returns - Resolved promise - */ -export function delay( - delayInMs: number, - abortSignal?: AbortSignalLike, - abortErrorMsg?: string -): Promise { - return new Promise((resolve, reject) => { - let timer: ReturnType | undefined = undefined; - let onAborted: (() => void) | undefined = undefined; - - const rejectOnAbort = (): void => { - return reject(new AbortError(abortErrorMsg ? abortErrorMsg : StandardAbortMessage)); - }; - - const removeListeners = (): void => { - if (abortSignal && onAborted) { - abortSignal.removeEventListener("abort", onAborted); - } - }; - - onAborted = (): void => { - if (isDefined(timer)) { - clearTimeout(timer); - } - removeListeners(); - return rejectOnAbort(); - }; - - if (abortSignal && abortSignal.aborted) { - return rejectOnAbort(); - } - - timer = setTimeout(() => { - removeListeners(); - resolve(); - }, delayInMs); - - if (abortSignal) { - abortSignal.addEventListener("abort", onAborted); - } - }); -} - /** * This policy is a close copy of the ThrottlingRetryPolicy class from * core-http with modifications to work with how AppConfig is currently @@ -97,7 +48,10 @@ export class ThrottlingRetryPolicy extends BaseRequestPolicy { throw err; } - await delay(delayInMs, httpRequest.abortSignal, StandardAbortMessage); + await delay(delayInMs, undefined, { + abortSignal: httpRequest.abortSignal, + abortErrorMsg: StandardAbortMessage + }); if (httpRequest.abortSignal?.aborted) { throw new AbortError(StandardAbortMessage); } diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index 28455bc8f792..75dee5caa518 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -15,6 +15,7 @@ ### Fixed - Fixed an issue where `proxySettings` does not work when there is username but no password [Issue 15720](https://github.com/Azure/azure-sdk-for-js/issues/15720) +- Throttling retry policy respects abort signal [#15796](https://github.com/Azure/azure-sdk-for-js/issues/15796) ## 1.2.6 (2021-06-14) diff --git a/sdk/core/core-http/review/core-http.api.md b/sdk/core/core-http/review/core-http.api.md index 830b40000f54..37110cddac5c 100644 --- a/sdk/core/core-http/review/core-http.api.md +++ b/sdk/core/core-http/review/core-http.api.md @@ -181,7 +181,10 @@ export class DefaultHttpClient extends FetchHttpClient { } // @public -export function delay(t: number, value?: T): Promise; +export function delay(delayInMs: number, value?: T, options?: { + abortSignal?: AbortSignalLike; + abortErrorMsg?: string; +}): Promise; // @public export interface DeserializationContentTypes { diff --git a/sdk/core/core-http/src/coreHttp.ts b/sdk/core/core-http/src/coreHttp.ts index dd3b91076fe9..6e726f0cffb6 100644 --- a/sdk/core/core-http/src/coreHttp.ts +++ b/sdk/core/core-http/src/coreHttp.ts @@ -99,7 +99,6 @@ export { export { stripRequest, stripResponse, - delay, executePromisesSequentially, generateUuid, encodeUri, @@ -113,7 +112,7 @@ export { } from "./util/utils"; export { URLBuilder, URLQuery } from "./url"; export { AbortSignalLike } from "@azure/abort-controller"; - +export { delay } from "./util/delay"; // legacy exports. Use core-tracing instead (and remove on next major version update of core-http). export { createSpanFunction, SpanConfig } from "./createSpanLegacy"; diff --git a/sdk/core/core-http/src/policies/bearerTokenAuthenticationPolicy.ts b/sdk/core/core-http/src/policies/bearerTokenAuthenticationPolicy.ts index 78e5d9957f85..5cb9bb3ab86f 100644 --- a/sdk/core/core-http/src/policies/bearerTokenAuthenticationPolicy.ts +++ b/sdk/core/core-http/src/policies/bearerTokenAuthenticationPolicy.ts @@ -11,7 +11,7 @@ import { import { Constants } from "../util/constants"; import { HttpOperationResponse } from "../httpOperationResponse"; import { WebResourceLike } from "../webResource"; -import { delay } from "../util/utils"; +import { delay } from "../util/delay"; // #region Access Token Cycler @@ -71,7 +71,7 @@ async function beginRefresh( ): Promise { // This wrapper handles exceptions gracefully as long as we haven't exceeded // the timeout. - async function tryGetAccessToken() { + async function tryGetAccessToken(): Promise { if (Date.now() < timeoutInMs) { try { return await getAccessToken(); diff --git a/sdk/core/core-http/src/policies/exponentialRetryPolicy.ts b/sdk/core/core-http/src/policies/exponentialRetryPolicy.ts index 89fbfb86c836..0623e5a00586 100644 --- a/sdk/core/core-http/src/policies/exponentialRetryPolicy.ts +++ b/sdk/core/core-http/src/policies/exponentialRetryPolicy.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license. import { HttpOperationResponse } from "../httpOperationResponse"; -import * as utils from "../util/utils"; import { WebResourceLike } from "../webResource"; import { BaseRequestPolicy, @@ -22,6 +21,7 @@ import { } from "../util/exponentialBackoffStrategy"; import { RestError } from "../restError"; import { logger } from "../log"; +import { delay } from "../util/delay"; export function exponentialRetryPolicy( retryCount?: number, @@ -164,7 +164,7 @@ async function retry( if (!isAborted && shouldRetry(policy.retryCount, shouldPolicyRetry, retryData, response)) { logger.info(`Retrying request in ${retryData.retryInterval}`); try { - await utils.delay(retryData.retryInterval); + await delay(retryData.retryInterval); const res = await policy._nextPolicy.sendRequest(request.clone()); return retry(policy, request, res, retryData); } catch (err) { diff --git a/sdk/core/core-http/src/policies/rpRegistrationPolicy.ts b/sdk/core/core-http/src/policies/rpRegistrationPolicy.ts index e23a50c0ee3b..76988d11e4d0 100644 --- a/sdk/core/core-http/src/policies/rpRegistrationPolicy.ts +++ b/sdk/core/core-http/src/policies/rpRegistrationPolicy.ts @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { delay } from "../util/delay"; import { HttpOperationResponse } from "../httpOperationResponse"; import * as utils from "../util/utils"; import { WebResourceLike } from "../webResource"; @@ -145,9 +146,8 @@ function extractSubscriptionUrl(url: string): string { * @param provider - The provider name to be registered. * @param originalRequest - The original request sent by the user that returned a 409 response * with a message that the provider is not registered. - * @param callback - The callback that handles the RP registration */ -function registerRP( +async function registerRP( policy: RPRegistrationPolicy, urlPrefix: string, provider: string, @@ -159,12 +159,11 @@ function registerRP( reqOptions.method = "POST"; reqOptions.url = postUrl; - return policy._nextPolicy.sendRequest(reqOptions).then((response) => { - if (response.status !== 200) { - throw new Error(`Autoregistration of ${provider} failed. Please try registering manually.`); - } - return getRegistrationStatus(policy, getUrl, originalRequest); - }); + const response = await policy._nextPolicy.sendRequest(reqOptions); + if (response.status !== 200) { + throw new Error(`Autoregistration of ${provider} failed. Please try registering manually.`); + } + return getRegistrationStatus(policy, getUrl, originalRequest); } /** @@ -176,7 +175,7 @@ function registerRP( * with a message that the provider is not registered. * @returns True if RP Registration is successful. */ -function getRegistrationStatus( +async function getRegistrationStatus( policy: RPRegistrationPolicy, url: string, originalRequest: WebResourceLike @@ -185,14 +184,12 @@ function getRegistrationStatus( reqOptions.url = url; reqOptions.method = "GET"; - return policy._nextPolicy.sendRequest(reqOptions).then((res) => { - const obj = res.parsedBody as any; - if (res.parsedBody && obj.registrationState && obj.registrationState === "Registered") { - return true; - } else { - return utils - .delay(policy._retryTimeout * 1000) - .then(() => getRegistrationStatus(policy, url, originalRequest)); - } - }); + const res = await policy._nextPolicy.sendRequest(reqOptions); + const obj = res.parsedBody; + if (res.parsedBody && obj.registrationState && obj.registrationState === "Registered") { + return true; + } else { + await delay(policy._retryTimeout * 1000); + return getRegistrationStatus(policy, url, originalRequest); + } } diff --git a/sdk/core/core-http/src/policies/systemErrorRetryPolicy.ts b/sdk/core/core-http/src/policies/systemErrorRetryPolicy.ts index 7586b140c9d5..6c7778505212 100644 --- a/sdk/core/core-http/src/policies/systemErrorRetryPolicy.ts +++ b/sdk/core/core-http/src/policies/systemErrorRetryPolicy.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license. import { HttpOperationResponse } from "../httpOperationResponse"; -import * as utils from "../util/utils"; import { WebResourceLike } from "../webResource"; import { BaseRequestPolicy, @@ -21,6 +20,7 @@ import { DEFAULT_CLIENT_MIN_RETRY_INTERVAL, isNumber } from "../util/exponentialBackoffStrategy"; +import { delay } from "../util/delay"; export function systemErrorRetryPolicy( retryCount?: number, @@ -107,7 +107,7 @@ async function retry( if (shouldRetry(policy.retryCount, shouldPolicyRetry, retryData, operationResponse, err)) { // If previous operation ended with an error and the policy allows a retry, do that try { - await utils.delay(retryData.retryInterval); + await delay(retryData.retryInterval); return policy._nextPolicy.sendRequest(request.clone()); } catch (nestedErr) { return retry(policy, request, operationResponse, nestedErr, retryData); diff --git a/sdk/core/core-http/src/policies/throttlingRetryPolicy.ts b/sdk/core/core-http/src/policies/throttlingRetryPolicy.ts index 6c02e59220f1..5d928a49a9b7 100644 --- a/sdk/core/core-http/src/policies/throttlingRetryPolicy.ts +++ b/sdk/core/core-http/src/policies/throttlingRetryPolicy.ts @@ -10,7 +10,8 @@ import { import { WebResourceLike } from "../webResource"; import { HttpOperationResponse } from "../httpOperationResponse"; import { Constants } from "../util/constants"; -import { delay } from "../util/utils"; +import { delay } from "../util/delay"; +import { AbortError } from "@azure/abort-controller"; type ResponseHandler = ( httpRequest: WebResourceLike, @@ -26,6 +27,8 @@ export function throttlingRetryPolicy(): RequestPolicyFactory { }; } +const StandardAbortMessage = "The operation was aborted."; + /** * To learn more, please refer to * https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-request-limits, @@ -67,7 +70,14 @@ export class ThrottlingRetryPolicy extends BaseRequestPolicy { retryAfterHeader ); if (delayInMs) { - return delay(delayInMs).then((_: any) => this._nextPolicy.sendRequest(httpRequest)); + await delay(delayInMs, undefined, { + abortSignal: httpRequest.abortSignal, + abortErrorMsg: StandardAbortMessage + }); + if (httpRequest.abortSignal?.aborted) { + throw new AbortError(StandardAbortMessage); + } + return this._nextPolicy.sendRequest(httpRequest); } } diff --git a/sdk/core/core-http/src/util/delay.ts b/sdk/core/core-http/src/util/delay.ts new file mode 100644 index 000000000000..211083a28f98 --- /dev/null +++ b/sdk/core/core-http/src/util/delay.ts @@ -0,0 +1,62 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { isDefined } from "./typeguards"; +import { AbortError, AbortSignalLike } from "@azure/abort-controller"; +const StandardAbortMessage = "The operation was aborted."; + +/** + * A wrapper for setTimeout that resolves a promise after delayInMs milliseconds. + * @param delayInMs - The number of milliseconds to be delayed. + * @param value - The value to be resolved with after a timeout of t milliseconds. + * @param options - The options for delay - currently abort options + * @param abortSignal - The abortSignal associated with containing operation. + * @param abortErrorMsg - The abort error message associated with containing operation. + * @returns - Resolved promise + */ +export function delay( + delayInMs: number, + value?: T, + options?: { + abortSignal?: AbortSignalLike; + abortErrorMsg?: string; + } +): Promise { + return new Promise((resolve, reject) => { + let timer: ReturnType | undefined = undefined; + let onAborted: (() => void) | undefined = undefined; + + const rejectOnAbort = (): void => { + return reject( + new AbortError(options?.abortErrorMsg ? options?.abortErrorMsg : StandardAbortMessage) + ); + }; + + const removeListeners = (): void => { + if (options?.abortSignal && onAborted) { + options.abortSignal.removeEventListener("abort", onAborted); + } + }; + + onAborted = (): void => { + if (isDefined(timer)) { + clearTimeout(timer); + } + removeListeners(); + return rejectOnAbort(); + }; + + if (options?.abortSignal && options.abortSignal.aborted) { + return rejectOnAbort(); + } + + timer = setTimeout(() => { + removeListeners(); + resolve(value); + }, delayInMs); + + if (options?.abortSignal) { + options.abortSignal.addEventListener("abort", onAborted); + } + }); +} diff --git a/sdk/core/core-http/src/util/typeguards.ts b/sdk/core/core-http/src/util/typeguards.ts new file mode 100644 index 000000000000..43a1b192c580 --- /dev/null +++ b/sdk/core/core-http/src/util/typeguards.ts @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * Helper TypeGuard that checks if the value is not null or undefined. + * @param thing - Anything + * @internal + */ +export function isDefined(thing: T | undefined | null): thing is T { + return typeof thing !== "undefined" && thing !== null; +} diff --git a/sdk/core/core-http/src/util/utils.ts b/sdk/core/core-http/src/util/utils.ts index 0cd289169223..2c2dd756f8a6 100644 --- a/sdk/core/core-http/src/util/utils.ts +++ b/sdk/core/core-http/src/util/utils.ts @@ -113,16 +113,6 @@ export function executePromisesSequentially( return result; } -/** - * A wrapper for setTimeout that resolves a promise after t milliseconds. - * @param t - The number of milliseconds to be delayed. - * @param value - The value to be resolved with after a timeout of t milliseconds. - * @returns Resolved promise - */ -export function delay(t: number, value?: T): Promise { - return new Promise((resolve) => setTimeout(() => resolve(value), t)); -} - /** * Service callback that is returned for REST requests initiated by the service client. */ diff --git a/sdk/core/core-http/test/policies/throttlingRetryPolicyTests.ts b/sdk/core/core-http/test/policies/throttlingRetryPolicyTests.ts index 5d663dfdd1d9..c14a873c6196 100644 --- a/sdk/core/core-http/test/policies/throttlingRetryPolicyTests.ts +++ b/sdk/core/core-http/test/policies/throttlingRetryPolicyTests.ts @@ -6,7 +6,8 @@ import sinon from "sinon"; import { ThrottlingRetryPolicy } from "../../src/policies/throttlingRetryPolicy"; import { WebResource } from "../../src/webResource"; import { HttpOperationResponse } from "../../src/httpOperationResponse"; -import { HttpHeaders, RequestPolicyOptions } from "../../src/coreHttp"; +import { Constants, HttpHeaders, RequestPolicyOptions } from "../../src/coreHttp"; +import { AbortController } from "@azure/abort-controller"; describe("ThrottlingRetryPolicy", () => { class PassThroughPolicy { @@ -112,6 +113,41 @@ describe("ThrottlingRetryPolicy", () => { delete (response.request as any).requestId; assert.deepEqual(response, mockResponse); }); + + it("should honor the abort signal passed", async () => { + const request = new WebResource( + "https://fakeservice.io", + "GET", + undefined, + undefined, + undefined, + undefined, + undefined, + AbortController.timeout(100) + ); + const mockResponse = { + headers: new HttpHeaders({ + "Retry-After": "10000" + }), + status: Constants.HttpConstants.StatusCodes.TooManyRequests, + body: { + type: "https://fakeservice.io/errors/too-many-requests", + title: "Resource utilization has surpassed the assigned quota", + policy: "Total Requests", + status: Constants.HttpConstants.StatusCodes.TooManyRequests + }, + request: request + }; + const policy = createDefaultThrottlingRetryPolicy(mockResponse); + let errorWasThrown = false; + try { + await policy.sendRequest(request); + } catch (error) { + errorWasThrown = true; + assert.equal((error as any).name, "AbortError", "Unexpected error thrown"); + } + assert.equal(errorWasThrown, true, "Error was not thrown"); + }); }); describe("parseRetryAfterHeader", () => { From d76e6f68add79ecc3133285387c9a8cc4c39032c Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 25 Jun 2021 10:02:23 +0800 Subject: [PATCH 056/134] arm-support-identity-ten (#15942) --- sdk/edgegateway/arm-edgegateway/README.md | 105 +++++++++------- sdk/edgegateway/arm-edgegateway/package.json | 9 +- .../src/dataBoxEdgeManagementClient.ts | 10 +- .../src/dataBoxEdgeManagementClientContext.ts | 14 ++- .../README.md | 104 +++++++++------- .../package.json | 9 +- .../src/eventHubManagementClient.ts | 10 +- .../src/eventHubManagementClientContext.ts | 14 ++- sdk/features/arm-features/README.md | 105 +++++++++------- sdk/features/arm-features/package.json | 9 +- .../arm-features/src/featureClient.ts | 10 +- .../arm-features/src/featureClientContext.ts | 14 ++- sdk/frontdoor/arm-frontdoor/README.md | 104 +++++++++------- sdk/frontdoor/arm-frontdoor/package.json | 9 +- .../src/frontDoorManagementClient.ts | 10 +- .../src/frontDoorManagementClientContext.ts | 14 ++- sdk/hanaonazure/arm-hanaonazure/README.md | 104 +++++++++------- sdk/hanaonazure/arm-hanaonazure/package.json | 9 +- .../src/hanaManagementClient.ts | 10 +- .../src/hanaManagementClientContext.ts | 14 ++- sdk/healthbot/arm-healthbot/README.md | 108 ++++++++-------- sdk/healthbot/arm-healthbot/package.json | 9 +- .../arm-healthbot/src/healthbotClient.ts | 10 +- .../src/healthbotClientContext.ts | 14 ++- .../arm-healthcareapis/README.md | 111 +++++++++-------- .../arm-healthcareapis/package.json | 9 +- .../src/healthcareApisManagementClient.ts | 10 +- .../healthcareApisManagementClientContext.ts | 14 ++- sdk/hybridcompute/arm-hybridcompute/README.md | 115 ++++++++++-------- .../arm-hybridcompute/package.json | 9 +- .../src/hybridComputeManagementClient.ts | 10 +- .../hybridComputeManagementClientContext.ts | 14 ++- 32 files changed, 652 insertions(+), 468 deletions(-) diff --git a/sdk/edgegateway/arm-edgegateway/README.md b/sdk/edgegateway/arm-edgegateway/README.md index cf6598930307..222af87a2cc7 100644 --- a/sdk/edgegateway/arm-edgegateway/README.md +++ b/sdk/edgegateway/arm-edgegateway/README.md @@ -1,89 +1,100 @@ ## Azure DataBoxEdgeManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DataBoxEdgeManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for DataBoxEdgeManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-edgegateway` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-edgegateway +npm install --save @azure/arm-edgegateway @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DataBoxEdgeManagementClient, DataBoxEdgeManagementModels, DataBoxEdgeManagementMappers } from "@azure/arm-edgegateway"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { DataBoxEdgeManagementClient } = require("@azure/arm-edgegateway"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DataBoxEdgeManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new DataBoxEdgeManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-edgegateway sample - - + @@ -95,4 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fedgegateway%2Farm-edgegateway%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/edgegateway/arm-edgegateway/README.png) diff --git a/sdk/edgegateway/arm-edgegateway/package.json b/sdk/edgegateway/arm-edgegateway/package.json index 9a2d803c2bc2..8173ccaa03f8 100644 --- a/sdk/edgegateway/arm-edgegateway/package.json +++ b/sdk/edgegateway/arm-edgegateway/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-edgegateway", "author": "Microsoft Corporation", "description": "DataBoxEdgeManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.1", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.0", - "@azure/ms-rest-js": "^2.0.3", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/dataBoxEdgeManagementClient.js", "types": "./esm/dataBoxEdgeManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/edgegateway/arm-edgegateway/src/dataBoxEdgeManagementClient.ts b/sdk/edgegateway/arm-edgegateway/src/dataBoxEdgeManagementClient.ts index 54b54a5dde0c..ccbb9092d2a8 100644 --- a/sdk/edgegateway/arm-edgegateway/src/dataBoxEdgeManagementClient.ts +++ b/sdk/edgegateway/arm-edgegateway/src/dataBoxEdgeManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -32,11 +33,16 @@ class DataBoxEdgeManagementClient extends DataBoxEdgeManagementClientContext { /** * Initializes a new instance of the DataBoxEdgeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.devices = new operations.Devices(this); diff --git a/sdk/edgegateway/arm-edgegateway/src/dataBoxEdgeManagementClientContext.ts b/sdk/edgegateway/arm-edgegateway/src/dataBoxEdgeManagementClientContext.ts index 992950ef55a5..06dbe667fa10 100644 --- a/sdk/edgegateway/arm-edgegateway/src/dataBoxEdgeManagementClientContext.ts +++ b/sdk/edgegateway/arm-edgegateway/src/dataBoxEdgeManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-edgegateway"; -const packageVersion = "2.0.1"; +const packageVersion = "2.1.0"; export class DataBoxEdgeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the DataBoxEdgeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.DataBoxEdgeManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/README.md b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/README.md index 64c9351b5671..4783a31e606a 100644 --- a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/README.md +++ b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure EventHubManagementClient SDK for JavaScript -This package contains an isomorphic SDK for EventHubManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for EventHubManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-eventhub-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-eventhub-profile-2020-09-01-hybrid +npm install --save @azure/arm-eventhub-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listAvailableClusterRegion clusters as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listAvailableClusterRegion clusters as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { EventHubManagementClient, EventHubManagementModels, EventHubManagementMappers } from "@azure/arm-eventhub-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { EventHubManagementClient } = require("@azure/arm-eventhub-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new EventHubManagementClient(creds, subscriptionId); - client.clusters.listAvailableClusterRegion().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new EventHubManagementClient(creds, subscriptionId); + +client.clusters.listAvailableClusterRegion().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listAvailableClusterRegion clusters as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and listAvailableClusterRegion clusters as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-eventhub-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/package.json b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/package.json index cab3741b3807..45f81359acb0 100644 --- a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/package.json +++ b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-eventhub-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "EventHubManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/eventHubManagementClient.js", "types": "./esm/eventHubManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/src/eventHubManagementClient.ts b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/src/eventHubManagementClient.ts index c4070e10cd6e..0823baa53944 100644 --- a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/src/eventHubManagementClient.ts +++ b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/src/eventHubManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -29,12 +30,17 @@ class EventHubManagementClient extends EventHubManagementClientContext { /** * Initializes a new instance of the EventHubManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.EventHubManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.EventHubManagementClientOptions) { super(credentials, subscriptionId, options); this.clusters = new operations.Clusters(this); this.namespaces = new operations.Namespaces(this); diff --git a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/src/eventHubManagementClientContext.ts b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/src/eventHubManagementClientContext.ts index a4496993ddb3..acf113afe826 100644 --- a/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/src/eventHubManagementClientContext.ts +++ b/sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid/src/eventHubManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-eventhub-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class EventHubManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the EventHubManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.EventHubManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.EventHubManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/features/arm-features/README.md b/sdk/features/arm-features/README.md index 4d1f70e02942..206666597069 100644 --- a/sdk/features/arm-features/README.md +++ b/sdk/features/arm-features/README.md @@ -1,89 +1,100 @@ ## Azure FeatureClient SDK for JavaScript -This package contains an isomorphic SDK for FeatureClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for FeatureClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-features` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-features +npm install --save @azure/arm-features @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and listOperations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { FeatureClient, FeatureModels, FeatureMappers } from "@azure/arm-features"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { FeatureClient } = require("@azure/arm-features"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new FeatureClient(creds, subscriptionId); - client.listOperations().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new FeatureClient(creds, subscriptionId); + +client.listOperations().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listOperations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and listOperations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-features sample - - + @@ -95,4 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Ffeatures%2Farm-features%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/features/arm-features/README.png) diff --git a/sdk/features/arm-features/package.json b/sdk/features/arm-features/package.json index b9c9587fcd8d..32b4ebd94156 100644 --- a/sdk/features/arm-features/package.json +++ b/sdk/features/arm-features/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-features", "author": "Microsoft Corporation", "description": "FeatureClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.3", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/featureClient.js", "types": "./esm/featureClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/features/arm-features/src/featureClient.ts b/sdk/features/arm-features/src/featureClient.ts index 0274b01bb026..b3a263b43844 100644 --- a/sdk/features/arm-features/src/featureClient.ts +++ b/sdk/features/arm-features/src/featureClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -22,11 +23,16 @@ class FeatureClient extends FeatureClientContext { /** * Initializes a new instance of the FeatureClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.FeatureClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.FeatureClientOptions) { super(credentials, subscriptionId, options); this.features = new operations.Features(this); } diff --git a/sdk/features/arm-features/src/featureClientContext.ts b/sdk/features/arm-features/src/featureClientContext.ts index e9864f636516..078693ce2e04 100644 --- a/sdk/features/arm-features/src/featureClientContext.ts +++ b/sdk/features/arm-features/src/featureClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-features"; -const packageVersion = "1.0.3"; +const packageVersion = "1.1.0"; export class FeatureClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the FeatureClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.FeatureClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.FeatureClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/frontdoor/arm-frontdoor/README.md b/sdk/frontdoor/arm-frontdoor/README.md index 3714fa555cc1..e561dc027d3a 100644 --- a/sdk/frontdoor/arm-frontdoor/README.md +++ b/sdk/frontdoor/arm-frontdoor/README.md @@ -1,90 +1,100 @@ ## Azure FrontDoorManagementClient SDK for JavaScript -This package contains an isomorphic SDK for FrontDoorManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for FrontDoorManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-frontdoor` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-frontdoor +npm install --save @azure/arm-frontdoor @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list networkExperimentProfiles as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list networkExperimentProfiles as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { FrontDoorManagementClient, FrontDoorManagementModels, FrontDoorManagementMappers } from "@azure/arm-frontdoor"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { FrontDoorManagementClient } = require("@azure/arm-frontdoor"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new FrontDoorManagementClient(creds, subscriptionId); - client.networkExperimentProfiles.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new FrontDoorManagementClient(creds, subscriptionId); + +client.networkExperimentProfiles.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list networkExperimentProfiles as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list networkExperimentProfiles as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-frontdoor sample - - + diff --git a/sdk/frontdoor/arm-frontdoor/package.json b/sdk/frontdoor/arm-frontdoor/package.json index e02afe2818a4..a54071e72f15 100644 --- a/sdk/frontdoor/arm-frontdoor/package.json +++ b/sdk/frontdoor/arm-frontdoor/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-frontdoor", "author": "Microsoft Corporation", "description": "FrontDoorManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/frontDoorManagementClient.js", "types": "./esm/frontDoorManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/frontdoor/arm-frontdoor/src/frontDoorManagementClient.ts b/sdk/frontdoor/arm-frontdoor/src/frontDoorManagementClient.ts index 5388cb4f8e81..455d90cd30e2 100644 --- a/sdk/frontdoor/arm-frontdoor/src/frontDoorManagementClient.ts +++ b/sdk/frontdoor/arm-frontdoor/src/frontDoorManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -31,12 +32,17 @@ class FrontDoorManagementClient extends FrontDoorManagementClientContext { /** * Initializes a new instance of the FrontDoorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.FrontDoorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.FrontDoorManagementClientOptions) { super(credentials, subscriptionId, options); this.networkExperimentProfiles = new operations.NetworkExperimentProfiles(this); this.preconfiguredEndpoints = new operations.PreconfiguredEndpoints(this); diff --git a/sdk/frontdoor/arm-frontdoor/src/frontDoorManagementClientContext.ts b/sdk/frontdoor/arm-frontdoor/src/frontDoorManagementClientContext.ts index cb08f9cfe86d..0d82e8c67d56 100644 --- a/sdk/frontdoor/arm-frontdoor/src/frontDoorManagementClientContext.ts +++ b/sdk/frontdoor/arm-frontdoor/src/frontDoorManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-frontdoor"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class FrontDoorManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the FrontDoorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.FrontDoorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.FrontDoorManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/hanaonazure/arm-hanaonazure/README.md b/sdk/hanaonazure/arm-hanaonazure/README.md index d2724649ce49..041c2ba406bd 100644 --- a/sdk/hanaonazure/arm-hanaonazure/README.md +++ b/sdk/hanaonazure/arm-hanaonazure/README.md @@ -1,90 +1,100 @@ ## Azure HanaManagementClient SDK for JavaScript -This package contains an isomorphic SDK for HanaManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for HanaManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-hanaonazure` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-hanaonazure +npm install --save @azure/arm-hanaonazure @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { HanaManagementClient, HanaManagementModels, HanaManagementMappers } from "@azure/arm-hanaonazure"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { HanaManagementClient } = require("@azure/arm-hanaonazure"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new HanaManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new HanaManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-hanaonazure sample - - + diff --git a/sdk/hanaonazure/arm-hanaonazure/package.json b/sdk/hanaonazure/arm-hanaonazure/package.json index 5482c18a84a9..ab0cea549edf 100644 --- a/sdk/hanaonazure/arm-hanaonazure/package.json +++ b/sdk/hanaonazure/arm-hanaonazure/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-hanaonazure", "author": "Microsoft Corporation", "description": "HanaManagementClient Library with typescript type definitions for node.js and browser.", - "version": "3.0.0", + "version": "3.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/hanaManagementClient.js", "types": "./esm/hanaManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/hanaonazure/arm-hanaonazure/src/hanaManagementClient.ts b/sdk/hanaonazure/arm-hanaonazure/src/hanaManagementClient.ts index 29c571d53465..afa2feda18ea 100644 --- a/sdk/hanaonazure/arm-hanaonazure/src/hanaManagementClient.ts +++ b/sdk/hanaonazure/arm-hanaonazure/src/hanaManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,12 +24,17 @@ class HanaManagementClient extends HanaManagementClientContext { /** * Initializes a new instance of the HanaManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription ID which uniquely identify Microsoft Azure subscription. The * subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.HanaManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HanaManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.hanaInstances = new operations.HanaInstances(this); diff --git a/sdk/hanaonazure/arm-hanaonazure/src/hanaManagementClientContext.ts b/sdk/hanaonazure/arm-hanaonazure/src/hanaManagementClientContext.ts index cc31e25717de..972d0d47795d 100644 --- a/sdk/hanaonazure/arm-hanaonazure/src/hanaManagementClientContext.ts +++ b/sdk/hanaonazure/arm-hanaonazure/src/hanaManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-hanaonazure"; -const packageVersion = "3.0.0"; +const packageVersion = "3.1.0"; export class HanaManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the HanaManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription ID which uniquely identify Microsoft Azure subscription. The * subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.HanaManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HanaManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/healthbot/arm-healthbot/README.md b/sdk/healthbot/arm-healthbot/README.md index f924753fdcd0..9c958930e38f 100644 --- a/sdk/healthbot/arm-healthbot/README.md +++ b/sdk/healthbot/arm-healthbot/README.md @@ -1,93 +1,103 @@ ## Azure HealthbotClient SDK for JavaScript -This package contains an isomorphic SDK for HealthbotClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for HealthbotClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-healthbot` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-healthbot +npm install --save @azure/arm-healthbot @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get bots as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get bots as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { HealthbotClient } = require("@azure/arm-healthbot"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new HealthbotClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const botName = "testbotName"; - client.bots.get(resourceGroupName, botName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new HealthbotClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const botName = "testbotName"; +client.bots.get(resourceGroupName, botName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get bots as an example written in JavaScript. +#### browser - Authentication, client creation, and get bots as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-healthbot sample - - + diff --git a/sdk/healthbot/arm-healthbot/package.json b/sdk/healthbot/arm-healthbot/package.json index 7b0b7f2cdbe1..fa10f70a96ff 100644 --- a/sdk/healthbot/arm-healthbot/package.json +++ b/sdk/healthbot/arm-healthbot/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-healthbot", "author": "Microsoft Corporation", "description": "HealthbotClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/healthbotClient.js", "types": "./esm/healthbotClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/healthbot/arm-healthbot/src/healthbotClient.ts b/sdk/healthbot/arm-healthbot/src/healthbotClient.ts index df54dca68ff0..496448fb89d8 100644 --- a/sdk/healthbot/arm-healthbot/src/healthbotClient.ts +++ b/sdk/healthbot/arm-healthbot/src/healthbotClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -21,11 +22,16 @@ class HealthbotClient extends HealthbotClientContext { /** * Initializes a new instance of the HealthbotClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.HealthbotClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HealthbotClientOptions) { super(credentials, subscriptionId, options); this.bots = new operations.Bots(this); this.operations = new operations.Operations(this); diff --git a/sdk/healthbot/arm-healthbot/src/healthbotClientContext.ts b/sdk/healthbot/arm-healthbot/src/healthbotClientContext.ts index 17f6ce40ff8a..2938b4b9edcb 100644 --- a/sdk/healthbot/arm-healthbot/src/healthbotClientContext.ts +++ b/sdk/healthbot/arm-healthbot/src/healthbotClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-healthbot"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class HealthbotClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the HealthbotClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.HealthbotClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HealthbotClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/healthcareapis/arm-healthcareapis/README.md b/sdk/healthcareapis/arm-healthcareapis/README.md index dd046321d2bd..1bad96847efa 100644 --- a/sdk/healthcareapis/arm-healthcareapis/README.md +++ b/sdk/healthcareapis/arm-healthcareapis/README.md @@ -1,94 +1,103 @@ ## Azure HealthcareApisManagementClient SDK for JavaScript -This package contains an isomorphic SDK for HealthcareApisManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for HealthcareApisManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-healthcareapis` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-healthcareapis +npm install --save @azure/arm-healthcareapis @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get services as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get services as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { HealthcareApisManagementClient, HealthcareApisManagementModels, HealthcareApisManagementMappers } from "@azure/arm-healthcareapis"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { HealthcareApisManagementClient } = require("@azure/arm-healthcareapis"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new HealthcareApisManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const resourceName = "testresourceName"; - client.services.get(resourceGroupName, resourceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new HealthcareApisManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const resourceName = "testresourceName"; +client.services.get(resourceGroupName, resourceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get services as an example written in JavaScript. +#### browser - Authentication, client creation, and get services as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-healthcareapis sample - - + diff --git a/sdk/healthcareapis/arm-healthcareapis/package.json b/sdk/healthcareapis/arm-healthcareapis/package.json index 44c4443b0b6c..55b5607b3682 100644 --- a/sdk/healthcareapis/arm-healthcareapis/package.json +++ b/sdk/healthcareapis/arm-healthcareapis/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-healthcareapis", "author": "Microsoft Corporation", "description": "HealthcareApisManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/healthcareApisManagementClient.js", "types": "./esm/healthcareApisManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClient.ts b/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClient.ts index 1668cc0472e3..7d86396d1f02 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClient.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class HealthcareApisManagementClient extends HealthcareApisManagementClientConte /** * Initializes a new instance of the HealthcareApisManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.HealthcareApisManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HealthcareApisManagementClientOptions) { super(credentials, subscriptionId, options); this.services = new operations.Services(this); this.operations = new operations.Operations(this); diff --git a/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClientContext.ts b/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClientContext.ts index 6cf3bdaf6488..4fbe87e723ce 100644 --- a/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClientContext.ts +++ b/sdk/healthcareapis/arm-healthcareapis/src/healthcareApisManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-healthcareapis"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class HealthcareApisManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the HealthcareApisManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.HealthcareApisManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HealthcareApisManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/hybridcompute/arm-hybridcompute/README.md b/sdk/hybridcompute/arm-hybridcompute/README.md index 772bc400fa39..73bbc005d236 100644 --- a/sdk/hybridcompute/arm-hybridcompute/README.md +++ b/sdk/hybridcompute/arm-hybridcompute/README.md @@ -1,96 +1,105 @@ ## Azure HybridComputeManagementClient SDK for JavaScript -This package contains an isomorphic SDK for HybridComputeManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for HybridComputeManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-hybridcompute` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-hybridcompute +npm install --save @azure/arm-hybridcompute @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get machines as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get machines as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { HybridComputeManagementClient, HybridComputeManagementModels, HybridComputeManagementMappers } from "@azure/arm-hybridcompute"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { HybridComputeManagementClient } = require("@azure/arm-hybridcompute"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new HybridComputeManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const name = "testname"; - const expand = "instanceView"; - client.machines.get(resourceGroupName, name, expand).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new HybridComputeManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const name = "testname"; +const expand = "instanceView"; +client.machines.get(resourceGroupName, name, expand).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get machines as an example written in JavaScript. +#### browser - Authentication, client creation, and get machines as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-hybridcompute sample - - + diff --git a/sdk/hybridcompute/arm-hybridcompute/package.json b/sdk/hybridcompute/arm-hybridcompute/package.json index a9e95ce265a7..32ed68e5a6b0 100644 --- a/sdk/hybridcompute/arm-hybridcompute/package.json +++ b/sdk/hybridcompute/arm-hybridcompute/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-hybridcompute", "author": "Microsoft Corporation", "description": "HybridComputeManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/hybridComputeManagementClient.js", "types": "./esm/hybridComputeManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClient.ts b/sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClient.ts index 1dff14273cc3..d83c89f25d6e 100644 --- a/sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClient.ts +++ b/sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,12 +24,17 @@ class HybridComputeManagementClient extends HybridComputeManagementClientContext /** * Initializes a new instance of the HybridComputeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.HybridComputeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HybridComputeManagementClientOptions) { super(credentials, subscriptionId, options); this.machines = new operations.Machines(this); this.machineExtensions = new operations.MachineExtensions(this); diff --git a/sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClientContext.ts b/sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClientContext.ts index 40de94b329c4..fdc8d64894bc 100644 --- a/sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClientContext.ts +++ b/sdk/hybridcompute/arm-hybridcompute/src/hybridComputeManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-hybridcompute"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class HybridComputeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the HybridComputeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.HybridComputeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.HybridComputeManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From 2f90a8781fc87246a80e0e14b3563db7c2b92ef0 Mon Sep 17 00:00:00 2001 From: chradek <51000525+chradek@users.noreply.github.com> Date: Fri, 25 Jun 2021 10:24:23 -0700 Subject: [PATCH 057/134] [event-hubs] migrate samples to v2 (#15053) Followed the steps at https://github.com/Azure/azure-sdk-for-js/wiki/Samples-v2-Migration-Guide /cc @willmtemple Note: I moved browserSamples and expressSamples into the generated v5 samples folder since dev-tool doesn't work with those. --- sdk/eventhub/event-hubs/migrationguide.md | 26 +-- sdk/eventhub/event-hubs/package.json | 26 ++- sdk/eventhub/event-hubs/sample.env | 8 +- .../README.md | 10 +- .../index.html | 0 .../package.json | 0 .../src/configuration.js | 0 .../src/index.js | 0 .../src/receiveEvents.js | 0 .../src/sendEvents.js | 0 .../iothubConnectionString.ts | 29 +-- .../src => samples-dev}/receiveEvents.ts | 20 +- .../src => samples-dev}/sendEvents.ts | 12 +- .../src => samples-dev}/useWithIotHub.ts | 7 +- .../event-hubs/samples-dev/usingAadAuth.ts | 58 +++++ .../src => samples-dev}/websockets.ts | 18 +- .../src => samples-express}/README.md | 10 +- .../package.json | 0 .../src/asyncBatchingProducer.ts | 0 .../src/index.ts | 0 .../tsconfig.json | 0 .../event-hubs/samples/javascript/README.md | 78 ------- .../samples/javascript/usingAadAuth.js | 62 ------ sdk/eventhub/event-hubs/samples/tsconfig.json | 9 - .../event-hubs/samples/typescript/README.md | 84 ------- .../samples/typescript/src/usingAadAuth.ts | 60 ----- .../event-hubs/samples/v5/browser/README.md | 90 ++++++++ .../event-hubs/samples/v5/browser/index.html | 79 +++++++ .../{javascript => v5/browser}/package.json | 25 +-- .../samples/v5/browser/src/configuration.js | 31 +++ .../samples/v5/browser/src/index.js | 20 ++ .../samples/v5/browser/src/receiveEvents.js | 67 ++++++ .../samples/v5/browser/src/sendEvents.js | 96 ++++++++ .../event-hubs/samples/v5/express/README.md | 54 +++++ .../{typescript => v5/express}/package.json | 27 ++- .../v5/express/src/asyncBatchingProducer.ts | 210 ++++++++++++++++++ .../samples/v5/express/src/index.ts | 55 +++++ .../express}/tsconfig.json | 1 - .../samples/v5/javascript/README.md | 73 ++++++ .../javascript/iothubConnectionString.js | 42 ++-- .../samples/v5/javascript/package.json | 35 +++ .../{ => v5}/javascript/receiveEvents.js | 21 +- .../samples/{ => v5}/javascript/sample.env | 6 +- .../samples/{ => v5}/javascript/sendEvents.js | 15 +- .../{ => v5}/javascript/useWithIotHub.js | 12 +- .../samples/v5/javascript/usingAadAuth.js | 56 +++++ .../samples/{ => v5}/javascript/websockets.js | 28 +-- .../samples/v5/typescript/README.md | 86 +++++++ .../samples/v5/typescript/package.json | 43 ++++ .../samples/{ => v5}/typescript/sample.env | 6 +- .../typescript/src/iothubConnectionString.ts | 165 ++++++++++++++ .../v5/typescript/src/receiveEvents.ts | 56 +++++ .../samples/v5/typescript/src/sendEvents.ts | 109 +++++++++ .../v5/typescript/src/useWithIotHub.ts | 33 +++ .../samples/v5/typescript/src/usingAadAuth.ts | 56 +++++ .../samples/v5/typescript/src/websockets.ts | 54 +++++ .../samples/v5/typescript/tsconfig.json | 17 ++ sdk/eventhub/event-hubs/tsconfig.json | 7 +- 58 files changed, 1713 insertions(+), 479 deletions(-) rename sdk/eventhub/event-hubs/{samples/browserSample => samples-browser}/README.md (93%) rename sdk/eventhub/event-hubs/{samples/browserSample => samples-browser}/index.html (100%) rename sdk/eventhub/event-hubs/{samples/browserSample => samples-browser}/package.json (100%) rename sdk/eventhub/event-hubs/{samples/browserSample => samples-browser}/src/configuration.js (100%) rename sdk/eventhub/event-hubs/{samples/browserSample => samples-browser}/src/index.js (100%) rename sdk/eventhub/event-hubs/{samples/browserSample => samples-browser}/src/receiveEvents.js (100%) rename sdk/eventhub/event-hubs/{samples/browserSample => samples-browser}/src/sendEvents.js (100%) rename sdk/eventhub/event-hubs/{samples/typescript/src => samples-dev}/iothubConnectionString.ts (89%) rename sdk/eventhub/event-hubs/{samples/typescript/src => samples-dev}/receiveEvents.ts (69%) rename sdk/eventhub/event-hubs/{samples/typescript/src => samples-dev}/sendEvents.ts (89%) rename sdk/eventhub/event-hubs/{samples/typescript/src => samples-dev}/useWithIotHub.ts (91%) create mode 100644 sdk/eventhub/event-hubs/samples-dev/usingAadAuth.ts rename sdk/eventhub/event-hubs/{samples/typescript/src => samples-dev}/websockets.ts (69%) rename sdk/eventhub/event-hubs/{samples/expressSample/src => samples-express}/README.md (73%) rename sdk/eventhub/event-hubs/{samples/expressSample => samples-express}/package.json (100%) rename sdk/eventhub/event-hubs/{samples/expressSample => samples-express}/src/asyncBatchingProducer.ts (100%) rename sdk/eventhub/event-hubs/{samples/expressSample => samples-express}/src/index.ts (100%) rename sdk/eventhub/event-hubs/{samples/typescript => samples-express}/tsconfig.json (100%) delete mode 100644 sdk/eventhub/event-hubs/samples/javascript/README.md delete mode 100644 sdk/eventhub/event-hubs/samples/javascript/usingAadAuth.js delete mode 100644 sdk/eventhub/event-hubs/samples/tsconfig.json delete mode 100644 sdk/eventhub/event-hubs/samples/typescript/README.md delete mode 100644 sdk/eventhub/event-hubs/samples/typescript/src/usingAadAuth.ts create mode 100644 sdk/eventhub/event-hubs/samples/v5/browser/README.md create mode 100644 sdk/eventhub/event-hubs/samples/v5/browser/index.html rename sdk/eventhub/event-hubs/samples/{javascript => v5/browser}/package.json (62%) create mode 100644 sdk/eventhub/event-hubs/samples/v5/browser/src/configuration.js create mode 100644 sdk/eventhub/event-hubs/samples/v5/browser/src/index.js create mode 100644 sdk/eventhub/event-hubs/samples/v5/browser/src/receiveEvents.js create mode 100644 sdk/eventhub/event-hubs/samples/v5/browser/src/sendEvents.js create mode 100644 sdk/eventhub/event-hubs/samples/v5/express/README.md rename sdk/eventhub/event-hubs/samples/{typescript => v5/express}/package.json (59%) create mode 100644 sdk/eventhub/event-hubs/samples/v5/express/src/asyncBatchingProducer.ts create mode 100644 sdk/eventhub/event-hubs/samples/v5/express/src/index.ts rename sdk/eventhub/event-hubs/samples/{expressSample => v5/express}/tsconfig.json (99%) create mode 100644 sdk/eventhub/event-hubs/samples/v5/javascript/README.md rename sdk/eventhub/event-hubs/samples/{ => v5}/javascript/iothubConnectionString.js (83%) create mode 100644 sdk/eventhub/event-hubs/samples/v5/javascript/package.json rename sdk/eventhub/event-hubs/samples/{ => v5}/javascript/receiveEvents.js (67%) rename sdk/eventhub/event-hubs/samples/{ => v5}/javascript/sample.env (68%) rename sdk/eventhub/event-hubs/samples/{ => v5}/javascript/sendEvents.js (89%) rename sdk/eventhub/event-hubs/samples/{ => v5}/javascript/useWithIotHub.js (86%) create mode 100644 sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js rename sdk/eventhub/event-hubs/samples/{ => v5}/javascript/websockets.js (62%) create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/README.md create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/package.json rename sdk/eventhub/event-hubs/samples/{ => v5}/typescript/sample.env (68%) create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/src/sendEvents.ts create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/src/useWithIotHub.ts create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/src/usingAadAuth.ts create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts create mode 100644 sdk/eventhub/event-hubs/samples/v5/typescript/tsconfig.json diff --git a/sdk/eventhub/event-hubs/migrationguide.md b/sdk/eventhub/event-hubs/migrationguide.md index f75dd77f61e0..5753c822306d 100644 --- a/sdk/eventhub/event-hubs/migrationguide.md +++ b/sdk/eventhub/event-hubs/migrationguide.md @@ -67,11 +67,11 @@ allowing the `EventHubConsumerClient` to be the single point of entry for receiv ### Client constructors -| In v2 | Equivalent in v5 | Sample | -| ------------------------------------------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `EventHubClient.createFromConnectionString()` | `new EventHubProducerClient()` or `new EventHubConsumerClient()` | [receiveEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts), [sendEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/sendEvents.ts) | -| `EventHubClient.createFromAadTokenCredentials()` | `new EventHubProducerClient()` or `new EventHubConsumerClient()` | [usingAadAuth](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/usingAadAuth.ts) | -| `EventProcessorHost.createFromConnectionString()` | `new EventHubConsumerClient(..., checkpointStore)` | [receiveEventsUsingCheckpointStore](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts) | +| In v2 | Equivalent in v5 | Sample | +| ------------------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `EventHubClient.createFromConnectionString()` | `new EventHubProducerClient()` or `new EventHubConsumerClient()` | [receiveEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts), [sendEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendEvents.ts) | +| `EventHubClient.createFromAadTokenCredentials()` | `new EventHubProducerClient()` or `new EventHubConsumerClient()` | [usingAadAuth](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/usingAadAuth.ts) | +| `EventProcessorHost.createFromConnectionString()` | `new EventHubConsumerClient(..., checkpointStore)` | [receiveEventsUsingCheckpointStore](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts) | Other noteworthy changes: @@ -87,9 +87,9 @@ This and the need to support improvements to the algorithm used for managing par ### Sending events -| In v2 | Equivalent in v5 | Sample | -| ---------------------------------- | ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `EventHubClient.sendBatch(events)` | `EventHubProducerClient.sendBatch(eventBatch)` | [sendEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/sendEvents.ts) | +| In v2 | Equivalent in v5 | Sample | +| ---------------------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `EventHubClient.sendBatch(events)` | `EventHubProducerClient.sendBatch(eventBatch)` | [sendEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendEvents.ts) | Other noteworthy changes: @@ -174,9 +174,9 @@ if (batch.count > 0) { ### Receiving events -| In v2 | Equivalent in v5 | Sample | -| -------------------------------------------------------------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | -| `EventHubClient.receive()` and `EventHubClient.receiveBatch()` | `EventHubConsumerClient.subscribe()` | [receiveEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) | +| In v2 | Equivalent in v5 | Sample | +| -------------------------------------------------------------- | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- | +| `EventHubClient.receive()` and `EventHubClient.receiveBatch()` | `EventHubConsumerClient.subscribe()` | [receiveEvents](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts) | Other noteworthy changes: @@ -226,7 +226,7 @@ const subscription = eventHubConsumerClient.subscribe( await subscription.close(); ``` -See [`receiveEvents.ts`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) +See [`receiveEvents.ts`](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts) for a sample program demonstrating this. #### Migrating from `EventProcessorHost` to `EventHubConsumerClient` for receiving events @@ -333,7 +333,7 @@ what order, making checkpointing difficult to do correctly. In V5 the model has been simplified so new events are not delivered until the previous batch has been consumed by your event handler. You can see a sample -demonstrating this [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts) +demonstrating this [here](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts) ### Creating EventPosition diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index 8fb3d86eeb5e..3b030aa4ad98 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -46,17 +46,17 @@ "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", "build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1", - "build:samples": "dev-tool samples prep && cd dist-samples && tsc", + "build:samples": "echo Obsolete.", "build:test:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1", "build:test:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1", "build:test": "tsc -p . && rollup -c rollup.test.config.js 2>&1", "build:types": "downlevel-dts types/latest types/3.1", "build": "tsc -p . && rollup -c 2>&1 && api-extractor run --local && npm run build:types", - "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", + "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "rimraf dist dist-* types *.tgz *.log", - "execute:samples": "npm run build:samples && echo Skipped.", + "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && api-extractor run --local", - "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", + "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "integration-test:browser": "karma start --single-run", "integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"dist-esm/test/internal/*.spec.js\" \"dist-esm/test/public/*.spec.js\" \"dist-esm/test/public/**/*.spec.js\" \"dist-esm/test/internal/**/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", @@ -82,11 +82,27 @@ ] }, "//sampleConfiguration": { + "extraFiles": { + "./samples-browser": [ + "browser" + ], + "./samples-express": [ + "express" + ] + }, "skip": [ "iothubConnectionString.js", "useWithIotHub.js", "usingAadAuth.js" - ] + ], + "productName": "Azure Event Hubs", + "productSlugs": [ + "azure", + "azure-event-hubs" + ], + "requiredResources": { + "Azure Event Hub": "https://docs.microsoft.com/azure/event-hubs/event-hubs-create" + } }, "dependencies": { "@azure/abort-controller": "^1.0.0", diff --git a/sdk/eventhub/event-hubs/sample.env b/sdk/eventhub/event-hubs/sample.env index 43d461158845..5468713a3295 100644 --- a/sdk/eventhub/event-hubs/sample.env +++ b/sdk/eventhub/event-hubs/sample.env @@ -1,10 +1,9 @@ -# Used in most samples +# Used in most samples. Retrieve these values from an Event Hub in the Azure Portal. EVENTHUB_CONNECTION_STRING= EVENTHUB_NAME= -EVENTHUB_FQDN=.servicebus.windows.net CONSUMER_GROUP_NAME= -# Used in the useWithIotHub.ts sample +# Used in the useWithIotHub sample. Retrieve this value from an IoT Hub's built-in endpoints in the Azure Portal. IOTHUB_EH_COMPATIBLE_CONNECTION_STRING= # Used to authenticate using Azure AD as a service principal for role-based authentication @@ -14,4 +13,5 @@ IOTHUB_EH_COMPATIBLE_CONNECTION_STRING= # https://docs.microsoft.com/javascript/api/@azure/identity/environmentcredential AZURE_CLIENT_ID= AZURE_TENANT_ID= -AZURE_CLIENT_SECRET= \ No newline at end of file +AZURE_CLIENT_SECRET= +EVENTHUB_FQDN=.servicebus.windows.net \ No newline at end of file diff --git a/sdk/eventhub/event-hubs/samples/browserSample/README.md b/sdk/eventhub/event-hubs/samples-browser/README.md similarity index 93% rename from sdk/eventhub/event-hubs/samples/browserSample/README.md rename to sdk/eventhub/event-hubs/samples-browser/README.md index e61d02413b68..e37554524b8e 100644 --- a/sdk/eventhub/event-hubs/samples/browserSample/README.md +++ b/sdk/eventhub/event-hubs/samples-browser/README.md @@ -77,11 +77,11 @@ as the redirect URI you added to your app registration. If you're following alon Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[sendevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/src/sendEvents.js -[receiveevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/src/receiveEvents.js -[configuration]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/src/configuration.js -[app]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/src/index.js -[htmlpage]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/browserSample/index.html +[sendevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/src/sendEvents.js +[receiveevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/src/receiveEvents.js +[configuration]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/src/configuration.js +[app]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/src/index.js +[htmlpage]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/index.html [apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs [azhubacct]: https://docs.microsoft.com/azure/event-hubs/event-hubs-node-get-started-send [aziothub]: https://docs.microsoft.com/azure/iot-hub/iot-hub-node-node-module-twin-getstarted diff --git a/sdk/eventhub/event-hubs/samples/browserSample/index.html b/sdk/eventhub/event-hubs/samples-browser/index.html similarity index 100% rename from sdk/eventhub/event-hubs/samples/browserSample/index.html rename to sdk/eventhub/event-hubs/samples-browser/index.html diff --git a/sdk/eventhub/event-hubs/samples/browserSample/package.json b/sdk/eventhub/event-hubs/samples-browser/package.json similarity index 100% rename from sdk/eventhub/event-hubs/samples/browserSample/package.json rename to sdk/eventhub/event-hubs/samples-browser/package.json diff --git a/sdk/eventhub/event-hubs/samples/browserSample/src/configuration.js b/sdk/eventhub/event-hubs/samples-browser/src/configuration.js similarity index 100% rename from sdk/eventhub/event-hubs/samples/browserSample/src/configuration.js rename to sdk/eventhub/event-hubs/samples-browser/src/configuration.js diff --git a/sdk/eventhub/event-hubs/samples/browserSample/src/index.js b/sdk/eventhub/event-hubs/samples-browser/src/index.js similarity index 100% rename from sdk/eventhub/event-hubs/samples/browserSample/src/index.js rename to sdk/eventhub/event-hubs/samples-browser/src/index.js diff --git a/sdk/eventhub/event-hubs/samples/browserSample/src/receiveEvents.js b/sdk/eventhub/event-hubs/samples-browser/src/receiveEvents.js similarity index 100% rename from sdk/eventhub/event-hubs/samples/browserSample/src/receiveEvents.js rename to sdk/eventhub/event-hubs/samples-browser/src/receiveEvents.js diff --git a/sdk/eventhub/event-hubs/samples/browserSample/src/sendEvents.js b/sdk/eventhub/event-hubs/samples-browser/src/sendEvents.js similarity index 100% rename from sdk/eventhub/event-hubs/samples/browserSample/src/sendEvents.js rename to sdk/eventhub/event-hubs/samples-browser/src/sendEvents.js diff --git a/sdk/eventhub/event-hubs/samples/typescript/src/iothubConnectionString.ts b/sdk/eventhub/event-hubs/samples-dev/iothubConnectionString.ts similarity index 89% rename from sdk/eventhub/event-hubs/samples/typescript/src/iothubConnectionString.ts rename to sdk/eventhub/event-hubs/samples-dev/iothubConnectionString.ts index 9acdac9fce99..65de46db56df 100644 --- a/sdk/eventhub/event-hubs/samples/typescript/src/iothubConnectionString.ts +++ b/sdk/eventhub/event-hubs/samples-dev/iothubConnectionString.ts @@ -1,26 +1,21 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how to convert an Iot Hub connection string to - an Event Hubs connection string that points to the built-in messaging endpoint. - - The Event Hubs connection string is then used with the EventHubConsumerClient to - receive events. +/** + * @summary Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint. + */ - More information about the built-in messaging endpoint can be found at: - https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin -*/ +/* + * The Event Hubs connection string is then used with the EventHubConsumerClient to receive events. + * + * More information about the built-in messaging endpoint can be found at: + * https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin + */ import * as crypto from "crypto"; import { Buffer } from "buffer"; -import { - AmqpError, - Connection, - ReceiverEvents, - isAmqpError as rheaIsAmqpError, - parseConnectionString -} from "rhea-promise"; +import { AmqpError, Connection, ReceiverEvents, parseConnectionString } from "rhea-promise"; +import rheaPromise from "rhea-promise"; import { EventHubConsumerClient, earliestEventPosition } from "@azure/event-hubs"; // Load the .env file if it exists @@ -32,7 +27,7 @@ dotenv.config(); * @param err - An unknown error. */ function isAmqpError(err: any): err is AmqpError { - return rheaIsAmqpError(err); + return rheaPromise.isAmqpError(err); } const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; diff --git a/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts b/sdk/eventhub/event-hubs/samples-dev/receiveEvents.ts similarity index 69% rename from sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts rename to sdk/eventhub/event-hubs/samples-dev/receiveEvents.ts index 21c29531d866..db5f8743d4ad 100644 --- a/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts +++ b/sdk/eventhub/event-hubs/samples-dev/receiveEvents.ts @@ -1,21 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how to use the EventHubConsumerClient to process events from all partitions - of a consumer group in an Event Hubs instance. - - If your Event Hub instance doesn't have any events, then please run "sendEvents.ts" sample - to populate it before running this sample. - - For an example that uses checkpointing, see the sample in the eventhubs-checkpointstore-blob package - on GitHub at the following link: - - https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/typescript/src/receiveEventsUsingCheckpointStore.ts - - Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at - https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. -*/ +/** + * @summary Demonstrates how to use the EventHubConsumerClient to process events from all partitions of a consumer group in an Event Hub. + * + * @azsdk-weight 50 + */ import { EventHubConsumerClient, earliestEventPosition } from "@azure/event-hubs"; diff --git a/sdk/eventhub/event-hubs/samples/typescript/src/sendEvents.ts b/sdk/eventhub/event-hubs/samples-dev/sendEvents.ts similarity index 89% rename from sdk/eventhub/event-hubs/samples/typescript/src/sendEvents.ts rename to sdk/eventhub/event-hubs/samples-dev/sendEvents.ts index 1c5adabe690c..ee81e93f31d2 100644 --- a/sdk/eventhub/event-hubs/samples/typescript/src/sendEvents.ts +++ b/sdk/eventhub/event-hubs/samples-dev/sendEvents.ts @@ -1,13 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how the send() function can be used to send events to Event Hubs. - See https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-about to learn about Event Hubs. - - Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at - https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. -*/ +/** + * @summary Demonstrates how to send events to an Event Hub. + * + * @azsdk-weight 60 + */ import { EventHubProducerClient } from "@azure/event-hubs"; diff --git a/sdk/eventhub/event-hubs/samples/typescript/src/useWithIotHub.ts b/sdk/eventhub/event-hubs/samples-dev/useWithIotHub.ts similarity index 91% rename from sdk/eventhub/event-hubs/samples/typescript/src/useWithIotHub.ts rename to sdk/eventhub/event-hubs/samples-dev/useWithIotHub.ts index 803068ed1dc9..08dcfccc77d1 100644 --- a/sdk/eventhub/event-hubs/samples/typescript/src/useWithIotHub.ts +++ b/sdk/eventhub/event-hubs/samples-dev/useWithIotHub.ts @@ -1,9 +1,10 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how to use the EventHubClient with an IotHub instance -*/ +/** + * @summary Demonstrates how to use the EventHubConsumerClient to receive messages from an IoT Hub. + */ + import { EventHubConsumerClient } from "@azure/event-hubs"; // Load the .env file if it exists diff --git a/sdk/eventhub/event-hubs/samples-dev/usingAadAuth.ts b/sdk/eventhub/event-hubs/samples-dev/usingAadAuth.ts new file mode 100644 index 000000000000..f2ab90e896ff --- /dev/null +++ b/sdk/eventhub/event-hubs/samples-dev/usingAadAuth.ts @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * @summary Demonstrates how to instantiate EventHubsClient using AAD token credentials obtained from using service principal secrets. + * + * @azsdk-weight 40 + */ + +/* + * Setup : + * Register a new application in AAD and assign the "Azure Event Hubs Data Owner" role to it + * - See https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app + * to register a new application in the Azure Active Directory. + * - Note down the CLIENT_ID and TENANT_ID from the above step. + * - In the "Certificates & Secrets" tab, create a secret and note that down. + * - In the Azure portal, go to your Even Hubs resource and click on the Access control (IAM) + * tab. Here, assign the "Azure Event Hubs Data Owner" role to the registered application. + * - For more information on Event Hubs RBAC setup, learn more at https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-role-based-access-control) + * + */ + +import { EventHubConsumerClient } from "@azure/event-hubs"; +import { DefaultAzureCredential } from "@azure/identity"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// Define Event Hubs Endpoint and related entity name here here +const eventHubsFullyQualifiedName = process.env["EVENTHUB_FQDN"] || ""; // .servicebus.windows.net +const eventHubName = process.env["EVENTHUB_NAME"] || ""; +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +// Define AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET of your AAD application in your environment + +export async function main(): Promise { + console.log(`Running usingAadAuth sample`); + + const credential = new DefaultAzureCredential(); + const client = new EventHubConsumerClient( + consumerGroup, + eventHubsFullyQualifiedName, + eventHubName, + credential + ); + /* + Refer to other samples, and place your code here + to send/receive events + */ + await client.close(); + + console.log(`Exiting usingAadAuth sample`); +} + +main().catch((error) => { + console.error("Error running sample:", error); +}); diff --git a/sdk/eventhub/event-hubs/samples/typescript/src/websockets.ts b/sdk/eventhub/event-hubs/samples-dev/websockets.ts similarity index 69% rename from sdk/eventhub/event-hubs/samples/typescript/src/websockets.ts rename to sdk/eventhub/event-hubs/samples-dev/websockets.ts index ac0a53d88d77..1e69950146f9 100644 --- a/sdk/eventhub/event-hubs/samples/typescript/src/websockets.ts +++ b/sdk/eventhub/event-hubs/samples-dev/websockets.ts @@ -1,18 +1,14 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how to use WebSockets enable Event Hubs to work over an HTTP proxy and - in environments where the standard AMQP port 5671 is blocked. For the latter case, ignore proxy - related configurations in this sample. - - This sample uses 2 external libraries - - The `ws` library to provide a WebSocket implementation to the Event Hubs library. - - The `https-proxy-agent` to enable the `ws` library to work with a proxy server. +/** + * @summary Demonstrates how to connect to Azure Event Hubs over websockets to work over an HTTP proxy. + */ - Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at - https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. -*/ +/* + * In environments where the standard AMQP port 5671 is blocked and you don't want to connect through a proxy, + * ignore proxy related configurations in this sample. + */ import WebSocket from "ws"; const url = require("url"); diff --git a/sdk/eventhub/event-hubs/samples/expressSample/src/README.md b/sdk/eventhub/event-hubs/samples-express/README.md similarity index 73% rename from sdk/eventhub/event-hubs/samples/expressSample/src/README.md rename to sdk/eventhub/event-hubs/samples-express/README.md index 9c2840f9954b..be5e68b8ec86 100644 --- a/sdk/eventhub/event-hubs/samples/expressSample/src/README.md +++ b/sdk/eventhub/event-hubs/samples-express/README.md @@ -3,10 +3,10 @@ This sample programs show how to use the JavaScript client libraries for Azure Event Hubs to send events in the node express framework. One scenario is building an HTTP-based service that accepts events as part of an HTTP request, then transforms and sends those events into a downstream Event Hub. -| **File Name** | **Description** | -| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | +| **File Name** | **Description** | +| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | | [asyncBatchingProducer.ts][eventproducer] | Demonstrates how the send() function can be used to send events to an Event Hub instance. Support batch send and time trigger. | -| [index.ts][index] | Express Http server entry point. Receive http payload and use AsyncBatchingProducer to ingest payload to eventHub. | +| [index.ts][index] | Express Http server entry point. Receive http payload and use AsyncBatchingProducer to ingest payload to eventHub. | ## Prerequisites @@ -49,6 +49,6 @@ curl --header "Content-Type: application/json" \ Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. -[eventproducer]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/expressSample/src/asyncBatchingProducer.ts -[index]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/expressSample/src/index.ts +[eventproducer]: https://github.com/Azure/azure-sdk-for-js/tree/main//sdk/eventhub/event-hubs/samples/v5/express/src/asyncBatchingProducer.ts +[index]: https://github.com/Azure/azure-sdk-for-js/tree/main//sdk/eventhub/event-hubs/samples/v5/express/src/index.ts [apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs diff --git a/sdk/eventhub/event-hubs/samples/expressSample/package.json b/sdk/eventhub/event-hubs/samples-express/package.json similarity index 100% rename from sdk/eventhub/event-hubs/samples/expressSample/package.json rename to sdk/eventhub/event-hubs/samples-express/package.json diff --git a/sdk/eventhub/event-hubs/samples/expressSample/src/asyncBatchingProducer.ts b/sdk/eventhub/event-hubs/samples-express/src/asyncBatchingProducer.ts similarity index 100% rename from sdk/eventhub/event-hubs/samples/expressSample/src/asyncBatchingProducer.ts rename to sdk/eventhub/event-hubs/samples-express/src/asyncBatchingProducer.ts diff --git a/sdk/eventhub/event-hubs/samples/expressSample/src/index.ts b/sdk/eventhub/event-hubs/samples-express/src/index.ts similarity index 100% rename from sdk/eventhub/event-hubs/samples/expressSample/src/index.ts rename to sdk/eventhub/event-hubs/samples-express/src/index.ts diff --git a/sdk/eventhub/event-hubs/samples/typescript/tsconfig.json b/sdk/eventhub/event-hubs/samples-express/tsconfig.json similarity index 100% rename from sdk/eventhub/event-hubs/samples/typescript/tsconfig.json rename to sdk/eventhub/event-hubs/samples-express/tsconfig.json diff --git a/sdk/eventhub/event-hubs/samples/javascript/README.md b/sdk/eventhub/event-hubs/samples/javascript/README.md deleted file mode 100644 index 3f7852236241..000000000000 --- a/sdk/eventhub/event-hubs/samples/javascript/README.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -page_type: sample -languages: - - javascript -products: - - azure - - azure-event-hubs -urlFragment: event-hubs-javascript ---- - -# Azure Event Hubs client library samples for JavaScript - -These sample programs show how to use the JavaScript client libraries for Azure Event Hubs in some common scenarios. - -| **File Name** | **Description** | -| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [sendEvents.js][sendevents] | demonstrates how the send() function can be used to send events to Event Hubs | -| [useWithIotHub.js][usewithiothub] | demonstrates how to use the `EventHubClient` with an `IotHub` instance | -| [websockets.js][websockets] | demonstrates how to use WebSockets enable Event Hubs to work over an HTTP proxy and in environments where the standard AMQP port 5671 is blocked (see the sample for more information) | -| [usingAadAuth.js][usingaadauth] | demonstrates how to instantiate EventHubsClient using AAD token credentials obtained from using Service Principal Secrets | -| [receiveEvents.js][receiveevents] | demonstrates how to use the EventHubConsumerClient to process events from all partitions of a consumer group in an Event Hubs instance. | - -**Note**: `EventHubConsumerClient` supports checkpointing using the `@azure/eventhubs-checkpointstore-blob` and `@azure/storage-blob` packages. For an example that demonstrates how to use this functionality, see the [receiveEventsUsingCheckpointStore][checkpointing] sample in the `@azure/eventhubs-checkpointstore-blob` repository. - -## Prerequisites - -The samples are compatible with Node.js >= 8.0.0. - -You need [an Azure subscription][freesub] and [an Azure Event Hub resource][azhubacct] to run these sample programs. The IOT Hub sample additionally requires an [IOT Hub resource][aziothub]. Samples retrieve credentials to access the event hub from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser requires some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Compile the samples - -```bash -npm run build -``` - -3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -4. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node dist/sendEvents.js -``` - -Alternatively, run a single sample with the correct environment variables set (step 3 is not required if you do this), for example (cross-platform): - -```bash -npx cross-env EVENTHUB_NAME="" EVENTHUB_CONNECTION_STRING="" node dist/sendEvents.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[sendevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/javascript/sendEvents.js -[usewithiothub]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/javascript/useWithIotHub.js -[websockets]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/javascript/websockets.js -[usingaadauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/javascript/usingAadAuth.js -[receiveevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs -[checkpointing]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/javascript/receiveEventsUsingCheckpointStore.js -[azhubacct]: https://docs.microsoft.com/azure/event-hubs/event-hubs-node-get-started-send -[aziothub]: https://docs.microsoft.com/azure/iot-hub/iot-hub-node-node-module-twin-getstarted -[freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/README.md -[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/eventhub/event-hubs/samples/javascript/usingAadAuth.js b/sdk/eventhub/event-hubs/samples/javascript/usingAadAuth.js deleted file mode 100644 index 532256742443..000000000000 --- a/sdk/eventhub/event-hubs/samples/javascript/usingAadAuth.js +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT Licence. - -/* - This sample demonstrates how to instantiate EventHubsClient using AAD token credentials - obtained from using Service Principal Secrets. - - Setup : - Please ensure that your Azure Event Hubs resource is in US East, US East 2, or West Europe - region. AAD Role Based Access Control is not supported in other regions yet. - - Register a new application in AAD and assign the "Azure Event Hubs Data Owner" role to it - - See https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app - to register a new application in the Azure Active Directory. - - Note down the CLIENT_ID and TENANT_ID from the above step. - - In the "Certificates & Secrets" tab, create a secret and note that down. - - In the Azure portal, go to your Even Hubs resource and click on the Access control (IAM) - tab. Here, assign the "Azure Event Hubs Data Owner" role to the registered application. - - For more information on Event Hubs RBAC setup, learn more at - https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-role-based-access-control) - - Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at - https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. -*/ - -const { EventHubConsumerClient } = require("@azure/event-hubs"); -const { DefaultAzureCredential } = require("@azure/identity"); - -// Load the .env file if it exists -require("dotenv").config(); - -// Define Event Hubs Endpoint and related entity name here here -const eventHubsFullyQualifiedName = process.env["EVENTHUB_FQDN"] || ""; // .servicebus.windows.net -const eventHubName = process.env["EVENTHUB_NAME"] || ""; -const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; - -// Define AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET of your AAD application in your environment - -async function main() { - console.log(`Running usingAadAuth sample`); - - const credential = new DefaultAzureCredential(); - const client = new EventHubConsumerClient( - consumerGroup, - eventHubsFullyQualifiedName, - eventHubName, - credential - ); - - /* - Refer to other samples, and place your code here - to send/receive events - */ - - await client.close(); - - console.log(`Exiting usingAadAuth sample`); -} - -main().catch((error) => { - console.error("Error running sample:", error); -}); diff --git a/sdk/eventhub/event-hubs/samples/tsconfig.json b/sdk/eventhub/event-hubs/samples/tsconfig.json deleted file mode 100644 index 1d8abe1f8fc1..000000000000 --- a/sdk/eventhub/event-hubs/samples/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "module": "commonjs", - "outDir": "typescript/dist" - }, - "include": ["typescript/src/**.ts"], - "exclude": ["typescript/*.json", "**/node_modules/", "../node_modules", "../types"] -} diff --git a/sdk/eventhub/event-hubs/samples/typescript/README.md b/sdk/eventhub/event-hubs/samples/typescript/README.md deleted file mode 100644 index f167367a1639..000000000000 --- a/sdk/eventhub/event-hubs/samples/typescript/README.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -page_type: sample -languages: - - typescript -products: - - azure - - azure-event-hubs -urlFragment: event-hubs-typescript ---- - -# Azure Event Hubs client library samples for TypeScript - -These sample programs show how to use the TypeScript client libraries for Azure Event Hubs in some common scenarios. - -| **File Name** | **Description** | -| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [sendEvents.ts][sendevents] | demonstrates how the send() function can be used to send events to Event Hubs | -| [useWithIotHub.ts][usewithiothub] | demonstrates how to use the `EventHubClient` with an `IotHub` instance | -| [websockets.ts][websockets] | demonstrates how to use WebSockets enable Event Hubs to work over an HTTP proxy and in environments where the standard AMQP port 5671 is blocked (see the sample for more information) | -| [usingAadAuth.ts][usingaadauth] | demonstrates how to instantiate EventHubsClient using AAD token credentials obtained from using Service Principal Secrets | -| [receiveEvents.ts][receiveevents] | demonstrates how to use the EventHubConsumerClient to process events from all partitions of a consumer group in an Event Hubs instance. | - -**Note**: `EventHubConsumerClient` supports checkpointing using the `@azure/eventhubs-checkpointstore-blob` and `@azure/storage-blob` packages. For an example that demonstrates how to use this functionality, see the [receiveEventsUsingCheckpointStore][checkpointing] sample in the `@azure/eventhubs-checkpointstore-blob` repository. - -## Prerequisites - -The samples are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require a Node.js >= 10.0.0. - -Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using - -```bash -npm install -g typescript -``` - -You need [an Azure subscription][freesub] and [an Azure Event Hub resource][azhubacct] to run these sample programs. The IOT Hub sample additionally requires an [IOT Hub resource][aziothub]. Samples retrieve credentials to access the event hub from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser requires some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Compile the samples - -```bash -npm run build -``` - -3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -4. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node dist/sendEvents.js -``` - -Alternatively, run a single sample with the correct environment variables set (step 3 is not required if you do this), for example (cross-platform): - -```bash -npx cross-env EVENTHUB_NAME="" EVENTHUB_CONNECTION_STRING="" node dist/sendEvents.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[sendevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/typescript/src/sendEvents.ts -[usewithiothub]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/typescript/src/useWithIotHub.ts -[websockets]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/typescript/src/websockets.ts -[usingaadauth]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/typescript/src/usingAadAuth.ts -[receiveevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/typescript/src/receiveEvents.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs -[checkpointing]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/v1/typescript/src/receiveEventsUsingCheckpointStore.ts -[azhubacct]: https://docs.microsoft.com/azure/event-hubs/event-hubs-node-get-started-send -[aziothub]: https://docs.microsoft.com/azure/iot-hub/iot-hub-node-node-module-twin-getstarted -[freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/README.md -[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/eventhub/event-hubs/samples/typescript/src/usingAadAuth.ts b/sdk/eventhub/event-hubs/samples/typescript/src/usingAadAuth.ts deleted file mode 100644 index 856efc49d4cf..000000000000 --- a/sdk/eventhub/event-hubs/samples/typescript/src/usingAadAuth.ts +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT Licence. - -/* - This sample demonstrates how to instantiate EventHubsClient using AAD token credentials - obtained from using Service Principal Secrets. - - Setup : - Please ensure that your Azure Event Hubs resource is in US East, US East 2, or West Europe - region. AAD Role Based Access Control is not supported in other regions yet. - - Register a new application in AAD and assign the "Azure Event Hubs Data Owner" role to it - - See https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app - to register a new application in the Azure Active Directory. - - Note down the CLIENT_ID and TENANT_ID from the above step. - - In the "Certificates & Secrets" tab, create a secret and note that down. - - In the Azure portal, go to your Even Hubs resource and click on the Access control (IAM) - tab. Here, assign the "Azure Event Hubs Data Owner" role to the registered application. - - For more information on Event Hubs RBAC setup, learn more at - https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-role-based-access-control) - - Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at - https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. -*/ -import { EventHubConsumerClient } from "@azure/event-hubs"; -import { DefaultAzureCredential } from "@azure/identity"; - -// Load the .env file if it exists -import * as dotenv from "dotenv"; -dotenv.config(); - -// Define Event Hubs Endpoint and related entity name here here -const eventHubsFullyQualifiedName = process.env["EVENTHUB_FQDN"] || ""; // .servicebus.windows.net -const eventHubName = process.env["EVENTHUB_NAME"] || ""; -const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; - -// Define AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET of your AAD application in your environment - -export async function main(): Promise { - console.log(`Running usingAadAuth sample`); - - const credential = new DefaultAzureCredential(); - const client = new EventHubConsumerClient( - consumerGroup, - eventHubsFullyQualifiedName, - eventHubName, - credential - ); - /* - Refer to other samples, and place your code here - to send/receive events - */ - await client.close(); - - console.log(`Exiting usingAadAuth sample`); -} - -main().catch((error) => { - console.error("Error running sample:", error); -}); diff --git a/sdk/eventhub/event-hubs/samples/v5/browser/README.md b/sdk/eventhub/event-hubs/samples/v5/browser/README.md new file mode 100644 index 000000000000..e37554524b8e --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/browser/README.md @@ -0,0 +1,90 @@ +--- +page_type: sample +languages: + - javascript +products: + - azure + - azure-event-hubs +urlFragment: event-hubs-javascript-browser +--- + +# Azure Event Hubs client library browser samples for JavaScript + +This sample programs show how to use the JavaScript client libraries for Azure Event Hubs to send and receive events in the browser while authenticating with Azure Active Directory. + +| **File Name** | **Description** | +| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | +| [sendEvents.js][sendevents] | Demonstrates how the send() function can be used to send events to an Event Hub instance. | +| [receiveEvents.js][receiveevents] | Demonstrates how to use the EventHubConsumerClient to process events from all partitions of a consumer group in an Event Hubs instance. | +| [configuration.js][configuration] | Contains the configuration needed to authenticate and connect to an Event Hub instance. | +| [index.js][app] | Hooks up the send and receive samples to their respective buttons in the web application. | +| [index.html][htmlpage] | The web page that loads and runs the samples. Use a local web service to test by running `npm start` after building the app. | + +## Prerequisites + +The samples are compatible with Node.js >= 8.0.0 and run in browsers that support async/await (e.g. Edge, Firefox, Chrome.) + +You need [an Azure subscription][freesub] and [an Azure Event Hub resource][azhubacct] to run these sample programs. +Samples retrieve credentials using the [InteractiveBrowserCredential][browsercred] from `@azure/identity`. +You can set the Event Hubs and authentication properties you'll need to run the sample in the [configuration.js][configuration] file. + +Register a new application in AAD and assign the "Azure Event Hubs Data Owner" role to it. + +- See https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app + to register a new application in the Azure Active Directory. +- Note down the client id and tenant id from the above step. + You will need to set these in the [configuration.js][configuration] file. + +Ensure your app registration has been configured properly to allow the [implicit grant flow][implicitgrantflow] +and allow both `Access tokens` and `ID tokens` to be issued by the authorization endpoint. +Also add a `redirect URI` that points to where you'll be hosting your application. +For running the sample locally, you can set this to `http://localhost:8080`. +In your app registration, you will also need to add a permission for the `Microsoft.EventHubs` app. +When adding permission for `Microsoft.EventHubs`, the type should be `delegated permissions` and the permission should be `user_impersonation`. + +## Setup + +To run the samples using the published version of the package: + +1. Install the dependencies using `npm`: + +```bash +npm install +``` + +2. Create a bundle JavaScript file that can be ran in the browser: + +```bash +npm run build +``` + +3. Serve the web page on http://localhost:8080: + +```bash +npm start +``` + +4. Navigate to the web page by visiting http://localhost:8080 in a browser. + +## Troubleshooting + +### Authentication error: AADSTS50011 + +If you receive error `AADSTS50011` with the message `The reply URL specified in the request does not match the reply URLs configured for the application`, make sure that you're accessing the sample using the same URI +as the redirect URI you added to your app registration. If you're following along with the sample, this should be `http://localhost:8080`. + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[sendevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/src/sendEvents.js +[receiveevents]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/src/receiveEvents.js +[configuration]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/src/configuration.js +[app]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/src/index.js +[htmlpage]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/samples/v5/browser/index.html +[apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs +[azhubacct]: https://docs.microsoft.com/azure/event-hubs/event-hubs-node-get-started-send +[aziothub]: https://docs.microsoft.com/azure/iot-hub/iot-hub-node-node-module-twin-getstarted +[freesub]: https://azure.microsoft.com/free/ +[browsercred]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/using-azure-identity.md#interactivebrowsercredential +[implicitgrantflow]: https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-implicit-grant-flow diff --git a/sdk/eventhub/event-hubs/samples/v5/browser/index.html b/sdk/eventhub/event-hubs/samples/v5/browser/index.html new file mode 100644 index 000000000000..6bee5b189da3 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/browser/index.html @@ -0,0 +1,79 @@ + + + + + Azure Event Hubs Sample + + + + +

Event Hubs Sample

+
+ This sample uses the + + InteractiveBrowserCredential + + to authenticate. +
    +
  • Click "Send" to send an event to your Event Hub.
  • +
  • Click "Receive" to begin receiving events from your Event Hub.
  • +
+
+
+ + +
+ +
+ +
+ +
+
+
+ +
+ +
+
+ + + diff --git a/sdk/eventhub/event-hubs/samples/javascript/package.json b/sdk/eventhub/event-hubs/samples/v5/browser/package.json similarity index 62% rename from sdk/eventhub/event-hubs/samples/javascript/package.json rename to sdk/eventhub/event-hubs/samples/v5/browser/package.json index d8ba73b23959..25a1940699d8 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/package.json +++ b/sdk/eventhub/event-hubs/samples/v5/browser/package.json @@ -1,11 +1,15 @@ { - "name": "azure-event-hubs-samples-js", + "name": "azure-event-hubs-samples-browser", "private": true, "version": "0.1.0", "description": "Azure Event Hubs client library samples for JavaScript", "engine": { "node": ">=8.0.0" }, + "scripts": { + "build": "webpack-cli ./src/index.js -o ./dist/app.js", + "start": "http-server ./" + }, "repository": { "type": "git", "url": "git+https://github.com/Azure/azure-sdk-for-js.git" @@ -13,8 +17,7 @@ "keywords": [ "Azure", "Event Hubs", - "Checkpoint Store", - "Node.js", + "Browser", "JavaScript" ], "author": "Microsoft Corporation", @@ -25,17 +28,13 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js#readme", "sideEffects": false, "dependencies": { - "@azure/core-amqp": "latest", - "@azure/event-hubs": "latest", - "@types/dotenv": "^8.2.0", - "@types/ws": "^6.0.4", - "dotenv": "^8.2.0", - "https-proxy-agent": "^5.0.0", - "rhea-promise": "^1.0.0", - "tslib": "^1.9.3", - "ws": "^7.2.0" + "@azure/event-hubs": "^5.0.0", + "@azure/identity": "^1.0.2" }, "devDependencies": { - "rimraf": "^3.0.0" + "http-server": "^0.12.1", + "rimraf": "^3.0.0", + "webpack": "^4.41.5", + "webpack-cli": "^3.3.10" } } diff --git a/sdk/eventhub/event-hubs/samples/v5/browser/src/configuration.js b/sdk/eventhub/event-hubs/samples/v5/browser/src/configuration.js new file mode 100644 index 000000000000..a18793a43937 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/browser/src/configuration.js @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * This file contains the configuration settings needed to authenticate and connect + * to an Event Hub. + * + * These settings will be used both when sending and receiving events. + */ +module.exports = { + /** + * The full namespace likely similar to `.servicebus.windows.net`. + */ + fullyQualifiedNamespace: "namespace.servicebus.windows.net", + /** + * The name of the specific Event Hub to use when sending and receiving events. + */ + eventHubName: "event-hub-name", + /** + * The name of the consumer group from which you want to process events. + */ + consumerGroup: "consumer-group", + /** + * The Client (Application) id from the app registration you created. + */ + appClientId: "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + /** + * The Tenant (Directory) id from the app registration you created. + */ + appTenantId: "11111111-2222-3333-4444-555555555555" +}; diff --git a/sdk/eventhub/event-hubs/samples/v5/browser/src/index.js b/sdk/eventhub/event-hubs/samples/v5/browser/src/index.js new file mode 100644 index 000000000000..18f598a6e224 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/browser/src/index.js @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * This file hooks up the "Send" and "Receive" buttons on the web page to the + * "sendEvents.js" and "receiveEvents.js" samples. + */ +const { send } = require("./sendEvents"); +const { receive } = require("./receiveEvents"); + +const sendElement = document.getElementById("send"); +const receiveElement = document.getElementById("receive"); + +sendElement.addEventListener("click", () => { + send(); +}); + +receiveElement.addEventListener("click", () => { + receive(); +}); diff --git a/sdk/eventhub/event-hubs/samples/v5/browser/src/receiveEvents.js b/sdk/eventhub/event-hubs/samples/v5/browser/src/receiveEvents.js new file mode 100644 index 000000000000..a61d3b41cfc0 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/browser/src/receiveEvents.js @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/* + This sample demonstrates how to use the EventHubConsumerClient to process events from all partitions + of a consumer group in an Event Hubs instance. + + To start receiving events, click the "Receive" button from the web page. + + If your Event Hub instance doesn't have any events, you can run the "sendEvents.js" sample from + the web page by clicking the "Send" button. +*/ + +const { EventHubConsumerClient } = require("@azure/event-hubs"); +const { InteractiveBrowserCredential } = require("@azure/identity"); +const { + appClientId, + appTenantId, + consumerGroup, + eventHubName, + fullyQualifiedNamespace +} = require("./configuration"); + +const contentContainer = document.getElementById("receiveContent"); +function outputLog(text) { + const currentContent = contentContainer.value; + contentContainer.value = `${currentContent}${text}\n`; +} + +async function receive() { + const credential = new InteractiveBrowserCredential({ + tenantId: appTenantId, + clientId: appClientId + }); + + const consumerClient = new EventHubConsumerClient( + consumerGroup, + fullyQualifiedNamespace, + eventHubName, + credential + ); + const partitionIds = await consumerClient.getPartitionIds(); + outputLog(`Preparing to read events from partitions: ${partitionIds.join(", ")}`); + + consumerClient.subscribe( + { + // The callback where you add your code to process incoming events + processEvents: async (events, context) => { + for (const event of events) { + outputLog( + `Received event: '${event.body}' from partition: '${context.partitionId}' and consumer group: '${context.consumerGroup}'` + ); + } + }, + processError: async (err) => { + outputLog(`Error : ${err}`); + } + }, + { + maxWaitTimeInSeconds: 5 + } + ); +} + +module.exports = { + receive +}; diff --git a/sdk/eventhub/event-hubs/samples/v5/browser/src/sendEvents.js b/sdk/eventhub/event-hubs/samples/v5/browser/src/sendEvents.js new file mode 100644 index 000000000000..ff1294c12868 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/browser/src/sendEvents.js @@ -0,0 +1,96 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/* + This sample demonstrates how the send() function can be used to send events to Event Hubs. + See https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-about to learn about Event Hubs. +*/ + +const { EventHubProducerClient } = require("@azure/event-hubs"); +const { InteractiveBrowserCredential } = require("@azure/identity"); +const { + appClientId, + appTenantId, + eventHubName, + fullyQualifiedNamespace +} = require("./configuration"); + +const contentContainer = document.getElementById("sendContent"); +function outputLog(text) { + const currentContent = contentContainer.value; + contentContainer.value = `${currentContent}${text}\n`; +} + +async function send() { + const credential = new InteractiveBrowserCredential({ + tenantId: appTenantId, + clientId: appClientId + }); + + const producer = new EventHubProducerClient(fullyQualifiedNamespace, eventHubName, credential); + + const eventsToSend = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]; + try { + // By not specifying a partition ID or a partition key we allow the server to choose + // which partition will accept this message. + // + // This pattern works well if the consumers of your events do not have any particular + // requirements about the ordering of batches against other batches or if you don't care + // which messages are assigned to which partition. + // + // If you would like more control you can pass either a `partitionKey` or a `partitionId` + // into the createBatch() `options` parameter which will allow you full control over the + // destination. + const batchOptions = {}; + let batch = await producer.createBatch(batchOptions); + outputLog(`Created a batch.`); + let numEventsSent = 0; + // add events to our batch + let i = 0; + while (i < eventsToSend.length) { + // messages can fail to be added to the batch if they exceed the maximum size configured for + // the EventHub. + const isAdded = batch.tryAdd({ body: eventsToSend[i] }); + if (isAdded) { + outputLog(`Added event "${i}" to the batch.`); + ++i; + continue; + } else { + outputLog(`Failed to add event "${i}" to the batch.`); + } + if (batch.count === 0) { + // If we can't add it and the batch is empty that means the message we're trying to send + // is too large, even when it would be the _only_ message in the batch. + // + // At this point you'll need to decide if you're okay with skipping this message entirely + // or find some way to shrink it. + outputLog(`Message was too large and can't be sent until it's made smaller. Skipping...`); + ++i; + continue; + } + // otherwise this just signals a good spot to send our batch + outputLog(`Batch is full - sending ${batch.count} messages as a single batch.`); + await producer.sendBatch(batch); + numEventsSent += batch.count; + // and create a new one to house the next set of messages + batch = await producer.createBatch(batchOptions); + } + // send any remaining messages, if any. + if (batch.count > 0) { + outputLog(`Sending remaining ${batch.count} messages as a single batch.`); + await producer.sendBatch(batch); + numEventsSent += batch.count; + } + outputLog(`Sent ${numEventsSent} events`); + if (numEventsSent !== eventsToSend.length) { + throw new Error(`Not all messages were sent (${numEventsSent}/${eventsToSend.length})`); + } + } catch (err) { + outputLog("Error when creating & sending a batch of events: ", err); + } + await producer.close(); +} + +module.exports = { + send +}; diff --git a/sdk/eventhub/event-hubs/samples/v5/express/README.md b/sdk/eventhub/event-hubs/samples/v5/express/README.md new file mode 100644 index 000000000000..be5e68b8ec86 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/express/README.md @@ -0,0 +1,54 @@ +# Azure Event Hubs client library express samples for Typescript + +This sample programs show how to use the JavaScript client libraries for Azure Event Hubs to send events in the node express framework. +One scenario is building an HTTP-based service that accepts events as part of an HTTP request, then transforms and sends those events into a downstream Event Hub. + +| **File Name** | **Description** | +| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | +| [asyncBatchingProducer.ts][eventproducer] | Demonstrates how the send() function can be used to send events to an Event Hub instance. Support batch send and time trigger. | +| [index.ts][index] | Express Http server entry point. Receive http payload and use AsyncBatchingProducer to ingest payload to eventHub. | + +## Prerequisites + +The samples are compatible with Node.js >= 8.0.0 and run in express. + +You need [an Azure subscription][freesub] and [an Azure Event Hub resource][azhubacct] to run these sample programs. + +## Setup + +To run the samples using the published version of the package: + +1. Install the dependencies using `npm`: + +```bash +npm install +``` + +2. Compile the sample to JavaScript by running the following command: + +```bash +npm run build +``` + +3. Start the node service on http://localhost:8080: + +```bash +npm start +``` + +4. Call local http server + +```bash +curl --header "Content-Type: application/json" \ + --request POST \ + --data '{"hello":"world"}' \ + http://localhost:8080/ingest +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[eventproducer]: https://github.com/Azure/azure-sdk-for-js/tree/main//sdk/eventhub/event-hubs/samples/v5/express/src/asyncBatchingProducer.ts +[index]: https://github.com/Azure/azure-sdk-for-js/tree/main//sdk/eventhub/event-hubs/samples/v5/express/src/index.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs diff --git a/sdk/eventhub/event-hubs/samples/typescript/package.json b/sdk/eventhub/event-hubs/samples/v5/express/package.json similarity index 59% rename from sdk/eventhub/event-hubs/samples/typescript/package.json rename to sdk/eventhub/event-hubs/samples/v5/express/package.json index e507d0f01f23..97b788346f5c 100644 --- a/sdk/eventhub/event-hubs/samples/typescript/package.json +++ b/sdk/eventhub/event-hubs/samples/v5/express/package.json @@ -1,14 +1,15 @@ { - "name": "azure-event-hubs-samples-ts", + "name": "azure-event-hubs-samples-express", "private": true, - "version": "0.1.0", - "description": "Azure Event Hubs client library samples for TypeScript", + "version": "1.0.0", + "description": "Azure Event Hubs client library samples with Express", "engine": { "node": ">=8.0.0" }, "scripts": { "build": "tsc", - "prebuild": "rimraf dist/" + "prebuild": "rimraf dist/", + "start": "node ./dist/index.js" }, "repository": { "type": "git", @@ -17,9 +18,9 @@ "keywords": [ "Azure", "Event Hubs", - "Checkpoint Store", "Node.js", - "TypeScript" + "TypeScript", + "Express" ], "author": "Microsoft Corporation", "license": "MIT", @@ -29,16 +30,14 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js#readme", "sideEffects": false, "dependencies": { - "@azure/core-amqp": "latest", - "@azure/event-hubs": "latest", - "@types/ws": "^6.0.4", - "dotenv": "^8.2.0", - "https-proxy-agent": "^5.0.0", - "rhea-promise": "^1.0.0", - "tslib": "^1.9.3", - "ws": "^7.2.0" + "@azure/event-hubs": "^5.3.0", + "body-parser": "^1.19.0", + "express": "^4.17.1", + "uuid": "^8.3.1" }, "devDependencies": { + "@types/body-parser": "^1.19.0", + "@types/express": "^4.17.9", "@types/node": "^12.12.17", "rimraf": "^3.0.0", "typescript": "^3.7.2" diff --git a/sdk/eventhub/event-hubs/samples/v5/express/src/asyncBatchingProducer.ts b/sdk/eventhub/event-hubs/samples/v5/express/src/asyncBatchingProducer.ts new file mode 100644 index 000000000000..0689ecb96a57 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/express/src/asyncBatchingProducer.ts @@ -0,0 +1,210 @@ +/** + Copyright (c) Microsoft Corporation. + Licensed under the MIT Licence. + + This sample demonstrates a strategy for creating and sending + batches of events to Event Hubs. + + The AsyncBatchingProducer optimizes for creating the fewest + number of batches possible while sending events. + It supports setting thresholds for both the maximum number of + events allowed per batch, and the maximum amount of time + between sending batches. +*/ + +import { AbortController, AbortError, AbortSignalLike } from "@azure/abort-controller"; +import { EventData, EventDataBatch, EventHubProducerClient } from "@azure/event-hubs"; + +export interface AsyncBatchingProducerOptions { + producer: EventHubProducerClient; + maxWaitTimeInSeconds: number; + maxBatchSize?: number; +} + +export class AsyncBatchingProducer { + private _abortController = new AbortController(); + private _lastBatchCreationTime: number = 0; + private _eventQueue: AwaitableQueue = new AwaitableQueue(); + private _maxBatchSize: number; + private _maxWaitTimeInMs: number; + private _producer: EventHubProducerClient; + + constructor(options: AsyncBatchingProducerOptions) { + this._maxBatchSize = options.maxBatchSize ?? Infinity; + this._maxWaitTimeInMs = options.maxWaitTimeInSeconds * 1000; + this._producer = options.producer; + } + + /** + * Queues up the eventData so it can be sent to Event Hubs. + */ + public send(eventData: EventData) { + this._eventQueue.push(eventData); + } + + /** + * Stops the `AsyncBatchingProducer` from sending anymore events to Event Hubs. + */ + public stop() { + this._abortController.abort(); + return this._producer.close(); + } + + /** + * Starts sending events to Event Hubs in the order they were received via `send()` calls. + * This method will run continuously until `stop()` is called. + */ + async start() { + const abortSignal = this._abortController.signal; + let batch = await this._createBatch(); + let futureEvent = this._eventQueue.shift(); + while (!abortSignal.aborted) { + try { + const timeSinceLastBatchCreation = Date.now() - this._lastBatchCreationTime; + // If there aren't any events in the batch, wait the maximum amount of time for an event. + const maximumTimeToWaitForEvent = batch.count + ? Math.max(this._maxWaitTimeInMs - timeSinceLastBatchCreation, 0) + : this._maxWaitTimeInMs; + + // Wait for either the next event, or for the allotted time to pass. + const event = await Promise.race([ + futureEvent, + wait(maximumTimeToWaitForEvent, abortSignal) + ]); + + if (!event) { + // We didn't receive an event within the allotted time. + // Send the existing batch if it has events in it. + if (batch.count) { + await this._producer.sendBatch(batch, { abortSignal }); + batch = await this._createBatch(); + } + continue; + } else { + // We received an event, so get a promise for the next one. + futureEvent = this._eventQueue.shift(); + } + + // Attempt to add the event to the existing batch. + const didAdd = batch.tryAdd(event); + + // If the event was added to the batch and we're now + // at the max batch size, send the batch. + if (didAdd && batch.count >= this._maxBatchSize) { + await this._producer.sendBatch(batch, { abortSignal }); + batch = await this._createBatch(); + } else if (!didAdd && batch.count) { + // If the event wasn't able to be added and the current + // batch isn't empty, attempt to send the current batch + // and add the event to a new batch. + await this._producer.sendBatch(batch, { abortSignal }); + batch = await this._createBatch(); + // If the event still can't be added to an empty batch, just ignore it. + batch.tryAdd(event); + } + } catch (err) { + // Ignore `AbortError` since that gets thrown when `stop()` is called. + if (err.name !== "AbortError") { + console.error(`Encountered error: ${err}`); + } + } + } + } + + /** + * Helper method that sets the lastBatchCreationTime and returns a new batch. + */ + private _createBatch(): Promise { + this._lastBatchCreationTime = Date.now(); + return this._producer.createBatch(); + } +} + +/** + * This function returns a promise that resolves after the specified amount of time. + * It also supports cancellation via passing in an `abortSignal`. + * @param timeInMs - The amount of time in milliseconds the function should wait before resolving. + * @param abortSignal - Used to support rejecting the promise immediately. + */ +function wait(timeInMs: number, abortSignal: AbortSignalLike): Promise { + return new Promise((resolve, reject) => { + // Cancel quickly if the provided abortSignal has already been aborted. + if (abortSignal.aborted) { + return reject(new AbortError("The operation was cancelled.")); + } + // Create an abort event listener that rejects the promise with an AbortError. + // It also clears the existing setTimeout and removes itself from the abortSignal. + const abortListener = () => { + clearTimeout(tid); + reject(new AbortError("This operation was cancelled.")); + abortSignal.removeEventListener("abort", abortListener); + }; + // Create the timer that will resolve the promise. + // It also ensures that abort event listener is removed from the abortSignal. + const tid = setTimeout(() => { + abortSignal.removeEventListener("abort", abortListener); + resolve(); + }, timeInMs); + // Add an abort listener so that the promise can be rejected if the user cancels their operation. + abortSignal.addEventListener("abort", abortListener); + }); +} + +/** + * `AwaitableQueue` stores items in the order that they are received. + * + * This differs from ordinary Queues in that `shift` returns a Promise for a value. + * This allows a consumer of the queue to request an item that the queue does not yet have. + */ +class AwaitableQueue { + private readonly _items: T[]; + + private _nextItemResolve?: (item: T) => void; + private _nextItemPromise?: Promise; + + constructor(items?: T[]) { + this._items = items ?? []; + } + + public size(): number { + return this._items.length; + } + + /** + * Returns a Promise that will resolve with the first item in the queue. + */ + public shift(): Promise { + if (this._nextItemPromise) { + return this._nextItemPromise; + } + + const item = this._items.shift(); + if (typeof item !== "undefined") { + return Promise.resolve(item); + } + + this._nextItemPromise = new Promise((resolve) => (this._nextItemResolve = resolve)); + + return this._nextItemPromise; + } + + /** + * Appends new item to the queue. + */ + public push(item: T): void { + if (!this._resolveNextItem(item)) { + this._items.push(item); + } + } + + private _resolveNextItem(item: T) { + if (!this._nextItemResolve) { + return false; + } + const resolve = this._nextItemResolve; + this._nextItemResolve = undefined; + this._nextItemPromise = undefined; + resolve(item); + return true; + } +} diff --git a/sdk/eventhub/event-hubs/samples/v5/express/src/index.ts b/sdk/eventhub/event-hubs/samples/v5/express/src/index.ts new file mode 100644 index 000000000000..5902e3701af1 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/express/src/index.ts @@ -0,0 +1,55 @@ +/* + Copyright (c) Microsoft Corporation. + Licensed under the MIT Licence. + + This sample demonstrates how to send events to Event Hubs + from an express service. The service will take the HTTP body of + any request sent to `POST /ingest` and transform it before sending + it to Event Hubs. + + As events are handed to the `AsyncBatchingProducer` via the `send()` call, + the producer will ensure that events are sent in the same batch so long as: + 1. The batch has enough space for additional events. + 2. the maxBatchSize is not exceeded by adding an event. + 3. The elapsed time since the last batch was sent does not exceed the maxWaitTimeInSeconds. + Once any of these conditions are met, a new batch is created and the cycle continues. +*/ + +import { v4 as uuid } from "uuid"; +import { AsyncBatchingProducer } from "./asyncBatchingProducer"; +import bodyParser from "body-parser"; +import express from "express"; +import { EventHubProducerClient } from "@azure/event-hubs"; +const app = express(); + +const eventHubConnectionString = "my connection string"; +const eventHubName = "my event hub name"; +const maxBatchSendSize = 20; +const maxWaitTimeInSeconds = 10; +const eventProducer = new AsyncBatchingProducer({ + producer: new EventHubProducerClient(eventHubConnectionString, eventHubName), + maxWaitTimeInSeconds: maxWaitTimeInSeconds, + maxBatchSize: maxBatchSendSize +}); +const port = 8080; + +app.use(bodyParser.urlencoded({ extended: false })); +app.use(bodyParser.json()); +// respond with requestId +app.post("/ingest", async (req, res) => { + const requestId = uuid(); + await eventProducer.send({ + properties: { + request_id: requestId + }, + body: req.body + }); + res.send(`ingested event. requestId: ${requestId}`); +}); + +// Enable sending events to an Event Hub based on the maxWaitTimeInSeconds and maxBatchSize. +eventProducer.start(); + +app.listen(port, () => { + console.log(`Example app listening at http://localhost:${port}`); +}); diff --git a/sdk/eventhub/event-hubs/samples/expressSample/tsconfig.json b/sdk/eventhub/event-hubs/samples/v5/express/tsconfig.json similarity index 99% rename from sdk/eventhub/event-hubs/samples/expressSample/tsconfig.json rename to sdk/eventhub/event-hubs/samples/v5/express/tsconfig.json index a3ef806cfb5e..a6e49e6c1884 100644 --- a/sdk/eventhub/event-hubs/samples/expressSample/tsconfig.json +++ b/sdk/eventhub/event-hubs/samples/v5/express/tsconfig.json @@ -12,4 +12,3 @@ "include": ["src/**.ts"], "exclude": ["node_modules"] } - diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/README.md b/sdk/eventhub/event-hubs/samples/v5/javascript/README.md new file mode 100644 index 000000000000..e231efd49ea2 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/README.md @@ -0,0 +1,73 @@ +--- +page_type: sample +languages: + - javascript +products: + - azure + - azure-event-hubs +urlFragment: event-hubs-javascript +--- + +# Azure Event Hubs client library samples for JavaScript + +These sample programs show how to use the JavaScript client libraries for Azure Event Hubs in some common scenarios. + +| **File Name** | **Description** | +| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| [sendEvents.js][sendevents] | Demonstrates how to send events to an Event Hub. | +| [receiveEvents.js][receiveevents] | Demonstrates how to use the EventHubConsumerClient to process events from all partitions of a consumer group in an Event Hub. | +| [usingAadAuth.js][usingaadauth] | Demonstrates how to instantiate EventHubsClient using AAD token credentials obtained from using service principal secrets. | +| [iothubConnectionString.js][iothubconnectionstring] | Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint. | +| [useWithIotHub.js][usewithiothub] | Demonstrates how to use the EventHubConsumerClient to receive messages from an IoT Hub. | +| [websockets.js][websockets] | Demonstrates how to connect to Azure Event Hubs over websockets to work over an HTTP proxy. | + +## Prerequisites + +The sample programs are compatible with Node.js >=12.0.0. + +You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs: + +- [Azure Event Hub][createinstance_azureeventhub] + +Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. + +Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. + +## Setup + +To run the samples using the published version of the package: + +1. Install the dependencies using `npm`: + +```bash +npm install +``` + +2. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. + +3. Run whichever samples you like (note that some samples may require additional setup, see the table above): + +```bash +node sendEvents.js +``` + +Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): + +```bash +npx cross-env EVENTHUB_CONNECTION_STRING="" EVENTHUB_NAME="" node sendEvents.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[sendevents]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js +[receiveevents]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/javascript/receiveEvents.js +[usingaadauth]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js +[iothubconnectionstring]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionString.js +[usewithiothub]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/javascript/useWithIotHub.js +[websockets]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/javascript/websockets.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs +[freesub]: https://azure.microsoft.com/free/ +[createinstance_azureeventhub]: https://docs.microsoft.com/azure/event-hubs/event-hubs-create +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/README.md diff --git a/sdk/eventhub/event-hubs/samples/javascript/iothubConnectionString.js b/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionString.js similarity index 83% rename from sdk/eventhub/event-hubs/samples/javascript/iothubConnectionString.js rename to sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionString.js index 75b98d8aec01..5fd640de83fe 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/iothubConnectionString.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/iothubConnectionString.js @@ -1,26 +1,35 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how to convert an Iot Hub connection string to - an Event Hubs connection string that points to the built-in messaging endpoint. - - The Event Hubs connection string is then used with the EventHubConsumerClient to - receive events. +/** + * @summary Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint. + */ - More information about the built-in messaging endpoint can be found at: - https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin -*/ +/* + * The Event Hubs connection string is then used with the EventHubConsumerClient to receive events. + * + * More information about the built-in messaging endpoint can be found at: + * https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin + */ const crypto = require("crypto"); -const Buffer = require("buffer").Buffer; -const { Connection, ReceiverEvents, isAmqpError, parseConnectionString } = require("rhea-promise"); +const { Buffer } = require("buffer"); +const { Connection, ReceiverEvents, parseConnectionString } = require("rhea-promise"); +const rheaPromise = require("rhea-promise"); const { EventHubConsumerClient, earliestEventPosition } = require("@azure/event-hubs"); // Load the .env file if it exists const dotenv = require("dotenv"); dotenv.config(); +/** + * Type guard for AmqpError. + * @param err - An unknown error. + */ +function isAmqpError(err) { + return rheaPromise.isAmqpError(err); +} + const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; // This code is modified from https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-security#security-tokens. @@ -41,9 +50,9 @@ function generateSasToken(resourceUri, signingKey, policyName, expiresInMins) { /** * Converts an IotHub Connection string into an Event Hubs-compatible connection string. - * @param {string} connectionString An IotHub connection string in the format: + * @param connectionString - An IotHub connection string in the format: * `"HostName=.azure-devices.net;SharedAccessKeyName=;SharedAccessKey="` - * @returns {Promise} An Event Hubs-compatible connection string in the format: + * @returns An Event Hubs-compatible connection string in the format: * `"Endpoint=sb://;EntityPath=;SharedAccessKeyName=;SharedAccessKey="` */ async function convertIotHubToEventHubsConnectionString(connectionString) { @@ -71,7 +80,8 @@ async function convertIotHubToEventHubsConnectionString(connectionString) { SharedAccessKeyName, 5 // token expires in 5 minutes ); - const connectionOptions = { + + const connection = new Connection({ transport: "tls", host: HostName, hostname: HostName, @@ -79,9 +89,7 @@ async function convertIotHubToEventHubsConnectionString(connectionString) { port: 5671, reconnect: false, password: token - }; - - const connection = new Connection(connectionOptions); + }); await connection.open(); // Create the receiver that will trigger a redirect error. diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/package.json b/sdk/eventhub/event-hubs/samples/v5/javascript/package.json new file mode 100644 index 000000000000..2f728ecfecaa --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/package.json @@ -0,0 +1,35 @@ +{ + "name": "azure-event-hubs-samples-js", + "private": true, + "version": "1.0.0", + "description": "Azure Event Hubs client library samples for JavaScript", + "engines": { + "node": ">=12.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Azure/azure-sdk-for-js.git", + "directory": "sdk/eventhub/event-hubs" + }, + "keywords": [ + "azure", + "cloud", + "event hubs", + "events", + "Azure" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs", + "dependencies": { + "@azure/event-hubs": "latest", + "dotenv": "latest", + "rhea-promise": "^2.0.0", + "@azure/identity": "2.0.0-beta.4", + "ws": "^7.1.1", + "https-proxy-agent": "^5.0.0" + } +} diff --git a/sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js b/sdk/eventhub/event-hubs/samples/v5/javascript/receiveEvents.js similarity index 67% rename from sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js rename to sdk/eventhub/event-hubs/samples/v5/javascript/receiveEvents.js index a2f992c8709c..99b8ace3e512 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/receiveEvents.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/receiveEvents.js @@ -1,26 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how to use the EventHubConsumerClient to process events from all partitions - of a consumer group in an Event Hubs instance. - - If your Event Hub instance doesn't have any events, then please run "sendEvents.ts" sample - to populate it before running this sample. - - For an example that uses checkpointing, see the sample in the eventhubs-checkpointstore-blob package - on GitHub at the following link: - - https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/eventhubs-checkpointstore-blob/samples/javascript/receiveEventsUsingCheckpointStore.js - - Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at - https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. -*/ +/** + * @summary Demonstrates how to use the EventHubConsumerClient to process events from all partitions of a consumer group in an Event Hub. + */ const { EventHubConsumerClient, earliestEventPosition } = require("@azure/event-hubs"); // Load the .env file if it exists -require("dotenv").config(); +const dotenv = require("dotenv"); +dotenv.config(); const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; const eventHubName = process.env["EVENTHUB_NAME"] || ""; diff --git a/sdk/eventhub/event-hubs/samples/javascript/sample.env b/sdk/eventhub/event-hubs/samples/v5/javascript/sample.env similarity index 68% rename from sdk/eventhub/event-hubs/samples/javascript/sample.env rename to sdk/eventhub/event-hubs/samples/v5/javascript/sample.env index 1bb8603fe5b7..5468713a3295 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/sample.env +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/sample.env @@ -1,10 +1,9 @@ -# Used in most samples +# Used in most samples. Retrieve these values from an Event Hub in the Azure Portal. EVENTHUB_CONNECTION_STRING= EVENTHUB_NAME= -EVENTHUB_FQDN=.servicebus.windows.net CONSUMER_GROUP_NAME= -# Used in the useWithIotHub.ts sample +# Used in the useWithIotHub sample. Retrieve this value from an IoT Hub's built-in endpoints in the Azure Portal. IOTHUB_EH_COMPATIBLE_CONNECTION_STRING= # Used to authenticate using Azure AD as a service principal for role-based authentication @@ -15,3 +14,4 @@ IOTHUB_EH_COMPATIBLE_CONNECTION_STRING= AZURE_CLIENT_ID= AZURE_TENANT_ID= AZURE_CLIENT_SECRET= +EVENTHUB_FQDN=.servicebus.windows.net \ No newline at end of file diff --git a/sdk/eventhub/event-hubs/samples/javascript/sendEvents.js b/sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js similarity index 89% rename from sdk/eventhub/event-hubs/samples/javascript/sendEvents.js rename to sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js index ae23b6872c96..e269d23f23ce 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/sendEvents.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/sendEvents.js @@ -1,18 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how the send() function can be used to send events to Event Hubs. - See https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-about to learn about Event Hubs. - - Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at - https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. -*/ +/** + * @summary Demonstrates how to send events to an Event Hub. + */ const { EventHubProducerClient } = require("@azure/event-hubs"); // Load the .env file if it exists -require("dotenv").config(); +const dotenv = require("dotenv"); +dotenv.config(); // Define connection string and related Event Hubs entity name here const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; @@ -55,6 +52,7 @@ async function main() { // add events to our batch let i = 0; + while (i < eventsToSend.length) { // messages can fail to be added to the batch if they exceed the maximum size configured for // the EventHub. @@ -103,7 +101,6 @@ async function main() { } await producer.close(); - console.log(`Exiting sendEvents sample`); } diff --git a/sdk/eventhub/event-hubs/samples/javascript/useWithIotHub.js b/sdk/eventhub/event-hubs/samples/v5/javascript/useWithIotHub.js similarity index 86% rename from sdk/eventhub/event-hubs/samples/javascript/useWithIotHub.js rename to sdk/eventhub/event-hubs/samples/v5/javascript/useWithIotHub.js index e5947c256ca6..97a0f0a74362 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/useWithIotHub.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/useWithIotHub.js @@ -1,14 +1,15 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how to use the EventHubClient with an IotHub instance -*/ +/** + * @summary Demonstrates how to use the EventHubConsumerClient to receive messages from an IoT Hub. + */ const { EventHubConsumerClient } = require("@azure/event-hubs"); // Load the .env file if it exists -require("dotenv").config(); +const dotenv = require("dotenv"); +dotenv.config(); // Define IoT Hub Event Hubs-compatible connection string here. // To find the correct connection string to use, visit: @@ -18,14 +19,11 @@ const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; async function main() { console.log(`Running useWithIotHub sample`); - const client = new EventHubConsumerClient(consumerGroup, connectionString); - /* Refer to other samples, and place your code here to receive events using the above client. Please note that send operations are not supported when this client is used against an IotHub instance */ - await client.close(); console.log(`Exiting useWithIotHub sample`); } diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js b/sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js new file mode 100644 index 000000000000..c753dcd475b6 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/usingAadAuth.js @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * @summary Demonstrates how to instantiate EventHubsClient using AAD token credentials obtained from using service principal secrets. + */ + +/* + * Setup : + * Register a new application in AAD and assign the "Azure Event Hubs Data Owner" role to it + * - See https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app + * to register a new application in the Azure Active Directory. + * - Note down the CLIENT_ID and TENANT_ID from the above step. + * - In the "Certificates & Secrets" tab, create a secret and note that down. + * - In the Azure portal, go to your Even Hubs resource and click on the Access control (IAM) + * tab. Here, assign the "Azure Event Hubs Data Owner" role to the registered application. + * - For more information on Event Hubs RBAC setup, learn more at https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-role-based-access-control) + * + */ + +const { EventHubConsumerClient } = require("@azure/event-hubs"); +const { DefaultAzureCredential } = require("@azure/identity"); + +// Load the .env file if it exists +const dotenv = require("dotenv"); +dotenv.config(); + +// Define Event Hubs Endpoint and related entity name here here +const eventHubsFullyQualifiedName = process.env["EVENTHUB_FQDN"] || ""; // .servicebus.windows.net +const eventHubName = process.env["EVENTHUB_NAME"] || ""; +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +// Define AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET of your AAD application in your environment + +async function main() { + console.log(`Running usingAadAuth sample`); + + const credential = new DefaultAzureCredential(); + const client = new EventHubConsumerClient( + consumerGroup, + eventHubsFullyQualifiedName, + eventHubName, + credential + ); + /* + Refer to other samples, and place your code here + to send/receive events + */ + await client.close(); + + console.log(`Exiting usingAadAuth sample`); +} + +main().catch((error) => { + console.error("Error running sample:", error); +}); diff --git a/sdk/eventhub/event-hubs/samples/javascript/websockets.js b/sdk/eventhub/event-hubs/samples/v5/javascript/websockets.js similarity index 62% rename from sdk/eventhub/event-hubs/samples/javascript/websockets.js rename to sdk/eventhub/event-hubs/samples/v5/javascript/websockets.js index 8e9399236491..32a24af1290e 100644 --- a/sdk/eventhub/event-hubs/samples/javascript/websockets.js +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/websockets.js @@ -1,27 +1,24 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT Licence. -/* - This sample demonstrates how to use WebSockets enable Event Hubs to work over an HTTP proxy and - in environments where the standard AMQP port 5671 is blocked. For the latter case, ignore proxy - related configurations in this sample. - - This sample uses 2 external libraries - - The `ws` library to provide a WebSocket implementation to the Event Hubs library. - - The `https-proxy-agent` to enable the `ws` library to work with a proxy server. +/** + * @summary Demonstrates how to connect to Azure Event Hubs over websockets to work over an HTTP proxy. + */ - Note: If you are using version 2.1.0 or lower of @azure/event-hubs library, then please use the samples at - https://github.com/Azure/azure-sdk-for-js/tree/%40azure/event-hubs_2.1.0/sdk/eventhub/event-hubs/samples instead. -*/ +/* + * In environments where the standard AMQP port 5671 is blocked and you don't want to connect through a proxy, + * ignore proxy related configurations in this sample. + */ const WebSocket = require("ws"); const url = require("url"); -const httpsProxyAgent = require("https-proxy-agent"); +const { HttpsProxyAgent } = require("https-proxy-agent"); const { EventHubConsumerClient } = require("@azure/event-hubs"); // Load the .env file if it exists -require("dotenv").config(); +const dotenv = require("dotenv"); +dotenv.config(); // Define connection string and related Event Hubs entity name here const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; @@ -33,7 +30,7 @@ const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; // Skip this section if you are not behind a proxy server const urlParts = url.parse("http://localhost:3128"); urlParts.auth = "username:password"; // Skip this if proxy server does not need authentication. -const proxyAgent = new httpsProxyAgent(urlParts); +const proxyAgent = new HttpsProxyAgent(urlParts); async function main() { console.log(`Running websockets sample`); @@ -44,12 +41,11 @@ async function main() { webSocketConstructorOptions: { agent: proxyAgent } } }); - /* Refer to other samples, and place your code here to send/receive events */ - await client.close(); + console.log(`Exiting websockets sample`); } diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/README.md b/sdk/eventhub/event-hubs/samples/v5/typescript/README.md new file mode 100644 index 000000000000..5ef84e59494a --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/README.md @@ -0,0 +1,86 @@ +--- +page_type: sample +languages: + - typescript +products: + - azure + - azure-event-hubs +urlFragment: event-hubs-typescript +--- + +# Azure Event Hubs client library samples for TypeScript + +These sample programs show how to use the TypeScript client libraries for Azure Event Hubs in some common scenarios. + +| **File Name** | **Description** | +| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| [sendEvents.ts][sendevents] | Demonstrates how to send events to an Event Hub. | +| [receiveEvents.ts][receiveevents] | Demonstrates how to use the EventHubConsumerClient to process events from all partitions of a consumer group in an Event Hub. | +| [usingAadAuth.ts][usingaadauth] | Demonstrates how to instantiate EventHubsClient using AAD token credentials obtained from using service principal secrets. | +| [iothubConnectionString.ts][iothubconnectionstring] | Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint. | +| [useWithIotHub.ts][usewithiothub] | Demonstrates how to use the EventHubConsumerClient to receive messages from an IoT Hub. | +| [websockets.ts][websockets] | Demonstrates how to connect to Azure Event Hubs over websockets to work over an HTTP proxy. | + +## Prerequisites + +The sample programs are compatible with Node.js >=12.0.0. + +Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: + +```bash +npm install -g typescript +``` + +You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs: + +- [Azure Event Hub][createinstance_azureeventhub] + +Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. + +Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. + +## Setup + +To run the samples using the published version of the package: + +1. Install the dependencies using `npm`: + +```bash +npm install +``` + +2. Compile the samples: + +```bash +npm run build +``` + +3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. + +4. Run whichever samples you like (note that some samples may require additional setup, see the table above): + +```bash +node dist/sendEvents.js +``` + +Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): + +```bash +npx cross-env EVENTHUB_CONNECTION_STRING="" EVENTHUB_NAME="" node dist/sendEvents.js +``` + +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[sendevents]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendEvents.ts +[receiveevents]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts +[usingaadauth]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/usingAadAuth.ts +[iothubconnectionstring]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts +[usewithiothub]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/useWithIotHub.ts +[websockets]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/event-hubs +[freesub]: https://azure.microsoft.com/free/ +[createinstance_azureeventhub]: https://docs.microsoft.com/azure/event-hubs/event-hubs-create +[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs/README.md +[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/package.json b/sdk/eventhub/event-hubs/samples/v5/typescript/package.json new file mode 100644 index 000000000000..2a258535bf31 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/package.json @@ -0,0 +1,43 @@ +{ + "name": "azure-event-hubs-samples-ts", + "private": true, + "version": "1.0.0", + "description": "Azure Event Hubs client library samples for TypeScript", + "engines": { + "node": ">=12.0.0" + }, + "scripts": { + "build": "tsc", + "prebuild": "rimraf dist/" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/Azure/azure-sdk-for-js.git", + "directory": "sdk/eventhub/event-hubs" + }, + "keywords": [ + "azure", + "cloud", + "event hubs", + "events", + "Azure" + ], + "author": "Microsoft Corporation", + "license": "MIT", + "bugs": { + "url": "https://github.com/Azure/azure-sdk-for-js/issues" + }, + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/eventhub/event-hubs", + "dependencies": { + "@azure/event-hubs": "latest", + "dotenv": "latest", + "rhea-promise": "^2.0.0", + "@azure/identity": "2.0.0-beta.4", + "ws": "^7.1.1", + "https-proxy-agent": "^5.0.0" + }, + "devDependencies": { + "typescript": "~4.2.0", + "rimraf": "latest" + } +} diff --git a/sdk/eventhub/event-hubs/samples/typescript/sample.env b/sdk/eventhub/event-hubs/samples/v5/typescript/sample.env similarity index 68% rename from sdk/eventhub/event-hubs/samples/typescript/sample.env rename to sdk/eventhub/event-hubs/samples/v5/typescript/sample.env index 1bb8603fe5b7..5468713a3295 100644 --- a/sdk/eventhub/event-hubs/samples/typescript/sample.env +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/sample.env @@ -1,10 +1,9 @@ -# Used in most samples +# Used in most samples. Retrieve these values from an Event Hub in the Azure Portal. EVENTHUB_CONNECTION_STRING= EVENTHUB_NAME= -EVENTHUB_FQDN=.servicebus.windows.net CONSUMER_GROUP_NAME= -# Used in the useWithIotHub.ts sample +# Used in the useWithIotHub sample. Retrieve this value from an IoT Hub's built-in endpoints in the Azure Portal. IOTHUB_EH_COMPATIBLE_CONNECTION_STRING= # Used to authenticate using Azure AD as a service principal for role-based authentication @@ -15,3 +14,4 @@ IOTHUB_EH_COMPATIBLE_CONNECTION_STRING= AZURE_CLIENT_ID= AZURE_TENANT_ID= AZURE_CLIENT_SECRET= +EVENTHUB_FQDN=.servicebus.windows.net \ No newline at end of file diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts new file mode 100644 index 000000000000..65de46db56df --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/iothubConnectionString.ts @@ -0,0 +1,165 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * @summary Demonstrates how to convert an IoT Hub connection string to an Event Hubs connection string that points to the built-in messaging endpoint. + */ + +/* + * The Event Hubs connection string is then used with the EventHubConsumerClient to receive events. + * + * More information about the built-in messaging endpoint can be found at: + * https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin + */ + +import * as crypto from "crypto"; +import { Buffer } from "buffer"; +import { AmqpError, Connection, ReceiverEvents, parseConnectionString } from "rhea-promise"; +import rheaPromise from "rhea-promise"; +import { EventHubConsumerClient, earliestEventPosition } from "@azure/event-hubs"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +/** + * Type guard for AmqpError. + * @param err - An unknown error. + */ +function isAmqpError(err: any): err is AmqpError { + return rheaPromise.isAmqpError(err); +} + +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +// This code is modified from https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-security#security-tokens. +function generateSasToken( + resourceUri: string, + signingKey: string, + policyName: string, + expiresInMins: number +): string { + resourceUri = encodeURIComponent(resourceUri); + + const expiresInSeconds = Math.ceil(Date.now() / 1000 + expiresInMins * 60); + const toSign = resourceUri + "\n" + expiresInSeconds; + + // Use the crypto module to create the hmac. + const hmac = crypto.createHmac("sha256", Buffer.from(signingKey, "base64")); + hmac.update(toSign); + const base64UriEncoded = encodeURIComponent(hmac.digest("base64")); + + // Construct authorization string. + return `SharedAccessSignature sr=${resourceUri}&sig=${base64UriEncoded}&se=${expiresInSeconds}&skn=${policyName}`; +} + +/** + * Converts an IotHub Connection string into an Event Hubs-compatible connection string. + * @param connectionString - An IotHub connection string in the format: + * `"HostName=.azure-devices.net;SharedAccessKeyName=;SharedAccessKey="` + * @returns An Event Hubs-compatible connection string in the format: + * `"Endpoint=sb://;EntityPath=;SharedAccessKeyName=;SharedAccessKey="` + */ +async function convertIotHubToEventHubsConnectionString(connectionString: string): Promise { + const { HostName, SharedAccessKeyName, SharedAccessKey } = parseConnectionString<{ + HostName: string; + SharedAccessKeyName: string; + SharedAccessKey: string; + }>(connectionString); + + // Verify that the required info is in the connection string. + if (!HostName || !SharedAccessKey || !SharedAccessKeyName) { + throw new Error(`Invalid IotHub connection string.`); + } + + //Extract the IotHub name from the hostname. + const [iotHubName] = HostName.split("."); + + if (!iotHubName) { + throw new Error(`Unable to extract the IotHub name from the connection string.`); + } + + // Generate a token to authenticate to the service. + // The code for generateSasToken can be found at https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-security#security-tokens + const token = generateSasToken( + `${HostName}/messages/events`, + SharedAccessKey, + SharedAccessKeyName, + 5 // token expires in 5 minutes + ); + + const connection = new Connection({ + transport: "tls", + host: HostName, + hostname: HostName, + username: `${SharedAccessKeyName}@sas.root.${iotHubName}`, + port: 5671, + reconnect: false, + password: token + }); + await connection.open(); + + // Create the receiver that will trigger a redirect error. + const receiver = await connection.createReceiver({ + source: { address: `amqps://${HostName}/messages/events/$management` } + }); + + return new Promise((resolve, reject) => { + receiver.on(ReceiverEvents.receiverError, (context) => { + const error = context.receiver && context.receiver.error; + if (isAmqpError(error) && error.condition === "amqp:link:redirect") { + const hostname = error.info && error.info.hostname; + if (!hostname) { + reject(error); + } else { + resolve( + `Endpoint=sb://${hostname}/;EntityPath=${iotHubName};SharedAccessKeyName=${SharedAccessKeyName};SharedAccessKey=${SharedAccessKey}` + ); + } + } else { + reject(error); + } + connection.close().catch(() => { + /* ignore error */ + }); + }); + }); +} + +export async function main() { + console.log(`Running iothubConnectionString sample`); + + const eventHubsConnectionString = await convertIotHubToEventHubsConnectionString( + "HostName=.azure-devices.net;SharedAccessKeyName=;SharedAccessKey=" + ); + + const consumerClient = new EventHubConsumerClient(consumerGroup, eventHubsConnectionString); + + const subscription = consumerClient.subscribe( + { + // The callback where you add your code to process incoming events + processEvents: async (events, context) => { + for (const event of events) { + console.log( + `Received event: '${event.body}' from partition: '${context.partitionId}' and consumer group: '${context.consumerGroup}'` + ); + } + }, + processError: async (err, context) => { + console.log(`Error on partition "${context.partitionId}" : ${err}`); + } + }, + { startPosition: earliestEventPosition } + ); + + // Wait for a bit before cleaning up the sample + setTimeout(async () => { + await subscription.close(); + await consumerClient.close(); + console.log(`Exiting iothubConnectionString sample`); + }, 30 * 1000); +} + +main().catch((error) => { + console.error("Error running sample:", error); +}); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts new file mode 100644 index 000000000000..3347d5dbc9d7 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/receiveEvents.ts @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * @summary Demonstrates how to use the EventHubConsumerClient to process events from all partitions of a consumer group in an Event Hub. + */ + +import { EventHubConsumerClient, earliestEventPosition } from "@azure/event-hubs"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; +const eventHubName = process.env["EVENTHUB_NAME"] || ""; +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +export async function main() { + console.log(`Running receiveEvents sample`); + + const consumerClient = new EventHubConsumerClient(consumerGroup, connectionString, eventHubName); + + const subscription = consumerClient.subscribe( + { + // The callback where you add your code to process incoming events + processEvents: async (events, context) => { + // Note: It is possible for `events` to be an empty array. + // This can happen if there were no new events to receive + // in the `maxWaitTimeInSeconds`, which is defaulted to + // 60 seconds. + // The `maxWaitTimeInSeconds` can be changed by setting + // it in the `options` passed to `subscribe()`. + for (const event of events) { + console.log( + `Received event: '${event.body}' from partition: '${context.partitionId}' and consumer group: '${context.consumerGroup}'` + ); + } + }, + processError: async (err, context) => { + console.log(`Error on partition "${context.partitionId}": ${err}`); + } + }, + { startPosition: earliestEventPosition } + ); + + // Wait for a bit before cleaning up the sample + setTimeout(async () => { + await subscription.close(); + await consumerClient.close(); + console.log(`Exiting receiveEvents sample`); + }, 30 * 1000); +} + +main().catch((error) => { + console.error("Error running sample:", error); +}); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendEvents.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendEvents.ts new file mode 100644 index 000000000000..9553a2c8dfd5 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/sendEvents.ts @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * @summary Demonstrates how to send events to an Event Hub. + */ + +import { EventHubProducerClient } from "@azure/event-hubs"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// Define connection string and related Event Hubs entity name here +const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; +const eventHubName = process.env["EVENTHUB_NAME"] || ""; + +export async function main(): Promise { + console.log(`Running sendEvents sample`); + + const producer = new EventHubProducerClient(connectionString, eventHubName); + + console.log("Creating and sending a batch of events..."); + + const eventsToSend = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]; + + try { + // By not specifying a partition ID or a partition key we allow the server to choose + // which partition will accept this message. + // + // This pattern works well if the consumers of your events do not have any particular + // requirements about the ordering of batches against other batches or if you don't care + // which messages are assigned to which partition. + // + // If you would like more control you can pass either a `partitionKey` or a `partitionId` + // into the createBatch() `options` parameter which will allow you full control over the + // destination. + const batchOptions = { + // The maxSizeInBytes lets you manually control the size of the batch. + // if this is not set we will get the maximum batch size from Event Hubs. + // + // For this sample you can change the batch size to see how different parts + // of the sample handle batching. In production we recommend using the default + // and not specifying a maximum size. + // + // maxSizeInBytes: 200 + }; + + let batch = await producer.createBatch(batchOptions); + + let numEventsSent = 0; + + // add events to our batch + let i = 0; + + while (i < eventsToSend.length) { + // messages can fail to be added to the batch if they exceed the maximum size configured for + // the EventHub. + const isAdded = batch.tryAdd({ body: eventsToSend[i] }); + + if (isAdded) { + console.log(`Added eventsToSend[${i}] to the batch`); + ++i; + continue; + } + + if (batch.count === 0) { + // If we can't add it and the batch is empty that means the message we're trying to send + // is too large, even when it would be the _only_ message in the batch. + // + // At this point you'll need to decide if you're okay with skipping this message entirely + // or find some way to shrink it. + console.log(`Message was too large and can't be sent until it's made smaller. Skipping...`); + ++i; + continue; + } + + // otherwise this just signals a good spot to send our batch + console.log(`Batch is full - sending ${batch.count} messages as a single batch.`); + await producer.sendBatch(batch); + numEventsSent += batch.count; + + // and create a new one to house the next set of messages + batch = await producer.createBatch(batchOptions); + } + + // send any remaining messages, if any. + if (batch.count > 0) { + console.log(`Sending remaining ${batch.count} messages as a single batch.`); + await producer.sendBatch(batch); + numEventsSent += batch.count; + } + + console.log(`Sent ${numEventsSent} events`); + + if (numEventsSent !== eventsToSend.length) { + throw new Error(`Not all messages were sent (${numEventsSent}/${eventsToSend.length})`); + } + } catch (err) { + console.log("Error when creating & sending a batch of events: ", err); + } + + await producer.close(); + console.log(`Exiting sendEvents sample`); +} + +main().catch((error) => { + console.error("Error running sample:", error); +}); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/useWithIotHub.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/useWithIotHub.ts new file mode 100644 index 000000000000..08dcfccc77d1 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/useWithIotHub.ts @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * @summary Demonstrates how to use the EventHubConsumerClient to receive messages from an IoT Hub. + */ + +import { EventHubConsumerClient } from "@azure/event-hubs"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// Define IoT Hub Event Hubs-compatible connection string here. +// To find the correct connection string to use, visit: +// https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin +const connectionString = process.env["IOTHUB_EH_COMPATIBLE_CONNECTION_STRING"] || ""; +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +export async function main(): Promise { + console.log(`Running useWithIotHub sample`); + const client = new EventHubConsumerClient(consumerGroup, connectionString); + /* + Refer to other samples, and place your code here to receive events using the above client. + Please note that send operations are not supported when this client is used against an IotHub instance + */ + await client.close(); + console.log(`Exiting useWithIotHub sample`); +} + +main().catch((error) => { + console.error("Error running sample:", error); +}); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/usingAadAuth.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/usingAadAuth.ts new file mode 100644 index 000000000000..d0cfc6073c88 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/usingAadAuth.ts @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * @summary Demonstrates how to instantiate EventHubsClient using AAD token credentials obtained from using service principal secrets. + */ + +/* + * Setup : + * Register a new application in AAD and assign the "Azure Event Hubs Data Owner" role to it + * - See https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app + * to register a new application in the Azure Active Directory. + * - Note down the CLIENT_ID and TENANT_ID from the above step. + * - In the "Certificates & Secrets" tab, create a secret and note that down. + * - In the Azure portal, go to your Even Hubs resource and click on the Access control (IAM) + * tab. Here, assign the "Azure Event Hubs Data Owner" role to the registered application. + * - For more information on Event Hubs RBAC setup, learn more at https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-role-based-access-control) + * + */ + +import { EventHubConsumerClient } from "@azure/event-hubs"; +import { DefaultAzureCredential } from "@azure/identity"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// Define Event Hubs Endpoint and related entity name here here +const eventHubsFullyQualifiedName = process.env["EVENTHUB_FQDN"] || ""; // .servicebus.windows.net +const eventHubName = process.env["EVENTHUB_NAME"] || ""; +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +// Define AZURE_TENANT_ID, AZURE_CLIENT_ID and AZURE_CLIENT_SECRET of your AAD application in your environment + +export async function main(): Promise { + console.log(`Running usingAadAuth sample`); + + const credential = new DefaultAzureCredential(); + const client = new EventHubConsumerClient( + consumerGroup, + eventHubsFullyQualifiedName, + eventHubName, + credential + ); + /* + Refer to other samples, and place your code here + to send/receive events + */ + await client.close(); + + console.log(`Exiting usingAadAuth sample`); +} + +main().catch((error) => { + console.error("Error running sample:", error); +}); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts b/sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts new file mode 100644 index 000000000000..1e69950146f9 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/src/websockets.ts @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT Licence. + +/** + * @summary Demonstrates how to connect to Azure Event Hubs over websockets to work over an HTTP proxy. + */ + +/* + * In environments where the standard AMQP port 5671 is blocked and you don't want to connect through a proxy, + * ignore proxy related configurations in this sample. + */ + +import WebSocket from "ws"; +const url = require("url"); +import { HttpsProxyAgent } from "https-proxy-agent"; + +import { EventHubConsumerClient } from "@azure/event-hubs"; + +// Load the .env file if it exists +import * as dotenv from "dotenv"; +dotenv.config(); + +// Define connection string and related Event Hubs entity name here +const connectionString = process.env["EVENTHUB_CONNECTION_STRING"] || ""; +const eventHubName = process.env["EVENTHUB_NAME"] || ""; +const consumerGroup = process.env["CONSUMER_GROUP_NAME"] || ""; + +// Create an instance of the `HttpsProxyAgent` class with the proxy server information like +// proxy url, username and password +// Skip this section if you are not behind a proxy server +const urlParts = url.parse("http://localhost:3128"); +urlParts.auth = "username:password"; // Skip this if proxy server does not need authentication. +const proxyAgent = new HttpsProxyAgent(urlParts); + +export async function main(): Promise { + console.log(`Running websockets sample`); + + const client = new EventHubConsumerClient(consumerGroup, connectionString, eventHubName, { + webSocketOptions: { + webSocket: WebSocket, + webSocketConstructorOptions: { agent: proxyAgent } + } + }); + /* + Refer to other samples, and place your code here to send/receive events + */ + await client.close(); + + console.log(`Exiting websockets sample`); +} + +main().catch((error) => { + console.error("Error running sample:", error); +}); diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/tsconfig.json b/sdk/eventhub/event-hubs/samples/v5/typescript/tsconfig.json new file mode 100644 index 000000000000..416c2dd82e00 --- /dev/null +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "target": "ES2018", + "module": "commonjs", + "moduleResolution": "node", + "resolveJsonModule": true, + "esModuleInterop": true, + "allowSyntheticDefaultImports": true, + "strict": true, + "alwaysStrict": true, + "outDir": "dist", + "rootDir": "src" + }, + "include": [ + "src/**.ts" + ] +} diff --git a/sdk/eventhub/event-hubs/tsconfig.json b/sdk/eventhub/event-hubs/tsconfig.json index a7b99de238c8..2570c3f0d26e 100644 --- a/sdk/eventhub/event-hubs/tsconfig.json +++ b/sdk/eventhub/event-hubs/tsconfig.json @@ -3,8 +3,11 @@ "compilerOptions": { "declarationDir": "./types", "outDir": "./dist-esm", - "downlevelIteration": true + "downlevelIteration": true, + "paths": { + "@azure/event-hubs": ["./src/index"] + } }, "exclude": ["node_modules", "./types/**/*.d.ts", "./samples/**/*.ts", "test/perf/track-1/"], - "include": ["./src/**/*.ts", "./test/**/*.ts"] + "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"] } From 94402546e63001917c3abc0cce39de8ae0f3e198 Mon Sep 17 00:00:00 2001 From: luc <44377201+LuChen-Microsoft@users.noreply.github.com> Date: Fri, 25 Jun 2021 10:43:46 -0700 Subject: [PATCH 058/134] update signaling package version to beta7 (#16001) --- common/config/rush/pnpm-lock.yaml | 8 ++++---- sdk/communication/communication-chat/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 68a8d64ec858..3df7abcb75b5 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -185,7 +185,7 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-fa220+fQn27JN8QtajeMe88rqrJn3qctT/8FV/abJe6tSBJlAWYXOHiIF3nCgSeyIb5F9pi7Fycd9M55OY4O9w== - /@azure/communication-signaling/1.0.0-beta.6: + /@azure/communication-signaling/1.0.0-beta.7: dependencies: '@azure/core-http': 1.2.6 '@azure/core-tracing': 1.0.0-preview.9 @@ -197,7 +197,7 @@ packages: engines: node: '>=8.0.0' resolution: - integrity: sha512-4ejoRfG3Xb9BBjOT7T930me60EMMpB0OBHkdwJmrCA8SlEIJ8YcnmKYWJL+ocI8EMtOGRI/vu2FB4yYdYERXyg== + integrity: sha512-iO2Wpnr95HrAfOoq9IX7pcB7QlfSoJKDd4Ty9cjZK3Efv9vFN23kVybyd0JqC3HHXf0ALIcIm98bNH6PyVCOgw== /@azure/core-asynciterator-polyfill/1.0.0: dev: false resolution: @@ -8447,7 +8447,7 @@ packages: file:projects/communication-chat.tgz: dependencies: '@azure/communication-identity': 1.0.0 - '@azure/communication-signaling': 1.0.0-beta.6 + '@azure/communication-signaling': 1.0.0-beta.7 '@azure/core-tracing': 1.0.0-preview.11 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -8497,7 +8497,7 @@ packages: dev: false name: '@rush-temp/communication-chat' resolution: - integrity: sha512-x9R12DgmsAeN8ncSUNj7I0mdKT992y/8v1WLisNcJn7OW14IfCITuJx4JLmCEfOo7vbNe2pulwYlTqQ5MUNt9w== + integrity: sha512-i/8xbWYc2eRn2OedKY0xUzr3RDK/XdRT22ea2GLoBv4ivEPWY4+ehtL3DOntR3DXOVwnzoy8NTk44NnCTiT+Vg== tarball: file:projects/communication-chat.tgz version: 0.0.0 file:projects/communication-common.tgz: diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index 9858315fc660..20c72b42a06d 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -66,7 +66,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/communication-common": "^1.0.0", - "@azure/communication-signaling": "1.0.0-beta.6", + "@azure/communication-signaling": "1.0.0-beta.7", "@azure/core-auth": "^1.3.0", "@azure/core-http": "^2.0.0", "@azure/core-tracing": "1.0.0-preview.12", From ca61eb9ee277fbca11930543c59041834c90c8ed Mon Sep 17 00:00:00 2001 From: Jeremy Meng Date: Fri, 25 Jun 2021 12:54:20 -0700 Subject: [PATCH 059/134] [ContainerRegistry] Update delete image sample (#16002) to delete tags before delete the image as this is the recommended best practice for the service. --- sdk/containerregistry/container-registry/README.md | 6 ++++-- .../container-registry/samples-dev/deleteImages.ts | 6 ++++-- .../samples/v1/javascript/deleteImages.js | 6 ++++-- .../samples/v1/typescript/src/deleteImages.ts | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/sdk/containerregistry/container-registry/README.md b/sdk/containerregistry/container-registry/README.md index 328e83816246..e50c8193411e 100644 --- a/sdk/containerregistry/container-registry/README.md +++ b/sdk/containerregistry/container-registry/README.md @@ -199,12 +199,14 @@ async function main() { // Delete images older than the first three. for await (const manifest of imageManifests) { if (imageCount++ > imagesToKeep) { + const image = repository.getArtifact(manifest.digest); console.log(`Deleting image with digest ${manifest.digest}`); - console.log(` This image has the following tags:`); + console.log(` Deleting the following tags from the image:`); for (const tagName of manifest.tags) { console.log(` ${manifest.repositoryName}:${tagName}`); + image.deleteTag(tagName); } - await repository.getArtifact(manifest.digest).delete(); + await image.delete(); } } } diff --git a/sdk/containerregistry/container-registry/samples-dev/deleteImages.ts b/sdk/containerregistry/container-registry/samples-dev/deleteImages.ts index 3941bdb921e6..c0b1947341c2 100644 --- a/sdk/containerregistry/container-registry/samples-dev/deleteImages.ts +++ b/sdk/containerregistry/container-registry/samples-dev/deleteImages.ts @@ -33,12 +33,14 @@ async function main() { // Delete images older than the first three. for await (const manifest of imageManifests) { if (imageCount++ > imagesToKeep) { + const image = repository.getArtifact(manifest.digest); console.log(`Deleting image with digest ${manifest.digest}`); - console.log(` This image has the following tags:`); + console.log(` Deleting the following tags from the image:`); for (const tagName of manifest.tags) { console.log(` ${manifest.repositoryName}:${tagName}`); + image.deleteTag(tagName); } - await repository.getArtifact(manifest.digest).delete(); + await image.delete(); } } } diff --git a/sdk/containerregistry/container-registry/samples/v1/javascript/deleteImages.js b/sdk/containerregistry/container-registry/samples/v1/javascript/deleteImages.js index 9175cef06944..29573681a926 100644 --- a/sdk/containerregistry/container-registry/samples/v1/javascript/deleteImages.js +++ b/sdk/containerregistry/container-registry/samples/v1/javascript/deleteImages.js @@ -32,12 +32,14 @@ async function main() { // Delete images older than the first three. for await (const manifest of imageManifests) { if (imageCount++ > imagesToKeep) { + const image = repository.getArtifact(manifest.digest); console.log(`Deleting image with digest ${manifest.digest}`); - console.log(` This image has the following tags:`); + console.log(` Deleting the following tags from the image:`); for (const tagName of manifest.tags) { console.log(` ${manifest.repositoryName}:${tagName}`); + image.deleteTag(tagName); } - await repository.getArtifact(manifest.digest).delete(); + await image.delete(); } } } diff --git a/sdk/containerregistry/container-registry/samples/v1/typescript/src/deleteImages.ts b/sdk/containerregistry/container-registry/samples/v1/typescript/src/deleteImages.ts index 89ce55c89bb5..43945bc01b7b 100644 --- a/sdk/containerregistry/container-registry/samples/v1/typescript/src/deleteImages.ts +++ b/sdk/containerregistry/container-registry/samples/v1/typescript/src/deleteImages.ts @@ -32,12 +32,14 @@ async function main() { // Delete images older than the first three. for await (const manifest of imageManifests) { if (imageCount++ > imagesToKeep) { + const image = repository.getArtifact(manifest.digest); console.log(`Deleting image with digest ${manifest.digest}`); - console.log(` This image has the following tags:`); + console.log(` Deleting the following tags from the image:`); for (const tagName of manifest.tags) { console.log(` ${manifest.repositoryName}:${tagName}`); + image.deleteTag(tagName); } - await repository.getArtifact(manifest.digest).delete(); + await image.delete(); } } } From 4ccc8d90ea3e0ba386a56a1588a87f82a5685827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Fri, 25 Jun 2021 16:21:22 -0400 Subject: [PATCH 060/134] [Identity] Test improvements (#15999) * [Identity] Test improvements * temporary node 16 fix * Since unhandled promise rejections are not supported in Node 16, tickAsync can't be awaited * fix the test Co-authored-by: Harsha Nalluru --- .../node/managedIdentityCredential.spec.ts | 40 +++++++------------ .../node/clientSecretCredential.spec.ts | 7 +++- 2 files changed, 19 insertions(+), 28 deletions(-) diff --git a/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts b/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts index 4d9fdf5e5cb6..aa6ac5f726bd 100644 --- a/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts @@ -28,7 +28,6 @@ interface AuthRequestDetails { describe("ManagedIdentityCredential", function() { let envCopy: string = ""; let sandbox: Sinon.SinonSandbox; - let clock: Sinon.SinonFakeTimers; beforeEach(() => { envCopy = JSON.stringify(process.env); @@ -39,10 +38,6 @@ describe("ManagedIdentityCredential", function() { delete process.env.IDENTITY_SERVER_THUMBPRINT; delete process.env.IMDS_ENDPOINT; sandbox = Sinon.createSandbox(); - clock = sandbox.useFakeTimers({ - now: Date.now(), - shouldAdvanceTime: true - }); }); afterEach(() => { const env = JSON.parse(envCopy); @@ -53,7 +48,6 @@ describe("ManagedIdentityCredential", function() { process.env.IDENTITY_SERVER_THUMBPRINT = env.IDENTITY_SERVER_THUMBPRINT; process.env.IMDS_ENDPOINT = env.IMDS_ENDPOINT; sandbox.restore(); - clock.restore(); }); it("sends an authorization request with a modified resource name", async function() { @@ -232,20 +226,22 @@ describe("ManagedIdentityCredential", function() { ...mockHttpClient.tokenCredentialOptions }); - const promise = credential.getToken("scopes"); + const clock = sandbox.useFakeTimers(); - imdsMsiRetryConfig.startDelayInMs = 80; // 800ms / 10 - - // 800ms -> 1600ms -> 3200ms, results in 6400ms, / 10 = 640ms - clock.tick(640); + let errorMessage: string = ""; + credential.getToken("scopes").catch((error) => { + errorMessage = error.message; + }); + // 800ms -> 1600ms -> 3200ms, results in 6400ms - await assertRejects( - promise, - (error: AuthenticationError) => - error.message.indexOf( - `Failed to retrieve IMDS token after ${imdsMsiRetryConfig.maxRetries} retries.` - ) > -1 + await clock.tickAsync(6400); + assert.ok( + errorMessage.indexOf( + `Failed to retrieve IMDS token after ${imdsMsiRetryConfig.maxRetries} retries.` + ) > -1 ); + + clock.restore(); }); // Unavailable exception throws while IMDS endpoint is unavailable. This test not valid. @@ -397,15 +393,7 @@ describe("ManagedIdentityCredential", function() { ); assert.equal(authRequest.headers.get("Authorization"), `Basic ${key}`); - if (authDetails.token) { - // We use Date.now underneath. - assert.equal( - Math.floor(authDetails.token.expiresOnTimestamp / 1000000), - Math.floor(Date.now() / 1000000) - ); - } else { - assert.fail("No token was returned!"); - } + assert.ok(authDetails.token?.expiresOnTimestamp); } finally { unlinkSync(tempFile); rmdirSync(tempDir); diff --git a/sdk/identity/identity/test/public/node/clientSecretCredential.spec.ts b/sdk/identity/identity/test/public/node/clientSecretCredential.spec.ts index 46d088e86898..987d3e4bd63f 100644 --- a/sdk/identity/identity/test/public/node/clientSecretCredential.spec.ts +++ b/sdk/identity/identity/test/public/node/clientSecretCredential.spec.ts @@ -4,7 +4,7 @@ /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ import assert from "assert"; -import { env, delay, isLiveMode } from "@azure/test-utils-recorder"; +import { env, delay, isRecordMode } from "@azure/test-utils-recorder"; import { AbortController } from "@azure/abort-controller"; import { MsalTestCleanup, msalNodeTestSetup, testTracing } from "../../msalTestUtils"; import { ClientSecretCredential, RegionalAuthority } from "../../../src"; @@ -83,7 +83,10 @@ describe("ClientSecretCredential", function() { ); it("supports specifying the regional authority", async function(this: Context) { - if (isLiveMode()) { + // This test is extremely slow. Let's skip it for now. + // I've tried Sinon's clock and it doesn't affect it. + // We have internal tests that check that the parameters are properly sent to MSAL, which should be enough from the perspective of the SDK. + if (!isRecordMode()) { this.skip(); } From 63b62362d8abb8c69c9fcd51dfd614f0c1d1c830 Mon Sep 17 00:00:00 2001 From: Harsha Nalluru Date: Fri, 25 Jun 2021 14:57:35 -0700 Subject: [PATCH 061/134] Add dev dependencies for App Config perf tests(#16009) --- sdk/appconfiguration/perf-tests/app-configuration/package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/appconfiguration/perf-tests/app-configuration/package.json b/sdk/appconfiguration/perf-tests/app-configuration/package.json index d0dfc3134729..ad44b1c7f811 100644 --- a/sdk/appconfiguration/perf-tests/app-configuration/package.json +++ b/sdk/appconfiguration/perf-tests/app-configuration/package.json @@ -15,6 +15,9 @@ "devDependencies": { "@types/uuid": "^8.0.0", "@types/node": "^8.0.0", + "eslint": "^7.15.0", + "prettier": "^1.16.4", + "rimraf": "^3.0.0", "uuid": "^8.3.0", "tslib": "^2.2.0", "ts-node": "^9.0.0", From f3a8efe4096fbfe0f57c820304fcb4bbe3d97667 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Fri, 25 Jun 2021 15:15:58 -0700 Subject: [PATCH 062/134] [KeyVault] - Add support for getRandomBytes operation (#15955) ## What - Regenerate from 7.3-preview swagger - Add `getRandomBytes` method ## Why - For July we would like to add support for the RNG endpoint in a Managed HSM. While this is a customer ask for Java, we will add this to all languages at the same time. --- sdk/keyvault/keyvault-keys/CHANGELOG.md | 3 + .../keyvault-keys/platform-matrix.json | 7 +- ...ion_should_work_for_parallel_requests.json | 330 +- ...equests_should_not_authenticate_again.json | 226 +- ...ng_encrypts_and_decrypts_using_aescbc.json | 518 +- ...ng_encrypts_and_decrypts_using_aesgcm.json | 518 +- ...rding_encrypts_and_decrypts_using_rsa.json | 518 +- ...ng_encrypts_and_decrypts_using_aescbc.json | 518 +- ...ng_encrypts_and_decrypts_using_aesgcm.json | 526 +- .../recording_can_abort_creating_a_key.json | 38 +- .../recording_can_create_a_disabled_key.json | 1032 ++-- ...eate_a_key_while_giving_a_manual_type.json | 1302 ++--- ...cording_can_create_a_key_with_expires.json | 1518 ++--- ...rding_can_create_a_key_with_notbefore.json | 1734 +++--- .../recording_can_create_a_rsa_key.json | 924 +-- ...create_a_rsa_key_with_public_exponent.json | 870 +-- ...ording_can_create_a_rsa_key_with_size.json | 924 +-- .../recording_can_create_an_ec_key.json | 1464 ++--- ...rding_can_create_an_ec_key_with_curve.json | 978 ++-- ...ng_can_create_an_oct_key_with_options.json | 286 +- .../recording_can_delete_a_key.json | 1518 ++--- .../recording_can_get_a_deleted_key.json | 1194 ++-- .../recording_can_get_a_key.json | 1086 ++-- ...g_can_get_a_specific_version_of_a_key.json | 1086 ++-- .../recording_can_purge_a_deleted_key.json | 1086 ++-- .../recording_can_update_a_disabled_key.json | 1626 +++--- .../recording_can_update_key.json | 1032 ++-- ...t_get_a_deleted_key_that_doesnt_exist.json | 172 +- .../recording_delete_nonexisting_key.json | 172 +- .../recording_supports_tracing.json | 172 +- ...ng_can_create_an_oct_key_with_options.json | 292 +- ...n_return_the_required_number_of_bytes.json | 78 + ...s_an_error_when_bytes_is_out_of_range.json | 8 + .../recording_supports_tracing.json | 78 + .../recording_can_import_a_key.json | 172 +- ...cording_can_get_several_inserted_keys.json | 2540 ++++---- ...g_can_get_several_inserted_keys_paged.json | 2054 +++---- ...cording_can_get_the_versions_of_a_key.json | 1680 +++--- ...g_can_get_the_versions_of_a_key_paged.json | 1140 ++-- .../recording_can_purge_all_keys.json | 5172 ++++++++--------- ..._list_0_versions_of_a_nonexisting_key.json | 172 +- ...0_versions_of_a_nonexisting_key_paged.json | 172 +- .../recording_list_deleted_keys.json | 2002 +++---- .../recording_list_deleted_keys_paged.json | 2810 ++++----- ...ding_can_resume_from_a_stopped_poller.json | 1086 ++-- ...rding_can_wait_until_a_key_is_deleted.json | 1140 ++-- ...ding_can_resume_from_a_stopped_poller.json | 2868 ++++----- ...ing_can_wait_until_a_key_is_recovered.json | 2868 ++++----- ...ording_can_generate_a_backup_of_a_key.json | 1410 ++--- .../recording_can_recover_a_deleted_key.json | 2220 +++---- ...can_restore_a_key_with_a_given_backup.json | 2162 +++---- ..._to_recover_a_nonexisting_deleted_key.json | 226 +- ...enerate_a_backup_of_a_nonexisting_key.json | 172 +- ...restore_a_key_with_a_malformed_backup.json | 172 +- ...can_return_the_required_number_of_bytes.js | 165 + ...rns_an_error_when_bytes_is_out_of_range.js | 5 + .../recording_supports_tracing.js | 165 + .../keyvault-keys/review/keyvault-keys.api.md | 7 +- .../src/generated/keyVaultClient.ts | 352 +- .../src/generated/keyVaultClientContext.ts | 27 +- .../src/generated/models/index.ts | 397 +- .../src/generated/models/mappers.ts | 290 + .../src/generated/models/parameters.ts | 61 +- sdk/keyvault/keyvault-keys/src/index.ts | 22 +- sdk/keyvault/keyvault-keys/src/keysModels.ts | 30 +- sdk/keyvault/keyvault-keys/swagger/README.md | 10 +- ...CRUD.hsm.spec.ts => keyClient.hsm.spec.ts} | 22 + .../{CRUD.spec.ts => keyClient.spec.ts} | 0 .../keyvault-keys/test/utils/utils.common.ts | 2 +- 69 files changed, 29550 insertions(+), 28077 deletions(-) create mode 100644 sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_can_return_the_required_number_of_bytes.json create mode 100644 sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_returns_an_error_when_bytes_is_out_of_range.json create mode 100644 sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_supports_tracing.json create mode 100644 sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_can_return_the_required_number_of_bytes.js create mode 100644 sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_returns_an_error_when_bytes_is_out_of_range.js create mode 100644 sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_supports_tracing.js rename sdk/keyvault/keyvault-keys/test/public/{CRUD.hsm.spec.ts => keyClient.hsm.spec.ts} (68%) rename sdk/keyvault/keyvault-keys/test/public/{CRUD.spec.ts => keyClient.spec.ts} (100%) diff --git a/sdk/keyvault/keyvault-keys/CHANGELOG.md b/sdk/keyvault/keyvault-keys/CHANGELOG.md index 51b8480a8554..a69838d159b0 100644 --- a/sdk/keyvault/keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/keyvault-keys/CHANGELOG.md @@ -4,6 +4,9 @@ ### Features Added +- Added support for `KeyClient.getRandomBytes` which, when connected to a managed HSM, can be used to generate a byte array of a given length with random values. +- Updated the service version to 7.3-preview. + ### Breaking Changes ### Key Bugs Fixed diff --git a/sdk/keyvault/keyvault-keys/platform-matrix.json b/sdk/keyvault/keyvault-keys/platform-matrix.json index e075bc177399..dcdae26eb880 100644 --- a/sdk/keyvault/keyvault-keys/platform-matrix.json +++ b/sdk/keyvault/keyvault-keys/platform-matrix.json @@ -19,12 +19,13 @@ } }, "TestType": "node", - "NodeTestVersion": "10.x", - "ServiceVersion": ["7.0", "7.1"] + "NodeTestVersion": "14.x", + "ServiceVersion": ["7.0", "7.1", "7.2"] } ], "displayNames": { "7.0": "service_version_7_0", - "7.1": "service_version_7_1" + "7.1": "service_version_7_1", + "7.2": "service_version_7_2" } } diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.json b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.json index 3fc463b3d0f6..eb38cd7effb1 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_authentication_should_work_for_parallel_requests.json @@ -1,167 +1,167 @@ { - "recordings": [ - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "97", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ed067b2c-333e-42dd-a526-b1592bac0f5f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.9.12.0", - "x-ms-request-id": "be104998-e1d5-4d79-8c40-33eaf62c5a12", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "97", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ed067b2c-333e-42dd-a526-b1592bac0f5f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "be104998-e1d5-4d79-8c40-33eaf62c5a12", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "97", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "68fb0167-aff6-487d-aa2f-a5d86b02abc1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "5738fba5-6936-4cad-a542-6b0fdaadab8d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", + "x-ms-request-id": "a867aa5c-ca07-4596-b271-331a3b58c200" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:57 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", + "x-ms-request-id": "b9509a54-3fe4-47e5-ae1b-42f173a37100" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-1\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-1\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "585", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "68fb0167-aff6-487d-aa2f-a5d86b02abc1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "a784515e-27b5-4022-bbd9-5236aedb905b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-1\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-1\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "585", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ed067b2c-333e-42dd-a526-b1592bac0f5f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "29782669-986b-484b-be52-2bc0a2882a7c", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "97", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "68fb0167-aff6-487d-aa2f-a5d86b02abc1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.9.12.0", - "x-ms-request-id": "5738fba5-6936-4cad-a542-6b0fdaadab8d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:58 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", - "x-ms-request-id": "a867aa5c-ca07-4596-b271-331a3b58c200" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:57 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", - "x-ms-request-id": "b9509a54-3fe4-47e5-ae1b-42f173a37100" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-1\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-1\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "585", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "68fb0167-aff6-487d-aa2f-a5d86b02abc1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.9.12.0", - "x-ms-request-id": "a784515e-27b5-4022-bbd9-5236aedb905b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-1\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-1\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "585", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ed067b2c-333e-42dd-a526-b1592bac0f5f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.9.12.0", - "x-ms-request-id": "29782669-986b-484b-be52-2bc0a2882a7c", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "9c6eaed2ebe372dd12aa2b3b7d5155e9" -} \ No newline at end of file + "hash": "9c6eaed2ebe372dd12aa2b3b7d5155e9" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.json b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.json index 4138ace45287..22c6d1c09a9c 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/challenge_based_authentication_tests/recording_once_authenticated_new_requests_should_not_authenticate_again.json @@ -1,115 +1,115 @@ { - "recordings": [ - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "97", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7736f559-035b-4ca4-b0c8-ac2fa40210ff", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.9.12.0", - "x-ms-request-id": "d11e35f6-71da-459c-bed5-2ddb3a5fef14", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"AKV10000: Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "97", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7736f559-035b-4ca4-b0c8-ac2fa40210ff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "d11e35f6-71da-459c-bed5-2ddb3a5fef14", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", + "x-ms-request-id": "823a5ee1-ec9f-4230-9b62-25d78e285300" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"deletedDate\":1623968152,\"scheduledPurgeDate\":1624572952,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"attributes\":{\"enabled\":true,\"created\":1623968038,\"updated\":1623968038,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"deletedDate\":1623967880,\"scheduledPurgeDate\":1624572680,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"attributes\":{\"enabled\":true,\"created\":1623967755,\"updated\":1623967755,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"deletedDate\":1623967959,\"scheduledPurgeDate\":1624572759,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"deletedDate\":1623968786,\"scheduledPurgeDate\":1624573586,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "1953", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7736f559-035b-4ca4-b0c8-ac2fa40210ff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "e01d43f2-6e0e-4f3a-8494-1d0a859e2005", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"deletedDate\":1623968152,\"scheduledPurgeDate\":1624572952,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"attributes\":{\"enabled\":true,\"created\":1623968038,\"updated\":1623968038,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"deletedDate\":1623967880,\"scheduledPurgeDate\":1624572680,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"attributes\":{\"enabled\":true,\"created\":1623967755,\"updated\":1623967755,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"deletedDate\":1623967959,\"scheduledPurgeDate\":1624572759,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"deletedDate\":1623968786,\"scheduledPurgeDate\":1624573586,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "1953", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 17 Jun 2021 22:28:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d6c488d9-f0c5-4252-9d28-325ee4b403c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.9.12.0", + "x-ms-request-id": "c7cc40e2-cb52-4695-9263-810a77695fad", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:58 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", - "x-ms-request-id": "823a5ee1-ec9f-4230-9b62-25d78e285300" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"deletedDate\":1623968152,\"scheduledPurgeDate\":1624572952,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"attributes\":{\"enabled\":true,\"created\":1623968038,\"updated\":1623968038,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"deletedDate\":1623967880,\"scheduledPurgeDate\":1624572680,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"attributes\":{\"enabled\":true,\"created\":1623967755,\"updated\":1623967755,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"deletedDate\":1623967959,\"scheduledPurgeDate\":1624572759,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"deletedDate\":1623968786,\"scheduledPurgeDate\":1624573586,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "1953", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7736f559-035b-4ca4-b0c8-ac2fa40210ff", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.9.12.0", - "x-ms-request-id": "e01d43f2-6e0e-4f3a-8494-1d0a859e2005", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"deletedDate\":1623968152,\"scheduledPurgeDate\":1624572952,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-018489891015560644-1\",\"attributes\":{\"enabled\":true,\"created\":1623968038,\"updated\":1623968038,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"deletedDate\":1623967880,\"scheduledPurgeDate\":1624572680,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-24685237550245565-1\",\"attributes\":{\"enabled\":true,\"created\":1623967755,\"updated\":1623967755,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"deletedDate\":1623967959,\"scheduledPurgeDate\":1624572759,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Authenticationshouldworkforparallelrequests-304369368630208-0\",\"attributes\":{\"enabled\":true,\"created\":1623967959,\"updated\":1623967959,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"deletedDate\":1623968786,\"scheduledPurgeDate\":1624573586,\"kid\":\"https://keyvault_name.vault.azure.net/keys/challengeAuthKeyName-Onceauthenticatednewrequestsshouldnotauthenticateagain-9173446555051745-0\",\"attributes\":{\"enabled\":true,\"created\":1623968785,\"updated\":1623968785,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "1953", - "content-type": "application/json; charset=utf-8", - "date": "Thu, 17 Jun 2021 22:28:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d6c488d9-f0c5-4252-9d28-325ee4b403c5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.9.12.0", - "x-ms-request-id": "c7cc40e2-cb52-4695-9263-810a77695fad", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "9f2d93241a593aee460253e5c0a48bca" -} \ No newline at end of file + "hash": "9f2d93241a593aee460253e5c0a48bca" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aescbc.json b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aescbc.json index ce09226b8ff1..aac7c07f304e 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aescbc.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aescbc.json @@ -1,261 +1,261 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-request-id": "cc6f53b2-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "0" - } + "recordings": [ + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "cc6f53b2-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 19 Feb 2021 22:42:51 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11496.7 - SCUS ProdSlices", + "x-ms-request-id": "3e55bf0b-fca2-46f5-87aa-16495b980b00" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"AES\",\"key_size\":256,\"attributes\":{}}", + "status": 200, + "response": "{\"attributes\":{\"created\":1613774571,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774571},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "360", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cc9b7848-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "157" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "OK", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "2", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-request-id": "cccceb26-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 19 Feb 2021 22:42:51 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11496.7 - EUS ProdSlices", + "x-ms-request-id": "d46e2f68-9c1e-4073-a035-d2829def3400" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613774571,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774571},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "360", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "ccfa5034-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "76" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f/encrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"A256CBCPAD\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\",\"iv\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", + "status": 200, + "response": "{\"alg\":\"A256CBCPAD\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"value\":\"GLS9TkdfML6aKB5w2bkTVXuvCjp8Bs6kYSyhvW_61FJnr55wtpHotVEtd1pAg2Td\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "224", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cd1e67b2-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f/decrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"A256CBCPAD\",\"value\":\"GLS9TkdfML6aKB5w2bkTVXuvCjp8Bs6kYSyhvW_61FJnr55wtpHotVEtd1pAg2Td\",\"iv\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", + "status": 200, + "response": "{\"alg\":\"A256CBCPAD\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "207", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cd36e7e2-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "1" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613774571,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774571},\"deletedDate\":1613774573,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621550573}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "527", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cd4fc79e-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "84" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613774571,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774571},\"deletedDate\":1613774573,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621550573}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "527", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cd752638-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "34" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cd92c26a-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "110" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Fri, 19 Feb 2021 22:42:51 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11496.7 - SCUS ProdSlices", - "x-ms-request-id": "3e55bf0b-fca2-46f5-87aa-16495b980b00" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"AES\",\"key_size\":256,\"attributes\":{}}", - "status": 200, - "response": "{\"attributes\":{\"created\":1613774571,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774571},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "360", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cc9b7848-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "157" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "OK", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "2", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-request-id": "cccceb26-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Fri, 19 Feb 2021 22:42:51 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11496.7 - EUS ProdSlices", - "x-ms-request-id": "d46e2f68-9c1e-4073-a035-d2829def3400" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613774571,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774571},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "360", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "ccfa5034-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "76" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f/encrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"A256CBCPAD\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\",\"iv\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", - "status": 200, - "response": "{\"alg\":\"A256CBCPAD\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"value\":\"GLS9TkdfML6aKB5w2bkTVXuvCjp8Bs6kYSyhvW_61FJnr55wtpHotVEtd1pAg2Td\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "224", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cd1e67b2-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f/decrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"A256CBCPAD\",\"value\":\"GLS9TkdfML6aKB5w2bkTVXuvCjp8Bs6kYSyhvW_61FJnr55wtpHotVEtd1pAg2Td\",\"iv\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", - "status": 200, - "response": "{\"alg\":\"A256CBCPAD\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "207", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cd36e7e2-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "1" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613774571,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774571},\"deletedDate\":1613774573,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621550573}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "527", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cd4fc79e-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "84" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613774571,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774571},\"deletedDate\":1613774573,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/2b1f70f4eb004f442c093e6b41a94b7f\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621550573}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "527", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cd752638-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "34" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cd92c26a-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "110" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "96eafd8e16ef41103b66d5111d0bbd12" -} \ No newline at end of file + "hash": "96eafd8e16ef41103b66d5111d0bbd12" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aesgcm.json b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aesgcm.json index 9d6947cce98e..979f24bf8836 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aesgcm.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aesgcm.json @@ -1,261 +1,261 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-request-id": "caff5a36-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "1" - } + "recordings": [ + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "caff5a36-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "1" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 19 Feb 2021 22:42:48 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11496.7 - EUS ProdSlices", + "x-ms-request-id": "f1670df7-71af-41ca-a384-c31e20283900" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"AES\",\"key_size\":256,\"attributes\":{}}", + "status": 200, + "response": "{\"attributes\":{\"created\":1613774569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774569},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "361", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cb31d948-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "226" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "OK", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "2", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-request-id": "cb6e88fc-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 19 Feb 2021 22:42:49 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11496.7 - NCUS ProdSlices", + "x-ms-request-id": "f2d33824-78ad-48c5-942d-f137847f3600" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613774569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774569},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "361", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cb9af072-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "119" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe/encrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"A256GCM\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1HQ00\"}", + "status": 200, + "response": "{\"alg\":\"A256GCM\",\"iv\":\"Gy0ySkENZluDUPphAAAAAA\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"tag\":\"SKyfIORegG8jgvpn76YCbw\",\"value\":\"P6HErWTUgBUJRuzwVH67I7AdKqTVsyF-CLslW5SmTPidRDw\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "266", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cbc5bc4e-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe/decrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"A256GCM\",\"value\":\"P6HErWTUgBUJRuzwVH67I7AdKqTVsyF-CLslW5SmTPidRDw\",\"iv\":\"Gy0ySkENZluDUPphAAAAAA\",\"tag\":\"SKyfIORegG8jgvpn76YCbw\"}", + "status": 200, + "response": "{\"alg\":\"A256GCM\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1HQ00\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "205", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cbdf5ad2-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "0" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613774569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774569},\"deletedDate\":1613774570,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621550570}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "529", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cbf85c30-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "87" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613774569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774569},\"deletedDate\":1613774570,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621550570}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "529", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cc1f5b3c-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "54" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "cc41208c-7303-11eb-9799-0242ac120009", + "x-ms-server-latency": "117" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Fri, 19 Feb 2021 22:42:48 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11496.7 - EUS ProdSlices", - "x-ms-request-id": "f1670df7-71af-41ca-a384-c31e20283900" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"AES\",\"key_size\":256,\"attributes\":{}}", - "status": 200, - "response": "{\"attributes\":{\"created\":1613774569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774569},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "361", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cb31d948-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "226" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "OK", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "2", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-request-id": "cb6e88fc-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Fri, 19 Feb 2021 22:42:49 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11496.7 - NCUS ProdSlices", - "x-ms-request-id": "f2d33824-78ad-48c5-942d-f137847f3600" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613774569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774569},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "361", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cb9af072-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "119" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe/encrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"A256GCM\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1HQ00\"}", - "status": 200, - "response": "{\"alg\":\"A256GCM\",\"iv\":\"Gy0ySkENZluDUPphAAAAAA\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"tag\":\"SKyfIORegG8jgvpn76YCbw\",\"value\":\"P6HErWTUgBUJRuzwVH67I7AdKqTVsyF-CLslW5SmTPidRDw\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "266", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cbc5bc4e-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe/decrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"A256GCM\",\"value\":\"P6HErWTUgBUJRuzwVH67I7AdKqTVsyF-CLslW5SmTPidRDw\",\"iv\":\"Gy0ySkENZluDUPphAAAAAA\",\"tag\":\"SKyfIORegG8jgvpn76YCbw\"}", - "status": 200, - "response": "{\"alg\":\"A256GCM\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1HQ00\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "205", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cbdf5ad2-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "0" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613774569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774569},\"deletedDate\":1613774570,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621550570}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "529", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cbf85c30-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "87" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613774569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613774569},\"deletedDate\":1613774570,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/faaa5008ebed08c11afabdf0b6bebabe\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621550570}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "529", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cc1f5b3c-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "54" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "cc41208c-7303-11eb-9799-0242ac120009", - "x-ms-server-latency": "117" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "cd354e57cc232aa1217b1b2b448d3409" -} \ No newline at end of file + "hash": "cd354e57cc232aa1217b1b2b448d3409" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_rsa_crypto_algorithms/recording_encrypts_and_decrypts_using_rsa.json b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_rsa_crypto_algorithms/recording_encrypts_and_decrypts_using_rsa.json index 3a48b73d2b1f..f2fb5e9db017 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_rsa_crypto_algorithms/recording_encrypts_and_decrypts_using_rsa.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_all_decrypts_happen_remotely_with_rsa_crypto_algorithms/recording_encrypts_and_decrypts_using_rsa.json @@ -1,261 +1,261 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-request-id": "4e15c578-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "0" - } + "recordings": [ + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "4e15c578-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 19 Feb 2021 21:27:44 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11496.7 - NCUS ProdSlices", + "x-ms-request-id": "038b9084-2bb2-4064-973f-0d5f1b6a2f00" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"attributes\":{\"created\":1613770065,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613770065},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"decrypt\",\"encrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"kty\":\"RSA-HSM\",\"n\":\"hyhL19uGn93LzcTE9Xj9Qme6TXLfUz2Q1mtBukYWSnaG8PD-__pMShcVmsr1xO4JnEx7y25LB4AnDfPd_CJ76siy5CF0TZ6bMZvQ0lbat5Qh2sCii0JfCrS4E2diojvrdJNMFdKVP4YpqRrFFQxSs2IsdxcVLprWm4HZDTkzjoBpAAlmXNXkFPJJyS7GZhC7w5WbC6IajK3aJWYyRI1icpFLg1HoeMO4hbZGdIV6y4UWKDagGD7rGJ4OjEeY1NlJxZg-bolqVEcFIoHTVc16YuMXmcl-EghyXJ-mTEFj-b2a52w3XTKgItMWex4NleEBe3aLL7OE-OhqaFWIjIBiCw\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "736", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "4e47931e-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "218" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "OK", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "2", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-request-id": "4e813b82-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 19 Feb 2021 21:27:44 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11496.7 - EUS ProdSlices", + "x-ms-request-id": "2e501adc-3360-4d7e-8fcd-9ee68d292d00" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613770065,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613770065},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"verify\",\"sign\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"kty\":\"RSA-HSM\",\"n\":\"hyhL19uGn93LzcTE9Xj9Qme6TXLfUz2Q1mtBukYWSnaG8PD-__pMShcVmsr1xO4JnEx7y25LB4AnDfPd_CJ76siy5CF0TZ6bMZvQ0lbat5Qh2sCii0JfCrS4E2diojvrdJNMFdKVP4YpqRrFFQxSs2IsdxcVLprWm4HZDTkzjoBpAAlmXNXkFPJJyS7GZhC7w5WbC6IajK3aJWYyRI1icpFLg1HoeMO4hbZGdIV6y4UWKDagGD7rGJ4OjEeY1NlJxZg-bolqVEcFIoHTVc16YuMXmcl-EghyXJ-mTEFj-b2a52w3XTKgItMWex4NleEBe3aLL7OE-OhqaFWIjIBiCw\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "736", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "4eb31c9c-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "128" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12/encrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"RSA1_5\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIFJTQQ\"}", + "status": 200, + "response": "{\"alg\":\"RSA1_5\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"value\":\"LstgSlbHU5hAf4QU4k4ICzqRFuMI-H0c-p4oVzxrB3rwEurUN1OTEQAjzeg3C7uF68QGNBodn27Ibe4sfd_68lidOhUH7pOBa8ztt3XPOefbzc2T5im4a_gosHlB9GF-nhgQ0ayfXYtzaq8M3OS-FitoYVZ1aYKCV7qBJF20_u7s4_PBXqiUSO3C7VC416m6fLjA7q5_ftDQt_o7wFmNZwCEadzcFRFeq4XKVWxuYWClvcYFRQVO_eAAr30UqBDgph88G2Kqw_z33ZMhzQLuKFRJjo8I3ZnxhA5Rm95JNeJR-ZLwc7Fec6RpmpDL9ora59IOSh50VWCoNsLKfh9vYA\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "498", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "4edf20f8-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12/decrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"RSA1_5\",\"value\":\"LstgSlbHU5hAf4QU4k4ICzqRFuMI-H0c-p4oVzxrB3rwEurUN1OTEQAjzeg3C7uF68QGNBodn27Ibe4sfd_68lidOhUH7pOBa8ztt3XPOefbzc2T5im4a_gosHlB9GF-nhgQ0ayfXYtzaq8M3OS-FitoYVZ1aYKCV7qBJF20_u7s4_PBXqiUSO3C7VC416m6fLjA7q5_ftDQt_o7wFmNZwCEadzcFRFeq4XKVWxuYWClvcYFRQVO_eAAr30UqBDgph88G2Kqw_z33ZMhzQLuKFRJjo8I3ZnxhA5Rm95JNeJR-ZLwc7Fec6RpmpDL9ora59IOSh50VWCoNsLKfh9vYA\"}", + "status": 200, + "response": "{\"alg\":\"RSA1_5\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIFJTQQ\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "198", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "4ef8795e-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "2" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613770065,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613770065},\"deletedDate\":1613770066,\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"encrypt\",\"decrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"kty\":\"RSA-HSM\",\"n\":\"hyhL19uGn93LzcTE9Xj9Qme6TXLfUz2Q1mtBukYWSnaG8PD-__pMShcVmsr1xO4JnEx7y25LB4AnDfPd_CJ76siy5CF0TZ6bMZvQ0lbat5Qh2sCii0JfCrS4E2diojvrdJNMFdKVP4YpqRrFFQxSs2IsdxcVLprWm4HZDTkzjoBpAAlmXNXkFPJJyS7GZhC7w5WbC6IajK3aJWYyRI1icpFLg1HoeMO4hbZGdIV6y4UWKDagGD7rGJ4OjEeY1NlJxZg-bolqVEcFIoHTVc16YuMXmcl-EghyXJ-mTEFj-b2a52w3XTKgItMWex4NleEBe3aLL7OE-OhqaFWIjIBiCw\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621546066}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "903", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "4f11e0ba-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "83" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613770065,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613770065},\"deletedDate\":1613770066,\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"verify\",\"sign\",\"unwrapKey\",\"encrypt\",\"decrypt\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"kty\":\"RSA-HSM\",\"n\":\"hyhL19uGn93LzcTE9Xj9Qme6TXLfUz2Q1mtBukYWSnaG8PD-__pMShcVmsr1xO4JnEx7y25LB4AnDfPd_CJ76siy5CF0TZ6bMZvQ0lbat5Qh2sCii0JfCrS4E2diojvrdJNMFdKVP4YpqRrFFQxSs2IsdxcVLprWm4HZDTkzjoBpAAlmXNXkFPJJyS7GZhC7w5WbC6IajK3aJWYyRI1icpFLg1HoeMO4hbZGdIV6y4UWKDagGD7rGJ4OjEeY1NlJxZg-bolqVEcFIoHTVc16YuMXmcl-EghyXJ-mTEFj-b2a52w3XTKgItMWex4NleEBe3aLL7OE-OhqaFWIjIBiCw\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621546066}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "903", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "4f379490-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "34" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "4f552bd6-72f9-11eb-b0c0-0242ac12000a", + "x-ms-server-latency": "120" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Fri, 19 Feb 2021 21:27:44 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11496.7 - NCUS ProdSlices", - "x-ms-request-id": "038b9084-2bb2-4064-973f-0d5f1b6a2f00" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"attributes\":{\"created\":1613770065,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613770065},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"decrypt\",\"encrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"kty\":\"RSA-HSM\",\"n\":\"hyhL19uGn93LzcTE9Xj9Qme6TXLfUz2Q1mtBukYWSnaG8PD-__pMShcVmsr1xO4JnEx7y25LB4AnDfPd_CJ76siy5CF0TZ6bMZvQ0lbat5Qh2sCii0JfCrS4E2diojvrdJNMFdKVP4YpqRrFFQxSs2IsdxcVLprWm4HZDTkzjoBpAAlmXNXkFPJJyS7GZhC7w5WbC6IajK3aJWYyRI1icpFLg1HoeMO4hbZGdIV6y4UWKDagGD7rGJ4OjEeY1NlJxZg-bolqVEcFIoHTVc16YuMXmcl-EghyXJ-mTEFj-b2a52w3XTKgItMWex4NleEBe3aLL7OE-OhqaFWIjIBiCw\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "736", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "4e47931e-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "218" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "OK", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "2", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-request-id": "4e813b82-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Fri, 19 Feb 2021 21:27:44 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11496.7 - EUS ProdSlices", - "x-ms-request-id": "2e501adc-3360-4d7e-8fcd-9ee68d292d00" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613770065,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613770065},\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"verify\",\"sign\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"kty\":\"RSA-HSM\",\"n\":\"hyhL19uGn93LzcTE9Xj9Qme6TXLfUz2Q1mtBukYWSnaG8PD-__pMShcVmsr1xO4JnEx7y25LB4AnDfPd_CJ76siy5CF0TZ6bMZvQ0lbat5Qh2sCii0JfCrS4E2diojvrdJNMFdKVP4YpqRrFFQxSs2IsdxcVLprWm4HZDTkzjoBpAAlmXNXkFPJJyS7GZhC7w5WbC6IajK3aJWYyRI1icpFLg1HoeMO4hbZGdIV6y4UWKDagGD7rGJ4OjEeY1NlJxZg-bolqVEcFIoHTVc16YuMXmcl-EghyXJ-mTEFj-b2a52w3XTKgItMWex4NleEBe3aLL7OE-OhqaFWIjIBiCw\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "736", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "4eb31c9c-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "128" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12/encrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"RSA1_5\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIFJTQQ\"}", - "status": 200, - "response": "{\"alg\":\"RSA1_5\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"value\":\"LstgSlbHU5hAf4QU4k4ICzqRFuMI-H0c-p4oVzxrB3rwEurUN1OTEQAjzeg3C7uF68QGNBodn27Ibe4sfd_68lidOhUH7pOBa8ztt3XPOefbzc2T5im4a_gosHlB9GF-nhgQ0ayfXYtzaq8M3OS-FitoYVZ1aYKCV7qBJF20_u7s4_PBXqiUSO3C7VC416m6fLjA7q5_ftDQt_o7wFmNZwCEadzcFRFeq4XKVWxuYWClvcYFRQVO_eAAr30UqBDgph88G2Kqw_z33ZMhzQLuKFRJjo8I3ZnxhA5Rm95JNeJR-ZLwc7Fec6RpmpDL9ora59IOSh50VWCoNsLKfh9vYA\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "498", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "4edf20f8-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12/decrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"RSA1_5\",\"value\":\"LstgSlbHU5hAf4QU4k4ICzqRFuMI-H0c-p4oVzxrB3rwEurUN1OTEQAjzeg3C7uF68QGNBodn27Ibe4sfd_68lidOhUH7pOBa8ztt3XPOefbzc2T5im4a_gosHlB9GF-nhgQ0ayfXYtzaq8M3OS-FitoYVZ1aYKCV7qBJF20_u7s4_PBXqiUSO3C7VC416m6fLjA7q5_ftDQt_o7wFmNZwCEadzcFRFeq4XKVWxuYWClvcYFRQVO_eAAr30UqBDgph88G2Kqw_z33ZMhzQLuKFRJjo8I3ZnxhA5Rm95JNeJR-ZLwc7Fec6RpmpDL9ora59IOSh50VWCoNsLKfh9vYA\"}", - "status": 200, - "response": "{\"alg\":\"RSA1_5\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIFJTQQ\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "198", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "4ef8795e-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "2" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613770065,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613770065},\"deletedDate\":1613770066,\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"wrapKey\",\"encrypt\",\"decrypt\",\"unwrapKey\",\"sign\",\"verify\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"kty\":\"RSA-HSM\",\"n\":\"hyhL19uGn93LzcTE9Xj9Qme6TXLfUz2Q1mtBukYWSnaG8PD-__pMShcVmsr1xO4JnEx7y25LB4AnDfPd_CJ76siy5CF0TZ6bMZvQ0lbat5Qh2sCii0JfCrS4E2diojvrdJNMFdKVP4YpqRrFFQxSs2IsdxcVLprWm4HZDTkzjoBpAAlmXNXkFPJJyS7GZhC7w5WbC6IajK3aJWYyRI1icpFLg1HoeMO4hbZGdIV6y4UWKDagGD7rGJ4OjEeY1NlJxZg-bolqVEcFIoHTVc16YuMXmcl-EghyXJ-mTEFj-b2a52w3XTKgItMWex4NleEBe3aLL7OE-OhqaFWIjIBiCw\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621546066}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "903", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "4f11e0ba-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "83" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613770065,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613770065},\"deletedDate\":1613770066,\"key\":{\"e\":\"AQAB\",\"key_ops\":[\"verify\",\"sign\",\"unwrapKey\",\"encrypt\",\"decrypt\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/43396df1ad1f02b9286d96c8055c1c12\",\"kty\":\"RSA-HSM\",\"n\":\"hyhL19uGn93LzcTE9Xj9Qme6TXLfUz2Q1mtBukYWSnaG8PD-__pMShcVmsr1xO4JnEx7y25LB4AnDfPd_CJ76siy5CF0TZ6bMZvQ0lbat5Qh2sCii0JfCrS4E2diojvrdJNMFdKVP4YpqRrFFQxSs2IsdxcVLprWm4HZDTkzjoBpAAlmXNXkFPJJyS7GZhC7w5WbC6IajK3aJWYyRI1icpFLg1HoeMO4hbZGdIV6y4UWKDagGD7rGJ4OjEeY1NlJxZg-bolqVEcFIoHTVc16YuMXmcl-EghyXJ-mTEFj-b2a52w3XTKgItMWex4NleEBe3aLL7OE-OhqaFWIjIBiCw\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621546066}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "903", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "4f379490-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "34" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "4f552bd6-72f9-11eb-b0c0-0242ac12000a", - "x-ms-server-latency": "120" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "13d4b1fe0ed49a3a02e481ea780abdc6" -} \ No newline at end of file + "hash": "13d4b1fe0ed49a3a02e481ea780abdc6" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_skipped_if_mhsm_is_not_deployed_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aescbc.json b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_skipped_if_mhsm_is_not_deployed_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aescbc.json index a1ec6a5bf3e3..f860fca32c1b 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_skipped_if_mhsm_is_not_deployed_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aescbc.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_skipped_if_mhsm_is_not_deployed_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aescbc.json @@ -1,261 +1,261 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-request-id": "17149da4-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "1" - } + "recordings": [ + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "17149da4-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "1" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 20 Feb 2021 00:39:28 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11496.7 - SCUS ProdSlices", + "x-ms-request-id": "107458da-d83a-485c-b7a6-d39642c01000" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"AES\",\"key_size\":256,\"attributes\":{}}", + "status": 200, + "response": "{\"attributes\":{\"created\":1613781569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613781569},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "361", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "173f699e-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "175" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "OK", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "2", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-request-id": "177396b0-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Sat, 20 Feb 2021 00:39:29 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11513.13 - WUS2 ProdSlices", + "x-ms-request-id": "6b1260e4-4839-4b05-8fc6-3ff760210900" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613781569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613781569},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "361", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "1796c4aa-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "113" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2/encrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"A256CBCPAD\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\",\"iv\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", + "status": 200, + "response": "{\"alg\":\"A256CBCPAD\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"value\":\"77mhtBNfzpSkpdDyF-ubxDWQBLg3-afmZtVwamFq0Re7ueGnX0ftqcpAPhXRvejJ\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "225", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "17c01c7e-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "1" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2/decrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"A256CBCPAD\",\"value\":\"77mhtBNfzpSkpdDyF-ubxDWQBLg3-afmZtVwamFq0Re7ueGnX0ftqcpAPhXRvejJ\",\"iv\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", + "status": 200, + "response": "{\"alg\":\"A256CBCPAD\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "208", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "17d87e40-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "1" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613781569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613781569},\"deletedDate\":1613781570,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621557570}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "529", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "17f1ced6-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "76" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1613781569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613781569},\"deletedDate\":1613781570,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621557570}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "529", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "1815fb6c-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "31" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "18341714-7314-11eb-89bd-0242ac120006", + "x-ms-server-latency": "112" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Sat, 20 Feb 2021 00:39:28 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11496.7 - SCUS ProdSlices", - "x-ms-request-id": "107458da-d83a-485c-b7a6-d39642c01000" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"AES\",\"key_size\":256,\"attributes\":{}}", - "status": 200, - "response": "{\"attributes\":{\"created\":1613781569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613781569},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "361", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "173f699e-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "175" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "OK", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "2", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-request-id": "177396b0-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Sat, 20 Feb 2021 00:39:29 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11513.13 - WUS2 ProdSlices", - "x-ms-request-id": "6b1260e4-4839-4b05-8fc6-3ff760210900" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613781569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613781569},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "361", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "1796c4aa-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "113" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2/encrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"A256CBCPAD\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\",\"iv\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", - "status": 200, - "response": "{\"alg\":\"A256CBCPAD\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"value\":\"77mhtBNfzpSkpdDyF-ubxDWQBLg3-afmZtVwamFq0Re7ueGnX0ftqcpAPhXRvejJ\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "225", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "17c01c7e-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "1" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2/decrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"A256CBCPAD\",\"value\":\"77mhtBNfzpSkpdDyF-ubxDWQBLg3-afmZtVwamFq0Re7ueGnX0ftqcpAPhXRvejJ\",\"iv\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", - "status": 200, - "response": "{\"alg\":\"A256CBCPAD\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1DQkM\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "208", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "17d87e40-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "1" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613781569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613781569},\"deletedDate\":1613781570,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621557570}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "529", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "17f1ced6-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "76" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1613781569,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1613781569},\"deletedDate\":1613781570,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/8b8bfaaf77d20d3d855070e0ef4baca2\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1621557570}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "529", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210204-1-c9f88df4-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "1815fb6c-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "31" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "18341714-7314-11eb-89bd-0242ac120006", - "x-ms-server-latency": "112" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "96eafd8e16ef41103b66d5111d0bbd12" -} \ No newline at end of file + "hash": "96eafd8e16ef41103b66d5111d0bbd12" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_skipped_if_mhsm_is_not_deployed_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aesgcm.json b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_skipped_if_mhsm_is_not_deployed_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aesgcm.json index 5fff01072521..b4668ba1ea2c 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_skipped_if_mhsm_is_not_deployed_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aesgcm.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/cryptographyclient_for_managed_hsm_skipped_if_mhsm_is_not_deployed_with_aes_crypto_algorithms/recording_encrypts_and_decrypts_using_aesgcm.json @@ -1,265 +1,265 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-request-id": "b915a9f6-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "1" - } + "recordings": [ + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "b915a9f6-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "1" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:47 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "fc9ed9eb-c584-48ca-96c5-4631b7f45201" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"AES\",\"key_size\":256,\"attributes\":{}}", + "status": 200, + "response": "{\"attributes\":{\"created\":1619647907,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647907},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "362", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "b939ed70-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "197" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "OK", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "2", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210407-3-27236ed1-develop", + "x-ms-request-id": "b966b1a2-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:47 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "f886a18a-a107-45bc-a7bf-afbd04648001" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1619647907,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647907},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "362", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210407-3-27236ed1-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "b9829106-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "57" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77/encrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"A256GCM\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1HQ00\"}", + "status": 200, + "response": "{\"alg\":\"A256GCM\",\"iv\":\"ai7slVnp6aZxGA0h\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"tag\":\"kX_LzUNoDvhbTn_FcWR__w\",\"value\":\"chTDb1MMvMbDUtR1ukhgiXFparFL23b0M1Jr1iSDQAA_KU0\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "261", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "b999026a-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77/decrypt", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"alg\":\"A256GCM\",\"value\":\"chTDb1MMvMbDUtR1ukhgiXFparFL23b0M1Jr1iSDQAA_KU0\",\"iv\":\"ai7slVnp6aZxGA0h\",\"tag\":\"kX_LzUNoDvhbTn_FcWR__w\"}", + "status": 200, + "response": "{\"alg\":\"A256GCM\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1HQ00\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "206", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "b9a828f8-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "1" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1619647907,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647907},\"deletedDate\":1619647908,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1627423908}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "531", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "b9b65270-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "89" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1619647907,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647907},\"deletedDate\":1619647908,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1627423908}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "531", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210407-3-27236ed1-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "b9d1f96c-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "36" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "b9e84f78-a86e-11eb-a7bd-000d3a21d54b", + "x-ms-server-latency": "117" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:47 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "fc9ed9eb-c584-48ca-96c5-4631b7f45201" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"AES\",\"key_size\":256,\"attributes\":{}}", - "status": 200, - "response": "{\"attributes\":{\"created\":1619647907,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647907},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "362", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "b939ed70-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "197" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "OK", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "2", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210407-3-27236ed1-develop", - "x-ms-request-id": "b966b1a2-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:47 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "f886a18a-a107-45bc-a7bf-afbd04648001" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1619647907,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647907},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"encrypt\",\"decrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "362", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210407-3-27236ed1-develop", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "b9829106-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "57" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77/encrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"A256GCM\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1HQ00\"}", - "status": 200, - "response": "{\"alg\":\"A256GCM\",\"iv\":\"ai7slVnp6aZxGA0h\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"tag\":\"kX_LzUNoDvhbTn_FcWR__w\",\"value\":\"chTDb1MMvMbDUtR1ukhgiXFparFL23b0M1Jr1iSDQAA_KU0\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "261", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "b999026a-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "0" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77/decrypt", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"alg\":\"A256GCM\",\"value\":\"chTDb1MMvMbDUtR1ukhgiXFparFL23b0M1Jr1iSDQAA_KU0\",\"iv\":\"ai7slVnp6aZxGA0h\",\"tag\":\"kX_LzUNoDvhbTn_FcWR__w\"}", - "status": 200, - "response": "{\"alg\":\"A256GCM\",\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"value\":\"ZW5jcnlwdHMgYW5kIGRlY3J5cHRzIHVzaW5nIEFFUy1HQ00\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "206", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "b9a828f8-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "1" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1619647907,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647907},\"deletedDate\":1619647908,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1627423908}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "531", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "b9b65270-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "89" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1619647907,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647907},\"deletedDate\":1619647908,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/cryptography-client-test/566b78f6b29e06830e4215bf528ecb77\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test\",\"scheduledPurgeDate\":1627423908}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "531", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210407-3-27236ed1-develop", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "b9d1f96c-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "36" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/cryptography-client-test", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "b9e84f78-a86e-11eb-a7bd-000d3a21d54b", - "x-ms-server-latency": "117" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "31cd2cd413fc2b4da213f6afc1945620" -} \ No newline at end of file + "hash": "31cd2cd413fc2b4da213f6afc1945620" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_abort_creating_a_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_abort_creating_a_key.json index 701681398339..599507c49a12 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_abort_creating_a_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_abort_creating_a_key.json @@ -1,20 +1,20 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canabortcreatingakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 0, - "response": "", - "responseHeaders": {} - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "796fbcb2ce5dfdd19aaa49ade29f5773" -} \ No newline at end of file + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canabortcreatingakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 0, + "response": "", + "responseHeaders": {} + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "796fbcb2ce5dfdd19aaa49ade29f5773" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_disabled_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_disabled_key.json index d4a9dde43921..e69108837837 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_disabled_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_disabled_key.json @@ -1,518 +1,518 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e21f7015-7aa6-414a-b1a7-5089aff80d33", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b23bfe60-db14-4334-a9de-b8cb17dbc3f9", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e21f7015-7aa6-414a-b1a7-5089aff80d33", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b23bfe60-db14-4334-a9de-b8cb17dbc3f9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:49 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "786f5b8e-426b-446f-974d-918f456f2b00" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\",\"attributes\":{\"enabled\":false}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/517d1bec2e3b49e288551bbb2939c091\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0s8juPf02od3ohxurRHa25CVg-FnwCQziaq20BnGrY5HgJcA0rdLVM-fzYP4zvNZ3EaHhMRO_b7JqxEm0WfBmuGemLKeNsIRjXwz-elynwMky8Jfz074o2rboa2lSSquMEjR0mt0zECKCjeBM1q6UPMLUkOWEuZrM4nk0bL268oNJpZX_CrlImDzG1L1XIzLWq4Ko-Qzgjaf94SBB9y3sU60sibWykvrhHyygHiAowgW3fhfsUVz9ne08UNompk7PdG5KNV-UMsXmoR3Q6LgvZkEO2XqwbkMew_hEbFByDlwcJcwOtWFG1zjAb6darO5P_C3kShLHfDufnBVg7bPCQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647550,\"updated\":1619647550,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "726", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e21f7015-7aa6-414a-b1a7-5089aff80d33", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "75bf42b5-40bc-479a-8cfb-61596a54f523", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-\",\"deletedDate\":1619647550,\"scheduledPurgeDate\":1620252350,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/517d1bec2e3b49e288551bbb2939c091\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0s8juPf02od3ohxurRHa25CVg-FnwCQziaq20BnGrY5HgJcA0rdLVM-fzYP4zvNZ3EaHhMRO_b7JqxEm0WfBmuGemLKeNsIRjXwz-elynwMky8Jfz074o2rboa2lSSquMEjR0mt0zECKCjeBM1q6UPMLUkOWEuZrM4nk0bL268oNJpZX_CrlImDzG1L1XIzLWq4Ko-Qzgjaf94SBB9y3sU60sibWykvrhHyygHiAowgW3fhfsUVz9ne08UNompk7PdG5KNV-UMsXmoR3Q6LgvZkEO2XqwbkMew_hEbFByDlwcJcwOtWFG1zjAb6darO5P_C3kShLHfDufnBVg7bPCQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647550,\"updated\":1619647550,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "896", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "95089d41-2cc1-41f5-ad23-f032f00e4a40", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b5d63395-fda1-4453-8a2c-e88b359e4b13", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2750c6d0-9da9-492d-bf23-982a649860b4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f1b9c86b-9cb2-467d-896a-ec7723be5c8d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "009d1329-dde3-4661-912b-6751533c3b94", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "52e0529b-0973-4a0d-8736-de9a1435bb8b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "27ed41f6-f5b3-49ce-82a6-fcbd01f04718", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "394e7026-96a3-4aa4-b8eb-a1b1b92e61f6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "63f6a629-37f3-4993-b7da-37697bc9f608", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a29d72dc-3c84-4a96-a916-549dfa346b15", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a501a4f6-8fac-4a5a-b3ec-be72e3f8e996", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f6cfdd4c-5de8-49c1-b42f-912af1500f25", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e19d19ad-f531-4c6c-9265-ffd4986155d3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "93f5f9a8-309f-4d71-a6d3-f47786512b29", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "870d1b10-863d-4d77-b9b3-d1ecdef16728", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "164b62f0-3d39-4d7f-865d-b9d8dd44de55", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6fca2440-140f-41da-8af4-03a30e072879", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "51701a7f-8acb-41b1-9c75-ca07e42b9705", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b75c7c5e-f25b-4635-8a90-224fa96c4463", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ef8916fd-662a-4ded-a6a6-4587eccaf4dd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "16174271-ade6-4432-ac5a-665ef049437c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0fa0d9a4-fb52-4c61-bdd3-004730ecbf5a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "106a4fd9-1704-4cba-b73d-23de35b1787e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bfa136b0-0ba3-4f03-930a-edcc41464ca3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ca1d6b7a-913c-42b1-8ed8-00bbb7fbdd6b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "097ab4ac-ee7d-432a-a9df-8213434f7516", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2619b1c5-dfdf-4843-81c8-39fe3cd04bf8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "094cd3a4-c01d-494e-b4d2-1472dba36e4c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-\",\"deletedDate\":1619647550,\"scheduledPurgeDate\":1620252350,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/517d1bec2e3b49e288551bbb2939c091\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0s8juPf02od3ohxurRHa25CVg-FnwCQziaq20BnGrY5HgJcA0rdLVM-fzYP4zvNZ3EaHhMRO_b7JqxEm0WfBmuGemLKeNsIRjXwz-elynwMky8Jfz074o2rboa2lSSquMEjR0mt0zECKCjeBM1q6UPMLUkOWEuZrM4nk0bL268oNJpZX_CrlImDzG1L1XIzLWq4Ko-Qzgjaf94SBB9y3sU60sibWykvrhHyygHiAowgW3fhfsUVz9ne08UNompk7PdG5KNV-UMsXmoR3Q6LgvZkEO2XqwbkMew_hEbFByDlwcJcwOtWFG1zjAb6darO5P_C3kShLHfDufnBVg7bPCQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647550,\"updated\":1619647550,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "896", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b8c9644f-679d-40a4-9180-fc67ebad1de6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4ab68fa5-396d-4c46-a844-ce3d0b22c14c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:06:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5c630905-2df5-43df-b087-61de44b2d8af", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fdf000dc-26a2-4d5a-bba9-a824fccef2e5", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:49 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "786f5b8e-426b-446f-974d-918f456f2b00" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\",\"attributes\":{\"enabled\":false}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/517d1bec2e3b49e288551bbb2939c091\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0s8juPf02od3ohxurRHa25CVg-FnwCQziaq20BnGrY5HgJcA0rdLVM-fzYP4zvNZ3EaHhMRO_b7JqxEm0WfBmuGemLKeNsIRjXwz-elynwMky8Jfz074o2rboa2lSSquMEjR0mt0zECKCjeBM1q6UPMLUkOWEuZrM4nk0bL268oNJpZX_CrlImDzG1L1XIzLWq4Ko-Qzgjaf94SBB9y3sU60sibWykvrhHyygHiAowgW3fhfsUVz9ne08UNompk7PdG5KNV-UMsXmoR3Q6LgvZkEO2XqwbkMew_hEbFByDlwcJcwOtWFG1zjAb6darO5P_C3kShLHfDufnBVg7bPCQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647550,\"updated\":1619647550,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "726", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e21f7015-7aa6-414a-b1a7-5089aff80d33", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "75bf42b5-40bc-479a-8cfb-61596a54f523", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-\",\"deletedDate\":1619647550,\"scheduledPurgeDate\":1620252350,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/517d1bec2e3b49e288551bbb2939c091\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0s8juPf02od3ohxurRHa25CVg-FnwCQziaq20BnGrY5HgJcA0rdLVM-fzYP4zvNZ3EaHhMRO_b7JqxEm0WfBmuGemLKeNsIRjXwz-elynwMky8Jfz074o2rboa2lSSquMEjR0mt0zECKCjeBM1q6UPMLUkOWEuZrM4nk0bL268oNJpZX_CrlImDzG1L1XIzLWq4Ko-Qzgjaf94SBB9y3sU60sibWykvrhHyygHiAowgW3fhfsUVz9ne08UNompk7PdG5KNV-UMsXmoR3Q6LgvZkEO2XqwbkMew_hEbFByDlwcJcwOtWFG1zjAb6darO5P_C3kShLHfDufnBVg7bPCQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647550,\"updated\":1619647550,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "896", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "95089d41-2cc1-41f5-ad23-f032f00e4a40", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b5d63395-fda1-4453-8a2c-e88b359e4b13", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2750c6d0-9da9-492d-bf23-982a649860b4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f1b9c86b-9cb2-467d-896a-ec7723be5c8d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "009d1329-dde3-4661-912b-6751533c3b94", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "52e0529b-0973-4a0d-8736-de9a1435bb8b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "27ed41f6-f5b3-49ce-82a6-fcbd01f04718", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "394e7026-96a3-4aa4-b8eb-a1b1b92e61f6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "63f6a629-37f3-4993-b7da-37697bc9f608", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a29d72dc-3c84-4a96-a916-549dfa346b15", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a501a4f6-8fac-4a5a-b3ec-be72e3f8e996", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f6cfdd4c-5de8-49c1-b42f-912af1500f25", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e19d19ad-f531-4c6c-9265-ffd4986155d3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "93f5f9a8-309f-4d71-a6d3-f47786512b29", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "870d1b10-863d-4d77-b9b3-d1ecdef16728", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "164b62f0-3d39-4d7f-865d-b9d8dd44de55", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6fca2440-140f-41da-8af4-03a30e072879", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "51701a7f-8acb-41b1-9c75-ca07e42b9705", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b75c7c5e-f25b-4635-8a90-224fa96c4463", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ef8916fd-662a-4ded-a6a6-4587eccaf4dd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "16174271-ade6-4432-ac5a-665ef049437c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0fa0d9a4-fb52-4c61-bdd3-004730ecbf5a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "106a4fd9-1704-4cba-b73d-23de35b1787e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bfa136b0-0ba3-4f03-930a-edcc41464ca3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ca1d6b7a-913c-42b1-8ed8-00bbb7fbdd6b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "097ab4ac-ee7d-432a-a9df-8213434f7516", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2619b1c5-dfdf-4843-81c8-39fe3cd04bf8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "094cd3a4-c01d-494e-b4d2-1472dba36e4c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-\",\"deletedDate\":1619647550,\"scheduledPurgeDate\":1620252350,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateadisabledkey-/517d1bec2e3b49e288551bbb2939c091\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0s8juPf02od3ohxurRHa25CVg-FnwCQziaq20BnGrY5HgJcA0rdLVM-fzYP4zvNZ3EaHhMRO_b7JqxEm0WfBmuGemLKeNsIRjXwz-elynwMky8Jfz074o2rboa2lSSquMEjR0mt0zECKCjeBM1q6UPMLUkOWEuZrM4nk0bL268oNJpZX_CrlImDzG1L1XIzLWq4Ko-Qzgjaf94SBB9y3sU60sibWykvrhHyygHiAowgW3fhfsUVz9ne08UNompk7PdG5KNV-UMsXmoR3Q6LgvZkEO2XqwbkMew_hEbFByDlwcJcwOtWFG1zjAb6darO5P_C3kShLHfDufnBVg7bPCQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647550,\"updated\":1619647550,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "896", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b8c9644f-679d-40a4-9180-fc67ebad1de6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4ab68fa5-396d-4c46-a844-ce3d0b22c14c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:06:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5c630905-2df5-43df-b087-61de44b2d8af", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fdf000dc-26a2-4d5a-bba9-a824fccef2e5", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "55aab5855ad179029c44d8e43930aff8" -} \ No newline at end of file + "hash": "55aab5855ad179029c44d8e43930aff8" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_while_giving_a_manual_type.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_while_giving_a_manual_type.json index 97d17176be92..7e3a9dfd330f 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_while_giving_a_manual_type.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_while_giving_a_manual_type.json @@ -1,653 +1,653 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "57150f8e-3aa0-4e61-8aa4-fdb0260463f1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a975197c-31ec-49db-b2e3-e688972f745e", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:02:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "57150f8e-3aa0-4e61-8aa4-fdb0260463f1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a975197c-31ec-49db-b2e3-e688972f745e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:02:59 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "786f5b8e-426b-446f-974d-918f89552b00" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/3c1b7d75e9f441d0b5a43452a95de412\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"4nVCzcbvR1L57a_BWQPQKPdant2vaYAoPclbs93fPGEg24TYb5VLE354UUD-I5W1EMjHLSfG6DGLS7Mv0HRRED3ThT6-TLlrvBXX__CglRbP9RdlfyEn6P-99s3g2bxRAuUjuv34OhD4xca_CgeLgyA3rLM1Srs6AdMr1zpjSEAW-krBYnjxFaEBUZAuH7xSXF4xw-VZ6LNmaIdf6qPVV_ET0jXHIuIwL_xfqRqob6qFJnMVxYFZ6fgBhV5ejI9Hm_piqCzSSt7HAvEiYtCSWRFYOdvQnJU-dGFK6zy5u56eox6_FbO1V4XS6LvnLbsgOMHmwnhoCVjNRuiUey-dwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647380,\"updated\":1619647380,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "739", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "57150f8e-3aa0-4e61-8aa4-fdb0260463f1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "88b42ac1-665e-4d3c-85ab-07d92f08af61", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-\",\"deletedDate\":1619647380,\"scheduledPurgeDate\":1620252180,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/3c1b7d75e9f441d0b5a43452a95de412\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"4nVCzcbvR1L57a_BWQPQKPdant2vaYAoPclbs93fPGEg24TYb5VLE354UUD-I5W1EMjHLSfG6DGLS7Mv0HRRED3ThT6-TLlrvBXX__CglRbP9RdlfyEn6P-99s3g2bxRAuUjuv34OhD4xca_CgeLgyA3rLM1Srs6AdMr1zpjSEAW-krBYnjxFaEBUZAuH7xSXF4xw-VZ6LNmaIdf6qPVV_ET0jXHIuIwL_xfqRqob6qFJnMVxYFZ6fgBhV5ejI9Hm_piqCzSSt7HAvEiYtCSWRFYOdvQnJU-dGFK6zy5u56eox6_FbO1V4XS6LvnLbsgOMHmwnhoCVjNRuiUey-dwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647380,\"updated\":1619647380,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "923", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f38d59d9-5a23-4de9-8c53-dea15be57949", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2d7b5b1b-ca7b-4df5-87f8-84cb001d4662", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "18a2f000-d54f-49e9-8420-44fdf5c14786", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "048ebfee-ec07-4fdc-b348-44a69e3175b3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5705a333-52b2-4108-9555-a2d6b5e9fa50", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9a1ce366-c551-4369-a8f2-78fdcefe1557", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "61114b59-dc0f-4c0b-ae67-48c9c72fbd46", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3ae2754b-24b5-4dc3-9f07-2e6c9cd2c985", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "23413325-9aa8-4467-9f11-c1fca03373a8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "16eb3404-9803-4f99-8005-537c361bc0bb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0750d7fa-5cbf-4df8-b2fd-841d265bccd7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "eceef34b-8de7-4135-93cd-171afcbd168a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cd08cbb2-f063-42b3-ab25-31988c3c1b59", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b8c5f1b6-dde5-4a51-872b-a425992c5307", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0cb58e69-efcd-4bd1-b9ed-3485c309c13a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a48d0d90-09d8-4a92-8aa6-c99c0f5a7dd6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "33843369-892f-4492-ab72-f66da26751ef", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f8ac935f-35b5-457e-be1c-d34ac011ac3e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "420c2f8f-afb7-4f7e-b47f-dfcfa627a54a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0c993290-e600-4285-a234-a8faefe61e11", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8f75bc50-1c36-465d-aaf3-af17fb00109e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c55742e7-9c64-42a4-8e0c-803593583255", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d18cd7cd-bb22-4923-900c-0fb763439944", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f7d98ada-e33f-49b3-a245-b3430d3dc685", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c346904e-0e8c-46e9-838b-c1e75126cee4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "26b08d3d-0c69-4dec-873a-6fcf32d98a0e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "82a6fa6f-e6f0-4255-aece-646e7fcf92af", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "75dc239e-7766-412e-b8da-e51d4c49085a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "016e3aec-88e0-448a-8782-04dc021c5c26", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9cbf1ca2-020e-4f7b-9eaa-206cff4ad7ae", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9596b74f-174c-46f9-8e4d-41674611894a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a6484e4d-a0a6-40b5-868d-0aebee46d989", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c010e7fb-56f0-4912-bc32-b1529bc98350", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fe7c8d50-a234-4221-a582-271ae5a3dc7b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cc7a3b64-5fe7-4ac2-a5fb-73fd26ef020b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "252d89c3-cb23-46e8-a208-342af7b7d1c1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c5662468-9f3e-49c1-935d-6592b076a989", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5f170d96-fe10-4a80-9f4c-5232c158ae82", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-\",\"deletedDate\":1619647380,\"scheduledPurgeDate\":1620252180,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/3c1b7d75e9f441d0b5a43452a95de412\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"4nVCzcbvR1L57a_BWQPQKPdant2vaYAoPclbs93fPGEg24TYb5VLE354UUD-I5W1EMjHLSfG6DGLS7Mv0HRRED3ThT6-TLlrvBXX__CglRbP9RdlfyEn6P-99s3g2bxRAuUjuv34OhD4xca_CgeLgyA3rLM1Srs6AdMr1zpjSEAW-krBYnjxFaEBUZAuH7xSXF4xw-VZ6LNmaIdf6qPVV_ET0jXHIuIwL_xfqRqob6qFJnMVxYFZ6fgBhV5ejI9Hm_piqCzSSt7HAvEiYtCSWRFYOdvQnJU-dGFK6zy5u56eox6_FbO1V4XS6LvnLbsgOMHmwnhoCVjNRuiUey-dwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647380,\"updated\":1619647380,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "923", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3dea6a19-d1b7-4635-994f-d04b14aa785c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fc9d3249-fd6e-46d2-8946-51c73e9ab7a5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:03:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9dc3b0a3-f3fd-4363-a563-b35efd655a82", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9de62c35-5344-4bd0-8ae9-8c3240d27f5c", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:59 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "786f5b8e-426b-446f-974d-918f89552b00" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/3c1b7d75e9f441d0b5a43452a95de412\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"4nVCzcbvR1L57a_BWQPQKPdant2vaYAoPclbs93fPGEg24TYb5VLE354UUD-I5W1EMjHLSfG6DGLS7Mv0HRRED3ThT6-TLlrvBXX__CglRbP9RdlfyEn6P-99s3g2bxRAuUjuv34OhD4xca_CgeLgyA3rLM1Srs6AdMr1zpjSEAW-krBYnjxFaEBUZAuH7xSXF4xw-VZ6LNmaIdf6qPVV_ET0jXHIuIwL_xfqRqob6qFJnMVxYFZ6fgBhV5ejI9Hm_piqCzSSt7HAvEiYtCSWRFYOdvQnJU-dGFK6zy5u56eox6_FbO1V4XS6LvnLbsgOMHmwnhoCVjNRuiUey-dwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647380,\"updated\":1619647380,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "739", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "57150f8e-3aa0-4e61-8aa4-fdb0260463f1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "88b42ac1-665e-4d3c-85ab-07d92f08af61", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-\",\"deletedDate\":1619647380,\"scheduledPurgeDate\":1620252180,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/3c1b7d75e9f441d0b5a43452a95de412\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"4nVCzcbvR1L57a_BWQPQKPdant2vaYAoPclbs93fPGEg24TYb5VLE354UUD-I5W1EMjHLSfG6DGLS7Mv0HRRED3ThT6-TLlrvBXX__CglRbP9RdlfyEn6P-99s3g2bxRAuUjuv34OhD4xca_CgeLgyA3rLM1Srs6AdMr1zpjSEAW-krBYnjxFaEBUZAuH7xSXF4xw-VZ6LNmaIdf6qPVV_ET0jXHIuIwL_xfqRqob6qFJnMVxYFZ6fgBhV5ejI9Hm_piqCzSSt7HAvEiYtCSWRFYOdvQnJU-dGFK6zy5u56eox6_FbO1V4XS6LvnLbsgOMHmwnhoCVjNRuiUey-dwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647380,\"updated\":1619647380,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "923", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f38d59d9-5a23-4de9-8c53-dea15be57949", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2d7b5b1b-ca7b-4df5-87f8-84cb001d4662", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "18a2f000-d54f-49e9-8420-44fdf5c14786", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "048ebfee-ec07-4fdc-b348-44a69e3175b3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5705a333-52b2-4108-9555-a2d6b5e9fa50", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9a1ce366-c551-4369-a8f2-78fdcefe1557", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "61114b59-dc0f-4c0b-ae67-48c9c72fbd46", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3ae2754b-24b5-4dc3-9f07-2e6c9cd2c985", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "23413325-9aa8-4467-9f11-c1fca03373a8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "16eb3404-9803-4f99-8005-537c361bc0bb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0750d7fa-5cbf-4df8-b2fd-841d265bccd7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "eceef34b-8de7-4135-93cd-171afcbd168a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cd08cbb2-f063-42b3-ab25-31988c3c1b59", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b8c5f1b6-dde5-4a51-872b-a425992c5307", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0cb58e69-efcd-4bd1-b9ed-3485c309c13a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a48d0d90-09d8-4a92-8aa6-c99c0f5a7dd6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "33843369-892f-4492-ab72-f66da26751ef", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f8ac935f-35b5-457e-be1c-d34ac011ac3e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "420c2f8f-afb7-4f7e-b47f-dfcfa627a54a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0c993290-e600-4285-a234-a8faefe61e11", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8f75bc50-1c36-465d-aaf3-af17fb00109e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c55742e7-9c64-42a4-8e0c-803593583255", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d18cd7cd-bb22-4923-900c-0fb763439944", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f7d98ada-e33f-49b3-a245-b3430d3dc685", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c346904e-0e8c-46e9-838b-c1e75126cee4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "26b08d3d-0c69-4dec-873a-6fcf32d98a0e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "82a6fa6f-e6f0-4255-aece-646e7fcf92af", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "75dc239e-7766-412e-b8da-e51d4c49085a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "016e3aec-88e0-448a-8782-04dc021c5c26", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9cbf1ca2-020e-4f7b-9eaa-206cff4ad7ae", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9596b74f-174c-46f9-8e4d-41674611894a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a6484e4d-a0a6-40b5-868d-0aebee46d989", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c010e7fb-56f0-4912-bc32-b1529bc98350", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fe7c8d50-a234-4221-a582-271ae5a3dc7b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cc7a3b64-5fe7-4ac2-a5fb-73fd26ef020b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "252d89c3-cb23-46e8-a208-342af7b7d1c1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywhilegivingamanualtype-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c5662468-9f3e-49c1-935d-6592b076a989", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5f170d96-fe10-4a80-9f4c-5232c158ae82", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-\",\"deletedDate\":1619647380,\"scheduledPurgeDate\":1620252180,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywhilegivingamanualtype-/3c1b7d75e9f441d0b5a43452a95de412\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"4nVCzcbvR1L57a_BWQPQKPdant2vaYAoPclbs93fPGEg24TYb5VLE354UUD-I5W1EMjHLSfG6DGLS7Mv0HRRED3ThT6-TLlrvBXX__CglRbP9RdlfyEn6P-99s3g2bxRAuUjuv34OhD4xca_CgeLgyA3rLM1Srs6AdMr1zpjSEAW-krBYnjxFaEBUZAuH7xSXF4xw-VZ6LNmaIdf6qPVV_ET0jXHIuIwL_xfqRqob6qFJnMVxYFZ6fgBhV5ejI9Hm_piqCzSSt7HAvEiYtCSWRFYOdvQnJU-dGFK6zy5u56eox6_FbO1V4XS6LvnLbsgOMHmwnhoCVjNRuiUey-dwQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647380,\"updated\":1619647380,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "923", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3dea6a19-d1b7-4635-994f-d04b14aa785c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fc9d3249-fd6e-46d2-8946-51c73e9ab7a5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywhilegivingamanualtype-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:03:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9dc3b0a3-f3fd-4363-a563-b35efd655a82", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9de62c35-5344-4bd0-8ae9-8c3240d27f5c", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "82aad3a8a6c506c2afcfbefd44ddb207" -} \ No newline at end of file + "hash": "82aad3a8a6c506c2afcfbefd44ddb207" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_with_expires.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_with_expires.json index 81530a0296ce..6621854bad3d 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_with_expires.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_with_expires.json @@ -1,761 +1,761 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fefd38ed-5664-492e-8a7a-16f4cc44b02c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9da5cd03-90d5-4427-bff1-558923031885", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fefd38ed-5664-492e-8a7a-16f4cc44b02c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9da5cd03-90d5-4427-bff1-558923031885", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:09 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "cd7787fa-9afc-44d7-b558-d7a467b24401" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\",\"attributes\":{\"exp\":1546300805}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/25c8564ca6b34920935ba75bcd511270\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vNEJIstdXjRIxgGCDqwv6Lt8o9_E5p4UFWnihf1ve2yN2Da0ZxGPcB8rvtGvSjoFy0FnGoP8heHTvhKV2M65ZWR3yKbiSIe9PKslsRCzs9DJmzF6nqVYGnR-Kb2pAEZ9RUO8-RZoOWKv8ORz71mEG-XCSPXSkCDdRsS3ekZPPqvcvvcx6zVm04n21zMuAsSNudd4OzgKZVJuEacCcgp5bCI-pKStFQEM7M70lwuvyAbgfseQQRTfc-et4U_8pSoxoqthAeBBgSaUqAqRETqBXRgPg4IzHAzc-qagvvBqb1I5k_6jLM37Tu_QQp7MeKVGdYKAySOsr_gOKh-XFSHafQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":1546300805,\"created\":1619647630,\"updated\":1619647630,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "744", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fefd38ed-5664-492e-8a7a-16f4cc44b02c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f6742162-6623-4d73-b5bf-71a1d80bcece", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-\",\"deletedDate\":1619647631,\"scheduledPurgeDate\":1620252431,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/25c8564ca6b34920935ba75bcd511270\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vNEJIstdXjRIxgGCDqwv6Lt8o9_E5p4UFWnihf1ve2yN2Da0ZxGPcB8rvtGvSjoFy0FnGoP8heHTvhKV2M65ZWR3yKbiSIe9PKslsRCzs9DJmzF6nqVYGnR-Kb2pAEZ9RUO8-RZoOWKv8ORz71mEG-XCSPXSkCDdRsS3ekZPPqvcvvcx6zVm04n21zMuAsSNudd4OzgKZVJuEacCcgp5bCI-pKStFQEM7M70lwuvyAbgfseQQRTfc-et4U_8pSoxoqthAeBBgSaUqAqRETqBXRgPg4IzHAzc-qagvvBqb1I5k_6jLM37Tu_QQp7MeKVGdYKAySOsr_gOKh-XFSHafQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":1546300805,\"created\":1619647630,\"updated\":1619647630,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "916", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "25ac4cf4-0a36-4b79-8a23-e80874f1cd1d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "29f86745-8f0c-4819-babb-629b45d7d5a3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4a18c3e8-1ba4-4974-ab7c-f3b4c10f1194", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "76bbeaa4-1286-4419-af01-03c4db3512d7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b63d31cb-60f1-4774-8607-b4ff8f178958", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "82260db2-bd3f-40f2-b91a-ce5ae969833a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c42f4dc0-95ed-4389-90c2-8469e9f57721", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4fa95da0-8ab0-4319-84c1-a02806452de7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bced1598-845c-4f8c-9a5b-a6474cbb297b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d0e82a15-ba54-4059-b381-0bc5fd77fd0d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f32095da-1877-4c3d-8104-8eb9bab2d58b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c1c7e148-5882-4ed4-8dc4-689c0d9df08d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f493eec9-6b3c-4894-86d6-165f9bc72dd7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e892f2ec-50b2-447e-b789-02b688d67baf", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d330334f-56e9-44bd-ae79-f3eca2897621", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e7e061e4-3ba5-4662-a16d-542709e6c2e9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "190dba30-3ebc-47fd-92d4-0437fb47e2d5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "369911d3-4dd0-457c-b80d-b7590b345413", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fe1d6940-9eea-424f-bbde-e9bdf6074bba", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2b6004bd-8629-4d20-8ff4-30297f7da497", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d9dfa69a-b0c8-4a42-95e6-554a68b7ffdd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8b349d7e-557a-466d-9ed4-3f6b412a8768", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c6181551-1721-4be0-9fd5-69efef32c398", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d933e373-b0ee-447c-bd9d-60a338fa8334", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a8c20c14-444a-424b-a015-850618e40b43", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2219499d-5d0d-4489-b7b9-0c5eea4bdbae", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f63960fe-3752-4361-b3b7-0fd9c2181c35", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "86d08e9f-b655-4fd9-a7dd-f67e7690d7d1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9f4cae13-31a3-41d4-a0b5-39e5fc4dc7d1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "69cf531d-f04e-4264-a48d-0caec172e2a0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1ab232eb-a9c2-4b7c-b235-b5a5fd1dece8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0337b6c9-82e3-4ff6-b074-fb3e3e4e771c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0f14c5f0-87d3-438c-b060-28607d861645", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5fbb6ce0-88ae-4f18-920a-b0369509a76d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1eda0a9f-da40-4799-81c8-434e3ffc7de7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "93cdb828-710d-408a-94b6-96fe714785dd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f114b8dc-e80b-4abe-8b79-ae70b8b35374", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7b7b6fed-a2fc-4d09-888c-57b8e8e2ccbb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ce9e8738-3225-4d98-965d-dce22c84c338", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "91713195-0f18-4817-81d9-901068d66d95", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9bbf4bd2-3dd6-414f-b0f0-f524d29cb2fe", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "553b7b84-64f1-4097-b7a1-64dfc25109dc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b67d8589-c711-45c5-b6de-3d13f38b2d89", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "71bbb06e-1620-4d80-8c99-6633b7b26f6b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "33243cc9-02aa-4209-b960-60e5d8cd5ea1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4a81082e-f3a9-479f-ab5c-e443c7caa789", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-\",\"deletedDate\":1619647631,\"scheduledPurgeDate\":1620252431,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/25c8564ca6b34920935ba75bcd511270\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vNEJIstdXjRIxgGCDqwv6Lt8o9_E5p4UFWnihf1ve2yN2Da0ZxGPcB8rvtGvSjoFy0FnGoP8heHTvhKV2M65ZWR3yKbiSIe9PKslsRCzs9DJmzF6nqVYGnR-Kb2pAEZ9RUO8-RZoOWKv8ORz71mEG-XCSPXSkCDdRsS3ekZPPqvcvvcx6zVm04n21zMuAsSNudd4OzgKZVJuEacCcgp5bCI-pKStFQEM7M70lwuvyAbgfseQQRTfc-et4U_8pSoxoqthAeBBgSaUqAqRETqBXRgPg4IzHAzc-qagvvBqb1I5k_6jLM37Tu_QQp7MeKVGdYKAySOsr_gOKh-XFSHafQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":1546300805,\"created\":1619647630,\"updated\":1619647630,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "916", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fc46d0b3-1d0d-41e9-a6f3-18119e510ffc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "93237960-241d-466a-adf4-519ce452eee3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:07:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "52bdd593-dc37-42f7-9419-7add7de71b55", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bb06f447-3902-4f7f-aac6-59eead50c06a", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:09 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "cd7787fa-9afc-44d7-b558-d7a467b24401" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\",\"attributes\":{\"exp\":1546300805}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/25c8564ca6b34920935ba75bcd511270\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vNEJIstdXjRIxgGCDqwv6Lt8o9_E5p4UFWnihf1ve2yN2Da0ZxGPcB8rvtGvSjoFy0FnGoP8heHTvhKV2M65ZWR3yKbiSIe9PKslsRCzs9DJmzF6nqVYGnR-Kb2pAEZ9RUO8-RZoOWKv8ORz71mEG-XCSPXSkCDdRsS3ekZPPqvcvvcx6zVm04n21zMuAsSNudd4OzgKZVJuEacCcgp5bCI-pKStFQEM7M70lwuvyAbgfseQQRTfc-et4U_8pSoxoqthAeBBgSaUqAqRETqBXRgPg4IzHAzc-qagvvBqb1I5k_6jLM37Tu_QQp7MeKVGdYKAySOsr_gOKh-XFSHafQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":1546300805,\"created\":1619647630,\"updated\":1619647630,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "744", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fefd38ed-5664-492e-8a7a-16f4cc44b02c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f6742162-6623-4d73-b5bf-71a1d80bcece", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-\",\"deletedDate\":1619647631,\"scheduledPurgeDate\":1620252431,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/25c8564ca6b34920935ba75bcd511270\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vNEJIstdXjRIxgGCDqwv6Lt8o9_E5p4UFWnihf1ve2yN2Da0ZxGPcB8rvtGvSjoFy0FnGoP8heHTvhKV2M65ZWR3yKbiSIe9PKslsRCzs9DJmzF6nqVYGnR-Kb2pAEZ9RUO8-RZoOWKv8ORz71mEG-XCSPXSkCDdRsS3ekZPPqvcvvcx6zVm04n21zMuAsSNudd4OzgKZVJuEacCcgp5bCI-pKStFQEM7M70lwuvyAbgfseQQRTfc-et4U_8pSoxoqthAeBBgSaUqAqRETqBXRgPg4IzHAzc-qagvvBqb1I5k_6jLM37Tu_QQp7MeKVGdYKAySOsr_gOKh-XFSHafQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":1546300805,\"created\":1619647630,\"updated\":1619647630,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "916", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "25ac4cf4-0a36-4b79-8a23-e80874f1cd1d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "29f86745-8f0c-4819-babb-629b45d7d5a3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4a18c3e8-1ba4-4974-ab7c-f3b4c10f1194", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "76bbeaa4-1286-4419-af01-03c4db3512d7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b63d31cb-60f1-4774-8607-b4ff8f178958", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "82260db2-bd3f-40f2-b91a-ce5ae969833a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c42f4dc0-95ed-4389-90c2-8469e9f57721", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4fa95da0-8ab0-4319-84c1-a02806452de7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bced1598-845c-4f8c-9a5b-a6474cbb297b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d0e82a15-ba54-4059-b381-0bc5fd77fd0d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f32095da-1877-4c3d-8104-8eb9bab2d58b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c1c7e148-5882-4ed4-8dc4-689c0d9df08d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f493eec9-6b3c-4894-86d6-165f9bc72dd7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e892f2ec-50b2-447e-b789-02b688d67baf", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d330334f-56e9-44bd-ae79-f3eca2897621", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e7e061e4-3ba5-4662-a16d-542709e6c2e9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "190dba30-3ebc-47fd-92d4-0437fb47e2d5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "369911d3-4dd0-457c-b80d-b7590b345413", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fe1d6940-9eea-424f-bbde-e9bdf6074bba", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2b6004bd-8629-4d20-8ff4-30297f7da497", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d9dfa69a-b0c8-4a42-95e6-554a68b7ffdd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8b349d7e-557a-466d-9ed4-3f6b412a8768", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c6181551-1721-4be0-9fd5-69efef32c398", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d933e373-b0ee-447c-bd9d-60a338fa8334", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a8c20c14-444a-424b-a015-850618e40b43", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2219499d-5d0d-4489-b7b9-0c5eea4bdbae", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f63960fe-3752-4361-b3b7-0fd9c2181c35", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "86d08e9f-b655-4fd9-a7dd-f67e7690d7d1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9f4cae13-31a3-41d4-a0b5-39e5fc4dc7d1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "69cf531d-f04e-4264-a48d-0caec172e2a0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1ab232eb-a9c2-4b7c-b235-b5a5fd1dece8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0337b6c9-82e3-4ff6-b074-fb3e3e4e771c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0f14c5f0-87d3-438c-b060-28607d861645", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5fbb6ce0-88ae-4f18-920a-b0369509a76d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1eda0a9f-da40-4799-81c8-434e3ffc7de7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "93cdb828-710d-408a-94b6-96fe714785dd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f114b8dc-e80b-4abe-8b79-ae70b8b35374", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7b7b6fed-a2fc-4d09-888c-57b8e8e2ccbb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ce9e8738-3225-4d98-965d-dce22c84c338", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "91713195-0f18-4817-81d9-901068d66d95", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9bbf4bd2-3dd6-414f-b0f0-f524d29cb2fe", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "553b7b84-64f1-4097-b7a1-64dfc25109dc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b67d8589-c711-45c5-b6de-3d13f38b2d89", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "71bbb06e-1620-4d80-8c99-6633b7b26f6b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithexpires-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "33243cc9-02aa-4209-b960-60e5d8cd5ea1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4a81082e-f3a9-479f-ab5c-e443c7caa789", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-\",\"deletedDate\":1619647631,\"scheduledPurgeDate\":1620252431,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithexpires-/25c8564ca6b34920935ba75bcd511270\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vNEJIstdXjRIxgGCDqwv6Lt8o9_E5p4UFWnihf1ve2yN2Da0ZxGPcB8rvtGvSjoFy0FnGoP8heHTvhKV2M65ZWR3yKbiSIe9PKslsRCzs9DJmzF6nqVYGnR-Kb2pAEZ9RUO8-RZoOWKv8ORz71mEG-XCSPXSkCDdRsS3ekZPPqvcvvcx6zVm04n21zMuAsSNudd4OzgKZVJuEacCcgp5bCI-pKStFQEM7M70lwuvyAbgfseQQRTfc-et4U_8pSoxoqthAeBBgSaUqAqRETqBXRgPg4IzHAzc-qagvvBqb1I5k_6jLM37Tu_QQp7MeKVGdYKAySOsr_gOKh-XFSHafQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"exp\":1546300805,\"created\":1619647630,\"updated\":1619647630,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "916", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fc46d0b3-1d0d-41e9-a6f3-18119e510ffc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "93237960-241d-466a-adf4-519ce452eee3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithexpires-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:07:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "52bdd593-dc37-42f7-9419-7add7de71b55", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bb06f447-3902-4f7f-aac6-59eead50c06a", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "df500dae4daa7dce67f950d3cb5b8cf8" -} \ No newline at end of file + "hash": "df500dae4daa7dce67f950d3cb5b8cf8" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_with_notbefore.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_with_notbefore.json index be634fc09aff..fb10a3446f0a 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_with_notbefore.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_key_with_notbefore.json @@ -1,869 +1,869 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "42b79a32-86a6-4cc3-9ef7-adecc4b45c52", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cf03f9c8-0072-4bc4-b87b-bf8cfcedb69b", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "42b79a32-86a6-4cc3-9ef7-adecc4b45c52", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cf03f9c8-0072-4bc4-b87b-bf8cfcedb69b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:16 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "bdddb7dd-f411-4f99-a419-8997d3cd5901" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\",\"attributes\":{\"nbf\":1546300805}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/2af8fb99327647779a9cdb37a3c0f637\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v5algrCWC9BkSj4sghwEq2-gbMZKS41N__LLqSB9nSEUMRvGcmgJEmBTV_ihm_JJMryF711kir2sija94SJNt2Z94odITd1KTQbKnUpEJTlj6ZgjWwuCfobi7U7Ra5e-mVjMSVCMna2oANW0A-pB87hA8V7FG5xsPjtz1jLPRQH2lQgw7IU0UwI760TdjhvGIb4MAjl0FB3d2oy2ieZh3AOQzPPsls65cSOBCNXM-D06cCO33fqe418s480E3D4N3a9OwdpYzjVBqkVmmbMH3gGDWvk9PKgU1HVhMv3XGu9Ip5RAJasymSq3EpXKP1_GI9pYXeKbW9LYZy8Ez5DpaQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":1546300805,\"created\":1619647576,\"updated\":1619647576,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "748", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "42b79a32-86a6-4cc3-9ef7-adecc4b45c52", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "93153c4a-783f-4fd8-bf76-da878ad0144a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-\",\"deletedDate\":1619647577,\"scheduledPurgeDate\":1620252377,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/2af8fb99327647779a9cdb37a3c0f637\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v5algrCWC9BkSj4sghwEq2-gbMZKS41N__LLqSB9nSEUMRvGcmgJEmBTV_ihm_JJMryF711kir2sija94SJNt2Z94odITd1KTQbKnUpEJTlj6ZgjWwuCfobi7U7Ra5e-mVjMSVCMna2oANW0A-pB87hA8V7FG5xsPjtz1jLPRQH2lQgw7IU0UwI760TdjhvGIb4MAjl0FB3d2oy2ieZh3AOQzPPsls65cSOBCNXM-D06cCO33fqe418s480E3D4N3a9OwdpYzjVBqkVmmbMH3gGDWvk9PKgU1HVhMv3XGu9Ip5RAJasymSq3EpXKP1_GI9pYXeKbW9LYZy8Ez5DpaQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":1546300805,\"created\":1619647576,\"updated\":1619647576,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "924", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "85749fb2-50c4-48d3-82ee-70671c812af7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "97db6417-04d6-4170-a6e2-65eb5eb814f5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "77de1646-8ad1-402c-8c74-5edaa6b90856", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5fc45226-6d04-40d4-bbe8-2330e738187b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bc962352-dd61-4ed5-b024-c9d8ab8f07aa", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "05396cbd-c528-4065-b7e0-fc637c9a154e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e68acb5e-f37a-4244-9d99-8848310ff3eb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8cc2b3b4-f8d1-4370-a4c4-aa90afe50637", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "634107ff-99a0-44ac-a004-ab6ad34590e6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "516ac0c7-d755-4729-8e51-4d7f6b8bb0ed", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "da0a4bf1-efa9-4aaf-9652-899cab2f7dfe", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ad8594b9-de10-4080-9d9a-b57a7ed92f5c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d643256c-1ef0-4a03-8253-618da30acc1a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "706e15c4-b635-414e-a5c7-d98ad3f4e843", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "359d7013-f454-4e9e-b3b3-c16e5c03ec90", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3e6baf4d-d0c7-4e3b-ac8b-6cbc3cfe443b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fd0e4541-3be1-4a9e-b9c5-0813a4a5854e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1ee1fb45-6f3f-449e-9e8c-0a3eef02ee06", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6aaada7b-a5d1-4c7e-8da6-7fd3750ef7bc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "55e14237-4c4a-4556-91af-333c4545fbce", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "29d30fa8-e078-44cb-95de-4f892399a916", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "405ede71-b1ed-4b5e-9ffe-abdfdd970ad2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ba58e41a-78a6-4ffb-b232-8ecbd3830b7e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c7539c97-5e7b-4964-8603-16b6852e5622", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ae675e49-b13b-43b7-afd2-64272e4328e3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "402f4a98-8982-49da-bc42-0d9a0b88ba8e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b92a25f1-863f-4e9d-bed3-2a3f49a204b4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b8e17919-beb9-4fe0-b45a-4851fc44a43c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "eea3bd90-021f-46e9-b6b7-ad0de479034d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2e210f95-af6a-44c1-ad66-2a9f4035744d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e6976f6d-0aca-4028-ab8c-27c6cd715d41", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cdbf057b-aa1b-4b00-9303-d529ed6f1c6f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "64960a4b-72d6-4fe5-a7b3-9ef0787d11a5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cc7c8325-e159-4a5d-abef-6c0592fa412b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6163685e-7edd-46bc-a3b2-d7ebb93e0f62", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f5d15fdb-fbb3-49cf-8f8f-e891c6126965", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "620509f2-285f-4e48-8031-921e2218d6c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d9eb53ec-8960-4145-bd2a-808dd9d5d85f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b6321456-0fb1-4fef-881d-04af91010bb6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1c43d20c-a318-4b40-91a3-ac1182ce9f1c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6b3f52a3-b7f7-4af3-b602-3b19d7a8d881", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1d19d92d-9fa5-4213-83b9-095203247d71", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6a1e1832-fb2c-4061-8cc6-503d5bf6b61d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ea556694-feb9-4ab9-b51d-328dfa90d9ac", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:06:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1660f53e-f68c-4408-8f86-a43fc829d915", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c7234201-6934-4276-b8cb-cef8533db36c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c041117c-1505-429d-b76f-c22e91c98d84", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ce5462f7-3986-4310-a373-80d791712c8a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9b1421e5-0459-44d3-b706-048fa733a56c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e2c24302-f27a-43af-8036-663a9b10f317", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5a2e4dfd-b110-4ff8-b2c2-e3e2c0f5402a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7920cc9e-dca9-434b-9f23-9680a7e547e1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "124", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c4e3161c-aaa3-43d4-b9d2-42a3d862d3d8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e14c4843-2131-48f8-bb32-ac8b422c0b84", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-\",\"deletedDate\":1619647577,\"scheduledPurgeDate\":1620252377,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/2af8fb99327647779a9cdb37a3c0f637\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v5algrCWC9BkSj4sghwEq2-gbMZKS41N__LLqSB9nSEUMRvGcmgJEmBTV_ihm_JJMryF711kir2sija94SJNt2Z94odITd1KTQbKnUpEJTlj6ZgjWwuCfobi7U7Ra5e-mVjMSVCMna2oANW0A-pB87hA8V7FG5xsPjtz1jLPRQH2lQgw7IU0UwI760TdjhvGIb4MAjl0FB3d2oy2ieZh3AOQzPPsls65cSOBCNXM-D06cCO33fqe418s480E3D4N3a9OwdpYzjVBqkVmmbMH3gGDWvk9PKgU1HVhMv3XGu9Ip5RAJasymSq3EpXKP1_GI9pYXeKbW9LYZy8Ez5DpaQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":1546300805,\"created\":1619647576,\"updated\":1619647576,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "924", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8b8027bf-1e33-4475-aa0d-de5e2ddd8387", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dc751b7d-596c-4a77-aedd-770e2fc69366", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:07:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "edaacb55-8348-4d84-b627-b5c8cf50c8b9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fcd77d5a-6126-43f3-8d4a-1cc447dd7de5", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:16 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "bdddb7dd-f411-4f99-a419-8997d3cd5901" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\",\"attributes\":{\"nbf\":1546300805}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/2af8fb99327647779a9cdb37a3c0f637\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v5algrCWC9BkSj4sghwEq2-gbMZKS41N__LLqSB9nSEUMRvGcmgJEmBTV_ihm_JJMryF711kir2sija94SJNt2Z94odITd1KTQbKnUpEJTlj6ZgjWwuCfobi7U7Ra5e-mVjMSVCMna2oANW0A-pB87hA8V7FG5xsPjtz1jLPRQH2lQgw7IU0UwI760TdjhvGIb4MAjl0FB3d2oy2ieZh3AOQzPPsls65cSOBCNXM-D06cCO33fqe418s480E3D4N3a9OwdpYzjVBqkVmmbMH3gGDWvk9PKgU1HVhMv3XGu9Ip5RAJasymSq3EpXKP1_GI9pYXeKbW9LYZy8Ez5DpaQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":1546300805,\"created\":1619647576,\"updated\":1619647576,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "748", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "42b79a32-86a6-4cc3-9ef7-adecc4b45c52", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "93153c4a-783f-4fd8-bf76-da878ad0144a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-\",\"deletedDate\":1619647577,\"scheduledPurgeDate\":1620252377,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/2af8fb99327647779a9cdb37a3c0f637\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v5algrCWC9BkSj4sghwEq2-gbMZKS41N__LLqSB9nSEUMRvGcmgJEmBTV_ihm_JJMryF711kir2sija94SJNt2Z94odITd1KTQbKnUpEJTlj6ZgjWwuCfobi7U7Ra5e-mVjMSVCMna2oANW0A-pB87hA8V7FG5xsPjtz1jLPRQH2lQgw7IU0UwI760TdjhvGIb4MAjl0FB3d2oy2ieZh3AOQzPPsls65cSOBCNXM-D06cCO33fqe418s480E3D4N3a9OwdpYzjVBqkVmmbMH3gGDWvk9PKgU1HVhMv3XGu9Ip5RAJasymSq3EpXKP1_GI9pYXeKbW9LYZy8Ez5DpaQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":1546300805,\"created\":1619647576,\"updated\":1619647576,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "924", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "85749fb2-50c4-48d3-82ee-70671c812af7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "97db6417-04d6-4170-a6e2-65eb5eb814f5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "77de1646-8ad1-402c-8c74-5edaa6b90856", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5fc45226-6d04-40d4-bbe8-2330e738187b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bc962352-dd61-4ed5-b024-c9d8ab8f07aa", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "05396cbd-c528-4065-b7e0-fc637c9a154e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e68acb5e-f37a-4244-9d99-8848310ff3eb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8cc2b3b4-f8d1-4370-a4c4-aa90afe50637", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "634107ff-99a0-44ac-a004-ab6ad34590e6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "516ac0c7-d755-4729-8e51-4d7f6b8bb0ed", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "da0a4bf1-efa9-4aaf-9652-899cab2f7dfe", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ad8594b9-de10-4080-9d9a-b57a7ed92f5c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d643256c-1ef0-4a03-8253-618da30acc1a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "706e15c4-b635-414e-a5c7-d98ad3f4e843", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "359d7013-f454-4e9e-b3b3-c16e5c03ec90", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3e6baf4d-d0c7-4e3b-ac8b-6cbc3cfe443b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fd0e4541-3be1-4a9e-b9c5-0813a4a5854e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1ee1fb45-6f3f-449e-9e8c-0a3eef02ee06", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6aaada7b-a5d1-4c7e-8da6-7fd3750ef7bc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "55e14237-4c4a-4556-91af-333c4545fbce", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "29d30fa8-e078-44cb-95de-4f892399a916", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "405ede71-b1ed-4b5e-9ffe-abdfdd970ad2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ba58e41a-78a6-4ffb-b232-8ecbd3830b7e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c7539c97-5e7b-4964-8603-16b6852e5622", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ae675e49-b13b-43b7-afd2-64272e4328e3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "402f4a98-8982-49da-bc42-0d9a0b88ba8e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b92a25f1-863f-4e9d-bed3-2a3f49a204b4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b8e17919-beb9-4fe0-b45a-4851fc44a43c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "eea3bd90-021f-46e9-b6b7-ad0de479034d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2e210f95-af6a-44c1-ad66-2a9f4035744d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e6976f6d-0aca-4028-ab8c-27c6cd715d41", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cdbf057b-aa1b-4b00-9303-d529ed6f1c6f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "64960a4b-72d6-4fe5-a7b3-9ef0787d11a5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cc7c8325-e159-4a5d-abef-6c0592fa412b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6163685e-7edd-46bc-a3b2-d7ebb93e0f62", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f5d15fdb-fbb3-49cf-8f8f-e891c6126965", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "620509f2-285f-4e48-8031-921e2218d6c5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d9eb53ec-8960-4145-bd2a-808dd9d5d85f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b6321456-0fb1-4fef-881d-04af91010bb6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1c43d20c-a318-4b40-91a3-ac1182ce9f1c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6b3f52a3-b7f7-4af3-b602-3b19d7a8d881", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1d19d92d-9fa5-4213-83b9-095203247d71", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6a1e1832-fb2c-4061-8cc6-503d5bf6b61d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ea556694-feb9-4ab9-b51d-328dfa90d9ac", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:06:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1660f53e-f68c-4408-8f86-a43fc829d915", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c7234201-6934-4276-b8cb-cef8533db36c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c041117c-1505-429d-b76f-c22e91c98d84", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ce5462f7-3986-4310-a373-80d791712c8a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9b1421e5-0459-44d3-b706-048fa733a56c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e2c24302-f27a-43af-8036-663a9b10f317", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5a2e4dfd-b110-4ff8-b2c2-e3e2c0f5402a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7920cc9e-dca9-434b-9f23-9680a7e547e1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateakeywithnotBefore-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "124", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c4e3161c-aaa3-43d4-b9d2-42a3d862d3d8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e14c4843-2131-48f8-bb32-ac8b422c0b84", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-\",\"deletedDate\":1619647577,\"scheduledPurgeDate\":1620252377,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateakeywithnotBefore-/2af8fb99327647779a9cdb37a3c0f637\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"v5algrCWC9BkSj4sghwEq2-gbMZKS41N__LLqSB9nSEUMRvGcmgJEmBTV_ihm_JJMryF711kir2sija94SJNt2Z94odITd1KTQbKnUpEJTlj6ZgjWwuCfobi7U7Ra5e-mVjMSVCMna2oANW0A-pB87hA8V7FG5xsPjtz1jLPRQH2lQgw7IU0UwI760TdjhvGIb4MAjl0FB3d2oy2ieZh3AOQzPPsls65cSOBCNXM-D06cCO33fqe418s480E3D4N3a9OwdpYzjVBqkVmmbMH3gGDWvk9PKgU1HVhMv3XGu9Ip5RAJasymSq3EpXKP1_GI9pYXeKbW9LYZy8Ez5DpaQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"nbf\":1546300805,\"created\":1619647576,\"updated\":1619647576,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "924", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8b8027bf-1e33-4475-aa0d-de5e2ddd8387", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dc751b7d-596c-4a77-aedd-770e2fc69366", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateakeywithnotBefore-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:07:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "edaacb55-8348-4d84-b627-b5c8cf50c8b9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fcd77d5a-6126-43f3-8d4a-1cc447dd7de5", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "63d519a9e041801d92d4eb005e2ef567" -} \ No newline at end of file + "hash": "63d519a9e041801d92d4eb005e2ef567" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key.json index a7e6e0736b14..05edee7d17ba 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key.json @@ -1,464 +1,464 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9c42121d-15a0-4a03-be86-5156ab213fac", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2158e942-6047-4843-bfa9-7c6eb0c16c94", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9c42121d-15a0-4a03-be86-5156ab213fac", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2158e942-6047-4843-bfa9-7c6eb0c16c94", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:36 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "cd7787fa-9afc-44d7-b558-d7a44e924401" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/5c68e73d27104ca9b18370fb113f1f63\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"5mNDVB4rcY_1FdtkR18usxSkgd4n79t3KDtCwHJaNpnRY0nhluabcWsN_6Cb-EuELxqbTYM3TD8WQPcIDsjApwwRsa2UG40PTdam_dwLYyJjqogCH_hXRv7iv552vy8gUZX8eHsKl1HqQkigeWTFSQS5DmI9qBtsQCjvLGrnmHRopJ5OSTtor90eSKsd3gTB6EBRkGSVLGMVP5HuMmy72WE6YjQK0VPxqA0AW2Awvr_rYCriSHxhZQQUuB3iFVkdvAQyJsHwJSQkKbhyVZ3TZyyhFoQGDXMxzXLuaCMuluWRvCvjpjeqCUjFMVK9dqFHsmCnGVXB3xXmurpLlLSIPQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647417,\"updated\":1619647417,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "720", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9c42121d-15a0-4a03-be86-5156ab213fac", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "19e07ec0-7327-4af3-961c-ff7efca91b1a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-\",\"deletedDate\":1619647417,\"scheduledPurgeDate\":1620252217,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/5c68e73d27104ca9b18370fb113f1f63\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"5mNDVB4rcY_1FdtkR18usxSkgd4n79t3KDtCwHJaNpnRY0nhluabcWsN_6Cb-EuELxqbTYM3TD8WQPcIDsjApwwRsa2UG40PTdam_dwLYyJjqogCH_hXRv7iv552vy8gUZX8eHsKl1HqQkigeWTFSQS5DmI9qBtsQCjvLGrnmHRopJ5OSTtor90eSKsd3gTB6EBRkGSVLGMVP5HuMmy72WE6YjQK0VPxqA0AW2Awvr_rYCriSHxhZQQUuB3iFVkdvAQyJsHwJSQkKbhyVZ3TZyyhFoQGDXMxzXLuaCMuluWRvCvjpjeqCUjFMVK9dqFHsmCnGVXB3xXmurpLlLSIPQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647417,\"updated\":1619647417,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "885", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "766ac028-aa36-4faf-b5c6-8337b0aab955", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e19c2d64-821f-43e4-9db2-ab0940a4ea2c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "816ae900-ad7c-4b6f-be77-33435dc0e694", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "623e6baf-38bf-40eb-b2a0-76221e025136", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "80835987-186d-4e9d-b953-e94b68ed8bcd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f51f696a-1d31-46a5-b56c-e7067061f6c4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ff41bdfb-6f18-40b4-b558-f8583b0cbec0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6d198337-0cb4-4618-8ac3-359ed5b12dfe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6879caf8-c23b-4f9f-adcd-0aada087c4e2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "972531d5-921b-4c45-b411-8144a0b7725c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cf7ab218-bb3b-4d1b-937c-1fcac1c97a79", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8f91e654-99c4-41b4-b468-07f4705a9ae0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7576523a-c0dc-40fd-bc23-4a1c44a9d647", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9eedaf7c-f2ab-4d7a-8954-5d11dff9906a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cff3b63e-0649-42d8-bee2-417dbdd4c2a7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "83421d67-c487-45d8-8615-4efd8b3792a1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4200d923-aa9f-459d-8bee-042d2d07b142", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "119660be-eaa3-4eec-91a1-ced38f6cd2a8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d618dd11-fe89-408f-8b79-6ef4e71547ef", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "587c9289-d538-479a-945b-a084c130475a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e0312d2f-2dbe-48c2-93ee-7eaf939b07e5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a9e079e5-83b4-4f86-b803-6bdd4cde14f2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "aba0f609-e8a7-4a2d-84bb-6338c256d722", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "34da5d40-5633-444e-8ba3-8e86ebc0155e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-\",\"deletedDate\":1619647417,\"scheduledPurgeDate\":1620252217,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/5c68e73d27104ca9b18370fb113f1f63\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"5mNDVB4rcY_1FdtkR18usxSkgd4n79t3KDtCwHJaNpnRY0nhluabcWsN_6Cb-EuELxqbTYM3TD8WQPcIDsjApwwRsa2UG40PTdam_dwLYyJjqogCH_hXRv7iv552vy8gUZX8eHsKl1HqQkigeWTFSQS5DmI9qBtsQCjvLGrnmHRopJ5OSTtor90eSKsd3gTB6EBRkGSVLGMVP5HuMmy72WE6YjQK0VPxqA0AW2Awvr_rYCriSHxhZQQUuB3iFVkdvAQyJsHwJSQkKbhyVZ3TZyyhFoQGDXMxzXLuaCMuluWRvCvjpjeqCUjFMVK9dqFHsmCnGVXB3xXmurpLlLSIPQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647417,\"updated\":1619647417,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "885", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "60b21b29-9484-476c-961a-70790c41b59e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c4e64c3f-2872-4036-8071-961225170f15", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:03:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b3bfe032-54c3-413b-a4ff-c4a1cb099bb4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "88377efa-e9b7-45f7-9ea3-983a1036b893", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:36 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "cd7787fa-9afc-44d7-b558-d7a44e924401" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/5c68e73d27104ca9b18370fb113f1f63\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"5mNDVB4rcY_1FdtkR18usxSkgd4n79t3KDtCwHJaNpnRY0nhluabcWsN_6Cb-EuELxqbTYM3TD8WQPcIDsjApwwRsa2UG40PTdam_dwLYyJjqogCH_hXRv7iv552vy8gUZX8eHsKl1HqQkigeWTFSQS5DmI9qBtsQCjvLGrnmHRopJ5OSTtor90eSKsd3gTB6EBRkGSVLGMVP5HuMmy72WE6YjQK0VPxqA0AW2Awvr_rYCriSHxhZQQUuB3iFVkdvAQyJsHwJSQkKbhyVZ3TZyyhFoQGDXMxzXLuaCMuluWRvCvjpjeqCUjFMVK9dqFHsmCnGVXB3xXmurpLlLSIPQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647417,\"updated\":1619647417,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "720", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9c42121d-15a0-4a03-be86-5156ab213fac", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "19e07ec0-7327-4af3-961c-ff7efca91b1a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-\",\"deletedDate\":1619647417,\"scheduledPurgeDate\":1620252217,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/5c68e73d27104ca9b18370fb113f1f63\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"5mNDVB4rcY_1FdtkR18usxSkgd4n79t3KDtCwHJaNpnRY0nhluabcWsN_6Cb-EuELxqbTYM3TD8WQPcIDsjApwwRsa2UG40PTdam_dwLYyJjqogCH_hXRv7iv552vy8gUZX8eHsKl1HqQkigeWTFSQS5DmI9qBtsQCjvLGrnmHRopJ5OSTtor90eSKsd3gTB6EBRkGSVLGMVP5HuMmy72WE6YjQK0VPxqA0AW2Awvr_rYCriSHxhZQQUuB3iFVkdvAQyJsHwJSQkKbhyVZ3TZyyhFoQGDXMxzXLuaCMuluWRvCvjpjeqCUjFMVK9dqFHsmCnGVXB3xXmurpLlLSIPQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647417,\"updated\":1619647417,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "885", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "766ac028-aa36-4faf-b5c6-8337b0aab955", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e19c2d64-821f-43e4-9db2-ab0940a4ea2c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "816ae900-ad7c-4b6f-be77-33435dc0e694", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "623e6baf-38bf-40eb-b2a0-76221e025136", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "80835987-186d-4e9d-b953-e94b68ed8bcd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f51f696a-1d31-46a5-b56c-e7067061f6c4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ff41bdfb-6f18-40b4-b558-f8583b0cbec0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6d198337-0cb4-4618-8ac3-359ed5b12dfe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6879caf8-c23b-4f9f-adcd-0aada087c4e2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "972531d5-921b-4c45-b411-8144a0b7725c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cf7ab218-bb3b-4d1b-937c-1fcac1c97a79", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8f91e654-99c4-41b4-b468-07f4705a9ae0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7576523a-c0dc-40fd-bc23-4a1c44a9d647", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9eedaf7c-f2ab-4d7a-8954-5d11dff9906a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cff3b63e-0649-42d8-bee2-417dbdd4c2a7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "83421d67-c487-45d8-8615-4efd8b3792a1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4200d923-aa9f-459d-8bee-042d2d07b142", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "119660be-eaa3-4eec-91a1-ced38f6cd2a8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d618dd11-fe89-408f-8b79-6ef4e71547ef", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "587c9289-d538-479a-945b-a084c130475a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e0312d2f-2dbe-48c2-93ee-7eaf939b07e5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a9e079e5-83b4-4f86-b803-6bdd4cde14f2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "aba0f609-e8a7-4a2d-84bb-6338c256d722", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "34da5d40-5633-444e-8ba3-8e86ebc0155e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-\",\"deletedDate\":1619647417,\"scheduledPurgeDate\":1620252217,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkey-/5c68e73d27104ca9b18370fb113f1f63\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"5mNDVB4rcY_1FdtkR18usxSkgd4n79t3KDtCwHJaNpnRY0nhluabcWsN_6Cb-EuELxqbTYM3TD8WQPcIDsjApwwRsa2UG40PTdam_dwLYyJjqogCH_hXRv7iv552vy8gUZX8eHsKl1HqQkigeWTFSQS5DmI9qBtsQCjvLGrnmHRopJ5OSTtor90eSKsd3gTB6EBRkGSVLGMVP5HuMmy72WE6YjQK0VPxqA0AW2Awvr_rYCriSHxhZQQUuB3iFVkdvAQyJsHwJSQkKbhyVZ3TZyyhFoQGDXMxzXLuaCMuluWRvCvjpjeqCUjFMVK9dqFHsmCnGVXB3xXmurpLlLSIPQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647417,\"updated\":1619647417,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "885", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "60b21b29-9484-476c-961a-70790c41b59e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c4e64c3f-2872-4036-8071-961225170f15", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:03:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b3bfe032-54c3-413b-a4ff-c4a1cb099bb4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "88377efa-e9b7-45f7-9ea3-983a1036b893", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "8e625c910e3e2009435d88565911e0ce" -} \ No newline at end of file + "hash": "8e625c910e3e2009435d88565911e0ce" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key_with_public_exponent.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key_with_public_exponent.json index 36870d5548b0..5a0980dcf096 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key_with_public_exponent.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key_with_public_exponent.json @@ -1,437 +1,437 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ffd4d2bd-c9a3-4382-97e1-83a5a4087781", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e8201f0e-7567-43ca-8c95-8ee8c92b45cd", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ffd4d2bd-c9a3-4382-97e1-83a5a4087781", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e8201f0e-7567-43ca-8c95-8ee8c92b45cd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:21 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "2581370d-525c-449a-8781-7cf3fc1a5401" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\",\"public_exponent\":3,\"attributes\":{}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/8ed8f26bcece4c64af909ddcf2c8147a\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oEH6uqM0ynkHPmI5J-J9es9RQmTgOqoSqigN6sj6AXEInSaLQ82IGbg36eVm9L3iUOXbPZCdwxModXxXZFUaY791hkKG2QAi-N6_0X2-aYOUHncHz9zfFrrOm38V28Lwhqzhwo-ufiNxOB-uF-xsnIEhVCeHyhB_8-UP2uQ7LkVCHRPe_877M82fQGkTyq2BIMgTn-h49jLAOqaNh0IN2IuBdtlAwZqfci9A34FP0paa5Luosz89BxUgYNxD9G7qX_lb5lfeyW0gHQnpiTKdoHWwEZ_ROmQdY6HThN0tk2Mw3Gf_qLbIhb-Oo0b5LJuV96x_Dta1uxv8VZ2on6r7vQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647461,\"updated\":1619647461,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "739", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ffd4d2bd-c9a3-4382-97e1-83a5a4087781", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ab1e6f78-3f50-4e4d-bb7d-3d56ed349f8f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-\",\"deletedDate\":1619647462,\"scheduledPurgeDate\":1620252262,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/8ed8f26bcece4c64af909ddcf2c8147a\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oEH6uqM0ynkHPmI5J-J9es9RQmTgOqoSqigN6sj6AXEInSaLQ82IGbg36eVm9L3iUOXbPZCdwxModXxXZFUaY791hkKG2QAi-N6_0X2-aYOUHncHz9zfFrrOm38V28Lwhqzhwo-ufiNxOB-uF-xsnIEhVCeHyhB_8-UP2uQ7LkVCHRPe_877M82fQGkTyq2BIMgTn-h49jLAOqaNh0IN2IuBdtlAwZqfci9A34FP0paa5Luosz89BxUgYNxD9G7qX_lb5lfeyW0gHQnpiTKdoHWwEZ_ROmQdY6HThN0tk2Mw3Gf_qLbIhb-Oo0b5LJuV96x_Dta1uxv8VZ2on6r7vQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647461,\"updated\":1619647461,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "923", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ee95798b-9334-404a-a8a3-bffc033b7c83", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fe1b0363-cec6-4323-a5a5-470793cad46b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3c2fd38b-e2bc-4dde-af51-98e41c5b02e4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0da058d4-cecb-46b9-9379-342128becd89", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2a1a68ad-3a22-41e0-b9d5-2e3c07b1fab8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9235f830-4502-4003-9771-31e13918151e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "62fbd55b-eb26-41c3-9f96-1c8a824e5504", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6c98a4c3-6ec1-4e79-8ca2-1d9514b56fb0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ae4c4fc0-1a8c-4606-a142-dc20bd68f4dc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fdaf8c43-1ba1-436c-8996-07072d5029fb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9a64d4c4-4f20-4f26-a9fa-8bfdb6c8d75e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0f3982b3-d4a2-482e-9e93-075401b2fee9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8eb63000-e10e-41d6-bbe0-bcbef49d28a1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f78808f2-ddad-4a3a-aa1b-ff57ade47842", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "df92388c-487a-4456-90c8-74840512d504", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bbf9b982-a51f-4f43-b383-8a59a5347071", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "55fc4eac-6a74-45a2-9016-cc38a4278506", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fd91b153-e0d4-43bd-82f1-43ecf9db41aa", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "57bd1c58-ef3b-45be-966b-2f3d0793b7f4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f38c5c01-1d9e-419b-a681-84a405d37738", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "132", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7d2ed4dc-f991-4f38-b0d9-e83185c015e9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b0954eb4-d69e-466e-9e44-6402c7d79d46", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-\",\"deletedDate\":1619647462,\"scheduledPurgeDate\":1620252262,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/8ed8f26bcece4c64af909ddcf2c8147a\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oEH6uqM0ynkHPmI5J-J9es9RQmTgOqoSqigN6sj6AXEInSaLQ82IGbg36eVm9L3iUOXbPZCdwxModXxXZFUaY791hkKG2QAi-N6_0X2-aYOUHncHz9zfFrrOm38V28Lwhqzhwo-ufiNxOB-uF-xsnIEhVCeHyhB_8-UP2uQ7LkVCHRPe_877M82fQGkTyq2BIMgTn-h49jLAOqaNh0IN2IuBdtlAwZqfci9A34FP0paa5Luosz89BxUgYNxD9G7qX_lb5lfeyW0gHQnpiTKdoHWwEZ_ROmQdY6HThN0tk2Mw3Gf_qLbIhb-Oo0b5LJuV96x_Dta1uxv8VZ2on6r7vQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647461,\"updated\":1619647461,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "923", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b9b993ac-9821-44ee-9647-cddd6d2331b5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "05107869-9737-4bdb-84a0-09333869f1e7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:04:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "76ececf8-0cc1-4cec-b122-d5b302de876d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "65966931-e7bf-4dfc-b94f-12223cbbfe31", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:21 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "2581370d-525c-449a-8781-7cf3fc1a5401" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\",\"public_exponent\":3,\"attributes\":{}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/8ed8f26bcece4c64af909ddcf2c8147a\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oEH6uqM0ynkHPmI5J-J9es9RQmTgOqoSqigN6sj6AXEInSaLQ82IGbg36eVm9L3iUOXbPZCdwxModXxXZFUaY791hkKG2QAi-N6_0X2-aYOUHncHz9zfFrrOm38V28Lwhqzhwo-ufiNxOB-uF-xsnIEhVCeHyhB_8-UP2uQ7LkVCHRPe_877M82fQGkTyq2BIMgTn-h49jLAOqaNh0IN2IuBdtlAwZqfci9A34FP0paa5Luosz89BxUgYNxD9G7qX_lb5lfeyW0gHQnpiTKdoHWwEZ_ROmQdY6HThN0tk2Mw3Gf_qLbIhb-Oo0b5LJuV96x_Dta1uxv8VZ2on6r7vQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647461,\"updated\":1619647461,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "739", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ffd4d2bd-c9a3-4382-97e1-83a5a4087781", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ab1e6f78-3f50-4e4d-bb7d-3d56ed349f8f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-\",\"deletedDate\":1619647462,\"scheduledPurgeDate\":1620252262,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/8ed8f26bcece4c64af909ddcf2c8147a\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oEH6uqM0ynkHPmI5J-J9es9RQmTgOqoSqigN6sj6AXEInSaLQ82IGbg36eVm9L3iUOXbPZCdwxModXxXZFUaY791hkKG2QAi-N6_0X2-aYOUHncHz9zfFrrOm38V28Lwhqzhwo-ufiNxOB-uF-xsnIEhVCeHyhB_8-UP2uQ7LkVCHRPe_877M82fQGkTyq2BIMgTn-h49jLAOqaNh0IN2IuBdtlAwZqfci9A34FP0paa5Luosz89BxUgYNxD9G7qX_lb5lfeyW0gHQnpiTKdoHWwEZ_ROmQdY6HThN0tk2Mw3Gf_qLbIhb-Oo0b5LJuV96x_Dta1uxv8VZ2on6r7vQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647461,\"updated\":1619647461,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "923", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ee95798b-9334-404a-a8a3-bffc033b7c83", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fe1b0363-cec6-4323-a5a5-470793cad46b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3c2fd38b-e2bc-4dde-af51-98e41c5b02e4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0da058d4-cecb-46b9-9379-342128becd89", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2a1a68ad-3a22-41e0-b9d5-2e3c07b1fab8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9235f830-4502-4003-9771-31e13918151e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "62fbd55b-eb26-41c3-9f96-1c8a824e5504", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6c98a4c3-6ec1-4e79-8ca2-1d9514b56fb0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ae4c4fc0-1a8c-4606-a142-dc20bd68f4dc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fdaf8c43-1ba1-436c-8996-07072d5029fb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9a64d4c4-4f20-4f26-a9fa-8bfdb6c8d75e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0f3982b3-d4a2-482e-9e93-075401b2fee9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8eb63000-e10e-41d6-bbe0-bcbef49d28a1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f78808f2-ddad-4a3a-aa1b-ff57ade47842", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "df92388c-487a-4456-90c8-74840512d504", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bbf9b982-a51f-4f43-b383-8a59a5347071", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "55fc4eac-6a74-45a2-9016-cc38a4278506", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fd91b153-e0d4-43bd-82f1-43ecf9db41aa", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "57bd1c58-ef3b-45be-966b-2f3d0793b7f4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f38c5c01-1d9e-419b-a681-84a405d37738", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithpublicexponent-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "132", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7d2ed4dc-f991-4f38-b0d9-e83185c015e9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b0954eb4-d69e-466e-9e44-6402c7d79d46", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-\",\"deletedDate\":1619647462,\"scheduledPurgeDate\":1620252262,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-/8ed8f26bcece4c64af909ddcf2c8147a\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oEH6uqM0ynkHPmI5J-J9es9RQmTgOqoSqigN6sj6AXEInSaLQ82IGbg36eVm9L3iUOXbPZCdwxModXxXZFUaY791hkKG2QAi-N6_0X2-aYOUHncHz9zfFrrOm38V28Lwhqzhwo-ufiNxOB-uF-xsnIEhVCeHyhB_8-UP2uQ7LkVCHRPe_877M82fQGkTyq2BIMgTn-h49jLAOqaNh0IN2IuBdtlAwZqfci9A34FP0paa5Luosz89BxUgYNxD9G7qX_lb5lfeyW0gHQnpiTKdoHWwEZ_ROmQdY6HThN0tk2Mw3Gf_qLbIhb-Oo0b5LJuV96x_Dta1uxv8VZ2on6r7vQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647461,\"updated\":1619647461,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "923", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b9b993ac-9821-44ee-9647-cddd6d2331b5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "05107869-9737-4bdb-84a0-09333869f1e7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithpublicexponent-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:04:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "76ececf8-0cc1-4cec-b122-d5b302de876d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "65966931-e7bf-4dfc-b94f-12223cbbfe31", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "84cc5954add884dc386d56c7429f6c26" -} \ No newline at end of file + "hash": "84cc5954add884dc386d56c7429f6c26" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key_with_size.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key_with_size.json index 9d801cfd2eee..510f01a79984 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key_with_size.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_a_rsa_key_with_size.json @@ -1,464 +1,464 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c42fd92b-a95c-4e82-abc8-d23ffa6be0ed", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5d6a40e2-c79e-4c35-8fd0-999254be8f43", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c42fd92b-a95c-4e82-abc8-d23ffa6be0ed", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5d6a40e2-c79e-4c35-8fd0-999254be8f43", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:58 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "2581370d-525c-449a-8781-7cf3f9175401" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\",\"key_size\":2048,\"attributes\":{}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/37c900a5499744838a14dbdca8dc2658\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uYdn95Og-9Q1klYRg2JaMMbI9mch57TmHsvgcRggyp76q3bKfiKF_LwQgv8QVz6Er2ZPYI7epAiiaECX3UrMlr7uwvreoqq86URfAlXkelWCh1TDdIL0IdpEdU4U1X6U8hj4g5ZRvPzg3cB1FTcForbhNwnRaGmIMAJhcVCQ4sy1EaltFiQt4e886rMrpOYeVwJQmXUn7m0YEugoAsAvv8Xy6TyNxcS5iX7d1A0VEbdZ2uGj8MiQ1n1nKgcM1mcWvGusZGHldGuvYLyMLCn1pfCfih9q_8yg6GyZSAjWb_5P37X29AxjVKrcF7Q-me371j0Y16LqCiWn_V61wnxHtQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647439,\"updated\":1619647439,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "728", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c42fd92b-a95c-4e82-abc8-d23ffa6be0ed", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1ad9f70b-1776-4432-8348-86808ae2750f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-\",\"deletedDate\":1619647439,\"scheduledPurgeDate\":1620252239,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/37c900a5499744838a14dbdca8dc2658\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uYdn95Og-9Q1klYRg2JaMMbI9mch57TmHsvgcRggyp76q3bKfiKF_LwQgv8QVz6Er2ZPYI7epAiiaECX3UrMlr7uwvreoqq86URfAlXkelWCh1TDdIL0IdpEdU4U1X6U8hj4g5ZRvPzg3cB1FTcForbhNwnRaGmIMAJhcVCQ4sy1EaltFiQt4e886rMrpOYeVwJQmXUn7m0YEugoAsAvv8Xy6TyNxcS5iX7d1A0VEbdZ2uGj8MiQ1n1nKgcM1mcWvGusZGHldGuvYLyMLCn1pfCfih9q_8yg6GyZSAjWb_5P37X29AxjVKrcF7Q-me371j0Y16LqCiWn_V61wnxHtQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647439,\"updated\":1619647439,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "901", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a2b5d36b-07c0-42bb-aca6-b2ae777a00dc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "86a5b438-ea0d-4a6f-af36-752959f9d644", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d8587242-a920-4835-9fb1-31aaa56420c2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "34cd467b-8c98-48cc-8ee3-1c4b74a1d294", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:03:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4cae57d3-c90d-4e41-8aee-a98b7f08d496", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f3be2e5d-38ea-40f1-b2ff-e6b05b8a8ec5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "38aec243-1d85-4f9f-a021-157c559e22e4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0a6a03a6-2ac1-4abf-bf64-9f29bd11f1bc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ccca9037-89d2-4aa2-b7ba-c210576f808f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5522388d-c24e-4b5e-9008-a33d9e0e6c3d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cb9d3a4c-d358-4187-b4a2-5ea9a0465292", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cf522226-542c-4cb3-a390-ea7b4d80e369", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "794ece84-6c59-4d2e-aa15-90cfec3b7357", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e7a8e7f9-d3a9-47f3-9eb7-20bdc34bee0d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "320f9427-3c97-4ac1-8441-c9bcbf96e130", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7a0b126b-143b-48a2-8945-46a75c79338e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f271deba-3e74-42d3-9f91-f19946f11364", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3424ceb3-3168-44ef-af50-2136bbeebb71", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5d91505e-e157-4cef-bc07-7638426c3f6c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e3246d7c-1d73-4bc9-8bde-245c7380b21e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "13bef76a-ca47-406f-9e66-e5ffce5ed294", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e57c8823-1a34-43bb-8a81-603cd6557d07", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2f73d9ea-35bf-45b0-8d2a-ebea25b9c737", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "98276d14-6e17-41d2-bcc7-52666d3295bd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-\",\"deletedDate\":1619647439,\"scheduledPurgeDate\":1620252239,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/37c900a5499744838a14dbdca8dc2658\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uYdn95Og-9Q1klYRg2JaMMbI9mch57TmHsvgcRggyp76q3bKfiKF_LwQgv8QVz6Er2ZPYI7epAiiaECX3UrMlr7uwvreoqq86URfAlXkelWCh1TDdIL0IdpEdU4U1X6U8hj4g5ZRvPzg3cB1FTcForbhNwnRaGmIMAJhcVCQ4sy1EaltFiQt4e886rMrpOYeVwJQmXUn7m0YEugoAsAvv8Xy6TyNxcS5iX7d1A0VEbdZ2uGj8MiQ1n1nKgcM1mcWvGusZGHldGuvYLyMLCn1pfCfih9q_8yg6GyZSAjWb_5P37X29AxjVKrcF7Q-me371j0Y16LqCiWn_V61wnxHtQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647439,\"updated\":1619647439,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "901", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d17e432a-771c-4f4f-8e17-4000cfb98d06", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0e2347a3-9cfe-46b9-978b-696304c935e5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:04:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f662d4dc-f49f-4e0c-8055-f99184c266a9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "30e9609b-fc2b-4799-88b6-6135fdd6485f", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:58 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "2581370d-525c-449a-8781-7cf3f9175401" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\",\"key_size\":2048,\"attributes\":{}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/37c900a5499744838a14dbdca8dc2658\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uYdn95Og-9Q1klYRg2JaMMbI9mch57TmHsvgcRggyp76q3bKfiKF_LwQgv8QVz6Er2ZPYI7epAiiaECX3UrMlr7uwvreoqq86URfAlXkelWCh1TDdIL0IdpEdU4U1X6U8hj4g5ZRvPzg3cB1FTcForbhNwnRaGmIMAJhcVCQ4sy1EaltFiQt4e886rMrpOYeVwJQmXUn7m0YEugoAsAvv8Xy6TyNxcS5iX7d1A0VEbdZ2uGj8MiQ1n1nKgcM1mcWvGusZGHldGuvYLyMLCn1pfCfih9q_8yg6GyZSAjWb_5P37X29AxjVKrcF7Q-me371j0Y16LqCiWn_V61wnxHtQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647439,\"updated\":1619647439,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "728", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c42fd92b-a95c-4e82-abc8-d23ffa6be0ed", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1ad9f70b-1776-4432-8348-86808ae2750f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-\",\"deletedDate\":1619647439,\"scheduledPurgeDate\":1620252239,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/37c900a5499744838a14dbdca8dc2658\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uYdn95Og-9Q1klYRg2JaMMbI9mch57TmHsvgcRggyp76q3bKfiKF_LwQgv8QVz6Er2ZPYI7epAiiaECX3UrMlr7uwvreoqq86URfAlXkelWCh1TDdIL0IdpEdU4U1X6U8hj4g5ZRvPzg3cB1FTcForbhNwnRaGmIMAJhcVCQ4sy1EaltFiQt4e886rMrpOYeVwJQmXUn7m0YEugoAsAvv8Xy6TyNxcS5iX7d1A0VEbdZ2uGj8MiQ1n1nKgcM1mcWvGusZGHldGuvYLyMLCn1pfCfih9q_8yg6GyZSAjWb_5P37X29AxjVKrcF7Q-me371j0Y16LqCiWn_V61wnxHtQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647439,\"updated\":1619647439,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "901", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a2b5d36b-07c0-42bb-aca6-b2ae777a00dc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "86a5b438-ea0d-4a6f-af36-752959f9d644", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d8587242-a920-4835-9fb1-31aaa56420c2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "34cd467b-8c98-48cc-8ee3-1c4b74a1d294", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:03:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4cae57d3-c90d-4e41-8aee-a98b7f08d496", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f3be2e5d-38ea-40f1-b2ff-e6b05b8a8ec5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "38aec243-1d85-4f9f-a021-157c559e22e4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0a6a03a6-2ac1-4abf-bf64-9f29bd11f1bc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ccca9037-89d2-4aa2-b7ba-c210576f808f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5522388d-c24e-4b5e-9008-a33d9e0e6c3d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cb9d3a4c-d358-4187-b4a2-5ea9a0465292", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cf522226-542c-4cb3-a390-ea7b4d80e369", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "794ece84-6c59-4d2e-aa15-90cfec3b7357", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e7a8e7f9-d3a9-47f3-9eb7-20bdc34bee0d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "320f9427-3c97-4ac1-8441-c9bcbf96e130", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7a0b126b-143b-48a2-8945-46a75c79338e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f271deba-3e74-42d3-9f91-f19946f11364", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3424ceb3-3168-44ef-af50-2136bbeebb71", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5d91505e-e157-4cef-bc07-7638426c3f6c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e3246d7c-1d73-4bc9-8bde-245c7380b21e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "13bef76a-ca47-406f-9e66-e5ffce5ed294", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e57c8823-1a34-43bb-8a81-603cd6557d07", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateaRSAkeywithsize-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2f73d9ea-35bf-45b0-8d2a-ebea25b9c737", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "98276d14-6e17-41d2-bcc7-52666d3295bd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-\",\"deletedDate\":1619647439,\"scheduledPurgeDate\":1620252239,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateaRSAkeywithsize-/37c900a5499744838a14dbdca8dc2658\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uYdn95Og-9Q1klYRg2JaMMbI9mch57TmHsvgcRggyp76q3bKfiKF_LwQgv8QVz6Er2ZPYI7epAiiaECX3UrMlr7uwvreoqq86URfAlXkelWCh1TDdIL0IdpEdU4U1X6U8hj4g5ZRvPzg3cB1FTcForbhNwnRaGmIMAJhcVCQ4sy1EaltFiQt4e886rMrpOYeVwJQmXUn7m0YEugoAsAvv8Xy6TyNxcS5iX7d1A0VEbdZ2uGj8MiQ1n1nKgcM1mcWvGusZGHldGuvYLyMLCn1pfCfih9q_8yg6GyZSAjWb_5P37X29AxjVKrcF7Q-me371j0Y16LqCiWn_V61wnxHtQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647439,\"updated\":1619647439,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "901", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d17e432a-771c-4f4f-8e17-4000cfb98d06", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0e2347a3-9cfe-46b9-978b-696304c935e5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateaRSAkeywithsize-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:04:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f662d4dc-f49f-4e0c-8055-f99184c266a9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "30e9609b-fc2b-4799-88b6-6135fdd6485f", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "55973b746ee9a62f62c3ec9cf3565343" -} \ No newline at end of file + "hash": "55973b746ee9a62f62c3ec9cf3565343" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_ec_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_ec_key.json index 1e94a0415e67..4012e7d82627 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_ec_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_ec_key.json @@ -1,734 +1,734 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "067f42db-32ce-4b69-854e-346f8bf205f3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c7293265-a53c-4541-aa80-11c3ac6e9279", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "067f42db-32ce-4b69-854e-346f8bf205f3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c7293265-a53c-4541-aa80-11c3ac6e9279", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:42 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "2581370d-525c-449a-8781-7cf3ec1d5401" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"EC\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/970837969d2446d9a5e2247b1e992c1a\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"clKxRTC6u1VnJEqS7Hqjhlf0iuTK4n-7i8dSPS-pAp4\",\"y\":\"eEw-1XLJWslcQKby5sx-hA0G82bJb24EwCr9rB1-nqA\"},\"attributes\":{\"enabled\":true,\"created\":1619647482,\"updated\":1619647482,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "432", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "067f42db-32ce-4b69-854e-346f8bf205f3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8c67621e-5031-4dcf-8d2b-b02e61f53476", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-\",\"deletedDate\":1619647482,\"scheduledPurgeDate\":1620252282,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/970837969d2446d9a5e2247b1e992c1a\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"clKxRTC6u1VnJEqS7Hqjhlf0iuTK4n-7i8dSPS-pAp4\",\"y\":\"eEw-1XLJWslcQKby5sx-hA0G82bJb24EwCr9rB1-nqA\"},\"attributes\":{\"enabled\":true,\"created\":1619647482,\"updated\":1619647482,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "598", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d747d47b-9079-4f54-b3c0-3eb1c0730543", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "79d5126a-2909-4237-add7-baba5eb2dcbb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f0b282b4-61b1-4baa-9aba-b8d8e9f5f4dd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "95f25088-b104-4cc4-8802-f5396f685b07", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bc680de7-3936-4bfd-b29d-f23d18ed4577", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e69cb875-3b88-4112-9d09-1de017df9196", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "82d4aa47-dfc9-464e-9011-b9bfb29001d6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "462525ad-fbff-4b10-b80e-cacc255216b1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2e8b3350-95a0-41ba-a8ef-b1255d0b3968", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ff82bd11-a851-46e8-af92-552f6af7cac5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3703e9dd-f0a3-4abb-beee-e6bbe1d31571", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "291beb15-2b74-462d-9957-7453f46d8cf7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a46466e1-a6c9-4f89-a5cc-5eb0a679a71a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d174c166-93c6-4feb-8301-1b4a2882cd86", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2dc17065-c8fe-49c8-b8df-2e73b3886c76", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d5e004b9-81f4-4c77-8aa4-e0c201b5034e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e920fe6b-b903-4672-bb65-7752c6336e60", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8ef3b7ff-c866-4f1b-9994-4f7b7db6669c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:04:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7a5f973a-a1b9-48cf-bd84-a1fa1a8fe0a6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ad470127-ad1b-4922-8ab8-e86f54636d68", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4fba21a7-f5ad-40b6-bd5c-d2406d2a1878", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6785b55f-f3bf-4c88-bef4-2ac23add5812", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "872f9d77-b8d2-4c81-bc4b-70187f8f0a22", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "157eba72-ef46-4d04-bdbd-41880829d9c6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "937868ce-fa61-464b-904f-361632d6b6a7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "64162fa5-2da0-49bb-a88d-077121ae4dd9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5b70a0b1-36b9-43ef-90e8-64587f9cd0c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "81d0cfdf-8fb1-4ed0-8de5-0bfd1cb60d4e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7690406f-aad3-4a43-a4e3-72bb81a9b390", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d6b1697c-1083-4505-8043-2b7b6d6cd2a2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0791dfc4-00f3-4bb1-ac8b-a2791587be52", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d248b5ce-3c3f-4b77-96c2-17b50eb26164", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "31bed4d1-ce43-431b-901d-da4c2d5036ce", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d8f90ab1-d192-4205-82ec-c4c4b47907f2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "76f1cf26-0101-4289-9602-685551eb79d8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b0ac565e-e45f-42cf-8894-68fc016b3e05", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2601f273-52c7-4d56-825d-4a4c233f096a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9874bf50-d93a-4763-8136-1419801d31b1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7042f1a7-4b84-45ea-9df6-6e2a7972d5e7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4e138325-abe2-4269-8614-a4444374bb1a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "16b83f39-8239-4d7a-ae06-07c4881b2e00", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "28965ff5-b807-44d1-a771-8db4455270b3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "131b2ab2-fefa-462b-b2ab-84abaf00bc6d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e3d80af5-1839-4e9c-9ecb-40735976e2b1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-\",\"deletedDate\":1619647482,\"scheduledPurgeDate\":1620252282,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/970837969d2446d9a5e2247b1e992c1a\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"clKxRTC6u1VnJEqS7Hqjhlf0iuTK4n-7i8dSPS-pAp4\",\"y\":\"eEw-1XLJWslcQKby5sx-hA0G82bJb24EwCr9rB1-nqA\"},\"attributes\":{\"enabled\":true,\"created\":1619647482,\"updated\":1619647482,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "598", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bf8288cd-abaa-40ab-95ca-cefba5a07076", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3d2c43a9-3dbf-4add-b8be-dd0bc590ded2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:05:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3ad3edb8-3f55-40ff-a7d3-e23f3608078a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4fa068ce-54b3-4e33-a501-4a9e3785bbae", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:42 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "2581370d-525c-449a-8781-7cf3ec1d5401" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"EC\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/970837969d2446d9a5e2247b1e992c1a\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"clKxRTC6u1VnJEqS7Hqjhlf0iuTK4n-7i8dSPS-pAp4\",\"y\":\"eEw-1XLJWslcQKby5sx-hA0G82bJb24EwCr9rB1-nqA\"},\"attributes\":{\"enabled\":true,\"created\":1619647482,\"updated\":1619647482,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "432", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "067f42db-32ce-4b69-854e-346f8bf205f3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8c67621e-5031-4dcf-8d2b-b02e61f53476", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-\",\"deletedDate\":1619647482,\"scheduledPurgeDate\":1620252282,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/970837969d2446d9a5e2247b1e992c1a\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"clKxRTC6u1VnJEqS7Hqjhlf0iuTK4n-7i8dSPS-pAp4\",\"y\":\"eEw-1XLJWslcQKby5sx-hA0G82bJb24EwCr9rB1-nqA\"},\"attributes\":{\"enabled\":true,\"created\":1619647482,\"updated\":1619647482,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "598", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d747d47b-9079-4f54-b3c0-3eb1c0730543", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "79d5126a-2909-4237-add7-baba5eb2dcbb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f0b282b4-61b1-4baa-9aba-b8d8e9f5f4dd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "95f25088-b104-4cc4-8802-f5396f685b07", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bc680de7-3936-4bfd-b29d-f23d18ed4577", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e69cb875-3b88-4112-9d09-1de017df9196", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "82d4aa47-dfc9-464e-9011-b9bfb29001d6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "462525ad-fbff-4b10-b80e-cacc255216b1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2e8b3350-95a0-41ba-a8ef-b1255d0b3968", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ff82bd11-a851-46e8-af92-552f6af7cac5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3703e9dd-f0a3-4abb-beee-e6bbe1d31571", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "291beb15-2b74-462d-9957-7453f46d8cf7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a46466e1-a6c9-4f89-a5cc-5eb0a679a71a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d174c166-93c6-4feb-8301-1b4a2882cd86", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2dc17065-c8fe-49c8-b8df-2e73b3886c76", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d5e004b9-81f4-4c77-8aa4-e0c201b5034e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e920fe6b-b903-4672-bb65-7752c6336e60", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8ef3b7ff-c866-4f1b-9994-4f7b7db6669c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:04:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7a5f973a-a1b9-48cf-bd84-a1fa1a8fe0a6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ad470127-ad1b-4922-8ab8-e86f54636d68", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4fba21a7-f5ad-40b6-bd5c-d2406d2a1878", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6785b55f-f3bf-4c88-bef4-2ac23add5812", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "872f9d77-b8d2-4c81-bc4b-70187f8f0a22", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "157eba72-ef46-4d04-bdbd-41880829d9c6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "937868ce-fa61-464b-904f-361632d6b6a7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "64162fa5-2da0-49bb-a88d-077121ae4dd9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5b70a0b1-36b9-43ef-90e8-64587f9cd0c5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "81d0cfdf-8fb1-4ed0-8de5-0bfd1cb60d4e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7690406f-aad3-4a43-a4e3-72bb81a9b390", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d6b1697c-1083-4505-8043-2b7b6d6cd2a2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0791dfc4-00f3-4bb1-ac8b-a2791587be52", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d248b5ce-3c3f-4b77-96c2-17b50eb26164", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "31bed4d1-ce43-431b-901d-da4c2d5036ce", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d8f90ab1-d192-4205-82ec-c4c4b47907f2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "76f1cf26-0101-4289-9602-685551eb79d8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b0ac565e-e45f-42cf-8894-68fc016b3e05", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2601f273-52c7-4d56-825d-4a4c233f096a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9874bf50-d93a-4763-8136-1419801d31b1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7042f1a7-4b84-45ea-9df6-6e2a7972d5e7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4e138325-abe2-4269-8614-a4444374bb1a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "16b83f39-8239-4d7a-ae06-07c4881b2e00", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "28965ff5-b807-44d1-a771-8db4455270b3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "131b2ab2-fefa-462b-b2ab-84abaf00bc6d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e3d80af5-1839-4e9c-9ecb-40735976e2b1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-\",\"deletedDate\":1619647482,\"scheduledPurgeDate\":1620252282,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkey-/970837969d2446d9a5e2247b1e992c1a\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"clKxRTC6u1VnJEqS7Hqjhlf0iuTK4n-7i8dSPS-pAp4\",\"y\":\"eEw-1XLJWslcQKby5sx-hA0G82bJb24EwCr9rB1-nqA\"},\"attributes\":{\"enabled\":true,\"created\":1619647482,\"updated\":1619647482,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "598", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bf8288cd-abaa-40ab-95ca-cefba5a07076", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3d2c43a9-3dbf-4add-b8be-dd0bc590ded2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:05:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3ad3edb8-3f55-40ff-a7d3-e23f3608078a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4fa068ce-54b3-4e33-a501-4a9e3785bbae", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "15d433c1aa30209f7b7f97bcb18c9b2c" -} \ No newline at end of file + "hash": "15d433c1aa30209f7b7f97bcb18c9b2c" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_ec_key_with_curve.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_ec_key_with_curve.json index 0e8ca6e84174..debf60bad825 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_ec_key_with_curve.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_ec_key_with_curve.json @@ -1,491 +1,491 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0134201b-817a-4d14-a5af-9e3cbefc34c5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fac2483b-ff3a-4347-a223-ea6af819b226", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0134201b-817a-4d14-a5af-9e3cbefc34c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fac2483b-ff3a-4347-a223-ea6af819b226", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:25 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "2581370d-525c-449a-8781-7cf327245401" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"EC\",\"attributes\":{},\"crv\":\"P-256\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/5a688aed7b5d42118c5ec51b27f2703d\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"mowGUuk-5h2b1-DCPj9tuBvU44FDL2HtDKqpmy9nxZc\",\"y\":\"J4kMCZI7TxPZsvAr_-jO6ic6ge8qri5pFcJ_ss5Uxfs\"},\"attributes\":{\"enabled\":true,\"created\":1619647525,\"updated\":1619647525,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "440", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0134201b-817a-4d14-a5af-9e3cbefc34c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "08284930-14ff-45f6-898b-c0c939d5dbb0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-\",\"deletedDate\":1619647526,\"scheduledPurgeDate\":1620252326,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/5a688aed7b5d42118c5ec51b27f2703d\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"mowGUuk-5h2b1-DCPj9tuBvU44FDL2HtDKqpmy9nxZc\",\"y\":\"J4kMCZI7TxPZsvAr_-jO6ic6ge8qri5pFcJ_ss5Uxfs\"},\"attributes\":{\"enabled\":true,\"created\":1619647525,\"updated\":1619647525,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "614", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "141d7d38-9729-4736-8701-69f9d4b5e7e4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "35483c4e-7f10-454e-8fb6-9d6f48f2de85", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a0eea850-12ba-4e2c-9f2d-c004ede9b49e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b2bf8bc1-5c75-42ae-91ed-c6032de1a3a6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e33f5722-e7d7-4eb9-bf59-113087e44963", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "16419687-0fbc-47d5-85e4-68a5be7be018", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d181f3b5-accf-42a1-b4f7-bd3d67317386", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2dcd5f54-9439-4ed0-969a-56c88c43ca39", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "97a1c1b4-ad5f-4c21-ac62-8a5902335f22", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2477dfed-a22e-4752-b200-222240169fd3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c52d5211-5a26-4449-99c5-f832568293f1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2ce8488d-b62e-468b-87f4-328d84a85bc3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b795d737-7bc9-4ded-b700-ffcda44439e0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1f8cd45d-e10f-40cb-b14f-8bdef476d2ed", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "92cbc79d-1e16-467a-bf5b-48fcc4ae4bf6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5c6e6e96-3bba-4057-b363-077940df07b2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e8299bf9-2cbd-4c77-b707-7e1191d69210", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "62b6f77f-5f7d-4fdf-9662-c76302aa35d1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e1519fa3-0573-47d4-ab26-c51a2da618f1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "84a5a962-298f-475d-893b-3a9e1f17ee9d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "61a655da-13cd-48e6-8c01-b913a057c8e5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "db8ff009-1663-43ca-a72c-928cc505396b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8b9efc1c-9e4d-4f5e-96dc-a36fe02f14bb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8e09cdd3-0b10-4339-85ae-f63bba8b49c7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "122", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "41023edb-c7c9-4594-be0f-583768acf2c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5912bb7f-1d15-4bc6-bd4b-31d5ea5e2132", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-\",\"deletedDate\":1619647526,\"scheduledPurgeDate\":1620252326,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/5a688aed7b5d42118c5ec51b27f2703d\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"mowGUuk-5h2b1-DCPj9tuBvU44FDL2HtDKqpmy9nxZc\",\"y\":\"J4kMCZI7TxPZsvAr_-jO6ic6ge8qri5pFcJ_ss5Uxfs\"},\"attributes\":{\"enabled\":true,\"created\":1619647525,\"updated\":1619647525,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "614", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:05:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "19f6a1be-1aaf-4270-b94e-9098646c57ca", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "27647a21-f7bf-43e1-875c-830a432e040b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:05:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d6761c61-03a5-40f4-a664-7dd7912d0135", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5c1de5f8-d829-4167-b3bc-8ada37b36cc2", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:25 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "2581370d-525c-449a-8781-7cf327245401" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"EC\",\"attributes\":{},\"crv\":\"P-256\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/5a688aed7b5d42118c5ec51b27f2703d\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"mowGUuk-5h2b1-DCPj9tuBvU44FDL2HtDKqpmy9nxZc\",\"y\":\"J4kMCZI7TxPZsvAr_-jO6ic6ge8qri5pFcJ_ss5Uxfs\"},\"attributes\":{\"enabled\":true,\"created\":1619647525,\"updated\":1619647525,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "440", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0134201b-817a-4d14-a5af-9e3cbefc34c5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "08284930-14ff-45f6-898b-c0c939d5dbb0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-\",\"deletedDate\":1619647526,\"scheduledPurgeDate\":1620252326,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/5a688aed7b5d42118c5ec51b27f2703d\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"mowGUuk-5h2b1-DCPj9tuBvU44FDL2HtDKqpmy9nxZc\",\"y\":\"J4kMCZI7TxPZsvAr_-jO6ic6ge8qri5pFcJ_ss5Uxfs\"},\"attributes\":{\"enabled\":true,\"created\":1619647525,\"updated\":1619647525,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "614", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "141d7d38-9729-4736-8701-69f9d4b5e7e4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "35483c4e-7f10-454e-8fb6-9d6f48f2de85", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a0eea850-12ba-4e2c-9f2d-c004ede9b49e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b2bf8bc1-5c75-42ae-91ed-c6032de1a3a6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e33f5722-e7d7-4eb9-bf59-113087e44963", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "16419687-0fbc-47d5-85e4-68a5be7be018", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d181f3b5-accf-42a1-b4f7-bd3d67317386", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2dcd5f54-9439-4ed0-969a-56c88c43ca39", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "97a1c1b4-ad5f-4c21-ac62-8a5902335f22", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2477dfed-a22e-4752-b200-222240169fd3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c52d5211-5a26-4449-99c5-f832568293f1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2ce8488d-b62e-468b-87f4-328d84a85bc3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b795d737-7bc9-4ded-b700-ffcda44439e0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1f8cd45d-e10f-40cb-b14f-8bdef476d2ed", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "92cbc79d-1e16-467a-bf5b-48fcc4ae4bf6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5c6e6e96-3bba-4057-b363-077940df07b2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e8299bf9-2cbd-4c77-b707-7e1191d69210", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "62b6f77f-5f7d-4fdf-9662-c76302aa35d1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e1519fa3-0573-47d4-ab26-c51a2da618f1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "84a5a962-298f-475d-893b-3a9e1f17ee9d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "61a655da-13cd-48e6-8c01-b913a057c8e5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "db8ff009-1663-43ca-a72c-928cc505396b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8b9efc1c-9e4d-4f5e-96dc-a36fe02f14bb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8e09cdd3-0b10-4339-85ae-f63bba8b49c7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cancreateanECkeywithcurve-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "122", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "41023edb-c7c9-4594-be0f-583768acf2c5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5912bb7f-1d15-4bc6-bd4b-31d5ea5e2132", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-\",\"deletedDate\":1619647526,\"scheduledPurgeDate\":1620252326,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanECkeywithcurve-/5a688aed7b5d42118c5ec51b27f2703d\",\"kty\":\"EC\",\"key_ops\":[\"sign\",\"verify\"],\"crv\":\"P-256\",\"x\":\"mowGUuk-5h2b1-DCPj9tuBvU44FDL2HtDKqpmy9nxZc\",\"y\":\"J4kMCZI7TxPZsvAr_-jO6ic6ge8qri5pFcJ_ss5Uxfs\"},\"attributes\":{\"enabled\":true,\"created\":1619647525,\"updated\":1619647525,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "614", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:05:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "19f6a1be-1aaf-4270-b94e-9098646c57ca", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "27647a21-f7bf-43e1-875c-830a432e040b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanECkeywithcurve-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:05:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d6761c61-03a5-40f4-a664-7dd7912d0135", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5c1de5f8-d829-4167-b3bc-8ada37b36cc2", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "5a9bdbf216e8894a998b745de07d73ec" -} \ No newline at end of file + "hash": "5a9bdbf216e8894a998b745de07d73ec" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_oct_key_with_options.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_oct_key_with_options.json index b4d87836cd2d..6af78d9c321b 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_oct_key_with_options.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_create_an_oct_key_with_options.json @@ -1,146 +1,146 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-request-id": "2e445fd8-64ef-11eb-8854-0242ac12000b", - "x-ms-server-latency": "1" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/azure_tenant_id\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "2e445fd8-64ef-11eb-8854-0242ac12000b", + "x-ms-server-latency": "1" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Tue, 02 Feb 2021 00:39:59 GMT", + "expires": "-1", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11444.12 - NCUS ProdSlices", + "x-ms-request-id": "599892fb-32d8-4b74-8211-f87a6deaaf00" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"oct-HSM\",\"attributes\":{}}", + "status": 200, + "response": "{\"attributes\":{\"created\":1612226400,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1612226400},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/86b28bf6c92e012781fb30a70306963d\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "379", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "2e75adea-64ef-11eb-8854-0242ac12000b", + "x-ms-server-latency": "213" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1612226400,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1612226400},\"deletedDate\":1612226400,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/86b28bf6c92e012781fb30a70306963d\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-\",\"scheduledPurgeDate\":1620002400}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "565", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "2eaf3916-64ef-11eb-8854-0242ac12000b", + "x-ms-server-latency": "136" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1612226400,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1612226400},\"deletedDate\":1612226400,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/86b28bf6c92e012781fb30a70306963d\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-\",\"scheduledPurgeDate\":1620002400}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "565", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210128-1-4c3070d1-develop", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "2edd61d8-64ef-11eb-8854-0242ac12000b", + "x-ms-server-latency": "59" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "addr=50.35.231.105", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "2efee5ba-64ef-11eb-8854-0242ac12000b", + "x-ms-server-latency": "144" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Tue, 02 Feb 2021 00:39:59 GMT", - "expires": "-1", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11444.12 - NCUS ProdSlices", - "x-ms-request-id": "599892fb-32d8-4b74-8211-f87a6deaaf00" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"oct-HSM\",\"attributes\":{}}", - "status": 200, - "response": "{\"attributes\":{\"created\":1612226400,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1612226400},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/86b28bf6c92e012781fb30a70306963d\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "379", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "2e75adea-64ef-11eb-8854-0242ac12000b", - "x-ms-server-latency": "213" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1612226400,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1612226400},\"deletedDate\":1612226400,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/86b28bf6c92e012781fb30a70306963d\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-\",\"scheduledPurgeDate\":1620002400}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "565", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "2eaf3916-64ef-11eb-8854-0242ac12000b", - "x-ms-server-latency": "136" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1612226400,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1612226400},\"deletedDate\":1612226400,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/86b28bf6c92e012781fb30a70306963d\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-\",\"scheduledPurgeDate\":1620002400}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "565", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210128-1-4c3070d1-develop", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "2edd61d8-64ef-11eb-8854-0242ac12000b", - "x-ms-server-latency": "59" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "addr=50.35.231.105", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "2efee5ba-64ef-11eb-8854-0242ac12000b", - "x-ms-server-latency": "144" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "64c08f41e8c6efba5a7e8bbc460760f0" + "hash": "64c08f41e8c6efba5a7e8bbc460760f0" } diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_delete_a_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_delete_a_key.json index 4054092f6300..cf68939a49b8 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_delete_a_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_delete_a_key.json @@ -1,761 +1,761 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c71f4de1-c1c8-43d4-86fc-4bc44b1306be", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4f24d763-3d2b-4175-8308-f4b22ab10aea", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c71f4de1-c1c8-43d4-86fc-4bc44b1306be", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4f24d763-3d2b-4175-8308-f4b22ab10aea", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:08 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "786f5b8e-426b-446f-974d-918f548e2b00" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/5701ca5eefe1401fab4443b85fca02ca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xxj-ZMrV_yuscPIfAxSRlIHx5gu1X0mDhVCELvpN30m9OOrcLCQP8fWypMpzYPwI8D9URHOKdgSiPC_cGqd-T8lwpRQvNsEMg44ZYadpSdeTIzIGERzhAjTW6y4D8SWNw0vi3U9pJ4zKEHXcHqBdanheGRx91dhv4ZoAQtASXn8VUa0rlZvq64JWsVByLZGZI2rHvjnUIl2WF1EukCOmMjFBt83wY9zaE_N6_dD9pV-vZoGFZeyQFxgf5-9OYKYY_0wWsxosLPLRiyE7BQEMds2k0zOpWxSvQC8-eaFehuzpL-gVx-JjMdQN37AKYMLpoVJ33GZzmrOnhS1CtV8C-Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647748,\"updated\":1619647748,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "718", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c71f4de1-c1c8-43d4-86fc-4bc44b1306be", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e4705533-3d33-49f3-978f-8b4593ed49c8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-\",\"deletedDate\":1619647749,\"scheduledPurgeDate\":1620252549,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/5701ca5eefe1401fab4443b85fca02ca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xxj-ZMrV_yuscPIfAxSRlIHx5gu1X0mDhVCELvpN30m9OOrcLCQP8fWypMpzYPwI8D9URHOKdgSiPC_cGqd-T8lwpRQvNsEMg44ZYadpSdeTIzIGERzhAjTW6y4D8SWNw0vi3U9pJ4zKEHXcHqBdanheGRx91dhv4ZoAQtASXn8VUa0rlZvq64JWsVByLZGZI2rHvjnUIl2WF1EukCOmMjFBt83wY9zaE_N6_dD9pV-vZoGFZeyQFxgf5-9OYKYY_0wWsxosLPLRiyE7BQEMds2k0zOpWxSvQC8-eaFehuzpL-gVx-JjMdQN37AKYMLpoVJ33GZzmrOnhS1CtV8C-Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647748,\"updated\":1619647748,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "881", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "64756ae1-a4d5-4ea7-8295-d49969a54b14", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d9732cb6-22a2-48ea-937f-eef6bf695809", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "25745044-f4dd-4dcc-a24f-e31ec4d56c4b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "23718684-c1a1-4c6d-bf47-fa30fe1e6e88", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d367ab20-ffcb-49c5-9abc-5a81d45fbc11", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e65d5994-82bc-4676-8d32-99d55c47f382", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "02eaca8e-0652-4a87-86a4-4c8f82c21721", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "17e23634-6f2f-4997-9439-be90b1699bc7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1260f928-56f7-481f-950b-9f9a7ac0f9bc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1a8906bd-913e-496f-a5fd-6351d660b6c8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a724004f-698b-48b2-be13-a8a91fd0539c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "288e3286-13d5-4dbf-a4cf-42edc8a7e305", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d7c31b76-00d1-40f2-89a7-798a8549e3ef", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3e709fa1-7d86-412c-ab3b-18a817692165", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "02dd4085-d40c-444b-8eb3-48474cda584f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2024bd62-d90b-4eaf-905e-f0cc1bb3c11d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3616e5d9-552a-49be-a2d4-280c44528a1e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "351002ef-de28-4a7a-90e3-094002e2dadc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ee3e6208-d060-4882-9e51-609f0c72f154", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "18ae5a7b-4e9b-455f-9eac-51d457b0aeee", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f4217f8d-74a1-40f6-af24-8d5d7d14d381", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3ac108be-9253-48ca-85f5-15c95b3a72f7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d5a0169d-a0f5-4337-ac74-c9218ec43bcb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "74950c41-e417-48b2-b085-8d15e4669828", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "577ea89c-d310-4062-9715-0be2aaa46e3e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "05e86776-cf45-4d83-9f41-d1a9ab89fcf2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f786c5cd-31ac-4fc6-8789-8e1d8a47c20d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0c20ffe8-d093-446b-8a12-932bcf8e9aad", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "80534beb-881b-4a80-b2e1-cb21ecd837f6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f6fedfaa-131d-48ce-93ed-ffa1c14f8306", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e53f792d-e7e8-4254-8673-aa4cc6d66414", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3b8b6291-791b-4d74-9863-b5023a7438bf", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "70a10dcd-825a-428f-9631-be08d78b9bd6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c781977d-a2ad-44a6-82e0-27c8a3dd74ab", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ef8c80ae-f846-460a-918c-b22d3d5c5b69", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ef491828-3a9f-4469-bedb-30aa77ba773d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3b068c39-f1b2-47db-88d4-4176a1d8e1bd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "015bcbd1-22c8-4a92-93b2-40ef02a09ff3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "17c21d7b-5cae-45ff-9a07-403848876b25", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ff57ef3d-e1ff-420a-a19a-b7d722352a61", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0c728b7a-7a4d-4769-97df-4a06a44daf15", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "af4cd684-c261-4fc3-b1cd-b5fee142d96e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "111", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d905ca21-5c88-4bd8-859d-a614aa59a589", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7fd1b6e4-ac3f-437c-8bf1-6da961eff824", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-\",\"deletedDate\":1619647749,\"scheduledPurgeDate\":1620252549,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/5701ca5eefe1401fab4443b85fca02ca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xxj-ZMrV_yuscPIfAxSRlIHx5gu1X0mDhVCELvpN30m9OOrcLCQP8fWypMpzYPwI8D9URHOKdgSiPC_cGqd-T8lwpRQvNsEMg44ZYadpSdeTIzIGERzhAjTW6y4D8SWNw0vi3U9pJ4zKEHXcHqBdanheGRx91dhv4ZoAQtASXn8VUa0rlZvq64JWsVByLZGZI2rHvjnUIl2WF1EukCOmMjFBt83wY9zaE_N6_dD9pV-vZoGFZeyQFxgf5-9OYKYY_0wWsxosLPLRiyE7BQEMds2k0zOpWxSvQC8-eaFehuzpL-gVx-JjMdQN37AKYMLpoVJ33GZzmrOnhS1CtV8C-Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647748,\"updated\":1619647748,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "881", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1e143089-d4df-480b-aa85-15eb37e0a658", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4c25cd24-1727-4cf5-acc7-b6ff46f43e1e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) CRUDKeyName-candeleteakey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "331", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f75c5517-e5d7-4333-a84d-d4a49367374c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "07836da7-2577-4b14-8326-07a93c8931e1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:09:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1744ade8-27a6-479b-8f3f-e870acea5a1d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "437dd871-3b35-4a7e-80c6-0cfa48bc5191", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:08 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "786f5b8e-426b-446f-974d-918f548e2b00" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/5701ca5eefe1401fab4443b85fca02ca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xxj-ZMrV_yuscPIfAxSRlIHx5gu1X0mDhVCELvpN30m9OOrcLCQP8fWypMpzYPwI8D9URHOKdgSiPC_cGqd-T8lwpRQvNsEMg44ZYadpSdeTIzIGERzhAjTW6y4D8SWNw0vi3U9pJ4zKEHXcHqBdanheGRx91dhv4ZoAQtASXn8VUa0rlZvq64JWsVByLZGZI2rHvjnUIl2WF1EukCOmMjFBt83wY9zaE_N6_dD9pV-vZoGFZeyQFxgf5-9OYKYY_0wWsxosLPLRiyE7BQEMds2k0zOpWxSvQC8-eaFehuzpL-gVx-JjMdQN37AKYMLpoVJ33GZzmrOnhS1CtV8C-Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647748,\"updated\":1619647748,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "718", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c71f4de1-c1c8-43d4-86fc-4bc44b1306be", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e4705533-3d33-49f3-978f-8b4593ed49c8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-\",\"deletedDate\":1619647749,\"scheduledPurgeDate\":1620252549,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/5701ca5eefe1401fab4443b85fca02ca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xxj-ZMrV_yuscPIfAxSRlIHx5gu1X0mDhVCELvpN30m9OOrcLCQP8fWypMpzYPwI8D9URHOKdgSiPC_cGqd-T8lwpRQvNsEMg44ZYadpSdeTIzIGERzhAjTW6y4D8SWNw0vi3U9pJ4zKEHXcHqBdanheGRx91dhv4ZoAQtASXn8VUa0rlZvq64JWsVByLZGZI2rHvjnUIl2WF1EukCOmMjFBt83wY9zaE_N6_dD9pV-vZoGFZeyQFxgf5-9OYKYY_0wWsxosLPLRiyE7BQEMds2k0zOpWxSvQC8-eaFehuzpL-gVx-JjMdQN37AKYMLpoVJ33GZzmrOnhS1CtV8C-Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647748,\"updated\":1619647748,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "881", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "64756ae1-a4d5-4ea7-8295-d49969a54b14", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d9732cb6-22a2-48ea-937f-eef6bf695809", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "25745044-f4dd-4dcc-a24f-e31ec4d56c4b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "23718684-c1a1-4c6d-bf47-fa30fe1e6e88", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d367ab20-ffcb-49c5-9abc-5a81d45fbc11", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e65d5994-82bc-4676-8d32-99d55c47f382", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "02eaca8e-0652-4a87-86a4-4c8f82c21721", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "17e23634-6f2f-4997-9439-be90b1699bc7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1260f928-56f7-481f-950b-9f9a7ac0f9bc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1a8906bd-913e-496f-a5fd-6351d660b6c8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a724004f-698b-48b2-be13-a8a91fd0539c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "288e3286-13d5-4dbf-a4cf-42edc8a7e305", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d7c31b76-00d1-40f2-89a7-798a8549e3ef", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3e709fa1-7d86-412c-ab3b-18a817692165", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "02dd4085-d40c-444b-8eb3-48474cda584f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2024bd62-d90b-4eaf-905e-f0cc1bb3c11d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3616e5d9-552a-49be-a2d4-280c44528a1e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "351002ef-de28-4a7a-90e3-094002e2dadc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ee3e6208-d060-4882-9e51-609f0c72f154", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "18ae5a7b-4e9b-455f-9eac-51d457b0aeee", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f4217f8d-74a1-40f6-af24-8d5d7d14d381", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3ac108be-9253-48ca-85f5-15c95b3a72f7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d5a0169d-a0f5-4337-ac74-c9218ec43bcb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "74950c41-e417-48b2-b085-8d15e4669828", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "577ea89c-d310-4062-9715-0be2aaa46e3e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "05e86776-cf45-4d83-9f41-d1a9ab89fcf2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f786c5cd-31ac-4fc6-8789-8e1d8a47c20d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0c20ffe8-d093-446b-8a12-932bcf8e9aad", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "80534beb-881b-4a80-b2e1-cb21ecd837f6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f6fedfaa-131d-48ce-93ed-ffa1c14f8306", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e53f792d-e7e8-4254-8673-aa4cc6d66414", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3b8b6291-791b-4d74-9863-b5023a7438bf", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "70a10dcd-825a-428f-9631-be08d78b9bd6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c781977d-a2ad-44a6-82e0-27c8a3dd74ab", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ef8c80ae-f846-460a-918c-b22d3d5c5b69", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ef491828-3a9f-4469-bedb-30aa77ba773d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3b068c39-f1b2-47db-88d4-4176a1d8e1bd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "015bcbd1-22c8-4a92-93b2-40ef02a09ff3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "17c21d7b-5cae-45ff-9a07-403848876b25", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ff57ef3d-e1ff-420a-a19a-b7d722352a61", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0c728b7a-7a4d-4769-97df-4a06a44daf15", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "af4cd684-c261-4fc3-b1cd-b5fee142d96e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-candeleteakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "111", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d905ca21-5c88-4bd8-859d-a614aa59a589", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7fd1b6e4-ac3f-437c-8bf1-6da961eff824", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-\",\"deletedDate\":1619647749,\"scheduledPurgeDate\":1620252549,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/5701ca5eefe1401fab4443b85fca02ca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"xxj-ZMrV_yuscPIfAxSRlIHx5gu1X0mDhVCELvpN30m9OOrcLCQP8fWypMpzYPwI8D9URHOKdgSiPC_cGqd-T8lwpRQvNsEMg44ZYadpSdeTIzIGERzhAjTW6y4D8SWNw0vi3U9pJ4zKEHXcHqBdanheGRx91dhv4ZoAQtASXn8VUa0rlZvq64JWsVByLZGZI2rHvjnUIl2WF1EukCOmMjFBt83wY9zaE_N6_dD9pV-vZoGFZeyQFxgf5-9OYKYY_0wWsxosLPLRiyE7BQEMds2k0zOpWxSvQC8-eaFehuzpL-gVx-JjMdQN37AKYMLpoVJ33GZzmrOnhS1CtV8C-Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647748,\"updated\":1619647748,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "881", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1e143089-d4df-480b-aa85-15eb37e0a658", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4c25cd24-1727-4cf5-acc7-b6ff46f43e1e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-candeleteakey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) CRUDKeyName-candeleteakey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f75c5517-e5d7-4333-a84d-d4a49367374c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "07836da7-2577-4b14-8326-07a93c8931e1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-candeleteakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:09:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1744ade8-27a6-479b-8f3f-e870acea5a1d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "437dd871-3b35-4a7e-80c6-0cfa48bc5191", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "8fe443aea4bbb18d82a700ed2215c0e5" -} \ No newline at end of file + "hash": "8fe443aea4bbb18d82a700ed2215c0e5" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_deleted_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_deleted_key.json index b2eedb86f20a..d7faddeb47c4 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_deleted_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_deleted_key.json @@ -1,599 +1,599 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2ce97a69-06b9-403d-8ffd-b87fc54e25d4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "887fd2d2-7539-4651-8ad0-8c02251dbb60", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2ce97a69-06b9-403d-8ffd-b87fc54e25d4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "887fd2d2-7539-4651-8ad0-8c02251dbb60", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:44 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "c8b4fac2-0e48-414e-9442-21d8e82b2b00" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/bedd928c6b2b43c4a0054d1cd819199f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRsO7ethvgpKa8YJK7Sj16Tz5klg1yx1jZMBr8aXKrLY48ib8P199b-6f1lmzgpR1HxPA5EdG3KCQyDxr-lAHcIqUMujaS17rDv7mZtrpGojIfaPdWHuOGDo3axFQ2Q9nxlJqgU8e3aCybvV6Ls29Jr41UrQ5MhjuJqEpX4PZCfetqO1rybRjiWt6iMu055Ux7RNli5TmE0RhIA4bcjkoaksSI9kh3cUjkFpiygvtJcFAgZpeGmh48kL_RyxMbNJzi0d-MxUetZ89UbHygala7wncMAaob0KqwjoIYJcSExvPjAm3NBxyXHvwz-IGcfl5thRck6gxjRIHEKwOM1I6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647845,\"updated\":1619647845,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "721", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2ce97a69-06b9-403d-8ffd-b87fc54e25d4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4505e467-c8f9-4849-9818-0fdb7038e145", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-\",\"deletedDate\":1619647845,\"scheduledPurgeDate\":1620252645,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/bedd928c6b2b43c4a0054d1cd819199f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRsO7ethvgpKa8YJK7Sj16Tz5klg1yx1jZMBr8aXKrLY48ib8P199b-6f1lmzgpR1HxPA5EdG3KCQyDxr-lAHcIqUMujaS17rDv7mZtrpGojIfaPdWHuOGDo3axFQ2Q9nxlJqgU8e3aCybvV6Ls29Jr41UrQ5MhjuJqEpX4PZCfetqO1rybRjiWt6iMu055Ux7RNli5TmE0RhIA4bcjkoaksSI9kh3cUjkFpiygvtJcFAgZpeGmh48kL_RyxMbNJzi0d-MxUetZ89UbHygala7wncMAaob0KqwjoIYJcSExvPjAm3NBxyXHvwz-IGcfl5thRck6gxjRIHEKwOM1I6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647845,\"updated\":1619647845,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "887", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c3671df8-2976-485b-9d73-a878bd61721d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bfb78126-b6f9-4bee-b8bc-c8d7c11efb76", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "190a75af-8e0c-4676-a2b3-7dc8ca37f9d9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6debd463-d73f-4eec-a8c3-d089d00e0f2c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "35be6288-bcab-43bc-ba78-2e4e4d32e36f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cb6f477c-eb6f-440c-9293-b8188b494fb3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0f37c938-0f03-44a7-8a68-4fb0ec9c9773", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "413d1364-73f4-46e3-89a7-bcb8d0356af9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "59f10bee-631c-4e6c-abda-8da9bf75e6ab", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "448b1f7b-3269-4411-8ed4-ba61101604e6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d23648ea-e67a-4339-9437-7064620ec2ba", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3efc5ac8-76f9-4cac-baa0-9bdd6ce90727", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e46f9b01-94ea-4d40-b196-451cb60b7e56", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b80665ba-021a-4c9e-b2af-84b2c58d565d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f24641fe-1f7b-411e-bdb4-c1d1c765d5c3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1a217349-c01f-4fe6-bde3-5f310cfaa311", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "db04e7fe-d7c6-4fc1-b7b6-c4c29457f990", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c3c736a6-36da-40dd-9cd3-cad3c630e174", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c021840c-c37d-435c-ab26-91330947ddae", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d4b5d5fe-19a0-43bc-80bf-253cf4f6e5fe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2e1d0bcf-0d6d-464b-bee1-c5fe978ab7aa", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8ba26431-0fe9-4ccc-9f0b-ab64dcbdf40c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d99f276e-ed57-4357-96ff-26a7da428871", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "608c194c-815e-405f-93db-aeba37d5e4e6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2788fa1c-32a5-45ce-b9d8-5d1071c501c8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "83aa7247-301a-4959-a232-d65ade6541fb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2e3abf74-afd5-470a-a67c-41fd04fc1061", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b7ba9377-e5c9-43a8-a25b-d9e06cb6145d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "dc987f83-e155-4c6e-822e-010438ae169c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ec99bfa9-bf03-4546-9b6f-75665a9869d3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "871c9fc9-3900-4335-9961-abe15d811c62", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9f409a86-aa86-41fa-96f4-5b794ff04388", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-\",\"deletedDate\":1619647845,\"scheduledPurgeDate\":1620252645,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/bedd928c6b2b43c4a0054d1cd819199f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRsO7ethvgpKa8YJK7Sj16Tz5klg1yx1jZMBr8aXKrLY48ib8P199b-6f1lmzgpR1HxPA5EdG3KCQyDxr-lAHcIqUMujaS17rDv7mZtrpGojIfaPdWHuOGDo3axFQ2Q9nxlJqgU8e3aCybvV6Ls29Jr41UrQ5MhjuJqEpX4PZCfetqO1rybRjiWt6iMu055Ux7RNli5TmE0RhIA4bcjkoaksSI9kh3cUjkFpiygvtJcFAgZpeGmh48kL_RyxMbNJzi0d-MxUetZ89UbHygala7wncMAaob0KqwjoIYJcSExvPjAm3NBxyXHvwz-IGcfl5thRck6gxjRIHEKwOM1I6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647845,\"updated\":1619647845,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "887", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8ded8ff3-a4a1-4ca1-80cd-3b9b99fb8e26", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "312654f5-be5f-4e62-874e-78bb00b403b4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-\",\"deletedDate\":1619647845,\"scheduledPurgeDate\":1620252645,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/bedd928c6b2b43c4a0054d1cd819199f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRsO7ethvgpKa8YJK7Sj16Tz5klg1yx1jZMBr8aXKrLY48ib8P199b-6f1lmzgpR1HxPA5EdG3KCQyDxr-lAHcIqUMujaS17rDv7mZtrpGojIfaPdWHuOGDo3axFQ2Q9nxlJqgU8e3aCybvV6Ls29Jr41UrQ5MhjuJqEpX4PZCfetqO1rybRjiWt6iMu055Ux7RNli5TmE0RhIA4bcjkoaksSI9kh3cUjkFpiygvtJcFAgZpeGmh48kL_RyxMbNJzi0d-MxUetZ89UbHygala7wncMAaob0KqwjoIYJcSExvPjAm3NBxyXHvwz-IGcfl5thRck6gxjRIHEKwOM1I6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647845,\"updated\":1619647845,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "887", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3db16c05-d0bc-4f77-a0f3-7814eaca011f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2a03fb3c-486e-4a3d-bb8c-57d98b027f7a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:11:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1e9b23be-65f6-4601-9a45-21d114a79810", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "640b336f-c108-4fd1-9fa6-c5976de65a84", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:44 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "c8b4fac2-0e48-414e-9442-21d8e82b2b00" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/bedd928c6b2b43c4a0054d1cd819199f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRsO7ethvgpKa8YJK7Sj16Tz5klg1yx1jZMBr8aXKrLY48ib8P199b-6f1lmzgpR1HxPA5EdG3KCQyDxr-lAHcIqUMujaS17rDv7mZtrpGojIfaPdWHuOGDo3axFQ2Q9nxlJqgU8e3aCybvV6Ls29Jr41UrQ5MhjuJqEpX4PZCfetqO1rybRjiWt6iMu055Ux7RNli5TmE0RhIA4bcjkoaksSI9kh3cUjkFpiygvtJcFAgZpeGmh48kL_RyxMbNJzi0d-MxUetZ89UbHygala7wncMAaob0KqwjoIYJcSExvPjAm3NBxyXHvwz-IGcfl5thRck6gxjRIHEKwOM1I6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647845,\"updated\":1619647845,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "721", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2ce97a69-06b9-403d-8ffd-b87fc54e25d4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4505e467-c8f9-4849-9818-0fdb7038e145", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-\",\"deletedDate\":1619647845,\"scheduledPurgeDate\":1620252645,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/bedd928c6b2b43c4a0054d1cd819199f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRsO7ethvgpKa8YJK7Sj16Tz5klg1yx1jZMBr8aXKrLY48ib8P199b-6f1lmzgpR1HxPA5EdG3KCQyDxr-lAHcIqUMujaS17rDv7mZtrpGojIfaPdWHuOGDo3axFQ2Q9nxlJqgU8e3aCybvV6Ls29Jr41UrQ5MhjuJqEpX4PZCfetqO1rybRjiWt6iMu055Ux7RNli5TmE0RhIA4bcjkoaksSI9kh3cUjkFpiygvtJcFAgZpeGmh48kL_RyxMbNJzi0d-MxUetZ89UbHygala7wncMAaob0KqwjoIYJcSExvPjAm3NBxyXHvwz-IGcfl5thRck6gxjRIHEKwOM1I6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647845,\"updated\":1619647845,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "887", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c3671df8-2976-485b-9d73-a878bd61721d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bfb78126-b6f9-4bee-b8bc-c8d7c11efb76", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "190a75af-8e0c-4676-a2b3-7dc8ca37f9d9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6debd463-d73f-4eec-a8c3-d089d00e0f2c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "35be6288-bcab-43bc-ba78-2e4e4d32e36f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cb6f477c-eb6f-440c-9293-b8188b494fb3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0f37c938-0f03-44a7-8a68-4fb0ec9c9773", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "413d1364-73f4-46e3-89a7-bcb8d0356af9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "59f10bee-631c-4e6c-abda-8da9bf75e6ab", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "448b1f7b-3269-4411-8ed4-ba61101604e6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d23648ea-e67a-4339-9437-7064620ec2ba", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3efc5ac8-76f9-4cac-baa0-9bdd6ce90727", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e46f9b01-94ea-4d40-b196-451cb60b7e56", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b80665ba-021a-4c9e-b2af-84b2c58d565d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f24641fe-1f7b-411e-bdb4-c1d1c765d5c3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1a217349-c01f-4fe6-bde3-5f310cfaa311", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "db04e7fe-d7c6-4fc1-b7b6-c4c29457f990", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c3c736a6-36da-40dd-9cd3-cad3c630e174", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c021840c-c37d-435c-ab26-91330947ddae", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d4b5d5fe-19a0-43bc-80bf-253cf4f6e5fe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2e1d0bcf-0d6d-464b-bee1-c5fe978ab7aa", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8ba26431-0fe9-4ccc-9f0b-ab64dcbdf40c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d99f276e-ed57-4357-96ff-26a7da428871", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "608c194c-815e-405f-93db-aeba37d5e4e6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2788fa1c-32a5-45ce-b9d8-5d1071c501c8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "83aa7247-301a-4959-a232-d65ade6541fb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2e3abf74-afd5-470a-a67c-41fd04fc1061", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b7ba9377-e5c9-43a8-a25b-d9e06cb6145d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dc987f83-e155-4c6e-822e-010438ae169c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ec99bfa9-bf03-4546-9b6f-75665a9869d3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "871c9fc9-3900-4335-9961-abe15d811c62", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9f409a86-aa86-41fa-96f4-5b794ff04388", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-\",\"deletedDate\":1619647845,\"scheduledPurgeDate\":1620252645,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/bedd928c6b2b43c4a0054d1cd819199f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRsO7ethvgpKa8YJK7Sj16Tz5klg1yx1jZMBr8aXKrLY48ib8P199b-6f1lmzgpR1HxPA5EdG3KCQyDxr-lAHcIqUMujaS17rDv7mZtrpGojIfaPdWHuOGDo3axFQ2Q9nxlJqgU8e3aCybvV6Ls29Jr41UrQ5MhjuJqEpX4PZCfetqO1rybRjiWt6iMu055Ux7RNli5TmE0RhIA4bcjkoaksSI9kh3cUjkFpiygvtJcFAgZpeGmh48kL_RyxMbNJzi0d-MxUetZ89UbHygala7wncMAaob0KqwjoIYJcSExvPjAm3NBxyXHvwz-IGcfl5thRck6gxjRIHEKwOM1I6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647845,\"updated\":1619647845,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "887", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8ded8ff3-a4a1-4ca1-80cd-3b9b99fb8e26", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "312654f5-be5f-4e62-874e-78bb00b403b4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-\",\"deletedDate\":1619647845,\"scheduledPurgeDate\":1620252645,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetadeletedkey-/bedd928c6b2b43c4a0054d1cd819199f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRsO7ethvgpKa8YJK7Sj16Tz5klg1yx1jZMBr8aXKrLY48ib8P199b-6f1lmzgpR1HxPA5EdG3KCQyDxr-lAHcIqUMujaS17rDv7mZtrpGojIfaPdWHuOGDo3axFQ2Q9nxlJqgU8e3aCybvV6Ls29Jr41UrQ5MhjuJqEpX4PZCfetqO1rybRjiWt6iMu055Ux7RNli5TmE0RhIA4bcjkoaksSI9kh3cUjkFpiygvtJcFAgZpeGmh48kL_RyxMbNJzi0d-MxUetZ89UbHygala7wncMAaob0KqwjoIYJcSExvPjAm3NBxyXHvwz-IGcfl5thRck6gxjRIHEKwOM1I6Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647845,\"updated\":1619647845,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "887", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3db16c05-d0bc-4f77-a0f3-7814eaca011f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2a03fb3c-486e-4a3d-bb8c-57d98b027f7a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:11:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1e9b23be-65f6-4601-9a45-21d114a79810", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "640b336f-c108-4fd1-9fa6-c5976de65a84", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "8995fe78b5d9b3795639484f5728932b" -} \ No newline at end of file + "hash": "8995fe78b5d9b3795639484f5728932b" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_key.json index af26da17bd44..6a8990280a8e 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_key.json @@ -1,545 +1,545 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1de1a2a0-5ab0-43cf-99df-476ebeef04c0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e6a16348-da86-449f-87de-2bded1cb2732", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1de1a2a0-5ab0-43cf-99df-476ebeef04c0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e6a16348-da86-449f-87de-2bded1cb2732", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:51 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "f61edbfc-1980-461e-9d5e-316c8e665201" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/c6c6ec176ec645b5b88f41b2847eb838\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"upbhzU-vlJpTO-_q5bsHbMPV_5v2wqvy89moHgND0TGRB4M3F8h7vHFpBluHF1AVk-NuUOtGgvCO-68nrEQDbYStaVFuCO_hRZMQp7YjNKC32-luEfe5-eJ0s2XeAsZNuH14Uj93-SZzuykUb2iBpaFc02tuDOa9kabHAUCqXd5DLvfND8wZ6NvQ92_BsBzCiCHwNgr8wf-5fGhtPDw2BX0kdrMJLJg8-dde4s3BZN6n7yUTqkEkPecuLpC02BDMYLedXaxKQD6FqEFQzujYYjrm-jccoJJAm0JgDNRmZ4RvA46d7KunR5xlrRysbllesuAXoq1-BUkvKlDImS02RQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647792,\"updated\":1619647792,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "714", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1de1a2a0-5ab0-43cf-99df-476ebeef04c0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "21ac147b-7232-4e2d-ba3e-14af51d3b31f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/c6c6ec176ec645b5b88f41b2847eb838\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"upbhzU-vlJpTO-_q5bsHbMPV_5v2wqvy89moHgND0TGRB4M3F8h7vHFpBluHF1AVk-NuUOtGgvCO-68nrEQDbYStaVFuCO_hRZMQp7YjNKC32-luEfe5-eJ0s2XeAsZNuH14Uj93-SZzuykUb2iBpaFc02tuDOa9kabHAUCqXd5DLvfND8wZ6NvQ92_BsBzCiCHwNgr8wf-5fGhtPDw2BX0kdrMJLJg8-dde4s3BZN6n7yUTqkEkPecuLpC02BDMYLedXaxKQD6FqEFQzujYYjrm-jccoJJAm0JgDNRmZ4RvA46d7KunR5xlrRysbllesuAXoq1-BUkvKlDImS02RQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647792,\"updated\":1619647792,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "714", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2ed9d02b-9852-4e8f-bf5c-08e9efe9acd9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dae97eea-676b-464b-971a-177b4dc33899", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-\",\"deletedDate\":1619647792,\"scheduledPurgeDate\":1620252592,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/c6c6ec176ec645b5b88f41b2847eb838\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"upbhzU-vlJpTO-_q5bsHbMPV_5v2wqvy89moHgND0TGRB4M3F8h7vHFpBluHF1AVk-NuUOtGgvCO-68nrEQDbYStaVFuCO_hRZMQp7YjNKC32-luEfe5-eJ0s2XeAsZNuH14Uj93-SZzuykUb2iBpaFc02tuDOa9kabHAUCqXd5DLvfND8wZ6NvQ92_BsBzCiCHwNgr8wf-5fGhtPDw2BX0kdrMJLJg8-dde4s3BZN6n7yUTqkEkPecuLpC02BDMYLedXaxKQD6FqEFQzujYYjrm-jccoJJAm0JgDNRmZ4RvA46d7KunR5xlrRysbllesuAXoq1-BUkvKlDImS02RQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647792,\"updated\":1619647792,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "873", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a2933cd2-13ce-4a02-ab82-ee0ec11d656b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "86cb4fcf-e450-485c-9384-8423bf96bc87", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6a3005e1-59a8-4d14-975f-aab502df9626", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "555a4e94-3be5-45c2-a11a-7bdba02a8cb0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b576bd6d-a329-4d6b-ba29-5d6a0b9b2743", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "26054417-611a-4c5d-a91b-20ba14d133d1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0d064519-f0e2-4f12-aef7-42ba15aa4f89", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "db87c734-8517-43b8-96b7-f7d3bf96ff2e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "32cc7b32-0a76-4f4c-8808-c7474780e813", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a2b26e0e-c13d-464b-b98c-0a1c4ae5cb4e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f9295975-2b8a-4d16-9e86-716026c7369f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "65885591-b924-415c-90a6-319c130ea506", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "06d4381a-08c9-493d-9f9e-4fd3cb1825f1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2b82397f-0046-423e-bdb1-759f89945d34", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bceec4be-0acc-4a86-a745-78a7688c5f2b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "40ba267c-575c-4b36-96a3-1539e5911771", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "60069d53-50eb-456c-b6b0-06e358042d47", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6d95ab61-b82e-43b9-b6fc-e0a6aa646b4e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e4041911-1a51-4742-a559-c677dbb8b826", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "426ae8b0-e906-4fc7-a94f-f7a75d33bfc5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c4d6ca27-d73e-4277-bbe2-b366f1982acf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1d6f4fec-36bf-4374-aa13-c0cc6081e453", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "25a03c41-efc2-4781-8b92-28f36539c717", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cbc3ad36-ee38-4d5c-a791-ec753494c14c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "dc43a51b-e97b-4c60-9250-186a9fabe271", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "389830f8-7e25-4033-b58f-027d7b1646ed", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "107", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:15 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d7b75962-a1fb-46df-99e7-c0599d436f48", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ed883afd-2e3f-4da0-9cac-f63f4cc1232d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-\",\"deletedDate\":1619647792,\"scheduledPurgeDate\":1620252592,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/c6c6ec176ec645b5b88f41b2847eb838\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"upbhzU-vlJpTO-_q5bsHbMPV_5v2wqvy89moHgND0TGRB4M3F8h7vHFpBluHF1AVk-NuUOtGgvCO-68nrEQDbYStaVFuCO_hRZMQp7YjNKC32-luEfe5-eJ0s2XeAsZNuH14Uj93-SZzuykUb2iBpaFc02tuDOa9kabHAUCqXd5DLvfND8wZ6NvQ92_BsBzCiCHwNgr8wf-5fGhtPDw2BX0kdrMJLJg8-dde4s3BZN6n7yUTqkEkPecuLpC02BDMYLedXaxKQD6FqEFQzujYYjrm-jccoJJAm0JgDNRmZ4RvA46d7KunR5xlrRysbllesuAXoq1-BUkvKlDImS02RQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647792,\"updated\":1619647792,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "873", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "61dc5bc2-b5d8-4339-8987-4dbf7580f438", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "08210ded-cf2e-4e39-b782-e18cfc323963", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:10:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "48c46be4-7f61-4971-8026-bc3575aeaeb8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "54b542e9-6876-4f45-8c21-d90204eeb9ee", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:51 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "f61edbfc-1980-461e-9d5e-316c8e665201" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/c6c6ec176ec645b5b88f41b2847eb838\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"upbhzU-vlJpTO-_q5bsHbMPV_5v2wqvy89moHgND0TGRB4M3F8h7vHFpBluHF1AVk-NuUOtGgvCO-68nrEQDbYStaVFuCO_hRZMQp7YjNKC32-luEfe5-eJ0s2XeAsZNuH14Uj93-SZzuykUb2iBpaFc02tuDOa9kabHAUCqXd5DLvfND8wZ6NvQ92_BsBzCiCHwNgr8wf-5fGhtPDw2BX0kdrMJLJg8-dde4s3BZN6n7yUTqkEkPecuLpC02BDMYLedXaxKQD6FqEFQzujYYjrm-jccoJJAm0JgDNRmZ4RvA46d7KunR5xlrRysbllesuAXoq1-BUkvKlDImS02RQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647792,\"updated\":1619647792,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "714", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1de1a2a0-5ab0-43cf-99df-476ebeef04c0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "21ac147b-7232-4e2d-ba3e-14af51d3b31f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/c6c6ec176ec645b5b88f41b2847eb838\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"upbhzU-vlJpTO-_q5bsHbMPV_5v2wqvy89moHgND0TGRB4M3F8h7vHFpBluHF1AVk-NuUOtGgvCO-68nrEQDbYStaVFuCO_hRZMQp7YjNKC32-luEfe5-eJ0s2XeAsZNuH14Uj93-SZzuykUb2iBpaFc02tuDOa9kabHAUCqXd5DLvfND8wZ6NvQ92_BsBzCiCHwNgr8wf-5fGhtPDw2BX0kdrMJLJg8-dde4s3BZN6n7yUTqkEkPecuLpC02BDMYLedXaxKQD6FqEFQzujYYjrm-jccoJJAm0JgDNRmZ4RvA46d7KunR5xlrRysbllesuAXoq1-BUkvKlDImS02RQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647792,\"updated\":1619647792,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "714", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2ed9d02b-9852-4e8f-bf5c-08e9efe9acd9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dae97eea-676b-464b-971a-177b4dc33899", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-\",\"deletedDate\":1619647792,\"scheduledPurgeDate\":1620252592,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/c6c6ec176ec645b5b88f41b2847eb838\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"upbhzU-vlJpTO-_q5bsHbMPV_5v2wqvy89moHgND0TGRB4M3F8h7vHFpBluHF1AVk-NuUOtGgvCO-68nrEQDbYStaVFuCO_hRZMQp7YjNKC32-luEfe5-eJ0s2XeAsZNuH14Uj93-SZzuykUb2iBpaFc02tuDOa9kabHAUCqXd5DLvfND8wZ6NvQ92_BsBzCiCHwNgr8wf-5fGhtPDw2BX0kdrMJLJg8-dde4s3BZN6n7yUTqkEkPecuLpC02BDMYLedXaxKQD6FqEFQzujYYjrm-jccoJJAm0JgDNRmZ4RvA46d7KunR5xlrRysbllesuAXoq1-BUkvKlDImS02RQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647792,\"updated\":1619647792,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "873", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a2933cd2-13ce-4a02-ab82-ee0ec11d656b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "86cb4fcf-e450-485c-9384-8423bf96bc87", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6a3005e1-59a8-4d14-975f-aab502df9626", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "555a4e94-3be5-45c2-a11a-7bdba02a8cb0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b576bd6d-a329-4d6b-ba29-5d6a0b9b2743", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "26054417-611a-4c5d-a91b-20ba14d133d1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0d064519-f0e2-4f12-aef7-42ba15aa4f89", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "db87c734-8517-43b8-96b7-f7d3bf96ff2e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "32cc7b32-0a76-4f4c-8808-c7474780e813", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a2b26e0e-c13d-464b-b98c-0a1c4ae5cb4e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f9295975-2b8a-4d16-9e86-716026c7369f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "65885591-b924-415c-90a6-319c130ea506", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "06d4381a-08c9-493d-9f9e-4fd3cb1825f1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2b82397f-0046-423e-bdb1-759f89945d34", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bceec4be-0acc-4a86-a745-78a7688c5f2b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "40ba267c-575c-4b36-96a3-1539e5911771", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "60069d53-50eb-456c-b6b0-06e358042d47", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6d95ab61-b82e-43b9-b6fc-e0a6aa646b4e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e4041911-1a51-4742-a559-c677dbb8b826", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "426ae8b0-e906-4fc7-a94f-f7a75d33bfc5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c4d6ca27-d73e-4277-bbe2-b366f1982acf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1d6f4fec-36bf-4374-aa13-c0cc6081e453", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "25a03c41-efc2-4781-8b92-28f36539c717", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cbc3ad36-ee38-4d5c-a791-ec753494c14c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dc43a51b-e97b-4c60-9250-186a9fabe271", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "389830f8-7e25-4033-b58f-027d7b1646ed", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "107", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d7b75962-a1fb-46df-99e7-c0599d436f48", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ed883afd-2e3f-4da0-9cac-f63f4cc1232d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-\",\"deletedDate\":1619647792,\"scheduledPurgeDate\":1620252592,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetakey-/c6c6ec176ec645b5b88f41b2847eb838\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"upbhzU-vlJpTO-_q5bsHbMPV_5v2wqvy89moHgND0TGRB4M3F8h7vHFpBluHF1AVk-NuUOtGgvCO-68nrEQDbYStaVFuCO_hRZMQp7YjNKC32-luEfe5-eJ0s2XeAsZNuH14Uj93-SZzuykUb2iBpaFc02tuDOa9kabHAUCqXd5DLvfND8wZ6NvQ92_BsBzCiCHwNgr8wf-5fGhtPDw2BX0kdrMJLJg8-dde4s3BZN6n7yUTqkEkPecuLpC02BDMYLedXaxKQD6FqEFQzujYYjrm-jccoJJAm0JgDNRmZ4RvA46d7KunR5xlrRysbllesuAXoq1-BUkvKlDImS02RQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647792,\"updated\":1619647792,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "873", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "61dc5bc2-b5d8-4339-8987-4dbf7580f438", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "08210ded-cf2e-4e39-b782-e18cfc323963", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:10:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "48c46be4-7f61-4971-8026-bc3575aeaeb8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "54b542e9-6876-4f45-8c21-d90204eeb9ee", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "83518876a5e953a348199ba719c3b9e9" -} \ No newline at end of file + "hash": "83518876a5e953a348199ba719c3b9e9" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_specific_version_of_a_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_specific_version_of_a_key.json index 370ebf265259..bb6b7a02a314 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_specific_version_of_a_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_get_a_specific_version_of_a_key.json @@ -1,545 +1,545 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "000a0e77-a438-4e31-ac93-7453a3128645", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "733b0687-021b-4eef-a753-23079c9e5f2c", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "000a0e77-a438-4e31-ac93-7453a3128645", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "733b0687-021b-4eef-a753-23079c9e5f2c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:18 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "67773429-54a0-4d33-8329-a6186cc5c100" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wSm_jve3Y5SQTNsFCKQh0jKFrGIlUmqeUfjfwFs9Fi3fE5oaQXfo2nJH3psY47G1aofPdzeSm2QysjxiOOq9ap9rSA_I4TxZ-m-nefauysfEYmPGuq0w9UyFCFi7-sK295uzEmvH6c_dFi3TqzDPmPDJSDYhO3ZGAqwH374kLPmUDfjqdG4V2ED0Tw1jqEHwofGhPKixxN5DVih_68XdF1dyEHRkwnG2q8Jn5UP3XPUwfxgmWZdx_vPFRVgQIDvgMLspuPkkOsBm8yIgfq11of92EADrXFKNpHdz9ysXC541kfY39rbQA_rUbJoxgs7xOoYNclLwlOPEREp71XRo1Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647819,\"updated\":1619647819,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "732", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "000a0e77-a438-4e31-ac93-7453a3128645", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f75460f9-0556-41b5-a30b-39f2fcdaa15e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wSm_jve3Y5SQTNsFCKQh0jKFrGIlUmqeUfjfwFs9Fi3fE5oaQXfo2nJH3psY47G1aofPdzeSm2QysjxiOOq9ap9rSA_I4TxZ-m-nefauysfEYmPGuq0w9UyFCFi7-sK295uzEmvH6c_dFi3TqzDPmPDJSDYhO3ZGAqwH374kLPmUDfjqdG4V2ED0Tw1jqEHwofGhPKixxN5DVih_68XdF1dyEHRkwnG2q8Jn5UP3XPUwfxgmWZdx_vPFRVgQIDvgMLspuPkkOsBm8yIgfq11of92EADrXFKNpHdz9ysXC541kfY39rbQA_rUbJoxgs7xOoYNclLwlOPEREp71XRo1Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647819,\"updated\":1619647819,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "732", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "96766af5-f9c7-47b3-829c-cbecdfbb1c30", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c0e2eac4-996c-4f11-a8ce-0ee134c99c04", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-\",\"deletedDate\":1619647819,\"scheduledPurgeDate\":1620252619,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wSm_jve3Y5SQTNsFCKQh0jKFrGIlUmqeUfjfwFs9Fi3fE5oaQXfo2nJH3psY47G1aofPdzeSm2QysjxiOOq9ap9rSA_I4TxZ-m-nefauysfEYmPGuq0w9UyFCFi7-sK295uzEmvH6c_dFi3TqzDPmPDJSDYhO3ZGAqwH374kLPmUDfjqdG4V2ED0Tw1jqEHwofGhPKixxN5DVih_68XdF1dyEHRkwnG2q8Jn5UP3XPUwfxgmWZdx_vPFRVgQIDvgMLspuPkkOsBm8yIgfq11of92EADrXFKNpHdz9ysXC541kfY39rbQA_rUbJoxgs7xOoYNclLwlOPEREp71XRo1Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647819,\"updated\":1619647819,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "909", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a03d5b78-970d-4b76-8b8b-19b44d3261a3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "01ab464b-6f33-4b0a-908b-5232cf22b20b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "111b37b4-1e6b-49b3-9fda-6b1b7b046b86", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "916d9ce0-3146-41ed-af56-173034b352c2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "14618a06-41d6-4334-8b14-d38a8252733d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "035d8fb6-53a5-4c06-8e83-ee3066bd1358", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fcbf05d4-487a-4442-b1cc-ef2659fe9c87", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0a4c4471-1d74-4f02-9fe1-afdb767183b6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "26bd9fac-808c-477a-948f-4c420c022b0a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4654cb1b-fb6b-4664-a60b-ec6279223d55", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "01a00d4b-9373-4b05-8ec6-0595bbf407c0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "773e7062-7917-4469-81ca-e8d6128f5402", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b425f59c-1597-4903-aa83-86649f59270a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c02e92de-d64e-4429-89b3-f2a7a45097eb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "89baa80b-4f84-4914-84c6-4e6f47448226", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "23b92fc5-a792-49b5-894d-e578f10346fe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bda660bf-3f54-46d4-afef-4ab1e0a156a7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3e641e4c-cc0f-4ef1-a392-38c1ab70cbde", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "69278a95-a340-4c7b-ab7c-8d3cb7c6b75b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d0822d04-bc7e-4e2d-92a5-f390e817219c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c588ec13-b3ee-4cfc-b696-e40e2a2fe6f0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e24e08f3-1881-4c78-a3a8-dcd6baf9d5c4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8a1bb199-a3f2-4a62-99e3-9969c7942919", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ac33e8d8-2c20-45a1-8475-15fc7b7997c3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8ce057c6-f9ca-4d54-9e26-2f8a83ab347b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "763a5ee3-c2da-4752-bec0-99865bde8f6d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "125", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "27ebfe69-d4d5-4571-a77d-e9f299268e23", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9944fd7f-3aeb-4a8f-9b07-2eb3c6f789e0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-\",\"deletedDate\":1619647819,\"scheduledPurgeDate\":1620252619,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wSm_jve3Y5SQTNsFCKQh0jKFrGIlUmqeUfjfwFs9Fi3fE5oaQXfo2nJH3psY47G1aofPdzeSm2QysjxiOOq9ap9rSA_I4TxZ-m-nefauysfEYmPGuq0w9UyFCFi7-sK295uzEmvH6c_dFi3TqzDPmPDJSDYhO3ZGAqwH374kLPmUDfjqdG4V2ED0Tw1jqEHwofGhPKixxN5DVih_68XdF1dyEHRkwnG2q8Jn5UP3XPUwfxgmWZdx_vPFRVgQIDvgMLspuPkkOsBm8yIgfq11of92EADrXFKNpHdz9ysXC541kfY39rbQA_rUbJoxgs7xOoYNclLwlOPEREp71XRo1Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647819,\"updated\":1619647819,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "909", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:10:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4d374fa9-2f2f-438a-ba23-9cdd70b1da8e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "51b60f35-bcc1-4539-afee-c6d7fcd0fe1f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:10:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1bd43695-66b2-4dc3-910a-d82faa5f2880", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5e2f9f0c-4d7b-4413-9ad0-da1572800cc2", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:18 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "67773429-54a0-4d33-8329-a6186cc5c100" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wSm_jve3Y5SQTNsFCKQh0jKFrGIlUmqeUfjfwFs9Fi3fE5oaQXfo2nJH3psY47G1aofPdzeSm2QysjxiOOq9ap9rSA_I4TxZ-m-nefauysfEYmPGuq0w9UyFCFi7-sK295uzEmvH6c_dFi3TqzDPmPDJSDYhO3ZGAqwH374kLPmUDfjqdG4V2ED0Tw1jqEHwofGhPKixxN5DVih_68XdF1dyEHRkwnG2q8Jn5UP3XPUwfxgmWZdx_vPFRVgQIDvgMLspuPkkOsBm8yIgfq11of92EADrXFKNpHdz9ysXC541kfY39rbQA_rUbJoxgs7xOoYNclLwlOPEREp71XRo1Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647819,\"updated\":1619647819,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "732", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "000a0e77-a438-4e31-ac93-7453a3128645", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f75460f9-0556-41b5-a30b-39f2fcdaa15e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wSm_jve3Y5SQTNsFCKQh0jKFrGIlUmqeUfjfwFs9Fi3fE5oaQXfo2nJH3psY47G1aofPdzeSm2QysjxiOOq9ap9rSA_I4TxZ-m-nefauysfEYmPGuq0w9UyFCFi7-sK295uzEmvH6c_dFi3TqzDPmPDJSDYhO3ZGAqwH374kLPmUDfjqdG4V2ED0Tw1jqEHwofGhPKixxN5DVih_68XdF1dyEHRkwnG2q8Jn5UP3XPUwfxgmWZdx_vPFRVgQIDvgMLspuPkkOsBm8yIgfq11of92EADrXFKNpHdz9ysXC541kfY39rbQA_rUbJoxgs7xOoYNclLwlOPEREp71XRo1Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647819,\"updated\":1619647819,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "732", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "96766af5-f9c7-47b3-829c-cbecdfbb1c30", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c0e2eac4-996c-4f11-a8ce-0ee134c99c04", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-\",\"deletedDate\":1619647819,\"scheduledPurgeDate\":1620252619,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wSm_jve3Y5SQTNsFCKQh0jKFrGIlUmqeUfjfwFs9Fi3fE5oaQXfo2nJH3psY47G1aofPdzeSm2QysjxiOOq9ap9rSA_I4TxZ-m-nefauysfEYmPGuq0w9UyFCFi7-sK295uzEmvH6c_dFi3TqzDPmPDJSDYhO3ZGAqwH374kLPmUDfjqdG4V2ED0Tw1jqEHwofGhPKixxN5DVih_68XdF1dyEHRkwnG2q8Jn5UP3XPUwfxgmWZdx_vPFRVgQIDvgMLspuPkkOsBm8yIgfq11of92EADrXFKNpHdz9ysXC541kfY39rbQA_rUbJoxgs7xOoYNclLwlOPEREp71XRo1Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647819,\"updated\":1619647819,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "909", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a03d5b78-970d-4b76-8b8b-19b44d3261a3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "01ab464b-6f33-4b0a-908b-5232cf22b20b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "111b37b4-1e6b-49b3-9fda-6b1b7b046b86", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "916d9ce0-3146-41ed-af56-173034b352c2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "14618a06-41d6-4334-8b14-d38a8252733d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "035d8fb6-53a5-4c06-8e83-ee3066bd1358", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fcbf05d4-487a-4442-b1cc-ef2659fe9c87", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0a4c4471-1d74-4f02-9fe1-afdb767183b6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "26bd9fac-808c-477a-948f-4c420c022b0a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4654cb1b-fb6b-4664-a60b-ec6279223d55", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "01a00d4b-9373-4b05-8ec6-0595bbf407c0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "773e7062-7917-4469-81ca-e8d6128f5402", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b425f59c-1597-4903-aa83-86649f59270a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c02e92de-d64e-4429-89b3-f2a7a45097eb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "89baa80b-4f84-4914-84c6-4e6f47448226", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "23b92fc5-a792-49b5-894d-e578f10346fe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bda660bf-3f54-46d4-afef-4ab1e0a156a7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3e641e4c-cc0f-4ef1-a392-38c1ab70cbde", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "69278a95-a340-4c7b-ab7c-8d3cb7c6b75b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d0822d04-bc7e-4e2d-92a5-f390e817219c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c588ec13-b3ee-4cfc-b696-e40e2a2fe6f0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e24e08f3-1881-4c78-a3a8-dcd6baf9d5c4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8a1bb199-a3f2-4a62-99e3-9969c7942919", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ac33e8d8-2c20-45a1-8475-15fc7b7997c3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8ce057c6-f9ca-4d54-9e26-2f8a83ab347b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "763a5ee3-c2da-4752-bec0-99865bde8f6d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-cangetaspecificversionofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "125", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "27ebfe69-d4d5-4571-a77d-e9f299268e23", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9944fd7f-3aeb-4a8f-9b07-2eb3c6f789e0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-\",\"deletedDate\":1619647819,\"scheduledPurgeDate\":1620252619,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cangetaspecificversionofakey-/2846f2aefd5a4b41b2c78f14a3b220ba\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wSm_jve3Y5SQTNsFCKQh0jKFrGIlUmqeUfjfwFs9Fi3fE5oaQXfo2nJH3psY47G1aofPdzeSm2QysjxiOOq9ap9rSA_I4TxZ-m-nefauysfEYmPGuq0w9UyFCFi7-sK295uzEmvH6c_dFi3TqzDPmPDJSDYhO3ZGAqwH374kLPmUDfjqdG4V2ED0Tw1jqEHwofGhPKixxN5DVih_68XdF1dyEHRkwnG2q8Jn5UP3XPUwfxgmWZdx_vPFRVgQIDvgMLspuPkkOsBm8yIgfq11of92EADrXFKNpHdz9ysXC541kfY39rbQA_rUbJoxgs7xOoYNclLwlOPEREp71XRo1Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647819,\"updated\":1619647819,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "909", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:10:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4d374fa9-2f2f-438a-ba23-9cdd70b1da8e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "51b60f35-bcc1-4539-afee-c6d7fcd0fe1f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-cangetaspecificversionofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:10:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1bd43695-66b2-4dc3-910a-d82faa5f2880", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5e2f9f0c-4d7b-4413-9ad0-da1572800cc2", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "2e7ab0525618909e63047864340176cd" -} \ No newline at end of file + "hash": "2e7ab0525618909e63047864340176cd" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_purge_a_deleted_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_purge_a_deleted_key.json index 6f5421028904..3edb81391a87 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_purge_a_deleted_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_purge_a_deleted_key.json @@ -1,545 +1,545 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "605fed64-ae7c-44ba-b263-e413a8a4cf13", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e702d614-53a6-4b21-9d8c-05c1e0d99f55", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "605fed64-ae7c-44ba-b263-e413a8a4cf13", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e702d614-53a6-4b21-9d8c-05c1e0d99f55", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:15 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "f61edbfc-1980-461e-9d5e-316c87755201" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/78acad34115c4a22958e252c7d8da072\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oQR_4195JsOKRyj8eux5nwhTPSE65sRUGEr045n6I452Lco73x9lfG2_G-qV7tFxPwfgr1aYrIG_nZrAnOKG6c0wqYmJJRpZ_izj7qzoMDqOQMvhSmM2kJfy-pRqnx60PLMtxCAnFI811V1ALO9LAmIM0V61XfwgvMAm1wD1zmnOO7ePSAaLL3W5T0PUU8Cp_Jm1iRZ3aHrkHK88HXm2Fi9rZNxonLuZuTPSgUCrmmT9ZJzHmpDsKCp3uK8Hh7qxi1kdxlUwRw_nfzJ7ToESKccTMZhdc-TzPL0lfRNrBaffwnbWbUwVrHbSfWxoDohamtUwnqWT5DJx97p9UCExWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647876,\"updated\":1619647876,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "723", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "605fed64-ae7c-44ba-b263-e413a8a4cf13", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a83b1b8f-b3fb-44a0-8677-a0645e02ef65", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-\",\"deletedDate\":1619647877,\"scheduledPurgeDate\":1620252677,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/78acad34115c4a22958e252c7d8da072\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oQR_4195JsOKRyj8eux5nwhTPSE65sRUGEr045n6I452Lco73x9lfG2_G-qV7tFxPwfgr1aYrIG_nZrAnOKG6c0wqYmJJRpZ_izj7qzoMDqOQMvhSmM2kJfy-pRqnx60PLMtxCAnFI811V1ALO9LAmIM0V61XfwgvMAm1wD1zmnOO7ePSAaLL3W5T0PUU8Cp_Jm1iRZ3aHrkHK88HXm2Fi9rZNxonLuZuTPSgUCrmmT9ZJzHmpDsKCp3uK8Hh7qxi1kdxlUwRw_nfzJ7ToESKccTMZhdc-TzPL0lfRNrBaffwnbWbUwVrHbSfWxoDohamtUwnqWT5DJx97p9UCExWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647876,\"updated\":1619647876,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "891", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e8401f77-11f5-4074-b0e3-2a92a93427d9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c9c3ee02-092a-4c48-9969-f57f71d65fc4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d0717f16-ae6f-4c40-83f4-53614b51c166", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "80821dc6-8397-4cf7-9cfd-5b6bc75e87eb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b27cc2cf-16bd-451b-9d11-e0ab7fd87d4f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ad7d27c5-1ebc-438c-8893-edb6e7b3d948", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7b62c31f-b31e-4079-8aef-6bd4cbd5fe13", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "02ecba9e-cf98-461d-a094-a15419385b16", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d6b54d77-5483-4507-b651-fcd07ce17700", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "79dc73c9-32bb-4553-90d2-2c7470591d60", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "54154f62-5b19-4a1e-9f79-649b1a0ebe06", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7bcfd31c-88ad-477f-80d6-052f9fc52173", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "57411bad-b174-44ed-b818-4a5f7b6d44b2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3792939b-2b98-4b1a-ada9-b6347be71fda", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "65ad67ef-485c-46be-a458-438245710b66", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2e20523a-8bd8-4ec9-93dd-2faf953a0f51", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5cb0775c-9b05-4889-bfaa-f04f01d905a8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "afe7b136-5e9b-4616-8ac8-bdc5854b5a55", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e6310c75-e70a-40ae-ad4c-73d07ad79963", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "618a1410-d997-45f9-b560-ab4e25820e53", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "00118105-2660-49e5-adbb-88beed5bfb6f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2f90019e-061b-44b6-ba38-691a2cfb4a5f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "315e80a6-ed58-4f99-aa78-c997ca366f15", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "849a444d-8c82-45ce-982b-b8745627e79b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "466b95f7-f050-4ea0-8e3d-fdd3d3ebf70b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a528484b-597b-4092-a34f-dd264d9522ad", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cc214aae-ffb5-4949-ba73-3425246c3675", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "68a589a8-4401-4b48-8750-0ca065617ed2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "116", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "486c3627-b79d-4a2c-b1c6-b41e571ffecf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e8cc5676-4a1e-47db-b8c7-2d6a4183a158", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-\",\"deletedDate\":1619647877,\"scheduledPurgeDate\":1620252677,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/78acad34115c4a22958e252c7d8da072\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oQR_4195JsOKRyj8eux5nwhTPSE65sRUGEr045n6I452Lco73x9lfG2_G-qV7tFxPwfgr1aYrIG_nZrAnOKG6c0wqYmJJRpZ_izj7qzoMDqOQMvhSmM2kJfy-pRqnx60PLMtxCAnFI811V1ALO9LAmIM0V61XfwgvMAm1wD1zmnOO7ePSAaLL3W5T0PUU8Cp_Jm1iRZ3aHrkHK88HXm2Fi9rZNxonLuZuTPSgUCrmmT9ZJzHmpDsKCp3uK8Hh7qxi1kdxlUwRw_nfzJ7ToESKccTMZhdc-TzPL0lfRNrBaffwnbWbUwVrHbSfWxoDohamtUwnqWT5DJx97p9UCExWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647876,\"updated\":1619647876,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "891", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "837b04d7-e830-4d4c-b19a-414426faa0b6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "722dee64-a03d-4b01-b71f-851c2f31c41f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:11:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b720fc83-8b61-4090-abdc-6e58343b1de3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ae6454e0-f49b-494d-b915-eace3833758d", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:15 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "f61edbfc-1980-461e-9d5e-316c87755201" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/78acad34115c4a22958e252c7d8da072\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oQR_4195JsOKRyj8eux5nwhTPSE65sRUGEr045n6I452Lco73x9lfG2_G-qV7tFxPwfgr1aYrIG_nZrAnOKG6c0wqYmJJRpZ_izj7qzoMDqOQMvhSmM2kJfy-pRqnx60PLMtxCAnFI811V1ALO9LAmIM0V61XfwgvMAm1wD1zmnOO7ePSAaLL3W5T0PUU8Cp_Jm1iRZ3aHrkHK88HXm2Fi9rZNxonLuZuTPSgUCrmmT9ZJzHmpDsKCp3uK8Hh7qxi1kdxlUwRw_nfzJ7ToESKccTMZhdc-TzPL0lfRNrBaffwnbWbUwVrHbSfWxoDohamtUwnqWT5DJx97p9UCExWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647876,\"updated\":1619647876,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "723", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "605fed64-ae7c-44ba-b263-e413a8a4cf13", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a83b1b8f-b3fb-44a0-8677-a0645e02ef65", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-\",\"deletedDate\":1619647877,\"scheduledPurgeDate\":1620252677,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/78acad34115c4a22958e252c7d8da072\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oQR_4195JsOKRyj8eux5nwhTPSE65sRUGEr045n6I452Lco73x9lfG2_G-qV7tFxPwfgr1aYrIG_nZrAnOKG6c0wqYmJJRpZ_izj7qzoMDqOQMvhSmM2kJfy-pRqnx60PLMtxCAnFI811V1ALO9LAmIM0V61XfwgvMAm1wD1zmnOO7ePSAaLL3W5T0PUU8Cp_Jm1iRZ3aHrkHK88HXm2Fi9rZNxonLuZuTPSgUCrmmT9ZJzHmpDsKCp3uK8Hh7qxi1kdxlUwRw_nfzJ7ToESKccTMZhdc-TzPL0lfRNrBaffwnbWbUwVrHbSfWxoDohamtUwnqWT5DJx97p9UCExWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647876,\"updated\":1619647876,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "891", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e8401f77-11f5-4074-b0e3-2a92a93427d9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c9c3ee02-092a-4c48-9969-f57f71d65fc4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d0717f16-ae6f-4c40-83f4-53614b51c166", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "80821dc6-8397-4cf7-9cfd-5b6bc75e87eb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b27cc2cf-16bd-451b-9d11-e0ab7fd87d4f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ad7d27c5-1ebc-438c-8893-edb6e7b3d948", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7b62c31f-b31e-4079-8aef-6bd4cbd5fe13", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "02ecba9e-cf98-461d-a094-a15419385b16", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d6b54d77-5483-4507-b651-fcd07ce17700", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "79dc73c9-32bb-4553-90d2-2c7470591d60", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "54154f62-5b19-4a1e-9f79-649b1a0ebe06", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7bcfd31c-88ad-477f-80d6-052f9fc52173", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "57411bad-b174-44ed-b818-4a5f7b6d44b2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3792939b-2b98-4b1a-ada9-b6347be71fda", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "65ad67ef-485c-46be-a458-438245710b66", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2e20523a-8bd8-4ec9-93dd-2faf953a0f51", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5cb0775c-9b05-4889-bfaa-f04f01d905a8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "afe7b136-5e9b-4616-8ac8-bdc5854b5a55", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e6310c75-e70a-40ae-ad4c-73d07ad79963", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "618a1410-d997-45f9-b560-ab4e25820e53", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "00118105-2660-49e5-adbb-88beed5bfb6f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2f90019e-061b-44b6-ba38-691a2cfb4a5f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "315e80a6-ed58-4f99-aa78-c997ca366f15", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "849a444d-8c82-45ce-982b-b8745627e79b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "466b95f7-f050-4ea0-8e3d-fdd3d3ebf70b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a528484b-597b-4092-a34f-dd264d9522ad", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cc214aae-ffb5-4949-ba73-3425246c3675", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "68a589a8-4401-4b48-8750-0ca065617ed2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canpurgeadeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "116", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "486c3627-b79d-4a2c-b1c6-b41e571ffecf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e8cc5676-4a1e-47db-b8c7-2d6a4183a158", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-\",\"deletedDate\":1619647877,\"scheduledPurgeDate\":1620252677,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canpurgeadeletedkey-/78acad34115c4a22958e252c7d8da072\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oQR_4195JsOKRyj8eux5nwhTPSE65sRUGEr045n6I452Lco73x9lfG2_G-qV7tFxPwfgr1aYrIG_nZrAnOKG6c0wqYmJJRpZ_izj7qzoMDqOQMvhSmM2kJfy-pRqnx60PLMtxCAnFI811V1ALO9LAmIM0V61XfwgvMAm1wD1zmnOO7ePSAaLL3W5T0PUU8Cp_Jm1iRZ3aHrkHK88HXm2Fi9rZNxonLuZuTPSgUCrmmT9ZJzHmpDsKCp3uK8Hh7qxi1kdxlUwRw_nfzJ7ToESKccTMZhdc-TzPL0lfRNrBaffwnbWbUwVrHbSfWxoDohamtUwnqWT5DJx97p9UCExWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647876,\"updated\":1619647876,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "891", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "837b04d7-e830-4d4c-b19a-414426faa0b6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "722dee64-a03d-4b01-b71f-851c2f31c41f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canpurgeadeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:11:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b720fc83-8b61-4090-abdc-6e58343b1de3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ae6454e0-f49b-494d-b915-eace3833758d", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "e5a21c769b4ab6e14b08a3bca267283c" -} \ No newline at end of file + "hash": "e5a21c769b4ab6e14b08a3bca267283c" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_update_a_disabled_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_update_a_disabled_key.json index cb0f21937ecd..d283472add4d 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_update_a_disabled_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_update_a_disabled_key.json @@ -1,815 +1,815 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d2ab71a8-be17-4011-8af6-badebbe6a411", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9b3eee76-6479-4e86-8b6c-15ceb8d7c333", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d2ab71a8-be17-4011-8af6-badebbe6a411", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9b3eee76-6479-4e86-8b6c-15ceb8d7c333", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:20 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "cd7787fa-9afc-44d7-b558-d7a4c9bb4401" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\",\"attributes\":{\"enabled\":false}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"opdFUoYAm2s3RtKrlNIcS9_U4Qk5K-YEchNNOOxQI3UJMCn52ySAaTnP2AuBqpxdV1TSO9d9aCi100L1K3Dm1vTHGvsGeBs-HoiZkNX8tTQnc5WaeYoLVMzfzYkPKXHE3UsRexjmB54E1PtDhANQtVZQlWN-Ysi3pjQcWzMmVCetldKkgRbssQL4-YI8UGMPgEoHbhVO6PPn29vPQfWWv0Kh0adie6zQI2m60SIh7JvUHuRZSLBb5EYVPd_xMZ6-6bbR1JmnRpIPr8-9jYhz-FvbmVMrdwvynUp_OGDCPdK4bRrSG7QJFaxY-357TLQRRzDstMy_yMtKTFDX6OKM5Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647700,\"updated\":1619647700,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "726", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d2ab71a8-be17-4011-8af6-badebbe6a411", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "565ce68a-0e74-40a2-91a6-6c90a4bc4c4e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "PATCH", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"attributes\":{\"exp\":1546300800}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"opdFUoYAm2s3RtKrlNIcS9_U4Qk5K-YEchNNOOxQI3UJMCn52ySAaTnP2AuBqpxdV1TSO9d9aCi100L1K3Dm1vTHGvsGeBs-HoiZkNX8tTQnc5WaeYoLVMzfzYkPKXHE3UsRexjmB54E1PtDhANQtVZQlWN-Ysi3pjQcWzMmVCetldKkgRbssQL4-YI8UGMPgEoHbhVO6PPn29vPQfWWv0Kh0adie6zQI2m60SIh7JvUHuRZSLBb5EYVPd_xMZ6-6bbR1JmnRpIPr8-9jYhz-FvbmVMrdwvynUp_OGDCPdK4bRrSG7QJFaxY-357TLQRRzDstMy_yMtKTFDX6OKM5Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"exp\":1546300800,\"created\":1619647700,\"updated\":1619647701,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "743", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "876c9cf1-5aa3-4895-8deb-d33af31811d3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3b3f28df-4c1a-472d-b065-d45bafe80d58", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-\",\"deletedDate\":1619647701,\"scheduledPurgeDate\":1620252501,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"opdFUoYAm2s3RtKrlNIcS9_U4Qk5K-YEchNNOOxQI3UJMCn52ySAaTnP2AuBqpxdV1TSO9d9aCi100L1K3Dm1vTHGvsGeBs-HoiZkNX8tTQnc5WaeYoLVMzfzYkPKXHE3UsRexjmB54E1PtDhANQtVZQlWN-Ysi3pjQcWzMmVCetldKkgRbssQL4-YI8UGMPgEoHbhVO6PPn29vPQfWWv0Kh0adie6zQI2m60SIh7JvUHuRZSLBb5EYVPd_xMZ6-6bbR1JmnRpIPr8-9jYhz-FvbmVMrdwvynUp_OGDCPdK4bRrSG7QJFaxY-357TLQRRzDstMy_yMtKTFDX6OKM5Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"exp\":1546300800,\"created\":1619647700,\"updated\":1619647701,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "913", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "194f45ed-738b-4273-ba3a-e93c9ad98d4f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a65cb68b-8b4e-4671-af96-16f3fd3334df", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6287347a-b00a-43e9-b31f-01f877a29386", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5bd30389-d30a-4da5-b888-fca073888c9f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0bd82ea6-4306-48f5-92bd-f99f1760748e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5a2c6761-6372-444e-8986-3ada19d03833", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "52b4c763-9750-47e4-ac67-1dad85bf18f8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3e244601-c906-41d8-9d60-b9351c954a17", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "664b56f9-3b27-4386-aff6-77598fe2b4d3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c924baf8-11e5-4320-a90b-ed730685d054", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "724d7f2c-18ed-4d05-9b5d-561428a748df", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b22c61fa-a1fc-4365-a2bd-cc29b92a754d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "012c214e-c876-4f39-b435-bea69e6c6d4b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4bf36d43-4055-403a-8517-2faf24daefd8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9fd41c2c-ae8a-40a0-b4b1-baaf51549f8a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7303356b-bb91-4fa4-8ec3-078bc11b127a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4f197a82-6a7e-408f-a9b2-1c60c636ec48", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6e71f29a-2d38-4753-9458-15692de6b114", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0af1cf51-67d8-4691-bbf7-a729462b6035", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f758d411-7f98-477d-b091-d9cb8d00763b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "72b3811e-8c0b-4b1a-af23-d0e948a345ee", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ec6a00dd-3ee8-4c15-8d1f-6dff7a448e0e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bacbd73e-74bc-4a50-ac12-6bc792eda138", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "60ab846f-1066-4d92-94cb-c0f24dd5df74", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b47c8014-6934-466d-93f6-674f4bdf90b8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4739c777-7c71-4cf7-9d91-ad7d8e02688a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "31542382-c482-4b6c-a7cb-6bf0bc8af559", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5457bfd8-7e1f-4457-8cdb-7bacdbad939d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "655fd6d9-e3bb-4628-936b-6bbd026cdc53", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "49042572-41c6-4d8a-9612-a1baf90514c1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1fb44c6c-5efe-4f8c-b040-4a9737ddf867", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bbc4d032-b8cb-4e89-a26e-45f402c25d0e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "de49eaf8-cb3b-439f-acbc-c436b1d36f44", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a5297036-2bee-447d-a3ff-573ddedc3277", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "db11a0e5-a2a3-4284-a33f-cd3561ac101c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c85ac722-c624-4266-be3a-24ab5eb6a17c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5fac8e54-38fd-48d7-ad96-69fdf16e1f67", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e90b055c-30bc-47ed-b260-3482e5832c3e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "599aa545-7543-43be-80f7-ae61d2e9aabe", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "25888dbc-d020-442e-8184-3d0cd0ba9725", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5304ef6c-83fb-489d-a113-98096f3cabf6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f6573f5b-f3ba-4d16-b65c-b4adcafb2846", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "01ee9937-54b4-4301-9d59-1c32e983fa26", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "54ac9b6b-1872-4a72-bfa4-1d5b77ca2593", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "23b6bc68-edee-4adb-acad-8a31b8aafaa5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "65d39f67-6063-4a17-8edd-eac7e044bfaf", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7e2ad31e-ad69-488f-a567-123a02c59c40", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "649bd4d8-3464-4d22-af05-496af4a96386", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-\",\"deletedDate\":1619647701,\"scheduledPurgeDate\":1620252501,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"opdFUoYAm2s3RtKrlNIcS9_U4Qk5K-YEchNNOOxQI3UJMCn52ySAaTnP2AuBqpxdV1TSO9d9aCi100L1K3Dm1vTHGvsGeBs-HoiZkNX8tTQnc5WaeYoLVMzfzYkPKXHE3UsRexjmB54E1PtDhANQtVZQlWN-Ysi3pjQcWzMmVCetldKkgRbssQL4-YI8UGMPgEoHbhVO6PPn29vPQfWWv0Kh0adie6zQI2m60SIh7JvUHuRZSLBb5EYVPd_xMZ6-6bbR1JmnRpIPr8-9jYhz-FvbmVMrdwvynUp_OGDCPdK4bRrSG7QJFaxY-357TLQRRzDstMy_yMtKTFDX6OKM5Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"exp\":1546300800,\"created\":1619647700,\"updated\":1619647701,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "913", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "58b24f6e-a780-479f-8499-03360ae3f29b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8bc11919-88b2-4e53-b8d2-b313de628c1b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:09:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3cf3136b-095d-4bb4-86a7-8b4dd122cd11", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dc3a50dd-d7fd-4bb7-b0c5-dd92553dc4ca", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:20 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "cd7787fa-9afc-44d7-b558-d7a4c9bb4401" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\",\"attributes\":{\"enabled\":false}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"opdFUoYAm2s3RtKrlNIcS9_U4Qk5K-YEchNNOOxQI3UJMCn52ySAaTnP2AuBqpxdV1TSO9d9aCi100L1K3Dm1vTHGvsGeBs-HoiZkNX8tTQnc5WaeYoLVMzfzYkPKXHE3UsRexjmB54E1PtDhANQtVZQlWN-Ysi3pjQcWzMmVCetldKkgRbssQL4-YI8UGMPgEoHbhVO6PPn29vPQfWWv0Kh0adie6zQI2m60SIh7JvUHuRZSLBb5EYVPd_xMZ6-6bbR1JmnRpIPr8-9jYhz-FvbmVMrdwvynUp_OGDCPdK4bRrSG7QJFaxY-357TLQRRzDstMy_yMtKTFDX6OKM5Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647700,\"updated\":1619647700,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "726", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d2ab71a8-be17-4011-8af6-badebbe6a411", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "565ce68a-0e74-40a2-91a6-6c90a4bc4c4e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "PATCH", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"attributes\":{\"exp\":1546300800}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"opdFUoYAm2s3RtKrlNIcS9_U4Qk5K-YEchNNOOxQI3UJMCn52ySAaTnP2AuBqpxdV1TSO9d9aCi100L1K3Dm1vTHGvsGeBs-HoiZkNX8tTQnc5WaeYoLVMzfzYkPKXHE3UsRexjmB54E1PtDhANQtVZQlWN-Ysi3pjQcWzMmVCetldKkgRbssQL4-YI8UGMPgEoHbhVO6PPn29vPQfWWv0Kh0adie6zQI2m60SIh7JvUHuRZSLBb5EYVPd_xMZ6-6bbR1JmnRpIPr8-9jYhz-FvbmVMrdwvynUp_OGDCPdK4bRrSG7QJFaxY-357TLQRRzDstMy_yMtKTFDX6OKM5Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"exp\":1546300800,\"created\":1619647700,\"updated\":1619647701,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "743", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "876c9cf1-5aa3-4895-8deb-d33af31811d3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3b3f28df-4c1a-472d-b065-d45bafe80d58", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-\",\"deletedDate\":1619647701,\"scheduledPurgeDate\":1620252501,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"opdFUoYAm2s3RtKrlNIcS9_U4Qk5K-YEchNNOOxQI3UJMCn52ySAaTnP2AuBqpxdV1TSO9d9aCi100L1K3Dm1vTHGvsGeBs-HoiZkNX8tTQnc5WaeYoLVMzfzYkPKXHE3UsRexjmB54E1PtDhANQtVZQlWN-Ysi3pjQcWzMmVCetldKkgRbssQL4-YI8UGMPgEoHbhVO6PPn29vPQfWWv0Kh0adie6zQI2m60SIh7JvUHuRZSLBb5EYVPd_xMZ6-6bbR1JmnRpIPr8-9jYhz-FvbmVMrdwvynUp_OGDCPdK4bRrSG7QJFaxY-357TLQRRzDstMy_yMtKTFDX6OKM5Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"exp\":1546300800,\"created\":1619647700,\"updated\":1619647701,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "913", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "194f45ed-738b-4273-ba3a-e93c9ad98d4f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a65cb68b-8b4e-4671-af96-16f3fd3334df", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6287347a-b00a-43e9-b31f-01f877a29386", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5bd30389-d30a-4da5-b888-fca073888c9f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0bd82ea6-4306-48f5-92bd-f99f1760748e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5a2c6761-6372-444e-8986-3ada19d03833", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "52b4c763-9750-47e4-ac67-1dad85bf18f8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3e244601-c906-41d8-9d60-b9351c954a17", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "664b56f9-3b27-4386-aff6-77598fe2b4d3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c924baf8-11e5-4320-a90b-ed730685d054", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "724d7f2c-18ed-4d05-9b5d-561428a748df", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b22c61fa-a1fc-4365-a2bd-cc29b92a754d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "012c214e-c876-4f39-b435-bea69e6c6d4b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4bf36d43-4055-403a-8517-2faf24daefd8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9fd41c2c-ae8a-40a0-b4b1-baaf51549f8a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7303356b-bb91-4fa4-8ec3-078bc11b127a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4f197a82-6a7e-408f-a9b2-1c60c636ec48", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6e71f29a-2d38-4753-9458-15692de6b114", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0af1cf51-67d8-4691-bbf7-a729462b6035", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f758d411-7f98-477d-b091-d9cb8d00763b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "72b3811e-8c0b-4b1a-af23-d0e948a345ee", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ec6a00dd-3ee8-4c15-8d1f-6dff7a448e0e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bacbd73e-74bc-4a50-ac12-6bc792eda138", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "60ab846f-1066-4d92-94cb-c0f24dd5df74", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b47c8014-6934-466d-93f6-674f4bdf90b8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4739c777-7c71-4cf7-9d91-ad7d8e02688a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "31542382-c482-4b6c-a7cb-6bf0bc8af559", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5457bfd8-7e1f-4457-8cdb-7bacdbad939d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "655fd6d9-e3bb-4628-936b-6bbd026cdc53", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "49042572-41c6-4d8a-9612-a1baf90514c1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1fb44c6c-5efe-4f8c-b040-4a9737ddf867", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bbc4d032-b8cb-4e89-a26e-45f402c25d0e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "de49eaf8-cb3b-439f-acbc-c436b1d36f44", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a5297036-2bee-447d-a3ff-573ddedc3277", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "db11a0e5-a2a3-4284-a33f-cd3561ac101c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c85ac722-c624-4266-be3a-24ab5eb6a17c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5fac8e54-38fd-48d7-ad96-69fdf16e1f67", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e90b055c-30bc-47ed-b260-3482e5832c3e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "599aa545-7543-43be-80f7-ae61d2e9aabe", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "25888dbc-d020-442e-8184-3d0cd0ba9725", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5304ef6c-83fb-489d-a113-98096f3cabf6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f6573f5b-f3ba-4d16-b65c-b4adcafb2846", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "01ee9937-54b4-4301-9d59-1c32e983fa26", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "54ac9b6b-1872-4a72-bfa4-1d5b77ca2593", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "23b6bc68-edee-4adb-acad-8a31b8aafaa5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "65d39f67-6063-4a17-8edd-eac7e044bfaf", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdateadisabledkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7e2ad31e-ad69-488f-a567-123a02c59c40", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "649bd4d8-3464-4d22-af05-496af4a96386", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-\",\"deletedDate\":1619647701,\"scheduledPurgeDate\":1620252501,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdateadisabledkey-/6f85a0b625de4422be7d7697ca78a711\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"opdFUoYAm2s3RtKrlNIcS9_U4Qk5K-YEchNNOOxQI3UJMCn52ySAaTnP2AuBqpxdV1TSO9d9aCi100L1K3Dm1vTHGvsGeBs-HoiZkNX8tTQnc5WaeYoLVMzfzYkPKXHE3UsRexjmB54E1PtDhANQtVZQlWN-Ysi3pjQcWzMmVCetldKkgRbssQL4-YI8UGMPgEoHbhVO6PPn29vPQfWWv0Kh0adie6zQI2m60SIh7JvUHuRZSLBb5EYVPd_xMZ6-6bbR1JmnRpIPr8-9jYhz-FvbmVMrdwvynUp_OGDCPdK4bRrSG7QJFaxY-357TLQRRzDstMy_yMtKTFDX6OKM5Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"exp\":1546300800,\"created\":1619647700,\"updated\":1619647701,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "913", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "58b24f6e-a780-479f-8499-03360ae3f29b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8bc11919-88b2-4e53-b8d2-b313de628c1b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdateadisabledkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:09:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3cf3136b-095d-4bb4-86a7-8b4dd122cd11", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dc3a50dd-d7fd-4bb7-b0c5-dd92553dc4ca", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "8f026dd398fb40ba3ff37956fce1435e" -} \ No newline at end of file + "hash": "8f026dd398fb40ba3ff37956fce1435e" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_update_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_update_key.json index 09f3771ae945..2eece82c1166 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_update_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_can_update_key.json @@ -1,518 +1,518 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4d378177-277d-4dda-90ed-f6f0a796f06b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5ec9ba5a-52c3-4d00-a1c9-7c85257bc589", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4d378177-277d-4dda-90ed-f6f0a796f06b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5ec9ba5a-52c3-4d00-a1c9-7c85257bc589", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:55 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "f61edbfc-1980-461e-9d5e-316c1b555201" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wDjSHgwLPsqDkPsPuR78U7P6i_ITUml1oXUSyW0mQL8GBg7yGzH64FW9im4nn3_KBL_pnM6CYOCLiSLW0x-nLsZA36V68-34wjUiB6qTJEUdtuS4iNq8hOOzGuD48z6MrM4U98nhzhQzAb40Mk1moJ5ScNM9xdrfS14p_NFqmvhD9NCEQjAWEKJH50plUJQwN5PPZrQlfb3OfD1oX6cG1h9t9c0_Q6RJqUzob4ulWBJ2EAkCvqyaUK9gEDXG590T5dcoJem-wDpVq0ecmBhdBu5f078TAzN2LlI4jar7aPx7WmSiCMFyhpxPZk2Oksxszo-qZzHZ6o0JpQ7qEkpKKQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647676,\"updated\":1619647676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "716", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4d378177-277d-4dda-90ed-f6f0a796f06b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3392dbd5-0b76-4f81-8fdd-9d276d7011f7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "PATCH", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"attributes\":{\"enabled\":false}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wDjSHgwLPsqDkPsPuR78U7P6i_ITUml1oXUSyW0mQL8GBg7yGzH64FW9im4nn3_KBL_pnM6CYOCLiSLW0x-nLsZA36V68-34wjUiB6qTJEUdtuS4iNq8hOOzGuD48z6MrM4U98nhzhQzAb40Mk1moJ5ScNM9xdrfS14p_NFqmvhD9NCEQjAWEKJH50plUJQwN5PPZrQlfb3OfD1oX6cG1h9t9c0_Q6RJqUzob4ulWBJ2EAkCvqyaUK9gEDXG590T5dcoJem-wDpVq0ecmBhdBu5f078TAzN2LlI4jar7aPx7WmSiCMFyhpxPZk2Oksxszo-qZzHZ6o0JpQ7qEkpKKQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647676,\"updated\":1619647676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "717", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "781827b3-5f5c-4672-9ad2-7ab8cbe38b44", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f2d81060-8521-4214-8862-19471e6c3385", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-\",\"deletedDate\":1619647676,\"scheduledPurgeDate\":1620252476,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wDjSHgwLPsqDkPsPuR78U7P6i_ITUml1oXUSyW0mQL8GBg7yGzH64FW9im4nn3_KBL_pnM6CYOCLiSLW0x-nLsZA36V68-34wjUiB6qTJEUdtuS4iNq8hOOzGuD48z6MrM4U98nhzhQzAb40Mk1moJ5ScNM9xdrfS14p_NFqmvhD9NCEQjAWEKJH50plUJQwN5PPZrQlfb3OfD1oX6cG1h9t9c0_Q6RJqUzob4ulWBJ2EAkCvqyaUK9gEDXG590T5dcoJem-wDpVq0ecmBhdBu5f078TAzN2LlI4jar7aPx7WmSiCMFyhpxPZk2Oksxszo-qZzHZ6o0JpQ7qEkpKKQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647676,\"updated\":1619647676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "878", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "70857f5f-5461-495a-b551-4fcb75516cc9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2d83bf08-c226-4cc7-8455-a84ce3e6db9d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "28cf980a-d789-4ad6-91c3-43926afc77f4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4ab5d659-3ecf-402f-a2d0-57f96254be7b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "37a983a3-96b0-42d9-82bb-6f214fd9d09f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9383b3c6-6c0e-4af0-8086-703796a33e05", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:07:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4da018fd-defd-4409-8310-c509d71c5281", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f745ac3a-34dc-4af8-9de6-7972f5480fb1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "88e58c2b-47fa-462a-9543-b6852579cb7a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "aa180cf1-5d1e-4f73-97f8-5a03a14d5e99", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a916d147-a099-4fb3-8d21-a9237eca4b10", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2d7cb077-5dc1-407f-8167-083cef55cbcc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8d29cc85-2a94-41df-baa5-3a7b3eea87b1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fc97e448-ebf1-4652-94ce-1a481c5f57b9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "089bdf9c-7773-470d-9097-1afbd554c51d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3b73b14e-c319-44a8-849c-618562077fa9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7656eb72-5e78-466e-b454-892cef9faaf9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3922f26e-2d60-41fb-a96c-51a92395c27a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0fca0587-8728-46b6-872d-ecf419977c70", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d1169929-e790-488e-96d7-4adbe34dca8c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6085732b-690a-41b0-9c4f-b11449a76935", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "71433633-dfe3-4e9d-b893-b46c08ba0c34", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d2ad8815-528a-427d-91af-5d8041d2de55", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8d650ff9-e5fe-4793-aa7b-dfd408e47c94", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "109", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c26abb37-216a-4d1e-a9d5-b24491e366f8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "de21c2d2-85f8-453e-b65e-d2a8e9f7bec5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-\",\"deletedDate\":1619647676,\"scheduledPurgeDate\":1620252476,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wDjSHgwLPsqDkPsPuR78U7P6i_ITUml1oXUSyW0mQL8GBg7yGzH64FW9im4nn3_KBL_pnM6CYOCLiSLW0x-nLsZA36V68-34wjUiB6qTJEUdtuS4iNq8hOOzGuD48z6MrM4U98nhzhQzAb40Mk1moJ5ScNM9xdrfS14p_NFqmvhD9NCEQjAWEKJH50plUJQwN5PPZrQlfb3OfD1oX6cG1h9t9c0_Q6RJqUzob4ulWBJ2EAkCvqyaUK9gEDXG590T5dcoJem-wDpVq0ecmBhdBu5f078TAzN2LlI4jar7aPx7WmSiCMFyhpxPZk2Oksxszo-qZzHZ6o0JpQ7qEkpKKQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647676,\"updated\":1619647676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "878", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:08:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "38b19b58-7793-4a42-a469-1f1fc021ac94", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4941596a-1b18-4030-b240-79e44d057a07", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:08:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8cf9259a-fcf7-4198-a517-e841431f719f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0f8362d0-7da1-4a5d-8924-77d99b12ec9d", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:55 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "f61edbfc-1980-461e-9d5e-316c1b555201" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wDjSHgwLPsqDkPsPuR78U7P6i_ITUml1oXUSyW0mQL8GBg7yGzH64FW9im4nn3_KBL_pnM6CYOCLiSLW0x-nLsZA36V68-34wjUiB6qTJEUdtuS4iNq8hOOzGuD48z6MrM4U98nhzhQzAb40Mk1moJ5ScNM9xdrfS14p_NFqmvhD9NCEQjAWEKJH50plUJQwN5PPZrQlfb3OfD1oX6cG1h9t9c0_Q6RJqUzob4ulWBJ2EAkCvqyaUK9gEDXG590T5dcoJem-wDpVq0ecmBhdBu5f078TAzN2LlI4jar7aPx7WmSiCMFyhpxPZk2Oksxszo-qZzHZ6o0JpQ7qEkpKKQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647676,\"updated\":1619647676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "716", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4d378177-277d-4dda-90ed-f6f0a796f06b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3392dbd5-0b76-4f81-8fdd-9d276d7011f7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "PATCH", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"attributes\":{\"enabled\":false}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wDjSHgwLPsqDkPsPuR78U7P6i_ITUml1oXUSyW0mQL8GBg7yGzH64FW9im4nn3_KBL_pnM6CYOCLiSLW0x-nLsZA36V68-34wjUiB6qTJEUdtuS4iNq8hOOzGuD48z6MrM4U98nhzhQzAb40Mk1moJ5ScNM9xdrfS14p_NFqmvhD9NCEQjAWEKJH50plUJQwN5PPZrQlfb3OfD1oX6cG1h9t9c0_Q6RJqUzob4ulWBJ2EAkCvqyaUK9gEDXG590T5dcoJem-wDpVq0ecmBhdBu5f078TAzN2LlI4jar7aPx7WmSiCMFyhpxPZk2Oksxszo-qZzHZ6o0JpQ7qEkpKKQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647676,\"updated\":1619647676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "717", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "781827b3-5f5c-4672-9ad2-7ab8cbe38b44", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f2d81060-8521-4214-8862-19471e6c3385", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-\",\"deletedDate\":1619647676,\"scheduledPurgeDate\":1620252476,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wDjSHgwLPsqDkPsPuR78U7P6i_ITUml1oXUSyW0mQL8GBg7yGzH64FW9im4nn3_KBL_pnM6CYOCLiSLW0x-nLsZA36V68-34wjUiB6qTJEUdtuS4iNq8hOOzGuD48z6MrM4U98nhzhQzAb40Mk1moJ5ScNM9xdrfS14p_NFqmvhD9NCEQjAWEKJH50plUJQwN5PPZrQlfb3OfD1oX6cG1h9t9c0_Q6RJqUzob4ulWBJ2EAkCvqyaUK9gEDXG590T5dcoJem-wDpVq0ecmBhdBu5f078TAzN2LlI4jar7aPx7WmSiCMFyhpxPZk2Oksxszo-qZzHZ6o0JpQ7qEkpKKQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647676,\"updated\":1619647676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "878", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "70857f5f-5461-495a-b551-4fcb75516cc9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2d83bf08-c226-4cc7-8455-a84ce3e6db9d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "28cf980a-d789-4ad6-91c3-43926afc77f4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4ab5d659-3ecf-402f-a2d0-57f96254be7b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "37a983a3-96b0-42d9-82bb-6f214fd9d09f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9383b3c6-6c0e-4af0-8086-703796a33e05", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:07:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4da018fd-defd-4409-8310-c509d71c5281", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f745ac3a-34dc-4af8-9de6-7972f5480fb1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "88e58c2b-47fa-462a-9543-b6852579cb7a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "aa180cf1-5d1e-4f73-97f8-5a03a14d5e99", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a916d147-a099-4fb3-8d21-a9237eca4b10", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2d7cb077-5dc1-407f-8167-083cef55cbcc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8d29cc85-2a94-41df-baa5-3a7b3eea87b1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fc97e448-ebf1-4652-94ce-1a481c5f57b9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "089bdf9c-7773-470d-9097-1afbd554c51d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3b73b14e-c319-44a8-849c-618562077fa9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7656eb72-5e78-466e-b454-892cef9faaf9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3922f26e-2d60-41fb-a96c-51a92395c27a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0fca0587-8728-46b6-872d-ecf419977c70", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d1169929-e790-488e-96d7-4adbe34dca8c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6085732b-690a-41b0-9c4f-b11449a76935", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "71433633-dfe3-4e9d-b893-b46c08ba0c34", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d2ad8815-528a-427d-91af-5d8041d2de55", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8d650ff9-e5fe-4793-aa7b-dfd408e47c94", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-canupdatekey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "109", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c26abb37-216a-4d1e-a9d5-b24491e366f8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "de21c2d2-85f8-453e-b65e-d2a8e9f7bec5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-\",\"deletedDate\":1619647676,\"scheduledPurgeDate\":1620252476,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-canupdatekey-/fcd0568857eb4f2c9f8947469a39879f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wDjSHgwLPsqDkPsPuR78U7P6i_ITUml1oXUSyW0mQL8GBg7yGzH64FW9im4nn3_KBL_pnM6CYOCLiSLW0x-nLsZA36V68-34wjUiB6qTJEUdtuS4iNq8hOOzGuD48z6MrM4U98nhzhQzAb40Mk1moJ5ScNM9xdrfS14p_NFqmvhD9NCEQjAWEKJH50plUJQwN5PPZrQlfb3OfD1oX6cG1h9t9c0_Q6RJqUzob4ulWBJ2EAkCvqyaUK9gEDXG590T5dcoJem-wDpVq0ecmBhdBu5f078TAzN2LlI4jar7aPx7WmSiCMFyhpxPZk2Oksxszo-qZzHZ6o0JpQ7qEkpKKQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":false,\"created\":1619647676,\"updated\":1619647676,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "878", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:08:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "38b19b58-7793-4a42-a469-1f1fc021ac94", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4941596a-1b18-4030-b240-79e44d057a07", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-canupdatekey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:08:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8cf9259a-fcf7-4198-a517-e841431f719f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0f8362d0-7da1-4a5d-8924-77d99b12ec9d", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "4f8e6c5f127e72748f13944b61ad11ff" -} \ No newline at end of file + "hash": "4f8e6c5f127e72748f13944b61ad11ff" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_cant_get_a_deleted_key_that_doesnt_exist.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_cant_get_a_deleted_key_that_doesnt_exist.json index 882d005aa9b1..ac92c8854b0a 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_cant_get_a_deleted_key_that_doesnt_exist.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_cant_get_a_deleted_key_that_doesnt_exist.json @@ -1,88 +1,88 @@ { - "recordings": [ - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cantgetadeletedkeythatdoesntexist-", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2a8d8009-c278-428b-af75-b1573d30c0f4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dfdbd4ad-efee-43a8-8345-8e37552f091c", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cantgetadeletedkeythatdoesntexist-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2a8d8009-c278-428b-af75-b1573d30c0f4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dfdbd4ad-efee-43a8-8345-8e37552f091c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:15 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "3aa6bb8b-6bcb-414d-bd57-37837b005b01" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cantgetadeletedkeythatdoesntexist-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) CRUDKeyName-cantgetadeletedkeythatdoesntexist- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "350", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2a8d8009-c278-428b-af75-b1573d30c0f4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "06a5c9e6-787b-495d-a47c-b68f6e520722", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:15 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "3aa6bb8b-6bcb-414d-bd57-37837b005b01" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-cantgetadeletedkeythatdoesntexist-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) CRUDKeyName-cantgetadeletedkeythatdoesntexist- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "350", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2a8d8009-c278-428b-af75-b1573d30c0f4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "06a5c9e6-787b-495d-a47c-b68f6e520722", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "e5dbb74486922d60dbd98407fa71e561" -} \ No newline at end of file + "hash": "e5dbb74486922d60dbd98407fa71e561" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_delete_nonexisting_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_delete_nonexisting_key.json index 5711e2e543ef..74e737eabc5f 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_delete_nonexisting_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_delete_nonexisting_key.json @@ -1,88 +1,88 @@ { - "recordings": [ - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-deletenonexistingkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "440971a3-9b67-474c-92e2-566d0b09cfd9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6c5077ff-0efd-4510-9d66-541002f15f56", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-deletenonexistingkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "440971a3-9b67-474c-92e2-566d0b09cfd9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6c5077ff-0efd-4510-9d66-541002f15f56", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:51 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "c8b4fac2-0e48-414e-9442-21d84c232b00" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-deletenonexistingkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) CRUDKeyName-deletenonexistingkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "337", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:09:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "440971a3-9b67-474c-92e2-566d0b09cfd9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e10728d4-ef94-4af6-8b4a-f87f3b3a6508", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:51 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "c8b4fac2-0e48-414e-9442-21d84c232b00" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-deletenonexistingkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) CRUDKeyName-deletenonexistingkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "337", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:09:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "440971a3-9b67-474c-92e2-566d0b09cfd9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e10728d4-ef94-4af6-8b4a-f87f3b3a6508", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "a1194f0dfdaf635882c4c28ef18bbe88" -} \ No newline at end of file + "hash": "a1194f0dfdaf635882c4c28ef18bbe88" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_supports_tracing.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_supports_tracing.json index f373847e59c5..f64a65f438f9 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_supports_tracing.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations/recording_supports_tracing.json @@ -1,88 +1,88 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e4c2007f-3653-4a9c-acc9-aa3b9c4f6810", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "28670ff1-b929-4c59-9c7b-50a7ddfe114f", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e4c2007f-3653-4a9c-acc9-aa3b9c4f6810", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "28670ff1-b929-4c59-9c7b-50a7ddfe114f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1310", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:45 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "fc9ed9eb-c584-48ca-96c5-463175f45201" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\",\"attributes\":{}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-/39a52f116ed243bb874ce6f72ab77b5f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wms368T499CBVEXxonmrl3XgwiKP10B4t-QOT_ZD6HgSqtb0nx4-WeTeJSA5ikBxi0-AJCPjgOfXbiYQFxFqnaWuVslYLym0ez5O7EFFGG2t2XyyyW2J6IdJQn46I1__X5IiOuoM4z7iH3QMP4mUyxJVRUiVyrKKRKoWqEPOdPzEDIYz6mo7mNhxdgX9gHloQwpThCw4vAI7j0YhNMC8uw8tqGk4Qb7i_FnXqg-h4Xt-6m4BwuvthGClHcaim44KH-2YXfeUEXmM2UmrwSa44vDlE8JIkipZbqNgrAGoiDLeT-Q6RCfNKLLCXcHVtfdSZq7S6l3zrVd5bxOWKYJmsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647905,\"updated\":1619647905,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "720", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e4c2007f-3653-4a9c-acc9-aa3b9c4f6810", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9e2b07cb-0830-4e93-96d0-772b571391e3", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1310", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:45 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "fc9ed9eb-c584-48ca-96c5-463175f45201" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\",\"attributes\":{}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-/39a52f116ed243bb874ce6f72ab77b5f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wms368T499CBVEXxonmrl3XgwiKP10B4t-QOT_ZD6HgSqtb0nx4-WeTeJSA5ikBxi0-AJCPjgOfXbiYQFxFqnaWuVslYLym0ez5O7EFFGG2t2XyyyW2J6IdJQn46I1__X5IiOuoM4z7iH3QMP4mUyxJVRUiVyrKKRKoWqEPOdPzEDIYz6mo7mNhxdgX9gHloQwpThCw4vAI7j0YhNMC8uw8tqGk4Qb7i_FnXqg-h4Xt-6m4BwuvthGClHcaim44KH-2YXfeUEXmM2UmrwSa44vDlE8JIkipZbqNgrAGoiDLeT-Q6RCfNKLLCXcHVtfdSZq7S6l3zrVd5bxOWKYJmsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647905,\"updated\":1619647905,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "720", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e4c2007f-3653-4a9c-acc9-aa3b9c4f6810", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9e2b07cb-0830-4e93-96d0-772b571391e3", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "5d04467f483fec6830cb47b877980e78" -} \ No newline at end of file + "hash": "5d04467f483fec6830cb47b877980e78" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm/recording_can_create_an_oct_key_with_options.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm/recording_can_create_an_oct_key_with_options.json index 954f4e51ae57..271753678429 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm/recording_can_create_an_oct_key_with_options.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm/recording_can_create_an_oct_key_with_options.json @@ -1,148 +1,148 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012\", resource=\"https://managedhsm.azure.net\"", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-request-id": "7df48546-a86d-11eb-950c-000d3a230d40", - "x-ms-server-latency": "1" - } + "recordings": [ + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "7df48546-a86d-11eb-950c-000d3a230d40", + "x-ms-server-latency": "1" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:02:57 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "786f5b8e-426b-446f-974d-918f45552b00" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"oct-HSM\",\"attributes\":{}}", + "status": 200, + "response": "{\"attributes\":{\"created\":1619647379,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647379},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/c36d3e30dee649faad4d9e40196e107c\",\"kty\":\"oct-HSM\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "380", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "7e16a3ba-a86d-11eb-950c-000d3a230d40", + "x-ms-server-latency": "643" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1619647379,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647379},\"deletedDate\":1619647379,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/c36d3e30dee649faad4d9e40196e107c\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-\",\"scheduledPurgeDate\":1627423379}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "567", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "7e881770-a86d-11eb-950c-000d3a230d40", + "x-ms-server-latency": "124" + } + }, + { + "method": "GET", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"attributes\":{\"created\":1619647379,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647379},\"deletedDate\":1619647379,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/c36d3e30dee649faad4d9e40196e107c\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-\",\"scheduledPurgeDate\":1627423379}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "567", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-build-version": "1.0.20210407-3-27236ed1-develop", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "7ea8d848-a86d-11eb-950c-000d3a230d40", + "x-ms-server-latency": "31" + } + }, + { + "method": "DELETE", + "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "westeurope", + "x-ms-request-id": "7ebc5ac6-a86d-11eb-950c-000d3a230d40", + "x-ms-server-latency": "259" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fmanagedhsm.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1322", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:02:57 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "786f5b8e-426b-446f-974d-918f45552b00" - } - }, - { - "method": "POST", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"oct-HSM\",\"attributes\":{}}", - "status": 200, - "response": "{\"attributes\":{\"created\":1619647379,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647379},\"key\":{\"key_ops\":[\"wrapKey\",\"unwrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/c36d3e30dee649faad4d9e40196e107c\",\"kty\":\"oct-HSM\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "380", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "7e16a3ba-a86d-11eb-950c-000d3a230d40", - "x-ms-server-latency": "643" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1619647379,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647379},\"deletedDate\":1619647379,\"key\":{\"key_ops\":[\"unwrapKey\",\"wrapKey\",\"decrypt\",\"encrypt\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/c36d3e30dee649faad4d9e40196e107c\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-\",\"scheduledPurgeDate\":1627423379}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "567", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "7e881770-a86d-11eb-950c-000d3a230d40", - "x-ms-server-latency": "124" - } - }, - { - "method": "GET", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"attributes\":{\"created\":1619647379,\"enabled\":true,\"exportable\":false,\"recoverableDays\":90,\"recoveryLevel\":\"Recoverable+Purgeable\",\"updated\":1619647379},\"deletedDate\":1619647379,\"key\":{\"key_ops\":[\"encrypt\",\"decrypt\",\"unwrapKey\",\"wrapKey\"],\"kid\":\"https://azure_managedhsm.managedhsm.azure.net/keys/CRUDKeyName-cancreateanOCTkeywithoptions-/c36d3e30dee649faad4d9e40196e107c\",\"kty\":\"oct-HSM\"},\"recoveryId\":\"https://azure_managedhsm.managedhsm.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-\",\"scheduledPurgeDate\":1627423379}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "567", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-build-version": "1.0.20210407-3-27236ed1-develop", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "7ea8d848-a86d-11eb-950c-000d3a230d40", - "x-ms-server-latency": "31" - } - }, - { - "method": "DELETE", - "url": "https://azure_managedhsm.managedhsm.azure.net/deletedkeys/CRUDKeyName-cancreateanOCTkeywithoptions-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "0", - "content-security-policy": "default-src 'self'", - "content-type": "application/json; charset=utf-8", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-frame-options": "SAMEORIGIN", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=Ipv4;", - "x-ms-keyvault-region": "westeurope", - "x-ms-request-id": "7ebc5ac6-a86d-11eb-950c-000d3a230d40", - "x-ms-server-latency": "259" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "d1b98bea533db0a1ad16cbd81524f0c1" -} \ No newline at end of file + "hash": "d1b98bea533db0a1ad16cbd81524f0c1" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_can_return_the_required_number_of_bytes.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_can_return_the_required_number_of_bytes.json new file mode 100644 index 000000000000..a40369ee277f --- /dev/null +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_can_return_the_required_number_of_bytes.json @@ -0,0 +1,78 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/rng", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "5bb21dfc-d529-11eb-b1e5-0022484f830d", + "x-ms-server-latency": "1" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 24 Jun 2021 20:18:36 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "adab7405-6419-4772-80ae-95d6aefa3400" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/rng", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"count\":10}", + "status": 200, + "response": "{\"value\":\"dPmLJcOQkvSsQg\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "26", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "eastus2", + "x-ms-request-id": "5bf524ee-d529-11eb-b1e5-0022484f830d", + "x-ms-server-latency": "0" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "2b5e9907f8b658d41d8f28ec0c247ea9" +} \ No newline at end of file diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_returns_an_error_when_bytes_is_out_of_range.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_returns_an_error_when_bytes_is_out_of_range.json new file mode 100644 index 000000000000..a57a5eea89fe --- /dev/null +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_returns_an_error_when_bytes_is_out_of_range.json @@ -0,0 +1,8 @@ +{ + "recordings": [], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "b4deb846148bd9998061b157d310dfaf" +} \ No newline at end of file diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_supports_tracing.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_supports_tracing.json new file mode 100644 index 000000000000..568c3d20c99d --- /dev/null +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_supports_tracing.json @@ -0,0 +1,78 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/rng", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "0", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012\", resource=\"https://managedhsm.azure.net\"", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-request-id": "5c066560-d529-11eb-b1e5-0022484f830d", + "x-ms-server-latency": "0" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1322", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 24 Jun 2021 20:18:37 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "59b1eb01-764c-46df-9381-4b82fbd73600" + } + }, + { + "method": "POST", + "url": "https://azure_managedhsm.managedhsm.azure.net/rng", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"count\":128}", + "status": 200, + "response": "{\"value\":\"mqFaqdp48lvoPR7mEbcRTb5y5C7ZdQRCCMLa7EyatllLmFlzaH0CNZ1AOGrVQAoubp5mRctUlZEog4mEIqjxA6D0vl1fR43Qs-ZrDpf6nHyUuRXt7gNdobWRPtHxYOCJucBwK-M_X3H7CBaSdD2pi-1B-BVxBxnYtHkBtCdcpJo\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "183", + "content-security-policy": "default-src 'self'", + "content-type": "application/json; charset=utf-8", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-frame-options": "SAMEORIGIN", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=Ipv4;", + "x-ms-keyvault-region": "eastus2", + "x-ms-request-id": "5c23b5e8-d529-11eb-b1e5-0022484f830d", + "x-ms-server-latency": "1" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "335dbe4e0cb7ae4beaa08873830ed29c" +} \ No newline at end of file diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__import_keys/recording_can_import_a_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__import_keys/recording_can_import_a_key.json index ef5dc620a782..34ee818116a6 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__import_keys/recording_can_import_a_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__import_keys/recording_can_import_a_key.json @@ -1,88 +1,88 @@ { - "recordings": [ - { - "method": "PUT", - "url": "https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d6aa7587-c0ef-4fb2-b0d9-45fa9efa72d2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "80b22461-c8d2-4737-8292-31bf0b063f61", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "PUT", + "url": "https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d6aa7587-c0ef-4fb2-b0d9-45fa9efa72d2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "80b22461-c8d2-4737-8292-31bf0b063f61", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:48 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "2581370d-525c-449a-8781-7cf3ab5c5401" + } + }, + { + "method": "PUT", + "url": "https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"key\":{\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU\",\"e\":\"AQAB\",\"d\":\"Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ\",\"dp\":\"AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp\",\"dq\":\"AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oBgMSnGDV_mm8nDVQkeaDyE4cOZh-5UKvKShTKKQVwunmDNH\",\"qi\":\"AJ_nrkLpK8BPzVeARkvSHQyKwMWZ-a8CD95qsKfn0dOZAvXY-2xhQYTEwbED-0bpTNEKbIpA-ZkaHygmnzJkNbbFAnb9pkkzU8ZQqDP3JNgMfVIroWx58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH\",\"p\":\"ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz\",\"q\":\"AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3\"}}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-/c3822ce302324dbf95b0d70f987f496d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647908,\"updated\":1619647908,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "719", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d6aa7587-c0ef-4fb2-b0d9-45fa9efa72d2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "154d7ccf-58f2-407c-b7ac-d71934a79287", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:48 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "2581370d-525c-449a-8781-7cf3ab5c5401" - } - }, - { - "method": "PUT", - "url": "https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"key\":{\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"AKCRTQAjSsaDshtMFdW-2Ie9yVnC5Xr1Suc06PAHINd10nXkVSB-N4TO62ClCkZV3XKnqU0nHo7o95WaZpym53W_DiO62umRtFKdl4UotL2QUh0y3SZWeWuoK2u_x2aMj17rUFN0f9GZMZ0pqEQNCPRBLVJ_-TEe2nGCWSC0exxGsRqz6R1zFkB-icfzQPe4WjQELOUXQ7J9RxhAPTTHtDivYYG-BeTRHrmF04JT1_6b9T_C8bAC0i0teT-nmlBLarQtBJKATXBx1yegbPOoiTqlQrFQP4MrKWNxtnB9Tcbjcvj-Z9je0ckI_eRc4DvAhqcUh_p15Dqg4GeaoNIO_jU\",\"e\":\"AQAB\",\"d\":\"Ynx9JGaBSP4iUsf6ZJ6opantRNdcdmzaQrKbZg6ZQE8Ohi1FYabJWvaoPSE-CiJEsDzShXZHMhUHN4X7Bn8BXaGQhK3p9HXgiwQKmix7oAJTu4ElUIyd8UC3UWHSZr40el4PaQD-HYu_eMzCXus34MnRiNbh_BUWm6T-Eidhk9d3kNIyaSi9YNDQHW6tjWrEhhq63O7JU1j9ZonFChZxpKk20jdkQKQURVAdpOdL-5j4I70ZxFuU6wHZj8DS8oRQfwGOvZKbgYDb5jgf3UNL_7eACqq92XPVX56vm7iKbqeyjCqAIx5y3hrSRIJtZlWCwjYnYQGd4unxDLi8wmJWSQ\",\"dp\":\"AMmhWb5yZcu6vJr8xJZ-t0_likxJRUMZAtEULaWZt2DgODj4y9JrZDJP6mvckzhQP0WXk2NuWbU2HR5pUeCN2wieG1B76VKoH76vfnaJDqT1NuJVBcP2SLHog3ffwZtMME5zjfygchG3kihqOSpwTQ9ETAqAJTkRC38fEhwAz_Cp\",\"dq\":\"AKC9TAo9n2RDaggjdLXK8kiLrBVoaWFTpqXkzYXRhtsx4vWPAkxhfSnze05rVMl6HiXv7FnE0f0wYawzUJzoyuXBH0zS6D9BqCZPeF543AmWB27iPf38Q9Z8Rjr6oBgMSnGDV_mm8nDVQkeaDyE4cOZh-5UKvKShTKKQVwunmDNH\",\"qi\":\"AJ_nrkLpK8BPzVeARkvSHQyKwMWZ-a8CD95qsKfn0dOZAvXY-2xhQYTEwbED-0bpTNEKbIpA-ZkaHygmnzJkNbbFAnb9pkkzU8ZQqDP3JNgMfVIroWx58Oth9nJza2j7i-MkPRCUPEq3Ao0J52z7WJIiLji8TTVYW_NaiM1oxzsH\",\"p\":\"ANHerI1o3dLB_VLVmZZVss8VZSYN5SaeQ_0qhfOSgOFwj__waCFmy2EG7l6l6f_Z-Y0L7Mn_LNov68lyWSFa2EuQUeVj4UoFHc5Di8ZUGiSsTwFM-XMtNuv8HmGgDYLL5BIJD3eTz71LdgW-Ez38OZH34b7VeG8zfeUDb8Hi30zz\",\"q\":\"AMPcZrZBqbc82DO8Q5zTT8ZXRGWrW36KktMllaIk1W2RHnRiQiW0jBWmcCgqUcQNHa1LwumjyNqwx28QBS37BTvG7ULGUoio6LrOeoiBGEMj-U19sX6m37plEhj5Mak7j3OPPY_T9rohjTW5aGGg9YSwq4jdz0RrmBX00ofYOjI3\"}}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-/c3822ce302324dbf95b0d70f987f496d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647908,\"updated\":1619647908,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "719", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d6aa7587-c0ef-4fb2-b0d9-45fa9efa72d2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "154d7ccf-58f2-407c-b7ac-d71934a79287", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "80f1d585a0f4590c035a1ac6fb18bd6b" -} \ No newline at end of file + "hash": "80f1d585a0f4590c035a1ac6fb18bd6b" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_several_inserted_keys.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_several_inserted_keys.json index 1ef72b4641c9..118c2721b16b 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_several_inserted_keys.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_several_inserted_keys.json @@ -1,1272 +1,1272 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "988b7030-a12c-4590-94e9-466e12d46446", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "285cdb1c-3311-47c8-8552-51e27c185e38", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "988b7030-a12c-4590-94e9-466e12d46446", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "285cdb1c-3311-47c8-8552-51e27c185e38", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:40 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "f6c1360a-956b-4676-bc40-655624e46501" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/7dbd456fd2564c06ab656aad9e46203c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2V5nSTC6tczual2KRJveC8ualbIiG3FbUJe2q4O1Qz1tKXaM45xq_GPjNb0p7R9tuVDQoFdYO44KefovpWG6q19QCRqope985q1PHYa7Le0jZrlt1ynEzeW2WZCfL7_YSalQkNsoD4Qk2IEsmjNCmZk-1QOMr4jLDvyhMAXOn55-_EnY4UQPdU9mrSs2zyjvzDqxQyRRJau4oikz7_OrysLmrjLrG83R6MWfAMsP4LlsLKPa1CQQ3a_J24ssgWrI8pM7cYDDFWoAGP-prS65pX8vJ_je9D_W2vl8lHYVG89L7MIbgRasHYN3NcmIP0oBd6_AsVQRT5JxVQ5C3n29TQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "730", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "988b7030-a12c-4590-94e9-466e12d46446", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "94ed7fb8-f0f6-4e5f-8fc5-fd452921e656", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1/da48f6e3a2a24e049544fb43c57c692e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2dG9Fh8JfvO34J_N0Y1sCW4UG1LEUhoEM2c584Rx0gvJ-ml6Ro_I-3huSd8qbvsq4fyySrBrGormWJFG2xpy5zWYPL-vwXfHlF1h9EwVtWhOnhB7YBOax7nXXe9HxeV5nSSPesRD0NbyNpLvO33aiAmQZbH6jhreWKbHc_wNGkwzQVwcBCvgUo0zLa0zM99unuPZQD7RUNDpTAjwQe9ysc6Jk_KFkzpVhnPuVyh6rt0z8z5BKTP00G5_S851NF_lNqjSK6Z4rN1cGIWf8Gxzwy8HcK-sUMIZmP_d8n8Q3BQJ5LDL1D9F0r94-ERgPcKpheAqmFX-hLM2G9-Q3fvglQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "730", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c6c5d39e-a656-4c34-9b6a-858de6dde508", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e72e3100-806d-45f5-8891-d62b750442fe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0\",\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1\",\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "523", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7505e5cc-e956-406e-bd72-5076a3ba64de", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "29e31941-26fe-4013-a8ad-748fd9fb584f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0\",\"deletedDate\":1619648142,\"scheduledPurgeDate\":1620252942,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/7dbd456fd2564c06ab656aad9e46203c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2V5nSTC6tczual2KRJveC8ualbIiG3FbUJe2q4O1Qz1tKXaM45xq_GPjNb0p7R9tuVDQoFdYO44KefovpWG6q19QCRqope985q1PHYa7Le0jZrlt1ynEzeW2WZCfL7_YSalQkNsoD4Qk2IEsmjNCmZk-1QOMr4jLDvyhMAXOn55-_EnY4UQPdU9mrSs2zyjvzDqxQyRRJau4oikz7_OrysLmrjLrG83R6MWfAMsP4LlsLKPa1CQQ3a_J24ssgWrI8pM7cYDDFWoAGP-prS65pX8vJ_je9D_W2vl8lHYVG89L7MIbgRasHYN3NcmIP0oBd6_AsVQRT5JxVQ5C3n29TQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "905", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7bfb2542-f340-4c99-b254-d941726a4de3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "78401963-50e6-4608-964b-81f6db0a31d9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "76d1ee8b-b6c1-40ec-b072-904cd7c4925d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f4cb9976-ff33-436d-b979-34b5e876576b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b2b19cfb-c3f5-41be-b350-f486028b5f79", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c0e96490-27c7-4b17-8552-4cb3d85cf451", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b3f47155-6503-4e98-8dc7-3c942e7963da", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f49947c7-d83a-48b4-b753-bd4b91e918d6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c3526d7f-d3fc-4de5-9323-04df7ecaf3b4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a373efff-0bd7-4691-a365-eee6f17d732c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "86eb0a63-ed89-4676-a290-40a4dc386a03", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "beffbf8b-e69a-4fe3-9c9c-2b5f12dc60e0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "80177c56-0bf9-4c47-8bb0-747baa01d5b4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ff5a45e2-4c28-44ea-bfe9-267f02d1e58d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4bd3f121-dbd7-4a19-b10e-9f988a229409", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "be0b85c0-ef28-485b-afdb-efbbbdd11731", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a7ca5f2f-3ca4-4e71-be74-cea9804c36b0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1bfdef83-940f-40e5-a791-a132a33fa4ae", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c32be736-aef9-49d6-bc41-f180ce1742a9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1cc4c2d1-1e43-4c41-8087-55e36c09a015", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ad042580-b672-4bbe-988b-57471e5f53e1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c39e4b87-6c44-47fd-bcd6-ca4c2f2d42cc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b6a01311-5e49-4a39-8c3b-37b66a754131", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "93bbb0be-a1cf-4efe-85cb-bb386e084598", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4767ab3f-c2d0-44d3-9e61-2e54143c40e4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a95b67af-bd22-44ed-806b-a74341e79c80", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e4e8fb3f-42de-46bb-a4e7-e509f68b9897", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4cdb2c8a-33d6-4714-8fa7-0c53252cdba2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "dac18f94-20b6-49d3-9665-8a2c381dd718", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a9dd2985-7fe8-4100-95ae-9690e44c1ad0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "10c5e2ad-2388-49b2-b208-355cf42e17b7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a570da07-3533-4326-a047-0f1dd2584c4f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "41b322e5-115d-460b-816b-2cae0d4e9685", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "aad85ef9-f9d8-4387-a742-710434f598ec", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "24003223-ad35-4343-a608-e9aac0a40101", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ad007b53-32ec-4d22-a366-2dfa509667a6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:15 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "32832294-42a7-4455-91ec-66a7c28035aa", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "98905ee6-af0e-4043-b56e-ac7c78b5195b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fa93f474-a4c9-4a42-b5bd-fc0242d4beca", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1c7e3a91-2179-46dc-b3ee-c9bfad51f36d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e34821ca-aaf7-41de-9bf1-81a28d142f4b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6d88d4d3-2ac8-4ac1-b12e-6d4a66f9abff", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "03e292ee-4314-4ff4-8c8a-d4ed2864bac7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ce8c4642-037a-42f9-a653-5c4cd69998bb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7ae455c2-412a-4166-b79d-91d88a28b796", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6de41425-a784-4e8c-ac81-a895165fdbea", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a5fb3a8b-a47e-4b63-b348-d44e6f829749", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e0227702-ab97-4017-88b2-c931bddf5223", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0\",\"deletedDate\":1619648142,\"scheduledPurgeDate\":1620252942,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/7dbd456fd2564c06ab656aad9e46203c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2V5nSTC6tczual2KRJveC8ualbIiG3FbUJe2q4O1Qz1tKXaM45xq_GPjNb0p7R9tuVDQoFdYO44KefovpWG6q19QCRqope985q1PHYa7Le0jZrlt1ynEzeW2WZCfL7_YSalQkNsoD4Qk2IEsmjNCmZk-1QOMr4jLDvyhMAXOn55-_EnY4UQPdU9mrSs2zyjvzDqxQyRRJau4oikz7_OrysLmrjLrG83R6MWfAMsP4LlsLKPa1CQQ3a_J24ssgWrI8pM7cYDDFWoAGP-prS65pX8vJ_je9D_W2vl8lHYVG89L7MIbgRasHYN3NcmIP0oBd6_AsVQRT5JxVQ5C3n29TQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "905", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c4135419-bd51-415f-a697-85a865ac1965", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "79887288-7e72-4a1b-bff0-b16dc935e08b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:16:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a642d4aa-ce3c-42b8-b087-5347f9bcc379", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "97054300-4514-464b-9346-69340cd2a19f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1\",\"deletedDate\":1619648189,\"scheduledPurgeDate\":1620252989,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1/da48f6e3a2a24e049544fb43c57c692e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2dG9Fh8JfvO34J_N0Y1sCW4UG1LEUhoEM2c584Rx0gvJ-ml6Ro_I-3huSd8qbvsq4fyySrBrGormWJFG2xpy5zWYPL-vwXfHlF1h9EwVtWhOnhB7YBOax7nXXe9HxeV5nSSPesRD0NbyNpLvO33aiAmQZbH6jhreWKbHc_wNGkwzQVwcBCvgUo0zLa0zM99unuPZQD7RUNDpTAjwQe9ysc6Jk_KFkzpVhnPuVyh6rt0z8z5BKTP00G5_S851NF_lNqjSK6Z4rN1cGIWf8Gxzwy8HcK-sUMIZmP_d8n8Q3BQJ5LDL1D9F0r94-ERgPcKpheAqmFX-hLM2G9-Q3fvglQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "905", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6a347d04-349f-447b-8134-743e394c3d0f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "76333fd5-efba-4aec-9e7c-2257e6df06ba", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "34cf9e56-9ee3-4e2d-96ae-6acfafe1353c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "eaeb4c63-8d8f-4df5-aa5f-942ddc1c75c4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ba6c5541-167e-4a69-830a-88694ac7bd49", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9d310039-d655-49c7-8f87-99b7e13ac42e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "947263f6-c216-4389-908f-aa2a2cb6b778", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f4217406-d769-40c7-9084-33dfaee0482b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5819cb45-fb4b-4a05-bbb8-0d5856e681ff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ca2f0d9c-b450-4d6d-9497-1135d3e021c1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e57680c7-7755-45f0-ba95-58166e82b9a1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "302968cb-d10e-4209-858c-a35d28c5c665", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "376d79a7-f1d3-4a0d-9871-3ae1ed55cb20", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e85b0368-52f9-45f3-ac4f-3c56b9c4b56e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "85e9fc3f-4183-421b-b320-737b14d568e2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5cd0d2c4-9de0-46db-807b-7493032db3de", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1307adac-a831-4a26-ad7c-75796f778f97", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "20506da0-89a5-48e9-8526-64a244b4b8aa", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "236181b7-b8ae-4682-9f4e-fdfb72df4f65", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "03f7b07a-5fd5-467b-b9d9-62d9a4c85fbb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "08643d98-fe16-4b3a-8ef5-bf7d499386f8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dc8f9447-61fd-448d-8baf-0524de766500", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "139f7f6d-e490-4108-b813-f7fe98e9ce5e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a2ab3c48-999c-487b-9507-758db0ed4853", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ec2f3d68-e11c-4cb2-8a91-f37b9076bdb3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "83d6b211-7157-421c-ad76-567a2e7130cd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "123", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f0ae7b25-3789-42f1-98f7-a4440b8c5ea2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4e5fddce-ac64-4dc2-adb0-54562be0c695", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1\",\"deletedDate\":1619648189,\"scheduledPurgeDate\":1620252989,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1/da48f6e3a2a24e049544fb43c57c692e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2dG9Fh8JfvO34J_N0Y1sCW4UG1LEUhoEM2c584Rx0gvJ-ml6Ro_I-3huSd8qbvsq4fyySrBrGormWJFG2xpy5zWYPL-vwXfHlF1h9EwVtWhOnhB7YBOax7nXXe9HxeV5nSSPesRD0NbyNpLvO33aiAmQZbH6jhreWKbHc_wNGkwzQVwcBCvgUo0zLa0zM99unuPZQD7RUNDpTAjwQe9ysc6Jk_KFkzpVhnPuVyh6rt0z8z5BKTP00G5_S851NF_lNqjSK6Z4rN1cGIWf8Gxzwy8HcK-sUMIZmP_d8n8Q3BQJ5LDL1D9F0r94-ERgPcKpheAqmFX-hLM2G9-Q3fvglQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "905", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9c1b03ba-bc14-4dab-87e1-2c5bd7ce7a0a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2707473e-2bd4-44db-bdee-add473900f96", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:16:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e1d8eae8-b8ef-45ed-a12e-23097edaf0fa", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2e4f4448-7747-4950-86e6-228e73e8581b", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:40 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "f6c1360a-956b-4676-bc40-655624e46501" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/7dbd456fd2564c06ab656aad9e46203c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2V5nSTC6tczual2KRJveC8ualbIiG3FbUJe2q4O1Qz1tKXaM45xq_GPjNb0p7R9tuVDQoFdYO44KefovpWG6q19QCRqope985q1PHYa7Le0jZrlt1ynEzeW2WZCfL7_YSalQkNsoD4Qk2IEsmjNCmZk-1QOMr4jLDvyhMAXOn55-_EnY4UQPdU9mrSs2zyjvzDqxQyRRJau4oikz7_OrysLmrjLrG83R6MWfAMsP4LlsLKPa1CQQ3a_J24ssgWrI8pM7cYDDFWoAGP-prS65pX8vJ_je9D_W2vl8lHYVG89L7MIbgRasHYN3NcmIP0oBd6_AsVQRT5JxVQ5C3n29TQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "730", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "988b7030-a12c-4590-94e9-466e12d46446", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "94ed7fb8-f0f6-4e5f-8fc5-fd452921e656", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1/da48f6e3a2a24e049544fb43c57c692e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2dG9Fh8JfvO34J_N0Y1sCW4UG1LEUhoEM2c584Rx0gvJ-ml6Ro_I-3huSd8qbvsq4fyySrBrGormWJFG2xpy5zWYPL-vwXfHlF1h9EwVtWhOnhB7YBOax7nXXe9HxeV5nSSPesRD0NbyNpLvO33aiAmQZbH6jhreWKbHc_wNGkwzQVwcBCvgUo0zLa0zM99unuPZQD7RUNDpTAjwQe9ysc6Jk_KFkzpVhnPuVyh6rt0z8z5BKTP00G5_S851NF_lNqjSK6Z4rN1cGIWf8Gxzwy8HcK-sUMIZmP_d8n8Q3BQJ5LDL1D9F0r94-ERgPcKpheAqmFX-hLM2G9-Q3fvglQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "730", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c6c5d39e-a656-4c34-9b6a-858de6dde508", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e72e3100-806d-45f5-8891-d62b750442fe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0\",\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1\",\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "523", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7505e5cc-e956-406e-bd72-5076a3ba64de", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "29e31941-26fe-4013-a8ad-748fd9fb584f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0\",\"deletedDate\":1619648142,\"scheduledPurgeDate\":1620252942,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/7dbd456fd2564c06ab656aad9e46203c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2V5nSTC6tczual2KRJveC8ualbIiG3FbUJe2q4O1Qz1tKXaM45xq_GPjNb0p7R9tuVDQoFdYO44KefovpWG6q19QCRqope985q1PHYa7Le0jZrlt1ynEzeW2WZCfL7_YSalQkNsoD4Qk2IEsmjNCmZk-1QOMr4jLDvyhMAXOn55-_EnY4UQPdU9mrSs2zyjvzDqxQyRRJau4oikz7_OrysLmrjLrG83R6MWfAMsP4LlsLKPa1CQQ3a_J24ssgWrI8pM7cYDDFWoAGP-prS65pX8vJ_je9D_W2vl8lHYVG89L7MIbgRasHYN3NcmIP0oBd6_AsVQRT5JxVQ5C3n29TQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "905", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7bfb2542-f340-4c99-b254-d941726a4de3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "78401963-50e6-4608-964b-81f6db0a31d9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "76d1ee8b-b6c1-40ec-b072-904cd7c4925d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f4cb9976-ff33-436d-b979-34b5e876576b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b2b19cfb-c3f5-41be-b350-f486028b5f79", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c0e96490-27c7-4b17-8552-4cb3d85cf451", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b3f47155-6503-4e98-8dc7-3c942e7963da", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f49947c7-d83a-48b4-b753-bd4b91e918d6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c3526d7f-d3fc-4de5-9323-04df7ecaf3b4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a373efff-0bd7-4691-a365-eee6f17d732c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "86eb0a63-ed89-4676-a290-40a4dc386a03", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "beffbf8b-e69a-4fe3-9c9c-2b5f12dc60e0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "80177c56-0bf9-4c47-8bb0-747baa01d5b4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ff5a45e2-4c28-44ea-bfe9-267f02d1e58d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4bd3f121-dbd7-4a19-b10e-9f988a229409", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "be0b85c0-ef28-485b-afdb-efbbbdd11731", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a7ca5f2f-3ca4-4e71-be74-cea9804c36b0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1bfdef83-940f-40e5-a791-a132a33fa4ae", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c32be736-aef9-49d6-bc41-f180ce1742a9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1cc4c2d1-1e43-4c41-8087-55e36c09a015", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ad042580-b672-4bbe-988b-57471e5f53e1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c39e4b87-6c44-47fd-bcd6-ca4c2f2d42cc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b6a01311-5e49-4a39-8c3b-37b66a754131", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "93bbb0be-a1cf-4efe-85cb-bb386e084598", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4767ab3f-c2d0-44d3-9e61-2e54143c40e4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a95b67af-bd22-44ed-806b-a74341e79c80", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e4e8fb3f-42de-46bb-a4e7-e509f68b9897", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4cdb2c8a-33d6-4714-8fa7-0c53252cdba2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dac18f94-20b6-49d3-9665-8a2c381dd718", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a9dd2985-7fe8-4100-95ae-9690e44c1ad0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "10c5e2ad-2388-49b2-b208-355cf42e17b7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a570da07-3533-4326-a047-0f1dd2584c4f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "41b322e5-115d-460b-816b-2cae0d4e9685", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "aad85ef9-f9d8-4387-a742-710434f598ec", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "24003223-ad35-4343-a608-e9aac0a40101", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ad007b53-32ec-4d22-a366-2dfa509667a6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "32832294-42a7-4455-91ec-66a7c28035aa", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "98905ee6-af0e-4043-b56e-ac7c78b5195b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fa93f474-a4c9-4a42-b5bd-fc0242d4beca", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1c7e3a91-2179-46dc-b3ee-c9bfad51f36d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e34821ca-aaf7-41de-9bf1-81a28d142f4b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6d88d4d3-2ac8-4ac1-b12e-6d4a66f9abff", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "03e292ee-4314-4ff4-8c8a-d4ed2864bac7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ce8c4642-037a-42f9-a653-5c4cd69998bb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7ae455c2-412a-4166-b79d-91d88a28b796", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6de41425-a784-4e8c-ac81-a895165fdbea", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a5fb3a8b-a47e-4b63-b348-d44e6f829749", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e0227702-ab97-4017-88b2-c931bddf5223", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0\",\"deletedDate\":1619648142,\"scheduledPurgeDate\":1620252942,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--0/7dbd456fd2564c06ab656aad9e46203c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2V5nSTC6tczual2KRJveC8ualbIiG3FbUJe2q4O1Qz1tKXaM45xq_GPjNb0p7R9tuVDQoFdYO44KefovpWG6q19QCRqope985q1PHYa7Le0jZrlt1ynEzeW2WZCfL7_YSalQkNsoD4Qk2IEsmjNCmZk-1QOMr4jLDvyhMAXOn55-_EnY4UQPdU9mrSs2zyjvzDqxQyRRJau4oikz7_OrysLmrjLrG83R6MWfAMsP4LlsLKPa1CQQ3a_J24ssgWrI8pM7cYDDFWoAGP-prS65pX8vJ_je9D_W2vl8lHYVG89L7MIbgRasHYN3NcmIP0oBd6_AsVQRT5JxVQ5C3n29TQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "905", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c4135419-bd51-415f-a697-85a865ac1965", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "79887288-7e72-4a1b-bff0-b16dc935e08b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:16:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a642d4aa-ce3c-42b8-b087-5347f9bcc379", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "97054300-4514-464b-9346-69340cd2a19f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1\",\"deletedDate\":1619648189,\"scheduledPurgeDate\":1620252989,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1/da48f6e3a2a24e049544fb43c57c692e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2dG9Fh8JfvO34J_N0Y1sCW4UG1LEUhoEM2c584Rx0gvJ-ml6Ro_I-3huSd8qbvsq4fyySrBrGormWJFG2xpy5zWYPL-vwXfHlF1h9EwVtWhOnhB7YBOax7nXXe9HxeV5nSSPesRD0NbyNpLvO33aiAmQZbH6jhreWKbHc_wNGkwzQVwcBCvgUo0zLa0zM99unuPZQD7RUNDpTAjwQe9ysc6Jk_KFkzpVhnPuVyh6rt0z8z5BKTP00G5_S851NF_lNqjSK6Z4rN1cGIWf8Gxzwy8HcK-sUMIZmP_d8n8Q3BQJ5LDL1D9F0r94-ERgPcKpheAqmFX-hLM2G9-Q3fvglQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "905", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6a347d04-349f-447b-8134-743e394c3d0f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "76333fd5-efba-4aec-9e7c-2257e6df06ba", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "34cf9e56-9ee3-4e2d-96ae-6acfafe1353c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "eaeb4c63-8d8f-4df5-aa5f-942ddc1c75c4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ba6c5541-167e-4a69-830a-88694ac7bd49", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9d310039-d655-49c7-8f87-99b7e13ac42e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "947263f6-c216-4389-908f-aa2a2cb6b778", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f4217406-d769-40c7-9084-33dfaee0482b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5819cb45-fb4b-4a05-bbb8-0d5856e681ff", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ca2f0d9c-b450-4d6d-9497-1135d3e021c1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e57680c7-7755-45f0-ba95-58166e82b9a1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "302968cb-d10e-4209-858c-a35d28c5c665", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "376d79a7-f1d3-4a0d-9871-3ae1ed55cb20", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e85b0368-52f9-45f3-ac4f-3c56b9c4b56e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "85e9fc3f-4183-421b-b320-737b14d568e2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5cd0d2c4-9de0-46db-807b-7493032db3de", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1307adac-a831-4a26-ad7c-75796f778f97", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "20506da0-89a5-48e9-8526-64a244b4b8aa", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "236181b7-b8ae-4682-9f4e-fdfb72df4f65", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "03f7b07a-5fd5-467b-b9d9-62d9a4c85fbb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "08643d98-fe16-4b3a-8ef5-bf7d499386f8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dc8f9447-61fd-448d-8baf-0524de766500", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "139f7f6d-e490-4108-b813-f7fe98e9ce5e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a2ab3c48-999c-487b-9507-758db0ed4853", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ec2f3d68-e11c-4cb2-8a91-f37b9076bdb3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "83d6b211-7157-421c-ad76-567a2e7130cd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "123", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f0ae7b25-3789-42f1-98f7-a4440b8c5ea2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4e5fddce-ac64-4dc2-adb0-54562be0c695", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1\",\"deletedDate\":1619648189,\"scheduledPurgeDate\":1620252989,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeys--1/da48f6e3a2a24e049544fb43c57c692e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"2dG9Fh8JfvO34J_N0Y1sCW4UG1LEUhoEM2c584Rx0gvJ-ml6Ro_I-3huSd8qbvsq4fyySrBrGormWJFG2xpy5zWYPL-vwXfHlF1h9EwVtWhOnhB7YBOax7nXXe9HxeV5nSSPesRD0NbyNpLvO33aiAmQZbH6jhreWKbHc_wNGkwzQVwcBCvgUo0zLa0zM99unuPZQD7RUNDpTAjwQe9ysc6Jk_KFkzpVhnPuVyh6rt0z8z5BKTP00G5_S851NF_lNqjSK6Z4rN1cGIWf8Gxzwy8HcK-sUMIZmP_d8n8Q3BQJ5LDL1D9F0r94-ERgPcKpheAqmFX-hLM2G9-Q3fvglQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648141,\"updated\":1619648141,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "905", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9c1b03ba-bc14-4dab-87e1-2c5bd7ce7a0a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2707473e-2bd4-44db-bdee-add473900f96", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:16:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e1d8eae8-b8ef-45ed-a12e-23097edaf0fa", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2e4f4448-7747-4950-86e6-228e73e8581b", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "8e857f30b78de869832cd3e7ae77c0d1" -} \ No newline at end of file + "hash": "8e857f30b78de869832cd3e7ae77c0d1" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_several_inserted_keys_paged.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_several_inserted_keys_paged.json index 3397c55341ca..de60f5d507d8 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_several_inserted_keys_paged.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_several_inserted_keys_paged.json @@ -1,1029 +1,1029 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a8e9bf33-c2e5-47f2-8355-94f089be26e9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1216a827-13cf-45a6-b4df-72e2ea58a2c9", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a8e9bf33-c2e5-47f2-8355-94f089be26e9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1216a827-13cf-45a6-b4df-72e2ea58a2c9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:54 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "b0eebdf2-53e1-4a2d-b7ef-db41e1af3b01" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/b2bf161f2c594fb98a29a088926dad79\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yCsIuIma2mSk2mDvH9Dtvus02YQ3f2-y252NvuT8DT9TTpk55g9lkJb5hPpMcM2XqlWJFeuEfKXNSpSGEcCW0ypXAlLpc2JSzPcP6WKxHW9OkJMn0Kz6eGJ45MGZH3E6-qkCe9tQCR-tAqCNshl8F9mWhDwRJyMb-Ah9pq-Qr4QD6F_e3P_tBAyAb-MAWuouugGZ6k1_Gc5hUd-ONPXAzCrw6I4X8skrklPKysqpaPnUVi7CGegnriqhev2-ETxS2pZOyDo-xcXAL4ysbXV6_69hr9j8kEMiN3kuXs6lehrHgKYWiKFoP5bg6fFMqjxmEN7wAUcHRwqp7CY5pd5hAQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "736", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a8e9bf33-c2e5-47f2-8355-94f089be26e9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "960dd644-f005-4728-980a-12fa01e1d25c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1/fc03f5fa3e884db1bec9a04c02340ce2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vCNLf6nTTHjd7ZkzQf2fK2HtZvbteEYrTVmqz9PaMbFte7PM-Gxxvanlu_r-HQp7P3_H0iU9TBLQKdbLmbN8IXVsmNRcAS5cVhe1patxhuQOTFj9D_Wt_T88UpDcgH-2m6qUPiV3EHbhHdBRK_jTEqDLFiN9Na39XZNU6JUSlDv9SoUfQv85X5Qy4dWKYfVGahOckL1kIhc3J2TqSIos_bEDQoh24Q7CHTl5I2X_Wk-DQxoLyJB5wAt-tA3Sy7CGJFaXINp-NGgRVVEzNvFETcjiWmTmaCcE_mSG_ZNUxI-hi670MSlE5Pwjzk9RU5AP4IqQcA5_gY6R4sMhPwXoLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "736", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cf38be90-d06d-4a6c-8e18-a7986439aada", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1d00c66c-c61b-4789-b6eb-950714306428", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0\",\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1\",\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "535", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bb2d2cdf-9c7f-4395-af55-164f36590cf3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "086ed9cd-3e50-45df-bbc7-ee3d83bebb66", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0\",\"deletedDate\":1619648216,\"scheduledPurgeDate\":1620253016,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/b2bf161f2c594fb98a29a088926dad79\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yCsIuIma2mSk2mDvH9Dtvus02YQ3f2-y252NvuT8DT9TTpk55g9lkJb5hPpMcM2XqlWJFeuEfKXNSpSGEcCW0ypXAlLpc2JSzPcP6WKxHW9OkJMn0Kz6eGJ45MGZH3E6-qkCe9tQCR-tAqCNshl8F9mWhDwRJyMb-Ah9pq-Qr4QD6F_e3P_tBAyAb-MAWuouugGZ6k1_Gc5hUd-ONPXAzCrw6I4X8skrklPKysqpaPnUVi7CGegnriqhev2-ETxS2pZOyDo-xcXAL4ysbXV6_69hr9j8kEMiN3kuXs6lehrHgKYWiKFoP5bg6fFMqjxmEN7wAUcHRwqp7CY5pd5hAQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "917", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6d5f4cb8-0ff4-4181-a8b7-17cb892b77bf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3d56905e-181b-430d-b639-466130e8021b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "50cdd1e1-4f30-4a23-926d-1967a1322324", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1b70c9b4-b9e1-4d73-a1e5-39b7b0ed7919", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "03604767-9905-4d09-be07-9f6568429493", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "23a29f98-e8ad-4498-b84d-75237b627d3b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:16:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "650f6d46-b212-4925-811f-f7e74d0ab770", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5328a522-671a-48bd-92be-bec53bc27a37", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "92a160c1-18a2-41c3-8433-f1089db14b46", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "95594a5d-3545-4ef1-8bb6-9507ba10ddcf", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c698b773-d883-426d-95ff-8bf95a76b8db", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5eae0d04-9a20-4d39-8e8c-57b64cded294", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5d8d0b81-309b-4d83-aa39-ed3e42cc4736", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7bd9ea95-e0df-4592-a2d6-46877995c013", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4b53557b-15e8-4181-89f7-0e3f034e8749", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8b939469-fe21-48be-84bd-5fc23a229630", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d6e66d03-baeb-4004-8c4a-25461b1b4500", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "73dce0c4-3d19-4afb-b899-02c02d305abc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f8801eb9-de54-4074-9a82-c01a3d7f5835", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b35f5858-13df-4721-9f84-c2e123bab5ee", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3aa74dd9-99e4-4e90-be0e-015b0df5f63c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ea9aa341-0c2c-4ddf-8763-3cfc896b2803", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:15 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "48ac5978-53e5-4037-96a4-8d10b603b40e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "21e155dd-bc84-4f0e-ad19-dda65db79394", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4fe948f4-d2bf-4c99-9bf6-d49118472142", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "47f05fd1-c95c-465e-8ca7-8fc2f8a29620", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9eab24d8-affb-469f-9da2-6d8aaddc0d4c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5f46b22a-d967-4d72-9e05-96d410b92dc9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "84cc8910-0487-45a9-a52c-d5e8df414075", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "367299a5-d52a-4247-9876-954c419aa1d3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0\",\"deletedDate\":1619648216,\"scheduledPurgeDate\":1620253016,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/b2bf161f2c594fb98a29a088926dad79\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yCsIuIma2mSk2mDvH9Dtvus02YQ3f2-y252NvuT8DT9TTpk55g9lkJb5hPpMcM2XqlWJFeuEfKXNSpSGEcCW0ypXAlLpc2JSzPcP6WKxHW9OkJMn0Kz6eGJ45MGZH3E6-qkCe9tQCR-tAqCNshl8F9mWhDwRJyMb-Ah9pq-Qr4QD6F_e3P_tBAyAb-MAWuouugGZ6k1_Gc5hUd-ONPXAzCrw6I4X8skrklPKysqpaPnUVi7CGegnriqhev2-ETxS2pZOyDo-xcXAL4ysbXV6_69hr9j8kEMiN3kuXs6lehrHgKYWiKFoP5bg6fFMqjxmEN7wAUcHRwqp7CY5pd5hAQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "917", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c0c9332d-028e-403f-aed0-72ef5568742a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7f68515a-e4d1-4ec7-9659-e78b5d638896", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:17:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "64115594-c5be-4068-bc80-22ea28168f16", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "840719c3-dc73-4a0e-b8c0-1110356f788a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1\",\"deletedDate\":1619648244,\"scheduledPurgeDate\":1620253044,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1/fc03f5fa3e884db1bec9a04c02340ce2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vCNLf6nTTHjd7ZkzQf2fK2HtZvbteEYrTVmqz9PaMbFte7PM-Gxxvanlu_r-HQp7P3_H0iU9TBLQKdbLmbN8IXVsmNRcAS5cVhe1patxhuQOTFj9D_Wt_T88UpDcgH-2m6qUPiV3EHbhHdBRK_jTEqDLFiN9Na39XZNU6JUSlDv9SoUfQv85X5Qy4dWKYfVGahOckL1kIhc3J2TqSIos_bEDQoh24Q7CHTl5I2X_Wk-DQxoLyJB5wAt-tA3Sy7CGJFaXINp-NGgRVVEzNvFETcjiWmTmaCcE_mSG_ZNUxI-hi670MSlE5Pwjzk9RU5AP4IqQcA5_gY6R4sMhPwXoLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "917", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cfe40a87-7853-4762-8591-95243fb4dc34", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4a3419b8-090a-434c-b37e-874d8d4689a0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d88fcac3-a07c-4d2c-8ef5-283442bd11f4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a1bd0fed-0a64-4693-a48c-dfc55bac504e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2f3429c7-e92d-4e7c-9a7f-c6ca70126ea1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c603582b-116b-453f-ba25-357c07eac4b1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c2889b7b-03b4-44b7-8306-a628afc88c78", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9a1d68bc-9602-43a8-ba1d-850ba7f3b4d5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a5c15a51-c362-43ea-a442-334ff9a92b35", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "51ffcc71-bdf5-4eaa-9682-e5fdc56bbc81", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "abcca202-3133-4084-84c2-78f761a34069", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e0ca44a7-6775-4b4e-9c6f-17faf97e43f9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "50f4d582-f2a1-41d5-bfd8-2f0f0d185edb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9f05b229-7dac-487f-8b61-763e393d55fc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "af77c52d-1004-4cce-a691-2f69f928cf26", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d2ebf01f-2feb-4e00-b8d3-a9733bde1c61", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3571e36b-5eb8-4345-8542-31fcde3697e9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "18b92eb9-2b66-4f98-ae69-f079b7cd0854", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ff9e6103-8cc4-47fb-8e59-cf053ee2ef5a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1a26596e-a14e-43f7-b4e3-d92b6c802545", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1f8264f2-c0d8-4604-8d6f-07e296facd42", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cabb8a59-9015-4754-8f60-7b2a328abfd1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fb2c445c-4d67-412c-a032-a44e00590778", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1a5929b1-4cc2-4c75-860e-c38743658c21", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "80835a0b-502b-46ea-a422-a9e9157f76f0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d11e988c-4c3b-4c5b-9e6a-e7fa004173ce", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "65743f4c-dfc7-4c7d-902b-01b87b01b752", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b86cdf5d-421a-4484-a2bb-b70a6a798399", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1\",\"deletedDate\":1619648244,\"scheduledPurgeDate\":1620253044,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1/fc03f5fa3e884db1bec9a04c02340ce2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vCNLf6nTTHjd7ZkzQf2fK2HtZvbteEYrTVmqz9PaMbFte7PM-Gxxvanlu_r-HQp7P3_H0iU9TBLQKdbLmbN8IXVsmNRcAS5cVhe1patxhuQOTFj9D_Wt_T88UpDcgH-2m6qUPiV3EHbhHdBRK_jTEqDLFiN9Na39XZNU6JUSlDv9SoUfQv85X5Qy4dWKYfVGahOckL1kIhc3J2TqSIos_bEDQoh24Q7CHTl5I2X_Wk-DQxoLyJB5wAt-tA3Sy7CGJFaXINp-NGgRVVEzNvFETcjiWmTmaCcE_mSG_ZNUxI-hi670MSlE5Pwjzk9RU5AP4IqQcA5_gY6R4sMhPwXoLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "917", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2c047b89-d1ff-4195-90d0-996ee4c14c42", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e5847f69-7ed3-4d20-831d-094f5ab1e7aa", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:17:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d029853b-33ba-421f-b519-92a49c3e67b9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "50e40a1c-9876-4f71-8955-c9d711c09056", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:54 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "b0eebdf2-53e1-4a2d-b7ef-db41e1af3b01" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/b2bf161f2c594fb98a29a088926dad79\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yCsIuIma2mSk2mDvH9Dtvus02YQ3f2-y252NvuT8DT9TTpk55g9lkJb5hPpMcM2XqlWJFeuEfKXNSpSGEcCW0ypXAlLpc2JSzPcP6WKxHW9OkJMn0Kz6eGJ45MGZH3E6-qkCe9tQCR-tAqCNshl8F9mWhDwRJyMb-Ah9pq-Qr4QD6F_e3P_tBAyAb-MAWuouugGZ6k1_Gc5hUd-ONPXAzCrw6I4X8skrklPKysqpaPnUVi7CGegnriqhev2-ETxS2pZOyDo-xcXAL4ysbXV6_69hr9j8kEMiN3kuXs6lehrHgKYWiKFoP5bg6fFMqjxmEN7wAUcHRwqp7CY5pd5hAQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "736", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a8e9bf33-c2e5-47f2-8355-94f089be26e9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "960dd644-f005-4728-980a-12fa01e1d25c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1/fc03f5fa3e884db1bec9a04c02340ce2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vCNLf6nTTHjd7ZkzQf2fK2HtZvbteEYrTVmqz9PaMbFte7PM-Gxxvanlu_r-HQp7P3_H0iU9TBLQKdbLmbN8IXVsmNRcAS5cVhe1patxhuQOTFj9D_Wt_T88UpDcgH-2m6qUPiV3EHbhHdBRK_jTEqDLFiN9Na39XZNU6JUSlDv9SoUfQv85X5Qy4dWKYfVGahOckL1kIhc3J2TqSIos_bEDQoh24Q7CHTl5I2X_Wk-DQxoLyJB5wAt-tA3Sy7CGJFaXINp-NGgRVVEzNvFETcjiWmTmaCcE_mSG_ZNUxI-hi670MSlE5Pwjzk9RU5AP4IqQcA5_gY6R4sMhPwXoLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "736", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cf38be90-d06d-4a6c-8e18-a7986439aada", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1d00c66c-c61b-4789-b6eb-950714306428", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0\",\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1\",\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "535", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bb2d2cdf-9c7f-4395-af55-164f36590cf3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "086ed9cd-3e50-45df-bbc7-ee3d83bebb66", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0\",\"deletedDate\":1619648216,\"scheduledPurgeDate\":1620253016,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/b2bf161f2c594fb98a29a088926dad79\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yCsIuIma2mSk2mDvH9Dtvus02YQ3f2-y252NvuT8DT9TTpk55g9lkJb5hPpMcM2XqlWJFeuEfKXNSpSGEcCW0ypXAlLpc2JSzPcP6WKxHW9OkJMn0Kz6eGJ45MGZH3E6-qkCe9tQCR-tAqCNshl8F9mWhDwRJyMb-Ah9pq-Qr4QD6F_e3P_tBAyAb-MAWuouugGZ6k1_Gc5hUd-ONPXAzCrw6I4X8skrklPKysqpaPnUVi7CGegnriqhev2-ETxS2pZOyDo-xcXAL4ysbXV6_69hr9j8kEMiN3kuXs6lehrHgKYWiKFoP5bg6fFMqjxmEN7wAUcHRwqp7CY5pd5hAQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "917", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6d5f4cb8-0ff4-4181-a8b7-17cb892b77bf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3d56905e-181b-430d-b639-466130e8021b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "50cdd1e1-4f30-4a23-926d-1967a1322324", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1b70c9b4-b9e1-4d73-a1e5-39b7b0ed7919", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "03604767-9905-4d09-be07-9f6568429493", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "23a29f98-e8ad-4498-b84d-75237b627d3b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:16:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "650f6d46-b212-4925-811f-f7e74d0ab770", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5328a522-671a-48bd-92be-bec53bc27a37", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "92a160c1-18a2-41c3-8433-f1089db14b46", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "95594a5d-3545-4ef1-8bb6-9507ba10ddcf", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c698b773-d883-426d-95ff-8bf95a76b8db", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5eae0d04-9a20-4d39-8e8c-57b64cded294", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5d8d0b81-309b-4d83-aa39-ed3e42cc4736", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7bd9ea95-e0df-4592-a2d6-46877995c013", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4b53557b-15e8-4181-89f7-0e3f034e8749", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8b939469-fe21-48be-84bd-5fc23a229630", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d6e66d03-baeb-4004-8c4a-25461b1b4500", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "73dce0c4-3d19-4afb-b899-02c02d305abc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f8801eb9-de54-4074-9a82-c01a3d7f5835", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b35f5858-13df-4721-9f84-c2e123bab5ee", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3aa74dd9-99e4-4e90-be0e-015b0df5f63c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ea9aa341-0c2c-4ddf-8763-3cfc896b2803", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "48ac5978-53e5-4037-96a4-8d10b603b40e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "21e155dd-bc84-4f0e-ad19-dda65db79394", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4fe948f4-d2bf-4c99-9bf6-d49118472142", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "47f05fd1-c95c-465e-8ca7-8fc2f8a29620", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9eab24d8-affb-469f-9da2-6d8aaddc0d4c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5f46b22a-d967-4d72-9e05-96d410b92dc9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "84cc8910-0487-45a9-a52c-d5e8df414075", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "367299a5-d52a-4247-9876-954c419aa1d3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0\",\"deletedDate\":1619648216,\"scheduledPurgeDate\":1620253016,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--0/b2bf161f2c594fb98a29a088926dad79\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"yCsIuIma2mSk2mDvH9Dtvus02YQ3f2-y252NvuT8DT9TTpk55g9lkJb5hPpMcM2XqlWJFeuEfKXNSpSGEcCW0ypXAlLpc2JSzPcP6WKxHW9OkJMn0Kz6eGJ45MGZH3E6-qkCe9tQCR-tAqCNshl8F9mWhDwRJyMb-Ah9pq-Qr4QD6F_e3P_tBAyAb-MAWuouugGZ6k1_Gc5hUd-ONPXAzCrw6I4X8skrklPKysqpaPnUVi7CGegnriqhev2-ETxS2pZOyDo-xcXAL4ysbXV6_69hr9j8kEMiN3kuXs6lehrHgKYWiKFoP5bg6fFMqjxmEN7wAUcHRwqp7CY5pd5hAQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "917", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c0c9332d-028e-403f-aed0-72ef5568742a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7f68515a-e4d1-4ec7-9659-e78b5d638896", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:17:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "64115594-c5be-4068-bc80-22ea28168f16", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "840719c3-dc73-4a0e-b8c0-1110356f788a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1\",\"deletedDate\":1619648244,\"scheduledPurgeDate\":1620253044,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1/fc03f5fa3e884db1bec9a04c02340ce2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vCNLf6nTTHjd7ZkzQf2fK2HtZvbteEYrTVmqz9PaMbFte7PM-Gxxvanlu_r-HQp7P3_H0iU9TBLQKdbLmbN8IXVsmNRcAS5cVhe1patxhuQOTFj9D_Wt_T88UpDcgH-2m6qUPiV3EHbhHdBRK_jTEqDLFiN9Na39XZNU6JUSlDv9SoUfQv85X5Qy4dWKYfVGahOckL1kIhc3J2TqSIos_bEDQoh24Q7CHTl5I2X_Wk-DQxoLyJB5wAt-tA3Sy7CGJFaXINp-NGgRVVEzNvFETcjiWmTmaCcE_mSG_ZNUxI-hi670MSlE5Pwjzk9RU5AP4IqQcA5_gY6R4sMhPwXoLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "917", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cfe40a87-7853-4762-8591-95243fb4dc34", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4a3419b8-090a-434c-b37e-874d8d4689a0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d88fcac3-a07c-4d2c-8ef5-283442bd11f4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a1bd0fed-0a64-4693-a48c-dfc55bac504e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2f3429c7-e92d-4e7c-9a7f-c6ca70126ea1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c603582b-116b-453f-ba25-357c07eac4b1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c2889b7b-03b4-44b7-8306-a628afc88c78", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9a1d68bc-9602-43a8-ba1d-850ba7f3b4d5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a5c15a51-c362-43ea-a442-334ff9a92b35", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "51ffcc71-bdf5-4eaa-9682-e5fdc56bbc81", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "abcca202-3133-4084-84c2-78f761a34069", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e0ca44a7-6775-4b4e-9c6f-17faf97e43f9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "50f4d582-f2a1-41d5-bfd8-2f0f0d185edb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9f05b229-7dac-487f-8b61-763e393d55fc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "af77c52d-1004-4cce-a691-2f69f928cf26", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d2ebf01f-2feb-4e00-b8d3-a9733bde1c61", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3571e36b-5eb8-4345-8542-31fcde3697e9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "18b92eb9-2b66-4f98-ae69-f079b7cd0854", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ff9e6103-8cc4-47fb-8e59-cf053ee2ef5a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1a26596e-a14e-43f7-b4e3-d92b6c802545", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1f8264f2-c0d8-4604-8d6f-07e296facd42", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cabb8a59-9015-4754-8f60-7b2a328abfd1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fb2c445c-4d67-412c-a032-a44e00590778", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1a5929b1-4cc2-4c75-860e-c38743658c21", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "80835a0b-502b-46ea-a422-a9e9157f76f0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d11e988c-4c3b-4c5b-9e6a-e7fa004173ce", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangetseveralinsertedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "65743f4c-dfc7-4c7d-902b-01b87b01b752", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b86cdf5d-421a-4484-a2bb-b70a6a798399", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1\",\"deletedDate\":1619648244,\"scheduledPurgeDate\":1620253044,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangetseveralinsertedkeyspaged--1/fc03f5fa3e884db1bec9a04c02340ce2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vCNLf6nTTHjd7ZkzQf2fK2HtZvbteEYrTVmqz9PaMbFte7PM-Gxxvanlu_r-HQp7P3_H0iU9TBLQKdbLmbN8IXVsmNRcAS5cVhe1patxhuQOTFj9D_Wt_T88UpDcgH-2m6qUPiV3EHbhHdBRK_jTEqDLFiN9Na39XZNU6JUSlDv9SoUfQv85X5Qy4dWKYfVGahOckL1kIhc3J2TqSIos_bEDQoh24Q7CHTl5I2X_Wk-DQxoLyJB5wAt-tA3Sy7CGJFaXINp-NGgRVVEzNvFETcjiWmTmaCcE_mSG_ZNUxI-hi670MSlE5Pwjzk9RU5AP4IqQcA5_gY6R4sMhPwXoLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648215,\"updated\":1619648215,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "917", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2c047b89-d1ff-4195-90d0-996ee4c14c42", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e5847f69-7ed3-4d20-831d-094f5ab1e7aa", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangetseveralinsertedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:17:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d029853b-33ba-421f-b519-92a49c3e67b9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "50e40a1c-9876-4f71-8955-c9d711c09056", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "bae83f172fec0d3cdeb7a2a10b48e457" -} \ No newline at end of file + "hash": "bae83f172fec0d3cdeb7a2a10b48e457" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_the_versions_of_a_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_the_versions_of_a_key.json index b01a02475ac8..bdbb59b8c131 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_the_versions_of_a_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_the_versions_of_a_key.json @@ -1,842 +1,842 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "60902ff9-7b12-4590-9896-df191d8cd027", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6d5aeda2-6a2e-47e7-aaff-ea10a2fc733b", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "60902ff9-7b12-4590-9896-df191d8cd027", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6d5aeda2-6a2e-47e7-aaff-ea10a2fc733b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:22 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "48c5329c-0596-4150-b337-49df877ff801" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/b4ff7f19b9eb4a87876a35f3f5ae1d07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6FsoMU-VzetHv88EyrCaivM9lUAfFoWeb0UQcv5INoXv5GITnlL7Cxmf35hu-w3bG-AJbQULVvzPw0EBmXVYZdeL5yfowNvh5VeZW_V8EAw5dLiBH45Bl-etts5xuBXCwjhKA9ZNgTcO5xMNW5ySpzXao5KFK1fHxXE8Vkb9hHAqku9p5U-mcmRhedcfnCYwgLDVYtyDneu1wLAbcot3E10f3ok3cf5mjC7Xz-0_qDUR7SKfNjInC6ddBO8zsmvVJJlgsHnAmItHQJNuodU14lmr8H43wu2Vy-iIIHp_QlsOuq_5qmj2QQpdkHzDWjdMcNjiovg2VCt8BZ8pKpTXLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648062,\"updated\":1619648062,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "727", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "60902ff9-7b12-4590-9896-df191d8cd027", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ca056d9b-d835-44a5-9f9e-86739e847181", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/versions", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/b4ff7f19b9eb4a87876a35f3f5ae1d07\",\"attributes\":{\"enabled\":true,\"created\":1619648062,\"updated\":1619648062,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "305", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a98a5764-8586-4a98-a904-0ba448309de6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e2511293-b1f2-4e28-97ed-53404185dfda", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-\",\"deletedDate\":1619648063,\"scheduledPurgeDate\":1620252863,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/b4ff7f19b9eb4a87876a35f3f5ae1d07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6FsoMU-VzetHv88EyrCaivM9lUAfFoWeb0UQcv5INoXv5GITnlL7Cxmf35hu-w3bG-AJbQULVvzPw0EBmXVYZdeL5yfowNvh5VeZW_V8EAw5dLiBH45Bl-etts5xuBXCwjhKA9ZNgTcO5xMNW5ySpzXao5KFK1fHxXE8Vkb9hHAqku9p5U-mcmRhedcfnCYwgLDVYtyDneu1wLAbcot3E10f3ok3cf5mjC7Xz-0_qDUR7SKfNjInC6ddBO8zsmvVJJlgsHnAmItHQJNuodU14lmr8H43wu2Vy-iIIHp_QlsOuq_5qmj2QQpdkHzDWjdMcNjiovg2VCt8BZ8pKpTXLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648062,\"updated\":1619648062,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "899", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "921f28d2-5d0e-42f8-9c81-1eea412d31b8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f3f3be69-ec08-4767-9546-8222d555e869", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "28beb55d-1c9c-4682-884d-0ce0e9516eb6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "92c12b60-ea1e-44fe-9526-93312f765987", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "77ceb7fc-5555-49b1-bca4-ee995539504d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e6409a9f-8721-4520-bd1b-1b1ae47bb823", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2a37aaab-a56b-4e35-9603-6f5c4608a73e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "261767cc-4886-4faf-b674-2f9790d85131", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "60132df4-d788-4fc2-b926-8c35b5a44178", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2bae4ba4-fc56-437b-9fe6-3e9040d70f42", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "02013ce5-c53c-467b-a440-27edd4d8fda4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1c9686cc-819b-4d7b-b338-201e141c527f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d25b2acb-3c00-4125-a015-5bbbf2a7d74a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8ecf6395-9383-47f4-80f4-6a5279ef6496", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e5bf4beb-768b-49f9-91e5-86a5b8df60ba", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3c262214-4358-4fd5-895b-9e2f6b40f36c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "247493bf-f2db-4621-819c-6a0a8bf253ae", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4798e879-0406-44eb-8e05-71a56e9d0943", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "322cc72b-63d3-4db4-97db-84b3b13f7aa4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7fe7dff0-3e31-4043-9028-4595b39f098c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "92c99101-a0c3-4d7f-93d0-51ae128f5e40", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ed9be963-28e4-41d7-9cc6-5bae7a3bb25e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "004504f9-b551-4295-8421-a9d81ec8df7b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c044f784-35aa-448c-a049-0303c3c872b8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d8920148-6191-4565-8a0b-9df664a6a253", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5610accc-d42c-4340-bdd7-1b8b840b2be4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1755dfe2-efae-4990-a1b5-c2f4ab2b6805", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bb616db4-e635-49b1-84a8-c50a6ba83020", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "00ce4312-adb5-4021-bb9a-03d621060aa6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ac4aa6d6-8fa4-4103-a490-605c9840c2e7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c29a1e5f-10ad-474f-9d0c-309c80b63795", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0f856191-980d-426e-90a7-9755b18314ec", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "64437b21-a2af-4d87-99a2-71a36242325b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e697aa1b-fec1-4ef3-9b78-232f789c0e88", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "478e5954-8d84-443d-bea8-3eb572618080", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d34410a1-5b64-42ef-ae0a-25c663246393", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5948689e-b702-43f3-bfad-7a33baf23c89", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a0cf42a0-63ac-4a8c-b7b8-8d038e2aafc1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ae70e10c-a250-4069-82b3-95873fcc5454", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7fd2c71e-ee95-4dab-89f5-caa92e0c9eff", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7466b039-386e-468b-9323-fa17f757647d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "90f7109e-c42b-4813-8c56-25856200df24", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7237b67f-6099-4544-bcbe-84ccfb9908b4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1c3d5074-976e-4a18-b0ea-569caba7c299", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "759628f3-434b-4d3e-b5e5-d51b62d263eb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "443d0afb-8e2a-4d4d-b12c-e838b1414e90", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7a1e07c8-7b76-4c2f-afa3-23838d320a87", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9234e754-0a3a-48e4-801b-65bc62269846", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "120", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7b16a232-57bf-4374-b354-b2c1d34508cf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "99f3a8d1-545c-4c6a-9322-afa2099ffcfc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-\",\"deletedDate\":1619648063,\"scheduledPurgeDate\":1620252863,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/b4ff7f19b9eb4a87876a35f3f5ae1d07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6FsoMU-VzetHv88EyrCaivM9lUAfFoWeb0UQcv5INoXv5GITnlL7Cxmf35hu-w3bG-AJbQULVvzPw0EBmXVYZdeL5yfowNvh5VeZW_V8EAw5dLiBH45Bl-etts5xuBXCwjhKA9ZNgTcO5xMNW5ySpzXao5KFK1fHxXE8Vkb9hHAqku9p5U-mcmRhedcfnCYwgLDVYtyDneu1wLAbcot3E10f3ok3cf5mjC7Xz-0_qDUR7SKfNjInC6ddBO8zsmvVJJlgsHnAmItHQJNuodU14lmr8H43wu2Vy-iIIHp_QlsOuq_5qmj2QQpdkHzDWjdMcNjiovg2VCt8BZ8pKpTXLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648062,\"updated\":1619648062,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "899", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "641ce868-6cf8-4902-9179-68f5141b7d0f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8685e16a-e379-44cd-9358-59f36bbae150", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:15:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "913f5700-e0c2-412b-8862-2fae58270255", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a93aa326-50c9-45b1-be76-066bdd8a23f5", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:22 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "48c5329c-0596-4150-b337-49df877ff801" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/b4ff7f19b9eb4a87876a35f3f5ae1d07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6FsoMU-VzetHv88EyrCaivM9lUAfFoWeb0UQcv5INoXv5GITnlL7Cxmf35hu-w3bG-AJbQULVvzPw0EBmXVYZdeL5yfowNvh5VeZW_V8EAw5dLiBH45Bl-etts5xuBXCwjhKA9ZNgTcO5xMNW5ySpzXao5KFK1fHxXE8Vkb9hHAqku9p5U-mcmRhedcfnCYwgLDVYtyDneu1wLAbcot3E10f3ok3cf5mjC7Xz-0_qDUR7SKfNjInC6ddBO8zsmvVJJlgsHnAmItHQJNuodU14lmr8H43wu2Vy-iIIHp_QlsOuq_5qmj2QQpdkHzDWjdMcNjiovg2VCt8BZ8pKpTXLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648062,\"updated\":1619648062,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "727", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "60902ff9-7b12-4590-9896-df191d8cd027", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ca056d9b-d835-44a5-9f9e-86739e847181", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/versions", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/b4ff7f19b9eb4a87876a35f3f5ae1d07\",\"attributes\":{\"enabled\":true,\"created\":1619648062,\"updated\":1619648062,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "305", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a98a5764-8586-4a98-a904-0ba448309de6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e2511293-b1f2-4e28-97ed-53404185dfda", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-\",\"deletedDate\":1619648063,\"scheduledPurgeDate\":1620252863,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/b4ff7f19b9eb4a87876a35f3f5ae1d07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6FsoMU-VzetHv88EyrCaivM9lUAfFoWeb0UQcv5INoXv5GITnlL7Cxmf35hu-w3bG-AJbQULVvzPw0EBmXVYZdeL5yfowNvh5VeZW_V8EAw5dLiBH45Bl-etts5xuBXCwjhKA9ZNgTcO5xMNW5ySpzXao5KFK1fHxXE8Vkb9hHAqku9p5U-mcmRhedcfnCYwgLDVYtyDneu1wLAbcot3E10f3ok3cf5mjC7Xz-0_qDUR7SKfNjInC6ddBO8zsmvVJJlgsHnAmItHQJNuodU14lmr8H43wu2Vy-iIIHp_QlsOuq_5qmj2QQpdkHzDWjdMcNjiovg2VCt8BZ8pKpTXLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648062,\"updated\":1619648062,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "899", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "921f28d2-5d0e-42f8-9c81-1eea412d31b8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f3f3be69-ec08-4767-9546-8222d555e869", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "28beb55d-1c9c-4682-884d-0ce0e9516eb6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "92c12b60-ea1e-44fe-9526-93312f765987", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "77ceb7fc-5555-49b1-bca4-ee995539504d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e6409a9f-8721-4520-bd1b-1b1ae47bb823", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2a37aaab-a56b-4e35-9603-6f5c4608a73e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "261767cc-4886-4faf-b674-2f9790d85131", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "60132df4-d788-4fc2-b926-8c35b5a44178", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2bae4ba4-fc56-437b-9fe6-3e9040d70f42", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "02013ce5-c53c-467b-a440-27edd4d8fda4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1c9686cc-819b-4d7b-b338-201e141c527f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d25b2acb-3c00-4125-a015-5bbbf2a7d74a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8ecf6395-9383-47f4-80f4-6a5279ef6496", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e5bf4beb-768b-49f9-91e5-86a5b8df60ba", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3c262214-4358-4fd5-895b-9e2f6b40f36c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "247493bf-f2db-4621-819c-6a0a8bf253ae", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4798e879-0406-44eb-8e05-71a56e9d0943", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "322cc72b-63d3-4db4-97db-84b3b13f7aa4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7fe7dff0-3e31-4043-9028-4595b39f098c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "92c99101-a0c3-4d7f-93d0-51ae128f5e40", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ed9be963-28e4-41d7-9cc6-5bae7a3bb25e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "004504f9-b551-4295-8421-a9d81ec8df7b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c044f784-35aa-448c-a049-0303c3c872b8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d8920148-6191-4565-8a0b-9df664a6a253", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5610accc-d42c-4340-bdd7-1b8b840b2be4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1755dfe2-efae-4990-a1b5-c2f4ab2b6805", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bb616db4-e635-49b1-84a8-c50a6ba83020", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "00ce4312-adb5-4021-bb9a-03d621060aa6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ac4aa6d6-8fa4-4103-a490-605c9840c2e7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c29a1e5f-10ad-474f-9d0c-309c80b63795", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0f856191-980d-426e-90a7-9755b18314ec", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "64437b21-a2af-4d87-99a2-71a36242325b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e697aa1b-fec1-4ef3-9b78-232f789c0e88", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "478e5954-8d84-443d-bea8-3eb572618080", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d34410a1-5b64-42ef-ae0a-25c663246393", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5948689e-b702-43f3-bfad-7a33baf23c89", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a0cf42a0-63ac-4a8c-b7b8-8d038e2aafc1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ae70e10c-a250-4069-82b3-95873fcc5454", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7fd2c71e-ee95-4dab-89f5-caa92e0c9eff", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7466b039-386e-468b-9323-fa17f757647d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "90f7109e-c42b-4813-8c56-25856200df24", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7237b67f-6099-4544-bcbe-84ccfb9908b4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1c3d5074-976e-4a18-b0ea-569caba7c299", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "759628f3-434b-4d3e-b5e5-d51b62d263eb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "443d0afb-8e2a-4d4d-b12c-e838b1414e90", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7a1e07c8-7b76-4c2f-afa3-23838d320a87", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9234e754-0a3a-48e4-801b-65bc62269846", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "120", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7b16a232-57bf-4374-b354-b2c1d34508cf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "99f3a8d1-545c-4c6a-9322-afa2099ffcfc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-\",\"deletedDate\":1619648063,\"scheduledPurgeDate\":1620252863,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakey-/b4ff7f19b9eb4a87876a35f3f5ae1d07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6FsoMU-VzetHv88EyrCaivM9lUAfFoWeb0UQcv5INoXv5GITnlL7Cxmf35hu-w3bG-AJbQULVvzPw0EBmXVYZdeL5yfowNvh5VeZW_V8EAw5dLiBH45Bl-etts5xuBXCwjhKA9ZNgTcO5xMNW5ySpzXao5KFK1fHxXE8Vkb9hHAqku9p5U-mcmRhedcfnCYwgLDVYtyDneu1wLAbcot3E10f3ok3cf5mjC7Xz-0_qDUR7SKfNjInC6ddBO8zsmvVJJlgsHnAmItHQJNuodU14lmr8H43wu2Vy-iIIHp_QlsOuq_5qmj2QQpdkHzDWjdMcNjiovg2VCt8BZ8pKpTXLQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648062,\"updated\":1619648062,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "899", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "641ce868-6cf8-4902-9179-68f5141b7d0f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8685e16a-e379-44cd-9358-59f36bbae150", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:15:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "913f5700-e0c2-412b-8862-2fae58270255", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a93aa326-50c9-45b1-be76-066bdd8a23f5", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "b5e0c81bb51875c8cddd5caffa17cb9b" -} \ No newline at end of file + "hash": "b5e0c81bb51875c8cddd5caffa17cb9b" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_the_versions_of_a_key_paged.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_the_versions_of_a_key_paged.json index 3331d148c412..7cacb496e254 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_the_versions_of_a_key_paged.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_get_the_versions_of_a_key_paged.json @@ -1,572 +1,572 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "29d3c2da-9b29-4bd4-bd3f-62ff4dcf2b0c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b6e56aab-0a48-4f24-8935-5b55dff499cd", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "29d3c2da-9b29-4bd4-bd3f-62ff4dcf2b0c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b6e56aab-0a48-4f24-8935-5b55dff499cd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:11 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "fad01bb3-1fca-476e-b746-39e38ec17000" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/44a23751df8942a6882867b3b98fcca1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vjRpOEojZIzTOKxnZONe1OEkVa5UtP74o2zgU7nthMybNSB6vNAvpmmx6nbDdPGEyvxFRWuy48GJaR7TyQqxGEmk94lXfjvQxt9wmKFkEQZHySi-xlL-H3sUcyeqq9J_TK3pgMpIKwhulCYb9b-fzeS8ONvDGip-kWCA1PtQ8jPJjYNYajKB15HQ1YKb_siT9sQp-8kRkmBEh6tIuroxggbxqoc-w-5JVzqYRUNHP-Fzna-KRWo0AHF6wIDsKHWFsXgbm5LPPRBgTPFysKk8KRL2h1o98UzbHsI_EB8-Tey0w5_J6RjVkMV-tg214eY1lVWpehmuglwSermT-oNMgQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648112,\"updated\":1619648112,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "733", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "29d3c2da-9b29-4bd4-bd3f-62ff4dcf2b0c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7e10db19-690a-4a74-b646-ede663040249", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/versions", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/44a23751df8942a6882867b3b98fcca1\",\"attributes\":{\"enabled\":true,\"created\":1619648112,\"updated\":1619648112,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "311", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4be0ed67-bb40-4d4c-8fed-416f3ebf964f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d95aa5bc-06ca-45e7-b6e7-7d5b667f06c7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-\",\"deletedDate\":1619648112,\"scheduledPurgeDate\":1620252912,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/44a23751df8942a6882867b3b98fcca1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vjRpOEojZIzTOKxnZONe1OEkVa5UtP74o2zgU7nthMybNSB6vNAvpmmx6nbDdPGEyvxFRWuy48GJaR7TyQqxGEmk94lXfjvQxt9wmKFkEQZHySi-xlL-H3sUcyeqq9J_TK3pgMpIKwhulCYb9b-fzeS8ONvDGip-kWCA1PtQ8jPJjYNYajKB15HQ1YKb_siT9sQp-8kRkmBEh6tIuroxggbxqoc-w-5JVzqYRUNHP-Fzna-KRWo0AHF6wIDsKHWFsXgbm5LPPRBgTPFysKk8KRL2h1o98UzbHsI_EB8-Tey0w5_J6RjVkMV-tg214eY1lVWpehmuglwSermT-oNMgQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648112,\"updated\":1619648112,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "911", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9345d4e8-3b21-45db-ad81-d05ac233987f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2caa3532-0826-4f3d-8de4-73c864a7e8af", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9b383b2e-a573-49ae-b384-10d89f8059f2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f4587ecb-670c-4786-9cb5-e00420d9a243", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f758ba75-2935-41aa-a77c-a1e97183de3d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4315f887-a288-4fc2-945e-6aa4492fd9ee", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4c1bfa65-eb43-49fc-a7e0-962686d42bf0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "389da227-813e-4d45-b7a0-6dbfb1c2505f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7919f669-d706-45c1-8cf8-f0d384d9c2ce", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "01f6aec4-4d90-4a07-b0bf-56c1f3c3a67e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ae4c50f5-b09b-453e-8bb0-dec8ee887543", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dec487c0-8c40-4cf6-80ee-6c1bf8b4538c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fcb81e40-a684-4572-bca9-b832ace6a143", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d0c757d6-4ca5-4ac7-b935-aca47457464c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "832e3aa6-4841-4940-b5cc-4a7b83f923ed", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a05a097a-030e-4226-a2bc-119ed28624d3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f572e696-b29a-497d-8bf7-d352afe07ea6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "da22f261-1cd2-4946-8412-355b43271b25", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "59f98952-82e8-435a-b504-226d2362da53", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ae81737a-8736-4944-b5c1-45b6744eace0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e517241e-d2fb-4e28-b783-1f2cbf75c1d0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "946f079e-27c1-47c2-b206-3f5fa40d00a8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "02a15106-dc11-48e0-9201-102898ccd162", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a7ed7dc8-1f53-425f-b10a-43817310dab8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4c1e0f2e-f548-497c-9044-1a30e39d9f71", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f3213dec-d820-4dd5-87ff-77a0396789c8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7338a2e9-9a9e-4196-a891-af549123b55a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b62dbb47-a14a-44ec-b857-99972841fc0a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "126", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4b4179a4-6f60-4f20-b09a-c8c9f15711ab", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7870920f-a99d-4845-bae9-ffaaffff6168", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-\",\"deletedDate\":1619648112,\"scheduledPurgeDate\":1620252912,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/44a23751df8942a6882867b3b98fcca1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vjRpOEojZIzTOKxnZONe1OEkVa5UtP74o2zgU7nthMybNSB6vNAvpmmx6nbDdPGEyvxFRWuy48GJaR7TyQqxGEmk94lXfjvQxt9wmKFkEQZHySi-xlL-H3sUcyeqq9J_TK3pgMpIKwhulCYb9b-fzeS8ONvDGip-kWCA1PtQ8jPJjYNYajKB15HQ1YKb_siT9sQp-8kRkmBEh6tIuroxggbxqoc-w-5JVzqYRUNHP-Fzna-KRWo0AHF6wIDsKHWFsXgbm5LPPRBgTPFysKk8KRL2h1o98UzbHsI_EB8-Tey0w5_J6RjVkMV-tg214eY1lVWpehmuglwSermT-oNMgQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648112,\"updated\":1619648112,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "911", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1f38951e-498d-49be-bb81-a1eb6991acb2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d3315ea1-5e72-4e1b-9e4d-feef27b4e0bd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:15:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "629556fd-0741-4b52-b5d4-a8440174f6d7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "daf20a28-a624-41ee-9569-01178427e01f", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:11 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "fad01bb3-1fca-476e-b746-39e38ec17000" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/44a23751df8942a6882867b3b98fcca1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vjRpOEojZIzTOKxnZONe1OEkVa5UtP74o2zgU7nthMybNSB6vNAvpmmx6nbDdPGEyvxFRWuy48GJaR7TyQqxGEmk94lXfjvQxt9wmKFkEQZHySi-xlL-H3sUcyeqq9J_TK3pgMpIKwhulCYb9b-fzeS8ONvDGip-kWCA1PtQ8jPJjYNYajKB15HQ1YKb_siT9sQp-8kRkmBEh6tIuroxggbxqoc-w-5JVzqYRUNHP-Fzna-KRWo0AHF6wIDsKHWFsXgbm5LPPRBgTPFysKk8KRL2h1o98UzbHsI_EB8-Tey0w5_J6RjVkMV-tg214eY1lVWpehmuglwSermT-oNMgQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648112,\"updated\":1619648112,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "733", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "29d3c2da-9b29-4bd4-bd3f-62ff4dcf2b0c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7e10db19-690a-4a74-b646-ede663040249", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/versions", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/44a23751df8942a6882867b3b98fcca1\",\"attributes\":{\"enabled\":true,\"created\":1619648112,\"updated\":1619648112,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "311", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4be0ed67-bb40-4d4c-8fed-416f3ebf964f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d95aa5bc-06ca-45e7-b6e7-7d5b667f06c7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-\",\"deletedDate\":1619648112,\"scheduledPurgeDate\":1620252912,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/44a23751df8942a6882867b3b98fcca1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vjRpOEojZIzTOKxnZONe1OEkVa5UtP74o2zgU7nthMybNSB6vNAvpmmx6nbDdPGEyvxFRWuy48GJaR7TyQqxGEmk94lXfjvQxt9wmKFkEQZHySi-xlL-H3sUcyeqq9J_TK3pgMpIKwhulCYb9b-fzeS8ONvDGip-kWCA1PtQ8jPJjYNYajKB15HQ1YKb_siT9sQp-8kRkmBEh6tIuroxggbxqoc-w-5JVzqYRUNHP-Fzna-KRWo0AHF6wIDsKHWFsXgbm5LPPRBgTPFysKk8KRL2h1o98UzbHsI_EB8-Tey0w5_J6RjVkMV-tg214eY1lVWpehmuglwSermT-oNMgQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648112,\"updated\":1619648112,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "911", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9345d4e8-3b21-45db-ad81-d05ac233987f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2caa3532-0826-4f3d-8de4-73c864a7e8af", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9b383b2e-a573-49ae-b384-10d89f8059f2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f4587ecb-670c-4786-9cb5-e00420d9a243", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f758ba75-2935-41aa-a77c-a1e97183de3d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4315f887-a288-4fc2-945e-6aa4492fd9ee", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4c1bfa65-eb43-49fc-a7e0-962686d42bf0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "389da227-813e-4d45-b7a0-6dbfb1c2505f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7919f669-d706-45c1-8cf8-f0d384d9c2ce", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "01f6aec4-4d90-4a07-b0bf-56c1f3c3a67e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ae4c50f5-b09b-453e-8bb0-dec8ee887543", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dec487c0-8c40-4cf6-80ee-6c1bf8b4538c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fcb81e40-a684-4572-bca9-b832ace6a143", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d0c757d6-4ca5-4ac7-b935-aca47457464c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "832e3aa6-4841-4940-b5cc-4a7b83f923ed", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a05a097a-030e-4226-a2bc-119ed28624d3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f572e696-b29a-497d-8bf7-d352afe07ea6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "da22f261-1cd2-4946-8412-355b43271b25", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "59f98952-82e8-435a-b504-226d2362da53", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ae81737a-8736-4944-b5c1-45b6744eace0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e517241e-d2fb-4e28-b783-1f2cbf75c1d0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "946f079e-27c1-47c2-b206-3f5fa40d00a8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "02a15106-dc11-48e0-9201-102898ccd162", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a7ed7dc8-1f53-425f-b10a-43817310dab8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4c1e0f2e-f548-497c-9044-1a30e39d9f71", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f3213dec-d820-4dd5-87ff-77a0396789c8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7338a2e9-9a9e-4196-a891-af549123b55a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b62dbb47-a14a-44ec-b857-99972841fc0a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-cangettheversionsofakeypaged-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "126", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4b4179a4-6f60-4f20-b09a-c8c9f15711ab", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7870920f-a99d-4845-bae9-ffaaffff6168", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-\",\"deletedDate\":1619648112,\"scheduledPurgeDate\":1620252912,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-cangettheversionsofakeypaged-/44a23751df8942a6882867b3b98fcca1\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"vjRpOEojZIzTOKxnZONe1OEkVa5UtP74o2zgU7nthMybNSB6vNAvpmmx6nbDdPGEyvxFRWuy48GJaR7TyQqxGEmk94lXfjvQxt9wmKFkEQZHySi-xlL-H3sUcyeqq9J_TK3pgMpIKwhulCYb9b-fzeS8ONvDGip-kWCA1PtQ8jPJjYNYajKB15HQ1YKb_siT9sQp-8kRkmBEh6tIuroxggbxqoc-w-5JVzqYRUNHP-Fzna-KRWo0AHF6wIDsKHWFsXgbm5LPPRBgTPFysKk8KRL2h1o98UzbHsI_EB8-Tey0w5_J6RjVkMV-tg214eY1lVWpehmuglwSermT-oNMgQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648112,\"updated\":1619648112,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "911", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1f38951e-498d-49be-bb81-a1eb6991acb2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d3315ea1-5e72-4e1b-9e4d-feef27b4e0bd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-cangettheversionsofakeypaged-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:15:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "629556fd-0741-4b52-b5d4-a8440174f6d7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "daf20a28-a624-41ee-9569-01178427e01f", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "efd19cc98f24d5ceeb684ef5986e261b" -} \ No newline at end of file + "hash": "efd19cc98f24d5ceeb684ef5986e261b" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_purge_all_keys.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_purge_all_keys.json index ad700cce471f..eaaf0eb567ad 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_purge_all_keys.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_can_purge_all_keys.json @@ -1,2587 +1,2587 @@ { - "recordings": [ - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d0cef045-cf61-43e7-96b8-59e12e5ecb52", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "291191ec-52ef-41c6-af0a-d58bb5e5225f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:49 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "c8b4fac2-0e48-414e-9442-21d832362b00" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-09813470003748725\",\"attributes\":{\"enabled\":true,\"created\":1619647905,\"updated\":1619647905,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-3416957021747533\",\"attributes\":{\"enabled\":true,\"created\":1619647908,\"updated\":1619647908,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7783945276930928\",\"attributes\":{\"enabled\":true,\"created\":1619645727,\"updated\":1619645727,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9037217917778813\",\"attributes\":{\"enabled\":true,\"created\":1619645728,\"updated\":1619645728,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9073237335553428\",\"attributes\":{\"enabled\":true,\"created\":1619645725,\"updated\":1619645725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "1231", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d0cef045-cf61-43e7-96b8-59e12e5ecb52", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dbbd9861-afca-4b4e-9d06-7ac778ec1bc5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725\",\"deletedDate\":1619647909,\"scheduledPurgeDate\":1620252709,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-09813470003748725/39a52f116ed243bb874ce6f72ab77b5f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wms368T499CBVEXxonmrl3XgwiKP10B4t-QOT_ZD6HgSqtb0nx4-WeTeJSA5ikBxi0-AJCPjgOfXbiYQFxFqnaWuVslYLym0ez5O7EFFGG2t2XyyyW2J6IdJQn46I1__X5IiOuoM4z7iH3QMP4mUyxJVRUiVyrKKRKoWqEPOdPzEDIYz6mo7mNhxdgX9gHloQwpThCw4vAI7j0YhNMC8uw8tqGk4Qb7i_FnXqg-h4Xt-6m4BwuvthGClHcaim44KH-2YXfeUEXmM2UmrwSa44vDlE8JIkipZbqNgrAGoiDLeT-Q6RCfNKLLCXcHVtfdSZq7S6l3zrVd5bxOWKYJmsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647905,\"updated\":1619647905,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "885", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "20a8a69f-2754-4f2f-ae7f-ff044e199070", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7cc9a74c-0068-4d81-9316-cc23bf2308e8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "60d1d261-b51f-48f8-b449-2b685e950b9c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ed888acc-c513-4707-bc37-eb2bb86d318f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0b030d52-c706-4366-b7c6-091f601a8aea", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9e0316a3-4ef5-4bb8-8008-44445fdbcaf6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "94b13923-3e80-4409-98aa-5adc6030d6cf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "659da9f0-590d-444c-bb20-a31517e11ba1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1f8cc339-4b42-4fa5-a914-7d28bf53c875", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f0e816eb-eaac-4887-a430-bf165cad6a90", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2be1b586-e6d2-40c7-ae94-6cca8392c74e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "676e7582-1342-46f6-a833-c28e9e19f42d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b76bd8a1-8de3-4eaf-bcda-98f1487c1a26", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4bc0e84e-e896-4a29-8a06-ff438c21d84b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:11:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8c0b3801-cd05-40a6-95d0-40fc5ac8d8b0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "01b811d9-991e-4104-9bf6-c3e47b8e80ed", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8b37d640-3a37-4f68-b892-b9e17aff7842", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b78366f9-aace-4d38-a4fb-a7bbaf04f01c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dd2081fa-c722-4b04-b7cc-7547da566fbc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b8df1164-edae-4363-8e11-a436070fdf4b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c35fa00e-6a4e-4766-82d5-da233b905a64", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "56adcf93-be1a-4355-b178-7cc14baf7e19", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6d851583-fbfe-4aea-b636-d26f162845d4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b8d235e7-7d3e-4568-8751-6438d7b5f4db", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5da6fa6b-dd5c-412f-90a1-5f74c63e3cbb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "95c09de2-0d4c-463c-a1ae-fb49649236db", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8469b9bc-50b1-4a66-8b3f-25121271d487", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e8961193-fdfd-4aef-b1eb-ad737ff0c699", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f2fe1beb-4bc9-41f9-bec2-beabef3711df", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bd09f6db-bace-47c9-a1d3-d0017ea05d0d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c65d1d4c-b565-4039-aa55-a078f472ac15", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ce023aa6-771b-47e5-9201-20f75bdcae5c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7aa45192-513e-42e0-94ed-bad3117d0c85", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1a76275e-391f-4cd6-852b-90c98a668802", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7c563a50-69a2-442d-99bc-e78752df93e8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "94ea57ba-9a0c-4b5d-bf35-239c44df8d8e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "966a43e2-1286-42ba-a4a1-62b0bd028378", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a06cc72c-58bc-4f86-a761-8efca7943c6e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "34c941dd-a5eb-49ff-9326-bcbc99d7181f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "94098e14-5146-4eee-bdd5-7b761c2c70ed", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d61a7f25-5766-40d7-ae37-bfa4a8b57edd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d4acd58b-d34c-4b2e-a82c-897c1676d44a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a65882fd-81c6-4524-aac4-518919f2dae7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2305bd12-5d2a-42c2-b7e7-fa68701b3690", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e5981da3-d1ff-4b81-93fa-582078f73b34", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a7ff0de4-8ba5-448c-9863-38f979675855", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "31c080f5-33b8-4c6a-a1d8-2387b49cd9d8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fe4c1552-c12c-4424-84f4-3711aff8168a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "113", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5c932de7-5db7-4288-81eb-d01de24e40c4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5113a202-d1c3-43d4-acbd-442e44491bbe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725\",\"deletedDate\":1619647909,\"scheduledPurgeDate\":1620252709,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-09813470003748725/39a52f116ed243bb874ce6f72ab77b5f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wms368T499CBVEXxonmrl3XgwiKP10B4t-QOT_ZD6HgSqtb0nx4-WeTeJSA5ikBxi0-AJCPjgOfXbiYQFxFqnaWuVslYLym0ez5O7EFFGG2t2XyyyW2J6IdJQn46I1__X5IiOuoM4z7iH3QMP4mUyxJVRUiVyrKKRKoWqEPOdPzEDIYz6mo7mNhxdgX9gHloQwpThCw4vAI7j0YhNMC8uw8tqGk4Qb7i_FnXqg-h4Xt-6m4BwuvthGClHcaim44KH-2YXfeUEXmM2UmrwSa44vDlE8JIkipZbqNgrAGoiDLeT-Q6RCfNKLLCXcHVtfdSZq7S6l3zrVd5bxOWKYJmsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647905,\"updated\":1619647905,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "885", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4fb680a2-a23d-438d-af00-cd9c56ef4fbd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b24e27e4-05d8-4c25-ada0-b47a408b61a7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:12:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b6db8693-23e9-42eb-8e3a-cf36241c0138", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "88352786-11cd-461d-bd07-50f389667e7f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533\",\"deletedDate\":1619647958,\"scheduledPurgeDate\":1620252758,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-3416957021747533/c3822ce302324dbf95b0d70f987f496d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647908,\"updated\":1619647908,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "883", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ec003bc4-6632-484a-91e8-814ad37ee541", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7e32ce47-d6ae-43ba-a87d-66725d5a6705", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "861ef950-e120-40c5-90f1-eae168fe0ace", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c7ebd742-4c4b-4953-96f9-1f996b4aaf16", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c6fc3513-a771-46f6-8bd9-84c7d0f345e6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2ee3a804-e6b6-4211-b1a4-f915db079510", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "50663886-1220-4630-b4cb-104bb620d2ef", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1eb95da7-2cbe-4fba-b745-34fdeae6635d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "53cc6a60-6fd3-4a22-9d68-eaf20883ea05", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "152d57ae-ef38-4ebc-bcad-757a96536e51", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0c2996f6-0c47-4dab-80cd-4c0eb0cd5ddc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "70648790-2d7b-4841-a156-3e44871b92f7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3aba5f8f-21bd-4c01-a72a-20f39b8be751", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e3d3497f-e000-4f91-8b8a-035f9507ec8f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "69afa408-3e80-489d-824e-5ae3dd525b89", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cd5c54f5-dfc1-4f1c-a72f-c916a6e64862", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f19fcff4-b8ce-4d98-b176-3656e3ad858d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "740266a4-4fb6-4bbe-9052-03dff6046861", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f6ccae59-650a-44d2-8232-1056b8b77be2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e8cfc70a-c051-471f-9843-853ca79312d3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "be388970-a830-4e14-95c9-e5be239ba953", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4abe4356-df8f-4a9f-a42e-03cd4928e02a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d7b6ed9e-62b2-4d75-bd5b-dd84abaf0820", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "49e6be1d-0cd3-4c00-a490-1b7e6efe8241", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:12:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "add98db8-f4ed-4539-a43d-7957acefae15", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "065d61ac-694f-4971-a02d-9bab7bfd740c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6a511050-ff69-40b2-af36-c531c316ba2f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "799fa749-b1a1-4701-845c-1065b1eff2b0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "112", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "13364f78-7205-451d-b961-37f1b71f8a03", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9fc97a4b-1789-45d9-9fb7-bc1484164a5b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533\",\"deletedDate\":1619647958,\"scheduledPurgeDate\":1620252758,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-3416957021747533/c3822ce302324dbf95b0d70f987f496d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647908,\"updated\":1619647908,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "883", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "79966c4a-e3de-4474-94f1-9a91a503dd86", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cb82dd80-e55b-4c4a-b9eb-ea674d2dc29d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:13:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "940a4ec2-b7d0-4a28-8c23-70ba7c8c8051", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8b3f4bb0-acdd-462a-a3f6-a20f59e38659", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928\",\"deletedDate\":1619647986,\"scheduledPurgeDate\":1620252786,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7783945276930928/1c66d3badbb04461acd1ae99bb336194\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tWrk04sKXQ5nyNkUj6qoE0x8qPhwpa4jTTJMCZyM1m5Ku1jtyOTEHHFJMPrTjT--ynai0uj9k8PtQlGL8p3AqJ7pxAOjBoc7eAwohWpRVM1zbp5UGyNqJjKJ24P6LQiOlqA2Z7Kcs-m2Tnhd76rgaMFzUcpQ2gQnLOekxHFF-Y8JDeoqjP2gmNvxKBbm1drW9tEQwngGZeNcdDZwDuism3NgJb8VXaqZlQc8mkTVTPE6ew3tWXHhMZzQ2tjHwTKLvR11FGLLdjV2P9bhTBoxQvKqXUGaNvED4IL0QOn_NyihS3UDDZwpJFZ1yv9VrWUXK8neoRNxkcB8firaRhlbWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645727,\"updated\":1619645727,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "895", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "56f05d3b-d5df-423a-98e9-c579ab16dc75", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4210fe91-3583-4c0c-a0db-a5a86ba9f0b5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1cd769fc-ae51-46b5-81e8-1545d76f47c5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "610f7b6e-ba81-40d5-a2eb-647e701de231", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "338591bc-e954-469a-9cf8-19b18c735233", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b987a607-5f83-43a3-a5f3-348796aafb02", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "50a3a805-6127-4001-9811-8e5e88dc9e65", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "77a7172c-3507-4c62-9615-33eff80432d7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "938cdabe-c520-4805-8f90-b6a2f9c0d517", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "aad4882d-ee94-4e7f-857b-072028784d20", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6fae9755-f96f-4906-b902-712cef27d519", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "43f99764-c1f6-4745-9684-5a34159c926c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8fa55583-26f0-42cf-ba53-7cb518491caf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4984cf1f-b0bb-4653-8262-d8f6872f15c6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dca53ffd-095f-47ec-9bf6-0cb873e29407", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1c3a4953-e3d5-4ef8-8a8e-c4f918d36e0a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d78d8f8b-a5f2-459d-8780-996a61e788fe", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "813ee96d-72eb-4611-8d51-6577a2198213", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a258c308-82a1-42a6-a2bf-737249a8957e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4b4c7d44-bfcd-4a2a-a58c-2c8502758797", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "772cc6c7-cf42-4a96-a2f5-a27d1cf2239a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2da61907-1851-4e86-8af8-7d235f0cd7b6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f706801d-c49b-4881-b7ae-8aa864a434c0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "54a0ae62-82e8-41d0-a279-ee3ede4b0978", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928\",\"deletedDate\":1619647986,\"scheduledPurgeDate\":1620252786,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7783945276930928/1c66d3badbb04461acd1ae99bb336194\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tWrk04sKXQ5nyNkUj6qoE0x8qPhwpa4jTTJMCZyM1m5Ku1jtyOTEHHFJMPrTjT--ynai0uj9k8PtQlGL8p3AqJ7pxAOjBoc7eAwohWpRVM1zbp5UGyNqJjKJ24P6LQiOlqA2Z7Kcs-m2Tnhd76rgaMFzUcpQ2gQnLOekxHFF-Y8JDeoqjP2gmNvxKBbm1drW9tEQwngGZeNcdDZwDuism3NgJb8VXaqZlQc8mkTVTPE6ew3tWXHhMZzQ2tjHwTKLvR11FGLLdjV2P9bhTBoxQvKqXUGaNvED4IL0QOn_NyihS3UDDZwpJFZ1yv9VrWUXK8neoRNxkcB8firaRhlbWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645727,\"updated\":1619645727,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "895", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a25cbecf-b89f-4411-be9c-85b35b179d44", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "50feb475-ef1a-4c7c-af5f-8b9437b109c6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:13:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "36501895-48cb-4442-bf82-bb82193abf1c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "743ebb0a-39d6-4297-8afc-08852825a2c4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813\",\"deletedDate\":1619648007,\"scheduledPurgeDate\":1620252807,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9037217917778813/96c29a4ac5664b50ba9ba73e534ab563\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"qPnqCIsNvmYrS6FaQuhC3Y7ucYIQhVsyEkNOZ8n2UxahJnIfCSXZMO1P6XDjWnIOK76SfXJ24-g573tOa8ftyAn5EEm8SAOHQgKeECk5vavQnZe7Zveh6u_V9kb7cfeSlt-gV4PxzkbAgwXFI-bVtdlJa5zpu1LHyT4WX_MnFs15BtY0AVqitzD7uRyhgaM5Se1gRuc1SB6UuM-b9qUTpGKbP1s9CRMuWCyqqfVCTyesQbHfHkRtsz88iW_ceUQwWKN36j9Xx3RE_xlvQYnQi4MWND218DMdah-g9Q1syHtOdp9urw9ofgGX6u3jEueJ7rY0Xdx362SO4er-2TV08Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645728,\"updated\":1619645728,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "895", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1783bbbd-217f-4451-9da3-242a64dd046a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "394670ca-5210-40b9-ac61-bb4e5a51fd2a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c96551ae-dc94-42a1-9ec8-e0c27f3e94e8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5a968a9d-4925-45db-ae21-2c7d8ec4971e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5312f330-7645-49dd-9e1a-d32182823758", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fb2847e1-abbc-4493-937e-6d8a373dd5d4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3d8eb7c0-f007-45c9-81b9-a0aec751b3b0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4508955d-e2a0-44be-9c0d-e05f1efd8135", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e1b08cdd-026d-4450-8a8e-fad8fe8d4561", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c8e09319-42e5-4ee3-8ed6-f5635c07bc05", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "08fe7c58-85f3-436e-b186-3d68d73f79b2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4cdce636-0d32-4e6d-9db6-7cb00bab5917", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "46f3d1c5-b566-48f1-90d1-3a9e0ae29d7a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6f26585e-2683-4709-9ae5-a71edfdf16a8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a2931ba3-c59f-4148-afac-ef42c72df679", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3ca31abd-ed22-4995-861f-62f033984a6d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e99b42d5-1ad9-44e7-82a1-5903d691ffa4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "83471edd-937a-4dff-8669-b4ce14450d1e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fa937c21-7b2a-44be-b245-d128aa2b73d8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6a4c04f6-ea78-4131-922a-e91eecd57c63", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "38d45d18-e002-42cc-9312-20400c4fd4f9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d119322b-e884-44cd-9ff2-780c1c6bf7fa", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4194c07c-ed9d-4872-bdfb-845633719263", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "39c4de19-c849-4e2b-93b9-6339b81ea076", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9ac8200a-24a3-4913-8e08-af646bca8483", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ff484d25-1b91-4a75-854b-92e3455a9d8c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "87a9bcef-00e1-4818-9ac9-6e9adae138cd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f274e112-fbe9-4e22-a3e8-a0429138e8b5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813\",\"deletedDate\":1619648007,\"scheduledPurgeDate\":1620252807,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9037217917778813/96c29a4ac5664b50ba9ba73e534ab563\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"qPnqCIsNvmYrS6FaQuhC3Y7ucYIQhVsyEkNOZ8n2UxahJnIfCSXZMO1P6XDjWnIOK76SfXJ24-g573tOa8ftyAn5EEm8SAOHQgKeECk5vavQnZe7Zveh6u_V9kb7cfeSlt-gV4PxzkbAgwXFI-bVtdlJa5zpu1LHyT4WX_MnFs15BtY0AVqitzD7uRyhgaM5Se1gRuc1SB6UuM-b9qUTpGKbP1s9CRMuWCyqqfVCTyesQbHfHkRtsz88iW_ceUQwWKN36j9Xx3RE_xlvQYnQi4MWND218DMdah-g9Q1syHtOdp9urw9ofgGX6u3jEueJ7rY0Xdx362SO4er-2TV08Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645728,\"updated\":1619645728,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "895", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "edb4b215-4754-470b-9fca-184e5da998f3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6dc312f7-499f-49d3-b7eb-6926ad82a456", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:13:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b8e86a8a-be6b-4a37-925b-1d2e74fb60a7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "87b297f4-ad21-4bf9-a36c-5b721e434235", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428\",\"deletedDate\":1619648033,\"scheduledPurgeDate\":1620252833,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9073237335553428/1a0bb0a886234c349bc37aaf6d4db3ae\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zI6fd_xIbzi5yE0QqnG9Dt51LuCU0xVD9_awGSiry4ayKbX9DIL-dJW9CzH6VZHFJODOfgGtp37O-xl_aYECg8C0WseLNEzzkqjlxpVZT5vp1LVqMyxFJ4kgiWLKTJskwPzvyJMOysQhbDCgrK9KI52oWJ5UM7xjstIL8FQfve16S6Rxzwf97-7TGVCVsGjAy9BzzqnKelnpf3YkON6me9XBRWqRznZUOFcX_Z2CFZKovWWPr86whYr8esJMLe-NznSCzFpYsPFV9Rxt9560ZObZXtjAJUZKaMGy7j0ZRDh9zu-yQQJVyw1KhjrArc7hEcFZgCLI9MqwYrp-Uz6ZsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645725,\"updated\":1619645725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "895", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a9492650-f651-46b5-be85-3842ae9bdc7c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "27320958-c66a-428b-8804-df8c67d70277", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6e6bf6fa-23a7-465a-8a09-cfbbc8db749c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b7a243aa-3428-46d5-8e00-68ef88e2c77a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "91fa8dd6-28d5-43a1-8aef-42d91c4356dd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "92ce91aa-bbf1-4cf1-a543-10613077e703", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bd7a2463-5a65-456f-875c-821b8c0f4258", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "313e197b-9855-450c-8d78-159362ec2f1c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:13:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6e4ee143-e57c-48a6-b6c2-e3c83fe41c62", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "37a43167-ec1d-4d2c-80cb-ea728840f2bf", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f70d3eb5-ce99-4c63-a96e-3d3d36d49dbe", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3f9c1ba0-59a4-4d5e-9a21-4ad59119f2f1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f3d64012-10df-47c8-829b-1f3a1fbefdc1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "899a6ea2-bd4a-4b0b-b0f8-26304b3a8a9a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "38af2fa8-aeff-4048-a97d-4cd5dec41872", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8924b4db-5104-4442-8dd8-0d94043de6ee", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "85e1818f-8750-451b-95b3-884408b5d807", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5cba5af7-5728-487d-b27a-d7981794b2aa", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "beb81697-d92d-43d1-950d-2e11391c1329", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0d785b83-1e94-4fc9-9eab-9a9e25180087", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "074724c4-5597-4c4b-bee5-80a5b4e7e898", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8d2bd392-ca6a-471b-97eb-e9b695b01e34", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c419846b-0a02-40d1-adee-53de885382d4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9ca484c4-4b39-4cb9-a1a5-3d4aaa5963b2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "654de36d-ead6-45b2-a909-9a8ef02c41b1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7f460756-b6f3-4af3-be7b-3b200beeca5b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2920a536-13bf-4c92-a442-41807a167290", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "62367281-66fc-4a23-b40d-69a2e00f1483", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "118", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f99a83d0-b6d3-4d7c-b482-e6902a821eb9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d6773028-f570-4238-ae84-fe28428fe328", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428\",\"deletedDate\":1619648033,\"scheduledPurgeDate\":1620252833,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9073237335553428/1a0bb0a886234c349bc37aaf6d4db3ae\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zI6fd_xIbzi5yE0QqnG9Dt51LuCU0xVD9_awGSiry4ayKbX9DIL-dJW9CzH6VZHFJODOfgGtp37O-xl_aYECg8C0WseLNEzzkqjlxpVZT5vp1LVqMyxFJ4kgiWLKTJskwPzvyJMOysQhbDCgrK9KI52oWJ5UM7xjstIL8FQfve16S6Rxzwf97-7TGVCVsGjAy9BzzqnKelnpf3YkON6me9XBRWqRznZUOFcX_Z2CFZKovWWPr86whYr8esJMLe-NznSCzFpYsPFV9Rxt9560ZObZXtjAJUZKaMGy7j0ZRDh9zu-yQQJVyw1KhjrArc7hEcFZgCLI9MqwYrp-Uz6ZsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645725,\"updated\":1619645725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "895", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2431b4ef-013f-4888-878a-ea78dfe6ceb5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6b94beb2-fad6-4e34-a82c-d88a104073f2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:14:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d60cd5a4-2d1b-42c3-9a53-b1bb56f6397f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fe572a1b-8477-48ad-ad66-725d58949b28", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7744818452506113\",\"deletedDate\":1619646853,\"scheduledPurgeDate\":1620251653,\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7744818452506113\",\"attributes\":{\"enabled\":true,\"created\":1619645726,\"updated\":1619645726,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "440", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:14:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f034e0b4-9e62-40a4-b030-4b63114db5be", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7aa9917a-ad28-425f-868a-dd3f974f1422", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7744818452506113", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:14:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "af7802cc-cc10-4f62-a0c6-8387c0e90829", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e4efb59b-ccd6-416a-b942-6141edcd5173", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "fd46c8234a64a234b57a24a6608603d7" -} \ No newline at end of file + "recordings": [ + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d0cef045-cf61-43e7-96b8-59e12e5ecb52", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "291191ec-52ef-41c6-af0a-d58bb5e5225f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:49 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "c8b4fac2-0e48-414e-9442-21d832362b00" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-09813470003748725\",\"attributes\":{\"enabled\":true,\"created\":1619647905,\"updated\":1619647905,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-3416957021747533\",\"attributes\":{\"enabled\":true,\"created\":1619647908,\"updated\":1619647908,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7783945276930928\",\"attributes\":{\"enabled\":true,\"created\":1619645727,\"updated\":1619645727,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9037217917778813\",\"attributes\":{\"enabled\":true,\"created\":1619645728,\"updated\":1619645728,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9073237335553428\",\"attributes\":{\"enabled\":true,\"created\":1619645725,\"updated\":1619645725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "1231", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d0cef045-cf61-43e7-96b8-59e12e5ecb52", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dbbd9861-afca-4b4e-9d06-7ac778ec1bc5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725\",\"deletedDate\":1619647909,\"scheduledPurgeDate\":1620252709,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-09813470003748725/39a52f116ed243bb874ce6f72ab77b5f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wms368T499CBVEXxonmrl3XgwiKP10B4t-QOT_ZD6HgSqtb0nx4-WeTeJSA5ikBxi0-AJCPjgOfXbiYQFxFqnaWuVslYLym0ez5O7EFFGG2t2XyyyW2J6IdJQn46I1__X5IiOuoM4z7iH3QMP4mUyxJVRUiVyrKKRKoWqEPOdPzEDIYz6mo7mNhxdgX9gHloQwpThCw4vAI7j0YhNMC8uw8tqGk4Qb7i_FnXqg-h4Xt-6m4BwuvthGClHcaim44KH-2YXfeUEXmM2UmrwSa44vDlE8JIkipZbqNgrAGoiDLeT-Q6RCfNKLLCXcHVtfdSZq7S6l3zrVd5bxOWKYJmsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647905,\"updated\":1619647905,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "885", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "20a8a69f-2754-4f2f-ae7f-ff044e199070", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7cc9a74c-0068-4d81-9316-cc23bf2308e8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "60d1d261-b51f-48f8-b449-2b685e950b9c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ed888acc-c513-4707-bc37-eb2bb86d318f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0b030d52-c706-4366-b7c6-091f601a8aea", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9e0316a3-4ef5-4bb8-8008-44445fdbcaf6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "94b13923-3e80-4409-98aa-5adc6030d6cf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "659da9f0-590d-444c-bb20-a31517e11ba1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1f8cc339-4b42-4fa5-a914-7d28bf53c875", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f0e816eb-eaac-4887-a430-bf165cad6a90", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2be1b586-e6d2-40c7-ae94-6cca8392c74e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "676e7582-1342-46f6-a833-c28e9e19f42d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b76bd8a1-8de3-4eaf-bcda-98f1487c1a26", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4bc0e84e-e896-4a29-8a06-ff438c21d84b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:11:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8c0b3801-cd05-40a6-95d0-40fc5ac8d8b0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "01b811d9-991e-4104-9bf6-c3e47b8e80ed", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8b37d640-3a37-4f68-b892-b9e17aff7842", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b78366f9-aace-4d38-a4fb-a7bbaf04f01c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "dd2081fa-c722-4b04-b7cc-7547da566fbc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b8df1164-edae-4363-8e11-a436070fdf4b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c35fa00e-6a4e-4766-82d5-da233b905a64", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "56adcf93-be1a-4355-b178-7cc14baf7e19", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6d851583-fbfe-4aea-b636-d26f162845d4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b8d235e7-7d3e-4568-8751-6438d7b5f4db", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5da6fa6b-dd5c-412f-90a1-5f74c63e3cbb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "95c09de2-0d4c-463c-a1ae-fb49649236db", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8469b9bc-50b1-4a66-8b3f-25121271d487", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e8961193-fdfd-4aef-b1eb-ad737ff0c699", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:15 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f2fe1beb-4bc9-41f9-bec2-beabef3711df", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bd09f6db-bace-47c9-a1d3-d0017ea05d0d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c65d1d4c-b565-4039-aa55-a078f472ac15", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ce023aa6-771b-47e5-9201-20f75bdcae5c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7aa45192-513e-42e0-94ed-bad3117d0c85", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1a76275e-391f-4cd6-852b-90c98a668802", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7c563a50-69a2-442d-99bc-e78752df93e8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "94ea57ba-9a0c-4b5d-bf35-239c44df8d8e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "966a43e2-1286-42ba-a4a1-62b0bd028378", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a06cc72c-58bc-4f86-a761-8efca7943c6e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "34c941dd-a5eb-49ff-9326-bcbc99d7181f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "94098e14-5146-4eee-bdd5-7b761c2c70ed", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d61a7f25-5766-40d7-ae37-bfa4a8b57edd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d4acd58b-d34c-4b2e-a82c-897c1676d44a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a65882fd-81c6-4524-aac4-518919f2dae7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2305bd12-5d2a-42c2-b7e7-fa68701b3690", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e5981da3-d1ff-4b81-93fa-582078f73b34", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a7ff0de4-8ba5-448c-9863-38f979675855", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "31c080f5-33b8-4c6a-a1d8-2387b49cd9d8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fe4c1552-c12c-4424-84f4-3711aff8168a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: CRUDKeyName-supportstracing-09813470003748725\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "113", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5c932de7-5db7-4288-81eb-d01de24e40c4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5113a202-d1c3-43d4-acbd-442e44491bbe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725\",\"deletedDate\":1619647909,\"scheduledPurgeDate\":1620252709,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/CRUDKeyName-supportstracing-09813470003748725/39a52f116ed243bb874ce6f72ab77b5f\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wms368T499CBVEXxonmrl3XgwiKP10B4t-QOT_ZD6HgSqtb0nx4-WeTeJSA5ikBxi0-AJCPjgOfXbiYQFxFqnaWuVslYLym0ez5O7EFFGG2t2XyyyW2J6IdJQn46I1__X5IiOuoM4z7iH3QMP4mUyxJVRUiVyrKKRKoWqEPOdPzEDIYz6mo7mNhxdgX9gHloQwpThCw4vAI7j0YhNMC8uw8tqGk4Qb7i_FnXqg-h4Xt-6m4BwuvthGClHcaim44KH-2YXfeUEXmM2UmrwSa44vDlE8JIkipZbqNgrAGoiDLeT-Q6RCfNKLLCXcHVtfdSZq7S6l3zrVd5bxOWKYJmsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647905,\"updated\":1619647905,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "885", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4fb680a2-a23d-438d-af00-cd9c56ef4fbd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b24e27e4-05d8-4c25-ada0-b47a408b61a7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/CRUDKeyName-supportstracing-09813470003748725", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:12:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b6db8693-23e9-42eb-8e3a-cf36241c0138", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "88352786-11cd-461d-bd07-50f389667e7f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533\",\"deletedDate\":1619647958,\"scheduledPurgeDate\":1620252758,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-3416957021747533/c3822ce302324dbf95b0d70f987f496d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647908,\"updated\":1619647908,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "883", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ec003bc4-6632-484a-91e8-814ad37ee541", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7e32ce47-d6ae-43ba-a87d-66725d5a6705", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "861ef950-e120-40c5-90f1-eae168fe0ace", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c7ebd742-4c4b-4953-96f9-1f996b4aaf16", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c6fc3513-a771-46f6-8bd9-84c7d0f345e6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2ee3a804-e6b6-4211-b1a4-f915db079510", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "50663886-1220-4630-b4cb-104bb620d2ef", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1eb95da7-2cbe-4fba-b745-34fdeae6635d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "53cc6a60-6fd3-4a22-9d68-eaf20883ea05", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "152d57ae-ef38-4ebc-bcad-757a96536e51", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0c2996f6-0c47-4dab-80cd-4c0eb0cd5ddc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "70648790-2d7b-4841-a156-3e44871b92f7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3aba5f8f-21bd-4c01-a72a-20f39b8be751", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e3d3497f-e000-4f91-8b8a-035f9507ec8f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "69afa408-3e80-489d-824e-5ae3dd525b89", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cd5c54f5-dfc1-4f1c-a72f-c916a6e64862", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f19fcff4-b8ce-4d98-b176-3656e3ad858d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "740266a4-4fb6-4bbe-9052-03dff6046861", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f6ccae59-650a-44d2-8232-1056b8b77be2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e8cfc70a-c051-471f-9843-853ca79312d3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "be388970-a830-4e14-95c9-e5be239ba953", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4abe4356-df8f-4a9f-a42e-03cd4928e02a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d7b6ed9e-62b2-4d75-bd5b-dd84abaf0820", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "49e6be1d-0cd3-4c00-a490-1b7e6efe8241", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:12:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "add98db8-f4ed-4539-a43d-7957acefae15", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "065d61ac-694f-4971-a02d-9bab7bfd740c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6a511050-ff69-40b2-af36-c531c316ba2f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "799fa749-b1a1-4701-845c-1065b1eff2b0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: importKeyName-canimportakey-3416957021747533\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "112", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "13364f78-7205-451d-b961-37f1b71f8a03", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9fc97a4b-1789-45d9-9fb7-bc1484164a5b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533\",\"deletedDate\":1619647958,\"scheduledPurgeDate\":1620252758,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/importKeyName-canimportakey-3416957021747533/c3822ce302324dbf95b0d70f987f496d\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"oJFNACNKxoOyG0wV1b7Yh73JWcLlevVK5zTo8Acg13XSdeRVIH43hM7rYKUKRlXdcqepTScejuj3lZpmnKbndb8OI7ra6ZG0Up2XhSi0vZBSHTLdJlZ5a6gra7_HZoyPXutQU3R_0ZkxnSmoRA0I9EEtUn_5MR7acYJZILR7HEaxGrPpHXMWQH6Jx_NA97haNAQs5RdDsn1HGEA9NMe0OK9hgb4F5NEeuYXTglPX_pv1P8LxsALSLS15P6eaUEtqtC0EkoBNcHHXJ6Bs86iJOqVCsVA_gyspY3G2cH1NxuNy-P5n2N7RyQj95FzgO8CGpxSH-nXkOqDgZ5qg0g7-NQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619647908,\"updated\":1619647908,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "883", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "79966c4a-e3de-4474-94f1-9a91a503dd86", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cb82dd80-e55b-4c4a-b9eb-ea674d2dc29d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/importKeyName-canimportakey-3416957021747533", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:13:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "940a4ec2-b7d0-4a28-8c23-70ba7c8c8051", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8b3f4bb0-acdd-462a-a3f6-a20f59e38659", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928\",\"deletedDate\":1619647986,\"scheduledPurgeDate\":1620252786,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7783945276930928/1c66d3badbb04461acd1ae99bb336194\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tWrk04sKXQ5nyNkUj6qoE0x8qPhwpa4jTTJMCZyM1m5Ku1jtyOTEHHFJMPrTjT--ynai0uj9k8PtQlGL8p3AqJ7pxAOjBoc7eAwohWpRVM1zbp5UGyNqJjKJ24P6LQiOlqA2Z7Kcs-m2Tnhd76rgaMFzUcpQ2gQnLOekxHFF-Y8JDeoqjP2gmNvxKBbm1drW9tEQwngGZeNcdDZwDuism3NgJb8VXaqZlQc8mkTVTPE6ew3tWXHhMZzQ2tjHwTKLvR11FGLLdjV2P9bhTBoxQvKqXUGaNvED4IL0QOn_NyihS3UDDZwpJFZ1yv9VrWUXK8neoRNxkcB8firaRhlbWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645727,\"updated\":1619645727,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "895", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "56f05d3b-d5df-423a-98e9-c579ab16dc75", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4210fe91-3583-4c0c-a0db-a5a86ba9f0b5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1cd769fc-ae51-46b5-81e8-1545d76f47c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "610f7b6e-ba81-40d5-a2eb-647e701de231", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "338591bc-e954-469a-9cf8-19b18c735233", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b987a607-5f83-43a3-a5f3-348796aafb02", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "50a3a805-6127-4001-9811-8e5e88dc9e65", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "77a7172c-3507-4c62-9615-33eff80432d7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "938cdabe-c520-4805-8f90-b6a2f9c0d517", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "aad4882d-ee94-4e7f-857b-072028784d20", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6fae9755-f96f-4906-b902-712cef27d519", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "43f99764-c1f6-4745-9684-5a34159c926c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8fa55583-26f0-42cf-ba53-7cb518491caf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4984cf1f-b0bb-4653-8262-d8f6872f15c6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "dca53ffd-095f-47ec-9bf6-0cb873e29407", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1c3a4953-e3d5-4ef8-8a8e-c4f918d36e0a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d78d8f8b-a5f2-459d-8780-996a61e788fe", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "813ee96d-72eb-4611-8d51-6577a2198213", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a258c308-82a1-42a6-a2bf-737249a8957e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4b4c7d44-bfcd-4a2a-a58c-2c8502758797", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "772cc6c7-cf42-4a96-a2f5-a27d1cf2239a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2da61907-1851-4e86-8af8-7d235f0cd7b6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-7783945276930928\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f706801d-c49b-4881-b7ae-8aa864a434c0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "54a0ae62-82e8-41d0-a279-ee3ede4b0978", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928\",\"deletedDate\":1619647986,\"scheduledPurgeDate\":1620252786,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7783945276930928/1c66d3badbb04461acd1ae99bb336194\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tWrk04sKXQ5nyNkUj6qoE0x8qPhwpa4jTTJMCZyM1m5Ku1jtyOTEHHFJMPrTjT--ynai0uj9k8PtQlGL8p3AqJ7pxAOjBoc7eAwohWpRVM1zbp5UGyNqJjKJ24P6LQiOlqA2Z7Kcs-m2Tnhd76rgaMFzUcpQ2gQnLOekxHFF-Y8JDeoqjP2gmNvxKBbm1drW9tEQwngGZeNcdDZwDuism3NgJb8VXaqZlQc8mkTVTPE6ew3tWXHhMZzQ2tjHwTKLvR11FGLLdjV2P9bhTBoxQvKqXUGaNvED4IL0QOn_NyihS3UDDZwpJFZ1yv9VrWUXK8neoRNxkcB8firaRhlbWQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645727,\"updated\":1619645727,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "895", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a25cbecf-b89f-4411-be9c-85b35b179d44", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "50feb475-ef1a-4c7c-af5f-8b9437b109c6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7783945276930928", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:13:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "36501895-48cb-4442-bf82-bb82193abf1c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "743ebb0a-39d6-4297-8afc-08852825a2c4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813\",\"deletedDate\":1619648007,\"scheduledPurgeDate\":1620252807,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9037217917778813/96c29a4ac5664b50ba9ba73e534ab563\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"qPnqCIsNvmYrS6FaQuhC3Y7ucYIQhVsyEkNOZ8n2UxahJnIfCSXZMO1P6XDjWnIOK76SfXJ24-g573tOa8ftyAn5EEm8SAOHQgKeECk5vavQnZe7Zveh6u_V9kb7cfeSlt-gV4PxzkbAgwXFI-bVtdlJa5zpu1LHyT4WX_MnFs15BtY0AVqitzD7uRyhgaM5Se1gRuc1SB6UuM-b9qUTpGKbP1s9CRMuWCyqqfVCTyesQbHfHkRtsz88iW_ceUQwWKN36j9Xx3RE_xlvQYnQi4MWND218DMdah-g9Q1syHtOdp9urw9ofgGX6u3jEueJ7rY0Xdx362SO4er-2TV08Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645728,\"updated\":1619645728,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "895", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1783bbbd-217f-4451-9da3-242a64dd046a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "394670ca-5210-40b9-ac61-bb4e5a51fd2a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c96551ae-dc94-42a1-9ec8-e0c27f3e94e8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5a968a9d-4925-45db-ae21-2c7d8ec4971e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5312f330-7645-49dd-9e1a-d32182823758", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fb2847e1-abbc-4493-937e-6d8a373dd5d4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3d8eb7c0-f007-45c9-81b9-a0aec751b3b0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4508955d-e2a0-44be-9c0d-e05f1efd8135", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e1b08cdd-026d-4450-8a8e-fad8fe8d4561", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c8e09319-42e5-4ee3-8ed6-f5635c07bc05", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "08fe7c58-85f3-436e-b186-3d68d73f79b2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4cdce636-0d32-4e6d-9db6-7cb00bab5917", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "46f3d1c5-b566-48f1-90d1-3a9e0ae29d7a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6f26585e-2683-4709-9ae5-a71edfdf16a8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a2931ba3-c59f-4148-afac-ef42c72df679", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3ca31abd-ed22-4995-861f-62f033984a6d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e99b42d5-1ad9-44e7-82a1-5903d691ffa4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "83471edd-937a-4dff-8669-b4ce14450d1e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fa937c21-7b2a-44be-b245-d128aa2b73d8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6a4c04f6-ea78-4131-922a-e91eecd57c63", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "38d45d18-e002-42cc-9312-20400c4fd4f9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d119322b-e884-44cd-9ff2-780c1c6bf7fa", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4194c07c-ed9d-4872-bdfb-845633719263", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "39c4de19-c849-4e2b-93b9-6339b81ea076", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9ac8200a-24a3-4913-8e08-af646bca8483", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ff484d25-1b91-4a75-854b-92e3455a9d8c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9037217917778813\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "87a9bcef-00e1-4818-9ac9-6e9adae138cd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f274e112-fbe9-4e22-a3e8-a0429138e8b5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813\",\"deletedDate\":1619648007,\"scheduledPurgeDate\":1620252807,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9037217917778813/96c29a4ac5664b50ba9ba73e534ab563\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"qPnqCIsNvmYrS6FaQuhC3Y7ucYIQhVsyEkNOZ8n2UxahJnIfCSXZMO1P6XDjWnIOK76SfXJ24-g573tOa8ftyAn5EEm8SAOHQgKeECk5vavQnZe7Zveh6u_V9kb7cfeSlt-gV4PxzkbAgwXFI-bVtdlJa5zpu1LHyT4WX_MnFs15BtY0AVqitzD7uRyhgaM5Se1gRuc1SB6UuM-b9qUTpGKbP1s9CRMuWCyqqfVCTyesQbHfHkRtsz88iW_ceUQwWKN36j9Xx3RE_xlvQYnQi4MWND218DMdah-g9Q1syHtOdp9urw9ofgGX6u3jEueJ7rY0Xdx362SO4er-2TV08Q\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645728,\"updated\":1619645728,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "895", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "edb4b215-4754-470b-9fca-184e5da998f3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6dc312f7-499f-49d3-b7eb-6926ad82a456", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9037217917778813", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:13:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b8e86a8a-be6b-4a37-925b-1d2e74fb60a7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "87b297f4-ad21-4bf9-a36c-5b721e434235", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428\",\"deletedDate\":1619648033,\"scheduledPurgeDate\":1620252833,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9073237335553428/1a0bb0a886234c349bc37aaf6d4db3ae\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zI6fd_xIbzi5yE0QqnG9Dt51LuCU0xVD9_awGSiry4ayKbX9DIL-dJW9CzH6VZHFJODOfgGtp37O-xl_aYECg8C0WseLNEzzkqjlxpVZT5vp1LVqMyxFJ4kgiWLKTJskwPzvyJMOysQhbDCgrK9KI52oWJ5UM7xjstIL8FQfve16S6Rxzwf97-7TGVCVsGjAy9BzzqnKelnpf3YkON6me9XBRWqRznZUOFcX_Z2CFZKovWWPr86whYr8esJMLe-NznSCzFpYsPFV9Rxt9560ZObZXtjAJUZKaMGy7j0ZRDh9zu-yQQJVyw1KhjrArc7hEcFZgCLI9MqwYrp-Uz6ZsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645725,\"updated\":1619645725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "895", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a9492650-f651-46b5-be85-3842ae9bdc7c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "27320958-c66a-428b-8804-df8c67d70277", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6e6bf6fa-23a7-465a-8a09-cfbbc8db749c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b7a243aa-3428-46d5-8e00-68ef88e2c77a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "91fa8dd6-28d5-43a1-8aef-42d91c4356dd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "92ce91aa-bbf1-4cf1-a543-10613077e703", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bd7a2463-5a65-456f-875c-821b8c0f4258", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "313e197b-9855-450c-8d78-159362ec2f1c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:13:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6e4ee143-e57c-48a6-b6c2-e3c83fe41c62", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "37a43167-ec1d-4d2c-80cb-ea728840f2bf", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f70d3eb5-ce99-4c63-a96e-3d3d36d49dbe", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3f9c1ba0-59a4-4d5e-9a21-4ad59119f2f1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f3d64012-10df-47c8-829b-1f3a1fbefdc1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "899a6ea2-bd4a-4b0b-b0f8-26304b3a8a9a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "38af2fa8-aeff-4048-a97d-4cd5dec41872", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8924b4db-5104-4442-8dd8-0d94043de6ee", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "85e1818f-8750-451b-95b3-884408b5d807", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5cba5af7-5728-487d-b27a-d7981794b2aa", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "beb81697-d92d-43d1-950d-2e11391c1329", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0d785b83-1e94-4fc9-9eab-9a9e25180087", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "074724c4-5597-4c4b-bee5-80a5b4e7e898", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8d2bd392-ca6a-471b-97eb-e9b695b01e34", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c419846b-0a02-40d1-adee-53de885382d4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9ca484c4-4b39-4cb9-a1a5-3d4aaa5963b2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "654de36d-ead6-45b2-a909-9a8ef02c41b1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7f460756-b6f3-4af3-be7b-3b200beeca5b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2920a536-13bf-4c92-a442-41807a167290", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "62367281-66fc-4a23-b40d-69a2e00f1483", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: localCryptoKeyName-beforeeachhook-9073237335553428\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "118", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f99a83d0-b6d3-4d7c-b482-e6902a821eb9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d6773028-f570-4238-ae84-fe28428fe328", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428\",\"deletedDate\":1619648033,\"scheduledPurgeDate\":1620252833,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-9073237335553428/1a0bb0a886234c349bc37aaf6d4db3ae\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zI6fd_xIbzi5yE0QqnG9Dt51LuCU0xVD9_awGSiry4ayKbX9DIL-dJW9CzH6VZHFJODOfgGtp37O-xl_aYECg8C0WseLNEzzkqjlxpVZT5vp1LVqMyxFJ4kgiWLKTJskwPzvyJMOysQhbDCgrK9KI52oWJ5UM7xjstIL8FQfve16S6Rxzwf97-7TGVCVsGjAy9BzzqnKelnpf3YkON6me9XBRWqRznZUOFcX_Z2CFZKovWWPr86whYr8esJMLe-NznSCzFpYsPFV9Rxt9560ZObZXtjAJUZKaMGy7j0ZRDh9zu-yQQJVyw1KhjrArc7hEcFZgCLI9MqwYrp-Uz6ZsQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619645725,\"updated\":1619645725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "895", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2431b4ef-013f-4888-878a-ea78dfe6ceb5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6b94beb2-fad6-4e34-a82c-d88a104073f2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-9073237335553428", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:14:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d60cd5a4-2d1b-42c3-9a53-b1bb56f6397f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fe572a1b-8477-48ad-ad66-725d58949b28", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7744818452506113\",\"deletedDate\":1619646853,\"scheduledPurgeDate\":1620251653,\"kid\":\"https://keyvault_name.vault.azure.net/keys/localCryptoKeyName-beforeeachhook-7744818452506113\",\"attributes\":{\"enabled\":true,\"created\":1619645726,\"updated\":1619645726,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "440", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:14:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f034e0b4-9e62-40a4-b030-4b63114db5be", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7aa9917a-ad28-425f-868a-dd3f974f1422", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/localCryptoKeyName-beforeeachhook-7744818452506113", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:14:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "af7802cc-cc10-4f62-a0c6-8387c0e90829", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e4efb59b-ccd6-416a-b942-6141edcd5173", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "fd46c8234a64a234b57a24a6608603d7" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_0_versions_of_a_nonexisting_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_0_versions_of_a_nonexisting_key.json index 3eb855054d0f..d19d2ce818ed 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_0_versions_of_a_nonexisting_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_0_versions_of_a_nonexisting_key.json @@ -1,88 +1,88 @@ { - "recordings": [ - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-list0versionsofanon-existingkey-/versions", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "896beb57-4c31-4d57-a155-e38d742a2db1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f536ed12-e428-4873-8e0b-2811ba61e1e6", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-list0versionsofanon-existingkey-/versions", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "896beb57-4c31-4d57-a155-e38d742a2db1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f536ed12-e428-4873-8e0b-2811ba61e1e6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:40 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "d274ca67-cd3f-47bd-9641-f14f9c943b01" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-list0versionsofanon-existingkey-/versions", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "28", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "896beb57-4c31-4d57-a155-e38d742a2db1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1816c08a-d3ae-4de6-a2e8-08d45b9cc07b", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:40 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "d274ca67-cd3f-47bd-9641-f14f9c943b01" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-list0versionsofanon-existingkey-/versions", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "28", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "896beb57-4c31-4d57-a155-e38d742a2db1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1816c08a-d3ae-4de6-a2e8-08d45b9cc07b", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "4b6c2d2a8d13d9abf2b34057d626f8ff" -} \ No newline at end of file + "hash": "4b6c2d2a8d13d9abf2b34057d626f8ff" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_0_versions_of_a_nonexisting_key_paged.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_0_versions_of_a_nonexisting_key_paged.json index ca103bf78d00..6a11c7c2e34b 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_0_versions_of_a_nonexisting_key_paged.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_0_versions_of_a_nonexisting_key_paged.json @@ -1,88 +1,88 @@ { - "recordings": [ - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-list0versionsofanon-existingkeypaged-/versions", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7d839738-f33d-47b1-a697-e5d6d854c6c3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0c0ed797-5053-48d0-8a45-ccdc9b99a2a0", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-list0versionsofanon-existingkeypaged-/versions", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7d839738-f33d-47b1-a697-e5d6d854c6c3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0c0ed797-5053-48d0-8a45-ccdc9b99a2a0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:40 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "0f1e85ce-bad7-4108-a552-96a1be394001" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-list0versionsofanon-existingkeypaged-/versions", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "28", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:15:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7d839738-f33d-47b1-a697-e5d6d854c6c3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e8b52c01-949e-42d5-b34d-ed708fd30c79", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:40 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "0f1e85ce-bad7-4108-a552-96a1be394001" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-list0versionsofanon-existingkeypaged-/versions", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "28", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:15:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7d839738-f33d-47b1-a697-e5d6d854c6c3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e8b52c01-949e-42d5-b34d-ed708fd30c79", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "aa4ca058b946d0c7afd489601b0f974c" -} \ No newline at end of file + "hash": "aa4ca058b946d0c7afd489601b0f974c" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_deleted_keys.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_deleted_keys.json index e3c089d8cbea..3c7bf00c2b24 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_deleted_keys.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_deleted_keys.json @@ -1,1002 +1,1002 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "97136234-c493-4431-be88-888813ce86ef", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a279ae7e-2354-4ad8-87b5-6466e7602d06", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:49 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "7f75ea5c-9049-4834-a7a4-2c2b847c4a01" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/d380028f654446f8b6670892236c802c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zIWZ1JDYVEOKxYVOAWmSzkDqS0I7a6qdJHEVSYxavatqeMUd8vY_S7pCVib0MHl6AdnQQ1u42BLEjjvnmUBFxNdN-7H5vs0oZ0-9gCcJMpNvmO1pYJIyeYW1Gmobdu96u17MPgtc5OFk07Qn7BoItc7xy9jHQNQKwv-PjqVU4fdH4ppYb7Qq046nTGO1DFpoeDOTEfRH0l7WNdpl5yyOQNsPub6msMdPvGkw5zDSEZjozwpACrURT3pLyJCPu_hvNeuVwOGUh3rF9kOx5FaaGeBQlUVUV1eEfzAlY_36_gF2S1Rxrjgm_RSLBZCZUxp449Tegb7x6ibsE5nbR8TpHQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "721", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "97136234-c493-4431-be88-888813ce86ef", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b6624cea-09a9-4076-a1e4-a8fd06bb83cf", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1/5add704936aa4f60b198aa5f5bc6adbb\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuprEGF_9hgED7P0Jyr61XLPXscfBIni06beMxBIUyMB-LhRd7uJoy6oVw9MRph_s5o7vfSZHt7Bph8NahcVX6_wz0jptjZb7iliUXxWoP8CtYhzJ-2fp8X45XUu80CTPDkhkzJdP93E0aRQCCiJdMvuYgEWQ5qQVz7KBPOLTXn_FnpHUStAqyGPDYIZEdZ_3glPc1GzbjkS4H6C02JUh6LWYelUhrNpyKwi0kubPglr5soGdDmnWTqK3CVQuYLoSkLAqF3wbxb5m0KclbkI8xTxpBL6IbTjJhHqOzFbM2fugFfGE6AfGKPGqYaUgLX2wx_AQ905h1b-attw-wzbkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "721", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cdfc0f21-eb73-404f-ad93-b533538a1374", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ff148cf9-1f8d-4fae-b838-c76a718c644d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0\",\"deletedDate\":1619648270,\"scheduledPurgeDate\":1620253070,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/d380028f654446f8b6670892236c802c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zIWZ1JDYVEOKxYVOAWmSzkDqS0I7a6qdJHEVSYxavatqeMUd8vY_S7pCVib0MHl6AdnQQ1u42BLEjjvnmUBFxNdN-7H5vs0oZ0-9gCcJMpNvmO1pYJIyeYW1Gmobdu96u17MPgtc5OFk07Qn7BoItc7xy9jHQNQKwv-PjqVU4fdH4ppYb7Qq046nTGO1DFpoeDOTEfRH0l7WNdpl5yyOQNsPub6msMdPvGkw5zDSEZjozwpACrURT3pLyJCPu_hvNeuVwOGUh3rF9kOx5FaaGeBQlUVUV1eEfzAlY_36_gF2S1Rxrjgm_RSLBZCZUxp449Tegb7x6ibsE5nbR8TpHQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "887", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "376f7b7e-56c5-49ff-b793-457a282e85df", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4da4a1ee-5ec7-4cbd-84a8-0b7dcc0eb2cc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5a099d84-b490-4aee-a5af-c96bdbd0d4fd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cc4da7fd-e631-4080-aa27-84cd8c5f7cee", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9cc5e70f-deba-4a25-8229-98900d74bac4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "73c92f76-33a3-4cdd-a416-f8eaa630893a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e91c6fd2-c669-45ea-8b6b-2a412cb8ce63", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8fb538e8-6f2f-424a-8fc7-7db1371452b5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "060eb2f9-58fd-4e95-98a6-2472bdc0de51", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3260fd82-05a6-4e62-932b-d9de013dc5b9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "880215c2-6174-454d-8ebf-b25a67848280", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7e49e4e1-fcd9-4468-ab37-26d438db7da3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:17:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f6e9d97e-18e3-4e0f-86d6-56ed763948cf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4621d092-c04f-4cd7-b3ff-262ce834bf89", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "919b76b4-ee96-40f7-b3ac-9f4221b8efa7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2728b728-fb22-45b7-9036-d643e9ac93bb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6df45262-ef92-42e1-bf39-a362ce28ccb9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b2ce6178-d360-4999-bab5-f476a6ed58a0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "df909bfd-a4c8-4316-8765-bfc9f65fc9c0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d0985005-1fe4-4316-9884-9b2192a10d60", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f2467a58-8125-468d-9d52-fe9b66335d70", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "aef3a5ac-3991-44ee-8051-9df3b830b021", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fce5bf1f-df9c-4157-9401-d98f258cd430", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8855c91f-ef0c-4b59-99a5-4d316ad4931e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "405faf21-c984-4e89-9ac8-fcc6650ce7f2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3aac5a37-ddd4-4715-8f0a-9c892f8a1c6f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0\",\"deletedDate\":1619648270,\"scheduledPurgeDate\":1620253070,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/d380028f654446f8b6670892236c802c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zIWZ1JDYVEOKxYVOAWmSzkDqS0I7a6qdJHEVSYxavatqeMUd8vY_S7pCVib0MHl6AdnQQ1u42BLEjjvnmUBFxNdN-7H5vs0oZ0-9gCcJMpNvmO1pYJIyeYW1Gmobdu96u17MPgtc5OFk07Qn7BoItc7xy9jHQNQKwv-PjqVU4fdH4ppYb7Qq046nTGO1DFpoeDOTEfRH0l7WNdpl5yyOQNsPub6msMdPvGkw5zDSEZjozwpACrURT3pLyJCPu_hvNeuVwOGUh3rF9kOx5FaaGeBQlUVUV1eEfzAlY_36_gF2S1Rxrjgm_RSLBZCZUxp449Tegb7x6ibsE5nbR8TpHQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "887", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e8fb7690-0f63-4be4-8371-c470f1381554", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "15dbe5df-bd67-4f18-a26f-6087ef9191d6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1\",\"deletedDate\":1619648294,\"scheduledPurgeDate\":1620253094,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1/5add704936aa4f60b198aa5f5bc6adbb\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuprEGF_9hgED7P0Jyr61XLPXscfBIni06beMxBIUyMB-LhRd7uJoy6oVw9MRph_s5o7vfSZHt7Bph8NahcVX6_wz0jptjZb7iliUXxWoP8CtYhzJ-2fp8X45XUu80CTPDkhkzJdP93E0aRQCCiJdMvuYgEWQ5qQVz7KBPOLTXn_FnpHUStAqyGPDYIZEdZ_3glPc1GzbjkS4H6C02JUh6LWYelUhrNpyKwi0kubPglr5soGdDmnWTqK3CVQuYLoSkLAqF3wbxb5m0KclbkI8xTxpBL6IbTjJhHqOzFbM2fugFfGE6AfGKPGqYaUgLX2wx_AQ905h1b-attw-wzbkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "887", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ad34c47a-7ece-4a7e-a12f-986ece64f7af", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fc0297b9-29ea-468c-897b-d996aad94334", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e449ffba-90ca-4011-8e22-9f8281adb9bb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "59006829-1c03-4cfa-8fd4-7048a6f661d7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fa12babc-eb00-42ec-aa74-be39f619efae", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0cb32420-12b2-4e23-b49b-a717229b9c80", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3566f5ed-220c-4915-8607-bb7a0f946a7e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "de190058-f896-4e61-8655-f7412129cb39", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "19c92ba4-5885-40cb-9592-9bc2c0c2e112", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "90eb4f92-1c51-4268-ac4a-1aa825dec5f6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "01766539-6cc3-47c1-b3d3-a2441aede03e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "61d641df-81cc-4fd5-aa53-53e87b88adef", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f47cebe1-19a9-4528-9560-bbef2e37f332", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2a00b31e-730c-40a7-b0f7-73ad409ab0a4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d27e6697-913f-4fe7-8519-f57d54c72d3f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d7edf29a-4362-484d-904d-98c1756436b0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "32763114-6bb4-46ab-9a04-b20143cc71a3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d2e3bb49-1b90-4aae-ac24-e89c345a3c95", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "216555b4-2f67-4612-9e32-04bfb1861c0e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6a2ab6f9-4dfe-4a9f-9d7a-f474749372b7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "932298da-9c05-4dcd-834f-e2f93b1b1d62", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e19c839c-4d86-44e2-8832-4be1faed2fde", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f7e89b97-e1aa-4021-adf6-c0b51c41ab58", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3f1c3764-fdbf-44be-8ad0-533c33741f79", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f9c95c4b-4b92-42de-b74f-aa7c02d9ba51", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f3c5bbec-c65d-4f0e-a1fb-c5741235619d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0838b134-4c04-42ad-8074-6b70a1a6e53e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a0441c12-b746-4bdf-b722-599bd7792e89", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "114", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "96ab368a-c78e-41fe-8b75-e7a6d4a7390f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9813685d-aa31-4099-b5ce-fa6570306527", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1\",\"deletedDate\":1619648294,\"scheduledPurgeDate\":1620253094,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1/5add704936aa4f60b198aa5f5bc6adbb\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuprEGF_9hgED7P0Jyr61XLPXscfBIni06beMxBIUyMB-LhRd7uJoy6oVw9MRph_s5o7vfSZHt7Bph8NahcVX6_wz0jptjZb7iliUXxWoP8CtYhzJ-2fp8X45XUu80CTPDkhkzJdP93E0aRQCCiJdMvuYgEWQ5qQVz7KBPOLTXn_FnpHUStAqyGPDYIZEdZ_3glPc1GzbjkS4H6C02JUh6LWYelUhrNpyKwi0kubPglr5soGdDmnWTqK3CVQuYLoSkLAqF3wbxb5m0KclbkI8xTxpBL6IbTjJhHqOzFbM2fugFfGE6AfGKPGqYaUgLX2wx_AQ905h1b-attw-wzbkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "887", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b6e0311d-7f28-44aa-b27f-c65a8d21ee6a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fd0ac26f-5250-410e-addc-d165455a0640", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0\",\"deletedDate\":1619648270,\"scheduledPurgeDate\":1620253070,\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0\",\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1\",\"deletedDate\":1619648294,\"scheduledPurgeDate\":1620253094,\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1\",\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "837", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f146c751-7a0d-48ee-a39a-d4aa6c3cef3b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "81fc0be9-c1b6-4e0d-91aa-89cf6ab837d6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:18:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8baad1d8-87ed-425d-9dd4-dc1d6715fcfb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "334b087d-9f97-4960-8a92-3c2bdba96eef", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:18:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ba01cc6d-694a-43e6-b32f-9da506513296", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9ee3e30c-71ec-4760-b584-8616855e54c2", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "9ca5d65c5aa8b6556cbdcd9e578a04b1" -} \ No newline at end of file + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "97136234-c493-4431-be88-888813ce86ef", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a279ae7e-2354-4ad8-87b5-6466e7602d06", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:49 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "7f75ea5c-9049-4834-a7a4-2c2b847c4a01" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/d380028f654446f8b6670892236c802c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zIWZ1JDYVEOKxYVOAWmSzkDqS0I7a6qdJHEVSYxavatqeMUd8vY_S7pCVib0MHl6AdnQQ1u42BLEjjvnmUBFxNdN-7H5vs0oZ0-9gCcJMpNvmO1pYJIyeYW1Gmobdu96u17MPgtc5OFk07Qn7BoItc7xy9jHQNQKwv-PjqVU4fdH4ppYb7Qq046nTGO1DFpoeDOTEfRH0l7WNdpl5yyOQNsPub6msMdPvGkw5zDSEZjozwpACrURT3pLyJCPu_hvNeuVwOGUh3rF9kOx5FaaGeBQlUVUV1eEfzAlY_36_gF2S1Rxrjgm_RSLBZCZUxp449Tegb7x6ibsE5nbR8TpHQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "721", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "97136234-c493-4431-be88-888813ce86ef", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b6624cea-09a9-4076-a1e4-a8fd06bb83cf", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1/5add704936aa4f60b198aa5f5bc6adbb\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuprEGF_9hgED7P0Jyr61XLPXscfBIni06beMxBIUyMB-LhRd7uJoy6oVw9MRph_s5o7vfSZHt7Bph8NahcVX6_wz0jptjZb7iliUXxWoP8CtYhzJ-2fp8X45XUu80CTPDkhkzJdP93E0aRQCCiJdMvuYgEWQ5qQVz7KBPOLTXn_FnpHUStAqyGPDYIZEdZ_3glPc1GzbjkS4H6C02JUh6LWYelUhrNpyKwi0kubPglr5soGdDmnWTqK3CVQuYLoSkLAqF3wbxb5m0KclbkI8xTxpBL6IbTjJhHqOzFbM2fugFfGE6AfGKPGqYaUgLX2wx_AQ905h1b-attw-wzbkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "721", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cdfc0f21-eb73-404f-ad93-b533538a1374", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ff148cf9-1f8d-4fae-b838-c76a718c644d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0\",\"deletedDate\":1619648270,\"scheduledPurgeDate\":1620253070,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/d380028f654446f8b6670892236c802c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zIWZ1JDYVEOKxYVOAWmSzkDqS0I7a6qdJHEVSYxavatqeMUd8vY_S7pCVib0MHl6AdnQQ1u42BLEjjvnmUBFxNdN-7H5vs0oZ0-9gCcJMpNvmO1pYJIyeYW1Gmobdu96u17MPgtc5OFk07Qn7BoItc7xy9jHQNQKwv-PjqVU4fdH4ppYb7Qq046nTGO1DFpoeDOTEfRH0l7WNdpl5yyOQNsPub6msMdPvGkw5zDSEZjozwpACrURT3pLyJCPu_hvNeuVwOGUh3rF9kOx5FaaGeBQlUVUV1eEfzAlY_36_gF2S1Rxrjgm_RSLBZCZUxp449Tegb7x6ibsE5nbR8TpHQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "887", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "376f7b7e-56c5-49ff-b793-457a282e85df", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4da4a1ee-5ec7-4cbd-84a8-0b7dcc0eb2cc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5a099d84-b490-4aee-a5af-c96bdbd0d4fd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cc4da7fd-e631-4080-aa27-84cd8c5f7cee", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9cc5e70f-deba-4a25-8229-98900d74bac4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "73c92f76-33a3-4cdd-a416-f8eaa630893a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e91c6fd2-c669-45ea-8b6b-2a412cb8ce63", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8fb538e8-6f2f-424a-8fc7-7db1371452b5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "060eb2f9-58fd-4e95-98a6-2472bdc0de51", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3260fd82-05a6-4e62-932b-d9de013dc5b9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "880215c2-6174-454d-8ebf-b25a67848280", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7e49e4e1-fcd9-4468-ab37-26d438db7da3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:17:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f6e9d97e-18e3-4e0f-86d6-56ed763948cf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4621d092-c04f-4cd7-b3ff-262ce834bf89", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "919b76b4-ee96-40f7-b3ac-9f4221b8efa7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2728b728-fb22-45b7-9036-d643e9ac93bb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6df45262-ef92-42e1-bf39-a362ce28ccb9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b2ce6178-d360-4999-bab5-f476a6ed58a0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "df909bfd-a4c8-4316-8765-bfc9f65fc9c0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d0985005-1fe4-4316-9884-9b2192a10d60", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f2467a58-8125-468d-9d52-fe9b66335d70", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "aef3a5ac-3991-44ee-8051-9df3b830b021", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fce5bf1f-df9c-4157-9401-d98f258cd430", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8855c91f-ef0c-4b59-99a5-4d316ad4931e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "405faf21-c984-4e89-9ac8-fcc6650ce7f2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3aac5a37-ddd4-4715-8f0a-9c892f8a1c6f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0\",\"deletedDate\":1619648270,\"scheduledPurgeDate\":1620253070,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0/d380028f654446f8b6670892236c802c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"zIWZ1JDYVEOKxYVOAWmSzkDqS0I7a6qdJHEVSYxavatqeMUd8vY_S7pCVib0MHl6AdnQQ1u42BLEjjvnmUBFxNdN-7H5vs0oZ0-9gCcJMpNvmO1pYJIyeYW1Gmobdu96u17MPgtc5OFk07Qn7BoItc7xy9jHQNQKwv-PjqVU4fdH4ppYb7Qq046nTGO1DFpoeDOTEfRH0l7WNdpl5yyOQNsPub6msMdPvGkw5zDSEZjozwpACrURT3pLyJCPu_hvNeuVwOGUh3rF9kOx5FaaGeBQlUVUV1eEfzAlY_36_gF2S1Rxrjgm_RSLBZCZUxp449Tegb7x6ibsE5nbR8TpHQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "887", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e8fb7690-0f63-4be4-8371-c470f1381554", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "15dbe5df-bd67-4f18-a26f-6087ef9191d6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1\",\"deletedDate\":1619648294,\"scheduledPurgeDate\":1620253094,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1/5add704936aa4f60b198aa5f5bc6adbb\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuprEGF_9hgED7P0Jyr61XLPXscfBIni06beMxBIUyMB-LhRd7uJoy6oVw9MRph_s5o7vfSZHt7Bph8NahcVX6_wz0jptjZb7iliUXxWoP8CtYhzJ-2fp8X45XUu80CTPDkhkzJdP93E0aRQCCiJdMvuYgEWQ5qQVz7KBPOLTXn_FnpHUStAqyGPDYIZEdZ_3glPc1GzbjkS4H6C02JUh6LWYelUhrNpyKwi0kubPglr5soGdDmnWTqK3CVQuYLoSkLAqF3wbxb5m0KclbkI8xTxpBL6IbTjJhHqOzFbM2fugFfGE6AfGKPGqYaUgLX2wx_AQ905h1b-attw-wzbkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "887", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ad34c47a-7ece-4a7e-a12f-986ece64f7af", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fc0297b9-29ea-468c-897b-d996aad94334", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e449ffba-90ca-4011-8e22-9f8281adb9bb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "59006829-1c03-4cfa-8fd4-7048a6f661d7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fa12babc-eb00-42ec-aa74-be39f619efae", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0cb32420-12b2-4e23-b49b-a717229b9c80", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3566f5ed-220c-4915-8607-bb7a0f946a7e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "de190058-f896-4e61-8655-f7412129cb39", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "19c92ba4-5885-40cb-9592-9bc2c0c2e112", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "90eb4f92-1c51-4268-ac4a-1aa825dec5f6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "01766539-6cc3-47c1-b3d3-a2441aede03e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "61d641df-81cc-4fd5-aa53-53e87b88adef", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f47cebe1-19a9-4528-9560-bbef2e37f332", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2a00b31e-730c-40a7-b0f7-73ad409ab0a4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d27e6697-913f-4fe7-8519-f57d54c72d3f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d7edf29a-4362-484d-904d-98c1756436b0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "32763114-6bb4-46ab-9a04-b20143cc71a3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d2e3bb49-1b90-4aae-ac24-e89c345a3c95", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "216555b4-2f67-4612-9e32-04bfb1861c0e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6a2ab6f9-4dfe-4a9f-9d7a-f474749372b7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "932298da-9c05-4dcd-834f-e2f93b1b1d62", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e19c839c-4d86-44e2-8832-4be1faed2fde", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f7e89b97-e1aa-4021-adf6-c0b51c41ab58", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3f1c3764-fdbf-44be-8ad0-533c33741f79", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f9c95c4b-4b92-42de-b74f-aa7c02d9ba51", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f3c5bbec-c65d-4f0e-a1fb-c5741235619d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0838b134-4c04-42ad-8074-6b70a1a6e53e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a0441c12-b746-4bdf-b722-599bd7792e89", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeys--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "114", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "96ab368a-c78e-41fe-8b75-e7a6d4a7390f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9813685d-aa31-4099-b5ce-fa6570306527", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1\",\"deletedDate\":1619648294,\"scheduledPurgeDate\":1620253094,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1/5add704936aa4f60b198aa5f5bc6adbb\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uuprEGF_9hgED7P0Jyr61XLPXscfBIni06beMxBIUyMB-LhRd7uJoy6oVw9MRph_s5o7vfSZHt7Bph8NahcVX6_wz0jptjZb7iliUXxWoP8CtYhzJ-2fp8X45XUu80CTPDkhkzJdP93E0aRQCCiJdMvuYgEWQ5qQVz7KBPOLTXn_FnpHUStAqyGPDYIZEdZ_3glPc1GzbjkS4H6C02JUh6LWYelUhrNpyKwi0kubPglr5soGdDmnWTqK3CVQuYLoSkLAqF3wbxb5m0KclbkI8xTxpBL6IbTjJhHqOzFbM2fugFfGE6AfGKPGqYaUgLX2wx_AQ905h1b-attw-wzbkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "887", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b6e0311d-7f28-44aa-b27f-c65a8d21ee6a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fd0ac26f-5250-410e-addc-d165455a0640", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0\",\"deletedDate\":1619648270,\"scheduledPurgeDate\":1620253070,\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--0\",\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1\",\"deletedDate\":1619648294,\"scheduledPurgeDate\":1620253094,\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeys--1\",\"attributes\":{\"enabled\":true,\"created\":1619648270,\"updated\":1619648270,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "837", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f146c751-7a0d-48ee-a39a-d4aa6c3cef3b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "81fc0be9-c1b6-4e0d-91aa-89cf6ab837d6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:18:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8baad1d8-87ed-425d-9dd4-dc1d6715fcfb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "334b087d-9f97-4960-8a92-3c2bdba96eef", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeys--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:18:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ba01cc6d-694a-43e6-b32f-9da506513296", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9ee3e30c-71ec-4760-b584-8616855e54c2", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "9ca5d65c5aa8b6556cbdcd9e578a04b1" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_deleted_keys_paged.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_deleted_keys_paged.json index 7d2f642e61b8..5efe698f46fe 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_deleted_keys_paged.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__list_keys_in_various_ways/recording_list_deleted_keys_paged.json @@ -1,1407 +1,1407 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2661f163-91a4-4c88-bdc7-0f529b6a008e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cb476977-e6eb-4ff5-8db0-262c336ba036", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2661f163-91a4-4c88-bdc7-0f529b6a008e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cb476977-e6eb-4ff5-8db0-262c336ba036", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:42 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "48c5329c-0596-4150-b337-49df91a7f801" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/3c4781a119a54745940de8c0a3a9d090\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"rPIqwOl1wqhyjux6T3cHDYbaLsSDSN-xvI_591MTPV5b0iRubnUdHJvHPoSF0w2K3y9J5aQ7wJgJSUk26eTcka8nD0cW4PZ_HLRSXPse52rtlkgSxEMy-nueoSlrjwrUj7lT6q4Rjy5MQh5voSRJ2Ccs9Gzdb750MK50qDUuEOn71K2bH-UJH3crg4-ty7ubEpGsbzNWInxYCUu1lmNhtfvtYbMbL8e2JkYFJMPLa7J41JLIGVZKARXfgw-5d9Wnpu0KUQ8pxjEXV-7PpFZ9bxBOt-Q9REXa1JF3Yg6gRJkYIBFGZcuDcWo315WXriuZfsO3eQzn8-k_CWi2tMdNmQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "728", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2661f163-91a4-4c88-bdc7-0f529b6a008e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2eee4f16-652d-45b2-9d7c-f24e4fde21c1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1/ebd372a8f6334aa69dd8c4e545adf15c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uC-fE13fueHIeQwn7yyaYf8DXx12z8LWQ-mALFf2p8oh9WHNGe_QfC_LC2Eq2jEdpE05qKvDa-EPD9wGWE_1BpeDUkvNkE6G0SSMmJ5QTfZ4FDYv3VLivfLQ_7UGauDNg_4CFW4fslhHigMZysT_02Tq0B1x-6vkrgWiCSA3bzqlUxYdSxF4AT4GdRJ5Ii9t2kpQeNFGKvPCpkonoIFY2-3Balc3dBAfdi1ezmozf8HWhjBibGrOFmMWj8daZ8-i2AiJxjsV2nyv7huvzSWpbRTkg0NTfjflb8S8ljIybdJ-kHKwK6gX3vmlYl18cPpTS7XFHX6BqliYAPchws4_LQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "728", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3726416a-108a-45d6-862f-5630bcc9f940", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "66b8b9df-f11c-4132-bd1b-e69ca9ab9211", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0\",\"deletedDate\":1619648323,\"scheduledPurgeDate\":1620253123,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/3c4781a119a54745940de8c0a3a9d090\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"rPIqwOl1wqhyjux6T3cHDYbaLsSDSN-xvI_591MTPV5b0iRubnUdHJvHPoSF0w2K3y9J5aQ7wJgJSUk26eTcka8nD0cW4PZ_HLRSXPse52rtlkgSxEMy-nueoSlrjwrUj7lT6q4Rjy5MQh5voSRJ2Ccs9Gzdb750MK50qDUuEOn71K2bH-UJH3crg4-ty7ubEpGsbzNWInxYCUu1lmNhtfvtYbMbL8e2JkYFJMPLa7J41JLIGVZKARXfgw-5d9Wnpu0KUQ8pxjEXV-7PpFZ9bxBOt-Q9REXa1JF3Yg6gRJkYIBFGZcuDcWo315WXriuZfsO3eQzn8-k_CWi2tMdNmQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "901", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b66fa863-82c4-48ae-b867-39d243dcb4ec", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f1cda3c0-7769-4237-bb84-cb1127b90ae2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4b2f5e90-a786-41e5-a952-0edb49cfd543", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "500cd3a7-c3ef-4db2-9586-83c0f0d4bafe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "496be013-e222-49b4-b975-62f4af2b43bd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8b1c27c1-dbef-4f46-b4a7-6ff8736dd1ea", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fec8c0a5-5246-48e3-815c-c6fea0f38990", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7dbc636d-a786-4492-971f-52b2fb227d82", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6238871b-b9da-435a-a66b-6940eeb832b2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ff9c4f01-8fd3-4621-b543-86cbf7a1afcb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "75fe8dc1-20e1-413e-b4af-36655a922a59", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "34737acc-4f91-4451-a57f-f76bc7ed7bba", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "36ee2e09-9fa3-453d-931f-ba2540d144e1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "deee1bdb-5d5f-4392-b6d3-15ed79713f4c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "312eac10-ac58-4388-83d7-f5dfb8bd4610", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "58eb25e4-b4dc-4e67-83b4-8eb53b325f24", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "966042c8-57bf-45bd-84e6-3a3ff6822295", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "63e58bd1-cf71-46a7-a787-e6546439f11e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:18:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "85b68444-0744-429a-a36b-1f54b76025dd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2eff5af0-607a-4e95-8ac8-01baa7dc3e8f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "67c7ae41-bc3f-4a25-8370-583a6434378c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b3d01641-e366-4c75-9b61-b8e504ea3110", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8865cdb8-2911-42d2-8804-448c761cfe5c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a75d872c-549d-430e-810e-a21044e9832e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "97d1953e-3a44-4cc4-976e-5c44bed6db77", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "43b2b250-64f0-4357-8d8b-bfcb98bf2627", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "647a1377-6063-49b1-9353-9f93c41d06a2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "da363166-bfed-4ae0-b68a-4b61b9475d8c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "77e40681-7c2b-46dc-9ec5-d680ea4bc969", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0559aab1-df7b-41f4-a043-f945b1f30af7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9a64b4dd-ce82-4a3a-b9d1-9e577dacaeb7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7eedd179-8763-45a5-b1ea-8cd407393ec9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1127b2a4-647b-47d6-aab3-c5544bed758b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "95462d49-6586-46f7-a1ec-c3792d6724f0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:15 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "16293cd2-7cec-452e-96b8-e61525bbfa64", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a958456a-2b66-4af9-8524-a6078950528b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1bd0f1f2-4288-4933-b3b7-77de2d884f48", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "15ff4de2-033d-4172-a10e-8a1840957aeb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:19 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bc42b7e2-3e7a-455e-af82-dec33af22239", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c6677b5f-ca61-4a69-8983-96a5d1cc5c4a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9ccbdd9f-be52-416e-becb-c831aa026e4c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3bf7bcdc-45ac-4e62-b39f-7554ba9306a8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c9c22ea1-46d3-4930-b50c-ea3e6fb79e80", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a3f4da1f-3e5f-448f-a3a5-eaaf6195c831", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "989bef93-3331-467e-8760-3a7a5d8a57de", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "da9f9c28-25f1-4606-a74f-3434fef51b9d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9850a2a1-962c-4cdb-ae11-067df54c331c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "edaaca78-dadb-4ca9-8f15-f02a6963fd57", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "08981cf5-ce0b-462b-b2d6-d1a4e12b9fb4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a2fc533f-e20a-469a-884d-426a427022c1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6338daa6-96f3-4508-9ed4-8170b874edeb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "49a17c27-f5f4-45f5-a055-c4150124703c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a9dcc676-7e48-4212-b259-46750dc59f81", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "36ed3b60-b339-4cdf-b8a5-0e36fdd4b607", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0\",\"deletedDate\":1619648323,\"scheduledPurgeDate\":1620253123,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/3c4781a119a54745940de8c0a3a9d090\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"rPIqwOl1wqhyjux6T3cHDYbaLsSDSN-xvI_591MTPV5b0iRubnUdHJvHPoSF0w2K3y9J5aQ7wJgJSUk26eTcka8nD0cW4PZ_HLRSXPse52rtlkgSxEMy-nueoSlrjwrUj7lT6q4Rjy5MQh5voSRJ2Ccs9Gzdb750MK50qDUuEOn71K2bH-UJH3crg4-ty7ubEpGsbzNWInxYCUu1lmNhtfvtYbMbL8e2JkYFJMPLa7J41JLIGVZKARXfgw-5d9Wnpu0KUQ8pxjEXV-7PpFZ9bxBOt-Q9REXa1JF3Yg6gRJkYIBFGZcuDcWo315WXriuZfsO3eQzn8-k_CWi2tMdNmQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "901", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "950afb8a-fa01-4c53-b312-b745e12fc881", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cadda2e0-b6cf-4dfc-9d0a-f59e680a048e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1\",\"deletedDate\":1619648376,\"scheduledPurgeDate\":1620253176,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1/ebd372a8f6334aa69dd8c4e545adf15c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uC-fE13fueHIeQwn7yyaYf8DXx12z8LWQ-mALFf2p8oh9WHNGe_QfC_LC2Eq2jEdpE05qKvDa-EPD9wGWE_1BpeDUkvNkE6G0SSMmJ5QTfZ4FDYv3VLivfLQ_7UGauDNg_4CFW4fslhHigMZysT_02Tq0B1x-6vkrgWiCSA3bzqlUxYdSxF4AT4GdRJ5Ii9t2kpQeNFGKvPCpkonoIFY2-3Balc3dBAfdi1ezmozf8HWhjBibGrOFmMWj8daZ8-i2AiJxjsV2nyv7huvzSWpbRTkg0NTfjflb8S8ljIybdJ-kHKwK6gX3vmlYl18cPpTS7XFHX6BqliYAPchws4_LQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "901", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "793c250f-9293-4546-a7f4-883dfb945303", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "25b0adc2-054c-482e-9f21-c69409d5f062", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2d87a0f4-141f-49f6-b7a5-1068675759b2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c82b9541-7599-4505-92a9-c840953c144a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e12afcb9-951b-45be-a593-ae053a7c8528", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a75ff7bf-ee6c-475c-b975-9f26428efa39", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0088117a-8a89-443e-95e6-400563367034", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a7aa1cd2-d5e5-4341-a9d8-57061688d551", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7677031e-5dd7-4d61-986a-dc2bf8754faf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "422b23c2-054f-434f-bad6-7a28bd589a7a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b0e3bd35-00fb-48cb-913d-1f61e32e21a9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6170f17c-db88-466d-b554-825aeb092bf2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1192f4ba-8446-4187-949a-a569902eec45", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "449e0c79-6b8f-4126-a714-3cea3646fb5b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2de15694-a58e-48af-b737-cdd374bda3ef", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6c9bc6f8-0248-4d9a-bd60-9be1329a191e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d54ebc81-e399-40ac-a772-8d21e8991a02", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "214fbb55-cca5-4c7c-b3db-2b71309c2f27", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "081bb940-4d83-4d05-b70a-dc6bcd2aa78b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "68a155f0-1ce4-475f-b6ad-ddaa105ddf63", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "104be60b-ca94-4b5a-845d-2857be75e503", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5e875409-b603-4f42-bb18-8702a8adfef6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "11b09c5c-fff2-4095-9366-ad3c9dbccc29", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0aea99e1-d573-4809-81ec-4a3211f7a185", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:19:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "830e88b5-c795-47bd-bb07-71a6929b27e7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a8a1fadc-394b-42f7-a592-043448f1a7ca", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "dc50fbfa-200d-4546-a09e-46dca5d454a1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "81338abd-63ce-46dc-a618-036bc4ba520c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ff2faff9-3cc9-4423-9998-2f90deb106c1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fc238b81-07a4-412d-9430-fdda19578669", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "121", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "641047a0-0439-494e-840f-ed1e8ab13022", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7fdb4354-15aa-413b-b7e8-6e4a3f54cd74", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1\",\"deletedDate\":1619648376,\"scheduledPurgeDate\":1620253176,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1/ebd372a8f6334aa69dd8c4e545adf15c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uC-fE13fueHIeQwn7yyaYf8DXx12z8LWQ-mALFf2p8oh9WHNGe_QfC_LC2Eq2jEdpE05qKvDa-EPD9wGWE_1BpeDUkvNkE6G0SSMmJ5QTfZ4FDYv3VLivfLQ_7UGauDNg_4CFW4fslhHigMZysT_02Tq0B1x-6vkrgWiCSA3bzqlUxYdSxF4AT4GdRJ5Ii9t2kpQeNFGKvPCpkonoIFY2-3Balc3dBAfdi1ezmozf8HWhjBibGrOFmMWj8daZ8-i2AiJxjsV2nyv7huvzSWpbRTkg0NTfjflb8S8ljIybdJ-kHKwK6gX3vmlYl18cPpTS7XFHX6BqliYAPchws4_LQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "901", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f74fd4fc-d356-44d4-b504-caee57ea5136", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "16aa882f-934b-4046-aba4-15fd980f4735", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0\",\"deletedDate\":1619648323,\"scheduledPurgeDate\":1620253123,\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0\",\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1\",\"deletedDate\":1619648376,\"scheduledPurgeDate\":1620253176,\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1\",\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "865", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "742733b1-93b8-42e8-93be-22f0680d80d5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6f2b6672-c720-4f78-883b-1545f43422a2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:20:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "29a39730-a270-410c-89ab-8e90fb4c84e2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7f5c601b-00cb-47c4-bb07-d83212341b75", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:20:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b748f543-f9d1-4fc5-b077-62ff769fab79", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "abeeea2a-2dba-4b89-85a9-0c0f66c58431", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:42 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "48c5329c-0596-4150-b337-49df91a7f801" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/3c4781a119a54745940de8c0a3a9d090\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"rPIqwOl1wqhyjux6T3cHDYbaLsSDSN-xvI_591MTPV5b0iRubnUdHJvHPoSF0w2K3y9J5aQ7wJgJSUk26eTcka8nD0cW4PZ_HLRSXPse52rtlkgSxEMy-nueoSlrjwrUj7lT6q4Rjy5MQh5voSRJ2Ccs9Gzdb750MK50qDUuEOn71K2bH-UJH3crg4-ty7ubEpGsbzNWInxYCUu1lmNhtfvtYbMbL8e2JkYFJMPLa7J41JLIGVZKARXfgw-5d9Wnpu0KUQ8pxjEXV-7PpFZ9bxBOt-Q9REXa1JF3Yg6gRJkYIBFGZcuDcWo315WXriuZfsO3eQzn8-k_CWi2tMdNmQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "728", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2661f163-91a4-4c88-bdc7-0f529b6a008e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2eee4f16-652d-45b2-9d7c-f24e4fde21c1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1/ebd372a8f6334aa69dd8c4e545adf15c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uC-fE13fueHIeQwn7yyaYf8DXx12z8LWQ-mALFf2p8oh9WHNGe_QfC_LC2Eq2jEdpE05qKvDa-EPD9wGWE_1BpeDUkvNkE6G0SSMmJ5QTfZ4FDYv3VLivfLQ_7UGauDNg_4CFW4fslhHigMZysT_02Tq0B1x-6vkrgWiCSA3bzqlUxYdSxF4AT4GdRJ5Ii9t2kpQeNFGKvPCpkonoIFY2-3Balc3dBAfdi1ezmozf8HWhjBibGrOFmMWj8daZ8-i2AiJxjsV2nyv7huvzSWpbRTkg0NTfjflb8S8ljIybdJ-kHKwK6gX3vmlYl18cPpTS7XFHX6BqliYAPchws4_LQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "728", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3726416a-108a-45d6-862f-5630bcc9f940", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "66b8b9df-f11c-4132-bd1b-e69ca9ab9211", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0\",\"deletedDate\":1619648323,\"scheduledPurgeDate\":1620253123,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/3c4781a119a54745940de8c0a3a9d090\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"rPIqwOl1wqhyjux6T3cHDYbaLsSDSN-xvI_591MTPV5b0iRubnUdHJvHPoSF0w2K3y9J5aQ7wJgJSUk26eTcka8nD0cW4PZ_HLRSXPse52rtlkgSxEMy-nueoSlrjwrUj7lT6q4Rjy5MQh5voSRJ2Ccs9Gzdb750MK50qDUuEOn71K2bH-UJH3crg4-ty7ubEpGsbzNWInxYCUu1lmNhtfvtYbMbL8e2JkYFJMPLa7J41JLIGVZKARXfgw-5d9Wnpu0KUQ8pxjEXV-7PpFZ9bxBOt-Q9REXa1JF3Yg6gRJkYIBFGZcuDcWo315WXriuZfsO3eQzn8-k_CWi2tMdNmQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "901", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b66fa863-82c4-48ae-b867-39d243dcb4ec", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f1cda3c0-7769-4237-bb84-cb1127b90ae2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4b2f5e90-a786-41e5-a952-0edb49cfd543", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "500cd3a7-c3ef-4db2-9586-83c0f0d4bafe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "496be013-e222-49b4-b975-62f4af2b43bd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8b1c27c1-dbef-4f46-b4a7-6ff8736dd1ea", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fec8c0a5-5246-48e3-815c-c6fea0f38990", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7dbc636d-a786-4492-971f-52b2fb227d82", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6238871b-b9da-435a-a66b-6940eeb832b2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ff9c4f01-8fd3-4621-b543-86cbf7a1afcb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "75fe8dc1-20e1-413e-b4af-36655a922a59", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "34737acc-4f91-4451-a57f-f76bc7ed7bba", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "36ee2e09-9fa3-453d-931f-ba2540d144e1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "deee1bdb-5d5f-4392-b6d3-15ed79713f4c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "312eac10-ac58-4388-83d7-f5dfb8bd4610", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "58eb25e4-b4dc-4e67-83b4-8eb53b325f24", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "966042c8-57bf-45bd-84e6-3a3ff6822295", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "63e58bd1-cf71-46a7-a787-e6546439f11e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:18:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "85b68444-0744-429a-a36b-1f54b76025dd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2eff5af0-607a-4e95-8ac8-01baa7dc3e8f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "67c7ae41-bc3f-4a25-8370-583a6434378c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b3d01641-e366-4c75-9b61-b8e504ea3110", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8865cdb8-2911-42d2-8804-448c761cfe5c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a75d872c-549d-430e-810e-a21044e9832e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "97d1953e-3a44-4cc4-976e-5c44bed6db77", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "43b2b250-64f0-4357-8d8b-bfcb98bf2627", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "647a1377-6063-49b1-9353-9f93c41d06a2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "da363166-bfed-4ae0-b68a-4b61b9475d8c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "77e40681-7c2b-46dc-9ec5-d680ea4bc969", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0559aab1-df7b-41f4-a043-f945b1f30af7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9a64b4dd-ce82-4a3a-b9d1-9e577dacaeb7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7eedd179-8763-45a5-b1ea-8cd407393ec9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1127b2a4-647b-47d6-aab3-c5544bed758b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "95462d49-6586-46f7-a1ec-c3792d6724f0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "16293cd2-7cec-452e-96b8-e61525bbfa64", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a958456a-2b66-4af9-8524-a6078950528b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1bd0f1f2-4288-4933-b3b7-77de2d884f48", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "15ff4de2-033d-4172-a10e-8a1840957aeb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:19 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bc42b7e2-3e7a-455e-af82-dec33af22239", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c6677b5f-ca61-4a69-8983-96a5d1cc5c4a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9ccbdd9f-be52-416e-becb-c831aa026e4c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3bf7bcdc-45ac-4e62-b39f-7554ba9306a8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c9c22ea1-46d3-4930-b50c-ea3e6fb79e80", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a3f4da1f-3e5f-448f-a3a5-eaaf6195c831", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "989bef93-3331-467e-8760-3a7a5d8a57de", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "da9f9c28-25f1-4606-a74f-3434fef51b9d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9850a2a1-962c-4cdb-ae11-067df54c331c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "edaaca78-dadb-4ca9-8f15-f02a6963fd57", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "08981cf5-ce0b-462b-b2d6-d1a4e12b9fb4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a2fc533f-e20a-469a-884d-426a427022c1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6338daa6-96f3-4508-9ed4-8170b874edeb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "49a17c27-f5f4-45f5-a055-c4150124703c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--0\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a9dcc676-7e48-4212-b259-46750dc59f81", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "36ed3b60-b339-4cdf-b8a5-0e36fdd4b607", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0\",\"deletedDate\":1619648323,\"scheduledPurgeDate\":1620253123,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0/3c4781a119a54745940de8c0a3a9d090\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"rPIqwOl1wqhyjux6T3cHDYbaLsSDSN-xvI_591MTPV5b0iRubnUdHJvHPoSF0w2K3y9J5aQ7wJgJSUk26eTcka8nD0cW4PZ_HLRSXPse52rtlkgSxEMy-nueoSlrjwrUj7lT6q4Rjy5MQh5voSRJ2Ccs9Gzdb750MK50qDUuEOn71K2bH-UJH3crg4-ty7ubEpGsbzNWInxYCUu1lmNhtfvtYbMbL8e2JkYFJMPLa7J41JLIGVZKARXfgw-5d9Wnpu0KUQ8pxjEXV-7PpFZ9bxBOt-Q9REXa1JF3Yg6gRJkYIBFGZcuDcWo315WXriuZfsO3eQzn8-k_CWi2tMdNmQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "901", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "950afb8a-fa01-4c53-b312-b745e12fc881", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cadda2e0-b6cf-4dfc-9d0a-f59e680a048e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1\",\"deletedDate\":1619648376,\"scheduledPurgeDate\":1620253176,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1/ebd372a8f6334aa69dd8c4e545adf15c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uC-fE13fueHIeQwn7yyaYf8DXx12z8LWQ-mALFf2p8oh9WHNGe_QfC_LC2Eq2jEdpE05qKvDa-EPD9wGWE_1BpeDUkvNkE6G0SSMmJ5QTfZ4FDYv3VLivfLQ_7UGauDNg_4CFW4fslhHigMZysT_02Tq0B1x-6vkrgWiCSA3bzqlUxYdSxF4AT4GdRJ5Ii9t2kpQeNFGKvPCpkonoIFY2-3Balc3dBAfdi1ezmozf8HWhjBibGrOFmMWj8daZ8-i2AiJxjsV2nyv7huvzSWpbRTkg0NTfjflb8S8ljIybdJ-kHKwK6gX3vmlYl18cPpTS7XFHX6BqliYAPchws4_LQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "901", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "793c250f-9293-4546-a7f4-883dfb945303", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "25b0adc2-054c-482e-9f21-c69409d5f062", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2d87a0f4-141f-49f6-b7a5-1068675759b2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c82b9541-7599-4505-92a9-c840953c144a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e12afcb9-951b-45be-a593-ae053a7c8528", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a75ff7bf-ee6c-475c-b975-9f26428efa39", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0088117a-8a89-443e-95e6-400563367034", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a7aa1cd2-d5e5-4341-a9d8-57061688d551", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7677031e-5dd7-4d61-986a-dc2bf8754faf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "422b23c2-054f-434f-bad6-7a28bd589a7a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b0e3bd35-00fb-48cb-913d-1f61e32e21a9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6170f17c-db88-466d-b554-825aeb092bf2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1192f4ba-8446-4187-949a-a569902eec45", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "449e0c79-6b8f-4126-a714-3cea3646fb5b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2de15694-a58e-48af-b737-cdd374bda3ef", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6c9bc6f8-0248-4d9a-bd60-9be1329a191e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d54ebc81-e399-40ac-a772-8d21e8991a02", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "214fbb55-cca5-4c7c-b3db-2b71309c2f27", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "081bb940-4d83-4d05-b70a-dc6bcd2aa78b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "68a155f0-1ce4-475f-b6ad-ddaa105ddf63", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "104be60b-ca94-4b5a-845d-2857be75e503", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5e875409-b603-4f42-bb18-8702a8adfef6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "11b09c5c-fff2-4095-9366-ad3c9dbccc29", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0aea99e1-d573-4809-81ec-4a3211f7a185", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:19:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "830e88b5-c795-47bd-bb07-71a6929b27e7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a8a1fadc-394b-42f7-a592-043448f1a7ca", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dc50fbfa-200d-4546-a09e-46dca5d454a1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "81338abd-63ce-46dc-a618-036bc4ba520c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ff2faff9-3cc9-4423-9998-2f90deb106c1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fc238b81-07a4-412d-9430-fdda19578669", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: listKeyName-listdeletedkeyspaged--1\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "121", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "641047a0-0439-494e-840f-ed1e8ab13022", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7fdb4354-15aa-413b-b7e8-6e4a3f54cd74", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1\",\"deletedDate\":1619648376,\"scheduledPurgeDate\":1620253176,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1/ebd372a8f6334aa69dd8c4e545adf15c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"uC-fE13fueHIeQwn7yyaYf8DXx12z8LWQ-mALFf2p8oh9WHNGe_QfC_LC2Eq2jEdpE05qKvDa-EPD9wGWE_1BpeDUkvNkE6G0SSMmJ5QTfZ4FDYv3VLivfLQ_7UGauDNg_4CFW4fslhHigMZysT_02Tq0B1x-6vkrgWiCSA3bzqlUxYdSxF4AT4GdRJ5Ii9t2kpQeNFGKvPCpkonoIFY2-3Balc3dBAfdi1ezmozf8HWhjBibGrOFmMWj8daZ8-i2AiJxjsV2nyv7huvzSWpbRTkg0NTfjflb8S8ljIybdJ-kHKwK6gX3vmlYl18cPpTS7XFHX6BqliYAPchws4_LQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "901", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f74fd4fc-d356-44d4-b504-caee57ea5136", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "16aa882f-934b-4046-aba4-15fd980f4735", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":[{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0\",\"deletedDate\":1619648323,\"scheduledPurgeDate\":1620253123,\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--0\",\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}},{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1\",\"deletedDate\":1619648376,\"scheduledPurgeDate\":1620253176,\"kid\":\"https://keyvault_name.vault.azure.net/keys/listKeyName-listdeletedkeyspaged--1\",\"attributes\":{\"enabled\":true,\"created\":1619648323,\"updated\":1619648323,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}],\"nextLink\":null}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "865", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "742733b1-93b8-42e8-93be-22f0680d80d5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6f2b6672-c720-4f78-883b-1545f43422a2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--0", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:20:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "29a39730-a270-410c-89ab-8e90fb4c84e2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7f5c601b-00cb-47c4-bb07-d83212341b75", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/listKeyName-listdeletedkeyspaged--1", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:20:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b748f543-f9d1-4fc5-b077-62ff769fab79", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "abeeea2a-2dba-4b89-85a9-0c0f66c58431", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "d7f491de4b37a48d65186ef05406f37d" -} \ No newline at end of file + "hash": "d7f491de4b37a48d65186ef05406f37d" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__delete/recording_can_resume_from_a_stopped_poller.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__delete/recording_can_resume_from_a_stopped_poller.json index 169611f36d74..25c7d7f2dc5a 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__delete/recording_can_resume_from_a_stopped_poller.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__delete/recording_can_resume_from_a_stopped_poller.json @@ -1,545 +1,545 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "90ce34cd-e287-46d3-9f2c-a5d8b90a48ee", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a46dd0dc-6bb9-4a27-84c3-7c7c82933964", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "90ce34cd-e287-46d3-9f2c-a5d8b90a48ee", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a46dd0dc-6bb9-4a27-84c3-7c7c82933964", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:38 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "1682db6b-dbae-4b6b-b593-706e97514301" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/34a9d20e690f4d3cbaa2d23c911e6770\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRQvUbDaHFIhc9ZZ9NJDw_11_gd-8Oor_KL2pevMm8LExwY3zAm-BEiOhRKN3h_CBh2J6LfjoSPXgVtRmkB19h0fcTlZA5K2Bm6dwbu9QaQnNZARCgMomE_AFPEkdW6ZDGPnpkExbn0Sco_DpKCDydTgXipw1b7P310b1jJsiqjlwLQ6-6iNLrNByBn0VevuY9VpGwbjSpfP5DVeugH9Pg7yZQpgHTjDmHUfhNX0C_WDYkaKO10WOSlCxRdQiKvPOv59WrvGo0Zan-dZ8wR6C3jHDg_RGgON-ZXkpba7rxPX6MtaJNwxF0A0iiM3KL4MfYoy9IXIHA3tcEMDfv64lQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648438,\"updated\":1619648438,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "736", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "90ce34cd-e287-46d3-9f2c-a5d8b90a48ee", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a61f1481-c99b-43bb-a675-a5b6daff6219", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648439,\"scheduledPurgeDate\":1620253239,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/34a9d20e690f4d3cbaa2d23c911e6770\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRQvUbDaHFIhc9ZZ9NJDw_11_gd-8Oor_KL2pevMm8LExwY3zAm-BEiOhRKN3h_CBh2J6LfjoSPXgVtRmkB19h0fcTlZA5K2Bm6dwbu9QaQnNZARCgMomE_AFPEkdW6ZDGPnpkExbn0Sco_DpKCDydTgXipw1b7P310b1jJsiqjlwLQ6-6iNLrNByBn0VevuY9VpGwbjSpfP5DVeugH9Pg7yZQpgHTjDmHUfhNX0C_WDYkaKO10WOSlCxRdQiKvPOv59WrvGo0Zan-dZ8wR6C3jHDg_RGgON-ZXkpba7rxPX6MtaJNwxF0A0iiM3KL4MfYoy9IXIHA3tcEMDfv64lQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648438,\"updated\":1619648438,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "917", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "da531c9b-203c-4a95-aa18-fa748e3f439d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3f0b09f7-32f3-4d2b-b555-2439c6578bd3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0bca87fb-09d1-4aba-bfcd-f80acca9c6bd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "497c4993-80f4-4458-a484-b240803fb2a4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1a4c22c1-a6c4-40e1-b8b4-5818260c1116", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "950e7b15-407e-4527-9c4b-5e01dacddacc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "97e106f0-0f5b-4df8-86a9-060b30286e4f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f590c1f6-0575-42d9-a91a-5111d83be62b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fd8f0977-7462-40e0-9315-8adba89300d7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8c03be79-c55d-49ce-9acf-00ee2ffb3a57", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "11ffb9c8-5653-4afb-a4b3-57524a4cb0f7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "956a2ff2-a087-4b85-9dd8-01edba660d1a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "caf0465b-f4db-4bfa-90df-cd6fe8a291a3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "49de10d5-217f-481b-895b-60c8e820dfeb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3626af40-1fc5-4e91-b62f-6a10fd2db982", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d7ff819f-c2ec-486d-9193-2a8ea22c490f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3139e070-76fd-4121-9586-3ee76c43e458", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4810428c-5dd2-4fb3-9491-050a378f0638", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2c316155-d8f4-4668-9a68-c14c2b2356be", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "eab72661-b6c5-4e91-ab72-377007c5f07e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5fe8f583-67ac-44f0-bfd2-f0e44bd92ba2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ddc9bc6e-6a55-4e7f-924c-8df9653f22e3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e3df38f9-0ffa-4bd7-a333-0bcc3a6a271a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c559cb66-0739-4c49-b438-b87e411dd565", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "feb4c56f-3d80-4dbc-977a-0588b3d1eb0f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bb0f89c0-2ef1-444e-b076-bee0005390bb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "944c28be-4867-4351-a42f-55ac2a6ba8ca", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "db1cba88-22ef-4886-9b2f-804128cb31b7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "129", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6a2cba2c-6c2b-425c-a4ce-3e8d1ab31a2c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7351c046-fd9e-4b13-93fc-be9c7c8c972a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648439,\"scheduledPurgeDate\":1620253239,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/34a9d20e690f4d3cbaa2d23c911e6770\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRQvUbDaHFIhc9ZZ9NJDw_11_gd-8Oor_KL2pevMm8LExwY3zAm-BEiOhRKN3h_CBh2J6LfjoSPXgVtRmkB19h0fcTlZA5K2Bm6dwbu9QaQnNZARCgMomE_AFPEkdW6ZDGPnpkExbn0Sco_DpKCDydTgXipw1b7P310b1jJsiqjlwLQ6-6iNLrNByBn0VevuY9VpGwbjSpfP5DVeugH9Pg7yZQpgHTjDmHUfhNX0C_WDYkaKO10WOSlCxRdQiKvPOv59WrvGo0Zan-dZ8wR6C3jHDg_RGgON-ZXkpba7rxPX6MtaJNwxF0A0iiM3KL4MfYoy9IXIHA3tcEMDfv64lQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648438,\"updated\":1619648438,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "917", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "145b1f3c-b024-40d9-bd98-f359953359bf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e25e5a35-ce60-486f-bf18-b2aa1597b773", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:21:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1bbfda0d-be15-4389-b94c-5526989e3faf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "318ec06c-ca37-4038-b867-7e13701bbc98", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:38 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "1682db6b-dbae-4b6b-b593-706e97514301" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/34a9d20e690f4d3cbaa2d23c911e6770\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRQvUbDaHFIhc9ZZ9NJDw_11_gd-8Oor_KL2pevMm8LExwY3zAm-BEiOhRKN3h_CBh2J6LfjoSPXgVtRmkB19h0fcTlZA5K2Bm6dwbu9QaQnNZARCgMomE_AFPEkdW6ZDGPnpkExbn0Sco_DpKCDydTgXipw1b7P310b1jJsiqjlwLQ6-6iNLrNByBn0VevuY9VpGwbjSpfP5DVeugH9Pg7yZQpgHTjDmHUfhNX0C_WDYkaKO10WOSlCxRdQiKvPOv59WrvGo0Zan-dZ8wR6C3jHDg_RGgON-ZXkpba7rxPX6MtaJNwxF0A0iiM3KL4MfYoy9IXIHA3tcEMDfv64lQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648438,\"updated\":1619648438,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "736", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "90ce34cd-e287-46d3-9f2c-a5d8b90a48ee", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a61f1481-c99b-43bb-a675-a5b6daff6219", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648439,\"scheduledPurgeDate\":1620253239,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/34a9d20e690f4d3cbaa2d23c911e6770\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRQvUbDaHFIhc9ZZ9NJDw_11_gd-8Oor_KL2pevMm8LExwY3zAm-BEiOhRKN3h_CBh2J6LfjoSPXgVtRmkB19h0fcTlZA5K2Bm6dwbu9QaQnNZARCgMomE_AFPEkdW6ZDGPnpkExbn0Sco_DpKCDydTgXipw1b7P310b1jJsiqjlwLQ6-6iNLrNByBn0VevuY9VpGwbjSpfP5DVeugH9Pg7yZQpgHTjDmHUfhNX0C_WDYkaKO10WOSlCxRdQiKvPOv59WrvGo0Zan-dZ8wR6C3jHDg_RGgON-ZXkpba7rxPX6MtaJNwxF0A0iiM3KL4MfYoy9IXIHA3tcEMDfv64lQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648438,\"updated\":1619648438,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "917", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "da531c9b-203c-4a95-aa18-fa748e3f439d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3f0b09f7-32f3-4d2b-b555-2439c6578bd3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0bca87fb-09d1-4aba-bfcd-f80acca9c6bd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "497c4993-80f4-4458-a484-b240803fb2a4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1a4c22c1-a6c4-40e1-b8b4-5818260c1116", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "950e7b15-407e-4527-9c4b-5e01dacddacc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "97e106f0-0f5b-4df8-86a9-060b30286e4f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f590c1f6-0575-42d9-a91a-5111d83be62b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fd8f0977-7462-40e0-9315-8adba89300d7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8c03be79-c55d-49ce-9acf-00ee2ffb3a57", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "11ffb9c8-5653-4afb-a4b3-57524a4cb0f7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "956a2ff2-a087-4b85-9dd8-01edba660d1a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "caf0465b-f4db-4bfa-90df-cd6fe8a291a3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "49de10d5-217f-481b-895b-60c8e820dfeb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3626af40-1fc5-4e91-b62f-6a10fd2db982", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d7ff819f-c2ec-486d-9193-2a8ea22c490f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3139e070-76fd-4121-9586-3ee76c43e458", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4810428c-5dd2-4fb3-9491-050a378f0638", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2c316155-d8f4-4668-9a68-c14c2b2356be", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "eab72661-b6c5-4e91-ab72-377007c5f07e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5fe8f583-67ac-44f0-bfd2-f0e44bd92ba2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ddc9bc6e-6a55-4e7f-924c-8df9653f22e3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e3df38f9-0ffa-4bd7-a333-0bcc3a6a271a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c559cb66-0739-4c49-b438-b87e411dd565", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "feb4c56f-3d80-4dbc-977a-0588b3d1eb0f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bb0f89c0-2ef1-444e-b076-bee0005390bb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "944c28be-4867-4351-a42f-55ac2a6ba8ca", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "db1cba88-22ef-4886-9b2f-804128cb31b7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "129", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6a2cba2c-6c2b-425c-a4ce-3e8d1ab31a2c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7351c046-fd9e-4b13-93fc-be9c7c8c972a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648439,\"scheduledPurgeDate\":1620253239,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canresumefromastoppedpoller-/34a9d20e690f4d3cbaa2d23c911e6770\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tRQvUbDaHFIhc9ZZ9NJDw_11_gd-8Oor_KL2pevMm8LExwY3zAm-BEiOhRKN3h_CBh2J6LfjoSPXgVtRmkB19h0fcTlZA5K2Bm6dwbu9QaQnNZARCgMomE_AFPEkdW6ZDGPnpkExbn0Sco_DpKCDydTgXipw1b7P310b1jJsiqjlwLQ6-6iNLrNByBn0VevuY9VpGwbjSpfP5DVeugH9Pg7yZQpgHTjDmHUfhNX0C_WDYkaKO10WOSlCxRdQiKvPOv59WrvGo0Zan-dZ8wR6C3jHDg_RGgON-ZXkpba7rxPX6MtaJNwxF0A0iiM3KL4MfYoy9IXIHA3tcEMDfv64lQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648438,\"updated\":1619648438,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "917", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "145b1f3c-b024-40d9-bd98-f359953359bf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e25e5a35-ce60-486f-bf18-b2aa1597b773", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:21:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1bbfda0d-be15-4389-b94c-5526989e3faf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "318ec06c-ca37-4038-b867-7e13701bbc98", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "e7e130880656822249e59b8f3479f6d0" -} \ No newline at end of file + "hash": "e7e130880656822249e59b8f3479f6d0" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__delete/recording_can_wait_until_a_key_is_deleted.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__delete/recording_can_wait_until_a_key_is_deleted.json index 81ba0cada24d..038ef6317179 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__delete/recording_can_wait_until_a_key_is_deleted.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__delete/recording_can_wait_until_a_key_is_deleted.json @@ -1,572 +1,572 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c24c34ae-4842-41a1-aa5d-ea131844326c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6475ced7-c257-4a24-945c-3c6bf4224453", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c24c34ae-4842-41a1-aa5d-ea131844326c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6475ced7-c257-4a24-945c-3c6bf4224453", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:07 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "7b1fd219-7c2b-47b2-84ef-b97abf225000" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/76dcc59d65174883889738480abc5034\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6uj475qpEO8Kc8SsF8Q9tLuRxb4afrnV3mvztAS6_aTiQFyHkiq69oNi3exz0xDY8twUvCM58_jWdEc9WfKFDMMkkKfZjvymoDR8ZgmWaBsEQzZotJY4dEkuqNLWMqAUdGYiNmsxY5mIK3OpVZL5sKYSKLSsZC0GNc1wdNTK5oIJGPgx-lRudMmLdY8hv5Pqhlboi7JHqXpeACl0xUYUKVEzSXnswfW8uP1Ne0eQ86-CNL7OkOx0gLeBMKP0mkwfZEt-sZWP8vV2pDp_JkRDvIHdzhYCzzK0Lhh8sAmIrepQYaHPAIfd3KEA7w9z-LHduVvBcuIE6eJDMXydlUeKcQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648407,\"updated\":1619648407,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "734", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c24c34ae-4842-41a1-aa5d-ea131844326c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ce9c4655-ae1a-4180-a62f-53c4e910e2f5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-\",\"deletedDate\":1619648407,\"scheduledPurgeDate\":1620253207,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/76dcc59d65174883889738480abc5034\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6uj475qpEO8Kc8SsF8Q9tLuRxb4afrnV3mvztAS6_aTiQFyHkiq69oNi3exz0xDY8twUvCM58_jWdEc9WfKFDMMkkKfZjvymoDR8ZgmWaBsEQzZotJY4dEkuqNLWMqAUdGYiNmsxY5mIK3OpVZL5sKYSKLSsZC0GNc1wdNTK5oIJGPgx-lRudMmLdY8hv5Pqhlboi7JHqXpeACl0xUYUKVEzSXnswfW8uP1Ne0eQ86-CNL7OkOx0gLeBMKP0mkwfZEt-sZWP8vV2pDp_JkRDvIHdzhYCzzK0Lhh8sAmIrepQYaHPAIfd3KEA7w9z-LHduVvBcuIE6eJDMXydlUeKcQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648407,\"updated\":1619648407,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "913", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "49e7aae2-ac79-4050-bd2f-7c0ba08fb32c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7b3deba2-f50a-4455-b100-30dbbbdc5ced", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "088cc332-4a2d-4ec1-8a48-e65f1cd12e18", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "152ed1d8-069e-4049-b23c-4b3c9097258e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d5cbcea8-e897-4d9f-bbf7-285b8b7e790b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8947b606-eb56-496c-8112-318778dd9c14", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "49f78b64-c93e-4967-a980-f6ecba5e05e8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "85ada8a7-c53f-4e6c-91ea-bdc5e44e6cc6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0aca7b38-62c9-475f-9e91-d7c384fbf24c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "038019cb-540f-4f30-8f93-2ce90fa4b7c9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "51b5e366-03e6-4478-9774-8ab1e8df0d01", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e2c97f50-98c1-47f8-9981-7810524c77fd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:15 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5aec8c2f-5b08-4929-bcb3-4eca7b21f5cd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b754e6b4-84a0-4df7-920c-64babd4f01d2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "66a4304e-78d1-4e47-a892-0fa0c6897b3c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f529acd5-0bc2-4172-97c4-cd41569e3251", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "10acaa46-7097-41dc-b67a-0326bc3afdf7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "32fc1085-4dc2-45e4-bb53-abc1c3dd77be", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9c79f447-681a-4d89-a2d3-a25bcefa21e4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "daff316c-f341-47ea-aae5-76ced0204b44", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9937aec2-c2ed-4bb6-9474-9c1963e16e22", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a1204ef9-f8a8-4e58-99fe-fcbe6474b34a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cc681615-905a-43ef-9339-a5331a87b857", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "887741e6-682d-42b0-9aa2-4a7b216d3f97", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5b865ec5-6a14-4bf9-9a34-e3351b20a812", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5de6adcc-3799-40a2-88bd-dfdc09615506", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "94b44ca5-dda1-4c7a-a568-b6317697392c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "47625920-39a5-4ab6-9ff7-ed7d85a85aa5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9167bade-5e4e-4c44-bccd-a29c32f4023c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d8119ddf-0ffc-49cf-8583-b417fb55f520", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "127", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f3d54808-87a2-465c-8fb4-9139e7885152", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f905474f-6629-4d3b-a0fc-e7b5cdd2d2eb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-\",\"deletedDate\":1619648407,\"scheduledPurgeDate\":1620253207,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/76dcc59d65174883889738480abc5034\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6uj475qpEO8Kc8SsF8Q9tLuRxb4afrnV3mvztAS6_aTiQFyHkiq69oNi3exz0xDY8twUvCM58_jWdEc9WfKFDMMkkKfZjvymoDR8ZgmWaBsEQzZotJY4dEkuqNLWMqAUdGYiNmsxY5mIK3OpVZL5sKYSKLSsZC0GNc1wdNTK5oIJGPgx-lRudMmLdY8hv5Pqhlboi7JHqXpeACl0xUYUKVEzSXnswfW8uP1Ne0eQ86-CNL7OkOx0gLeBMKP0mkwfZEt-sZWP8vV2pDp_JkRDvIHdzhYCzzK0Lhh8sAmIrepQYaHPAIfd3KEA7w9z-LHduVvBcuIE6eJDMXydlUeKcQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648407,\"updated\":1619648407,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "913", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:20:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8c7d1ed9-607d-48d8-b6d3-5116e0493962", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "63a82811-52cb-47e5-846d-96a722f3afb4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:20:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "db7bd395-07ca-4687-9b49-ffaa20f5f8ce", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d994a715-1cf0-444e-90a5-8f6d074fe669", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:07 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "7b1fd219-7c2b-47b2-84ef-b97abf225000" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/76dcc59d65174883889738480abc5034\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6uj475qpEO8Kc8SsF8Q9tLuRxb4afrnV3mvztAS6_aTiQFyHkiq69oNi3exz0xDY8twUvCM58_jWdEc9WfKFDMMkkKfZjvymoDR8ZgmWaBsEQzZotJY4dEkuqNLWMqAUdGYiNmsxY5mIK3OpVZL5sKYSKLSsZC0GNc1wdNTK5oIJGPgx-lRudMmLdY8hv5Pqhlboi7JHqXpeACl0xUYUKVEzSXnswfW8uP1Ne0eQ86-CNL7OkOx0gLeBMKP0mkwfZEt-sZWP8vV2pDp_JkRDvIHdzhYCzzK0Lhh8sAmIrepQYaHPAIfd3KEA7w9z-LHduVvBcuIE6eJDMXydlUeKcQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648407,\"updated\":1619648407,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "734", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c24c34ae-4842-41a1-aa5d-ea131844326c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ce9c4655-ae1a-4180-a62f-53c4e910e2f5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-\",\"deletedDate\":1619648407,\"scheduledPurgeDate\":1620253207,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/76dcc59d65174883889738480abc5034\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6uj475qpEO8Kc8SsF8Q9tLuRxb4afrnV3mvztAS6_aTiQFyHkiq69oNi3exz0xDY8twUvCM58_jWdEc9WfKFDMMkkKfZjvymoDR8ZgmWaBsEQzZotJY4dEkuqNLWMqAUdGYiNmsxY5mIK3OpVZL5sKYSKLSsZC0GNc1wdNTK5oIJGPgx-lRudMmLdY8hv5Pqhlboi7JHqXpeACl0xUYUKVEzSXnswfW8uP1Ne0eQ86-CNL7OkOx0gLeBMKP0mkwfZEt-sZWP8vV2pDp_JkRDvIHdzhYCzzK0Lhh8sAmIrepQYaHPAIfd3KEA7w9z-LHduVvBcuIE6eJDMXydlUeKcQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648407,\"updated\":1619648407,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "913", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "49e7aae2-ac79-4050-bd2f-7c0ba08fb32c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7b3deba2-f50a-4455-b100-30dbbbdc5ced", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "088cc332-4a2d-4ec1-8a48-e65f1cd12e18", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "152ed1d8-069e-4049-b23c-4b3c9097258e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d5cbcea8-e897-4d9f-bbf7-285b8b7e790b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8947b606-eb56-496c-8112-318778dd9c14", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "49f78b64-c93e-4967-a980-f6ecba5e05e8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "85ada8a7-c53f-4e6c-91ea-bdc5e44e6cc6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0aca7b38-62c9-475f-9e91-d7c384fbf24c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "038019cb-540f-4f30-8f93-2ce90fa4b7c9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "51b5e366-03e6-4478-9774-8ab1e8df0d01", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e2c97f50-98c1-47f8-9981-7810524c77fd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5aec8c2f-5b08-4929-bcb3-4eca7b21f5cd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b754e6b4-84a0-4df7-920c-64babd4f01d2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "66a4304e-78d1-4e47-a892-0fa0c6897b3c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f529acd5-0bc2-4172-97c4-cd41569e3251", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "10acaa46-7097-41dc-b67a-0326bc3afdf7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "32fc1085-4dc2-45e4-bb53-abc1c3dd77be", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9c79f447-681a-4d89-a2d3-a25bcefa21e4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "daff316c-f341-47ea-aae5-76ced0204b44", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9937aec2-c2ed-4bb6-9474-9c1963e16e22", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a1204ef9-f8a8-4e58-99fe-fcbe6474b34a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cc681615-905a-43ef-9339-a5331a87b857", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "887741e6-682d-42b0-9aa2-4a7b216d3f97", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5b865ec5-6a14-4bf9-9a34-e3351b20a812", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5de6adcc-3799-40a2-88bd-dfdc09615506", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "94b44ca5-dda1-4c7a-a568-b6317697392c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "47625920-39a5-4ab6-9ff7-ed7d85a85aa5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9167bade-5e4e-4c44-bccd-a29c32f4023c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d8119ddf-0ffc-49cf-8583-b417fb55f520", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroDeleteKeyName-canwaituntilakeyisdeleted-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "127", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f3d54808-87a2-465c-8fb4-9139e7885152", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f905474f-6629-4d3b-a0fc-e7b5cdd2d2eb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-\",\"deletedDate\":1619648407,\"scheduledPurgeDate\":1620253207,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroDeleteKeyName-canwaituntilakeyisdeleted-/76dcc59d65174883889738480abc5034\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"6uj475qpEO8Kc8SsF8Q9tLuRxb4afrnV3mvztAS6_aTiQFyHkiq69oNi3exz0xDY8twUvCM58_jWdEc9WfKFDMMkkKfZjvymoDR8ZgmWaBsEQzZotJY4dEkuqNLWMqAUdGYiNmsxY5mIK3OpVZL5sKYSKLSsZC0GNc1wdNTK5oIJGPgx-lRudMmLdY8hv5Pqhlboi7JHqXpeACl0xUYUKVEzSXnswfW8uP1Ne0eQ86-CNL7OkOx0gLeBMKP0mkwfZEt-sZWP8vV2pDp_JkRDvIHdzhYCzzK0Lhh8sAmIrepQYaHPAIfd3KEA7w9z-LHduVvBcuIE6eJDMXydlUeKcQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648407,\"updated\":1619648407,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "913", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:20:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8c7d1ed9-607d-48d8-b6d3-5116e0493962", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "63a82811-52cb-47e5-846d-96a722f3afb4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroDeleteKeyName-canwaituntilakeyisdeleted-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:20:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "db7bd395-07ca-4687-9b49-ffaa20f5f8ce", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d994a715-1cf0-444e-90a5-8f6d074fe669", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "9ea58edead1293a81140c150062008c7" -} \ No newline at end of file + "hash": "9ea58edead1293a81140c150062008c7" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__recoverdelete/recording_can_resume_from_a_stopped_poller.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__recoverdelete/recording_can_resume_from_a_stopped_poller.json index dd93e90baf17..a223c886e615 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__recoverdelete/recording_can_resume_from_a_stopped_poller.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__recoverdelete/recording_can_resume_from_a_stopped_poller.json @@ -1,1436 +1,1436 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3cbb0be7-63e7-4fea-80da-3d4807f933a5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "360e33aa-2c11-4312-9873-dc6e5f4870a3", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3cbb0be7-63e7-4fea-80da-3d4807f933a5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "360e33aa-2c11-4312-9873-dc6e5f4870a3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:28 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "ee1c71aa-506c-461b-bfc8-fcac278f7800" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "742", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3cbb0be7-63e7-4fea-80da-3d4807f933a5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5ba12ee4-5595-4283-8358-e4b0912975e8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648548,\"scheduledPurgeDate\":1620253348,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "929", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "544c26ec-4537-4cad-96aa-a64167f22cfe", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9e8dcf19-d4bc-4ea6-ab50-b2d76f08bfd2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3c14ecb3-456c-4326-866a-4fd7895816a4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1aaa0524-4b2b-4bee-aff5-2624035da126", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "330d9f45-99f2-4bae-9fbc-8f35df431307", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "af23da19-7c5a-4349-99db-75d56c344c19", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "15f93b7b-59ab-4da5-80d1-d7418b2b4b8e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c3285c31-f705-4d6f-a886-24165550f49b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "aee1bd75-abd5-4979-af3a-622237816916", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1c0f34d9-a3fe-4fd4-bfd7-ba56c2f416bd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e97cfcb0-fc5b-4aff-b821-4dccaaf6e301", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d8d26d0a-2f60-4809-beac-557479ef502c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "198042aa-93d2-4d9f-b8df-8c3047cf7433", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "337d14a4-c050-401f-906e-d2977d28f7dd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "68f01428-ba22-43da-8ff2-bf32f320a1f2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2fa8c1ec-5e55-46d5-a4e2-1209ecf344b8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b5e053eb-1651-41a7-9a4b-456ce4e5223e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "90b81ba2-95c5-419e-9187-4df58ae2ff20", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "47e8a20b-1148-45d1-8601-07f5ad733d7b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4ad9de1e-cd41-4975-910a-8fa8fdd06d75", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "53032c06-1268-4022-abbe-2e76e3d6666c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3764bcfa-f7a1-4ddb-8c02-236e05106270", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "dd8083d8-90bb-4c04-813f-dc703355016a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "067b50c9-a7bc-4a15-9891-5ff928fdb65e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e4a7d977-6b5b-4ab3-bd25-ea60ff50f6d9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "de90e275-cec5-403e-8ad7-4c9eb2449f88", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f76ba49f-ae76-46a3-bcea-e5d74d8e6f0c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ead9d607-7bc4-4cbb-a437-db6e2441acf0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "88f9a3d9-c04a-4b74-ab1d-c40777cde130", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c017bfc2-65dd-48e9-8666-806da3f7d046", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ed287781-7e48-4f3b-a7ae-f5d0990b6263", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bb70b7e1-ab47-4704-aa5d-944ecbefeada", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2b913360-5a67-4fc7-a34f-ada341c4c689", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a9eaf4f6-0b3e-4d23-8aae-59d2cf72644e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0ed0b7d0-c1c7-4d0d-8dfa-30bbbec48641", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "77993d4e-0f6f-4cc2-bb29-b1b5f1ade3b5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648548,\"scheduledPurgeDate\":1620253348,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "929", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d97a54c5-7167-49f7-9173-ff8dd2446663", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ffcccc10-38a1-48ae-98eb-55c2910a9d8a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cf13f475-de5e-40f9-a6bb-f0bb0e81c4e7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0cf5ac61-0b8c-4a91-93e9-b287e253a695", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/recover", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "742", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5817ad44-0c80-4350-9f80-0f69c3c5cfb5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a8e67373-fdb1-43ac-a785-c8345beb4dde", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cf303d43-52ef-4b46-a5bd-8ef7ba1f3522", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c60adef8-d9ea-43ac-a4b9-46fbb4677f9f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "213a3af7-0e84-4d84-8f5d-6b331fe32957", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e8cec66d-724b-4050-bb80-0650a0ae0011", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cc36e5f3-0b53-492d-8ed1-d83a20133179", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6efd1f8a-6305-491e-b7b7-8f6a2241d92e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "52ebb363-60c0-4bb2-8fd2-46c33fe185a1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b69058ce-8f81-4880-b4ec-40bd47824820", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bb48b53e-dc7e-40de-bb74-c1a25bdf23e4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "163210ce-fbdd-4cac-be5b-2e8378b560c4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "23808e1c-5bd7-4ea1-8e7f-602acded25da", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "52dcb26c-2d87-4d9c-a35a-cf8f703094cc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9b15e5cc-40a1-4be1-9a06-ca5e0120407e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6675bdf1-fa4f-4da8-9d1e-ab467a140f1d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7a34487b-d30f-40c3-b8a4-bea10600463e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "51526475-0d73-4472-bc3e-4f1240f936f1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bbf138fa-09fd-4408-9731-2a85fb87541b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "058a2bcc-b3cb-493a-8392-c8d2289db9f6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:15 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8029413f-6537-4b93-a834-6aa81883cfa8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dcfc612f-d763-4cac-97fe-37a94598805a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ff883707-d27b-4388-8549-bb8c82f32014", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4b447464-230c-490e-ab4e-baa421c7b3d6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "068e3982-f1e6-49e0-b968-e787d19a672a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a8601242-8b1a-4694-a673-095ca813e4fd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9aa41da6-35f7-4a9b-9abe-586cf3594138", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "51c11cb3-c243-49aa-8926-71fb9b293a96", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "355", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0d3c84fa-6e58-4d0d-804d-50a62dc984d1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "856a1730-cad4-4812-8904-bd63dad50174", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "742", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f0dccc54-63aa-4bed-9f38-cdc2829dd62c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "19dd8649-4751-4f3c-96e4-96c7073f2a5a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648606,\"scheduledPurgeDate\":1620253406,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "929", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "78d2167d-f269-4595-a088-94b1545f2a0e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f3a651d1-4690-42cc-80d4-1a014ecd7c05", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4ccb338c-2219-438b-b57c-05c2a2d3cf7a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "45c73555-5b48-436a-8e6b-8fb520879500", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "dbb09060-d7ac-46b5-9c67-d3df3469c5e6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "47b55f01-ee4e-4de4-ae0c-187001a3c9d6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f5a13361-5f0f-4229-a385-8333eb0e7087", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ec46f846-f4f7-4459-b97f-2f7cc4f4440f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "18c7af05-be15-47d2-a239-c965c40cce7a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "10c40f43-0edd-4681-9224-cd07c287e7f6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "33fc3a02-1157-46f7-9996-1f7c3c8c2256", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "16587810-f944-4099-9303-5057273f7bcc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0f3c46e5-f2db-49a7-b17a-1e458e790bcd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5cc8d93a-ab04-4fc3-a77f-ae1b71ffc52c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:37 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b5a5aa7a-eece-4eed-b061-d0578122d47f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "697b2aee-071e-4bdf-97b6-ac11da2680bb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:39 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6909c166-36aa-45f6-9d72-975cfe07beed", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "00345ebd-53c4-455f-9328-cbe096dced88", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:41 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9e25b716-e6c1-4d91-80ff-e62b556aebbb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3c054dc7-a032-465b-ab26-785f170d4c0b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9263b829-62e1-41a7-9d1b-d0523e6538af", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "92112398-21ea-4c05-a707-f06eaad4a24c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "135", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "684ef3c5-1e14-4e69-9fb8-44d4b105c411", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "934a3b99-e24f-4dd6-92c4-6caddadd3cb8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648606,\"scheduledPurgeDate\":1620253406,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "929", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "91016308-79fd-4ea9-be4c-5714aba3bab5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ae7ecaf4-05a9-458d-abac-acc5b1859f8c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:23:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a7bccd82-e460-40ee-b550-2f8d09de0722", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d460f094-1b75-4046-b8a7-45699057cf25", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:28 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "ee1c71aa-506c-461b-bfc8-fcac278f7800" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "742", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3cbb0be7-63e7-4fea-80da-3d4807f933a5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5ba12ee4-5595-4283-8358-e4b0912975e8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648548,\"scheduledPurgeDate\":1620253348,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "929", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "544c26ec-4537-4cad-96aa-a64167f22cfe", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9e8dcf19-d4bc-4ea6-ab50-b2d76f08bfd2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3c14ecb3-456c-4326-866a-4fd7895816a4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1aaa0524-4b2b-4bee-aff5-2624035da126", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "330d9f45-99f2-4bae-9fbc-8f35df431307", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "af23da19-7c5a-4349-99db-75d56c344c19", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "15f93b7b-59ab-4da5-80d1-d7418b2b4b8e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c3285c31-f705-4d6f-a886-24165550f49b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "aee1bd75-abd5-4979-af3a-622237816916", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1c0f34d9-a3fe-4fd4-bfd7-ba56c2f416bd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e97cfcb0-fc5b-4aff-b821-4dccaaf6e301", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d8d26d0a-2f60-4809-beac-557479ef502c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "198042aa-93d2-4d9f-b8df-8c3047cf7433", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "337d14a4-c050-401f-906e-d2977d28f7dd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "68f01428-ba22-43da-8ff2-bf32f320a1f2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2fa8c1ec-5e55-46d5-a4e2-1209ecf344b8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b5e053eb-1651-41a7-9a4b-456ce4e5223e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "90b81ba2-95c5-419e-9187-4df58ae2ff20", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "47e8a20b-1148-45d1-8601-07f5ad733d7b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4ad9de1e-cd41-4975-910a-8fa8fdd06d75", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "53032c06-1268-4022-abbe-2e76e3d6666c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3764bcfa-f7a1-4ddb-8c02-236e05106270", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dd8083d8-90bb-4c04-813f-dc703355016a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "067b50c9-a7bc-4a15-9891-5ff928fdb65e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e4a7d977-6b5b-4ab3-bd25-ea60ff50f6d9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "de90e275-cec5-403e-8ad7-4c9eb2449f88", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f76ba49f-ae76-46a3-bcea-e5d74d8e6f0c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ead9d607-7bc4-4cbb-a437-db6e2441acf0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "88f9a3d9-c04a-4b74-ab1d-c40777cde130", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c017bfc2-65dd-48e9-8666-806da3f7d046", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ed287781-7e48-4f3b-a7ae-f5d0990b6263", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bb70b7e1-ab47-4704-aa5d-944ecbefeada", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2b913360-5a67-4fc7-a34f-ada341c4c689", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a9eaf4f6-0b3e-4d23-8aae-59d2cf72644e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0ed0b7d0-c1c7-4d0d-8dfa-30bbbec48641", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "77993d4e-0f6f-4cc2-bb29-b1b5f1ade3b5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648548,\"scheduledPurgeDate\":1620253348,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "929", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d97a54c5-7167-49f7-9173-ff8dd2446663", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ffcccc10-38a1-48ae-98eb-55c2910a9d8a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cf13f475-de5e-40f9-a6bb-f0bb0e81c4e7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0cf5ac61-0b8c-4a91-93e9-b287e253a695", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/recover", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "742", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5817ad44-0c80-4350-9f80-0f69c3c5cfb5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a8e67373-fdb1-43ac-a785-c8345beb4dde", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cf303d43-52ef-4b46-a5bd-8ef7ba1f3522", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c60adef8-d9ea-43ac-a4b9-46fbb4677f9f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "213a3af7-0e84-4d84-8f5d-6b331fe32957", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e8cec66d-724b-4050-bb80-0650a0ae0011", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cc36e5f3-0b53-492d-8ed1-d83a20133179", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6efd1f8a-6305-491e-b7b7-8f6a2241d92e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "52ebb363-60c0-4bb2-8fd2-46c33fe185a1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b69058ce-8f81-4880-b4ec-40bd47824820", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bb48b53e-dc7e-40de-bb74-c1a25bdf23e4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "163210ce-fbdd-4cac-be5b-2e8378b560c4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "23808e1c-5bd7-4ea1-8e7f-602acded25da", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "52dcb26c-2d87-4d9c-a35a-cf8f703094cc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9b15e5cc-40a1-4be1-9a06-ca5e0120407e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6675bdf1-fa4f-4da8-9d1e-ab467a140f1d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7a34487b-d30f-40c3-b8a4-bea10600463e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "51526475-0d73-4472-bc3e-4f1240f936f1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bbf138fa-09fd-4408-9731-2a85fb87541b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "058a2bcc-b3cb-493a-8392-c8d2289db9f6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8029413f-6537-4b93-a834-6aa81883cfa8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dcfc612f-d763-4cac-97fe-37a94598805a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ff883707-d27b-4388-8549-bb8c82f32014", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4b447464-230c-490e-ab4e-baa421c7b3d6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "068e3982-f1e6-49e0-b968-e787d19a672a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a8601242-8b1a-4694-a673-095ca813e4fd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9aa41da6-35f7-4a9b-9abe-586cf3594138", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "51c11cb3-c243-49aa-8926-71fb9b293a96", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canresumefromastoppedpoller- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "355", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0d3c84fa-6e58-4d0d-804d-50a62dc984d1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "856a1730-cad4-4812-8904-bd63dad50174", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "742", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f0dccc54-63aa-4bed-9f38-cdc2829dd62c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "19dd8649-4751-4f3c-96e4-96c7073f2a5a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648606,\"scheduledPurgeDate\":1620253406,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "929", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "78d2167d-f269-4595-a088-94b1545f2a0e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f3a651d1-4690-42cc-80d4-1a014ecd7c05", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4ccb338c-2219-438b-b57c-05c2a2d3cf7a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "45c73555-5b48-436a-8e6b-8fb520879500", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "dbb09060-d7ac-46b5-9c67-d3df3469c5e6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "47b55f01-ee4e-4de4-ae0c-187001a3c9d6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f5a13361-5f0f-4229-a385-8333eb0e7087", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ec46f846-f4f7-4459-b97f-2f7cc4f4440f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "18c7af05-be15-47d2-a239-c965c40cce7a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "10c40f43-0edd-4681-9224-cd07c287e7f6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "33fc3a02-1157-46f7-9996-1f7c3c8c2256", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "16587810-f944-4099-9303-5057273f7bcc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0f3c46e5-f2db-49a7-b17a-1e458e790bcd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5cc8d93a-ab04-4fc3-a77f-ae1b71ffc52c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:37 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b5a5aa7a-eece-4eed-b061-d0578122d47f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "697b2aee-071e-4bdf-97b6-ac11da2680bb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:39 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6909c166-36aa-45f6-9d72-975cfe07beed", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "00345ebd-53c4-455f-9328-cbe096dced88", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:41 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9e25b716-e6c1-4d91-80ff-e62b556aebbb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3c054dc7-a032-465b-ab26-785f170d4c0b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9263b829-62e1-41a7-9d1b-d0523e6538af", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "92112398-21ea-4c05-a707-f06eaad4a24c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canresumefromastoppedpoller-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "135", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "684ef3c5-1e14-4e69-9fb8-44d4b105c411", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "934a3b99-e24f-4dd6-92c4-6caddadd3cb8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-\",\"deletedDate\":1619648606,\"scheduledPurgeDate\":1620253406,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-/d5661a85382d4f5f8ca5aa56e5277494\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"wIfL41vIUxRdUf181kQNMz9j5qTJ3orqSb8mxmQNeyRv2IsebcHUYcNFkycyOUt6QFuRj6pKhh--TRZJxwdqClGnoVB-q5_VMwHxBh6zXIdpPlFsyTSPsCo6JNbepvR6TCbAIl6Zhz-ltnbN2rtDMHpUChAfJIKqaJNTV7OCtfBk6UL8CzrRWFlmJHLBzvmQU0cchPdsdbtu7XFjRSWvqeyng_1_OmvMZUvM0n-iKkYkgLnC0oVt1umgiEl0M-Q5OwFZWlSUYhO-F9_FWRKr2W8puXvJUsluWSQY_zkUbzyvYx8-0q1zhk5jkvHiyYXb1DABNo36dnk7nUdMZJ3duQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648548,\"updated\":1619648548,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "929", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "91016308-79fd-4ea9-be4c-5714aba3bab5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ae7ecaf4-05a9-458d-abac-acc5b1859f8c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canresumefromastoppedpoller-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:23:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a7bccd82-e460-40ee-b550-2f8d09de0722", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d460f094-1b75-4046-b8a7-45699057cf25", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "4e008785b313f28e018d318617c4a977" -} \ No newline at end of file + "hash": "4e008785b313f28e018d318617c4a977" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__recoverdelete/recording_can_wait_until_a_key_is_recovered.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__recoverdelete/recording_can_wait_until_a_key_is_recovered.json index f11fa68a23e1..b2b1528b6df3 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__recoverdelete/recording_can_wait_until_a_key_is_recovered.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__long_running_operations__recoverdelete/recording_can_wait_until_a_key_is_recovered.json @@ -1,1436 +1,1436 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3a8c0f1d-4fdf-418a-8ec2-259e63128b6d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "21dc03ed-6ec3-4327-abf3-62b973ca5dbb", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3a8c0f1d-4fdf-418a-8ec2-259e63128b6d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "21dc03ed-6ec3-4327-abf3-62b973ca5dbb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:02 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "7f75ea5c-9049-4834-a7a4-2c2b98964a01" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "743", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3a8c0f1d-4fdf-418a-8ec2-259e63128b6d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "da305880-ad6f-4a47-ac5f-a5bda25ce3ea", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\",\"deletedDate\":1619648463,\"scheduledPurgeDate\":1620253263,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "931", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "218e6b35-8b5e-4c50-9324-32a0e3c43f89", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c6fb0c6d-770c-4072-8504-498f5830a277", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "952b478e-46d0-4de7-b19b-170adca3ae64", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1ac9b50c-cc9f-4131-a7dc-54b063458245", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1297c9b9-2cdb-417a-b45e-abb1456ca63a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9605d40a-a4ad-483f-a43e-205fddb319ba", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "21bb763d-4126-40d5-ae02-bf26fb9dd74b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ffd4e35d-acbf-4ebc-9341-0b7eeb94f159", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6173c9fb-4a01-448c-9079-4bc6619e666e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "11e08e91-50f4-471c-800b-45e236193a9c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d1d99094-8e85-4d91-bd97-7feaf5fe5d2b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9da36437-4fa8-402a-aaae-4c8f3b8d4d9f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1ada9e49-e119-4174-a129-9dd85d0dd8c0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3dbfc86f-e220-41cc-917a-f30c8185830c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2dc9912c-7a36-44cc-bd7d-d83f58bb5256", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "279af879-f33a-4001-b297-ceba489d4bbe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f42f9916-ea5b-4319-bd8f-0200490cb4fb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "30ffafb8-5fda-4c76-9c62-fc42dd7b15be", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ca051cd6-bfd6-40ba-af05-cd83352bef67", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "88eadba6-6dd2-4436-948d-115ed347cb23", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "878ecb34-242f-46a9-841e-4ea7e2fb55bd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "eaeec386-5bb3-485e-98d0-500b4f31399f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1bf9102a-4fe8-4cdd-ad61-6891f18c9819", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "51cd4ebd-3568-4807-be0e-e1f9f3a98e9c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "98378233-c6cc-47be-b03f-14567bedc9b0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "75c9596e-89e4-4a22-89a8-8abfb19ccdf6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "be9e9277-a192-4142-bd6a-e8b8756145fa", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "43f6a7e4-2694-434b-918e-307288724fbc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\",\"deletedDate\":1619648463,\"scheduledPurgeDate\":1620253263,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "931", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "16d3f29c-044a-4764-a428-82fcaaeef639", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b11ebed7-b0d2-4d9d-a4e1-ba433f50e8fe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "00fc920d-cdb7-4d37-89aa-cd951327cfec", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8b98b95b-febc-49fd-adbe-b9930840c4f7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/recover", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "743", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f2692698-753d-4f37-98fa-818c6924f1e0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c656fa08-e8ce-4437-b9c4-55a19d2bac92", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9d8b4e7f-afbe-4249-bb80-c6fafccb3736", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2be618fe-ca7f-4833-a4b8-26aa639a2301", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e81c791a-e987-4d3b-b532-9c86ca2b3613", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5aefd12c-431b-4a84-9fe4-126eef296aff", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b82b2d75-71cb-4c76-b01b-bb8e49e887c9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "005a0a3d-5998-4951-8861-b86a88cc1d3e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "76a4810e-765c-4eb3-bc1a-9323ede860eb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2650592d-186a-409c-86b0-ce974d6a765d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "daf7c8b1-e03d-4f04-b1e0-7f997957e04d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "42035444-5ac4-4dd9-ab5b-d5117e726315", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4f9b4bbd-fac9-4808-b630-d95ea3acea0d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "63e696a2-f995-4bdf-bcab-54a0ee83288b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "18047c94-a681-4238-a488-18035bb69f65", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5b867b7b-dd0b-4148-89b8-0ce1221845e3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "75b8c71d-9971-4526-9059-2212e0f0eb95", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9176ffb4-5218-4fac-b01e-d0bfe28e68be", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2711cb39-1bf6-4e28-b4ae-0b0b34385b7a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "98d46e55-75a6-47c5-8143-05a7ac5d5d12", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:46 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d5a9c69f-669b-4509-9975-a870ad092abf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "96578fd8-bf52-44bc-8dde-26ed5c0e671b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d222ef83-d751-4719-9228-8f0e0419890b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "0c963888-fede-46bb-955d-292cdc2270e8", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6fd91168-97ad-4ff3-b676-1bf47ecd1dbb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6351f9e6-93f7-4500-8c46-21b095bfa899", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "300522cb-13dd-4355-98bf-2a824655cb9f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e07db861-9e98-4b8f-84d0-b8ed69c09fb9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a3944f51-4a87-4cb2-927e-3dcbaee681bf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "46e4c500-1143-44a8-9852-43e05c55061b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "873c06ba-107a-41bf-a8e2-381efcb50dd2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e8a37d56-185c-4fe0-a647-111bfd571323", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:21:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "621ed816-05ea-46ba-8bc1-2d746778b997", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6ddedd9e-37e8-44a7-98b0-aeae76204ec5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "356", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2a14ef2b-040d-4666-8c30-90c5034ae1a5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f4814c88-7780-4723-86ab-ea9eff2e6fa9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "743", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:02 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2900cf37-dee2-49d5-97f1-1e32a56f189e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c3765bf6-3b1a-4208-a480-d272ccfea899", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\",\"deletedDate\":1619648524,\"scheduledPurgeDate\":1620253324,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "931", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9a0210d3-1a00-4015-8775-33d65ee8840e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "581d3887-02c9-41ed-8e9c-8738f15dfb08", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "adbc92f7-c907-47f2-8f99-e83095bb9e01", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d38b6151-58b0-453c-8976-c63fc70dcc2d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:04 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f0156658-a43c-460b-bcf8-d9c3b796dc79", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "30ce6b86-0d3c-47ab-a3e4-aec5a62374b3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:06 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d51875cc-9759-4303-99db-6d3ad52ff427", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "80058ce7-0b27-4c61-a2e7-5aabcdb3da5a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1875f02d-4931-4145-9602-9859d5bb8fc3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e9d2bc53-22ea-48c3-895c-14116f3e2f74", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d57fde41-083b-4b67-a44e-66a59a519792", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "94f4c5ee-0a5b-4c2b-a52f-97942e9453a3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f251c3e1-d390-455a-b2b0-efcafaf89795", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7e172b88-b2d5-435d-ba78-ca47b2b8fe01", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0e76338b-f21e-4594-95fc-620157a3a327", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a1d8a0a2-5310-4005-9448-e6bf875d25d0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ffdce6d8-5bec-4a1d-bd39-5337517fb079", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cd05493f-a6e1-430d-bc97-e1589f4f7252", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "81d746f7-5f40-4fe5-a2d7-c2bf3375836e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "22992d09-10a0-4665-b1a1-c0ba76104f02", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e39f0533-8cde-4d79-9b50-9df8e788d563", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7d094df8-e9a2-4c76-b1fd-635075cd7776", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fa452dc7-5054-4f9f-b20e-d7c492142975", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6a802084-eb8d-431b-93e4-a8d6475cc133", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f09c3039-6376-4a2a-955b-1a69272482b4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c75dcfaa-58d4-4ef3-a272-cfb6a2c8f5a5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\",\"deletedDate\":1619648524,\"scheduledPurgeDate\":1620253324,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "931", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:22:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ff35a069-7a59-4de7-9f19-490dc0d1f7a9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "893deca2-fc89-42b6-96fb-0e90d7709259", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:22:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ac75cfb3-63fa-44b0-9d59-fab2d7083abd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8b64011a-ad6d-419a-a379-e79276e34285", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:02 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "7f75ea5c-9049-4834-a7a4-2c2b98964a01" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "743", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3a8c0f1d-4fdf-418a-8ec2-259e63128b6d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "da305880-ad6f-4a47-ac5f-a5bda25ce3ea", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\",\"deletedDate\":1619648463,\"scheduledPurgeDate\":1620253263,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "931", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "218e6b35-8b5e-4c50-9324-32a0e3c43f89", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c6fb0c6d-770c-4072-8504-498f5830a277", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "952b478e-46d0-4de7-b19b-170adca3ae64", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1ac9b50c-cc9f-4131-a7dc-54b063458245", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1297c9b9-2cdb-417a-b45e-abb1456ca63a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9605d40a-a4ad-483f-a43e-205fddb319ba", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "21bb763d-4126-40d5-ae02-bf26fb9dd74b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ffd4e35d-acbf-4ebc-9341-0b7eeb94f159", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6173c9fb-4a01-448c-9079-4bc6619e666e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "11e08e91-50f4-471c-800b-45e236193a9c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d1d99094-8e85-4d91-bd97-7feaf5fe5d2b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9da36437-4fa8-402a-aaae-4c8f3b8d4d9f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1ada9e49-e119-4174-a129-9dd85d0dd8c0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3dbfc86f-e220-41cc-917a-f30c8185830c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2dc9912c-7a36-44cc-bd7d-d83f58bb5256", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "279af879-f33a-4001-b297-ceba489d4bbe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f42f9916-ea5b-4319-bd8f-0200490cb4fb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "30ffafb8-5fda-4c76-9c62-fc42dd7b15be", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ca051cd6-bfd6-40ba-af05-cd83352bef67", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "88eadba6-6dd2-4436-948d-115ed347cb23", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "878ecb34-242f-46a9-841e-4ea7e2fb55bd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "eaeec386-5bb3-485e-98d0-500b4f31399f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1bf9102a-4fe8-4cdd-ad61-6891f18c9819", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "51cd4ebd-3568-4807-be0e-e1f9f3a98e9c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "98378233-c6cc-47be-b03f-14567bedc9b0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "75c9596e-89e4-4a22-89a8-8abfb19ccdf6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "be9e9277-a192-4142-bd6a-e8b8756145fa", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "43f6a7e4-2694-434b-918e-307288724fbc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\",\"deletedDate\":1619648463,\"scheduledPurgeDate\":1620253263,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "931", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "16d3f29c-044a-4764-a428-82fcaaeef639", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b11ebed7-b0d2-4d9d-a4e1-ba433f50e8fe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "00fc920d-cdb7-4d37-89aa-cd951327cfec", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8b98b95b-febc-49fd-adbe-b9930840c4f7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/recover", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "743", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f2692698-753d-4f37-98fa-818c6924f1e0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c656fa08-e8ce-4437-b9c4-55a19d2bac92", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9d8b4e7f-afbe-4249-bb80-c6fafccb3736", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2be618fe-ca7f-4833-a4b8-26aa639a2301", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e81c791a-e987-4d3b-b532-9c86ca2b3613", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5aefd12c-431b-4a84-9fe4-126eef296aff", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b82b2d75-71cb-4c76-b01b-bb8e49e887c9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "005a0a3d-5998-4951-8861-b86a88cc1d3e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "76a4810e-765c-4eb3-bc1a-9323ede860eb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2650592d-186a-409c-86b0-ce974d6a765d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "daf7c8b1-e03d-4f04-b1e0-7f997957e04d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "42035444-5ac4-4dd9-ab5b-d5117e726315", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4f9b4bbd-fac9-4808-b630-d95ea3acea0d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "63e696a2-f995-4bdf-bcab-54a0ee83288b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "18047c94-a681-4238-a488-18035bb69f65", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5b867b7b-dd0b-4148-89b8-0ce1221845e3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "75b8c71d-9971-4526-9059-2212e0f0eb95", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9176ffb4-5218-4fac-b01e-d0bfe28e68be", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2711cb39-1bf6-4e28-b4ae-0b0b34385b7a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "98d46e55-75a6-47c5-8143-05a7ac5d5d12", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:46 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d5a9c69f-669b-4509-9975-a870ad092abf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "96578fd8-bf52-44bc-8dde-26ed5c0e671b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d222ef83-d751-4719-9228-8f0e0419890b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "0c963888-fede-46bb-955d-292cdc2270e8", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6fd91168-97ad-4ff3-b676-1bf47ecd1dbb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6351f9e6-93f7-4500-8c46-21b095bfa899", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "300522cb-13dd-4355-98bf-2a824655cb9f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e07db861-9e98-4b8f-84d0-b8ed69c09fb9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a3944f51-4a87-4cb2-927e-3dcbaee681bf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "46e4c500-1143-44a8-9852-43e05c55061b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "873c06ba-107a-41bf-a8e2-381efcb50dd2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e8a37d56-185c-4fe0-a647-111bfd571323", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:21:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "621ed816-05ea-46ba-8bc1-2d746778b997", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6ddedd9e-37e8-44a7-98b0-aeae76204ec5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) lroRecoverDeleteKeyName-canwaituntilakeyisrecovered- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "356", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2a14ef2b-040d-4666-8c30-90c5034ae1a5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f4814c88-7780-4723-86ab-ea9eff2e6fa9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "743", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:02 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2900cf37-dee2-49d5-97f1-1e32a56f189e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c3765bf6-3b1a-4208-a480-d272ccfea899", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\",\"deletedDate\":1619648524,\"scheduledPurgeDate\":1620253324,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "931", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9a0210d3-1a00-4015-8775-33d65ee8840e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "581d3887-02c9-41ed-8e9c-8738f15dfb08", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "adbc92f7-c907-47f2-8f99-e83095bb9e01", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d38b6151-58b0-453c-8976-c63fc70dcc2d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:04 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f0156658-a43c-460b-bcf8-d9c3b796dc79", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "30ce6b86-0d3c-47ab-a3e4-aec5a62374b3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:06 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d51875cc-9759-4303-99db-6d3ad52ff427", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "80058ce7-0b27-4c61-a2e7-5aabcdb3da5a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1875f02d-4931-4145-9602-9859d5bb8fc3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e9d2bc53-22ea-48c3-895c-14116f3e2f74", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d57fde41-083b-4b67-a44e-66a59a519792", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "94f4c5ee-0a5b-4c2b-a52f-97942e9453a3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f251c3e1-d390-455a-b2b0-efcafaf89795", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7e172b88-b2d5-435d-ba78-ca47b2b8fe01", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0e76338b-f21e-4594-95fc-620157a3a327", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a1d8a0a2-5310-4005-9448-e6bf875d25d0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ffdce6d8-5bec-4a1d-bd39-5337517fb079", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cd05493f-a6e1-430d-bc97-e1589f4f7252", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "81d746f7-5f40-4fe5-a2d7-c2bf3375836e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "22992d09-10a0-4665-b1a1-c0ba76104f02", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e39f0533-8cde-4d79-9b50-9df8e788d563", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7d094df8-e9a2-4c76-b1fd-635075cd7776", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fa452dc7-5054-4f9f-b20e-d7c492142975", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6a802084-eb8d-431b-93e4-a8d6475cc133", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f09c3039-6376-4a2a-955b-1a69272482b4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c75dcfaa-58d4-4ef3-a272-cfb6a2c8f5a5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-\",\"deletedDate\":1619648524,\"scheduledPurgeDate\":1620253324,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-/0ed38ffe079244e8a079845f3d760a69\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"z5aeR0hCvy28NJfGfMjgBTz3e7AStfqEZCj4ehslRlFKN6F3jc_E-VRaBHY52ZZMKgLwEKMXbOl3eEc8dI4hrRRHTq-2Xp-FlyI5lVEu_q9wg1FUHeaqdFZXgZct-D_XeE527AN68KOfxvyYcHEkoxzRFkdmS33JTWUTdc8mit2nhsoLsB7VHY6YasvWQ-YDGAjGygLKTrZMY6pxj2nTHs23PytduW-htr3GQ1DpyQBku3i-4wovMFONW6_AuECYyGiYjNFJiOKIwGmgzsYuVIx1cBr92td1JMbuGXF1lSS--_SQ2PhaqiWuNnGC6_x4-4d4DSXK0P73uLcq1Z2tkQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648463,\"updated\":1619648463,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "931", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:22:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ff35a069-7a59-4de7-9f19-490dc0d1f7a9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "893deca2-fc89-42b6-96fb-0e90d7709259", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/lroRecoverDeleteKeyName-canwaituntilakeyisrecovered-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:22:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ac75cfb3-63fa-44b0-9d59-fab2d7083abd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8b64011a-ad6d-419a-a379-e79276e34285", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "42a11946d9f4a0c18542b483921cb550" -} \ No newline at end of file + "hash": "42a11946d9f4a0c18542b483921cb550" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_generate_a_backup_of_a_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_generate_a_backup_of_a_key.json index b9156452e73e..cdd18dd62250 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_generate_a_backup_of_a_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_generate_a_backup_of_a_key.json @@ -1,707 +1,707 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b8bdd786-8269-4326-99e1-2f9e5c19a06f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "23f64cfe-3aee-4530-b302-48445da9539a", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b8bdd786-8269-4326-99e1-2f9e5c19a06f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "23f64cfe-3aee-4530-b302-48445da9539a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:45 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "af904c7c-1ddd-44a0-b636-d8b32f227001" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/312de03ad301469bad13cc93e8a50b9b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ntEhhbJ_PUi2rtwUnDKJIa78Op6sh2U5JyN8clf5_-1CbLjnMjReFUM5mI8I3_4jddd155PyJotRbvluUY-UAXOJJVivJBqiYfXRdtxcOCPkIOIXcrU3y2ixotoVUvK5CquB3oBKd7eKZ0lDUi0P7JrewrnyfjjuUm0XxaxWASPchVx3ebiX0ih0Vdwin2jjjPrGSCjVSUanMDd_ouNz533-gML7f-50FlNvRLPbb-EIc4xuXdlJ9ug2PcGHzJX6C56Z7kLjfVJvTjWgrIrRxi1Wry-HMrvlljpDGskAn5jCJLN_GGKGmodI8GA46Ufd1XzwA0MBRKUlnFGmp5w0eQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648686,\"updated\":1619648686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "737", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "b8bdd786-8269-4326-99e1-2f9e5c19a06f", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8010aa6f-7604-4a5b-b646-202182eca3f6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/backup", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR3ZrcTg4Mm9pTVJOMktBM244VktjeXNWRjRibE14SndVUTdncTlIcF9tSmlVX3ZOckY2eDJQbXNnVkRlSFlUQUxrNWFBV04xYnMwNWdvZ2dGb3NOcjB5YnhlbHNDb2JWRjZyTTQ2SEpTX043RHdZWm5QdVFxOTlWVkNfWEJ3UlR1REd5M25KemtaMDlFeEo1MnpsSWhfUUNYNmJlRVJveTZZTnhLd3N5dk05T1FlSV8zOHB4eVdGcm9sdG1zOHFhbVRmbHhLRHFsbDltUF9IOVNoWjFKaDEyeTZpdTV0ZlF1Q1Y5enhRN2VXcUlXOFZoQ3JwRWhRdUNDOEZqN2QwWW1jMUt1eHNFRkttQU01UVg1d3UwYTRLTVhOZkxjeVIyR0ZUODVWMjBuS3lEZ1l2ZWVDSVdvQ1ByWFpqVFlqdEQybnZlZmFaNHN1aGlXaVhlSFJicmx3LnpXOGJjQmg3LWZ2UTdYZElhT3BxVEEuYzV3TXdtWm9lLU55YkNiSnJONGNWMmdYZXF1X1FmTExydVpBWnA1UENXbVBTU3FDX0FsY0lGQ0pOR3JMaE1oMXIxRHdSWWVWZXBWLWRRV2owcml0blExZ3JSczlHUXRrWHVlYkhRY3U4Z0YtV2ZMSl83VXMzZGFZM2pQdzJlU0JiSXc1ZFRKQkQzNGJTSTBGOTlISHBFaE5INDh4anNGOHhacmlGYnk0cFFwTG4yT2tETkZTeEFQYXpSQldnSnNmSC12OHZ6blNva1lPUUlVVEVsOE9OSGxfanVxUWdkMGFCZXI3STR2ZGl2ek1hTDc0dnVGSWpvMmtLdUEtMkVjYnZUQVZ1VVNFM2kyU25jeS1Od01yTG4tWTZBcmduOFVERTRmWTE0LWtQa2s5LVZKcGhIek5veXR3bmhaQ2JSeHJTMmloQWEzN3BNWEZEWGpJbXNKZkw3bDJ2WnZBTGpVYjVLWEswVzVia3pmdDJZX1hXcVVNMjVwMWdKdlNrZUhtZjlublJOeDhHWW1oQzhKOEcxTVZxbjFZZ2tzZUhuaUZESXQ0REJTN3I3WVdJb2JBQzV1dFo0VnR0anQwb3NrZUZ4VExUOTZfMEtXbFNwb1dxbHNTMERGT09fVWpjcXA5QzZXTTBjUjVRRVBnellrZTU2anlaNTlnX1VWNDdldHBFOWl4N0t2UnBmb08wVTU0Y2ZyTi1aMjMwcWVJc1ZtVHVVWlh1LVh2OGV4c3RpV1dUa1k0Q3hWU3p6VEktNUNaRzhYNmdFSExKNjFRMjMwU0pkV2hrWjdvcFNxVndxaW9RenJZbnhnTWtINHRfUUJqUUFiSEQ2SWdNQ2UtSTB4dUlDUkd4cXZnbHI3NFBHZG00eWtDamJJa0VrQmtjcElTeGJNd3daTlZ0aEg3dmZoTFlaWnRUQU1FWmZRMTVXOU5WaWgzSEFTcGk1X2NjeWg3eHpjcU9SSXR6X25xaGE0ZDV2WEhaa0NlV3dleVhKRVc0LTVfY2MwallFUE9FY0c4b21CMkJ3dFZlUERQY0J1LUZwVnVfX2pZOXl5aXRrMmRGR041R1A2dm9jaFdWLTJ5Wk12QjZCVkZkN2NsbDhkMk9QVzN6NFY0M2pfenRDY2pTOTVmRnZSdzRGZHdjWXRmeW5lOGVWczUzQ1gyN0xQREZEd2hPZGphSWhYWmNyNWxEUmlTdHJCaEx6SnlUNzFWUFJWYlJqZjlGS3NrTUJIMGZGbms5eXF3aHozdnBKekNKanJwdGc1al81cUJpV0JmbmNYM2dTWHZHXzI3STZkb3NNUnhWOW1obmZFeWxVNHZMNXdhb2ZZeUY4YWhtdmdoWl85QnZoOWtxanRXZ2FvYUhKdW1iLUYtaExtWEpobnFUY09qY1lESzdObXhGOHliTkgycUN6VXpCQTZ0UERQLXpUR1V5RjBwSW10eUJ1Uk9BUGpPeXdaUDU5WG1VRWZRTzYzSGRoX1l0aFJJLUZjMHk5enFkVTE3TkE3b2hKVEsydWZrUjNPT21BZldtNWhwZnZSdWc3ZGNSSjgteTFVYUd3RGlEcENTNmpiaGJBYUpodGQyQVBmekMwNGZIMGkzU1ZEc2JDWnVvcnB0Wk83dEstUlJfUnI0MWlNb1NSWUMwaWpsNXRvbUNuUzdVRTVkMmw1MHowZ053N0N1MFJQWGZkdHVwRWRNWlFWaHZZeU1oU3V0N2Z2UWhwZzVwbks3SW81T0c3Vzd3ZnBvRDQ2Ykp2YXRzMzd4M0l5bzFkaW9nNmNnbUF1cTVibDBZRW1BRzFqcXZfazZjNnJDNS1tbURHRzFOVURnQUM5VGVHTm04cEhld3lPaFdqeWU4Nzc5Q0ZibjEwTS1veldGdGZta2h0NU5GckgtWC1WVGw1TzBTQ1U4Z2FkVmlEdUtUMWdHTUM1Q1Y4NDNLTXRLWFUtZDB5b2JiWmJWc2R0RldSTkZEWXdRR1VMMXliSGN0VFNmRlhuNG85NkY0eEM0SVdIWk54SEQ5ZXkxWUtEMW1WdC1xUGdWak9jbm1pNHdxNC1xdENMTGNWZzlXVUVNcERNQ3BUUUEteTVzYi1yVVk4eTRvNUlRR19MNGlZT2J4Mi1la1paOTR5TUZJOGtQYktxY2wzcXZ2S3hLMDNDVFA5REpTUHRQQS1JQ0RXSEdZNk5PNF9RNTk0NVBhTWh1VEotS004eExWemtEV2NVRXI5ZVlXQWRfb0RoWW4zOTZva0Z3ZkFub0psWjVNY0kzeWlLMWpzb0tFa1MwTFNuNG1hajBzZGRkTTFRTVYyTWR6SV9KVWRCZktGMWlnWE1tUjBNdXNpODFlaXJIREtQb3otdzgtSUlFMzFIUm5oeDJ6RWlOV19tOVF6U3N4cUpPU2MxdGE4WnpMZXpXTkRtZFRhM2VNUXJuQ21YWDl6QjZwLVpnSDBhUGlyZE1rYy1heXEzUHk2TmpVMUlxVTVhc3JMa0JXalY0YTlkdklHbkw1YVdYNWdzamNoTlZQY1kwN0ZmOURLNTlMMzVDaHJhYVd1cUllSXpyQl8xSUc0eGFGdFBWak9OeGFSRkNpbWk3eE93b0RHYldoOGJBMzhmaU5xNjdOc1MwckpIRlpPNGh3RFBHT3hRUmx2THUwZnozWTFfRWstWVpnQmtmSG00d2ZDd01wUFdmSk9zVFFLSERWaUJjQjdyamJrVHlvRlIyS3ZQb011YmNHQWNqcy1kRmdxY0tFOXdJaXIwTXFCbnpzZlNXYmlXSmpDNG1xdmN4MlJfaUdPNE5YUFFzSktrLVA3MFJsWnlNOC1ObmNvNnBsOVcxOUIxWEZfR2kxdGJFUTA0cU9RUUlzTFBXUWJSUG5GSnU0dFNIZGRoMm1fbW9yOW1EVHVNVnF4d2Y2SHlzRk5XX1ROX1c0bnZ4ME5fcUpESFlXYXpGa3JfTmphOUs0Y3cxdmlQTjFVUTdIdVo4Ti0tMnRHdkFEeDRhc3lMTTZ1YXlRSlg4ZlZXSjBKbGFwcU1YNHY3eHB0emtOb1FLbWpiaHdFaVRmTmpGOGZMMnJyMVBXSWVlZEJtN3BLcGhzd0c4ZFdFVXprUzdIbHczNThocG1zc2ZrZUIwczlhUDNKSVBpc0pMeTZ3ZXlvR2lMRFpFY3BNM1c3dTAxX3oyTEM0Vkp6Z2FXeHNGU1BFdjQ2UDJzdUdGdnd4NGdVVUNYZjhpejFwcWNuaWNZMGx4TjBXdUlYWWVQM1VLYWhRZU1iQWVwTW9waHBsMmw5alAzdTI5TGpZVVdSMm0xcGlMQmdSa1F1RWprLVA5aWN0SGI3Vzh5UXAxdVAxeGY2NGVNNzZsSk9mY2JOaGpSSXJTc2hpVkUzd3BrWGxkX1l4YThGQzcyMDNiM291SzVRNTJJbXlvYkJVa0twQzBRQjNSRW5zSzI1RlRmcVRJd2tiM05xako4bDRmd2w3RDZZU3ZrUWwwS2k0MV8tRGZvOF90SHAxR00yTzJNVXZVOHVBTXQ2VDVwX0hic0VDVFBJeWhYeE5YTFMzRzdTSkJoWVJWMjJSdnUtVWZrZ3VlMUs5eXBKM0RGNFU5Vk1uS1R1QXVLRTkyMDhmOVdRY2VfQWpaeHpiOEJ6bzBTVlNKLVlPdG9BSnlUMDhDdzJiN05QRjVMVTRkOXFEdFdydlMxSTVUUno5eGZfWlJNVEpKcVQtOWpoc2dsOHBPSmV6Y0oySTN6RUZFLU1wRHdoOFJpaDZMeEMwWWdFR2p4VEgzcG56MFAwSmhDYlUtVGtySHpMdnoxUnZIbnYtOGw4bUNRaUpPTGQzV2VlMWM2SWFKOEhjdFlMWWlKeUt2LXRpN3g3a2F0THp3SVg3U2Y5b1J5NHhKYmtzcGE3T19LZks4WDAtYkpQOGtWVktBMWFRd0xGRUFZT3gwa1lHWFpGa3FWWFIzelJvcWpXWkJ4SV9UM0o2eHFhQkVsQ1lHaEJGbl9EbjBCRi1BRVpQdTRzNFIyRXFFdmU3dWVkck9iclVRZkNUd3V4X3JORlJZRGdfRHBzcnRET3VnalRGeUNBVEJPbnc1blJicUJ2bExPVExIVzdhYlFSZVRndmZ5RE1zLXZseVotR3VMSkVYcmV5VHA0d0FjMUpvMHdrSHZRMm9xd1JZRk85Z05vZkp0cldfR1kzaXh1aDRPWWM5bmpwOGd5T3ZldHh5TW9uR3RFd2U4cEdjaTVVSG5BTTdoenhFWTR5cnFpT0RGMTdfU1ZhRldDQkx4dmVrU0JqWnFCbjRXZFhFZEtPT0Z2Y3FUZVB5WDlKeGJ1OE93clRXa1A5ZkpnOENPckhnRUhoTGZmczJYMXRrajZUUUQ5OTJrc0E5RWQyS28zNV9EOWJSTnp5THJhTkFLTEF0Qk9ZZGotMUZpTC03eWZFd2NXZXVUREtaRnJMY1BuNTB4VHN1cHJNcjRqRVNRYmtiTkFRU2tzMGszcHc2RXhSODJTallTbVZIcm5wY3dPNFFjNjR2MExjQWdvTzlGd2Q4SUNyNm5IMlMxY2tTMXBSaFNDYzlJZUlQa3BaeEQzclFaLXkwYVhQYTFtcnhobmdONThpdjdQdEN2a3dOWUNXLUF3MjZZbHlqTGFyRllmOC1QSWF1YlpNTGo4WmFUdUlDQ0tGMV84c3BvWmlicUlSRnpvY19jY1BxY1MyOXZqdlBiaWFiNFRUZngtWHZsZFBFcFhvMEc3MTNiOGw3ZWFJOVhWTGtXcXV1LV9TSkNOdWpfU0loWm9rVW0xU3BydjN4ZzVXaXZMVkZjM1ExamRJT2t5OGplUkdSZDNpTFcxMzZ3ZnZEc043dks1eFhZRkVET1gxRUtOcmR6WkVkMnUwcXpPeTdRRVNjaVRNLTU5NlZMV2pBVjhkV0RuT3FnVzR1TWNGR1NrN0pSSE5EZEhxVUZzR04yLVlUMlZXTnZNYnVTTVV0OURjQ3dmd0QzTFdnV0EzdmU1X0wtWkhraVp3bWxNX1JhQm5vT1lIV0J1ODhTR0l6OE9sMzRCQ0MxT1hOdGY1WjZkNnRTeW00V1JaS3AyMF80c2JDbVpQc1N0WWktMDVvMmhINVhURWxuTG1lVTl0LTVWTVV5Rk9xRG9SMHRwaDZuWmVqbDNDOUFUVDlUdF9vVldGWFl3VTRackh4V0ZjVEpfM1JxbWpZd3lXazdwdldNdjBKZ1padkRVUGZ2SUhuX0lvYTM0UjFaSjZ2ekRaenRNcVVJbkJGZWR6QmFIaTVocDRNdml6YV9WblVOR05RWFZvRVdLd0ZzWWtxRnNZSVJSMkt6T2RoWHlwU3lvb0hkU0xLdkxjZlRtRGlBaDlDRzFZenpqREFKWllka3pHUENqTzZNZnpwcTdfR1FWTmhFVzROX3Y1eW96NExVUlVLV0tGb2dhblpVVUVmQlM5MXMxUS1RZFN1bnpxX01tQjRCQ0R4MGVhc2FhRXJSbThVN1Z2a2Y4UUwzNW9xWmowRlFKejItU19rSWhnREZzYnh3MHdhRkFfRGNrMzNKRDBGekFCT1lQMTM2ck1ram41QUlfdEJrenJyeFQwVGpfZ3ZGdGNCeDdmNC12aWtzdk94RDFINk40M1BhRk9nZksta0VqRUkzbjV2YlpFbmZGUk8tZ1k0R1JEaWRxNGJnakU3Uk5oMHF6TDJXQzRSYnhVRFhhLTZBN2I2UFRtSkpjZWo0MHdNT3I0NGhQc25OZU96TVZOcDhpV0FBckNNelFPSDBfM3dCUjU5aExmV3VFVVN0YVd3cFNvMlRPSzlHeDdheVllR1E5SEV5NnM1dkZJTTc1MjRNUmZaXzE5Y2YzbU5helVLRkJEMVlaZnVfdFVoLTBwRFZHNnd0WFg1b0tpZXk4T0R3WGtJRjhFUnc0b0hxcUdPUERDa0xXdkRTa2hvWkNJSFhZV3RPdkthc0dZNDdHRUdjUlYxSjNRMEU5ZVdyT2V2Umc1VzIydGw3VXRGNXhZV2ZYclNSd2dJQ0NLN055RlJSV1BteWdBbklHRm9acUg4dkZGT2RUNnJWSE52OW9RY0xraUY1NTd3SlcxUmZPRnowbnRlU1UtdktrZ2dQV1psNXBfWldna29IbkF4SURSQlZHa3htX3FoNkRBRnhVcmtORDVVOU5PVXFlRWI1cWltU1R0d0RDeXotOUhrcXVSMnZxVy1zNFJuOXowMmh1QUVLNWJqYU0zN0VkREdVVXRSR2V6Wk1qY1dXS2w2b0drczRrdXhIMXVWRGNaTmxFdVpYX3RZalBKNThjdzhIR1NuX1JNeTJYcEhwcmhidm9tZFQ3ZHJQSEItVGVQX29meERKbU1vZjBwSnVUeXkyUXpYRkNVanYtUW1fOS1aemFGREhwNTlLZ1VtaTlGZW11V09BZEQtQ3NWTEhLNF90NzhWTUtoUmc3ZEN6eWFua0pUN053LXJfcVBzTzdlRzhzSm82c1JzOWdNdi1wTmtKV3QzanZRNXhUMG5zMHhZS3BRbm1fZHp5QUFwd0tvSHZneGlhUlVUTjlnVWxxOXM1X1lCSXM4UFdpUml5VXl5S0E4cW5jTWZDaVlQd3YwS3RMWDlkNFVBeWFsMDJyRFBvbkRLZHF6TWFpbmVsTHNISFJXdjdxLXRPcDFXWDhiY0o4T0s3V0NjeENJQmVZX3lVVE1wYWQtcVBRSndnT0twTXNJMjluSTBvbExGSEZsZ3RtclpCbHdlVUxMVmN6OW5mOURucWc1eGhTYTFzeU90MmZxWVRiNXI5NDN4UTlCbHk5b1pkRVg5bFBqVnh1VFlJY0dvODM1VWhZSU10ZWlEMDNkNHFMQlNWR0g5RmlfX2NRU2xKZ29GckN1cUtYVVlpalJKUkgxTzB0ZGlCYU9BLXloSFhWNUNZaUd6YjdjdkI3RGtWdTF5UzA4dEdqZktKelVFRFJOd1V5LVpjWDFYVjk4SW1TdHNqUjJnRW9kQzRRdFd0b3VpWkZ3MjZ1czBzeG5sOGt0eC13NVFzNnNhYTZCSUZvaVBET1lnUllJMXpnNlotdE40Xy1GUDNmcEQxUkNRMGJoZDdxelk5SlpVbU9WbnBSSS1OaHhDc0p5VTV3Ui1vcVRUam1PQzZyM2FRTGhjUGhnZFlMQ0h2Y3NYT0JMTTRkUlh4VU45SVhfb2p2LUhlcmhSUjQ1RG44emRoR0VMOGdKamN6OW9kU0JqcUE5TUFmb1d3eDQ5ZzJYVnlGZ19PSDU0cGY3bVI4SlVHSFZzOG8wMmloal9KYVlUSDg3b2dtYXNuVHNJbGRYYm5pVDhyaUlOYkdRR196OS0wWWkyRUVpZEF0TWNWSkZQY1E5RWJPTTlhcDJ3X0xKbjhURWRHQ1R1blg3NUJMS0xwckFwbUNMX1NzRVRpMFIxTDZKVUN2eW41MUNWcDVzVnNkeXdSaDN2SWxZMEZoQ2ZVOExsYWZaLUp2SVpqZV9LSDlRQXNlSVg5T2RkNGxQSm5vRmVlLVFkWGlpMjd4WkhsbmNRWURIRXBXWHlQaVdEZ01rQWZVRVVHWmhMWTBxMGpibktDM0ktTlY1QkVDa0xEdEo4dVZKVEJ1Y2dFb05PZktsMzlDdF9VODdSb1dsZXQ5bUNxTDJkbzRoYmFBTklNR01SdHlZQUlpTW4zamtqTjBENFhxdUwzSFlITnFJM2hlQzFPNGFOVDVKRG9IUWRWNWFLNHJXS1VMOFd2YjdrbmdCMHNJZkNGLV9IYU9uclNCMmdPUFAzNS03T3ltX0tVQlJZVVFFaWJPSzgySnloMmV6cGlpclBkdENpTHVNZjRENGltUFhxbk5iMklqc2ZoZDJIRUZycmsxanM3V2RZQUM4WGdqTWxYUUx2Q1NLVllqak1MdTA1ZS11U2VyUEh3MzR0VGNhSWc0SXp6TzNZVnFaQnQ4OGszY3pLc1Npb0F4NHd2OEtiN2NmMmxQakFWM2MwbmlicVlfZV9RRndSV3JNSkZNSnpaOXZSeHl0dDRyWUZrai1Mdlg0Ylh0U1pLNVFKSlcza1RycUtrcVpReERnVDc2d2lGbnpNZ1RhbHQyaHVKVGZKOVpaUXFkMFZxTFVGQVhVUzRLRjhBZFlIZl9kZktlY0tWcU5WS0cyb21LSHJvUC1RYUZtc0d2U3dyLTFtb0NMZlVYWmQzZ2cxQ0NicU9kY0U0cThHdHpGY3FEX25oUkx3Si1lbjNiUHJWYmFhTElDZTVvYVMzSFdtYnJPT0VhdldZWFFqTERvWHNla0pzRWRRclZOak1FRUR1emF2R3dkVUZTekhxcFFfckI2aWh1V3NxczdxLVk0OVB5ZlBfcm0xVVVXd3I1NkhXcEF3Y2ZYX0ZneTFsRHlwZ04wUERadTdmVDA0VC12VGk0MUExaG9xaGN2VXZyaThjeEkyV2E2Um9sMkhkSWtRRG1HQmxJbFJEVHIwQUpYbWZrUEk4THg0YjU0cVk3VlRVemJfdDJOZm5oc2hnOWgyamdYOGNDTU5LNzRlV0t2cUU1ZFF5ZnN5c1gzRTREN0hmOURjdFBDaVB6S1V4dlM5QjdQd3BmY3VvR1d0aTJvVjFOSDJsdFFMbFhDR0JBYkRfcGZDb3pTekY0QmxuQjNGWDJXNk4tUjF3ZlFrM2lDSkV3bGVjbUl3Z2tmUE5XVVd4R3lMb2o1alBQMkh4X1Y0MzgwN2lfZElFNDRqOWxFcW9rTnphdGNodGVWTHdkbUdpd05Peks3Xzl4cUdMaU5mbU9oUVZ5N2swd0IzZXhHamd6OEotXzl2cVBpeU9ENU9XVE5RbjdiOHp5UGl5ZkkzOVpQT0V5ck8yaWlUNDVVR2J2blZIRXJWc202UFdEdHNmczR3bDZiNXJkaWc0ZlluWkZFX0MtanRfcXRKdnFwRmUtX1ZXWF9xQlhjRC1XQ2FyX2JWTkw4ZFVvOWs3cFN0TjdUd1ZpdExKanpyT1hhdzJXVWVIa2hRbk00aGtCRzE3Yy1mVDZBM294bnZFU1daVmtZWkRHbEFYWU5PX21IbzFSUWdxM1R2Q28yNmdtUEZhS2FXcDZmcWhBMmQtT2prSzJLdElrdnNMd1ZsT2FSam1CekhXSVZXS2xrZDJqN3A5NzZHMnR2MHl1UnVrWTBpMzNJRHJzQ2hoOWI1aEV5QjcwN3pEMXFwbVF3TUtlMW8zSVllZ1lpUkZEUjRES2ZXU293QTFDdWZOVkJ1ei0wNWd6UFVlSV80aWdfY2Fpd2JDUDFyNExrMEFBN0puajFhZGI5TUVPMmY4amczV0NuWmVKMGtBaEt4UmN6d2p3cTBmbHotbjFCUlRrRXNDdDNYSm4tTzZNLUZFRldkQmM0bHF2LTBWeThLaUFHVlRGaGdYZmhzM2JFblNBTXNKdGJCYTN6cTNFVVc1QjhXaUphTXdSVktXZDdSWVFDQ1dpWThibnJDVkkzaWJ4RmlRN2xhT2paM0d5UVpRZy02cVBmN3dlaEYzOWUyc1g1aWVFemM4bTJNbkVsa2hzMlZISUNPcWZIb002X3NieVhMSHlTMHQwRnVYSzJMSDRuR0xIY3hUVk5xX1VaeTRjXzFBVS1yOEpCdFEwQ2hyVDV2TENEdC1odi1KZEYyS2lnaTVxbG54c3BvcFhCOGE1bnd1TnB3VzQxRm5KN0Z6MzhtaW9jMjFIQnZuWWNYMDhvRkliNjZPQkw0T05VRHFlMUtURlEtMFBRLkZvb2Z5WDdKOHFETkN6bkdPclphNkgzRm9XQXJPeTYzbWpwaW54bFVOQUE\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "10443", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1eced0e5-002c-4d7e-be85-64864cde91a9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "741228c9-c243-4e20-8979-1fffe8935822", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-\",\"deletedDate\":1619648686,\"scheduledPurgeDate\":1620253486,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/312de03ad301469bad13cc93e8a50b9b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ntEhhbJ_PUi2rtwUnDKJIa78Op6sh2U5JyN8clf5_-1CbLjnMjReFUM5mI8I3_4jddd155PyJotRbvluUY-UAXOJJVivJBqiYfXRdtxcOCPkIOIXcrU3y2ixotoVUvK5CquB3oBKd7eKZ0lDUi0P7JrewrnyfjjuUm0XxaxWASPchVx3ebiX0ih0Vdwin2jjjPrGSCjVSUanMDd_ouNz533-gML7f-50FlNvRLPbb-EIc4xuXdlJ9ug2PcGHzJX6C56Z7kLjfVJvTjWgrIrRxi1Wry-HMrvlljpDGskAn5jCJLN_GGKGmodI8GA46Ufd1XzwA0MBRKUlnFGmp5w0eQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648686,\"updated\":1619648686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "919", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d0e09ec6-e7d8-426a-bc97-c433bccb3a4e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4304dc82-66e2-4c0a-a5eb-217b57e27b16", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4dfd2188-711c-4285-a585-c38c811e26d7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3e7221ed-09ff-4cf6-8e19-e3fe560415a9", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9ec4bfa8-ded5-44cd-8730-2b1c06c50315", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "126823a1-5356-4159-9667-1889e31ccc6e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8a48b7d2-2227-441e-9708-ad572e59330e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c775369c-6eeb-4a1a-8bee-d469d4044534", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:50 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2c72b2e4-a7c9-40ce-b347-88ef64f469e6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "17b49dc4-1e27-4ad5-abfe-fbb8f8b3d167", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5bccf1a7-6aeb-408a-821a-5c2f31ccc3b9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dd682437-71df-4290-b4c3-3d4d14d76ac7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:55 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d0705a65-8a26-487d-bfa5-77c52ac6d6bc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "15578d23-a156-47b7-aa66-03971c859160", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6e308520-ed44-42ae-89cb-2888ea662002", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "03e0cdb3-c099-4408-8441-76583744e1a5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "adb0a2b5-3c6d-4e12-873e-1d263c27b524", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c869060e-230e-490e-a5de-3b224da34ef4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "08d945fb-e070-458b-8e84-2130c7a40eaa", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d47eb9d1-05ff-4d60-bfb2-b4f530ad7334", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f45f8499-bbe6-43c9-bb8b-cc0bbda49d3e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "629adea0-98f1-4576-8592-e0508d6b6e01", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "94cd3716-63d7-4f33-bab9-239cd6179129", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5e97205e-dc8e-4c53-b55f-92c98ad554bd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c5aa25db-e49c-4278-9134-c11737752f34", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "769e9758-e4f0-44f2-9dca-3825ef51081d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d22fd446-c71f-4a89-9ab3-6692ac5566e2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b9343de8-2128-4c9a-9d07-613bd083956f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3951d7a5-5a95-497a-bb79-43270d204dd0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3e69999b-ddb6-491f-b716-42d7e01330ff", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:13 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9e8f4895-17be-4a33-90b5-b7a75671e2d8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "787566e0-d412-4818-ae00-43cf58d5e188", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:15 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e36bb334-2eda-4878-983a-5cbe20b8e5d5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cd209fcc-f52c-4cfe-a8b3-9e6b3cf7cde5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:17 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "40e54b99-9a9d-4b1f-b2f1-a157b4153517", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c5f9730e-27f0-48bf-9247-0db21b7d6218", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7679bdd3-b91c-4574-95fc-80f953fb0229", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5981808a-8bc1-47fd-b7f3-e5cec74cd460", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "130", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "798288f7-af3b-463d-b477-55264879d262", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fbb6df55-5c40-4b9d-8b34-0ee319419b50", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-\",\"deletedDate\":1619648686,\"scheduledPurgeDate\":1620253486,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/312de03ad301469bad13cc93e8a50b9b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ntEhhbJ_PUi2rtwUnDKJIa78Op6sh2U5JyN8clf5_-1CbLjnMjReFUM5mI8I3_4jddd155PyJotRbvluUY-UAXOJJVivJBqiYfXRdtxcOCPkIOIXcrU3y2ixotoVUvK5CquB3oBKd7eKZ0lDUi0P7JrewrnyfjjuUm0XxaxWASPchVx3ebiX0ih0Vdwin2jjjPrGSCjVSUanMDd_ouNz533-gML7f-50FlNvRLPbb-EIc4xuXdlJ9ug2PcGHzJX6C56Z7kLjfVJvTjWgrIrRxi1Wry-HMrvlljpDGskAn5jCJLN_GGKGmodI8GA46Ufd1XzwA0MBRKUlnFGmp5w0eQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648686,\"updated\":1619648686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "919", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1f128848-7771-4bf8-b207-a63ba2b0e95e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c0c3a2b4-e321-4506-a976-00356309dedb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:25:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4d7cc733-e549-4a5f-8c04-f199bb62df86", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "802cbf62-a820-4fcc-9910-62a25d0ed9a7", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:45 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "af904c7c-1ddd-44a0-b636-d8b32f227001" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/312de03ad301469bad13cc93e8a50b9b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ntEhhbJ_PUi2rtwUnDKJIa78Op6sh2U5JyN8clf5_-1CbLjnMjReFUM5mI8I3_4jddd155PyJotRbvluUY-UAXOJJVivJBqiYfXRdtxcOCPkIOIXcrU3y2ixotoVUvK5CquB3oBKd7eKZ0lDUi0P7JrewrnyfjjuUm0XxaxWASPchVx3ebiX0ih0Vdwin2jjjPrGSCjVSUanMDd_ouNz533-gML7f-50FlNvRLPbb-EIc4xuXdlJ9ug2PcGHzJX6C56Z7kLjfVJvTjWgrIrRxi1Wry-HMrvlljpDGskAn5jCJLN_GGKGmodI8GA46Ufd1XzwA0MBRKUlnFGmp5w0eQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648686,\"updated\":1619648686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "737", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "b8bdd786-8269-4326-99e1-2f9e5c19a06f", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8010aa6f-7604-4a5b-b646-202182eca3f6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/backup", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuR3ZrcTg4Mm9pTVJOMktBM244VktjeXNWRjRibE14SndVUTdncTlIcF9tSmlVX3ZOckY2eDJQbXNnVkRlSFlUQUxrNWFBV04xYnMwNWdvZ2dGb3NOcjB5YnhlbHNDb2JWRjZyTTQ2SEpTX043RHdZWm5QdVFxOTlWVkNfWEJ3UlR1REd5M25KemtaMDlFeEo1MnpsSWhfUUNYNmJlRVJveTZZTnhLd3N5dk05T1FlSV8zOHB4eVdGcm9sdG1zOHFhbVRmbHhLRHFsbDltUF9IOVNoWjFKaDEyeTZpdTV0ZlF1Q1Y5enhRN2VXcUlXOFZoQ3JwRWhRdUNDOEZqN2QwWW1jMUt1eHNFRkttQU01UVg1d3UwYTRLTVhOZkxjeVIyR0ZUODVWMjBuS3lEZ1l2ZWVDSVdvQ1ByWFpqVFlqdEQybnZlZmFaNHN1aGlXaVhlSFJicmx3LnpXOGJjQmg3LWZ2UTdYZElhT3BxVEEuYzV3TXdtWm9lLU55YkNiSnJONGNWMmdYZXF1X1FmTExydVpBWnA1UENXbVBTU3FDX0FsY0lGQ0pOR3JMaE1oMXIxRHdSWWVWZXBWLWRRV2owcml0blExZ3JSczlHUXRrWHVlYkhRY3U4Z0YtV2ZMSl83VXMzZGFZM2pQdzJlU0JiSXc1ZFRKQkQzNGJTSTBGOTlISHBFaE5INDh4anNGOHhacmlGYnk0cFFwTG4yT2tETkZTeEFQYXpSQldnSnNmSC12OHZ6blNva1lPUUlVVEVsOE9OSGxfanVxUWdkMGFCZXI3STR2ZGl2ek1hTDc0dnVGSWpvMmtLdUEtMkVjYnZUQVZ1VVNFM2kyU25jeS1Od01yTG4tWTZBcmduOFVERTRmWTE0LWtQa2s5LVZKcGhIek5veXR3bmhaQ2JSeHJTMmloQWEzN3BNWEZEWGpJbXNKZkw3bDJ2WnZBTGpVYjVLWEswVzVia3pmdDJZX1hXcVVNMjVwMWdKdlNrZUhtZjlublJOeDhHWW1oQzhKOEcxTVZxbjFZZ2tzZUhuaUZESXQ0REJTN3I3WVdJb2JBQzV1dFo0VnR0anQwb3NrZUZ4VExUOTZfMEtXbFNwb1dxbHNTMERGT09fVWpjcXA5QzZXTTBjUjVRRVBnellrZTU2anlaNTlnX1VWNDdldHBFOWl4N0t2UnBmb08wVTU0Y2ZyTi1aMjMwcWVJc1ZtVHVVWlh1LVh2OGV4c3RpV1dUa1k0Q3hWU3p6VEktNUNaRzhYNmdFSExKNjFRMjMwU0pkV2hrWjdvcFNxVndxaW9RenJZbnhnTWtINHRfUUJqUUFiSEQ2SWdNQ2UtSTB4dUlDUkd4cXZnbHI3NFBHZG00eWtDamJJa0VrQmtjcElTeGJNd3daTlZ0aEg3dmZoTFlaWnRUQU1FWmZRMTVXOU5WaWgzSEFTcGk1X2NjeWg3eHpjcU9SSXR6X25xaGE0ZDV2WEhaa0NlV3dleVhKRVc0LTVfY2MwallFUE9FY0c4b21CMkJ3dFZlUERQY0J1LUZwVnVfX2pZOXl5aXRrMmRGR041R1A2dm9jaFdWLTJ5Wk12QjZCVkZkN2NsbDhkMk9QVzN6NFY0M2pfenRDY2pTOTVmRnZSdzRGZHdjWXRmeW5lOGVWczUzQ1gyN0xQREZEd2hPZGphSWhYWmNyNWxEUmlTdHJCaEx6SnlUNzFWUFJWYlJqZjlGS3NrTUJIMGZGbms5eXF3aHozdnBKekNKanJwdGc1al81cUJpV0JmbmNYM2dTWHZHXzI3STZkb3NNUnhWOW1obmZFeWxVNHZMNXdhb2ZZeUY4YWhtdmdoWl85QnZoOWtxanRXZ2FvYUhKdW1iLUYtaExtWEpobnFUY09qY1lESzdObXhGOHliTkgycUN6VXpCQTZ0UERQLXpUR1V5RjBwSW10eUJ1Uk9BUGpPeXdaUDU5WG1VRWZRTzYzSGRoX1l0aFJJLUZjMHk5enFkVTE3TkE3b2hKVEsydWZrUjNPT21BZldtNWhwZnZSdWc3ZGNSSjgteTFVYUd3RGlEcENTNmpiaGJBYUpodGQyQVBmekMwNGZIMGkzU1ZEc2JDWnVvcnB0Wk83dEstUlJfUnI0MWlNb1NSWUMwaWpsNXRvbUNuUzdVRTVkMmw1MHowZ053N0N1MFJQWGZkdHVwRWRNWlFWaHZZeU1oU3V0N2Z2UWhwZzVwbks3SW81T0c3Vzd3ZnBvRDQ2Ykp2YXRzMzd4M0l5bzFkaW9nNmNnbUF1cTVibDBZRW1BRzFqcXZfazZjNnJDNS1tbURHRzFOVURnQUM5VGVHTm04cEhld3lPaFdqeWU4Nzc5Q0ZibjEwTS1veldGdGZta2h0NU5GckgtWC1WVGw1TzBTQ1U4Z2FkVmlEdUtUMWdHTUM1Q1Y4NDNLTXRLWFUtZDB5b2JiWmJWc2R0RldSTkZEWXdRR1VMMXliSGN0VFNmRlhuNG85NkY0eEM0SVdIWk54SEQ5ZXkxWUtEMW1WdC1xUGdWak9jbm1pNHdxNC1xdENMTGNWZzlXVUVNcERNQ3BUUUEteTVzYi1yVVk4eTRvNUlRR19MNGlZT2J4Mi1la1paOTR5TUZJOGtQYktxY2wzcXZ2S3hLMDNDVFA5REpTUHRQQS1JQ0RXSEdZNk5PNF9RNTk0NVBhTWh1VEotS004eExWemtEV2NVRXI5ZVlXQWRfb0RoWW4zOTZva0Z3ZkFub0psWjVNY0kzeWlLMWpzb0tFa1MwTFNuNG1hajBzZGRkTTFRTVYyTWR6SV9KVWRCZktGMWlnWE1tUjBNdXNpODFlaXJIREtQb3otdzgtSUlFMzFIUm5oeDJ6RWlOV19tOVF6U3N4cUpPU2MxdGE4WnpMZXpXTkRtZFRhM2VNUXJuQ21YWDl6QjZwLVpnSDBhUGlyZE1rYy1heXEzUHk2TmpVMUlxVTVhc3JMa0JXalY0YTlkdklHbkw1YVdYNWdzamNoTlZQY1kwN0ZmOURLNTlMMzVDaHJhYVd1cUllSXpyQl8xSUc0eGFGdFBWak9OeGFSRkNpbWk3eE93b0RHYldoOGJBMzhmaU5xNjdOc1MwckpIRlpPNGh3RFBHT3hRUmx2THUwZnozWTFfRWstWVpnQmtmSG00d2ZDd01wUFdmSk9zVFFLSERWaUJjQjdyamJrVHlvRlIyS3ZQb011YmNHQWNqcy1kRmdxY0tFOXdJaXIwTXFCbnpzZlNXYmlXSmpDNG1xdmN4MlJfaUdPNE5YUFFzSktrLVA3MFJsWnlNOC1ObmNvNnBsOVcxOUIxWEZfR2kxdGJFUTA0cU9RUUlzTFBXUWJSUG5GSnU0dFNIZGRoMm1fbW9yOW1EVHVNVnF4d2Y2SHlzRk5XX1ROX1c0bnZ4ME5fcUpESFlXYXpGa3JfTmphOUs0Y3cxdmlQTjFVUTdIdVo4Ti0tMnRHdkFEeDRhc3lMTTZ1YXlRSlg4ZlZXSjBKbGFwcU1YNHY3eHB0emtOb1FLbWpiaHdFaVRmTmpGOGZMMnJyMVBXSWVlZEJtN3BLcGhzd0c4ZFdFVXprUzdIbHczNThocG1zc2ZrZUIwczlhUDNKSVBpc0pMeTZ3ZXlvR2lMRFpFY3BNM1c3dTAxX3oyTEM0Vkp6Z2FXeHNGU1BFdjQ2UDJzdUdGdnd4NGdVVUNYZjhpejFwcWNuaWNZMGx4TjBXdUlYWWVQM1VLYWhRZU1iQWVwTW9waHBsMmw5alAzdTI5TGpZVVdSMm0xcGlMQmdSa1F1RWprLVA5aWN0SGI3Vzh5UXAxdVAxeGY2NGVNNzZsSk9mY2JOaGpSSXJTc2hpVkUzd3BrWGxkX1l4YThGQzcyMDNiM291SzVRNTJJbXlvYkJVa0twQzBRQjNSRW5zSzI1RlRmcVRJd2tiM05xako4bDRmd2w3RDZZU3ZrUWwwS2k0MV8tRGZvOF90SHAxR00yTzJNVXZVOHVBTXQ2VDVwX0hic0VDVFBJeWhYeE5YTFMzRzdTSkJoWVJWMjJSdnUtVWZrZ3VlMUs5eXBKM0RGNFU5Vk1uS1R1QXVLRTkyMDhmOVdRY2VfQWpaeHpiOEJ6bzBTVlNKLVlPdG9BSnlUMDhDdzJiN05QRjVMVTRkOXFEdFdydlMxSTVUUno5eGZfWlJNVEpKcVQtOWpoc2dsOHBPSmV6Y0oySTN6RUZFLU1wRHdoOFJpaDZMeEMwWWdFR2p4VEgzcG56MFAwSmhDYlUtVGtySHpMdnoxUnZIbnYtOGw4bUNRaUpPTGQzV2VlMWM2SWFKOEhjdFlMWWlKeUt2LXRpN3g3a2F0THp3SVg3U2Y5b1J5NHhKYmtzcGE3T19LZks4WDAtYkpQOGtWVktBMWFRd0xGRUFZT3gwa1lHWFpGa3FWWFIzelJvcWpXWkJ4SV9UM0o2eHFhQkVsQ1lHaEJGbl9EbjBCRi1BRVpQdTRzNFIyRXFFdmU3dWVkck9iclVRZkNUd3V4X3JORlJZRGdfRHBzcnRET3VnalRGeUNBVEJPbnc1blJicUJ2bExPVExIVzdhYlFSZVRndmZ5RE1zLXZseVotR3VMSkVYcmV5VHA0d0FjMUpvMHdrSHZRMm9xd1JZRk85Z05vZkp0cldfR1kzaXh1aDRPWWM5bmpwOGd5T3ZldHh5TW9uR3RFd2U4cEdjaTVVSG5BTTdoenhFWTR5cnFpT0RGMTdfU1ZhRldDQkx4dmVrU0JqWnFCbjRXZFhFZEtPT0Z2Y3FUZVB5WDlKeGJ1OE93clRXa1A5ZkpnOENPckhnRUhoTGZmczJYMXRrajZUUUQ5OTJrc0E5RWQyS28zNV9EOWJSTnp5THJhTkFLTEF0Qk9ZZGotMUZpTC03eWZFd2NXZXVUREtaRnJMY1BuNTB4VHN1cHJNcjRqRVNRYmtiTkFRU2tzMGszcHc2RXhSODJTallTbVZIcm5wY3dPNFFjNjR2MExjQWdvTzlGd2Q4SUNyNm5IMlMxY2tTMXBSaFNDYzlJZUlQa3BaeEQzclFaLXkwYVhQYTFtcnhobmdONThpdjdQdEN2a3dOWUNXLUF3MjZZbHlqTGFyRllmOC1QSWF1YlpNTGo4WmFUdUlDQ0tGMV84c3BvWmlicUlSRnpvY19jY1BxY1MyOXZqdlBiaWFiNFRUZngtWHZsZFBFcFhvMEc3MTNiOGw3ZWFJOVhWTGtXcXV1LV9TSkNOdWpfU0loWm9rVW0xU3BydjN4ZzVXaXZMVkZjM1ExamRJT2t5OGplUkdSZDNpTFcxMzZ3ZnZEc043dks1eFhZRkVET1gxRUtOcmR6WkVkMnUwcXpPeTdRRVNjaVRNLTU5NlZMV2pBVjhkV0RuT3FnVzR1TWNGR1NrN0pSSE5EZEhxVUZzR04yLVlUMlZXTnZNYnVTTVV0OURjQ3dmd0QzTFdnV0EzdmU1X0wtWkhraVp3bWxNX1JhQm5vT1lIV0J1ODhTR0l6OE9sMzRCQ0MxT1hOdGY1WjZkNnRTeW00V1JaS3AyMF80c2JDbVpQc1N0WWktMDVvMmhINVhURWxuTG1lVTl0LTVWTVV5Rk9xRG9SMHRwaDZuWmVqbDNDOUFUVDlUdF9vVldGWFl3VTRackh4V0ZjVEpfM1JxbWpZd3lXazdwdldNdjBKZ1padkRVUGZ2SUhuX0lvYTM0UjFaSjZ2ekRaenRNcVVJbkJGZWR6QmFIaTVocDRNdml6YV9WblVOR05RWFZvRVdLd0ZzWWtxRnNZSVJSMkt6T2RoWHlwU3lvb0hkU0xLdkxjZlRtRGlBaDlDRzFZenpqREFKWllka3pHUENqTzZNZnpwcTdfR1FWTmhFVzROX3Y1eW96NExVUlVLV0tGb2dhblpVVUVmQlM5MXMxUS1RZFN1bnpxX01tQjRCQ0R4MGVhc2FhRXJSbThVN1Z2a2Y4UUwzNW9xWmowRlFKejItU19rSWhnREZzYnh3MHdhRkFfRGNrMzNKRDBGekFCT1lQMTM2ck1ram41QUlfdEJrenJyeFQwVGpfZ3ZGdGNCeDdmNC12aWtzdk94RDFINk40M1BhRk9nZksta0VqRUkzbjV2YlpFbmZGUk8tZ1k0R1JEaWRxNGJnakU3Uk5oMHF6TDJXQzRSYnhVRFhhLTZBN2I2UFRtSkpjZWo0MHdNT3I0NGhQc25OZU96TVZOcDhpV0FBckNNelFPSDBfM3dCUjU5aExmV3VFVVN0YVd3cFNvMlRPSzlHeDdheVllR1E5SEV5NnM1dkZJTTc1MjRNUmZaXzE5Y2YzbU5helVLRkJEMVlaZnVfdFVoLTBwRFZHNnd0WFg1b0tpZXk4T0R3WGtJRjhFUnc0b0hxcUdPUERDa0xXdkRTa2hvWkNJSFhZV3RPdkthc0dZNDdHRUdjUlYxSjNRMEU5ZVdyT2V2Umc1VzIydGw3VXRGNXhZV2ZYclNSd2dJQ0NLN055RlJSV1BteWdBbklHRm9acUg4dkZGT2RUNnJWSE52OW9RY0xraUY1NTd3SlcxUmZPRnowbnRlU1UtdktrZ2dQV1psNXBfWldna29IbkF4SURSQlZHa3htX3FoNkRBRnhVcmtORDVVOU5PVXFlRWI1cWltU1R0d0RDeXotOUhrcXVSMnZxVy1zNFJuOXowMmh1QUVLNWJqYU0zN0VkREdVVXRSR2V6Wk1qY1dXS2w2b0drczRrdXhIMXVWRGNaTmxFdVpYX3RZalBKNThjdzhIR1NuX1JNeTJYcEhwcmhidm9tZFQ3ZHJQSEItVGVQX29meERKbU1vZjBwSnVUeXkyUXpYRkNVanYtUW1fOS1aemFGREhwNTlLZ1VtaTlGZW11V09BZEQtQ3NWTEhLNF90NzhWTUtoUmc3ZEN6eWFua0pUN053LXJfcVBzTzdlRzhzSm82c1JzOWdNdi1wTmtKV3QzanZRNXhUMG5zMHhZS3BRbm1fZHp5QUFwd0tvSHZneGlhUlVUTjlnVWxxOXM1X1lCSXM4UFdpUml5VXl5S0E4cW5jTWZDaVlQd3YwS3RMWDlkNFVBeWFsMDJyRFBvbkRLZHF6TWFpbmVsTHNISFJXdjdxLXRPcDFXWDhiY0o4T0s3V0NjeENJQmVZX3lVVE1wYWQtcVBRSndnT0twTXNJMjluSTBvbExGSEZsZ3RtclpCbHdlVUxMVmN6OW5mOURucWc1eGhTYTFzeU90MmZxWVRiNXI5NDN4UTlCbHk5b1pkRVg5bFBqVnh1VFlJY0dvODM1VWhZSU10ZWlEMDNkNHFMQlNWR0g5RmlfX2NRU2xKZ29GckN1cUtYVVlpalJKUkgxTzB0ZGlCYU9BLXloSFhWNUNZaUd6YjdjdkI3RGtWdTF5UzA4dEdqZktKelVFRFJOd1V5LVpjWDFYVjk4SW1TdHNqUjJnRW9kQzRRdFd0b3VpWkZ3MjZ1czBzeG5sOGt0eC13NVFzNnNhYTZCSUZvaVBET1lnUllJMXpnNlotdE40Xy1GUDNmcEQxUkNRMGJoZDdxelk5SlpVbU9WbnBSSS1OaHhDc0p5VTV3Ui1vcVRUam1PQzZyM2FRTGhjUGhnZFlMQ0h2Y3NYT0JMTTRkUlh4VU45SVhfb2p2LUhlcmhSUjQ1RG44emRoR0VMOGdKamN6OW9kU0JqcUE5TUFmb1d3eDQ5ZzJYVnlGZ19PSDU0cGY3bVI4SlVHSFZzOG8wMmloal9KYVlUSDg3b2dtYXNuVHNJbGRYYm5pVDhyaUlOYkdRR196OS0wWWkyRUVpZEF0TWNWSkZQY1E5RWJPTTlhcDJ3X0xKbjhURWRHQ1R1blg3NUJMS0xwckFwbUNMX1NzRVRpMFIxTDZKVUN2eW41MUNWcDVzVnNkeXdSaDN2SWxZMEZoQ2ZVOExsYWZaLUp2SVpqZV9LSDlRQXNlSVg5T2RkNGxQSm5vRmVlLVFkWGlpMjd4WkhsbmNRWURIRXBXWHlQaVdEZ01rQWZVRVVHWmhMWTBxMGpibktDM0ktTlY1QkVDa0xEdEo4dVZKVEJ1Y2dFb05PZktsMzlDdF9VODdSb1dsZXQ5bUNxTDJkbzRoYmFBTklNR01SdHlZQUlpTW4zamtqTjBENFhxdUwzSFlITnFJM2hlQzFPNGFOVDVKRG9IUWRWNWFLNHJXS1VMOFd2YjdrbmdCMHNJZkNGLV9IYU9uclNCMmdPUFAzNS03T3ltX0tVQlJZVVFFaWJPSzgySnloMmV6cGlpclBkdENpTHVNZjRENGltUFhxbk5iMklqc2ZoZDJIRUZycmsxanM3V2RZQUM4WGdqTWxYUUx2Q1NLVllqak1MdTA1ZS11U2VyUEh3MzR0VGNhSWc0SXp6TzNZVnFaQnQ4OGszY3pLc1Npb0F4NHd2OEtiN2NmMmxQakFWM2MwbmlicVlfZV9RRndSV3JNSkZNSnpaOXZSeHl0dDRyWUZrai1Mdlg0Ylh0U1pLNVFKSlcza1RycUtrcVpReERnVDc2d2lGbnpNZ1RhbHQyaHVKVGZKOVpaUXFkMFZxTFVGQVhVUzRLRjhBZFlIZl9kZktlY0tWcU5WS0cyb21LSHJvUC1RYUZtc0d2U3dyLTFtb0NMZlVYWmQzZ2cxQ0NicU9kY0U0cThHdHpGY3FEX25oUkx3Si1lbjNiUHJWYmFhTElDZTVvYVMzSFdtYnJPT0VhdldZWFFqTERvWHNla0pzRWRRclZOak1FRUR1emF2R3dkVUZTekhxcFFfckI2aWh1V3NxczdxLVk0OVB5ZlBfcm0xVVVXd3I1NkhXcEF3Y2ZYX0ZneTFsRHlwZ04wUERadTdmVDA0VC12VGk0MUExaG9xaGN2VXZyaThjeEkyV2E2Um9sMkhkSWtRRG1HQmxJbFJEVHIwQUpYbWZrUEk4THg0YjU0cVk3VlRVemJfdDJOZm5oc2hnOWgyamdYOGNDTU5LNzRlV0t2cUU1ZFF5ZnN5c1gzRTREN0hmOURjdFBDaVB6S1V4dlM5QjdQd3BmY3VvR1d0aTJvVjFOSDJsdFFMbFhDR0JBYkRfcGZDb3pTekY0QmxuQjNGWDJXNk4tUjF3ZlFrM2lDSkV3bGVjbUl3Z2tmUE5XVVd4R3lMb2o1alBQMkh4X1Y0MzgwN2lfZElFNDRqOWxFcW9rTnphdGNodGVWTHdkbUdpd05Peks3Xzl4cUdMaU5mbU9oUVZ5N2swd0IzZXhHamd6OEotXzl2cVBpeU9ENU9XVE5RbjdiOHp5UGl5ZkkzOVpQT0V5ck8yaWlUNDVVR2J2blZIRXJWc202UFdEdHNmczR3bDZiNXJkaWc0ZlluWkZFX0MtanRfcXRKdnFwRmUtX1ZXWF9xQlhjRC1XQ2FyX2JWTkw4ZFVvOWs3cFN0TjdUd1ZpdExKanpyT1hhdzJXVWVIa2hRbk00aGtCRzE3Yy1mVDZBM294bnZFU1daVmtZWkRHbEFYWU5PX21IbzFSUWdxM1R2Q28yNmdtUEZhS2FXcDZmcWhBMmQtT2prSzJLdElrdnNMd1ZsT2FSam1CekhXSVZXS2xrZDJqN3A5NzZHMnR2MHl1UnVrWTBpMzNJRHJzQ2hoOWI1aEV5QjcwN3pEMXFwbVF3TUtlMW8zSVllZ1lpUkZEUjRES2ZXU293QTFDdWZOVkJ1ei0wNWd6UFVlSV80aWdfY2Fpd2JDUDFyNExrMEFBN0puajFhZGI5TUVPMmY4amczV0NuWmVKMGtBaEt4UmN6d2p3cTBmbHotbjFCUlRrRXNDdDNYSm4tTzZNLUZFRldkQmM0bHF2LTBWeThLaUFHVlRGaGdYZmhzM2JFblNBTXNKdGJCYTN6cTNFVVc1QjhXaUphTXdSVktXZDdSWVFDQ1dpWThibnJDVkkzaWJ4RmlRN2xhT2paM0d5UVpRZy02cVBmN3dlaEYzOWUyc1g1aWVFemM4bTJNbkVsa2hzMlZISUNPcWZIb002X3NieVhMSHlTMHQwRnVYSzJMSDRuR0xIY3hUVk5xX1VaeTRjXzFBVS1yOEpCdFEwQ2hyVDV2TENEdC1odi1KZEYyS2lnaTVxbG54c3BvcFhCOGE1bnd1TnB3VzQxRm5KN0Z6MzhtaW9jMjFIQnZuWWNYMDhvRkliNjZPQkw0T05VRHFlMUtURlEtMFBRLkZvb2Z5WDdKOHFETkN6bkdPclphNkgzRm9XQXJPeTYzbWpwaW54bFVOQUE\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "10443", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1eced0e5-002c-4d7e-be85-64864cde91a9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "741228c9-c243-4e20-8979-1fffe8935822", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-\",\"deletedDate\":1619648686,\"scheduledPurgeDate\":1620253486,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/312de03ad301469bad13cc93e8a50b9b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ntEhhbJ_PUi2rtwUnDKJIa78Op6sh2U5JyN8clf5_-1CbLjnMjReFUM5mI8I3_4jddd155PyJotRbvluUY-UAXOJJVivJBqiYfXRdtxcOCPkIOIXcrU3y2ixotoVUvK5CquB3oBKd7eKZ0lDUi0P7JrewrnyfjjuUm0XxaxWASPchVx3ebiX0ih0Vdwin2jjjPrGSCjVSUanMDd_ouNz533-gML7f-50FlNvRLPbb-EIc4xuXdlJ9ug2PcGHzJX6C56Z7kLjfVJvTjWgrIrRxi1Wry-HMrvlljpDGskAn5jCJLN_GGKGmodI8GA46Ufd1XzwA0MBRKUlnFGmp5w0eQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648686,\"updated\":1619648686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "919", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d0e09ec6-e7d8-426a-bc97-c433bccb3a4e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4304dc82-66e2-4c0a-a5eb-217b57e27b16", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4dfd2188-711c-4285-a585-c38c811e26d7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3e7221ed-09ff-4cf6-8e19-e3fe560415a9", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9ec4bfa8-ded5-44cd-8730-2b1c06c50315", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "126823a1-5356-4159-9667-1889e31ccc6e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8a48b7d2-2227-441e-9708-ad572e59330e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c775369c-6eeb-4a1a-8bee-d469d4044534", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:50 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2c72b2e4-a7c9-40ce-b347-88ef64f469e6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "17b49dc4-1e27-4ad5-abfe-fbb8f8b3d167", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5bccf1a7-6aeb-408a-821a-5c2f31ccc3b9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dd682437-71df-4290-b4c3-3d4d14d76ac7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:55 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d0705a65-8a26-487d-bfa5-77c52ac6d6bc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "15578d23-a156-47b7-aa66-03971c859160", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6e308520-ed44-42ae-89cb-2888ea662002", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "03e0cdb3-c099-4408-8441-76583744e1a5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "adb0a2b5-3c6d-4e12-873e-1d263c27b524", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c869060e-230e-490e-a5de-3b224da34ef4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "08d945fb-e070-458b-8e84-2130c7a40eaa", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d47eb9d1-05ff-4d60-bfb2-b4f530ad7334", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f45f8499-bbe6-43c9-bb8b-cc0bbda49d3e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "629adea0-98f1-4576-8592-e0508d6b6e01", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "94cd3716-63d7-4f33-bab9-239cd6179129", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5e97205e-dc8e-4c53-b55f-92c98ad554bd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c5aa25db-e49c-4278-9134-c11737752f34", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "769e9758-e4f0-44f2-9dca-3825ef51081d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d22fd446-c71f-4a89-9ab3-6692ac5566e2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b9343de8-2128-4c9a-9d07-613bd083956f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3951d7a5-5a95-497a-bb79-43270d204dd0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3e69999b-ddb6-491f-b716-42d7e01330ff", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:13 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9e8f4895-17be-4a33-90b5-b7a75671e2d8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "787566e0-d412-4818-ae00-43cf58d5e188", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:15 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e36bb334-2eda-4878-983a-5cbe20b8e5d5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cd209fcc-f52c-4cfe-a8b3-9e6b3cf7cde5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:17 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "40e54b99-9a9d-4b1f-b2f1-a157b4153517", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c5f9730e-27f0-48bf-9247-0db21b7d6218", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7679bdd3-b91c-4574-95fc-80f953fb0229", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5981808a-8bc1-47fd-b7f3-e5cec74cd460", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-cangenerateabackupofakey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "130", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "798288f7-af3b-463d-b477-55264879d262", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fbb6df55-5c40-4b9d-8b34-0ee319419b50", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-\",\"deletedDate\":1619648686,\"scheduledPurgeDate\":1620253486,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-cangenerateabackupofakey-/312de03ad301469bad13cc93e8a50b9b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"ntEhhbJ_PUi2rtwUnDKJIa78Op6sh2U5JyN8clf5_-1CbLjnMjReFUM5mI8I3_4jddd155PyJotRbvluUY-UAXOJJVivJBqiYfXRdtxcOCPkIOIXcrU3y2ixotoVUvK5CquB3oBKd7eKZ0lDUi0P7JrewrnyfjjuUm0XxaxWASPchVx3ebiX0ih0Vdwin2jjjPrGSCjVSUanMDd_ouNz533-gML7f-50FlNvRLPbb-EIc4xuXdlJ9ug2PcGHzJX6C56Z7kLjfVJvTjWgrIrRxi1Wry-HMrvlljpDGskAn5jCJLN_GGKGmodI8GA46Ufd1XzwA0MBRKUlnFGmp5w0eQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648686,\"updated\":1619648686,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "919", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1f128848-7771-4bf8-b207-a63ba2b0e95e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c0c3a2b4-e321-4506-a976-00356309dedb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-cangenerateabackupofakey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:25:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4d7cc733-e549-4a5f-8c04-f199bb62df86", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "802cbf62-a820-4fcc-9910-62a25d0ed9a7", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "63b865fc060254efc9635b78a6559082" -} \ No newline at end of file + "hash": "63b865fc060254efc9635b78a6559082" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_recover_a_deleted_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_recover_a_deleted_key.json index ac2ffe9afdad..5a8782b8abb0 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_recover_a_deleted_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_recover_a_deleted_key.json @@ -1,1112 +1,1112 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "562156dc-3654-4c1f-ae38-83436229bd4c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "99fca579-aaff-41b2-aa98-8be78729fca1", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "562156dc-3654-4c1f-ae38-83436229bd4c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "99fca579-aaff-41b2-aa98-8be78729fca1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:48 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", + "x-ms-request-id": "d274ca67-cd3f-47bd-9641-f14f48e43b01" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "735", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "562156dc-3654-4c1f-ae38-83436229bd4c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7d756c84-8f45-4640-ad7d-e93777ea6569", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-\",\"deletedDate\":1619648629,\"scheduledPurgeDate\":1620253429,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "915", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cd70699c-0f73-4ae5-ab7a-f690ac242de2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "56d002b7-ffbf-4c73-9dd1-31e91cc3b027", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c345966e-bd07-49c9-bd66-7a7a51a90973", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2949c600-a4b4-476f-b695-5e63d69910a2", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:49 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "019bd997-cb62-4966-961f-0318605e25a5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7ccfbab8-5d4b-42fd-b119-604d01dfa66d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:51 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5355afe6-6d5b-4e4a-beb0-18522766e9e9", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ae825dd5-6691-404d-a3a1-695184244873", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3c955a02-3e34-4dfd-8a6e-2b6bee0fc1bd", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "928b66cb-298a-4988-bd22-b56b681eed44", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:54 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6590c439-589a-4afa-8804-6db2c65620cb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "778a100d-d05e-46cb-bddc-d9bf477941ef", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:57 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4bb3e803-83d4-4e6c-a8aa-86533df85e61", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a3bfce37-a0f2-46b0-9d83-1b6766989581", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:23:59 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5f6df722-70db-4d61-b18f-e2a2eadec9a8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e8ccab62-d414-4137-9728-dd7fb8361a46", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:01 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "031e4548-bf73-4d42-af88-689380914183", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6a6de12f-be96-4b6c-9dc3-90c23077c703", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "471660e0-2d68-493b-85c4-a068c709fd7b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1293a8f5-836c-4385-8b92-aee8a930dd64", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-\",\"deletedDate\":1619648629,\"scheduledPurgeDate\":1620253429,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "915", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1e467eb0-317d-4395-b837-77c263009a91", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "037f94bb-80ca-41b0-bc66-3bf741995edd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e0465c65-facf-4798-b282-e21c63ca256c", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3c96d43a-751a-4e2b-8363-a86c889bb503", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-/recover", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "735", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ad7f7747-9ff6-431d-8523-fca9708b3152", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "6f2a8fb1-f8cb-4b18-9ee0-4f48d309ab73", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c51ff253-b8b5-4400-b48b-bf3a325fd6d0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7017be50-26d1-4bef-9259-da76ed350f2c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "efb3f546-58b5-4aea-8a75-589383cd8f25", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "bd65ea52-370f-4ae0-ab44-550ad244e496", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:08 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "29c9baa4-5711-41b7-b12f-2d182ed4ab70", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c67ca0e6-0701-4cc1-ba06-b204b0588167", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:10 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "02320bcf-0852-44ec-863e-9186133a5634", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "7a8e8d6f-cee4-4276-be98-0f2f88e688eb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:12 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e382e8aa-ab82-4569-87e0-e4eb056d1469", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "82101f36-0731-472a-8af2-734e2bd28370", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e2b61aed-da58-4237-8399-38758cf43f24", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "69ffb37a-af09-4c7d-9e28-a21d4b37f981", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9b7c5ddb-a98e-45e6-8b87-7384b0559b5b", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ba925d6e-1c95-402e-958b-180604f225a5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9dff6889-0fed-488c-8fd6-914c53a1b79d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1a021237-029f-4cc6-b073-724da7afefb5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:21 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "6e495620-89b2-4a26-881c-99e6fdba214d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b00990c1-9d49-4c6f-bf22-8102de62fc77", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:23 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "00bdf0c7-9fbf-4d41-a825-ac87c2dc962d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fcc97047-338e-40f8-990a-98296fe99d3f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1976b16a-120e-4bef-aae4-029087d41671", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "056905e3-d3df-4ba4-bd73-799cd2519ed3", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:27 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2403257c-67e5-4e74-9524-c9d9d1d05c6a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "114831b3-6046-4866-bdc8-12bd91e12c0a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "348", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:29 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7970ffe0-6655-403b-9c98-c49cc66ad4d8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a609e469-3ad9-438c-8cd2-599cb746d545", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "735", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9def2d97-fa1d-498a-b0b6-698d0bd92ee3", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fbe3894b-bf14-4d5c-bcc9-bae4089ab04c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "735", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "e9ad1cba-8ebe-4f4b-aee5-df92d2176e4e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c39a41bc-0799-4965-94c1-9c9d53cedc58", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-\",\"deletedDate\":1619648672,\"scheduledPurgeDate\":1620253472,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "915", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "85ed4eb8-1c2d-49ae-b3aa-01f2505b61c7", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4ab2676b-9c1a-4b79-bad4-b8766b1b3874", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "202ae572-ce68-40fa-b703-16fbd3d19416", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4ac3febd-9e50-40d2-b154-cebda263418a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:31 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "eeada30b-acc1-47f3-9d73-c077a3981994", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "59a54084-0c5c-4598-a990-c37e89406ffb", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:33 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9a78d613-852f-41ba-93e6-034bbe25c2c1", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c680ec1b-a75d-4e3f-98cd-bb0ae0f09785", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:35 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8beeb1e5-68d3-42e0-b691-4e5ae2fd2860", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dd1bf039-4dfd-4c7d-9a8f-de732c8a0d92", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cbd66715-8b3c-4a04-8cd4-faa5f58928ce", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dfeeb05e-63fd-4933-a8b4-06943eb28420", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cfda17ca-3c89-4d9a-8a4f-d3c27a028a82", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "02f9d3bb-190f-4062-8325-61a3b2c89c83", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "128", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "99fc444a-4a59-45e1-8eec-4e5f40377292", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d9aa2e9d-5c64-4908-8414-b6b4114fdc4f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-\",\"deletedDate\":1619648672,\"scheduledPurgeDate\":1620253472,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "915", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "954bd4d9-77ec-4a3e-a9e4-ac03751c96b4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a5d8cc43-7326-440f-a2ee-4b05d5e17b8f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:24:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "1357bd68-19e2-4007-a595-f6cdac999081", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "8e6aaade-e001-41b2-a660-463bd847fb48", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:48 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - SCUS ProdSlices", - "x-ms-request-id": "d274ca67-cd3f-47bd-9641-f14f48e43b01" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "735", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "562156dc-3654-4c1f-ae38-83436229bd4c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7d756c84-8f45-4640-ad7d-e93777ea6569", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-\",\"deletedDate\":1619648629,\"scheduledPurgeDate\":1620253429,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "915", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cd70699c-0f73-4ae5-ab7a-f690ac242de2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "56d002b7-ffbf-4c73-9dd1-31e91cc3b027", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c345966e-bd07-49c9-bd66-7a7a51a90973", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2949c600-a4b4-476f-b695-5e63d69910a2", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:49 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "019bd997-cb62-4966-961f-0318605e25a5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7ccfbab8-5d4b-42fd-b119-604d01dfa66d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:51 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5355afe6-6d5b-4e4a-beb0-18522766e9e9", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ae825dd5-6691-404d-a3a1-695184244873", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3c955a02-3e34-4dfd-8a6e-2b6bee0fc1bd", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "928b66cb-298a-4988-bd22-b56b681eed44", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:54 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6590c439-589a-4afa-8804-6db2c65620cb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "778a100d-d05e-46cb-bddc-d9bf477941ef", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:57 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4bb3e803-83d4-4e6c-a8aa-86533df85e61", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a3bfce37-a0f2-46b0-9d83-1b6766989581", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:23:59 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5f6df722-70db-4d61-b18f-e2a2eadec9a8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e8ccab62-d414-4137-9728-dd7fb8361a46", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:01 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "031e4548-bf73-4d42-af88-689380914183", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6a6de12f-be96-4b6c-9dc3-90c23077c703", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "471660e0-2d68-493b-85c4-a068c709fd7b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1293a8f5-836c-4385-8b92-aee8a930dd64", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-\",\"deletedDate\":1619648629,\"scheduledPurgeDate\":1620253429,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "915", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1e467eb0-317d-4395-b837-77c263009a91", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "037f94bb-80ca-41b0-bc66-3bf741995edd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e0465c65-facf-4798-b282-e21c63ca256c", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3c96d43a-751a-4e2b-8363-a86c889bb503", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-/recover", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "735", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ad7f7747-9ff6-431d-8523-fca9708b3152", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "6f2a8fb1-f8cb-4b18-9ee0-4f48d309ab73", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c51ff253-b8b5-4400-b48b-bf3a325fd6d0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7017be50-26d1-4bef-9259-da76ed350f2c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "efb3f546-58b5-4aea-8a75-589383cd8f25", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "bd65ea52-370f-4ae0-ab44-550ad244e496", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:08 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "29c9baa4-5711-41b7-b12f-2d182ed4ab70", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c67ca0e6-0701-4cc1-ba06-b204b0588167", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:10 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "02320bcf-0852-44ec-863e-9186133a5634", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "7a8e8d6f-cee4-4276-be98-0f2f88e688eb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:12 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e382e8aa-ab82-4569-87e0-e4eb056d1469", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "82101f36-0731-472a-8af2-734e2bd28370", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e2b61aed-da58-4237-8399-38758cf43f24", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "69ffb37a-af09-4c7d-9e28-a21d4b37f981", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9b7c5ddb-a98e-45e6-8b87-7384b0559b5b", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ba925d6e-1c95-402e-958b-180604f225a5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9dff6889-0fed-488c-8fd6-914c53a1b79d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1a021237-029f-4cc6-b073-724da7afefb5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:21 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "6e495620-89b2-4a26-881c-99e6fdba214d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b00990c1-9d49-4c6f-bf22-8102de62fc77", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:23 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "00bdf0c7-9fbf-4d41-a825-ac87c2dc962d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fcc97047-338e-40f8-990a-98296fe99d3f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1976b16a-120e-4bef-aae4-029087d41671", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "056905e3-d3df-4ba4-bd73-799cd2519ed3", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:27 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2403257c-67e5-4e74-9524-c9d9d1d05c6a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "114831b3-6046-4866-bdc8-12bd91e12c0a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-canrecoveradeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "348", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:29 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7970ffe0-6655-403b-9c98-c49cc66ad4d8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a609e469-3ad9-438c-8cd2-599cb746d545", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "735", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9def2d97-fa1d-498a-b0b6-698d0bd92ee3", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fbe3894b-bf14-4d5c-bcc9-bae4089ab04c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "735", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "e9ad1cba-8ebe-4f4b-aee5-df92d2176e4e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c39a41bc-0799-4965-94c1-9c9d53cedc58", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-\",\"deletedDate\":1619648672,\"scheduledPurgeDate\":1620253472,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "915", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "85ed4eb8-1c2d-49ae-b3aa-01f2505b61c7", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4ab2676b-9c1a-4b79-bad4-b8766b1b3874", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "202ae572-ce68-40fa-b703-16fbd3d19416", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4ac3febd-9e50-40d2-b154-cebda263418a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:31 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "eeada30b-acc1-47f3-9d73-c077a3981994", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "59a54084-0c5c-4598-a990-c37e89406ffb", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:33 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9a78d613-852f-41ba-93e6-034bbe25c2c1", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c680ec1b-a75d-4e3f-98cd-bb0ae0f09785", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:35 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8beeb1e5-68d3-42e0-b691-4e5ae2fd2860", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dd1bf039-4dfd-4c7d-9a8f-de732c8a0d92", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cbd66715-8b3c-4a04-8cd4-faa5f58928ce", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dfeeb05e-63fd-4933-a8b4-06943eb28420", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cfda17ca-3c89-4d9a-8a4f-d3c27a028a82", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "02f9d3bb-190f-4062-8325-61a3b2c89c83", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrecoveradeletedkey-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "128", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "99fc444a-4a59-45e1-8eec-4e5f40377292", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d9aa2e9d-5c64-4908-8414-b6b4114fdc4f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-\",\"deletedDate\":1619648672,\"scheduledPurgeDate\":1620253472,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrecoveradeletedkey-/7c8e0317e80f491fa55907cd0b3fae64\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"9rEPx4OGGcEcvmGZiujH-S2uxEkIxjVYmqEohlViooayyQYoUkV9ppDpka_qudXvbQBFda3k7ZWpcth8BEhwRjDWIcdUCakLjPi0SMb7dUh4KAlh1S9XGj-DGanaKVkAQKKkKLbx8PdiU77S6kzEPP0EAFI2ZiRDsPFQVHPBQdGX8sGrj2yPDH1ygIwOkhsA3EOzEG-AC2pqRR4F_V-3-5vvOdqyi8mZaYkHmaq02SFB_3TUHeXiOeTSeF1EN8Ekb5y30VEWLECLX8nvDNLl71Ch3kf0ZwaDZw1pUwtmqcQLgBJ3PtWdzxXHttGZU-6OdI4v6Of_LSsCBoS8NX5cVQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648628,\"updated\":1619648628,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "915", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "954bd4d9-77ec-4a3e-a9e4-ac03751c96b4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a5d8cc43-7326-440f-a2ee-4b05d5e17b8f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrecoveradeletedkey-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:24:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "1357bd68-19e2-4007-a595-f6cdac999081", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "8e6aaade-e001-41b2-a660-463bd847fb48", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "74c6eddae33029a6d92ee9e504faafe6" -} \ No newline at end of file + "hash": "74c6eddae33029a6d92ee9e504faafe6" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_restore_a_key_with_a_given_backup.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_restore_a_key_with_a_given_backup.json index 95321146a35c..7296ad5649fd 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_restore_a_key_with_a_given_backup.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_can_restore_a_key_with_a_given_backup.json @@ -1,1083 +1,1083 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "99a75f10-df36-4059-a711-bd693842fa6e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "22b6fcc6-c305-4bdf-b3c4-84e7ff1cd8d4", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "99a75f10-df36-4059-a711-bd693842fa6e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "22b6fcc6-c305-4bdf-b3c4-84e7ff1cd8d4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:24 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "fad01bb3-1fca-476e-b746-39e3c3167100" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/create", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"kty\":\"RSA\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "743", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "99a75f10-df36-4059-a711-bd693842fa6e", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c5293834-89a1-4855-9867-8b7b5e75538c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/backup", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "10471", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d722a30e-7166-4b77-ac8b-d10da0d0cd51", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "13c9f757-cfa5-4034-aca3-9f349e36f94d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-\",\"deletedDate\":1619648725,\"scheduledPurgeDate\":1620253525,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "931", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d825075e-87d5-4ed1-b6e9-f51a1c283ff4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9f865f03-d1d6-43a6-84e3-f3fabd1ce26a", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "47309e6e-046d-4cce-950e-4db9197259a6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d0c10c91-ab19-4528-889c-6f7e634a9500", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:26 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "f29f925e-6b4c-475f-a7df-7e84595d76a8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9f8cb011-8694-4bff-b2d0-d6f6b8ac846d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:28 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5d5666b1-fc77-4316-8a55-c741c6150a3d", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ce055ff3-57b2-4ecb-a4a5-1b98b63bc25c", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:30 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "bbd9e2d3-33c9-4bb3-a821-10a921564444", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b01d7471-367e-49bc-ac8e-6818410e7164", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:32 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "9a92098f-b039-4256-bb1c-024c1ad7eaa4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a3201081-2694-45d0-9811-dd0d39242bfe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:34 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d9c17e4f-0698-4f35-b6ec-9b36faf73eb5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c3b706bb-41af-4b7f-a84a-927cd1846d39", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:36 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "159c667d-1baf-46be-ab15-6c96a01339bb", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a3841b95-0a34-42b3-8743-100567df6cd6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:38 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "36ebf897-67d1-4756-a2c6-9863f99ea6e8", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b61af0f7-f574-4a38-b476-2df62e677743", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:40 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "26c9f835-3b7c-4ba4-a341-b5ed85772517", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "a915f95f-b580-498d-95cf-c049eafd62cd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-\",\"deletedDate\":1619648725,\"scheduledPurgeDate\":1620253525,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "931", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:42 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d441eefd-1472-4fe4-80c9-b02ffddbea59", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "cd6742bd-b131-4f7e-b9ed-5b298e4855dc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:25:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "fbc05c60-69fd-4763-8573-cd557b7e22ee", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "31523367-9a04-46e4-af2e-d2a7f5e448b6", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "status": 409, + "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "661", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "409", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "44f94d1c-6a5f-4bc8-9dfb-c5a22de23946", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "f43da90f-8bc0-4780-a9a3-953aeca447a5", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "status": 409, + "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "661", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:43 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "409", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "eda99da9-df70-4730-a502-58ece47551c5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "321a41f3-ee98-4df1-bc48-48f23d4e7f37", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "status": 409, + "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "661", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:45 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "409", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "c4de887c-1c9c-4f7f-99eb-47539f6231ef", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "37f7673a-89c6-4090-aac9-969801807d3f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "status": 409, + "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "661", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:47 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "409", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "03eac2a4-7f4b-47a1-8694-4adaad7eb3ff", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2516374b-d909-4c89-8a88-af2b61222e7f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "status": 409, + "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "661", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:48 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "409", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "22e50000-5ea9-429c-a731-68595f105112", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "9d9b39af-ab2f-4150-b9b1-727c931b6238", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "status": 409, + "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "661", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:52 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "409", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "3ca1522c-53fd-4255-a6c3-a49d8d189b03", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5385af09-83c9-45b6-b5c8-a044a2b9959f", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "status": 409, + "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "661", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:53 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "409", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "aee68f3b-1144-4869-a118-87e140468123", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "e1c4502a-17c3-4e51-b0ce-2097a6e86992", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", + "status": 200, + "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "743", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "5ba9a06c-0280-461c-b554-bd7e247043e6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "758da4d3-02f3-417d-983b-2b2178d0025e", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-\",\"deletedDate\":1619648756,\"scheduledPurgeDate\":1620253556,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "931", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4f837339-3158-4b05-bfb8-363a2dbe9136", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "13d51c37-7618-49d6-b422-388e353e727d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4c04ca3a-fbca-4b2a-91be-cbdd00a6aae6", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4aae695e-9447-48d2-ad2c-faa02ce7aaf4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:56 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "07fbc414-e767-4f28-8127-1bd02e6ee127", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "06e7634d-8095-4398-b296-187f1e0709a7", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:58 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "75944049-97f5-46ce-9400-22fa46932e35", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "2dd3ece6-d249-473a-a760-1591dc6964e1", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:00 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "cf4b13e3-c314-4855-9d47-0c32895f2d62", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "4dbfdf2d-43c7-40bc-991f-d15ae3285077", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:03 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "d6c2f4cb-1301-4c22-b016-2b3dc7f26201", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "50b1107d-1d66-42d2-870b-408f1d0fbafe", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:05 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "98150d88-e70f-4384-93e0-17effbb7fcf5", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fa759992-0701-4e1f-ae99-1e21dc91a7c0", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:07 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "55feced0-98e1-49e3-bf06-e07f1397eeb2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "ccb5686f-6c46-47bf-87b0-ef9731d33eb4", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:09 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "8b9de299-8c4a-422d-90be-cf891efbb0bc", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "b871b140-4c1b-4495-b168-2f57775b6514", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:11 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "4aa9097f-bfed-4e31-b018-7301cf9c6018", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "24077230-5383-471d-a825-ba5b3c156302", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:14 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "aa977dbb-fdab-48fc-9e3a-70d0ef56b9c4", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d2494cda-c006-41ca-a2e8-6ba8376696fd", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:16 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "2f21ad26-d302-448f-bf67-90f1c8296c16", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "616013c9-fb4d-45be-8f35-566196fb4b75", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:18 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "08d0fe32-8e24-4c05-97aa-a0aea7692aa2", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "83b27cdf-59da-4676-9a97-6acc70e18402", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "136", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:20 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "ac1f4840-983a-4be1-ad35-980e5bb3ef69", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "d831e832-660f-40e7-919d-c5c1d1e5ce9b", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 200, + "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-\",\"deletedDate\":1619648756,\"scheduledPurgeDate\":1620253556,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "931", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "200", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "a1c2076e-feb5-4a17-9880-e1d83b52350a", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "fb30fc64-3e49-498e-8af3-851322294134", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "DELETE", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "cache-control": "no-cache", + "date": "Wed, 28 Apr 2021 22:26:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "204", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "37ab8e10-d2ee-495d-a988-7db509840ad0", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "43e06eff-03d5-4fd0-8ca7-e317e2573424", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:24 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "fad01bb3-1fca-476e-b746-39e3c3167100" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/create", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"kty\":\"RSA\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "743", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "99a75f10-df36-4059-a711-bd693842fa6e", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c5293834-89a1-4855-9867-8b7b5e75538c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/backup", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "10471", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d722a30e-7166-4b77-ac8b-d10da0d0cd51", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "13c9f757-cfa5-4034-aca3-9f349e36f94d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-\",\"deletedDate\":1619648725,\"scheduledPurgeDate\":1620253525,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "931", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d825075e-87d5-4ed1-b6e9-f51a1c283ff4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9f865f03-d1d6-43a6-84e3-f3fabd1ce26a", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "47309e6e-046d-4cce-950e-4db9197259a6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d0c10c91-ab19-4528-889c-6f7e634a9500", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:26 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "f29f925e-6b4c-475f-a7df-7e84595d76a8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9f8cb011-8694-4bff-b2d0-d6f6b8ac846d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:28 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5d5666b1-fc77-4316-8a55-c741c6150a3d", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ce055ff3-57b2-4ecb-a4a5-1b98b63bc25c", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:30 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "bbd9e2d3-33c9-4bb3-a821-10a921564444", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b01d7471-367e-49bc-ac8e-6818410e7164", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:32 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "9a92098f-b039-4256-bb1c-024c1ad7eaa4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a3201081-2694-45d0-9811-dd0d39242bfe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:34 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d9c17e4f-0698-4f35-b6ec-9b36faf73eb5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c3b706bb-41af-4b7f-a84a-927cd1846d39", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:36 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "159c667d-1baf-46be-ab15-6c96a01339bb", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a3841b95-0a34-42b3-8743-100567df6cd6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:38 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "36ebf897-67d1-4756-a2c6-9863f99ea6e8", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b61af0f7-f574-4a38-b476-2df62e677743", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:40 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "26c9f835-3b7c-4ba4-a341-b5ed85772517", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "a915f95f-b580-498d-95cf-c049eafd62cd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-\",\"deletedDate\":1619648725,\"scheduledPurgeDate\":1620253525,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "931", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:42 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d441eefd-1472-4fe4-80c9-b02ffddbea59", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "cd6742bd-b131-4f7e-b9ed-5b298e4855dc", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:25:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "fbc05c60-69fd-4763-8573-cd557b7e22ee", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "31523367-9a04-46e4-af2e-d2a7f5e448b6", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "status": 409, - "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "661", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "409", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "44f94d1c-6a5f-4bc8-9dfb-c5a22de23946", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "f43da90f-8bc0-4780-a9a3-953aeca447a5", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "status": 409, - "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "661", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:43 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "409", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "eda99da9-df70-4730-a502-58ece47551c5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "321a41f3-ee98-4df1-bc48-48f23d4e7f37", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "status": 409, - "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "661", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:45 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "409", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "c4de887c-1c9c-4f7f-99eb-47539f6231ef", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "37f7673a-89c6-4090-aac9-969801807d3f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "status": 409, - "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "661", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:47 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "409", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "03eac2a4-7f4b-47a1-8694-4adaad7eb3ff", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2516374b-d909-4c89-8a88-af2b61222e7f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "status": 409, - "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "661", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:48 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "409", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "22e50000-5ea9-429c-a731-68595f105112", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "9d9b39af-ab2f-4150-b9b1-727c931b6238", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "status": 409, - "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "661", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:52 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "409", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "3ca1522c-53fd-4255-a6c3-a49d8d189b03", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5385af09-83c9-45b6-b5c8-a044a2b9959f", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "status": 409, - "response": "{\"error\":{\"code\":\"Conflict\",\"message\":\"There was a conflict restoring the key 'https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011'. This can happen if either: a second key with the same name was created after the first key was deleted; thus trying to restore a key whose name is already in use. To fix this, rename the second key to something else so that the restore works. The second probable cause of this exception is when multiple operations are performed in parallel against the key. To avoid this error, perform operations against a key in a sequential manner.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "661", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:53 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "409", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "aee68f3b-1144-4869-a118-87e140468123", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "e1c4502a-17c3-4e51-b0ce-2097a6e86992", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"JkF6dXJlS2V5VmF1bHRLZXlCYWNrdXBWMS5taWNyb3NvZnQuY29tZXlKcmFXUWlPaUl5WVdabU5tRmhNUzAzTm1Ka0xUUTBZVGN0WVRjek5DMDJaalZoWkRCaU5XRTRPVGdpTENKaGJHY2lPaUpTVTBFdFQwRkZVQzB5TlRZaUxDSmxibU1pT2lKQk1qVTJRMEpETFVoVE5URXlJbjAuY2lEMjFBc2YzaFZwVjc4dVFMV1RsUzdxZ1c5Wkp2UWhWZ3lGbzF2Y3Z5enZGdDFTUnlJVXdCekI5OTJsOVNhUF90REdXbEx6QURXTjFicFJweVp2STlBeHlIdEFkTWRxSTB0eGhLdHhGMmNOXzEtUGRVYUt4MWowRllKb3Mybm5UcjEwMnN6VGR1ZTdHY1dnb1BUTHRuc3llcVhCdkdVSGcyVnZOdjh0V1JQQV9WTjRKWWtfS2pqdGc0WmF0VW0tUk81VnNPZW13RXBaNU9NVndjRG8yTkd2emdVVkFERGtvc3dSYzZ3RVlxU0NHbkEzWkxtVnlJRVczcjZYd1Z3SWx2TkJhZUxGOXY0Ml8ycjUtc3VneDA0WUlZRnc4a0tSZEp5OUI0ZU9KXzRHa0stZm50X3Y4UFFlTEdGaVlkRkFZUVc2Q1pkVEh6akZFRG9QaWphYWx3LmxCRHNtSWt6MU1fMEpfMGdCakMxLWcuajNYZVQ5TlM5LVAyWjhPQTFlUW5TSEhvem01N0czaXhYeHRGWUtBU05WSTM1cFBPbUswdEVJMzltY0FRLUZtRGV4cVdWbUw3QWxYWUk1M3ZTaXEzWGtOMG5PLWdvSkhsdXNXM3BVemthRG9PWlNxY25QV0FxVXFwZi1zZVZCdkJqMXRBb2dsa2dTZ2psbUk0UlQwVFJJbkYzaEhXd3BIQVRzbWd6WnMxMVlpdlZ4RTlpbTkzNXplQVdaRXFRRFlncGJNZDdLdDN6ZlpJLTN4M05YelpZXzQ0NUptNGd0bzdLTDNEbENIbFpSU0lnZnhQc3Q3VW1RWC1FNk5oWklNWUlfMzNRNkdtTFBVNTk0QVozaERBcWlZXzFQeFdqdV9KY3dWcVdqLVE1TjVqWk5sYmo3UGw2MjhXMEVpOUF4R1FfQkFrLWJpYngxbHM2WWIwS05Oa2J6d1pPdjF4ZVUtYTRCVGFGZWNWS2QxR1dBM2pzZV9PSjNYcEV1ZlNzSEU1TktQeF82azVUMnFLMUliV0JHd3ZFb1R6NjFWZEpseGZacXdtczZjNGU3cHE0MHhnQU03M0xNakVqdlcwYjAwbHFHZGxBc1hEcnZMMDl0ZlRrRThIaHFfTlIzVFpGMFBtSGZrLUxRNVpMVlRLSFF3TkxtVVR2bkFLeWY0UFk0b1hCbmJzWm1OdDdaalFOUTFMOE1FNzJfQ0dPVmxuZjEwOWhDZHpud2dNWjh0cjdYNTVFbHIzUVdoR2FXSTZlc3FVZkNSbnZHZk80T1NjTU1QNlZ2UGtUdThMb3hKVzZ2X3hKZVpJUWlEcEloVnFGcE5UZ21PQXN3WlJYcmZhQ0ZqTkE0cDVfVUp0aW91aWUxOG10V2ZRQ2lyeGhHNTMwTFJHWEZLTkdkMzVpbkw4WklnUnRJQmtRR3NNZ3Z2dDZ5NnJiam5JV3ZEYmd1S0F5d2lmQk4xWm5pSHZYY0ZhUkYxZVJaU1NhM1BidkVSTHhoR3VmeGZfQzVYQjVzNXk4M2ktQkUtUEVFN19Ub0Y2YU1LWkU5aExXLThOR21XUFgxSVBqeG5OUFpNZE5wM3dkaTJyekJxLW9IMHlVNHFZX1hJZFIyYjU3STYwY2J3TThrS1NKcWhnS1pyRW4ySHR6cG5lWF9pei1jSHlnaHBSb0xQd0dMTWd1V0RqTUhOY0duZlFISFZhUER1cl85S3VsTnNZSDNLR3R1YlpTZUt6ZHM5ZWxrSGRJMWFuVG1lVnphZTFaZXRLOW81R1dQSEx3bUN5RGRXWlBYbDNRN0E3NEl4YkNoUFVvd0ZVOEVGbnJ6Yi16clBDOGNMNTBtZ0dIQVdwMDk4WEltSFZSZ2l0QWoxbXJycWhuejZYMjNqZkZVWGtfT1VDQ25KUC1BX0UwTXQ5dkg4dTJUb0hURnRqTElIQms5bzlyTEU3a3FWek9YZXFpOTlNekFhZUVEUnRLSF9FMzdxc0tSQWRORlRHUDVveTJtMXd1MTkwREdrQzU5aW9Ld2J6SkNOVjdOdmJmSGFrc1MzQmlzUFUwbzc3UjlDaHpEMjk3czZVUEdFbHJpQkR2LXRDRFFGYXlNRXNMeWxoZ3hQMEttbEczTFhtQmIteXd2aWVPOVBWbVU3TnZIQ0dlcEZzVTFMd3NabnRkSWZoQUpWRXppMThydktEaUhBSUlTZ045LWJLMTV2ZjFpOGNzNm9mMGRudDRyYWRmb1pvR1hla2VoUV9RdHJHRXNPdFNxRi10NXpCVXlCSjJMeGlfd0VyV3ViV3hkdk9YNjc5WVduaHdpbnR2aFZZbnpGTng3YS14c3hqelVXR3dCSFowTjllN2VnUjNjRHhqdjBlNzMzTTVBdUhmU3I3djY1S3hITkxQMmVXS2QydkhlQmRVWjlOdkdYamhxTno2eWVfNzFibUpjMW9fQWNiUHRKTGY2d2NhN2h4T05HakZla0dxM1Z1b1FOc2lnQkVhRkxwb3ZUMHllNkVTOTdkTWRPcDFjXzRTZF9WZ052U1NCMGFPYW1zY0lsMjJaM1JzczlZSkt3WkNlbEx1dkhCdTZtQXlOaUFTbEpXZFRJenNQR3hMUV9GclBJX2x1d1p4dG9HaDZTX0FNWW80NDBqS0RmbW9CdzQzTUJiMjNVTXhJWU5DMHY4THdXUTFuUkdhU1hzVDI3Uk14ajhCY25UTkRWWjN0SGF4WlNuRTRuRVFuQnRyUWJnaHpCdjBLSTRUbDVnRnp2Skd3TnZQakExcXl5dGFHTGU0aTNzeWNoSVRjY0VZWEt6ZkQxVmRKQWFQVWRtSFV5Z251NzNkNjhOcWk4VVQ4cWNaRVFlcU5tMnZ6cFhZUU5xb2ZwTmdBYnhBaWJXOWJXejJBUG0xNndDYU1Ka0VRSkQ1MlF0cmQ3WjNvQkMxazZfZVF0YlNjZGlKWUxlN1NRcFlWZGUyMUZOdDJGaXBIbDc2ZnJ0a2lwb1R4VHEwbHMwWjEzY05ETUF3dlc3eGgyN0ZqS2JGT01SN0pUMkVCMkpaVjBmcDd6d2hXSHRZN3R1NTFSYnQtM2E2b2s5LTZvRnUtdlB0Nm5KXzVZTTRpSjFmbEZNZWN0aU9UNThHQ09BbGNfZ0JhRU00d18yQm1pN2xadzlsOEx3X2t1WjdRdEpyUDQxWjNyLTY0QlBiTHJPY1NKT1hsN2xzMGZyc2MyeFlBVFdVbktpUGxqdnJUU3hTSDFwWi1va0FleDd2Wml0RjlHTUh4dFB4a2hGd1B4UUNhNkN1LXdscWNGYjJSRHR1YlBuWlVNV2VLYS1ud3ZUcjFIVFFKbVBuZHctOWpFUmo0b2tLb2ZudnJLbHhZNDVPU0ZqdDhoS0dwM2RTbjJ6emV6RWx5V0hFWnhla1V5ZXdVR1YybnFhWU83UXpvamdMM3hJbmoxMXRSSzVDVF9iQXVLd3BoOC1FSDMtWmJ2R3FURW45eXNIQ3Zsbi1PODRiWUlqYnBZdzdRLTRYWTkxVmJlOXJrSDV4M1UyZnZyeEdlQ241Wkk2WFBzVlBycGdXTy1DT0lBOWV1Q0RzcHB0alVfbUFBc1QwTVM0VFM1bVdkcGhBdm5xS2VaQS1tQ0FYOERjQXVieTkzMmdRUEp3SUFZaWJKNE1JVGQ0OXhkbzFQZjd0Wm5oME5vRFA0cjJ4R2ExSW1nVXE3SkhiYy1jV3prS1g1OVNxUzFSOGlTaFVGWWlCVUQwOGFoNFVLcjZWbjF5MWdaNUJWd043bU9Ub05pV3d3djdvaEp2YUtsSkJFQnNvZEs5Ti03ZXp0YjJ1STZjaHBxcXVoRkhTeGlZQ29KclhLWEhHQ0VzdC1Id1AzRmFPdXoxVTIwRFNHQkE1dTd3cHJ5U1k1Y0dZMzhmcVFHYzFqU21FU0dZVzdTNWxXbld3SEh0ejlEVjljZ1BnX3dXQm1LczkxVGJrUWtBOTZLbjljeXh2ZjEzamtwT0habUs2ZFBCZzNOZHQ1Vm0xTk9WSllYWVM2T3dzeThUVW54SnkyMjVFMklSV2xNU0E2bDBySWFVZXh6V1FSYWFDZWsteVJTMGwxZmJXME16V0w3bDNKRWxCNjk2bjM3NGlmR2dsb3h5RW1JTUl3TzF3QTRfa3Y1Q2RVSjk0Nk9OT0wzc3ZUSzBod24xZjZ3SEppT1lQYlFUTXp3LVdNR1p0RHRSM1hjNTRQa013LVhzWUE5RkNNMkxEOElDUGE5LThwV1hpNmZzWlpGVXVvcXpzLUNLaUREVi1IRXVpYnRGcVlXeHNfeV9RaHdIRHpCMjhZNHptUTNpQXdnMUZmNjFSUGNHQnlFMVdTeU96c0NyQkpRblE2ZHBKYW5MLWRHUmVPc0pENEVoWW42Rkk2QWhaNjE5NnBfV2pEWFl3Z2YyWkVsZWRKS25EeFlWZFg4NzRwdy0xbEFKNGVpZ3JpS1ZxVENzckhXWkhFQnVrT0FaNlR2bmZWenlqcTV5TnpqUWR3UzVXMlZKMDRZcy1LZDdmcDM0NE9GUDBtaVpONkNWeVJOQ3RyTEJZSVpQbmdXRVktUDRBOUhiXzN5VWdyX3dSTlQ4ZlE1Qnl4VnhwRjVSVFdudi1pWTNXSWQwaFMxa2sxb2x2WEhPa1l6Z3hsSW5zaWtLc1Z0RVdySVRURE1iNGJlSUNzMnZVTkxHNnJyZ0hMRUszY0RYOFRjaGc1YnE4QXYydS1uZm5vQ0syV0JoSDhWS0lWT2Y1ejBtY1kxY0NSb2Y0UTZXNGRQeXM0RFV6S1JXS0x1T0RCYlMtYzdxTlNuN0M1c0hVR0dRLVdrNnlnUXZTTTk4SDdsOG1BckRNdXQ5YzUzZk1FNVlHOTRUanlGemdsOGNxdVlCQVBqYWVQdldlOFdYNHBKb2NUZnVzdjlZMklfY1hNQktEbVc4WHlNRTFPaEhDSzBXbTJORGlBem5nX2t6ZmlFYTgtSThXWUJ0OGI1Vk5QQW85bm55TFJfNXRCRkdGV2NoLTJkYUxGQnR6S3NUQkxRZm5pQ2tVdXItQUdVUk1XN1FmRE1vSmR0a3lCR2tmRFVheXlBYWQ5ZEpfSE1hZUxDaVE0UWhpRnpNVHF5ZzYxQmwyXzkyMi1PY09HU1BSRElXeFNZRWRfUWtKb29mN3ptXzR1bWRVOUVBRk5vYUxxcERoY2lCa3NfNEhUM1diVXAzQ25jb3phd3JfZFlRRTVYOXpIWS0yUl9WdzZXVTZMdTYtaV9jNjBmQXZEX2lISklzU3d0bnF2WVEtenl3djVLNWJXUFdyV2ZnMzBrMV9sbFNsazktYjJCNUZmWVZBUUJsMkRaVG9VdlJzaDVZVHhiYm5EbGFzOEJVRE1XV0hSSEotZF9pZUNad2VIbGdWVkktT1lWV1NCLXAtSjk1akZuVmJnUEdiVjJSSE53US1IdkNrRDBpZElDTklEY2h4UnFGZUQ4Z2dFaTdfcnd6N1d1ZXpZS3V5aFNHa1hhVWMtbmUxdHRrRmRsYWJ5SEt1b1FJWDZ2Snp1cEpjWUo1OEMxd0kwUXBIcjY4U3poekpjMjBUVGk2VWc3T1FtVHpncy1JNDVKVGFuSW5NdHk0MmlubjdqU3daWXQtMERWTXZPZ2RZeEVVRk9UZE5vWmFWMTI0QjdfS0c3bGxmY1o4TXUwNkR3M3FXWklUSExpcmZhZjhnU0tNRm41b1dfVjdCSWJXR2xiOTg0QkNjRExTOXRuaEllQnp5akRUcmhFOXZwdDNtNnJaMGpjcTFjdEVkZ0xFM2NwR0ZYX3lHOEJoenVKSk9jNTNyWkpydVY2TVNzSTlRYllNd0pUcmJuLXdMYVN0ZWx5b0JTUVl3NndDWmVxMGwtQ2VxX1kycExhQVkxb1JRajN1LTBrVHlEcXl6N2lSaTJqcXN4TW9sQTdmTE5USEZQbi0tNUNZTnB0c0paM2tlSjRINmdkc1phTHFvMTFYZ1hnWFJVcEFrb1BYbGJhdU96LWQzUFpNdXBUaGJZNF9Obi1Va3RrdGhYTV9IbTQ2S2JkQkFrY3J1UGhiRTZMMDN3OGVSaFhBdU9ZR0ZvamZlZFdQZ0R6YjZuQm1vSnhudHZ6UjNuZmliYWQ0M0VXZ2RmMThkQVBncHhzaTVuWF8zUElfaW5qSVVHdlh1aGl1TDVvOW9TOFpCQ0dsaGdWWnFKN1hMUzFIREJjVnhHT2hCUDB5b1ZUTXM0cFZBaWl0Tm0wVFRrU3hPT0RNQnBZRFFCd1dURWRGTFdMbkNGWVQ1a1RjUENoeGkwZnFTRUstXzJkemNCNXRxWk54U203T2oxSGpGMGUtZENUdU5TcS1xNFVRQXptQWgyNG45WHBlRE9Ea0VULTdwZGxxcGZXZ1FEU3NMV0U2UDdYZWNyR2R2N3hJaVRoVEZ6R0FTVnZ0QnJrLVRISVRuRURhWkZTaVBieTZPcUJlMG5wRlA4bzJxZHNNSnZmTnQ0Q1FvTVpPRlJ0NEk2cWpVbEtBcm92Q1c4eDBmYVdFdVpGd3Rjek9jNS1pOUt2VFdhcFhzVlFOR0NrMHY0UTFmQ2x5cDVpbzdCUTVvXzFWOHNtUDBITlBSMTZXalVGazE2a0N6WTA3YVpocjhNdUZ1cE9WdGdiR01WRWlpQkNQMjZ2TUVfeENOSDVmVE9uNFM1a2xKVFcya0VZb05VRldhYVJOUXdkajF4bkk2Q0hZSXNSbDZMRkFENVJLOGlMYWxCNE9fd1VOdVRBYVkzbE5xUVVCRDNtM25FNUE3TGx0eVA2M3JoR3pHdHBXOGVvOXphNFNiTl9QbHFMMVdRY1VnTWxreG5PcTNqRFdiQnJic0RUekEwN3pRTVhUTEhKMEhSMHQ5RG5ONkwyVXphb2VYNmtUV1VteU54WUNfUHY0aHhfRGVoYjVnS2ZSc3Vha25HSm85b0R0TDNkcHViZzV2ZS01WWdhZ0pjWVR1T1laLWsxdUNnYzZlLVdjWVNGdndfY0YwMDdmR2xnLXFkbW1vM2dZeVJxT1dkT0FDT05iUFFvaWxISll4RHhCTldqOGg1Qi1hUENxejJTX0hwU3JwUzF2QzJIeHd3bnpSXzJSenJFbkNHUElmSDJYNVhEczV2c3FYOFN4Y3hTVmdKOVBEbTlkR29HOG1GT25YejVLWDFobWI2eTBoSzhhZFNVWnoyQXFKYzBQVkszWWVJcHZLblQyY19mclNocXJzU2tDR29VblV4NkpMWHhBQVdSOUJBVGo5N1FlX0paU19hVTZvZk1yNFlYdGdlYUNaY1JSNEQ0X194TWV3ZGxMSUlJUWFZWW5MaFNFUVBPaUJFYnYtQ1RaeUtVdTFidFYySVA4aWU0YmstOFB1Vi00RVFlM3VwN1hMb0lFMmNHbUFIYmtLTFFudzNiSldqWWo5Vm5mazFRZEFMdnJpUnBpRnotSGRlbVUycUxsMVl1WE9sMUZuRVFEaFFTRUtfbS1CTHNEZ0FtUk10d0FFMGhhazhHb29JSDZfQjEyZHF4OExGSUR5TV8zdWwwWkNNaVg4LWExT05xVzhRanhoTUhNTHhTZWQtQTJtOXZnbGVuaXR6R1RLUUVUcU9yOElkOF9xSDFRWE9GR2JCeXZ6eVJWUEw1UEViQUY5WFM3V2FMY3BTSGw3bG1HRngzQ1JOcldxdGQzTl9OMHZWMlpDdFpFYnJMcm02YmlQMmJLM2czLTZmSHdjdVBibmk3cGdnT0ROd1VHZkVLVnFtT1RYTlFwYTJ1eHZwd0c4WEowV0tUVVF6RXhDUkVKcERRcEFnbjYwNUlDWS1CS0xqaXNCRDI4U2NiamF5LWR6UnhmQTRxVVFYTl9rS3RJOUs2U0o2RmxCV1NmdmRJa21OWEExZF9vdGRIRFdNZ3FYUXB3YkdXazBhMFpiUWx5SllpWWd0UHpNNHBxWk1tVkVNYmkxMFpQUFE0Z29YZzFlSUVFNkRoWmZEMGFFd3hvLUN6TXBYU1lHd0FNY1VxWXhZZ3FmV0NXbkQ2eFZnUGo1ZHpUR1YwUVluVGxCQ0NnTDZMd1dxVGdqYzZiYkU4Z1Z6cGlRVU9Mck40NDk5UmNJelFwMk1GTFNPUUl2aGVsSllCWVlwRGNYODdNd2VjeVphTE5UVjFKM2ZPeUYyYnI4N2tzLUtqMEM1YjF0ajdpemdITUtnT3ZBZlZjYkEtR2k0VXFfeVhqNFFaTGloaThJSmdHd0VVU3hPaGU0T1dQaWlZS1EyUG9pQlhSdmlqaTJVQXd0UHR5X3hDekJ1NExKMU1mQ1REc2JnWS10Y2FldVdfYW9CT0I2Y3RZYU9jMXBrT3ZDX1ViYWphdktUdHVWcHMxUTBfZkFubjdCYVM3VHpTRXNhVjZ2cExIb2g0MVp2emQ2VGpzTzVlQi1ldWZzZDhUMUpxZnBLeXhYQUJRSTVPRHk3SW1mZW01VEpsWjdqY2diT0lpLWxYZS00R1ZjSVRoSkpPOVNaSDl4c0RJSnp2MU4yaGEtZWd2ME9Za2R5b0xOMEFrSzgyd3VEZlNDcV82Y2pGUzc1M3lVZHJ5Y0JsYVVOczFIVERHa3hJdUNiX3NsVjdNdXlhV1V2cEg5UW9BTVNuRm4xcUpQMmJLbW9LM1RfLTB3RzBPUzZZd2JQNUh1QzZlV0wwdDVpUENlbFRiNS1KRnlQZUhCY1FEb2xyY0UwbjZ6NUhEcHNzU0xndHZYRnNoekh2bmdjXzk4UjlSNTNCMlZsTURQX25pYnVVTUk4MTdUaWNvV1puUUhESExqVFBWNi1uR3hHMjFMcjhMUjRrWE12VmpBSXFwZzE3bUNncjg3U0luU0tDSDN5RlBCeVRyTW9oWVcwX1hCOEJJbVBwZlRLZ2N4by1IU0N3WFJWaXNkOHdPWUZfeGpGcVI0Q19xVXQ1bWVfQTVlTEdGUTFHOHd4Mk5FVUEySWI2a1hLZ1NSZE9WMEZqdHlfdGlIRlg3LW1qQ2IzZVdhUW1aa3BkNVZjSHZmT0d2S3JQMmRTWHlYemlnSElRalc2X1NfdG1ScHVWXzJsSGdaTE5LRVV3dXRidUJtaHpQeDBIRlJZUE54VGg4TnRjVVpUbmhpSEExaFZlOVNsS1hFQXBXRV9fYnJQbXJ4Yi1Qd1VzTG9WY0ZvMkJicW1zNjZxaURnUjNXemtKLXFpclZsaHM3NlBWRE8xaUJLdHlCSDdpLTJ5OG5qY2UwN1dFLUY0b0tiLXhwR1RIT1VRdDJxdG1GR1hKeURxcUlveEs4MEJZb1hZd1BaWGpvdWQwSEU0cUNPSE90YS16S3VyY09MOGQzT01GNXFielFGLWZrUjA1Uk92RVU4VGszMS1pMUpkN3hHc0FMa3VDcVowckZYQ21jQTVaTzVuc2F0WnNxcVhlQ09VYzdidFpXbzZvbHUzc1JDVHZ5Q2RlWXR2RllHNnBtR2F0aHlKZGlzazBwT3BsMXdoUWU1dThMZk0yV2JIbG1mSzVjQlI0ZlhEVDU3MmxkOGM5c3llLXZiYUc0S1VCY2ZvT1JyMklpRTNlRzdCN0FCSTcyRjZ4N2pRR1VYRG1aLU9MZlh4Wi0xZGJyUmhvZ1dqT0RudUpBYTRtWnMyenVDMzBpOWZUMDRKdElpeTJFXzJFQ2lMWVd4V041WnViUnhZbmtlNTh0bW04ZHpXTDloaTlta081ZkhwUjR3eVRYbFBOLTZqTy0xdm5PZWVMWl9EUlRDXzhFQks2WFZDTTk3WE9jSnhFUEtkWFh0MnNwVC01Rmx6T3Y2WHNIV1pDVzcxaE9NcV9qb3NBLXVqZENUdm56YVk3MkI1d1F5RjlsbDBGNVdtcnMwc2dpNW5MWU9nMXFaQ01ydDRKMUdkcEpzdXN3QVFwdm1DQVhuLTAydk9XRnRSX0s3QXkwOTFkQmxkNEZTVXBQTzhVbUJuNG8yTWViSHBtclozSjJqa0VLdkpmMHAxaFp3MzNPNl9GRlVpM1FxMTdXUmJUNEExVUZ6U1VpNU42VXJjWTQ0Z2FkMnBPNi1xVFJuMXljTUE4U29FVm9SVWJaczJEZ3FyLU53RVMySmsyRzl4c0dpWkhla1VqdjlyWGw5c2tWbGI5V2RYSTBoLXJ5TzFfUU0xUUNHYldsX2xCaEdBdlZjMExqQ1I3d3lpeG1BRHVJMHc3Wlc3NHlDQUpKdUtJT0xyNTd1bzYxQmYzLXFYWXRIWDh2c0xPamc5N1IyTExHeUpKMWhVcVZlQU5sa3B3LkhsQXBVUTQ1YTdxRDRiRUVJWlRmR3B6b3lBNi12UlZQVkhlV000eUZVV3c\"}", - "status": 200, - "response": "{\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "743", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "5ba9a06c-0280-461c-b554-bd7e247043e6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "758da4d3-02f3-417d-983b-2b2178d0025e", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-\",\"deletedDate\":1619648756,\"scheduledPurgeDate\":1620253556,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "931", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4f837339-3158-4b05-bfb8-363a2dbe9136", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "13d51c37-7618-49d6-b422-388e353e727d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4c04ca3a-fbca-4b2a-91be-cbdd00a6aae6", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4aae695e-9447-48d2-ad2c-faa02ce7aaf4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:56 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "07fbc414-e767-4f28-8127-1bd02e6ee127", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "06e7634d-8095-4398-b296-187f1e0709a7", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:58 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "75944049-97f5-46ce-9400-22fa46932e35", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "2dd3ece6-d249-473a-a760-1591dc6964e1", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:00 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "cf4b13e3-c314-4855-9d47-0c32895f2d62", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "4dbfdf2d-43c7-40bc-991f-d15ae3285077", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:03 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "d6c2f4cb-1301-4c22-b016-2b3dc7f26201", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "50b1107d-1d66-42d2-870b-408f1d0fbafe", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:05 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "98150d88-e70f-4384-93e0-17effbb7fcf5", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fa759992-0701-4e1f-ae99-1e21dc91a7c0", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:07 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "55feced0-98e1-49e3-bf06-e07f1397eeb2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "ccb5686f-6c46-47bf-87b0-ef9731d33eb4", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:09 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "8b9de299-8c4a-422d-90be-cf891efbb0bc", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "b871b140-4c1b-4495-b168-2f57775b6514", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:11 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "4aa9097f-bfed-4e31-b018-7301cf9c6018", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "24077230-5383-471d-a825-ba5b3c156302", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:14 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "aa977dbb-fdab-48fc-9e3a-70d0ef56b9c4", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d2494cda-c006-41ca-a2e8-6ba8376696fd", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:16 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "2f21ad26-d302-448f-bf67-90f1c8296c16", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "616013c9-fb4d-45be-8f35-566196fb4b75", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:18 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "08d0fe32-8e24-4c05-97aa-a0aea7692aa2", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "83b27cdf-59da-4676-9a97-6acc70e18402", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: backupRestoreKeyName-canrestoreakeywithagivenbackup-\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "136", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:20 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "ac1f4840-983a-4be1-ad35-980e5bb3ef69", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "d831e832-660f-40e7-919d-c5c1d1e5ce9b", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 200, - "response": "{\"recoveryId\":\"https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-\",\"deletedDate\":1619648756,\"scheduledPurgeDate\":1620253556,\"key\":{\"kid\":\"https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-canrestoreakeywithagivenbackup-/0f21985e3d2d42ed899ba2b76e892011\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"-pIR3W-OUcEZgrO4h8F7dAIRen4t7QW_d6oO6jSd28-dXPqUUEPNlEsgdtdXbqqhWLDN4w5LOWOLDgQ5TcXC-kw1wK2j5tAPO_YA11c-2cgI45cWlwuW0RLFuiXYuW3gult68a82fAGQmwe82bxs3pYwJQXdMT7x6aJwmqnVsqOc8aJP0BZM-Gacp-CRCHXRcs7_r8WPOMw4tMPrg_lI5b99Ctqy0693nlWE1-jNeCdtz5YhQuICK8bwwJnOruoadkgliPZWN4NEvsjeJOzY3AXUrOrciWVgW6LeLCvMDiJ39Ca0PkgEVFbKypOUeEPAQT5yNDgF7hXEx6HRdvdalQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1619648725,\"updated\":1619648725,\"recoveryLevel\":\"CustomizedRecoverable+Purgeable\",\"recoverableDays\":7}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "931", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "200", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "a1c2076e-feb5-4a17-9880-e1d83b52350a", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "fb30fc64-3e49-498e-8af3-851322294134", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "DELETE", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-canrestoreakeywithagivenbackup-", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 204, - "response": "", - "responseHeaders": { - "cache-control": "no-cache", - "date": "Wed, 28 Apr 2021 22:26:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "204", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "37ab8e10-d2ee-495d-a988-7db509840ad0", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "43e06eff-03d5-4fd0-8ca7-e317e2573424", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "da557ac6961bca5ec1f13aef1cc52a62" -} \ No newline at end of file + "hash": "da557ac6961bca5ec1f13aef1cc52a62" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_if_one_tries_to_recover_a_nonexisting_deleted_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_if_one_tries_to_recover_a_nonexisting_deleted_key.json index bd87b9c02903..c4178fcb9470 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_if_one_tries_to_recover_a_nonexisting_deleted_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_if_one_tries_to_recover_a_nonexisting_deleted_key.json @@ -1,115 +1,115 @@ { - "recordings": [ - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "47877f56-3cec-4db6-b4b5-c7fd5d04eddf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "3206fea3-3082-44ae-83ad-1f0d8d278ccc", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "47877f56-3cec-4db6-b4b5-c7fd5d04eddf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "3206fea3-3082-44ae-83ad-1f0d8d278ccc", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:44 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "af904c7c-1ddd-44a0-b636-d8b31f227001" + } + }, + { + "method": "GET", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey-/", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "373", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "47877f56-3cec-4db6-b4b5-c7fd5d04eddf", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "dd4e4ca0-09fc-4994-bbef-9690fa1ddd3d", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey-/recover", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "373", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:24:44 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "0864d65a-cfd4-4ab2-ae29-1f4ab90d0b25", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "5daa33ff-4d4e-4deb-8786-25bfb703e9d2", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:44 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "af904c7c-1ddd-44a0-b636-d8b31f227001" - } - }, - { - "method": "GET", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey-/", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "373", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "47877f56-3cec-4db6-b4b5-c7fd5d04eddf", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "dd4e4ca0-09fc-4994-bbef-9690fa1ddd3d", - "x-powered-by": "ASP.NET" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/deletedkeys/backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey-/recover", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-failsifonetriestorecoveranon-existingdeletedkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "373", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:24:44 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "0864d65a-cfd4-4ab2-ae29-1f4ab90d0b25", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "5daa33ff-4d4e-4deb-8786-25bfb703e9d2", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "c20082ffa1199aefb7cd4d3ec05a13b1" -} \ No newline at end of file + "hash": "c20082ffa1199aefb7cd4d3ec05a13b1" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_to_generate_a_backup_of_a_nonexisting_key.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_to_generate_a_backup_of_a_nonexisting_key.json index 132d0afa1d86..68741a4dc097 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_to_generate_a_backup_of_a_nonexisting_key.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_to_generate_a_backup_of_a_nonexisting_key.json @@ -1,88 +1,88 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-failstogenerateabackupofanon-existingkey-/backup", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:24 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "be29907d-8b61-4cd7-99a3-0e30ff6e8d78", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "72b75f4e-6024-4e1a-baa0-eb1e7cd14440", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-failstogenerateabackupofanon-existingkey-/backup", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:24 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "be29907d-8b61-4cd7-99a3-0e30ff6e8d78", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "72b75f4e-6024-4e1a-baa0-eb1e7cd14440", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:24 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", + "x-ms-request-id": "48c5329c-0596-4150-b337-49df87e8f801" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-failstogenerateabackupofanon-existingkey-/backup", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": null, + "status": 404, + "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-failstogenerateabackupofanon-existingkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "367", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:25:25 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "404", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "be29907d-8b61-4cd7-99a3-0e30ff6e8d78", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "c7b75038-3df1-40f7-ba1d-443d77115400", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:24 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - WUS2 ProdSlices", - "x-ms-request-id": "48c5329c-0596-4150-b337-49df87e8f801" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/backupRestoreKeyName-failstogenerateabackupofanon-existingkey-/backup", - "query": { - "api-version": "7.2" - }, - "requestBody": null, - "status": 404, - "response": "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"A key with (name/id) backupRestoreKeyName-failstogenerateabackupofanon-existingkey- was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "367", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:25:25 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "404", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "be29907d-8b61-4cd7-99a3-0e30ff6e8d78", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "c7b75038-3df1-40f7-ba1d-443d77115400", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "ffb965de89632befbdff6462f790510f" -} \ No newline at end of file + "hash": "ffb965de89632befbdff6462f790510f" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_to_restore_a_key_with_a_malformed_backup.json b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_to_restore_a_key_with_a_malformed_backup.json index e241f51db29b..1a8da75c9c23 100644 --- a/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_to_restore_a_key_with_a_malformed_backup.json +++ b/sdk/keyvault/keyvault-keys/recordings/browsers/keys_client__restore_keys_and_recover_backups/recording_fails_to_restore_a_key_with_a_malformed_backup.json @@ -1,88 +1,88 @@ { - "recordings": [ - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "", - "status": 401, - "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "87", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "401", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7d3ec75d-6c95-4a62-986b-0d9f788ea557", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "1bd8d218-31a5-4ddb-abe3-5ce9f9fec610", - "x-powered-by": "ASP.NET" - } + "recordings": [ + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "", + "status": 401, + "response": "{\"error\":{\"code\":\"Unauthorized\",\"message\":\"Request is missing a Bearer or PoP token.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "87", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "401", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "www-authenticate": "Bearer authorization=\"https://login.windows.net/12345678-1234-1234-1234-123456789012\", resource=\"https://vault.azure.net\"", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7d3ec75d-6c95-4a62-986b-0d9f788ea557", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "1bd8d218-31a5-4ddb-abe3-5ce9f9fec610", + "x-powered-by": "ASP.NET" + } + }, + { + "method": "POST", + "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1315", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:22 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", + "x-ms-request-id": "7f75ea5c-9049-4834-a7a4-2c2b0cc24a01" + } + }, + { + "method": "POST", + "url": "https://keyvault_name.vault.azure.net/keys/restore", + "query": { + "api-version": "7.3-preview" + }, + "requestBody": "{\"value\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}", + "status": 400, + "response": "{\"error\":{\"code\":\"Malformed backup blob\",\"message\":\"Backup blob contains invalid or corrupt version.\"}}", + "responseHeaders": { + "cache-control": "no-cache", + "content-length": "103", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 28 Apr 2021 22:26:22 GMT", + "expires": "-1", + "pragma": "no-cache", + "status": "400", + "strict-transport-security": "max-age=31536000;includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-client-request-id": "7d3ec75d-6c95-4a62-986b-0d9f788ea557", + "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", + "x-ms-keyvault-region": "westus2", + "x-ms-keyvault-service-version": "1.2.265.0", + "x-ms-request-id": "36b10222-6fca-48d5-8477-4ae5c67b81c5", + "x-powered-by": "ASP.NET" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} }, - { - "method": "POST", - "url": "https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fvault.azure.net%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1315", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:22 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11654.16 - EUS ProdSlices", - "x-ms-request-id": "7f75ea5c-9049-4834-a7a4-2c2b0cc24a01" - } - }, - { - "method": "POST", - "url": "https://keyvault_name.vault.azure.net/keys/restore", - "query": { - "api-version": "7.2" - }, - "requestBody": "{\"value\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"}", - "status": 400, - "response": "{\"error\":{\"code\":\"Malformed backup blob\",\"message\":\"Backup blob contains invalid or corrupt version.\"}}", - "responseHeaders": { - "cache-control": "no-cache", - "content-length": "103", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 28 Apr 2021 22:26:22 GMT", - "expires": "-1", - "pragma": "no-cache", - "status": "400", - "strict-transport-security": "max-age=31536000;includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-client-request-id": "7d3ec75d-6c95-4a62-986b-0d9f788ea557", - "x-ms-keyvault-network-info": "conn_type=Ipv4;addr=72.68.182.20;act_addr_fam=InterNetwork;", - "x-ms-keyvault-region": "westus2", - "x-ms-keyvault-service-version": "1.2.265.0", - "x-ms-request-id": "36b10222-6fca-48d5-8477-4ae5c67b81c5", - "x-powered-by": "ASP.NET" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "4ce921702d021590364f6ddacdffbca5" -} \ No newline at end of file + "hash": "4ce921702d021590364f6ddacdffbca5" +} diff --git a/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_can_return_the_required_number_of_bytes.js b/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_can_return_the_required_number_of_bytes.js new file mode 100644 index 000000000000..3303734ce304 --- /dev/null +++ b/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_can_return_the_required_number_of_bytes.js @@ -0,0 +1,165 @@ +let nock = require('nock'); + +module.exports.hash = "d78f39638c12cfc80b989af76f14c551"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://azure_managedhsm.managedhsm.azure.net:443', {"encodedQueryParams":true}) + .post('/rng') + .query(true) + .reply(401, "", [ + 'content-type', + 'application/json; charset=utf-8', + 'x-ms-server-latency', + '0', + 'x-content-type-options', + 'nosniff', + 'www-authenticate', + 'Bearer authorization="https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012", resource="https://managedhsm.azure.net"', + 'x-frame-options', + 'SAMEORIGIN', + 'content-length', + '0', + 'x-ms-request-id', + '57d93fe4-d529-11eb-ad97-000d3ae470ec', + 'strict-transport-security', + 'max-age=31536000; includeSubDomains', + 'content-security-policy', + "default-src 'self'", + 'cache-control', + 'no-cache' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '898a641d-360a-4605-97f7-63c15ad83400', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=An88kC_uk-5BlZa6BvX_6fo; expires=Sat, 24-Jul-2021 20:18:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrnJ25BzSoiZOUUaOrUVDV9wFzuaVpDT1NIZnJnm9ipV9PIG8TNuPhvCF9wXsufqVNrHO8jsRR7xb9ZyOElBd9RBAjweDbz06ZLFIU0XRbVTD4VlF7nDyJ3EjS1cwW_FDF8ja6IDKgYyJw1dF2BE15QTRG4q4Nw5xWKV24Jd9-JLQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 24 Jun 2021 20:18:31 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '32d40d36-f534-44eb-9c93-fd9665333400', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=An88kC_uk-5BlZa6BvX_6fo; expires=Sat, 24-Jul-2021 20:18:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrX8GexiPpw6uzLAg1Ep6C-st1LaNJHyI16xKbIgp-7vFzGWXdSH211Hh6TBxeOPFCV2BV9GK5s98FSCqDS9yNaWN-KS3SvWpd3lzqyjnz8MZ0qVX0GhonhnjAfd6j9fdlndr60n2-N5IWHiZdo_ABV-r31ypeC6nTpZUHGJxAS0cgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 24 Jun 2021 20:18:31 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=44e1aae1-937b-46be-ae70-377a854961c7&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'ecc544d9-4ff3-4869-8326-be5f52933400', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=An88kC_uk-5BlZa6BvX_6fqT6o-SAQAAAJbfZtgOAAAA; expires=Sat, 24-Jul-2021 20:18:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 24 Jun 2021 20:18:31 GMT', + 'Content-Length', + '1322' +]); + +nock('https://azure_managedhsm.managedhsm.azure.net:443', {"encodedQueryParams":true}) + .post('/rng', {"count":10}) + .query(true) + .reply(200, {"value":"jXc-yTpyo4OtqQ"}, [ + 'content-type', + 'application/json; charset=utf-8', + 'x-content-type-options', + 'nosniff', + 'content-length', + '26', + 'x-ms-request-id', + '583cf688-d529-11eb-ad97-000d3ae470ec', + 'x-ms-keyvault-region', + 'eastus2', + 'strict-transport-security', + 'max-age=31536000; includeSubDomains', + 'content-security-policy', + "default-src 'self'", + 'x-ms-keyvault-network-info', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=Ipv4;', + 'x-ms-server-latency', + '1', + 'cache-control', + 'no-cache', + 'x-frame-options', + 'SAMEORIGIN' +]); diff --git a/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_returns_an_error_when_bytes_is_out_of_range.js b/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_returns_an_error_when_bytes_is_out_of_range.js new file mode 100644 index 000000000000..584152086c7f --- /dev/null +++ b/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_returns_an_error_when_bytes_is_out_of_range.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "158ce47d15852a6b852fa60cf649dd23"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_supports_tracing.js b/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_supports_tracing.js new file mode 100644 index 000000000000..2d9006c21462 --- /dev/null +++ b/sdk/keyvault/keyvault-keys/recordings/node/keys_client__create_read_update_and_delete_operations_for_managed_hsm_getrandombytes/recording_supports_tracing.js @@ -0,0 +1,165 @@ +let nock = require('nock'); + +module.exports.hash = "8c2d96b8b27e50944b1433224218635a"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://azure_managedhsm.managedhsm.azure.net:443', {"encodedQueryParams":true}) + .post('/rng') + .query(true) + .reply(401, "", [ + 'content-type', + 'application/json; charset=utf-8', + 'x-ms-server-latency', + '0', + 'x-content-type-options', + 'nosniff', + 'www-authenticate', + 'Bearer authorization="https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012", resource="https://managedhsm.azure.net"', + 'x-frame-options', + 'SAMEORIGIN', + 'content-length', + '0', + 'x-ms-request-id', + '584b1268-d529-11eb-ad97-000d3ae470ec', + 'strict-transport-security', + 'max-age=31536000; includeSubDomains', + 'content-security-policy', + "default-src 'self'", + 'cache-control', + 'no-cache' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'fb524f16-f7e9-44f4-9cf7-7238c7e34700', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=An88kC_uk-5BlZa6BvX_6fqT6o-SAQAAAJbfZtgOAAAA; expires=Sat, 24-Jul-2021 20:18:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8TtWCdPNgpjQiZp1BydSuAR9IMWJZ2DCdh5wyETlXwAxfG1fM908RJXIOJrkzlntFHxuzjoPe1whEcHQnRkmJ8_vamjRNs_05xX-pRUuyDbHdgwyyzVNxEDojHKQqm2ypvTPrE8z0jk5oF_uC5o5xaHWPM8PdWQvDmxjH9wdgoAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 24 Jun 2021 20:18:31 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/12345678-1234-1234-1234-123456789012/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/12345678-1234-1234-1234-123456789012/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '52e735e3-3a5b-40d5-b0b0-e745120c3500', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=An88kC_uk-5BlZa6BvX_6fqT6o-SAQAAAJbfZtgOAAAA; expires=Sat, 24-Jul-2021 20:18:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrdvXG3aFgubeT0UgzA6subTeWvTj7P4o50x1W_dBwFddQTpoggKEyGJVVlRCUWPYhbfnqE4TbxMeSvVMWBoU1oGvuBcItona6q6gjqlR32HM1kXYnRb8a0hhezkeW1uTABC7kWPoHJle6Gupyjc381Z0XfnAQhBiEgblLXW_O-ewgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 24 Jun 2021 20:18:31 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/12345678-1234-1234-1234-123456789012/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=febffb55-86de-4ced-b4a7-cb8e94e534fb&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9aacd36f-14be-4929-8c74-834cf30f3800', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=An88kC_uk-5BlZa6BvX_6fqT6o-SAgAAAJbfZtgOAAAA; expires=Sat, 24-Jul-2021 20:18:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 24 Jun 2021 20:18:32 GMT', + 'Content-Length', + '1322' +]); + +nock('https://azure_managedhsm.managedhsm.azure.net:443', {"encodedQueryParams":true}) + .post('/rng', {"count":128}) + .query(true) + .reply(200, {"value":"SrFDjHv8MqkTtcoZA-GTdU3NNXS-JqmJYHFfpzJIHlObQuJgNtfIsxnK25Uiy8dcyR6aLlUK-6pvnRvkGDLaYCgF1eOwyU4J6T-iZopnKA1uVyapYbBv1qA5CNDFesleKQxw3MdgXp_arkjY5c7wgLzu-vPEjMB7iYrqIM9ZoZg"}, [ + 'content-type', + 'application/json; charset=utf-8', + 'x-content-type-options', + 'nosniff', + 'content-length', + '183', + 'x-ms-request-id', + '588a0108-d529-11eb-ad97-000d3ae470ec', + 'x-ms-keyvault-region', + 'eastus2', + 'strict-transport-security', + 'max-age=31536000; includeSubDomains', + 'content-security-policy', + "default-src 'self'", + 'x-ms-keyvault-network-info', + 'conn_type=Ipv4;addr=50.35.231.105;act_addr_fam=Ipv4;', + 'x-ms-server-latency', + '1', + 'cache-control', + 'no-cache', + 'x-frame-options', + 'SAMEORIGIN' +]); diff --git a/sdk/keyvault/keyvault-keys/review/keyvault-keys.api.md b/sdk/keyvault/keyvault-keys/review/keyvault-keys.api.md index 7275b7b548f8..f322e31a62b6 100644 --- a/sdk/keyvault/keyvault-keys/review/keyvault-keys.api.md +++ b/sdk/keyvault/keyvault-keys/review/keyvault-keys.api.md @@ -175,6 +175,10 @@ export interface GetKeyOptions extends coreHttp.OperationOptions { version?: string; } +// @public +export interface GetRandomBytesOptions extends coreHttp.OperationOptions { +} + // @public export interface ImportKeyOptions extends coreHttp.OperationOptions { enabled?: boolean; @@ -218,6 +222,7 @@ export class KeyClient { createRsaKey(name: string, options?: CreateRsaKeyOptions): Promise; getDeletedKey(name: string, options?: GetDeletedKeyOptions): Promise; getKey(name: string, options?: GetKeyOptions): Promise; + getRandomBytes(count: number, options?: GetRandomBytesOptions): Promise; importKey(name: string, key: JsonWebKey, options?: ImportKeyOptions): Promise; listDeletedKeys(options?: ListDeletedKeysOptions): PagedAsyncIterableIterator; listPropertiesOfKeys(options?: ListPropertiesOfKeysOptions): PagedAsyncIterableIterator; @@ -327,7 +332,7 @@ export const enum KnownKeyCurveNames { } // @public -export const enum KnownKeyOperations { +export enum KnownKeyOperations { Decrypt = "decrypt", Encrypt = "encrypt", Import = "import", diff --git a/sdk/keyvault/keyvault-keys/src/generated/keyVaultClient.ts b/sdk/keyvault/keyvault-keys/src/generated/keyVaultClient.ts index 6c9549b8ca0d..a32918baf189 100644 --- a/sdk/keyvault/keyvault-keys/src/generated/keyVaultClient.ts +++ b/sdk/keyvault/keyvault-keys/src/generated/keyVaultClient.ts @@ -12,22 +12,28 @@ import * as Mappers from "./models/mappers"; import { KeyVaultClientContext } from "./keyVaultClientContext"; import { KeyVaultClientOptionalParams, - ApiVersion72, + ApiVersion73Preview, JsonWebKeyType, KeyVaultClientCreateKeyOptionalParams, KeyVaultClientCreateKeyResponse, + KeyVaultClientRotateKeyOptionalParams, + KeyVaultClientRotateKeyResponse, JsonWebKey, KeyVaultClientImportKeyOptionalParams, KeyVaultClientImportKeyResponse, + KeyVaultClientDeleteKeyOptionalParams, KeyVaultClientDeleteKeyResponse, KeyVaultClientUpdateKeyOptionalParams, KeyVaultClientUpdateKeyResponse, + KeyVaultClientGetKeyOptionalParams, KeyVaultClientGetKeyResponse, KeyVaultClientGetKeyVersionsOptionalParams, KeyVaultClientGetKeyVersionsResponse, KeyVaultClientGetKeysOptionalParams, KeyVaultClientGetKeysResponse, + KeyVaultClientBackupKeyOptionalParams, KeyVaultClientBackupKeyResponse, + KeyVaultClientRestoreKeyOptionalParams, KeyVaultClientRestoreKeyResponse, JsonWebKeyEncryptionAlgorithm, KeyVaultClientEncryptOptionalParams, @@ -35,16 +41,32 @@ import { KeyVaultClientDecryptOptionalParams, KeyVaultClientDecryptResponse, JsonWebKeySignatureAlgorithm, + KeyVaultClientSignOptionalParams, KeyVaultClientSignResponse, + KeyVaultClientVerifyOptionalParams, KeyVaultClientVerifyResponse, KeyVaultClientWrapKeyOptionalParams, KeyVaultClientWrapKeyResponse, KeyVaultClientUnwrapKeyOptionalParams, KeyVaultClientUnwrapKeyResponse, + KeyVaultClientExportOptionalParams, + KeyVaultClientExportResponse, + KeyVaultClientReleaseOptionalParams, + KeyVaultClientReleaseResponse, KeyVaultClientGetDeletedKeysOptionalParams, KeyVaultClientGetDeletedKeysResponse, + KeyVaultClientGetDeletedKeyOptionalParams, KeyVaultClientGetDeletedKeyResponse, + KeyVaultClientPurgeDeletedKeyOptionalParams, + KeyVaultClientRecoverDeletedKeyOptionalParams, KeyVaultClientRecoverDeletedKeyResponse, + KeyVaultClientGetKeyRotationPolicyOptionalParams, + KeyVaultClientGetKeyRotationPolicyResponse, + KeyRotationPolicy, + KeyVaultClientUpdateKeyRotationPolicyOptionalParams, + KeyVaultClientUpdateKeyRotationPolicyResponse, + KeyVaultClientGetRandomBytesOptionalParams, + KeyVaultClientGetRandomBytesResponse, KeyVaultClientGetKeyVersionsNextOptionalParams, KeyVaultClientGetKeyVersionsNextResponse, KeyVaultClientGetKeysNextOptionalParams, @@ -53,7 +75,6 @@ import { KeyVaultClientGetDeletedKeysNextResponse } from "./models"; -/** @hidden */ export class KeyVaultClient extends KeyVaultClientContext { /** * Initializes a new instance of the KeyVaultClient class. @@ -61,7 +82,7 @@ export class KeyVaultClient extends KeyVaultClientContext { * @param options The parameter options */ constructor( - apiVersion: ApiVersion72, + apiVersion: ApiVersion73Preview, options?: KeyVaultClientOptionalParams ) { super(apiVersion, options); @@ -94,6 +115,29 @@ export class KeyVaultClient extends KeyVaultClientContext { ) as Promise; } + /** + * The operation will rotate the key based on the key policy. It requires the keys/rotate permission. + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of key to be rotated. The system will generate a new version in the + * specified key. + * @param options The options parameters. + */ + rotateKey( + vaultBaseUrl: string, + keyName: string, + options?: KeyVaultClientRotateKeyOptionalParams + ): Promise { + const operationArguments: coreHttp.OperationArguments = { + vaultBaseUrl, + keyName, + options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) + }; + return this.sendOperationRequest( + operationArguments, + rotateKeyOperationSpec + ) as Promise; + } + /** * The import key operation may be used to import any key type into an Azure Key Vault. If the named * key already exists, Azure Key Vault creates a new version of the key. This operation requires the @@ -133,7 +177,7 @@ export class KeyVaultClient extends KeyVaultClientContext { deleteKey( vaultBaseUrl: string, keyName: string, - options?: coreHttp.OperationOptions + options?: KeyVaultClientDeleteKeyOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -186,7 +230,7 @@ export class KeyVaultClient extends KeyVaultClientContext { vaultBaseUrl: string, keyName: string, keyVersion: string, - options?: coreHttp.OperationOptions + options?: KeyVaultClientGetKeyOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -263,7 +307,7 @@ export class KeyVaultClient extends KeyVaultClientContext { backupKey( vaultBaseUrl: string, keyName: string, - options?: coreHttp.OperationOptions + options?: KeyVaultClientBackupKeyOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -294,7 +338,7 @@ export class KeyVaultClient extends KeyVaultClientContext { restoreKey( vaultBaseUrl: string, keyBundleBackup: Uint8Array, - options?: coreHttp.OperationOptions + options?: KeyVaultClientRestoreKeyOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -397,7 +441,7 @@ export class KeyVaultClient extends KeyVaultClientContext { keyVersion: string, algorithm: JsonWebKeySignatureAlgorithm, value: Uint8Array, - options?: coreHttp.OperationOptions + options?: KeyVaultClientSignOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -435,7 +479,7 @@ export class KeyVaultClient extends KeyVaultClientContext { algorithm: JsonWebKeySignatureAlgorithm, digest: Uint8Array, signature: Uint8Array, - options?: coreHttp.OperationOptions + options?: KeyVaultClientVerifyOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -522,6 +566,61 @@ export class KeyVaultClient extends KeyVaultClientContext { ) as Promise; } + /** + * The export key operation is applicable to all key types. The target key must be marked exportable. + * This operation requires the keys/export permission. + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @param options The options parameters. + */ + export( + vaultBaseUrl: string, + keyName: string, + keyVersion: string, + options?: KeyVaultClientExportOptionalParams + ): Promise { + const operationArguments: coreHttp.OperationArguments = { + vaultBaseUrl, + keyName, + keyVersion, + options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) + }; + return this.sendOperationRequest( + operationArguments, + exportOperationSpec + ) as Promise; + } + + /** + * The release key operation is applicable to all key types. The target key must be marked exportable. + * This operation requires the keys/release permission. + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key to get. + * @param keyVersion Adding the version parameter retrieves a specific version of a key. + * @param target The attestation assertion for the target of the key release. + * @param options The options parameters. + */ + release( + vaultBaseUrl: string, + keyName: string, + keyVersion: string, + target: string, + options?: KeyVaultClientReleaseOptionalParams + ): Promise { + const operationArguments: coreHttp.OperationArguments = { + vaultBaseUrl, + keyName, + keyVersion, + target, + options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) + }; + return this.sendOperationRequest( + operationArguments, + releaseOperationSpec + ) as Promise; + } + /** * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public * part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys @@ -556,7 +655,7 @@ export class KeyVaultClient extends KeyVaultClientContext { getDeletedKey( vaultBaseUrl: string, keyName: string, - options?: coreHttp.OperationOptions + options?: KeyVaultClientGetDeletedKeyOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -580,7 +679,7 @@ export class KeyVaultClient extends KeyVaultClientContext { purgeDeletedKey( vaultBaseUrl: string, keyName: string, - options?: coreHttp.OperationOptions + options?: KeyVaultClientPurgeDeletedKeyOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -605,7 +704,7 @@ export class KeyVaultClient extends KeyVaultClientContext { recoverDeletedKey( vaultBaseUrl: string, keyName: string, - options?: coreHttp.OperationOptions + options?: KeyVaultClientRecoverDeletedKeyOptionalParams ): Promise { const operationArguments: coreHttp.OperationArguments = { vaultBaseUrl, @@ -618,6 +717,77 @@ export class KeyVaultClient extends KeyVaultClientContext { ) as Promise; } + /** + * The GetKeyRotationPolicy operation returns the specified key policy resources in the specified key + * vault. This operation requires the keys/get permission. + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key in a given key vault. + * @param options The options parameters. + */ + getKeyRotationPolicy( + vaultBaseUrl: string, + keyName: string, + options?: KeyVaultClientGetKeyRotationPolicyOptionalParams + ): Promise { + const operationArguments: coreHttp.OperationArguments = { + vaultBaseUrl, + keyName, + options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) + }; + return this.sendOperationRequest( + operationArguments, + getKeyRotationPolicyOperationSpec + ) as Promise; + } + + /** + * Set specified members in the key policy. Leave others as undefined. This operation requires the + * keys/update permission. + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param keyName The name of the key in the given vault. + * @param keyRotationPolicy The policy for the key. + * @param options The options parameters. + */ + updateKeyRotationPolicy( + vaultBaseUrl: string, + keyName: string, + keyRotationPolicy: KeyRotationPolicy, + options?: KeyVaultClientUpdateKeyRotationPolicyOptionalParams + ): Promise { + const operationArguments: coreHttp.OperationArguments = { + vaultBaseUrl, + keyName, + keyRotationPolicy, + options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) + }; + return this.sendOperationRequest( + operationArguments, + updateKeyRotationPolicyOperationSpec + ) as Promise; + } + + /** + * Get the requested number of bytes containing random values from a managed HSM. + * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. + * @param count The requested number of random bytes. + * @param options The options parameters. + */ + getRandomBytes( + vaultBaseUrl: string, + count: number, + options?: KeyVaultClientGetRandomBytesOptionalParams + ): Promise { + const operationArguments: coreHttp.OperationArguments = { + vaultBaseUrl, + count, + options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) + }; + return this.sendOperationRequest( + operationArguments, + getRandomBytesOperationSpec + ) as Promise; + } + /** * GetKeyVersionsNext * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net. @@ -709,9 +879,10 @@ const createKeyOperationSpec: coreHttp.OperationSpec = { keyOps: ["options", "keyOps"], keyAttributes: ["options", "keyAttributes"], tags: ["options", "tags"], - curve: ["options", "curve"] + curve: ["options", "curve"], + releasePolicy: ["options", "releasePolicy"] }, - mapper: Mappers.KeyCreateParameters + mapper: { ...Mappers.KeyCreateParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.vaultBaseUrl, Parameters.keyName], @@ -719,6 +890,22 @@ const createKeyOperationSpec: coreHttp.OperationSpec = { mediaType: "json", serializer }; +const rotateKeyOperationSpec: coreHttp.OperationSpec = { + path: "/keys/{key-name}/rotate", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.KeyBundle + }, + default: { + bodyMapper: Mappers.KeyVaultError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.vaultBaseUrl, Parameters.keyName], + headerParameters: [Parameters.accept], + serializer +}; const importKeyOperationSpec: coreHttp.OperationSpec = { path: "/keys/{key-name}", httpMethod: "PUT", @@ -735,9 +922,10 @@ const importKeyOperationSpec: coreHttp.OperationSpec = { hsm: ["options", "hsm"], key: ["key"], keyAttributes: ["options", "keyAttributes"], - tags: ["options", "tags"] + tags: ["options", "tags"], + releasePolicy: ["options", "releasePolicy"] }, - mapper: Mappers.KeyImportParameters + mapper: { ...Mappers.KeyImportParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.vaultBaseUrl, Parameters.keyName], @@ -776,9 +964,10 @@ const updateKeyOperationSpec: coreHttp.OperationSpec = { parameterPath: { keyOps: ["options", "keyOps"], keyAttributes: ["options", "keyAttributes"], - tags: ["options", "tags"] + tags: ["options", "tags"], + releasePolicy: ["options", "releasePolicy"] }, - mapper: Mappers.KeyUpdateParameters + mapper: { ...Mappers.KeyUpdateParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -871,7 +1060,7 @@ const restoreKeyOperationSpec: coreHttp.OperationSpec = { }, requestBody: { parameterPath: { keyBundleBackup: ["keyBundleBackup"] }, - mapper: Mappers.KeyRestoreParameters + mapper: { ...Mappers.KeyRestoreParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.vaultBaseUrl], @@ -898,7 +1087,7 @@ const encryptOperationSpec: coreHttp.OperationSpec = { additionalAuthenticatedData: ["options", "additionalAuthenticatedData"], authenticationTag: ["options", "authenticationTag"] }, - mapper: Mappers.KeyOperationsParameters + mapper: { ...Mappers.KeyOperationsParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -929,7 +1118,7 @@ const decryptOperationSpec: coreHttp.OperationSpec = { additionalAuthenticatedData: ["options", "additionalAuthenticatedData"], authenticationTag: ["options", "authenticationTag"] }, - mapper: Mappers.KeyOperationsParameters + mapper: { ...Mappers.KeyOperationsParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -954,7 +1143,7 @@ const signOperationSpec: coreHttp.OperationSpec = { }, requestBody: { parameterPath: { algorithm: ["algorithm"], value: ["value"] }, - mapper: Mappers.KeySignParameters + mapper: { ...Mappers.KeySignParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -983,7 +1172,7 @@ const verifyOperationSpec: coreHttp.OperationSpec = { digest: ["digest"], signature: ["signature"] }, - mapper: Mappers.KeyVerifyParameters + mapper: { ...Mappers.KeyVerifyParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1014,7 +1203,7 @@ const wrapKeyOperationSpec: coreHttp.OperationSpec = { additionalAuthenticatedData: ["options", "additionalAuthenticatedData"], authenticationTag: ["options", "authenticationTag"] }, - mapper: Mappers.KeyOperationsParameters + mapper: { ...Mappers.KeyOperationsParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1045,7 +1234,65 @@ const unwrapKeyOperationSpec: coreHttp.OperationSpec = { additionalAuthenticatedData: ["options", "additionalAuthenticatedData"], authenticationTag: ["options", "authenticationTag"] }, - mapper: Mappers.KeyOperationsParameters + mapper: { ...Mappers.KeyOperationsParameters, required: true } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.vaultBaseUrl, + Parameters.keyName1, + Parameters.keyVersion + ], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer +}; +const exportOperationSpec: coreHttp.OperationSpec = { + path: "/keys/{key-name}/{key-version}/export", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.KeyBundle + }, + default: { + bodyMapper: Mappers.KeyVaultError + } + }, + requestBody: { + parameterPath: { + wrappingKey: ["options", "wrappingKey"], + wrappingKid: ["options", "wrappingKid"], + enc: ["options", "enc"] + }, + mapper: { ...Mappers.KeyExportParameters, required: true } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.vaultBaseUrl, + Parameters.keyName1, + Parameters.keyVersion + ], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer +}; +const releaseOperationSpec: coreHttp.OperationSpec = { + path: "/keys/{key-name}/{key-version}/release", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.KeyReleaseResult + }, + default: { + bodyMapper: Mappers.KeyVaultError + } + }, + requestBody: { + parameterPath: { + target: ["target"], + nonce: ["options", "nonce"], + enc: ["options", "enc"] + }, + mapper: { ...Mappers.KeyReleaseParameters, required: true } }, queryParameters: [Parameters.apiVersion], urlParameters: [ @@ -1119,6 +1366,61 @@ const recoverDeletedKeyOperationSpec: coreHttp.OperationSpec = { headerParameters: [Parameters.accept], serializer }; +const getKeyRotationPolicyOperationSpec: coreHttp.OperationSpec = { + path: "/keys/{key-name}/rotationpolicy", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.KeyRotationPolicy + }, + default: { + bodyMapper: Mappers.KeyVaultError + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.vaultBaseUrl, Parameters.keyName1], + headerParameters: [Parameters.accept], + serializer +}; +const updateKeyRotationPolicyOperationSpec: coreHttp.OperationSpec = { + path: "/keys/{key-name}/rotationpolicy", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.KeyRotationPolicy + }, + default: { + bodyMapper: Mappers.KeyVaultError + } + }, + requestBody: Parameters.keyRotationPolicy, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.vaultBaseUrl, Parameters.keyName1], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer +}; +const getRandomBytesOperationSpec: coreHttp.OperationSpec = { + path: "/rng", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.RandomBytes + }, + default: { + bodyMapper: Mappers.KeyVaultError + } + }, + requestBody: { + parameterPath: { count: ["count"] }, + mapper: { ...Mappers.GetRandomBytesRequest, required: true } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.vaultBaseUrl], + headerParameters: [Parameters.contentType, Parameters.accept], + mediaType: "json", + serializer +}; const getKeyVersionsNextOperationSpec: coreHttp.OperationSpec = { path: "{nextLink}", httpMethod: "GET", diff --git a/sdk/keyvault/keyvault-keys/src/generated/keyVaultClientContext.ts b/sdk/keyvault/keyvault-keys/src/generated/keyVaultClientContext.ts index 7dd1a43207da..4b846484e31a 100644 --- a/sdk/keyvault/keyvault-keys/src/generated/keyVaultClientContext.ts +++ b/sdk/keyvault/keyvault-keys/src/generated/keyVaultClientContext.ts @@ -7,24 +7,20 @@ */ import * as coreHttp from "@azure/core-http"; -import { ApiVersion72, KeyVaultClientOptionalParams } from "./models"; +import { ApiVersion73Preview, KeyVaultClientOptionalParams } from "./models"; const packageName = "@azure/keyvault-keys"; export const packageVersion = "4.3.0-beta.1"; -/** @hidden */ export class KeyVaultClientContext extends coreHttp.ServiceClient { - apiVersion: ApiVersion72; + apiVersion: ApiVersion73Preview; /** * Initializes a new instance of the KeyVaultClientContext class. * @param apiVersion Api Version * @param options The parameter options */ - constructor( - apiVersion: ApiVersion72, - options?: KeyVaultClientOptionalParams - ) { + constructor(apiVersion: ApiVersion73Preview, options?: KeyVaultClientOptionalParams) { if (apiVersion === undefined) { throw new Error("'apiVersion' cannot be null"); } @@ -34,17 +30,20 @@ export class KeyVaultClientContext extends coreHttp.ServiceClient { options = {}; } - if (!options.userAgent) { - const defaultUserAgent = coreHttp.getDefaultUserAgentValue(); - options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; - } + const defaultUserAgent = `azsdk-js-${packageName.replace( + "@azure/", + "" + )}/${packageVersion} ${coreHttp.getDefaultUserAgentValue()}`; - super(undefined, options); + super(undefined, { + ...options, + userAgent: options.userAgent + ? `${options.userAgent} ${defaultUserAgent}` + : `${defaultUserAgent}` + }); this.requestContentType = "application/json; charset=utf-8"; - this.baseUri = options.endpoint || "{vaultBaseUrl}"; - // Parameter assignments this.apiVersion = apiVersion; } diff --git a/sdk/keyvault/keyvault-keys/src/generated/models/index.ts b/sdk/keyvault/keyvault-keys/src/generated/models/index.ts index 6686df771d5a..769dd3471e5d 100644 --- a/sdk/keyvault/keyvault-keys/src/generated/models/index.ts +++ b/sdk/keyvault/keyvault-keys/src/generated/models/index.ts @@ -23,6 +23,8 @@ export interface KeyCreateParameters { tags?: { [propertyName: string]: string }; /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */ curve?: JsonWebKeyCurveName; + /** The policy rules under which the key can be exported. */ + releasePolicy?: KeyReleasePolicy; } /** The object attributes managed by the KeyVault service. */ @@ -45,6 +47,13 @@ export interface Attributes { readonly updated?: Date; } +export interface KeyReleasePolicy { + /** Content type and version of key release policy */ + contentType?: string; + /** Blob encoding the policy rules under which the key can be released. */ + data?: Uint8Array; +} + /** A KeyBundle consisting of a WebKey plus its attributes. */ export interface KeyBundle { /** The Json web key. */ @@ -58,6 +67,8 @@ export interface KeyBundle { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly managed?: boolean; + /** The policy rules under which the key can be exported. */ + releasePolicy?: KeyReleasePolicy; } /** As of http://tools.ietf.org/html/draft-ietf-jose-json-web-key-18 */ @@ -101,7 +112,7 @@ export interface KeyVaultError { * The key vault server error. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly error?: ErrorModel | null; + readonly error?: ErrorModel; } /** The key vault server error. */ @@ -120,7 +131,7 @@ export interface ErrorModel { * The key vault server error. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly innerError?: ErrorModel | null; + readonly innerError?: ErrorModel; } /** The key import parameters. */ @@ -133,6 +144,8 @@ export interface KeyImportParameters { keyAttributes?: KeyAttributes; /** Application specific metadata in the form of key-value pairs. */ tags?: { [propertyName: string]: string }; + /** The policy rules under which the key can be exported. */ + releasePolicy?: KeyReleasePolicy; } /** The key update parameters. */ @@ -143,6 +156,8 @@ export interface KeyUpdateParameters { keyAttributes?: KeyAttributes; /** Application specific metadata in the form of key-value pairs. */ tags?: { [propertyName: string]: string }; + /** The policy rules under which the key can be exported. */ + releasePolicy?: KeyReleasePolicy; } /** The key list result. */ @@ -245,6 +260,35 @@ export interface KeyVerifyResult { readonly value?: boolean; } +/** The export key parameters. */ +export interface KeyExportParameters { + /** The export key encryption Json web key. This key MUST be a RSA key that supports encryption. */ + wrappingKey?: JsonWebKey; + /** The export key encryption key identifier. This key MUST be a RSA key that supports encryption. */ + wrappingKid?: string; + /** The encryption algorithm to use to protected the exported key material */ + enc?: KeyEncryptionAlgorithm; +} + +/** The release key parameters. */ +export interface KeyReleaseParameters { + /** The attestation assertion for the target of the key release. */ + target: string; + /** A client provided nonce for freshness. */ + nonce?: string; + /** The encryption algorithm to use to protected the exported key material */ + enc?: KeyEncryptionAlgorithm; +} + +/** The release result, containing the released key. */ +export interface KeyReleaseResult { + /** + * A signed object containing the released key. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: string; +} + /** A list of keys that have been deleted in this vault. */ export interface DeletedKeyListResult { /** @@ -259,9 +303,72 @@ export interface DeletedKeyListResult { readonly nextLink?: string; } +/** Management policy for a key. */ +export interface KeyRotationPolicy { + /** + * The key policy id. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly id?: string; + /** Actions that will be performed by Key Vault over the lifetime of a key. For preview, lifetimeActions can only have two items at maximum: one for rotate, one for notify. Notification time would be default to 30 days before expiry and it is not configurable. */ + lifetimeActions?: LifetimeActions[]; + /** The key rotation policy attributes. */ + attributes?: KeyRotationPolicyAttributes; +} + +/** Action and its trigger that will be performed by Key Vault over the lifetime of a key. */ +export interface LifetimeActions { + /** The condition that will execute the action. */ + trigger?: LifetimeActionsTrigger; + /** The action that will be executed. */ + action?: LifetimeActionsType; +} + +/** A condition to be satisfied for an action to be executed. */ +export interface LifetimeActionsTrigger { + /** Time after creation to attempt rotate. It will be in ISO 8601 format. Example: 90 days : "P90D" */ + timeAfterCreate?: string; + /** Time before expiry to attempt rotate. It will be in ISO 8601 format. Example: 90 days : "P90D" */ + timeBeforeExpiry?: string; +} + +/** The action that will be executed. */ +export interface LifetimeActionsType { + /** The type of the action. */ + type?: ActionType; +} + +/** The key rotation policy attributes. */ +export interface KeyRotationPolicyAttributes { + /** The expiryTime will be applied on the new key version. It should be at least 28 days. It will be in ISO 8601 Format. Examples: 90 days: P90D, 3 months: P3M, 48 hours: PT48H, 1 year and 10 days: P1Y10D */ + expiryTime?: string; + /** + * The key rotation policy created time in UTC. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly created?: Date; + /** + * The key rotation policy's last updated time in UTC. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly updated?: Date; +} + +/** The get random bytes request object. */ +export interface GetRandomBytesRequest { + /** The requested number of random bytes. */ + count: number; +} + +/** The get random bytes response object containing the bytes. */ +export interface RandomBytes { + /** The bytes encoded as a base64url string. */ + value?: Uint8Array; +} + /** Properties of the key pair backing a certificate. */ export interface KeyProperties { - /** Not supported in this version. Indicates if the private key can be exported. */ + /** Indicates if the private key can be exported. */ exportable?: boolean; /** The type of key pair to be used for the certificate. */ keyType?: JsonWebKeyType; @@ -285,6 +392,8 @@ export type KeyAttributes = Attributes & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly recoveryLevel?: DeletionRecoveryLevel; + /** Indicates if the private key can be exported. */ + exportable?: boolean; }; /** A DeletedKeyBundle consisting of a WebKey plus its Attributes and deletion info */ @@ -319,34 +428,34 @@ export type DeletedKeyItem = KeyItem & { readonly deletedDate?: Date; }; -/** Known values of {@link ApiVersion72} that the service accepts. */ -export const enum KnownApiVersion72 { - /** Api Version '7.2' */ - Seven2 = "7.2" +/** Known values of {@link ApiVersion73Preview} that the service accepts. */ +export const enum KnownApiVersion73Preview { + /** Api Version '7.3-preview' */ + Seven3Preview = "7.3-preview" } /** - * Defines values for ApiVersion72. \ - * {@link KnownApiVersion72} can be used interchangeably with ApiVersion72, + * Defines values for ApiVersion73Preview. \ + * {@link KnownApiVersion73Preview} can be used interchangeably with ApiVersion73Preview, * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **7.2**: Api Version '7.2' + * ### Known values supported by the service + * **7.3-preview**: Api Version '7.3-preview' */ -export type ApiVersion72 = string; +export type ApiVersion73Preview = string; /** Known values of {@link JsonWebKeyType} that the service accepts. */ export const enum KnownJsonWebKeyType { /** Elliptic Curve. */ EC = "EC", - /** Elliptic Curve with a private key which is not exportable from the HSM. */ + /** Elliptic Curve with a private key which is stored in the HSM. */ ECHSM = "EC-HSM", /** RSA (https://tools.ietf.org/html/rfc3447) */ RSA = "RSA", - /** RSA with a private key which is not exportable from the HSM. */ + /** RSA with a private key which is stored in the HSM. */ RSAHSM = "RSA-HSM", /** Octet sequence (used to represent symmetric keys) */ Oct = "oct", - /** Octet sequence (used to represent symmetric keys) which is not exportable from the HSM. */ + /** Octet sequence (used to represent symmetric keys) which is stored the HSM. */ OctHSM = "oct-HSM" } @@ -354,13 +463,13 @@ export const enum KnownJsonWebKeyType { * Defines values for JsonWebKeyType. \ * {@link KnownJsonWebKeyType} can be used interchangeably with JsonWebKeyType, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **EC**: Elliptic Curve. \ - * **EC-HSM**: Elliptic Curve with a private key which is not exportable from the HSM. \ - * **RSA**: RSA (https://tools.ietf.org/html/rfc3447) \ - * **RSA-HSM**: RSA with a private key which is not exportable from the HSM. \ + * **EC-HSM**: Elliptic Curve with a private key which is stored in the HSM. \ + * **RSA**: RSA (https:\/\/tools.ietf.org\/html\/rfc3447) \ + * **RSA-HSM**: RSA with a private key which is stored in the HSM. \ * **oct**: Octet sequence (used to represent symmetric keys) \ - * **oct-HSM**: Octet sequence (used to represent symmetric keys) which is not exportable from the HSM. + * **oct-HSM**: Octet sequence (used to represent symmetric keys) which is stored the HSM. */ export type JsonWebKeyType = string; @@ -368,32 +477,35 @@ export type JsonWebKeyType = string; export const enum KnownJsonWebKeyOperation { /** Key operation - encrypt */ Encrypt = "encrypt", - /** Key operation - decrypt */ + /** Key operation - encrypt */ Decrypt = "decrypt", - /** Key operation - sign */ + /** Key operation - encrypt */ Sign = "sign", - /** Key operation - verify */ + /** Key operation - encrypt */ Verify = "verify", - /** Key operation - wrapKey */ + /** Key operation - encrypt */ WrapKey = "wrapKey", - /** Key operation - unwrapKey */ + /** Key operation - encrypt */ UnwrapKey = "unwrapKey", - /** Key operation - import */ - Import = "import" + /** Key operation - encrypt */ + Import = "import", + /** Key operation - encrypt */ + Export = "export" } /** * Defines values for JsonWebKeyOperation. \ * {@link KnownJsonWebKeyOperation} can be used interchangeably with JsonWebKeyOperation, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **encrypt** \ * **decrypt** \ * **sign** \ * **verify** \ * **wrapKey** \ * **unwrapKey** \ - * **import** + * **import** \ + * **export** */ export type JsonWebKeyOperation = string; @@ -419,7 +531,7 @@ export const enum KnownDeletionRecoveryLevel { * Defines values for DeletionRecoveryLevel. \ * {@link KnownDeletionRecoveryLevel} can be used interchangeably with DeletionRecoveryLevel, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **Purgeable**: Denotes a vault state in which deletion is an irreversible operation, without the possibility for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.) \ * **Recoverable+Purgeable**: Denotes a vault state in which deletion is recoverable, and which also permits immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently delete it after 90 days, if not recovered \ * **Recoverable**: Denotes a vault state in which deletion is recoverable without the possibility for immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention interval(90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not recovered \ @@ -446,7 +558,7 @@ export const enum KnownJsonWebKeyCurveName { * Defines values for JsonWebKeyCurveName. \ * {@link KnownJsonWebKeyCurveName} can be used interchangeably with JsonWebKeyCurveName, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **P-256**: The NIST P-256 elliptic curve, AKA SECG curve SECP256R1. \ * **P-384**: The NIST P-384 elliptic curve, AKA SECG curve SECP384R1. \ * **P-521**: The NIST P-521 elliptic curve, AKA SECG curve SECP521R1. \ @@ -492,7 +604,7 @@ export const enum KnownJsonWebKeyEncryptionAlgorithm { * Defines values for JsonWebKeyEncryptionAlgorithm. \ * {@link KnownJsonWebKeyEncryptionAlgorithm} can be used interchangeably with JsonWebKeyEncryptionAlgorithm, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **RSA-OAEP** \ * **RSA-OAEP-256** \ * **RSA1_5** \ @@ -541,24 +653,43 @@ export const enum KnownJsonWebKeySignatureAlgorithm { * Defines values for JsonWebKeySignatureAlgorithm. \ * {@link KnownJsonWebKeySignatureAlgorithm} can be used interchangeably with JsonWebKeySignatureAlgorithm, * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **PS256**: RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in https://tools.ietf.org/html/rfc7518 \ - * **PS384**: RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in https://tools.ietf.org/html/rfc7518 \ - * **PS512**: RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in https://tools.ietf.org/html/rfc7518 \ - * **RS256**: RSASSA-PKCS1-v1_5 using SHA-256, as described in https://tools.ietf.org/html/rfc7518 \ - * **RS384**: RSASSA-PKCS1-v1_5 using SHA-384, as described in https://tools.ietf.org/html/rfc7518 \ - * **RS512**: RSASSA-PKCS1-v1_5 using SHA-512, as described in https://tools.ietf.org/html/rfc7518 \ + * ### Known values supported by the service + * **PS256**: RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in https:\/\/tools.ietf.org\/html\/rfc7518 \ + * **PS384**: RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in https:\/\/tools.ietf.org\/html\/rfc7518 \ + * **PS512**: RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in https:\/\/tools.ietf.org\/html\/rfc7518 \ + * **RS256**: RSASSA-PKCS1-v1_5 using SHA-256, as described in https:\/\/tools.ietf.org\/html\/rfc7518 \ + * **RS384**: RSASSA-PKCS1-v1_5 using SHA-384, as described in https:\/\/tools.ietf.org\/html\/rfc7518 \ + * **RS512**: RSASSA-PKCS1-v1_5 using SHA-512, as described in https:\/\/tools.ietf.org\/html\/rfc7518 \ * **RSNULL**: Reserved \ - * **ES256**: ECDSA using P-256 and SHA-256, as described in https://tools.ietf.org/html/rfc7518. \ - * **ES384**: ECDSA using P-384 and SHA-384, as described in https://tools.ietf.org/html/rfc7518 \ - * **ES512**: ECDSA using P-521 and SHA-512, as described in https://tools.ietf.org/html/rfc7518 \ - * **ES256K**: ECDSA using P-256K and SHA-256, as described in https://tools.ietf.org/html/rfc7518 + * **ES256**: ECDSA using P-256 and SHA-256, as described in https:\/\/tools.ietf.org\/html\/rfc7518. \ + * **ES384**: ECDSA using P-384 and SHA-384, as described in https:\/\/tools.ietf.org\/html\/rfc7518 \ + * **ES512**: ECDSA using P-521 and SHA-512, as described in https:\/\/tools.ietf.org\/html\/rfc7518 \ + * **ES256K**: ECDSA using P-256K and SHA-256, as described in https:\/\/tools.ietf.org\/html\/rfc7518 */ export type JsonWebKeySignatureAlgorithm = string; +/** Known values of {@link KeyEncryptionAlgorithm} that the service accepts. */ +export const enum KnownKeyEncryptionAlgorithm { + CKMRSAAESKEYWrap = "CKM_RSA_AES_KEY_WRAP", + RSAAESKEYWrap256 = "RSA_AES_KEY_WRAP_256", + RSAAESKEYWrap384 = "RSA_AES_KEY_WRAP_384" +} + +/** + * Defines values for KeyEncryptionAlgorithm. \ + * {@link KnownKeyEncryptionAlgorithm} can be used interchangeably with KeyEncryptionAlgorithm, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **CKM_RSA_AES_KEY_WRAP** \ + * **RSA_AES_KEY_WRAP_256** \ + * **RSA_AES_KEY_WRAP_384** + */ +export type KeyEncryptionAlgorithm = string; +/** Defines values for ActionType. */ +export type ActionType = "rotate" | "notify"; + /** Optional parameters. */ -export interface KeyVaultClientCreateKeyOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientCreateKeyOptionalParams extends coreHttp.OperationOptions { /** The key size in bits. For example: 2048, 3072, or 4096 for RSA. */ keySize?: number; /** The public exponent for a RSA key. */ @@ -571,6 +702,8 @@ export interface KeyVaultClientCreateKeyOptionalParams tags?: { [propertyName: string]: string }; /** Elliptic curve name. For valid values, see JsonWebKeyCurveName. */ curve?: JsonWebKeyCurveName; + /** The policy rules under which the key can be exported. */ + releasePolicy?: KeyReleasePolicy; } /** Contains response data for the createKey operation. */ @@ -586,14 +719,30 @@ export type KeyVaultClientCreateKeyResponse = KeyBundle & { }; /** Optional parameters. */ -export interface KeyVaultClientImportKeyOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientRotateKeyOptionalParams extends coreHttp.OperationOptions {} + +/** Contains response data for the rotateKey operation. */ +export type KeyVaultClientRotateKeyResponse = KeyBundle & { + /** The underlying HTTP response. */ + _response: coreHttp.HttpResponse & { + /** The response body as text (string format) */ + bodyAsText: string; + + /** The response body as parsed JSON or XML */ + parsedBody: KeyBundle; + }; +}; + +/** Optional parameters. */ +export interface KeyVaultClientImportKeyOptionalParams extends coreHttp.OperationOptions { /** Whether to import as a hardware key (HSM) or software key. */ hsm?: boolean; /** The key management attributes. */ keyAttributes?: KeyAttributes; /** Application specific metadata in the form of key-value pairs. */ tags?: { [propertyName: string]: string }; + /** The policy rules under which the key can be exported. */ + releasePolicy?: KeyReleasePolicy; } /** Contains response data for the importKey operation. */ @@ -608,6 +757,9 @@ export type KeyVaultClientImportKeyResponse = KeyBundle & { }; }; +/** Optional parameters. */ +export interface KeyVaultClientDeleteKeyOptionalParams extends coreHttp.OperationOptions {} + /** Contains response data for the deleteKey operation. */ export type KeyVaultClientDeleteKeyResponse = DeletedKeyBundle & { /** The underlying HTTP response. */ @@ -621,14 +773,15 @@ export type KeyVaultClientDeleteKeyResponse = DeletedKeyBundle & { }; /** Optional parameters. */ -export interface KeyVaultClientUpdateKeyOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientUpdateKeyOptionalParams extends coreHttp.OperationOptions { /** Json web key operations. For more information on possible key operations, see JsonWebKeyOperation. */ keyOps?: JsonWebKeyOperation[]; /** The attributes of a key managed by the key vault service. */ keyAttributes?: KeyAttributes; /** Application specific metadata in the form of key-value pairs. */ tags?: { [propertyName: string]: string }; + /** The policy rules under which the key can be exported. */ + releasePolicy?: KeyReleasePolicy; } /** Contains response data for the updateKey operation. */ @@ -643,6 +796,9 @@ export type KeyVaultClientUpdateKeyResponse = KeyBundle & { }; }; +/** Optional parameters. */ +export interface KeyVaultClientGetKeyOptionalParams extends coreHttp.OperationOptions {} + /** Contains response data for the getKey operation. */ export type KeyVaultClientGetKeyResponse = KeyBundle & { /** The underlying HTTP response. */ @@ -656,8 +812,7 @@ export type KeyVaultClientGetKeyResponse = KeyBundle & { }; /** Optional parameters. */ -export interface KeyVaultClientGetKeyVersionsOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientGetKeyVersionsOptionalParams extends coreHttp.OperationOptions { /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */ maxresults?: number; } @@ -675,8 +830,7 @@ export type KeyVaultClientGetKeyVersionsResponse = KeyListResult & { }; /** Optional parameters. */ -export interface KeyVaultClientGetKeysOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientGetKeysOptionalParams extends coreHttp.OperationOptions { /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */ maxresults?: number; } @@ -693,6 +847,9 @@ export type KeyVaultClientGetKeysResponse = KeyListResult & { }; }; +/** Optional parameters. */ +export interface KeyVaultClientBackupKeyOptionalParams extends coreHttp.OperationOptions {} + /** Contains response data for the backupKey operation. */ export type KeyVaultClientBackupKeyResponse = BackupKeyResult & { /** The underlying HTTP response. */ @@ -705,6 +862,9 @@ export type KeyVaultClientBackupKeyResponse = BackupKeyResult & { }; }; +/** Optional parameters. */ +export interface KeyVaultClientRestoreKeyOptionalParams extends coreHttp.OperationOptions {} + /** Contains response data for the restoreKey operation. */ export type KeyVaultClientRestoreKeyResponse = KeyBundle & { /** The underlying HTTP response. */ @@ -718,8 +878,7 @@ export type KeyVaultClientRestoreKeyResponse = KeyBundle & { }; /** Optional parameters. */ -export interface KeyVaultClientEncryptOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientEncryptOptionalParams extends coreHttp.OperationOptions { /** Initialization vector for symmetric algorithms. */ iv?: Uint8Array; /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */ @@ -741,8 +900,7 @@ export type KeyVaultClientEncryptResponse = KeyOperationResult & { }; /** Optional parameters. */ -export interface KeyVaultClientDecryptOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientDecryptOptionalParams extends coreHttp.OperationOptions { /** Initialization vector for symmetric algorithms. */ iv?: Uint8Array; /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */ @@ -763,6 +921,9 @@ export type KeyVaultClientDecryptResponse = KeyOperationResult & { }; }; +/** Optional parameters. */ +export interface KeyVaultClientSignOptionalParams extends coreHttp.OperationOptions {} + /** Contains response data for the sign operation. */ export type KeyVaultClientSignResponse = KeyOperationResult & { /** The underlying HTTP response. */ @@ -775,6 +936,9 @@ export type KeyVaultClientSignResponse = KeyOperationResult & { }; }; +/** Optional parameters. */ +export interface KeyVaultClientVerifyOptionalParams extends coreHttp.OperationOptions {} + /** Contains response data for the verify operation. */ export type KeyVaultClientVerifyResponse = KeyVerifyResult & { /** The underlying HTTP response. */ @@ -788,8 +952,7 @@ export type KeyVaultClientVerifyResponse = KeyVerifyResult & { }; /** Optional parameters. */ -export interface KeyVaultClientWrapKeyOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientWrapKeyOptionalParams extends coreHttp.OperationOptions { /** Initialization vector for symmetric algorithms. */ iv?: Uint8Array; /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */ @@ -811,8 +974,7 @@ export type KeyVaultClientWrapKeyResponse = KeyOperationResult & { }; /** Optional parameters. */ -export interface KeyVaultClientUnwrapKeyOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientUnwrapKeyOptionalParams extends coreHttp.OperationOptions { /** Initialization vector for symmetric algorithms. */ iv?: Uint8Array; /** Additional data to authenticate but not encrypt/decrypt when using authenticated crypto algorithms. */ @@ -834,8 +996,49 @@ export type KeyVaultClientUnwrapKeyResponse = KeyOperationResult & { }; /** Optional parameters. */ -export interface KeyVaultClientGetDeletedKeysOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientExportOptionalParams extends coreHttp.OperationOptions { + /** The export key encryption Json web key. This key MUST be a RSA key that supports encryption. */ + wrappingKey?: JsonWebKey; + /** The export key encryption key identifier. This key MUST be a RSA key that supports encryption. */ + wrappingKid?: string; + /** The encryption algorithm to use to protected the exported key material */ + enc?: KeyEncryptionAlgorithm; +} + +/** Contains response data for the export operation. */ +export type KeyVaultClientExportResponse = KeyBundle & { + /** The underlying HTTP response. */ + _response: coreHttp.HttpResponse & { + /** The response body as text (string format) */ + bodyAsText: string; + + /** The response body as parsed JSON or XML */ + parsedBody: KeyBundle; + }; +}; + +/** Optional parameters. */ +export interface KeyVaultClientReleaseOptionalParams extends coreHttp.OperationOptions { + /** A client provided nonce for freshness. */ + nonce?: string; + /** The encryption algorithm to use to protected the exported key material */ + enc?: KeyEncryptionAlgorithm; +} + +/** Contains response data for the release operation. */ +export type KeyVaultClientReleaseResponse = KeyReleaseResult & { + /** The underlying HTTP response. */ + _response: coreHttp.HttpResponse & { + /** The response body as text (string format) */ + bodyAsText: string; + + /** The response body as parsed JSON or XML */ + parsedBody: KeyReleaseResult; + }; +}; + +/** Optional parameters. */ +export interface KeyVaultClientGetDeletedKeysOptionalParams extends coreHttp.OperationOptions { /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */ maxresults?: number; } @@ -852,6 +1055,9 @@ export type KeyVaultClientGetDeletedKeysResponse = DeletedKeyListResult & { }; }; +/** Optional parameters. */ +export interface KeyVaultClientGetDeletedKeyOptionalParams extends coreHttp.OperationOptions {} + /** Contains response data for the getDeletedKey operation. */ export type KeyVaultClientGetDeletedKeyResponse = DeletedKeyBundle & { /** The underlying HTTP response. */ @@ -864,6 +1070,12 @@ export type KeyVaultClientGetDeletedKeyResponse = DeletedKeyBundle & { }; }; +/** Optional parameters. */ +export interface KeyVaultClientPurgeDeletedKeyOptionalParams extends coreHttp.OperationOptions {} + +/** Optional parameters. */ +export interface KeyVaultClientRecoverDeletedKeyOptionalParams extends coreHttp.OperationOptions {} + /** Contains response data for the recoverDeletedKey operation. */ export type KeyVaultClientRecoverDeletedKeyResponse = KeyBundle & { /** The underlying HTTP response. */ @@ -877,8 +1089,54 @@ export type KeyVaultClientRecoverDeletedKeyResponse = KeyBundle & { }; /** Optional parameters. */ -export interface KeyVaultClientGetKeyVersionsNextOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientGetKeyRotationPolicyOptionalParams + extends coreHttp.OperationOptions {} + +/** Contains response data for the getKeyRotationPolicy operation. */ +export type KeyVaultClientGetKeyRotationPolicyResponse = KeyRotationPolicy & { + /** The underlying HTTP response. */ + _response: coreHttp.HttpResponse & { + /** The response body as text (string format) */ + bodyAsText: string; + + /** The response body as parsed JSON or XML */ + parsedBody: KeyRotationPolicy; + }; +}; + +/** Optional parameters. */ +export interface KeyVaultClientUpdateKeyRotationPolicyOptionalParams + extends coreHttp.OperationOptions {} + +/** Contains response data for the updateKeyRotationPolicy operation. */ +export type KeyVaultClientUpdateKeyRotationPolicyResponse = KeyRotationPolicy & { + /** The underlying HTTP response. */ + _response: coreHttp.HttpResponse & { + /** The response body as text (string format) */ + bodyAsText: string; + + /** The response body as parsed JSON or XML */ + parsedBody: KeyRotationPolicy; + }; +}; + +/** Optional parameters. */ +export interface KeyVaultClientGetRandomBytesOptionalParams extends coreHttp.OperationOptions {} + +/** Contains response data for the getRandomBytes operation. */ +export type KeyVaultClientGetRandomBytesResponse = RandomBytes & { + /** The underlying HTTP response. */ + _response: coreHttp.HttpResponse & { + /** The response body as text (string format) */ + bodyAsText: string; + + /** The response body as parsed JSON or XML */ + parsedBody: RandomBytes; + }; +}; + +/** Optional parameters. */ +export interface KeyVaultClientGetKeyVersionsNextOptionalParams extends coreHttp.OperationOptions { /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */ maxresults?: number; } @@ -896,8 +1154,7 @@ export type KeyVaultClientGetKeyVersionsNextResponse = KeyListResult & { }; /** Optional parameters. */ -export interface KeyVaultClientGetKeysNextOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientGetKeysNextOptionalParams extends coreHttp.OperationOptions { /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */ maxresults?: number; } @@ -915,8 +1172,7 @@ export type KeyVaultClientGetKeysNextResponse = KeyListResult & { }; /** Optional parameters. */ -export interface KeyVaultClientGetDeletedKeysNextOptionalParams - extends coreHttp.OperationOptions { +export interface KeyVaultClientGetDeletedKeysNextOptionalParams extends coreHttp.OperationOptions { /** Maximum number of results to return in a page. If not specified the service will return up to 25 results. */ maxresults?: number; } @@ -934,8 +1190,7 @@ export type KeyVaultClientGetDeletedKeysNextResponse = DeletedKeyListResult & { }; /** Optional parameters. */ -export interface KeyVaultClientOptionalParams - extends coreHttp.ServiceClientOptions { +export interface KeyVaultClientOptionalParams extends coreHttp.ServiceClientOptions { /** Overrides client endpoint. */ endpoint?: string; } diff --git a/sdk/keyvault/keyvault-keys/src/generated/models/mappers.ts b/sdk/keyvault/keyvault-keys/src/generated/models/mappers.ts index 597309054153..7c2fd278f194 100644 --- a/sdk/keyvault/keyvault-keys/src/generated/models/mappers.ts +++ b/sdk/keyvault/keyvault-keys/src/generated/models/mappers.ts @@ -62,6 +62,13 @@ export const KeyCreateParameters: coreHttp.CompositeMapper = { type: { name: "String" } + }, + releasePolicy: { + serializedName: "release_policy", + type: { + name: "Composite", + className: "KeyReleasePolicy" + } } } } @@ -108,6 +115,28 @@ export const Attributes: coreHttp.CompositeMapper = { } }; +export const KeyReleasePolicy: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "KeyReleasePolicy", + modelProperties: { + contentType: { + defaultValue: "application/json; charset=utf-8", + serializedName: "contentType", + type: { + name: "String" + } + }, + data: { + serializedName: "data", + type: { + name: "Base64Url" + } + } + } + } +}; + export const KeyBundle: coreHttp.CompositeMapper = { type: { name: "Composite", @@ -140,6 +169,13 @@ export const KeyBundle: coreHttp.CompositeMapper = { type: { name: "Boolean" } + }, + releasePolicy: { + serializedName: "release_policy", + type: { + name: "Composite", + className: "KeyReleasePolicy" + } } } } @@ -332,6 +368,13 @@ export const KeyImportParameters: coreHttp.CompositeMapper = { name: "Dictionary", value: { type: { name: "String" } } } + }, + releasePolicy: { + serializedName: "release_policy", + type: { + name: "Composite", + className: "KeyReleasePolicy" + } } } } @@ -366,6 +409,13 @@ export const KeyUpdateParameters: coreHttp.CompositeMapper = { name: "Dictionary", value: { type: { name: "String" } } } + }, + releasePolicy: { + serializedName: "release_policy", + type: { + name: "Composite", + className: "KeyReleasePolicy" + } } } } @@ -622,6 +672,81 @@ export const KeyVerifyResult: coreHttp.CompositeMapper = { } }; +export const KeyExportParameters: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "KeyExportParameters", + modelProperties: { + wrappingKey: { + serializedName: "wrappingKey", + type: { + name: "Composite", + className: "JsonWebKey" + } + }, + wrappingKid: { + serializedName: "wrappingKid", + type: { + name: "String" + } + }, + enc: { + serializedName: "enc", + type: { + name: "String" + } + } + } + } +}; + +export const KeyReleaseParameters: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "KeyReleaseParameters", + modelProperties: { + target: { + constraints: { + MinLength: 1 + }, + serializedName: "target", + required: true, + type: { + name: "String" + } + }, + nonce: { + serializedName: "nonce", + type: { + name: "String" + } + }, + enc: { + serializedName: "enc", + type: { + name: "String" + } + } + } + } +}; + +export const KeyReleaseResult: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "KeyReleaseResult", + modelProperties: { + value: { + serializedName: "value", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const DeletedKeyListResult: coreHttp.CompositeMapper = { type: { name: "Composite", @@ -651,6 +776,165 @@ export const DeletedKeyListResult: coreHttp.CompositeMapper = { } }; +export const KeyRotationPolicy: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "KeyRotationPolicy", + modelProperties: { + id: { + serializedName: "id", + readOnly: true, + type: { + name: "String" + } + }, + lifetimeActions: { + serializedName: "lifetimeActions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LifetimeActions" + } + } + } + }, + attributes: { + serializedName: "attributes", + type: { + name: "Composite", + className: "KeyRotationPolicyAttributes" + } + } + } + } +}; + +export const LifetimeActions: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "LifetimeActions", + modelProperties: { + trigger: { + serializedName: "trigger", + type: { + name: "Composite", + className: "LifetimeActionsTrigger" + } + }, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "LifetimeActionsType" + } + } + } + } +}; + +export const LifetimeActionsTrigger: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "LifetimeActionsTrigger", + modelProperties: { + timeAfterCreate: { + serializedName: "timeAfterCreate", + type: { + name: "String" + } + }, + timeBeforeExpiry: { + serializedName: "timeBeforeExpiry", + type: { + name: "String" + } + } + } + } +}; + +export const LifetimeActionsType: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "LifetimeActionsType", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "Enum", + allowedValues: ["rotate", "notify"] + } + } + } + } +}; + +export const KeyRotationPolicyAttributes: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "KeyRotationPolicyAttributes", + modelProperties: { + expiryTime: { + serializedName: "expiryTime", + type: { + name: "String" + } + }, + created: { + serializedName: "created", + readOnly: true, + type: { + name: "UnixTime" + } + }, + updated: { + serializedName: "updated", + readOnly: true, + type: { + name: "UnixTime" + } + } + } + } +}; + +export const GetRandomBytesRequest: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "GetRandomBytesRequest", + modelProperties: { + count: { + constraints: { + InclusiveMaximum: 128, + InclusiveMinimum: 1 + }, + serializedName: "count", + required: true, + type: { + name: "Number" + } + } + } + } +}; + +export const RandomBytes: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "RandomBytes", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Base64Url" + } + } + } + } +}; + export const KeyProperties: coreHttp.CompositeMapper = { type: { name: "Composite", @@ -709,6 +993,12 @@ export const KeyAttributes: coreHttp.CompositeMapper = { type: { name: "String" } + }, + exportable: { + serializedName: "exportable", + type: { + name: "Boolean" + } } } } diff --git a/sdk/keyvault/keyvault-keys/src/generated/models/parameters.ts b/sdk/keyvault/keyvault-keys/src/generated/models/parameters.ts index 037b1aebf02c..0d8fce9f470f 100644 --- a/sdk/keyvault/keyvault-keys/src/generated/models/parameters.ts +++ b/sdk/keyvault/keyvault-keys/src/generated/models/parameters.ts @@ -18,7 +18,11 @@ import { KeyRestoreParameters as KeyRestoreParametersMapper, KeyOperationsParameters as KeyOperationsParametersMapper, KeySignParameters as KeySignParametersMapper, - KeyVerifyParameters as KeyVerifyParametersMapper + KeyVerifyParameters as KeyVerifyParametersMapper, + KeyExportParameters as KeyExportParametersMapper, + KeyReleaseParameters as KeyReleaseParametersMapper, + KeyRotationPolicy as KeyRotationPolicyMapper, + GetRandomBytesRequest as GetRandomBytesRequestMapper } from "../models/mappers"; export const contentType: OperationParameter = { @@ -80,6 +84,11 @@ export const curve: OperationParameter = { mapper: KeyCreateParametersMapper }; +export const releasePolicy: OperationParameter = { + parameterPath: ["options", "releasePolicy"], + mapper: KeyCreateParametersMapper +}; + export const vaultBaseUrl: OperationURLParameter = { parameterPath: "vaultBaseUrl", mapper: { @@ -137,6 +146,11 @@ export const tags1: OperationParameter = { mapper: KeyImportParametersMapper }; +export const releasePolicy1: OperationParameter = { + parameterPath: ["options", "releasePolicy"], + mapper: KeyImportParametersMapper +}; + export const keyName1: OperationURLParameter = { parameterPath: "keyName", mapper: { @@ -163,6 +177,11 @@ export const tags2: OperationParameter = { mapper: KeyUpdateParametersMapper }; +export const releasePolicy2: OperationParameter = { + parameterPath: ["options", "releasePolicy"], + mapper: KeyUpdateParametersMapper +}; + export const keyVersion: OperationURLParameter = { parameterPath: "keyVersion", mapper: { @@ -243,6 +262,46 @@ export const signature: OperationParameter = { mapper: KeyVerifyParametersMapper }; +export const wrappingKey: OperationParameter = { + parameterPath: ["options", "wrappingKey"], + mapper: KeyExportParametersMapper +}; + +export const wrappingKid: OperationParameter = { + parameterPath: ["options", "wrappingKid"], + mapper: KeyExportParametersMapper +}; + +export const enc: OperationParameter = { + parameterPath: ["options", "enc"], + mapper: KeyExportParametersMapper +}; + +export const target: OperationParameter = { + parameterPath: "target", + mapper: KeyReleaseParametersMapper +}; + +export const nonce: OperationParameter = { + parameterPath: ["options", "nonce"], + mapper: KeyReleaseParametersMapper +}; + +export const enc1: OperationParameter = { + parameterPath: ["options", "enc"], + mapper: KeyReleaseParametersMapper +}; + +export const keyRotationPolicy: OperationParameter = { + parameterPath: "keyRotationPolicy", + mapper: KeyRotationPolicyMapper +}; + +export const count: OperationParameter = { + parameterPath: "count", + mapper: GetRandomBytesRequestMapper +}; + export const nextLink: OperationURLParameter = { parameterPath: "nextLink", mapper: { diff --git a/sdk/keyvault/keyvault-keys/src/index.ts b/sdk/keyvault/keyvault-keys/src/index.ts index c246503f620c..1253b8f828a6 100644 --- a/sdk/keyvault/keyvault-keys/src/index.ts +++ b/sdk/keyvault/keyvault-keys/src/index.ts @@ -59,7 +59,8 @@ import { KeyClientOptions, CryptographyClientOptions, LATEST_API_VERSION, - CreateOctKeyOptions + CreateOctKeyOptions, + GetRandomBytesOptions } from "./keysModels"; import { CryptographyClient } from "./cryptographyClient"; @@ -136,6 +137,7 @@ export { EncryptResult, GetDeletedKeyOptions, GetKeyOptions, + GetRandomBytesOptions, ImportKeyOptions, JsonWebKey, KeyCurveName, @@ -650,6 +652,24 @@ export class KeyClient { }); } + /** + * Gets the requested number of bytes containing random values from a managed HSM. + * + * Example usage: + * ```ts + * let client = new KeyClient(vaultUrl, credentials); + * let bytes = await client.getRandomBytes(10); + * ``` + * @param count - The number of bytes to generate between 1 and 128 inclusive. + * @param options - The optional parameters. + */ + public getRandomBytes(count: number, options: GetRandomBytesOptions = {}): Promise { + return withTrace("getRandomBytes", options, async (updatedOptions) => { + const response = await this.client.getRandomBytes(this.vaultUrl, count, updatedOptions); + return response.value!; + }); + } + /** * @internal * @hidden diff --git a/sdk/keyvault/keyvault-keys/src/keysModels.ts b/sdk/keyvault/keyvault-keys/src/keysModels.ts index b59aca85498a..bb74f9fe2f60 100644 --- a/sdk/keyvault/keyvault-keys/src/keysModels.ts +++ b/sdk/keyvault/keyvault-keys/src/keysModels.ts @@ -6,17 +6,16 @@ import { DeletionRecoveryLevel, JsonWebKeyType as KeyType, KnownJsonWebKeyType as KnownKeyTypes, - JsonWebKeyOperation as KeyOperation, - KnownJsonWebKeyOperation as KnownKeyOperations + JsonWebKeyOperation as KeyOperation } from "./generated/models"; import { KeyCurveName } from "./cryptographyClientModels"; -export { KeyType, KnownKeyTypes, KeyOperation, KnownKeyOperations }; +export { KeyType, KnownKeyTypes, KeyOperation }; /** * The latest supported Key Vault service API version */ -export const LATEST_API_VERSION = "7.2"; +export const LATEST_API_VERSION = "7.3-preview"; /** * The optional parameters accepted by the KeyVault's KeyClient @@ -475,3 +474,26 @@ export interface RestoreKeyBackupOptions extends coreHttp.OperationOptions {} * An interface representing the options of the cryptography API methods, go to the {@link CryptographyClient} for more information. */ export interface CryptographyOptions extends coreHttp.OperationOptions {} + +/** + * Options for {@link KeyClient.getRandomBytes} + */ +export interface GetRandomBytesOptions extends coreHttp.OperationOptions {} + +/** Known values of {@link KeyOperation} that the service accepts. */ +export enum KnownKeyOperations { + /** Key operation - encrypt */ + Encrypt = "encrypt", + /** Key operation - encrypt */ + Decrypt = "decrypt", + /** Key operation - encrypt */ + Sign = "sign", + /** Key operation - encrypt */ + Verify = "verify", + /** Key operation - encrypt */ + WrapKey = "wrapKey", + /** Key operation - encrypt */ + UnwrapKey = "unwrapKey", + /** Key operation - encrypt */ + Import = "import" +} diff --git a/sdk/keyvault/keyvault-keys/swagger/README.md b/sdk/keyvault/keyvault-keys/swagger/README.md index 197577e0ac0b..d2ae7e69c5fe 100644 --- a/sdk/keyvault/keyvault-keys/swagger/README.md +++ b/sdk/keyvault/keyvault-keys/swagger/README.md @@ -3,21 +3,17 @@ > see https://aka.ms/autorest ```yaml -typescript: - package-name: "@azure/keyvault-keys" -use-extension: - "@autorest/typescript": "6.0.0-dev.20210111.1" +package-name: "@azure/keyvault-keys" azure-arm: false generate-metadata: false add-credentials: false +use-core-v2: false license-header: MICROSOFT_MIT_NO_VERSION -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/1e2c9f3ec93078da8078389941531359e274f32a/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.2/keys.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f4a4badda9e19dca5cab216f3dd8b45362aeb90b/specification/keyvault/data-plane/Microsoft.KeyVault/preview/7.3-preview/keys.json output-folder: ../ source-code-folder-path: ./src/generated disable-async-iterators: true api-version-parameter: choice -v3: true -hide-clients: true package-version: 4.3.0-beta.1 ``` diff --git a/sdk/keyvault/keyvault-keys/test/public/CRUD.hsm.spec.ts b/sdk/keyvault/keyvault-keys/test/public/keyClient.hsm.spec.ts similarity index 68% rename from sdk/keyvault/keyvault-keys/test/public/CRUD.hsm.spec.ts rename to sdk/keyvault/keyvault-keys/test/public/keyClient.hsm.spec.ts index b993b581ace8..561fcba34407 100644 --- a/sdk/keyvault/keyvault-keys/test/public/CRUD.hsm.spec.ts +++ b/sdk/keyvault/keyvault-keys/test/public/keyClient.hsm.spec.ts @@ -10,6 +10,7 @@ import { authenticate } from "../utils/testAuthentication"; import TestClient from "../utils/testClient"; import { CreateOctKeyOptions } from "../../src/keysModels"; import { getServiceVersion, onVersions } from "../utils/utils.common"; +import { supportsTracing } from "../../../keyvault-common/test/utils/supportsTracing"; onVersions({ minVer: "7.2" }).describe( "Keys client - create, read, update and delete operations for managed HSM", @@ -49,5 +50,26 @@ onVersions({ minVer: "7.2" }).describe( assert.equal(result.keyType, "oct-HSM"); await testClient.flushKey(keyName); }); + + onVersions({ minVer: "7.3-preview" }).describe("getRandomBytes", () => { + it("can return the required number of bytes", async () => { + const randomBytes = await hsmClient.getRandomBytes(10); + assert.exists(randomBytes); + assert.equal(randomBytes!.length, 10); + }); + + it("returns an error when bytes is out of range", async () => { + await assert.isRejected(hsmClient.getRandomBytes(-1)); + await assert.isRejected(hsmClient.getRandomBytes(0)); + await assert.isRejected(hsmClient.getRandomBytes(129)); + }); + + it("supports tracing", async () => { + await supportsTracing( + (tracingOptions) => hsmClient.getRandomBytes(128, { tracingOptions }), + ["Azure.KeyVault.Keys.KeyClient.getRandomBytes"] + ); + }); + }); } ); diff --git a/sdk/keyvault/keyvault-keys/test/public/CRUD.spec.ts b/sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts similarity index 100% rename from sdk/keyvault/keyvault-keys/test/public/CRUD.spec.ts rename to sdk/keyvault/keyvault-keys/test/public/keyClient.spec.ts diff --git a/sdk/keyvault/keyvault-keys/test/utils/utils.common.ts b/sdk/keyvault/keyvault-keys/test/utils/utils.common.ts index 14faadfac17b..8528c5be3989 100644 --- a/sdk/keyvault/keyvault-keys/test/utils/utils.common.ts +++ b/sdk/keyvault/keyvault-keys/test/utils/utils.common.ts @@ -49,7 +49,7 @@ export function getServiceVersion(): string { /** * The known API versions that we support. */ -export const serviceVersions = ["7.0", "7.1", "7.2"] as const; +export const serviceVersions = ["7.0", "7.1", "7.2", "7.3-preview"] as const; /** * A convenience wrapper allowing us to limit service versions without using the `versionsToTest` wrapper. From 4784937d794e3eef9b2101d5478942c441bae5b8 Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Fri, 25 Jun 2021 18:55:22 -0400 Subject: [PATCH 063/134] Fix pipeline error for test-utils (#15899) --- eng/pipelines/templates/jobs/ci.yml | 4 ++++ eng/pipelines/templates/stages/archetype-sdk-client.yml | 1 + eng/pipelines/templates/steps/build.yml | 8 ++++++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/templates/jobs/ci.yml b/eng/pipelines/templates/jobs/ci.yml index f1a755558c9e..8dd7c0baef1f 100644 --- a/eng/pipelines/templates/jobs/ci.yml +++ b/eng/pipelines/templates/jobs/ci.yml @@ -19,6 +19,9 @@ parameters: - name: MatrixReplace type: object default: [] + - name: IncludeRelease + type: boolean + default: true jobs: - job: "Build" @@ -42,6 +45,7 @@ jobs: Artifacts: ${{ parameters.Artifacts }} ServiceDirectory: ${{ parameters.ServiceDirectory }} TestPipeline: ${{ parameters.TestPipeline }} + IncludeRelease: ${{ parameters.IncludeRelease }} - job: "Analyze" variables: diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml index e278177465b6..97da87eccf11 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml @@ -58,6 +58,7 @@ stages: - ${{ each filter in parameters.MatrixFilters }}: - ${{ filter}} MatrixReplace: ${{ parameters.MatrixReplace }} + IncludeRelease: ${{ parameters.IncludeRelease }} # The Prerelease and Release stages are conditioned on whether we are building a pull request and the branch. - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'), eq(parameters.IncludeRelease,true))}}: diff --git a/eng/pipelines/templates/steps/build.yml b/eng/pipelines/templates/steps/build.yml index 2ff746ebc439..d4230bcbef1e 100644 --- a/eng/pipelines/templates/steps/build.yml +++ b/eng/pipelines/templates/steps/build.yml @@ -2,6 +2,7 @@ parameters: Artifacts: [] TestPipeline: false ServiceDirectory: not-specified + IncludeRelease: true steps: - template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml @@ -73,8 +74,11 @@ steps: New-Item -Type Directory -Name $artifactName -Path $(Build.ArtifactStagingDirectory) > $null Copy-Item sdk/${{parameters.ServiceDirectory}}/**/$artifactName-*.tgz $(Build.ArtifactStagingDirectory)/$artifactName Copy-Item sdk/${{parameters.ServiceDirectory}}/**/browser/$artifactName-*.zip $(Build.ArtifactStagingDirectory)/$artifactName - New-Item -Type Directory -Name documentation -Path $(Build.ArtifactStagingDirectory)/$artifactName > $null - Copy-Item $(Build.SourcesDirectory)/docGen/$artifactName.zip $(Build.ArtifactStagingDirectory)/$artifactName/documentation + if ($${{ parameters.IncludeRelease }} -eq $true) + { + New-Item -Type Directory -Name documentation -Path $(Build.ArtifactStagingDirectory)/$artifactName > $null + Copy-Item $(Build.SourcesDirectory)/docGen/$artifactName.zip $(Build.ArtifactStagingDirectory)/$artifactName/documentation + } } displayName: 'Copy Packages' From 82085fff046b5509d7d00ffb829ed86c0dd51808 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Fri, 25 Jun 2021 15:57:49 -0700 Subject: [PATCH 064/134] Prepare to move to @types/node v12 (#16012) As part of #7022, we will be moving the version of `@types/node` from 8 to 12 This PR has the changes required to fix the build errors that occurred when trying out this change - The [Agent](https://nodejs.org/docs/latest-v12.x/api/http.html#http_class_http_agent) class in Node.js 12 has an extra property `maxTotalSockets`. The docs say there is a default value for this, but it it is still marked as a mandatory property in the types. We use our own interface for this class for the purposes of user providing their own custom agent. Am casting it in this PR to the expected type. If anyone has better ideas here, am all ears :) - `global.URL` is not a thing as per the types for Node.js 12. We needed this to support Node.js 8 - Fixing the types for `port` in the parsed url The actual move to v12 for `@types/node` will be done in a separate PR --- sdk/core/core-rest-pipeline/src/nodeHttpClient.ts | 2 +- .../internal/node/interactiveBrowserCredential.spec.ts | 7 ------- sdk/test-utils/perfstress/src/policy.ts | 4 ++-- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts b/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts index f750d303e3c8..4dafde592688 100644 --- a/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts +++ b/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts @@ -207,7 +207,7 @@ class NodeHttpClient implements HttpClient { throw new Error(`Cannot connect to ${request.url} while allowInsecureConnection is false.`); } - const agent = request.agent ?? this.getOrCreateAgent(request, isInsecure); + const agent = (request.agent as http.Agent) ?? this.getOrCreateAgent(request, isInsecure); const options: http.RequestOptions = { agent, hostname: url.hostname, diff --git a/sdk/identity/identity/test/internal/node/interactiveBrowserCredential.spec.ts b/sdk/identity/identity/test/internal/node/interactiveBrowserCredential.spec.ts index ca006da32690..b90d1b8e62ff 100644 --- a/sdk/identity/identity/test/internal/node/interactiveBrowserCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/interactiveBrowserCredential.spec.ts @@ -12,8 +12,6 @@ import { InteractiveBrowserCredential } from "../../../src"; import { MsalTestCleanup, msalNodeTestSetup } from "../../msalTestUtils"; import { interactiveBrowserMockable } from "../../../src/msal/nodeFlows/msalOpenBrowser"; -import { URL } from "url"; - declare global { namespace NodeJS { interface Global { @@ -38,11 +36,6 @@ describe("InteractiveBrowserCredential (internal)", function() { const scope = "https://vault.azure.net/.default"; it("Throws an expected error if no browser is available", async function(this: Context) { - // On Node 8, URL is not defined. We use URL on the msalOpenBrowser.ts file. - if (process.version.startsWith("v8.")) { - global.URL = URL; - } - // The SinonStub type does not include this second parameter to throws(). const testErrorMessage = "No browsers available on this test."; (sandbox.stub(interactiveBrowserMockable, "open") as any).throws("TestError", testErrorMessage); diff --git a/sdk/test-utils/perfstress/src/policy.ts b/sdk/test-utils/perfstress/src/policy.ts index d0093035f852..c259da90607b 100644 --- a/sdk/test-utils/perfstress/src/policy.ts +++ b/sdk/test-utils/perfstress/src/policy.ts @@ -14,7 +14,7 @@ import * as url from "url"; */ export class PerfStressPolicy extends BaseRequestPolicy { private host: string; - private port?: string; + private port?: string | null; /** * It receives the common parameters sent to any core-http policy, plus the host and the port. @@ -27,7 +27,7 @@ export class PerfStressPolicy extends BaseRequestPolicy { nextPolicy: RequestPolicy, options: RequestPolicyOptions, host: string, - port?: string + port?: string | null ) { super(nextPolicy, options); this.host = host; From b7296744277582914c0e863ef07626915ae77ea5 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Fri, 25 Jun 2021 16:00:09 -0700 Subject: [PATCH 065/134] Update Node.js & browser support in README (#16011) --- .../dev-tool/src/templates/sampleReadme.md.ts | 3 +- samples/cors/ts/README.md | 2 +- samples/frameworks/electron/ts/README.md | 2 +- samples/frameworks/react/ts/README.md | 2 +- samples/web-workers/README.md | 4 +- .../ai-anomaly-detector/README.md | 9 +- .../app-configuration/README.md | 11 +- .../app-configuration/sample-react/README.md | 2 +- sdk/attestation/attestation/README.md | 123 +++++++++--------- .../container-registry/README.md | 8 +- sdk/core/core-amqp/README.md | 7 +- sdk/core/core-client-rest/README.md | 7 +- sdk/core/core-client/README.md | 7 +- sdk/core/core-crypto/README.md | 7 +- sdk/core/core-http/README.md | 10 +- sdk/core/core-rest-pipeline/README.md | 7 +- sdk/core/core-util/README.md | 7 +- sdk/core/core-xml/README.md | 7 +- sdk/cosmosdb/cosmos/README.md | 2 +- sdk/deviceupdate/iot-device-update/README.md | 2 +- sdk/digitaltwins/digital-twins-core/README.md | 6 +- sdk/eventgrid/eventgrid/README.md | 12 +- sdk/eventhub/event-hubs/README.md | 12 +- .../event-hubs/samples-browser/README.md | 2 +- .../event-hubs/samples-express/README.md | 2 +- .../event-hubs/samples/v5/browser/README.md | 2 +- .../event-hubs/samples/v5/express/README.md | 2 +- .../samples/v5/javascript/README.md | 2 +- .../samples/v5/typescript/README.md | 2 +- .../eventhubs-checkpointstore-blob/README.md | 18 ++- .../ai-form-recognizer/README.md | 10 +- .../identity/samples/javascript/README.md | 2 +- .../identity/samples/typescript/README.md | 2 +- sdk/identity/perf-tests/identity/README.md | 3 - sdk/iot/iot-modelsrepository/README.md | 6 +- sdk/keyvault/keyvault-secrets/README.md | 10 +- .../ai-metrics-advisor/README.md | 5 +- .../mixedreality-authentication/README.md | 2 +- .../monitor-opentelemetry-exporter/README.md | 12 +- .../@azure/storage-blob/javascript/README.md | 2 +- .../@azure/storage-blob/typescript/README.md | 2 +- sdk/monitor/monitor-query/README.md | 11 +- sdk/quantum/quantum-jobs/README.md | 2 +- .../schema-registry-avro/README.md | 2 +- sdk/schemaregistry/schema-registry/README.md | 2 +- sdk/search/search-documents/README.md | 11 +- .../samples/javascript/README.md | 2 +- .../samples/typescript/README.md | 2 +- sdk/servicebus/service-bus/README.md | 9 +- sdk/storage/storage-blob-changefeed/README.md | 12 +- .../samples/javascript/README.md | 2 +- .../samples/typescript/README.md | 2 +- sdk/storage/storage-blob/README.md | 12 +- .../storage-blob/samples/javascript/README.md | 2 +- .../storage-blob/samples/typescript/README.md | 2 +- sdk/storage/storage-file-datalake/README.md | 12 +- .../samples/javascript/README.md | 2 +- .../samples/typescript/README.md | 2 +- sdk/storage/storage-file-share/README.md | 12 +- .../samples/javascript/README.md | 2 +- .../samples/typescript/README.md | 2 +- sdk/storage/storage-queue/README.md | 12 +- .../samples/javascript/README.md | 2 +- .../samples/typescript/README.md | 2 +- sdk/synapse/synapse-access-control/README.md | 6 +- sdk/synapse/synapse-artifacts/README.md | 6 +- .../README.md | 6 +- sdk/synapse/synapse-monitoring/README.md | 6 +- sdk/synapse/synapse-spark/README.md | 6 +- sdk/template/template/README.md | 5 +- sdk/textanalytics/ai-text-analytics/README.md | 5 +- sdk/web-pubsub/web-pubsub-express/README.md | 2 +- sdk/web-pubsub/web-pubsub/README.md | 2 +- 73 files changed, 336 insertions(+), 174 deletions(-) diff --git a/common/tools/dev-tool/src/templates/sampleReadme.md.ts b/common/tools/dev-tool/src/templates/sampleReadme.md.ts index e8134874edd4..3d5179c38284 100644 --- a/common/tools/dev-tool/src/templates/sampleReadme.md.ts +++ b/common/tools/dev-tool/src/templates/sampleReadme.md.ts @@ -6,7 +6,6 @@ import YAML from "yaml"; import prettier from "prettier"; -import { MIN_SUPPORTED_NODE_VERSION } from "../util/sampleConfiguration"; import { SampleReadmeConfiguration } from "../util/sampleGenerationInfo"; /** @@ -166,7 +165,7 @@ ${table(info)} ## Prerequisites -The sample programs are compatible with Node.js >=${MIN_SUPPORTED_NODE_VERSION}. +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). ${(() => { if (info.useTypeScript) { diff --git a/samples/cors/ts/README.md b/samples/cors/ts/README.md index 6b00b2e2e812..901bd7c038f6 100644 --- a/samples/cors/ts/README.md +++ b/samples/cors/ts/README.md @@ -37,7 +37,7 @@ This sample demonstrates a few alternatives to integrating with Azure Key Vault ## Prerequisites -The sample is compatible with Node.js >= 8.0.0 +The sample is compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/) Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. diff --git a/samples/frameworks/electron/ts/README.md b/samples/frameworks/electron/ts/README.md index f5eaded2b3ff..66ec3b7c8d9e 100644 --- a/samples/frameworks/electron/ts/README.md +++ b/samples/frameworks/electron/ts/README.md @@ -9,7 +9,7 @@ In this sample, we build a simple [Electron][electron] application and integrati ## Prerequisites -The samples are compatible with Node.js >= 8.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/) Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. diff --git a/samples/frameworks/react/ts/README.md b/samples/frameworks/react/ts/README.md index 6bcb75274acc..6669d7a4cd5d 100644 --- a/samples/frameworks/react/ts/README.md +++ b/samples/frameworks/react/ts/README.md @@ -9,7 +9,7 @@ In this sample, we build a simple Todo application in React using [create-react- ## Prerequisites -The samples are compatible with Node.js >= 8.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. diff --git a/samples/web-workers/README.md b/samples/web-workers/README.md index 6ee676a2d543..ebe9d895f511 100644 --- a/samples/web-workers/README.md +++ b/samples/web-workers/README.md @@ -12,7 +12,7 @@ In this sample we demonstrate how to polyfill the necessary APIs for using our l ### XML Parsing -When used in the browser, our XML parsing library relies on DOM APIs to support parsing and stringifying XML. Since the DOM APIs are generally available this reduces bundle size and minimizes our dependencies. When running from a Web Worker, however, DOM APIs are not available. This is a browser limitation and requires a polyfill before importing our client libraries in web workers. +When used in the browser, our XML parsing library relies on DOM APIs to support parsing and stringifying XML. Since the DOM APIs are generally available this reduces bundle size and minimizes our dependencies. When running from a Web Worker, however, DOM APIs are not available. This is a browser limitation and requires a polyfill before importing our client libraries in web workers. > Note: Not all client libraries use XML. When running in a web worker, our library will emit a useful error explaining what APIs are required if they are missing so that you can add them as needed. @@ -20,7 +20,7 @@ In these samples we use [JSDOM][jsdom] but you can use any library that provides ## Prerequisites -The samples are compatible with Node.js >= 8.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the TypeScript samples, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. diff --git a/sdk/anomalydetector/ai-anomaly-detector/README.md b/sdk/anomalydetector/ai-anomaly-detector/README.md index 5a3e1e4969d9..2c0e3f8dac40 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/README.md +++ b/sdk/anomalydetector/ai-anomaly-detector/README.md @@ -6,8 +6,8 @@ Key links: - [Source code](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/anomalydetector/ai-anomaly-detector/) - [Package (NPM)](https://www.npmjs.com/package/@azure/ai-anomaly-detector) -- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-anomaly-detector) -- [Product documentation](https://docs.microsoft.com/azure/cognitive-services/anomaly-detector/) +- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/ai-anomaly-detector) +- [Product documentation](https://docs.microsoft.com/azure/cognitive-services/anomaly-detector/) - [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/anomalydetector/ai-anomaly-detector/samples) ## Key concepts @@ -22,7 +22,10 @@ The `AnomalyDetectorClient` provides methods for anomaly detection: ### Currently supported environments -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Prerequisites diff --git a/sdk/appconfiguration/app-configuration/README.md b/sdk/appconfiguration/app-configuration/README.md index d4ce5d88fb10..6ff3e01d9005 100644 --- a/sdk/appconfiguration/app-configuration/README.md +++ b/sdk/appconfiguration/app-configuration/README.md @@ -24,10 +24,17 @@ Key links: npm install @azure/app-configuration ``` +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + ### Prerequisites -- You must have an [Azure Subscription](https://azure.microsoft.com) and an [App Configuration](https://docs.microsoft.com/azure/azure-app-configuration/) resource to use this package. -- Node.js version 8.x.x or higher +- An [Azure Subscription](https://azure.microsoft.com) +- An [App Configuration](https://docs.microsoft.com/azure/azure-app-configuration/) resource ### Create an App Configuration resource diff --git a/sdk/appconfiguration/app-configuration/sample-react/README.md b/sdk/appconfiguration/app-configuration/sample-react/README.md index b74c4757d55c..edf3a602c234 100644 --- a/sdk/appconfiguration/app-configuration/sample-react/README.md +++ b/sdk/appconfiguration/app-configuration/sample-react/README.md @@ -4,7 +4,7 @@ This sample application shows how to use the Feature Flags. ## Prerequisites -The samples are compatible with Node.js >= 8.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and the following resources created to run this sample: diff --git a/sdk/attestation/attestation/README.md b/sdk/attestation/attestation/README.md index c286f33ef2a6..afec50a24ce6 100644 --- a/sdk/attestation/attestation/README.md +++ b/sdk/attestation/attestation/README.md @@ -14,25 +14,28 @@ For a more complete view of Azure libraries, see the [azure sdk typescript relea Key links: -- [Source code][source_code] -- [Package (NPM)][Attestation_npm] -- [API reference documentation][API_reference] +- [Source code][source_code] +- [Package (NPM)][attestation_npm] +- [API reference documentation][api_reference] - [Product documentation](https://docs.microsoft.com/azure/attestation/) ## Getting started ### Currently supported environments -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Prerequisites -- An Azure subscription. To use Azure services, including the Microsoft Azure Attestation service, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a [free trial][azure_sub] or use your [Visual Studio Subscription](https://visualstudio.microsoft.com/subscriptions/) benefits when you [create an account](https://account.windowsazure.com/Home/Index). +- An [Azure Subscription](https://azure.microsoft.com) - An existing Azure Attestation Instance, or you can use the "shared provider" available in each Azure region. If you need to create an Azure Attestation service instance, you can use the Azure Portal or [Azure CLI][azure_cli]. ### Install the @azure/attestation package -Install the Microsoft Azure Attestation client library for JavaScript with [NPM][Attestation_npm]: +Install the Microsoft Azure Attestation client library for JavaScript with [NPM][attestation_npm]: ```Powershell npm install @azure/attestation @@ -41,9 +44,9 @@ npm install @azure/attestation ### Authenticate the client In order to interact with the Microsoft Azure Attestation service, you'll need to create an instance of the [Attestation Client][attestation_client] or [Attestation Administration Client][attestation_admin_client] class. You need a **attestation instance url**, which you may see as "DNS Name" in the portal, - and **client secret credentials (client id, client secret, tenant id)** to instantiate a client object. +and **client secret credentials (client id, client secret, tenant id)** to instantiate a client object. -Client secret credential authentication is being used in this getting started section but you can find more ways to authenticate with [Azure identity][azure_identity]. To use the [DefaultAzureCredential][DefaultAzureCredential] provider shown below, +Client secret credential authentication is being used in this getting started section but you can find more ways to authenticate with [Azure identity][azure_identity]. To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, you should install the Azure.Identity package: ```Powershell @@ -56,35 +59,35 @@ Use the [Azure CLI][azure_cli] snippet below to create/get client secret credent - Create a service principal and configure its access to Azure resources: - ```Powershell - az ad sp create-for-rbac -n --skip-assignment - ``` + ```Powershell + az ad sp create-for-rbac -n --skip-assignment + ``` - Output: + Output: - ```json - { - "appId": "generated-app-ID", - "displayName": "dummy-app-name", - "name": "http://dummy-app-name", - "password": "random-password", - "tenant": "tenant-ID" - } - ``` + ```json + { + "appId": "generated-app-ID", + "displayName": "dummy-app-name", + "name": "http://dummy-app-name", + "password": "random-password", + "tenant": "tenant-ID" + } + ``` - Take note of the service principal objectId - ```Powershell - az ad sp show --id --query objectId - ``` + ```Powershell + az ad sp show --id --query objectId + ``` - Output: + Output: - ```Powershell - "" - ``` + ```Powershell + "" + ``` -- Use the returned credentials above to set **AZURE_CLIENT_ID** (appId), **AZURE_CLIENT_SECRET** (password), and **AZURE_TENANT_ID** (tenant) environment variables. The following example shows a way to do this in Powershell: +- Use the returned credentials above to set **AZURE_CLIENT_ID** (appId), **AZURE_CLIENT_SECRET** (password), and **AZURE_TENANT_ID** (tenant) environment variables. The following example shows a way to do this in Powershell: ```Powershell $Env:AZURE_CLIENT_ID="generated-app-ID" @@ -99,7 +102,7 @@ For more information about the Azure Identity APIs and how to use them, see [Azu There are four major families of functionality provided in this preview SDK: - [SGX and TPM enclave attestation.](#attestation) -- [MAA Attestation Token signing certificate discovery and validation.](#attestation-token-signing-certificate-discovery-and-validation) +- [MAA Attestation Token signing certificate discovery and validation.](#attestation-token-signing-certificate-discovery-and-validation) - [Attestation Policy management.](#policy-management) - [Attestation policy management certificate management](#policy-management-certificate-management) (yes, policy management management). @@ -143,9 +146,9 @@ clients to "roll" the policy management certificates. ### Isolated Mode and AAD Mode -Each Microsoft Azure Attestation service instance operates in either "AAD" mode or "Isolated" mode. When an MAA instance is operating in AAD mode, it means that the customer which created the attestation instance allows Azure Active Directory and Azure Role Based Access control policies to verify access to the attestation instance. +Each Microsoft Azure Attestation service instance operates in either "AAD" mode or "Isolated" mode. When an MAA instance is operating in AAD mode, it means that the customer which created the attestation instance allows Azure Active Directory and Azure Role Based Access control policies to verify access to the attestation instance. -### *AttestationType* +### _AttestationType_ The Microsoft Azure Attestation service supports attesting different types of evidence depending on the environment. Currently, MAA supports the following Trusted Execution environments: @@ -186,13 +189,13 @@ The `getPolicy` method retrieves the attestation policy from the service. Attestation Policies are instanced on a per-attestation type basis, the `AttestationType` parameter defines the type to retrieve. ```js - const policyResult = await adminClient.getPolicy(attestationType); +const policyResult = await adminClient.getPolicy(attestationType); - // The text policy document is available in the `policyResult.value` - // property. +// The text policy document is available in the `policyResult.value` +// property. - // The actual attestation token returned by the MAA service is available - // in `policyResult.token`. +// The actual attestation token returned by the MAA service is available +// in `policyResult.token`. ``` ### Set an attestation policy for a specified attestation type @@ -222,20 +225,19 @@ There are two properties provided in the [PolicyResult][attestation_policy_resul To verify the hash, clients can generate an attestation token and verify the hash generated from that token: ```js - const expectedPolicy = AttestationToken.create( - { - body: new StoredAttestationPolicy(minimalPolicy).serialize(), - signer: signer - }); - - // Use your favorite SHA256 hash generator function to create a hash of the - // stringized JWS. The tests in this package use `KJUR.crypto.Util.hashString(buffer, "sha256")` - // from the `jsrsasign` library, but any crypto library will - // work. - const expectedHash = generateSha256Hash(expectedPolicy.serialize()); - - // The hash returned in expectedHash will match the value in - // `setResult.value.policy_token_hash. +const expectedPolicy = AttestationToken.create({ + body: new StoredAttestationPolicy(minimalPolicy).serialize(), + signer: signer +}); + +// Use your favorite SHA256 hash generator function to create a hash of the +// stringized JWS. The tests in this package use `KJUR.crypto.Util.hashString(buffer, "sha256")` +// from the `jsrsasign` library, but any crypto library will +// work. +const expectedHash = generateSha256Hash(expectedPolicy.serialize()); + +// The hash returned in expectedHash will match the value in +// `setResult.value.policy_token_hash. ``` ### Attest SGX Enclave @@ -248,7 +250,7 @@ One solution to this problem is what is known as "Secure Key Release", which is To implement the "Secure Key Release" pattern, the enclave code generates an ephemeral asymmetric key. It then serializes the public portion of the key to some format (possibly a JSON Web Key, or PEM, or some other serialization format). -The enclave code then calculates the SHA256 value of the public key and passes it as an input to code which generates an SGX Quote (for OpenEnclave, that would be the [oe_get_evidence](https://openenclave.io/apidocs/v0.14/attester_8h_a7d197e42468636e95a6ab97b8e74c451.html#a7d197e42468636e95a6ab97b8e74c451) or [oe_get_report](https://openenclave.io/apidocs/v0.14/enclave_8h_aefcb89c91a9078d595e255bd7901ac71.html#aefcb89c91a9078d595e255bd7901ac71)). +The enclave code then calculates the SHA256 value of the public key and passes it as an input to code which generates an SGX Quote (for OpenEnclave, that would be the [oe_get_evidence](https://openenclave.io/apidocs/v0.14/attester_8h_a7d197e42468636e95a6ab97b8e74c451.html#a7d197e42468636e95a6ab97b8e74c451) or [oe_get_report](https://openenclave.io/apidocs/v0.14/enclave_8h_aefcb89c91a9078d595e255bd7901ac71.html#aefcb89c91a9078d595e255bd7901ac71)). The client then sends the SGX quote and the serialized key to the attestation service. The attestation service will validate the quote and ensure that the hash of the key is present in the quote and will issue an "Attestation Token". @@ -259,11 +261,9 @@ This example shows one common pattern of calling into the attestation service to This example assumes that you have an existing `AttestationClient` object which is configured with the base URI for your endpoint. It also assumes that you have an SGX Quote (`quote`) generated from within the SGX enclave you are attesting, and "Runtime Data" (`binaryRuntimeData`) which is referenced in the SGX Quote. ```ts - const attestationResult = await client.attestOpenEnclave( - quote, - { - runTimeData: new AttestationData(binaryRuntimeData, false), - }); +const attestationResult = await client.attestOpenEnclave(quote, { + runTimeData: new AttestationData(binaryRuntimeData, false) +}); ``` If the `isJson` parameter to the `AttestationData` constructor is not provided, @@ -323,17 +323,18 @@ If you encounter any bugs or have suggestions, please file an issue in the section of the project. + [source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/attestation [azure_identity]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-identity/2.0.0-beta.3/index.html -[DefaultAzureCredential]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-identity/2.0.0-beta.3/classes/defaultazurecredential.html -[attestation_policy_result]:https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/interfaces/policyresult.html +[defaultazurecredential]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-identity/2.0.0-beta.3/classes/defaultazurecredential.html +[attestation_policy_result]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/interfaces/policyresult.html [attestation_client]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/classes/attestationclient.html [attestation_admin_client]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/classes/attestationclient.html [attestation_response]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/interfaces/attestationresponse.html [attestation_policy_result_parameters]: https://www.microsoft.com/ [attest_sgx]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/classes/attestation.html#attestsgxenclave [attestation_npm]: https://www.npmjs.com/package/@azure/attestation -[API_reference]:https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/index.html +[api_reference]: https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-attestation/1.0.0-beta.2/index.html [style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization [style-guide-cloud]: https://aka.ms/azsdk/cloud-style-guide [microsoft_code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ @@ -341,7 +342,7 @@ section of the project. [azure_sub]: https://azure.microsoft.com/free/ [code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ [json_web_token]: https://tools.ietf.org/html/rfc7519 -[JWK]: https://tools.ietf.org/html/rfc7517 +[jwk]: https://tools.ietf.org/html/rfc7517 [base64url_encoding]: https://tools.ietf.org/html/rfc4648#section-5 [contributing]: https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md [coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ diff --git a/sdk/containerregistry/container-registry/README.md b/sdk/containerregistry/container-registry/README.md index e50c8193411e..8a2ee1b1eb71 100644 --- a/sdk/containerregistry/container-registry/README.md +++ b/sdk/containerregistry/container-registry/README.md @@ -20,11 +20,15 @@ Use the client library for Azure Container Registry to: ### Currently supported environments -- Node.js version 8.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Prerequisites -You need an [Azure subscription][azure_sub] and a [Container Registry account][container_registry_docs] to use this package. +- An [Azure Subscription](https://azure.microsoft.com) +- A [Container Registry account][container_registry_docs] To create a new Container Registry, you can use the [Azure Portal][container_registry_create_portal], [Azure PowerShell][container_registry_create_ps], or the [Azure CLI][container_registry_create_cli]. diff --git a/sdk/core/core-amqp/README.md b/sdk/core/core-amqp/README.md index 501af61fb46d..fb04fb486d65 100644 --- a/sdk/core/core-amqp/README.md +++ b/sdk/core/core-amqp/README.md @@ -14,9 +14,12 @@ Install this library using npm as follows: npm install @azure/core-amqp ``` -### Prerequisites +### Currently supported environments -If you are using this package in a Node.js application, then use Node.js 8.x or higher. +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ## Key concepts diff --git a/sdk/core/core-client-rest/README.md b/sdk/core/core-client-rest/README.md index 4cdcdbe50460..4a095693277f 100644 --- a/sdk/core/core-client-rest/README.md +++ b/sdk/core/core-client-rest/README.md @@ -6,7 +6,12 @@ This library is primarily intended to be used in code generated by [AutoRest](ht ### Requirements -- [Node.js](https://nodejs.org) version > 8.x +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Installation diff --git a/sdk/core/core-client/README.md b/sdk/core/core-client/README.md index 04d1b88b1d4b..3cae0857ee55 100644 --- a/sdk/core/core-client/README.md +++ b/sdk/core/core-client/README.md @@ -4,9 +4,12 @@ This library is primarily intended to be used in code generated by [AutoRest](ht ## Getting started -### Requirements +### Currently supported environments -- [Node.js](https://nodejs.org) version > 8.x +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Installation diff --git a/sdk/core/core-crypto/README.md b/sdk/core/core-crypto/README.md index 0e5e0738f7f4..f609cf210dfc 100644 --- a/sdk/core/core-crypto/README.md +++ b/sdk/core/core-crypto/README.md @@ -6,7 +6,12 @@ This library is primarily intended to contain cryptographic helper functions for ### Requirements -- [Node.js](https://nodejs.org) version > 8.x +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Installation diff --git a/sdk/core/core-http/README.md b/sdk/core/core-http/README.md index 860078fff69e..2ee90212ff09 100644 --- a/sdk/core/core-http/README.md +++ b/sdk/core/core-http/README.md @@ -4,14 +4,12 @@ This is the core HTTP pipeline for Azure SDK JavaScript libraries which work in ## Getting started -### Requirements +### Currently supported environments -- [Node.js](https://nodejs.org) version > 8.x -- Typescript compiler +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -```shell -npm install -g typescript -``` +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Installation diff --git a/sdk/core/core-rest-pipeline/README.md b/sdk/core/core-rest-pipeline/README.md index 4412f183a9bb..28e1808b5cf3 100644 --- a/sdk/core/core-rest-pipeline/README.md +++ b/sdk/core/core-rest-pipeline/README.md @@ -6,7 +6,12 @@ This is the core HTTP pipeline for Azure SDK JavaScript libraries which work in ### Requirements -- [Node.js](https://nodejs.org) version > 8.x +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Installation diff --git a/sdk/core/core-util/README.md b/sdk/core/core-util/README.md index 299357f28332..a975072b968f 100644 --- a/sdk/core/core-util/README.md +++ b/sdk/core/core-util/README.md @@ -6,7 +6,12 @@ This library is intended to provide various shared utility functions for client ### Requirements -- [Node.js](https://nodejs.org) version > 8.x +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Installation diff --git a/sdk/core/core-xml/README.md b/sdk/core/core-xml/README.md index 63acacf44ad1..902a7dafc21e 100644 --- a/sdk/core/core-xml/README.md +++ b/sdk/core/core-xml/README.md @@ -6,7 +6,12 @@ This library is primarily intended to be used in code generated by [AutoRest](ht ### Requirements -- [Node.js](https://nodejs.org) version > 8.x +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Installation diff --git a/sdk/cosmosdb/cosmos/README.md b/sdk/cosmosdb/cosmos/README.md index 9d6d0f456e1b..5006c6544919 100644 --- a/sdk/cosmosdb/cosmos/README.md +++ b/sdk/cosmosdb/cosmos/README.md @@ -203,7 +203,7 @@ try { ### Transpiling -The Azure SDKs are designed to support ES5 JavaScript syntax and a minimum version of Node 8. If you need support for earlier JavaScript runtimes such as Internet Explorer or Node 6, you will need to transpile the SDK code as part of your build process. +The Azure SDKs are designed to support ES5 JavaScript syntax and [LTS versions of Node.js](https://nodejs.org/about/releases/). If you need support for earlier JavaScript runtimes such as Internet Explorer or Node 6, you will need to transpile the SDK code as part of your build process. ### Handle transient errors with retries diff --git a/sdk/deviceupdate/iot-device-update/README.md b/sdk/deviceupdate/iot-device-update/README.md index f9413b812fa4..f97bd2266f1c 100644 --- a/sdk/deviceupdate/iot-device-update/README.md +++ b/sdk/deviceupdate/iot-device-update/README.md @@ -8,7 +8,7 @@ The library provides access to the Device Update for IoT Hub service that enable ### Currently supported environments -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) ### Prerequisites diff --git a/sdk/digitaltwins/digital-twins-core/README.md b/sdk/digitaltwins/digital-twins-core/README.md index 5f5b5245d50b..2856d11c03d4 100644 --- a/sdk/digitaltwins/digital-twins-core/README.md +++ b/sdk/digitaltwins/digital-twins-core/README.md @@ -6,8 +6,10 @@ This package contains an isomorphic SDK for Azure Digital Twins API to provide a ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Prerequisites diff --git a/sdk/eventgrid/eventgrid/README.md b/sdk/eventgrid/eventgrid/README.md index 5e5681e18e48..6f1e21cb518a 100644 --- a/sdk/eventgrid/eventgrid/README.md +++ b/sdk/eventgrid/eventgrid/README.md @@ -18,12 +18,12 @@ Use the client library to: ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript - - Apple Safari: latest two versions - - Google Chrome: latest two versions - - Microsoft Edge: all supported versions - - Mozilla FireFox: latest two versions +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Prerequisites diff --git a/sdk/eventhub/event-hubs/README.md b/sdk/eventhub/event-hubs/README.md index 5656075c7919..70db54a67360 100644 --- a/sdk/eventhub/event-hubs/README.md +++ b/sdk/eventhub/event-hubs/README.md @@ -27,11 +27,17 @@ Install the Azure Event Hubs client library using npm `npm install @azure/event-hubs` +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + ### Prerequisites -You must have an [Azure subscription](https://azure.microsoft.com/free/) and a -[Event Hubs Namespace](https://docs.microsoft.com/azure/event-hubs/) to use this package. -If you are using this package in a Node.js application, then use Node.js 8.x or higher. +- An [Azure subscription](https://azure.microsoft.com/free/) +- An [Event Hubs Namespace](https://docs.microsoft.com/azure/event-hubs/) #### Configure Typescript diff --git a/sdk/eventhub/event-hubs/samples-browser/README.md b/sdk/eventhub/event-hubs/samples-browser/README.md index e37554524b8e..63cca58db52c 100644 --- a/sdk/eventhub/event-hubs/samples-browser/README.md +++ b/sdk/eventhub/event-hubs/samples-browser/README.md @@ -22,7 +22,7 @@ This sample programs show how to use the JavaScript client libraries for Azure E ## Prerequisites -The samples are compatible with Node.js >= 8.0.0 and run in browsers that support async/await (e.g. Edge, Firefox, Chrome.) +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/) and run in browsers that support async/await (e.g. Edge, Firefox, Chrome.) You need [an Azure subscription][freesub] and [an Azure Event Hub resource][azhubacct] to run these sample programs. Samples retrieve credentials using the [InteractiveBrowserCredential][browsercred] from `@azure/identity`. diff --git a/sdk/eventhub/event-hubs/samples-express/README.md b/sdk/eventhub/event-hubs/samples-express/README.md index be5e68b8ec86..cafe39c216f7 100644 --- a/sdk/eventhub/event-hubs/samples-express/README.md +++ b/sdk/eventhub/event-hubs/samples-express/README.md @@ -10,7 +10,7 @@ One scenario is building an HTTP-based service that accepts events as part of an ## Prerequisites -The samples are compatible with Node.js >= 8.0.0 and run in express. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/) and run in express. You need [an Azure subscription][freesub] and [an Azure Event Hub resource][azhubacct] to run these sample programs. diff --git a/sdk/eventhub/event-hubs/samples/v5/browser/README.md b/sdk/eventhub/event-hubs/samples/v5/browser/README.md index e37554524b8e..63cca58db52c 100644 --- a/sdk/eventhub/event-hubs/samples/v5/browser/README.md +++ b/sdk/eventhub/event-hubs/samples/v5/browser/README.md @@ -22,7 +22,7 @@ This sample programs show how to use the JavaScript client libraries for Azure E ## Prerequisites -The samples are compatible with Node.js >= 8.0.0 and run in browsers that support async/await (e.g. Edge, Firefox, Chrome.) +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/) and run in browsers that support async/await (e.g. Edge, Firefox, Chrome.) You need [an Azure subscription][freesub] and [an Azure Event Hub resource][azhubacct] to run these sample programs. Samples retrieve credentials using the [InteractiveBrowserCredential][browsercred] from `@azure/identity`. diff --git a/sdk/eventhub/event-hubs/samples/v5/express/README.md b/sdk/eventhub/event-hubs/samples/v5/express/README.md index be5e68b8ec86..cafe39c216f7 100644 --- a/sdk/eventhub/event-hubs/samples/v5/express/README.md +++ b/sdk/eventhub/event-hubs/samples/v5/express/README.md @@ -10,7 +10,7 @@ One scenario is building an HTTP-based service that accepts events as part of an ## Prerequisites -The samples are compatible with Node.js >= 8.0.0 and run in express. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/) and run in express. You need [an Azure subscription][freesub] and [an Azure Event Hub resource][azhubacct] to run these sample programs. diff --git a/sdk/eventhub/event-hubs/samples/v5/javascript/README.md b/sdk/eventhub/event-hubs/samples/v5/javascript/README.md index e231efd49ea2..3a168874e742 100644 --- a/sdk/eventhub/event-hubs/samples/v5/javascript/README.md +++ b/sdk/eventhub/event-hubs/samples/v5/javascript/README.md @@ -23,7 +23,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample programs are compatible with Node.js >=12.0.0. +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs: diff --git a/sdk/eventhub/event-hubs/samples/v5/typescript/README.md b/sdk/eventhub/event-hubs/samples/v5/typescript/README.md index 5ef84e59494a..37d3c5a10373 100644 --- a/sdk/eventhub/event-hubs/samples/v5/typescript/README.md +++ b/sdk/eventhub/event-hubs/samples/v5/typescript/README.md @@ -23,7 +23,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The sample programs are compatible with Node.js >=12.0.0. +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/README.md b/sdk/eventhub/eventhubs-checkpointstore-blob/README.md index 0fe085452376..9d797d546e05 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/README.md +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/README.md @@ -6,17 +6,25 @@ An Azure Blob storage based solution to store checkpoints and to aid in load bal ## Getting started +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/) +- An [Event Hubs Namespace](https://docs.microsoft.com/azure/event-hubs/) +- A [Storage account](https://docs.microsoft.com/azure/storage/blobs/storage-blobs-introduction) + ### Install the package Install the Azure Event Hubs Checkpoint Store Blob library using npm `npm install @azure/eventhubs-checkpointstore-blob` -**Prerequisites**: You must have an [Azure subscription](https://azure.microsoft.com/free/), an -[Event Hubs Namespace](https://docs.microsoft.com/azure/event-hubs/) to use this package, and a [Storage account](https://docs.microsoft.com/azure/storage/blobs/storage-blobs-introduction) - -If you are using this package in a Node.js application, then use Node.js 8.x or higher. - ### Configure Typescript TypeScript users need to have Node type definitions installed: diff --git a/sdk/formrecognizer/ai-form-recognizer/README.md b/sdk/formrecognizer/ai-form-recognizer/README.md index 3559603dfaa7..abad31debe7a 100644 --- a/sdk/formrecognizer/ai-form-recognizer/README.md +++ b/sdk/formrecognizer/ai-form-recognizer/README.md @@ -16,10 +16,16 @@ Azure Cognitive Services [Form Recognizer](https://azure.microsoft.com/services/ ## Getting started +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + ### Prerequisites -- [Node.js](https://nodejs.org/) version 8.x.x or higher -- An [Azure subscription][azure_sub]. +- An [Azure subscription](https://azure.microsoft.com/free/) - A [Cognitive Services or Form Recognizer resource][fr_or_cs_resource]. If you need to create the resource, you can use the [Azure Portal][azure_portal] or [Azure CLI][azure_cli]. #### Create a Form Recognizer resource diff --git a/sdk/identity/identity/samples/javascript/README.md b/sdk/identity/identity/samples/javascript/README.md index 372288c6fdd5..65f379a3794e 100644 --- a/sdk/identity/identity/samples/javascript/README.md +++ b/sdk/identity/identity/samples/javascript/README.md @@ -20,7 +20,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and [an Azure Key Vault][azkeyvault] to run these sample programs. diff --git a/sdk/identity/identity/samples/typescript/README.md b/sdk/identity/identity/samples/typescript/README.md index bb33229b0c14..537aeaae9ec7 100644 --- a/sdk/identity/identity/samples/typescript/README.md +++ b/sdk/identity/identity/samples/typescript/README.md @@ -20,7 +20,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.ts >= 8.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to TypeScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using diff --git a/sdk/identity/perf-tests/identity/README.md b/sdk/identity/perf-tests/identity/README.md index b88cbee15974..ac4ebfc1594e 100644 --- a/sdk/identity/perf-tests/identity/README.md +++ b/sdk/identity/perf-tests/identity/README.md @@ -1,8 +1,5 @@ ### Guide -**Important:** -These tests won't work on Node 8 nor Node 15. - 1. Build the Identity perf tests package `rush build -t perf-identity`. 2. Copy the `sample.env` file and name it as `.env`. 3. Populate the `.env` file with your Azure Credentials. diff --git a/sdk/iot/iot-modelsrepository/README.md b/sdk/iot/iot-modelsrepository/README.md index 6929ea69e592..0753a1165e7d 100644 --- a/sdk/iot/iot-modelsrepository/README.md +++ b/sdk/iot/iot-modelsrepository/README.md @@ -16,8 +16,10 @@ The Azure IoT Models Repository library for JavaScript provides functionality fo ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### How to Install diff --git a/sdk/keyvault/keyvault-secrets/README.md b/sdk/keyvault/keyvault-secrets/README.md index 2d2f356e3d82..cc12e3849811 100644 --- a/sdk/keyvault/keyvault-secrets/README.md +++ b/sdk/keyvault/keyvault-secrets/README.md @@ -23,10 +23,14 @@ Use the client library for Azure Key Vault Secrets in your Node.js application t ## Getting started -**Prerequisites**: You must have an [Azure subscription](https://azure.microsoft.com/free/) and a -[Key Vault resource](https://docs.microsoft.com/azure/key-vault/quick-create-portal) to use this package. +### Currently supported environments -If you are using this package in a Node.js application, then use Node.js 8.x or higher. +- [LTS versions of Node.js](https://nodejs.org/about/releases/) + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/) +- A[Key Vault resource](https://docs.microsoft.com/azure/key-vault/quick-create-portal) ### Install the package diff --git a/sdk/metricsadvisor/ai-metrics-advisor/README.md b/sdk/metricsadvisor/ai-metrics-advisor/README.md index 48c691adcbcb..c2d19107320a 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/README.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/README.md @@ -17,7 +17,10 @@ Metrics Advisor is a part of Azure Cognitive Services that uses AI perform data ### Currently supported environments -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Prerequisites diff --git a/sdk/mixedreality/mixedreality-authentication/README.md b/sdk/mixedreality/mixedreality-authentication/README.md index efc2668f3a60..288023bba79c 100644 --- a/sdk/mixedreality/mixedreality-authentication/README.md +++ b/sdk/mixedreality/mixedreality-authentication/README.md @@ -15,7 +15,7 @@ token from the STS that can be used to access Mixed Reality services. ### Currently supported environments -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) ### Prerequisites diff --git a/sdk/monitor/monitor-opentelemetry-exporter/README.md b/sdk/monitor/monitor-opentelemetry-exporter/README.md index e030b57c45dc..ba19340f85a9 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/README.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/README.md @@ -10,11 +10,17 @@ This exporter package assumes your application is [already instrumented](https:/ `npm install @azure/monitor-opentelemetry-exporter` +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + ### Prerequisites -You must have an [Azure subscription](https://azure.microsoft.com/free/) and a -[Application Insights workspace](https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview/) to use this package. -If you are using this package in a Node.js application, then use Node.js 8.5.0 or higher. +- An [Azure subscription](https://azure.microsoft.com/free/) +- An [Application Insights workspace](https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview/) ### Distributed Tracing diff --git a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/README.md b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/README.md index f592db7aa39c..2b06bd02e38f 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/README.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/README.md @@ -8,7 +8,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and [an Azure Storage account][azstorage] to run these sample programs. Samples retrieve credentials to access the storage account from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. diff --git a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/README.md b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/README.md index dfe091aa40df..9d8b602ead41 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/README.md +++ b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/README.md @@ -8,7 +8,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require a Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using diff --git a/sdk/monitor/monitor-query/README.md b/sdk/monitor/monitor-query/README.md index 869c8c2bf9ca..9e2b7dda6ff4 100644 --- a/sdk/monitor/monitor-query/README.md +++ b/sdk/monitor/monitor-query/README.md @@ -21,10 +21,17 @@ Use the client library for Azure Monitor to: npm install @azure/monitor-query ``` +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + ### Prerequisites -- You must have an [Azure Subscription](https://azure.microsoft.com) and an [Azure Monitor][azure_monitor_product_documentation] resource to use this package. -- Node.js version 8.x.x or higher +- An [Azure Subscription](https://azure.microsoft.com) +- An [Azure Monitor][azure_monitor_product_documentation] resource ### Create an Azure Monitor resource diff --git a/sdk/quantum/quantum-jobs/README.md b/sdk/quantum/quantum-jobs/README.md index 1af8f14b5586..65fb3c1ff45d 100644 --- a/sdk/quantum/quantum-jobs/README.md +++ b/sdk/quantum/quantum-jobs/README.md @@ -23,7 +23,7 @@ npm install @azure/quantum-jobs ### Prerequisites -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) - [Azure subscription](https://azure.microsoft.com/free/) - [Azure Quantum Workspace][workspaces] diff --git a/sdk/schemaregistry/schema-registry-avro/README.md b/sdk/schemaregistry/schema-registry-avro/README.md index 6c9f1616d841..ed4dbcdb0619 100644 --- a/sdk/schemaregistry/schema-registry-avro/README.md +++ b/sdk/schemaregistry/schema-registry-avro/README.md @@ -12,7 +12,7 @@ Schema Registry schema identifiers and Avro-encoded data. ## Getting started -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) ### Prerequisites diff --git a/sdk/schemaregistry/schema-registry/README.md b/sdk/schemaregistry/schema-registry/README.md index b36e71f28969..1570c35fe2b2 100644 --- a/sdk/schemaregistry/schema-registry/README.md +++ b/sdk/schemaregistry/schema-registry/README.md @@ -12,7 +12,7 @@ schema identifiers rather than full schemas. ## Getting started -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) ### Prerequisites diff --git a/sdk/search/search-documents/README.md b/sdk/search/search-documents/README.md index 6c3cd90e6e66..535bef75c2be 100644 --- a/sdk/search/search-documents/README.md +++ b/sdk/search/search-documents/README.md @@ -34,8 +34,17 @@ Use the @azure/search-documents client library to: npm install @azure/search-documents ``` +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + ### Prerequisites -This package supports [Node.js](https://nodejs.org/) version 8.x.x or higher. You need an [Azure subscription][azure_sub] and a [search service][create_search_service_docs] to use this package. + +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Search service][create_search_service_docs] To create a new search service, you can use the [Azure portal][create_search_service_docs], [Azure PowerShell][create_search_service_ps], or the [Azure CLI][create_search_service_cli]. Here's an example using the Azure CLI to create a free instance for getting started: diff --git a/sdk/search/search-documents/samples/javascript/README.md b/sdk/search/search-documents/samples/javascript/README.md index 8759e21fb677..d8c9d48dd99e 100644 --- a/sdk/search/search-documents/samples/javascript/README.md +++ b/sdk/search/search-documents/samples/javascript/README.md @@ -52,7 +52,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and [an Azure Cognitive Search service][search_resource] to run these sample programs. Samples retrieve credentials to access the Azure Cognitive Search endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. diff --git a/sdk/search/search-documents/samples/typescript/README.md b/sdk/search/search-documents/samples/typescript/README.md index 29b51f4b19e5..b8a34f4e53ee 100644 --- a/sdk/search/search-documents/samples/typescript/README.md +++ b/sdk/search/search-documents/samples/typescript/README.md @@ -52,7 +52,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using diff --git a/sdk/servicebus/service-bus/README.md b/sdk/servicebus/service-bus/README.md index 8f68bf1aae76..94e5bc16c362 100644 --- a/sdk/servicebus/service-bus/README.md +++ b/sdk/servicebus/service-bus/README.md @@ -27,11 +27,14 @@ Install the latest version for the Azure Service Bus client library using npm. `npm install @azure/service-bus` +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) + ### Prerequisites -You must have an [Azure subscription](https://azure.microsoft.com/free/) and a -[Service Bus Namespace](https://docs.microsoft.com/azure/service-bus-messaging/) to use this package. -If you are using this package in a Node.js application, then use Node.js 8.x or higher. +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Service Bus Namespace](https://docs.microsoft.com/azure/service-bus-messaging/) ### Configure Typescript diff --git a/sdk/storage/storage-blob-changefeed/README.md b/sdk/storage/storage-blob-changefeed/README.md index 25185386971b..08910937b2a1 100644 --- a/sdk/storage/storage-blob-changefeed/README.md +++ b/sdk/storage/storage-blob-changefeed/README.md @@ -19,7 +19,17 @@ Use the client libraries in this package to: ## Getting started -**Prerequisites**: You must have an [Azure subscription](https://azure.microsoft.com/free/) and a [Storage Account](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal) to use this package. If you are using this package in a Node.js application, then Node.js version 8.0.0 or higher is required. +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Storage Account](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal) ### Install the package diff --git a/sdk/storage/storage-blob-changefeed/samples/javascript/README.md b/sdk/storage/storage-blob-changefeed/samples/javascript/README.md index 53e08c852bd9..6b91406f94ec 100644 --- a/sdk/storage/storage-blob-changefeed/samples/javascript/README.md +++ b/sdk/storage/storage-blob-changefeed/samples/javascript/README.md @@ -19,7 +19,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and [an Azure Storage account][azstorage] to run these sample programs. Samples retrieve credentials to access the storage account from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. diff --git a/sdk/storage/storage-blob-changefeed/samples/typescript/README.md b/sdk/storage/storage-blob-changefeed/samples/typescript/README.md index 38d4e7e10b88..f9abbc33fc69 100644 --- a/sdk/storage/storage-blob-changefeed/samples/typescript/README.md +++ b/sdk/storage/storage-blob-changefeed/samples/typescript/README.md @@ -19,7 +19,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require a Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using diff --git a/sdk/storage/storage-blob/README.md b/sdk/storage/storage-blob/README.md index b6fcf181208e..e239c8f958f0 100644 --- a/sdk/storage/storage-blob/README.md +++ b/sdk/storage/storage-blob/README.md @@ -21,7 +21,17 @@ Use the client libraries in this package to: ## Getting started -**Prerequisites**: You must have an [Azure subscription](https://azure.microsoft.com/free/) and a [Storage Account](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal) to use this package. If you are using this package in a Node.js application, then Node.js version 8.0.0 or higher is required. +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Storage Account](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal) ### Install the package diff --git a/sdk/storage/storage-blob/samples/javascript/README.md b/sdk/storage/storage-blob/samples/javascript/README.md index 036cea636bfc..48a41ec17359 100644 --- a/sdk/storage/storage-blob/samples/javascript/README.md +++ b/sdk/storage/storage-blob/samples/javascript/README.md @@ -32,7 +32,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and [an Azure Storage account][azstorage] to run these sample programs. Samples retrieve credentials to access the storage account from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. diff --git a/sdk/storage/storage-blob/samples/typescript/README.md b/sdk/storage/storage-blob/samples/typescript/README.md index d7f129ee2f7a..198b8a7d7b81 100644 --- a/sdk/storage/storage-blob/samples/typescript/README.md +++ b/sdk/storage/storage-blob/samples/typescript/README.md @@ -32,7 +32,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require a Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using diff --git a/sdk/storage/storage-file-datalake/README.md b/sdk/storage/storage-file-datalake/README.md index b4e23c66022e..971999f593e8 100644 --- a/sdk/storage/storage-file-datalake/README.md +++ b/sdk/storage/storage-file-datalake/README.md @@ -18,7 +18,17 @@ Use the client libraries in this package to: ## Getting started -**Prerequisites**: You must have an [Azure subscription](https://azure.microsoft.com/free/) and a [Storage Account](https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-quickstart-create-account?toc=%2Fazure%2Fstorage%2Fblobs%2Ftoc.json#create-an-account-using-the-azure-portal) to use this package. If you are using this package in a Node.js application, then Node.js version 8.0.0 or higher is required. +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Storage Account](https://docs.microsoft.com/azure/storage/common/storage-account-create) ### Install the package diff --git a/sdk/storage/storage-file-datalake/samples/javascript/README.md b/sdk/storage/storage-file-datalake/samples/javascript/README.md index 585eadde4fbd..5f023f1a3e25 100644 --- a/sdk/storage/storage-file-datalake/samples/javascript/README.md +++ b/sdk/storage/storage-file-datalake/samples/javascript/README.md @@ -18,7 +18,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and [an Azure Storage account][azstorage] to run these sample programs. Samples retrieve credentials to access the storage account from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. diff --git a/sdk/storage/storage-file-datalake/samples/typescript/README.md b/sdk/storage/storage-file-datalake/samples/typescript/README.md index 8eb1ab20cb09..05892a7c9c6f 100644 --- a/sdk/storage/storage-file-datalake/samples/typescript/README.md +++ b/sdk/storage/storage-file-datalake/samples/typescript/README.md @@ -18,7 +18,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require a Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using diff --git a/sdk/storage/storage-file-share/README.md b/sdk/storage/storage-file-share/README.md index ffa8022732f8..8d66bef0291f 100644 --- a/sdk/storage/storage-file-share/README.md +++ b/sdk/storage/storage-file-share/README.md @@ -24,7 +24,17 @@ Use the client libraries in this package to: ## Getting started -**Prerequisites**: You must have an [Azure subscription](https://azure.microsoft.com/free/) and a [Storage Account](https://docs.microsoft.com/azure/storage/files/storage-how-to-use-files-portal) to use this package. If you are using this package in a Node.js application, then Node.js version 8.0.0 or higher is required. +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Storage Account](https://docs.microsoft.com/azure/storage/common/storage-account-create) ### Install the package diff --git a/sdk/storage/storage-file-share/samples/javascript/README.md b/sdk/storage/storage-file-share/samples/javascript/README.md index 034ad71b44db..b9cda74db589 100644 --- a/sdk/storage/storage-file-share/samples/javascript/README.md +++ b/sdk/storage/storage-file-share/samples/javascript/README.md @@ -27,7 +27,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and [an Azure Storage account][azstorage] to run these sample programs. Samples retrieve credentials to access the storage account from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. diff --git a/sdk/storage/storage-file-share/samples/typescript/README.md b/sdk/storage/storage-file-share/samples/typescript/README.md index 8f7f6cd1a89d..b433b23e41f0 100644 --- a/sdk/storage/storage-file-share/samples/typescript/README.md +++ b/sdk/storage/storage-file-share/samples/typescript/README.md @@ -27,7 +27,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require a Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using diff --git a/sdk/storage/storage-queue/README.md b/sdk/storage/storage-queue/README.md index 1894ce456bba..9de24b3bca84 100644 --- a/sdk/storage/storage-queue/README.md +++ b/sdk/storage/storage-queue/README.md @@ -19,7 +19,17 @@ Use the client libraries in this package to: ## Getting started -**Prerequisites**: You must have an [Azure subscription](https://azure.microsoft.com/free/) and a [Storage Account](https://docs.microsoft.com/azure/storage/queues/storage-quickstart-queues-portal) to use this package. If you are using this package in a Node.js application, then Node.js version 8.0.0 or higher is required. +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Storage Account](https://docs.microsoft.com/azure/storage/common/storage-account-create) ### Install the package diff --git a/sdk/storage/storage-queue/samples/javascript/README.md b/sdk/storage/storage-queue/samples/javascript/README.md index 7cd54404315b..dc29ef488406 100644 --- a/sdk/storage/storage-queue/samples/javascript/README.md +++ b/sdk/storage/storage-queue/samples/javascript/README.md @@ -25,7 +25,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and [an Azure Storage account][azstorage] to run these sample programs. Samples retrieve credentials to access the storage account from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. diff --git a/sdk/storage/storage-queue/samples/typescript/README.md b/sdk/storage/storage-queue/samples/typescript/README.md index 9fa63fb33b32..19e91cabd683 100644 --- a/sdk/storage/storage-queue/samples/typescript/README.md +++ b/sdk/storage/storage-queue/samples/typescript/README.md @@ -25,7 +25,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The samples are compatible with Node.js >= 8.0.0, except for the samples that use the async `for await` syntax, which require a Node.js >= 10.0.0. +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using diff --git a/sdk/synapse/synapse-access-control/README.md b/sdk/synapse/synapse-access-control/README.md index 340d4f9ec4e2..41717dbfb9f2 100644 --- a/sdk/synapse/synapse-access-control/README.md +++ b/sdk/synapse/synapse-access-control/README.md @@ -12,8 +12,10 @@ npm install @azure/synapse-access-control ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ## Key concepts diff --git a/sdk/synapse/synapse-artifacts/README.md b/sdk/synapse/synapse-artifacts/README.md index bfd18efa8d1e..34dbd1f493d6 100644 --- a/sdk/synapse/synapse-artifacts/README.md +++ b/sdk/synapse/synapse-artifacts/README.md @@ -12,8 +12,10 @@ npm install @azure/synapse-artifacts ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ## Key concepts diff --git a/sdk/synapse/synapse-managed-private-endpoints/README.md b/sdk/synapse/synapse-managed-private-endpoints/README.md index ed1907e29f01..ab29b21b0de2 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/README.md +++ b/sdk/synapse/synapse-managed-private-endpoints/README.md @@ -12,8 +12,10 @@ npm install @azure/synapse-managed-private-endpoints ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ## Key concepts diff --git a/sdk/synapse/synapse-monitoring/README.md b/sdk/synapse/synapse-monitoring/README.md index 4d4fa2785896..8a1b402b4637 100644 --- a/sdk/synapse/synapse-monitoring/README.md +++ b/sdk/synapse/synapse-monitoring/README.md @@ -12,8 +12,10 @@ npm install @azure/synapse-monitoring ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ## Key concepts diff --git a/sdk/synapse/synapse-spark/README.md b/sdk/synapse/synapse-spark/README.md index 6c3ccf8fafb9..7c8a5f62ed7e 100644 --- a/sdk/synapse/synapse-spark/README.md +++ b/sdk/synapse/synapse-spark/README.md @@ -12,8 +12,10 @@ npm install @azure/synapse-spark ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ## Key concepts diff --git a/sdk/template/template/README.md b/sdk/template/template/README.md index 1eac9887bbf8..751515cdeb5e 100644 --- a/sdk/template/template/README.md +++ b/sdk/template/template/README.md @@ -8,7 +8,10 @@ This project is used as a template package for the Azure SDK for JavaScript. It ### Currently supported environments -- Node.js version 8.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Prerequisites diff --git a/sdk/textanalytics/ai-text-analytics/README.md b/sdk/textanalytics/ai-text-analytics/README.md index 88ae43f0f630..bf7f9ea7cc66 100644 --- a/sdk/textanalytics/ai-text-analytics/README.md +++ b/sdk/textanalytics/ai-text-analytics/README.md @@ -31,7 +31,10 @@ Use the client library to: ### Currently supported environments -- Node.js version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. + +See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Prerequisites diff --git a/sdk/web-pubsub/web-pubsub-express/README.md b/sdk/web-pubsub/web-pubsub-express/README.md index cf662b4d67b7..7793acbbd36a 100644 --- a/sdk/web-pubsub/web-pubsub-express/README.md +++ b/sdk/web-pubsub/web-pubsub-express/README.md @@ -20,7 +20,7 @@ Use the express library to: ### Currently supported environments -- [Node.js](https://nodejs.org/) version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) - [Express](https://expressjs.com/) version 4.x.x or higher ### Prerequisites diff --git a/sdk/web-pubsub/web-pubsub/README.md b/sdk/web-pubsub/web-pubsub/README.md index 30b329111d07..4777f9e2ce21 100644 --- a/sdk/web-pubsub/web-pubsub/README.md +++ b/sdk/web-pubsub/web-pubsub/README.md @@ -35,7 +35,7 @@ Use the library to: ### Currently supported environments -- [Node.js](https://nodejs.org/) version 8.x.x or higher +- [LTS versions of Node.js](https://nodejs.org/about/releases/) ### Prerequisites From 1a5d100e5da36507c4d8ccaba9994b439ff9500d Mon Sep 17 00:00:00 2001 From: KarishmaGhiya Date: Fri, 25 Jun 2021 18:01:16 -0700 Subject: [PATCH 066/134] remove _response from response types (#16019) --- .../review/ai-metrics-advisor.api.md | 112 +----- .../src/metricsAdvisorAdministrationClient.ts | 79 ++-- .../src/metricsAdvisorClient.ts | 117 ++---- .../ai-metrics-advisor/src/models.ts | 352 +----------------- 4 files changed, 59 insertions(+), 601 deletions(-) diff --git a/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md b/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md index 7747aa7b95fc..0e7c07d847a3 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md @@ -4,7 +4,6 @@ ```ts -import * as coreHttp from '@azure/core-http'; import { OperationOptions } from '@azure/core-http'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; import { PipelineOptions } from '@azure/core-http'; @@ -13,10 +12,6 @@ import { TokenCredential } from '@azure/core-auth'; // @public export interface AlertConfigurationsPageResponse extends Array { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -25,19 +20,11 @@ export type AlertQueryTimeMode = "AnomalyTime" | "CreatedTime" | "ModifiedTime"; // @public export interface AlertsPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public export interface AnomaliesPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -232,10 +219,6 @@ export interface CreateDataFeedOptions extends OperationOptions { // @public export interface CredentialsPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -344,10 +327,6 @@ export type DataFeedSourcePatch = Partial & { // @public export interface DataFeedsPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -504,10 +483,6 @@ export interface DetectionConditionsCommonPatch { // @public export interface DetectionConfigurationsPageResponse extends Array { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -516,10 +491,6 @@ export type DimensionKey = Record; // @public export interface DimensionValuesPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -553,71 +524,32 @@ export type FeedbackQueryTimeMode = "MetricTimestamp" | "FeedbackCreatedTime"; export type FeedbackType = "Anomaly" | "ChangePoint" | "Period" | "Comment"; // @public -export type GetAlertConfigResponse = AnomalyAlertConfiguration & { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; -}; +export type GetAlertConfigResponse = AnomalyAlertConfiguration; // @public -export type GetDataFeedResponse = MetricsAdvisorDataFeed & { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; -}; +export type GetDataFeedResponse = MetricsAdvisorDataFeed; // @public -export type GetDataSourceCredentialEntityResponse = DataSourceCredentialEntityUnion & { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; -}; +export type GetDataSourceCredentialEntityResponse = DataSourceCredentialEntityUnion; // @public -export type GetDetectionConfigResponse = AnomalyDetectionConfiguration & { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; -}; +export type GetDetectionConfigResponse = AnomalyDetectionConfiguration; // @public -export type GetFeedbackResponse = MetricFeedbackUnion & { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; -}; +export type GetFeedbackResponse = MetricFeedbackUnion; // @public -export type GetHookResponse = NotificationHookUnion & { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; -}; +export type GetHookResponse = NotificationHookUnion; // @public export type GetIncidentRootCauseResponse = { rootCauses: IncidentRootCause[]; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; }; // @public export type GetIngestionProgressResponse = { readonly latestSuccessTimestamp?: number; readonly latestActiveTimestamp?: number; -} & { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; }; // @public @@ -626,10 +558,6 @@ export interface GetMetricEnrichedSeriesDataOptions extends OperationOptions { // @public export interface GetMetricEnrichedSeriesDataResponse extends Array { - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -639,10 +567,6 @@ export interface GetMetricSeriesDataOptions extends OperationOptions { // @public export interface GetMetricSeriesDataResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -664,10 +588,6 @@ export type HardThresholdConditionUnion = { // @public export interface HooksPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -681,10 +601,6 @@ export interface IncidentRootCause { // @public export interface IncidentsPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -708,10 +624,6 @@ export interface IngestionStatus { // @public export interface IngestionStatusPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -928,10 +840,6 @@ export interface MetricEnrichedSeriesData { // @public export interface MetricEnrichmentStatusPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -946,10 +854,6 @@ export interface MetricFeedbackCommon { // @public export interface MetricFeedbackPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public @@ -1082,10 +986,6 @@ export type MetricSeriesGroupDetectionCondition = DetectionConditionsCommon & { // @public export interface MetricSeriesPageResponse extends Array { continuationToken?: string; - _response: coreHttp.HttpResponse & { - bodyAsText: string; - parsedBody: any; - }; } // @public diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts index fe7014943516..9d8af0b2ce72 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts @@ -308,7 +308,7 @@ export class MetricsAdvisorAdministrationClient { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); const result = await this.client.getDataFeedById(id, requestOptions); const resultDataFeed: MetricsAdvisorDataFeed = fromServiceDataFeedDetailUnion(result); - return { ...resultDataFeed, _response: result._response }; + return resultDataFeed; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -429,10 +429,7 @@ export class MetricsAdvisorAdministrationClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -452,10 +449,7 @@ export class MetricsAdvisorAdministrationClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -513,7 +507,7 @@ export class MetricsAdvisorAdministrationClient { }; const result = await this.client.updateDataFeed(dataFeedId, patchBody, requestOptions); const resultDataFeed: MetricsAdvisorDataFeed = fromServiceDataFeedDetailUnion(result); - return { ...resultDataFeed, _response: result._response }; + return resultDataFeed; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -607,10 +601,7 @@ export class MetricsAdvisorAdministrationClient { try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); const result = await this.client.getAnomalyDetectionConfiguration(id, requestOptions); - return { - ...fromServiceAnomalyDetectionConfiguration(result), - _response: result._response - }; + return fromServiceAnomalyDetectionConfiguration(result); } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -647,10 +638,7 @@ export class MetricsAdvisorAdministrationClient { transformed, requestOptions ); - return { - ...fromServiceAnomalyDetectionConfiguration(result), - _response: result._response - }; + return fromServiceAnomalyDetectionConfiguration(result); } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -752,7 +740,7 @@ export class MetricsAdvisorAdministrationClient { transformed, requestOptions ); - return { ...fromServiceAlertConfiguration(result), _response: result._response }; + return fromServiceAlertConfiguration(result); } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -782,7 +770,7 @@ export class MetricsAdvisorAdministrationClient { try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); const result = await this.client.getAnomalyAlertingConfiguration(id, requestOptions); - return { ...fromServiceAlertConfiguration(result), _response: result._response }; + return fromServiceAlertConfiguration(result); } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -834,10 +822,7 @@ export class MetricsAdvisorAdministrationClient { ); const alertConfigurations = segment.value?.map((c) => fromServiceAlertConfiguration(c)) ?? []; - yield Object.defineProperty(alertConfigurations, "_response", { - enumerable: false, - value: segment._response - }); + yield alertConfigurations; } private async *listItemsOfAlertingConfigurations( @@ -1001,7 +986,7 @@ export class MetricsAdvisorAdministrationClient { const resultHookResponse: NotificationHookUnion = fromServiceHookInfoUnion( result._response.parsedBody ); - return { ...resultHookResponse, _response: result._response }; + return resultHookResponse; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -1029,10 +1014,7 @@ export class MetricsAdvisorAdministrationClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1045,10 +1027,7 @@ export class MetricsAdvisorAdministrationClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } } @@ -1158,7 +1137,7 @@ export class MetricsAdvisorAdministrationClient { const resultHookResponse: NotificationHookUnion = fromServiceHookInfoUnion( result._response.parsedBody ); - return { ...resultHookResponse, _response: result._response }; + return resultHookResponse; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -1202,10 +1181,7 @@ export class MetricsAdvisorAdministrationClient { // Service doesn't support server-side paging now const segment = await this.client.getAnomalyDetectionConfigurationsByMetric(metricId, options); const configs = segment.value?.map((c) => fromServiceAnomalyDetectionConfiguration(c)) ?? []; - const resultArray = Object.defineProperty(configs, "_response", { - enumerable: false, - value: segment._response - }); + const resultArray = configs; yield resultArray; } @@ -1329,8 +1305,7 @@ export class MetricsAdvisorAdministrationClient { const response = await this.client.getIngestionProgress(dataFeedId, requestOptions); return { latestActiveTimestamp: response.latestActiveTimestamp?.getTime(), - latestSuccessTimestamp: response.latestSuccessTimestamp?.getTime(), - _response: response._response + latestSuccessTimestamp: response.latestSuccessTimestamp?.getTime() }; } catch (e) { span.setStatus({ @@ -1377,10 +1352,7 @@ export class MetricsAdvisorAdministrationClient { value: segmentResponse.nextLink } ); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1411,10 +1383,7 @@ export class MetricsAdvisorAdministrationClient { value: segmentResponse.nextLink } ); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1630,7 +1599,7 @@ export class MetricsAdvisorAdministrationClient { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); const result = await this.client.getCredential(id, requestOptions); const resultCred = fromServiceCredential(result); - return { ...resultCred, _response: result._response }; + return resultCred; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -1745,10 +1714,7 @@ export class MetricsAdvisorAdministrationClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1767,10 +1733,7 @@ export class MetricsAdvisorAdministrationClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1798,7 +1761,7 @@ export class MetricsAdvisorAdministrationClient { requestOptions ); const resultCred = fromServiceCredential(result); - return { ...resultCred, _response: result._response }; + return resultCred; } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts index 1e038aae8b55..beecd45eb6fc 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts @@ -257,10 +257,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -285,10 +282,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } } @@ -454,10 +448,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -489,10 +480,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } } @@ -637,10 +625,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -672,10 +657,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -825,10 +807,7 @@ export class MetricsAdvisorClient { }; }); - return Object.defineProperty(results, "_response", { - enumerable: false, - value: result._response - }); + return results; } /** @@ -881,10 +860,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -913,10 +889,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; } } @@ -1070,10 +1043,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1090,10 +1060,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1268,10 +1235,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1302,10 +1266,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1461,8 +1422,7 @@ export class MetricsAdvisorClient { }; }); return { - rootCauses: transformed, - _response: result._response + rootCauses: transformed }; } catch (e) { span.setStatus({ @@ -1529,10 +1489,7 @@ export class MetricsAdvisorClient { try { const requestOptions = operationOptionsToRequestOptionsBase(finalOptions); const result = await this.client.getMetricFeedback(id, requestOptions); - return { - ...fromServiceMetricFeedbackUnion(result), - _response: result._response - }; + return fromServiceMetricFeedbackUnion(result); } catch (e) { span.setStatus({ code: SpanStatusCode.ERROR, @@ -1581,10 +1538,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1602,10 +1556,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1740,10 +1691,6 @@ export class MetricsAdvisorClient { values: s.valueList }; }) || []; - Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: result._response - }); return resultArray as GetMetricSeriesDataResponse; } @@ -1775,10 +1722,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1801,10 +1745,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1937,10 +1878,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -1957,10 +1895,7 @@ export class MetricsAdvisorClient { enumerable: true, value: segmentResponse.nextLink }); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -2100,10 +2035,7 @@ export class MetricsAdvisorClient { value: segmentResponse.nextLink } ); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } @@ -2129,10 +2061,7 @@ export class MetricsAdvisorClient { value: segmentResponse.nextLink } ); - yield Object.defineProperty(resultArray, "_response", { - enumerable: false, - value: segmentResponse._response - }); + yield resultArray; continuationToken = segmentResponse.nextLink; } diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts index 354ce2b6679b..78fcda2c5ef8 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts @@ -1,8 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import * as coreHttp from "@azure/core-http"; - import { SuppressCondition, SmartDetectionCondition, @@ -1664,163 +1662,44 @@ export interface MetricEnrichedSeriesData { /** * Contains response data for the getDataFeed operation. */ -export type GetDataFeedResponse = MetricsAdvisorDataFeed & { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -}; +export type GetDataFeedResponse = MetricsAdvisorDataFeed; /** * Contains response data for the getAnomalyDetectionConfiguration operation. */ -export type GetDetectionConfigResponse = AnomalyDetectionConfiguration & { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -}; +export type GetDetectionConfigResponse = AnomalyDetectionConfiguration; /** * Contains response data for the getAnomalyAlertConfiguration operation. */ -export type GetAlertConfigResponse = AnomalyAlertConfiguration & { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -}; +export type GetAlertConfigResponse = AnomalyAlertConfiguration; /** * Contains response data for the getHook operation. */ -export type GetHookResponse = NotificationHookUnion & { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -}; +export type GetHookResponse = NotificationHookUnion; /** * Contains response data for the getCredentialEntity operation. */ -export type GetDataSourceCredentialEntityResponse = DataSourceCredentialEntityUnion & { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -}; +export type GetDataSourceCredentialEntityResponse = DataSourceCredentialEntityUnion; /** * Contains response data for the getMetricEnrichedSeriesData operation. */ -export interface GetMetricEnrichedSeriesDataResponse extends Array { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -} +export interface GetMetricEnrichedSeriesDataResponse extends Array {} /** * Contains response data for the getIncidentRootCause operation. */ export type GetIncidentRootCauseResponse = { rootCauses: IncidentRootCause[]; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; }; /** * Contains response data for the getFeedback operation. */ -export type GetFeedbackResponse = MetricFeedbackUnion & { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -}; +export type GetFeedbackResponse = MetricFeedbackUnion; /** * Contains response data for the listAlertsForAlertConfiguration operation. @@ -1830,20 +1709,6 @@ export interface AlertsPageResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** @@ -1854,20 +1719,6 @@ export interface AnomaliesPageResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** @@ -1878,20 +1729,6 @@ export interface DimensionValuesPageResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** @@ -1902,20 +1739,6 @@ export interface IncidentsPageResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** @@ -1926,20 +1749,6 @@ export interface MetricSeriesPageResponse extends Array * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** @@ -1968,20 +1777,6 @@ export interface MetricEnrichmentStatusPageResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** @@ -2016,20 +1797,6 @@ export interface GetMetricSeriesDataResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } export interface IngestionStatus { @@ -2054,20 +1821,6 @@ export interface IngestionStatusPageResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** @@ -2078,60 +1831,16 @@ export interface MetricFeedbackPageResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** * Contains response data for the listAlertConfigs operation. */ -export interface AlertConfigurationsPageResponse extends Array { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -} +export interface AlertConfigurationsPageResponse extends Array {} /** * Contains response data for the listAnomalyDetectionConfigurations operation. */ -export interface DetectionConfigurationsPageResponse extends Array { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; -} +export interface DetectionConfigurationsPageResponse extends Array {} /** * Contains response data for the listHooks operation. @@ -2141,20 +1850,6 @@ export interface HooksPageResponse extends Array { * Continuation token to pass to `byPage()` to resume listing of more results if available. */ continuationToken?: string; - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; } /** @@ -2171,21 +1866,6 @@ export type GetIngestionProgressResponse = { * null indicates not available */ readonly latestActiveTimestamp?: number; -} & { - /** - * The underlying HTTP response. - */ - _response: coreHttp.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: any; - }; }; /** @@ -2353,18 +2033,4 @@ export interface CredentialsPageResponse extends Array Date: Fri, 25 Jun 2021 22:39:55 -0700 Subject: [PATCH 067/134] Automatic rush update recheck (#16022) --- common/config/rush/pnpm-lock.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 3df7abcb75b5..91a96cc1dab9 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -10583,6 +10583,9 @@ packages: '@types/node': 8.10.66 '@types/uuid': 8.3.0 dotenv: 8.6.0 + eslint: 7.29.0 + prettier: 1.19.1 + rimraf: 3.0.2 ts-node: 9.1.1_typescript@4.2.4 tslib: 2.3.0 typescript: 4.2.4 @@ -10590,7 +10593,7 @@ packages: dev: false name: '@rush-temp/perf-app-configuration' resolution: - integrity: sha512-i2b4+TTev+rOwl+F2AqZoAyVcrP7/qP4IkOI9KeSEWSjbizV7wKmvzpENQylboaW5EJoe7XqxGIUDLxuDxWVWQ== + integrity: sha512-O15mVhuC7Jxq1ChINDVhi4J0NaKC8SP9tYLCgh9vMraFdvP0S9r6KyxgEPsirXUwQ6HADWU2vZ7ue+DygnyINA== tarball: file:projects/perf-app-configuration.tgz version: 0.0.0 file:projects/perf-core-rest-pipeline.tgz: From ff90eba4b19bafe137171ad2b628095db8cde6d4 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Mon, 28 Jun 2021 09:39:22 -0700 Subject: [PATCH 068/134] Prepare Storage packages to move to @types/node v12 (#16020) * Use BufferEncoding as encoding is not a string in Node.js 12 * Fix typing issue for fsStat returning unknown --- sdk/storage/storage-blob/src/utils/utils.node.ts | 6 +++--- sdk/storage/storage-common/src/BufferScheduler.ts | 4 ++-- .../storage-file-datalake/src/utils/BufferScheduler.ts | 4 ++-- sdk/storage/storage-file-datalake/src/utils/utils.node.ts | 7 +++---- .../storage-file-share/src/utils/BufferScheduler.ts | 4 ++-- sdk/storage/storage-file-share/src/utils/utils.node.ts | 2 +- 6 files changed, 13 insertions(+), 14 deletions(-) diff --git a/sdk/storage/storage-blob/src/utils/utils.node.ts b/sdk/storage/storage-blob/src/utils/utils.node.ts index 98f2b3a78c61..2ca67292ab65 100644 --- a/sdk/storage/storage-blob/src/utils/utils.node.ts +++ b/sdk/storage/storage-blob/src/utils/utils.node.ts @@ -18,7 +18,7 @@ export async function streamToBuffer( buffer: Buffer, offset: number, end: number, - encoding?: string + encoding?: BufferEncoding ): Promise { let pos = 0; // Position in stream const count = end - offset; // Total amount of data needed in stream @@ -72,7 +72,7 @@ export async function streamToBuffer( export async function streamToBuffer2( stream: NodeJS.ReadableStream, buffer: Buffer, - encoding?: string + encoding?: BufferEncoding ): Promise { let pos = 0; // Position in stream const bufferSize = buffer.length; @@ -113,7 +113,7 @@ export async function streamToBuffer2( */ export async function streamToBuffer3( readableStream: NodeJS.ReadableStream, - encoding?: string + encoding?: BufferEncoding ): Promise { return new Promise((resolve, reject) => { const chunks: Buffer[] = []; diff --git a/sdk/storage/storage-common/src/BufferScheduler.ts b/sdk/storage/storage-common/src/BufferScheduler.ts index 6435aba9059e..b6554a8a7772 100644 --- a/sdk/storage/storage-common/src/BufferScheduler.ts +++ b/sdk/storage/storage-common/src/BufferScheduler.ts @@ -92,7 +92,7 @@ export class BufferScheduler { /** * Encoding of the input Readable stream which has string data type instead of Buffer. */ - private encoding?: string; + private encoding?: BufferEncoding; /** * How many buffers have been allocated. @@ -141,7 +141,7 @@ export class BufferScheduler { maxBuffers: number, outgoingHandler: OutgoingHandler, concurrency: number, - encoding?: string + encoding?: BufferEncoding ) { if (bufferSize <= 0) { throw new RangeError(`bufferSize must be larger than 0, current is ${bufferSize}`); diff --git a/sdk/storage/storage-file-datalake/src/utils/BufferScheduler.ts b/sdk/storage/storage-file-datalake/src/utils/BufferScheduler.ts index c3a03a6c80a0..0280098cfb66 100644 --- a/sdk/storage/storage-file-datalake/src/utils/BufferScheduler.ts +++ b/sdk/storage/storage-file-datalake/src/utils/BufferScheduler.ts @@ -87,7 +87,7 @@ export class BufferScheduler { /** * Encoding of the input Readable stream which has string data type instead of Buffer. */ - private encoding?: string; + private encoding?: BufferEncoding; /** * How many buffers have been allocated. @@ -136,7 +136,7 @@ export class BufferScheduler { maxBuffers: number, outgoingHandler: OutgoingHandler, concurrency: number, - encoding?: string + encoding?: BufferEncoding ) { if (bufferSize <= 0) { throw new RangeError(`bufferSize must be larger than 0, current is ${bufferSize}`); diff --git a/sdk/storage/storage-file-datalake/src/utils/utils.node.ts b/sdk/storage/storage-file-datalake/src/utils/utils.node.ts index 7b56941c75bb..931104e82a74 100644 --- a/sdk/storage/storage-file-datalake/src/utils/utils.node.ts +++ b/sdk/storage/storage-file-datalake/src/utils/utils.node.ts @@ -3,7 +3,6 @@ import * as fs from "fs"; import * as util from "util"; -import { isNode } from "@azure/core-http"; /** * Reads a readable stream into buffer. Fill the buffer from offset to end. @@ -19,7 +18,7 @@ export async function streamToBuffer( buffer: Buffer, offset: number, end: number, - encoding?: string + encoding?: BufferEncoding ): Promise { let pos = 0; // Position in stream const count = end - offset; // Total amount of data needed in stream @@ -73,7 +72,7 @@ export async function streamToBuffer( export async function streamToBuffer2( stream: NodeJS.ReadableStream, buffer: Buffer, - encoding?: string + encoding?: BufferEncoding ): Promise { let pos = 0; // Position in stream const bufferSize = buffer.length; @@ -110,6 +109,6 @@ export async function streamToBuffer2( * * Promisified version of fs.stat(). */ -export const fsStat = util.promisify(isNode ? fs.stat : function stat() {}); +export const fsStat = util.promisify(fs.stat); export const fsCreateReadStream = fs.createReadStream; diff --git a/sdk/storage/storage-file-share/src/utils/BufferScheduler.ts b/sdk/storage/storage-file-share/src/utils/BufferScheduler.ts index f5131d0dfb33..56988ccb5fd9 100644 --- a/sdk/storage/storage-file-share/src/utils/BufferScheduler.ts +++ b/sdk/storage/storage-file-share/src/utils/BufferScheduler.ts @@ -87,7 +87,7 @@ export class BufferScheduler { /** * Encoding of the input Readable stream which has string data type instead of Buffer. */ - private encoding?: string; + private encoding?: BufferEncoding; /** * How many buffers have been allocated. @@ -136,7 +136,7 @@ export class BufferScheduler { maxBuffers: number, outgoingHandler: OutgoingHandler, concurrency: number, - encoding?: string + encoding?: BufferEncoding ) { if (bufferSize <= 0) { throw new RangeError(`bufferSize must be larger than 0, current is ${bufferSize}`); diff --git a/sdk/storage/storage-file-share/src/utils/utils.node.ts b/sdk/storage/storage-file-share/src/utils/utils.node.ts index b773afe82221..547cca0fbcc4 100644 --- a/sdk/storage/storage-file-share/src/utils/utils.node.ts +++ b/sdk/storage/storage-file-share/src/utils/utils.node.ts @@ -18,7 +18,7 @@ export async function streamToBuffer( buffer: Buffer, offset: number, end: number, - encoding?: string + encoding?: BufferEncoding ): Promise { let pos = 0; // Position in stream const count = end - offset; // Total amount of data needed in stream From 23de687fd5de387a64abd8446da8ae8cd93a3f5a Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Mon, 28 Jun 2021 09:39:57 -0700 Subject: [PATCH 069/134] Update KV readmes with support policy (#16013) --- samples/cors/ts/README.md | 2 +- samples/frameworks/electron/ts/README.md | 2 +- sdk/keyvault/keyvault-admin/README.md | 9 ++++++--- sdk/keyvault/keyvault-certificates/README.md | 15 +++++++++------ sdk/keyvault/keyvault-keys/README.md | 9 ++++++--- sdk/keyvault/keyvault-secrets/README.md | 2 +- 6 files changed, 24 insertions(+), 15 deletions(-) diff --git a/samples/cors/ts/README.md b/samples/cors/ts/README.md index 901bd7c038f6..7b01e47a8f8f 100644 --- a/samples/cors/ts/README.md +++ b/samples/cors/ts/README.md @@ -37,7 +37,7 @@ This sample demonstrates a few alternatives to integrating with Azure Key Vault ## Prerequisites -The sample is compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/) +The sample is compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. diff --git a/samples/frameworks/electron/ts/README.md b/samples/frameworks/electron/ts/README.md index 66ec3b7c8d9e..6699219a05be 100644 --- a/samples/frameworks/electron/ts/README.md +++ b/samples/frameworks/electron/ts/README.md @@ -9,7 +9,7 @@ In this sample, we build a simple [Electron][electron] application and integrati ## Prerequisites -The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/) +The samples are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. diff --git a/sdk/keyvault/keyvault-admin/README.md b/sdk/keyvault/keyvault-admin/README.md index bf2b8d461582..2d20671354f1 100644 --- a/sdk/keyvault/keyvault-admin/README.md +++ b/sdk/keyvault/keyvault-admin/README.md @@ -20,11 +20,14 @@ Install the Azure Key Vault administration client library for JavaScript and Typ npm install @azure/keyvault-admin ``` +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) + ### Prerequisites -- An [Azure subscription][azure-sub]. -- An existing Azure Key Vault Managed HSM. If you need to create an Azure Key Vault, you can use the [Azure CLI][azure-cli]. -- Use [Node.js](https://nodejs.org/) 10.x or higher. +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Key Vault resource](https://docs.microsoft.com/azure/key-vault/quick-create-portal) #### Getting Azure credentials diff --git a/sdk/keyvault/keyvault-certificates/README.md b/sdk/keyvault/keyvault-certificates/README.md index 8ddd5d6dcdc0..7c261fdc44bc 100644 --- a/sdk/keyvault/keyvault-certificates/README.md +++ b/sdk/keyvault/keyvault-certificates/README.md @@ -20,18 +20,21 @@ Use the client library for Azure Key Vault Certificates in your Node.js applicat ## Getting started +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) + +### Prerequisites + +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Key Vault resource](https://docs.microsoft.com/azure/key-vault/quick-create-portal) + ### Install the package Install the Azure Key Vault Certificates client library using npm `npm install @azure/keyvault-certificates` -### Prerequisites - -- An [Azure subscription](https://azure.microsoft.com/free/). -- An existing Azure Key Vault. If you need to create an Azure Key Vault, you can use the [Azure CLI](https://docs.microsoft.com/azure/key-vault/general/quick-create-cli). -- Use [Node.js](https://nodejs.org/) 10.x or higher. - ### Install the identity library Key Vault clients authenticate using the Azure Identity Library. Install it as well using npm diff --git a/sdk/keyvault/keyvault-keys/README.md b/sdk/keyvault/keyvault-keys/README.md index 045a8b08d009..5b605a7e3696 100644 --- a/sdk/keyvault/keyvault-keys/README.md +++ b/sdk/keyvault/keyvault-keys/README.md @@ -30,11 +30,14 @@ Using the cryptography client available in this library you also have access to: ## Getting started +### Currently supported environments + +- [LTS versions of Node.js](https://nodejs.org/about/releases/) + ### Prerequisites -- An [Azure subscription][azure-sub]. -- An existing Azure Key Vault Managed HSM. If you need to create an Azure Key Vault, you can use the [Azure CLI][azure-cli]. -- Use [Node.js](https://nodejs.org/) 10.x or higher. +- An [Azure subscription](https://azure.microsoft.com/free/) +- A [Key Vault resource](https://docs.microsoft.com/azure/key-vault/quick-create-portal) ### Install the package diff --git a/sdk/keyvault/keyvault-secrets/README.md b/sdk/keyvault/keyvault-secrets/README.md index cc12e3849811..ea8d84fdcd8d 100644 --- a/sdk/keyvault/keyvault-secrets/README.md +++ b/sdk/keyvault/keyvault-secrets/README.md @@ -30,7 +30,7 @@ Use the client library for Azure Key Vault Secrets in your Node.js application t ### Prerequisites - An [Azure subscription](https://azure.microsoft.com/free/) -- A[Key Vault resource](https://docs.microsoft.com/azure/key-vault/quick-create-portal) +- A [Key Vault resource](https://docs.microsoft.com/azure/key-vault/quick-create-portal) ### Install the package From d3647f86a9f8e29f6376ef1e04015dd5e94d63a7 Mon Sep 17 00:00:00 2001 From: Zachary Foster Date: Mon, 28 Jun 2021 13:01:04 -0400 Subject: [PATCH 070/134] [Cosmos] Simple endpoint refresh interval (#15781) * adds simple background refresh * Adds setInterval with unref * cleanup * wip prenock * wip * Removes recorder, fixes timeout in tests * extract api * fix lint * format * Adds flag * lint * Fix parition spelling * modify endpoint check * fix tests * Comment proxy * adds back copyright * skip session spec * Fix session token * Fix session spec on emulator --- sdk/cosmosdb/cosmos/review/cosmos.api.md | 11 +- sdk/cosmosdb/cosmos/src/ClientContext.ts | 10 +- sdk/cosmosdb/cosmos/src/CosmosClient.ts | 52 ++++++ sdk/cosmosdb/cosmos/src/common/constants.ts | 2 +- .../cosmos/src/documents/ConnectionPolicy.ts | 22 ++- .../cosmos/src/globalEndpointManager.ts | 6 +- .../routing/CollectionRoutingMapFactory.ts | 4 +- sdk/cosmosdb/cosmos/src/routing/QueryRange.ts | 4 +- .../cosmos/test/internal/session.spec.ts | 93 +++++++---- .../test/internal/unit/sasToken.spec.ts | 6 +- .../cosmos/test/public/common/TestHelpers.ts | 6 +- .../public/functional/authorization.spec.ts | 30 +++- .../test/public/functional/client.spec.ts | 49 +++++- .../test/public/functional/database.spec.ts | 6 +- .../public/functional/databaseaccount.spec.ts | 6 +- .../public/functional/npcontainer.spec.ts | 5 + .../test/public/functional/offer.spec.ts | 6 +- .../test/public/functional/plugin.spec.ts | 3 + .../test/public/functional/query.spec.ts | 6 +- .../public/integration/authorization.spec.ts | 16 +- .../test/public/integration/failover.spec.ts | 3 + .../public/integration/multiregion.spec.ts | 2 + .../test/public/integration/proxy.spec.ts | 152 +++++++++--------- .../test/public/integration/split.spec.ts | 6 +- .../integration/sslVerification.spec.ts | 9 +- 25 files changed, 371 insertions(+), 144 deletions(-) diff --git a/sdk/cosmosdb/cosmos/review/cosmos.api.md b/sdk/cosmosdb/cosmos/review/cosmos.api.md index 4cbbc5a450ba..4fddb5d875ef 100644 --- a/sdk/cosmosdb/cosmos/review/cosmos.api.md +++ b/sdk/cosmosdb/cosmos/review/cosmos.api.md @@ -112,8 +112,12 @@ export class ClientContext { // (undocumented) getReadEndpoint(): Promise; // (undocumented) + getReadEndpoints(): Promise; + // (undocumented) getWriteEndpoint(): Promise; // (undocumented) + getWriteEndpoints(): Promise; + // (undocumented) partitionKeyDefinitionCache: { [containerUrl: string]: any; }; @@ -235,7 +239,9 @@ export enum ConnectionMode { // @public export interface ConnectionPolicy { connectionMode?: ConnectionMode; + enableBackgroundEndpointRefreshing?: boolean; enableEndpointDiscovery?: boolean; + endpointRefreshRateInMs?: number; preferredLocations?: string[]; requestTimeout?: number; retryOptions?: RetryOptions; @@ -399,7 +405,7 @@ export const Constants: { MaxExclusive: string; min: string; }; - EffectiveParitionKeyConstants: { + EffectivePartitionKeyConstants: { MinimumInclusiveEffectivePartitionKey: string; MaximumExclusiveEffectivePartitionKey: string; }; @@ -486,9 +492,12 @@ export class CosmosClient { constructor(options: CosmosClientOptions); database(id: string): Database; readonly databases: Databases; + dispose(): void; getDatabaseAccount(options?: RequestOptions): Promise>; getReadEndpoint(): Promise; + getReadEndpoints(): Promise; getWriteEndpoint(): Promise; + getWriteEndpoints(): Promise; offer(id: string): Offer; readonly offers: Offers; } diff --git a/sdk/cosmosdb/cosmos/src/ClientContext.ts b/sdk/cosmosdb/cosmos/src/ClientContext.ts index 996e528190e9..4123ec8e9a99 100644 --- a/sdk/cosmosdb/cosmos/src/ClientContext.ts +++ b/sdk/cosmosdb/cosmos/src/ClientContext.ts @@ -37,7 +37,7 @@ export class ClientContext { private readonly sessionContainer: SessionContainer; private connectionPolicy: ConnectionPolicy; - public partitionKeyDefinitionCache: { [containerUrl: string]: any }; // TODO: ParitionKeyDefinitionCache + public partitionKeyDefinitionCache: { [containerUrl: string]: any }; // TODO: PartitionKeyDefinitionCache public constructor( private cosmosClientOptions: CosmosClientOptions, private globalEndpointManager: GlobalEndpointManager @@ -544,6 +544,14 @@ export class ClientContext { return this.globalEndpointManager.getReadEndpoint(); } + public getWriteEndpoints(): Promise { + return this.globalEndpointManager.getWriteEndpoints(); + } + + public getReadEndpoints(): Promise { + return this.globalEndpointManager.getReadEndpoints(); + } + public async bulk({ body, path, diff --git a/sdk/cosmosdb/cosmos/src/CosmosClient.ts b/sdk/cosmosdb/cosmos/src/CosmosClient.ts index baa4e67ea9f6..d06509e09fa4 100644 --- a/sdk/cosmosdb/cosmos/src/CosmosClient.ts +++ b/sdk/cosmosdb/cosmos/src/CosmosClient.ts @@ -50,6 +50,7 @@ export class CosmosClient { */ public readonly offers: Offers; private clientContext: ClientContext; + private endpointRefresher: NodeJS.Timer; /** * Creates a new {@link CosmosClient} object from a connection string. Your database connection string can be found in the Azure Portal */ @@ -93,6 +94,16 @@ export class CosmosClient { async (opts: RequestOptions) => this.getDatabaseAccount(opts) ); this.clientContext = new ClientContext(optionsOrConnectionString, globalEndpointManager); + if ( + optionsOrConnectionString.connectionPolicy?.enableEndpointDiscovery && + optionsOrConnectionString.connectionPolicy?.enableBackgroundEndpointRefreshing + ) { + this.backgroundRefreshEndpointList( + globalEndpointManager, + optionsOrConnectionString.connectionPolicy.endpointRefreshRateInMs || + defaultConnectionPolicy.endpointRefreshRateInMs + ); + } this.databases = new Databases(this, this.clientContext); this.offers = new Offers(this, this.clientContext); @@ -126,6 +137,24 @@ export class CosmosClient { return this.clientContext.getReadEndpoint(); } + /** + * Gets the known write endpoints. Useful for troubleshooting purposes. + * + * The urls may contain a region suffix (e.g. "-eastus") if we're using location specific endpoints. + */ + public getWriteEndpoints(): Promise { + return this.clientContext.getWriteEndpoints(); + } + + /** + * Gets the currently used read endpoint. Useful for troubleshooting purposes. + * + * The url may contain a region suffix (e.g. "-eastus") if we're using location specific endpoints. + */ + public getReadEndpoints(): Promise { + return this.clientContext.getReadEndpoints(); + } + /** * Used for reading, updating, or deleting a existing database by id or accessing containers belonging to that database. * @@ -153,4 +182,27 @@ export class CosmosClient { public offer(id: string): Offer { return new Offer(this, id, this.clientContext); } + + /** + * Clears background endpoint refresher. Use client.dispose() when destroying the CosmosClient within another process. + */ + public dispose(): void { + clearTimeout(this.endpointRefresher); + } + + private async backgroundRefreshEndpointList( + globalEndpointManager: GlobalEndpointManager, + refreshRate: number + ) { + this.endpointRefresher = setInterval(() => { + try { + globalEndpointManager.refreshEndpointList(); + } catch (e) { + console.warn("Failed to refresh endpoints", e); + } + }, refreshRate); + if (this.endpointRefresher.unref && typeof this.endpointRefresher.unref === "function") { + this.endpointRefresher.unref(); + } + } } diff --git a/sdk/cosmosdb/cosmos/src/common/constants.ts b/sdk/cosmosdb/cosmos/src/common/constants.ts index b9658b6c3771..94f9f116c5ff 100644 --- a/sdk/cosmosdb/cosmos/src/common/constants.ts +++ b/sdk/cosmosdb/cosmos/src/common/constants.ts @@ -218,7 +218,7 @@ export const Constants = { min: "min" }, - EffectiveParitionKeyConstants: { + EffectivePartitionKeyConstants: { MinimumInclusiveEffectivePartitionKey: "", MaximumExclusiveEffectivePartitionKey: "FF" } diff --git a/sdk/cosmosdb/cosmos/src/documents/ConnectionPolicy.ts b/sdk/cosmosdb/cosmos/src/documents/ConnectionPolicy.ts index d287bd9fc4b2..15550021fae6 100644 --- a/sdk/cosmosdb/cosmos/src/documents/ConnectionPolicy.ts +++ b/sdk/cosmosdb/cosmos/src/documents/ConnectionPolicy.ts @@ -10,7 +10,10 @@ export interface ConnectionPolicy { connectionMode?: ConnectionMode; /** Request timeout (time to wait for response from network peer). Represented in milliseconds. */ requestTimeout?: number; - /** Flag to enable/disable automatic redirecting of requests based on read/write operations. */ + /** + * Flag to enable/disable automatic redirecting of requests based on read/write operations. Default true. + * Required to call client.dispose() when this is set to true after destroying the CosmosClient inside another process or in the browser. + */ enableEndpointDiscovery?: boolean; /** List of azure regions to be used as preferred locations for read requests. */ preferredLocations?: string[]; @@ -21,16 +24,27 @@ export interface ConnectionPolicy { * Default is `false`. */ useMultipleWriteLocations?: boolean; + /** Rate in milliseconds at which the client will refresh the endpoints list in the background */ + endpointRefreshRateInMs?: number; + /** Flag to enable/disable background refreshing of endpoints. Defaults to false. + * Endpoint discovery using `enableEndpointsDiscovery` will still work for failed requests. */ + enableBackgroundEndpointRefreshing?: boolean; } /** * @hidden */ -export const defaultConnectionPolicy = Object.freeze({ +export const defaultConnectionPolicy: ConnectionPolicy = Object.freeze({ connectionMode: ConnectionMode.Gateway, requestTimeout: 60000, enableEndpointDiscovery: true, preferredLocations: [], - retryOptions: {}, - useMultipleWriteLocations: true + retryOptions: { + maxRetryAttemptCount: 9, + fixedRetryIntervalInMilliseconds: 100, + maxWaitTimeInSeconds: 30 + }, + useMultipleWriteLocations: true, + endpointRefreshRateInMs: 300000, + enableBackgroundEndpointRefreshing: true }); diff --git a/sdk/cosmosdb/cosmos/src/globalEndpointManager.ts b/sdk/cosmosdb/cosmos/src/globalEndpointManager.ts index ca5593f8bdc6..ce5e11c3c06e 100644 --- a/sdk/cosmosdb/cosmos/src/globalEndpointManager.ts +++ b/sdk/cosmosdb/cosmos/src/globalEndpointManager.ts @@ -25,8 +25,8 @@ export class GlobalEndpointManager { * List of azure regions to be used as preferred locations for read requests. */ private preferredLocations: string[]; - private writeableLocations: Location[]; - private readableLocations: Location[]; + private writeableLocations: Location[] = []; + private readableLocations: Location[] = []; /** * @param options - The document client instance. @@ -114,7 +114,7 @@ export class GlobalEndpointManager { return this.defaultEndpoint; } - if (!this.readableLocations || !this.writeableLocations) { + if (this.readableLocations.length === 0 || this.writeableLocations.length === 0) { const { resource: databaseAccount } = await this.readDatabaseAccount({ urlConnection: this.defaultEndpoint }); diff --git a/sdk/cosmosdb/cosmos/src/routing/CollectionRoutingMapFactory.ts b/sdk/cosmosdb/cosmos/src/routing/CollectionRoutingMapFactory.ts index 1762f641ccaa..36da53bbceea 100644 --- a/sdk/cosmosdb/cosmos/src/routing/CollectionRoutingMapFactory.ts +++ b/sdk/cosmosdb/cosmos/src/routing/CollectionRoutingMapFactory.ts @@ -55,11 +55,11 @@ function isCompleteSetOfRange(partitionKeyOrderedRange: any): boolean { const lastRange = partitionKeyOrderedRange[partitionKeyOrderedRange.length - 1]; isComplete = firstRange[Constants.PartitionKeyRange.MinInclusive] === - Constants.EffectiveParitionKeyConstants.MinimumInclusiveEffectivePartitionKey; + Constants.EffectivePartitionKeyConstants.MinimumInclusiveEffectivePartitionKey; isComplete = isComplete && lastRange[Constants.PartitionKeyRange.MaxExclusive] === - Constants.EffectiveParitionKeyConstants.MaximumExclusiveEffectivePartitionKey; + Constants.EffectivePartitionKeyConstants.MaximumExclusiveEffectivePartitionKey; for (let i = 1; i < partitionKeyOrderedRange.length; i++) { const previousRange = partitionKeyOrderedRange[i - 1]; diff --git a/sdk/cosmosdb/cosmos/src/routing/QueryRange.ts b/sdk/cosmosdb/cosmos/src/routing/QueryRange.ts index 0cb52dd33921..be07a14f4e92 100644 --- a/sdk/cosmosdb/cosmos/src/routing/QueryRange.ts +++ b/sdk/cosmosdb/cosmos/src/routing/QueryRange.ts @@ -55,8 +55,8 @@ export class QueryRange { public isFullRange(): boolean { return ( - this.min === Constants.EffectiveParitionKeyConstants.MinimumInclusiveEffectivePartitionKey && - this.max === Constants.EffectiveParitionKeyConstants.MaximumExclusiveEffectivePartitionKey && + this.min === Constants.EffectivePartitionKeyConstants.MinimumInclusiveEffectivePartitionKey && + this.max === Constants.EffectivePartitionKeyConstants.MaximumExclusiveEffectivePartitionKey && this.isMinInclusive === true && this.isMaxInclusive === false ); diff --git a/sdk/cosmosdb/cosmos/test/internal/session.spec.ts b/sdk/cosmosdb/cosmos/test/internal/session.spec.ts index abe398f276a6..ff6885fc4c2d 100644 --- a/sdk/cosmosdb/cosmos/test/internal/session.spec.ts +++ b/sdk/cosmosdb/cosmos/test/internal/session.spec.ts @@ -4,7 +4,7 @@ import assert from "assert"; import { Context } from "mocha"; import { Suite } from "mocha"; import * as sinon from "sinon"; -import { ClientContext } from "../../src"; +import { ClientContext, PluginConfig, PluginOn } from "../../src"; import { OperationType, ResourceType, trimSlashes } from "../../src/common"; import { ConsistencyLevel } from "../../src"; import { Constants, CosmosClient } from "../../src"; @@ -14,6 +14,7 @@ import { endpoint, masterKey } from "../public/common/_testConfig"; import { getTestDatabase, removeAllDatabases } from "../public/common/TestHelpers"; import * as RequestHandler from "../../src/request/RequestHandler"; import { RequestContext } from "../../src"; +import { Response } from "../../src/request/Response"; // TODO: there is alot of "any" types for tokens here // TODO: there is alot of leaky document client stuff here that will make removing document client hard @@ -21,7 +22,8 @@ import { RequestContext } from "../../src"; const client = new CosmosClient({ endpoint, key: masterKey, - consistencyLevel: ConsistencyLevel.Session + consistencyLevel: ConsistencyLevel.Session, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); function getCollection2TokenMap( @@ -30,7 +32,63 @@ function getCollection2TokenMap( return (sessionContainer as any).collectionResourceIdToSessionTokens; } -describe("Session Token", function(this: Suite) { +describe("New session token", function() { + it("preserves tokens", async function() { + let response: Response; + let rqContext: RequestContext; + const plugins: PluginConfig[] = [ + { + on: PluginOn.request, + plugin: async (context, next) => { + rqContext = context; + response = await next(context); + return response; + } + } + ]; + const sessionClient = new CosmosClient({ + endpoint, + key: masterKey, + consistencyLevel: ConsistencyLevel.Session, + connectionPolicy: { enableBackgroundEndpointRefreshing: false }, + plugins + }); + const containerId = "sessionTestColl"; + + const containerDefinition = { + id: containerId, + partitionKey: { paths: ["/id"] } + }; + const containerOptions = { offerThroughput: 25100 }; + + const clientContext: ClientContext = (sessionClient as any).clientContext; + const sessionContainer: SessionContainer = (clientContext as any).sessionContainer; + const database = await getTestDatabase("session test", sessionClient); + + const { resource: createdContainerDef } = await database.containers.create( + containerDefinition, + containerOptions + ); + const container = database.container(createdContainerDef.id); + + const resp = await container.items.create({ id: "1" }); + await container.item("1").read(); + + await container.item("1").read(); + const responseToken = resp.headers["x-ms-session-token"]; + const token = sessionContainer.get({ + isNameBased: true, + operationType: OperationType.Create, + resourceAddress: container.url, + resourceType: ResourceType.item, + resourceId: "1" + }); + assert.equal(responseToken, token); + assert.equal(responseToken, rqContext.headers["x-ms-session-token"]); + }); +}); + +describe.skip("Session Token", function(this: Suite) { this.timeout(process.env.MOCHA_TIMEOUT || 20000); const containerId = "sessionTestColl"; @@ -341,37 +399,12 @@ describe("Session Token", function(this: Suite) { await container.item("1", "1").read(); }); - // TODO: chrande - looks like this might be broken by going name based? - // We never had a name based version of this test. Looks like we fail to set the session token - // because OwnerId is missing on the header. This only happens for name based. - it.skip("client should not have session token of a container created by another client", async function() { - const client2 = new CosmosClient({ - endpoint, - key: masterKey, - consistencyLevel: ConsistencyLevel.Session - }); - const database = await getTestDatabase("clientshouldnothaveanotherclienttoken"); - await database.containers.create(containerDefinition, containerOptions); - const container = database.container(containerDefinition.id); - await container.read(); - await client2 - .database(database.id) - .container(containerDefinition.id) - .delete(); - await client2.database(database.id).containers.create(containerDefinition, containerOptions); - await client2 - .database(database.id) - .container(containerDefinition.id) - .read(); - assert.equal((client as any).clientContext.getSessionToken(container.url), ""); // TODO: _self - assert.notEqual((client2 as any).clientContext.getSessionToken(container.url), ""); - }); - it("validate session container update on 'Not found' with 'undefined' status code for non master resource", async function() { const client2 = new CosmosClient({ endpoint, key: masterKey, - consistencyLevel: ConsistencyLevel.Session + consistencyLevel: ConsistencyLevel.Session, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); const db = await getTestDatabase("session test", client); diff --git a/sdk/cosmosdb/cosmos/test/internal/unit/sasToken.spec.ts b/sdk/cosmosdb/cosmos/test/internal/unit/sasToken.spec.ts index 6186a8e7c730..0fd371f30ec9 100644 --- a/sdk/cosmosdb/cosmos/test/internal/unit/sasToken.spec.ts +++ b/sdk/cosmosdb/cosmos/test/internal/unit/sasToken.spec.ts @@ -31,7 +31,8 @@ describe.skip("SAS Token Authorization", function() { process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0"; const client = new CosmosClient({ endpoint, - key: key + key: key, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); const database = client.database(sasTokenProperties.databaseName); @@ -56,7 +57,8 @@ describe.skip("SAS Token Authorization", function() { "type=sas&ver=1.0&sig=pCgZFxV9JQN1i3vzYNTfQldW1No7I+MSgN628TZcJAI=;dXNlcjEKCi9kYnMvZGIxL2NvbGxzL2NvbGwxLwoKNUZFRTY2MDEKNjIxM0I3MDEKMAo2MAowCkZGRkZGRkZGCjAK"; const sasTokenClient = new CosmosClient({ endpoint, - key: userSasTokenKey + key: userSasTokenKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); const dbs = await sasTokenClient.databases.readAll().fetchAll(); diff --git a/sdk/cosmosdb/cosmos/test/public/common/TestHelpers.ts b/sdk/cosmosdb/cosmos/test/public/common/TestHelpers.ts index ae06614822da..0d77b1ea13e9 100644 --- a/sdk/cosmosdb/cosmos/test/public/common/TestHelpers.ts +++ b/sdk/cosmosdb/cosmos/test/public/common/TestHelpers.ts @@ -17,7 +17,11 @@ import { endpoint, masterKey } from "./_testConfig"; import { DatabaseRequest } from "../../../src"; import { ContainerRequest } from "../../../src"; -const defaultClient = new CosmosClient({ endpoint, key: masterKey }); +const defaultClient = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } +}); export function addEntropy(name: string): string { return name + getEntropy(); diff --git a/sdk/cosmosdb/cosmos/test/public/functional/authorization.spec.ts b/sdk/cosmosdb/cosmos/test/public/functional/authorization.spec.ts index faa0d7a21753..85759ab8b11e 100644 --- a/sdk/cosmosdb/cosmos/test/public/functional/authorization.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/functional/authorization.spec.ts @@ -20,19 +20,31 @@ describe("NodeJS CRUD Tests", function(this: Suite) { describe("Validate Authorization", function() { it("should handle all the key options", async function() { - const clientOptionsKey = new CosmosClient({ endpoint, key: masterKey }); + const clientOptionsKey = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } + }); assert( undefined !== (await clientOptionsKey.databases.readAll().fetchAll()), "Should be able to fetch list of databases" ); - const clientOptionsAuthKey = new CosmosClient({ endpoint, key: masterKey }); + const clientOptionsAuthKey = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } + }); assert( undefined !== (await clientOptionsAuthKey.databases.readAll().fetchAll()), "Should be able to fetch list of databases" ); - const clientOptionsAuthMasterKey = new CosmosClient({ endpoint, key: masterKey }); + const clientOptionsAuthMasterKey = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } + }); assert( undefined !== (await clientOptionsAuthMasterKey.databases.readAll().fetchAll()), "Should be able to fetch list of databases" @@ -139,7 +151,11 @@ describe("NodeJS CRUD Tests", function(this: Suite) { resourceTokens[entities.coll1.id] = (entities.permissionOnColl1 as any)._token; resourceTokens[entities.doc1.id] = (entities.permissionOnColl1 as any)._token; - const col1Client = new CosmosClient({ endpoint, resourceTokens }); + const col1Client = new CosmosClient({ + endpoint, + resourceTokens, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } + }); // 1. Success-- Use Col1 Permission to Read const { resource: successColl1 } = await col1Client @@ -229,7 +245,11 @@ describe("NodeJS CRUD Tests", function(this: Suite) { const resourceTokens: any = {}; resourceTokens[container.id] = (permission as any)._token; - const restrictedClient = new CosmosClient({ endpoint, resourceTokens }); + const restrictedClient = new CosmosClient({ + endpoint, + resourceTokens, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } + }); await restrictedClient .database(container.database.id) .container(container.id) diff --git a/sdk/cosmosdb/cosmos/test/public/functional/client.spec.ts b/sdk/cosmosdb/cosmos/test/public/functional/client.spec.ts index c7f8e434f30e..9500a70cb931 100644 --- a/sdk/cosmosdb/cosmos/test/public/functional/client.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/functional/client.spec.ts @@ -13,8 +13,9 @@ import { } from "../common/TestHelpers"; import AbortController from "node-abort-controller"; import { UsernamePasswordCredential } from "@azure/identity"; +import { defaultConnectionPolicy } from "../../../src/documents"; -describe("NodeJS CRUD Tests", function(this: Suite) { +describe("Client Tests", function(this: Suite) { this.timeout(process.env.MOCHA_TIMEOUT || 20000); describe("Validate client request timeout", function() { @@ -24,7 +25,7 @@ describe("NodeJS CRUD Tests", function(this: Suite) { const client = new CosmosClient({ endpoint, key: masterKey, - connectionPolicy: { requestTimeout: 1 } + connectionPolicy: { requestTimeout: 1, enableBackgroundEndpointRefreshing: false } }); // create database try { @@ -40,13 +41,15 @@ describe("NodeJS CRUD Tests", function(this: Suite) { it("Accepts node Agent", function() { const client = new CosmosClient({ endpoint: "https://faaaaaake.com", - agent: new Agent() + agent: new Agent(), + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); assert.ok(client !== undefined, "client shouldn't be undefined if it succeeded"); }); it("Accepts a connection string", function() { const client = new CosmosClient(`AccountEndpoint=${endpoint};AccountKey=${masterKey};`); assert.ok(client !== undefined, "client shouldn't be undefined if it succeeded"); + client.dispose(); }); it("throws on a bad connection string", function() { assert.throws(() => new CosmosClient(`bad;Connection=string;`)); @@ -64,7 +67,8 @@ describe("NodeJS CRUD Tests", function(this: Suite) { ); const client = new CosmosClient({ endpoint, - aadCredentials: credentials + aadCredentials: credentials, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); await client.databases.readAll().fetchAll(); } catch (e) { @@ -85,6 +89,7 @@ describe("NodeJS CRUD Tests", function(this: Suite) { console.log(err); assert.equal(err.name, "AbortError", "client should throw exception"); } + client.dispose(); }); it("should throw exception if passed an already aborted signal", async function() { const client = new CosmosClient({ endpoint, key: masterKey }); @@ -97,6 +102,7 @@ describe("NodeJS CRUD Tests", function(this: Suite) { } catch (err) { assert.equal(err.name, "AbortError", "client should throw exception"); } + client.dispose(); }); it("should abort a query", async function() { const container = await getTestContainer("abort query"); @@ -124,6 +130,41 @@ describe("NodeJS CRUD Tests", function(this: Suite) { } catch (err) { assert.fail(err); } + client.dispose(); + }); + }); + describe("Background refresher", async function() { + // not async to leverage done() callback inside setTimeout + it("should fetch new endpoints", function(done) { + // set refresh rate to 700ms + const client = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { + ...defaultConnectionPolicy, + endpointRefreshRateInMs: 700, + enableBackgroundEndpointRefreshing: true + } + }); + + // then timeout 1.2s so that we first fetch no endpoints, then after it refreshes we see them + client + .getReadEndpoints() + .then((firstEndpoints) => { + assert.equal(firstEndpoints.length, 0); + setTimeout(() => { + client + .getReadEndpoints() + .then((endpoints) => { + assert.notEqual(firstEndpoints, endpoints); + done(); + return; + }) + .catch(console.warn); + }, 1200); + return; + }) + .catch(console.warn); }); }); }); diff --git a/sdk/cosmosdb/cosmos/test/public/functional/database.spec.ts b/sdk/cosmosdb/cosmos/test/public/functional/database.spec.ts index 12eae6b1b3ad..757ef1ee6171 100644 --- a/sdk/cosmosdb/cosmos/test/public/functional/database.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/functional/database.spec.ts @@ -12,7 +12,11 @@ import { } from "../common/TestHelpers"; import { DatabaseRequest } from "../../../src"; -const client = new CosmosClient({ endpoint, key: masterKey }); +const client = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } +}); describe("NodeJS CRUD Tests", function(this: Suite) { this.timeout(process.env.MOCHA_TIMEOUT || 10000); diff --git a/sdk/cosmosdb/cosmos/test/public/functional/databaseaccount.spec.ts b/sdk/cosmosdb/cosmos/test/public/functional/databaseaccount.spec.ts index 9e5c8d210430..7d34cc0abc46 100644 --- a/sdk/cosmosdb/cosmos/test/public/functional/databaseaccount.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/functional/databaseaccount.spec.ts @@ -6,7 +6,11 @@ import { Suite } from "mocha"; import { CosmosClient } from "../../../src"; import { endpoint, masterKey } from "../common/_testConfig"; -const client = new CosmosClient({ endpoint, key: masterKey }); +const client = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } +}); describe("NodeJS CRUD Tests", function(this: Suite) { this.timeout(process.env.MOCHA_TIMEOUT || 10000); diff --git a/sdk/cosmosdb/cosmos/test/public/functional/npcontainer.spec.ts b/sdk/cosmosdb/cosmos/test/public/functional/npcontainer.spec.ts index c5f5da1a6b2a..29279bdc5bab 100644 --- a/sdk/cosmosdb/cosmos/test/public/functional/npcontainer.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/functional/npcontainer.spec.ts @@ -46,6 +46,11 @@ describe("Non Partitioned Container", function() { container = client.database(npContainer.database.id).container(npContainer.id); }); + after(async () => { + client.dispose(); + legacyClient.dispose(); + }); + it("should handle item CRUD", async () => { // read items const { resources: items } = await container.items.readAll().fetchAll(); diff --git a/sdk/cosmosdb/cosmos/test/public/functional/offer.spec.ts b/sdk/cosmosdb/cosmos/test/public/functional/offer.spec.ts index 6c51bd8dffe4..403302d22f07 100644 --- a/sdk/cosmosdb/cosmos/test/public/functional/offer.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/functional/offer.spec.ts @@ -7,7 +7,11 @@ import { Constants, CosmosClient } from "../../../src"; import { endpoint, masterKey } from "../common/_testConfig"; import { getTestContainer, removeAllDatabases } from "../common/TestHelpers"; -const client = new CosmosClient({ endpoint, key: masterKey }); +const client = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } +}); const validateOfferResponseBody = function(offer: any): void { assert(offer.id, "Id cannot be null"); diff --git a/sdk/cosmosdb/cosmos/test/public/functional/plugin.spec.ts b/sdk/cosmosdb/cosmos/test/public/functional/plugin.spec.ts index 18007836a409..257cf0ca791d 100644 --- a/sdk/cosmosdb/cosmos/test/public/functional/plugin.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/functional/plugin.spec.ts @@ -45,6 +45,7 @@ describe("Plugin", function() { assert.notEqual(response, undefined); assert.equal(response.statusCode, successResponse.code); assert.deepEqual(response.resource, successResponse.result); + client.dispose(); }); it("should handle all operations", async function() { @@ -86,6 +87,7 @@ describe("Plugin", function() { assert.notEqual(response, undefined); assert.equal(response.statusCode, successResponse.code); assert.deepEqual(response.resource, successResponse.result); + client.dispose(); }); it("should allow next to be called", async function() { @@ -135,5 +137,6 @@ describe("Plugin", function() { assert.notEqual(response, undefined); assert.equal(response.statusCode, successResponse.code); assert.deepEqual(response.resource, successResponse.result); + client.dispose(); }); }); diff --git a/sdk/cosmosdb/cosmos/test/public/functional/query.spec.ts b/sdk/cosmosdb/cosmos/test/public/functional/query.spec.ts index 2ef50172b89a..08f5089502ba 100644 --- a/sdk/cosmosdb/cosmos/test/public/functional/query.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/functional/query.spec.ts @@ -7,7 +7,11 @@ import { Container } from "../../../src/"; import { endpoint, masterKey } from "../common/_testConfig"; import { getTestContainer, getTestDatabase, removeAllDatabases } from "../common/TestHelpers"; -const client = new CosmosClient({ endpoint, key: masterKey }); +const client = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } +}); // TODO: This is required for Node 6 and above, so just putting it in here. // Might want to decide on only supporting async iterators once Node supports them officially. diff --git a/sdk/cosmosdb/cosmos/test/public/integration/authorization.spec.ts b/sdk/cosmosdb/cosmos/test/public/integration/authorization.spec.ts index 09b121089106..1c9587c309ca 100644 --- a/sdk/cosmosdb/cosmos/test/public/integration/authorization.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/integration/authorization.spec.ts @@ -76,7 +76,8 @@ describe("Authorization", function(this: Suite) { const clientReadPermission = new CosmosClient({ endpoint, - resourceTokens: rTokens + resourceTokens: rTokens, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); const { resource: coll } = await clientReadPermission @@ -89,7 +90,8 @@ describe("Authorization", function(this: Suite) { it("Accessing container by permissionFeed", async function() { const clientReadPermission = new CosmosClient({ endpoint, - permissionFeed: [collReadPermission] + permissionFeed: [collReadPermission], + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); // self link must be used to access a resource using permissionFeed @@ -112,6 +114,7 @@ describe("Authorization", function(this: Suite) { } catch (err) { assert(err !== undefined); // TODO: should check that we get the right error message } + clientNoPermission.dispose(); }); it("Accessing document by permissionFeed of parent container", async function() { @@ -120,7 +123,8 @@ describe("Authorization", function(this: Suite) { }); const clientReadPermission = new CosmosClient({ endpoint, - permissionFeed: [collReadPermission] + permissionFeed: [collReadPermission], + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); assert.equal("document1", createdDoc.id, "invalid documnet create"); @@ -137,7 +141,8 @@ describe("Authorization", function(this: Suite) { rTokens[container.id] = collAllPermission._token; const clientAllPermission = new CosmosClient({ endpoint, - resourceTokens: rTokens + resourceTokens: rTokens, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); // delete container @@ -150,7 +155,8 @@ describe("Authorization", function(this: Suite) { it("Modifying container by permissionFeed", async function() { const clientAllPermission = new CosmosClient({ endpoint, - permissionFeed: [collAllPermission] + permissionFeed: [collAllPermission], + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); // self link must be used to access a resource using permissionFeed diff --git a/sdk/cosmosdb/cosmos/test/public/integration/failover.spec.ts b/sdk/cosmosdb/cosmos/test/public/integration/failover.spec.ts index 77cca9e85457..67b25e4d6fcb 100644 --- a/sdk/cosmosdb/cosmos/test/public/integration/failover.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/integration/failover.spec.ts @@ -172,6 +172,7 @@ describe("Region Failover", () => { lastEndpointCalled, "https://failovertest-australiaeast.documents.azure.com:443/" ); + client.dispose(); }); it("on database not found, region dropped", async () => { @@ -212,6 +213,7 @@ describe("Region Failover", () => { lastEndpointCalled, "https://failovertest-australiaeast.documents.azure.com:443/" ); + client.dispose(); }); it("all endpoints unavailable, fallback to user supplied endpoint", async () => { @@ -250,5 +252,6 @@ describe("Region Failover", () => { await containerRef.item("any", undefined).read(); await containerRef.item("any", undefined).read(); assert.strictEqual(lastEndpointCalled, "https://failovertest.documents.azure.com/"); + client.dispose(); }); }); diff --git a/sdk/cosmosdb/cosmos/test/public/integration/multiregion.spec.ts b/sdk/cosmosdb/cosmos/test/public/integration/multiregion.spec.ts index f66aaea60c49..1aa883d59465 100644 --- a/sdk/cosmosdb/cosmos/test/public/integration/multiregion.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/integration/multiregion.spec.ts @@ -153,6 +153,7 @@ describe("Multi-region tests", function(this: Suite) { .item("foo", undefined) .read(); assert.equal(lastEndpointCalled, "https://failovertest-australiaeast.documents.azure.com:443/"); + client.dispose(); }); it("Preferred locations should be honored for writeEndpoint", async function() { @@ -193,5 +194,6 @@ describe("Multi-region tests", function(this: Suite) { .container("foo") .items.upsert({ id: "foo", _partitionKey: "bar" }); assert.equal(lastEndpointCalled, "https://failovertest-australiaeast.documents.azure.com:443/"); + client.dispose(); }); }); diff --git a/sdk/cosmosdb/cosmos/test/public/integration/proxy.spec.ts b/sdk/cosmosdb/cosmos/test/public/integration/proxy.spec.ts index 66409b058b0d..8931c80e7e30 100644 --- a/sdk/cosmosdb/cosmos/test/public/integration/proxy.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/integration/proxy.spec.ts @@ -1,82 +1,84 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import * as http from "http"; -import { Context } from "mocha"; -import * as net from "net"; -import { URL } from "url"; -import ProxyAgent from "proxy-agent"; -import { CosmosClient } from "../../../src"; -import { endpoint, masterKey } from "../common/_testConfig"; -import { addEntropy } from "../common/TestHelpers"; +// import * as http from "http"; +// import { Context } from "mocha"; +// import * as net from "net"; +// import { URL } from "url"; +// import ProxyAgent from "proxy-agent"; +// import { CosmosClient } from "../../../src"; +// import { endpoint, masterKey } from "../common/_testConfig"; +// import { addEntropy } from "../common/TestHelpers"; -const isBrowser = new Function("try {return this===window;}catch(e){ return false;}"); -if (!isBrowser()) { - describe("Validate http proxy setting in environment variable", function() { - const proxy = http.createServer((req, resp) => { - resp.writeHead(200, { "Content-Type": "text/plain" }); - resp.end(); - }); +// const isBrowser = new Function("try {return this===window;}catch(e){ return false;}"); +// if (!isBrowser()) { +// describe("Validate http proxy setting in environment variable", function() { +// const proxy = http.createServer((req, resp) => { +// resp.writeHead(200, { "Content-Type": "text/plain" }); +// resp.end(); +// }); - proxy.on("connect", (req, clientSocket, head) => { - const serverUrl = new URL(`http://${req.url}`); - const serverSocket = net.connect(parseInt(serverUrl.port, 10), serverUrl.hostname, () => { - clientSocket.write( - "HTTP/1.1 200 Connection Established\r\n" + "Proxy-agent: Node.js-Proxy\r\n" + "\r\n" - ); - serverSocket.write(head); - serverSocket.pipe(clientSocket); - clientSocket.pipe(serverSocket); - }); - }); +// proxy.on("connect", (req, clientSocket, head) => { +// const serverUrl = new URL(`http://${req.url}`); +// const serverSocket = net.connect(parseInt(serverUrl.port, 10), serverUrl.hostname, () => { +// clientSocket.write( +// "HTTP/1.1 200 Connection Established\r\n" + "Proxy-agent: Node.js-Proxy\r\n" + "\r\n" +// ); +// serverSocket.write(head); +// serverSocket.pipe(clientSocket); +// clientSocket.pipe(serverSocket); +// }); +// }); - const proxyPort = 8989; - const agent = new ProxyAgent(`http://127.0.0.1:${8989}`) as any; +// const proxyPort = 8989; +// const agent = new ProxyAgent(`http://127.0.0.1:${8989}`) as any; - it("nativeApi Client Should successfully execute request", async function() { - return new Promise((resolve) => { - proxy.listen(proxyPort, "127.0.0.1", async () => { - try { - const client = new CosmosClient({ - endpoint, - key: masterKey, - agent - }); - // create database - await client.databases.create({ - id: addEntropy("ProxyTest") - }); - resolve(); - } finally { - proxy.close(); - } - }); - }); - }); +// it("nativeApi Client Should successfully execute request", async function() { +// return new Promise((resolve) => { +// proxy.listen(proxyPort, "127.0.0.1", async () => { +// try { +// const client = new CosmosClient({ +// endpoint, +// key: masterKey, +// agent, +// connectionPolicy: { enableBackgroundEndpointRefreshing: false } +// }); +// // create database +// await client.databases.create({ +// id: addEntropy("ProxyTest") +// }); +// resolve(); +// } finally { +// proxy.close(); +// } +// }); +// }); +// }); - it("nativeApi Client Should execute request in error while the proxy setting is not correct", async function(this: Context) { - this.timeout(process.env.MOCHA_TIMEOUT || 30000); - return new Promise((resolve, reject) => { - proxy.listen(proxyPort + 1, "127.0.0.1", async () => { - try { - const client = new CosmosClient({ - endpoint, - key: masterKey, - agent - }); - // create database - await client.databases.create({ - id: addEntropy("ProxyTest") - }); - reject( - new Error("Should create database in error while the proxy setting is not correct") - ); - } catch (err) { - resolve(); - } finally { - proxy.close(); - } - }); - }); - }); - }); -} +// it("nativeApi Client Should execute request in error while the proxy setting is not correct", async function(this: Context) { +// this.timeout(process.env.MOCHA_TIMEOUT || 30000); +// return new Promise((resolve, reject) => { +// proxy.listen(proxyPort + 1, "127.0.0.1", async () => { +// try { +// const client = new CosmosClient({ +// endpoint, +// key: masterKey, +// agent, +// connectionPolicy: { enableBackgroundEndpointRefreshing: false } +// }); +// // create database +// await client.databases.create({ +// id: addEntropy("ProxyTest") +// }); +// reject( +// new Error("Should create database in error while the proxy setting is not correct") +// ); +// } catch (err) { +// resolve(); +// } finally { +// proxy.close(); +// } +// }); +// }); +// }); +// }); +// } diff --git a/sdk/cosmosdb/cosmos/test/public/integration/split.spec.ts b/sdk/cosmosdb/cosmos/test/public/integration/split.spec.ts index 1b918df4ad80..e001e3ff3159 100644 --- a/sdk/cosmosdb/cosmos/test/public/integration/split.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/integration/split.spec.ts @@ -70,7 +70,8 @@ describe("Partition Splits", () => { ]; const client = new CosmosClient({ ...options, - plugins + plugins, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } } as any); const { resources } = await client .database(container.database.id) @@ -104,7 +105,8 @@ describe("Partition Splits", () => { ]; const client = new CosmosClient({ ...options, - plugins + plugins, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } } as any); // fetchAll() diff --git a/sdk/cosmosdb/cosmos/test/public/integration/sslVerification.spec.ts b/sdk/cosmosdb/cosmos/test/public/integration/sslVerification.spec.ts index 4bef2fa523a4..d761d9339767 100644 --- a/sdk/cosmosdb/cosmos/test/public/integration/sslVerification.spec.ts +++ b/sdk/cosmosdb/cosmos/test/public/integration/sslVerification.spec.ts @@ -12,7 +12,11 @@ const masterKey = describe("Validate SSL verification check for emulator #nosignoff", function() { it("should throw exception", async function() { try { - const client = new CosmosClient({ endpoint, key: masterKey }); + const client = new CosmosClient({ + endpoint, + key: masterKey, + connectionPolicy: { enableBackgroundEndpointRefreshing: false } + }); // create database await getTestDatabase("ssl verification", client); } catch (err) { @@ -27,7 +31,8 @@ describe("Validate SSL verification check for emulator #nosignoff", function() { key: masterKey, agent: new https.Agent({ rejectUnauthorized: false - }) + }), + connectionPolicy: { enableBackgroundEndpointRefreshing: false } }); // create database From 00ea0672389d29f720aeab291fe039d892a1e957 Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Mon, 28 Jun 2021 13:11:52 -0400 Subject: [PATCH 071/134] Support track2 management packages (#15975) * Support track2 management packages --- eng/tools/rush-runner.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eng/tools/rush-runner.js b/eng/tools/rush-runner.js index 68ed7f89cfc3..3710e620592a 100644 --- a/eng/tools/rush-runner.js +++ b/eng/tools/rush-runner.js @@ -54,7 +54,6 @@ const getPackageJsons = (searchDir) => { // This gets all the directories with package.json at the `sdk//` level excluding "arm-" packages const sdkDirectories = fs .readdirSync(searchDir) - .filter((f) => !f.startsWith("arm-")) // exclude libraries starting with "arm-" .map((f) => path.join(searchDir, f, "package.json")); // turn potential directory names into package.json paths // This gets all the directories with package.json at the `sdk///perf-tests` level excluding "-track-1" perf test packages @@ -78,7 +77,7 @@ const getServicePackages = (baseDir, serviceDirs) => { const packageJsons = getPackageJsons(searchDir); for (const filePath of packageJsons) { const contents = JSON.parse(fs.readFileSync(filePath, "utf8")); - if (contents["sdk-type"] === "client") { + if (contents["sdk-type"] === "client" || contents["sdk-type"] === "mgmt") { packageNames.push(contents.name); packageDirs.push(path.dirname(filePath)); } From facf5c1ce564921eadbbd243aace0f736d82d2e1 Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Mon, 28 Jun 2021 10:24:19 -0700 Subject: [PATCH 072/134] Fix lint script for app config perf test (#16046) Perf test packages should not be using the eslint plugin Fixes the below error ``` ESLint couldn't find the plugin "@azure/eslint-plugin-azure-sdk". (The package "@azure/eslint-plugin-azure-sdk" was not found when loaded as a Node module from the directory "/home/vsts/work/1/s/sdk".) It's likely that the plugin isn't installed correctly. Try reinstalling by running the following: npm install @azure/eslint-plugin-azure-sdk@latest --save-dev The plugin "@azure/eslint-plugin-azure-sdk" was referenced from the config file in "../../../.eslintrc.json". ``` --- .../perf-tests/app-configuration/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/appconfiguration/perf-tests/app-configuration/package.json b/sdk/appconfiguration/perf-tests/app-configuration/package.json index ad44b1c7f811..82d4ed432be0 100644 --- a/sdk/appconfiguration/perf-tests/app-configuration/package.json +++ b/sdk/appconfiguration/perf-tests/app-configuration/package.json @@ -36,8 +36,8 @@ "integration-test:browser": "echo skipped", "integration-test:node": "echo skipped", "integration-test": "echo skipped", - "lint:fix": "eslint package.json src test --ext .ts --fix --fix-type [problem,suggestion]", - "lint": "eslint package.json src test --ext .ts -f html -o app-config-perf-test-lintReport.html || exit 0", + "lint:fix": "eslint --no-eslintrc -c ../../../.eslintrc.internal.json package.json test --ext .ts --fix --fix-type [problem,suggestion]", + "lint": "eslint --no-eslintrc -c ../../../.eslintrc.internal.json package.json test --ext .ts", "pack": "npm pack 2>&1", "prebuild": "npm run clean", "unit-test:browser": "echo skipped", From 37d3ed9e8ee60909b16c543d4acba427e8012a4a Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Mon, 28 Jun 2021 12:02:15 -0700 Subject: [PATCH 073/134] [core-rest] - Update core-client-paging-rest to use the latest core-rest-pipeline (#16045) This PR updates the newly added `@azure-rest/core-client-paging` package to use the same version of `@azure/core-rest-pipeline` that the other packages use. We recently GA'd (on main, not released yet) version 1.1.0 of `@azure/core-rest-pipeline` and want to keep everyone on the latest version. --- sdk/core/core-client-paging-rest/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/core/core-client-paging-rest/package.json b/sdk/core/core-client-paging-rest/package.json index 280db0713bc3..fcbfdf4bad2e 100644 --- a/sdk/core/core-client-paging-rest/package.json +++ b/sdk/core/core-client-paging-rest/package.json @@ -62,7 +62,7 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", "dependencies": { "@azure/core-paging": "^1.1.1", - "@azure/core-rest-pipeline": "^1.0.3", + "@azure/core-rest-pipeline": "^1.1.0", "@azure-rest/core-client": "1.0.0-beta.5", "tslib": "^2.2.0" }, From 13772c290e51dd533030ad6d988fe49d4a1024af Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Mon, 28 Jun 2021 12:21:08 -0700 Subject: [PATCH 074/134] Fix linter errors in app config perf tests (#16048) Follow up for #16046 to fix the resulting linter errors --- .../test/listSettings.spec.ts | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/sdk/appconfiguration/perf-tests/app-configuration/test/listSettings.spec.ts b/sdk/appconfiguration/perf-tests/app-configuration/test/listSettings.spec.ts index 5f7910d81d4a..f2d60d6e86ac 100644 --- a/sdk/appconfiguration/perf-tests/app-configuration/test/listSettings.spec.ts +++ b/sdk/appconfiguration/perf-tests/app-configuration/test/listSettings.spec.ts @@ -23,15 +23,18 @@ export class ListSettingsTest extends AppConfigTest { } }; - public async globalSetup() { + public async globalSetup(): Promise { + if (!this.parsedOptions.count.value) { + return; + } await executeParallel( - async (_count: number, _index: number) => { + async () => { await this.client.addConfigurationSetting({ key: ListSettingsTest.prefix + generateUuid(), value: "random" }); }, - this.parsedOptions.count.value!, + this.parsedOptions.count.value, 32 ); } @@ -40,12 +43,13 @@ export class ListSettingsTest extends AppConfigTest { for await (const response of this.client .listConfigurationSettings({ keyFilter: ListSettingsTest.prefix + "*" }) .byPage()) { + // eslint-disable-next-line no-empty for (const _ of response.items) { } } } - public async globalCleanup() { + public async globalCleanup(): Promise { const keys: string[] = []; for await (const response of this.client .listConfigurationSettings({ keyFilter: ListSettingsTest.prefix + "*" }) @@ -54,11 +58,14 @@ export class ListSettingsTest extends AppConfigTest { keys.push(setting.key); } } + if (!this.parsedOptions.count.value) { + return; + } await executeParallel( - async (count: number, _: number) => { + async (count: number) => { await this.client.deleteConfigurationSetting({ key: keys[count] }); }, - this.parsedOptions.count.value!, + this.parsedOptions.count.value, 32 ); } From 21f28dcfdb87737fa6a611d6a55980dca8017b42 Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Mon, 28 Jun 2021 13:02:34 -0700 Subject: [PATCH 075/134] [web-pubsub] Migrate `@azure/web-pubsub` to new core pipeline (#16010) Update to latest core packages and improve pipeline robustness. --- dataplane.code-workspace | 6 + .../core-rest-pipeline/src/nodeHttpClient.ts | 13 +- .../src/policies/decompressResponsePolicy.ts | 5 +- .../web-pubsub-express/CHANGELOG.md | 4 + .../web-pubsub-express/package.json | 8 +- sdk/web-pubsub/web-pubsub/CHANGELOG.md | 5 + sdk/web-pubsub/web-pubsub/README.md | 12 + sdk/web-pubsub/web-pubsub/package.json | 7 +- .../web-pubsub/review/web-pubsub.api.md | 54 ++- .../web-pubsub/samples-dev/broadcasting.ts | 5 +- .../web-pubsub/samples-dev/directMessage.ts | 5 +- .../web-pubsub/samples-dev/managingGroups.ts | 6 +- .../samples/v1/javascript/README.md | 11 +- .../samples/v1/javascript/broadcasting.js | 5 +- .../samples/v1/javascript/directMessage.js | 5 +- .../samples/v1/javascript/managingGroups.js | 6 +- .../samples/v1/javascript/package.json | 2 +- .../samples/v1/typescript/README.md | 13 +- .../samples/v1/typescript/package.json | 2 +- .../samples/v1/typescript/src/broadcasting.ts | 5 +- .../v1/typescript/src/directMessage.ts | 5 +- .../v1/typescript/src/managingGroups.ts | 6 +- .../samples/v1/typescript/tsconfig.json | 4 +- .../generated/azureWebPubSubServiceRestAPI.ts | 22 - .../azureWebPubSubServiceRestAPIContext.ts | 49 --- .../src/generated/generatedClient.ts | 29 ++ .../src/generated/generatedClientContext.ts | 56 +++ .../web-pubsub/src/generated/index.ts | 13 +- .../web-pubsub/src/generated/models/index.ts | 128 +++--- .../src/generated/models/parameters.ts | 52 ++- .../src/generated/operations/healthApi.ts | 39 +- .../src/generated/operations/index.ts | 8 + .../src/generated/operations/webPubSub.ts | 406 +++++++----------- .../operationsInterfaces/healthApi.ts | 20 + .../generated/operationsInterfaces/index.ts | 10 + .../operationsInterfaces/webPubSub.ts | 272 ++++++++++++ sdk/web-pubsub/web-pubsub/src/groupClient.ts | 157 ++----- sdk/web-pubsub/web-pubsub/src/hubClient.ts | 217 +++++----- sdk/web-pubsub/web-pubsub/src/utils.ts | 34 +- .../src/webPubSubCredentialPolicy.ts | 63 ++- sdk/web-pubsub/web-pubsub/swagger/README.md | 28 ++ sdk/web-pubsub/web-pubsub/test/conn.spec.ts | 2 +- sdk/web-pubsub/web-pubsub/test/groups.spec.ts | 47 +- sdk/web-pubsub/web-pubsub/test/hubs.spec.ts | 72 ++-- 44 files changed, 1124 insertions(+), 794 deletions(-) delete mode 100644 sdk/web-pubsub/web-pubsub/src/generated/azureWebPubSubServiceRestAPI.ts delete mode 100644 sdk/web-pubsub/web-pubsub/src/generated/azureWebPubSubServiceRestAPIContext.ts create mode 100644 sdk/web-pubsub/web-pubsub/src/generated/generatedClient.ts create mode 100644 sdk/web-pubsub/web-pubsub/src/generated/generatedClientContext.ts create mode 100644 sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/healthApi.ts create mode 100644 sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/index.ts create mode 100644 sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/webPubSub.ts create mode 100644 sdk/web-pubsub/web-pubsub/swagger/README.md diff --git a/dataplane.code-workspace b/dataplane.code-workspace index 8ffbd11b10f8..c4631d5b7e7b 100644 --- a/dataplane.code-workspace +++ b/dataplane.code-workspace @@ -271,6 +271,12 @@ { "name": "iot-device-update", "path": "sdk/deviceupdate/iot-device-update" + }, + { + "path": "sdk/web-pubsub/web-pubsub" + }, + { + "path": "sdk/web-pubsub/web-pubsub-express" } ], "settings": { diff --git a/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts b/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts index 4dafde592688..a99dc5fe9e35 100644 --- a/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts +++ b/sdk/core/core-rest-pipeline/src/nodeHttpClient.ts @@ -129,6 +129,13 @@ class NodeHttpClient implements HttpClient { request }; + // Responses to HEAD must not have a body. + // If they do return a body, that body must be ignored. + if (request.method === "HEAD") { + resolve(response); + return; + } + responseStream = shouldDecompress ? getDecodedResponseStream(res, headers) : res; const onDownloadProgress = request.onDownloadProgress; @@ -142,7 +149,11 @@ class NodeHttpClient implements HttpClient { if (request.streamResponseStatusCodes?.has(response.status)) { response.readableStreamBody = responseStream; } else { - response.bodyAsText = await streamToText(responseStream); + try { + response.bodyAsText = await streamToText(responseStream); + } catch (e) { + reject(e); + } } resolve(response); diff --git a/sdk/core/core-rest-pipeline/src/policies/decompressResponsePolicy.ts b/sdk/core/core-rest-pipeline/src/policies/decompressResponsePolicy.ts index df1362ae56f4..1e0e2cfdfca8 100644 --- a/sdk/core/core-rest-pipeline/src/policies/decompressResponsePolicy.ts +++ b/sdk/core/core-rest-pipeline/src/policies/decompressResponsePolicy.ts @@ -17,7 +17,10 @@ export function decompressResponsePolicy(): PipelinePolicy { return { name: decompressResponsePolicyName, async sendRequest(request: PipelineRequest, next: SendRequest): Promise { - request.headers.set("Accept-Encoding", "gzip,deflate"); + // HEAD requests have no body + if (request.method !== "HEAD") { + request.headers.set("Accept-Encoding", "gzip,deflate"); + } return next(request); } }; diff --git a/sdk/web-pubsub/web-pubsub-express/CHANGELOG.md b/sdk/web-pubsub/web-pubsub-express/CHANGELOG.md index 846478ea6578..c51977452d12 100644 --- a/sdk/web-pubsub/web-pubsub-express/CHANGELOG.md +++ b/sdk/web-pubsub/web-pubsub-express/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 1.0.0-beta.2 (UNRELEASED) + +- Removed unnecessary dependencies. + ## 1.0.0-beta.1 (2021-04-23) This is the first release of the @azure/web-pubsub-express package. diff --git a/sdk/web-pubsub/web-pubsub-express/package.json b/sdk/web-pubsub/web-pubsub-express/package.json index 094056cc13cb..99360680a689 100644 --- a/sdk/web-pubsub/web-pubsub-express/package.json +++ b/sdk/web-pubsub/web-pubsub-express/package.json @@ -1,6 +1,6 @@ { "name": "@azure/web-pubsub-express", - "version": "1.0.0-beta.1", + "version": "1.0.0-beta.2", "description": "Azure Web PubSub CloudEvents handlers", "sdk-type": "client", "main": "dist/index.js", @@ -57,18 +57,12 @@ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search/", "sideEffects": false, "dependencies": { - "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^2.0.0", - "@azure/core-tracing": "1.0.0-preview.12", - "@azure/logger": "^1.0.0", "tslib": "^2.2.0", - "jsonwebtoken": "^8.5.1", "cloudevents": "^4.0.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "^1.1.0", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/web-pubsub/web-pubsub/CHANGELOG.md b/sdk/web-pubsub/web-pubsub/CHANGELOG.md index b1857bb3fb2b..abeefa1f3536 100644 --- a/sdk/web-pubsub/web-pubsub/CHANGELOG.md +++ b/sdk/web-pubsub/web-pubsub/CHANGELOG.md @@ -2,8 +2,13 @@ ## 1.0.0-beta.3 (Unreleased) +### Breaking Changes + +- `hasUser` has been removed from `GroupClient` as that operation is no longer supported by the service. +- Updated to have void returns for most operations. If you were previously using `RestResponse`, you can instead use the `onResponse` callback in the operation options. See README for an example. ## 1.0.0-beta.2 (2021-05-19) + Remove "url" dependency ## 1.0.0-beta.1 (2021-04-23) diff --git a/sdk/web-pubsub/web-pubsub/README.md b/sdk/web-pubsub/web-pubsub/README.md index 4777f9e2ce21..d9f4dc9e44e0 100644 --- a/sdk/web-pubsub/web-pubsub/README.md +++ b/sdk/web-pubsub/web-pubsub/README.md @@ -118,6 +118,18 @@ const payload = new Uint8Array(10); await serviceClient.sendToAll(payload.buffer); ``` +### Access the raw HTTP response for an operation + +```js +const { WebPubSubServiceClient } = require("@azure/web-pubsub"); + +function onResponse(rawResponse: FullOperationResponse): void { + console.log(rawResponse); +} +const serviceClient = new WebPubSubServiceClient("", ""); +await serviceClient.sendToAll({ message: "Hello world!" }, { onResponse }); +``` + ## Troubleshooting ### Enable logs diff --git a/sdk/web-pubsub/web-pubsub/package.json b/sdk/web-pubsub/web-pubsub/package.json index 43b2e553d4f9..cd574cd137b2 100644 --- a/sdk/web-pubsub/web-pubsub/package.json +++ b/sdk/web-pubsub/web-pubsub/package.json @@ -29,7 +29,7 @@ "test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node", "test": "npm run build:test && npm run unit-test && npm run integration-test", "unit-test:browser": "echo \"Browser is not supported.\" && exit 0", - "unit-test:node": "mocha --reporter ../../../common/tools/mocha-multi-reporter.js dist-test/index.node.js", + "unit-test:node": "mocha --exit --reporter ../../../common/tools/mocha-multi-reporter.js dist-test/index.node.js", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" }, @@ -61,7 +61,8 @@ "sideEffects": false, "dependencies": { "@azure/core-auth": "^1.3.0", - "@azure/core-http": "^2.0.0", + "@azure/core-client": "^1.0.0", + "@azure/core-rest-pipeline": "^1.1.0", "@azure/core-tracing": "1.0.0-preview.12", "@azure/logger": "^1.0.0", "tslib": "^2.2.0", @@ -78,12 +79,12 @@ "@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-replace": "^2.2.0", + "@types/chai": "^4.1.6", "@types/jsonwebtoken": "~8.5.0", "@types/mocha": "^7.0.2", "@types/node": "^8.0.0", "@types/query-string": "6.2.0", "@types/sinon": "^9.0.4", - "assert": "^1.4.1", "chai": "^4.2.0", "cross-env": "^7.0.2", "dotenv": "^8.2.0", diff --git a/sdk/web-pubsub/web-pubsub/review/web-pubsub.api.md b/sdk/web-pubsub/web-pubsub/review/web-pubsub.api.md index e3f62209e86f..0e09a22288b4 100644 --- a/sdk/web-pubsub/web-pubsub/review/web-pubsub.api.md +++ b/sdk/web-pubsub/web-pubsub/review/web-pubsub.api.md @@ -5,10 +5,9 @@ ```ts import { AzureKeyCredential } from '@azure/core-auth'; -import { HttpRequestBody } from '@azure/core-http'; -import { OperationOptions } from '@azure/core-http'; -import { PipelineOptions } from '@azure/core-http'; -import { RestResponse } from '@azure/core-http'; +import { CommonClientOptions } from '@azure/core-client'; +import { OperationOptions } from '@azure/core-client'; +import { RequestBodyType } from '@azure/core-rest-pipeline'; export { AzureKeyCredential } @@ -40,7 +39,7 @@ export interface GroupAddUserOptions extends OperationOptions { } // @public -export interface GroupAdminClientOptions extends PipelineOptions { +export interface GroupAdminClientOptions extends CommonClientOptions { } // @public @@ -72,7 +71,7 @@ export interface HasConnectionOptions extends OperationOptions { } // @public -export interface HubAdminClientOptions extends PipelineOptions { +export interface HubAdminClientOptions extends CommonClientOptions { } // @public @@ -141,18 +140,17 @@ export type Permission = "joinLeaveGroup" | "sendToGroup"; // @public (undocumented) export interface WebPubSubGroup { - addConnection(connectionId: string, options?: GroupAddConnectionOptions): Promise; - addUser(username: string, options?: GroupAddUserOptions): Promise; + addConnection(connectionId: string, options?: GroupAddConnectionOptions): Promise; + addUser(username: string, options?: GroupAddUserOptions): Promise; readonly apiVersion: string; readonly endpoint: string; readonly groupName: string; - hasUser(username: string, options?: GroupHasUserOptions): Promise; readonly hubName: string; - removeConnection(connectionId: string, options?: GroupRemoveConnectionOptions): Promise; - removeUser(username: string, options?: GroupRemoveUserOptions): Promise; - sendToAll(message: string, options: GroupSendTextToAllOptions): Promise; - sendToAll(message: JSONTypes, options?: GroupSendToAllOptions): Promise; - sendToAll(message: HttpRequestBody, options?: GroupSendToAllOptions): Promise; + removeConnection(connectionId: string, options?: GroupRemoveConnectionOptions): Promise; + removeUser(username: string, options?: GroupRemoveUserOptions): Promise; + sendToAll(message: string, options: GroupSendTextToAllOptions): Promise; + sendToAll(message: JSONTypes, options?: GroupSendToAllOptions): Promise; + sendToAll(message: RequestBodyType, options?: GroupSendToAllOptions): Promise; } // @public @@ -160,27 +158,27 @@ export class WebPubSubServiceClient { constructor(connectionString: string, hubName: string, options?: HubAdminClientOptions); constructor(endpoint: string, credential: AzureKeyCredential, hubName: string, options?: HubAdminClientOptions); readonly apiVersion: string; - closeConnection(connectionId: string, options?: CloseConnectionOptions): Promise; + closeConnection(connectionId: string, options?: CloseConnectionOptions): Promise; endpoint: string; getAuthenticationToken(options?: GetAuthenticationTokenOptions): Promise; - grantPermission(connectionId: string, permission: Permission, options?: HubGrantPermissionOptions): Promise; + grantPermission(connectionId: string, permission: Permission, options?: HubGrantPermissionOptions): Promise; group(groupName: string): WebPubSubGroup; hasConnection(connectionId: string, options?: HasConnectionOptions): Promise; hasGroup(groupName: string, options?: HubHasGroupOptions): Promise; - hasPermission(connectionId: string, permission: Permission, options?: HubHasPermissionOptions): Promise; + hasPermission(connectionId: string, permission: Permission, options?: HubHasPermissionOptions): Promise; hasUser(username: string, options?: HubHasUserOptions): Promise; readonly hubName: string; - removeUserFromAllGroups(userId: string, options?: CloseConnectionOptions): Promise; - revokePermission(connectionId: string, permission: Permission, options?: HubRevokePermissionOptions): Promise; - sendToAll(message: string, options: HubSendTextToAllOptions): Promise; - sendToAll(message: JSONTypes, options?: HubSendToAllOptions): Promise; - sendToAll(message: HttpRequestBody, options?: HubSendToAllOptions): Promise; - sendToConnection(connectionId: string, message: string, options: HubSendTextToConnectionOptions): Promise; - sendToConnection(connectionId: string, message: JSONTypes, options?: HubSendToConnectionOptions): Promise; - sendToConnection(connectionId: string, message: HttpRequestBody | JSONTypes, options?: HubSendToConnectionOptions | HubSendTextToConnectionOptions): Promise; - sendToUser(username: string, message: string, options: HubSendTextToUserOptions): Promise; - sendToUser(username: string, message: JSONTypes, options?: HubSendToUserOptions): Promise; - sendToUser(username: string, message: HttpRequestBody, options?: HubSendToUserOptions | HubSendTextToUserOptions): Promise; + removeUserFromAllGroups(userId: string, options?: CloseConnectionOptions): Promise; + revokePermission(connectionId: string, permission: Permission, options?: HubRevokePermissionOptions): Promise; + sendToAll(message: string, options: HubSendTextToAllOptions): Promise; + sendToAll(message: JSONTypes, options?: HubSendToAllOptions): Promise; + sendToAll(message: RequestBodyType, options?: HubSendToAllOptions): Promise; + sendToConnection(connectionId: string, message: string, options: HubSendTextToConnectionOptions): Promise; + sendToConnection(connectionId: string, message: JSONTypes, options?: HubSendToConnectionOptions): Promise; + sendToConnection(connectionId: string, message: RequestBodyType, options?: HubSendToConnectionOptions | HubSendTextToConnectionOptions): Promise; + sendToUser(username: string, message: string, options: HubSendTextToUserOptions): Promise; + sendToUser(username: string, message: JSONTypes, options?: HubSendToUserOptions): Promise; + sendToUser(username: string, message: RequestBodyType, options?: HubSendToUserOptions | HubSendTextToUserOptions): Promise; } diff --git a/sdk/web-pubsub/web-pubsub/samples-dev/broadcasting.ts b/sdk/web-pubsub/web-pubsub/samples-dev/broadcasting.ts index 264d515a668d..16cf7e219330 100644 --- a/sdk/web-pubsub/web-pubsub/samples-dev/broadcasting.ts +++ b/sdk/web-pubsub/web-pubsub/samples-dev/broadcasting.ts @@ -28,4 +28,7 @@ async function main() { chatHub.sendToAll(data.buffer); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples-dev/directMessage.ts b/sdk/web-pubsub/web-pubsub/samples-dev/directMessage.ts index 5c95c679ec8f..69287999bd72 100644 --- a/sdk/web-pubsub/web-pubsub/samples-dev/directMessage.ts +++ b/sdk/web-pubsub/web-pubsub/samples-dev/directMessage.ts @@ -20,4 +20,7 @@ async function main() { await chatHub.sendToUser("Tn3XcrAbHI0OE36XvbWwige4ac096c1", "Hi there!"); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples-dev/managingGroups.ts b/sdk/web-pubsub/web-pubsub/samples-dev/managingGroups.ts index 3cbce6279765..c94b31f37409 100644 --- a/sdk/web-pubsub/web-pubsub/samples-dev/managingGroups.ts +++ b/sdk/web-pubsub/web-pubsub/samples-dev/managingGroups.ts @@ -16,7 +16,6 @@ const adminGroup = chatHub.group("admin"); async function main() { // adding and removing users await adminGroup.addUser("bterlson"); - await adminGroup.hasUser("bterlson"); // true await adminGroup.removeUser("xirzec"); // adding and removing specific connections @@ -24,4 +23,7 @@ async function main() { await adminGroup.removeConnection("Tn3XcrAbHI0OE36XvbWwige4ac096c1"); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/README.md b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/README.md index 538651801e3a..84c6cdb979d0 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/README.md +++ b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/README.md @@ -51,8 +51,13 @@ Alternatively, run a single sample with the correct environment variables set (s npx cross-env WPS_CONNECTION_STRING="" node broadcasting.js ``` -[broadcasting]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/javascript/broadcasting.js -[directmessage]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/javascript/directMessage.js -[managinggroups]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/javascript/managingGroups.js +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[broadcasting]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/javascript/broadcasting.js +[directmessage]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/javascript/directMessage.js +[managinggroups]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/javascript/managingGroups.js +[apiref]: https://docs.microsoft.com/javascript/api/@azure/web-pubsub [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub/README.md diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/broadcasting.js b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/broadcasting.js index 60b05f59db64..ca018d17667a 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/broadcasting.js +++ b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/broadcasting.js @@ -28,4 +28,7 @@ async function main() { chatHub.sendToAll(data.buffer); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/directMessage.js b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/directMessage.js index 748f5b650292..705d516c7e14 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/directMessage.js +++ b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/directMessage.js @@ -20,4 +20,7 @@ async function main() { await chatHub.sendToUser("Tn3XcrAbHI0OE36XvbWwige4ac096c1", "Hi there!"); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/managingGroups.js b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/managingGroups.js index 1da4eacc4956..8b3b42e9a796 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/managingGroups.js +++ b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/managingGroups.js @@ -16,7 +16,6 @@ const adminGroup = chatHub.group("admin"); async function main() { // adding and removing users await adminGroup.addUser("bterlson"); - await adminGroup.hasUser("bterlson"); // true await adminGroup.removeUser("xirzec"); // adding and removing specific connections @@ -24,4 +23,7 @@ async function main() { await adminGroup.removeConnection("Tn3XcrAbHI0OE36XvbWwige4ac096c1"); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json index 27c8fa3ed048..ec25a6cabaec 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json +++ b/sdk/web-pubsub/web-pubsub/samples/v1/javascript/package.json @@ -3,7 +3,7 @@ "private": true, "version": "1.0.0", "description": "Azure Web PubSub client library samples for JavaScript", - "engine": { + "engines": { "node": ">=12.0.0" }, "repository": { diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/README.md b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/README.md index 316aa3b738bf..36f44ac39c40 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/README.md +++ b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/README.md @@ -54,7 +54,7 @@ npm run build 4. Run whichever samples you like (note that some samples may require additional setup, see the table above): ```bash -node dist/broadcasting.ts +node dist/broadcasting.js ``` Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): @@ -63,9 +63,14 @@ Alternatively, run a single sample with the correct environment variables set (s npx cross-env WPS_CONNECTION_STRING="" node dist/broadcasting.js ``` -[broadcasting]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/broadcasting.ts -[directmessage]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/directMessage.ts -[managinggroups]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/managingGroups.ts +## Next Steps + +Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. + +[broadcasting]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/broadcasting.ts +[directmessage]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/directMessage.ts +[managinggroups]: https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/managingGroups.ts +[apiref]: https://docs.microsoft.com/javascript/api/@azure/web-pubsub [freesub]: https://azure.microsoft.com/free/ [package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub/README.md [typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json index 27324ebbf8ff..fbc610cdf817 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json +++ b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/package.json @@ -3,7 +3,7 @@ "private": true, "version": "1.0.0", "description": "Azure Web PubSub client library samples for TypeScript", - "engine": { + "engines": { "node": ">=12.0.0" }, "scripts": { diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/broadcasting.ts b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/broadcasting.ts index 264d515a668d..16cf7e219330 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/broadcasting.ts +++ b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/broadcasting.ts @@ -28,4 +28,7 @@ async function main() { chatHub.sendToAll(data.buffer); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/directMessage.ts b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/directMessage.ts index 5c95c679ec8f..69287999bd72 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/directMessage.ts +++ b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/directMessage.ts @@ -20,4 +20,7 @@ async function main() { await chatHub.sendToUser("Tn3XcrAbHI0OE36XvbWwige4ac096c1", "Hi there!"); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/managingGroups.ts b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/managingGroups.ts index 3cbce6279765..c94b31f37409 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/managingGroups.ts +++ b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/src/managingGroups.ts @@ -16,7 +16,6 @@ const adminGroup = chatHub.group("admin"); async function main() { // adding and removing users await adminGroup.addUser("bterlson"); - await adminGroup.hasUser("bterlson"); // true await adminGroup.removeUser("xirzec"); // adding and removing specific connections @@ -24,4 +23,7 @@ async function main() { await adminGroup.removeConnection("Tn3XcrAbHI0OE36XvbWwige4ac096c1"); } -main(); +main().catch((e) => { + console.error("Sample encountered an error", e); + process.exit(1); +}); diff --git a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/tsconfig.json b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/tsconfig.json index 71d1d0fb1f54..416c2dd82e00 100644 --- a/sdk/web-pubsub/web-pubsub/samples/v1/typescript/tsconfig.json +++ b/sdk/web-pubsub/web-pubsub/samples/v1/typescript/tsconfig.json @@ -11,5 +11,7 @@ "outDir": "dist", "rootDir": "src" }, - "include": ["src/**.ts"] + "include": [ + "src/**.ts" + ] } diff --git a/sdk/web-pubsub/web-pubsub/src/generated/azureWebPubSubServiceRestAPI.ts b/sdk/web-pubsub/web-pubsub/src/generated/azureWebPubSubServiceRestAPI.ts deleted file mode 100644 index 8120eed23c8b..000000000000 --- a/sdk/web-pubsub/web-pubsub/src/generated/azureWebPubSubServiceRestAPI.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { HealthApi, WebPubSub } from "./operations"; -import { AzureWebPubSubServiceRestAPIContext } from "./azureWebPubSubServiceRestAPIContext"; -import { AzureWebPubSubServiceRestAPIOptionalParams } from "./models"; - -export class AzureWebPubSubServiceRestAPI extends AzureWebPubSubServiceRestAPIContext { - /** - * Initializes a new instance of the AzureWebPubSubServiceRestAPI class. - * @param $host server parameter - * @param options The parameter options - */ - constructor( - $host: string, - options?: AzureWebPubSubServiceRestAPIOptionalParams - ) { - super($host, options); - this.healthApi = new HealthApi(this); - this.webPubSub = new WebPubSub(this); - } - - healthApi: HealthApi; - webPubSub: WebPubSub; -} diff --git a/sdk/web-pubsub/web-pubsub/src/generated/azureWebPubSubServiceRestAPIContext.ts b/sdk/web-pubsub/web-pubsub/src/generated/azureWebPubSubServiceRestAPIContext.ts deleted file mode 100644 index ebde7cb2b07a..000000000000 --- a/sdk/web-pubsub/web-pubsub/src/generated/azureWebPubSubServiceRestAPIContext.ts +++ /dev/null @@ -1,49 +0,0 @@ -import * as coreHttp from "@azure/core-http"; -import { AzureWebPubSubServiceRestAPIOptionalParams } from "./models"; - -const packageName = "WebPubSub"; -const packageVersion = "1.0.0"; - -/** - * @hidden - */ -export class AzureWebPubSubServiceRestAPIContext extends coreHttp.ServiceClient { - $host: string; - apiVersion?: string; - - /** - * Initializes a new instance of the AzureWebPubSubServiceRestAPIContext class. - * @param $host server parameter - * @param options The parameter options - */ - constructor( - $host: string, - options?: AzureWebPubSubServiceRestAPIOptionalParams - ) { - if ($host === undefined) { - throw new Error("'$host' cannot be null"); - } - - // Initializing default values for options - if (!options) { - options = {}; - } - - if (!options.userAgent) { - const defaultUserAgent = coreHttp.getDefaultUserAgentValue(); - options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; - } - - super(undefined, options); - - this.requestContentType = "application/json; charset=utf-8"; - - this.baseUri = options.endpoint || "{$host}"; - - // Parameter assignments - this.$host = $host; - - // Assigning values to Constant parameters - this.apiVersion = options.apiVersion || "2020-10-01"; - } -} diff --git a/sdk/web-pubsub/web-pubsub/src/generated/generatedClient.ts b/sdk/web-pubsub/web-pubsub/src/generated/generatedClient.ts new file mode 100644 index 000000000000..8d21514017e9 --- /dev/null +++ b/sdk/web-pubsub/web-pubsub/src/generated/generatedClient.ts @@ -0,0 +1,29 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { HealthApiImpl, WebPubSubImpl } from "./operations"; +import { HealthApi, WebPubSub } from "./operationsInterfaces"; +import { GeneratedClientContext } from "./generatedClientContext"; +import { GeneratedClientOptionalParams } from "./models"; + +/** @internal */ +export class GeneratedClient extends GeneratedClientContext { + /** + * Initializes a new instance of the GeneratedClient class. + * @param $host server parameter + * @param options The parameter options + */ + constructor($host: string, options?: GeneratedClientOptionalParams) { + super($host, options); + this.healthApi = new HealthApiImpl(this); + this.webPubSub = new WebPubSubImpl(this); + } + + healthApi: HealthApi; + webPubSub: WebPubSub; +} diff --git a/sdk/web-pubsub/web-pubsub/src/generated/generatedClientContext.ts b/sdk/web-pubsub/web-pubsub/src/generated/generatedClientContext.ts new file mode 100644 index 000000000000..1c45c0b3f2fe --- /dev/null +++ b/sdk/web-pubsub/web-pubsub/src/generated/generatedClientContext.ts @@ -0,0 +1,56 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreClient from "@azure/core-client"; +import { GeneratedClientOptionalParams } from "./models"; + +/** @internal */ +export class GeneratedClientContext extends coreClient.ServiceClient { + $host: string; + apiVersion?: string; + + /** + * Initializes a new instance of the GeneratedClientContext class. + * @param $host server parameter + * @param options The parameter options + */ + constructor($host: string, options?: GeneratedClientOptionalParams) { + if ($host === undefined) { + throw new Error("'$host' cannot be null"); + } + + // Initializing default values for options + if (!options) { + options = {}; + } + const defaults: GeneratedClientOptionalParams = { + requestContentType: "application/json; charset=utf-8" + }; + + const packageDetails = `azsdk-js-web-pubsub/1.0.0-beta.3`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; + + const optionsWithDefaults = { + ...defaults, + ...options, + userAgentOptions: { + userAgentPrefix + }, + baseUri: options.endpoint || "{$host}" + }; + super(optionsWithDefaults); + // Parameter assignments + this.$host = $host; + + // Assigning values to Constant parameters + this.apiVersion = options.apiVersion || "2021-05-01-preview"; + } +} diff --git a/sdk/web-pubsub/web-pubsub/src/generated/index.ts b/sdk/web-pubsub/web-pubsub/src/generated/index.ts index 819be2b64f38..707d58f011e8 100644 --- a/sdk/web-pubsub/web-pubsub/src/generated/index.ts +++ b/sdk/web-pubsub/web-pubsub/src/generated/index.ts @@ -1,3 +1,12 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + export * from "./models"; -export { AzureWebPubSubServiceRestAPI } from "./azureWebPubSubServiceRestAPI"; -export { AzureWebPubSubServiceRestAPIContext } from "./azureWebPubSubServiceRestAPIContext"; +export { GeneratedClient } from "./generatedClient"; +export { GeneratedClientContext } from "./generatedClientContext"; +export * from "./operationsInterfaces"; diff --git a/sdk/web-pubsub/web-pubsub/src/generated/models/index.ts b/sdk/web-pubsub/web-pubsub/src/generated/models/index.ts index 92f0d7591988..696bd106983c 100644 --- a/sdk/web-pubsub/web-pubsub/src/generated/models/index.ts +++ b/sdk/web-pubsub/web-pubsub/src/generated/models/index.ts @@ -1,114 +1,142 @@ -import * as coreHttp from "@azure/core-http"; - -/** Known values of {@link Enum0} that the service accepts. */ -export const enum KnownEnum0 { - SendToGroup = "sendToGroup", - JoinLeaveGroup = "joinLeaveGroup" -} - -/** - * Defines values for Enum0. \ - * {@link KnownEnum0} can be used interchangeably with Enum0, - * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **sendToGroup** \ - * **joinLeaveGroup** +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -export type Enum0 = string; - -/** Known values of {@link Enum1} that the service accepts. */ -export const enum KnownEnum1 { - SendToGroup = "sendToGroup", - JoinLeaveGroup = "joinLeaveGroup" -} -/** - * Defines values for Enum1. \ - * {@link KnownEnum1} can be used interchangeably with Enum1, - * this enum contains the known values that the service supports. - * ### Know values supported by the service - * **sendToGroup** \ - * **joinLeaveGroup** - */ -export type Enum1 = string; +import * as coreClient from "@azure/core-client"; -/** Known values of {@link Enum2} that the service accepts. */ -export const enum KnownEnum2 { +/** Known values of {@link WebPubSubPermission} that the service accepts. */ +export const enum KnownWebPubSubPermission { SendToGroup = "sendToGroup", JoinLeaveGroup = "joinLeaveGroup" } /** - * Defines values for Enum2. \ - * {@link KnownEnum2} can be used interchangeably with Enum2, + * Defines values for WebPubSubPermission. \ + * {@link KnownWebPubSubPermission} can be used interchangeably with WebPubSubPermission, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **sendToGroup** \ * **joinLeaveGroup** */ -export type Enum2 = string; +export type WebPubSubPermission = string; /** Defines values for ContentType. */ export type ContentType = "application/json" | "application/octet-stream"; +/** Optional parameters. */ +export interface HealthApiGetServiceStatusOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface WebPubSubSendToAll$binaryOptionalParams - extends coreHttp.OperationOptions { + extends coreClient.OperationOptions { /** Excluded connection Ids. */ excluded?: string[]; } /** Optional parameters. */ export interface WebPubSubSendToAll$textOptionalParams - extends coreHttp.OperationOptions { + extends coreClient.OperationOptions { /** Excluded connection Ids. */ excluded?: string[]; } +/** Optional parameters. */ +export interface WebPubSubConnectionExistsOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface WebPubSubCloseClientConnectionOptionalParams - extends coreHttp.OperationOptions { + extends coreClient.OperationOptions { /** The reason closing the client connection. */ reason?: string; } +/** Optional parameters. */ +export interface WebPubSubSendToConnection$binaryOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubSendToConnection$textOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubGroupExistsOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface WebPubSubSendToGroup$binaryOptionalParams - extends coreHttp.OperationOptions { + extends coreClient.OperationOptions { /** Excluded connection Ids */ excluded?: string[]; } /** Optional parameters. */ export interface WebPubSubSendToGroup$textOptionalParams - extends coreHttp.OperationOptions { + extends coreClient.OperationOptions { /** Excluded connection Ids */ excluded?: string[]; } +/** Optional parameters. */ +export interface WebPubSubAddConnectionToGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubRemoveConnectionFromGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubUserExistsOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubSendToUser$binaryOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubSendToUser$textOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubAddUserToGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubRemoveUserFromGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface WebPubSubRemoveUserFromAllGroupsOptionalParams + extends coreClient.OperationOptions {} + /** Optional parameters. */ export interface WebPubSubGrantPermissionOptionalParams - extends coreHttp.OperationOptions { - /** Optional. If not set, grant the permission to all the targets. If set, grant the permission to the specific target. The meaning of the target depends on the specific permission. */ + extends coreClient.OperationOptions { + /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */ targetName?: string; } /** Optional parameters. */ export interface WebPubSubRevokePermissionOptionalParams - extends coreHttp.OperationOptions { - /** Optional. If not set, revoke the permission for all targets. If set, revoke the permission for the specific target. The meaning of the target depends on the specific permission. */ + extends coreClient.OperationOptions { + /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */ targetName?: string; } /** Optional parameters. */ export interface WebPubSubCheckPermissionOptionalParams - extends coreHttp.OperationOptions { - /** Optional. If not set, get the permission for all targets. If set, get the permission for the specific target. The meaning of the target depends on the specific permission. */ + extends coreClient.OperationOptions { + /** The meaning of the target depends on the specific permission. For joinLeaveGroup and sendToGroup, targetName is a required parameter standing for the group name. */ targetName?: string; } /** Optional parameters. */ -export interface AzureWebPubSubServiceRestAPIOptionalParams - extends coreHttp.ServiceClientOptions { +export interface GeneratedClientOptionalParams + extends coreClient.ServiceClientOptions { /** Api Version */ apiVersion?: string; /** Overrides client endpoint. */ diff --git a/sdk/web-pubsub/web-pubsub/src/generated/models/parameters.ts b/sdk/web-pubsub/web-pubsub/src/generated/models/parameters.ts index f98d0f9f1ab2..be1ac001e190 100644 --- a/sdk/web-pubsub/web-pubsub/src/generated/models/parameters.ts +++ b/sdk/web-pubsub/web-pubsub/src/generated/models/parameters.ts @@ -1,9 +1,16 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + import { OperationURLParameter, OperationQueryParameter, - OperationParameter, - QueryCollectionFormat -} from "@azure/core-http"; + OperationParameter +} from "@azure/core-client"; export const $host: OperationURLParameter = { parameterPath: "$host", @@ -20,7 +27,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2020-10-01", + defaultValue: "2021-05-01-preview", isConstant: true, serializedName: "api-version", type: { @@ -78,6 +85,9 @@ export const message1: OperationParameter = { export const hub: OperationURLParameter = { parameterPath: "hub", mapper: { + constraints: { + Pattern: new RegExp("^[A-Za-z][A-Za-z0-9_`,.[\\]]{0,127}$") + }, serializedName: "hub", required: true, type: { @@ -99,12 +109,15 @@ export const excluded: OperationQueryParameter = { } } }, - collectionFormat: QueryCollectionFormat.Multi + collectionFormat: "Multi" }; export const connectionId: OperationURLParameter = { parameterPath: "connectionId", mapper: { + constraints: { + MinLength: 1 + }, serializedName: "connectionId", required: true, type: { @@ -126,6 +139,10 @@ export const reason: OperationQueryParameter = { export const group: OperationURLParameter = { parameterPath: "group", mapper: { + constraints: { + MaxLength: 1024, + MinLength: 1 + }, serializedName: "group", required: true, type: { @@ -137,6 +154,9 @@ export const group: OperationURLParameter = { export const userId: OperationURLParameter = { parameterPath: "userId", mapper: { + constraints: { + MinLength: 1 + }, serializedName: "userId", required: true, type: { @@ -165,25 +185,3 @@ export const targetName: OperationQueryParameter = { } } }; - -export const permission1: OperationURLParameter = { - parameterPath: "permission", - mapper: { - serializedName: "permission", - required: true, - type: { - name: "String" - } - } -}; - -export const permission2: OperationURLParameter = { - parameterPath: "permission", - mapper: { - serializedName: "permission", - required: true, - type: { - name: "String" - } - } -}; diff --git a/sdk/web-pubsub/web-pubsub/src/generated/operations/healthApi.ts b/sdk/web-pubsub/web-pubsub/src/generated/operations/healthApi.ts index d6f7330231e2..09557e899e9c 100644 --- a/sdk/web-pubsub/web-pubsub/src/generated/operations/healthApi.ts +++ b/sdk/web-pubsub/web-pubsub/src/generated/operations/healthApi.ts @@ -1,16 +1,26 @@ -import * as coreHttp from "@azure/core-http"; +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { HealthApi } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; import * as Parameters from "../models/parameters"; -import { AzureWebPubSubServiceRestAPIContext } from "../azureWebPubSubServiceRestAPIContext"; +import { GeneratedClientContext } from "../generatedClientContext"; +import { HealthApiGetServiceStatusOptionalParams } from "../models"; /** Class representing a HealthApi. */ -export class HealthApi { - private readonly client: AzureWebPubSubServiceRestAPIContext; +export class HealthApiImpl implements HealthApi { + private readonly client: GeneratedClientContext; /** * Initialize a new instance of the class HealthApi class. * @param client Reference to the service client */ - constructor(client: AzureWebPubSubServiceRestAPIContext) { + constructor(client: GeneratedClientContext) { this.client = client; } @@ -18,22 +28,19 @@ export class HealthApi { * Get service health status. * @param options The options parameters. */ - getHealthStatus( - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + getServiceStatus( + options?: HealthApiGetServiceStatusOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, - getHealthStatusOperationSpec - ) as Promise; + { options }, + getServiceStatusOperationSpec + ); } } // Operation Specifications -const serializer = new coreHttp.Serializer({}, /* isXml */ false); +const serializer = coreClient.createSerializer({}, /* isXml */ false); -const getHealthStatusOperationSpec: coreHttp.OperationSpec = { +const getServiceStatusOperationSpec: coreClient.OperationSpec = { path: "/api/health", httpMethod: "HEAD", responses: { 200: {}, default: {} }, diff --git a/sdk/web-pubsub/web-pubsub/src/generated/operations/index.ts b/sdk/web-pubsub/web-pubsub/src/generated/operations/index.ts index 5694ebd9630f..7c403f3e5b7f 100644 --- a/sdk/web-pubsub/web-pubsub/src/generated/operations/index.ts +++ b/sdk/web-pubsub/web-pubsub/src/generated/operations/index.ts @@ -1,2 +1,10 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + export * from "./healthApi"; export * from "./webPubSub"; diff --git a/sdk/web-pubsub/web-pubsub/src/generated/operations/webPubSub.ts b/sdk/web-pubsub/web-pubsub/src/generated/operations/webPubSub.ts index fa7965fd79bb..e2564b4a479e 100644 --- a/sdk/web-pubsub/web-pubsub/src/generated/operations/webPubSub.ts +++ b/sdk/web-pubsub/web-pubsub/src/generated/operations/webPubSub.ts @@ -1,30 +1,50 @@ -import * as coreHttp from "@azure/core-http"; +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { WebPubSub } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as coreRestPipeline from "@azure/core-rest-pipeline"; import * as Parameters from "../models/parameters"; -import { AzureWebPubSubServiceRestAPIContext } from "../azureWebPubSubServiceRestAPIContext"; +import { GeneratedClientContext } from "../generatedClientContext"; import { ContentType, WebPubSubSendToAll$binaryOptionalParams, WebPubSubSendToAll$textOptionalParams, + WebPubSubConnectionExistsOptionalParams, WebPubSubCloseClientConnectionOptionalParams, + WebPubSubSendToConnection$binaryOptionalParams, + WebPubSubSendToConnection$textOptionalParams, + WebPubSubGroupExistsOptionalParams, WebPubSubSendToGroup$binaryOptionalParams, WebPubSubSendToGroup$textOptionalParams, - Enum0, + WebPubSubAddConnectionToGroupOptionalParams, + WebPubSubRemoveConnectionFromGroupOptionalParams, + WebPubSubUserExistsOptionalParams, + WebPubSubSendToUser$binaryOptionalParams, + WebPubSubSendToUser$textOptionalParams, + WebPubSubAddUserToGroupOptionalParams, + WebPubSubRemoveUserFromGroupOptionalParams, + WebPubSubRemoveUserFromAllGroupsOptionalParams, + WebPubSubPermission, WebPubSubGrantPermissionOptionalParams, - Enum1, WebPubSubRevokePermissionOptionalParams, - Enum2, WebPubSubCheckPermissionOptionalParams } from "../models"; /** Class representing a WebPubSub. */ -export class WebPubSub { - private readonly client: AzureWebPubSubServiceRestAPIContext; +export class WebPubSubImpl implements WebPubSub { + private readonly client: GeneratedClientContext; /** * Initialize a new instance of the class WebPubSub class. * @param client Reference to the service client */ - constructor(client: AzureWebPubSubServiceRestAPIContext) { + constructor(client: GeneratedClientContext) { this.client = client; } @@ -39,9 +59,9 @@ export class WebPubSub { sendToAll( hub: string, contentType: ContentType, - message: coreHttp.HttpRequestBody, + message: coreRestPipeline.RequestBodyType, options?: WebPubSubSendToAll$binaryOptionalParams - ): Promise; + ): Promise; /** * Broadcast content inside request body to all the connected client connections. * @param hub Target hub name, which should start with alphabetic characters and only contain @@ -55,7 +75,7 @@ export class WebPubSub { contentType: "text/plain", message: string, options?: WebPubSubSendToAll$textOptionalParams - ): Promise; + ): Promise; /** * Broadcast content inside request body to all the connected client connections. * @param args Includes all the parameters for this operation. @@ -65,13 +85,13 @@ export class WebPubSub { | [ string, ContentType, - coreHttp.HttpRequestBody, + coreRestPipeline.RequestBodyType, WebPubSubSendToAll$binaryOptionalParams? ] | [string, "text/plain", string, WebPubSubSendToAll$textOptionalParams?] - ): Promise { - let operationSpec: coreHttp.OperationSpec; - let operationArguments: coreHttp.OperationArguments; + ): Promise { + let operationSpec: coreClient.OperationSpec; + let operationArguments: coreClient.OperationArguments; let options; if ( args[1] === "application/json" || @@ -99,13 +119,8 @@ export class WebPubSub { `"contentType" must be a valid value but instead was "${args[1]}".` ); } - operationArguments.options = coreHttp.operationOptionsToRequestOptionsBase( - options || {} - ); - return this.client.sendOperationRequest( - operationArguments, - operationSpec - ) as Promise; + operationArguments.options = options || {}; + return this.client.sendOperationRequest(operationArguments, operationSpec); } /** @@ -118,17 +133,12 @@ export class WebPubSub { connectionExists( hub: string, connectionId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - connectionId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + options?: WebPubSubConnectionExistsOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, connectionId, options }, connectionExistsOperationSpec - ) as Promise; + ); } /** @@ -142,16 +152,11 @@ export class WebPubSub { hub: string, connectionId: string, options?: WebPubSubCloseClientConnectionOptionalParams - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - connectionId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, connectionId, options }, closeClientConnectionOperationSpec - ) as Promise; + ); } /** @@ -167,9 +172,9 @@ export class WebPubSub { hub: string, connectionId: string, contentType: ContentType, - message: coreHttp.HttpRequestBody, - options?: coreHttp.OperationOptions - ): Promise; + message: coreRestPipeline.RequestBodyType, + options?: WebPubSubSendToConnection$binaryOptionalParams + ): Promise; /** * Send content inside request body to the specific connection. * @param hub Target hub name, which should start with alphabetic characters and only contain @@ -184,8 +189,8 @@ export class WebPubSub { connectionId: string, contentType: "text/plain", message: string, - options?: coreHttp.OperationOptions - ): Promise; + options?: WebPubSubSendToConnection$textOptionalParams + ): Promise; /** * Send content inside request body to the specific connection. * @param args Includes all the parameters for this operation. @@ -196,13 +201,19 @@ export class WebPubSub { string, string, ContentType, - coreHttp.HttpRequestBody, - coreHttp.OperationOptions? + coreRestPipeline.RequestBodyType, + WebPubSubSendToConnection$binaryOptionalParams? + ] + | [ + string, + string, + "text/plain", + string, + WebPubSubSendToConnection$textOptionalParams? ] - | [string, string, "text/plain", string, coreHttp.OperationOptions?] - ): Promise { - let operationSpec: coreHttp.OperationSpec; - let operationArguments: coreHttp.OperationArguments; + ): Promise { + let operationSpec: coreClient.OperationSpec; + let operationArguments: coreClient.OperationArguments; let options; if ( args[2] === "application/json" || @@ -232,13 +243,8 @@ export class WebPubSub { `"contentType" must be a valid value but instead was "${args[2]}".` ); } - operationArguments.options = coreHttp.operationOptionsToRequestOptionsBase( - options || {} - ); - return this.client.sendOperationRequest( - operationArguments, - operationSpec - ) as Promise; + operationArguments.options = options || {}; + return this.client.sendOperationRequest(operationArguments, operationSpec); } /** @@ -251,17 +257,12 @@ export class WebPubSub { groupExists( hub: string, group: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - group, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + options?: WebPubSubGroupExistsOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, group, options }, groupExistsOperationSpec - ) as Promise; + ); } /** @@ -277,9 +278,9 @@ export class WebPubSub { hub: string, group: string, contentType: ContentType, - message: coreHttp.HttpRequestBody, + message: coreRestPipeline.RequestBodyType, options?: WebPubSubSendToGroup$binaryOptionalParams - ): Promise; + ): Promise; /** * Send content inside request body to a group of connections. * @param hub Target hub name, which should start with alphabetic characters and only contain @@ -295,7 +296,7 @@ export class WebPubSub { contentType: "text/plain", message: string, options?: WebPubSubSendToGroup$textOptionalParams - ): Promise; + ): Promise; /** * Send content inside request body to a group of connections. * @param args Includes all the parameters for this operation. @@ -306,7 +307,7 @@ export class WebPubSub { string, string, ContentType, - coreHttp.HttpRequestBody, + coreRestPipeline.RequestBodyType, WebPubSubSendToGroup$binaryOptionalParams? ] | [ @@ -316,9 +317,9 @@ export class WebPubSub { string, WebPubSubSendToGroup$textOptionalParams? ] - ): Promise { - let operationSpec: coreHttp.OperationSpec; - let operationArguments: coreHttp.OperationArguments; + ): Promise { + let operationSpec: coreClient.OperationSpec; + let operationArguments: coreClient.OperationArguments; let options; if ( args[2] === "application/json" || @@ -348,13 +349,8 @@ export class WebPubSub { `"contentType" must be a valid value but instead was "${args[2]}".` ); } - operationArguments.options = coreHttp.operationOptionsToRequestOptionsBase( - options || {} - ); - return this.client.sendOperationRequest( - operationArguments, - operationSpec - ) as Promise; + operationArguments.options = options || {}; + return this.client.sendOperationRequest(operationArguments, operationSpec); } /** @@ -369,18 +365,12 @@ export class WebPubSub { hub: string, group: string, connectionId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - group, - connectionId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + options?: WebPubSubAddConnectionToGroupOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, group, connectionId, options }, addConnectionToGroupOperationSpec - ) as Promise; + ); } /** @@ -395,18 +385,12 @@ export class WebPubSub { hub: string, group: string, connectionId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - group, - connectionId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + options?: WebPubSubRemoveConnectionFromGroupOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, group, connectionId, options }, removeConnectionFromGroupOperationSpec - ) as Promise; + ); } /** @@ -419,17 +403,12 @@ export class WebPubSub { userExists( hub: string, userId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - userId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + options?: WebPubSubUserExistsOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, userId, options }, userExistsOperationSpec - ) as Promise; + ); } /** @@ -445,9 +424,9 @@ export class WebPubSub { hub: string, userId: string, contentType: ContentType, - message: coreHttp.HttpRequestBody, - options?: coreHttp.OperationOptions - ): Promise; + message: coreRestPipeline.RequestBodyType, + options?: WebPubSubSendToUser$binaryOptionalParams + ): Promise; /** * Send content inside request body to the specific user. * @param hub Target hub name, which should start with alphabetic characters and only contain @@ -462,8 +441,8 @@ export class WebPubSub { userId: string, contentType: "text/plain", message: string, - options?: coreHttp.OperationOptions - ): Promise; + options?: WebPubSubSendToUser$textOptionalParams + ): Promise; /** * Send content inside request body to the specific user. * @param args Includes all the parameters for this operation. @@ -474,13 +453,19 @@ export class WebPubSub { string, string, ContentType, - coreHttp.HttpRequestBody, - coreHttp.OperationOptions? + coreRestPipeline.RequestBodyType, + WebPubSubSendToUser$binaryOptionalParams? + ] + | [ + string, + string, + "text/plain", + string, + WebPubSubSendToUser$textOptionalParams? ] - | [string, string, "text/plain", string, coreHttp.OperationOptions?] - ): Promise { - let operationSpec: coreHttp.OperationSpec; - let operationArguments: coreHttp.OperationArguments; + ): Promise { + let operationSpec: coreClient.OperationSpec; + let operationArguments: coreClient.OperationArguments; let options; if ( args[2] === "application/json" || @@ -510,39 +495,8 @@ export class WebPubSub { `"contentType" must be a valid value but instead was "${args[2]}".` ); } - operationArguments.options = coreHttp.operationOptionsToRequestOptionsBase( - options || {} - ); - return this.client.sendOperationRequest( - operationArguments, - operationSpec - ) as Promise; - } - - /** - * Check whether a user exists in the target group. - * @param hub Target hub name, which should start with alphabetic characters and only contain - * alpha-numeric characters or underscore. - * @param group Target group name, which length should be greater than 0 and less than 1025. - * @param userId Target user Id. - * @param options The options parameters. - */ - userExistsInGroup( - hub: string, - group: string, - userId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - group, - userId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; - return this.client.sendOperationRequest( - operationArguments, - userExistsInGroupOperationSpec - ) as Promise; + operationArguments.options = options || {}; + return this.client.sendOperationRequest(operationArguments, operationSpec); } /** @@ -557,18 +511,12 @@ export class WebPubSub { hub: string, group: string, userId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - group, - userId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + options?: WebPubSubAddUserToGroupOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, group, userId, options }, addUserToGroupOperationSpec - ) as Promise; + ); } /** @@ -583,18 +531,12 @@ export class WebPubSub { hub: string, group: string, userId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - group, - userId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + options?: WebPubSubRemoveUserFromGroupOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, group, userId, options }, removeUserFromGroupOperationSpec - ) as Promise; + ); } /** @@ -607,17 +549,12 @@ export class WebPubSub { removeUserFromAllGroups( hub: string, userId: string, - options?: coreHttp.OperationOptions - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - userId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + options?: WebPubSubRemoveUserFromAllGroupsOptionalParams + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, userId, options }, removeUserFromAllGroupsOperationSpec - ) as Promise; + ); } /** @@ -630,20 +567,14 @@ export class WebPubSub { */ grantPermission( hub: string, - permission: Enum0, + permission: WebPubSubPermission, connectionId: string, options?: WebPubSubGrantPermissionOptionalParams - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - permission, - connectionId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, permission, connectionId, options }, grantPermissionOperationSpec - ) as Promise; + ); } /** @@ -656,20 +587,14 @@ export class WebPubSub { */ revokePermission( hub: string, - permission: Enum1, + permission: WebPubSubPermission, connectionId: string, options?: WebPubSubRevokePermissionOptionalParams - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - permission, - connectionId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, permission, connectionId, options }, revokePermissionOperationSpec - ) as Promise; + ); } /** @@ -682,26 +607,20 @@ export class WebPubSub { */ checkPermission( hub: string, - permission: Enum2, + permission: WebPubSubPermission, connectionId: string, options?: WebPubSubCheckPermissionOptionalParams - ): Promise { - const operationArguments: coreHttp.OperationArguments = { - hub, - permission, - connectionId, - options: coreHttp.operationOptionsToRequestOptionsBase(options || {}) - }; + ): Promise { return this.client.sendOperationRequest( - operationArguments, + { hub, permission, connectionId, options }, checkPermissionOperationSpec - ) as Promise; + ); } } // Operation Specifications -const serializer = new coreHttp.Serializer({}, /* isXml */ false); +const serializer = coreClient.createSerializer({}, /* isXml */ false); -const sendToAll$binaryOperationSpec: coreHttp.OperationSpec = { +const sendToAll$binaryOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/:send", httpMethod: "POST", responses: { 202: {}, default: {} }, @@ -712,7 +631,7 @@ const sendToAll$binaryOperationSpec: coreHttp.OperationSpec = { mediaType: "binary", serializer }; -const sendToAll$textOperationSpec: coreHttp.OperationSpec = { +const sendToAll$textOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/:send", httpMethod: "POST", responses: { 202: {}, default: {} }, @@ -723,7 +642,7 @@ const sendToAll$textOperationSpec: coreHttp.OperationSpec = { mediaType: "text", serializer }; -const connectionExistsOperationSpec: coreHttp.OperationSpec = { +const connectionExistsOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/connections/{connectionId}", httpMethod: "HEAD", responses: { 200: {}, 404: {}, default: {} }, @@ -731,7 +650,7 @@ const connectionExistsOperationSpec: coreHttp.OperationSpec = { urlParameters: [Parameters.$host, Parameters.hub, Parameters.connectionId], serializer }; -const closeClientConnectionOperationSpec: coreHttp.OperationSpec = { +const closeClientConnectionOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/connections/{connectionId}", httpMethod: "DELETE", responses: { 200: {}, default: {} }, @@ -739,7 +658,7 @@ const closeClientConnectionOperationSpec: coreHttp.OperationSpec = { urlParameters: [Parameters.$host, Parameters.hub, Parameters.connectionId], serializer }; -const sendToConnection$binaryOperationSpec: coreHttp.OperationSpec = { +const sendToConnection$binaryOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/connections/{connectionId}/:send", httpMethod: "POST", responses: { 202: {}, default: {} }, @@ -750,7 +669,7 @@ const sendToConnection$binaryOperationSpec: coreHttp.OperationSpec = { mediaType: "binary", serializer }; -const sendToConnection$textOperationSpec: coreHttp.OperationSpec = { +const sendToConnection$textOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/connections/{connectionId}/:send", httpMethod: "POST", responses: { 202: {}, default: {} }, @@ -761,7 +680,7 @@ const sendToConnection$textOperationSpec: coreHttp.OperationSpec = { mediaType: "text", serializer }; -const groupExistsOperationSpec: coreHttp.OperationSpec = { +const groupExistsOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/groups/{group}", httpMethod: "HEAD", responses: { 200: {}, 404: {}, default: {} }, @@ -769,7 +688,7 @@ const groupExistsOperationSpec: coreHttp.OperationSpec = { urlParameters: [Parameters.$host, Parameters.hub, Parameters.group], serializer }; -const sendToGroup$binaryOperationSpec: coreHttp.OperationSpec = { +const sendToGroup$binaryOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/groups/{group}/:send", httpMethod: "POST", responses: { 202: {}, default: {} }, @@ -780,7 +699,7 @@ const sendToGroup$binaryOperationSpec: coreHttp.OperationSpec = { mediaType: "binary", serializer }; -const sendToGroup$textOperationSpec: coreHttp.OperationSpec = { +const sendToGroup$textOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/groups/{group}/:send", httpMethod: "POST", responses: { 202: {}, default: {} }, @@ -791,7 +710,7 @@ const sendToGroup$textOperationSpec: coreHttp.OperationSpec = { mediaType: "text", serializer }; -const addConnectionToGroupOperationSpec: coreHttp.OperationSpec = { +const addConnectionToGroupOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/groups/{group}/connections/{connectionId}", httpMethod: "PUT", responses: { 200: {}, 404: {}, default: {} }, @@ -804,10 +723,10 @@ const addConnectionToGroupOperationSpec: coreHttp.OperationSpec = { ], serializer }; -const removeConnectionFromGroupOperationSpec: coreHttp.OperationSpec = { +const removeConnectionFromGroupOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/groups/{group}/connections/{connectionId}", httpMethod: "DELETE", - responses: { 200: {}, 404: {}, default: {} }, + responses: { 200: {}, default: {} }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -817,7 +736,7 @@ const removeConnectionFromGroupOperationSpec: coreHttp.OperationSpec = { ], serializer }; -const userExistsOperationSpec: coreHttp.OperationSpec = { +const userExistsOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/users/{userId}", httpMethod: "HEAD", responses: { 200: {}, 404: {}, default: {} }, @@ -825,7 +744,7 @@ const userExistsOperationSpec: coreHttp.OperationSpec = { urlParameters: [Parameters.$host, Parameters.hub, Parameters.userId], serializer }; -const sendToUser$binaryOperationSpec: coreHttp.OperationSpec = { +const sendToUser$binaryOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/users/{userId}/:send", httpMethod: "POST", responses: { 202: {}, default: {} }, @@ -836,7 +755,7 @@ const sendToUser$binaryOperationSpec: coreHttp.OperationSpec = { mediaType: "binary", serializer }; -const sendToUser$textOperationSpec: coreHttp.OperationSpec = { +const sendToUser$textOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/users/{userId}/:send", httpMethod: "POST", responses: { 202: {}, default: {} }, @@ -847,23 +766,10 @@ const sendToUser$textOperationSpec: coreHttp.OperationSpec = { mediaType: "text", serializer }; -const userExistsInGroupOperationSpec: coreHttp.OperationSpec = { - path: "/api/hubs/{hub}/users/{userId}/groups/{group}", - httpMethod: "HEAD", - responses: { 200: {}, 404: {}, default: {} }, - queryParameters: [Parameters.apiVersion], - urlParameters: [ - Parameters.$host, - Parameters.hub, - Parameters.group, - Parameters.userId - ], - serializer -}; -const addUserToGroupOperationSpec: coreHttp.OperationSpec = { +const addUserToGroupOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/users/{userId}/groups/{group}", httpMethod: "PUT", - responses: { 200: {}, default: {} }, + responses: { 200: {}, 404: {}, default: {} }, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -873,7 +779,7 @@ const addUserToGroupOperationSpec: coreHttp.OperationSpec = { ], serializer }; -const removeUserFromGroupOperationSpec: coreHttp.OperationSpec = { +const removeUserFromGroupOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/users/{userId}/groups/{group}", httpMethod: "DELETE", responses: { 200: {}, default: {} }, @@ -886,7 +792,7 @@ const removeUserFromGroupOperationSpec: coreHttp.OperationSpec = { ], serializer }; -const removeUserFromAllGroupsOperationSpec: coreHttp.OperationSpec = { +const removeUserFromAllGroupsOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/users/{userId}/groups", httpMethod: "DELETE", responses: { 200: {}, default: {} }, @@ -894,7 +800,7 @@ const removeUserFromAllGroupsOperationSpec: coreHttp.OperationSpec = { urlParameters: [Parameters.$host, Parameters.hub, Parameters.userId], serializer }; -const grantPermissionOperationSpec: coreHttp.OperationSpec = { +const grantPermissionOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}", httpMethod: "PUT", responses: { 200: {}, default: {} }, @@ -907,7 +813,7 @@ const grantPermissionOperationSpec: coreHttp.OperationSpec = { ], serializer }; -const revokePermissionOperationSpec: coreHttp.OperationSpec = { +const revokePermissionOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}", httpMethod: "DELETE", responses: { 200: {}, default: {} }, @@ -916,11 +822,11 @@ const revokePermissionOperationSpec: coreHttp.OperationSpec = { Parameters.$host, Parameters.hub, Parameters.connectionId, - Parameters.permission1 + Parameters.permission ], serializer }; -const checkPermissionOperationSpec: coreHttp.OperationSpec = { +const checkPermissionOperationSpec: coreClient.OperationSpec = { path: "/api/hubs/{hub}/permissions/{permission}/connections/{connectionId}", httpMethod: "HEAD", responses: { 200: {}, 404: {}, default: {} }, @@ -929,7 +835,7 @@ const checkPermissionOperationSpec: coreHttp.OperationSpec = { Parameters.$host, Parameters.hub, Parameters.connectionId, - Parameters.permission2 + Parameters.permission ], serializer }; diff --git a/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/healthApi.ts b/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/healthApi.ts new file mode 100644 index 000000000000..a91014ad3fa8 --- /dev/null +++ b/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/healthApi.ts @@ -0,0 +1,20 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { HealthApiGetServiceStatusOptionalParams } from "../models"; + +/** Interface representing a HealthApi. */ +export interface HealthApi { + /** + * Get service health status. + * @param options The options parameters. + */ + getServiceStatus( + options?: HealthApiGetServiceStatusOptionalParams + ): Promise; +} diff --git a/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/index.ts b/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/index.ts new file mode 100644 index 000000000000..7c403f3e5b7f --- /dev/null +++ b/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/index.ts @@ -0,0 +1,10 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export * from "./healthApi"; +export * from "./webPubSub"; diff --git a/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/webPubSub.ts b/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/webPubSub.ts new file mode 100644 index 000000000000..6538420c85e8 --- /dev/null +++ b/sdk/web-pubsub/web-pubsub/src/generated/operationsInterfaces/webPubSub.ts @@ -0,0 +1,272 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import * as coreRestPipeline from "@azure/core-rest-pipeline"; +import { + ContentType, + WebPubSubSendToAll$binaryOptionalParams, + WebPubSubSendToAll$textOptionalParams, + WebPubSubConnectionExistsOptionalParams, + WebPubSubCloseClientConnectionOptionalParams, + WebPubSubSendToConnection$binaryOptionalParams, + WebPubSubSendToConnection$textOptionalParams, + WebPubSubGroupExistsOptionalParams, + WebPubSubSendToGroup$binaryOptionalParams, + WebPubSubSendToGroup$textOptionalParams, + WebPubSubAddConnectionToGroupOptionalParams, + WebPubSubRemoveConnectionFromGroupOptionalParams, + WebPubSubUserExistsOptionalParams, + WebPubSubSendToUser$binaryOptionalParams, + WebPubSubSendToUser$textOptionalParams, + WebPubSubAddUserToGroupOptionalParams, + WebPubSubRemoveUserFromGroupOptionalParams, + WebPubSubRemoveUserFromAllGroupsOptionalParams, + WebPubSubPermission, + WebPubSubGrantPermissionOptionalParams, + WebPubSubRevokePermissionOptionalParams, + WebPubSubCheckPermissionOptionalParams +} from "../models"; + +/** Interface representing a WebPubSub. */ +export interface WebPubSub { + /** + * Broadcast content inside request body to all the connected client connections. + * @param args Includes all the parameters for this operation. + */ + sendToAll( + ...args: + | [ + string, + ContentType, + coreRestPipeline.RequestBodyType, + WebPubSubSendToAll$binaryOptionalParams? + ] + | [string, "text/plain", string, WebPubSubSendToAll$textOptionalParams?] + ): Promise; + /** + * Check if the connection with the given connectionId exists. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param connectionId The connection Id. + * @param options The options parameters. + */ + connectionExists( + hub: string, + connectionId: string, + options?: WebPubSubConnectionExistsOptionalParams + ): Promise; + /** + * Close the client connection. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param connectionId Target connection Id. + * @param options The options parameters. + */ + closeClientConnection( + hub: string, + connectionId: string, + options?: WebPubSubCloseClientConnectionOptionalParams + ): Promise; + /** + * Send content inside request body to the specific connection. + * @param args Includes all the parameters for this operation. + */ + sendToConnection( + ...args: + | [ + string, + string, + ContentType, + coreRestPipeline.RequestBodyType, + WebPubSubSendToConnection$binaryOptionalParams? + ] + | [ + string, + string, + "text/plain", + string, + WebPubSubSendToConnection$textOptionalParams? + ] + ): Promise; + /** + * Check if there are any client connections inside the given group + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param group Target group name, which length should be greater than 0 and less than 1025. + * @param options The options parameters. + */ + groupExists( + hub: string, + group: string, + options?: WebPubSubGroupExistsOptionalParams + ): Promise; + /** + * Send content inside request body to a group of connections. + * @param args Includes all the parameters for this operation. + */ + sendToGroup( + ...args: + | [ + string, + string, + ContentType, + coreRestPipeline.RequestBodyType, + WebPubSubSendToGroup$binaryOptionalParams? + ] + | [ + string, + string, + "text/plain", + string, + WebPubSubSendToGroup$textOptionalParams? + ] + ): Promise; + /** + * Add a connection to the target group. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param group Target group name, which length should be greater than 0 and less than 1025. + * @param connectionId Target connection Id + * @param options The options parameters. + */ + addConnectionToGroup( + hub: string, + group: string, + connectionId: string, + options?: WebPubSubAddConnectionToGroupOptionalParams + ): Promise; + /** + * Remove a connection from the target group. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param group Target group name, which length should be greater than 0 and less than 1025. + * @param connectionId Target connection Id. + * @param options The options parameters. + */ + removeConnectionFromGroup( + hub: string, + group: string, + connectionId: string, + options?: WebPubSubRemoveConnectionFromGroupOptionalParams + ): Promise; + /** + * Check if there are any client connections connected for the given user. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param userId Target user Id. + * @param options The options parameters. + */ + userExists( + hub: string, + userId: string, + options?: WebPubSubUserExistsOptionalParams + ): Promise; + /** + * Send content inside request body to the specific user. + * @param args Includes all the parameters for this operation. + */ + sendToUser( + ...args: + | [ + string, + string, + ContentType, + coreRestPipeline.RequestBodyType, + WebPubSubSendToUser$binaryOptionalParams? + ] + | [ + string, + string, + "text/plain", + string, + WebPubSubSendToUser$textOptionalParams? + ] + ): Promise; + /** + * Add a user to the target group. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param group Target group name, which length should be greater than 0 and less than 1025. + * @param userId Target user Id. + * @param options The options parameters. + */ + addUserToGroup( + hub: string, + group: string, + userId: string, + options?: WebPubSubAddUserToGroupOptionalParams + ): Promise; + /** + * Remove a user from the target group. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param group Target group name, which length should be greater than 0 and less than 1025. + * @param userId Target user Id. + * @param options The options parameters. + */ + removeUserFromGroup( + hub: string, + group: string, + userId: string, + options?: WebPubSubRemoveUserFromGroupOptionalParams + ): Promise; + /** + * Remove a user from all groups. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param userId Target user Id. + * @param options The options parameters. + */ + removeUserFromAllGroups( + hub: string, + userId: string, + options?: WebPubSubRemoveUserFromAllGroupsOptionalParams + ): Promise; + /** + * Grant permission to the connection. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param permission The permission: current supported actions are joinLeaveGroup and sendToGroup. + * @param connectionId Target connection Id. + * @param options The options parameters. + */ + grantPermission( + hub: string, + permission: WebPubSubPermission, + connectionId: string, + options?: WebPubSubGrantPermissionOptionalParams + ): Promise; + /** + * Revoke permission for the connection. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param permission The permission: current supported actions are joinLeaveGroup and sendToGroup. + * @param connectionId Target connection Id. + * @param options The options parameters. + */ + revokePermission( + hub: string, + permission: WebPubSubPermission, + connectionId: string, + options?: WebPubSubRevokePermissionOptionalParams + ): Promise; + /** + * Check if a connection has permission to the specified action. + * @param hub Target hub name, which should start with alphabetic characters and only contain + * alpha-numeric characters or underscore. + * @param permission The permission: current supported actions are joinLeaveGroup and sendToGroup. + * @param connectionId Target connection Id. + * @param options The options parameters. + */ + checkPermission( + hub: string, + permission: WebPubSubPermission, + connectionId: string, + options?: WebPubSubCheckPermissionOptionalParams + ): Promise; +} diff --git a/sdk/web-pubsub/web-pubsub/src/groupClient.ts b/sdk/web-pubsub/web-pubsub/src/groupClient.ts index 26c272e858a4..8ccaf395090c 100644 --- a/sdk/web-pubsub/web-pubsub/src/groupClient.ts +++ b/sdk/web-pubsub/web-pubsub/src/groupClient.ts @@ -1,23 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { - OperationOptions, - RestResponse, - RestError, - HttpRequestBody, - PipelineOptions -} from "@azure/core-http"; -import { AzureWebPubSubServiceRestAPI as GeneratedClient } from "./generated/azureWebPubSubServiceRestAPI"; +import { CommonClientOptions, FullOperationResponse, OperationOptions } from "@azure/core-client"; +import { RestError, RequestBodyType } from "@azure/core-rest-pipeline"; +import { GeneratedClient } from "./generated/generatedClient"; import { createSpan } from "./tracing"; import normalizeSendToAllOptions from "./normalizeOptions"; -import { getContentTypeForMessage } from "./utils"; +import { getPayloadForMessage } from "./utils"; import { JSONTypes } from "./hubClient"; /** * Options for constructing a GroupAdmin client. */ -export interface GroupAdminClientOptions extends PipelineOptions {} +export interface GroupAdminClientOptions extends CommonClientOptions {} /** * Options for adding a connection to a group. @@ -92,7 +87,7 @@ export interface WebPubSubGroup { * @param connectionId The connection id to add to this group * @param options Additional options */ - addConnection(connectionId: string, options?: GroupAddConnectionOptions): Promise; + addConnection(connectionId: string, options?: GroupAddConnectionOptions): Promise; /** * Remove a specific connection from this group @@ -100,10 +95,7 @@ export interface WebPubSubGroup { * @param connectionId The connection id to remove from this group * @param options Additional options */ - removeConnection( - connectionId: string, - options?: GroupRemoveConnectionOptions - ): Promise; + removeConnection(connectionId: string, options?: GroupRemoveConnectionOptions): Promise; /** * Add a user to this group @@ -111,15 +103,7 @@ export interface WebPubSubGroup { * @param username The user name to add * @param options Additional options */ - addUser(username: string, options?: GroupAddUserOptions): Promise; - - /** - * Check if a user is in this group - * - * @param username The user name to check for - * @param options Additional options - */ - hasUser(username: string, options?: GroupHasUserOptions): Promise; + addUser(username: string, options?: GroupAddUserOptions): Promise; /** * Remove a user from this group @@ -127,7 +111,7 @@ export interface WebPubSubGroup { * @param username The user name to remove * @param options Additional options */ - removeUser(username: string, options?: GroupRemoveUserOptions): Promise; + removeUser(username: string, options?: GroupRemoveUserOptions): Promise; /** * Send a text message to every connection in this group @@ -135,21 +119,21 @@ export interface WebPubSubGroup { * @param message The message to send * @param options Additional options */ - sendToAll(message: string, options: GroupSendTextToAllOptions): Promise; + sendToAll(message: string, options: GroupSendTextToAllOptions): Promise; /** * Send a json message to every connection in this group * * @param message The message to send * @param options Additional options */ - sendToAll(message: JSONTypes, options?: GroupSendToAllOptions): Promise; + sendToAll(message: JSONTypes, options?: GroupSendToAllOptions): Promise; /** * Send a binary message to every connection in this group * * @param message The binary message to send * @param options Additional options */ - sendToAll(message: HttpRequestBody, options?: GroupSendToAllOptions): Promise; + sendToAll(message: RequestBodyType, options?: GroupSendToAllOptions): Promise; } /** @@ -196,31 +180,32 @@ export class WebPubSubGroupImpl implements WebPubSubGroup { public async addConnection( connectionId: string, options: GroupAddConnectionOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions } = createSpan( "WebPubSubServiceClient-group-addConnection", options ); try { - const res = await this.client.webPubSub.addConnectionToGroup( - this.hubName, - this.groupName, - connectionId, - updatedOptions - ); - - if (res._response.status === 404) { - throw new RestError( - `Connection id '${connectionId}' doesn't exist`, - undefined, - res._response.status, - res._response.request, - res._response - ); + let response: FullOperationResponse | undefined; + function onResponse(rawResponse: FullOperationResponse, flatResponse: unknown): void { + response = rawResponse; + if (updatedOptions.onResponse) { + updatedOptions.onResponse(rawResponse, flatResponse); + } + } + await this.client.webPubSub.addConnectionToGroup(this.hubName, this.groupName, connectionId, { + ...updatedOptions, + onResponse + }); + + if (response?.status === 404) { + throw new RestError(`Connection id '${connectionId}' doesn't exist`, { + statusCode: response?.status, + request: response?.request, + response: response + }); } - - return res; } finally { span.end(); } @@ -235,21 +220,19 @@ export class WebPubSubGroupImpl implements WebPubSubGroup { public async removeConnection( connectionId: string, options: GroupRemoveConnectionOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions } = createSpan( "WebPubSubServiceClient-group-removeConnection", options ); try { - const res = await this.client.webPubSub.removeConnectionFromGroup( + await this.client.webPubSub.removeConnectionFromGroup( this.hubName, this.groupName, connectionId, updatedOptions ); - - return res; } finally { span.end(); } @@ -261,52 +244,16 @@ export class WebPubSubGroupImpl implements WebPubSubGroup { * @param username The user name to add * @param options Additional options */ - public async addUser(username: string, options: GroupAddUserOptions = {}): Promise { + public async addUser(username: string, options: GroupAddUserOptions = {}): Promise { const { span, updatedOptions } = createSpan("WebPubSubServiceClient-group-addUser", options); try { - return await this.client.webPubSub.addUserToGroup( - this.hubName, - this.groupName, - username, - updatedOptions - ); - } finally { - span.end(); - } - } - - /** - * Check if a user is in this group - * - * @param username The user name to check for - * @param options Additional options - */ - public async hasUser(username: string, options: GroupHasUserOptions = {}): Promise { - const { span, updatedOptions } = createSpan("WebPubSubServiceClient-group-hasUser", options); - - try { - const res = await this.client.webPubSub.userExistsInGroup( + await this.client.webPubSub.addUserToGroup( this.hubName, this.groupName, username, updatedOptions ); - - if (res._response.status === 200) { - return true; - } else if (res._response.status === 404) { - return false; - } else { - // this is sad - wish this was handled by autorest. - throw new RestError( - res._response.bodyAsText!, - undefined, - res._response.status, - res._response.request, - res._response - ); - } } finally { span.end(); } @@ -318,14 +265,11 @@ export class WebPubSubGroupImpl implements WebPubSubGroup { * @param username The user name to remove * @param options Additional options */ - public async removeUser( - username: string, - options: GroupRemoveUserOptions = {} - ): Promise { + public async removeUser(username: string, options: GroupRemoveUserOptions = {}): Promise { const { span, updatedOptions } = createSpan("WebPubSubServiceClient-group-removeUser", options); try { - return await this.client.webPubSub.removeUserFromGroup( + await this.client.webPubSub.removeUserFromGroup( this.hubName, this.groupName, username, @@ -342,49 +286,40 @@ export class WebPubSubGroupImpl implements WebPubSubGroup { * @param message The message to send * @param options Additional options */ - public async sendToAll( - message: string, - options: GroupSendTextToAllOptions - ): Promise; + public async sendToAll(message: string, options: GroupSendTextToAllOptions): Promise; /** * Send a json message to every connection in this group * * @param message The message to send * @param options Additional options */ - public async sendToAll( - message: JSONTypes, - options?: GroupSendToAllOptions - ): Promise; + public async sendToAll(message: JSONTypes, options?: GroupSendToAllOptions): Promise; /** * Send a binary message to every connection in this group * * @param message The binary message to send * @param options Additional options */ - public async sendToAll( - message: HttpRequestBody, - options?: GroupSendToAllOptions - ): Promise; + public async sendToAll(message: RequestBodyType, options?: GroupSendToAllOptions): Promise; public async sendToAll( - message: string | HttpRequestBody, + message: JSONTypes | RequestBodyType, options: GroupSendToAllOptions | GroupSendTextToAllOptions = {} - ): Promise { + ): Promise { const normalizedOptions = normalizeSendToAllOptions(options); const { span, updatedOptions } = createSpan( "WebPubSubServiceClient-group-sendToAll", normalizedOptions ); - const contentType = getContentTypeForMessage(message, updatedOptions); + const { contentType, payload } = getPayloadForMessage(message, updatedOptions); try { - return await this.client.webPubSub.sendToGroup( + await this.client.webPubSub.sendToGroup( this.hubName, this.groupName, - contentType as any, - contentType === "application/json" ? JSON.stringify(message) : message, + contentType, + payload as any, updatedOptions ); } finally { diff --git a/sdk/web-pubsub/web-pubsub/src/hubClient.ts b/sdk/web-pubsub/web-pubsub/src/hubClient.ts index 0bbe449b358b..77f8d537dd44 100644 --- a/sdk/web-pubsub/web-pubsub/src/hubClient.ts +++ b/sdk/web-pubsub/web-pubsub/src/hubClient.ts @@ -1,25 +1,18 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { - OperationOptions, - RestResponse, - RestError, - HttpRequestBody, - InternalPipelineOptions, - createPipelineFromOptions, - PipelineOptions -} from "@azure/core-http"; -import { AzureWebPubSubServiceRestAPI as GeneratedClient } from "./generated/azureWebPubSubServiceRestAPI"; +import { CommonClientOptions, FullOperationResponse, OperationOptions } from "@azure/core-client"; +import { InternalPipelineOptions, RestError, RequestBodyType } from "@azure/core-rest-pipeline"; +import { GeneratedClient } from "./generated/generatedClient"; import { WebPubSubGroup, WebPubSubGroupImpl } from "./groupClient"; import normalizeSendToAllOptions from "./normalizeOptions"; import { AzureKeyCredential } from "@azure/core-auth"; -import { webPubSubAzureKeyCredentialPolicyFactory } from "./webPubSubCredentialPolicy"; +import { webPubSubKeyCredentialPolicy } from "./webPubSubCredentialPolicy"; import { createSpan } from "./tracing"; import { logger } from "./logger"; import { parseConnectionString } from "./parseConnectionString"; import jwt from "jsonwebtoken"; -import { getContentTypeForMessage } from "./utils"; +import { getPayloadForMessage } from "./utils"; /** * Options for closing a connection to a hub. @@ -56,7 +49,7 @@ export type JSONTypes = string | number | boolean | object; /** * Options for constructing a HubAdmin client. */ -export interface HubAdminClientOptions extends PipelineOptions {} +export interface HubAdminClientOptions extends CommonClientOptions {} /** * Options for checking if a connection exists. @@ -259,7 +252,7 @@ export class WebPubSubServiceClient { this.endpoint = parsedCs.endpoint; this.credential = parsedCs.credential; this.hubName = credsOrHubName as string; - this.clientOptions = hubNameOrOpts as PipelineOptions; + this.clientOptions = hubNameOrOpts as HubAdminClientOptions; } const internalPipelineOptions: InternalPipelineOptions = { @@ -271,12 +264,8 @@ export class WebPubSubServiceClient { } }; - const pipeline = createPipelineFromOptions( - internalPipelineOptions, - webPubSubAzureKeyCredentialPolicyFactory(this.credential) - ); - - this.client = new GeneratedClient(this.endpoint, pipeline); + this.client = new GeneratedClient(this.endpoint, internalPipelineOptions); + this.client.pipeline.addPolicy(webPubSubKeyCredentialPolicy(this.credential)); } /** @@ -324,41 +313,39 @@ export class WebPubSubServiceClient { * @param message The text message to send * @param options Additional options */ - public async sendToAll(message: string, options: HubSendTextToAllOptions): Promise; + public async sendToAll(message: string, options: HubSendTextToAllOptions): Promise; /** * Broadcast a JSON message to all connections on this hub. * * @param message The JSON message to send * @param options Additional options */ - public async sendToAll(message: JSONTypes, options?: HubSendToAllOptions): Promise; + public async sendToAll(message: JSONTypes, options?: HubSendToAllOptions): Promise; /** * Broadcast a binary message to all connections on this hub. * * @param message The message to send * @param options Additional options */ - public async sendToAll( - message: HttpRequestBody, - options?: HubSendToAllOptions - ): Promise; + public async sendToAll(message: RequestBodyType, options?: HubSendToAllOptions): Promise; public async sendToAll( - message: HttpRequestBody | string, + message: RequestBodyType | JSONTypes, options: HubSendToAllOptions | HubSendTextToAllOptions = {} - ): Promise { + ): Promise { const normalizedOptions = normalizeSendToAllOptions(options); const { span, updatedOptions } = createSpan( "WebPubSubServiceClient-hub-sendToAll", normalizedOptions ); - const contentType = getContentTypeForMessage(message, updatedOptions); + const { contentType, payload } = getPayloadForMessage(message, updatedOptions); + try { return await this.client.webPubSub.sendToAll( this.hubName, - contentType as any, - contentType === "application/json" ? JSON.stringify(message) : message, + contentType, + payload as any, updatedOptions ); } finally { @@ -377,7 +364,7 @@ export class WebPubSubServiceClient { username: string, message: string, options: HubSendTextToUserOptions - ): Promise; + ): Promise; /** * Send a JSON message to a specific user @@ -390,7 +377,7 @@ export class WebPubSubServiceClient { username: string, message: JSONTypes, options?: HubSendToUserOptions - ): Promise; + ): Promise; /** * Send a binary message to a specific user @@ -401,24 +388,23 @@ export class WebPubSubServiceClient { */ public async sendToUser( username: string, - message: HttpRequestBody, + message: RequestBodyType, options?: HubSendToUserOptions | HubSendTextToUserOptions - ): Promise; + ): Promise; public async sendToUser( username: string, - message: string | HttpRequestBody, + message: RequestBodyType | JSONTypes, options: HubSendToUserOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions } = createSpan("WebPubSubServiceClient-hub-sendToUser", options); - const contentType = getContentTypeForMessage(message, updatedOptions); - + const { contentType, payload } = getPayloadForMessage(message, updatedOptions); try { return await this.client.webPubSub.sendToUser( this.hubName, username, - contentType as any, - contentType === "application/json" ? JSON.stringify(message) : message, + contentType, + payload as any, updatedOptions ); } finally { @@ -437,7 +423,7 @@ export class WebPubSubServiceClient { connectionId: string, message: string, options: HubSendTextToConnectionOptions - ): Promise; + ): Promise; /** * Send a binary message to a specific connection @@ -450,7 +436,7 @@ export class WebPubSubServiceClient { connectionId: string, message: JSONTypes, options?: HubSendToConnectionOptions - ): Promise; + ): Promise; /** * Send a binary message to a specific connection @@ -461,26 +447,26 @@ export class WebPubSubServiceClient { */ public async sendToConnection( connectionId: string, - message: HttpRequestBody | JSONTypes, + message: RequestBodyType, options?: HubSendToConnectionOptions | HubSendTextToConnectionOptions - ): Promise; + ): Promise; public async sendToConnection( connectionId: string, - message: string | HttpRequestBody, + message: RequestBodyType | JSONTypes, options: HubSendToConnectionOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions } = createSpan( "WebPubSubServiceClient-hub-sendToConnection", options ); - const contentType = getContentTypeForMessage(message, updatedOptions); + const { contentType, payload } = getPayloadForMessage(message, updatedOptions); try { return await this.client.webPubSub.sendToConnection( this.hubName, connectionId, - contentType as any, - contentType === "application/json" ? JSON.stringify(message) : message, + contentType, + payload as any, updatedOptions ); } finally { @@ -504,25 +490,30 @@ export class WebPubSubServiceClient { ); try { - const res = await this.client.webPubSub.connectionExists( - this.hubName, - connectionId, - updatedOptions - ); + let response: FullOperationResponse | undefined; + function onResponse(rawResponse: FullOperationResponse, flatResponse: unknown): void { + response = rawResponse; + if (updatedOptions.onResponse) { + updatedOptions.onResponse(rawResponse, flatResponse); + } + } - if (res._response.status === 200) { + await this.client.webPubSub.connectionExists(this.hubName, connectionId, { + ...updatedOptions, + onResponse + }); + + if (response?.status === 200) { return true; - } else if (res._response.status === 404) { + } else if (response?.status === 404) { return false; } else { // this is sad - wish this was handled by autorest. - throw new RestError( - res._response.bodyAsText!, - undefined, - res._response.status, - res._response.request, - res._response - ); + throw new RestError(response?.bodyAsText!, { + statusCode: response?.status, + request: response?.request, + response: response + }); } } finally { span.end(); @@ -538,7 +529,7 @@ export class WebPubSubServiceClient { public async closeConnection( connectionId: string, options: CloseConnectionOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions } = createSpan( "WebPubSubServiceClient-hub-removeConnection", options @@ -563,18 +554,14 @@ export class WebPubSubServiceClient { public async removeUserFromAllGroups( userId: string, options: CloseConnectionOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions } = createSpan( "WebPubSubServiceClient-hub-removeUserFromAllGroups", options ); try { - return await this.client.webPubSub.removeUserFromAllGroups( - this.hubName, - userId, - updatedOptions - ); + await this.client.webPubSub.removeUserFromAllGroups(this.hubName, userId, updatedOptions); } finally { span.end(); } @@ -590,20 +577,28 @@ export class WebPubSubServiceClient { const { span, updatedOptions } = createSpan("WebPubSubServiceClient-hub-hasGroup", options); try { - const res = await this.client.webPubSub.groupExists(this.hubName, groupName, updatedOptions); + let response: FullOperationResponse | undefined; + function onResponse(rawResponse: FullOperationResponse, flatResponse: unknown): void { + response = rawResponse; + if (updatedOptions.onResponse) { + updatedOptions.onResponse(rawResponse, flatResponse); + } + } + await this.client.webPubSub.groupExists(this.hubName, groupName, { + ...updatedOptions, + onResponse + }); - if (res._response.status === 200) { + if (response?.status === 200) { return true; - } else if (res._response.status === 404) { + } else if (response?.status === 404) { return false; } else { - throw new RestError( - res._response.bodyAsText!, - undefined, - res._response.status, - res._response.request, - res._response - ); + throw new RestError(response?.bodyAsText!, { + statusCode: response?.status, + request: response?.request, + response: response + }); } } finally { span.end(); @@ -620,21 +615,29 @@ export class WebPubSubServiceClient { const { span, updatedOptions } = createSpan("WebPubSubServiceClient-hub-hasUser", options); try { - const res = await this.client.webPubSub.userExists(this.hubName, username, updatedOptions); + let response: FullOperationResponse | undefined; + function onResponse(rawResponse: FullOperationResponse, flatResponse: unknown): void { + response = rawResponse; + if (updatedOptions.onResponse) { + updatedOptions.onResponse(rawResponse, flatResponse); + } + } + await this.client.webPubSub.userExists(this.hubName, username, { + ...updatedOptions, + onResponse + }); - if (res._response.status === 200) { + if (response?.status === 200) { return true; - } else if (res._response.status === 404) { + } else if (response?.status === 404) { return false; } else { // this is sad - wish this was handled by autorest. - throw new RestError( - res._response.bodyAsText!, - undefined, - res._response.status, - res._response.request, - res._response - ); + throw new RestError(response?.bodyAsText!, { + statusCode: response?.status, + request: response?.request, + response: response + }); } } finally { span.end(); @@ -710,19 +713,37 @@ export class WebPubSubServiceClient { connectionId: string, permission: Permission, options: HubHasPermissionOptions = {} - ) { + ): Promise { const { span, updatedOptions } = createSpan( "WebPubSubServiceClient-hub-hasPermission", options ); try { - return await this.client.webPubSub.checkPermission( - this.hubName, - permission, - connectionId, - updatedOptions - ); + let response: FullOperationResponse | undefined; + function onResponse(rawResponse: FullOperationResponse, flatResponse: unknown): void { + response = rawResponse; + if (updatedOptions.onResponse) { + updatedOptions.onResponse(rawResponse, flatResponse); + } + } + await this.client.webPubSub.checkPermission(this.hubName, permission, connectionId, { + ...updatedOptions, + onResponse + }); + + if (response?.status === 200) { + return true; + } else if (response?.status === 404) { + return false; + } else { + // this is sad - wish this was handled by autorest. + throw new RestError(response?.bodyAsText!, { + statusCode: response?.status, + request: response?.request, + response: response + }); + } } finally { span.end(); } diff --git a/sdk/web-pubsub/web-pubsub/src/utils.ts b/sdk/web-pubsub/web-pubsub/src/utils.ts index c991503009fe..0bf502f407f9 100644 --- a/sdk/web-pubsub/web-pubsub/src/utils.ts +++ b/sdk/web-pubsub/web-pubsub/src/utils.ts @@ -1,6 +1,6 @@ -import { HttpRequestBody } from "@azure/core-http"; +import { RequestBodyType } from "@azure/core-rest-pipeline"; -function isHttpRequestBody(obj: unknown): obj is HttpRequestBody { +function isRequestBody(obj: unknown): obj is RequestBodyType { return ( typeof obj === "function" || (typeof obj === "object" && @@ -11,18 +11,32 @@ function isHttpRequestBody(obj: unknown): obj is HttpRequestBody { ); } -export function getContentTypeForMessage( - message: unknown, - options: Record -): "text/plain" | "application/json" | "application/octet-stream" { +export interface TextPlainPayload { + contentType: "text/plain"; + payload: string; +} + +export interface JsonPayload { + contentType: "application/json"; + payload: string; +} + +export interface BinaryPayload { + contentType: "application/octet-stream"; + payload: RequestBodyType; +} + +export type Payload = TextPlainPayload | JsonPayload | BinaryPayload; + +export function getPayloadForMessage(message: unknown, options: Record): Payload { if (options?.contentType === "text/plain") { if (typeof message !== "string") { throw new TypeError("Message must be a string."); } - return "text/plain"; - } else if (isHttpRequestBody(message)) { - return "application/octet-stream"; + return { contentType: "text/plain", payload: message }; + } else if (isRequestBody(message)) { + return { contentType: "application/octet-stream", payload: message }; } else { - return "application/json"; + return { contentType: "application/json", payload: JSON.stringify(message) }; } } diff --git a/sdk/web-pubsub/web-pubsub/src/webPubSubCredentialPolicy.ts b/sdk/web-pubsub/web-pubsub/src/webPubSubCredentialPolicy.ts index c636304a279a..696dded592d1 100644 --- a/sdk/web-pubsub/web-pubsub/src/webPubSubCredentialPolicy.ts +++ b/sdk/web-pubsub/web-pubsub/src/webPubSubCredentialPolicy.ts @@ -1,48 +1,37 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { KeyCredential } from "@azure/core-auth"; import { - BaseRequestPolicy, - RequestPolicy, - RequestPolicyOptions, - WebResource, - HttpOperationResponse -} from "@azure/core-http"; -import { AzureKeyCredential } from "@azure/core-auth"; + PipelineResponse, + PipelineRequest, + SendRequest, + PipelinePolicy +} from "@azure/core-rest-pipeline"; import jwt from "jsonwebtoken"; -export function webPubSubAzureKeyCredentialPolicyFactory(credential: AzureKeyCredential) { +/** + * The programmatic identifier of the webPubSubKeyCredentialPolicy. + */ +export const webPubSubKeyCredentialPolicyName = "webPubSubKeyCredentialPolicy"; + +/** + * Create an HTTP pipeline policy to authenticate a request + * using an `AzureKeyCredential` for Text Analytics + * @internal + */ +export function webPubSubKeyCredentialPolicy(credential: KeyCredential): PipelinePolicy { return { - create: (nextPolicy: RequestPolicy, options: RequestPolicyOptions) => { - return new WebPubSubKeyCredentialPolicy(nextPolicy, options, credential); + name: webPubSubKeyCredentialPolicyName, + sendRequest(request: PipelineRequest, next: SendRequest): Promise { + const bearerToken = jwt.sign({}, credential.key, { + audience: request.url, + expiresIn: "1h", + algorithm: "HS256" + }); + request.headers.set("Authorization", `Bearer ${bearerToken}`); + return next(request); } }; } - -export class WebPubSubKeyCredentialPolicy extends BaseRequestPolicy { - public credential: AzureKeyCredential; - - constructor( - nextPolicy: RequestPolicy, - options: RequestPolicyOptions, - credential: AzureKeyCredential - ) { - super(nextPolicy, options); - this.credential = credential; - } - - public sendRequest(request: WebResource): Promise { - request.headers.set( - "Authorization", - "Bearer " + - jwt.sign({}, this.credential.key, { - audience: request.url, - expiresIn: "1h", - algorithm: "HS256" - }) - ); - - return this._nextPolicy.sendRequest(request); - } -} diff --git a/sdk/web-pubsub/web-pubsub/swagger/README.md b/sdk/web-pubsub/web-pubsub/swagger/README.md new file mode 100644 index 000000000000..2972271766e8 --- /dev/null +++ b/sdk/web-pubsub/web-pubsub/swagger/README.md @@ -0,0 +1,28 @@ +# Azure Web PubSub Protocol Layer + +> see https://aka.ms/autorest + +## Configuration + +```yaml +package-name: "@azure/web-pubsub" +title: GeneratedClient +description: Web PubSub Client +generate-metadata: false +license-header: MICROSOFT_MIT_NO_VERSION +output-folder: ../ +source-code-folder-path: ./src/generated +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/webpubsub/data-plane/WebPubSub/preview/2021-05-01-preview/webpubsub.json +add-credentials: false +package-version: 1.0.0-beta.3 +v3: true +hide-clients: true +use-core-v2: true +use-extension: + "@autorest/modelerfour": "4.19.3" +``` + +## Customizations for Track 2 Generator + +See the [AutoRest samples](https://github.com/Azure/autorest/tree/master/Samples/3b-custom-transformations) +for more about how we're customizing things. diff --git a/sdk/web-pubsub/web-pubsub/test/conn.spec.ts b/sdk/web-pubsub/web-pubsub/test/conn.spec.ts index b276c9983407..8e2aa21717e4 100644 --- a/sdk/web-pubsub/web-pubsub/test/conn.spec.ts +++ b/sdk/web-pubsub/web-pubsub/test/conn.spec.ts @@ -2,7 +2,7 @@ // Licensed under the MIT license. /* eslint-disable no-invalid-this */ import { parseConnectionString } from "../src/parseConnectionString"; -import * as assert from "assert"; +import { assert } from "chai"; describe("Can parse connection string", function() { it("can parse valid connection string", async () => { diff --git a/sdk/web-pubsub/web-pubsub/test/groups.spec.ts b/sdk/web-pubsub/web-pubsub/test/groups.spec.ts index fb3f971b3d7c..a9f62745911a 100644 --- a/sdk/web-pubsub/web-pubsub/test/groups.spec.ts +++ b/sdk/web-pubsub/web-pubsub/test/groups.spec.ts @@ -3,14 +3,19 @@ /* eslint-disable no-invalid-this */ import { env, Recorder, record } from "@azure/test-utils-recorder"; import { WebPubSubServiceClient, WebPubSubGroup } from "../src"; -import * as assert from "assert"; +import { assert } from "chai"; import environmentSetup from "./testEnv"; -import { RestError } from "@azure/core-http"; +import { FullOperationResponse } from "@azure/core-client"; +import { RestError } from "@azure/core-rest-pipeline"; describe("Group client working with a group", function() { this.timeout(30000); let recorder: Recorder; let client: WebPubSubGroup; + let lastResponse: FullOperationResponse | undefined; + function onResponse(response: FullOperationResponse) { + lastResponse = response; + } beforeEach(function() { recorder = record(this, environmentSetup); const hubClient = new WebPubSubServiceClient(env.WPS_CONNECTION_STRING, "simplechat"); @@ -18,49 +23,37 @@ describe("Group client working with a group", function() { }); it("can broadcast to groups", async () => { - let res = await client.sendToAll("hello", { contentType: "text/plain" }); - assert.equal(res._response.status, 202); + await client.sendToAll("hello", { contentType: "text/plain", onResponse }); + assert.equal(lastResponse?.status, 202); - res = await client.sendToAll({ x: 1, y: 2 }); - assert.equal(res._response.status, 202); + await client.sendToAll({ x: 1, y: 2 }, { onResponse }); + assert.equal(lastResponse?.status, 202); const binaryMessage = new Uint8Array(10); - res = await client.sendToAll(binaryMessage.buffer); - assert.equal(res._response.status, 202); + await client.sendToAll(binaryMessage.buffer, { onResponse }); + assert.equal(lastResponse?.status, 202); }); it("can manage connections", async () => { // this endpoint returns 404 for connections not on the hub - let error: RestError; + let error: RestError | undefined; try { await client.addConnection("xxxx"); } catch (e) { error = e; } - assert.notStrictEqual(error!, undefined); - assert.equal(error!.name, "RestError"); + assert.exists(error); + assert.strictEqual(error?.name, "RestError"); // this endpoint just returns 200 if the connection isn't present - const res2 = await client.removeConnection("xxxx"); - assert.equal(res2._response.status, 200); + await client.removeConnection("xxxx", { onResponse }); + assert.equal(lastResponse?.status, 200); }); it("can manage users", async () => { - const res = await client.addUser("brian"); - assert.equal(res._response.status, 200); - - const hasBrian = await client.hasUser("brian"); - assert.ok(hasBrian); - - const hasJeff = await client.hasUser("jeff"); - assert.ok(!hasJeff); - - const res2 = await client.removeUser("brian"); - assert.equal(res2._response.status, 200); - - const hasBrianNow = await client.hasUser("brian"); - assert.ok(!hasBrianNow); + await client.addUser("brian"); + await client.removeUser("brian"); }); afterEach(async function() { diff --git a/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts b/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts index 00dbd13d085f..5dac4db0c96c 100644 --- a/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts +++ b/sdk/web-pubsub/web-pubsub/test/hubs.spec.ts @@ -3,8 +3,9 @@ /* eslint-disable no-invalid-this */ import { env, Recorder, record } from "@azure/test-utils-recorder"; import { WebPubSubServiceClient, AzureKeyCredential } from "../src"; -import * as assert from "assert"; +import { assert } from "chai"; import environmentSetup from "./testEnv"; +import { FullOperationResponse } from "@azure/core-client"; describe("HubClient", function() { let recorder: Recorder; @@ -19,11 +20,6 @@ describe("HubClient", function() { }); describe("Constructing a HubClient", () => { - let cred: AzureKeyCredential; - beforeEach(function() { - cred = new AzureKeyCredential(env.WPS_API_KEY); - }); - it("takes a connection string, hub name, and options", () => { assert.doesNotThrow(() => { new WebPubSubServiceClient(env.WPS_CONNECTION_STRING, "test-hub", { @@ -34,62 +30,74 @@ describe("HubClient", function() { it("takes an endpoint, an API key, a hub name, and options", () => { assert.doesNotThrow(() => { - new WebPubSubServiceClient(env.ENDPOINT, cred, "test-hub", { - retryOptions: { maxRetries: 2 } - }); + new WebPubSubServiceClient( + env.ENDPOINT, + new AzureKeyCredential(env.WPS_API_KEY), + "test-hub", + { + retryOptions: { maxRetries: 2 } + } + ); }); }); }); describe("Working with a hub", function() { - this.timeout(30000); let client: WebPubSubServiceClient; + let lastResponse: FullOperationResponse | undefined; + function onResponse(response: FullOperationResponse) { + lastResponse = response; + } beforeEach(function() { client = new WebPubSubServiceClient(env.WPS_CONNECTION_STRING, "simplechat"); }); it("can broadcast", async () => { - let res = await client.sendToAll("hello", { contentType: "text/plain" }); - assert.equal(res._response.status, 202); + await client.sendToAll("hello", { contentType: "text/plain", onResponse }); + assert.equal(lastResponse?.status, 202); - res = await client.sendToAll({ x: 1, y: 2 }); - assert.equal(res._response.status, 202); + await client.sendToAll({ x: 1, y: 2 }, { onResponse }); + assert.equal(lastResponse?.status, 202); const binaryMessage = new Uint8Array(10); - res = await client.sendToAll(binaryMessage.buffer); - assert.equal(res._response.status, 202); + await client.sendToAll(binaryMessage.buffer, { onResponse }); + assert.equal(lastResponse?.status, 202); }); it("can send messages to a user", async () => { - let res = await client.sendToUser("brian", "hello", { contentType: "text/plain" }); - assert.equal(res._response.status, 202); + await client.sendToUser("brian", "hello", { + contentType: "text/plain", + onResponse + }); + assert.equal(lastResponse?.status, 202); - res = await client.sendToUser("brian", { x: 1, y: 2 }); - assert.equal(res._response.status, 202); + await client.sendToUser("brian", { x: 1, y: 2 }, { onResponse }); + assert.equal(lastResponse?.status, 202); const binaryMessage = new Uint8Array(10); - res = await client.sendToUser("brian", binaryMessage.buffer); - assert.equal(res._response.status, 202); + await client.sendToUser("brian", binaryMessage.buffer, { onResponse }); + assert.equal(lastResponse?.status, 202); }); it("can send messages to a connection", async () => { - let res = await client.sendToConnection("xxxx", "hello", { contentType: "text/plain" }); - assert.equal(res._response.status, 202); + await client.sendToConnection("xxxx", "hello", { contentType: "text/plain", onResponse }); + assert.equal(lastResponse?.status, 202); - res = await client.sendToConnection("xxxx", { x: 1, y: 2 }); - assert.equal(res._response.status, 202); + await client.sendToConnection("xxxx", { x: 1, y: 2 }, { onResponse }); + assert.equal(lastResponse?.status, 202); const binaryMessage = new Uint8Array(10); - res = await client.sendToConnection("xxxx", binaryMessage.buffer); - assert.equal(res._response.status, 202); + await client.sendToConnection("xxxx", binaryMessage.buffer, { onResponse }); + assert.equal(lastResponse?.status, 202); }); - it("can manage users", async () => { + // `removeUserFromAllGroups` always times out. + it.skip("can manage users", async () => { + this.timeout(Infinity); const res = await client.hasUser("foo"); assert.ok(!res); - - const res2 = await client.removeUserFromAllGroups("brian"); - assert.equal(res2._response.status, 200); + await client.removeUserFromAllGroups("brian", { onResponse }); + assert.equal(lastResponse?.status, 200); }); it("can check if a connection exists", async () => { From 5c5c2cfef6310c35aba40fad25e0a35a468a2fdc Mon Sep 17 00:00:00 2001 From: Matt Ellis Date: Mon, 28 Jun 2021 13:24:03 -0700 Subject: [PATCH 076/134] [EventGrid] Move to Core V2 Generator (#16047) As part of the development of the new pipeline, event grid was hand ported to use the new pipeline. Now that the code generator targets the new pipeline, we can start using it to generate the code. Since EventGrid includes the `/api/events` path segment in the Endpoint, We need to do a small amount of post processing of the generated code, to ensure `/api/events` is not appended to the endpoint (we do this by setting an empty path in the operation spec, which is as things were before moving over to the generator). Fixes #15823 --- sdk/eventgrid/eventgrid/package.json | 2 +- .../eventgrid/scripts/setPathToEmpty.js | 12 + .../src/generated/generatedClient.ts | 34 +- .../src/generated/generatedClientContext.ts | 29 +- .../eventgrid/src/generated/models/index.ts | 28 +- .../eventgrid/src/generated/models/mappers.ts | 330 +++++++++--------- sdk/eventgrid/eventgrid/swagger/README.md | 30 +- 7 files changed, 261 insertions(+), 204 deletions(-) create mode 100644 sdk/eventgrid/eventgrid/scripts/setPathToEmpty.js diff --git a/sdk/eventgrid/eventgrid/package.json b/sdk/eventgrid/eventgrid/package.json index 2bab3114d7a7..0a2b75a92b8a 100644 --- a/sdk/eventgrid/eventgrid/package.json +++ b/sdk/eventgrid/eventgrid/package.json @@ -60,7 +60,7 @@ }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", - "build:autorest": "autorest ./swagger/README.md --typescript --v3", + "build:autorest": "autorest ./swagger/README.md --typescript --v3 && node ./scripts/setPathToEmpty.js", "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1", "build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1", "build:samples": "echo Obsolete", diff --git a/sdk/eventgrid/eventgrid/scripts/setPathToEmpty.js b/sdk/eventgrid/eventgrid/scripts/setPathToEmpty.js new file mode 100644 index 000000000000..2b2c812937df --- /dev/null +++ b/sdk/eventgrid/eventgrid/scripts/setPathToEmpty.js @@ -0,0 +1,12 @@ +"use strict"; +const fs = require("fs"); + +// The "endpoint" shown in the portal and CLI for an Azure Event Grid includes the "/api/events" +// path parameter. We need to ensure that we don't add another "/api/events" suffix, but there +// is not a way to express this in swagger. So, we post process the generated client to ensure +// that the operation spec we build has the empty string for the path to append. +console.log("Updating ./scr/generate/generateClient.ts path entries"); +let data = fs.readFileSync("./src/generated/generatedClient.ts", "utf8"); +data = data.replace(new RegExp('path: "/api/events"', "g"), 'path: ""'); +fs.writeFileSync("./src/generated/generatedClient.ts", data, "utf8"); +console.log("Done Updating ./scr/generate/generateClient.ts path entries"); diff --git a/sdk/eventgrid/eventgrid/src/generated/generatedClient.ts b/sdk/eventgrid/eventgrid/src/generated/generatedClient.ts index 3c1bfb6c8472..cc90a7648b68 100644 --- a/sdk/eventgrid/eventgrid/src/generated/generatedClient.ts +++ b/sdk/eventgrid/eventgrid/src/generated/generatedClient.ts @@ -6,13 +6,20 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { OperationOptions, OperationSpec, createSerializer } from "@azure/core-client"; +import * as coreClient from "@azure/core-client"; import * as Parameters from "./models/parameters"; import * as Mappers from "./models/mappers"; import { GeneratedClientContext } from "./generatedClientContext"; -import { GeneratedClientOptionalParams, EventGridEvent, CloudEvent } from "./models"; +import { + GeneratedClientOptionalParams, + EventGridEvent, + GeneratedClientPublishEventsOptionalParams, + CloudEvent, + GeneratedClientPublishCloudEventEventsOptionalParams, + GeneratedClientPublishCustomEventEventsOptionalParams +} from "./models"; -/** @hidden */ +/** @internal */ export class GeneratedClient extends GeneratedClientContext { /** * Initializes a new instance of the GeneratedClient class. @@ -31,9 +38,9 @@ export class GeneratedClient extends GeneratedClientContext { publishEvents( topicHostname: string, events: EventGridEvent[], - options?: OperationOptions + options?: GeneratedClientPublishEventsOptionalParams ): Promise { - return this.sendOperationRequest( + return this.sendOperationRequest( { topicHostname, events, options }, publishEventsOperationSpec ); @@ -48,9 +55,9 @@ export class GeneratedClient extends GeneratedClientContext { publishCloudEventEvents( topicHostname: string, events: CloudEvent[], - options?: OperationOptions + options?: GeneratedClientPublishCloudEventEventsOptionalParams ): Promise { - return this.sendOperationRequest( + return this.sendOperationRequest( { topicHostname, events, options }, publishCloudEventEventsOperationSpec ); @@ -65,19 +72,18 @@ export class GeneratedClient extends GeneratedClientContext { publishCustomEventEvents( topicHostname: string, events: any[], - options?: OperationOptions + options?: GeneratedClientPublishCustomEventEventsOptionalParams ): Promise { - return this.sendOperationRequest( + return this.sendOperationRequest( { topicHostname, events, options }, publishCustomEventEventsOperationSpec ); } } // Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); -const serializer = createSerializer(Mappers, /* isXml */ false); - -const publishEventsOperationSpec: OperationSpec = { +const publishEventsOperationSpec: coreClient.OperationSpec = { path: "", httpMethod: "POST", responses: { 200: {}, default: {} }, @@ -88,7 +94,7 @@ const publishEventsOperationSpec: OperationSpec = { mediaType: "json", serializer }; -const publishCloudEventEventsOperationSpec: OperationSpec = { +const publishCloudEventEventsOperationSpec: coreClient.OperationSpec = { path: "", httpMethod: "POST", responses: { 200: {}, default: {} }, @@ -99,7 +105,7 @@ const publishCloudEventEventsOperationSpec: OperationSpec = { mediaType: "json", serializer }; -const publishCustomEventEventsOperationSpec: OperationSpec = { +const publishCustomEventEventsOperationSpec: coreClient.OperationSpec = { path: "", httpMethod: "POST", responses: { 200: {}, default: {} }, diff --git a/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts b/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts index e54dccb52e98..5e7b468d4700 100644 --- a/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts +++ b/sdk/eventgrid/eventgrid/src/generated/generatedClientContext.ts @@ -6,32 +6,43 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { ServiceClient } from "@azure/core-client"; +import * as coreClient from "@azure/core-client"; import { GeneratedClientOptionalParams } from "./models"; -export class GeneratedClientContext extends ServiceClient { +/** @internal */ +export class GeneratedClientContext extends coreClient.ServiceClient { apiVersion: string; /** * Initializes a new instance of the GeneratedClientContext class. * @param options The parameter options */ - constructor(options: GeneratedClientOptionalParams = {}) { + constructor(options?: GeneratedClientOptionalParams) { + // Initializing default values for options + if (!options) { + options = {}; + } const defaults: GeneratedClientOptionalParams = { requestContentType: "application/json; charset=utf-8" }; - const { endpoint, apiVersion, ...restOptions } = options; + const packageDetails = `azsdk-js-eventgrid/4.3.1`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; - const optionsWithDefaults: GeneratedClientOptionalParams = { + const optionsWithDefaults = { ...defaults, - ...restOptions, - baseUri: endpoint || "{topicHostname}" + ...options, + userAgentOptions: { + userAgentPrefix + }, + baseUri: options.endpoint || "{topicHostname}" }; - super(optionsWithDefaults); // Assigning values to Constant parameters - this.apiVersion = apiVersion || "2018-01-01"; + this.apiVersion = options.apiVersion || "2018-01-01"; } } diff --git a/sdk/eventgrid/eventgrid/src/generated/models/index.ts b/sdk/eventgrid/eventgrid/src/generated/models/index.ts index d13295545ec5..3fe8c0c9cb64 100644 --- a/sdk/eventgrid/eventgrid/src/generated/models/index.ts +++ b/sdk/eventgrid/eventgrid/src/generated/models/index.ts @@ -5,7 +5,8 @@ * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { ServiceClientOptions } from "@azure/core-client"; + +import * as coreClient from "@azure/core-client"; export type MediaJobOutputUnion = MediaJobOutput | MediaJobOutputAsset; @@ -2369,7 +2370,7 @@ export const enum KnownAppAction { * Defines values for AppAction. \ * {@link KnownAppAction} can be used interchangeably with AppAction, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **Restarted**: Web app was restarted. \ * **Stopped**: Web app was stopped. \ * **ChangedAppSettings**: There was an operation to change app setting on the web app. \ @@ -2393,7 +2394,7 @@ export const enum KnownStampKind { * Defines values for StampKind. \ * {@link KnownStampKind} can be used interchangeably with StampKind, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **Public**: App Service Plan is running on a public stamp. \ * **AseV1**: App Service Plan is running on an App Service Environment V1. \ * **AseV2**: App Service Plan is running on an App Service Environment V2. @@ -2410,7 +2411,7 @@ export const enum KnownAppServicePlanAction { * Defines values for AppServicePlanAction. \ * {@link KnownAppServicePlanAction} can be used interchangeably with AppServicePlanAction, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **Updated**: App Service plan is being updated. */ export type AppServicePlanAction = string; @@ -2429,7 +2430,7 @@ export const enum KnownAsyncStatus { * Defines values for AsyncStatus. \ * {@link KnownAsyncStatus} can be used interchangeably with AsyncStatus, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **Started**: Async operation has started. \ * **Completed**: Async operation has completed. \ * **Failed**: Async operation failed to complete. @@ -2447,7 +2448,7 @@ export const enum KnownCommunicationCloudEnvironmentModel { * Defines values for CommunicationCloudEnvironmentModel. \ * {@link KnownCommunicationCloudEnvironmentModel} can be used interchangeably with CommunicationCloudEnvironmentModel, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **public** \ * **dod** \ * **gcch** @@ -2484,7 +2485,20 @@ export type MediaJobErrorCategory = export type MediaJobRetry = "DoNotRetry" | "MayRetry"; /** Optional parameters. */ -export interface GeneratedClientOptionalParams extends ServiceClientOptions { +export interface GeneratedClientPublishEventsOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface GeneratedClientPublishCloudEventEventsOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface GeneratedClientPublishCustomEventEventsOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface GeneratedClientOptionalParams + extends coreClient.ServiceClientOptions { /** Api Version */ apiVersion?: string; /** Overrides client endpoint. */ diff --git a/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts b/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts index bd0ce68f509a..0fa5418fabe0 100644 --- a/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts +++ b/sdk/eventgrid/eventgrid/src/generated/models/mappers.ts @@ -6,9 +6,9 @@ * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ -import { CompositeMapper } from "@azure/core-client"; +import * as coreClient from "@azure/core-client"; -export const EventGridEvent: CompositeMapper = { +export const EventGridEvent: coreClient.CompositeMapper = { type: { name: "Composite", className: "EventGridEvent", @@ -72,7 +72,7 @@ export const EventGridEvent: CompositeMapper = { } }; -export const CloudEvent: CompositeMapper = { +export const CloudEvent: coreClient.CompositeMapper = { type: { name: "Composite", className: "CloudEvent", @@ -146,7 +146,7 @@ export const CloudEvent: CompositeMapper = { } }; -export const StorageBlobCreatedEventData: CompositeMapper = { +export const StorageBlobCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageBlobCreatedEventData", @@ -239,7 +239,7 @@ export const StorageBlobCreatedEventData: CompositeMapper = { } }; -export const StorageBlobDeletedEventData: CompositeMapper = { +export const StorageBlobDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageBlobDeletedEventData", @@ -311,7 +311,7 @@ export const StorageBlobDeletedEventData: CompositeMapper = { } }; -export const StorageDirectoryCreatedEventData: CompositeMapper = { +export const StorageDirectoryCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageDirectoryCreatedEventData", @@ -376,7 +376,7 @@ export const StorageDirectoryCreatedEventData: CompositeMapper = { } }; -export const StorageDirectoryDeletedEventData: CompositeMapper = { +export const StorageDirectoryDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageDirectoryDeletedEventData", @@ -441,7 +441,7 @@ export const StorageDirectoryDeletedEventData: CompositeMapper = { } }; -export const StorageBlobRenamedEventData: CompositeMapper = { +export const StorageBlobRenamedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageBlobRenamedEventData", @@ -506,7 +506,7 @@ export const StorageBlobRenamedEventData: CompositeMapper = { } }; -export const StorageDirectoryRenamedEventData: CompositeMapper = { +export const StorageDirectoryRenamedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageDirectoryRenamedEventData", @@ -571,7 +571,7 @@ export const StorageDirectoryRenamedEventData: CompositeMapper = { } }; -export const StorageLifecyclePolicyCompletedEventData: CompositeMapper = { +export const StorageLifecyclePolicyCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageLifecyclePolicyCompletedEventData", @@ -608,7 +608,7 @@ export const StorageLifecyclePolicyCompletedEventData: CompositeMapper = { } }; -export const StorageLifecyclePolicyActionSummaryDetail: CompositeMapper = { +export const StorageLifecyclePolicyActionSummaryDetail: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageLifecyclePolicyActionSummaryDetail", @@ -638,7 +638,7 @@ export const StorageLifecyclePolicyActionSummaryDetail: CompositeMapper = { } }; -export const StorageBlobTierChangedEventData: CompositeMapper = { +export const StorageBlobTierChangedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageBlobTierChangedEventData", @@ -717,7 +717,7 @@ export const StorageBlobTierChangedEventData: CompositeMapper = { } }; -export const StorageAsyncOperationInitiatedEventData: CompositeMapper = { +export const StorageAsyncOperationInitiatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageAsyncOperationInitiatedEventData", @@ -796,7 +796,7 @@ export const StorageAsyncOperationInitiatedEventData: CompositeMapper = { } }; -export const StorageBlobInventoryPolicyCompletedEventData: CompositeMapper = { +export const StorageBlobInventoryPolicyCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "StorageBlobInventoryPolicyCompletedEventData", @@ -854,7 +854,7 @@ export const StorageBlobInventoryPolicyCompletedEventData: CompositeMapper = { } }; -export const EventHubCaptureFileCreatedEventData: CompositeMapper = { +export const EventHubCaptureFileCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "EventHubCaptureFileCreatedEventData", @@ -926,7 +926,7 @@ export const EventHubCaptureFileCreatedEventData: CompositeMapper = { } }; -export const ResourceWriteSuccessEventData: CompositeMapper = { +export const ResourceWriteSuccessEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceWriteSuccessEventData", @@ -1012,7 +1012,7 @@ export const ResourceWriteSuccessEventData: CompositeMapper = { } }; -export const ResourceWriteFailureEventData: CompositeMapper = { +export const ResourceWriteFailureEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceWriteFailureEventData", @@ -1098,7 +1098,7 @@ export const ResourceWriteFailureEventData: CompositeMapper = { } }; -export const ResourceWriteCancelEventData: CompositeMapper = { +export const ResourceWriteCancelEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceWriteCancelEventData", @@ -1184,7 +1184,7 @@ export const ResourceWriteCancelEventData: CompositeMapper = { } }; -export const ResourceDeleteSuccessEventData: CompositeMapper = { +export const ResourceDeleteSuccessEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceDeleteSuccessEventData", @@ -1270,7 +1270,7 @@ export const ResourceDeleteSuccessEventData: CompositeMapper = { } }; -export const ResourceDeleteFailureEventData: CompositeMapper = { +export const ResourceDeleteFailureEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceDeleteFailureEventData", @@ -1356,7 +1356,7 @@ export const ResourceDeleteFailureEventData: CompositeMapper = { } }; -export const ResourceDeleteCancelEventData: CompositeMapper = { +export const ResourceDeleteCancelEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceDeleteCancelEventData", @@ -1442,7 +1442,7 @@ export const ResourceDeleteCancelEventData: CompositeMapper = { } }; -export const ResourceActionSuccessEventData: CompositeMapper = { +export const ResourceActionSuccessEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceActionSuccessEventData", @@ -1528,7 +1528,7 @@ export const ResourceActionSuccessEventData: CompositeMapper = { } }; -export const ResourceActionFailureEventData: CompositeMapper = { +export const ResourceActionFailureEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceActionFailureEventData", @@ -1614,7 +1614,7 @@ export const ResourceActionFailureEventData: CompositeMapper = { } }; -export const ResourceActionCancelEventData: CompositeMapper = { +export const ResourceActionCancelEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ResourceActionCancelEventData", @@ -1700,7 +1700,7 @@ export const ResourceActionCancelEventData: CompositeMapper = { } }; -export const SubscriptionValidationEventData: CompositeMapper = { +export const SubscriptionValidationEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "SubscriptionValidationEventData", @@ -1725,7 +1725,7 @@ export const SubscriptionValidationEventData: CompositeMapper = { } }; -export const SubscriptionValidationResponse: CompositeMapper = { +export const SubscriptionValidationResponse: coreClient.CompositeMapper = { type: { name: "Composite", className: "SubscriptionValidationResponse", @@ -1741,7 +1741,7 @@ export const SubscriptionValidationResponse: CompositeMapper = { } }; -export const SubscriptionDeletedEventData: CompositeMapper = { +export const SubscriptionDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "SubscriptionDeletedEventData", @@ -1758,7 +1758,7 @@ export const SubscriptionDeletedEventData: CompositeMapper = { } }; -export const DeviceLifeCycleEvent: CompositeMapper = { +export const DeviceLifeCycleEvent: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceLifeCycleEvent", @@ -1788,7 +1788,7 @@ export const DeviceLifeCycleEvent: CompositeMapper = { } }; -export const DeviceTwinInfo: CompositeMapper = { +export const DeviceTwinInfo: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceTwinInfo", @@ -1874,7 +1874,7 @@ export const DeviceTwinInfo: CompositeMapper = { } }; -export const DeviceTwinInfoProperties: CompositeMapper = { +export const DeviceTwinInfoProperties: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceTwinInfoProperties", @@ -1897,7 +1897,7 @@ export const DeviceTwinInfoProperties: CompositeMapper = { } }; -export const DeviceTwin: CompositeMapper = { +export const DeviceTwin: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceTwin", @@ -1920,7 +1920,7 @@ export const DeviceTwin: CompositeMapper = { } }; -export const DeviceTwinMetadata: CompositeMapper = { +export const DeviceTwinMetadata: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceTwinMetadata", @@ -1936,7 +1936,7 @@ export const DeviceTwinMetadata: CompositeMapper = { } }; -export const DeviceTwinInfoX509Thumbprint: CompositeMapper = { +export const DeviceTwinInfoX509Thumbprint: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceTwinInfoX509Thumbprint", @@ -1957,7 +1957,7 @@ export const DeviceTwinInfoX509Thumbprint: CompositeMapper = { } }; -export const DeviceConnectionStateEvent: CompositeMapper = { +export const DeviceConnectionStateEvent: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceConnectionStateEvent", @@ -1994,7 +1994,7 @@ export const DeviceConnectionStateEvent: CompositeMapper = { } }; -export const DeviceConnectionStateEventInfo: CompositeMapper = { +export const DeviceConnectionStateEventInfo: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceConnectionStateEventInfo", @@ -2010,7 +2010,7 @@ export const DeviceConnectionStateEventInfo: CompositeMapper = { } }; -export const DeviceTelemetryEvent: CompositeMapper = { +export const DeviceTelemetryEvent: coreClient.CompositeMapper = { type: { name: "Composite", className: "DeviceTelemetryEvent", @@ -2042,7 +2042,7 @@ export const DeviceTelemetryEvent: CompositeMapper = { } }; -export const ContainerRegistryEventData: CompositeMapper = { +export const ContainerRegistryEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryEventData", @@ -2100,7 +2100,7 @@ export const ContainerRegistryEventData: CompositeMapper = { } }; -export const ContainerRegistryEventTarget: CompositeMapper = { +export const ContainerRegistryEventTarget: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryEventTarget", @@ -2158,7 +2158,7 @@ export const ContainerRegistryEventTarget: CompositeMapper = { } }; -export const ContainerRegistryEventRequest: CompositeMapper = { +export const ContainerRegistryEventRequest: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryEventRequest", @@ -2202,7 +2202,7 @@ export const ContainerRegistryEventRequest: CompositeMapper = { } }; -export const ContainerRegistryEventActor: CompositeMapper = { +export const ContainerRegistryEventActor: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryEventActor", @@ -2218,7 +2218,7 @@ export const ContainerRegistryEventActor: CompositeMapper = { } }; -export const ContainerRegistryEventSource: CompositeMapper = { +export const ContainerRegistryEventSource: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryEventSource", @@ -2241,7 +2241,7 @@ export const ContainerRegistryEventSource: CompositeMapper = { } }; -export const ContainerRegistryArtifactEventData: CompositeMapper = { +export const ContainerRegistryArtifactEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryArtifactEventData", @@ -2278,7 +2278,7 @@ export const ContainerRegistryArtifactEventData: CompositeMapper = { } }; -export const ContainerRegistryArtifactEventTarget: CompositeMapper = { +export const ContainerRegistryArtifactEventTarget: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryArtifactEventTarget", @@ -2336,7 +2336,7 @@ export const ContainerRegistryArtifactEventTarget: CompositeMapper = { } }; -export const ServiceBusActiveMessagesAvailableWithNoListenersEventData: CompositeMapper = { +export const ServiceBusActiveMessagesAvailableWithNoListenersEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ServiceBusActiveMessagesAvailableWithNoListenersEventData", @@ -2387,7 +2387,7 @@ export const ServiceBusActiveMessagesAvailableWithNoListenersEventData: Composit } }; -export const ServiceBusDeadletterMessagesAvailableWithNoListenersEventData: CompositeMapper = { +export const ServiceBusDeadletterMessagesAvailableWithNoListenersEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ServiceBusDeadletterMessagesAvailableWithNoListenersEventData", @@ -2438,7 +2438,7 @@ export const ServiceBusDeadletterMessagesAvailableWithNoListenersEventData: Comp } }; -export const ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData: CompositeMapper = { +export const ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: @@ -2490,7 +2490,7 @@ export const ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData: Co } }; -export const ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData: CompositeMapper = { +export const ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: @@ -2542,7 +2542,7 @@ export const ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData } }; -export const MediaJobStateChangeEventData: CompositeMapper = { +export const MediaJobStateChangeEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaJobStateChangeEventData", @@ -2593,7 +2593,7 @@ export const MediaJobStateChangeEventData: CompositeMapper = { } }; -export const MediaJobError: CompositeMapper = { +export const MediaJobError: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaJobError", @@ -2667,7 +2667,7 @@ export const MediaJobError: CompositeMapper = { } }; -export const MediaJobErrorDetail: CompositeMapper = { +export const MediaJobErrorDetail: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaJobErrorDetail", @@ -2692,7 +2692,7 @@ export const MediaJobErrorDetail: CompositeMapper = { } }; -export const MediaJobOutput: CompositeMapper = { +export const MediaJobOutput: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaJobOutput", @@ -2749,7 +2749,7 @@ export const MediaJobOutput: CompositeMapper = { } }; -export const MediaJobOutputProgressEventData: CompositeMapper = { +export const MediaJobOutputProgressEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobOutputProgress", type: { name: "Composite", @@ -2781,7 +2781,7 @@ export const MediaJobOutputProgressEventData: CompositeMapper = { } }; -export const MediaJobOutputStateChangeEventData: CompositeMapper = { +export const MediaJobOutputStateChangeEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaJobOutputStateChangeEventData", @@ -2822,7 +2822,7 @@ export const MediaJobOutputStateChangeEventData: CompositeMapper = { } }; -export const MediaLiveEventEncoderConnectedEventData: CompositeMapper = { +export const MediaLiveEventEncoderConnectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventEncoderConnectedEventData", @@ -2863,7 +2863,7 @@ export const MediaLiveEventEncoderConnectedEventData: CompositeMapper = { } }; -export const MediaLiveEventConnectionRejectedEventData: CompositeMapper = { +export const MediaLiveEventConnectionRejectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventConnectionRejectedEventData", @@ -2912,7 +2912,7 @@ export const MediaLiveEventConnectionRejectedEventData: CompositeMapper = { } }; -export const MediaLiveEventEncoderDisconnectedEventData: CompositeMapper = { +export const MediaLiveEventEncoderDisconnectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventEncoderDisconnectedEventData", @@ -2961,7 +2961,7 @@ export const MediaLiveEventEncoderDisconnectedEventData: CompositeMapper = { } }; -export const MediaLiveEventIncomingStreamReceivedEventData: CompositeMapper = { +export const MediaLiveEventIncomingStreamReceivedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventIncomingStreamReceivedEventData", @@ -3042,7 +3042,7 @@ export const MediaLiveEventIncomingStreamReceivedEventData: CompositeMapper = { } }; -export const MediaLiveEventIncomingStreamsOutOfSyncEventData: CompositeMapper = { +export const MediaLiveEventIncomingStreamsOutOfSyncEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventIncomingStreamsOutOfSyncEventData", @@ -3099,7 +3099,7 @@ export const MediaLiveEventIncomingStreamsOutOfSyncEventData: CompositeMapper = } }; -export const MediaLiveEventIncomingVideoStreamsOutOfSyncEventData: CompositeMapper = { +export const MediaLiveEventIncomingVideoStreamsOutOfSyncEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventIncomingVideoStreamsOutOfSyncEventData", @@ -3148,7 +3148,7 @@ export const MediaLiveEventIncomingVideoStreamsOutOfSyncEventData: CompositeMapp } }; -export const MediaLiveEventIncomingDataChunkDroppedEventData: CompositeMapper = { +export const MediaLiveEventIncomingDataChunkDroppedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventIncomingDataChunkDroppedEventData", @@ -3205,7 +3205,7 @@ export const MediaLiveEventIncomingDataChunkDroppedEventData: CompositeMapper = } }; -export const MediaLiveEventIngestHeartbeatEventData: CompositeMapper = { +export const MediaLiveEventIngestHeartbeatEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventIngestHeartbeatEventData", @@ -3310,7 +3310,7 @@ export const MediaLiveEventIngestHeartbeatEventData: CompositeMapper = { } }; -export const MediaLiveEventTrackDiscontinuityDetectedEventData: CompositeMapper = { +export const MediaLiveEventTrackDiscontinuityDetectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MediaLiveEventTrackDiscontinuityDetectedEventData", @@ -3375,7 +3375,7 @@ export const MediaLiveEventTrackDiscontinuityDetectedEventData: CompositeMapper } }; -export const MapsGeofenceEvent: CompositeMapper = { +export const MapsGeofenceEvent: coreClient.CompositeMapper = { type: { name: "Composite", className: "MapsGeofenceEvent", @@ -3428,7 +3428,7 @@ export const MapsGeofenceEvent: CompositeMapper = { } }; -export const MapsGeofenceGeometry: CompositeMapper = { +export const MapsGeofenceGeometry: coreClient.CompositeMapper = { type: { name: "Composite", className: "MapsGeofenceGeometry", @@ -3479,7 +3479,7 @@ export const MapsGeofenceGeometry: CompositeMapper = { } }; -export const AppConfigurationKeyValueModifiedEventData: CompositeMapper = { +export const AppConfigurationKeyValueModifiedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AppConfigurationKeyValueModifiedEventData", @@ -3516,7 +3516,7 @@ export const AppConfigurationKeyValueModifiedEventData: CompositeMapper = { } }; -export const AppConfigurationKeyValueDeletedEventData: CompositeMapper = { +export const AppConfigurationKeyValueDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AppConfigurationKeyValueDeletedEventData", @@ -3553,7 +3553,7 @@ export const AppConfigurationKeyValueDeletedEventData: CompositeMapper = { } }; -export const SignalRServiceClientConnectionConnectedEventData: CompositeMapper = { +export const SignalRServiceClientConnectionConnectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "SignalRServiceClientConnectionConnectedEventData", @@ -3590,7 +3590,7 @@ export const SignalRServiceClientConnectionConnectedEventData: CompositeMapper = } }; -export const SignalRServiceClientConnectionDisconnectedEventData: CompositeMapper = { +export const SignalRServiceClientConnectionDisconnectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "SignalRServiceClientConnectionDisconnectedEventData", @@ -3634,7 +3634,7 @@ export const SignalRServiceClientConnectionDisconnectedEventData: CompositeMappe } }; -export const KeyVaultCertificateNewVersionCreatedEventData: CompositeMapper = { +export const KeyVaultCertificateNewVersionCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultCertificateNewVersionCreatedEventData", @@ -3692,7 +3692,7 @@ export const KeyVaultCertificateNewVersionCreatedEventData: CompositeMapper = { } }; -export const KeyVaultCertificateNearExpiryEventData: CompositeMapper = { +export const KeyVaultCertificateNearExpiryEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultCertificateNearExpiryEventData", @@ -3750,7 +3750,7 @@ export const KeyVaultCertificateNearExpiryEventData: CompositeMapper = { } }; -export const KeyVaultCertificateExpiredEventData: CompositeMapper = { +export const KeyVaultCertificateExpiredEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultCertificateExpiredEventData", @@ -3808,7 +3808,7 @@ export const KeyVaultCertificateExpiredEventData: CompositeMapper = { } }; -export const KeyVaultKeyNewVersionCreatedEventData: CompositeMapper = { +export const KeyVaultKeyNewVersionCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultKeyNewVersionCreatedEventData", @@ -3866,7 +3866,7 @@ export const KeyVaultKeyNewVersionCreatedEventData: CompositeMapper = { } }; -export const KeyVaultKeyNearExpiryEventData: CompositeMapper = { +export const KeyVaultKeyNearExpiryEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultKeyNearExpiryEventData", @@ -3924,7 +3924,7 @@ export const KeyVaultKeyNearExpiryEventData: CompositeMapper = { } }; -export const KeyVaultKeyExpiredEventData: CompositeMapper = { +export const KeyVaultKeyExpiredEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultKeyExpiredEventData", @@ -3982,7 +3982,7 @@ export const KeyVaultKeyExpiredEventData: CompositeMapper = { } }; -export const KeyVaultSecretNewVersionCreatedEventData: CompositeMapper = { +export const KeyVaultSecretNewVersionCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultSecretNewVersionCreatedEventData", @@ -4040,7 +4040,7 @@ export const KeyVaultSecretNewVersionCreatedEventData: CompositeMapper = { } }; -export const KeyVaultSecretNearExpiryEventData: CompositeMapper = { +export const KeyVaultSecretNearExpiryEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultSecretNearExpiryEventData", @@ -4098,7 +4098,7 @@ export const KeyVaultSecretNearExpiryEventData: CompositeMapper = { } }; -export const KeyVaultSecretExpiredEventData: CompositeMapper = { +export const KeyVaultSecretExpiredEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultSecretExpiredEventData", @@ -4156,7 +4156,7 @@ export const KeyVaultSecretExpiredEventData: CompositeMapper = { } }; -export const KeyVaultAccessPolicyChangedEventData: CompositeMapper = { +export const KeyVaultAccessPolicyChangedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "KeyVaultAccessPolicyChangedEventData", @@ -4214,7 +4214,7 @@ export const KeyVaultAccessPolicyChangedEventData: CompositeMapper = { } }; -export const MachineLearningServicesModelRegisteredEventData: CompositeMapper = { +export const MachineLearningServicesModelRegisteredEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MachineLearningServicesModelRegisteredEventData", @@ -4251,7 +4251,7 @@ export const MachineLearningServicesModelRegisteredEventData: CompositeMapper = } }; -export const MachineLearningServicesModelDeployedEventData: CompositeMapper = { +export const MachineLearningServicesModelDeployedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MachineLearningServicesModelDeployedEventData", @@ -4295,7 +4295,7 @@ export const MachineLearningServicesModelDeployedEventData: CompositeMapper = { } }; -export const MachineLearningServicesRunCompletedEventData: CompositeMapper = { +export const MachineLearningServicesRunCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MachineLearningServicesRunCompletedEventData", @@ -4346,7 +4346,7 @@ export const MachineLearningServicesRunCompletedEventData: CompositeMapper = { } }; -export const MachineLearningServicesDatasetDriftDetectedEventData: CompositeMapper = { +export const MachineLearningServicesDatasetDriftDetectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MachineLearningServicesDatasetDriftDetectedEventData", @@ -4411,7 +4411,7 @@ export const MachineLearningServicesDatasetDriftDetectedEventData: CompositeMapp } }; -export const MachineLearningServicesRunStatusChangedEventData: CompositeMapper = { +export const MachineLearningServicesRunStatusChangedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MachineLearningServicesRunStatusChangedEventData", @@ -4469,7 +4469,7 @@ export const MachineLearningServicesRunStatusChangedEventData: CompositeMapper = } }; -export const RedisPatchingCompletedEventData: CompositeMapper = { +export const RedisPatchingCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "RedisPatchingCompletedEventData", @@ -4499,7 +4499,7 @@ export const RedisPatchingCompletedEventData: CompositeMapper = { } }; -export const RedisScalingCompletedEventData: CompositeMapper = { +export const RedisScalingCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "RedisScalingCompletedEventData", @@ -4529,7 +4529,7 @@ export const RedisScalingCompletedEventData: CompositeMapper = { } }; -export const RedisExportRDBCompletedEventData: CompositeMapper = { +export const RedisExportRDBCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "RedisExportRDBCompletedEventData", @@ -4559,7 +4559,7 @@ export const RedisExportRDBCompletedEventData: CompositeMapper = { } }; -export const RedisImportRDBCompletedEventData: CompositeMapper = { +export const RedisImportRDBCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "RedisImportRDBCompletedEventData", @@ -4589,7 +4589,7 @@ export const RedisImportRDBCompletedEventData: CompositeMapper = { } }; -export const WebAppUpdatedEventData: CompositeMapper = { +export const WebAppUpdatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebAppUpdatedEventData", @@ -4647,7 +4647,7 @@ export const WebAppUpdatedEventData: CompositeMapper = { } }; -export const AppEventTypeDetail: CompositeMapper = { +export const AppEventTypeDetail: coreClient.CompositeMapper = { type: { name: "Composite", className: "AppEventTypeDetail", @@ -4663,7 +4663,7 @@ export const AppEventTypeDetail: CompositeMapper = { } }; -export const WebBackupOperationStartedEventData: CompositeMapper = { +export const WebBackupOperationStartedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebBackupOperationStartedEventData", @@ -4721,7 +4721,7 @@ export const WebBackupOperationStartedEventData: CompositeMapper = { } }; -export const WebBackupOperationCompletedEventData: CompositeMapper = { +export const WebBackupOperationCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebBackupOperationCompletedEventData", @@ -4779,7 +4779,7 @@ export const WebBackupOperationCompletedEventData: CompositeMapper = { } }; -export const WebBackupOperationFailedEventData: CompositeMapper = { +export const WebBackupOperationFailedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebBackupOperationFailedEventData", @@ -4837,7 +4837,7 @@ export const WebBackupOperationFailedEventData: CompositeMapper = { } }; -export const WebRestoreOperationStartedEventData: CompositeMapper = { +export const WebRestoreOperationStartedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebRestoreOperationStartedEventData", @@ -4895,7 +4895,7 @@ export const WebRestoreOperationStartedEventData: CompositeMapper = { } }; -export const WebRestoreOperationCompletedEventData: CompositeMapper = { +export const WebRestoreOperationCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebRestoreOperationCompletedEventData", @@ -4953,7 +4953,7 @@ export const WebRestoreOperationCompletedEventData: CompositeMapper = { } }; -export const WebRestoreOperationFailedEventData: CompositeMapper = { +export const WebRestoreOperationFailedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebRestoreOperationFailedEventData", @@ -5011,7 +5011,7 @@ export const WebRestoreOperationFailedEventData: CompositeMapper = { } }; -export const WebSlotSwapStartedEventData: CompositeMapper = { +export const WebSlotSwapStartedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebSlotSwapStartedEventData", @@ -5069,7 +5069,7 @@ export const WebSlotSwapStartedEventData: CompositeMapper = { } }; -export const WebSlotSwapCompletedEventData: CompositeMapper = { +export const WebSlotSwapCompletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebSlotSwapCompletedEventData", @@ -5127,7 +5127,7 @@ export const WebSlotSwapCompletedEventData: CompositeMapper = { } }; -export const WebSlotSwapFailedEventData: CompositeMapper = { +export const WebSlotSwapFailedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebSlotSwapFailedEventData", @@ -5185,7 +5185,7 @@ export const WebSlotSwapFailedEventData: CompositeMapper = { } }; -export const WebSlotSwapWithPreviewStartedEventData: CompositeMapper = { +export const WebSlotSwapWithPreviewStartedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebSlotSwapWithPreviewStartedEventData", @@ -5243,7 +5243,7 @@ export const WebSlotSwapWithPreviewStartedEventData: CompositeMapper = { } }; -export const WebSlotSwapWithPreviewCancelledEventData: CompositeMapper = { +export const WebSlotSwapWithPreviewCancelledEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebSlotSwapWithPreviewCancelledEventData", @@ -5301,7 +5301,7 @@ export const WebSlotSwapWithPreviewCancelledEventData: CompositeMapper = { } }; -export const WebAppServicePlanUpdatedEventData: CompositeMapper = { +export const WebAppServicePlanUpdatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebAppServicePlanUpdatedEventData", @@ -5366,7 +5366,7 @@ export const WebAppServicePlanUpdatedEventData: CompositeMapper = { } }; -export const AppServicePlanEventTypeDetail: CompositeMapper = { +export const AppServicePlanEventTypeDetail: coreClient.CompositeMapper = { type: { name: "Composite", className: "AppServicePlanEventTypeDetail", @@ -5396,7 +5396,7 @@ export const AppServicePlanEventTypeDetail: CompositeMapper = { } }; -export const WebAppServicePlanUpdatedEventDataSku: CompositeMapper = { +export const WebAppServicePlanUpdatedEventDataSku: coreClient.CompositeMapper = { type: { name: "Composite", className: "WebAppServicePlanUpdatedEventDataSku", @@ -5435,7 +5435,7 @@ export const WebAppServicePlanUpdatedEventDataSku: CompositeMapper = { } }; -export const CommunicationIdentifierModel: CompositeMapper = { +export const CommunicationIdentifierModel: coreClient.CompositeMapper = { type: { name: "Composite", className: "CommunicationIdentifierModel", @@ -5472,7 +5472,7 @@ export const CommunicationIdentifierModel: CompositeMapper = { } }; -export const CommunicationUserIdentifierModel: CompositeMapper = { +export const CommunicationUserIdentifierModel: coreClient.CompositeMapper = { type: { name: "Composite", className: "CommunicationUserIdentifierModel", @@ -5488,7 +5488,7 @@ export const CommunicationUserIdentifierModel: CompositeMapper = { } }; -export const PhoneNumberIdentifierModel: CompositeMapper = { +export const PhoneNumberIdentifierModel: coreClient.CompositeMapper = { type: { name: "Composite", className: "PhoneNumberIdentifierModel", @@ -5504,7 +5504,7 @@ export const PhoneNumberIdentifierModel: CompositeMapper = { } }; -export const MicrosoftTeamsUserIdentifierModel: CompositeMapper = { +export const MicrosoftTeamsUserIdentifierModel: coreClient.CompositeMapper = { type: { name: "Composite", className: "MicrosoftTeamsUserIdentifierModel", @@ -5532,7 +5532,7 @@ export const MicrosoftTeamsUserIdentifierModel: CompositeMapper = { } }; -export const AcsChatEventBase: CompositeMapper = { +export const AcsChatEventBase: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatEventBase", @@ -5562,7 +5562,7 @@ export const AcsChatEventBase: CompositeMapper = { } }; -export const AcsChatEventInThreadBase: CompositeMapper = { +export const AcsChatEventInThreadBase: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatEventInThreadBase", @@ -5585,7 +5585,7 @@ export const AcsChatEventInThreadBase: CompositeMapper = { } }; -export const AcsChatThreadParticipant: CompositeMapper = { +export const AcsChatThreadParticipant: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadParticipant", @@ -5608,7 +5608,7 @@ export const AcsChatThreadParticipant: CompositeMapper = { } }; -export const AcsSmsDeliveryAttempt: CompositeMapper = { +export const AcsSmsDeliveryAttempt: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsSmsDeliveryAttempt", @@ -5638,7 +5638,7 @@ export const AcsSmsDeliveryAttempt: CompositeMapper = { } }; -export const AcsSmsEventBase: CompositeMapper = { +export const AcsSmsEventBase: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsSmsEventBase", @@ -5668,7 +5668,7 @@ export const AcsSmsEventBase: CompositeMapper = { } }; -export const AcsRecordingFileStatusUpdatedEventData: CompositeMapper = { +export const AcsRecordingFileStatusUpdatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsRecordingFileStatusUpdatedEventData", @@ -5705,7 +5705,7 @@ export const AcsRecordingFileStatusUpdatedEventData: CompositeMapper = { } }; -export const AcsRecordingStorageInfo: CompositeMapper = { +export const AcsRecordingStorageInfo: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsRecordingStorageInfo", @@ -5727,7 +5727,7 @@ export const AcsRecordingStorageInfo: CompositeMapper = { } }; -export const AcsRecordingChunkInfo: CompositeMapper = { +export const AcsRecordingChunkInfo: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsRecordingChunkInfo", @@ -5771,7 +5771,7 @@ export const AcsRecordingChunkInfo: CompositeMapper = { } }; -export const PolicyInsightsPolicyStateCreatedEventData: CompositeMapper = { +export const PolicyInsightsPolicyStateCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "PolicyInsightsPolicyStateCreatedEventData", @@ -5829,7 +5829,7 @@ export const PolicyInsightsPolicyStateCreatedEventData: CompositeMapper = { } }; -export const PolicyInsightsPolicyStateChangedEventData: CompositeMapper = { +export const PolicyInsightsPolicyStateChangedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "PolicyInsightsPolicyStateChangedEventData", @@ -5887,7 +5887,7 @@ export const PolicyInsightsPolicyStateChangedEventData: CompositeMapper = { } }; -export const PolicyInsightsPolicyStateDeletedEventData: CompositeMapper = { +export const PolicyInsightsPolicyStateDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "PolicyInsightsPolicyStateDeletedEventData", @@ -5945,7 +5945,7 @@ export const PolicyInsightsPolicyStateDeletedEventData: CompositeMapper = { } }; -export const IotHubDeviceCreatedEventData: CompositeMapper = { +export const IotHubDeviceCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "IotHubDeviceCreatedEventData", @@ -5955,7 +5955,7 @@ export const IotHubDeviceCreatedEventData: CompositeMapper = { } }; -export const IotHubDeviceDeletedEventData: CompositeMapper = { +export const IotHubDeviceDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "IotHubDeviceDeletedEventData", @@ -5965,7 +5965,7 @@ export const IotHubDeviceDeletedEventData: CompositeMapper = { } }; -export const IotHubDeviceConnectedEventData: CompositeMapper = { +export const IotHubDeviceConnectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "IotHubDeviceConnectedEventData", @@ -5975,7 +5975,7 @@ export const IotHubDeviceConnectedEventData: CompositeMapper = { } }; -export const IotHubDeviceDisconnectedEventData: CompositeMapper = { +export const IotHubDeviceDisconnectedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "IotHubDeviceDisconnectedEventData", @@ -5985,7 +5985,7 @@ export const IotHubDeviceDisconnectedEventData: CompositeMapper = { } }; -export const IotHubDeviceTelemetryEventData: CompositeMapper = { +export const IotHubDeviceTelemetryEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "IotHubDeviceTelemetryEventData", @@ -5995,7 +5995,7 @@ export const IotHubDeviceTelemetryEventData: CompositeMapper = { } }; -export const ContainerRegistryImagePushedEventData: CompositeMapper = { +export const ContainerRegistryImagePushedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryImagePushedEventData", @@ -6005,7 +6005,7 @@ export const ContainerRegistryImagePushedEventData: CompositeMapper = { } }; -export const ContainerRegistryImageDeletedEventData: CompositeMapper = { +export const ContainerRegistryImageDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryImageDeletedEventData", @@ -6015,7 +6015,7 @@ export const ContainerRegistryImageDeletedEventData: CompositeMapper = { } }; -export const ContainerRegistryChartPushedEventData: CompositeMapper = { +export const ContainerRegistryChartPushedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryChartPushedEventData", @@ -6025,7 +6025,7 @@ export const ContainerRegistryChartPushedEventData: CompositeMapper = { } }; -export const ContainerRegistryChartDeletedEventData: CompositeMapper = { +export const ContainerRegistryChartDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "ContainerRegistryChartDeletedEventData", @@ -6035,7 +6035,7 @@ export const ContainerRegistryChartDeletedEventData: CompositeMapper = { } }; -export const MediaJobScheduledEventData: CompositeMapper = { +export const MediaJobScheduledEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobScheduled", type: { name: "Composite", @@ -6046,7 +6046,7 @@ export const MediaJobScheduledEventData: CompositeMapper = { } }; -export const MediaJobProcessingEventData: CompositeMapper = { +export const MediaJobProcessingEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobProcessing", type: { name: "Composite", @@ -6057,7 +6057,7 @@ export const MediaJobProcessingEventData: CompositeMapper = { } }; -export const MediaJobCancelingEventData: CompositeMapper = { +export const MediaJobCancelingEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobCanceling", type: { name: "Composite", @@ -6068,7 +6068,7 @@ export const MediaJobCancelingEventData: CompositeMapper = { } }; -export const MediaJobFinishedEventData: CompositeMapper = { +export const MediaJobFinishedEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobFinished", type: { name: "Composite", @@ -6092,7 +6092,7 @@ export const MediaJobFinishedEventData: CompositeMapper = { } }; -export const MediaJobCanceledEventData: CompositeMapper = { +export const MediaJobCanceledEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobCanceled", type: { name: "Composite", @@ -6116,7 +6116,7 @@ export const MediaJobCanceledEventData: CompositeMapper = { } }; -export const MediaJobErroredEventData: CompositeMapper = { +export const MediaJobErroredEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobErrored", type: { name: "Composite", @@ -6140,7 +6140,7 @@ export const MediaJobErroredEventData: CompositeMapper = { } }; -export const MediaJobOutputAsset: CompositeMapper = { +export const MediaJobOutputAsset: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobOutputAsset", type: { name: "Composite", @@ -6160,7 +6160,7 @@ export const MediaJobOutputAsset: CompositeMapper = { } }; -export const MediaJobOutputCanceledEventData: CompositeMapper = { +export const MediaJobOutputCanceledEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobOutputCanceled", type: { name: "Composite", @@ -6171,7 +6171,7 @@ export const MediaJobOutputCanceledEventData: CompositeMapper = { } }; -export const MediaJobOutputCancelingEventData: CompositeMapper = { +export const MediaJobOutputCancelingEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobOutputCanceling", type: { name: "Composite", @@ -6182,7 +6182,7 @@ export const MediaJobOutputCancelingEventData: CompositeMapper = { } }; -export const MediaJobOutputErroredEventData: CompositeMapper = { +export const MediaJobOutputErroredEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobOutputErrored", type: { name: "Composite", @@ -6193,7 +6193,7 @@ export const MediaJobOutputErroredEventData: CompositeMapper = { } }; -export const MediaJobOutputFinishedEventData: CompositeMapper = { +export const MediaJobOutputFinishedEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobOutputFinished", type: { name: "Composite", @@ -6204,7 +6204,7 @@ export const MediaJobOutputFinishedEventData: CompositeMapper = { } }; -export const MediaJobOutputProcessingEventData: CompositeMapper = { +export const MediaJobOutputProcessingEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobOutputProcessing", type: { name: "Composite", @@ -6215,7 +6215,7 @@ export const MediaJobOutputProcessingEventData: CompositeMapper = { } }; -export const MediaJobOutputScheduledEventData: CompositeMapper = { +export const MediaJobOutputScheduledEventData: coreClient.CompositeMapper = { serializedName: "#Microsoft.Media.JobOutputScheduled", type: { name: "Composite", @@ -6226,7 +6226,7 @@ export const MediaJobOutputScheduledEventData: CompositeMapper = { } }; -export const MapsGeofenceEnteredEventData: CompositeMapper = { +export const MapsGeofenceEnteredEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MapsGeofenceEnteredEventData", @@ -6236,7 +6236,7 @@ export const MapsGeofenceEnteredEventData: CompositeMapper = { } }; -export const MapsGeofenceExitedEventData: CompositeMapper = { +export const MapsGeofenceExitedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MapsGeofenceExitedEventData", @@ -6246,7 +6246,7 @@ export const MapsGeofenceExitedEventData: CompositeMapper = { } }; -export const MapsGeofenceResultEventData: CompositeMapper = { +export const MapsGeofenceResultEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "MapsGeofenceResultEventData", @@ -6256,7 +6256,7 @@ export const MapsGeofenceResultEventData: CompositeMapper = { } }; -export const AcsChatMessageEventBase: CompositeMapper = { +export const AcsChatMessageEventBase: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatMessageEventBase", @@ -6308,7 +6308,7 @@ export const AcsChatMessageEventBase: CompositeMapper = { } }; -export const AcsChatThreadEventBase: CompositeMapper = { +export const AcsChatThreadEventBase: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadEventBase", @@ -6332,7 +6332,7 @@ export const AcsChatThreadEventBase: CompositeMapper = { } }; -export const AcsChatMessageEventInThreadBase: CompositeMapper = { +export const AcsChatMessageEventInThreadBase: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatMessageEventInThreadBase", @@ -6384,7 +6384,7 @@ export const AcsChatMessageEventInThreadBase: CompositeMapper = { } }; -export const AcsChatThreadEventInThreadBase: CompositeMapper = { +export const AcsChatThreadEventInThreadBase: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadEventInThreadBase", @@ -6408,7 +6408,7 @@ export const AcsChatThreadEventInThreadBase: CompositeMapper = { } }; -export const AcsChatParticipantAddedToThreadEventData: CompositeMapper = { +export const AcsChatParticipantAddedToThreadEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatParticipantAddedToThreadEventData", @@ -6446,7 +6446,7 @@ export const AcsChatParticipantAddedToThreadEventData: CompositeMapper = { } }; -export const AcsChatParticipantRemovedFromThreadEventData: CompositeMapper = { +export const AcsChatParticipantRemovedFromThreadEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatParticipantRemovedFromThreadEventData", @@ -6484,7 +6484,7 @@ export const AcsChatParticipantRemovedFromThreadEventData: CompositeMapper = { } }; -export const AcsSmsDeliveryReportReceivedEventData: CompositeMapper = { +export const AcsSmsDeliveryReportReceivedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsSmsDeliveryReportReceivedEventData", @@ -6535,7 +6535,7 @@ export const AcsSmsDeliveryReportReceivedEventData: CompositeMapper = { } }; -export const AcsSmsReceivedEventData: CompositeMapper = { +export const AcsSmsReceivedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsSmsReceivedEventData", @@ -6559,7 +6559,7 @@ export const AcsSmsReceivedEventData: CompositeMapper = { } }; -export const AcsChatMessageReceivedEventData: CompositeMapper = { +export const AcsChatMessageReceivedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatMessageReceivedEventData", @@ -6576,7 +6576,7 @@ export const AcsChatMessageReceivedEventData: CompositeMapper = { } }; -export const AcsChatMessageEditedEventData: CompositeMapper = { +export const AcsChatMessageEditedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatMessageEditedEventData", @@ -6600,7 +6600,7 @@ export const AcsChatMessageEditedEventData: CompositeMapper = { } }; -export const AcsChatMessageDeletedEventData: CompositeMapper = { +export const AcsChatMessageDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatMessageDeletedEventData", @@ -6617,7 +6617,7 @@ export const AcsChatMessageDeletedEventData: CompositeMapper = { } }; -export const AcsChatThreadCreatedWithUserEventData: CompositeMapper = { +export const AcsChatThreadCreatedWithUserEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadCreatedWithUserEventData", @@ -6655,7 +6655,7 @@ export const AcsChatThreadCreatedWithUserEventData: CompositeMapper = { } }; -export const AcsChatThreadWithUserDeletedEventData: CompositeMapper = { +export const AcsChatThreadWithUserDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadWithUserDeletedEventData", @@ -6679,7 +6679,7 @@ export const AcsChatThreadWithUserDeletedEventData: CompositeMapper = { } }; -export const AcsChatThreadPropertiesUpdatedPerUserEventData: CompositeMapper = { +export const AcsChatThreadPropertiesUpdatedPerUserEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadPropertiesUpdatedPerUserEventData", @@ -6711,7 +6711,7 @@ export const AcsChatThreadPropertiesUpdatedPerUserEventData: CompositeMapper = { } }; -export const AcsChatParticipantAddedToThreadWithUserEventData: CompositeMapper = { +export const AcsChatParticipantAddedToThreadWithUserEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatParticipantAddedToThreadWithUserEventData", @@ -6742,7 +6742,7 @@ export const AcsChatParticipantAddedToThreadWithUserEventData: CompositeMapper = } }; -export const AcsChatParticipantRemovedFromThreadWithUserEventData: CompositeMapper = { +export const AcsChatParticipantRemovedFromThreadWithUserEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatParticipantRemovedFromThreadWithUserEventData", @@ -6773,7 +6773,7 @@ export const AcsChatParticipantRemovedFromThreadWithUserEventData: CompositeMapp } }; -export const AcsChatMessageReceivedInThreadEventData: CompositeMapper = { +export const AcsChatMessageReceivedInThreadEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatMessageReceivedInThreadEventData", @@ -6790,7 +6790,7 @@ export const AcsChatMessageReceivedInThreadEventData: CompositeMapper = { } }; -export const AcsChatMessageEditedInThreadEventData: CompositeMapper = { +export const AcsChatMessageEditedInThreadEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatMessageEditedInThreadEventData", @@ -6814,7 +6814,7 @@ export const AcsChatMessageEditedInThreadEventData: CompositeMapper = { } }; -export const AcsChatMessageDeletedInThreadEventData: CompositeMapper = { +export const AcsChatMessageDeletedInThreadEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatMessageDeletedInThreadEventData", @@ -6831,7 +6831,7 @@ export const AcsChatMessageDeletedInThreadEventData: CompositeMapper = { } }; -export const AcsChatThreadCreatedEventData: CompositeMapper = { +export const AcsChatThreadCreatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadCreatedEventData", @@ -6869,7 +6869,7 @@ export const AcsChatThreadCreatedEventData: CompositeMapper = { } }; -export const AcsChatThreadDeletedEventData: CompositeMapper = { +export const AcsChatThreadDeletedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadDeletedEventData", @@ -6893,7 +6893,7 @@ export const AcsChatThreadDeletedEventData: CompositeMapper = { } }; -export const AcsChatThreadPropertiesUpdatedEventData: CompositeMapper = { +export const AcsChatThreadPropertiesUpdatedEventData: coreClient.CompositeMapper = { type: { name: "Composite", className: "AcsChatThreadPropertiesUpdatedEventData", diff --git a/sdk/eventgrid/eventgrid/swagger/README.md b/sdk/eventgrid/eventgrid/swagger/README.md index 2fb0bd6c5eff..6945165d38d8 100644 --- a/sdk/eventgrid/eventgrid/swagger/README.md +++ b/sdk/eventgrid/eventgrid/swagger/README.md @@ -16,16 +16,27 @@ license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ save-inputs: true source-code-folder-path: ./src/generated -use-extension: - "@autorest/typescript": "6.0.0-dev.20210121.2" +typescript: true hide-clients: true ``` ## Customizations -### Mark a descriminator property as "required" +### Don't force a scheme -Newer versions of AutoRest complain during validation about the descriminator property being required +The endpoint URL will already have a scheme, don't add yet another one. + +```yaml +directive: + - from: swagger-document + where: $["x-ms-parameterized-host"] + transform: > + $.useSchemePrefix = false; +``` + +### Mark a discriminator property as "required" + +Newer versions of AutoRest complain during validation about the discriminator property being required ```yaml directive: @@ -101,11 +112,14 @@ directive: if ($[definition].properties && $[definition].required === undefined) { const properties = Object.keys($[definition].properties); if (properties.length > 0) { - $[definition].required = properties; + switch (definition) { + case "CommunicationIdentifierModel": + $[definition].required = ["rawId"]; + break; + default: + $[definition].required = properties; + } } } } - - // Fix up CommunicationIdentifierModel where this huristic is wrong. - $["CommunicationIdentifierModel"].required = ["rawId"]; ``` From 018fd4605f3dbbef797f524c3784c499baac96ad Mon Sep 17 00:00:00 2001 From: KarishmaGhiya Date: Mon, 28 Jun 2021 13:37:53 -0700 Subject: [PATCH 077/134] update the redundant responses (#16051) --- .../review/ai-metrics-advisor.api.md | 52 ++++++------------- .../samples-dev/dataFeed.ts | 4 +- .../samples-dev/dataSourceCredential.ts | 4 +- .../samples-dev/quickstart.ts | 4 +- .../samples/v1/javascript/README.md | 2 +- .../samples/v1/typescript/README.md | 2 +- .../samples/v1/typescript/src/dataFeed.ts | 4 +- .../v1/typescript/src/dataSourceCredential.ts | 4 +- .../samples/v1/typescript/src/quickstart.ts | 4 +- .../src/metricsAdvisorAdministrationClient.ts | 37 ++++++------- .../src/metricsAdvisorClient.ts | 5 +- .../ai-metrics-advisor/src/models.ts | 30 ----------- 12 files changed, 49 insertions(+), 103 deletions(-) diff --git a/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md b/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md index 0e7c07d847a3..2cce8159fcb7 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md @@ -523,24 +523,6 @@ export type FeedbackQueryTimeMode = "MetricTimestamp" | "FeedbackCreatedTime"; // @public export type FeedbackType = "Anomaly" | "ChangePoint" | "Period" | "Comment"; -// @public -export type GetAlertConfigResponse = AnomalyAlertConfiguration; - -// @public -export type GetDataFeedResponse = MetricsAdvisorDataFeed; - -// @public -export type GetDataSourceCredentialEntityResponse = DataSourceCredentialEntityUnion; - -// @public -export type GetDetectionConfigResponse = AnomalyDetectionConfiguration; - -// @public -export type GetFeedbackResponse = MetricFeedbackUnion; - -// @public -export type GetHookResponse = NotificationHookUnion; - // @public export type GetIncidentRootCauseResponse = { rootCauses: IncidentRootCause[]; @@ -869,23 +851,23 @@ export type MetricPeriodFeedback = { // @public export class MetricsAdvisorAdministrationClient { constructor(endpointUrl: string, credential: TokenCredential | MetricsAdvisorKeyCredential, options?: MetricsAdvisorAdministrationClientOptions); - createAlertConfig(config: Omit, options?: OperationOptions): Promise; - createDataFeed(feed: DataFeedDescriptor, operationOptions?: CreateDataFeedOptions): Promise; - createDataSourceCredential(dataSourceCredential: DataSourceCredentialEntityUnion, options?: OperationOptions): Promise; - createDetectionConfig(config: Omit, options?: OperationOptions): Promise; - createHook(hookInfo: EmailNotificationHook | WebNotificationHook, options?: OperationOptions): Promise; + createAlertConfig(config: Omit, options?: OperationOptions): Promise; + createDataFeed(feed: DataFeedDescriptor, operationOptions?: CreateDataFeedOptions): Promise; + createDataSourceCredential(dataSourceCredential: DataSourceCredentialEntityUnion, options?: OperationOptions): Promise; + createDetectionConfig(config: Omit, options?: OperationOptions): Promise; + createHook(hookInfo: EmailNotificationHook | WebNotificationHook, options?: OperationOptions): Promise; deleteAlertConfig(id: string, options?: OperationOptions): Promise; deleteDataFeed(id: string, options?: OperationOptions): Promise; deleteDataSourceCredential(id: string, options?: OperationOptions): Promise; deleteDetectionConfig(id: string, options?: OperationOptions): Promise; deleteHook(id: string, options?: OperationOptions): Promise; readonly endpointUrl: string; - getAlertConfig(id: string, options?: OperationOptions): Promise; - getDataFeed(id: string, options?: OperationOptions): Promise; + getAlertConfig(id: string, options?: OperationOptions): Promise; + getDataFeed(id: string, options?: OperationOptions): Promise; getDataFeedIngestionProgress(dataFeedId: string, options?: {}): Promise; - getDataSourceCredential(id: string, options?: OperationOptions): Promise; - getDetectionConfig(id: string, options?: OperationOptions): Promise; - getHook(id: string, options?: OperationOptions): Promise; + getDataSourceCredential(id: string, options?: OperationOptions): Promise; + getDetectionConfig(id: string, options?: OperationOptions): Promise; + getHook(id: string, options?: OperationOptions): Promise; listAlertConfigs(detectionConfigId: string, options?: OperationOptions): PagedAsyncIterableIterator; listDataFeedIngestionStatus(dataFeedId: string, startTime: Date | string, endTime: Date | string, options?: ListDataFeedIngestionStatusOptions): PagedAsyncIterableIterator; listDataFeeds(options?: ListDataFeedsOptions): PagedAsyncIterableIterator; @@ -893,11 +875,11 @@ export class MetricsAdvisorAdministrationClient { listDetectionConfigs(metricId: string, options?: OperationOptions): PagedAsyncIterableIterator; listHooks(options?: ListHooksOptions): PagedAsyncIterableIterator; refreshDataFeedIngestion(dataFeedId: string, startTime: Date | string, endTime: Date | string, options?: OperationOptions): Promise; - updateAlertConfig(id: string, patch: Partial>, options?: OperationOptions): Promise; - updateDataFeed(dataFeedId: string, patch: DataFeedPatch, options?: OperationOptions): Promise; - updateDataSourceCredential(id: string, patch: DataSourceCredentialPatch, options?: OperationOptions): Promise; - updateDetectionConfig(id: string, patch: AnomalyDetectionConfigurationPatch, options?: OperationOptions): Promise; - updateHook(id: string, patch: EmailNotificationHookPatch | WebNotificationHookPatch, options?: OperationOptions): Promise; + updateAlertConfig(id: string, patch: Partial>, options?: OperationOptions): Promise; + updateDataFeed(dataFeedId: string, patch: DataFeedPatch, options?: OperationOptions): Promise; + updateDataSourceCredential(id: string, patch: DataSourceCredentialPatch, options?: OperationOptions): Promise; + updateDetectionConfig(id: string, patch: AnomalyDetectionConfigurationPatch, options?: OperationOptions): Promise; + updateHook(id: string, patch: EmailNotificationHookPatch | WebNotificationHookPatch, options?: OperationOptions): Promise; } // @public @@ -907,9 +889,9 @@ export interface MetricsAdvisorAdministrationClientOptions extends PipelineOptio // @public export class MetricsAdvisorClient { constructor(endpointUrl: string, credential: TokenCredential | MetricsAdvisorKeyCredential, options?: MetricsAdvisorClientOptions); - addFeedback(feedback: MetricFeedbackUnion, options?: OperationOptions): Promise; + addFeedback(feedback: MetricFeedbackUnion, options?: OperationOptions): Promise; readonly endpointUrl: string; - getFeedback(id: string, options?: OperationOptions): Promise; + getFeedback(id: string, options?: OperationOptions): Promise; getIncidentRootCauses(detectionConfigId: string, incidentId: string, options?: OperationOptions): Promise; getMetricEnrichedSeriesData(detectionConfigId: string, seriesKey: DimensionKey[], startTime: Date | string, endTime: Date | string, options?: GetMetricEnrichedSeriesDataOptions): Promise; getMetricSeriesData(metricId: string, seriesKey: DimensionKey[], startTime: Date | string, endTime: Date | string, options?: GetMetricSeriesDataOptions): Promise; diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataFeed.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataFeed.ts index 5029a2a39f59..537c97de9dd4 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataFeed.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataFeed.ts @@ -13,7 +13,7 @@ dotenv.config(); import { MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient, - GetDataFeedResponse, + MetricsAdvisorDataFeed, DataFeedPatch, DataFeedDescriptor } from "@azure/ai-metrics-advisor"; @@ -73,7 +73,7 @@ async function listDataFeeds(client: MetricsAdvisorAdministrationClient) { async function createDataFeed( client: MetricsAdvisorAdministrationClient -): Promise { +): Promise { console.log("Creating Datafeed..."); const feed: DataFeedDescriptor = { name: "test-datafeed-" + new Date().getTime().toString(), diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataSourceCredential.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataSourceCredential.ts index 5aa35afb9046..965b44ef89d8 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataSourceCredential.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/dataSourceCredential.ts @@ -13,7 +13,7 @@ dotenv.config(); import { MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient, - GetDataSourceCredentialEntityResponse, + DataSourceCredentialEntityUnion, DataSourceCredentialPatch, DataSourceSqlConnectionString } from "@azure/ai-metrics-advisor"; @@ -73,7 +73,7 @@ async function listDataSourceCredentials(client: MetricsAdvisorAdministrationCli async function createDataSourceCredential( client: MetricsAdvisorAdministrationClient -): Promise { +): Promise { console.log("Creating DataSource credential..."); const datasourceCredential: DataSourceSqlConnectionString = { name: "Sql-server-cred", diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/quickstart.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/quickstart.ts index dfc923d27f41..618ee82f0519 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/quickstart.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples-dev/quickstart.ts @@ -15,7 +15,7 @@ import { MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient, AnomalyAlert, - GetDataFeedResponse, + MetricsAdvisorDataFeed, MetricsAdvisorClient, WebNotificationHook, DataFeedDescriptor, @@ -91,7 +91,7 @@ async function createDataFeed( adminClient: MetricsAdvisorAdministrationClient, sqlServerConnectionString: string, sqlServerQuery: string -): Promise { +): Promise { console.log("Creating Datafeed..."); const dataFeed: DataFeedDescriptor = { name: "test_datafeed_" + new Date().getTime().toString(), diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/README.md b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/README.md index 560ead8c0bd8..df4fe27fbee9 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/README.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/javascript/README.md @@ -29,7 +29,7 @@ These sample programs show how to use the JavaScript client libraries for Azure ## Prerequisites -The sample programs are compatible with Node.js >=12.0.0. +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs: diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/README.md b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/README.md index 135c067d2ad5..3b3967022515 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/README.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/README.md @@ -29,7 +29,7 @@ These sample programs show how to use the TypeScript client libraries for Azure ## Prerequisites -The sample programs are compatible with Node.js >=12.0.0. +The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/). Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts index a059fb5781d7..9eaa609b59de 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataFeed.ts @@ -12,7 +12,7 @@ dotenv.config(); import { MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient, - GetDataFeedResponse, + MetricsAdvisorDataFeed, DataFeedPatch, DataFeedDescriptor } from "@azure/ai-metrics-advisor"; @@ -72,7 +72,7 @@ async function listDataFeeds(client: MetricsAdvisorAdministrationClient) { async function createDataFeed( client: MetricsAdvisorAdministrationClient -): Promise { +): Promise { console.log("Creating Datafeed..."); const feed: DataFeedDescriptor = { name: "test-datafeed-" + new Date().getTime().toString(), diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts index 3df297155ccd..ead9f9f44f95 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/dataSourceCredential.ts @@ -12,7 +12,7 @@ dotenv.config(); import { MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient, - GetDataSourceCredentialEntityResponse, + DataSourceCredentialEntityUnion, DataSourceCredentialPatch, DataSourceSqlConnectionString } from "@azure/ai-metrics-advisor"; @@ -72,7 +72,7 @@ async function listDataSourceCredentials(client: MetricsAdvisorAdministrationCli async function createDataSourceCredential( client: MetricsAdvisorAdministrationClient -): Promise { +): Promise { console.log("Creating DataSource credential..."); const datasourceCredential: DataSourceSqlConnectionString = { name: "Sql-server-cred", diff --git a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts index dd79a66c9a16..81e4f09c5981 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/samples/v1/typescript/src/quickstart.ts @@ -14,7 +14,7 @@ import { MetricsAdvisorKeyCredential, MetricsAdvisorAdministrationClient, AnomalyAlert, - GetDataFeedResponse, + MetricsAdvisorDataFeed, MetricsAdvisorClient, WebNotificationHook, DataFeedDescriptor, @@ -90,7 +90,7 @@ async function createDataFeed( adminClient: MetricsAdvisorAdministrationClient, sqlServerConnectionString: string, sqlServerQuery: string -): Promise { +): Promise { console.log("Creating Datafeed..."); const dataFeed: DataFeedDescriptor = { name: "test_datafeed_" + new Date().getTime().toString(), diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts index 9d8af0b2ce72..dc41a4cc4369 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorAdministrationClient.ts @@ -31,10 +31,6 @@ import { EmailNotificationHookPatch, AnomalyDetectionConfiguration, AnomalyDetectionConfigurationPatch, - GetDataFeedResponse, - GetDetectionConfigResponse, - GetAlertConfigResponse, - GetHookResponse, NotificationHookUnion, DataFeedAutoRollupMethod, DataFeedsPageResponse, @@ -47,8 +43,7 @@ import { AnomalyAlertConfiguration, DataSourceCredentialEntityUnion, DataSourceCredentialPatch, - CredentialsPageResponse, - GetDataSourceCredentialEntityResponse + CredentialsPageResponse } from "./models"; import { DataSourceType, HookInfoUnion, NeedRollupEnum } from "./generated/models"; import { @@ -200,7 +195,7 @@ export class MetricsAdvisorAdministrationClient { public async createDataFeed( feed: DataFeedDescriptor, operationOptions: CreateDataFeedOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-createDataFeed", operationOptions @@ -298,7 +293,7 @@ export class MetricsAdvisorAdministrationClient { public async getDataFeed( id: string, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-getDataFeed", options @@ -466,7 +461,7 @@ export class MetricsAdvisorAdministrationClient { dataFeedId: string, patch: DataFeedPatch, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateDataFeed", options @@ -554,7 +549,7 @@ export class MetricsAdvisorAdministrationClient { public async createDetectionConfig( config: Omit, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-createDetectionConfig", options @@ -592,7 +587,7 @@ export class MetricsAdvisorAdministrationClient { public async getDetectionConfig( id: string, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-getDetectionConfig", options @@ -624,7 +619,7 @@ export class MetricsAdvisorAdministrationClient { id: string, patch: AnomalyDetectionConfigurationPatch, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateDetectionConfig", options @@ -687,7 +682,7 @@ export class MetricsAdvisorAdministrationClient { public async createAlertConfig( config: Omit, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-createAlertConfig", options @@ -726,7 +721,7 @@ export class MetricsAdvisorAdministrationClient { id: string, patch: Partial>, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateAlertConfig", options @@ -761,7 +756,7 @@ export class MetricsAdvisorAdministrationClient { public async getAlertConfig( id: string, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-getAlertConfig", options @@ -933,7 +928,7 @@ export class MetricsAdvisorAdministrationClient { public async createHook( hookInfo: EmailNotificationHook | WebNotificationHook, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-createHook", options @@ -975,7 +970,7 @@ export class MetricsAdvisorAdministrationClient { * @param options - The options parameter. */ - public async getHook(id: string, options: OperationOptions = {}): Promise { + public async getHook(id: string, options: OperationOptions = {}): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-getHook", options @@ -1126,7 +1121,7 @@ export class MetricsAdvisorAdministrationClient { id: string, patch: EmailNotificationHookPatch | WebNotificationHookPatch, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateHook", options @@ -1554,7 +1549,7 @@ export class MetricsAdvisorAdministrationClient { public async createDataSourceCredential( dataSourceCredential: DataSourceCredentialEntityUnion, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-createDataSourceCredential", options @@ -1590,7 +1585,7 @@ export class MetricsAdvisorAdministrationClient { public async getDataSourceCredential( id: string, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-getDataSourceCredential", options @@ -1748,7 +1743,7 @@ export class MetricsAdvisorAdministrationClient { id: string, patch: DataSourceCredentialPatch, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorAdministrationClient-updateDataSourceCredential", options diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts index beecd45eb6fc..feb34a573e9e 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/metricsAdvisorClient.ts @@ -23,7 +23,6 @@ import { AnomalyAlert, GetMetricEnrichedSeriesDataResponse, GetIncidentRootCauseResponse, - GetFeedbackResponse, AlertsPageResponse, IncidentsPageResponse, AnomaliesPageResponse, @@ -1445,7 +1444,7 @@ export class MetricsAdvisorClient { public async addFeedback( feedback: MetricFeedbackUnion, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorClient-addFeedback", options @@ -1480,7 +1479,7 @@ export class MetricsAdvisorClient { public async getFeedback( id: string, options: OperationOptions = {} - ): Promise { + ): Promise { const { span, updatedOptions: finalOptions } = createSpan( "MetricsAdvisorClient-getFeedback", options diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts index 78fcda2c5ef8..72ffda066c82 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts @@ -1659,31 +1659,6 @@ export interface MetricEnrichedSeriesData { // Response types -/** - * Contains response data for the getDataFeed operation. - */ -export type GetDataFeedResponse = MetricsAdvisorDataFeed; - -/** - * Contains response data for the getAnomalyDetectionConfiguration operation. - */ -export type GetDetectionConfigResponse = AnomalyDetectionConfiguration; - -/** - * Contains response data for the getAnomalyAlertConfiguration operation. - */ -export type GetAlertConfigResponse = AnomalyAlertConfiguration; - -/** - * Contains response data for the getHook operation. - */ -export type GetHookResponse = NotificationHookUnion; - -/** - * Contains response data for the getCredentialEntity operation. - */ -export type GetDataSourceCredentialEntityResponse = DataSourceCredentialEntityUnion; - /** * Contains response data for the getMetricEnrichedSeriesData operation. */ @@ -1696,11 +1671,6 @@ export type GetIncidentRootCauseResponse = { rootCauses: IncidentRootCause[]; }; -/** - * Contains response data for the getFeedback operation. - */ -export type GetFeedbackResponse = MetricFeedbackUnion; - /** * Contains response data for the listAlertsForAlertConfiguration operation. */ From 8919e6a3c42b5cacdaed3aed82a2559cd7241741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Mon, 28 Jun 2021 17:19:10 -0400 Subject: [PATCH 078/134] [Identity] node-fetch takes above 2 seconds to send the request on some environments (#15937) --- .../src/credentials/managedIdentityCredential/imdsMsi.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts index f27c43d12f73..a26566ed3ed0 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts @@ -90,7 +90,11 @@ export const imdsMsi: MSI = { // not having a "Metadata" header should cause an error to be // returned quickly from the endpoint, proving its availability. const webResource = identityClient.createWebResource(request); - webResource.timeout = updatedOptions?.requestOptions?.timeout || 500; + + // In Kubernetes pods, node-fetch (used by core-http) takes longer than 2 seconds to begin sending the network request, + // So smaller timeouts will cause this credential to be immediately aborted. + // This won't be a problem once we move Identity to core-rest-pipeline. + webResource.timeout = updatedOptions?.requestOptions?.timeout || 3000; try { logger.info(`Pinging IMDS endpoint`); From ec4abbac0983a2dbde8dea755a00248083ceb988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Mon, 28 Jun 2021 17:21:40 -0400 Subject: [PATCH 079/134] [Identity] Add support for Bridge to Kubernetes to ManagedIdentityCredential (#15856) * [Identity] Add support for Bridge to Kubernetes to ManagedIdentityCredential * one very simple test * forgot this line --- sdk/identity/identity/CHANGELOG.md | 1 + .../managedIdentityCredential/imdsMsi.ts | 7 ++++++- .../internal/node/managedIdentityCredential.spec.ts | 13 ++++++++++++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/sdk/identity/identity/CHANGELOG.md b/sdk/identity/identity/CHANGELOG.md index 4b50feac4357..4ae76abb8356 100644 --- a/sdk/identity/identity/CHANGELOG.md +++ b/sdk/identity/identity/CHANGELOG.md @@ -37,6 +37,7 @@ - `AuthenticationRequiredError` (introduced in 2.0.0-beta.1) now has the same impact on `ChainedTokenCredential` as the `CredentialUnavailableError` which is to allow the next credential in the chain to be tried. - `ManagedIdentityCredential` now retries with exponential back-off when a request for a token fails with a 404 status code on environments with available IMDS endpoints. - Added an `AzurePowerShellCredential` which will use the authenticated user session from the `Az.Account` PowerShell module. This credential will attempt to use PowerShell Core by calling `pwsh`, and on Windows it will fall back to Windows PowerShell (`powershell`) if PowerShell Core is not available. +- Added support to `ManagedIdentityCredential` for Bridge to Kubernetes local development authentication. ### Breaking changes from 2.0.0-beta.1 diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts index a26566ed3ed0..0445d15c764d 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts @@ -44,7 +44,7 @@ function prepareRequestOptions(resource?: string, clientId?: string): RequestPre } return { - url: imdsEndpoint, + url: process.env.AZURE_POD_IDENTITY_TOKEN_URL ?? imdsEndpoint, method: "GET", queryParameters, headers: { @@ -73,6 +73,11 @@ export const imdsMsi: MSI = { getTokenOptions ); + // if the PodIdenityEndpoint environment variable was set no need to probe the endpoint, it can be assumed to exist + if (process.env.AZURE_POD_IDENTITY_TOKEN_URL) { + return true; + } + const request = prepareRequestOptions(resource, clientId); // This will always be populated, but let's make TypeScript happy diff --git a/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts b/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts index aa6ac5f726bd..7eeae6dc72d8 100644 --- a/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts @@ -15,7 +15,10 @@ import { import { MockAuthHttpClient, MockAuthHttpClientOptions, assertRejects } from "../../authTestUtils"; import { OAuthErrorResponse } from "../../../src/client/errors"; import Sinon from "sinon"; -import { imdsMsiRetryConfig } from "../../../src/credentials/managedIdentityCredential/imdsMsi"; +import { + imdsMsi, + imdsMsiRetryConfig +} from "../../../src/credentials/managedIdentityCredential/imdsMsi"; import { mkdtempSync, rmdirSync, unlinkSync, writeFileSync } from "fs"; import { join } from "path"; import { tmpdir } from "os"; @@ -37,6 +40,7 @@ describe("ManagedIdentityCredential", function() { delete process.env.MSI_SECRET; delete process.env.IDENTITY_SERVER_THUMBPRINT; delete process.env.IMDS_ENDPOINT; + delete process.env.AZURE_POD_IDENTITY_TOKEN_URL; sandbox = Sinon.createSandbox(); }); afterEach(() => { @@ -47,6 +51,7 @@ describe("ManagedIdentityCredential", function() { process.env.MSI_SECRET = env.MSI_SECRET; process.env.IDENTITY_SERVER_THUMBPRINT = env.IDENTITY_SERVER_THUMBPRINT; process.env.IMDS_ENDPOINT = env.IMDS_ENDPOINT; + process.env.AZURE_POD_IDENTITY_TOKEN_URL = env.AZURE_POD_IDENTITY_TOKEN_URL; sandbox.restore(); }); @@ -244,6 +249,12 @@ describe("ManagedIdentityCredential", function() { clock.restore(); }); + it("IMDS MSI skips verification if the AZURE_POD_IDENTITY_TOKEN_URL environment variable is available", async function() { + process.env.AZURE_POD_IDENTITY_TOKEN_URL = "token URL"; + + assert.ok(await imdsMsi.isAvailable()); + }); + // Unavailable exception throws while IMDS endpoint is unavailable. This test not valid. // it("can extend timeout for IMDS endpoint", async function() { // // Mock a timeout so that the endpoint ping fails From df68c3eb9bee74b5a3246ee31b0bafbd84f68772 Mon Sep 17 00:00:00 2001 From: Xiao Li Date: Mon, 28 Jun 2021 14:55:48 -0700 Subject: [PATCH 080/134] [Azure Monitor Exporter] Separate tests into internal and public folders (#15932) * [Monitor Exporter] Separate tests into internal and public folders * fix build * put tests in internal * prettier * console log for testing * testing * format * console * try flush processor * format * remove console logs --- .../package.json | 6 +-- .../connectionStringParser.test.ts | 4 +- .../{unit/utils => internal}/eventhub.test.ts | 11 ++--- .../fileSystemPersist.test.ts | 4 +- .../{ => internal}/functional/trace.test.ts | 10 ++-- .../nodejs => internal}/httpSender.test.ts | 10 ++-- .../utils => internal}/spanUtils.test.ts | 20 ++++---- .../trace.exporter.test.ts} | 10 ++-- .../test/{common => utils}/assert.ts | 16 ++++--- .../test/{common/scenario => utils}/basic.ts | 48 +++++++++++-------- .../test/{unit => utils}/breezeTestUtils.ts | 0 .../{common => utils}/flushSpanProcessor.ts | 0 .../test/{common/scenario => utils}/types.ts | 2 +- 13 files changed, 75 insertions(+), 66 deletions(-) rename sdk/monitor/monitor-opentelemetry-exporter/test/{unit/utils => internal}/connectionStringParser.test.ts (97%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{unit/utils => internal}/eventhub.test.ts (93%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{unit/platform/nodejs/persist => internal}/fileSystemPersist.test.ts (96%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{ => internal}/functional/trace.test.ts (79%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{unit/platform/nodejs => internal}/httpSender.test.ts (85%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{unit/utils => internal}/spanUtils.test.ts (94%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{unit/export/trace.test.ts => internal/trace.exporter.test.ts} (96%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{common => utils}/assert.ts (95%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{common/scenario => utils}/basic.ts (77%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{unit => utils}/breezeTestUtils.ts (100%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{common => utils}/flushSpanProcessor.ts (100%) rename sdk/monitor/monitor-opentelemetry-exporter/test/{common/scenario => utils}/types.ts (80%) diff --git a/sdk/monitor/monitor-opentelemetry-exporter/package.json b/sdk/monitor/monitor-opentelemetry-exporter/package.json index fa5218648d87..9e34d67532cb 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/package.json @@ -23,11 +23,11 @@ "test:node": "npm run unit-test:node", "test:browser": "npm run unit-test:browser", "unit-test:browser": "echo skipped", - "unit-test:node": "nyc mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/unit/**/*.test.ts\"", - "unit-test:node:debug": "nyc mocha --inspect-brk -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/unit/**/*.test.ts\"", + "unit-test:node": "nyc mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/internal/**/*.test.ts\"", + "unit-test:node:debug": "nyc mocha --inspect-brk -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/internal/**/*.test.ts\"", "unit-test:node:no-timeout": "echo skipped", "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "functional-test": "nyc mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/functional/**/*.test.ts\"", + "functional-test": "nyc mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/internal/functional/*.test.ts\"", "integration-test:browser": "echo skipped", "integration-test:node": "npm run functional-test", "integration-test": "npm run integration-test:node && npm run integration-test:browser", diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/connectionStringParser.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/connectionStringParser.test.ts similarity index 97% rename from sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/connectionStringParser.test.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/internal/connectionStringParser.test.ts index e00aab1bf7e6..54f8a6fb4ebe 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/connectionStringParser.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/connectionStringParser.test.ts @@ -2,8 +2,8 @@ // Licensed under the MIT license. import * as assert from "assert"; -import * as Constants from "../../../src/Declarations/Constants"; -import { ConnectionStringParser } from "../../../src/utils/connectionStringParser"; +import * as Constants from "../../src/Declarations/Constants"; +import { ConnectionStringParser } from "../../src/utils/connectionStringParser"; describe("ConnectionStringParser", () => { describe("#parse()", () => { diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/eventhub.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/eventhub.test.ts similarity index 93% rename from sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/eventhub.test.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/internal/eventhub.test.ts index afc80c84f4d1..7303ed4a393a 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/eventhub.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/eventhub.test.ts @@ -5,17 +5,14 @@ import { SpanAttributes, HrTime, SpanContext, SpanKind, ROOT_CONTEXT } from "@op import { timeInputToHrTime } from "@opentelemetry/core"; import { BasicTracerProvider, Span } from "@opentelemetry/tracing"; import * as assert from "assert"; -import { - ENQUEUED_TIME, - TIME_SINCE_ENQUEUED -} from "../../../src/utils/constants/applicationinsights"; +import { ENQUEUED_TIME, TIME_SINCE_ENQUEUED } from "../../src/utils/constants/applicationinsights"; import { AzNamespace, MessageBusDestination, MicrosoftEventHub -} from "../../../src/utils/constants/span/azAttributes"; -import { parseEventHubSpan } from "../../../src/utils/eventhub"; -import { RemoteDependencyData, TelemetryItem as Envelope } from "../../../src/generated"; +} from "../../src/utils/constants/span/azAttributes"; +import { parseEventHubSpan } from "../../src/utils/eventhub"; +import { RemoteDependencyData, TelemetryItem as Envelope } from "../../src/generated"; const tracer = new BasicTracerProvider().getTracer("default"); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/persist/fileSystemPersist.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/fileSystemPersist.test.ts similarity index 96% rename from sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/persist/fileSystemPersist.test.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/internal/fileSystemPersist.test.ts index cf5309d182f0..ecd32f7bdff7 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/persist/fileSystemPersist.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/fileSystemPersist.test.ts @@ -5,8 +5,8 @@ import * as assert from "assert"; import * as fs from "fs"; import * as os from "os"; import * as path from "path"; -import { FileSystemPersist } from "../../../../../src/platform/nodejs/persist/fileSystemPersist"; -import { TelemetryItem as Envelope } from "../../../../../src/generated"; +import { FileSystemPersist } from "../../src/platform/nodejs/persist/fileSystemPersist"; +import { TelemetryItem as Envelope } from "../../src/generated"; import { promisify } from "util"; const statAsync = promisify(fs.stat); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/functional/trace.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/functional/trace.test.ts similarity index 79% rename from sdk/monitor/monitor-opentelemetry-exporter/test/functional/trace.test.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/internal/functional/trace.test.ts index 990611c4a18f..f09a7f8f5bf1 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/functional/trace.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/functional/trace.test.ts @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { assertCount, assertExpectation } from "../common/assert"; -import { BasicScenario } from "../common/scenario/basic"; -import { DEFAULT_BREEZE_ENDPOINT } from "../../src/Declarations/Constants"; +import { assertCount, assertExpectation } from "../../utils/assert"; +import { BasicScenario } from "../../utils/basic"; +import { DEFAULT_BREEZE_ENDPOINT } from "../../../src/Declarations/Constants"; import nock from "nock"; -import { successfulBreezeResponse } from "../unit/breezeTestUtils"; -import { TelemetryItem as Envelope } from "../../src/generated"; +import { successfulBreezeResponse } from "../../utils/breezeTestUtils"; +import { TelemetryItem as Envelope } from "../../../src/generated"; describe("Trace Exporter Scenarios", () => { describe(BasicScenario.prototype.constructor.name, () => { diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/httpSender.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/httpSender.test.ts similarity index 85% rename from sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/httpSender.test.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/internal/httpSender.test.ts index 88aa2d746cfc..87e889cffa59 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/platform/nodejs/httpSender.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/httpSender.test.ts @@ -2,15 +2,15 @@ // Licensed under the MIT license. import * as assert from "assert"; -import { DEFAULT_EXPORTER_CONFIG } from "../../../../src/config"; -import { HttpSender } from "../../../../src/platform/nodejs/httpSender"; -import { DEFAULT_BREEZE_ENDPOINT } from "../../../../src/Declarations/Constants"; +import { DEFAULT_EXPORTER_CONFIG } from "../../src/config"; +import { HttpSender } from "../../src/platform/nodejs/httpSender"; +import { DEFAULT_BREEZE_ENDPOINT } from "../../src/Declarations/Constants"; import { successfulBreezeResponse, failedBreezeResponse, partialBreezeResponse -} from "../../breezeTestUtils"; -import { TelemetryItem as Envelope } from "../../../../src/generated"; +} from "../utils/breezeTestUtils"; +import { TelemetryItem as Envelope } from "../../src/generated"; import nock from "nock"; describe("HttpSender", () => { diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/spanUtils.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/spanUtils.test.ts similarity index 94% rename from sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/spanUtils.test.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/internal/spanUtils.test.ts index ad82fb80e4d5..f16fe42b9bdf 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/utils/spanUtils.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/spanUtils.test.ts @@ -8,19 +8,19 @@ import { hrTimeToMilliseconds } from "@opentelemetry/core"; import { Resource } from "@opentelemetry/resources"; import { ResourceAttributes } from "@opentelemetry/semantic-conventions"; -import { Tags, Properties, Measurements } from "../../../src/types"; +import { Tags, Properties, Measurements } from "../../src/types"; import { AI_CLOUD_ROLE, AI_CLOUD_ROLE_INSTACE -} from "../../../src/utils/constants/applicationinsights"; -import * as http from "../../../src/utils/constants/span/httpAttributes"; -import * as grpc from "../../../src/utils/constants/span/grpcAttributes"; -import * as ai from "../../../src/utils/constants/applicationinsights"; -import { Context, getInstance } from "../../../src/platform"; -import { msToTimeSpan } from "../../../src/utils/breezeUtils"; -import { readableSpanToEnvelope } from "../../../src/utils/spanUtils"; -import { RemoteDependencyData, RequestData } from "../../../src/generated"; -import { TelemetryItem as Envelope } from "../../../src/generated"; +} from "../../src/utils/constants/applicationinsights"; +import * as http from "../../src/utils/constants/span/httpAttributes"; +import * as grpc from "../../src/utils/constants/span/grpcAttributes"; +import * as ai from "../../src/utils/constants/applicationinsights"; +import { Context, getInstance } from "../../src/platform"; +import { msToTimeSpan } from "../../src/utils/breezeUtils"; +import { readableSpanToEnvelope } from "../../src/utils/spanUtils"; +import { RemoteDependencyData, RequestData } from "../../src/generated"; +import { TelemetryItem as Envelope } from "../../src/generated"; const context = getInstance(undefined, "./"); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/trace.exporter.test.ts similarity index 96% rename from sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/internal/trace.exporter.test.ts index 88db775e3d62..3ff576079e19 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/export/trace.test.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/internal/trace.exporter.test.ts @@ -3,15 +3,15 @@ import * as assert from "assert"; import { ExportResult, ExportResultCode } from "@opentelemetry/core"; -import { AzureMonitorTraceExporter } from "../../../src/export/trace"; -import { DEFAULT_BREEZE_ENDPOINT } from "../../../src/Declarations/Constants"; +import { AzureMonitorTraceExporter } from "../../src/export/trace"; +import { DEFAULT_BREEZE_ENDPOINT } from "../../src/Declarations/Constants"; import { failedBreezeResponse, partialBreezeResponse, successfulBreezeResponse -} from "../breezeTestUtils"; -import { FileSystemPersist, HttpSender } from "../../../src/platform"; -import { TelemetryItem as Envelope } from "../../../src/generated"; +} from "../utils/breezeTestUtils"; +import { FileSystemPersist, HttpSender } from "../../src/platform"; +import { TelemetryItem as Envelope } from "../../src/generated"; import nock from "nock"; function toObject(obj: T): T { diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/common/assert.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/utils/assert.ts similarity index 95% rename from sdk/monitor/monitor-opentelemetry-exporter/test/common/assert.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/utils/assert.ts index 809fd79fecc1..03873ab3bb1e 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/common/assert.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/utils/assert.ts @@ -6,7 +6,7 @@ import { AI_OPERATION_ID, AI_OPERATION_PARENT_ID } from "../../src/utils/constants/applicationinsights"; -import { Expectation } from "./scenario/types"; +import { Expectation } from "./types"; import { MonitorBase, RequestData, TelemetryItem as Envelope } from "../../src/generated"; import { TelemetryItem as EnvelopeMapper } from "../../src/generated/models/mappers"; @@ -27,10 +27,11 @@ export const assertData = (actual: MonitorBase, expected: MonitorBase): void => }; export const assertTrace = (actual: Envelope[], expectation: Expectation): void => { - const envelope = actual.filter( - (e) => + const envelope = actual.filter((e) => { + return ( (e.data!.baseData as RequestData).name === (expectation.data!.baseData as RequestData).name - ); + ); + }); if (envelope.length !== 1) { assert.ok(false, `assertTrace: could not find exported envelope: ${expectation.name}`); } @@ -74,10 +75,11 @@ export const assertCount = (actual: Envelope[], expectations: Expectation[]): vo export const assertExpectation = (actual: Envelope[], expectations: Expectation[]): void => { for (const expectation of expectations) { - const envelope = actual.filter( - (e) => + const envelope = actual.filter((e) => { + return ( (e.data!.baseData as RequestData).name === (expectation.data!.baseData as RequestData).name - ); + ); + }); if (envelope.length !== 1) { assert.ok( false, diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/basic.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/utils/basic.ts similarity index 77% rename from sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/basic.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/utils/basic.ts index c20e245d5aa1..e0f3fe5e730a 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/basic.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/utils/basic.ts @@ -3,13 +3,13 @@ import * as opentelemetry from "@opentelemetry/api"; import { BasicTracerProvider } from "@opentelemetry/tracing"; -import { AzureMonitorTraceExporter } from "../../../src"; +import { AzureMonitorTraceExporter } from "../../src"; import { Expectation, Scenario } from "./types"; -import { msToTimeSpan } from "../../../src/utils/breezeUtils"; +import { msToTimeSpan } from "../../src/utils/breezeUtils"; import { SpanStatusCode } from "@opentelemetry/api"; -import { FlushSpanProcessor } from "../flushSpanProcessor"; import { delay } from "@azure/core-http"; -import { TelemetryItem as Envelope } from "../../../src/generated"; +import { TelemetryItem as Envelope } from "../../src/generated"; +import { FlushSpanProcessor } from "./flushSpanProcessor"; const COMMON_ENVELOPE_PARAMS: Partial = { instrumentationKey: process.env.APPINSIGHTS_INSTRUMENTATIONKEY || "ikey", @@ -25,7 +25,7 @@ export class BasicScenario implements Scenario { prepare(): void { const provider = new BasicTracerProvider(); provider.addSpanProcessor(processor); - opentelemetry.trace.setGlobalTracerProvider(provider); + provider.register(); } async run(): Promise { @@ -37,20 +37,30 @@ export class BasicScenario implements Scenario { foo: "bar" } }); - const child1 = tracer.startSpan(`${this.constructor.name}.Child.1`, { - startTime: 0, - kind: opentelemetry.SpanKind.CLIENT, - attributes: { - numbers: "123" - } - }); - const child2 = tracer.startSpan(`${this.constructor.name}.Child.2`, { - startTime: 0, - kind: opentelemetry.SpanKind.CLIENT, - attributes: { - numbers: "1234" - } - }); + + const ctx = opentelemetry.trace.setSpan(opentelemetry.context.active(), root); + const child1 = tracer.startSpan( + `${this.constructor.name}.Child.1`, + { + startTime: 0, + kind: opentelemetry.SpanKind.CLIENT, + attributes: { + numbers: "123" + } + }, + ctx + ); + const child2 = tracer.startSpan( + `${this.constructor.name}.Child.2`, + { + startTime: 0, + kind: opentelemetry.SpanKind.CLIENT, + attributes: { + numbers: "1234" + } + }, + ctx + ); child1.setStatus({ code: SpanStatusCode.OK }); child1.end(100); await delay(0); diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/unit/breezeTestUtils.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/utils/breezeTestUtils.ts similarity index 100% rename from sdk/monitor/monitor-opentelemetry-exporter/test/unit/breezeTestUtils.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/utils/breezeTestUtils.ts diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/common/flushSpanProcessor.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/utils/flushSpanProcessor.ts similarity index 100% rename from sdk/monitor/monitor-opentelemetry-exporter/test/common/flushSpanProcessor.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/utils/flushSpanProcessor.ts diff --git a/sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/types.ts b/sdk/monitor/monitor-opentelemetry-exporter/test/utils/types.ts similarity index 80% rename from sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/types.ts rename to sdk/monitor/monitor-opentelemetry-exporter/test/utils/types.ts index 5b5eeb784978..0ec01b69706a 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/test/common/scenario/types.ts +++ b/sdk/monitor/monitor-opentelemetry-exporter/test/utils/types.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { TelemetryItem as Envelope } from "../../../src/generated"; +import { TelemetryItem as Envelope } from "../../src/generated"; export interface Expectation extends Partial { children: Expectation[]; From 5b4eac348e4db7afed67ee203d74a1b2a048ea90 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Mon, 28 Jun 2021 15:14:01 -0700 Subject: [PATCH 081/134] [synapse] - Ignore known rollup warnings (#15948) ## What - Adds warning filter to ignore known rollup warnings that are safe to ignore - Ignore `this has been rewritten to undefined` in synapse - Ignore circular dependencies in synapse ## Why These are both known warnings, are safe to ignore, and add noise to the build output unnecessarily. The first is totally safe to ignore: ``` var __spreadArray = (this && this.__spreadArray) || function (to, from) { ``` Is emitted from TypeScript in the OTel ESM and is safe to use. The second is a known issue in OTel 1.0.0 that is not harmful at runtime. Finally, we have precedent for doing the exact same thing in other packages like service-bus. --- .../synapse-access-control/rollup.config.js | 18 ++++++++++++++++++ .../rollup.config.js | 17 +++++++++++++++++ .../synapse-monitoring/rollup.config.js | 18 ++++++++++++++++++ sdk/synapse/synapse-spark/rollup.config.js | 18 ++++++++++++++++++ 4 files changed, 71 insertions(+) diff --git a/sdk/synapse/synapse-access-control/rollup.config.js b/sdk/synapse/synapse-access-control/rollup.config.js index 1225dc56b8b3..afd0dd19a25c 100644 --- a/sdk/synapse/synapse-access-control/rollup.config.js +++ b/sdk/synapse/synapse-access-control/rollup.config.js @@ -4,12 +4,30 @@ import sourcemaps from "rollup-plugin-sourcemaps"; import cjs from "@rollup/plugin-commonjs"; import { openTelemetryCommonJs } from "@azure/dev-tool/shared-config/rollup"; + +const ignoreKnownWarnings = (warning) => { + if (warning.code === "THIS_IS_UNDEFINED") { + // This error happens frequently due to TypeScript emitting `this` at the + // top-level of a module. In this case its fine if it gets rewritten to + // undefined, so ignore this error. + return; + } + + if (warning.code === "CIRCULAR_DEPENDENCY" && warning.importer.indexOf("@opentelemetry/api") >= 0) { + // OpenTelemetry contains circular references as of 1.0.0, but they are not fatal and can be ignored. + return; + } + + console.error(`(!) ${warning.message}`); +} + /** * @type {rollup.RollupFileOptions} */ const config = { input: "./dist-esm/accessControlClient.js", external: ["@azure/core-http", "@azure/core-arm"], + onwarn: ignoreKnownWarnings, output: { file: "./dist/index.js", format: "cjs", diff --git a/sdk/synapse/synapse-managed-private-endpoints/rollup.config.js b/sdk/synapse/synapse-managed-private-endpoints/rollup.config.js index 71e18098501b..1bd733ecc291 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/rollup.config.js +++ b/sdk/synapse/synapse-managed-private-endpoints/rollup.config.js @@ -4,12 +4,29 @@ import sourcemaps from "rollup-plugin-sourcemaps"; import cjs from "@rollup/plugin-commonjs"; import { openTelemetryCommonJs } from "@azure/dev-tool/shared-config/rollup"; +const ignoreKnownWarnings = (warning) => { + if (warning.code === "THIS_IS_UNDEFINED") { + // This error happens frequently due to TypeScript emitting `this` at the + // top-level of a module. In this case its fine if it gets rewritten to + // undefined, so ignore this error. + return; + } + + if (warning.code === "CIRCULAR_DEPENDENCY" && warning.importer.indexOf("@opentelemetry/api") >= 0) { + // OpenTelemetry contains circular references as of 1.0.0, but they are not fatal and can be ignored. + return; + } + + console.error(`(!) ${warning.message}`); +} + /** * @type {rollup.RollupFileOptions} */ const config = { input: "./dist-esm/managedPrivateEndpointsClient.js", external: ["@azure/core-http", "@azure/core-arm"], + onwarn: ignoreKnownWarnings, output: { file: "./dist/index.js", format: "cjs", diff --git a/sdk/synapse/synapse-monitoring/rollup.config.js b/sdk/synapse/synapse-monitoring/rollup.config.js index 1e1c8628373a..c1d24e737128 100644 --- a/sdk/synapse/synapse-monitoring/rollup.config.js +++ b/sdk/synapse/synapse-monitoring/rollup.config.js @@ -4,12 +4,30 @@ import sourcemaps from "rollup-plugin-sourcemaps"; import cjs from "@rollup/plugin-commonjs"; import { openTelemetryCommonJs } from "@azure/dev-tool/shared-config/rollup"; + +const ignoreKnownWarnings = (warning) => { + if (warning.code === "THIS_IS_UNDEFINED") { + // This error happens frequently due to TypeScript emitting `this` at the + // top-level of a module. In this case its fine if it gets rewritten to + // undefined, so ignore this error. + return; + } + + if (warning.code === "CIRCULAR_DEPENDENCY" && warning.importer.indexOf("@opentelemetry/api") >= 0) { + // OpenTelemetry contains circular references as of 1.0.0, but they are not fatal and can be ignored. + return; + } + + console.error(`(!) ${warning.message}`); +} + /** * @type {rollup.RollupFileOptions} */ const config = { input: "./dist-esm/monitoringClient.js", external: ["@azure/core-http", "@azure/core-arm"], + onwarn: ignoreKnownWarnings, output: { file: "./dist/index.js", format: "cjs", diff --git a/sdk/synapse/synapse-spark/rollup.config.js b/sdk/synapse/synapse-spark/rollup.config.js index fa85bbbc8812..8cdd0e5c0c18 100644 --- a/sdk/synapse/synapse-spark/rollup.config.js +++ b/sdk/synapse/synapse-spark/rollup.config.js @@ -4,12 +4,30 @@ import sourcemaps from "rollup-plugin-sourcemaps"; import cjs from "@rollup/plugin-commonjs"; import { openTelemetryCommonJs } from "@azure/dev-tool/shared-config/rollup"; + +const ignoreKnownWarnings = (warning) => { + if (warning.code === "THIS_IS_UNDEFINED") { + // This error happens frequently due to TypeScript emitting `this` at the + // top-level of a module. In this case its fine if it gets rewritten to + // undefined, so ignore this error. + return; + } + + if (warning.code === "CIRCULAR_DEPENDENCY" && warning.importer.indexOf("@opentelemetry/api") >= 0) { + // OpenTelemetry contains circular references as of 1.0.0, but they are not fatal and can be ignored. + return; + } + + console.error(`(!) ${warning.message}`); +} + /** * @type {rollup.RollupFileOptions} */ const config = { input: "./dist-esm/sparkClient.js", external: ["@azure/core-http", "@azure/core-arm"], + onwarn: ignoreKnownWarnings, output: { file: "./dist/index.js", format: "cjs", From 5a7c12997212feaf228509063cde054bf318ed4a Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Mon, 28 Jun 2021 15:54:47 -0700 Subject: [PATCH 082/134] Update engines, @types/node to Node.js v12 (#15996) --- common/config/rush/pnpm-lock.yaml | 340 +++++++++--------- common/tools/dev-tool/package.json | 2 +- .../eslint-plugin-azure-sdk/package.json | 2 +- .../ts-package-json-engine-is-present.ts | 2 +- .../ts-package-json-engine-is-present.ts | 2 +- package.json | 2 +- .../agrifood-farming-rest/package.json | 4 +- .../ai-anomaly-detector/package.json | 4 +- .../app-configuration/CHANGELOG.md | 1 + .../app-configuration/package.json | 4 +- .../perf-tests/app-configuration/package.json | 2 +- sdk/attestation/attestation/package.json | 4 +- .../communication-chat/CHANGELOG.md | 9 +- .../communication-chat/package.json | 4 +- .../communication-common/CHANGELOG.md | 10 +- .../communication-common/package.json | 6 +- .../communication-identity/CHANGELOG.md | 8 + .../communication-identity/package.json | 4 +- .../CHANGELOG.md | 8 + .../package.json | 4 +- .../communication-phone-numbers/CHANGELOG.md | 10 +- .../communication-phone-numbers/package.json | 6 +- .../communication-sms/CHANGELOG.md | 12 +- .../communication-sms/package.json | 6 +- .../communication-sms/src/constants.ts | 2 +- .../src/generated/src/smsApiClientContext.ts | 2 +- .../communication-sms/swagger/README.md | 2 +- .../confidential-ledger-rest/package.json | 2 +- .../container-registry/package.json | 4 +- sdk/core/abort-controller/package.json | 4 +- sdk/core/core-amqp/package.json | 4 +- .../core-asynciterator-polyfill/package.json | 4 +- sdk/core/core-auth/package.json | 4 +- sdk/core/core-client-paging-rest/package.json | 4 +- sdk/core/core-client-rest/package.json | 4 +- sdk/core/core-client/package.json | 4 +- sdk/core/core-crypto/package.json | 4 +- sdk/core/core-http/package.json | 4 +- sdk/core/core-lro/package.json | 4 +- sdk/core/core-paging/package.json | 4 +- sdk/core/core-rest-pipeline/package.json | 4 +- sdk/core/core-tracing/package.json | 4 +- sdk/core/core-util/package.json | 4 +- sdk/core/core-xml/package.json | 4 +- sdk/core/logger/package.json | 4 +- sdk/cosmosdb/cosmos/CHANGELOG.md | 3 +- sdk/cosmosdb/cosmos/package.json | 6 +- .../iot-device-update/package.json | 4 +- .../digital-twins-core/CHANGELOG.md | 9 +- .../digital-twins-core/package.json | 6 +- .../src/digitalTwinsClient.ts | 2 +- .../generated/azureDigitalTwinsAPIContext.ts | 2 +- .../digital-twins-core/swagger/README.md | 2 +- .../ai-document-translator-rest/package.json | 4 +- sdk/eventgrid/eventgrid/CHANGELOG.md | 8 +- sdk/eventgrid/eventgrid/package.json | 6 +- sdk/eventgrid/eventgrid/src/constants.ts | 2 +- sdk/eventgrid/eventgrid/swagger/README.md | 2 +- .../perf-tests/eventgrid/package.json | 2 +- sdk/eventhub/event-hubs/CHANGELOG.md | 5 +- sdk/eventhub/event-hubs/package.json | 6 +- .../event-hubs/samples-browser/package.json | 2 +- .../event-hubs/samples-express/package.json | 2 +- .../samples/v5/browser/package.json | 2 +- .../samples/v5/express/package.json | 2 +- sdk/eventhub/event-hubs/src/util/constants.ts | 2 +- .../event-processor-host/package.json | 4 +- .../samples/javascript/package.json | 2 +- .../samples/typescript/package.json | 2 +- .../CHANGELOG.md | 6 + .../package.json | 4 +- sdk/eventhub/mock-hub/package.json | 4 +- .../mock-hub/samples/javascript/package.json | 2 +- .../mock-hub/samples/typescript/package.json | 4 +- .../ai-form-recognizer/CHANGELOG.md | 8 +- .../ai-form-recognizer/package.json | 10 +- .../ai-form-recognizer/src/constants.ts | 2 +- .../src/generated/generatedClientContext.ts | 2 +- .../ai-form-recognizer/swagger/README.md | 2 +- .../ai-form-recognizer/package.json | 2 +- .../identity-cache-persistence/.eslintrc.json | 3 +- .../identity-cache-persistence/package.json | 2 +- sdk/identity/identity-vscode/.eslintrc.json | 3 +- sdk/identity/identity-vscode/package.json | 2 +- sdk/identity/identity/CHANGELOG.md | 27 +- sdk/identity/identity/package.json | 4 +- .../identity/samples/javascript/package.json | 2 +- .../identity/samples/typescript/package.json | 4 +- .../identity/test/manual/package.json | 2 +- sdk/iot/iot-modelsrepository/package.json | 4 +- sdk/keyvault/keyvault-admin/CHANGELOG.md | 1 + sdk/keyvault/keyvault-admin/package.json | 4 +- .../keyvault-certificates/CHANGELOG.md | 1 + .../keyvault-certificates/package.json | 4 +- sdk/keyvault/keyvault-common/package.json | 2 +- sdk/keyvault/keyvault-keys/CHANGELOG.md | 1 + sdk/keyvault/keyvault-keys/package.json | 4 +- sdk/keyvault/keyvault-secrets/CHANGELOG.md | 1 + sdk/keyvault/keyvault-secrets/package.json | 4 +- .../ai-metrics-advisor/package.json | 4 +- .../ai-metrics-advisor/package.json | 2 +- .../mixedreality-authentication/package.json | 4 +- .../.eslintrc.json | 16 +- .../package.json | 4 +- .../storage-blob/javascript/package.json | 2 +- .../storage-blob/typescript/package.json | 2 +- sdk/monitor/monitor-query/package.json | 4 +- sdk/purview/purview-catalog-rest/package.json | 4 +- .../purview-scanning-rest/package.json | 4 +- sdk/quantum/quantum-jobs/package.json | 4 +- .../schema-registry-avro/package.json | 4 +- .../schema-registry/package.json | 4 +- .../perf-tests/search-documents/package.json | 2 +- sdk/search/search-documents/CHANGELOG.md | 9 + sdk/search/search-documents/package.json | 4 +- .../samples/javascript/package.json | 2 +- .../samples/typescript/package.json | 4 +- sdk/servicebus/service-bus/CHANGELOG.md | 3 +- sdk/servicebus/service-bus/package.json | 6 +- .../service-bus/src/util/constants.ts | 2 +- .../storage-blob-track-1/package.json | 2 +- .../perf-tests/storage-blob/package.json | 2 +- .../storage-file-datalake/package.json | 2 +- .../storage-file-share-track-1/package.json | 2 +- .../storage-file-share/package.json | 2 +- .../storage-blob-changefeed/package.json | 4 +- .../samples/javascript/package.json | 2 +- .../samples/typescript/package.json | 4 +- sdk/storage/storage-blob/CHANGELOG.md | 1 + sdk/storage/storage-blob/package.json | 4 +- .../samples/javascript/package.json | 2 +- .../samples/typescript/package.json | 4 +- .../storage-file-datalake/CHANGELOG.md | 2 +- .../storage-file-datalake/package.json | 4 +- .../samples/javascript/package.json | 2 +- .../samples/typescript/package.json | 4 +- sdk/storage/storage-file-share/CHANGELOG.md | 2 +- sdk/storage/storage-file-share/package.json | 4 +- .../samples/javascript/package.json | 2 +- .../samples/typescript/package.json | 4 +- .../storage-internal-avro/package.json | 4 +- sdk/storage/storage-queue/CHANGELOG.md | 2 +- sdk/storage/storage-queue/package.json | 4 +- .../samples/javascript/package.json | 2 +- .../samples/typescript/package.json | 4 +- .../synapse-access-control/package.json | 2 +- sdk/synapse/synapse-artifacts/package.json | 4 +- .../package.json | 2 +- sdk/synapse/synapse-monitoring/package.json | 2 +- sdk/synapse/synapse-spark/package.json | 2 +- sdk/tables/data-tables/CHANGELOG.md | 2 +- sdk/tables/data-tables/package.json | 4 +- sdk/template/template/package.json | 4 +- sdk/test-utils/perfstress/package.json | 4 +- sdk/test-utils/recorder/package.json | 4 +- sdk/test-utils/test-utils/package.json | 4 +- .../ai-text-analytics/CHANGELOG.md | 2 +- .../ai-text-analytics/package.json | 4 +- .../perf-tests/text-analytics/package.json | 2 +- .../video-analyzer-edge/package.json | 4 +- .../samples/javascript/package.json | 2 +- .../samples/typescript/package.json | 4 +- .../web-pubsub-express/package.json | 4 +- sdk/web-pubsub/web-pubsub/package.json | 4 +- 164 files changed, 526 insertions(+), 435 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 91a96cc1dab9..dc754dd7d6bd 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1513,10 +1513,10 @@ packages: dev: false resolution: integrity: sha512-pMCcqU2zT4TjqYFrWtYHKal7Sl30Ims6ulZ4UFXxI4xbtQqK/qqKwkDoBFCfooRqqmRu9vY3xaJRwxSh673aYg== - /@types/node/10.17.60: + /@types/node/12.20.15: dev: false resolution: - integrity: sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw== + integrity: sha512-F6S4Chv4JicJmyrwlDkxUdGNSplsQdGwp1A0AJloEVDirWdZOAiRHhovDlsFkKUrquUXhz1imJhXHsf59auyAg== /@types/node/15.12.4: dev: false resolution: @@ -8033,7 +8033,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 assert: 1.5.0 cross-env: 7.0.3 delay: 4.4.1 @@ -8065,7 +8065,7 @@ packages: dev: false name: '@rush-temp/abort-controller' resolution: - integrity: sha512-LaKKpImlDpFtOEfXl4EGfFfplcDxt+sSuNKg72ruFDqeqR5e7PHNBrKkQB8c/nUGCH4b9i8urEUhLfUnVP+02g== + integrity: sha512-ceXMUAJSCegBRmaD1P7SY5tWgUh7KDD+52gdtlTq9ofl0WSDQ1V15Bukc7gLeym3//aJFk5vXPCkVYR8aUbHnw== tarball: file:projects/abort-controller.tgz version: 0.0.0 file:projects/agrifood-farming.tgz: @@ -8075,7 +8075,7 @@ packages: '@microsoft/api-extractor': 7.13.2 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 @@ -8108,7 +8108,7 @@ packages: dev: false name: '@rush-temp/agrifood-farming' resolution: - integrity: sha512-zxH3z0da7M7HliJFRufLVPCbrJZvGYX+bkJITR0xUJf4mRfWvfkboNOxjbKwxGVawQ1quKiqTmyZsPpLw9HIEQ== + integrity: sha512-7EztNh1/5PCSRZo4LkuxwqhoYu2NJfgDydx7zdUsf3NsBIt+5elmLXKrXw8k+jqHJy0/3aNSwauvrJXX1YoXzA== tarball: file:projects/agrifood-farming.tgz version: 0.0.0 file:projects/ai-anomaly-detector.tgz: @@ -8122,7 +8122,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 cross-env: 7.0.3 csv-parse: 4.16.0 @@ -8157,7 +8157,7 @@ packages: dev: false name: '@rush-temp/ai-anomaly-detector' resolution: - integrity: sha512-HOZBZxEhHXas5ja/2SIPBxPI0wj2T9wbE72i0ejPvI/A1qUJlirCnroCn0+OtyvYDPai5/CMhEHPPVf1CFg2vQ== + integrity: sha512-xor9UzgRJS2NW7pO+RvYWrtAIDLJ5HTLfPT0srRwO83Ofl851H6dTtrCvYd6L4KUvj1lZLnF60YS9cWFtapK+g== tarball: file:projects/ai-anomaly-detector.tgz version: 0.0.0 file:projects/ai-document-translator.tgz: @@ -8167,7 +8167,7 @@ packages: '@microsoft/api-extractor': 7.13.2 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 @@ -8199,7 +8199,7 @@ packages: dev: false name: '@rush-temp/ai-document-translator' resolution: - integrity: sha512-3YHPFrjR8WULy8t7MNaoiNCoYBNkDfM9aRwRE1xbf80I5qtPfA7BD4mbo7sxMYesQdGiLSl9V1UARbbN4fy2pA== + integrity: sha512-NPQLCjcRguBPB5rfq3vCZYMCWNW7xe8sp9To6V4wmznNTBKNcuMAB3HFyY2eUQckPfCX+SeJ1dZk0aQYgPYTEA== tarball: file:projects/ai-document-translator.tgz version: 0.0.0 file:projects/ai-form-recognizer.tgz: @@ -8207,7 +8207,7 @@ packages: '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 @@ -8241,7 +8241,7 @@ packages: dev: false name: '@rush-temp/ai-form-recognizer' resolution: - integrity: sha512-PG6KP/nYmP5pFVwSv1MHC+bEPEIP02GHMIkhzn4UhD6ibW97V/QdZ2n4BQlGWmccMGA8axhbFsZRSLU/BBGPTw== + integrity: sha512-ZoJdYizuIklrV7rL0bmKeAGYOmdZr0cLNRxwR9PdN3KowY3Uo+/1RLdv6+e0G/cUC2Avqcgsk/p46glgLeZVZw== tarball: file:projects/ai-form-recognizer.tgz version: 0.0.0 file:projects/ai-metrics-advisor.tgz: @@ -8250,7 +8250,7 @@ packages: '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 @@ -8285,7 +8285,7 @@ packages: dev: false name: '@rush-temp/ai-metrics-advisor' resolution: - integrity: sha512-jR1S5XpW18t2/lVo4/hkNpG9N0ztS1p1peq8u+XMcIGX7uoDQgFBMWkOra8tv6QGivsoMQ0xWwAOswG7A+oVqg== + integrity: sha512-JXGv6EY1CYEfStFqTBGSEQcBEy3/Xxm3zhXJOh0m40uLZq4cYi5dwQ5I6lyaYfasbktq34IGBV1+KL7Ujzd/MQ== tarball: file:projects/ai-metrics-advisor.tgz version: 0.0.0 file:projects/ai-text-analytics.tgz: @@ -8297,7 +8297,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 @@ -8333,7 +8333,7 @@ packages: dev: false name: '@rush-temp/ai-text-analytics' resolution: - integrity: sha512-d2IVGQX1cy4qBc/4qANWXKVMLRbvYr8PF5qL/tj6aTomya5fHI+sbKXmvXMZG4lJV1dUG5OSrxq34QYaVbcBFQ== + integrity: sha512-Etd2xmQEO6pchKxIzpiZlFNg52Xu86XdKqlgU+DZ5jE4IX4RTDS83ugGEzVSS0bjME+P59YZ19ubhwanOb6WlQ== tarball: file:projects/ai-text-analytics.tgz version: 0.0.0 file:projects/app-configuration.tgz: @@ -8348,7 +8348,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -8386,7 +8386,7 @@ packages: dev: false name: '@rush-temp/app-configuration' resolution: - integrity: sha512-hnxdxVITPVLYJIeSx6vf7SXvuzyKSo06rX/A37blEI12OFSYPmenR23ZTMvc7tuVrjS6VBAlNy710wd/DMx5vQ== + integrity: sha512-LNi199Cv3vpwwDyHMUnPNc/GJhkiBY4ntL0I6IUsO32nO1SKnEVoCnWnvpsbsUnRTrT/zR079mLOyPay0t+Qug== tarball: file:projects/app-configuration.tgz version: 0.0.0 file:projects/attestation.tgz: @@ -8398,7 +8398,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 buffer: 5.7.1 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 @@ -8441,7 +8441,7 @@ packages: dev: false name: '@rush-temp/attestation' resolution: - integrity: sha512-BZ8CCLDiqLswQ8wK4lnFc4/ZMcn+a7VT+T83/aZtyiAw2XFgJ3BzIVU8Pq5Ol81OxELobA1M/L7Tw7vu6hHpwQ== + integrity: sha512-EwxFoG/HK6QssgD+v8J0kGJyDrfxOgdY7hegBWPUxkuC76S4dazK3bnx+SRMcM3s/9p/8OfWhIQLfLygeYFx3A== tarball: file:projects/attestation.tgz version: 0.0.0 file:projects/communication-chat.tgz: @@ -8457,7 +8457,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -8497,7 +8497,7 @@ packages: dev: false name: '@rush-temp/communication-chat' resolution: - integrity: sha512-i/8xbWYc2eRn2OedKY0xUzr3RDK/XdRT22ea2GLoBv4ivEPWY4+ehtL3DOntR3DXOVwnzoy8NTk44NnCTiT+Vg== + integrity: sha512-JsmZwX9BwOo9JBuM15qjJP1u0hQHmdbFiT60wFGbchohHp8mok71/c+eeiH9P1vgAAfXIxXCCjSb1R77j3YqMQ== tarball: file:projects/communication-chat.tgz version: 0.0.0 file:projects/communication-common.tgz: @@ -8512,7 +8512,7 @@ packages: '@types/chai-as-promised': 7.1.4 '@types/jwt-decode': 2.2.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -8550,7 +8550,7 @@ packages: dev: false name: '@rush-temp/communication-common' resolution: - integrity: sha512-NsvGPAqTmqJyCBQ/EeksY2zWcD7tusREqXMAWsxmHzmO0zG4uUb8ordkkb09keCbRUFVCQBkN3sScKy4MZJjqw== + integrity: sha512-Pje4ZHzhRzuv+h+yP02AECjaenYXExPAjTLYcquj7cr4N8mpxhJ7uluTDI2maz5NEbbbzq/b3fULiiX4u9N2IQ== tarball: file:projects/communication-common.tgz version: 0.0.0 file:projects/communication-identity.tgz: @@ -8563,7 +8563,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -8602,7 +8602,7 @@ packages: dev: false name: '@rush-temp/communication-identity' resolution: - integrity: sha512-OrBwofz9RC/Uof8DsCbPPKOf9qGLMqUsOeZe7Q/nIbfnbZYFV7jcf/FaRIlKm6ouIM/i5Juj2rEzKy7LWx5VsA== + integrity: sha512-LiLVBreww8n6sBGNoAFvFFagepcdCwL8aUQzGo+0ZW6Tm5DY4LptNs3JBP49VsBB+n1U+Y9f+xNwNlnPi0SXVA== tarball: file:projects/communication-identity.tgz version: 0.0.0 file:projects/communication-network-traversal.tgz: @@ -8616,7 +8616,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -8655,7 +8655,7 @@ packages: dev: false name: '@rush-temp/communication-network-traversal' resolution: - integrity: sha512-4flsoWfGKC+zhYkduTncSI22tlrJ18C9lDtSscghuOZM/i2U8J04RVPUH2HJJYwh6vB4qJgpclic1AUpytOQ3w== + integrity: sha512-SLNItXwKzrnfDd/pZ60nUHc+PqEEpfQEe9GFNYTmAP53krfOb6/XHWjt6OZNVyXwjkDc1mG3o10KZntjPR6hqg== tarball: file:projects/communication-network-traversal.tgz version: 0.0.0 file:projects/communication-phone-numbers.tgz: @@ -8668,7 +8668,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -8707,7 +8707,7 @@ packages: dev: false name: '@rush-temp/communication-phone-numbers' resolution: - integrity: sha512-ZMZNMp8xGJWX+SYkH9BN4HjdxXIlhCtnztjuUGS53VtbRT81S/fJ8YzjbtskJNCI07RyC0dlvIZccsKEUb/iXA== + integrity: sha512-izvzyc+IZYXQXM9q73ni8SPSXSYxdF7Hm5KPIxBdx++bY3T0L0RmqUVsxlfkGhL8Wh6cBouyYBmFZfGsVcC3Zw== tarball: file:projects/communication-phone-numbers.tgz version: 0.0.0 file:projects/communication-sms.tgz: @@ -8720,7 +8720,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -8758,7 +8758,7 @@ packages: dev: false name: '@rush-temp/communication-sms' resolution: - integrity: sha512-sLFrpFT/bZo8ppBxJnw0KkGHXVFw39cOKN3yj+TLispv0m9w/RfEdqi68SgrRM4BBPwAEmjSF7r8k9GbZAolHA== + integrity: sha512-8+FLM3cvueo2gwgMknJ/n3OyBSKe1mHxDTjEJ/cUAXgKHuU80bvpBYZ0TRQNu5pNN3CFhyl3fNj4U6KAaN08ZA== tarball: file:projects/communication-sms.tgz version: 0.0.0 file:projects/confidential-ledger.tgz: @@ -8768,7 +8768,7 @@ packages: '@microsoft/api-extractor': 7.13.2 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 @@ -8800,7 +8800,7 @@ packages: dev: false name: '@rush-temp/confidential-ledger' resolution: - integrity: sha512-jPiYbuPxYfVKkWJVYow1irqzxO/9Pyx68cONy0qLfzwOi4OC8TkXQVI0p23E5Wm/kvd46aWD+aaRD7nCKlPvZw== + integrity: sha512-uCxaemZagUXJ9OaGmikK9YKlfGLU1PNiMAoY/BpyZNDrj3+2/+ZpmWhsB8lUiz4ZqLfDbVX+2mc9c1N9q7Tocw== tarball: file:projects/confidential-ledger.tgz version: 0.0.0 file:projects/container-registry.tgz: @@ -8811,7 +8811,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 @@ -8844,7 +8844,7 @@ packages: dev: false name: '@rush-temp/container-registry' resolution: - integrity: sha512-rvApa+GUcNzh2bFcw3EljYQpQalgHz0S9tsfcCv8ZPyBU4kuN53KasLy1bBEJLwqyIOrRQRdzYvLmgoW5sO0qA== + integrity: sha512-sM+tVFsBl6vesjl4vSW1PeKmSeRtwY4eYDCinWGo8PJOxMUj0PpGeK2O7NiXUsF+eLyp30tafqY/xhjWt3foDQ== tarball: file:projects/container-registry.tgz version: 0.0.0 file:projects/core-amqp.tgz: @@ -8860,7 +8860,7 @@ packages: '@types/chai-as-promised': 7.1.4 '@types/debug': 4.1.5 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/ws': 7.4.5 assert: 1.5.0 @@ -8901,12 +8901,12 @@ packages: dev: false name: '@rush-temp/core-amqp' resolution: - integrity: sha512-S5svpkM4ZwPtbo8++psIvSBEddD/Oufsnxexz+ediW+UtvlpBAwPog/RE5MthnMOpNxhcDwHh7WijLNoJ8kwTg== + integrity: sha512-NsjbIvK0AepoWd0jHaFjQIsq2AIm10LaxkUXhc55cqQTJUCfPmPjw/OENA/4TcvI7c9lMe+5ZhGxyEbTiUI0Xw== tarball: file:projects/core-amqp.tgz version: 0.0.0 file:projects/core-asynciterator-polyfill.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 eslint: 7.29.0 prettier: 1.19.1 typedoc: 0.15.2 @@ -8914,7 +8914,7 @@ packages: dev: false name: '@rush-temp/core-asynciterator-polyfill' resolution: - integrity: sha512-h5Lxt61X7fYi0y86q4KioMXa/CaIuIUcdXt9A0+fBuuBbvaZsIJWy8xBRRj8avO2l4dEqorlHeoTrp/tLCojfA== + integrity: sha512-NMQzIXmS6Aw+/UpoOPolEKGWu0ak5sbvZn3jGCttx2gFZqO832WYZuAeNlwxEYUepdypxNQRnAR8EAdx7b7iiw== tarball: file:projects/core-asynciterator-polyfill.tgz version: 0.0.0 file:projects/core-auth.tgz: @@ -8926,7 +8926,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 assert: 1.5.0 cross-env: 7.0.3 downlevel-dts: 0.4.0 @@ -8947,7 +8947,7 @@ packages: dev: false name: '@rush-temp/core-auth' resolution: - integrity: sha512-outNi2S2CrnciEagH8Brvw3cChSobRZIB24RxTYpi4076Mws+bZsd56gS3OXZMvwNRf9IQKfCrEH/TAZImeIQw== + integrity: sha512-RXJRUV7mArLtNQQWvQkXLxFmypQ8WZNLBtKMDsKniNu9fE37UkST/bcBNOkH9fOt04ldxlv6HbXW1Lo2QVc5cQ== tarball: file:projects/core-auth.tgz version: 0.0.0 file:projects/core-client-1.tgz: @@ -8963,7 +8963,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 @@ -8997,7 +8997,7 @@ packages: dev: false name: '@rush-temp/core-client-1' resolution: - integrity: sha512-DrijA2NS4/XmZj1662Y6vb7WdQYW3/fyOjeAtDpkusGwA3qf0QRQoivCfvxTtRLTJH4XYH20Z5i375iAoOMYWQ== + integrity: sha512-pCbSqwXCtmQzCBh1nChKeyoeqaLJ8mq62pFQaFkxBWj7yPSQvqUWmvjb9BhsWxYTURcNmt5KD5UYK9FMeqlnsg== tarball: file:projects/core-client-1.tgz version: 0.0.0 file:projects/core-client-paging.tgz: @@ -9005,7 +9005,7 @@ packages: '@microsoft/api-extractor': 7.13.2 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 cross-env: 7.0.3 eslint: 7.29.0 @@ -9034,7 +9034,7 @@ packages: dev: false name: '@rush-temp/core-client-paging' resolution: - integrity: sha512-cILnMe2cNW8wClpKU+i6EyZHXtI9FyIkDCrLvd4I8utQ/Cw6x2l4T88rx/nbdN2qTm/QfY1Oi49xgNPEqoam4A== + integrity: sha512-56hlO8jgFdKMR/mgzW2WPHAqxx7n+ji+L9ZCeF+9yxkcmBBzsSKfYrQdTtsBN94/1/ZwtmWJluu7WDKieWYY0w== tarball: file:projects/core-client-paging.tgz version: 0.0.0 file:projects/core-client.tgz: @@ -9043,7 +9043,7 @@ packages: '@microsoft/api-extractor': 7.13.2 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 cross-env: 7.0.3 eslint: 7.29.0 @@ -9072,7 +9072,7 @@ packages: dev: false name: '@rush-temp/core-client' resolution: - integrity: sha512-il6SXKHslnN6KhbWk81o67b69k+uGgOd/UVEWmvp0OBuiF7+5YWUxbMGShuPaDCCODV5Eg1OX3bOVBU122ECyg== + integrity: sha512-A+GvNgdlwTt5h3ZbVfNlhfUSKtdo96ruE9aQ7Vvf83wsasti6gtLOQFPXPiLMvhvQoKg4eQ3iZU9TtNxW2RY+g== tarball: file:projects/core-client.tgz version: 0.0.0 file:projects/core-crypto.tgz: @@ -9085,7 +9085,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -9117,7 +9117,7 @@ packages: dev: false name: '@rush-temp/core-crypto' resolution: - integrity: sha512-p/rHVWzH5nyPHXW4sxKE0vkUuAk1uJmsbQZGjgDJP2Bz+vlyM1PC/qHlERS51A9iPsx0Lb8lmty96JwHAIO9Pg== + integrity: sha512-ZxjNnA+5K9JvOJIhLaYC9VDNuS1o+YFNoOR/v2T3EuEf8dDw5+tTddPyy5QRH59EQAUjqc+b/5YwwWdPys08jg== tarball: file:projects/core-crypto.tgz version: 0.0.0 file:projects/core-http.tgz: @@ -9133,7 +9133,7 @@ packages: '@types/express': 4.17.12 '@types/glob': 7.1.3 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/node-fetch': 2.5.10 '@types/sinon': 9.0.11 '@types/tough-cookie': 4.0.0 @@ -9185,7 +9185,7 @@ packages: dev: false name: '@rush-temp/core-http' resolution: - integrity: sha512-6X7ZmkgSI5TtG0bUativYtE4MCsHUzXSM9ZuiOaJkGAgpRctDHeS+EMzA6BgL3ASSu+jIySqhI6Eo1k4K8t81Q== + integrity: sha512-yyCNXJSvJthpwBPRtGGImOFbdXtFQZP3zbGl7Ei7olsXAr0Y6BaCw31tZoJ9BIsDFN/Pjw+3rXCAGpXzE0QWcA== tarball: file:projects/core-http.tgz version: 0.0.0 file:projects/core-lro.tgz: @@ -9197,7 +9197,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 assert: 1.5.0 chai: 4.3.4 cross-env: 7.0.3 @@ -9233,12 +9233,12 @@ packages: dev: false name: '@rush-temp/core-lro' resolution: - integrity: sha512-BBFyzmuJV6yP3Bd7Q1woBHOV5zTLGzpv3I89Ax8nkQWgkunvGYiWt27DFoVPaYN+58yyfSPCQ+NW9CHqIrGiNg== + integrity: sha512-TRj3hpxpoOvBXH3WJS79ecEycw1a7x1ljh5cK9us0AsFdG4cCqRPOYjyiqTdBbcVJq7/rF73k/O3ptrnLrnVFQ== tarball: file:projects/core-lro.tgz version: 0.0.0 file:projects/core-paging.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 @@ -9247,7 +9247,7 @@ packages: dev: false name: '@rush-temp/core-paging' resolution: - integrity: sha512-MWcTO+6523oBrcVxrW0PZx7ZSvSg5BalwS+vpArIhQ2v8AEByYp9LJhTdmX5KNIs1wMSYzOSCYL0bWOMCf8smw== + integrity: sha512-vxnKN9KxGJu52+rmWCXYeX1rjg3z5GgUIr1cTNdQ+NpRe2SkWW8iPAb1Li6iKr5p6XVkgQ4Zhe22/yRT4mozUw== tarball: file:projects/core-paging.tgz version: 0.0.0 file:projects/core-rest-pipeline.tgz: @@ -9261,7 +9261,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/uuid': 8.3.0 chai: 4.3.4 @@ -9301,7 +9301,7 @@ packages: dev: false name: '@rush-temp/core-rest-pipeline' resolution: - integrity: sha512-B30gNDjvYMKn9TTL3Li38tIe02Gn9y/2pz9MLrKoWFzITzyQwaht729dCk6oSYXfesN+LipPoM26kw5lkOQ0rg== + integrity: sha512-wY6C2ZRU1FBXyJK1z70NRL+JjQHgGDOqkm/fWvhiodYOgo0LL2ujMWHqxuh1+xTQX09Ljvp+DXreHxU8hSxzlw== tarball: file:projects/core-rest-pipeline.tgz version: 0.0.0 file:projects/core-tracing.tgz: @@ -9314,7 +9314,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 cross-env: 7.0.3 @@ -9347,7 +9347,7 @@ packages: dev: false name: '@rush-temp/core-tracing' resolution: - integrity: sha512-WY3dTdsoyz+AMJUBjPiPsbagWKKJhxDhk+tURH/HBp6zUzyu1AJ4/VjUVCkruYBEZfy/WBYCfcHkMjlcielb0Q== + integrity: sha512-YfDri4himzAKvCn5P6X4JAj63PPpx9H46wm12o+78JwjfuvFNaiDjq8zdyRAVWVdmTWG0ahwHPEn4hkNDL/DxA== tarball: file:projects/core-tracing.tgz version: 0.0.0 file:projects/core-util.tgz: @@ -9360,7 +9360,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 @@ -9394,7 +9394,7 @@ packages: dev: false name: '@rush-temp/core-util' resolution: - integrity: sha512-glw4pOUFQydejUfqKP+imC8u9ARhD0nbgG44ZXc9Sr6tk3JZ6xrP3/Vv1Z83uPgSfQMF6svX0SCFC3eiusczfg== + integrity: sha512-Cu6fhLj1oqprc2s1XQyP+8SNEIGjYMjwGjgUFvqsFtcw3YmXWihkP5vxEf9H4atqCagI2zzeBI4CegMpJ9JcLQ== tarball: file:projects/core-util.tgz version: 0.0.0 file:projects/core-xml.tgz: @@ -9407,7 +9407,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/xml2js': 0.4.8 chai: 4.3.4 @@ -9443,7 +9443,7 @@ packages: dev: false name: '@rush-temp/core-xml' resolution: - integrity: sha512-/LdrZ/JoBIlvgoBQl+v71LNCRP7AE43OCO9MdVUogwrG8QwZwaWw2wgro9Mz5xucvGg46Xy53bRldT1498xTHQ== + integrity: sha512-y/Xw+iAT2IkXPWtLgqAx323DSrnojgO71vHVwe/X9H2ILMgVxF79aau44Cc810y2ROL20biY0ozt1fW/G7zfNw== tarball: file:projects/core-xml.tgz version: 0.0.0 file:projects/cosmos.tgz: @@ -9456,7 +9456,7 @@ packages: '@types/debug': 4.1.5 '@types/fast-json-stable-stringify': 2.1.0 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/priorityqueuejs': 1.0.1 '@types/semaphore': 1.1.1 '@types/sinon': 9.0.11 @@ -9495,7 +9495,7 @@ packages: dev: false name: '@rush-temp/cosmos' resolution: - integrity: sha512-xeynzMPENTLSgyH0Fi0tNXaGW76n4EWdwWWPrjSje3pHCLEw7BVgaLSOSQDkhuQskBJ6wxoDvL3OPJiUnXZzBg== + integrity: sha512-y0tdWWp7/xU/geYx1aGHZkr9u36+cRJuWH1WJh7CvEXdX31tRx/svzBMVy6Vt4hKHzaQ/0x8/ICYoebGSdLmqw== tarball: file:projects/cosmos.tgz version: 0.0.0 file:projects/data-tables.tgz: @@ -9513,7 +9513,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/uuid': 8.3.0 chai: 4.3.4 @@ -9553,7 +9553,7 @@ packages: dev: false name: '@rush-temp/data-tables' resolution: - integrity: sha512-JnJ5r5pu8XHpQxCvIJFi0KWwk3XECT5OCXekLOqH2kXVxFzrI0IEwX9ToJwfFvXkmIaZYmFKKRc4NAhQ14TsdA== + integrity: sha512-ujM2bV+u3bW/E26L/F6YOOx8xbrLpzNDaqfmN12TQB1CMeHzQf38U3zMb/Pthhk/Xb4sAfO4qvPyVD9vAKQmoA== tarball: file:projects/data-tables.tgz version: 0.0.0 file:projects/dev-tool.tgz: @@ -9567,7 +9567,7 @@ packages: '@types/fs-extra': 8.1.1 '@types/minimist': 1.2.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/prettier': 2.0.2 builtin-modules: 3.1.0 chai: 4.3.4 @@ -9591,7 +9591,7 @@ packages: dev: false name: '@rush-temp/dev-tool' resolution: - integrity: sha512-efUACytzsAI43tBlJ0Ofua3trkfEuXuJEHjjD9UXhDXRbXzgGQ6P4Tw8LNnEwzRjQrPvOoLseXORvabtDfYKAw== + integrity: sha512-+7q1hRI4jTQ2Y1LjHYGsePZlA5jxrNzojz67B2cweYHQRSQdEaN1qR8L/b1HZUDXVVOyBgx/SmfXsadhIaem9g== tarball: file:projects/dev-tool.tgz version: 0.0.0 file:projects/digital-twins-core.tgz: @@ -9605,7 +9605,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/uuid': 8.3.0 chai: 4.3.4 @@ -9645,7 +9645,7 @@ packages: dev: false name: '@rush-temp/digital-twins-core' resolution: - integrity: sha512-/rP1evOkdU5PuvNi5ZPNSeZcrnMXoPVk4iKPM4xjLRnbv20NKsZAB6BfyNyOQaozDNFDtG/YfwYItrPz7m+C7g== + integrity: sha512-ALnbQXSGDPYyvgBpj9LgOFpTlseHfrKvLxuR5S7RRdEZRzOp+3QPTV8ZlCLCFLM8C+mQZkGU0Zs1tYYHWuHI6A== tarball: file:projects/digital-twins-core.tgz version: 0.0.0 file:projects/eslint-plugin-azure-sdk.tgz: @@ -9656,7 +9656,7 @@ packages: '@types/glob': 7.1.3 '@types/json-schema': 7.0.7 '@types/mocha': 7.0.2 - '@types/node': 10.17.60 + '@types/node': 12.20.15 '@typescript-eslint/eslint-plugin': 4.19.0_32b60b6a5d7033b9e5296983f03a72ce '@typescript-eslint/experimental-utils': 4.19.0_eslint@7.29.0+typescript@4.2.4 '@typescript-eslint/parser': 4.19.0_eslint@7.29.0+typescript@4.2.4 @@ -9681,7 +9681,7 @@ packages: dev: false name: '@rush-temp/eslint-plugin-azure-sdk' resolution: - integrity: sha512-OCokgwlKCwXD/vZy57+hf6XBebQUdrQGXmdwh5SrlOYtwbmjJzEQxLtp8oK7AcSTY9jpsB7+MsSVzS+jWHZy2Q== + integrity: sha512-J35xOLMjkbGTj6mKWiUneuknJsBuksy6zGWJGZk9Y4Osvu/qLeMKWELZ7UEr2WIpJBSeTqvJihgvgrIJ0VUkUQ== tarball: file:projects/eslint-plugin-azure-sdk.tgz version: 0.0.0 file:projects/event-hubs.tgz: @@ -9700,7 +9700,7 @@ packages: '@types/debug': 4.1.5 '@types/long': 4.0.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/uuid': 8.3.0 '@types/ws': 7.4.5 @@ -9752,7 +9752,7 @@ packages: dev: false name: '@rush-temp/event-hubs' resolution: - integrity: sha512-waVb3W/FR4mFFVJXs9lMDzAfshanVmja0vWAJggGYu+5fGnd3Cp61En1S10hP+VUHRSqFCvuSX0lJq/+BclbAw== + integrity: sha512-E6rqZwFWroU5Fh0CdkKDZeDNYpis0r6OfX+IrBpObaLFP9P36UKrjHuHtSyvBWt9j3tBY+BBGDSBOC7BxDSfKw== tarball: file:projects/event-hubs.tgz version: 0.0.0 file:projects/event-processor-host.tgz: @@ -9771,7 +9771,7 @@ packages: '@types/chai-string': 1.4.2 '@types/debug': 4.1.5 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/uuid': 8.3.0 '@types/ws': 7.4.5 async-lock: 1.3.0 @@ -9802,7 +9802,7 @@ packages: dev: false name: '@rush-temp/event-processor-host' resolution: - integrity: sha512-vKalhzzIfxOTVJ/XCZZynsq8ESRiVGZ5ARt2ZnMUSGi9uEr1aar+rs1MSz8nVBmjG07OGT7nEnHWJpJHU3ztTg== + integrity: sha512-syykBEfYcNEgeJPdJQjKC3+Nb7bGZQtl7VILYKDPkcDxCHCEqS2VarrIgIbylakamm+WF6oIXYqTVvTOLYRR8g== tarball: file:projects/event-processor-host.tgz version: 0.0.0 file:projects/eventgrid.tgz: @@ -9818,7 +9818,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/uuid': 8.3.0 chai: 4.3.4 @@ -9859,7 +9859,7 @@ packages: dev: false name: '@rush-temp/eventgrid' resolution: - integrity: sha512-SBgApUEcGwhnF6aSeBKHFBxyPi7WfhLFrhH+VmYkQzWH6Y3I+6Q82Q6iegDWtMOQCYhgWhdEX4IMC37Z+6ytnA== + integrity: sha512-6HpywaUpJ1+RDd+oX9G5uqDq3Zxv2qbtTRPG2SA1teUGOf8dG8JsdfmE5Ew92KS+itf0/tYLSx0uG9aCEpuYng== tarball: file:projects/eventgrid.tgz version: 0.0.0 file:projects/eventhubs-checkpointstore-blob.tgz: @@ -9876,7 +9876,7 @@ packages: '@types/chai-string': 1.4.2 '@types/debug': 4.1.5 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 assert: 1.5.0 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 @@ -9918,7 +9918,7 @@ packages: dev: false name: '@rush-temp/eventhubs-checkpointstore-blob' resolution: - integrity: sha512-kPDNdx4ZkZ5doODbROhFMQDIxyBwbahRK/NtXhvFHdcVBe+LNdSX2XgXVdzY36Ouwwr9/uWbnvlzHhgsG3l9xQ== + integrity: sha512-H5ZQjjIZkd6UiDE1UL1WHFvbL9oPELOvb6pFbwghgnm34SM+AwwIAZH9D/oJWZwCQrKky68DTwqjL62/7fJlXg== tarball: file:projects/eventhubs-checkpointstore-blob.tgz version: 0.0.0 file:projects/identity-cache-persistence.tgz: @@ -9928,7 +9928,7 @@ packages: '@microsoft/api-extractor': 7.7.11 '@types/jws': 3.2.3 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/qs': 6.9.6 '@types/sinon': 9.0.11 assert: 1.5.0 @@ -9952,7 +9952,7 @@ packages: dev: false name: '@rush-temp/identity-cache-persistence' resolution: - integrity: sha512-ghvnAviHt/DkYNKLTDyXUyBHUwHzsJNUjxEfu0BDFigjI3GIhL4sj4b9tC1zM/BEz5WcX+iNwGyyxli9rpQ/qA== + integrity: sha512-xD/GBumQgrcIjBAZ8jfGAG9lIk4E15tBvjTDXplWHumDwTk7yhDG0VyGmmQHlmm8GqM0VlfA8LPOLXtHR21p4A== tarball: file:projects/identity-cache-persistence.tgz version: 0.0.0 file:projects/identity-vscode.tgz: @@ -9960,7 +9960,7 @@ packages: '@microsoft/api-extractor': 7.7.11 '@types/jws': 3.2.3 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/qs': 6.9.6 '@types/sinon': 9.0.11 '@types/uuid': 8.3.0 @@ -9985,7 +9985,7 @@ packages: dev: false name: '@rush-temp/identity-vscode' resolution: - integrity: sha512-Vz1rlmfRj9+CsPGCuj2RxyXlemnz6MrZnch7WSmsMUe/OYljjtVDCiYycAub9HwqqGSIT9xiNgXOBDt+KZIgCA== + integrity: sha512-hwqhAC4JntAjkm1t9Xh1jkQKJh/rw3R+e6Hr3u0mVlzm33hzqpRNEJQNb/FeJN7YK13GARuYP3eMxJXpwl0W9g== tarball: file:projects/identity-vscode.tgz version: 0.0.0 file:projects/identity.tgz: @@ -9996,7 +9996,7 @@ packages: '@microsoft/api-extractor': 7.7.11 '@types/jws': 3.2.3 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/qs': 6.9.6 '@types/sinon': 9.0.11 '@types/stoppable': 1.1.1 @@ -10034,13 +10034,13 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-hx8wOkNk9gdLdTKfNQ3H5vR+k1Bnis30iELhVW13dlQvS7Opo26T+vK5+P55hZqZSCAZX5WqU1IRPL/WH0nRKQ== + integrity: sha512-U8HltqYVr9W655SpiGaDVJ0IHe1+agW++vGNmih/QjJCjtagKAubvVKNGYu+OxVoEfpSfYc8pUhy0OEEgT3U0A== tarball: file:projects/identity.tgz version: 0.0.0 file:projects/iot-device-update.tgz: dependencies: '@microsoft/api-extractor': 7.7.11 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/uuid': 8.3.0 cross-env: 7.0.3 dotenv: 8.6.0 @@ -10060,7 +10060,7 @@ packages: dev: false name: '@rush-temp/iot-device-update' resolution: - integrity: sha512-BpN759UQhFDm8UYFjZC+9fwEp6fZVZpuc19yYGdugKdWF+D4i245U5la7afkTbYhS7gKLoH+ii+PhCm+3Kuv2A== + integrity: sha512-rBIXGpY0B5SbJOXAFsApfA19XGR0TNIwLJE6Lp7Gsisa5wgn6Ndvheid2i2i4Dnpz6edgKsuN4MYAYkZPRFkSg== tarball: file:projects/iot-device-update.tgz version: 0.0.0 file:projects/iot-modelsrepository.tgz: @@ -10075,7 +10075,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 @@ -10112,7 +10112,7 @@ packages: dev: false name: '@rush-temp/iot-modelsrepository' resolution: - integrity: sha512-xxLD7Acc6ktPpKllJjKXO0WDBy97DSh1kfiF5cECusqDY3u7+BF8GBs/7E3x0do6/Eofn1goARxH9hC+mKM0fA== + integrity: sha512-WkrPUmgVb86oPEVUeGZr5vpgotLI/t/tSJFubhovVS0VdzwTO9ed+lxGqfc664mHHDG8R/6hmUWPmzt3BdOW6A== tarball: file:projects/iot-modelsrepository.tgz version: 0.0.0 file:projects/keyvault-admin.tgz: @@ -10128,7 +10128,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/uuid': 8.3.0 assert: 1.5.0 @@ -10157,7 +10157,7 @@ packages: dev: false name: '@rush-temp/keyvault-admin' resolution: - integrity: sha512-N1mMTHFZ+L+1jJGw0FmU/nYy2Tx41AWtzxAT4eKotj+ix1PhQW7tu712sfGSK8rJciA9z2YaXnq2KlCalpJrHw== + integrity: sha512-K7fSHQu14LH52AEEczcp8Pw/YzBZOp2s8+jvxBVdAIt59upUJPy98OBGKyhoC/zEyunQjVVWGMc/oMCv8tEQ9A== tarball: file:projects/keyvault-admin.tgz version: 0.0.0 file:projects/keyvault-certificates.tgz: @@ -10171,7 +10171,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/query-string': 6.2.0 '@types/sinon': 9.0.11 assert: 1.5.0 @@ -10214,7 +10214,7 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-SZIpvWi1Oh0fR52xInZ1rEJlPDGJGJIuPwdLaZED57YjEaO+s8x42Ud/n5xJ+gC+1sZP8aRdwDYzvKllCLggRg== + integrity: sha512-JTTY3YA7aFQZsarrqBAEk+XhdU+JWThhM6qRxPrKavy2poh2CMsXpO99qfEw12hQ5PWicCukbmZF+KMc3WpkQw== tarball: file:projects/keyvault-certificates.tgz version: 0.0.0 file:projects/keyvault-common.tgz: @@ -10241,7 +10241,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/query-string': 6.2.0 '@types/sinon': 9.0.11 assert: 1.5.0 @@ -10285,7 +10285,7 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-mZg+MNTvoPCKHfVVEBCZomsF8N4LpjbZoWexpAC1iTKaHvj8ILjxuGH6YP8WJssvDdQUH3xOhPAScIOMYdGTnA== + integrity: sha512-HyGmZuZ9jbZSuElkasp6ESZ4fJGR2fVnWHBTAo82WAS/Z+ahQ4i++yhxlImEETeHVas3xLyk0KtMxAq30OgOsg== tarball: file:projects/keyvault-keys.tgz version: 0.0.0 file:projects/keyvault-secrets.tgz: @@ -10298,7 +10298,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/query-string': 6.2.0 '@types/sinon': 9.0.11 assert: 1.5.0 @@ -10341,7 +10341,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-W5dDV1QHJ+u9+NJWNi11koGkXachZAB66ASayigW7tdmGyyRzIKubOZvKaXKQCN1jlsABXK6Q7GQvVzM5/0M2Q== + integrity: sha512-PQOqnVqshtnKT5gHMPRmlAWXJ1zjgziGYkG26ReGBAItABfHK+HM5dhUJ9LzA5kF312jDQYNWMCQR+m21AXr6Q== tarball: file:projects/keyvault-secrets.tgz version: 0.0.0 file:projects/logger.tgz: @@ -10353,7 +10353,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 chai: 4.3.4 @@ -10389,7 +10389,7 @@ packages: dev: false name: '@rush-temp/logger' resolution: - integrity: sha512-alWJFZu8cEP3uMZTDWsj+T8tXQqO2owEHH2DfbC3Lw8w12gRlz+pqrfxtFdGoPiteCdTbdrQc5E68nV4vVSh8A== + integrity: sha512-nYl70rSzi6HROwq6Tby45FL6Wfr0bIIL75bIBdgOoNqZ4Jbjrtghfx+iElia55MMylPZ5Zc+yYaBwOKf2wld4Q== tarball: file:projects/logger.tgz version: 0.0.0 file:projects/mixedreality-authentication.tgz: @@ -10398,7 +10398,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 @@ -10431,12 +10431,12 @@ packages: dev: false name: '@rush-temp/mixedreality-authentication' resolution: - integrity: sha512-J3o/wRGxiLoaX9H26cUyJ24rF9cmZ3fmsKpQZWIX8fZdKOYd8/FYyY562CkjEmC0tdzQw65h/eWoorg8hFRb3w== + integrity: sha512-LMwKWWNn7RGRh7IZvaIkVxSkCeA0Av7O0UQDBoxPD5XvdZUY2eY/ofG3UmSpD5apQ5pzBRH0uvfgud2Ruk55kg== tarball: file:projects/mixedreality-authentication.tgz version: 0.0.0 file:projects/mock-hub.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 dotenv: 8.6.0 eslint: 7.29.0 prettier: 1.19.1 @@ -10447,7 +10447,7 @@ packages: dev: false name: '@rush-temp/mock-hub' resolution: - integrity: sha512-pfskwSTo/C1JP4VOqr1GLJKMerWCLy9m5rkVZ4CaY0pyo55ZikQmGRQmmnP5OnvGSCCVaWLNZ2sxgSg4/LpgeA== + integrity: sha512-w4gQTrqQney0Jkj0NMc1D9KrgNJ1upzYkheaNFdeA84uApywwVloe7o8mOhGMVhzR1uQMsq2zFlNGdDgbByDog== tarball: file:projects/mock-hub.tgz version: 0.0.0 file:projects/monitor-opentelemetry-exporter.tgz: @@ -10459,7 +10459,7 @@ packages: '@opentelemetry/semantic-conventions': 0.22.0 '@opentelemetry/tracing': 0.22.0_@opentelemetry+api@1.0.0 '@types/mocha': 7.0.2 - '@types/node': 10.17.60 + '@types/node': 12.20.15 eslint: 7.29.0 eslint-plugin-node: 11.1.0_eslint@7.29.0 execa: 3.4.0 @@ -10477,7 +10477,7 @@ packages: dev: false name: '@rush-temp/monitor-opentelemetry-exporter' resolution: - integrity: sha512-Lq8fsz2BpYqrWz1cYDlNTjLaReTJFmj13Wqq5M59N+jw0QYt8G+hAlyu4vx6G/S8EFBBcA8CCLehrkVJVMnf5g== + integrity: sha512-kXcs9oniFsAttVLeJsePd+5IQsUFl1bKeeBRd9AVuNisAZ/ANMZaO/7QoZ1+NwqvOgcv5nTMyz6WKUAv5zrgQw== tarball: file:projects/monitor-opentelemetry-exporter.tgz version: 0.0.0 file:projects/monitor-query.tgz: @@ -10490,7 +10490,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 @@ -10525,13 +10525,13 @@ packages: dev: false name: '@rush-temp/monitor-query' resolution: - integrity: sha512-ZqbLi+vZHrI+Vz3RzDS2+A/pyL3d+jhv/mtt3kIBz7MNhrR2U3LChG5y3je2HY06XRuyhg7O/gz0TBrSTQHt/Q== + integrity: sha512-ZL8duEIH2flsaY9Gtp1XCvf2kzrzk3xw1SQCkTtGVhRb4ZuKpz2JwsqpMg/sg3a/AloyWAt5albV93ofMlfPbQ== tarball: file:projects/monitor-query.tgz version: 0.0.0 file:projects/perf-ai-form-recognizer.tgz: dependencies: '@azure/ai-form-recognizer': 3.1.0-beta.3 - '@types/node': 8.10.66 + '@types/node': 12.20.15 dotenv: 8.6.0 eslint: 7.29.0 prettier: 1.19.1 @@ -10542,13 +10542,13 @@ packages: dev: false name: '@rush-temp/perf-ai-form-recognizer' resolution: - integrity: sha512-Cdcpa3QsglrMNYbuwiDH70V1n9ID+ur65l/cTKce0RjsvZVAfKfxD3spUHJkg4AOOUdr+j+srPISWvFGobhr7A== + integrity: sha512-Tf+pRx7aViobeOVot3iXdBoVU0X9FcptXmPklmAmOeXwqcoMjIGSNsqfda0dW9Kgbyptc1tevehT4qkOFY4hmg== tarball: file:projects/perf-ai-form-recognizer.tgz version: 0.0.0 file:projects/perf-ai-metrics-advisor.tgz: dependencies: '@azure/ai-metrics-advisor': 1.0.0-beta.3 - '@types/node': 8.10.66 + '@types/node': 12.20.15 dotenv: 8.6.0 eslint: 7.29.0 prettier: 1.19.1 @@ -10559,12 +10559,12 @@ packages: dev: false name: '@rush-temp/perf-ai-metrics-advisor' resolution: - integrity: sha512-ofMfDBkE5lsd0j1dPRuycZJbsASYeIYUXQqDEAJzz1pQD0XXUxGM7v04CuZJkLWYURMPwkAr8Iwv+FLk1nQkEg== + integrity: sha512-ZjOIz/qZblV8RptttXCimWsXhWNgln9uSy3bS+7UdCFB20ve8PbIMtKlm9peFpTxtGbkLbUJ05WdRAGSDRFt6w== tarball: file:projects/perf-ai-metrics-advisor.tgz version: 0.0.0 file:projects/perf-ai-text-analytics.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 dotenv: 8.6.0 eslint: 7.29.0 prettier: 1.19.1 @@ -10575,12 +10575,12 @@ packages: dev: false name: '@rush-temp/perf-ai-text-analytics' resolution: - integrity: sha512-Kvl28eIyB/TUFjHazX20V+clKd8zLCBx+Tb7zTU3Yp1kei9JNZfqMaDmDlCyfw1bmRLDslq5/xfo/NEMWks0wQ== + integrity: sha512-juCD/69oz1g2KQaYInjl0BpEwD/oalNeJz4qU+RKO0yxN5khHD8A9chYn9KiZPvVqctnqb8NkpEVQ2oOlobo0w== tarball: file:projects/perf-ai-text-analytics.tgz version: 0.0.0 file:projects/perf-app-configuration.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/uuid': 8.3.0 dotenv: 8.6.0 eslint: 7.29.0 @@ -10593,7 +10593,7 @@ packages: dev: false name: '@rush-temp/perf-app-configuration' resolution: - integrity: sha512-O15mVhuC7Jxq1ChINDVhi4J0NaKC8SP9tYLCgh9vMraFdvP0S9r6KyxgEPsirXUwQ6HADWU2vZ7ue+DygnyINA== + integrity: sha512-vxd8UIAJWmXCeXs+np9dzDKpeHAYtCmh3CpE7I3E27oMx8dvT8Rx6UZ40VwOSlOzZDdK1/6B7bU/EnrhjEEhjA== tarball: file:projects/perf-app-configuration.tgz version: 0.0.0 file:projects/perf-core-rest-pipeline.tgz: @@ -10614,7 +10614,7 @@ packages: version: 0.0.0 file:projects/perf-eventgrid.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 dotenv: 8.6.0 eslint: 7.29.0 prettier: 1.19.1 @@ -10625,7 +10625,7 @@ packages: dev: false name: '@rush-temp/perf-eventgrid' resolution: - integrity: sha512-iZ+jXLvvCwDoEDbeILa7jZCSs38fN8iCxFa1dXQSzsbf3CQ1wh8V3hEu0u3J2YZSAFUwTraVvSsq2ibFBGGRgg== + integrity: sha512-uTGNn9MwdSVeweKogNSB0lQlWHfuiqWJ+2fWaf/jOSmEe/0R1LFmrwIOErA8uBumCga1Mz1/NBMoaPA6KDlblg== tarball: file:projects/perf-eventgrid.tgz version: 0.0.0 file:projects/perf-identity.tgz: @@ -10700,7 +10700,7 @@ packages: version: 0.0.0 file:projects/perf-search-documents.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 dotenv: 8.6.0 eslint: 7.29.0 prettier: 1.19.1 @@ -10711,13 +10711,13 @@ packages: dev: false name: '@rush-temp/perf-search-documents' resolution: - integrity: sha512-vTU34zY2iUB1V//n2VLEyqcrHX+FAUZG3qZp1zKn8Kxq4uDqS/j2Zgk+JE3KkhLvYSpfjZUIBYm5pAbBF5pwKA== + integrity: sha512-iibP34ojTvPCkl+YNT4hI2iorHZkUrrDcndmDX6vS2Eujikl92GzdTU8Pal46C7fxLH71ZhYgXuPaY7hNs7Fsg== tarball: file:projects/perf-search-documents.tgz version: 0.0.0 file:projects/perf-storage-blob.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/node-fetch': 2.5.10 '@types/uuid': 8.3.0 dotenv: 8.6.0 @@ -10732,12 +10732,12 @@ packages: dev: false name: '@rush-temp/perf-storage-blob' resolution: - integrity: sha512-qgt/1g9b5WF7t/MgCo8AIzGZWtEUogkGYw1ynmOaJIyzJg7F9xT7LggSbz6djkydtTveJ6/qe1rg1/H1hEnGMQ== + integrity: sha512-jFkQJYkY7nHahmZol7Ty//mv8qI8HmFfJ52C6pbwfAJ6GA5hls8lagilOD62yUQn4Qw0mkTNXzi+muJtl7Z9hw== tarball: file:projects/perf-storage-blob.tgz version: 0.0.0 file:projects/perf-storage-file-datalake.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/uuid': 8.3.0 dotenv: 8.6.0 eslint: 7.29.0 @@ -10750,12 +10750,12 @@ packages: dev: false name: '@rush-temp/perf-storage-file-datalake' resolution: - integrity: sha512-9gBiIvNnIhNKLizRPbsFb4TFwBO/Yiz986W6DjwEvZ7czI7t4iuKPgE6sSny/7/GyBJ3fJIS2O+OPTNvYislpg== + integrity: sha512-v2JLPEaagwTOCrUOE680t3lgwOm8gB4f1kss/28vKx31SHR4naXzzeBGAWTHHAxZL7cs1WfTj0F6p730T8NxdA== tarball: file:projects/perf-storage-file-datalake.tgz version: 0.0.0 file:projects/perf-storage-file-share.tgz: dependencies: - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/uuid': 8.3.0 dotenv: 8.6.0 eslint: 7.29.0 @@ -10768,7 +10768,7 @@ packages: dev: false name: '@rush-temp/perf-storage-file-share' resolution: - integrity: sha512-LeUsfqr//on6XfPceC/4iJEgitJcD1O+1lAxopEDweXu/gunDkCZhquF1S4rYJlcQRDC9W68zxTI3KaqcjibPQ== + integrity: sha512-PD56Vv21uqok0ycwDqH0QrVx9IB/ukQEtKEIarbCYPB5d4yufKL3zb1LztaaVK38oUP/w2EKxgMMQEqyo4NdUQ== tarball: file:projects/perf-storage-file-share.tgz version: 0.0.0 file:projects/purview-catalog.tgz: @@ -10778,7 +10778,7 @@ packages: '@microsoft/api-extractor': 7.13.2 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 @@ -10811,7 +10811,7 @@ packages: dev: false name: '@rush-temp/purview-catalog' resolution: - integrity: sha512-WPSEZTapYdZwHdzDo8F+4Tzx6W49pvnyQQFcRraQOqgeUkrCF6wfDW0JtkR2xU2GWjnuif/ilg4NoanFQcidbQ== + integrity: sha512-I4MqeeoeLqpOyGXJCCwBpobyWsDr7W8DgRXZhNv8tUXmAN3ARJnziK71J1MvLMwqzajYBEcNA+RitkRnlT1tmA== tarball: file:projects/purview-catalog.tgz version: 0.0.0 file:projects/purview-scanning.tgz: @@ -10821,7 +10821,7 @@ packages: '@microsoft/api-extractor': 7.13.2 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 cross-env: 7.0.3 dotenv: 8.6.0 @@ -10854,7 +10854,7 @@ packages: dev: false name: '@rush-temp/purview-scanning' resolution: - integrity: sha512-xO9TV5e8I9WEWBc9dsOEzbx9j+l2NSgyz7s1vy4b3vsFGtOJMkeAIOKK6dXOcvf+QVOp8FOSk5XwSNAggDIyqA== + integrity: sha512-kiSY4IQlt5PjKG1+kvWdLu3F6CUgCjlbp0z/vKghllxOD9O2PPkjLYwtnq9Y+280gyXq3EzGtjRLOrvWFOSNSg== tarball: file:projects/purview-scanning.tgz version: 0.0.0 file:projects/quantum-jobs.tgz: @@ -10868,7 +10868,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 @@ -10907,7 +10907,7 @@ packages: dev: false name: '@rush-temp/quantum-jobs' resolution: - integrity: sha512-EkskcLw/yARmVBVNoHwawqSzEyiiu1G6rbH+6SSQiTSJg2DF3AqdrwAibkaRjFeHRRGGApYvb+vADefmWXZaNg== + integrity: sha512-s8e8M//91ePGj1dO90jFRt/t9boXQAb412rQ/eV7Plvf4Z7juW8OQNFfgfDDgbu/+Yh4BmTEEt0Ge5fhQ3MNGQ== tarball: file:projects/quantum-jobs.tgz version: 0.0.0 file:projects/schema-registry-avro.tgz: @@ -10922,7 +10922,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 avsc: 5.7.0 buffer: 5.7.1 chai: 4.3.4 @@ -10961,7 +10961,7 @@ packages: dev: false name: '@rush-temp/schema-registry-avro' resolution: - integrity: sha512-FFj5S9ii1kaeUrp/Rjax+J5jGBh7arsAlAJQxigXMOUm9KCAsSLNtMManqAbpvsML7TSL+6cBmqmjF0L+28Xfg== + integrity: sha512-OZb2LmW2W4ZKIxb0qgvDhGn0GWVQT5mrrSNMHIpTc7j3OxcfQoEimgrzkF4ae5t1l4qxRyPZV7QGErLPdI/lZg== tarball: file:projects/schema-registry-avro.tgz version: 0.0.0 file:projects/schema-registry.tgz: @@ -10975,7 +10975,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 @@ -11011,7 +11011,7 @@ packages: dev: false name: '@rush-temp/schema-registry' resolution: - integrity: sha512-SJQMGaVqwgt7MBCEDaGza5srjmLnmbrakVpMEO+b9n7+PP1qc90d50PEQJolapHFM3RDNfSbon+kOK19q9FK9g== + integrity: sha512-dDGxgw7Oha0+j5wUJXgcFuGlAK6tn3HhnIF+qhu/uUT7bhMjXZCP5VBAtqkGE86TCRMFFNCXTIMHrqJ5ZAtW8A== tarball: file:projects/schema-registry.tgz version: 0.0.0 file:projects/search-documents.tgz: @@ -11024,7 +11024,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 cross-env: 7.0.3 @@ -11064,7 +11064,7 @@ packages: dev: false name: '@rush-temp/search-documents' resolution: - integrity: sha512-gYgY1PygI2bfmIB4TDx/BzHCuoOXWZbZchbmuf4dMTHawr2jPuVZrTcGdods1jlBY7doAq4muoudrSWyyDlUGA== + integrity: sha512-uMx6yCLx/luocgYetGgDbAiiwr5mU2Zxj/fwYz6CaKn6bjIP+6oiOxjf4OyTVJxfPiH6W7aMjj2K//v1IeS5YA== tarball: file:projects/search-documents.tgz version: 0.0.0 file:projects/service-bus.tgz: @@ -11083,7 +11083,7 @@ packages: '@types/is-buffer': 2.0.0 '@types/long': 4.0.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 '@types/ws': 7.4.5 assert: 1.5.0 @@ -11138,7 +11138,7 @@ packages: dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-WmD50C2zdjAvRU3aqyHKU8Mu6Yr76u9VczCNZVx9FeQPtDX6zIySgroMNlrjFX2EC/5HF2aUdOsTtpYFFSN83g== + integrity: sha512-teYp08lQ/CkmWhDaJMHvTWnOzeIiEbMgx3AAs4BjPFVPVK9/2RI2dT7kwyZbZwRyOmh9+ipjF1mfxpF4fiUXLQ== tarball: file:projects/service-bus.tgz version: 0.0.0 file:projects/storage-blob-changefeed.tgz: @@ -11149,7 +11149,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 assert: 1.5.0 cross-env: 7.0.3 @@ -11194,7 +11194,7 @@ packages: dev: false name: '@rush-temp/storage-blob-changefeed' resolution: - integrity: sha512-ksbw8dPxjkpa1QLxHQeDSg9+cQJ6xVwwNFD00yYN+ew7TKQF/lpB06PtVONdU1YzYZ/c3d7P9qSajZXDqbmoEQ== + integrity: sha512-k3cfRzuNXPjAHe0XSdc5CzAZpRR/J3dNtxYTIpSx2qQsyShPbdoV18K3QwC8lBgJ9rDuIwWtw6Chcwup4Kos4A== tarball: file:projects/storage-blob-changefeed.tgz version: 0.0.0 file:projects/storage-blob.tgz: @@ -11207,7 +11207,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/node-fetch': 2.5.10 assert: 1.5.0 cross-env: 7.0.3 @@ -11252,7 +11252,7 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-Y2PYAaYTgmGrVfnf3V9wNGDMpbHvqGUbWVyOumm/ZcGyoYk5GJLEfzyfrcu/Km+q6vInYa6DJIvyhtGIMpRGpw== + integrity: sha512-SR7gi1XbF99h18cjafy3mOIYAuYO4pWc0/Li7nYa+F+wuR5p+EBXExbPgXocaunQEr56edWKvhVTAsXJf3fa0w== tarball: file:projects/storage-blob.tgz version: 0.0.0 file:projects/storage-file-datalake.tgz: @@ -11264,7 +11264,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/query-string': 6.2.0 assert: 1.5.0 cross-env: 7.0.3 @@ -11310,7 +11310,7 @@ packages: dev: false name: '@rush-temp/storage-file-datalake' resolution: - integrity: sha512-WadrudqhN+4o2y/lIxJfIOw2XhIbzM578cULuCnQUIjq/sxraUQ6VT4ruWRRqkpBJYXAkvKGFKU1nk9hZI21Pw== + integrity: sha512-WKNmOb2EDGEZqC1D1RkDFh1HJVn2cSNiNx4/g/I6jyb/JTykRW/sQj4eQMOFv2VzoglVCc5Y5rfV/krMxvTwBw== tarball: file:projects/storage-file-datalake.tgz version: 0.0.0 file:projects/storage-file-share.tgz: @@ -11321,7 +11321,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 assert: 1.5.0 cross-env: 7.0.3 dotenv: 8.6.0 @@ -11364,7 +11364,7 @@ packages: dev: false name: '@rush-temp/storage-file-share' resolution: - integrity: sha512-tm+npdfU7HW8bDAXmLHl7SkTVE0R0OkQkj6Ao1VtZxbaNsV2yHgino//7zrzTHm5NXYM1T9/UZd5lAxUkUg2YA== + integrity: sha512-eYcZuBTa4QZtWhOSG4rPF8DiZ8SVedKabioQO/xGeZMkYy4M/y5asia2D55EZ0pGqFBkwxztIMQR+t6GENY0LA== tarball: file:projects/storage-file-share.tgz version: 0.0.0 file:projects/storage-internal-avro.tgz: @@ -11375,7 +11375,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 assert: 1.5.0 dotenv: 8.6.0 downlevel-dts: 0.4.0 @@ -11415,7 +11415,7 @@ packages: dev: false name: '@rush-temp/storage-internal-avro' resolution: - integrity: sha512-CiJ3tMrQbD/kLrPz3+QVRuKZFE0q8z0DgkPTyBoBoRJkeSI6Rzcm17xKtMvaAJQn1pk+GMpEv+h1Zifrmbqi8Q== + integrity: sha512-aQ1xnh7693GdMq9DI/FkIsHd5BnHsemYRwhc3BqmcOzIXP+n3qE1f9sP9t+DPGnWbcZI5Ce29VE9t1r6q31iAQ== tarball: file:projects/storage-internal-avro.tgz version: 0.0.0 file:projects/storage-queue.tgz: @@ -11426,7 +11426,7 @@ packages: '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 assert: 1.5.0 cross-env: 7.0.3 dotenv: 8.6.0 @@ -11468,7 +11468,7 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-uTyj9p7/aIjlEkguZAVtnCxV8fU7iOxRZV0j/GwWWIpuFKaK92rtWJGRBrQ/IRVRehNuS81GgRBEVb5tIyLIvA== + integrity: sha512-mIDhXmilj9q6Of9XiCIOpTQr0BdI9TOI1R+EesU3ySwTRSwo9LRHSL9Q7BUCtX1vGDoBMTV9+RKhmyGf4SzS5Q== tarball: file:projects/storage-queue.tgz version: 0.0.0 file:projects/synapse-access-control.tgz: @@ -11497,7 +11497,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 @@ -11536,7 +11536,7 @@ packages: dev: false name: '@rush-temp/synapse-artifacts' resolution: - integrity: sha512-FGswIITasIIQLmyG+RTFkrm6PPW6DZvclEJM8OZjR7a2Wo3X6F/dXVx04wOQXkyOpEGhS9Q4t1zeQGx1kqoibw== + integrity: sha512-/CbcDVgYUXiruEvBTaofRA/WI4mE17B/k82Ow4Z6Sit8SWWLr9HMt84l9CQmtO/EEy+XONa79gt5mlhNYdYoPA== tarball: file:projects/synapse-artifacts.tgz version: 0.0.0 file:projects/synapse-managed-private-endpoints.tgz: @@ -11602,7 +11602,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 cross-env: 7.0.3 @@ -11637,14 +11637,14 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-hQI0Ql4AZ4XWrILH/tsta0ICSinVvE+Bus/7L8tuBRza+LJUlaJVgEG16kY/mex7qaCRZkn8FiIJkD2mlywRLg== + integrity: sha512-tzPyJx5J7e3qU69hf7F2H1Id5Tbig+OLNexf43IUvtdtS5IOoi2VyjURMu7yD65PvYiZdiqnlFN7u7yVNgJIjA== tarball: file:projects/template.tgz version: 0.0.0 file:projects/test-utils-perfstress.tgz: dependencies: '@azure/core-http': 1.2.6 '@types/minimist': 1.2.1 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/node-fetch': 2.5.10 eslint: 7.29.0 karma: 6.3.4 @@ -11660,7 +11660,7 @@ packages: dev: false name: '@rush-temp/test-utils-perfstress' resolution: - integrity: sha512-G01AKC+QVmgEMfC2qhx04eGCjF263vxZi+gl5okAPVDSdU0VVksM/RTytC5FuJtedCuNnKIiCDsTRXY8jPGwlQ== + integrity: sha512-Dw1ymK8lJ4/YxOxYRvmYQqPBj0hrCmiQbCU8dwlW3gikFdUd2T16cIgHLuCHIEC1pkFT35+uhiOH2Hf6gbEypQ== tarball: file:projects/test-utils-perfstress.tgz version: 0.0.0 file:projects/test-utils-recorder.tgz: @@ -11676,7 +11676,7 @@ packages: '@types/mock-fs': 4.10.0 '@types/mock-require': 2.0.0 '@types/nise': 1.4.0 - '@types/node': 8.10.66 + '@types/node': 12.20.15 chai: 4.3.4 dotenv: 8.6.0 eslint: 7.29.0 @@ -11716,7 +11716,7 @@ packages: dev: false name: '@rush-temp/test-utils-recorder' resolution: - integrity: sha512-AmE/h0wK80qWpCOM+dLXlhMjLYIM7A3UFZIALzlOVy3BiGlN/3Sr3c6/7uNXTp2q6C0vqrl8wpnH3zP59oZkXQ== + integrity: sha512-W3PUv+wfjsFF0477l2FZQUCJaSZkrl694/B9fGGDd/cnLsO9GJCxVE1r31PLAHNlryEzDBdWJMkrEyAOIT7Xkg== tarball: file:projects/test-utils-recorder.tgz version: 0.0.0 file:projects/test-utils.tgz: @@ -11724,7 +11724,7 @@ packages: '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/sinon': 9.0.11 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 @@ -11743,7 +11743,7 @@ packages: dev: false name: '@rush-temp/test-utils' resolution: - integrity: sha512-liKiIr7D3RaNwsNwpp8K5SOeOlz2O5vrDfnJFbdHgtkRNEKeP/k86zHSDWcV/OmP14mg+SjxwAMFZ9JQCXp5EA== + integrity: sha512-uvWHZfFGpWYh9rhtOdG0MJIIRxCek0wIVMiYvsg+qloQ4noLG0t8Zf0OSh02ymbpJ4x8Hais+5+KCvdZ6mFr5g== tarball: file:projects/test-utils.tgz version: 0.0.0 file:projects/video-analyzer-edge.tgz: @@ -11752,7 +11752,7 @@ packages: '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 azure-iothub: 1.14.2 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 @@ -11785,7 +11785,7 @@ packages: dev: false name: '@rush-temp/video-analyzer-edge' resolution: - integrity: sha512-EmFXjIs+Itmn0tO3VRG4C3jHBRvXmUCgXRotTtnHy3MjmfDPcW9Ad9/3ZAxs+yhAdVTfQ4eZAkcyCUAS99Weqg== + integrity: sha512-WCCV5micC74VY8Y2F/FhpUvin5NMIK375+VDrE5Viq6rsDqMUR2fiNEsSE2Au+f3/SQ8+gdmhz/j8CjxD/lpMw== tarball: file:projects/video-analyzer-edge.tgz version: 0.0.0 file:projects/web-pubsub-express.tgz: @@ -11802,7 +11802,7 @@ packages: '@types/express-serve-static-core': 4.17.21 '@types/jsonwebtoken': 8.5.2 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/query-string': 6.2.0 '@types/sinon': 9.0.11 assert: 1.5.0 @@ -11846,7 +11846,7 @@ packages: dev: false name: '@rush-temp/web-pubsub-express' resolution: - integrity: sha512-nQ+4E7biXcZfZGOfGQjqRGDnh53ktgWERarLRnUPJXlTNG0/ex0hAPL+BRXji6UIqlX1/NTcXPPc3KAu5gZbmQ== + integrity: sha512-7fhzzPMfrSmDZbdzhtoALZPAyEC+HYfKldEM0RaYayTsuyHOdVz5IwWyKBXMwwCVoiWbbQEtVYf1NbI4e5g3Kg== tarball: file:projects/web-pubsub-express.tgz version: 0.0.0 file:projects/web-pubsub.tgz: @@ -11860,7 +11860,7 @@ packages: '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 '@types/jsonwebtoken': 8.5.2 '@types/mocha': 7.0.2 - '@types/node': 8.10.66 + '@types/node': 12.20.15 '@types/query-string': 6.2.0 '@types/sinon': 9.0.11 assert: 1.5.0 @@ -11903,7 +11903,7 @@ packages: dev: false name: '@rush-temp/web-pubsub' resolution: - integrity: sha512-gWCUFpMhKrd5v3cvLLkcJIYn8C1lQgg487WLD4H040NGB6hY89G1JQyfrihPi4h059Oi9fHq4mCwbqvWVHHocg== + integrity: sha512-NEgAqwtqpS48OPZ9oNnVcyOUBN9+cdG8bmcyFPVcH69lHkGVUKUTWlYQKAer1xuBZbdvZrw7l8UjrFtpnVCqaw== tarball: file:projects/web-pubsub.tgz version: 0.0.0 registry: '' diff --git a/common/tools/dev-tool/package.json b/common/tools/dev-tool/package.json index 681bf0af06ae..85fc4d03075b 100644 --- a/common/tools/dev-tool/package.json +++ b/common/tools/dev-tool/package.json @@ -59,7 +59,7 @@ "@types/fs-extra": "^8.0.0", "@types/minimist": "~1.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/prettier": "~2.0.1", "builtin-modules": "~3.1.0", "chai": "^4.2.0", diff --git a/common/tools/eslint-plugin-azure-sdk/package.json b/common/tools/eslint-plugin-azure-sdk/package.json index 149644682892..134a7a6d74cf 100644 --- a/common/tools/eslint-plugin-azure-sdk/package.json +++ b/common/tools/eslint-plugin-azure-sdk/package.json @@ -82,7 +82,7 @@ "@types/glob": "^7.1.1", "@types/json-schema": "^7.0.6", "@types/mocha": "^7.0.2", - "@types/node": "^10.12.0", + "@types/node": "^12.0.0", "@typescript-eslint/eslint-plugin": "~4.19.0", "@typescript-eslint/experimental-utils": "~4.19.0", "@typescript-eslint/parser": "~4.19.0", diff --git a/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-engine-is-present.ts b/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-engine-is-present.ts index 50aabaa89d8c..c0cac04ac69f 100644 --- a/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-engine-is-present.ts +++ b/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-engine-is-present.ts @@ -13,7 +13,7 @@ import { getRuleMetaData, getVerifiers, stripPath } from "../utils"; * definition of LTS Node versions * * needs updating as definitions change */ -const LTS = ">=8.0.0"; +const LTS = ">=12.0.0"; //------------------------------------------------------------------------------ // Rule Definition diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-engine-is-present.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-engine-is-present.ts index 460aac7924da..2848dadaddbe 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-engine-is-present.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-engine-is-present.ts @@ -257,7 +257,7 @@ ruleTester.run("ts-package-json-engine-is-present", rule, { valid: [ { // only the fields we care about - code: '{"engines": { "node": ">=8.0.0" }}', + code: '{"engines": { "node": ">=12.0.0" }}', filename: "package.json" }, { diff --git a/package.json b/package.json index 41679c8d57a7..04fa29f61789 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "@types/gulp": "^4.0.0", "@types/js-yaml": "^3.11.2", "@types/minimist": "^1.2.0", - "@types/node": "^10.10.0", + "@types/node": "^12.0.0", "@types/nodegit": "^0.22.5", "@types/yargs": "^11.0.0", "colors": "^1.3.2", diff --git a/sdk/agrifood/agrifood-farming-rest/package.json b/sdk/agrifood/agrifood-farming-rest/package.json index f431a0a52a71..44b799277485 100644 --- a/sdk/agrifood/agrifood-farming-rest/package.json +++ b/sdk/agrifood/agrifood-farming-rest/package.json @@ -29,7 +29,7 @@ "LICENSE" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "//metadata": { "constantPaths": [ @@ -99,7 +99,7 @@ "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "dotenv": "^8.2.0", diff --git a/sdk/anomalydetector/ai-anomaly-detector/package.json b/sdk/anomalydetector/ai-anomaly-detector/package.json index 01b424eaa639..4a811cc32c8e 100644 --- a/sdk/anomalydetector/ai-anomaly-detector/package.json +++ b/sdk/anomalydetector/ai-anomaly-detector/package.json @@ -45,7 +45,7 @@ "LICENSE" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": "github:Azure/azure-sdk-for-js", "keywords": [ @@ -81,7 +81,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "csv-parse": "^4.4.0", diff --git a/sdk/appconfiguration/app-configuration/CHANGELOG.md b/sdk/appconfiguration/app-configuration/CHANGELOG.md index b71383a58e81..9abaf67ac0d4 100644 --- a/sdk/appconfiguration/app-configuration/CHANGELOG.md +++ b/sdk/appconfiguration/app-configuration/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.2.0-beta.3 (Unreleased) ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Breaking Changes diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index c3a82889b5c6..44e66e96b360 100644 --- a/sdk/appconfiguration/app-configuration/package.json +++ b/sdk/appconfiguration/app-configuration/package.json @@ -69,7 +69,7 @@ "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "sideEffects": false, "autoPublish": false, @@ -108,7 +108,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", "chai": "^4.2.0", diff --git a/sdk/appconfiguration/perf-tests/app-configuration/package.json b/sdk/appconfiguration/perf-tests/app-configuration/package.json index 82d4ed432be0..39599a2ec2c2 100644 --- a/sdk/appconfiguration/perf-tests/app-configuration/package.json +++ b/sdk/appconfiguration/perf-tests/app-configuration/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@types/uuid": "^8.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/attestation/attestation/package.json b/sdk/attestation/attestation/package.json index ddd9204de7a5..b491186d4377 100644 --- a/sdk/attestation/attestation/package.json +++ b/sdk/attestation/attestation/package.json @@ -68,7 +68,7 @@ ], "repository": "github:Azure/azure-sdk-for-js", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "node", @@ -104,7 +104,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "buffer": "^5.2.1", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", diff --git a/sdk/communication/communication-chat/CHANGELOG.md b/sdk/communication/communication-chat/CHANGELOG.md index 93b12372d659..33c1d8ebd77d 100644 --- a/sdk/communication/communication-chat/CHANGELOG.md +++ b/sdk/communication/communication-chat/CHANGELOG.md @@ -2,10 +2,17 @@ ## 1.1.0-beta.1 (Unreleased) -### Added +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Added support to add `metadata` for `message` - Added `senderDisplayName` in `sendTypingNotification` operation. +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + ## 1.0.1 (Unreleased) - Updated to @azure/communication-signaling@1.0.0-beta.5. diff --git a/sdk/communication/communication-chat/package.json b/sdk/communication/communication-chat/package.json index 20c72b42a06d..7abcb0b24153 100644 --- a/sdk/communication/communication-chat/package.json +++ b/sdk/communication/communication-chat/package.json @@ -58,7 +58,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-chat/", "sideEffects": false, @@ -88,7 +88,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", "chai": "^4.2.0", diff --git a/sdk/communication/communication-common/CHANGELOG.md b/sdk/communication/communication-common/CHANGELOG.md index 21690a6670db..843c54679508 100644 --- a/sdk/communication/communication-common/CHANGELOG.md +++ b/sdk/communication/communication-common/CHANGELOG.md @@ -1,7 +1,15 @@ # Release History -## 1.0.1 (Unreleased) +## 1.1.0 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed ## 1.0.0 (2021-03-22) diff --git a/sdk/communication/communication-common/package.json b/sdk/communication/communication-common/package.json index 10240341dcb1..7ebbb9f65039 100644 --- a/sdk/communication/communication-common/package.json +++ b/sdk/communication/communication-common/package.json @@ -1,6 +1,6 @@ { "name": "@azure/communication-common", - "version": "1.0.1", + "version": "1.1.0", "description": "Common package for Azure Communication services.", "sdk-type": "client", "main": "dist/index.js", @@ -57,7 +57,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-common/", "sideEffects": false, @@ -84,7 +84,7 @@ "@types/chai": "^4.1.6", "@types/jwt-decode": "~2.2.1", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", "chai-as-promised": "^7.1.1", diff --git a/sdk/communication/communication-identity/CHANGELOG.md b/sdk/communication/communication-identity/CHANGELOG.md index 75d0d63ce86e..5cd153d1da2b 100644 --- a/sdk/communication/communication-identity/CHANGELOG.md +++ b/sdk/communication/communication-identity/CHANGELOG.md @@ -2,8 +2,16 @@ ## 1.1.0-beta.1 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - `CommunicationIdentityClient` added a new method `exchangeTeamsToken` that provides the ability to exchange a Teams token for an ACS access token. +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + ## 1.0.0 (2021-03-29) - Stable release of `@azure/communication-identity`. diff --git a/sdk/communication/communication-identity/package.json b/sdk/communication/communication-identity/package.json index 6fef9d2c424f..7fc0a50fc1a8 100644 --- a/sdk/communication/communication-identity/package.json +++ b/sdk/communication/communication-identity/package.json @@ -63,7 +63,7 @@ "author": "Microsoft Corporation", "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-identity/", "repository": "github:Azure/azure-sdk-for-js", @@ -99,7 +99,7 @@ "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", "@types/sinon": "^9.0.4", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "chai": "^4.2.0", "cross-env": "^7.0.2", diff --git a/sdk/communication/communication-network-traversal/CHANGELOG.md b/sdk/communication/communication-network-traversal/CHANGELOG.md index 0535ca9541d5..e1380c228f27 100644 --- a/sdk/communication/communication-network-traversal/CHANGELOG.md +++ b/sdk/communication/communication-network-traversal/CHANGELOG.md @@ -2,6 +2,14 @@ ## 1.0.0-beta.2 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed ## 1.0.0-beta.1 (2021-05-24) diff --git a/sdk/communication/communication-network-traversal/package.json b/sdk/communication/communication-network-traversal/package.json index 65b3f969c4ec..fa190d4910c4 100644 --- a/sdk/communication/communication-network-traversal/package.json +++ b/sdk/communication/communication-network-traversal/package.json @@ -63,7 +63,7 @@ "author": "Microsoft Corporation", "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/", "repository": "github:Azure/azure-sdk-for-js", @@ -97,7 +97,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", "chai": "^4.2.0", diff --git a/sdk/communication/communication-phone-numbers/CHANGELOG.md b/sdk/communication/communication-phone-numbers/CHANGELOG.md index 5eeb301330ed..087d3b4349bc 100644 --- a/sdk/communication/communication-phone-numbers/CHANGELOG.md +++ b/sdk/communication/communication-phone-numbers/CHANGELOG.md @@ -1,7 +1,15 @@ # Release History -## 1.0.1 (Unreleased) +## 1.1.0 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed ## 1.0.0 (2021-04-26) - Update version to 1.0.0 diff --git a/sdk/communication/communication-phone-numbers/package.json b/sdk/communication/communication-phone-numbers/package.json index 63bf9bede986..c16f5a182c6a 100644 --- a/sdk/communication/communication-phone-numbers/package.json +++ b/sdk/communication/communication-phone-numbers/package.json @@ -1,6 +1,6 @@ { "name": "@azure/communication-phone-numbers", - "version": "1.0.1", + "version": "1.1.0", "description": "SDK for Azure Communication service which facilitates phone number management.", "sdk-type": "client", "main": "dist/index.js", @@ -51,7 +51,7 @@ "author": "Microsoft Corporation", "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-phone-numbers/", "repository": "github:Azure/azure-sdk-for-js", @@ -87,7 +87,7 @@ "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", "@types/sinon": "^9.0.4", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "chai": "^4.2.0", "cross-env": "^7.0.2", diff --git a/sdk/communication/communication-sms/CHANGELOG.md b/sdk/communication/communication-sms/CHANGELOG.md index 270d6a1a8446..a2faba419536 100644 --- a/sdk/communication/communication-sms/CHANGELOG.md +++ b/sdk/communication/communication-sms/CHANGELOG.md @@ -1,7 +1,15 @@ # Release History -## 1.0.1 (Unreleased) +## 1.1.0 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed ## 1.0.0 (2021-03-29) @@ -35,4 +43,4 @@ Updated `@azure/communication-sms` version. The first preview of the Azure Communication Sms Client has the following features: - send an SMS message from an acquired phone number. -- optionally enable delivery reports. \ No newline at end of file +- optionally enable delivery reports. diff --git a/sdk/communication/communication-sms/package.json b/sdk/communication/communication-sms/package.json index 6336a1129744..ffcdf88a9f4f 100644 --- a/sdk/communication/communication-sms/package.json +++ b/sdk/communication/communication-sms/package.json @@ -1,6 +1,6 @@ { "name": "@azure/communication-sms", - "version": "1.0.1", + "version": "1.1.0", "description": "SDK for Azure Communication SMS service which facilitates the sending of SMS messages.", "sdk-type": "client", "main": "dist/index.js", @@ -59,7 +59,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-sms/", "sideEffects": false, @@ -88,7 +88,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", "chai": "^4.2.0", diff --git a/sdk/communication/communication-sms/src/constants.ts b/sdk/communication/communication-sms/src/constants.ts index 8b7a003d6406..9ffa1892ce39 100644 --- a/sdk/communication/communication-sms/src/constants.ts +++ b/sdk/communication/communication-sms/src/constants.ts @@ -1,4 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "1.0.1"; +export const SDK_VERSION: string = "1.1.0"; diff --git a/sdk/communication/communication-sms/src/generated/src/smsApiClientContext.ts b/sdk/communication/communication-sms/src/generated/src/smsApiClientContext.ts index 59cf9f33352c..71c252332588 100644 --- a/sdk/communication/communication-sms/src/generated/src/smsApiClientContext.ts +++ b/sdk/communication/communication-sms/src/generated/src/smsApiClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { SmsApiClientOptionalParams } from "./models"; const packageName = "azure-communication-sms"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class SmsApiClientContext extends coreHttp.ServiceClient { endpoint: string; diff --git a/sdk/communication/communication-sms/swagger/README.md b/sdk/communication/communication-sms/swagger/README.md index 4129b96aa907..f2af3dbcc7cd 100644 --- a/sdk/communication/communication-sms/swagger/README.md +++ b/sdk/communication/communication-sms/swagger/README.md @@ -19,5 +19,5 @@ use-extension: "@autorest/typescript": "6.0.0-dev.20200623.2" azure-arm: false add-credentials: false -package-version: 1.0.1 +package-version: 1.1.0 ``` diff --git a/sdk/confidentialledger/confidential-ledger-rest/package.json b/sdk/confidentialledger/confidential-ledger-rest/package.json index 9c1f361f9106..aa01acfe0827 100644 --- a/sdk/confidentialledger/confidential-ledger-rest/package.json +++ b/sdk/confidentialledger/confidential-ledger-rest/package.json @@ -98,7 +98,7 @@ "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "dotenv": "^8.2.0", diff --git a/sdk/containerregistry/container-registry/package.json b/sdk/containerregistry/container-registry/package.json index 446720df2e09..e8f2a8f0b39e 100644 --- a/sdk/containerregistry/container-registry/package.json +++ b/sdk/containerregistry/container-registry/package.json @@ -60,7 +60,7 @@ ], "repository": "github:Azure/azure-sdk-for-js", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "azure", @@ -94,7 +94,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", diff --git a/sdk/core/abort-controller/package.json b/sdk/core/abort-controller/package.json index ce0d23916447..e33f4997031a 100644 --- a/sdk/core/abort-controller/package.json +++ b/sdk/core/abort-controller/package.json @@ -55,7 +55,7 @@ "LICENSE" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": "github:Azure/azure-sdk-for-js", "keywords": [ @@ -87,7 +87,7 @@ "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-replace": "^2.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "cross-env": "^7.0.2", "delay": "^4.2.0", diff --git a/sdk/core/core-amqp/package.json b/sdk/core/core-amqp/package.json index 8cb51a8531f8..02aa3ab9fba8 100644 --- a/sdk/core/core-amqp/package.json +++ b/sdk/core/core-amqp/package.json @@ -60,7 +60,7 @@ "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-amqp/README.md", "sideEffects": false, @@ -95,7 +95,7 @@ "@types/chai-as-promised": "^7.1.0", "@types/debug": "^4.1.4", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@types/ws": "^7.2.4", "assert": "^1.4.1", diff --git a/sdk/core/core-asynciterator-polyfill/package.json b/sdk/core/core-asynciterator-polyfill/package.json index 3d6168f18ac4..4846f579fdb1 100644 --- a/sdk/core/core-asynciterator-polyfill/package.json +++ b/sdk/core/core-asynciterator-polyfill/package.json @@ -22,7 +22,7 @@ "LICENSE" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "license": "MIT", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-asynciterator-polyfill/README.md", @@ -58,7 +58,7 @@ "private": false, "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "typescript": "~4.2.0", diff --git a/sdk/core/core-auth/package.json b/sdk/core/core-auth/package.json index 9b804989c99c..b3e8dd2fdbe6 100644 --- a/sdk/core/core-auth/package.json +++ b/sdk/core/core-auth/package.json @@ -61,7 +61,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-auth/README.md", "sideEffects": false, @@ -78,7 +78,7 @@ "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-replace": "^2.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "cross-env": "^7.0.2", "downlevel-dts": "~0.4.0", diff --git a/sdk/core/core-client-paging-rest/package.json b/sdk/core/core-client-paging-rest/package.json index fcbfdf4bad2e..aa6de3eef774 100644 --- a/sdk/core/core-client-paging-rest/package.json +++ b/sdk/core/core-client-paging-rest/package.json @@ -55,7 +55,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-paging-rest/", "sideEffects": false, @@ -70,7 +70,7 @@ "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", "chai": "^4.2.0", diff --git a/sdk/core/core-client-rest/package.json b/sdk/core/core-client-rest/package.json index c7e5cfc07697..b75c356e3335 100644 --- a/sdk/core/core-client-rest/package.json +++ b/sdk/core/core-client-rest/package.json @@ -55,7 +55,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client-rest/", "sideEffects": false, @@ -69,7 +69,7 @@ "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", "chai": "^4.2.0", diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index 7dca87f5fa1e..83451f88acbb 100644 --- a/sdk/core/core-client/package.json +++ b/sdk/core/core-client/package.json @@ -70,7 +70,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-client/", "sideEffects": false, @@ -93,7 +93,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/dev-tool": "^1.0.0", diff --git a/sdk/core/core-crypto/package.json b/sdk/core/core-crypto/package.json index 00afa9885f07..231b41e1e5b7 100644 --- a/sdk/core/core-crypto/package.json +++ b/sdk/core/core-crypto/package.json @@ -69,7 +69,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-crypto/", "sideEffects": false, @@ -88,7 +88,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "assert": "^1.4.1", diff --git a/sdk/core/core-http/package.json b/sdk/core/core-http/package.json index 9e738688c4c4..08e6375a9157 100644 --- a/sdk/core/core-http/package.json +++ b/sdk/core/core-http/package.json @@ -14,7 +14,7 @@ "clientruntime" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "isomorphic", @@ -156,7 +156,7 @@ "@types/express": "^4.16.0", "@types/glob": "^7.1.1", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@types/tough-cookie": "^4.0.0", "@types/uuid": "^8.0.0", diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index f5e545433726..09e707e2024e 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -35,7 +35,7 @@ "LICENSE" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "browser": { "os": false, @@ -111,7 +111,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "chai": "^4.2.0", "cross-env": "^7.0.2", diff --git a/sdk/core/core-paging/package.json b/sdk/core/core-paging/package.json index 50f6031858b4..1a29cc410e8b 100644 --- a/sdk/core/core-paging/package.json +++ b/sdk/core/core-paging/package.json @@ -33,7 +33,7 @@ "README.md" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "license": "MIT", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-paging/README.md", @@ -72,7 +72,7 @@ }, "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/core/core-rest-pipeline/package.json b/sdk/core/core-rest-pipeline/package.json index 5848c1a2bc5a..965dbc8372ea 100644 --- a/sdk/core/core-rest-pipeline/package.json +++ b/sdk/core/core-rest-pipeline/package.json @@ -77,7 +77,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/", "sideEffects": false, @@ -110,7 +110,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@types/uuid": "^8.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index e18afe6c98a7..dd09c41e9697 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -55,7 +55,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/README.md", "sideEffects": false, @@ -74,7 +74,7 @@ "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-replace": "^2.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "cross-env": "^7.0.2", "eslint": "^7.15.0", diff --git a/sdk/core/core-util/package.json b/sdk/core/core-util/package.json index 183336377de0..6bc737c40044 100644 --- a/sdk/core/core-util/package.json +++ b/sdk/core/core-util/package.json @@ -62,7 +62,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/", "sideEffects": false, @@ -80,7 +80,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "chai": "^4.2.0", diff --git a/sdk/core/core-xml/package.json b/sdk/core/core-xml/package.json index db57ef7ae1e5..94274c63e30a 100644 --- a/sdk/core/core-xml/package.json +++ b/sdk/core/core-xml/package.json @@ -69,7 +69,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-xml/", "sideEffects": false, @@ -87,7 +87,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@types/xml2js": "^0.4.3", "@azure/eslint-plugin-azure-sdk": "^3.0.0", diff --git a/sdk/core/logger/package.json b/sdk/core/logger/package.json index 28a453becd0e..ebdd6711aa7f 100644 --- a/sdk/core/logger/package.json +++ b/sdk/core/logger/package.json @@ -10,7 +10,7 @@ "process": false }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -79,7 +79,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", "chai": "^4.2.0", diff --git a/sdk/cosmosdb/cosmos/CHANGELOG.md b/sdk/cosmosdb/cosmos/CHANGELOG.md index 3be8a0ae8819..a3980522967f 100644 --- a/sdk/cosmosdb/cosmos/CHANGELOG.md +++ b/sdk/cosmosdb/cosmos/CHANGELOG.md @@ -1,8 +1,9 @@ # Release History -## 3.11.6 (Unreleased) +## 3.12.0 (Unreleased) ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Breaking Changes diff --git a/sdk/cosmosdb/cosmos/package.json b/sdk/cosmosdb/cosmos/package.json index b7fe171f8e98..ee81bdc4efb2 100644 --- a/sdk/cosmosdb/cosmos/package.json +++ b/sdk/cosmosdb/cosmos/package.json @@ -1,6 +1,6 @@ { "name": "@azure/cosmos", - "version": "3.11.6", + "version": "3.12.0", "description": "Microsoft Azure Cosmos DB Service Node.js SDK for SQL API", "sdk-type": "client", "keywords": [ @@ -43,7 +43,7 @@ } }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -108,7 +108,7 @@ "@types/debug": "^4.1.4", "@types/fast-json-stable-stringify": "^2.0.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/priorityqueuejs": "^1.0.1", "@types/semaphore": "^1.1.0", "@types/sinon": "^9.0.4", diff --git a/sdk/deviceupdate/iot-device-update/package.json b/sdk/deviceupdate/iot-device-update/package.json index d4d4656f8049..723db97117c7 100644 --- a/sdk/deviceupdate/iot-device-update/package.json +++ b/sdk/deviceupdate/iot-device-update/package.json @@ -27,7 +27,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.4", "@microsoft/api-extractor": "7.7.11", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/uuid": "^8.0.0", "cross-env": "^7.0.2", "dotenv": "^8.2.0", @@ -65,7 +65,7 @@ ] }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "//sampleConfiguration": { "productName": "Azure IoT Hub Device Update", diff --git a/sdk/digitaltwins/digital-twins-core/CHANGELOG.md b/sdk/digitaltwins/digital-twins-core/CHANGELOG.md index 8d3f7ed7697d..73ecc2d904c9 100644 --- a/sdk/digitaltwins/digital-twins-core/CHANGELOG.md +++ b/sdk/digitaltwins/digital-twins-core/CHANGELOG.md @@ -1,6 +1,13 @@ # Release History -## 1.0.4 (unreleased) +## 1.1.0 (unreleased) + +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Breaking Changes + +### Key Bugs Fixed ## 1.0.3 (2021-01-15) diff --git a/sdk/digitaltwins/digital-twins-core/package.json b/sdk/digitaltwins/digital-twins-core/package.json index fa48e3439cc5..a6f0dcaf34bc 100644 --- a/sdk/digitaltwins/digital-twins-core/package.json +++ b/sdk/digitaltwins/digital-twins-core/package.json @@ -1,6 +1,6 @@ { "name": "@azure/digital-twins-core", - "version": "1.0.4", + "version": "1.1.0", "description": "An isomorphic client library for Azure Digital Twins", "sdk-type": "client", "author": "Microsoft Corporation", @@ -9,7 +9,7 @@ "module": "dist-esm/src/index.js", "types": "types/digital-twins-core.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -85,7 +85,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "cross-env": "^7.0.2", diff --git a/sdk/digitaltwins/digital-twins-core/src/digitalTwinsClient.ts b/sdk/digitaltwins/digital-twins-core/src/digitalTwinsClient.ts index eae770820d05..9de13b71c44c 100644 --- a/sdk/digitaltwins/digital-twins-core/src/digitalTwinsClient.ts +++ b/sdk/digitaltwins/digital-twins-core/src/digitalTwinsClient.ts @@ -56,7 +56,7 @@ import { createSpan } from "./tracing"; import { SpanStatusCode } from "@azure/core-tracing"; import { logger } from "./logger"; -export const SDK_VERSION: string = "1.0.3"; +export const SDK_VERSION: string = "1.1.0"; export interface DigitalTwinsClientOptions extends PipelineOptions { /** diff --git a/sdk/digitaltwins/digital-twins-core/src/generated/azureDigitalTwinsAPIContext.ts b/sdk/digitaltwins/digital-twins-core/src/generated/azureDigitalTwinsAPIContext.ts index a6835b1bd37a..68b68fd52a29 100644 --- a/sdk/digitaltwins/digital-twins-core/src/generated/azureDigitalTwinsAPIContext.ts +++ b/sdk/digitaltwins/digital-twins-core/src/generated/azureDigitalTwinsAPIContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { AzureDigitalTwinsAPIOptionalParams } from "./models"; const packageName = "@azure/digital-twins-core"; -const packageVersion = "1.0.3"; +const packageVersion = "1.1.0"; export class AzureDigitalTwinsAPIContext extends coreHttp.ServiceClient { $host: string; diff --git a/sdk/digitaltwins/digital-twins-core/swagger/README.md b/sdk/digitaltwins/digital-twins-core/swagger/README.md index 547ecfe53b36..5c155513d694 100644 --- a/sdk/digitaltwins/digital-twins-core/swagger/README.md +++ b/sdk/digitaltwins/digital-twins-core/swagger/README.md @@ -15,7 +15,7 @@ license-header: MICROSOFT_MIT_NO_VERSION input-file: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/digitaltwins/data-plane/Microsoft.DigitalTwins/stable/2020-10-31/digitaltwins.json output-folder: ../ source-code-folder-path: ./src/generated -package-version: 1.0.4 +package-version: 1.1.0 ``` ## Customizations for Track 2 Generator diff --git a/sdk/documenttranslator/ai-document-translator-rest/package.json b/sdk/documenttranslator/ai-document-translator-rest/package.json index ae9275a2b86d..6bcb887f3d0c 100644 --- a/sdk/documenttranslator/ai-document-translator-rest/package.json +++ b/sdk/documenttranslator/ai-document-translator-rest/package.json @@ -41,7 +41,7 @@ ] }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "//sampleConfiguration": { "productName": "Azure Document Translator rest", @@ -103,7 +103,7 @@ "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "dotenv": "^8.2.0", diff --git a/sdk/eventgrid/eventgrid/CHANGELOG.md b/sdk/eventgrid/eventgrid/CHANGELOG.md index 1f5a1a45f723..42cc86543530 100644 --- a/sdk/eventgrid/eventgrid/CHANGELOG.md +++ b/sdk/eventgrid/eventgrid/CHANGELOG.md @@ -1,7 +1,13 @@ # Release History -## 4.3.1 (Unreleased) +## 4.4.0 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Breaking Changes + +### Key Bugs Fixed ## 4.3.0 (2021-06-08) diff --git a/sdk/eventgrid/eventgrid/package.json b/sdk/eventgrid/eventgrid/package.json index 0a2b75a92b8a..ae6378409ff7 100644 --- a/sdk/eventgrid/eventgrid/package.json +++ b/sdk/eventgrid/eventgrid/package.json @@ -3,7 +3,7 @@ "sdk-type": "client", "author": "Microsoft Corporation", "description": "An isomorphic client library for the Azure Event Grid service.", - "version": "4.3.1", + "version": "4.4.0", "keywords": [ "node", "azure", @@ -22,7 +22,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "dist/", @@ -111,7 +111,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@types/uuid": "^8.0.0", "chai": "^4.2.0", diff --git a/sdk/eventgrid/eventgrid/src/constants.ts b/sdk/eventgrid/eventgrid/src/constants.ts index 26b9f7eb6452..86ca700d691f 100644 --- a/sdk/eventgrid/eventgrid/src/constants.ts +++ b/sdk/eventgrid/eventgrid/src/constants.ts @@ -1,5 +1,5 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "4.3.1"; +export const SDK_VERSION: string = "4.4.0"; export const DEFAULT_API_VERSION = "2018-01-01"; diff --git a/sdk/eventgrid/eventgrid/swagger/README.md b/sdk/eventgrid/eventgrid/swagger/README.md index 6945165d38d8..ddccc7002ff5 100644 --- a/sdk/eventgrid/eventgrid/swagger/README.md +++ b/sdk/eventgrid/eventgrid/swagger/README.md @@ -7,7 +7,7 @@ ```yaml require: "https://github.com/Azure/azure-rest-api-specs/blob/d78816faeca788910b48ce0cfad89f85396260d6/specification/eventgrid/data-plane/readme.md" package-name: "@azure/eventgrid" -package-version: "4.3.1" +package-version: "4.4.0" title: GeneratedClient description: EventGrid Client generate-metadata: false diff --git a/sdk/eventgrid/perf-tests/eventgrid/package.json b/sdk/eventgrid/perf-tests/eventgrid/package.json index 0a72e12fc58e..92ddc55c0088 100644 --- a/sdk/eventgrid/perf-tests/eventgrid/package.json +++ b/sdk/eventgrid/perf-tests/eventgrid/package.json @@ -12,7 +12,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/eventhub/event-hubs/CHANGELOG.md b/sdk/eventhub/event-hubs/CHANGELOG.md index 64ac238c7f17..9b800f2596c0 100644 --- a/sdk/eventhub/event-hubs/CHANGELOG.md +++ b/sdk/eventhub/event-hubs/CHANGELOG.md @@ -1,15 +1,14 @@ # Release History -## 5.5.3 (Unreleased) +## 5.6.0 (Unreleased) ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Breaking Changes ### Key Bugs Fixed -### Fixed - ## 5.5.2 (2021-06-10) diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index 3b030aa4ad98..f32080899c6f 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -1,7 +1,7 @@ { "name": "@azure/event-hubs", "sdk-type": "client", - "version": "5.5.3", + "version": "5.6.0", "description": "Azure Event Hubs SDK for JS.", "author": "Microsoft Corporation", "license": "MIT", @@ -19,7 +19,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "main": "./dist/index.js", "module": "dist-esm/src/index.js", @@ -138,7 +138,7 @@ "@types/debug": "^4.1.4", "@types/long": "^4.0.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@types/uuid": "^8.0.0", "@types/ws": "^7.2.4", diff --git a/sdk/eventhub/event-hubs/samples-browser/package.json b/sdk/eventhub/event-hubs/samples-browser/package.json index 25a1940699d8..92d06544a381 100644 --- a/sdk/eventhub/event-hubs/samples-browser/package.json +++ b/sdk/eventhub/event-hubs/samples-browser/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Event Hubs client library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "webpack-cli ./src/index.js -o ./dist/app.js", diff --git a/sdk/eventhub/event-hubs/samples-express/package.json b/sdk/eventhub/event-hubs/samples-express/package.json index 97b788346f5c..bc87bb571ab6 100644 --- a/sdk/eventhub/event-hubs/samples-express/package.json +++ b/sdk/eventhub/event-hubs/samples-express/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "description": "Azure Event Hubs client library samples with Express", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", diff --git a/sdk/eventhub/event-hubs/samples/v5/browser/package.json b/sdk/eventhub/event-hubs/samples/v5/browser/package.json index 25a1940699d8..92d06544a381 100644 --- a/sdk/eventhub/event-hubs/samples/v5/browser/package.json +++ b/sdk/eventhub/event-hubs/samples/v5/browser/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Event Hubs client library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "webpack-cli ./src/index.js -o ./dist/app.js", diff --git a/sdk/eventhub/event-hubs/samples/v5/express/package.json b/sdk/eventhub/event-hubs/samples/v5/express/package.json index 97b788346f5c..bc87bb571ab6 100644 --- a/sdk/eventhub/event-hubs/samples/v5/express/package.json +++ b/sdk/eventhub/event-hubs/samples/v5/express/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "description": "Azure Event Hubs client library samples with Express", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", diff --git a/sdk/eventhub/event-hubs/src/util/constants.ts b/sdk/eventhub/event-hubs/src/util/constants.ts index d2693257ebb8..ee6308899b70 100644 --- a/sdk/eventhub/event-hubs/src/util/constants.ts +++ b/sdk/eventhub/event-hubs/src/util/constants.ts @@ -6,5 +6,5 @@ */ export const packageJsonInfo = { name: "@azure/event-hubs", - version: "5.5.3" + version: "5.6.0" }; diff --git a/sdk/eventhub/event-processor-host/package.json b/sdk/eventhub/event-processor-host/package.json index 8915e8479998..462dc6dc1ef5 100644 --- a/sdk/eventhub/event-processor-host/package.json +++ b/sdk/eventhub/event-processor-host/package.json @@ -22,7 +22,7 @@ "module": "dist-esm/src/index.js", "types": "./typings/event-processor-host.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "dist/", @@ -100,7 +100,7 @@ "@types/chai-string": "^1.4.1", "@types/debug": "^4.1.4", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/uuid": "^8.0.0", "@types/ws": "^7.2.4", "chai": "^4.2.0", diff --git a/sdk/eventhub/event-processor-host/samples/javascript/package.json b/sdk/eventhub/event-processor-host/samples/javascript/package.json index f072c416c216..a4b7ea0e40a9 100644 --- a/sdk/eventhub/event-processor-host/samples/javascript/package.json +++ b/sdk/eventhub/event-processor-host/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Event Process Host (Event Hubs) library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/eventhub/event-processor-host/samples/typescript/package.json b/sdk/eventhub/event-processor-host/samples/typescript/package.json index 2ac9c3e13372..20e06a4b50f5 100644 --- a/sdk/eventhub/event-processor-host/samples/typescript/package.json +++ b/sdk/eventhub/event-processor-host/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Event Process Host (Event Hubs) library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/CHANGELOG.md b/sdk/eventhub/eventhubs-checkpointstore-blob/CHANGELOG.md index 9fdec3d6f3e5..b236a1984e7e 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/CHANGELOG.md +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/CHANGELOG.md @@ -2,11 +2,17 @@ ## 1.1.0 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Updates all async methods on `BlobCheckpointStore` to accept an optional `options` parameter that can be used to pass in an `abortSignal` and `tracingOptions`. Resolves issue [#9492](https://github.com/Azure/azure-sdk-for-js/issues/9492). +### Breaking Changes + +### Key Bugs Fixed + ## 1.0.1 (2020-08-03) - Fixes issue [#10132](https://github.com/Azure/azure-sdk-for-js/issues/10132) diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/package.json b/sdk/eventhub/eventhubs-checkpointstore-blob/package.json index ff8c02ad877d..34bf09a582a5 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/package.json +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/package.json @@ -21,7 +21,7 @@ "module": "dist-esm/src/index.js", "types": "./typings/eventhubs-checkpointstore-blob.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "dist/", @@ -82,7 +82,7 @@ "@types/chai-string": "^1.4.1", "@types/debug": "^4.1.4", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", diff --git a/sdk/eventhub/mock-hub/package.json b/sdk/eventhub/mock-hub/package.json index 437b14586606..8fa980a59215 100644 --- a/sdk/eventhub/mock-hub/package.json +++ b/sdk/eventhub/mock-hub/package.json @@ -37,7 +37,7 @@ "repository": "github:Azure/azure-sdk-for-js", "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" @@ -52,7 +52,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "dotenv": "^8.2.0", "eslint": "^7.15.0", "prettier": "^1.16.4", diff --git a/sdk/eventhub/mock-hub/samples/javascript/package.json b/sdk/eventhub/mock-hub/samples/javascript/package.json index 047bc9ea1fdb..54f8ada31044 100644 --- a/sdk/eventhub/mock-hub/samples/javascript/package.json +++ b/sdk/eventhub/mock-hub/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Mock Hub client library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", diff --git a/sdk/eventhub/mock-hub/samples/typescript/package.json b/sdk/eventhub/mock-hub/samples/typescript/package.json index c123c7024a75..aa123de77356 100644 --- a/sdk/eventhub/mock-hub/samples/typescript/package.json +++ b/sdk/eventhub/mock-hub/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Mock Hub client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -32,7 +32,7 @@ "tslib": "^2.0.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "4.1.2" } diff --git a/sdk/formrecognizer/ai-form-recognizer/CHANGELOG.md b/sdk/formrecognizer/ai-form-recognizer/CHANGELOG.md index f8d549889300..2afb6c770229 100644 --- a/sdk/formrecognizer/ai-form-recognizer/CHANGELOG.md +++ b/sdk/formrecognizer/ai-form-recognizer/CHANGELOG.md @@ -1,7 +1,13 @@ # Release History -## 3.1.1 (Unreleased) +## 3.2.0 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Breaking Changes + +### Key Bugs Fixed ## 3.1.0 (2021-05-26) diff --git a/sdk/formrecognizer/ai-form-recognizer/package.json b/sdk/formrecognizer/ai-form-recognizer/package.json index f59a177c0339..1c00db258673 100644 --- a/sdk/formrecognizer/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/ai-form-recognizer/package.json @@ -3,7 +3,7 @@ "sdk-type": "client", "author": "Microsoft Corporation", "description": "An isomorphic client library for the Azure Form Recognizer service.", - "version": "3.1.1", + "version": "3.2.0", "keywords": [ "node", "azure", @@ -34,6 +34,10 @@ ], "//metadata": { "constantPaths": [ + { + "path": "swagger/README.md", + "prefix": "package-version" + }, { "path": "src/generated/generatedClientContext.ts", "prefix": "packageVersion" @@ -45,7 +49,7 @@ ] }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -95,7 +99,7 @@ "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", diff --git a/sdk/formrecognizer/ai-form-recognizer/src/constants.ts b/sdk/formrecognizer/ai-form-recognizer/src/constants.ts index 5becf8deb2fc..3d6067e4ef0a 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/constants.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/constants.ts @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "3.1.1"; +export const SDK_VERSION: string = "3.2.0"; export const DEFAULT_COGNITIVE_SCOPE = "https://cognitiveservices.azure.com/.default"; diff --git a/sdk/formrecognizer/ai-form-recognizer/src/generated/generatedClientContext.ts b/sdk/formrecognizer/ai-form-recognizer/src/generated/generatedClientContext.ts index f320967147dd..5077b13a4553 100644 --- a/sdk/formrecognizer/ai-form-recognizer/src/generated/generatedClientContext.ts +++ b/sdk/formrecognizer/ai-form-recognizer/src/generated/generatedClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { GeneratedClientOptionalParams } from "./models"; const packageName = "@azure/ai-form-recognizer"; -const packageVersion = "3.1.1"; +const packageVersion = "3.2.0"; /** @hidden */ export class GeneratedClientContext extends coreHttp.ServiceClient { diff --git a/sdk/formrecognizer/ai-form-recognizer/swagger/README.md b/sdk/formrecognizer/ai-form-recognizer/swagger/README.md index bdb0c219c82c..106e60e0ee61 100644 --- a/sdk/formrecognizer/ai-form-recognizer/swagger/README.md +++ b/sdk/formrecognizer/ai-form-recognizer/swagger/README.md @@ -18,7 +18,7 @@ add-credentials: false override-client-name: GeneratedClient use-extension: "@autorest/typescript": "6.0.0-dev.20210121.2" -package-version: "3.1.0" +package-version: "3.2.0" disable-async-iterators: true hide-clients: true ``` diff --git a/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json b/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json index a67cbaf8f5ea..722ffbccbc1f 100644 --- a/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json +++ b/sdk/formrecognizer/perf-tests/ai-form-recognizer/package.json @@ -15,7 +15,7 @@ "tslib": "^2.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/identity/identity-cache-persistence/.eslintrc.json b/sdk/identity/identity-cache-persistence/.eslintrc.json index 1c1503b9333a..cc81de60752d 100644 --- a/sdk/identity/identity-cache-persistence/.eslintrc.json +++ b/sdk/identity/identity-cache-persistence/.eslintrc.json @@ -2,7 +2,6 @@ "plugins": ["@azure/azure-sdk"], "extends": ["plugin:@azure/azure-sdk/azure-sdk-base"], "rules": { - "@azure/azure-sdk/ts-package-json-module": "off", - "@azure/azure-sdk/ts-package-json-engine-is-present": "off" + "@azure/azure-sdk/ts-package-json-module": "off" } } diff --git a/sdk/identity/identity-cache-persistence/package.json b/sdk/identity/identity-cache-persistence/package.json index fb5ec5b295e2..388ffbb83141 100644 --- a/sdk/identity/identity-cache-persistence/package.json +++ b/sdk/identity/identity-cache-persistence/package.json @@ -78,7 +78,7 @@ "@microsoft/api-extractor": "7.7.11", "@types/jws": "^3.2.2", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/qs": "^6.5.3", "assert": "^1.4.1", "cross-env": "^7.0.2", diff --git a/sdk/identity/identity-vscode/.eslintrc.json b/sdk/identity/identity-vscode/.eslintrc.json index 1c1503b9333a..cc81de60752d 100644 --- a/sdk/identity/identity-vscode/.eslintrc.json +++ b/sdk/identity/identity-vscode/.eslintrc.json @@ -2,7 +2,6 @@ "plugins": ["@azure/azure-sdk"], "extends": ["plugin:@azure/azure-sdk/azure-sdk-base"], "rules": { - "@azure/azure-sdk/ts-package-json-module": "off", - "@azure/azure-sdk/ts-package-json-engine-is-present": "off" + "@azure/azure-sdk/ts-package-json-module": "off" } } diff --git a/sdk/identity/identity-vscode/package.json b/sdk/identity/identity-vscode/package.json index 05f3dd3efd27..188a6775806c 100644 --- a/sdk/identity/identity-vscode/package.json +++ b/sdk/identity/identity-vscode/package.json @@ -75,7 +75,7 @@ "@microsoft/api-extractor": "7.7.11", "@types/jws": "^3.2.2", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/qs": "^6.5.3", "@types/sinon": "^9.0.4", "@types/uuid": "^8.0.0", diff --git a/sdk/identity/identity/CHANGELOG.md b/sdk/identity/identity/CHANGELOG.md index 4ae76abb8356..ae4daa2d73ee 100644 --- a/sdk/identity/identity/CHANGELOG.md +++ b/sdk/identity/identity/CHANGELOG.md @@ -2,31 +2,28 @@ ## 2.0.0-beta.4 (Unreleased) -### New features - +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Introduced an extension API through a top-level method `useIdentityExtension`. The function accepts an "extension" as an argument, which is a function accepting a `context`. The extension context is an internal part of the Azure Identity API, so it has an `unknown` type. Two new packages are designed to be used with this API: - `@azure/identity-vscode`, which provides the dependencies of `VisualStudioCodeCredential` and enables it (see more below). - `@azure/identity-cache-persistence`, which provides persistent token caching (same as was available in version 2.0.0-beta.2, but now provided through a secondary extension package). - Reintroduced a stub implementation of `VisualStudioCodeCredential`. If the `@azure/identity-vscode` extension is not used, then it will throw a `CredentialUnavailableError` (similar to how it previously behaved if the `keytar` package was not installed). The extension now provides the underlying implementation of `VisualStudioCodeCredential` through dependency injection. - Reintroduced the `TokenCachePersistenceOptions` property on most credential constructor options. This property must be present with an `enabled` property set to true to enable persistent token caching for a credential instance. Credentials that do not support persistent token caching do not have this property. - -## Bug fixes - -- Fixed an issue in which `InteractiveBrowserCredential` on Node would sometimes cause the process to hang if there was no browser available. -- Fixed an issue in which the `AZURE_AUTHORITY_HOST` environment variable was not properly picked up in NodeJS. - -### Breaking changes - -- Removed the protected method `getAzureCliAccessToken` from the public API of the `AzureCliCredential`. While it will continue to be available as part of v1, we won't be supporting this method as part of v2's public API. - -### New Features - - Added regional STS support to client credential types. - Added the `RegionalAuthority` type, that allows specifying Azure regions. - Added `regionalAuthority` property to `ClientSecretCredentialOptions` and `ClientCertificateCredentialOptions`. - If instead of a region, `AutoDiscoverRegion` is specified as the value for `regionalAuthority`, MSAL will be used to attempt to discover the region. - A region can also be specified through the `AZURE_REGIONAL_AUTHORITY_NAME` environment variable. - + +### Breaking Changes + +- Removed the protected method `getAzureCliAccessToken` from the public API of the `AzureCliCredential`. While it will continue to be available as part of v1, we won't be supporting this method as part of v2's public API. + +### Key Bugs Fixed + +- Fixed an issue in which `InteractiveBrowserCredential` on Node would sometimes cause the process to hang if there was no browser available. +- Fixed an issue in which the `AZURE_AUTHORITY_HOST` environment variable was not properly picked up in NodeJS. + ## 2.0.0-beta.3 (2021-05-12) ### New features diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index 9e7ca636a081..472bf5f031a8 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -57,7 +57,7 @@ "LICENSE" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": "github:Azure/azure-sdk-for-js", "keywords": [ @@ -103,7 +103,7 @@ "@microsoft/api-extractor": "7.7.11", "@types/jws": "^3.2.2", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/qs": "^6.5.3", "@types/uuid": "^8.0.0", "assert": "^1.4.1", diff --git a/sdk/identity/identity/samples/javascript/package.json b/sdk/identity/identity/samples/javascript/package.json index 196cf17cca3e..599eb9d86d0e 100644 --- a/sdk/identity/identity/samples/javascript/package.json +++ b/sdk/identity/identity/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Identity client library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/identity/identity/samples/typescript/package.json b/sdk/identity/identity/samples/typescript/package.json index 6aa0b39746fe..7aa8a39863d5 100644 --- a/sdk/identity/identity/samples/typescript/package.json +++ b/sdk/identity/identity/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Identity Keys client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -34,7 +34,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "~3.6.4" } diff --git a/sdk/identity/identity/test/manual/package.json b/sdk/identity/identity/test/manual/package.json index 291f69dfb3ae..d19e5f79a478 100644 --- a/sdk/identity/identity/test/manual/package.json +++ b/sdk/identity/identity/test/manual/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@types/express": "^4.16.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/react": "^16.8.24", "@types/react-dom": "^16.8.5", "@types/webpack": "^4.4.13", diff --git a/sdk/iot/iot-modelsrepository/package.json b/sdk/iot/iot-modelsrepository/package.json index 92d32575096c..14c062ff34fe 100644 --- a/sdk/iot/iot-modelsrepository/package.json +++ b/sdk/iot/iot-modelsrepository/package.json @@ -48,7 +48,7 @@ ], "repository": "github:Azure/azure-sdk-for-js", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "azure", @@ -84,7 +84,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "cross-env": "^7.0.2", diff --git a/sdk/keyvault/keyvault-admin/CHANGELOG.md b/sdk/keyvault/keyvault-admin/CHANGELOG.md index f8152d5d14fd..975f8c8d6afa 100644 --- a/sdk/keyvault/keyvault-admin/CHANGELOG.md +++ b/sdk/keyvault/keyvault-admin/CHANGELOG.md @@ -3,6 +3,7 @@ ## 4.1.0-beta.1 (Unreleased) ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Breaking Changes diff --git a/sdk/keyvault/keyvault-admin/package.json b/sdk/keyvault/keyvault-admin/package.json index 21f52957fb86..8fbb129a772b 100644 --- a/sdk/keyvault/keyvault-admin/package.json +++ b/sdk/keyvault/keyvault-admin/package.json @@ -27,7 +27,7 @@ "module": "dist-esm/keyvault-admin/src/index.js", "types": "./types/keyvault-admin.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "types/keyvault-admin.d.ts", @@ -133,7 +133,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", "chai": "^4.2.0", diff --git a/sdk/keyvault/keyvault-certificates/CHANGELOG.md b/sdk/keyvault/keyvault-certificates/CHANGELOG.md index a8d2a9c879b0..1be1f8c699b7 100644 --- a/sdk/keyvault/keyvault-certificates/CHANGELOG.md +++ b/sdk/keyvault/keyvault-certificates/CHANGELOG.md @@ -3,6 +3,7 @@ ## 4.3.0-beta.1 (Unreleased) ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Breaking Changes diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 1ede6aa87f7b..8aa10f61ccc7 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -23,7 +23,7 @@ "module": "dist-esm/keyvault-certificates/src/index.js", "types": "./types/keyvault-certificates.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "types/keyvault-certificates.d.ts", @@ -129,7 +129,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/query-string": "6.2.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", diff --git a/sdk/keyvault/keyvault-common/package.json b/sdk/keyvault/keyvault-common/package.json index c69c1f6235d8..c28ba7ff8c99 100644 --- a/sdk/keyvault/keyvault-common/package.json +++ b/sdk/keyvault/keyvault-common/package.json @@ -23,7 +23,7 @@ "module": "dist-esm/index.js", "types": "./types/index.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "echo skipped", diff --git a/sdk/keyvault/keyvault-keys/CHANGELOG.md b/sdk/keyvault/keyvault-keys/CHANGELOG.md index a69838d159b0..1dea91a4609f 100644 --- a/sdk/keyvault/keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/keyvault-keys/CHANGELOG.md @@ -4,6 +4,7 @@ ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Added support for `KeyClient.getRandomBytes` which, when connected to a managed HSM, can be used to generate a byte array of a given length with random values. - Updated the service version to 7.3-preview. diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index dbee46ace3b4..0b0745e90c18 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -23,7 +23,7 @@ "module": "dist-esm/keyvault-keys/src/index.js", "types": "./types/keyvault-keys.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "types/keyvault-keys.d.ts", @@ -126,7 +126,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/query-string": "6.2.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", diff --git a/sdk/keyvault/keyvault-secrets/CHANGELOG.md b/sdk/keyvault/keyvault-secrets/CHANGELOG.md index 7a9d7523978c..ed24c018622c 100644 --- a/sdk/keyvault/keyvault-secrets/CHANGELOG.md +++ b/sdk/keyvault/keyvault-secrets/CHANGELOG.md @@ -3,6 +3,7 @@ ## 4.3.0-beta.1 (Unreleased) ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Breaking Changes diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 827e82c783cb..df55bb8673fa 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -23,7 +23,7 @@ "module": "dist-esm/keyvault-secrets/src/index.js", "types": "./types/keyvault-secrets.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "types/keyvault-secrets.d.ts", @@ -124,7 +124,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/query-string": "6.2.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", diff --git a/sdk/metricsadvisor/ai-metrics-advisor/package.json b/sdk/metricsadvisor/ai-metrics-advisor/package.json index ad3d8fd11c56..b2a4679fc19a 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/package.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/package.json @@ -18,7 +18,7 @@ "browser": {}, "types": "./types/ai-metrics-advisor.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/metricsadvisor/ai-metrics-advisor/README.md", "repository": "github:Azure/azure-sdk-for-js", @@ -97,7 +97,7 @@ "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", diff --git a/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/package.json b/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/package.json index 72174e8cfbec..8e4c1c5142d3 100644 --- a/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/package.json +++ b/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/package.json @@ -12,7 +12,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/mixedreality/mixedreality-authentication/package.json b/sdk/mixedreality/mixedreality-authentication/package.json index 347b88a97b62..0686b4a5be8a 100644 --- a/sdk/mixedreality/mixedreality-authentication/package.json +++ b/sdk/mixedreality/mixedreality-authentication/package.json @@ -50,7 +50,7 @@ "directory": "sdk/mixedreality/mixedreality-authentication" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "azure", @@ -81,7 +81,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", diff --git a/sdk/monitor/monitor-opentelemetry-exporter/.eslintrc.json b/sdk/monitor/monitor-opentelemetry-exporter/.eslintrc.json index 49ba262b614f..c0a591d8199c 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/.eslintrc.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/.eslintrc.json @@ -11,13 +11,17 @@ "plugin:@typescript-eslint/recommended-requiring-type-checking" ], "rules": { - "no-underscore-dangle": ["error", { "allowAfterThis": true }], - "node/no-unsupported-features/es-syntax": ["error", { "ignores": ["modules"] }], - // OpenTelemetry requires a minimum node version of 8.5.0 - // https://github.com/open-telemetry/opentelemetry-js#node-support - "@azure/azure-sdk/ts-package-json-engine-is-present": [ + "no-underscore-dangle": [ "error", - { "nodeVersionOverride": ">=8.5.0" } + { + "allowAfterThis": true + } + ], + "node/no-unsupported-features/es-syntax": [ + "error", + { + "ignores": ["modules"] + } ] } } diff --git a/sdk/monitor/monitor-opentelemetry-exporter/package.json b/sdk/monitor/monitor-opentelemetry-exporter/package.json index 9e34d67532cb..19acb23ae49d 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/package.json @@ -39,7 +39,7 @@ "docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src" }, "engines": { - "node": ">=8.5.0" + "node": ">=12.0.0" }, "files": [ "dist-esm/src/", @@ -78,7 +78,7 @@ "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@microsoft/api-extractor": "7.7.11", "@types/mocha": "^7.0.2", - "@types/node": "^10.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "eslint-plugin-node": "^11.1.0", "execa": "^3.3.0", diff --git a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/package.json b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/package.json index 92f4d1017a94..0bcea3eeb7f2 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage Blob client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/package.json b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/package.json index 0c162135647a..401b3354f4c8 100644 --- a/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/package.json +++ b/sdk/monitor/monitor-opentelemetry-exporter/samples/@azure/storage-blob/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage Blob client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc -p ./tsconfig.json", diff --git a/sdk/monitor/monitor-query/package.json b/sdk/monitor/monitor-query/package.json index fdb263e316b2..2821f9bc2c51 100644 --- a/sdk/monitor/monitor-query/package.json +++ b/sdk/monitor/monitor-query/package.json @@ -82,7 +82,7 @@ ], "repository": "github:Azure/azure-sdk-for-js", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "azure", @@ -117,7 +117,7 @@ "@types/chai-as-promised": "^7.1.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai-as-promised": "^7.1.1", "chai": "^4.2.0", "cross-env": "^7.0.2", diff --git a/sdk/purview/purview-catalog-rest/package.json b/sdk/purview/purview-catalog-rest/package.json index 4ceda593c3db..577c3c94d225 100644 --- a/sdk/purview/purview-catalog-rest/package.json +++ b/sdk/purview/purview-catalog-rest/package.json @@ -29,7 +29,7 @@ "LICENSE" ], "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "//metadata": { "constantPaths": [ @@ -97,7 +97,7 @@ "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "dotenv": "^8.2.0", diff --git a/sdk/purview/purview-scanning-rest/package.json b/sdk/purview/purview-scanning-rest/package.json index dd3258b10eaa..95300dbba8e7 100644 --- a/sdk/purview/purview-scanning-rest/package.json +++ b/sdk/purview/purview-scanning-rest/package.json @@ -37,7 +37,7 @@ ] }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "//sampleConfiguration": { "productName": "Azure Purview Scanning rest", @@ -97,7 +97,7 @@ "@microsoft/api-extractor": "7.13.2", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "dotenv": "^8.2.0", diff --git a/sdk/quantum/quantum-jobs/package.json b/sdk/quantum/quantum-jobs/package.json index fbc21fdba9d5..ce7d0c461291 100644 --- a/sdk/quantum/quantum-jobs/package.json +++ b/sdk/quantum/quantum-jobs/package.json @@ -9,7 +9,7 @@ "module": "dist-esm/src/index.js", "types": "./types/latest/quantum-jobs.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -83,7 +83,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "cross-env": "^7.0.2", diff --git a/sdk/schemaregistry/schema-registry-avro/package.json b/sdk/schemaregistry/schema-registry-avro/package.json index e43e23235cbb..803a745ad124 100644 --- a/sdk/schemaregistry/schema-registry-avro/package.json +++ b/sdk/schemaregistry/schema-registry-avro/package.json @@ -43,7 +43,7 @@ ], "repository": "github:Azure/azure-sdk-for-js", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "azure", @@ -94,7 +94,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", diff --git a/sdk/schemaregistry/schema-registry/package.json b/sdk/schemaregistry/schema-registry/package.json index fc2c686a855c..1b6f9697b5b3 100644 --- a/sdk/schemaregistry/schema-registry/package.json +++ b/sdk/schemaregistry/schema-registry/package.json @@ -70,7 +70,7 @@ }, "repository": "github:Azure/azure-sdk-for-js", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "azure", @@ -105,7 +105,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", diff --git a/sdk/search/perf-tests/search-documents/package.json b/sdk/search/perf-tests/search-documents/package.json index ecb8b07a7f43..a19b35f4f27b 100644 --- a/sdk/search/perf-tests/search-documents/package.json +++ b/sdk/search/perf-tests/search-documents/package.json @@ -13,7 +13,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/search/search-documents/CHANGELOG.md b/sdk/search/search-documents/CHANGELOG.md index b3d858a06470..8ba5c4e9994a 100644 --- a/sdk/search/search-documents/CHANGELOG.md +++ b/sdk/search/search-documents/CHANGELOG.md @@ -2,6 +2,15 @@ ## 11.3.0-beta.1 (Unreleased) +### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + ## 11.2.0 (2021-06-08) The list of changes in 11.2.0 since 11.1.0 & 11.2.0-beta.2 are provided below: diff --git a/sdk/search/search-documents/package.json b/sdk/search/search-documents/package.json index cd3e9b5cb0b1..a660f14cd479 100644 --- a/sdk/search/search-documents/package.json +++ b/sdk/search/search-documents/package.json @@ -70,7 +70,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search-documents/", "sideEffects": false, @@ -93,7 +93,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "cross-env": "^7.0.2", diff --git a/sdk/search/search-documents/samples/javascript/package.json b/sdk/search/search-documents/samples/javascript/package.json index df8201557344..b44338ba5a52 100644 --- a/sdk/search/search-documents/samples/javascript/package.json +++ b/sdk/search/search-documents/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Cognitive Search client library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/search/search-documents/samples/typescript/package.json b/sdk/search/search-documents/samples/typescript/package.json index 8f1d5358a31d..114748f2dbe1 100644 --- a/sdk/search/search-documents/samples/typescript/package.json +++ b/sdk/search/search-documents/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Cognitive Search client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -33,7 +33,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "~3.7.5" } diff --git a/sdk/servicebus/service-bus/CHANGELOG.md b/sdk/servicebus/service-bus/CHANGELOG.md index 5271d0eeec11..1d22f6cf2102 100644 --- a/sdk/servicebus/service-bus/CHANGELOG.md +++ b/sdk/servicebus/service-bus/CHANGELOG.md @@ -1,8 +1,9 @@ # Release History -## 7.2.1 (Unreleased) +## 7.3.0 (Unreleased) ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Breaking Changes diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index 7f2e173f621a..bd84a044cbef 100644 --- a/sdk/servicebus/service-bus/package.json +++ b/sdk/servicebus/service-bus/package.json @@ -2,7 +2,7 @@ "name": "@azure/service-bus", "sdk-type": "client", "author": "Microsoft Corporation", - "version": "7.2.1", + "version": "7.3.0", "license": "MIT", "description": "Azure Service Bus SDK for JavaScript", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/service-bus/", @@ -34,7 +34,7 @@ } }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "dist/", @@ -145,7 +145,7 @@ "@types/debug": "^4.1.4", "@types/glob": "^7.1.1", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/ws": "^7.2.4", "assert": "^1.4.1", "chai": "^4.2.0", diff --git a/sdk/servicebus/service-bus/src/util/constants.ts b/sdk/servicebus/service-bus/src/util/constants.ts index 8f843ccba7ff..1ba6f3c83e0f 100644 --- a/sdk/servicebus/service-bus/src/util/constants.ts +++ b/sdk/servicebus/service-bus/src/util/constants.ts @@ -6,7 +6,7 @@ */ export const packageJsonInfo = { name: "@azure/service-bus", - version: "7.2.1" + version: "7.3.0" }; /** diff --git a/sdk/storage/perf-tests/storage-blob-track-1/package.json b/sdk/storage/perf-tests/storage-blob-track-1/package.json index 32b433a153cc..9e167b72441f 100644 --- a/sdk/storage/perf-tests/storage-blob-track-1/package.json +++ b/sdk/storage/perf-tests/storage-blob-track-1/package.json @@ -9,7 +9,7 @@ "devDependencies": { "@azure/storage-blob": "^10.5.0", "@azure/test-utils-perfstress": "file:../../../test-utils/perfstress/azure-test-utils-perfstress-1.0.0.tgz", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/uuid": "^8.0.0", "dotenv": "^8.2.0", "uuid": "^8.3.0", diff --git a/sdk/storage/perf-tests/storage-blob/package.json b/sdk/storage/perf-tests/storage-blob/package.json index 76c3927c502e..ece1e2a6a8c2 100644 --- a/sdk/storage/perf-tests/storage-blob/package.json +++ b/sdk/storage/perf-tests/storage-blob/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@types/uuid": "^8.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/node-fetch": "^2.5.0", "eslint": "^7.15.0", "node-fetch": "^2.6.0", diff --git a/sdk/storage/perf-tests/storage-file-datalake/package.json b/sdk/storage/perf-tests/storage-file-datalake/package.json index 55c95356d3a2..b907717fd10b 100644 --- a/sdk/storage/perf-tests/storage-file-datalake/package.json +++ b/sdk/storage/perf-tests/storage-file-datalake/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@types/uuid": "^8.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/storage/perf-tests/storage-file-share-track-1/package.json b/sdk/storage/perf-tests/storage-file-share-track-1/package.json index 403f71a34de0..096fa9a26b15 100644 --- a/sdk/storage/perf-tests/storage-file-share-track-1/package.json +++ b/sdk/storage/perf-tests/storage-file-share-track-1/package.json @@ -10,7 +10,7 @@ "@azure/storage-file": "^10.3.0", "@azure/test-utils-perfstress": "file:../../../test-utils/perfstress/azure-test-utils-perfstress-1.0.0.tgz", "@types/uuid": "^8.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "dotenv": "^8.2.0", "uuid": "^8.3.0", "rimraf": "3.0.2", diff --git a/sdk/storage/perf-tests/storage-file-share/package.json b/sdk/storage/perf-tests/storage-file-share/package.json index bc5d67585d08..0582231fbe53 100644 --- a/sdk/storage/perf-tests/storage-file-share/package.json +++ b/sdk/storage/perf-tests/storage-file-share/package.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@types/uuid": "^8.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/storage/storage-blob-changefeed/package.json b/sdk/storage/storage-blob-changefeed/package.json index 071b2beb6df0..ea1fbb8e1dcd 100644 --- a/sdk/storage/storage-blob-changefeed/package.json +++ b/sdk/storage/storage-blob-changefeed/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -112,7 +112,7 @@ "@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-replace": "^2.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", "cross-env": "^7.0.2", diff --git a/sdk/storage/storage-blob-changefeed/samples/javascript/package.json b/sdk/storage/storage-blob-changefeed/samples/javascript/package.json index a49640416fbb..c68b512037c5 100644 --- a/sdk/storage/storage-blob-changefeed/samples/javascript/package.json +++ b/sdk/storage/storage-blob-changefeed/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage Blob Change Feed client library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/storage/storage-blob-changefeed/samples/typescript/package.json b/sdk/storage/storage-blob-changefeed/samples/typescript/package.json index 9cb434835a36..63907ee0387d 100644 --- a/sdk/storage/storage-blob-changefeed/samples/typescript/package.json +++ b/sdk/storage/storage-blob-changefeed/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage Blob Change Feed client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -35,7 +35,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "~3.6.4" } diff --git a/sdk/storage/storage-blob/CHANGELOG.md b/sdk/storage/storage-blob/CHANGELOG.md index 7e2526d0c030..21c10dbdf189 100644 --- a/sdk/storage/storage-blob/CHANGELOG.md +++ b/sdk/storage/storage-blob/CHANGELOG.md @@ -4,6 +4,7 @@ ### Features Added +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features ### Breaking Changes diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index afa6b0cd040f..d2ea835c2bb8 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -29,7 +29,7 @@ } }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -147,7 +147,7 @@ "@rollup/plugin-replace": "^2.2.0", "@rollup/plugin-json": "^4.0.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/node-fetch": "^2.5.0", "assert": "^1.4.1", "cross-env": "^7.0.2", diff --git a/sdk/storage/storage-blob/samples/javascript/package.json b/sdk/storage/storage-blob/samples/javascript/package.json index 97a8034d51ae..8d8c31430730 100644 --- a/sdk/storage/storage-blob/samples/javascript/package.json +++ b/sdk/storage/storage-blob/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage Blob client library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/storage/storage-blob/samples/typescript/package.json b/sdk/storage/storage-blob/samples/typescript/package.json index 19cfb1d77186..0944e9d62cad 100644 --- a/sdk/storage/storage-blob/samples/typescript/package.json +++ b/sdk/storage/storage-blob/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage Blob client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -35,7 +35,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "~3.6.4" } diff --git a/sdk/storage/storage-file-datalake/CHANGELOG.md b/sdk/storage/storage-file-datalake/CHANGELOG.md index eb934587f838..ce3b31de1401 100644 --- a/sdk/storage/storage-file-datalake/CHANGELOG.md +++ b/sdk/storage/storage-file-datalake/CHANGELOG.md @@ -3,7 +3,7 @@ ## 12.6.0 (Unreleased) ### Features Added - +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features ### Breaking Changes diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 150f37c0a70b..bc44ea94dd05 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -25,7 +25,7 @@ "process": false }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -128,7 +128,7 @@ "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-replace": "^2.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/query-string": "6.2.0", "assert": "^1.4.1", "cross-env": "^7.0.2", diff --git a/sdk/storage/storage-file-datalake/samples/javascript/package.json b/sdk/storage/storage-file-datalake/samples/javascript/package.json index 618bca80ff87..d1250eee8c38 100644 --- a/sdk/storage/storage-file-datalake/samples/javascript/package.json +++ b/sdk/storage/storage-file-datalake/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Data Lake Storage client library samples for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/storage/storage-file-datalake/samples/typescript/package.json b/sdk/storage/storage-file-datalake/samples/typescript/package.json index 0d12c993ddcb..98ee09a1370d 100644 --- a/sdk/storage/storage-file-datalake/samples/typescript/package.json +++ b/sdk/storage/storage-file-datalake/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Data Lake Storage client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -35,7 +35,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "~3.6.4" } diff --git a/sdk/storage/storage-file-share/CHANGELOG.md b/sdk/storage/storage-file-share/CHANGELOG.md index ab65003604cf..f388e2c465d7 100644 --- a/sdk/storage/storage-file-share/CHANGELOG.md +++ b/sdk/storage/storage-file-share/CHANGELOG.md @@ -3,7 +3,7 @@ ## 12.7.0 (Unreleased) ### Features Added - +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features ### Breaking Changes diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index 81e665939c7f..9845c869b0a4 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -24,7 +24,7 @@ } }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -133,7 +133,7 @@ "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-replace": "^2.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "cross-env": "^7.0.2", "dotenv": "^8.2.0", diff --git a/sdk/storage/storage-file-share/samples/javascript/package.json b/sdk/storage/storage-file-share/samples/javascript/package.json index 08f0c6015338..4efd096c977e 100644 --- a/sdk/storage/storage-file-share/samples/javascript/package.json +++ b/sdk/storage/storage-file-share/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage File Share client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/storage/storage-file-share/samples/typescript/package.json b/sdk/storage/storage-file-share/samples/typescript/package.json index eb66b8eecf1a..15cf25ed57fc 100644 --- a/sdk/storage/storage-file-share/samples/typescript/package.json +++ b/sdk/storage/storage-file-share/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage File Share client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -34,7 +34,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "~3.6.4" } diff --git a/sdk/storage/storage-internal-avro/package.json b/sdk/storage/storage-internal-avro/package.json index 41b1c9c53615..64af5919e0ba 100644 --- a/sdk/storage/storage-internal-avro/package.json +++ b/sdk/storage/storage-internal-avro/package.json @@ -27,7 +27,7 @@ }, "types": "./types/latest/storage-internal-avro.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "files": [ "dist/", @@ -76,7 +76,7 @@ "@rollup/plugin-multi-entry": "^3.0.0", "@rollup/plugin-replace": "^2.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "dotenv": "^8.2.0", "downlevel-dts": "~0.4.0", diff --git a/sdk/storage/storage-queue/CHANGELOG.md b/sdk/storage/storage-queue/CHANGELOG.md index d043c6fd2ef9..6a44592cc8db 100644 --- a/sdk/storage/storage-queue/CHANGELOG.md +++ b/sdk/storage/storage-queue/CHANGELOG.md @@ -3,7 +3,7 @@ ## 12.6.0 (Unreleased) ### Features Added - +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features ### Breaking Changes diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index adf059ae409a..c55d4f5c124b 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -21,7 +21,7 @@ } }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -127,7 +127,7 @@ "@rollup/plugin-node-resolve": "^8.0.0", "@rollup/plugin-replace": "^2.2.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "assert": "^1.4.1", "cross-env": "^7.0.2", "dotenv": "^8.2.0", diff --git a/sdk/storage/storage-queue/samples/javascript/package.json b/sdk/storage/storage-queue/samples/javascript/package.json index 871cc5b1421d..93d11d47edb3 100644 --- a/sdk/storage/storage-queue/samples/javascript/package.json +++ b/sdk/storage/storage-queue/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage Queue client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/storage/storage-queue/samples/typescript/package.json b/sdk/storage/storage-queue/samples/typescript/package.json index 7e312f3e38bf..85be9a9b6315 100644 --- a/sdk/storage/storage-queue/samples/typescript/package.json +++ b/sdk/storage/storage-queue/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Storage Queue client library samples for TypeScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -34,7 +34,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "~3.6.4" } diff --git a/sdk/synapse/synapse-access-control/package.json b/sdk/synapse/synapse-access-control/package.json index b1cc04915140..85a32c7ddcda 100644 --- a/sdk/synapse/synapse-access-control/package.json +++ b/sdk/synapse/synapse-access-control/package.json @@ -22,7 +22,7 @@ ], "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "main": "./dist/index.js", "module": "./dist-esm/src/index.js", diff --git a/sdk/synapse/synapse-artifacts/package.json b/sdk/synapse/synapse-artifacts/package.json index dc008cc3db2a..fdcf31556ff0 100644 --- a/sdk/synapse/synapse-artifacts/package.json +++ b/sdk/synapse/synapse-artifacts/package.json @@ -26,7 +26,7 @@ ], "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "main": "./dist/index.js", "module": "./dist-esm/src/index.js", @@ -63,7 +63,7 @@ "rollup": "^1.16.3", "uglify-js": "^3.4.9", "@types/chai-as-promised": "^7.1.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", diff --git a/sdk/synapse/synapse-managed-private-endpoints/package.json b/sdk/synapse/synapse-managed-private-endpoints/package.json index bc21f6916746..0930b69802a7 100644 --- a/sdk/synapse/synapse-managed-private-endpoints/package.json +++ b/sdk/synapse/synapse-managed-private-endpoints/package.json @@ -22,7 +22,7 @@ ], "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "main": "./dist/index.js", "module": "./dist-esm/src/index.js", diff --git a/sdk/synapse/synapse-monitoring/package.json b/sdk/synapse/synapse-monitoring/package.json index 86354b19127f..d849be8589b5 100644 --- a/sdk/synapse/synapse-monitoring/package.json +++ b/sdk/synapse/synapse-monitoring/package.json @@ -21,7 +21,7 @@ ], "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "main": "./dist/index.js", "module": "./dist-esm/src/index.js", diff --git a/sdk/synapse/synapse-spark/package.json b/sdk/synapse/synapse-spark/package.json index 780b9d46ff1f..a64b229090ed 100644 --- a/sdk/synapse/synapse-spark/package.json +++ b/sdk/synapse/synapse-spark/package.json @@ -21,7 +21,7 @@ ], "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "main": "./dist/index.js", "module": "./dist-esm/src/index.js", diff --git a/sdk/tables/data-tables/CHANGELOG.md b/sdk/tables/data-tables/CHANGELOG.md index bd383a3c5f7e..c3455fef5fc2 100644 --- a/sdk/tables/data-tables/CHANGELOG.md +++ b/sdk/tables/data-tables/CHANGELOG.md @@ -9,7 +9,7 @@ Thank you to our developer community members who helped to make the Azure Tables - Eros Stein _([GitHub](https://github.com/eestein))_ ### Features Added - +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - Support for Azure Active Directory (AAD) authorization has been added to `TableServiceClient` and `TableClient`. This enables use of `TokenCredential` credentials. Note: Only Azure Storage API endpoints currently support AAD authorization. [#15852](https://github.com/Azure/azure-sdk-for-js/pull/15852) ### Fixed diff --git a/sdk/tables/data-tables/package.json b/sdk/tables/data-tables/package.json index cc8659d93f78..f42799e8062e 100644 --- a/sdk/tables/data-tables/package.json +++ b/sdk/tables/data-tables/package.json @@ -71,7 +71,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/data-tables/", "sideEffects": false, @@ -98,7 +98,7 @@ "@rollup/plugin-replace": "^2.2.0", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "@types/uuid": "^8.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", diff --git a/sdk/template/template/package.json b/sdk/template/template/package.json index 63636ac9ec77..05ca7a1f71cc 100644 --- a/sdk/template/template/package.json +++ b/sdk/template/template/package.json @@ -65,7 +65,7 @@ ], "repository": "github:Azure/azure-sdk-for-js", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "azure", @@ -96,7 +96,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", diff --git a/sdk/test-utils/perfstress/package.json b/sdk/test-utils/perfstress/package.json index df285d1bf629..ce4ce55994d9 100644 --- a/sdk/test-utils/perfstress/package.json +++ b/sdk/test-utils/perfstress/package.json @@ -8,7 +8,7 @@ "browser": {}, "types": "./typings/src/index.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -69,7 +69,7 @@ }, "devDependencies": { "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/node-fetch": "^2.5.0", "eslint": "^7.15.0", "karma": "^6.2.0", diff --git a/sdk/test-utils/recorder/package.json b/sdk/test-utils/recorder/package.json index d40d116beff2..cc97d9bc2473 100644 --- a/sdk/test-utils/recorder/package.json +++ b/sdk/test-utils/recorder/package.json @@ -57,7 +57,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/test-utils/recorder/", "sideEffects": false, @@ -83,7 +83,7 @@ "@types/md5": "^2.2.0", "@types/mocha": "^7.0.2", "@types/nise": "^1.4.0", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/mock-require": "~2.0.0", "@types/mock-fs": "~4.10.0", "chai": "^4.2.0", diff --git a/sdk/test-utils/test-utils/package.json b/sdk/test-utils/test-utils/package.json index 56b3aa749cf7..190b72870096 100644 --- a/sdk/test-utils/test-utils/package.json +++ b/sdk/test-utils/test-utils/package.json @@ -9,7 +9,7 @@ }, "types": "./types/src/index.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -66,7 +66,7 @@ "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", diff --git a/sdk/textanalytics/ai-text-analytics/CHANGELOG.md b/sdk/textanalytics/ai-text-analytics/CHANGELOG.md index 17c64ca23997..d1cf02fb45fa 100644 --- a/sdk/textanalytics/ai-text-analytics/CHANGELOG.md +++ b/sdk/textanalytics/ai-text-analytics/CHANGELOG.md @@ -9,7 +9,7 @@ ## 5.1.0-beta.6 (2021-05-18) ### New Features - +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - We are now targeting the service's v3.1-preview.5 API as the default instead of v3.1-preview.4. - `beginAnalyzeActions` adds support for analyze sentiment actions. - `disableServiceLogs` parameter is added to most actions in `beginAnalyzeActions` that controls service-side logging. diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index 57cd73f5f4ca..fdde9c063cb0 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -41,7 +41,7 @@ ] }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "//sampleConfiguration": { "productName": "Azure Text Analytics", @@ -109,7 +109,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", diff --git a/sdk/textanalytics/perf-tests/text-analytics/package.json b/sdk/textanalytics/perf-tests/text-analytics/package.json index 8b60250ae8ab..b340f9b976aa 100644 --- a/sdk/textanalytics/perf-tests/text-analytics/package.json +++ b/sdk/textanalytics/perf-tests/text-analytics/package.json @@ -13,7 +13,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "eslint": "^7.15.0", "prettier": "^1.16.4", "rimraf": "^3.0.0", diff --git a/sdk/videoanalyzer/video-analyzer-edge/package.json b/sdk/videoanalyzer/video-analyzer-edge/package.json index 8d596099da21..c30c2bc99421 100644 --- a/sdk/videoanalyzer/video-analyzer-edge/package.json +++ b/sdk/videoanalyzer/video-analyzer-edge/package.json @@ -43,7 +43,7 @@ ], "repository": "github:Azure/azure-sdk-for-js", "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "keywords": [ "azure", @@ -73,7 +73,7 @@ "@types/chai": "^4.1.6", "@types/chai-as-promised": "^7.1.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "cross-env": "^7.0.2", diff --git a/sdk/videoanalyzer/video-analyzer-edge/samples/javascript/package.json b/sdk/videoanalyzer/video-analyzer-edge/samples/javascript/package.json index 18c90b304316..682d05a795d1 100644 --- a/sdk/videoanalyzer/video-analyzer-edge/samples/javascript/package.json +++ b/sdk/videoanalyzer/video-analyzer-edge/samples/javascript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Sample code demonstrating how to invoke modules on lva pipelines in Azure IoT hub", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "repository": { "type": "git", diff --git a/sdk/videoanalyzer/video-analyzer-edge/samples/typescript/package.json b/sdk/videoanalyzer/video-analyzer-edge/samples/typescript/package.json index cdd247528dae..1d2bcbdb8046 100644 --- a/sdk/videoanalyzer/video-analyzer-edge/samples/typescript/package.json +++ b/sdk/videoanalyzer/video-analyzer-edge/samples/typescript/package.json @@ -4,7 +4,7 @@ "version": "0.1.0", "description": "Azure Video Analyzer library for JavaScript", "engine": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "scripts": { "build": "tsc", @@ -30,7 +30,7 @@ "dotenv": "^8.2.0" }, "devDependencies": { - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "rimraf": "^3.0.0", "typescript": "~3.6.4" } diff --git a/sdk/web-pubsub/web-pubsub-express/package.json b/sdk/web-pubsub/web-pubsub-express/package.json index 99360680a689..5f5a0643648c 100644 --- a/sdk/web-pubsub/web-pubsub-express/package.json +++ b/sdk/web-pubsub/web-pubsub-express/package.json @@ -52,7 +52,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search/", "sideEffects": false, @@ -75,7 +75,7 @@ "@types/express-serve-static-core": "^4.17.19", "@types/jsonwebtoken": "~8.5.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/query-string": "6.2.0", "@types/sinon": "^9.0.4", "assert": "^1.4.1", diff --git a/sdk/web-pubsub/web-pubsub/package.json b/sdk/web-pubsub/web-pubsub/package.json index cd574cd137b2..2ad58d7fe40d 100644 --- a/sdk/web-pubsub/web-pubsub/package.json +++ b/sdk/web-pubsub/web-pubsub/package.json @@ -55,7 +55,7 @@ "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/search/search/", "sideEffects": false, @@ -82,7 +82,7 @@ "@types/chai": "^4.1.6", "@types/jsonwebtoken": "~8.5.0", "@types/mocha": "^7.0.2", - "@types/node": "^8.0.0", + "@types/node": "^12.0.0", "@types/query-string": "6.2.0", "@types/sinon": "^9.0.4", "chai": "^4.2.0", From f854a850e08eca14391a5156ed58710b8151878f Mon Sep 17 00:00:00 2001 From: Ramya Rao Date: Mon, 28 Jun 2021 17:02:10 -0700 Subject: [PATCH 083/134] Update contributing guide to reflect Node.js support (#16057) The watchful eyes of @vishnureddy17 found that we still have reference to Node.js 8 in our Contributing Guide!! This PR fixes that. Related to #7022 --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 29b58094dffe..a1fc0c5e55cb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,7 +72,7 @@ With GitHub's Codespaces, the container already has all prerequisites installed. If you prefer to setup your own environment instead, make sure you have these prerequisites installed and available on your `$PATH`: - Git -- Node 8.x or higher +- Any of the [LTS versions of Node.js](https://nodejs.org/about/releases/) - Rush 5.x - Install / update Rush globally via `npm install -g @microsoft/rush`. - Rush will automatically manage the specific version needed by this repo as long as you have any v5 version installed. From 96998302c3ca2b860552a5cacb660c50c81a21d9 Mon Sep 17 00:00:00 2001 From: Sarangan Rajamanickam Date: Mon, 28 Jun 2021 17:19:34 -0700 Subject: [PATCH 084/134] Update identity to 2.0.0-beta.4 for quantum jobs (#15801) * Update identity to 2.0.0-beta.4 for quantum jobs * Fix CI Errors * Fix CI Errors --- sdk/quantum/quantum-jobs/package.json | 2 +- .../recording_test_get_providers_status.js | 93 +++++++++-- .../recording_test_get_quotas.js | 95 +++++++++-- .../recording_test_quantum_job_lifecycle.js | 151 ++++++++++++++---- 4 files changed, 287 insertions(+), 54 deletions(-) diff --git a/sdk/quantum/quantum-jobs/package.json b/sdk/quantum/quantum-jobs/package.json index ce7d0c461291..683c977b2085 100644 --- a/sdk/quantum/quantum-jobs/package.json +++ b/sdk/quantum/quantum-jobs/package.json @@ -73,7 +73,7 @@ "@azure/storage-blob": "^12.6.0-beta.1", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "^1.1.0", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_get_providers_status.js b/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_get_providers_status.js index 35c825eb84bf..2b39fb1eaad6 100644 --- a/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_get_providers_status.js +++ b/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_get_providers_status.js @@ -1,11 +1,82 @@ let nock = require('nock'); -module.exports.hash = "52b5aa847a5b1c0fe03c25dba6d1c1f5"; +module.exports.hash = "57249747666738457e74defda292e96a"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=ce7bd34e-0000-0000-0000-000000000000&client_secret=clientsecret&scope=https%3A%2F%2Fquantum.microsoft.com%2F.default") + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'ef95b87f-35f3-4a2a-9314-677dab0d8c00', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AssPApz8FJdPuwTnV8PLyxA; expires=Thu, 29-Jul-2021 00:02:15 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrdgg_r5erxQ-cPfYk0nRpWcwycq2oStyBdcYbBk7p6rpiinABvOnZaMNUfZMeEMuZWdaTxS5SqUvRiIs5U4WyEmbRVzUQV3dKlbR-46GnPxsZVWWyX2v4lKA-5WMxOvMgDQyGcy0grrE6Y2Pt0QpNSVrOeests1mYIcsfiD3Xi2sgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Tue, 29 Jun 2021 00:02:14 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '5bf7ee08-4237-472f-b5d3-80f2c2390901', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AssPApz8FJdPuwTnV8PLyxA; expires=Thu, 29-Jul-2021 00:02:15 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDWrMAXt1VSG1GB4CNd5JchS-b3eIyKevSupCa8OWvulxMC1qg5QaE9MeUFxiyjBWMTGQNVwGilFJJ1L354vajzjSV75oUanex9nEE5gJ1rmpqKLjpBcRl0Oq-jF-AWOIAUBLJNIPmuRmQ_Inh1uEjSYxy8cXKQexnpb63FmPnaUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Tue, 29 Jun 2021 00:02:14 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=ce7bd34e-0000-0000-0000-000000000000&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=2eaa6f26-01fd-452a-8de4-d65b0794f302&client_secret=clientsecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -22,24 +93,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '38220cee-6aec-4d0f-8d93-508e1c4a2e01', + 'c694b77a-b61d-4bb5-bf7e-846945191501', 'x-ms-ests-server', - '2.1.11444.12 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=Au-JfYCfeJ1Os2_0kwujtZ7POrquAQAAANw-rdcOAAAA; expires=Sat, 06-Mar-2021 01:03:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AssPApz8FJdPuwTnV8PLyxAH9ySAAQAAAAdabNgOAAAA; expires=Thu, 29-Jul-2021 00:02:15 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Thu, 04 Feb 2021 01:03:25 GMT', + 'Tue, 29 Jun 2021 00:02:14 GMT', 'Content-Length', - '1323' + '1722' ]); nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) .get('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/providerStatus') - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d1475f14d3ba6aaaf3f6a3d147d3755de7cbf6f8322bca6c5294457b4d2df4cf32a7166d565fe46de35e5f98d7c74db15897599bcfb2e532cfca6279313e5f5d64f4d2cd60b3cbbcce2ef29f58e7ebfc4db120f476461f356dd6ae9b97f4f9478f96ebb2fc25a35bf4b9bdcaea6c91b7797d5ee7f9cf3e06e8ae2cf3b2cd17abbcee23305dad09fa0fb1ff9ff51e6fa4f90f1f819ff52edb6cb2fe218f125dfeac77f28b16d36fb88fefff92ef8f3e5ae6efdae7c5f2ad7e","f6ff008e3aacf974040000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffc5131fbe8d1475f14d3ba6aaaf3f6a3d147d3755de7cbf6f8322bca6c5294457b4d2df4cf32a7166d565fe46de35e5f98d7c74db15897599bcfb2e532cfca6279313e5f5d64f4d2cd60b3cbbcce2ef29f58e7ebfc4db120f476461f356dd6ae9b97f4f9478f96ebb2fc25a35bf4b9bdcaea6c91b7797d5ee7f9cf3e06e8ae2cf3b2cd17abbcee23305dad09fa0fb1ff9ff51e6fa4f90f1f819ff52edb6cb2fe218f125dfeac77f28b16d39ff53e56d50ad35554cb1fde7c35eb49d356d379d6b4c574512ddb7c9ad565f50df7fbfd5ff2fdd147cbfc5dfbbc58bed5cf","fe1ff040bc0d60050000"], [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -54,6 +127,8 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) 'appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f', 'Strict-Transport-Security', 'max-age=2592000', + 'x-ms-request-id', + '4db9cfa7cf37c742', 'X-Powered-By', 'ASP.NET', 'Set-Cookie', @@ -61,7 +136,7 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) 'Set-Cookie', 'ARRAffinitySameSite=a80c7c3a42bc29f88c9055a7e2789984b224746994993027ab866c65455cca24;Path=/;HttpOnly;SameSite=None;Secure;Domain=westus.quantum.azure.com', 'Date', - 'Thu, 04 Feb 2021 01:03:24 GMT', + 'Tue, 29 Jun 2021 00:02:16 GMT', 'Connection', 'close' ]); diff --git a/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_get_quotas.js b/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_get_quotas.js index fa7a97d3fb48..f3d269b8a307 100644 --- a/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_get_quotas.js +++ b/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_get_quotas.js @@ -1,18 +1,87 @@ let nock = require('nock'); -module.exports.hash = "f909c630ef6bc7852e8aad46732be7e7"; +module.exports.hash = "36bc82d6615a57a31c5dbf38d77c93b0"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=ce7bd34e-0000-0000-0000-000000000000&client_secret=clientsecret&scope=https%3A%2F%2Fquantum.microsoft.com%2F.default") + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '20c099ee-f5c8-4fd6-9417-3d91805cbe01', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AssPApz8FJdPuwTnV8PLyxAH9ySAAQAAAAdabNgOAAAA; expires=Thu, 29-Jul-2021 00:02:16 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrk2C2eZBX3qOODeElJB6z72gCjFVAGjTnndKFTSyYugSEBWMSrbYj3D1z6wPm_y1QULhLCH0WOQf0XbGJ3pnEKekqLkf1MLJQ4dS4m7eZtbnLHPhmD4kVnhi_HM_IYAJdDEMJGTzntSkdR5NFuUyzdv6uqN5lX8IjNPGOXWY8EBsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Tue, 29 Jun 2021 00:02:15 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'f1b6af43-cb77-4fff-b1f8-db06f685de00', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AssPApz8FJdPuwTnV8PLyxAH9ySAAQAAAAdabNgOAAAA; expires=Thu, 29-Jul-2021 00:02:16 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrU2yfHJMoGmkjkWgAKTaufx4shHm9Eq_Qrdagg5BqX9u2ewXUZDcdOvIijREplDSnd1nxUUn9dYfJgQbst0y1Z9Au7ynlJ_cNl0kaldKPyk2un-CKkqO92ituWmun04sLEvTEAhqzx3svvXf-5DHkuK7tGHoJFnkTwkqU7_PqV6MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Tue, 29 Jun 2021 00:02:15 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=ce7bd34e-0000-0000-0000-000000000000&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=45d7cb90-7758-44eb-aaf0-417a8c60a155&client_secret=clientsecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1323', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -24,22 +93,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '9734eb80-243f-4ebe-ad29-b6c942614201', + '145ede9c-71e0-49e8-aa1e-40e891df0601', 'x-ms-ests-server', - '2.1.11444.12 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=Au-JfYCfeJ1Os2_0kwujtZ7POrquAQAAANw-rdcOAAAA; expires=Sat, 06-Mar-2021 01:03:25 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AssPApz8FJdPuwTnV8PLyxAH9ySAAgAAAAdabNgOAAAA; expires=Thu, 29-Jul-2021 00:02:16 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Thu, 04 Feb 2021 01:03:25 GMT' + 'Tue, 29 Jun 2021 00:02:15 GMT', + 'Content-Length', + '1722' ]); nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) .get('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/quotas') - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1ac58e4cba6a8961f3dfa685a2d26c5329ffdfe3f5d4d7eff79b5ae9b8f461f35d36a454d3ffa6e55bf6d56d934a7cf56757559ccf2fa6c465f7c514cebaaa9ce5bfa62dd1665f183ac6578db3be39dbddd870f760e76ef1fc8f3707ff4d1bc2a67cd478fe8cbd14765b128da8f1eedf11fabbc2e2a86582ddb7979fdd12f19bd077eafd793665a172bee9b807dc328eeeeecf09fb74072395dd775be6c7fffe96a0d547d2cdf9f8adc6b04a1fbf8dd62f3a25ae69b50395f5d643f7bb8ece1f7cdb818047af3f6cd61b18bdf2d1643f33388c8d76220ee3f86cb20bb7c7ff4d1327fd73e2f966f3f7ab45c97e5","2ff97f0023254de58f030000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1ac58e4cba6a8961f3dfa685a2d26c5329ffdfe3f5d4d7eff79b5ae9b8f461f35d36a454d3ffa6e55bf6d56d934a7cf56757559ccf2fa6c465f7c514cebaaa9ce5bfa62dd1665f183ac6578db3be39d9dbd079f3e78b8ffe09e79461fcdab72d67cf488be1c7d54168ba2fde8d11effb1caeba26288d5b29d97d71ffd92d17be0f77a3d69a675b1e2be09d8378ce2eece0eff790b2497d3755de7cbf6f79faed640d5c7f2fda9c8bd4610ba8fdf2d362faa65be0995f3d545f6b387cb1e7edf8c8b41a0376fdf1c16bbf8dd6231343f83887c2d06e2fe63b80cb2cbf7471f2df377edf362f9f6a347cb7559","fe92ff07533309148f030000"], [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -54,10 +127,12 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) 'appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f', 'Strict-Transport-Security', 'max-age=2592000', + 'x-ms-request-id', + '1212e3be16971b42', 'X-Powered-By', 'ASP.NET', 'Date', - 'Thu, 04 Feb 2021 01:03:25 GMT', + 'Tue, 29 Jun 2021 00:02:16 GMT', 'Connection', 'close' ]); diff --git a/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_quantum_job_lifecycle.js b/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_quantum_job_lifecycle.js index bb5bb7698d21..be9b7f0f81e9 100644 --- a/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_quantum_job_lifecycle.js +++ b/sdk/quantum/quantum-jobs/recordings/node/quantum_job_lifecycle/recording_test_quantum_job_lifecycle.js @@ -1,18 +1,87 @@ let nock = require('nock'); -module.exports.hash = "d72be875b213407d3bd89ae5a3328135"; +module.exports.hash = "ab4dd1c6afdb4de9db1250bebba8700d"; -module.exports.testInfo = {"uniqueName":{"input-":"input-161240060833601459","job-":"job-161240060889002218","jobname-":"jobname-161240060889009123"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"input-":"input-162492493836609793","job-":"job-162492493861700425","jobname-":"jobname-162492493861705769"},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=ce7bd34e-0000-0000-0000-000000000000&client_secret=clientsecret&scope=https%3A%2F%2Fquantum.microsoft.com%2F.default") + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '51ab2e1b-b53e-475d-85f4-a536b5b6b300', + 'x-ms-ests-server', + '2.1.11829.8 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AssPApz8FJdPuwTnV8PLyxAH9ySAAgAAAAdabNgOAAAA; expires=Thu, 29-Jul-2021 00:02:16 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr90r2aQvSrFXXBIh12x3mLHd61pJ25YFatPoVXQTGl1-LjCDqchJJm-Og9kGBk8wGZoJljXFgsDqIlMvqs04Nc_xcD0NPkngAwFEkJP7OHbH8TQLSjIG-qS6Mp509yGtew2a3i8C6cOn16Y9govhNrCERBTXR9TkPuVj8TJIGg1QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Tue, 29 Jun 2021 00:02:16 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'b0096cab-6e8f-4888-9dbd-f2f9992b1f01', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AssPApz8FJdPuwTnV8PLyxAH9ySAAgAAAAdabNgOAAAA; expires=Thu, 29-Jul-2021 00:02:16 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIcOljn7f8LdW4Ij3gQMCgpUXJ0Hy-CyEeOhQfTQLebmw1nWu1tbidOKCSl8IXJBDfGEwHy_PjoLdm7Wh7hoDtyz5w0Oo9nQ7q4PqY-a89SLDQJBG5o2Ek0ms3u_kXFU4ih1vakTgtlO_uuzwQbplJhpiwH7S-A6fi5i0GV22WV4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Tue, 29 Jun 2021 00:02:16 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=ce7bd34e-0000-0000-0000-000000000000&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=win32&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=3e90d698-1dfe-467b-8aec-57dca00a9be3&client_secret=clientsecret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1323', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -24,22 +93,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4d71d28a-bc87-4012-8486-fec249262c01', + '8d657b4a-64b2-44dd-ad5c-32a96e99ca00', 'x-ms-ests-server', - '2.1.11444.12 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=Au-JfYCfeJ1Os2_0kwujtZ7POrquAgAAANw-rdcOAAAA; expires=Sat, 06-Mar-2021 01:03:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AssPApz8FJdPuwTnV8PLyxAH9ySAAwAAAAdabNgOAAAA; expires=Thu, 29-Jul-2021 00:02:16 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Thu, 04 Feb 2021 01:03:25 GMT' + 'Tue, 29 Jun 2021 00:02:16 GMT', + 'Content-Length', + '1722' ]); nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) .post('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/storage/sasUri', {"containerName":"testcontainer"}) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474dd67c55171f3dfa68deb6abe6d1ddbbf3ac6ee6d9b269ab3abbc8dbbc69c793b29a8ca7559d8faf8ae5acba6ac6cbbcbd8bafa6d5b2cd8a655eff1ecde5677b3bbb0fb777f6e87fbfb0292e3e9b3ffbf4d3176fef7f67f6bbef3dd9f97d9e675fbdbcde9f5ceffcdedfbe38ffc9ef7ebefee9af5e5dbeb9fc8967d72f5f9ceeeffceef79efec22627107bbbf4fef6cefd37bbf77ef77bc73bf867efc14ffdc2a66e3f9b56bfb0693e9bfcc266f5599d4daf3efa","25ff0f84dd30debe000000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474dd67c55171f3dfa68deb6abe6d1ddbb6ddeb44d5bd5d945de6475f6d3d9221b4fca6a329e56753ebe2a96b3eaaa192ff3965b4eab659b15cbbcfe3d9acbcff676761f6eefecd1ff7e61535c7cf6f2c9ecbbcf7ff7bd2727a7bfe8ec277ef2fed9ef7dd1d4f776eadd76fff593bdf5d3fd676fbef3fcc1ab6f3ffca2bdffe9f1ef7eefe92f6c7202b1b7bbbdf3607be7de9b9d9ddffddef1ce1efdb3fbe0a77e6153b79f4dab5fd8349f4d7e61b3faaccea6571f","fd92ff07682302e7bf000000"], [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -54,10 +127,12 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) 'appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f', 'Strict-Transport-Security', 'max-age=2592000', + 'x-ms-request-id', + 'f6edc8462b21094a', 'X-Powered-By', 'ASP.NET', 'Date', - 'Thu, 04 Feb 2021 01:03:27 GMT', + 'Tue, 29 Jun 2021 00:02:16 GMT', 'Connection', 'close' ]); @@ -65,7 +140,7 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) nock('https://dummystorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) .put('/testcontainer') .query(true) - .reply(409, "ContainerAlreadyExistsThe specified container already exists.\nRequestId:c4b2992c-c01e-006b-0691-fa3baa000000\nTime:2021-02-04T01:03:27.5565544Z", [ + .reply(409, "ContainerAlreadyExistsThe specified container already exists.\nRequestId:230e8c24-a01e-0029-467a-6c2e40000000\nTime:2021-06-29T00:02:17.5829872Z", [ 'Content-Length', '230', 'Content-Type', @@ -73,20 +148,20 @@ nock('https://dummystorageaccount.blob.core.windows.net:443', {"encodedQueryPara 'Server', 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'c4b2992c-c01e-006b-0691-fa3baa000000', + '230e8c24-a01e-0029-467a-6c2e40000000', 'x-ms-client-request-id', - '5f40b6cf-a1a6-42b4-b47d-1d6f4346ff0f', + '26605f98-4266-4ad7-8085-b53d4618f418', 'x-ms-version', - '2020-04-08', + '2020-08-04', 'x-ms-error-code', 'ContainerAlreadyExists', 'Date', - 'Thu, 04 Feb 2021 01:03:27 GMT' + 'Tue, 29 Jun 2021 00:02:17 GMT' ]); nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) - .post('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/storage/sasUri', {"containerName":"testcontainer","blobName":"input-161240060833601459.json"}) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474dd67c55171f3dfa68deb6abe6d1ddbbf3ac6ee6d9b269ab3abbc8dbbc69c793b29a8ca7559d8faf8ae5acba6ac6cbbcbd8bafa6d5b2cd8a655edf2d96ab75bbbdfbe9eedefececea73b07f7ee7dbab3bb7fffe1f8a79b6af97b34979fededec3edcded9a3fffdc2a6fe6cf20b9be2e2b3c5abfdc9b767fbe7bffbdeb327d9eff583177b17efda6af6e08b8b9d7be7ebf9fdd3df7bd6bc5cb75f7e677272fdb6f9ddef3dfd854d4e70f67609c8f6cefd37bbf77ef77bc73bf867efe0a77e61b3faac9e5e7df4","4bfe1f41fff503d4000000"], [ + .post('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/storage/sasUri', {"containerName":"testcontainer","blobName":"input-162492493836609793.json"}) + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1474dd67c55171f3dfa68deb6abe6d1ddbb6ddeb44d5bd5d945de6475f6d3d9221b4fca6a329e56753ebe2a96b3eaaa192ff3965b4eab659b15cbbcbe5b2c57eb767bf7d3bdfd87f4bf7b07f73efd74e7e18387f7c63fdd54cbdfa3b9fc6c6f67f7e1f6ce1efdef1736f567935fd814179fbd7cd65c1e9fcf76a7f3dfe7f7feee4fdcfbceeb5ff4fc8bd9f4f77ef6f6fefef4f5d3fbef7ee2febdd393abefbc9b9d9cfdeef79efec22627287bbbdb3b0fb677eebdd9d9f9ddef1defecd13fbb0f7eea1736abcfeae9d547bf","e4ff0170c70989d3000000"], [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -101,16 +176,18 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) 'appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f', 'Strict-Transport-Security', 'max-age=2592000', + 'x-ms-request-id', + 'f0b5e8128fb73547', 'X-Powered-By', 'ASP.NET', 'Date', - 'Thu, 04 Feb 2021 01:03:27 GMT', + 'Tue, 29 Jun 2021 00:02:17 GMT', 'Connection', 'close' ]); nock('https://dummystorageaccount.blob.core.windows.net:443', {"encodedQueryParams":true}) - .put('/testcontainer/input-161240060833601459.json', {"cost_function":{"version":"1.0","type":"ising","terms":[{"c":-3,"ids":[1,0]},{"c":5,"ids":[2,0]},{"c":9,"ids":[2,1]},{"c":2,"ids":[3,0]},{"c":-4,"ids":[3,1]},{"c":4,"ids":[3,2]}]}}) + .put('/testcontainer/input-162492493836609793.json', {"cost_function":{"version":"1.0","type":"ising","terms":[{"c":-3,"ids":[1,0]},{"c":5,"ids":[2,0]},{"c":9,"ids":[2,1]},{"c":2,"ids":[3,0]},{"c":-4,"ids":[3,1]},{"c":4,"ids":[3,2]}]}}) .query(true) .reply(201, "", [ 'Content-Length', @@ -118,28 +195,28 @@ nock('https://dummystorageaccount.blob.core.windows.net:443', {"encodedQueryPara 'Content-MD5', 'X8K62ldLT+xYkvrjps/bQQ==', 'Last-Modified', - 'Thu, 04 Feb 2021 01:03:28 GMT', + 'Tue, 29 Jun 2021 00:02:17 GMT', 'ETag', - '"0x8D8C8A8AE88E1CA"', + '"0x8D93A9128C6B54B"', 'Server', 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'c4b299c1-c01e-006b-0291-fa3baa000000', + '230e8cc3-a01e-0029-577a-6c2e40000000', 'x-ms-client-request-id', - '13da6bf1-62f7-425b-bdd8-04340c34fd5f', + '36d4ff19-ed7d-440f-8bac-09ec66e8648a', 'x-ms-version', - '2020-04-08', + '2020-08-04', 'x-ms-content-crc64', 'BXcAuCMpTtQ=', 'x-ms-request-server-encrypted', 'true', 'Date', - 'Thu, 04 Feb 2021 01:03:27 GMT' + 'Tue, 29 Jun 2021 00:02:17 GMT' ]); nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) - .put('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/jobs/job-161240060889002218', {"id":"job-161240060889002218","name":"jobname-161240060889009123","containerUri":"https://dummystorageaccount.blob.core.windows.net/testcontainer?sv=2019-02-02&sig=0000000000000000000000000000000000000000000000&se=2021-02-05T13%3A03%3A27Z&srt=co&ss=b&sp=racw","inputDataUri":"https://dummystorageaccount.blob.core.windows.net/testcontainer/input-161240060833601459.json?sv=2019-02-02&sr=b&sig=0000000000000000000000000000000000000000000000&se=2021-02-05T13%3A03%3A28Z&sp=rcw","inputDataFormat":"microsoft.qio.v2","providerId":"microsoft","target":"microsoft.paralleltempering-parameterfree.cpu","outputDataFormat":"microsoft.qio-results.v2"}) - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147d36ad966c532afbfaa8b8f1e7d346fdb55f3e8eedd795637f36cd9b4559d5de46ddeb4e349594dc6d3aacec757c572565d35e365dedec55716c6efd15c7eb6b7b3fb707b678ffef70b9be2e2b3f9b34f3f7df1f6fe7766bffbde939ddfe779f6d5cbebfdc9f5ceeffded8bf39ffceee7eb9ffeead5e59bcb9f7876fdf2c5e9feceef7eefe92f6c7202b1b74bef6fefdc7fb37bef77bf77bc837ff61efcd42f6ceaf6b369f50b9be6b3c92f6c569fd5d9f4eaa3d147c572b56e9f666df64d0ce12e43dbdefd74776f7f67e7d39d837bf73eddd9ddbfff70fcd34db5ec0eb0062234cac5abfdc9b767fbe7bffbdeb327d9eff583177b17efda6af6e08b8b9d7be7ebf9fdd3df7bd6bc5cb75f7e677272fdb6d938ca031a258d2c1cd8b3aa5e642d8d6d514cebaaa9cedbf12f2aaaf1e59e69f432abb345f3d1a35ffc4b461fadeaeab298e5f5d9cc7f815ab6594d74f03f1cafe8bdb2cccb365facf2ba585e6ce3930551ab3eaff37c3c5dade945fa3b9b111a1f3d5aaecb72f4d1925a10989fae26f8cda3d5c1c39d9d87bb7bf7e89d02bd538bceb77b7bbb07f46dd366ed9af0fde8bb59d152b7f451b56e6920c3a3ddaef3665db68d8cdab5fe7a93fe687fff5e67e21dc8ee2cd304ff10d8785ae7595b54cb370553d7bebdff6667f7d1cebd477b07e383fd877bbb3b0f3ed9d979b4b343af4cf28b6279fa2e9faedd8b3245f97216fd7c9a2da779597a1dc9e7795d5735c62e1ffc","92ff07d0dcc9fa19040000"], [ + .put('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/jobs/job-162492493861700425', {"id":"job-162492493861700425","name":"jobname-162492493861705769","containerUri":"https://dummystorageaccount.blob.core.windows.net/testcontainer?sv=2019-02-02&sig=0000000000000000000000000000000000000000000000&se=2021-07-03T00%3A02%3A17Z&srt=co&ss=b&sp=racw","inputDataUri":"https://dummystorageaccount.blob.core.windows.net/testcontainer/input-162492493836609793.json?sv=2019-02-02&sr=b&sig=0000000000000000000000000000000000000000000000&se=2021-07-03T00%3A02%3A17Z&sp=rcw","inputDataFormat":"microsoft.qio.v2","providerId":"microsoft","target":"microsoft.paralleltempering-parameterfree.cpu","outputDataFormat":"microsoft.qio-results.v2"}) + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147d36ad966c532afbfaa8b8f1e7d346fdb55f3e8eedd366fdaa6adeaec226fb23afbe96c918d276535194fab3a1f5f15cb5975d58c9779cb2d2d90dfa3b9fc6c6f67f7e1f6ce1efdef1736c5c5672f9fccbefbfc77df7b7272fa8bce7ee227ef9ffdde174d7d6fa7de6df75f3fd95b3fdd7ff6e63bcf1fbcfaf6c32fdafb9f1effeef79efec22627107bbbdb3b0fb677eebdd9d9f9ddef1defecd13fbb0f7eea173675fbd9b4fa854df3d9e41736abcfea6c7af5d1e8a362b95ab74fb336fb46c67097c16def7ebab7ff90fe77efe0dea79fee3c7cf0f0def8a79b6ad91d610d4c30cc67cde5f1f96c773aff7d7eefeffec4bdefbcfe45cfbf984d7fef676fefef4f5f3fbdffee27eedf3b3db9facebbd9c9d98d83a48185e37a56d58baca5a12d8a695d35d5793bfe454535bedc338d5ed2f816cd478f7ef12f197db4aaabcb6296d76733ff056ad966f5451e4259d17b6599976dbe58e575b1bcd8c6278bbccdebf33acfc7d3d59a5ea4bfb319a1f1d1a3e5ba2c471f2da90581f9e96a82df3c4a7dbafb60e7fe834f1fd23b057aa7169d6f77f6f7eed3b74d9bb56bc2f7a3ef66454bddd247d5baa5810c8f76bbce9b75d936326ad7fa6bcef9a3fdfd7bdcdacdbb83d99d64ccefcf3e1b4feb3c6b8b6af9a660f2cadb9f6eef3da4b71fedec3dda3d18ef1cdcbbbff3e0d34ff0c10ebd32c92f8ae5e9bb7cba762fca1ce5cb59f4f369b69ce665e975249fe7755dd518bbf9a0684ea429a6e7d17956363958e88266ed7bdfff25","ff0f8eb63be939040000"], [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -154,17 +231,19 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) 'appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f', 'Strict-Transport-Security', 'max-age=2592000', + 'x-ms-request-id', + '5612722dbe38904b', 'X-Powered-By', 'ASP.NET', 'Date', - 'Thu, 04 Feb 2021 01:03:28 GMT', + 'Tue, 29 Jun 2021 00:02:17 GMT', 'Connection', 'close' ]); nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) - .get('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/jobs/job-161240060889002218') - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147d36ad966c532afbfaa8b8f1e7d346fdb55f3e8eedd795637f36cd9b4559d5de46ddeb4e349594dc6d3aacec757c572565d35e365dedec55716c6efd15c7eb6b7b3fb707b678ffef70b9be2e2b3f9b34f3f7df1f6fe7766bffbde939ddfe779f6d5cbebfdc9f5ceeffded8bf39ffceee7eb9ffeead5e59bcb9f7876fdf2c5e9feceef7eefe92f6c7202b1b74bef6fefdc7fb37bef77bf77bc837ff61efcd42f6ceaf6b369f50b9be6b3c92f6c569fd5d9f4eaa3d147c572b56e9f666df64d0ce12e43dbdefd74776f7f67e7d39d837bf73eddd9ddbfff70fcd34db5ec0eb0062234cadf7defd9c1ea8b1fbcdbbb9e35afbeacce5efde0a7df3e9dbf78d6ac2f66d5eadde77bbbaf1f3c7dfda2babf3eae4e378ef2218d9246e60feb59552fb29646b628a675d554e7edf81715d5f872cf347a99d5d9a2f9e8d12ffe25a38f56757559ccf2fa6ce6bf402ddbac262af81f8e57f45e59e6659b2f56795d2c2fb6f1c98268559fd7793e9eaed6f422fd9dcd088d8f1e2dd76539fa68492d08cc4f5713fce651eae0e1cecec3ddbd7bf44e81dea945e7dbbdbddd03fab669b3764df87ef4ddac68a95bfaa85ab73490e1d16ed779b32edb4646ed5a7f2353eec00dcdefc5ab33e2df9f2aef9d9d4fbfdaffb47df813cdfcc1fee47c363b9f7cfe9d57eb9ff8ea174d5e7ce7e2075fac4f5e4f6f39bfd33acfdaa25abe29989eb6f9fe9b9ddd473bf71eed1d8c0ff61feeedee3cf86467e7d1ce0ebd32c92f8ae5e9bb7cba762fcaa4e4cb59f4f369b69ce665e975249fe7755dd518b17cf0","4bfe1fd3efd0dd09040000"], [ + .get('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/jobs/job-162492493861700425') + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef147d36ad966c532afbfaa8b8f1e7d346fdb55f3e8eedd366fdaa6adeaec226fb23afbe96c918d276535194fab3a1f5f15cb5975d58c9779cb2d2d90dfa3b9fc6c6f67f7e1f6ce1efdef1736c5c5672f9fccbefbfc77df7b7272fa8bce7ee227ef9ffdde174d7d6fa7de6df75f3fd95b3fdd7ff6e63bcf1fbcfaf6c32fdafb9f1effeef79efec22627107bbbdb3b0fb677eebdd9d9f9ddef1defecd13fbb0f7eea173675fbd9b4fa854df3d9e41736abcfea6c7af5d1e8a362b95ab74fb336fb46c67097c16def7ebab7ff90fe77efe0dea79fee3c7cf0f0def8a79b6ad91d610d4c30cc7bc73f31ff291ae7c5ef7daf59befcbdf7ebfac5eff37b2dbfa877cf16c562f574f7f77976efd90ff29ffca9173f7879ba719807344c1ada2fac9be9ecb3ac6db3e97c912fdbdffdde93df7d6fe7bc28f365b6c809c24f5713fce621fae9ee839dfb0f3e7db84d5f753eded9dfbb3fe681f1287ca23dabea45d612dd16c5b4ae9aeabc1dffa2a21a5fee99462f89788be6a347bff8978c3e5ad5d56531cbebb399ff02b56cb3fa220fa1ace8bdb2cccb365facf2ba585e6ce39345dee6f5799de7e3e96a4d2fd2dfd98cd0f8e8d1725d96a38f3026024343c06f9d616074f44e81dea945e75b0c92be6ddaac5d13be1f7d372b5aea963eaad62d0d6478b4db75deaccbb69151bbd6df0c43397843dc437cf37aff279f9cfde0d5c5f4cdb77f62fafce2f759ee552f7eef379fe73f755aefbf7b38cbbe78ba5bbedb7d97cff669ee7f2eb8474661d8675ae7595b54cb37054f9720f3e9f6de4342e6d1cedea3dd83f1cec1bdfb3b0f3efd041fecd02b93fca2589ebecba76bf7a2cc79be9c453f9f66cb695e965e47f2795ed7550d7a9a0f8ae6449a62ba1f9d67659383252f880bbef7fd","5ff2ff0039053890e6040000"], [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -179,17 +258,19 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) 'appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f', 'Strict-Transport-Security', 'max-age=2592000', + 'x-ms-request-id', + '55a0f02a83d8a146', 'X-Powered-By', 'ASP.NET', 'Date', - 'Thu, 04 Feb 2021 01:03:29 GMT', + 'Tue, 29 Jun 2021 00:02:17 GMT', 'Connection', 'close' ]); nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) .get('/v1.0/subscriptions/677fc922-91d0-4bf6-0000-4274d319a0fa/resourceGroups/resourcegroup/providers/Microsoft.Quantum/workspaces/workspace/jobs') - .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1b45ab659b1ccebafeae2a3471fcddb76d53cba7b779ed5cd3c5b366d556717799b37ed78525693f1b4aaf3f155b19c5557cd7899b777f19585f17b34979fededec3edcded9a3fffdc2a6b8f8ec603f6bcf7757d3eb873f79f09ddf7def59f1ed07cfa62f5e7f77affe7dee5f5e95cfeb97d5fca7ef3593f3bcfebd7fe277bff7f417363981d8dba5f7b777eebfd9ddfbddef1defedd03f3bf77fea173675fbd9b4fa854df3d9e41736abcfea6c7af5d1e8a362b95ab74fb336fb26867097a16def7ebabb77efe1c1cecea70f761ed03f0ff6c73fdd54cbee006b2042a37cf06e41637b367f797a96ffe0e5abd50fbe3a3f7bd5fef4c322dffde23bb3b7d517d5eae43bc5572fbefb839f9cbcdd38ca4f699434b27060cfaa7a91b534b64531adaba63a6fc7bfa8a8c6977ba6d1cbacce16cd478f7ef12f197db4aaabcb6296d76733ff056ad96635d1c1ff70bca2f7ca322fdb7cb1caeb6279b18d4f1644adfabccef3f174b5a617e9ef6c46687cf468b92ecbd1474b6a41607eba9ae03747ab077b07bb3b0ff7f7f6e99d02bd538bceb77b0fef3da46f9b366bd784ef47cfb2a2cc67f449b56e691cc383ddaef3665db68d0cdab5fe7a73fe687fff5e67de1dc8ee24d3fcfe10b8785ae7595b54cb370513d7bebdff6667e7d1decea39d07e39d07bb0744ca9fa2d693fca2589ebecba7eb1bde3978b0bbf7f0537e275fce6e7ee3d3f1fdbdbd7b0feeddc71bd36c39cdcbd2c34b1820afebaa06a988e34883cce88b8fce96a4548ad919d891bf02df340d4d037df9669ea7593d9d1797799a2fdbfa3abdca9a745a2d5634ad4d3e4bd70d315f9a2dd3f5b259af5655ddd287e67bea3d251e9c57b3f147bfe4978cd0a5cedad79bfd70e623d34d337c7cfa13bffbde939f5a1d3c78f9fcab9ffeeaf7690fb287cfce2fdffed4f1eb17d3e9de4fedac4e1a6af6ec070f8f5f7ffed5a629df7b3034e52cbaa0d537318c8ee2da3b2016dfb9ff70676fa3e2caeb9fac5f7ee7fae9e7abf6f75e3f5dfef4f397cfdfbe7a785d5e7d77b7f8bdbf7b725dfc3ed9bd9f784803fd899ffe8a06b3619407344a1a5938b0b82c8b0c73a3ff5728aebd83870f7776eedddf67b4d03bb5e87cbbbbb7f780befdff9ae2a299fb6170f24dca6bef607c7fffd37bf71f7e0ab5723be545ef3c7c78ffd37bf2ce6d94d7eea7e34ff7efd354e1859fafbaebf7bef7d5f54fcf2ebf783d2f69da3f3f5e7ff9530fdb2f8ed7c5bbaa389e9f3c5d5d3fffaa9e4cebf2a7bff3ea7468b677e99ffd7b43b3cd920b3a7d134308f5d6eecefe831d722276ee6fd65bf5ef432cfbe5ef933f5c9d15af3f6daf8f976fdebefae92fd73ff5133ffde9eb2fbf7df58393efacee5fae9a66da1c6c1ee53e8d9246160e2c2eca22c2dce8ff0d7a6b97880476dfd98566eaea2dfd76efe10ebefdff9adefa2170f1669db5fb68fffe78e7dec1ce837bfb5027b7d159fccefefea707077bbb78e7669db5fbe8dedef8c1fdfbf7ee7fca5aeee7abd2fa0149f393f2c9d39f7876f5ddeacd4fbffd7d265f7e7b2fdf3bcf17bfe86dfe7bddbfff93cf8e5fbdfbeacdc31fbc5efc802c517cbaf1cf2ec4393add2cb6a0d33731848ed2ba77ffc1eec39dfdfbf777362aadd3975f7eb1f3ddd3ab273ff16c76fdf43b4fbffce9e207abe977db625d10932fee3fb93e39be2cbf7c71feaadaf97d368e1251048d2c1c585c8e457eb991515a3fa74aebdea77bf77777ee3d78f829bdd3535af87667e7e0fede7dfaf6ff6b4aeb87c0c59b95d6dea3ddfbe30707bbf71f1e3c803ab98dd2a2773e1defed1f3cfc74e721deb995d2da1fef3cbc7ff0a9b8663f5f95d6faf9f43be7bfd7f94f7ffefce5eccb59fee94fee4c8b97dffdbdd693a7ed779fbd9b7f67726f76d5bcdbfdbd7f6270b2efdda37feeef0d4d360b2da8f44d0c20545907f7ee7d7af070077f6c5459df3ddd3bfbf6fe9be3fae125a9a8fbeff6dbf3fae994f8fccdfefda79f9f3dac4e0f7eeaa78fbffc920cf5c193dda1d4968c139698c6160e2d2ec722bfdce8ff0d4aebe0defede830714211edca377ba4a4bbf7db8f729125fff5f535a3feb5cbc5165ddbbf7e8fefe7897e9075d720b8d25af10d5efeded71a477a3c6c21ba417ef7f4af9909fd779ad7ba73ffd2a5f1e974f5efe3ef3c5e7f3a73f7df993d9415d7ef5f9ef352191febd5eee2f3292f2b7d7f5972f2e5e5e0df9d5f71ed23ff70773012cb5a0d4373188406b3ddca5ffdd7bb0737ff7e1ee46ad35fd6e79f1e0ed657ebf7c70f2e0ddbb372f7fd1e2e0e0bbabb3bdebd5e4f7face570f3fcdc8cdfa4534e4fce59bcda3fcff6c560bb4faf42111e7c1fe2ebdd3d159e6dbfd5dfef6ff6b3aeb87c2c79bf5d6c347f71f52aa7c77f7e1035642b7505cfb945edf19ef3dd8a794e2ede243790311e5fe2ebff1f35571fdf4eb17edeffdf0e46067fa533fbd5e34f73fbfa8af7eafabc94f4d8b1fdcff455fbdb9fa4e3db977efdefd8bd31f5c0d4cf6fe7dfae71ec4393ad92cb6a0d23731805069dddfa7dc3227903fdda8b45e9fff20bbbf3b6f9efea2ebbdb7c4c63ff8c9e7f46ff5a66a76bffcbd5f5ddf5bfee4ee7ef513dff989dfabbdbf78fed343c658c6f990c649630b8716976491606ef4ff06b545d4fa74f71e45170fa098ba6a4bbffdf46017dffe7f4d6dfdac73f14695b57f9ff4c9787fe7fecefd9ddb4687786777bcbb4f6be0fbec39ddacb2ee2371ffe0d3ddfd4ff7b9979faf2aeb2959a09f7cf17b7ffed5a7cb93e7fbebfd9d7b4fa6e5f26cfdeae1d39ffa8966f9ea7afae4e1d5ee4fbc7bda7ea71e8a9bee1fd03f947f1c986e165ad0e99b1882a7b4a0b076ef1f3cd8dbf9f4fec1fd8d4aeb273e2fdf7c67a77cf2f9abd3f28b972f68ccdf7ed7bef941f553a70f56c5b7afbe4b1f7c7731fda9eb83b7974f772fce368ef3ffa3492da6d6a7fbf7f62802ec2b2df7ed03d25ef4edffd794d60f818f37aaadfb078fee51826ae7c11e65c5a8f12db496bcf2f0e1bd9d838303bc73a3d6c21b0fc60f1e7c4ab9477ee3e7abd69a3ffbf4d3176fef7f6746b3bef3fb3ccfbe7a79bd3fb9def9bdbf7d71fe93dffd7cfdd35fbdba7c73f913cfae5fbe38dd8fb9204805ece09fbd41bf9aa51674fa2686106aad4f77282bf0e9ceee3ef9e69bb4d6e2d5fee4dbb3fd73f2af9e64bfd70f5eec5dbc6babd9832f2e76ee9dafe7f74f7fef59f372dd7ef99dc9c9f5db66e328618a6964e1c0e2622ce2cb8dfedfa0b388569400dc79487e15bdd3d559faeddedeee017d6b75d677b3a2a56ee923a733e2a3fdb9555a3f0436dea0b4761feddc831774b0ff706f7787bda098d692d9e9eb26f9fc","161a081ffc92efd304e7efdae7c5f2ad7e","f2ff00880ee059df290000"], [ + .reply(200, ["1f8b0800000000000400edbd07601c499625262f6dca7b7f4af54ad7e074a10880601324d8904010ecc188cde692ec1d69472329ab2a81ca6556655d661640cced9dbcf7de7befbdf7de7befbdf7ba3b9d4e27f7dfff3f5c6664016cf6ce4adac99e2180aac81f3f7e7c1f3f227ef1479759b9ce3f7af4bd5ffcd1b45ab659b1ccebafeae2a3471fcddb76d53cba7bb7cd9bb669ab3abbc89bacce7e3a5b64e349594dc6d3aacec757c572565d35e365de724b0be4f7682e3fdbdbd97db8bdb347fffb854d71f1d9ebfdb3b3f5f3e5eff5d557f5deecf73ef8ddf79efc5e1717bffbdeb3873baf4f7feffd2fbef86ebbbcfc6e7b527cf727673f78b97ff6bbdf7bfa0b9b9c80eced6eef7cbabdb7fb66f7e077bf777cef21fdb37fffa77e6153b79f4dab5fd8349f4d7e61b3faaccea6571f8d3e2a96ab75fb346bb36f64147719dcf6eea77bf71edebfbf7bf0e9cec3073b079f7eba3bfee9a65a76c75803131ae8c387cdfd93f57afed5e7bbbb4fe6bbedeb2f9f3efdeeb77ffac1d5098df6dee7f3dd5ff4eafadddefd17bbb39f7a4843da30cc4f699834b47064cfaa7a91b534b84531adaba63a6fc7bfa8a8c6977ba6d14b1ae1a2f9e8d12ffe25a38f56757559ccf2fa6ce6bf402ddbacbec843282b7aaf2cf3b2cd17abbc2e9617dbf86491b7797d5ee7f978ba5ad38bf4773623343e7ab45c97e5e8a325b520303f5d4df09b47ab7b0f0e7676f6771ed03b057aa7169d6f77f777f6e9dba6cdda35e1fbd1b3ac28f3197d52ad5b1ac7f060b7ebbc59976d238376adbfe6a43fdadfbfc7adddc43b98dd59a609fea170f2b4ceb3b6a8966f0aa6af797bf701bdfde8dec347fb9f8e0f76efeddedf3ff8296a3dc92f8ae5e9bb7cbadef8ce83f1fedea7f70e88b1e89d7c39bbf98d83f1a7f73f3dd8bbcfbd4cb3e5342f4b0f2fe181bcaeab1ac422a6234532a32f3e7a5367cba6c8972d66755de7f4fa226f1a9a0c7c39cfd3ac9ece8bcb3ca526f5757a9535e9b45aac68669b7c96ae1be2bf345ba6eb65b35eadaabaa50fcdf7d47b4a6c38af66e38f88c78be644f0a2573e7a749e954d0efebe2096fadef77fc90818e9b47e4dfee096164884219e7d5196cfbed334f7b39fdedbf97d9eafdadffb415b5e365f7cb99aff5ef7f7f3abbd6cf719f1c7d9eff37befb73b013b3cd8deb9f766873e3be67f88cc03ecc0920d127f2363708a6dffe1defec1fd87f777f7761e1e107f6c526c4fcbdf677df9e2c5ee4f7dfbd9b32f7fefbd9dd7673f753a7bdebe5e3f2011585e969f7ef974f7fe69fb7b9d665718ed8d03a5c185638b4bbb483937fab9566d4aad07fb073bf7773e3da0777cd566bf7db0b3f7e9c12e7dfbff39d5f643e0e401c5b6f790de7e44ffbbff70bcb7fbe9c3fbf758496d546cfe3b07fb0f1feceedcc33b1b149b7b637fbcffe0d3ddbd4fefe38d1f2936021261876fbf5a9c4db39f9e9dfef4ab9ffae9fbf9ef7596af2fbf73dd1e67a73f4922fff6f8ece14f7c777afaecf73eb9bffacee9103becd23ffbfb43ecc0720d127f23630815dbc39dfb07f7c809d97fb8bf51b1fdd493d7a7d75f3cbb7cf0e25362eea67a9d9f9d153ffd53bfd7d5c1c3257d303dfbea277ff227cf778bdf7b3929cf9fec6f1c280c3a0d2e1c5b5cd645c6b9d1ff1b14dbc39d4f77efeded1c1c3cb84fef74159b7e4bcfa7f4edffe714db0f8193372bb6dd47fbf7c79fee127177f7a1726ea3d8e89d4fc73b3bbb644ff6f0cecd8a8dded819ef1eececdd233ce98d1f293602126187974f66df7d4e137f72fa8bce7ee227ef9ffdde174d7d6fa7de6df75f3fd95b3fdd7ff6e63bcf1fbcfaf6c32fdafb9f1e0fb1c31efdb3fb60881d58ae41e26f640c1dc576efe0dea788461fdedba8d85e3e6b2e8fcf67bbd3f9eff37b7ff727ee7de7f52f7afec56cfa7b3f7b7b7f7ffafae9fd773f71ffdee9c9d577decd4e06bd353b481a5838aeb89c8b7c73a3ff5728b57b079f92fcdc7ff0e9437aa7a7d4e4db9dfd3da8bcc628b5ef66454bddd2474ea7c447fb73acd57e086cbc59abed3dda3d18ef1cdcbbbff360d05d93e9e9eb2ef9fc161a4a3ed8ac34be4f0c90bf6b9f17cbb7f2c22f","f97f00c417f310dd120000"], [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -204,10 +285,12 @@ nock('https://westus.quantum.azure.com:443', {"encodedQueryParams":true}) 'appId=cid-v1:4d6ac272-7369-45c6-9036-63d733c8519f', 'Strict-Transport-Security', 'max-age=2592000', + 'x-ms-request-id', + 'baeaf1adeea5d04c', 'X-Powered-By', 'ASP.NET', 'Date', - 'Thu, 04 Feb 2021 01:03:29 GMT', + 'Tue, 29 Jun 2021 00:02:17 GMT', 'Connection', 'close' ]); From c8126befe3aa90b7f6239ca0d7d7b0137ec6d61f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Tue, 29 Jun 2021 00:00:58 -0400 Subject: [PATCH 085/134] [core] Retry on 503 using the Retry-After header (#15906) Based on the Retry-After specification, 503 should also be supported when considering the Retry-After header. This also aligns with upcoming Identity plans. --- sdk/core/core-http/CHANGELOG.md | 4 +- sdk/core/core-http/review/core-http.api.md | 1 + .../src/policies/exponentialRetryPolicy.ts | 5 + .../src/policies/throttlingRetryPolicy.ts | 30 +++-- sdk/core/core-http/src/util/constants.ts | 3 +- .../src/util/throttlingRetryStrategy.ts | 7 + .../policies/throttlingRetryPolicyTests.ts | 116 ++++++++++++++++- sdk/core/core-rest-pipeline/CHANGELOG.md | 6 + .../src/policies/exponentialRetryPolicy.ts | 9 +- .../src/policies/throttlingRetryPolicy.ts | 29 +++-- .../test/throttlingRetryPolicy.spec.ts | 123 +++++++++++++++++- .../managedIdentityCredential/imdsMsi.ts | 1 - .../node/managedIdentityCredential.spec.ts | 45 ++++++- 13 files changed, 350 insertions(+), 29 deletions(-) create mode 100644 sdk/core/core-http/src/util/throttlingRetryStrategy.ts diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index 75dee5caa518..7163b4275fc6 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -4,7 +4,9 @@ ### Features Added -- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features +- Changed TS compilation target to ES2017 in order to produce smaller bundles and use more native platform features. +- Added support for the `Retry-After` header on responses with status code 503, Service Unavailable. +- Added support for multiple retries on the `ThrottlingRetryPolicy` (up to 3 by default). ### Breaking Changes diff --git a/sdk/core/core-http/review/core-http.api.md b/sdk/core/core-http/review/core-http.api.md index 37110cddac5c..0d938fb86051 100644 --- a/sdk/core/core-http/review/core-http.api.md +++ b/sdk/core/core-http/review/core-http.api.md @@ -145,6 +145,7 @@ export const Constants: { }; StatusCodes: { TooManyRequests: number; + ServiceUnavailable: number; }; }; HeaderConstants: { diff --git a/sdk/core/core-http/src/policies/exponentialRetryPolicy.ts b/sdk/core/core-http/src/policies/exponentialRetryPolicy.ts index 0623e5a00586..046f419bad05 100644 --- a/sdk/core/core-http/src/policies/exponentialRetryPolicy.ts +++ b/sdk/core/core-http/src/policies/exponentialRetryPolicy.ts @@ -21,6 +21,7 @@ import { } from "../util/exponentialBackoffStrategy"; import { RestError } from "../restError"; import { logger } from "../log"; +import { Constants } from "../util/constants"; import { delay } from "../util/delay"; export function exponentialRetryPolicy( @@ -139,6 +140,10 @@ async function retry( ): Promise { function shouldPolicyRetry(responseParam?: HttpOperationResponse): boolean { const statusCode = responseParam?.status; + if (statusCode === 503 && response?.headers.get(Constants.HeaderConstants.RETRY_AFTER)) { + return false; + } + if ( statusCode === undefined || (statusCode < 500 && statusCode !== 408) || diff --git a/sdk/core/core-http/src/policies/throttlingRetryPolicy.ts b/sdk/core/core-http/src/policies/throttlingRetryPolicy.ts index 5d928a49a9b7..00f86ebceb59 100644 --- a/sdk/core/core-http/src/policies/throttlingRetryPolicy.ts +++ b/sdk/core/core-http/src/policies/throttlingRetryPolicy.ts @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { AbortError } from "@azure/abort-controller"; import { BaseRequestPolicy, RequestPolicy, @@ -10,8 +11,8 @@ import { import { WebResourceLike } from "../webResource"; import { HttpOperationResponse } from "../httpOperationResponse"; import { Constants } from "../util/constants"; +import { DEFAULT_CLIENT_MAX_RETRY_COUNT } from "../util/throttlingRetryStrategy"; import { delay } from "../util/delay"; -import { AbortError } from "@azure/abort-controller"; type ResponseHandler = ( httpRequest: WebResourceLike, @@ -37,6 +38,7 @@ const StandardAbortMessage = "The operation was aborted."; */ export class ThrottlingRetryPolicy extends BaseRequestPolicy { private _handleResponse: ResponseHandler; + private numberOfRetries = 0; constructor( nextPolicy: RequestPolicy, @@ -48,13 +50,15 @@ export class ThrottlingRetryPolicy extends BaseRequestPolicy { } public async sendRequest(httpRequest: WebResourceLike): Promise { - return this._nextPolicy.sendRequest(httpRequest.clone()).then((response) => { - if (response.status !== StatusCodes.TooManyRequests) { - return response; - } else { - return this._handleResponse(httpRequest, response); - } - }); + const response = await this._nextPolicy.sendRequest(httpRequest.clone()); + if ( + response.status !== StatusCodes.TooManyRequests && + response.status !== StatusCodes.ServiceUnavailable + ) { + return response; + } else { + return this._handleResponse(httpRequest, response); + } } private async _defaultResponseHandler( @@ -70,14 +74,22 @@ export class ThrottlingRetryPolicy extends BaseRequestPolicy { retryAfterHeader ); if (delayInMs) { + this.numberOfRetries += 1; + await delay(delayInMs, undefined, { abortSignal: httpRequest.abortSignal, abortErrorMsg: StandardAbortMessage }); + if (httpRequest.abortSignal?.aborted) { throw new AbortError(StandardAbortMessage); } - return this._nextPolicy.sendRequest(httpRequest); + + if (this.numberOfRetries < DEFAULT_CLIENT_MAX_RETRY_COUNT) { + return this.sendRequest(httpRequest); + } else { + return this._nextPolicy.sendRequest(httpRequest); + } } } diff --git a/sdk/core/core-http/src/util/constants.ts b/sdk/core/core-http/src/util/constants.ts index 9e51d987813f..54d629cd1412 100644 --- a/sdk/core/core-http/src/util/constants.ts +++ b/sdk/core/core-http/src/util/constants.ts @@ -52,7 +52,8 @@ export const Constants = { }, StatusCodes: { - TooManyRequests: 429 + TooManyRequests: 429, + ServiceUnavailable: 503 } }, diff --git a/sdk/core/core-http/src/util/throttlingRetryStrategy.ts b/sdk/core/core-http/src/util/throttlingRetryStrategy.ts new file mode 100644 index 000000000000..88b6208d889e --- /dev/null +++ b/sdk/core/core-http/src/util/throttlingRetryStrategy.ts @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * Maximum number of retries for the throttling retry policy + */ +export const DEFAULT_CLIENT_MAX_RETRY_COUNT = 3; diff --git a/sdk/core/core-http/test/policies/throttlingRetryPolicyTests.ts b/sdk/core/core-http/test/policies/throttlingRetryPolicyTests.ts index c14a873c6196..ff60b9980ab5 100644 --- a/sdk/core/core-http/test/policies/throttlingRetryPolicyTests.ts +++ b/sdk/core/core-http/test/policies/throttlingRetryPolicyTests.ts @@ -72,7 +72,7 @@ describe("ThrottlingRetryPolicy", () => { assert.deepEqual(response.request, request); }); - it("should do nothing when status code is not 429", async () => { + it("should do nothing when status code is not 429 nor 503", async () => { const request = new WebResource(); const mockResponse = { status: 400, @@ -114,6 +114,120 @@ describe("ThrottlingRetryPolicy", () => { assert.deepEqual(response, mockResponse); }); + it("should pass the response to the handler if the status code equals 503", async () => { + const request = new WebResource(); + const mockResponse = { + status: 503, + headers: new HttpHeaders({ + "Retry-After": "100" + }), + request: request + }; + const policy = createDefaultThrottlingRetryPolicy(mockResponse, (_, response) => { + delete (response.request as any).requestId; + delete (mockResponse.request as any).requestId; + assert.deepEqual(response, mockResponse); + return Promise.resolve(response); + }); + + const response = await policy.sendRequest(request); + delete (request as any).requestId; + delete (response.request as any).requestId; + assert.deepEqual(response, mockResponse); + }); + + it("if the status code equals 429, it should retry up to 3 times", async () => { + const request = new WebResource(); + const status = 429; + const retryResponse = { + status, + headers: new HttpHeaders({ + "Retry-After": "1" + }), + request + }; + const responses: HttpOperationResponse[] = [ + retryResponse, + retryResponse, + retryResponse, + // This one should be returned + { + status, + headers: new HttpHeaders({ + "Retry-After": "1", + "final-response": "final-response" + }), + request + } + ]; + + const clock = sinon.useFakeTimers(); + + const policy = new ThrottlingRetryPolicy( + { + async sendRequest(): Promise { + return responses.shift()!; + } + }, + new RequestPolicyOptions() + ); + + const promise = policy.sendRequest(request); + clock.tickAsync(3000); + + const response = await promise; + assert.deepEqual(response.status, status); + assert.equal(response.headers.get("final-response"), "final-response"); + + clock.restore(); + }); + + it("if the status code equals 503, it should retry up to 3 times", async () => { + const request = new WebResource(); + const status = 503; + const retryResponse = { + status, + headers: new HttpHeaders({ + "Retry-After": "1" + }), + request + }; + const responses: HttpOperationResponse[] = [ + retryResponse, + retryResponse, + retryResponse, + // This one should be returned + { + status, + headers: new HttpHeaders({ + "Retry-After": "1", + "final-response": "final-response" + }), + request + } + ]; + + const clock = sinon.useFakeTimers(); + + const policy = new ThrottlingRetryPolicy( + { + async sendRequest(): Promise { + return responses.shift()!; + } + }, + new RequestPolicyOptions() + ); + + const promise = policy.sendRequest(request); + clock.tickAsync(3000); + + const response = await promise; + assert.deepEqual(response.status, status); + assert.equal(response.headers.get("final-response"), "final-response"); + + clock.restore(); + }); + it("should honor the abort signal passed", async () => { const request = new WebResource( "https://fakeservice.io", diff --git a/sdk/core/core-rest-pipeline/CHANGELOG.md b/sdk/core/core-rest-pipeline/CHANGELOG.md index 204c6f00e236..2fc48a81256d 100644 --- a/sdk/core/core-rest-pipeline/CHANGELOG.md +++ b/sdk/core/core-rest-pipeline/CHANGELOG.md @@ -6,6 +6,12 @@ - Fixed an issue where `proxySettings` does not work when there is username but no password [Issue 15720](https://github.com/Azure/azure-sdk-for-js/issues/15720) +### Features Added + +- Added support for the `Retry-After` header on responses with status code 503, Service Unavailable. +- The `ExponentialRetryPolicy` will now ignore `503` responses if they have the `Retry-After` header. +- Added support for multiple retries on the `ThrottlingRetryPolicy` (up to 3 by default). + ### Breaking Changes - Updated @azure/core-tracing to version `1.0.0-preview.12`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. diff --git a/sdk/core/core-rest-pipeline/src/policies/exponentialRetryPolicy.ts b/sdk/core/core-rest-pipeline/src/policies/exponentialRetryPolicy.ts index 23784c619fd8..e55af5aa694e 100644 --- a/sdk/core/core-rest-pipeline/src/policies/exponentialRetryPolicy.ts +++ b/sdk/core/core-rest-pipeline/src/policies/exponentialRetryPolicy.ts @@ -70,7 +70,12 @@ export function exponentialRetryPolicy( * @param retryData - The retry data. * @returns True if the operation qualifies for a retry; false otherwise. */ - function shouldRetry(statusCode: number | undefined, retryData: RetryData): boolean { + function shouldRetry(response: PipelineResponse | undefined, retryData: RetryData): boolean { + const statusCode = response?.status; + if (statusCode === 503 && response?.headers.get("Retry-After")) { + return false; + } + if ( statusCode === undefined || (statusCode < 500 && statusCode !== 408) || @@ -126,7 +131,7 @@ export function exponentialRetryPolicy( ): Promise { retryData = updateRetryData(retryData, requestError); const isAborted = request.abortSignal?.aborted; - if (!isAborted && shouldRetry(response?.status, retryData)) { + if (!isAborted && shouldRetry(response, retryData)) { logger.info(`Retrying request in ${retryData.retryInterval}`); try { await delay(retryData.retryInterval); diff --git a/sdk/core/core-rest-pipeline/src/policies/throttlingRetryPolicy.ts b/sdk/core/core-rest-pipeline/src/policies/throttlingRetryPolicy.ts index 71e06e48978c..54bf26c92126 100644 --- a/sdk/core/core-rest-pipeline/src/policies/throttlingRetryPolicy.ts +++ b/sdk/core/core-rest-pipeline/src/policies/throttlingRetryPolicy.ts @@ -10,6 +10,11 @@ import { delay } from "../util/helpers"; */ export const throttlingRetryPolicyName = "throttlingRetryPolicy"; +/** + * Maximum number of retries for the throttling retry policy + */ +export const DEFAULT_CLIENT_MAX_RETRY_COUNT = 3; + /** * A policy that retries when the server sends a 429 response with a Retry-After header. * @@ -22,21 +27,23 @@ export function throttlingRetryPolicy(): PipelinePolicy { return { name: throttlingRetryPolicyName, async sendRequest(request: PipelineRequest, next: SendRequest): Promise { - const response = await next(request); - if (response.status !== 429) { - return response; - } + let response = await next(request); - const retryAfterHeader = response.headers.get("Retry-After"); - - if (retryAfterHeader) { + for (let count = 0; count < DEFAULT_CLIENT_MAX_RETRY_COUNT; count++) { + if (response.status !== 429 && response.status !== 503) { + return response; + } + const retryAfterHeader = response.headers.get("Retry-After"); + if (!retryAfterHeader) { + break; + } const delayInMs = parseRetryAfterHeader(retryAfterHeader); - if (delayInMs) { - await delay(delayInMs); - return next(request); + if (!delayInMs) { + break; } + await delay(delayInMs); + response = await next(request); } - return response; } }; diff --git a/sdk/core/core-rest-pipeline/test/throttlingRetryPolicy.spec.ts b/sdk/core/core-rest-pipeline/test/throttlingRetryPolicy.spec.ts index d0586a3cfcf5..c176d6fb6d7b 100644 --- a/sdk/core/core-rest-pipeline/test/throttlingRetryPolicy.spec.ts +++ b/sdk/core/core-rest-pipeline/test/throttlingRetryPolicy.spec.ts @@ -2,6 +2,7 @@ // Licensed under the MIT license. import { assert } from "chai"; +import { Context } from "mocha"; import * as sinon from "sinon"; import { createPipelineRequest, @@ -16,7 +17,7 @@ describe("throttlingRetryPolicy", function() { sinon.restore(); }); - it("It should retry after a given number of seconds", async () => { + it("It should retry after a given number of seconds on a response with status code 429", async () => { const request = createPipelineRequest({ url: "https://bing.com" }); @@ -54,7 +55,7 @@ describe("throttlingRetryPolicy", function() { clock.restore(); }); - it("It should retry after a given date occurs", async () => { + it("It should retry after a given date occurs on a response with status code 429", async () => { const request = createPipelineRequest({ url: "https://bing.com" }); @@ -95,4 +96,122 @@ describe("throttlingRetryPolicy", function() { assert.strictEqual(result, successResponse); clock.restore(); }); + + it("It should retry after a given number of seconds on a response with status code 503", async () => { + const request = createPipelineRequest({ + url: "https://bing.com" + }); + const retryResponse: PipelineResponse = { + headers: createHttpHeaders({ + "Retry-After": "10" + }), + request, + status: 503 + }; + const successResponse: PipelineResponse = { + headers: createHttpHeaders(), + request, + status: 200 + }; + + const policy = throttlingRetryPolicy(); + const next = sinon.stub, ReturnType>(); + next.onFirstCall().resolves(retryResponse); + next.onSecondCall().resolves(successResponse); + + const clock = sinon.useFakeTimers(); + + const promise = policy.sendRequest(request, next); + assert.isTrue(next.calledOnce); + + // allow the delay to occur + const time = await clock.nextAsync(); + assert.strictEqual(time, 10 * 1000); + assert.isTrue(next.calledTwice); + + const result = await promise; + + assert.strictEqual(result, successResponse); + clock.restore(); + }); + + it("It should retry after a given date occurs on a response with status code 503", async () => { + const request = createPipelineRequest({ + url: "https://bing.com" + }); + const retryResponse: PipelineResponse = { + headers: createHttpHeaders({ + "Retry-After": "Wed, 21 Oct 2015 07:28:00 GMT" + }), + request, + status: 503 + }; + const successResponse: PipelineResponse = { + headers: createHttpHeaders(), + request, + status: 200 + }; + + const policy = throttlingRetryPolicy(); + const next = sinon.stub, ReturnType>(); + next.onFirstCall().resolves(retryResponse); + next.onSecondCall().resolves(successResponse); + + const clock = sinon.useFakeTimers(new Date("Wed, 21 Oct 2015 07:20:00 GMT")); + + const promise = policy.sendRequest(request, next); + assert.isTrue(next.calledOnce); + + // allow the delay to occur + const time = await clock.nextAsync(); + assert.strictEqual( + time, + new Date("Wed, 21 Oct 2015 07:28:00 GMT").getTime(), + "It should now be the time from the header." + ); + assert.isTrue(next.calledTwice); + + const result = await promise; + + assert.strictEqual(result, successResponse); + clock.restore(); + }); + + it("It should retry up to three times", async function(this: Context) { + const clock = sinon.useFakeTimers(); + + const request = createPipelineRequest({ + url: "https://bing.com" + }); + const retryResponse: PipelineResponse = { + headers: createHttpHeaders({ + "Retry-After": "1" + }), + request, + status: 503 + }; + + const policy = throttlingRetryPolicy(); + const next = sinon.stub, ReturnType>(); + next.onCall(0).resolves(retryResponse); + next.onCall(1).resolves(retryResponse); + next.onCall(2).resolves(retryResponse); + // This one should be returned + next.onCall(3).resolves({ + headers: createHttpHeaders({ + "Retry-After": "1", + "final-response": "final-response" + }), + request, + status: 503 + }); + + const promise = policy.sendRequest(request, next); + await clock.tickAsync(3000); + const response = await promise; + assert.equal(response.status, 503); + assert.equal(response.headers.get("final-response"), "final-response"); + + clock.restore(); + }); }); diff --git a/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts b/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts index 0445d15c764d..26b5e07bcd3a 100644 --- a/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts +++ b/sdk/identity/identity/src/credentials/managedIdentityCredential/imdsMsi.ts @@ -102,7 +102,6 @@ export const imdsMsi: MSI = { webResource.timeout = updatedOptions?.requestOptions?.timeout || 3000; try { - logger.info(`Pinging IMDS endpoint`); await identityClient.sendRequest(webResource); } catch (err) { if ( diff --git a/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts b/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts index 7eeae6dc72d8..8718d273e412 100644 --- a/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts +++ b/sdk/identity/identity/test/internal/node/managedIdentityCredential.spec.ts @@ -237,15 +237,58 @@ describe("ManagedIdentityCredential", function() { credential.getToken("scopes").catch((error) => { errorMessage = error.message; }); - // 800ms -> 1600ms -> 3200ms, results in 6400ms + // From the retry code of the IMDS MSI, + // the timeouts increase exponentially until we reach the limit: + // 800ms -> 1600ms -> 3200ms, results in 6400ms await clock.tickAsync(6400); + assert.ok( errorMessage.indexOf( `Failed to retrieve IMDS token after ${imdsMsiRetryConfig.maxRetries} retries.` ) > -1 ); + clock?.restore(); + }); + + it("IMDS MSI retries also retries on 503s", async function() { + const mockHttpClient = new MockAuthHttpClient({ + // First response says the IMDS endpoint is available. + authResponse: [ + { status: 503, headers: new HttpHeaders({ "Retry-After": "2" }) }, + { status: 503, headers: new HttpHeaders({ "Retry-After": "2" }) }, + { status: 503, headers: new HttpHeaders({ "Retry-After": "2" }) }, + // The ThrottlingRetryPolicy of core-http will retry up to 3 times, an extra retry would make this fail (meaning a 503 response would be considered the result) + // { status: 503, headers: new HttpHeaders({ "Retry-After": "2" }) }, + { status: 200 }, + { status: 503, headers: new HttpHeaders({ "Retry-After": "2" }) }, + { status: 503, headers: new HttpHeaders({ "Retry-After": "2" }) }, + { status: 503, headers: new HttpHeaders({ "Retry-After": "2" }) }, + { + status: 200, + parsedBody: { + access_token: "token" + } + } + ] + }); + + const credential = new ManagedIdentityCredential( + "errclient", + mockHttpClient.tokenCredentialOptions + ); + + const clock = sandbox.useFakeTimers(); + const promise = credential.getToken("scopes"); + + // From the retry code of the IMDS MSI, + // the timeouts increase exponentially until we reach the limit: + // 800ms -> 1600ms -> 3200ms, results in 6400ms + // Plus four 503s: 20s * 6 from the 503 responses. + clock.tickAsync(6400 + 2000 * 6); + + assert.equal((await promise).token, "token"); clock.restore(); }); From b17fb63a27369d83a00ef88fd951cab340d4d693 Mon Sep 17 00:00:00 2001 From: Vishnu Reddy Date: Tue, 29 Jun 2021 08:14:41 -0700 Subject: [PATCH 086/134] [digital-twins-core] rename test folder and enable minmax testing (#16049) close #13814 --- .../test/{unit => internal}/digitalTwinsClient.spec.ts | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sdk/digitaltwins/digital-twins-core/test/{unit => internal}/digitalTwinsClient.spec.ts (100%) diff --git a/sdk/digitaltwins/digital-twins-core/test/unit/digitalTwinsClient.spec.ts b/sdk/digitaltwins/digital-twins-core/test/internal/digitalTwinsClient.spec.ts similarity index 100% rename from sdk/digitaltwins/digital-twins-core/test/unit/digitalTwinsClient.spec.ts rename to sdk/digitaltwins/digital-twins-core/test/internal/digitalTwinsClient.spec.ts From 36b468cb97a05863508ea6527d07c602de0b8596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Tue, 29 Jun 2021 13:23:41 -0400 Subject: [PATCH 087/134] [Identity] [InteractiveBrowserCredential] [Node] Enable PKCE (#15853) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR enables PKCE on the InteractiveBrowserCredential. We don’t have tests for this yet. I’ll make sure to test it manually, at least. Fixes #15168 --- sdk/identity/identity/CHANGELOG.md | 3 ++- .../credentials/interactiveBrowserCredential.ts | 3 +++ .../src/msal/nodeFlows/msalOpenBrowser.ts | 17 +++++++++++++++-- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/sdk/identity/identity/CHANGELOG.md b/sdk/identity/identity/CHANGELOG.md index ae4daa2d73ee..816d44824eb1 100644 --- a/sdk/identity/identity/CHANGELOG.md +++ b/sdk/identity/identity/CHANGELOG.md @@ -9,6 +9,8 @@ - `@azure/identity-cache-persistence`, which provides persistent token caching (same as was available in version 2.0.0-beta.2, but now provided through a secondary extension package). - Reintroduced a stub implementation of `VisualStudioCodeCredential`. If the `@azure/identity-vscode` extension is not used, then it will throw a `CredentialUnavailableError` (similar to how it previously behaved if the `keytar` package was not installed). The extension now provides the underlying implementation of `VisualStudioCodeCredential` through dependency injection. - Reintroduced the `TokenCachePersistenceOptions` property on most credential constructor options. This property must be present with an `enabled` property set to true to enable persistent token caching for a credential instance. Credentials that do not support persistent token caching do not have this property. +- Added support to `ManagedIdentityCredential` for Bridge to Kubernetes local development authentication. +- Enabled PKCE on `InteractiveBrowserCredential` for Node.js. [Proof Key for Code Exchange (PKCE)](https://datatracker.ietf.org/doc/html/rfc7636) is a security feature that mitigates authentication code interception attacks. - Added regional STS support to client credential types. - Added the `RegionalAuthority` type, that allows specifying Azure regions. - Added `regionalAuthority` property to `ClientSecretCredentialOptions` and `ClientCertificateCredentialOptions`. @@ -34,7 +36,6 @@ - `AuthenticationRequiredError` (introduced in 2.0.0-beta.1) now has the same impact on `ChainedTokenCredential` as the `CredentialUnavailableError` which is to allow the next credential in the chain to be tried. - `ManagedIdentityCredential` now retries with exponential back-off when a request for a token fails with a 404 status code on environments with available IMDS endpoints. - Added an `AzurePowerShellCredential` which will use the authenticated user session from the `Az.Account` PowerShell module. This credential will attempt to use PowerShell Core by calling `pwsh`, and on Windows it will fall back to Windows PowerShell (`powershell`) if PowerShell Core is not available. -- Added support to `ManagedIdentityCredential` for Bridge to Kubernetes local development authentication. ### Breaking changes from 2.0.0-beta.1 diff --git a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts index 35238d2579f0..9176effa2e5a 100644 --- a/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts +++ b/sdk/identity/identity/src/credentials/interactiveBrowserCredential.ts @@ -82,6 +82,9 @@ export class InteractiveBrowserCredential implements TokenCredential { * * If the token can't be retrieved silently, this method will require user interaction to retrieve the token. * + * On Node.js, this credential has [Proof Key for Code Exchange (PKCE)](https://datatracker.ietf.org/doc/html/rfc7636) enabled by default. + * PKCE is a security feature that mitigates authentication code interception attacks. + * * @param scopes - The list of scopes for which the token will have access. * @param options - The options used to configure any requests this * TokenCredential implementation might make. diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts b/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts index 8b584bbc99a4..fb8d1a52500b 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts @@ -87,7 +87,8 @@ export class MsalOpenBrowser extends MsalNode { const tokenRequest: msalNode.AuthorizationCodeRequest = { code: url.searchParams.get("code")!, redirectUri: this.redirectUri, - scopes: scopes + scopes: scopes, + codeVerifier: this.pkceCodes?.verifier }; this.acquireTokenByCode(tokenRequest) @@ -185,10 +186,22 @@ export class MsalOpenBrowser extends MsalNode { }); } + private pkceCodes?: { + verifier: string; + challenge: string; + }; + private async openAuthCodeUrl(scopeArray: string[]): Promise { + // Initialize CryptoProvider instance + const cryptoProvider = new msalNode.CryptoProvider(); + // Generate PKCE Codes before starting the authorization flow + this.pkceCodes = await cryptoProvider.generatePkceCodes(); + const authCodeUrlParameters: msalNode.AuthorizationUrlRequest = { scopes: scopeArray, - redirectUri: this.redirectUri + redirectUri: this.redirectUri, + codeChallenge: this.pkceCodes.challenge, + codeChallengeMethod: "S256" // Use SHA256 Algorithm }; const response = await this.publicApp!.getAuthCodeUrl(authCodeUrlParameters); From d4d50026afbc5f0b55167ed4f0d861a431e160b0 Mon Sep 17 00:00:00 2001 From: Richard Park <51494936+richardpark-msft@users.noreply.github.com> Date: Tue, 29 Jun 2021 10:47:27 -0700 Subject: [PATCH 088/134] [monitor-query] Regenerate client with stable swaggers and add in includeVisualization option. (#16058) * Big update to use the latest stable swagger files for all of the Log Analytics services. Each reference is by git commit ID this time to prevent any accidental drift. Also, added in the includeRender header (via the `includeVisualization` option). Fixes #15771 * Fixing codeowners to reflect the proper owners for the package: @KarishmaGhiya - main owner @maorleger - backup owner * Formatting! --- .github/CODEOWNERS | 2 +- .../monitor-query/review/monitor-query.api.md | 38 ++++-- .../logquery/src/azureLogAnalyticsContext.ts | 2 +- .../generated/logquery/src/models/index.ts | 86 +++++++------ .../generated/logquery/src/models/mappers.ts | 113 +++++++++--------- .../src/generated/metrics/src/models/index.ts | 32 ++--- .../generated/metrics/src/models/mappers.ts | 7 +- .../metrics/src/models/parameters.ts | 6 +- .../metrics/src/monitorManagementClient.ts | 4 +- .../src/monitorManagementClientContext.ts | 14 +-- .../metrics/src/operations/metrics.ts | 4 +- .../generated/metricsdefinitions/src/index.ts | 4 +- .../metricsdefinitions/src/models/index.ts | 48 ++++++-- .../metricsdefinitions/src/models/mappers.ts | 31 +++++ ...nsClient.ts => monitorManagementClient.ts} | 14 +-- ...t.ts => monitorManagementClientContext.ts} | 18 +-- .../src/operations/metricDefinitions.ts | 8 +- .../generated/metricsnamespaces/src/index.ts | 4 +- .../metricsnamespaces/src/models/index.ts | 2 +- ...esClient.ts => monitorManagementClient.ts} | 10 +- ...t.ts => monitorManagementClientContext.ts} | 13 +- .../src/operations/metricNamespaces.ts | 6 +- sdk/monitor/monitor-query/src/index.ts | 11 +- .../src/internal/modelConverters.ts | 38 +++--- .../monitor-query/src/internal/util.ts | 11 +- .../monitor-query/src/logsQueryClient.ts | 3 +- .../monitor-query/src/metricsQueryClient.ts | 12 +- .../src/models/publicLogsModels.ts | 7 ++ .../src/models/publicMetricsModels.ts | 35 +++++- sdk/monitor/monitor-query/swagger/README.md | 13 +- .../unit/modelConverters.unittest.spec.ts | 12 +- .../test/public/logsQueryClient.spec.ts | 26 +++- .../test/public/metricsQueryClient.spec.ts | 26 ++-- .../test/public/shared/testShared.ts | 8 +- 34 files changed, 424 insertions(+), 244 deletions(-) rename sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/{metricsDefinitionsClient.ts => monitorManagementClient.ts} (58%) rename sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/{metricsDefinitionsClientContext.ts => monitorManagementClientContext.ts} (72%) rename sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/{metricsNamespacesClient.ts => monitorManagementClient.ts} (68%) rename sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/{metricsNamespacesClientContext.ts => monitorManagementClientContext.ts} (80%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3f75f4c2450b..48e125a50fc9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -107,7 +107,7 @@ # PRLabel: %Monitor /sdk/monitor/ @hectorhdzg @applicationinsights-js-owners @richardpark-msft -/sdk/monitor/monitor-query @richardpark-msft @maorleger +/sdk/monitor/monitor-query @KarishmaGhiya @maorleger @richardpark-msft ########### # Tools diff --git a/sdk/monitor/monitor-query/review/monitor-query.api.md b/sdk/monitor/monitor-query/review/monitor-query.api.md index 190a54fdc4db..e192adbed7bc 100644 --- a/sdk/monitor/monitor-query/review/monitor-query.api.md +++ b/sdk/monitor/monitor-query/review/monitor-query.api.md @@ -80,12 +80,6 @@ export interface GetMetricNamespacesResult { namespaces: MetricNamespace[]; } -// @public -export interface LogsColumn { - name?: string; - type?: ColumnDataType; -} - // @public export class LogsQueryClient { constructor(tokenCredential: TokenCredential, options?: LogsQueryClientOptions); @@ -101,7 +95,7 @@ export interface LogsQueryClientOptions extends PipelineOptions { // @public export interface LogsTable { - columns: LogsColumn[]; + columns: MetricColumn[]; name: string; rows: (Date | string | number | Record | boolean)[][]; } @@ -114,7 +108,7 @@ export interface MetadataValue { // @public export interface Metric { - displayDescription: string; + displayDescription?: string; errorCode?: string; id: string; name: string; @@ -129,6 +123,29 @@ export interface MetricAvailability { timeGrain?: string; } +// @public +export type MetricClass = string; + +// @public +export interface MetricColumn { + name?: string; + type?: ColumnDataType; +} + +// @public +export interface MetricDefinition { + category?: string; + dimensions?: string[]; + displayDescription?: string; + id?: string; + isDimensionRequired?: boolean; + metricAvailabilities?: MetricAvailability[]; + name?: string; + primaryAggregationType?: AggregationType; + resourceId?: string; + unit?: MetricUnit; +} + // @public export interface MetricDefinition { category?: string; @@ -137,9 +154,12 @@ export interface MetricDefinition { id?: string; isDimensionRequired?: boolean; metricAvailabilities?: MetricAvailability[]; + metricClass?: MetricClass; name?: string; + namespace?: string; primaryAggregationType?: AggregationType; resourceId?: string; + supportedAggregationTypes?: AggregationType[]; unit?: MetricUnit; } @@ -207,6 +227,7 @@ export interface QueryLogsBatchResult { // @public export interface QueryLogsOptions extends OperationOptions { includeQueryStatistics?: boolean; + includeVisualization?: boolean; serverTimeoutInSeconds?: number; } @@ -214,6 +235,7 @@ export interface QueryLogsOptions extends OperationOptions { export interface QueryLogsResult { statistics?: any; tables: LogsTable[]; + visualization?: any; } // @public diff --git a/sdk/monitor/monitor-query/src/generated/logquery/src/azureLogAnalyticsContext.ts b/sdk/monitor/monitor-query/src/generated/logquery/src/azureLogAnalyticsContext.ts index e4b7684a8467..4ef4d15d1a2b 100644 --- a/sdk/monitor/monitor-query/src/generated/logquery/src/azureLogAnalyticsContext.ts +++ b/sdk/monitor/monitor-query/src/generated/logquery/src/azureLogAnalyticsContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { AzureLogAnalyticsOptionalParams } from "./models"; const packageName = "monitor-log-query"; -const packageVersion = "1.0.0-beta.3"; +const packageVersion = "1.0.0"; /** @hidden */ export class AzureLogAnalyticsContext extends coreHttp.ServiceClient { diff --git a/sdk/monitor/monitor-query/src/generated/logquery/src/models/index.ts b/sdk/monitor/monitor-query/src/generated/logquery/src/models/index.ts index d04a131a4f5a..afa97198cd03 100644 --- a/sdk/monitor/monitor-query/src/generated/logquery/src/models/index.ts +++ b/sdk/monitor/monitor-query/src/generated/logquery/src/models/index.ts @@ -14,6 +14,10 @@ export interface QueryResults { tables: Table[]; /** Statistics represented in JSON format. */ statistics?: any; + /** Visualization data in JSON format. */ + render?: any; + /** The code and message for an error. */ + error?: ErrorInfo; } /** Contains the columns and rows for one table in a query response. */ @@ -23,7 +27,7 @@ export interface Table { /** The list of columns in this table. */ columns: Column[]; /** The resulting rows from this query. */ - rows: string[][]; + rows: any[][]; } /** A column in a table. */ @@ -31,13 +35,7 @@ export interface Column { /** The name of this column. */ name?: string; /** The data type of this column. */ - type?: ColumnDataType; -} - -/** Contains details when the response code indicates an error. */ -export interface ErrorResponse { - /** The error details. */ - error: ErrorInfo; + type?: LogsColumnType; } /** The code and message for an error. */ @@ -70,6 +68,12 @@ export interface ErrorDetail { additionalProperties?: any; } +/** Contains details when the response code indicates an error. */ +export interface ErrorResponse { + /** The error details. */ + error: ErrorInfo; +} + /** The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) */ export interface QueryBody { /** The query to execute. */ @@ -78,12 +82,6 @@ export interface QueryBody { timespan?: string; /** A list of workspaces that are included in the query. */ workspaces?: string[]; - /** A list of qualified workspace names that are included in the query. */ - qualifiedNames?: string[]; - /** A list of workspace IDs that are included in the query. */ - workspaceIds?: string[]; - /** A list of Azure resource IDs that are included in the query. */ - azureResourceIds?: string[]; } /** The metadata response for the app, including available tables, etc. */ @@ -405,60 +403,67 @@ export interface MetadataPermissionsApplicationsItem { /** An array of requests. */ export interface BatchRequest { /** An single request in a batch. */ - requests?: LogQueryRequest[]; + requests: BatchQueryRequest[]; } /** An single request in a batch. */ -export interface LogQueryRequest { +export interface BatchQueryRequest { /** The error details. */ - id?: string; + id: string; /** Dictionary of */ headers?: { [propertyName: string]: string }; /** The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/) */ - body?: QueryBody; + body: QueryBody; path?: "/query"; method?: "POST"; /** Workspace Id to be included in the query */ - workspace?: string; + workspace: string; } -/** Response to a batch. */ +/** Response to a batch query. */ export interface BatchResponse { /** An array of responses corresponding to each individual request in a batch. */ - responses?: LogQueryResponse[]; + responses?: BatchQueryResponse[]; } -export interface LogQueryResponse { +export interface BatchQueryResponse { id?: string; status?: number; - /** Contains the tables, columns & rows resulting from the query or the error details if the query failed. */ - body?: LogQueryResult; + /** Contains the tables, columns & rows resulting from a query. */ + body?: BatchQueryResults; /** Dictionary of */ headers?: { [propertyName: string]: string }; } -/** Contains the tables, columns & rows resulting from the query or the error details if the query failed. */ -export interface LogQueryResult { +/** Contains the tables, columns & rows resulting from a query. */ +export interface BatchQueryResults { /** The list of tables, columns and rows. */ tables?: Table[]; + /** Statistics represented in JSON format. */ + statistics?: any; + /** Visualization data in JSON format. */ + render?: any; /** The code and message for an error. */ error?: ErrorInfo; } -/** Known values of {@link ColumnDataType} that the service accepts. */ -export const enum KnownColumnDataType { +/** Known values of {@link LogsColumnType} that the service accepts. */ +export const enum KnownLogsColumnType { Bool = "bool", Datetime = "datetime", Dynamic = "dynamic", Int = "int", Long = "long", Real = "real", - String = "string" + String = "string", + Guid = "guid", + Decimal = "decimal", + Timespan = "timespan" } /** - * Defines values for ColumnDataType. \ - * {@link KnownColumnDataType} can be used interchangeably with ColumnDataType, + * Defines values for LogsColumnType. \ + * {@link KnownLogsColumnType} can be used interchangeably with LogsColumnType, * this enum contains the known values that the service supports. * ### Know values supported by the service * **bool** \ @@ -467,9 +472,12 @@ export const enum KnownColumnDataType { * **int** \ * **long** \ * **real** \ - * **string** + * **string** \ + * **guid** \ + * **decimal** \ + * **timespan** */ -export type ColumnDataType = string; +export type LogsColumnType = string; /** Known values of {@link MetadataColumnDataType} that the service accepts. */ export const enum KnownMetadataColumnDataType { @@ -479,7 +487,10 @@ export const enum KnownMetadataColumnDataType { Int = "int", Long = "long", Real = "real", - String = "string" + String = "string", + Guid = "guid", + Decimal = "decimal", + Timespan = "timespan" } /** @@ -493,7 +504,10 @@ export const enum KnownMetadataColumnDataType { * **int** \ * **long** \ * **real** \ - * **string** + * **string** \ + * **guid** \ + * **decimal** \ + * **timespan** */ export type MetadataColumnDataType = string; @@ -517,7 +531,7 @@ export type QueryGetResponse = QueryResults & { /** Optional parameters. */ export interface QueryExecuteOptionalParams extends coreHttp.OperationOptions { - /** Optional. The prefer header to set server timeout, */ + /** Optional. The prefer header to set server timeout, query statistics and visualization information. */ prefer?: string; } diff --git a/sdk/monitor/monitor-query/src/generated/logquery/src/models/mappers.ts b/sdk/monitor/monitor-query/src/generated/logquery/src/models/mappers.ts index b568806ee328..fb55eb12dc38 100644 --- a/sdk/monitor/monitor-query/src/generated/logquery/src/models/mappers.ts +++ b/sdk/monitor/monitor-query/src/generated/logquery/src/models/mappers.ts @@ -31,6 +31,19 @@ export const QueryResults: coreHttp.CompositeMapper = { type: { name: "any" } + }, + render: { + serializedName: "render", + type: { + name: "any" + } + }, + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorInfo" + } } } } @@ -71,7 +84,7 @@ export const Table: coreHttp.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" + name: "any" } } } @@ -103,22 +116,6 @@ export const Column: coreHttp.CompositeMapper = { } }; -export const ErrorResponse: coreHttp.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - error: { - serializedName: "error", - type: { - name: "Composite", - className: "ErrorInfo" - } - } - } - } -}; - export const ErrorInfo: coreHttp.CompositeMapper = { type: { name: "Composite", @@ -219,6 +216,22 @@ export const ErrorDetail: coreHttp.CompositeMapper = { } }; +export const ErrorResponse: coreHttp.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorInfo" + } + } + } + } +}; + export const QueryBody: coreHttp.CompositeMapper = { type: { name: "Composite", @@ -247,39 +260,6 @@ export const QueryBody: coreHttp.CompositeMapper = { } } } - }, - qualifiedNames: { - serializedName: "qualifiedNames", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - workspaceIds: { - serializedName: "workspaceIds", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - azureResourceIds: { - serializedName: "azureResourceIds", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } } } } @@ -1550,12 +1530,13 @@ export const BatchRequest: coreHttp.CompositeMapper = { modelProperties: { requests: { serializedName: "requests", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "LogQueryRequest" + className: "BatchQueryRequest" } } } @@ -1564,13 +1545,14 @@ export const BatchRequest: coreHttp.CompositeMapper = { } }; -export const LogQueryRequest: coreHttp.CompositeMapper = { +export const BatchQueryRequest: coreHttp.CompositeMapper = { type: { name: "Composite", - className: "LogQueryRequest", + className: "BatchQueryRequest", modelProperties: { id: { serializedName: "id", + required: true, type: { name: "String" } @@ -1607,6 +1589,7 @@ export const LogQueryRequest: coreHttp.CompositeMapper = { }, workspace: { serializedName: "workspace", + required: true, type: { name: "String" } @@ -1627,7 +1610,7 @@ export const BatchResponse: coreHttp.CompositeMapper = { element: { type: { name: "Composite", - className: "LogQueryResponse" + className: "BatchQueryResponse" } } } @@ -1636,10 +1619,10 @@ export const BatchResponse: coreHttp.CompositeMapper = { } }; -export const LogQueryResponse: coreHttp.CompositeMapper = { +export const BatchQueryResponse: coreHttp.CompositeMapper = { type: { name: "Composite", - className: "LogQueryResponse", + className: "BatchQueryResponse", modelProperties: { id: { serializedName: "id", @@ -1657,7 +1640,7 @@ export const LogQueryResponse: coreHttp.CompositeMapper = { serializedName: "body", type: { name: "Composite", - className: "LogQueryResult" + className: "BatchQueryResults" } }, headers: { @@ -1671,10 +1654,10 @@ export const LogQueryResponse: coreHttp.CompositeMapper = { } }; -export const LogQueryResult: coreHttp.CompositeMapper = { +export const BatchQueryResults: coreHttp.CompositeMapper = { type: { name: "Composite", - className: "LogQueryResult", + className: "BatchQueryResults", modelProperties: { tables: { serializedName: "tables", @@ -1688,6 +1671,18 @@ export const LogQueryResult: coreHttp.CompositeMapper = { } } }, + statistics: { + serializedName: "statistics", + type: { + name: "any" + } + }, + render: { + serializedName: "render", + type: { + name: "any" + } + }, error: { serializedName: "error", type: { diff --git a/sdk/monitor/monitor-query/src/generated/metrics/src/models/index.ts b/sdk/monitor/monitor-query/src/generated/metrics/src/models/index.ts index 25c60a079781..4c302b841189 100644 --- a/sdk/monitor/monitor-query/src/generated/metrics/src/models/index.ts +++ b/sdk/monitor/monitor-query/src/generated/metrics/src/models/index.ts @@ -16,9 +16,9 @@ export interface Response { timespan: string; /** The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. */ interval?: string; - /** The namespace of the metrics been queried */ + /** The namespace of the metrics being queried */ namespace?: string; - /** The region of the resource been queried for metrics. */ + /** The region of the resource being queried for metrics. */ resourceregion?: string; /** the value of the collection. */ value: Metric[]; @@ -33,10 +33,12 @@ export interface Metric { /** the name and the display name of the metric, i.e. it is localizable string. */ name: LocalizableString; /** Detailed description of this metric. */ - displayDescription: string; + displayDescription?: string; /** 'Success' or the error details on query failures for this metric. */ errorCode?: string; - /** the unit of the metric. */ + /** Error message encountered querying this specific metric. */ + errorMessage?: string; + /** The unit of the metric. */ unit: MetricUnit; /** the time series returned when a data query is performed. */ timeseries: TimeSeriesElement[]; @@ -90,20 +92,20 @@ export interface ErrorResponse { message?: string; } -/** Known values of {@link ApiVersion20170501Preview} that the service accepts. */ -export const enum KnownApiVersion20170501Preview { - /** Api Version '2017-05-01-preview' */ - TwoThousandSeventeen0501Preview = "2017-05-01-preview" +/** Known values of {@link ApiVersion201801} that the service accepts. */ +export const enum KnownApiVersion201801 { + /** Api Version '2018-01-01' */ + TwoThousandEighteen0101 = "2018-01-01" } /** - * Defines values for ApiVersion20170501Preview. \ - * {@link KnownApiVersion20170501Preview} can be used interchangeably with ApiVersion20170501Preview, + * Defines values for ApiVersion201801. \ + * {@link KnownApiVersion201801} can be used interchangeably with ApiVersion201801, * this enum contains the known values that the service supports. * ### Know values supported by the service - * **2017-05-01-preview**: Api Version '2017-05-01-preview' + * **2018-01-01**: Api Version '2018-01-01' */ -export type ApiVersion20170501Preview = string; +export type ApiVersion201801 = string; /** Known values of {@link MetricUnit} that the service accepts. */ export const enum KnownMetricUnit { @@ -151,8 +153,8 @@ export interface MetricsListOptionalParams extends coreHttp.OperationOptions { timespan?: string; /** The interval (i.e. timegrain) of the query. */ interval?: string; - /** The name of the metric to retrieve. */ - metric?: string; + /** The names of the metrics (comma separated) to retrieve. Special case: If a metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be **'Metric%2Name1'** */ + metricnames?: string; /** The list of aggregation types (comma separated) to retrieve. */ aggregation?: string; /** @@ -167,7 +169,7 @@ export interface MetricsListOptionalParams extends coreHttp.OperationOptions { * Examples: sum asc. */ orderby?: string; - /** The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**. */ + /** The **$filter** is used to reduce the set of metric data returned. Example: Metric contains metadata A, B and C. - Return all time series of C where A = a1 and B = b1 or b2 **$filter=A eq 'a1' and B eq 'b1' or B eq 'b2' and C eq '*'** - Invalid variant: **$filter=A eq 'a1' and B eq 'b1' and C eq '*' or B = 'b2'** This is invalid because the logical or operator cannot separate two different metadata names. - Return all time series where A = a1, B = b1 and C = c1: **$filter=A eq 'a1' and B eq 'b1' and C eq 'c1'** - Return all time series where A = a1 **$filter=A eq 'a1' and B eq '*' and C eq '*'**. Special case: When dimension name or dimension value uses round brackets. Eg: When dimension name is **dim (test) 1** Instead of using $filter= "dim (test) 1 eq '*' " use **$filter= "dim %2528test%2529 1 eq '*' "** When dimension name is **dim (test) 3** and dimension value is **dim3 (test) val** Instead of using $filter= "dim (test) 3 eq 'dim3 (test) val' " use **$filter= "dim %2528test%2529 3 eq 'dim3 %2528test%2529 val' "** */ filter?: string; /** Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details. */ resultType?: ResultType; diff --git a/sdk/monitor/monitor-query/src/generated/metrics/src/models/mappers.ts b/sdk/monitor/monitor-query/src/generated/metrics/src/models/mappers.ts index 4c8fbaec84ae..5783fb86cdaf 100644 --- a/sdk/monitor/monitor-query/src/generated/metrics/src/models/mappers.ts +++ b/sdk/monitor/monitor-query/src/generated/metrics/src/models/mappers.ts @@ -92,7 +92,6 @@ export const Metric: coreHttp.CompositeMapper = { }, displayDescription: { serializedName: "displayDescription", - required: true, type: { name: "String" } @@ -103,6 +102,12 @@ export const Metric: coreHttp.CompositeMapper = { name: "String" } }, + errorMessage: { + serializedName: "errorMessage", + type: { + name: "String" + } + }, unit: { serializedName: "unit", required: true, diff --git a/sdk/monitor/monitor-query/src/generated/metrics/src/models/parameters.ts b/sdk/monitor/monitor-query/src/generated/metrics/src/models/parameters.ts index c6a8c1ecfea0..067f56f2c2e6 100644 --- a/sdk/monitor/monitor-query/src/generated/metrics/src/models/parameters.ts +++ b/sdk/monitor/monitor-query/src/generated/metrics/src/models/parameters.ts @@ -68,10 +68,10 @@ export const interval: OperationQueryParameter = { } }; -export const metric: OperationQueryParameter = { - parameterPath: ["options", "metric"], +export const metricnames: OperationQueryParameter = { + parameterPath: ["options", "metricnames"], mapper: { - serializedName: "metric", + serializedName: "metricnames", type: { name: "String" } diff --git a/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClient.ts b/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClient.ts index 42d243783c32..98052825fbed 100644 --- a/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClient.ts +++ b/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClient.ts @@ -10,7 +10,7 @@ import { Metrics } from "./operations"; import { MonitorManagementClientContext } from "./monitorManagementClientContext"; import { MonitorManagementClientOptionalParams, - ApiVersion20170501Preview + ApiVersion201801 } from "./models"; /** @hidden */ @@ -21,7 +21,7 @@ export class MonitorManagementClient extends MonitorManagementClientContext { * @param options The parameter options */ constructor( - apiVersion: ApiVersion20170501Preview, + apiVersion: ApiVersion201801, options?: MonitorManagementClientOptionalParams ) { super(apiVersion, options); diff --git a/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClientContext.ts b/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClientContext.ts index 63118ec29a72..2bab9cc7718f 100644 --- a/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClientContext.ts +++ b/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClientContext.ts @@ -7,28 +7,22 @@ */ import * as coreHttp from "@azure/core-http"; -import { - ApiVersion20170501Preview, - MonitorManagementClientOptionalParams -} from "./models"; +import { ApiVersion201801, MonitorManagementClientOptionalParams } from "./models"; const packageName = "monitor-metrics"; -const packageVersion = "1.0.0-beta.3"; +const packageVersion = "1.0.0"; /** @hidden */ export class MonitorManagementClientContext extends coreHttp.ServiceClient { $host: string; - apiVersion: ApiVersion20170501Preview; + apiVersion: ApiVersion201801; /** * Initializes a new instance of the MonitorManagementClientContext class. * @param apiVersion Api Version * @param options The parameter options */ - constructor( - apiVersion: ApiVersion20170501Preview, - options?: MonitorManagementClientOptionalParams - ) { + constructor(apiVersion: ApiVersion201801, options?: MonitorManagementClientOptionalParams) { if (apiVersion === undefined) { throw new Error("'apiVersion' cannot be null"); } diff --git a/sdk/monitor/monitor-query/src/generated/metrics/src/operations/metrics.ts b/sdk/monitor/monitor-query/src/generated/metrics/src/operations/metrics.ts index 6ff568924265..8d6a7465ef37 100644 --- a/sdk/monitor/monitor-query/src/generated/metrics/src/operations/metrics.ts +++ b/sdk/monitor/monitor-query/src/generated/metrics/src/operations/metrics.ts @@ -47,7 +47,7 @@ export class Metrics { const serializer = new coreHttp.Serializer(Mappers, /* isXml */ false); const listOperationSpec: coreHttp.OperationSpec = { - path: "/{resourceUri}/providers/microsoft.insights/metrics", + path: "/{resourceUri}/providers/Microsoft.Insights/metrics", httpMethod: "GET", responses: { 200: { @@ -60,7 +60,7 @@ const listOperationSpec: coreHttp.OperationSpec = { queryParameters: [ Parameters.timespan, Parameters.interval, - Parameters.metric, + Parameters.metricnames, Parameters.aggregation, Parameters.top, Parameters.orderby, diff --git a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/index.ts b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/index.ts index efc21fd7f59b..77073c736858 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/index.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/index.ts @@ -7,5 +7,5 @@ */ export * from "./models"; -export { MetricsDefinitionsClient } from "./metricsDefinitionsClient"; -export { MetricsDefinitionsClientContext } from "./metricsDefinitionsClientContext"; +export { MonitorManagementClient } from "./monitorManagementClient"; +export { MonitorManagementClientContext } from "./monitorManagementClientContext"; diff --git a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/models/index.ts b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/models/index.ts index 8ca6e200ec0e..d1d87bfc328d 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/models/index.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/models/index.ts @@ -20,16 +20,22 @@ export interface MetricDefinition { isDimensionRequired?: boolean; /** the resource identifier of the resource that emitted the metric. */ resourceId?: string; + /** the namespace the metric belongs to. */ + namespace?: string; /** the name and the display name of the metric, i.e. it is a localizable string. */ name?: LocalizableString; /** Detailed description of this metric. */ displayDescription?: string; /** Custom category name for this metric. */ category?: string; - /** the unit of the metric. */ + /** The class of the metric. */ + metricClass?: MetricClass; + /** The unit of the metric. */ unit?: MetricUnit; /** the primary aggregation type value defining how to use the values for display. */ primaryAggregationType?: AggregationType; + /** the collection of what aggregation types are supported. */ + supportedAggregationTypes?: AggregationType[]; /** the collection of what aggregation intervals are available to be queried. */ metricAvailabilities?: MetricAvailability[]; /** the resource identifier of the metric definition. */ @@ -62,20 +68,42 @@ export interface ErrorResponse { message?: string; } -/** Known values of {@link ApiVersion20170501Preview} that the service accepts. */ -export const enum KnownApiVersion20170501Preview { - /** Api Version '2017-05-01-preview' */ - TwoThousandSeventeen0501Preview = "2017-05-01-preview" +/** Known values of {@link ApiVersion201801} that the service accepts. */ +export const enum KnownApiVersion201801 { + /** Api Version '2018-01-01' */ + TwoThousandEighteen0101 = "2018-01-01" } /** - * Defines values for ApiVersion20170501Preview. \ - * {@link KnownApiVersion20170501Preview} can be used interchangeably with ApiVersion20170501Preview, + * Defines values for ApiVersion201801. \ + * {@link KnownApiVersion201801} can be used interchangeably with ApiVersion201801, * this enum contains the known values that the service supports. * ### Know values supported by the service - * **2017-05-01-preview**: Api Version '2017-05-01-preview' + * **2018-01-01**: Api Version '2018-01-01' */ -export type ApiVersion20170501Preview = string; +export type ApiVersion201801 = string; + +/** Known values of {@link MetricClass} that the service accepts. */ +export const enum KnownMetricClass { + Availability = "Availability", + Transactions = "Transactions", + Errors = "Errors", + Latency = "Latency", + Saturation = "Saturation" +} + +/** + * Defines values for MetricClass. \ + * {@link KnownMetricClass} can be used interchangeably with MetricClass, + * this enum contains the known values that the service supports. + * ### Know values supported by the service + * **Availability** \ + * **Transactions** \ + * **Errors** \ + * **Latency** \ + * **Saturation** + */ +export type MetricClass = string; /** Known values of {@link MetricUnit} that the service accepts. */ export const enum KnownMetricUnit { @@ -143,7 +171,7 @@ export type MetricDefinitionsListResponse = MetricDefinitionCollection & { }; /** Optional parameters. */ -export interface MetricsDefinitionsClientOptionalParams +export interface MonitorManagementClientOptionalParams extends coreHttp.ServiceClientOptions { /** server parameter */ $host?: string; diff --git a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/models/mappers.ts b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/models/mappers.ts index a6876be60dc0..737551745ecd 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/models/mappers.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/models/mappers.ts @@ -47,6 +47,12 @@ export const MetricDefinition: coreHttp.CompositeMapper = { name: "String" } }, + namespace: { + serializedName: "namespace", + type: { + name: "String" + } + }, name: { serializedName: "name", type: { @@ -66,6 +72,12 @@ export const MetricDefinition: coreHttp.CompositeMapper = { name: "String" } }, + metricClass: { + serializedName: "metricClass", + type: { + name: "String" + } + }, unit: { serializedName: "unit", type: { @@ -86,6 +98,25 @@ export const MetricDefinition: coreHttp.CompositeMapper = { ] } }, + supportedAggregationTypes: { + serializedName: "supportedAggregationTypes", + type: { + name: "Sequence", + element: { + type: { + name: "Enum", + allowedValues: [ + "None", + "Average", + "Count", + "Minimum", + "Maximum", + "Total" + ] + } + } + } + }, metricAvailabilities: { serializedName: "metricAvailabilities", type: { diff --git a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/metricsDefinitionsClient.ts b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/monitorManagementClient.ts similarity index 58% rename from sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/metricsDefinitionsClient.ts rename to sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/monitorManagementClient.ts index 1e8db37070e3..570bdf23a145 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/metricsDefinitionsClient.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/monitorManagementClient.ts @@ -7,22 +7,22 @@ */ import { MetricDefinitions } from "./operations"; -import { MetricsDefinitionsClientContext } from "./metricsDefinitionsClientContext"; +import { MonitorManagementClientContext } from "./monitorManagementClientContext"; import { - MetricsDefinitionsClientOptionalParams, - ApiVersion20170501Preview + MonitorManagementClientOptionalParams, + ApiVersion201801 } from "./models"; /** @hidden */ -export class MetricsDefinitionsClient extends MetricsDefinitionsClientContext { +export class MonitorManagementClient extends MonitorManagementClientContext { /** - * Initializes a new instance of the MetricsDefinitionsClient class. + * Initializes a new instance of the MonitorManagementClient class. * @param apiVersion Api Version * @param options The parameter options */ constructor( - apiVersion: ApiVersion20170501Preview, - options?: MetricsDefinitionsClientOptionalParams + apiVersion: ApiVersion201801, + options?: MonitorManagementClientOptionalParams ) { super(apiVersion, options); this.metricDefinitions = new MetricDefinitions(this); diff --git a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/metricsDefinitionsClientContext.ts b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/monitorManagementClientContext.ts similarity index 72% rename from sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/metricsDefinitionsClientContext.ts rename to sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/monitorManagementClientContext.ts index 2f24ebfcfcde..fbc4961b2b47 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/metricsDefinitionsClientContext.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/monitorManagementClientContext.ts @@ -7,28 +7,22 @@ */ import * as coreHttp from "@azure/core-http"; -import { - ApiVersion20170501Preview, - MetricsDefinitionsClientOptionalParams -} from "./models"; +import { ApiVersion201801, MonitorManagementClientOptionalParams } from "./models"; const packageName = "monitor-metrics-definitions"; -const packageVersion = "1.0.0-beta.3"; +const packageVersion = "1.0.0"; /** @hidden */ -export class MetricsDefinitionsClientContext extends coreHttp.ServiceClient { +export class MonitorManagementClientContext extends coreHttp.ServiceClient { $host: string; - apiVersion: ApiVersion20170501Preview; + apiVersion: ApiVersion201801; /** - * Initializes a new instance of the MetricsDefinitionsClientContext class. + * Initializes a new instance of the MonitorManagementClientContext class. * @param apiVersion Api Version * @param options The parameter options */ - constructor( - apiVersion: ApiVersion20170501Preview, - options?: MetricsDefinitionsClientOptionalParams - ) { + constructor(apiVersion: ApiVersion201801, options?: MonitorManagementClientOptionalParams) { if (apiVersion === undefined) { throw new Error("'apiVersion' cannot be null"); } diff --git a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/operations/metricDefinitions.ts b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/operations/metricDefinitions.ts index c9448ccd2cb4..d00a5ad7ac6c 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/operations/metricDefinitions.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsdefinitions/src/operations/metricDefinitions.ts @@ -9,7 +9,7 @@ import * as coreHttp from "@azure/core-http"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { MetricsDefinitionsClient } from "../metricsDefinitionsClient"; +import { MonitorManagementClient } from "../monitorManagementClient"; import { MetricDefinitionsListOptionalParams, MetricDefinitionsListResponse @@ -17,13 +17,13 @@ import { /** Class representing a MetricDefinitions. */ export class MetricDefinitions { - private readonly client: MetricsDefinitionsClient; + private readonly client: MonitorManagementClient; /** * Initialize a new instance of the class MetricDefinitions class. * @param client Reference to the service client */ - constructor(client: MetricsDefinitionsClient) { + constructor(client: MonitorManagementClient) { this.client = client; } @@ -50,7 +50,7 @@ export class MetricDefinitions { const serializer = new coreHttp.Serializer(Mappers, /* isXml */ false); const listOperationSpec: coreHttp.OperationSpec = { - path: "/{resourceUri}/providers/microsoft.insights/metricDefinitions", + path: "/{resourceUri}/providers/Microsoft.Insights/metricDefinitions", httpMethod: "GET", responses: { 200: { diff --git a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/index.ts b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/index.ts index 00ccc582c1d4..77073c736858 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/index.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/index.ts @@ -7,5 +7,5 @@ */ export * from "./models"; -export { MetricsNamespacesClient } from "./metricsNamespacesClient"; -export { MetricsNamespacesClientContext } from "./metricsNamespacesClientContext"; +export { MonitorManagementClient } from "./monitorManagementClient"; +export { MonitorManagementClientContext } from "./monitorManagementClientContext"; diff --git a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/models/index.ts b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/models/index.ts index db2e1975fbb2..eb87e7df105e 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/models/index.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/models/index.ts @@ -95,7 +95,7 @@ export type MetricNamespacesListResponse = MetricNamespaceCollection & { }; /** Optional parameters. */ -export interface MetricsNamespacesClientOptionalParams +export interface MonitorManagementClientOptionalParams extends coreHttp.ServiceClientOptions { /** server parameter */ $host?: string; diff --git a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/metricsNamespacesClient.ts b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/monitorManagementClient.ts similarity index 68% rename from sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/metricsNamespacesClient.ts rename to sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/monitorManagementClient.ts index 6fb5745ddd55..e4f2407c2820 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/metricsNamespacesClient.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/monitorManagementClient.ts @@ -7,22 +7,22 @@ */ import { MetricNamespaces } from "./operations"; -import { MetricsNamespacesClientContext } from "./metricsNamespacesClientContext"; +import { MonitorManagementClientContext } from "./monitorManagementClientContext"; import { - MetricsNamespacesClientOptionalParams, + MonitorManagementClientOptionalParams, ApiVersion20171201Preview } from "./models"; /** @hidden */ -export class MetricsNamespacesClient extends MetricsNamespacesClientContext { +export class MonitorManagementClient extends MonitorManagementClientContext { /** - * Initializes a new instance of the MetricsNamespacesClient class. + * Initializes a new instance of the MonitorManagementClient class. * @param apiVersion Api Version * @param options The parameter options */ constructor( apiVersion: ApiVersion20171201Preview, - options?: MetricsNamespacesClientOptionalParams + options?: MonitorManagementClientOptionalParams ) { super(apiVersion, options); this.metricNamespaces = new MetricNamespaces(this); diff --git a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/metricsNamespacesClientContext.ts b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/monitorManagementClientContext.ts similarity index 80% rename from sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/metricsNamespacesClientContext.ts rename to sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/monitorManagementClientContext.ts index 7ed3b8654cd6..08becfaf9a39 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/metricsNamespacesClientContext.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/monitorManagementClientContext.ts @@ -7,27 +7,24 @@ */ import * as coreHttp from "@azure/core-http"; -import { - ApiVersion20171201Preview, - MetricsNamespacesClientOptionalParams -} from "./models"; +import { ApiVersion20171201Preview, MonitorManagementClientOptionalParams } from "./models"; const packageName = "monitor-metrics-namespaces"; -const packageVersion = "1.0.0-beta.3"; +const packageVersion = "1.0.0"; /** @hidden */ -export class MetricsNamespacesClientContext extends coreHttp.ServiceClient { +export class MonitorManagementClientContext extends coreHttp.ServiceClient { $host: string; apiVersion: ApiVersion20171201Preview; /** - * Initializes a new instance of the MetricsNamespacesClientContext class. + * Initializes a new instance of the MonitorManagementClientContext class. * @param apiVersion Api Version * @param options The parameter options */ constructor( apiVersion: ApiVersion20171201Preview, - options?: MetricsNamespacesClientOptionalParams + options?: MonitorManagementClientOptionalParams ) { if (apiVersion === undefined) { throw new Error("'apiVersion' cannot be null"); diff --git a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/operations/metricNamespaces.ts b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/operations/metricNamespaces.ts index 6b5ccca170ef..3db2488b505e 100644 --- a/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/operations/metricNamespaces.ts +++ b/sdk/monitor/monitor-query/src/generated/metricsnamespaces/src/operations/metricNamespaces.ts @@ -9,7 +9,7 @@ import * as coreHttp from "@azure/core-http"; import * as Mappers from "../models/mappers"; import * as Parameters from "../models/parameters"; -import { MetricsNamespacesClient } from "../metricsNamespacesClient"; +import { MonitorManagementClient } from "../monitorManagementClient"; import { MetricNamespacesListOptionalParams, MetricNamespacesListResponse @@ -17,13 +17,13 @@ import { /** Class representing a MetricNamespaces. */ export class MetricNamespaces { - private readonly client: MetricsNamespacesClient; + private readonly client: MonitorManagementClient; /** * Initialize a new instance of the class MetricNamespaces class. * @param client Reference to the service client */ - constructor(client: MetricsNamespacesClient) { + constructor(client: MonitorManagementClient) { this.client = client; } diff --git a/sdk/monitor/monitor-query/src/index.ts b/sdk/monitor/monitor-query/src/index.ts index 9d5886bf1189..baddc8821af6 100644 --- a/sdk/monitor/monitor-query/src/index.ts +++ b/sdk/monitor/monitor-query/src/index.ts @@ -42,8 +42,9 @@ export { Durations } from "./models/constants"; export { // TODO: these are the generated model names. We probably want to run them // through a manual review to make them consistent with style. - Column as LogsColumn, - ColumnDataType, + Column as MetricColumn, + // TODO: LogsColumnType might actually be a better name! + LogsColumnType as ColumnDataType, ErrorDetail, ErrorInfo } from "./generated/logquery/src"; @@ -59,7 +60,11 @@ export { MetricUnit } from "./generated/metrics/src"; -export { AggregationType, MetricAvailability } from "./generated/metricsdefinitions/src"; +export { + AggregationType, + MetricAvailability, + MetricClass +} from "./generated/metricsdefinitions/src"; export { MetricNamespace, MetricNamespaceName, diff --git a/sdk/monitor/monitor-query/src/internal/modelConverters.ts b/sdk/monitor/monitor-query/src/internal/modelConverters.ts index 77d19fa1a0db..fc2a35d5068c 100644 --- a/sdk/monitor/monitor-query/src/internal/modelConverters.ts +++ b/sdk/monitor/monitor-query/src/internal/modelConverters.ts @@ -3,8 +3,8 @@ import { BatchRequest as GeneratedBatchRequest, - LogQueryRequest, - LogQueryResponse, + BatchQueryRequest as GeneratedBatchQueryRequest, + BatchQueryResponse as GeneratedBatchQueryResponse, QueryBatchResponse as GeneratedQueryBatchResponse, QueryBody, Table as GeneratedTable @@ -32,13 +32,12 @@ import { GetMetricDefinitionsResult, GetMetricNamespacesResult, LogsTable, - MetricDefinition, QueryLogsBatch, QueryLogsBatchResult, QueryMetricsOptions, QueryMetricsResult } from "../../src"; -import { Metric, TimeSeriesElement } from "../models/publicMetricsModels"; +import { Metric, MetricDefinition, TimeSeriesElement } from "../models/publicMetricsModels"; /** * @internal @@ -46,7 +45,7 @@ import { Metric, TimeSeriesElement } from "../models/publicMetricsModels"; export function convertRequestForQueryBatch(batch: QueryLogsBatch): GeneratedBatchRequest { let id = 0; - const requests: LogQueryRequest[] = batch.queries.map((query: BatchQuery) => { + const requests: GeneratedBatchQueryRequest[] = batch.queries.map((query: BatchQuery) => { const body: QueryBody & Partial< Pick @@ -55,7 +54,7 @@ export function convertRequestForQueryBatch(batch: QueryLogsBatch): GeneratedBat delete body["serverTimeoutInSeconds"]; delete body["includeQueryStatistics"]; - const logQueryRequest: LogQueryRequest = { + const generatedRequest: GeneratedBatchQueryRequest = { id: id.toString(), workspace: query.workspace, headers: formatPreferHeader(query), @@ -64,7 +63,7 @@ export function convertRequestForQueryBatch(batch: QueryLogsBatch): GeneratedBat ++id; - return logQueryRequest; + return generatedRequest; }); return { @@ -95,7 +94,7 @@ export function convertResponseForQueryBatch( return left - right; }) - ?.map((response: LogQueryResponse) => ({ + ?.map((response: GeneratedBatchQueryResponse) => ({ id: response.id, status: response.status, // hoist fields from the sub-object 'body' to this level @@ -185,7 +184,7 @@ export function convertRequestForMetrics( obj.orderby = orderBy; } if (metricNames) { - obj.metric = metricNames.join(","); + obj.metricnames = metricNames.join(","); } if (aggregations) { obj.aggregation = aggregations.join(","); @@ -264,19 +263,24 @@ export function convertResponseForMetricsDefinitions( generatedResponse: GeneratedMetricDefinitionsListResponse ): GetMetricDefinitionsResult { return { - definitions: generatedResponse.value.map((defn) => { - const { name, dimensions, ...rest } = defn; - const newDefn: MetricDefinition = rest; + definitions: generatedResponse.value?.map((genDef) => { + const { name, dimensions, ...rest } = genDef; - if (name) { - newDefn.name = name.value; + const response: MetricDefinition = { + ...rest + }; + + if (name?.value) { + response.name = name.value; } - if (dimensions) { - newDefn.dimensions = dimensions.map((dimension) => dimension.value); + const mappedDimensions = dimensions?.map((dim) => dim.value); + + if (mappedDimensions) { + response.dimensions = mappedDimensions; } - return newDefn; + return response; }) }; } diff --git a/sdk/monitor/monitor-query/src/internal/util.ts b/sdk/monitor/monitor-query/src/internal/util.ts index ead07bbc9ec7..929363fea652 100644 --- a/sdk/monitor/monitor-query/src/internal/util.ts +++ b/sdk/monitor/monitor-query/src/internal/util.ts @@ -7,7 +7,12 @@ import { QueryLogsOptions } from "../models/publicLogsModels"; * @internal */ export function formatPreferHeader( - args: Pick | undefined + args: + | Pick< + QueryLogsOptions, + "serverTimeoutInSeconds" | "includeQueryStatistics" | "includeVisualization" + > + | undefined ): { Prefer: string } | undefined { if (!args) { return undefined; @@ -25,6 +30,10 @@ export function formatPreferHeader( pairs.push("include-statistics=true"); } + if (args.includeVisualization) { + pairs.push("include-render=true"); + } + if (pairs.length > 0) { return { Prefer: pairs.join(",") diff --git a/sdk/monitor/monitor-query/src/logsQueryClient.ts b/sdk/monitor/monitor-query/src/logsQueryClient.ts index a49600709940..a79f5fec716f 100644 --- a/sdk/monitor/monitor-query/src/logsQueryClient.ts +++ b/sdk/monitor/monitor-query/src/logsQueryClient.ts @@ -105,7 +105,8 @@ export class LogsQueryClient { return { tables: result.tables.map(convertGeneratedTable), - statistics: result.statistics + statistics: result.statistics, + visualization: result.render }; } diff --git a/sdk/monitor/monitor-query/src/metricsQueryClient.ts b/sdk/monitor/monitor-query/src/metricsQueryClient.ts index 93e66afe7b8d..da10cc8da3cc 100644 --- a/sdk/monitor/monitor-query/src/metricsQueryClient.ts +++ b/sdk/monitor/monitor-query/src/metricsQueryClient.ts @@ -17,16 +17,16 @@ import { } from "./models/publicMetricsModels"; import { - KnownApiVersion20170501Preview as MetricsApiVersion, + KnownApiVersion201801 as MetricsApiVersion, MonitorManagementClient as GeneratedMetricsClient } from "./generated/metrics/src"; import { - KnownApiVersion20170501Preview as MetricDefinitionsApiVersion, - MetricsDefinitionsClient as GeneratedMetricsDefinitionsClient + KnownApiVersion201801 as MetricDefinitionsApiVersion, + MonitorManagementClient as GeneratedMetricsDefinitionsClient } from "./generated/metricsdefinitions/src"; import { KnownApiVersion20171201Preview as MetricNamespacesApiVersion, - MetricsNamespacesClient as GeneratedMetricsNamespacesClient + MonitorManagementClient as GeneratedMetricsNamespacesClient } from "./generated/metricsnamespaces/src"; import { convertRequestForMetrics, @@ -70,12 +70,12 @@ export class MetricsQueryClient { }; this._metricsClient = new GeneratedMetricsClient( - MetricsApiVersion.TwoThousandSeventeen0501Preview, + MetricsApiVersion.TwoThousandEighteen0101, serviceClientOptions ); this._definitionsClient = new GeneratedMetricsDefinitionsClient( - MetricDefinitionsApiVersion.TwoThousandSeventeen0501Preview, + MetricDefinitionsApiVersion.TwoThousandEighteen0101, serviceClientOptions ); diff --git a/sdk/monitor/monitor-query/src/models/publicLogsModels.ts b/sdk/monitor/monitor-query/src/models/publicLogsModels.ts index 8a6e5782ea74..a1362bdc4237 100644 --- a/sdk/monitor/monitor-query/src/models/publicLogsModels.ts +++ b/sdk/monitor/monitor-query/src/models/publicLogsModels.ts @@ -21,6 +21,11 @@ export interface QueryLogsOptions extends OperationOptions { * Results will also include statistics about the query. */ includeQueryStatistics?: boolean; // TODO: this data is not modeled in the current response object. + + /** + * Results will also include visualization information, in JSON format. + */ + includeVisualization?: boolean; } /** @@ -42,6 +47,8 @@ export interface QueryLogsResult { tables: LogsTable[]; /** Statistics represented in JSON format. */ statistics?: any; + /** Visualization data in JSON format. */ + visualization?: any; } /** Options when query logs with a batch. */ diff --git a/sdk/monitor/monitor-query/src/models/publicMetricsModels.ts b/sdk/monitor/monitor-query/src/models/publicMetricsModels.ts index 472196bd5c92..40198e87bba1 100644 --- a/sdk/monitor/monitor-query/src/models/publicMetricsModels.ts +++ b/sdk/monitor/monitor-query/src/models/publicMetricsModels.ts @@ -7,6 +7,7 @@ import { MetricValue, ResultType, MetricUnit, + MetricClass, AggregationType, MetricAvailability } from ".."; @@ -50,7 +51,7 @@ export interface Metric { /** the name of the metric */ name: string; /** Detailed description of this metric. */ - displayDescription: string; + displayDescription?: string; /** 'Success' or the error details on query failures for this metric. */ errorCode?: string; /** the unit of the metric. */ @@ -159,3 +160,35 @@ export interface GetMetricNamespacesResult { /** The metric namespaces. */ namespaces: MetricNamespace[]; } + +/** + * Metric definition. + */ +export interface MetricDefinition { + /** Flag to indicate whether the dimension is required. */ + isDimensionRequired?: boolean; + /** the resource identifier of the resource that emitted the metric. */ + resourceId?: string; + /** the namespace the metric belongs to. */ + namespace?: string; + /** the name and the display name of the metric, i.e. it is a localizable string. */ + name?: string; + /** Detailed description of this metric. */ + displayDescription?: string; + /** Custom category name for this metric. */ + category?: string; + /** The class of the metric. */ + metricClass?: MetricClass; + /** The unit of the metric. */ + unit?: MetricUnit; + /** the primary aggregation type value defining how to use the values for display. */ + primaryAggregationType?: AggregationType; + /** the collection of what aggregation types are supported. */ + supportedAggregationTypes?: AggregationType[]; + /** the collection of what aggregation intervals are available to be queried. */ + metricAvailabilities?: MetricAvailability[]; + /** the resource identifier of the metric definition. */ + id?: string; + /** the name and the display name of the dimension, i.e. it is a localizable string. */ + dimensions?: string[]; +} diff --git a/sdk/monitor/monitor-query/swagger/README.md b/sdk/monitor/monitor-query/swagger/README.md index 65027c8ba1d6..6985b41b5231 100755 --- a/sdk/monitor/monitor-query/swagger/README.md +++ b/sdk/monitor/monitor-query/swagger/README.md @@ -1,9 +1,14 @@ ## Configuration file for autorest for JavaScript + + ## Log Query ```yaml $(tag) == 'logquery' -input-file: "https://raw.githubusercontent.com/srnagar/azure-rest-api-specs/azmon-query-swagger/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2021-05-19/OperationalInsights.json" +input-file: "https://github.com/Azure/azure-rest-api-specs/blob/86408a8777e623f5f41e260472ed831309b85086/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2021-05-19_Preview/OperationalInsights.json" output-folder: ../src/generated/logquery package-name: "monitor-log-query" clear-output-folder: true @@ -21,7 +26,7 @@ hide-clients: true ``` ```yaml $(tag) == 'metrics' -input-file: "https://raw.githubusercontent.com/srnagar/azure-rest-api-specs/azmon-query-swagger/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json" +input-file: "https://github.com/Azure/azure-rest-api-specs/blob/86408a8777e623f5f41e260472ed831309b85086/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json" output-folder: ../src/generated/metrics package-name: "monitor-metrics" clear-output-folder: true @@ -39,7 +44,7 @@ hide-clients: true ``` ```yaml $(tag) == 'metrics-definitions' -input-file: "https://raw.githubusercontent.com/srnagar/azure-rest-api-specs/azmon-query-swagger/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json" +input-file: "https://github.com/Azure/azure-rest-api-specs/blob/86408a8777e623f5f41e260472ed831309b85086/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json" output-folder: ../src/generated/metricsdefinitions package-name: "monitor-metrics-definitions" clear-output-folder: true @@ -57,7 +62,7 @@ hide-clients: true ``` ```yaml $(tag) == 'metrics-namespaces' -input-file: "https://raw.githubusercontent.com/srnagar/azure-rest-api-specs/azmon-query-swagger/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json" +input-file: "https://github.com/Azure/azure-rest-api-specs/blob/86408a8777e623f5f41e260472ed831309b85086/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json" output-folder: ../src/generated/metricsnamespaces package-name: "monitor-metrics-namespaces" clear-output-folder: true diff --git a/sdk/monitor/monitor-query/test/internal/unit/modelConverters.unittest.spec.ts b/sdk/monitor/monitor-query/test/internal/unit/modelConverters.unittest.spec.ts index 7a4cc2183387..8c8ea71fb617 100644 --- a/sdk/monitor/monitor-query/test/internal/unit/modelConverters.unittest.spec.ts +++ b/sdk/monitor/monitor-query/test/internal/unit/modelConverters.unittest.spec.ts @@ -4,7 +4,7 @@ import * as assert from "assert"; import { BatchRequest as GeneratedBatchRequest, - LogQueryRequest + BatchQueryRequest } from "../../../src/generated/logquery/src"; import { MetricsListOptionalParams as GeneratedMetricsListOptionalParams, @@ -80,7 +80,7 @@ describe("Model unit tests", () => { ] }); - assert.deepEqual(generatedRequest.requests?.[1], { + assert.deepEqual(generatedRequest.requests?.[1], { id: "1", // auto-generated (increments by 1 for each query in the batch) workspace: "the primary workspace id", headers: { @@ -126,12 +126,12 @@ describe("Model unit tests", () => { track2Model ); - assert.deepEqual(actualMetricsRequest, { + const expectedMetricsRequest: GeneratedMetricsListOptionalParams = { abortSignal, aggregation: "agg1,agg2", filter: "arbitraryFilter", interval: "arbitraryInterval", - metric: "name1,name2", + metricnames: "name1,name2", metricnamespace: "myMetricNamespace", orderby: "orderByClause", requestOptions, @@ -139,7 +139,9 @@ describe("Model unit tests", () => { timespan: "arbitraryTimespan", top: 10, tracingOptions - }); + }; + + assert.deepEqual(actualMetricsRequest, expectedMetricsRequest); }); it("convertRequestForMetrics (only required fields)", () => { diff --git a/sdk/monitor/monitor-query/test/public/logsQueryClient.spec.ts b/sdk/monitor/monitor-query/test/public/logsQueryClient.spec.ts index 735bc7c9a670..ef1dc73c1f9c 100644 --- a/sdk/monitor/monitor-query/test/public/logsQueryClient.spec.ts +++ b/sdk/monitor/monitor-query/test/public/logsQueryClient.spec.ts @@ -119,7 +119,7 @@ describe("LogsQueryClient live tests", function() { }); it("includeQueryStatistics", async () => { - const query = await createClient().queryLogs( + const results = await createClient().queryLogs( monitorWorkspaceId, "AppEvents | limit 1", Durations.last24Hours, @@ -130,8 +130,28 @@ describe("LogsQueryClient live tests", function() { // TODO: statistics are not currently modeled in the generated code but // the executionTime field is pretty useful. - assert.isOk(query.statistics); - assert.isNumber(query.statistics?.query?.executionTime); + assert.isOk(results.statistics); + assert.isNumber(results.statistics?.query?.executionTime); + }); + + it("includeRender/includeVisualization", async () => { + const results = await createClient().queryLogs( + monitorWorkspaceId, + `datatable (s: string, i: long) [ "a", 1, "b", 2, "c", 3 ] | render columnchart with (title="the chart title", xtitle="the x axis title")`, + Durations.last24Hours, + { + includeVisualization: true + } + ); + + // TODO: render/visualizations are not currently modeled in the generated + // code + assert.deepNestedInclude(results.visualization, { + // an example of the data (not currently modeled) + visualization: "columnchart", + xTitle: "the x axis title", + title: "the chart title" + }); }); it("query with types", async () => { diff --git a/sdk/monitor/monitor-query/test/public/metricsQueryClient.spec.ts b/sdk/monitor/monitor-query/test/public/metricsQueryClient.spec.ts index aab70b6ef299..90c0e203c854 100644 --- a/sdk/monitor/monitor-query/test/public/metricsQueryClient.spec.ts +++ b/sdk/monitor/monitor-query/test/public/metricsQueryClient.spec.ts @@ -9,11 +9,10 @@ import { createTestClientSecretCredential, getMetricsArmResourceId } from "./sha describe("MetricsClient live tests", function() { let resourceId: string; - let resourceNamespace: string; let metricsQueryClient: MetricsQueryClient; beforeEach(function(this: Context) { - ({ resourceNamespace, resourceId } = getMetricsArmResourceId(this)); + ({ resourceId } = getMetricsArmResourceId(this)); metricsQueryClient = new MetricsQueryClient(createTestClientSecretCredential()); }); @@ -55,11 +54,24 @@ describe("MetricsClient live tests", function() { assert.isNotEmpty(newResults.metrics); } - // query for a metric we do know about - metricsQueryClient.queryMetrics(resourceId, Durations.last24Hours, { - metricNames: ["Average_Uptime"], - metricNamespace: resourceNamespace - }); + // pick the first query and use the namespace as well. + + const firstMetricDefinition = metricDefinitions.definitions[0]; + + assert.isNotNull(firstMetricDefinition); + assert.isNotEmpty(firstMetricDefinition.name); + assert.isNotEmpty(firstMetricDefinition.namespace); + + const individualMetricWithNamespace = metricsQueryClient.queryMetrics( + resourceId, + Durations.last24Hours, + { + metricNames: [firstMetricDefinition.name!], + metricNamespace: firstMetricDefinition.namespace + } + ); + + assert.ok(individualMetricWithNamespace); }); it("listNamespaces", async () => { diff --git a/sdk/monitor/monitor-query/test/public/shared/testShared.ts b/sdk/monitor/monitor-query/test/public/shared/testShared.ts index e5dfe19212f3..b94f49cba7dd 100644 --- a/sdk/monitor/monitor-query/test/public/shared/testShared.ts +++ b/sdk/monitor/monitor-query/test/public/shared/testShared.ts @@ -91,11 +91,9 @@ export function getMetricsArmResourceId( mochaContext: Pick ): { resourceId: string; - resourceNamespace: string; } { return { - resourceId: getRequiredEnvVar(mochaContext, "METRICS_RESOURCE_ID"), - resourceNamespace: getRequiredEnvVar(mochaContext, "METRICS_RESOURCE_NAMESPACE") + resourceId: getRequiredEnvVar(mochaContext, "METRICS_RESOURCE_ID") }; } @@ -117,7 +115,9 @@ export function getAppInsightsConnectionString(mochaContext: Pick, variableName: string): string { if (!env[variableName]) { - console.log(`TODO: live tests skipped until test-resources + data population is set up.`); + console.log( + `TODO: live tests skipped until test-resources + data population is set up (missing ${variableName} env var).` + ); mochaContext.skip(); } From 8236d61502fabcfe05ac9ed0195445c6f990553e Mon Sep 17 00:00:00 2001 From: Richard Park <51494936+richardpark-msft@users.noreply.github.com> Date: Tue, 29 Jun 2021 11:09:36 -0700 Subject: [PATCH 089/134] Updating changelog with date and feature added and running PrepareRelease. (#16072) --- sdk/monitor/monitor-query/CHANGELOG.md | 9 +++------ .../generated/logquery/src/azureLogAnalyticsContext.ts | 2 +- .../metrics/src/monitorManagementClientContext.ts | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/sdk/monitor/monitor-query/CHANGELOG.md b/sdk/monitor/monitor-query/CHANGELOG.md index cfab5ad01696..4e56d3868d45 100644 --- a/sdk/monitor/monitor-query/CHANGELOG.md +++ b/sdk/monitor/monitor-query/CHANGELOG.md @@ -4,12 +4,9 @@ ### Features Added -### Breaking Changes - -### Key Bugs Fixed - -### Fixed - +- The `include-render` header can now be specified via `QueryLogsOption.includeVisualization`, allowing + visualization information to be returned in `QueryLogsResult.visualization`. The results are currently + unmodeled and reflect the underlying JSON structure. ## 1.0.0-beta.2 (2021-06-15) diff --git a/sdk/monitor/monitor-query/src/generated/logquery/src/azureLogAnalyticsContext.ts b/sdk/monitor/monitor-query/src/generated/logquery/src/azureLogAnalyticsContext.ts index 4ef4d15d1a2b..e4b7684a8467 100644 --- a/sdk/monitor/monitor-query/src/generated/logquery/src/azureLogAnalyticsContext.ts +++ b/sdk/monitor/monitor-query/src/generated/logquery/src/azureLogAnalyticsContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { AzureLogAnalyticsOptionalParams } from "./models"; const packageName = "monitor-log-query"; -const packageVersion = "1.0.0"; +const packageVersion = "1.0.0-beta.3"; /** @hidden */ export class AzureLogAnalyticsContext extends coreHttp.ServiceClient { diff --git a/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClientContext.ts b/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClientContext.ts index 2bab9cc7718f..5246ace921db 100644 --- a/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClientContext.ts +++ b/sdk/monitor/monitor-query/src/generated/metrics/src/monitorManagementClientContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { ApiVersion201801, MonitorManagementClientOptionalParams } from "./models"; const packageName = "monitor-metrics"; -const packageVersion = "1.0.0"; +const packageVersion = "1.0.0-beta.3"; /** @hidden */ export class MonitorManagementClientContext extends coreHttp.ServiceClient { From 20321ef20ad437cdf6af246ea886faedd0cce48f Mon Sep 17 00:00:00 2001 From: Sarangan Rajamanickam Date: Tue, 29 Jun 2021 13:09:31 -0700 Subject: [PATCH 090/134] Convenience Method to create a synonymmap object (#16054) * Convenience Method to create a synonymmap object * Update sdk/search/search-documents/src/synonymMapHelper.ts Co-authored-by: Jeff Fisher * Fix for PR Comments Co-authored-by: Jeff Fisher --- sdk/search/search-documents/package.json | 3 +- .../review/search-documents.api.md | 3 ++ sdk/search/search-documents/src/index.ts | 1 + .../src/synonymMapHelper.browser.ts | 19 ++++++++++++ .../search-documents/src/synonymMapHelper.ts | 30 +++++++++++++++++++ .../browser/synonymMap.browser.spec.ts | 17 +++++++++++ .../internal/node/synonymMap.node.spec.ts | 19 ++++++++++++ .../test/internal/synonymMap.txt | 2 ++ 8 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 sdk/search/search-documents/src/synonymMapHelper.browser.ts create mode 100644 sdk/search/search-documents/src/synonymMapHelper.ts create mode 100644 sdk/search/search-documents/test/internal/browser/synonymMap.browser.spec.ts create mode 100644 sdk/search/search-documents/test/internal/node/synonymMap.node.spec.ts create mode 100644 sdk/search/search-documents/test/internal/synonymMap.txt diff --git a/sdk/search/search-documents/package.json b/sdk/search/search-documents/package.json index a660f14cd479..74d06d62a0d7 100644 --- a/sdk/search/search-documents/package.json +++ b/sdk/search/search-documents/package.json @@ -41,7 +41,8 @@ "LICENSE" ], "browser": { - "./dist-esm/src/base64.js": "./dist-esm/src/base64.browser.js" + "./dist-esm/src/base64.js": "./dist-esm/src/base64.browser.js", + "./dist-esm/src/synonymMapHelper.js": "./dist-esm/src/synonymMapHelper.browser.js" }, "//metadata": { "constantPaths": [ diff --git a/sdk/search/search-documents/review/search-documents.api.md b/sdk/search/search-documents/review/search-documents.api.md index 098ca8905f01..00a80e61d659 100644 --- a/sdk/search/search-documents/review/search-documents.api.md +++ b/sdk/search/search-documents/review/search-documents.api.md @@ -288,6 +288,9 @@ export interface CreateOrUpdateSynonymMapOptions extends OperationOptions { // @public export type CreateSkillsetOptions = OperationOptions; +// @public +export function createSynonymMapFromFile(name: string, filePath: string): Promise; + // @public export type CreateSynonymMapOptions = OperationOptions; diff --git a/sdk/search/search-documents/src/index.ts b/sdk/search/search-documents/src/index.ts index 85fa534379b3..d683c36da059 100644 --- a/sdk/search/search-documents/src/index.ts +++ b/sdk/search/search-documents/src/index.ts @@ -301,3 +301,4 @@ export { SearchIndexerKnowledgeStoreTableProjectionSelector } from "./generated/service/models"; export { AzureKeyCredential } from "@azure/core-auth"; +export { createSynonymMapFromFile } from "./synonymMapHelper"; diff --git a/sdk/search/search-documents/src/synonymMapHelper.browser.ts b/sdk/search/search-documents/src/synonymMapHelper.browser.ts new file mode 100644 index 000000000000..21157bdb866c --- /dev/null +++ b/sdk/search/search-documents/src/synonymMapHelper.browser.ts @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { SynonymMap } from "./serviceModels"; + +/** + * Helper method to create a SynonymMap object. This is a NodeJS only method. + * Will throw an error for browser. + * + * @param _name - Name of the SynonymMap. + * @param _filePath - Path of the file that contains the Synonyms (seperated by new lines) + * @returns SynonymMap object + */ +export async function createSynonymMapFromFile( + _name: string, + _filePath: string +): Promise { + throw new Error("Not implemented for browser."); +} diff --git a/sdk/search/search-documents/src/synonymMapHelper.ts b/sdk/search/search-documents/src/synonymMapHelper.ts new file mode 100644 index 000000000000..a01bf5f58f6d --- /dev/null +++ b/sdk/search/search-documents/src/synonymMapHelper.ts @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { SynonymMap } from "./serviceModels"; +import { promisify } from "util"; +import * as fs from "fs"; +const readFileAsync = promisify(fs.readFile); + +/** + * Helper method to create a SynonymMap object. This is a NodeJS only method. + * + * @param name - Name of the SynonymMap. + * @param filePath - Path of the file that contains the Synonyms (seperated by new lines) + * @returns SynonymMap object + */ +export async function createSynonymMapFromFile( + name: string, + filePath: string +): Promise { + const synonyms: string[] = (await readFileAsync(filePath, "utf-8")) + .replace(/\r/g, "") + .split("\n") + .map((line) => line.trim()) + .filter(Boolean); + + return { + name, + synonyms + }; +} diff --git a/sdk/search/search-documents/test/internal/browser/synonymMap.browser.spec.ts b/sdk/search/search-documents/test/internal/browser/synonymMap.browser.spec.ts new file mode 100644 index 000000000000..fc1d7a7a135c --- /dev/null +++ b/sdk/search/search-documents/test/internal/browser/synonymMap.browser.spec.ts @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { assert } from "chai"; +import { createSynonymMapFromFile } from "../../../src/synonymMapHelper.browser"; + +describe("synonymmap", () => { + it("create synonymmap from file(browser)", async function() { + let errorThrown = false; + try { + await createSynonymMapFromFile("my-synonym-map-1", "./test/internal/synonymMap.txt"); + } catch (ex) { + errorThrown = true; + } + assert.isTrue(errorThrown, "Expected createSynonymMapFromFile to fail with an exception"); + }); +}); diff --git a/sdk/search/search-documents/test/internal/node/synonymMap.node.spec.ts b/sdk/search/search-documents/test/internal/node/synonymMap.node.spec.ts new file mode 100644 index 000000000000..66b613005365 --- /dev/null +++ b/sdk/search/search-documents/test/internal/node/synonymMap.node.spec.ts @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { assert } from "chai"; +import { createSynonymMapFromFile } from "../../../src"; +import { SynonymMap } from "../../../src/serviceModels"; + +describe("synonymmap", () => { + it("create synonymmap from file(node)", async function() { + const synonymMap: SynonymMap = await createSynonymMapFromFile( + "my-synonym-map-1", + "./test/internal/synonymMap.txt" + ); + assert.equal(synonymMap.name, "my-synonym-map-1"); + assert.equal(synonymMap.synonyms.length, 2); + assert.equal(synonymMap.synonyms[0], "United States, United States of America => USA"); + assert.equal(synonymMap.synonyms[1], "Washington, Wash. => WA"); + }); +}); diff --git a/sdk/search/search-documents/test/internal/synonymMap.txt b/sdk/search/search-documents/test/internal/synonymMap.txt new file mode 100644 index 000000000000..c81a921ed614 --- /dev/null +++ b/sdk/search/search-documents/test/internal/synonymMap.txt @@ -0,0 +1,2 @@ +United States, United States of America => USA +Washington, Wash. => WA From 14fddf7d79d19e31fd2258ac0ca0728a13210f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Wed, 30 Jun 2021 10:49:35 -0400 Subject: [PATCH 091/134] [Identity] InteractiveBrowserCredential loginHint (#15855) * [Identity] InteractiveBrowserCredential LoginHint * formatting * Update CHANGELOG.md --- sdk/identity/identity/CHANGELOG.md | 1 + sdk/identity/identity/review/identity.api.md | 2 ++ .../interactiveBrowserCredentialOptions.ts | 12 ++++++++++++ .../identity/src/msal/browserFlows/browserCommon.ts | 1 + .../identity/src/msal/browserFlows/msalAuthCode.ts | 8 ++++++-- .../identity/src/msal/nodeFlows/msalOpenBrowser.ts | 4 ++++ 6 files changed, 26 insertions(+), 2 deletions(-) diff --git a/sdk/identity/identity/CHANGELOG.md b/sdk/identity/identity/CHANGELOG.md index 816d44824eb1..7869b5bdd82a 100644 --- a/sdk/identity/identity/CHANGELOG.md +++ b/sdk/identity/identity/CHANGELOG.md @@ -11,6 +11,7 @@ - Reintroduced the `TokenCachePersistenceOptions` property on most credential constructor options. This property must be present with an `enabled` property set to true to enable persistent token caching for a credential instance. Credentials that do not support persistent token caching do not have this property. - Added support to `ManagedIdentityCredential` for Bridge to Kubernetes local development authentication. - Enabled PKCE on `InteractiveBrowserCredential` for Node.js. [Proof Key for Code Exchange (PKCE)](https://datatracker.ietf.org/doc/html/rfc7636) is a security feature that mitigates authentication code interception attacks. +- Added `LoginHint` property to `InteractiveBrowserCredentialOptions` which allows a user name to be pre-selected for interactive logins. Setting this option skips the account selection prompt and immediately attempts to login with the specified account. - Added regional STS support to client credential types. - Added the `RegionalAuthority` type, that allows specifying Azure regions. - Added `regionalAuthority` property to `ClientSecretCredentialOptions` and `ClientCertificateCredentialOptions`. diff --git a/sdk/identity/identity/review/identity.api.md b/sdk/identity/identity/review/identity.api.md index 10e053664152..80669f0f6133 100644 --- a/sdk/identity/identity/review/identity.api.md +++ b/sdk/identity/identity/review/identity.api.md @@ -196,6 +196,7 @@ export class InteractiveBrowserCredential implements TokenCredential { // @public export interface InteractiveBrowserCredentialBrowserOptions extends InteractiveCredentialOptions { clientId: string; + loginHint?: string; loginStyle?: BrowserLoginStyle; redirectUri?: string | (() => string); tenantId?: string; @@ -204,6 +205,7 @@ export interface InteractiveBrowserCredentialBrowserOptions extends InteractiveC // @public export interface InteractiveBrowserCredentialOptions extends InteractiveCredentialOptions, CredentialPersistenceOptions { clientId?: string; + loginHint?: string; redirectUri?: string | (() => string); tenantId?: string; } diff --git a/sdk/identity/identity/src/credentials/interactiveBrowserCredentialOptions.ts b/sdk/identity/identity/src/credentials/interactiveBrowserCredentialOptions.ts index 2057c792f8bb..7d6887ac79fa 100644 --- a/sdk/identity/identity/src/credentials/interactiveBrowserCredentialOptions.ts +++ b/sdk/identity/identity/src/credentials/interactiveBrowserCredentialOptions.ts @@ -36,6 +36,12 @@ export interface InteractiveBrowserCredentialOptions * The client (application) ID of an App Registration in the tenant. */ clientId?: string; + + /** + * loginHint allows a user name to be pre-selected for interactive logins. + * Setting this option skips the account selection prompt and immediately attempts to login with the specified account. + */ + loginHint?: string; } /** @@ -66,4 +72,10 @@ export interface InteractiveBrowserCredentialBrowserOptions extends InteractiveC * */ loginStyle?: BrowserLoginStyle; + + /** + * loginHint allows a user name to be pre-selected for interactive logins. + * Setting this option skips the account selection prompt and immediately attempts to login with the specified account. + */ + loginHint?: string; } diff --git a/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts b/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts index 5e06a9ea4dbd..914b40a002f1 100644 --- a/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts +++ b/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts @@ -22,6 +22,7 @@ import { CredentialUnavailableError } from "../../client/errors"; export interface MsalBrowserFlowOptions extends MsalFlowOptions { redirectUri?: string; loginStyle: BrowserLoginStyle; + loginHint?: string; } /** diff --git a/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts b/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts index 9c8ee4317b26..f6294a3b885b 100644 --- a/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts +++ b/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts @@ -21,6 +21,7 @@ const redirectHash = self.location.hash; */ export class MSALAuthCode extends MsalBrowser { protected app: msalBrowser.PublicClientApplication; + private loginHint?: string; /** * Sets up an MSAL object based on the given parameters. @@ -30,6 +31,7 @@ export class MSALAuthCode extends MsalBrowser { */ constructor(options: MsalBrowserFlowOptions) { super(options); + this.loginHint = options.loginHint; this.msalConfig.cache = { cacheLocation: "sessionStorage", @@ -122,8 +124,9 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov */ public async login(scopes: string | string[] = []): Promise { const arrayScopes = Array.isArray(scopes) ? scopes : [scopes]; - const loginRequest = { - scopes: arrayScopes + const loginRequest: msalBrowser.RedirectRequest = { + scopes: arrayScopes, + loginHint: this.loginHint }; switch (this.loginStyle) { case "redirect": { @@ -191,6 +194,7 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov authority: this.msalConfig.auth.authority!, correlationId: options?.correlationId, account: publicToMsal(account), + loginHint: this.loginHint, scopes }; diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts b/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts index fb8d1a52500b..c59887477dfc 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts @@ -21,6 +21,7 @@ import { CredentialUnavailableError } from "../../client/errors"; */ export interface MSALOpenBrowserOptions extends MsalNodeOptions { redirectUri: string; + loginHint?: string; } /** @@ -40,11 +41,13 @@ export class MsalOpenBrowser extends MsalNode { private redirectUri: string; private port: number; private hostname: string; + private loginHint?: string; constructor(options: MSALOpenBrowserOptions) { super(options); this.logger = credentialLogger("NodeJS MSAL Open Browser"); this.redirectUri = options.redirectUri; + this.loginHint = options.loginHint; const url = new URL(this.redirectUri); this.port = parseInt(url.port); @@ -200,6 +203,7 @@ export class MsalOpenBrowser extends MsalNode { const authCodeUrlParameters: msalNode.AuthorizationUrlRequest = { scopes: scopeArray, redirectUri: this.redirectUri, + loginHint: this.loginHint, codeChallenge: this.pkceCodes.challenge, codeChallengeMethod: "S256" // Use SHA256 Algorithm }; From 528f940c0fdd78dcaca97a638532053b0eb95a63 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Jun 2021 08:43:23 -0700 Subject: [PATCH 092/134] Sync eng/common directory with azure-sdk-tools for PR 1725 (#16079) * Bring changes from JS docs metadata * Move business logic inside Update-DocsMsMetadata.ps1 * Update with the latest changes in JS PR * Update from latest PR feedback * Add check for empty path to prevent crashes when creating relative paths Co-authored-by: Daniel Jurek --- .../steps/enable-long-path-support.yml | 10 ++ .../steps/set-daily-docs-branch-name.yml | 14 ++ .../templates/steps/set-default-branch.yml | 5 +- .../steps/update-docsms-metadata.yml | 95 +++++++++++ eng/common/scripts/Invoke-DevOpsAPI.ps1 | 7 +- eng/common/scripts/Package-Properties.ps1 | 1 + eng/common/scripts/Queue-Pipeline.ps1 | 15 +- .../scripts/Save-Package-Properties.ps1 | 74 ++++++++- eng/common/scripts/Update-DocsMsMetadata.ps1 | 155 ++++++++++++++++++ eng/common/scripts/Update-DocsMsPackages.ps1 | 115 ++++++++++++- eng/common/scripts/common.ps1 | 2 + 11 files changed, 474 insertions(+), 19 deletions(-) create mode 100644 eng/common/pipelines/templates/steps/enable-long-path-support.yml create mode 100644 eng/common/pipelines/templates/steps/set-daily-docs-branch-name.yml create mode 100644 eng/common/pipelines/templates/steps/update-docsms-metadata.yml create mode 100644 eng/common/scripts/Update-DocsMsMetadata.ps1 diff --git a/eng/common/pipelines/templates/steps/enable-long-path-support.yml b/eng/common/pipelines/templates/steps/enable-long-path-support.yml new file mode 100644 index 000000000000..1e0db13d754a --- /dev/null +++ b/eng/common/pipelines/templates/steps/enable-long-path-support.yml @@ -0,0 +1,10 @@ +steps: +- pwsh: | + if ($IsWindows) { + REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem /f /v LongPathsEnabled /t REG_DWORD /d 1 + git config --system core.longpaths true + } + else { + Write-Host "This script is not executing on Windows, skipping registry modification." + } + displayName: Enable long path support if necessary diff --git a/eng/common/pipelines/templates/steps/set-daily-docs-branch-name.yml b/eng/common/pipelines/templates/steps/set-daily-docs-branch-name.yml new file mode 100644 index 000000000000..1548a9326f7a --- /dev/null +++ b/eng/common/pipelines/templates/steps/set-daily-docs-branch-name.yml @@ -0,0 +1,14 @@ +parameters: + - name: DailyBranchVariableName + type: string + default: TargetBranchName + +steps: + - pwsh: | + $branchName = $env:DAILYDOCSBRANCHNAMEOVERRIDE + if (!$branchName) { + $branchName = "daily/$(Get-Date -Format 'yyyy-MM-dd')" + } + Write-Host "Daily Branch Name: $branchName" + Write-Host "##vso[task.setvariable variable=${{ parameters.DailyBranchVariableName }};]$branchName" + displayName: Set daily docs branch name in $(${{ parameters.DailyBranchVariableName }}) diff --git a/eng/common/pipelines/templates/steps/set-default-branch.yml b/eng/common/pipelines/templates/steps/set-default-branch.yml index 491edaa8b68d..31bf28936164 100644 --- a/eng/common/pipelines/templates/steps/set-default-branch.yml +++ b/eng/common/pipelines/templates/steps/set-default-branch.yml @@ -1,6 +1,7 @@ parameters: WorkingDirectory: '$(System.DefaultWorkingDirectory)' RemoteRepo: 'origin' + DefaultBranchVariableName: DefaultBranch steps: - pwsh: | $setDefaultBranch = (git remote show ${{ parameters.RemoteRepo }} | Out-String) -replace "(?ms).*HEAD branch: (\w+).*", '$1' @@ -8,8 +9,8 @@ steps: Write-Host "Not able to fetch the default branch from git command. Set to main." $setDefaultBranch = 'main' } - Write-Host "Setting DefaultBranch=$setDefaultBranch" - Write-Host "##vso[task.setvariable variable=DefaultBranch]$setDefaultBranch" + Write-Host "Setting ${{ parameters.DefaultBranchVariableName }}=$setDefaultBranch" + Write-Host "##vso[task.setvariable variable=${{ parameters.DefaultBranchVariableName }}]$setDefaultBranch" displayName: "Setup Default Branch" workingDirectory: ${{ parameters.workingDirectory }} ignoreLASTEXITCODE: true diff --git a/eng/common/pipelines/templates/steps/update-docsms-metadata.yml b/eng/common/pipelines/templates/steps/update-docsms-metadata.yml new file mode 100644 index 000000000000..341169b37348 --- /dev/null +++ b/eng/common/pipelines/templates/steps/update-docsms-metadata.yml @@ -0,0 +1,95 @@ +parameters: + - name: PackageInfoLocations + type: object + default: [] + - name: RepoId + type: string + default: $(Build.Repository.Name) + - name: WorkingDirectory + type: string + default: '' + - name: ScriptDirectory + type: string + default: eng/common/scripts + - name: TargetDocRepoName + type: string + default: '' + - name: TargetDocRepoOwner + type: string + - name: Language + type: string + default: '' + - name: DailyDocsBuild + type: boolean + default: false + - name: SparseCheckoutPaths + type: object + default: + - '**' + +steps: +- template: /eng/common/pipelines/templates/steps/enable-long-path-support.yml + +- pwsh: | + Write-Host "###vso[task.setvariable variable=DocRepoLocation]${{ parameters.WorkingDirectory }}/doc" + displayName: Set $(DocRepoLocation) + +- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml + parameters: + SkipDefaultCheckout: true + Repositories: + - Name: ${{ parameters.TargetDocRepoOwner }}/${{ parameters.TargetDocRepoName }} + WorkingDirectory: $(DocRepoLocation) + Paths: ${{ parameters.SparseCheckoutPaths }} + +# If performing a daily docs build set the $(TargetBranchName) to a daily branch +# name and attempt to checkout the daily docs branch. If the branch doesn't +# exist, create it +- ${{ if eq(parameters.DailyDocsBuild, 'true') }}: + - template: /eng/common/pipelines/templates/steps/set-daily-docs-branch-name.yml + + - pwsh: | + $ErrorActionPreference = "Continue" + $RemoteName = "origin" + $BranchName = "$(TargetBranchName)" + # Fetch and checkout remote branch if it already exists otherwise create a new branch. + git ls-remote --exit-code --heads $RemoteName $BranchName + if ($LASTEXITCODE -eq 0) { + Write-Host "git fetch $RemoteName $BranchName" + git fetch $RemoteName $BranchName + Write-Host "git checkout $BranchName." + git checkout $BranchName + } else { + Write-Host "git checkout -b $BranchName." + git checkout -b $BranchName + } + displayName: Checkout daily docs branch if it exists + workingDirectory: $(DocRepoLocation) + +# If NOT performing a daily docs build, set the $(TargetBranchName) to the +# default branch of the documentation repository. +- ${{ if ne(parameters.DailyDocsBuild, 'true') }}: + - template: /eng/common/pipelines/templates/steps/set-default-branch.yml + parameters: + WorkingDirectory: $(DocRepoLocation) + DefaultBranchVariableName: TargetBranchName + +- pwsh: | + $packageInfoJson = '${{ convertToJson(parameters.PackageInfoLocations) }}'.Trim('"') + $packageInfoLocations = ConvertFrom-Json $packageInfoJson + ${{ parameters.ScriptDirectory }}/Update-DocsMsMetadata.ps1 ` + -PackageInfoJsonLocations $packageInfoLocations ` + -DocRepoLocation "$(DocRepoLocation)" ` + -Language '${{parameters.Language}}' ` + -RepoId '${{ parameters.RepoId }}' + displayName: Apply Documentation Updates + +- template: /eng/common/pipelines/templates/steps/git-push-changes.yml + parameters: + BaseRepoBranch: $(TargetBranchName) + BaseRepoOwner: ${{ parameters.TargetDocRepoOwner }} + CommitMsg: "Update docs metadata" + TargetRepoName: ${{ parameters.TargetDocRepoName }} + TargetRepoOwner: ${{ parameters.TargetDocRepoOwner }} + WorkingDirectory: $(DocRepoLocation) + ScriptDirectory: ${{ parameters.WorkingDirectory }}/${{ parameters.ScriptDirectory }} diff --git a/eng/common/scripts/Invoke-DevOpsAPI.ps1 b/eng/common/scripts/Invoke-DevOpsAPI.ps1 index 32c3569a3cd2..72d61edd081f 100644 --- a/eng/common/scripts/Invoke-DevOpsAPI.ps1 +++ b/eng/common/scripts/Invoke-DevOpsAPI.ps1 @@ -19,7 +19,9 @@ function Start-DevOpsBuild { $DefinitionId, [ValidateNotNullOrEmpty()] [Parameter(Mandatory = $true)] - $Base64EncodedAuthToken + $Base64EncodedAuthToken, + [Parameter(Mandatory = $false)] + [string]$BuildParametersJson ) $uri = "$DevOpsAPIBaseURI" -F $Organization, $Project , "build" , "builds", "" @@ -27,6 +29,7 @@ function Start-DevOpsBuild { $parameters = @{ sourceBranch = $SourceBranch definition = @{ id = $DefinitionId } + parameters = $BuildParametersJson } return Invoke-RestMethod ` @@ -157,4 +160,4 @@ function Add-RetentionLease { -MaximumRetryCount 3 ` -ContentType "application/json" -} \ No newline at end of file +} diff --git a/eng/common/scripts/Package-Properties.ps1 b/eng/common/scripts/Package-Properties.ps1 index e00ea7bb9eaf..622c5fd925aa 100644 --- a/eng/common/scripts/Package-Properties.ps1 +++ b/eng/common/scripts/Package-Properties.ps1 @@ -5,6 +5,7 @@ class PackageProps { [string]$Name [string]$Version + [string]$DevVersion [string]$DirectoryPath [string]$ServiceDirectory [string]$ReadMePath diff --git a/eng/common/scripts/Queue-Pipeline.ps1 b/eng/common/scripts/Queue-Pipeline.ps1 index a8c147e2ef38..30a4282c8cbb 100644 --- a/eng/common/scripts/Queue-Pipeline.ps1 +++ b/eng/common/scripts/Queue-Pipeline.ps1 @@ -18,7 +18,10 @@ param( [string]$VsoQueuedPipelines, [Parameter(Mandatory = $true)] - [string]$Base64EncodedAuthToken + [string]$Base64EncodedAuthToken, + + [Parameter(Mandatory = $false)] + [string]$BuildParametersJson ) . (Join-Path $PSScriptRoot common.ps1) @@ -46,7 +49,13 @@ if ($CancelPreviousBuilds) } try { - $resp = Start-DevOpsBuild -SourceBranch $SourceBranch -DefinitionId $DefinitionId -Base64EncodedAuthToken $Base64EncodedAuthToken + $resp = Start-DevOpsBuild ` + -Organization $Organization ` + -Project $Project ` + -SourceBranch $SourceBranch ` + -DefinitionId $DefinitionId ` + -Base64EncodedAuthToken $Base64EncodedAuthToken ` + -BuildParametersJson $BuildParametersJson } catch { LogError "Start-DevOpsBuild failed with exception:`n$_" @@ -64,4 +73,4 @@ if ($VsoQueuedPipelines) { } $QueuedPipelineLinks Write-Host "##vso[task.setvariable variable=$VsoQueuedPipelines]$QueuedPipelineLinks" -} \ No newline at end of file +} diff --git a/eng/common/scripts/Save-Package-Properties.ps1 b/eng/common/scripts/Save-Package-Properties.ps1 index 26f4f17c8807..7e51813830dd 100644 --- a/eng/common/scripts/Save-Package-Properties.ps1 +++ b/eng/common/scripts/Save-Package-Properties.ps1 @@ -1,12 +1,79 @@ +<# +.SYNOPSIS +Saves package properties from source into JSON files + +.DESCRIPTION +Saves package properties in source of a given service directory to JSON files. +JSON files are named in the form .json or .json if +an artifact name property is available in the package properties. + +Can optionally add a dev version property which can be used logic for daily +builds. + +.PARAMETER serviceDirectory +Service directory in which to search for packages + +.PARAMETER outDirectory +Output location (generally a package artifact directory in DevOps) for JSON +files + +.PARAMETER addDevVersion +Reads the version out of the source and adds a DevVersion property to the +package properties JSON file. If the package properties JSON file already +exists, read the Version property from the existing package properties JSON file +and set that as the Version property for the new output. This has the effect of +"adding" a DevVersion property to the file which could be different from the +Verison property in that file. +#> + [CmdletBinding()] Param ( [Parameter(Mandatory=$True)] [string] $serviceDirectory, [Parameter(Mandatory=$True)] - [string] $outDirectory + [string] $outDirectory, + [switch] $addDevVersion ) . (Join-Path $PSScriptRoot common.ps1) + +function SetOutput($outputPath, $incomingPackageSpec) { + $outputObject = $incomingPackageSpec + + if ($addDevVersion) { + # Use the "Version" property which was provided by the incoming package spec + # as the DevVersion. This may be overridden later. + $outputObject.DevVersion = $incomingPackageSpec.Version + + # If there is an exsiting package info json file read that and set the + # Version property from that JSON file. + if (Test-Path $outputPath) { + $originalObject = ConvertFrom-Json (Get-Content $outputPath -Raw) + $outputObject.Version = $originalObject.Version + } + } + + # Set file paths to relative paths + $outputObject.DirectoryPath = GetRelativePath $outputObject.DirectoryPath + $outputObject.ReadMePath = GetRelativePath $outputObject.ReadMePath + $outputObject.ChangeLogPath = GetRelativePath $outputObject.ChangeLogPath + + Set-Content ` + -Path $outputPath ` + -Value (ConvertTo-Json -InputObject $outputObject -Depth 100) +} + +function GetRelativePath($path) { + # If the path is empty return an empty string + if (!$path) { + return '' + } + $relativeTo = Resolve-Path $PSScriptRoot/../../../ + # Replace "\" with "/" so the path is valid across other platforms and tools + $relativePath = [IO.Path]::GetRelativePath($relativeTo, $path) -replace "\\", '/' + return $relativePath +} + $allPackageProperties = Get-AllPkgProperties $serviceDirectory if ($allPackageProperties) { @@ -29,9 +96,8 @@ if ($allPackageProperties) $configFilePrefix = $pkg.ArtifactName } $outputPath = Join-Path -Path $outDirectory "$configFilePrefix.json" - $outputObject = $pkg | ConvertTo-Json - Set-Content -Path $outputPath -Value $outputObject - } + SetOutput $outputPath $pkg + } } Get-ChildItem -Path $outDirectory diff --git a/eng/common/scripts/Update-DocsMsMetadata.ps1 b/eng/common/scripts/Update-DocsMsMetadata.ps1 new file mode 100644 index 000000000000..2a9d4f26a999 --- /dev/null +++ b/eng/common/scripts/Update-DocsMsMetadata.ps1 @@ -0,0 +1,155 @@ +<# +.SYNOPSIS +Updates package README.md for publishing to docs.microsoft.com + +.DESCRIPTION +Given a PackageInfo .json file, format the package README.md file with metadata +and other information needed to release reference docs: + +* Adjust README.md content to include metadata +* Insert the package verison number in the README.md title +* Copy file to the appropriate location in the documentation repository +* Copy PackageInfo .json file to the metadata location in the reference docs + repository. This enables the Docs CI build to onboard packages which have not + shipped and for which there are no entries in the metadata CSV files. + +.PARAMETER PackageInfoJsonLocations +List of locations of the artifact information .json file. This is usually stored +in build artifacts under packages/PackageInfo/.json. Can also be +a single item. + +.PARAMETER DocRepoLocation +Location of the root of the docs.microsoft.com reference doc location. Further +path information is provided by $GetDocsMsMetadataForPackageFn + +.PARAMETER Language +Programming language to supply to metadata + +.PARAMETER RepoId +GitHub repository ID of the SDK. Typically of the form: 'Azure/azure-sdk-for-js' + +#> + +param( + [Parameter(Mandatory = $true)] + [array]$PackageInfoJsonLocations, + + [Parameter(Mandatory = $true)] + [string]$DocRepoLocation, + + [Parameter(Mandatory = $true)] + [string]$Language, + + [Parameter(Mandatory = $true)] + [string]$RepoId +) + +. (Join-Path $PSScriptRoot common.ps1) + +$releaseReplaceRegex = "(https://github.com/$RepoId/(?:blob|tree)/)(?:master|main)" +$TITLE_REGEX = "(\#\s+(?Azure .+? (?:client|plugin|shared) library for (?:JavaScript|Java|Python|\.NET|C)))" + +function GetAdjustedReadmeContent($ReadmeContent, $PackageInfo, $PackageMetadata) { + # Normalize service name "Key Vault" -> "keyvault" + # TODO: Use taxonomy for service name -- https://github.com/Azure/azure-sdk-tools/issues/1442 + # probably from metadata + $service = $PackageMetadata.ServiceName.ToLower().Replace(" ", "") + # Generate the release tag for use in link substitution + $tag = "$($PackageInfo.Name)_$($PackageInfo.Version)" + $date = Get-Date -Format "MM/dd/yyyy" + + + $foundTitle = "" + if ($ReadmeContent -match $TITLE_REGEX) { + $ReadmeContent = $ReadmeContent -replace $TITLE_REGEX, "`${0} - Version $($PackageInfo.Version) `n" + $foundTitle = $matches["filetitle"] + } + + # If this is not a daily dev package, perform link replacement + if (!$packageInfo.DevVersion) { + $replacementPattern = "`${1}$tag" + $ReadmeContent = $ReadmeContent -replace $releaseReplaceRegex, $replacementPattern + } + + $header = @" +--- +title: $foundTitle +keywords: Azure, $Language, SDK, API, $($PackageInfo.Name), $service +author: maggiepint +ms.author: magpint +ms.date: $date +ms.topic: article +ms.prod: azure +ms.technology: azure +ms.devlang: $Language +ms.service: $service +--- + +"@ + + return "$header`n$ReadmeContent" +} + +function UpdateDocsMsMetadataForPackage($packageInfoJsonLocation) { + $packageInfoJson = Get-Content $packageInfoJsonLocation -Raw + $packageInfo = ConvertFrom-Json $packageInfoJson + + $originalVersion = [AzureEngSemanticVersion]::ParseVersionString($packageInfo.Version) + if ($packageInfo.DevVersion) { + # If the package is of a dev version there may be language-specific needs to + # specify the appropriate version. For example, in the case of JS, the dev + # version is always 'dev' when interacting with NPM. + if ($GetDocsMsDevLanguageSpecificPackageInfoFn -and (Test-Path "Function:$GetDocsMsDevLanguageSpecificPackageInfoFn")) { + $packageInfo = &$GetDocsMsDevLanguageSpecificPackageInfoFn $packageInfo + } else { + # Default: use the dev version from package info as the version for + # downstream processes + $packageInfo.Version = $packageInfo.DevVersion + } + } + + $packageMetadataArray = (Get-CSVMetadata).Where({ $_.Package -eq $packageInfo.Name -and $_.GroupId -eq $packageInfo.Group -and $_.Hide -ne 'true' -and $_.New -eq 'true' }) + if ($packageMetadataArray.Count -eq 0) { + LogError "Could not retrieve metadata for $($packageInfo.Name) from metadata CSV" + } elseif ($packageMetadataArray.Count -gt 1) { + LogWarning "Multiple metadata entries for $($packageInfo.Name) in metadata CSV. Using first entry." + } + $packageMetadata = $packageMetadataArray[0] + + $readmeContent = Get-Content $packageInfo.ReadMePath -Raw + $outputReadmeContent = "" + if ($readmeContent) { + $outputReadmeContent = GetAdjustedReadmeContent $readmeContent $packageInfo $packageMetadata + } + + $docsMsMetadata = &$GetDocsMsMetadataForPackageFn $packageInfo + $readMePath = $docsMsMetadata.LatestReadMeLocation + if ($originalVersion.IsPrerelease) { + $readMePath = $docsMsMetadata.PreviewReadMeLocation + } + + $suffix = $docsMsMetadata.Suffix + $readMeName = "$($docsMsMetadata.DocsMsReadMeName.ToLower())-readme${suffix}.md" + + $readmeLocation = Join-Path $DocRepoLocation $readMePath $readMeName + + Set-Content -Path $readmeLocation -Value $outputReadmeContent + + # Copy package info file to the docs repo + $metadataMoniker = 'latest' + if ($originalVersion.IsPrerelease) { + $metadataMoniker = 'preview' + } + $packageMetadataName = Split-Path $packageInfoJsonLocation -Leaf + $packageInfoLocation = Join-Path $DocRepoLocation "metadata/$metadataMoniker" + $packageInfoJson = ConvertTo-Json $packageInfo + New-Item -ItemType Directory -Path $packageInfoLocation -Force + Set-Content ` + -Path $packageInfoLocation/$packageMetadataName ` + -Value $packageInfoJson +} + +foreach ($packageInfo in $PackageInfoJsonLocations) { + Write-Host "Updating metadata for package: $packageInfo" + UpdateDocsMsMetadataForPackage $packageInfo +} diff --git a/eng/common/scripts/Update-DocsMsPackages.ps1 b/eng/common/scripts/Update-DocsMsPackages.ps1 index 4292200f3b6f..576159e7785d 100644 --- a/eng/common/scripts/Update-DocsMsPackages.ps1 +++ b/eng/common/scripts/Update-DocsMsPackages.ps1 @@ -1,10 +1,24 @@ -# This script is intended to update docs.ms CI configuration (currently supports Java, Python, C#, JS) in nightly build -# For details on calling, check `docindex.yml`. +<# +.SYNOPSIS +Update docs.microsoft.com CI configuration with provided metadata -# In this script, we will do the following business logic. -# 1. Filter out the packages from release csv file by `New=true`, `Hide!=true` -# 2. Compare current package list with the csv packages, and keep them in sync. Leave other packages as they are. -# 3. Update the tarage packages back to CI config files. +.DESCRIPTION +Update docs.microsoft.com CI configuration with metadata in the Azure/azure-sdk +metadata CSV file and information in the docs.microsoft.com repo's own /metadata +folder. The docs.microsoft.com repo's /metadata folder allows onboarding of +packages which have not released to a central package manager. + +* Use packages in the Azure/azure-sdk metadata CSV where New == true and + Hide != true +* Add metadata from files in the metadata/ folder to the CSV metadata +* Onboard new packages, update existing tracked packages, leave other packages + in place. (This is implemented on a per-language basis by + $UpdateDocsMsPackagesFn) + +.PARAMETER DocRepoLocation +Location of the docs.microsoft.com reference docs repo. + +#> param ( [Parameter(Mandatory = $true)] $DocRepoLocation # the location of the cloned doc repo @@ -12,8 +26,93 @@ param ( . (Join-Path $PSScriptRoot common.ps1) -function GetDocsMetadata() { - (Get-CSVMetadata).Where({ $_.New -eq 'true' -and $_.Hide -ne 'true' }) +function GetDocsMetadataForMoniker($moniker) { + $searchPath = Join-Path $DocRepoLocation 'metadata' $moniker + if (!(Test-Path $searchPath)) { + return @() + } + $paths = Get-ChildItem -Path $searchPath -Filter *.json + + $metadata = @() + foreach ($path in $paths) { + $fileContents = Get-Content $path -Raw + $fileObject = ConvertFrom-Json -InputObject $fileContents + $versionGa = '' + $versionPreview = '' + if ($moniker -eq 'latest') { + $versionGa = $fileObject.Version + } else { + $versionPreview = $fileObject.Version + } + + $metadata += @{ + Package = $fileObject.Name; + VersionGA = $versionGa; + VersionPreview = $versionPreview; + RepoPath = $fileObject.ServiceDirectory; + Type = $fileObject.SdkType; + New = $fileObject.IsNewSdk; + } + } + + return $metadata +} +function GetDocsMetadata() { + # Read metadata from CSV + $csvMetadata = (Get-CSVMetadata).Where({ $_.New -eq 'true' -and $_.Hide -ne 'true' }) + + # Read metadata from docs repo + $metadataByPackage = @{} + foreach ($package in GetDocsMetadataForMoniker 'latest') { + if ($metadataByPackage.ContainsKey($package.Package)) { + LogWarning "Duplicate package in latest metadata: $($package.Package)" + } + Write-Host "Adding latest package: $($package.Package)" + $metadataByPackage[$package.Package] = $package + } + + foreach ($package in GetDocsMetadataForMoniker 'preview') { + if ($metadataByPackage.ContainsKey($package.Package)) { + # Merge VersionPreview of each object + Write-Host "Merging preview package version for $($package.Package))" + $metadataByPackage[$package.Package].VersionPreview = $package.VersionPreview + } else { + Write-Host "Adding preview package: $($package.Package)" + $metadataByPackage[$package.Package] = $package + } + } + + # Override CSV metadata version information before returning + $outputMetadata = @() + foreach ($item in $csvMetadata) { + if ($metadataByPackage.ContainsKey($item.Package)) { + Write-Host "Overriding CSV metadata from docs repo for $($item.Package)" + $matchingPackage = $metadataByPackage[$item.Package] + + # Only update the version from metadata present in the docs repo IF there + # is a specified version. The absence of package metadata in the docs repo + # (e.g. no GA version) does not imply that the CSV metadata is incorrect. + if ($matchingPackage.VersionGA) { + $item.VersionGA = $matchingPackage.VersionGA + } + if ($matchingPackage.VersionPreview) { + $item.VersionPreview = $matchingPackage.VersionPreview + } + } + $outputMetadata += $item + } + + # Add entries present in the docs repo which are not present in CSV. These are + # usually packages which have not yet published a preview or GA version. + foreach ($item in $metadataByPackage.Values) { + $matchingPackagesInCsvMetadata = $csvMetadata.Where({ $_.Package -eq $item.Package }) + if (!$matchingPackagesInCsvMetadata) { + Write-Host "Adding package from docs metadata that is not found in CSV metadata: $($item.Package)" + $outputMetadata += $item + } + } + + return $outputMetadata } if ($UpdateDocsMsPackagesFn -and (Test-Path "Function:$UpdateDocsMsPackagesFn")) { diff --git a/eng/common/scripts/common.ps1 b/eng/common/scripts/common.ps1 index b92235c208f9..4e0b0847cdbf 100644 --- a/eng/common/scripts/common.ps1 +++ b/eng/common/scripts/common.ps1 @@ -40,5 +40,7 @@ $GetPackageInfoFromRepoFn = "Get-${Language}-PackageInfoFromRepo" $GetPackageInfoFromPackageFileFn = "Get-${Language}-PackageInfoFromPackageFile" $PublishGithubIODocsFn = "Publish-${Language}-GithubIODocs" $UpdateDocsMsPackagesFn = "Update-${Language}-DocsMsPackages" +$GetDocsMsMetadataForPackageFn = "Get-${Language}-DocsMsMetadataForPackage" +$GetDocsMsDevLanguageSpecificPackageInfoFn = "Get-${Language}-DocsMsDevLanguageSpecificPackageInfo" $GetGithubIoDocIndexFn = "Get-${Language}-GithubIoDocIndex" $FindArtifactForApiReviewFn = "Find-${Language}-Artifacts-For-Apireview" From 702007a91a101869d6215dacf5fcf4d4f5f8cc45 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Wed, 30 Jun 2021 08:57:11 -0700 Subject: [PATCH 093/134] [core] - Update release dates for July Release (#16069) This PR just updates the release dates for core releases that I plan to release: - @azure/core-tracing - @azure/core-http - @azure/core-rest-pipeline - @azure/core-client - @azure/core-lro - @azure/core-auth --- sdk/core/core-auth/CHANGELOG.md | 2 +- sdk/core/core-client/CHANGELOG.md | 2 +- sdk/core/core-http/CHANGELOG.md | 2 +- sdk/core/core-lro/CHANGELOG.md | 2 +- sdk/core/core-rest-pipeline/CHANGELOG.md | 2 +- sdk/core/core-tracing/CHANGELOG.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/core/core-auth/CHANGELOG.md b/sdk/core/core-auth/CHANGELOG.md index 8babbff10b65..e0817d8a22e6 100644 --- a/sdk/core/core-auth/CHANGELOG.md +++ b/sdk/core/core-auth/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.3.1 (Unreleased) +## 1.3.1 (2021-06-30) ## 1.3.0 (2021-03-30) diff --git a/sdk/core/core-client/CHANGELOG.md b/sdk/core/core-client/CHANGELOG.md index 1fbe0479458f..d9565a5221ee 100644 --- a/sdk/core/core-client/CHANGELOG.md +++ b/sdk/core/core-client/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.2.0 (UNRELEASED) +## 1.2.0 (2021-06-30) ### Features Added diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index 7163b4275fc6..10db2bf0c5b9 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.0.0 (Unreleased) +## 2.0.0 (2021-06-30) ### Features Added diff --git a/sdk/core/core-lro/CHANGELOG.md b/sdk/core/core-lro/CHANGELOG.md index 60dca1cffbdc..125462933aee 100644 --- a/sdk/core/core-lro/CHANGELOG.md +++ b/sdk/core/core-lro/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.0.0 (Unreleased) +## 2.0.0 (2021-06-30) ### New Features diff --git a/sdk/core/core-rest-pipeline/CHANGELOG.md b/sdk/core/core-rest-pipeline/CHANGELOG.md index 2fc48a81256d..7e390b51db1b 100644 --- a/sdk/core/core-rest-pipeline/CHANGELOG.md +++ b/sdk/core/core-rest-pipeline/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.1.0 (Unreleased) +## 1.1.0 (2021-06-30) ### Fixed diff --git a/sdk/core/core-tracing/CHANGELOG.md b/sdk/core/core-tracing/CHANGELOG.md index a309dea716be..b77e8e9407d0 100644 --- a/sdk/core/core-tracing/CHANGELOG.md +++ b/sdk/core/core-tracing/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.0.0-preview.12 (Unreleased) +## 1.0.0-preview.12 (2021-06-30) - Update `@opentelemetry/api` to version 1.0.0 [PR #15883](https://github.com/Azure/azure-sdk-for-js/pull/15883) From bbd295a9afba9771f5c736c60e4772a0b4720478 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Jun 2021 09:20:34 -0700 Subject: [PATCH 094/134] Update devops workitem helpers (#16083) - Switch to using rest instead of cli for querying work items as cli is limited to 1000 items only. - Fix issues with Generated fields not being set. - Correctly sort older workitems by version isntead of string. Co-authored-by: Wes Haggard --- .../Helpers/DevOps-WorkItem-Helpers.ps1 | 141 +++++++++++++----- 1 file changed, 105 insertions(+), 36 deletions(-) diff --git a/eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 b/eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 index 3897cfa816a9..aca34080da46 100644 --- a/eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 +++ b/eng/common/scripts/Helpers/DevOps-WorkItem-Helpers.ps1 @@ -12,6 +12,77 @@ function Invoke-AzBoardsCmd($subCmd, $parameters, $output = $true) return Invoke-Expression "$azCmdStr" | ConvertFrom-Json -AsHashTable } +function Invoke-Query($fields, $wiql, $output = $true) +{ + #POST https://dev.azure.com/{organization}/{project}/{team}/_apis/wit/wiql?timePrecision={timePrecision}&$top={$top}&api-version=6.1-preview.2 + + $body = @" +{ + "query": "$wiql" +} +"@ + + if ($output) { + Write-Host "Executing query $wiql" + } + + $headers = $null + if (Get-Variable -Name "devops_pat" -ValueOnly -ErrorAction "Ignore") + { + $encodedToken = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes([string]::Format("{0}:{1}", "", $devops_pat))) + $headers = @{ Authorization = "Basic $encodedToken" } + } + else + { + # Get a temp access token from the logged in az cli user for azure devops resource + $jwt_accessToken = (az account get-access-token --resource "499b84ac-1321-427f-aa17-267ca6975798" --query "accessToken" --output tsv) + $headers = @{ Authorization = "Bearer $jwt_accessToken" } + } + $response = Invoke-RestMethod -Method POST ` + -Uri "https://dev.azure.com/azure-sdk/Release/_apis/wit/wiql/?`$top=10000&api-version=6.0" ` + -Headers $headers -Body $body -ContentType "application/json" | ConvertTo-Json -Depth 10 | ConvertFrom-Json -AsHashTable + + if (!$response.workItems) { + Write-Verbose "Query returned no items. $wiql" + return ,@() + } + + $workItems = @() + $i = 0 + do + { + $idBatch = @() + while ($idBatch.Count -lt 200 -and $i -lt $response.workItems.Count) + { + $idBatch += $response.workItems[$i].id + $i++ + } + + $uri = "https://dev.azure.com/azure-sdk/Release/_apis/wit/workitems?ids=$($idBatch -join ',')&fields=$($fields -join ',')&api-version=6.0" + + Write-Verbose "Pulling work items $uri " + + $batchResponse = Invoke-RestMethod -Method GET -Uri $uri ` + -Headers $headers -ContentType "application/json" -MaximumRetryCount 3 | ConvertTo-Json -Depth 10 | ConvertFrom-Json -AsHashTable + + if ($batchResponse.value) + { + $batchResponse.value | % { $workItems += $_ } + } + else + { + Write-Warning "Batch return no items from $uri" + } + } + while ($i -lt $response.workItems.Count) + + if ($output) { + Write-Host "Query return $($workItems.Count) items" + } + + return $workItems +} + function LoginToAzureDevops([string]$devops_pat) { if (!$devops_pat) { @@ -64,13 +135,14 @@ function FindParentWorkItem($serviceName, $packageDisplayName, $outputCommand = $serviceCondition = "[ServiceName] <> ''" } - $parameters = $ReleaseDevOpsCommonParametersWithProject - $parameters += "--wiql" - $parameters += "`"SELECT [ID], [ServiceName], [PackageDisplayName], [Parent] FROM WorkItems WHERE [Work Item Type] = 'Epic' AND ${serviceCondition}`"" + $query = "SELECT [ID], [ServiceName], [PackageDisplayName], [Parent] FROM WorkItems WHERE [Work Item Type] = 'Epic' AND ${serviceCondition}" - $workItems = Invoke-AzBoardsCmd "query" $parameters $outputCommand + $fields = @("System.Id", "Custom.ServiceName", "Custom.PackageDisplayName", "System.Parent") - foreach ($wi in $workItems) { + $workItems = Invoke-Query $fields $query $outputCommand + + foreach ($wi in $workItems) + { $localKey = BuildHashKey $wi.fields["Custom.ServiceName"] $wi.fields["Custom.PackageDisplayName"] if (!$localKey) { continue } if ($parentWorkItems.ContainsKey($localKey) -and $parentWorkItems[$localKey].id -ne $wi.id) { @@ -107,9 +179,7 @@ function FindLatestPackageWorkItem($lang, $packageName, $outputCommand = $true) continue } - # Note this only does string sorting which is enough for our current usages - # if we need absolute sorting at some point we would need to parse these versions - if ($wi.fields["Custom.PackageVersionMajorMinor"] -gt $latestWI.fields["Custom.PackageVersionMajorMinor"]) { + if (($wi.fields["Custom.PackageVersionMajorMinor"] -as [Version]) -gt ($latestWI.fields["Custom.PackageVersionMajorMinor"] -as [Version])) { $latestWI = $wi } } @@ -124,26 +194,26 @@ function FindPackageWorkItem($lang, $packageName, $version, $outputCommand = $tr } $fields = @() - $fields += "ID" - $fields += "State" + $fields += "System.ID" + $fields += "System.State" $fields += "System.AssignedTo" - $fields += "Parent" - $fields += "Language" - $fields += "Package" - $fields += "PackageDisplayName" - $fields += "Title" - $fields += "PackageType" - $fields += "PackageTypeNewLibrary" - $fields += "PackageVersionMajorMinor" - $fields += "PackageRepoPath" - $fields += "ServiceName" - $fields += "Planned Packages" - $fields += "Shipped Packages" - $fields += "PackageBetaVersions" - $fields += "PackageGAVersion" - $fields += "PackagePatchVersions" - $fields += "Generated" - $fields += "RoadmapState" + $fields += "System.Parent" + $fields += "Custom.Language" + $fields += "Custom.Package" + $fields += "Custom.PackageDisplayName" + $fields += "System.Title" + $fields += "Custom.PackageType" + $fields += "Custom.PackageTypeNewLibrary" + $fields += "Custom.PackageVersionMajorMinor" + $fields += "Custom.PackageRepoPath" + $fields += "Custom.ServiceName" + $fields += "Custom.PlannedPackages" + $fields += "Custom.ShippedPackages" + $fields += "Custom.PackageBetaVersions" + $fields += "Custom.PackageGAVersion" + $fields += "Custom.PackagePatchVersions" + $fields += "Custom.Generated" + $fields += "Custom.RoadmapState" $fieldList = ($fields | ForEach-Object { "[$_]"}) -join ", " $query = "SELECT ${fieldList} FROM WorkItems WHERE [Work Item Type] = 'Package'" @@ -160,14 +230,8 @@ function FindPackageWorkItem($lang, $packageName, $version, $outputCommand = $tr if ($version) { $query += " AND [PackageVersionMajorMinor] = '${version}'" } - $parameters = $ReleaseDevOpsCommonParametersWithProject - $parameters += "--wiql", "`"${query}`"" - - $workItems = Invoke-AzBoardsCmd "query" $parameters $outputCommand - if ($workItems -and $workItems.Count -eq 1000) { - Write-Warning "Retrieved the max of 1000 items so item list might not be complete." - } + $workItems = Invoke-Query $fields $query $outputCommand foreach ($wi in $workItems) { @@ -316,8 +380,13 @@ function FindOrCreateClonePackageWorkItem($lang, $pkg, $verMajorMinor, $allowPro $pkg.RepoPath = $pkg.fields["Custom.PackageRepoPath"] } - $extraFields += "`"Generated=" + $latestVersionItem.fields["Custom.Generated"] + "`"" - $extraFields += "`"RoadmapState=" + $latestVersionItem.fields["Custom.RoadmapState"] + "`"" + if ($latestVersionItem.fields["Custom.Generated"]) { + $extraFields += "`"Generated=" + $latestVersionItem.fields["Custom.Generated"] + "`"" + } + + if ($latestVersionItem.fields["Custom.RoadmapState"]) { + $extraFields += "`"RoadmapState=" + $latestVersionItem.fields["Custom.RoadmapState"] + "`"" + } } if ($allowPrompt) { From 19d0e7681c061771789f0ef2b2d049d4cbe91607 Mon Sep 17 00:00:00 2001 From: chradek <51000525+chradek@users.noreply.github.com> Date: Wed, 30 Jun 2021 10:38:39 -0700 Subject: [PATCH 095/134] [event-hubs] add AmqpAnnotatedMessage support (#15939) * [event-hubs] add AmqpAnnotatedMessage support * undo experimental deletion of decode method from service bus * address feedback --- sdk/eventhub/event-hubs/CHANGELOG.md | 8 +- sdk/eventhub/event-hubs/package.json | 1 + .../event-hubs/review/event-hubs.api.md | 12 +- .../event-hubs/src/dataTransformer.ts | 143 ++++++-- .../src/diagnostics/instrumentEventData.ts | 26 +- sdk/eventhub/event-hubs/src/eventData.ts | 183 ++++++++-- sdk/eventhub/event-hubs/src/eventDataBatch.ts | 15 +- .../event-hubs/src/eventHubProducerClient.ts | 8 +- .../event-hubs/src/eventHubReceiver.ts | 18 +- sdk/eventhub/event-hubs/src/eventHubSender.ts | 2 - .../event-hubs/test/internal/amqp.spec.ts | 61 ++++ .../test/internal/dataTransformer.spec.ts | 344 +++++++++++++----- .../test/internal/eventdata.spec.ts | 141 ++++++- .../event-hubs/test/internal/misc.spec.ts | 11 +- .../test/internal/partitionPump.spec.ts | 5 +- .../test/public/amqpAnnotatedMessage.spec.ts | 296 +++++++++++++++ .../event-hubs/test/public/eventData.spec.ts | 132 +++++++ 17 files changed, 1228 insertions(+), 178 deletions(-) create mode 100644 sdk/eventhub/event-hubs/test/internal/amqp.spec.ts create mode 100644 sdk/eventhub/event-hubs/test/public/amqpAnnotatedMessage.spec.ts create mode 100644 sdk/eventhub/event-hubs/test/public/eventData.spec.ts diff --git a/sdk/eventhub/event-hubs/CHANGELOG.md b/sdk/eventhub/event-hubs/CHANGELOG.md index 9b800f2596c0..7ca515b854e4 100644 --- a/sdk/eventhub/event-hubs/CHANGELOG.md +++ b/sdk/eventhub/event-hubs/CHANGELOG.md @@ -3,13 +3,19 @@ ## 5.6.0 (Unreleased) ### Features Added + - With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. +- Adds the `contentType`, `correlationId`, and `messageId` AMQP properties as top-level fields on `EventData` and `ReceivedEventData`. + +- Enable encoding the body of a message to the 'value' or 'sequence' sections (via AmqpAnnotatedMessage.bodyType). Using this encoding is not required but does allow you to take advantage of native AMQP serialization for supported primitives or sequences. + + More information about the AMQP message body type can be found in the AMQP specification: [link](https://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#section-message-format) + ### Breaking Changes ### Key Bugs Fixed - ## 5.5.2 (2021-06-10) ### Bug fixes diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index f32080899c6f..953a510a95a0 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -145,6 +145,7 @@ "assert": "^1.4.1", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", + "chai-exclude": "^2.0.2", "chai-string": "^1.5.0", "cross-env": "^7.0.2", "debug": "^4.1.1", diff --git a/sdk/eventhub/event-hubs/review/event-hubs.api.md b/sdk/eventhub/event-hubs/review/event-hubs.api.md index 9f25e798454b..45d801b43ce8 100644 --- a/sdk/eventhub/event-hubs/review/event-hubs.api.md +++ b/sdk/eventhub/event-hubs/review/event-hubs.api.md @@ -5,6 +5,7 @@ ```ts import { AbortSignalLike } from '@azure/abort-controller'; +import { AmqpAnnotatedMessage } from '@azure/core-amqp'; import { MessagingError } from '@azure/core-amqp'; import { NamedKeyCredential } from '@azure/core-auth'; import { OperationTracingOptions } from '@azure/core-tracing'; @@ -54,6 +55,9 @@ export const earliestEventPosition: EventPosition; // @public export interface EventData { body: any; + contentType?: string; + correlationId?: string | number | Buffer; + messageId?: string | number | Buffer; properties?: { [key: string]: any; }; @@ -72,7 +76,7 @@ export interface EventDataBatch { // @internal readonly partitionKey?: string; readonly sizeInBytes: number; - tryAdd(eventData: EventData, options?: TryAddOptions): boolean; + tryAdd(eventData: EventData | AmqpAnnotatedMessage, options?: TryAddOptions): boolean; } // @public @@ -129,7 +133,7 @@ export class EventHubProducerClient { getEventHubProperties(options?: GetEventHubPropertiesOptions): Promise; getPartitionIds(options?: GetPartitionIdsOptions): Promise>; getPartitionProperties(partitionId: string, options?: GetPartitionPropertiesOptions): Promise; - sendBatch(batch: EventData[], options?: SendBatchOptions): Promise; + sendBatch(batch: EventData[] | AmqpAnnotatedMessage[], options?: SendBatchOptions): Promise; sendBatch(batch: EventDataBatch, options?: OperationOptions): Promise; } @@ -239,7 +243,11 @@ export type ProcessInitializeHandler = (context: PartitionContext) => Promise Constants.maxMessageIdLength + ) { + throw new Error( + `Length of 'messageId' property on the event cannot be greater than ${Constants.maxMessageIdLength} characters.` + ); + } + rheaMessage.message_id = data.messageId; + } } - return msg; + return rheaMessage; } /** @@ -240,6 +323,29 @@ export interface EventData { * cross-language compatibility. */ body: any; + + /** + * The content type of the message. Optionally describes + * the payload of the message, with a descriptor following the format of RFC2045, Section 5, for + * example "application/json". + */ + contentType?: string; + + /** + * The correlation identifier that allows an + * application to specify a context for the message for the purposes of correlation, for example + * reflecting the MessageId of a message that is being replied to. + */ + correlationId?: string | number | Buffer; + + /** + * The message identifier is an + * application-defined value that uniquely identifies the message and its payload. + * + * Note: Numbers that are not whole integers are not allowed. + */ + messageId?: string | number | Buffer; + /** * Set of key value pairs that can be used to set properties specific to user application. */ @@ -287,6 +393,41 @@ export interface ReceivedEventData { systemProperties?: { [key: string]: any; }; + + /** + * The content type of the message. Optionally describes + * the payload of the message, with a descriptor following the format of RFC2045, Section 5, for + * example "application/json". + */ + contentType?: string; + + /** + * The correlation identifier that allows an + * application to specify a context for the message for the purposes of correlation, for example + * reflecting the MessageId of a message that is being replied to. + */ + correlationId?: string | number | Buffer; + + /** + * The message identifier is an + * application-defined value that uniquely identifies the message and its payload. + */ + messageId?: string | number | Buffer; + + /** + * Returns the underlying raw amqp message. + */ + getRawAmqpMessage(): AmqpAnnotatedMessage; +} + +/** + * @internal + */ +export function isAmqpAnnotatedMessage(possible: unknown): possible is AmqpAnnotatedMessage { + return ( + isObjectWithProperties(possible, ["body", "bodyType"]) && + !objectHasProperty(possible, "getRawAmqpMessage") + ); } /** diff --git a/sdk/eventhub/event-hubs/src/eventDataBatch.ts b/sdk/eventhub/event-hubs/src/eventDataBatch.ts index 9d1e17821126..dcd16a6c97b1 100644 --- a/sdk/eventhub/event-hubs/src/eventDataBatch.ts +++ b/sdk/eventhub/event-hubs/src/eventDataBatch.ts @@ -1,14 +1,14 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import { EventData, toRheaMessage } from "./eventData"; +import { EventData, isAmqpAnnotatedMessage, toRheaMessage } from "./eventData"; import { ConnectionContext } from "./connectionContext"; import { MessageAnnotations, message, Message as RheaMessage } from "rhea-promise"; import { throwTypeErrorIfParameterMissing } from "./util/error"; +import { AmqpAnnotatedMessage } from "@azure/core-amqp"; import { Span, SpanContext } from "@azure/core-tracing"; import { TRACEPARENT_PROPERTY, instrumentEventData } from "./diagnostics/instrumentEventData"; import { convertTryAddOptionsForCompatibility, createMessageSpan } from "./diagnostics/tracing"; -import { defaultDataTransformer } from "./dataTransformer"; import { isDefined, isObjectWithProperties } from "./util/typeGuards"; import { OperationTracingOptions } from "@azure/core-tracing"; @@ -106,10 +106,10 @@ export interface EventDataBatch { * **NOTE**: Always remember to check the return value of this method, before calling it again * for the next event. * - * @param eventData - An individual event data object. + * @param eventData - An individual event data object or AmqpAnnotatedMessage. * @returns A boolean value indicating if the event data has been added to the batch or not. */ - tryAdd(eventData: EventData, options?: TryAddOptions): boolean; + tryAdd(eventData: EventData | AmqpAnnotatedMessage, options?: TryAddOptions): boolean; /** * The AMQP message containing encoded events that were added to the batch. @@ -284,13 +284,15 @@ export class EventDataBatchImpl implements EventDataBatch { * @param eventData - An individual event data object. * @returns A boolean value indicating if the event data has been added to the batch or not. */ - public tryAdd(eventData: EventData, options: TryAddOptions = {}): boolean { + public tryAdd(eventData: EventData | AmqpAnnotatedMessage, options: TryAddOptions = {}): boolean { throwTypeErrorIfParameterMissing(this._context.connectionId, "tryAdd", "eventData", eventData); options = convertTryAddOptionsForCompatibility(options); // check if the event has already been instrumented const previouslyInstrumented = Boolean( - eventData.properties && eventData.properties[TRACEPARENT_PROPERTY] + (isAmqpAnnotatedMessage(eventData) + ? eventData.applicationProperties + : eventData.properties)?.[TRACEPARENT_PROPERTY] // Event Data maps properties to applicationProperties. ); let spanContext: SpanContext | undefined; if (!previouslyInstrumented) { @@ -302,7 +304,6 @@ export class EventDataBatchImpl implements EventDataBatch { // Convert EventData to RheaMessage. const amqpMessage = toRheaMessage(eventData, this._partitionKey); - amqpMessage.body = defaultDataTransformer.encode(eventData.body); const encodedMessage = message.encode(amqpMessage); let currentSize = this._sizeInBytes; diff --git a/sdk/eventhub/event-hubs/src/eventHubProducerClient.ts b/sdk/eventhub/event-hubs/src/eventHubProducerClient.ts index 78ade573fdc1..72bd6d1c9c72 100644 --- a/sdk/eventhub/event-hubs/src/eventHubProducerClient.ts +++ b/sdk/eventhub/event-hubs/src/eventHubProducerClient.ts @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +import { AmqpAnnotatedMessage } from "@azure/core-amqp"; import { NamedKeyCredential, SASCredential, TokenCredential } from "@azure/core-auth"; import { SpanStatusCode, Link, Span, SpanContext, SpanKind } from "@azure/core-tracing"; import { ConnectionContext, createConnectionContext } from "./connectionContext"; @@ -226,7 +227,7 @@ export class EventHubProducerClient { * await client.sendBatch(messages); * ``` * - * @param batch - An array of {@link EventData}. + * @param batch - An array of {@link EventData} or `AmqpAnnotatedMessage`. * @param options - A set of options that can be specified to influence the way in which * events are sent to the associated Event Hub. * - `abortSignal` : A signal the request to cancel the send operation. @@ -238,7 +239,10 @@ export class EventHubProducerClient { * @throws MessagingError if an error is encountered while sending a message. * @throws Error if the underlying connection or sender has been closed. */ - async sendBatch(batch: EventData[], options?: SendBatchOptions): Promise; + async sendBatch( + batch: EventData[] | AmqpAnnotatedMessage[], + options?: SendBatchOptions + ): Promise; /** * Sends a batch of events to the associated Event Hub. * diff --git a/sdk/eventhub/event-hubs/src/eventHubReceiver.ts b/sdk/eventhub/event-hubs/src/eventHubReceiver.ts index 7b3814280942..b0d97fe83b6b 100644 --- a/sdk/eventhub/event-hubs/src/eventHubReceiver.ts +++ b/sdk/eventhub/event-hubs/src/eventHubReceiver.ts @@ -25,7 +25,6 @@ import { ConnectionContext } from "./connectionContext"; import { LinkEntity } from "./linkEntity"; import { EventPosition, getEventPositionFilter } from "./eventPosition"; import { AbortError, AbortSignalLike } from "@azure/abort-controller"; -import { defaultDataTransformer } from "./dataTransformer"; import { getRetryAttemptTimeoutInMs } from "./util/retries"; /** @@ -224,15 +223,28 @@ export class EventHubReceiver extends LinkEntity { } const data: EventDataInternal = fromRheaMessage(context.message); + const rawMessage = data.getRawAmqpMessage(); const receivedEventData: ReceivedEventData = { - body: defaultDataTransformer.decode(context.message.body), + body: data.body, properties: data.properties, offset: data.offset!, sequenceNumber: data.sequenceNumber!, enqueuedTimeUtc: data.enqueuedTimeUtc!, partitionKey: data.partitionKey!, - systemProperties: data.systemProperties + systemProperties: data.systemProperties, + getRawAmqpMessage() { + return rawMessage; + } }; + if (data.correlationId != null) { + receivedEventData.correlationId = data.correlationId; + } + if (data.contentType != null) { + receivedEventData.contentType = data.contentType; + } + if (data.messageId != null) { + receivedEventData.messageId = data.messageId; + } this._checkpoint = receivedEventData.sequenceNumber; diff --git a/sdk/eventhub/event-hubs/src/eventHubSender.ts b/sdk/eventhub/event-hubs/src/eventHubSender.ts index e79ec67200bc..441336530f99 100644 --- a/sdk/eventhub/event-hubs/src/eventHubSender.ts +++ b/sdk/eventhub/event-hubs/src/eventHubSender.ts @@ -30,7 +30,6 @@ import { SendOptions } from "./models/public"; import { getRetryAttemptTimeoutInMs } from "./util/retries"; import { AbortSignalLike } from "@azure/abort-controller"; import { EventDataBatch, isEventDataBatch } from "./eventDataBatch"; -import { defaultDataTransformer } from "./dataTransformer"; /** * Describes the EventHubSender that will send event data to EventHub. @@ -259,7 +258,6 @@ export class EventHubSender extends LinkEntity { // Convert EventData to RheaMessage. for (let i = 0; i < events.length; i++) { const rheaMessage = toRheaMessage(events[i], partitionKey); - rheaMessage.body = defaultDataTransformer.encode(events[i].body); messages[i] = rheaMessage; } // Encode every amqp message and then convert every encoded message to amqp data section diff --git a/sdk/eventhub/event-hubs/test/internal/amqp.spec.ts b/sdk/eventhub/event-hubs/test/internal/amqp.spec.ts new file mode 100644 index 000000000000..24e9c33c4512 --- /dev/null +++ b/sdk/eventhub/event-hubs/test/internal/amqp.spec.ts @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import chai from "chai"; +import { Constants } from "@azure/core-amqp"; +import { fromRheaMessage, isAmqpAnnotatedMessage } from "../../src/eventData"; +const assert = chai.assert; + +describe("AMQP message encoding", () => { + it("isAmqpAnnotatedMessage", () => { + assert.isFalse(isAmqpAnnotatedMessage({})); + assert.isFalse(isAmqpAnnotatedMessage({ body: "hello world" })); + assert.isFalse( + isAmqpAnnotatedMessage( + fromRheaMessage({ + message_annotations: { + [Constants.enqueuedTime]: Date.now() + }, + body: undefined + }) + ) + ); + + assert.isTrue( + isAmqpAnnotatedMessage( + fromRheaMessage({ + message_annotations: { + [Constants.enqueuedTime]: Date.now() + }, + body: undefined + }).getRawAmqpMessage() + ) + ); + + assert.isTrue( + isAmqpAnnotatedMessage({ + body: "hello world", + bodyType: "sequence" + }) + ); + assert.isTrue( + isAmqpAnnotatedMessage({ + body: "hello world", + bodyType: "value" + }) + ); + assert.isTrue( + isAmqpAnnotatedMessage({ + body: "hello world", + bodyType: "data" + }) + ); + + assert.isTrue( + isAmqpAnnotatedMessage({ + body: "hello world", + bodyType: undefined // the property _must_ exist, but undefined is fine. We'll default to 'data' + }) + ); + }); +}); diff --git a/sdk/eventhub/event-hubs/test/internal/dataTransformer.spec.ts b/sdk/eventhub/event-hubs/test/internal/dataTransformer.spec.ts index 45df00a6fe1e..14257983e175 100644 --- a/sdk/eventhub/event-hubs/test/internal/dataTransformer.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/dataTransformer.spec.ts @@ -41,155 +41,317 @@ describe("DataTransformer", function() { const hexBufferBody: Buffer = Buffer.from("7468697320697320612074c3a97374", "hex"); const transformer = defaultDataTransformer; - it("should correctly encode/decode a string message body", function(done) { - const encoded: any = transformer.encode(stringBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - decoded.should.equal(stringBody); - done(); - }); + describe(`encoded bodyType: "data"`, () => { + const bodyType = "data"; - it("should correctly encode/decode a number message body", function(done) { - const encoded: any = transformer.encode(numberBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - decoded.should.equal(numberBody); - done(); - }); + it("should correctly encode/decode a string message body", function(done) { + const encoded: any = transformer.encode(stringBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + (decoded as any).should.equal(stringBody); + done(); + }); - it("should correctly encode/decode a boolean message body", function(done) { - const encoded: any = transformer.encode(booleanBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - decoded.should.equal(booleanBody); - done(); - }); + it("should correctly encode/decode a number message body", function(done) { + const encoded: any = transformer.encode(numberBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + (decoded as any).should.equal(numberBody); + done(); + }); - it("should correctly encode/decode a null message body", function(done) { - const encoded: any = transformer.encode(nullBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - should.equal(decoded, nullBody); - done(); - }); + it("should correctly encode/decode a boolean message body", function(done) { + const encoded: any = transformer.encode(booleanBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + (decoded as any).should.equal(booleanBody); + done(); + }); - it("should correctly encode/decode an undefined message body", function(done) { - const encoded: any = transformer.encode(undefinedBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - should.equal(decoded, nullBody); - done(); - }); + it("should correctly encode/decode a null message body", function(done) { + const encoded: any = transformer.encode(nullBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(false); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + should.equal(decoded, nullBody); + done(); + }); - it("should correctly encode/decode an empty string message body", function(done) { - const encoded: any = transformer.encode(emptyStringBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - decoded.should.equal(emptyStringBody); - done(); - }); + it("should correctly encode/decode an undefined message body", function(done) { + const encoded: any = transformer.encode(undefinedBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(false); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + should.equal(decoded, nullBody); + done(); + }); - it("should correctly encode/decode an array message body", function(done) { - const encoded: any = transformer.encode(arrayBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - assert.deepEqual(decoded, arrayBody); - done(); - }); + it("should correctly encode/decode an empty string message body", function(done) { + const encoded: any = transformer.encode(emptyStringBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + (decoded as any).should.equal(emptyStringBody); + done(); + }); + + it("should correctly encode/decode an array message body", function(done) { + const encoded: any = transformer.encode(arrayBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, arrayBody); + done(); + }); + + it("should correctly encode/decode an object message body", function(done) { + const encoded: any = transformer.encode(objectBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, objectBody); + done(); + }); + + it("should correctly encode/decode a buffer message body", function(done) { + const encoded: any = transformer.encode(bufferBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, bufferBody); + done(); + }); - it("should correctly encode/decode an object message body", function(done) { - const encoded: any = transformer.encode(objectBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - assert.deepEqual(decoded, objectBody); - done(); + it("should correctly encode/decode a hex buffer message body", function(done) { + const encoded: any = transformer.encode(hexBufferBody, "data"); + encoded.typecode.should.equal(117); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, hexBufferBody); + done(); + }); }); - it("should correctly encode/decode a buffer message body", function(done) { - const encoded: any = transformer.encode(bufferBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - assert.deepEqual(decoded, bufferBody); - done(); + describe(`encoded bodyType: "value"`, () => { + const expectedTypeCode = 0x77; + const bodyType = "value"; + + it("should correctly encode/decode a string message body", function(done) { + const encoded: any = transformer.encode(stringBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + (decoded as any).should.equal(stringBody); + done(); + }); + + it("should correctly encode/decode a number message body", function(done) { + const encoded: any = transformer.encode(numberBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + (decoded as any).should.equal(numberBody); + done(); + }); + + it("should correctly encode/decode a boolean message body", function(done) { + const encoded: any = transformer.encode(booleanBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + (decoded as any).should.equal(booleanBody); + done(); + }); + + it("should correctly encode/decode a null message body", function(done) { + const encoded: any = transformer.encode(nullBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + should.equal(decoded, nullBody); + done(); + }); + + it("should correctly encode/decode an undefined message body", function(done) { + const encoded: any = transformer.encode(undefinedBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + should.equal(decoded, nullBody); + done(); + }); + + it("should correctly encode/decode an empty string message body", function(done) { + const encoded: any = transformer.encode(emptyStringBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + (decoded as any).should.equal(emptyStringBody); + done(); + }); + + it("should correctly encode/decode an array message body", function(done) { + const encoded: any = transformer.encode(arrayBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, arrayBody); + done(); + }); + + it("should correctly encode/decode an object message body", function(done) { + const encoded: any = transformer.encode(objectBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, objectBody); + done(); + }); + + it("should correctly encode/decode a buffer message body", function(done) { + const encoded: any = transformer.encode(bufferBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, bufferBody); + done(); + }); + + it("should correctly encode/decode a hex buffer message body", function(done) { + const encoded: any = transformer.encode(hexBufferBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + isBuffer(encoded.content).should.equal(true); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, hexBufferBody); + done(); + }); }); - it("should correctly encode/decode a hex buffer message body", function(done) { - const encoded: any = transformer.encode(hexBufferBody); - encoded.typecode.should.equal(117); - isBuffer(encoded.content).should.equal(true); - const decoded: any = transformer.decode(encoded); - assert.deepEqual(decoded, hexBufferBody); - done(); + describe(`encoded bodyType: "sequence"`, () => { + const expectedTypeCode = 0x76; + const bodyType = "sequence"; + + it("should correctly encode/decode a null message body", function(done) { + const encoded: any = transformer.encode(nullBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + should.equal(decoded, nullBody); + done(); + }); + + it("should correctly encode/decode an undefined message body", function(done) { + const encoded: any = transformer.encode(undefinedBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + should.equal(decoded, nullBody); + done(); + }); + + it("should correctly encode/decode an array message body", function(done) { + const encoded: any = transformer.encode(arrayBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, arrayBody); + done(); + }); + + it("should correctly encode/decode an object message body", function(done) { + const encoded: any = transformer.encode(objectBody, bodyType); + encoded.typecode.should.equal(expectedTypeCode); + const { body: decoded, bodyType: decodedType } = transformer.decode(encoded); + should.equal(decodedType, bodyType); + assert.deepEqual(decoded, objectBody); + done(); + }); }); describe("decode", function() { // It is possible that we receive an AMQP value type from the messages that were sent with // previously shipped version of the sdk. If so then we should be able to handle those scenarios. it("should correctly decode a string message body", function(done) { - const decoded: any = transformer.decode(stringBody); - decoded.should.equal(stringBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(stringBody); + should.equal(decodedType, "value"); + (decoded as any).should.equal(stringBody); done(); }); it("should correctly decode a number message body", function(done) { - const decoded: any = transformer.decode(numberBody); - decoded.should.equal(numberBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(numberBody); + should.equal(decodedType, "value"); + (decoded as any).should.equal(numberBody); done(); }); it("should correctly decode a boolean message body", function(done) { - const decoded: any = transformer.decode(booleanBody); - decoded.should.equal(booleanBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(booleanBody); + should.equal(decodedType, "value"); + (decoded as any).should.equal(booleanBody); done(); }); it("should correctly decode a null message body", function(done) { - const decoded: any = transformer.decode(nullBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(nullBody); + should.equal(decodedType, "value"); should.equal(decoded, nullBody); done(); }); it("should correctly decode an undefined message body", function(done) { - const decoded: any = transformer.decode(undefinedBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(undefinedBody); + should.equal(decodedType, "value"); should.equal(decoded, undefined); done(); }); it("should correctly decode an empty string message body", function(done) { - const decoded: any = transformer.decode(emptyStringBody); - decoded.should.equal(emptyStringBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(emptyStringBody); + should.equal(decodedType, "value"); + (decoded as any).should.equal(emptyStringBody); done(); }); it("should correctly decode an array message body", function(done) { - const decoded: any = transformer.decode(arrayBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(arrayBody); + should.equal(decodedType, "value"); assert.deepEqual(decoded, arrayBody); done(); }); it("should correctly decode an object message body", function(done) { - const decoded: any = transformer.decode(objectBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(objectBody); + should.equal(decodedType, "value"); assert.deepEqual(decoded, objectBody); done(); }); it("should correctly decode a buffer message body", function(done) { - const decoded: any = transformer.decode(bufferBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(bufferBody); + should.equal(decodedType, "data"); assert.deepEqual(decoded, bufferBody); done(); }); it("should correctly decode a hex buffer message body", function(done) { - const decoded: any = transformer.decode(hexBufferBody); + const { body: decoded, bodyType: decodedType } = transformer.decode(hexBufferBody); + should.equal(decodedType, "data"); assert.deepEqual(decoded, hexBufferBody); done(); }); diff --git a/sdk/eventhub/event-hubs/test/internal/eventdata.spec.ts b/sdk/eventhub/event-hubs/test/internal/eventdata.spec.ts index feef0349b359..a8b1bd7a76b8 100644 --- a/sdk/eventhub/event-hubs/test/internal/eventdata.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/eventdata.spec.ts @@ -1,11 +1,17 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import chai from "chai"; +import chai, { assert, should } from "chai"; chai.should(); -import { EventData, fromRheaMessage, toRheaMessage } from "../../src/eventData"; +import { EventData, fromRheaMessage, ReceivedEventData, toRheaMessage } from "../../src/eventData"; import { Message } from "rhea-promise"; +import { + dataSectionTypeCode, + sequenceSectionTypeCode, + valueSectionTypeCode +} from "../../src/dataTransformer"; +import { AmqpAnnotatedMessage } from "@azure/core-amqp"; const testAnnotations = { "x-opt-enqueued-time": Date.now(), @@ -44,6 +50,20 @@ describe("EventData", function(): void { testEventData.body.should.equal(testBody); }); + it("populates top-level fields", () => { + const testEventData = fromRheaMessage({ + ...testMessage, + ...{ content_type: "application/json", correlation_id: "cid", message_id: 1 } + }); + should().equal(testEventData.messageId, 1, "Unexpected messageId found."); + should().equal( + testEventData.contentType, + "application/json", + "Unexpected contentType found." + ); + should().equal(testEventData.correlationId, "cid", "Unexpected correlationId found."); + }); + describe("properties", function(): void { it("enqueuedTimeUtc gets the enqueued time from system properties", function(): void { const testEventData = fromRheaMessage(testMessage); @@ -171,14 +191,125 @@ describe("EventData", function(): void { }); }); }); - describe("toAmqpMessage", function(): void { - it("populates body with the message body", function(): void { - messageFromED.body.should.equal(testBody); + it("populates body with the message body encoded", function(): void { + const expectedTestBodyContents = Buffer.from(JSON.stringify(testBody)); + should().equal( + expectedTestBodyContents.equals(messageFromED.body.content), + true, + "Encoded body does not match expected result." + ); + should().equal( + messageFromED.body.typecode, + dataSectionTypeCode, + "Unexpected typecode encountered on body." + ); + }); + + it("populates top-level fields", () => { + const message = toRheaMessage({ + ...testSourceEventData, + ...{ contentType: "application/json", correlationId: "cid", messageId: 1 } + }); + should().equal(message.message_id, 1, "Unexpected message_id found."); + should().equal(message.content_type, "application/json", "Unexpected content_type found."); + should().equal(message.correlation_id, "cid", "Unexpected correlation_id found."); }); it("populates application_properties of the message", function(): void { messageFromED.application_properties!.should.equal(properties); }); + + it("AmqpAnnotatedMessage (explicit type)", () => { + const amqpAnnotatedMessage: AmqpAnnotatedMessage = { + body: "hello", + bodyType: "value" + }; + + const rheaMessage = toRheaMessage(amqpAnnotatedMessage); + + assert.equal(rheaMessage.body.typecode, valueSectionTypeCode); + }); + + it("AmqpAnnotatedMessage (implicit type)", () => { + const amqpAnnotatedMessage: AmqpAnnotatedMessage = { + body: "hello", + bodyType: undefined + }; + + const rheaMessage = toRheaMessage(amqpAnnotatedMessage); + + assert.equal(rheaMessage.body.typecode, dataSectionTypeCode); + }); + + it("EventData", () => { + const event: EventData = { + body: "hello" + }; + + const rheaMessage = toRheaMessage(event); + + assert.equal(rheaMessage.body.typecode, dataSectionTypeCode); + }); + + it("ReceivedEventData (sequence)", () => { + const event: ReceivedEventData = { + enqueuedTimeUtc: new Date(), + offset: 100, + partitionKey: null, + sequenceNumber: 1, + body: ["foo", "bar"], + getRawAmqpMessage() { + return { + body: this.body, + bodyType: "sequence" + }; + } + }; + + const rheaMessage = toRheaMessage(event); + + assert.equal(rheaMessage.body.typecode, sequenceSectionTypeCode); + }); + + it("ReceivedEventData (data)", () => { + const event: ReceivedEventData = { + enqueuedTimeUtc: new Date(), + offset: 100, + partitionKey: null, + sequenceNumber: 1, + body: ["foo", "bar"], + getRawAmqpMessage() { + return { + body: this.body, + bodyType: "data" + }; + } + }; + + const rheaMessage = toRheaMessage(event); + + assert.equal(rheaMessage.body.typecode, dataSectionTypeCode); + }); + + it("ReceivedEventData (value)", () => { + const event: ReceivedEventData = { + enqueuedTimeUtc: new Date(), + offset: 100, + partitionKey: null, + sequenceNumber: 1, + body: ["foo", "bar"], + getRawAmqpMessage() { + return { + body: this.body, + bodyType: "value" + }; + } + }; + + const rheaMessage = toRheaMessage(event); + + assert.equal(rheaMessage.body.typecode, valueSectionTypeCode); + }); }); }); diff --git a/sdk/eventhub/event-hubs/test/internal/misc.spec.ts b/sdk/eventhub/event-hubs/test/internal/misc.spec.ts index 7763ba6ffd50..4b82855c07c6 100644 --- a/sdk/eventhub/event-hubs/test/internal/misc.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/misc.spec.ts @@ -410,6 +410,9 @@ describe("extractSpanContextFromEventData", function() { partitionKey: null, properties: { [TRACEPARENT_PROPERTY]: `00-${traceId}-${spanId}-${flags}` + }, + getRawAmqpMessage() { + return {} as any; } }; @@ -437,6 +440,9 @@ describe("extractSpanContextFromEventData", function() { partitionKey: null, properties: { [TRACEPARENT_PROPERTY]: `99-${traceId}-${spanId}-${flags}` + }, + getRawAmqpMessage() { + return {} as any; } }; @@ -454,7 +460,10 @@ describe("extractSpanContextFromEventData", function() { enqueuedTimeUtc: new Date(), offset: 0, sequenceNumber: 0, - partitionKey: null + partitionKey: null, + getRawAmqpMessage() { + return {} as any; + } }; const spanContext = extractSpanContextFromEventData(eventData); diff --git a/sdk/eventhub/event-hubs/test/internal/partitionPump.spec.ts b/sdk/eventhub/event-hubs/test/internal/partitionPump.spec.ts index e3b0d5a02344..9538dd8f1827 100644 --- a/sdk/eventhub/event-hubs/test/internal/partitionPump.spec.ts +++ b/sdk/eventhub/event-hubs/test/internal/partitionPump.spec.ts @@ -73,7 +73,10 @@ describe("PartitionPump", () => { enqueuedTimeUtc: new Date(), offset: 0, partitionKey: null, - sequenceNumber: 0 + sequenceNumber: 0, + getRawAmqpMessage() { + return {} as any; + } }; const { tracer, resetTracer } = setTracerForTest(new TestTracer2()); diff --git a/sdk/eventhub/event-hubs/test/public/amqpAnnotatedMessage.spec.ts b/sdk/eventhub/event-hubs/test/public/amqpAnnotatedMessage.spec.ts new file mode 100644 index 000000000000..72c39e50b247 --- /dev/null +++ b/sdk/eventhub/event-hubs/test/public/amqpAnnotatedMessage.spec.ts @@ -0,0 +1,296 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import chai from "chai"; +import chaiAsPromised from "chai-as-promised"; +import chaiExclude from "chai-exclude"; +import { Buffer } from "buffer"; +import { AmqpAnnotatedMessage } from "@azure/core-amqp"; +import { v4 } from "uuid"; +import { EnvVarKeys, getEnvVars, getStartingPositionsForTests } from "./utils/testUtils"; +import { + EventHubConsumerClient, + EventHubProducerClient, + EventPosition, + ReceivedEventData, + Subscription +} from "../../src"; +import { BodyTypes } from "../../src/dataTransformer"; + +const should = chai.should(); +chai.use(chaiAsPromised); +chai.use(chaiExclude); +const assert = chai.assert; + +const env = getEnvVars(); + +describe("AmqpAnnotatedMessage", function(): void { + let producerClient: EventHubProducerClient; + let consumerClient: EventHubConsumerClient; + const service = { + connectionString: env[EnvVarKeys.EVENTHUB_CONNECTION_STRING], + path: env[EnvVarKeys.EVENTHUB_NAME] + }; + + before("validate environment", function(): void { + should.exist( + env[EnvVarKeys.EVENTHUB_CONNECTION_STRING], + "define EVENTHUB_CONNECTION_STRING in your environment before running integration tests." + ); + should.exist( + env[EnvVarKeys.EVENTHUB_NAME], + "define EVENTHUB_NAME in your environment before running integration tests." + ); + }); + + beforeEach(async () => { + producerClient = new EventHubProducerClient(service.connectionString, service.path); + consumerClient = new EventHubConsumerClient( + EventHubConsumerClient.defaultConsumerGroupName, + service.connectionString, + service.path + ); + }); + + afterEach("close the connection", async function(): Promise { + await producerClient.close(); + await consumerClient.close(); + }); + + function getSampleAmqpAnnotatedMessage(): AmqpAnnotatedMessage { + const randomTag = Math.random().toString(); + + return { + body: `message body ${randomTag}`, + bodyType: "data", + applicationProperties: { + propOne: 1, + propTwo: "two", + propThree: true, + propFour: Date() + }, + footer: { + propFooter: "foot" + }, + messageAnnotations: { propMsgAnnotate: "annotation" }, + properties: { + contentEncoding: "application/json; charset=utf-8", + correlationId: randomTag, + messageId: v4() + } + } as AmqpAnnotatedMessage; + } + + /** + * Helper function that will receive a single event that comes after the starting positions. + * + * Note: Call this after sending a single event to Event Hubs to validate + * @internal + */ + async function receiveEvent(startingPositions: { + [partitionId: string]: EventPosition; + }): Promise { + return new Promise((resolve, reject) => { + const subscription: Subscription = consumerClient.subscribe( + { + async processError(err) { + reject(err); + return subscription.close(); + }, + async processEvents(events) { + if (events.length) { + resolve(events[0]); + return subscription.close(); + } + } + }, + { + startPosition: startingPositions + } + ); + }); + } + + async function sendEvents(messages: AmqpAnnotatedMessage[], { useBatch }: { useBatch: boolean }) { + if (!useBatch) { + return producerClient.sendBatch(messages); + } + + const batch = await producerClient.createBatch(); + for (const message of messages) { + assert.isTrue(batch.tryAdd(message)); + } + + return producerClient.sendBatch(batch); + } + + describe("round-tripping AMQP encoding/decoding", () => { + [{ useBatch: true }, { useBatch: false }].forEach(({ useBatch }) => { + it(`props (useBatch: ${useBatch})`, async () => { + const startingPositions = await getStartingPositionsForTests(consumerClient); + const testMessage = getSampleAmqpAnnotatedMessage(); + await sendEvents([testMessage], { useBatch }); + + const event = await receiveEvent(startingPositions); + should.equal(event.body, testMessage.body, "Unexpected body on the received event."); + should.equal( + event.getRawAmqpMessage().messageAnnotations!["propMsgAnnotate"], + testMessage.messageAnnotations!["propMsgAnnotate"], + "Unexpected messageAnnotations on the received event." + ); + assert.deepEqualExcluding( + event.getRawAmqpMessage(), + testMessage, + ["deliveryAnnotations", "body", "messageAnnotations", "header", "properties"], + "Unexpected on the AmqpAnnotatedMessage" + ); + assert.deepEqualExcluding( + event.getRawAmqpMessage().footer!, + testMessage.footer!, + ["deliveryCount"], + "Unexpected header on the AmqpAnnotatedMessage" + ); + assert.deepEqualExcluding( + event.getRawAmqpMessage().properties!, + testMessage.properties!, + ["creationTime", "absoluteExpiryTime", "groupId"], + "Unexpected properties on the AmqpAnnotatedMessage" + ); + assert.equal( + event.getRawAmqpMessage().properties!.groupId, + testMessage.properties!.groupId, + "Unexpected session-id on the AmqpAnnotatedMessage" + ); + }); + + it(`values (useBatch: ${useBatch})`, async () => { + const valueTypes = [[1, 2, 3], 1, 1.5, "hello", { hello: "world" }]; + for (const valueType of valueTypes) { + const startingPositions = await getStartingPositionsForTests(consumerClient); + await sendEvents( + [ + { + body: valueType, + bodyType: "value" + } + ], + { useBatch } + ); + + const event = await receiveEvent(startingPositions); + assert.deepEqual( + event.getRawAmqpMessage().bodyType, + "value", + `Should be identified as a value: ${valueType.toString()}` + ); + + assert.deepEqual( + event.body, + valueType, + `Deserialized body should be equal: ${valueType.toString()}` + ); + } + }); + + it(`sequences (useBatch: ${useBatch})`, async () => { + const sequenceTypes = [ + [[1], [2], [3]], + [1, 2, 3] + ]; + + for (const sequenceType of sequenceTypes) { + const startingPositions = await getStartingPositionsForTests(consumerClient); + await sendEvents( + [ + { + body: sequenceType, + bodyType: "sequence" + } + ], + { useBatch } + ); + + const event = await receiveEvent(startingPositions); + assert.deepEqual( + event.getRawAmqpMessage().bodyType, + "sequence", + `Should be identified as a value: ${sequenceType.toString()}` + ); + + assert.deepEqual( + event.body, + sequenceType, + `Deserialized body should be equal: ${sequenceType.toString()}` + ); + } + }); + + it(`data (useBatch: ${useBatch})`, async () => { + const buff = Buffer.from("hello", "utf8"); + + const dataTypes = [1, 1.5, "hello", { hello: "world" }, buff, [1, 2, 3]]; + + for (const dataType of dataTypes) { + const startingPositions = await getStartingPositionsForTests(consumerClient); + await sendEvents( + [ + { + body: dataType, + bodyType: "data" + } + ], + { useBatch } + ); + + const event = await receiveEvent(startingPositions); + + assert.deepEqual( + event.getRawAmqpMessage().bodyType, + "data", + `Should be identified as data: ${dataType.toString()}` + ); + assert.deepEqual( + event.body, + dataType, + `Deserialized body should be equal: : ${dataType.toString()}` + ); + } + }); + + ([ + ["sequence", [1, 2, 3]], + ["value", "hello"], + ["data", "hello"] + ] as [BodyTypes, any][]).forEach(([expectedBodyType, expectedBody]) => { + it(`receive EventData and resend (useBatch: ${useBatch})`, async () => { + let startingPositions = await getStartingPositionsForTests(consumerClient); + // if we receive an event that was encoded to a non-data section + // and then re-send it (again, as an EventData) we should + // respect it. + await sendEvents( + [ + { + body: expectedBody, + bodyType: expectedBodyType + } + ], + { useBatch } + ); + + const event = await receiveEvent(startingPositions); + + assert.equal(event.getRawAmqpMessage().bodyType, expectedBodyType); + + startingPositions = await getStartingPositionsForTests(consumerClient); + // now let's just resend it, unaltered + await sendEvents([event], { useBatch }); + + const reencodedEvent = await receiveEvent(startingPositions); + + assert.equal(reencodedEvent.getRawAmqpMessage().bodyType, expectedBodyType); + assert.deepEqual(reencodedEvent.body, expectedBody); + }); + }); + }); + }); +}); diff --git a/sdk/eventhub/event-hubs/test/public/eventData.spec.ts b/sdk/eventhub/event-hubs/test/public/eventData.spec.ts new file mode 100644 index 000000000000..16105d656921 --- /dev/null +++ b/sdk/eventhub/event-hubs/test/public/eventData.spec.ts @@ -0,0 +1,132 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import chai from "chai"; +import chaiAsPromised from "chai-as-promised"; +import chaiExclude from "chai-exclude"; +import { v4 } from "uuid"; +import { EnvVarKeys, getEnvVars, getStartingPositionsForTests } from "./utils/testUtils"; +import { + EventData, + EventHubConsumerClient, + EventHubProducerClient, + EventPosition, + ReceivedEventData, + Subscription +} from "../../src"; + +const should = chai.should(); +chai.use(chaiAsPromised); +chai.use(chaiExclude); + +const env = getEnvVars(); + +describe("EventData", function(): void { + let producerClient: EventHubProducerClient; + let consumerClient: EventHubConsumerClient; + const service = { + connectionString: env[EnvVarKeys.EVENTHUB_CONNECTION_STRING], + path: env[EnvVarKeys.EVENTHUB_NAME] + }; + + before("validate environment", function(): void { + should.exist( + env[EnvVarKeys.EVENTHUB_CONNECTION_STRING], + "define EVENTHUB_CONNECTION_STRING in your environment before running integration tests." + ); + should.exist( + env[EnvVarKeys.EVENTHUB_NAME], + "define EVENTHUB_NAME in your environment before running integration tests." + ); + }); + + beforeEach(async () => { + producerClient = new EventHubProducerClient(service.connectionString, service.path); + consumerClient = new EventHubConsumerClient( + EventHubConsumerClient.defaultConsumerGroupName, + service.connectionString, + service.path + ); + }); + + afterEach("close the connection", async function(): Promise { + await producerClient.close(); + await consumerClient.close(); + }); + + function getSampleEventData(): EventData { + const randomTag = Math.random().toString(); + + return { + body: `message body ${randomTag}`, + contentEncoding: "application/json; charset=utf-8", + correlationId: randomTag, + messageId: v4() + } as EventData; + } + + /** + * Helper function that will receive a single event that comes after the starting positions. + * + * Note: Call this after sending a single event to Event Hubs to validate + * @internal + */ + async function receiveEvent(startingPositions: { + [partitionId: string]: EventPosition; + }): Promise { + return new Promise((resolve, reject) => { + const subscription: Subscription = consumerClient.subscribe( + { + async processError(err) { + reject(err); + return subscription.close(); + }, + async processEvents(events) { + if (events.length) { + resolve(events[0]); + return subscription.close(); + } + } + }, + { + startPosition: startingPositions + } + ); + }); + } + + describe("round-tripping AMQP encoding/decoding", () => { + it(`props`, async () => { + const startingPositions = await getStartingPositionsForTests(consumerClient); + const testEvent = getSampleEventData(); + await producerClient.sendBatch([testEvent]); + + const event = await receiveEvent(startingPositions); + should.equal(event.body, testEvent.body, "Unexpected body on the received event."); + should.equal( + event.contentType, + testEvent.contentType, + "Unexpected contentType on the received event." + ); + should.equal( + event.correlationId, + testEvent.correlationId, + "Unexpected correlationId on the received event." + ); + should.equal( + event.messageId, + testEvent.messageId, + "Unexpected messageId on the received event." + ); + }); + + it(`null body`, async () => { + const startingPositions = await getStartingPositionsForTests(consumerClient); + const testEvent: EventData = { body: null }; + await producerClient.sendBatch([testEvent]); + + const event = await receiveEvent(startingPositions); + should.equal(event.body, testEvent.body, "Unexpected body on the received event."); + }); + }); +}); From 39d2a80b404dbe9bfd1316ce32d45a5d69630024 Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Wed, 30 Jun 2021 11:35:43 -0700 Subject: [PATCH 096/134] update core-client version to 1.2.1 (#16109) See #16094 for details. This PR just updates core-client to 1.2.1 so I can release it --- sdk/core/core-client/CHANGELOG.md | 2 +- sdk/core/core-client/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/core/core-client/CHANGELOG.md b/sdk/core/core-client/CHANGELOG.md index d9565a5221ee..951fa6b0ba5a 100644 --- a/sdk/core/core-client/CHANGELOG.md +++ b/sdk/core/core-client/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.2.0 (2021-06-30) +## 1.2.1 (2021-06-30) ### Features Added diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index 83451f88acbb..4e8bb2652239 100644 --- a/sdk/core/core-client/package.json +++ b/sdk/core/core-client/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-client", - "version": "1.2.0", + "version": "1.2.1", "description": "Core library for interfacing with AutoRest generated code", "sdk-type": "client", "main": "dist/index.js", From 44ba53098bb2c679021b124fc1f580e9aa0c6bab Mon Sep 17 00:00:00 2001 From: Maor Leger Date: Wed, 30 Jun 2021 13:48:38 -0700 Subject: [PATCH 097/134] fix core-http changelog (#16116) The release pipeline complains if there are empty sections in the changelog. Removing the empty section to correct this and unblock core-http release. --- sdk/core/core-http/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index 10db2bf0c5b9..11f46c8f0d36 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -12,8 +12,6 @@ - Updated @azure/core-tracing to version `1.0.0-preview.12`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. -### Key Bugs Fixed - ### Fixed - Fixed an issue where `proxySettings` does not work when there is username but no password [Issue 15720](https://github.com/Azure/azure-sdk-for-js/issues/15720) From f143bcf7f00fcc256b76951e24fcda32dccee7f3 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Jun 2021 14:33:32 -0700 Subject: [PATCH 098/134] Sync eng/common directory with azure-sdk-tools for PR 1763 (#16091) * Disable release date check * Release check is not finding release date Co-authored-by: Praveen Kuttappan --- eng/common/scripts/Package-Properties.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/Package-Properties.ps1 b/eng/common/scripts/Package-Properties.ps1 index 622c5fd925aa..acbb66e9d2b9 100644 --- a/eng/common/scripts/Package-Properties.ps1 +++ b/eng/common/scripts/Package-Properties.ps1 @@ -52,7 +52,7 @@ class PackageProps $this.ChangeLogPath = Join-Path $directoryPath "CHANGELOG.md" # Get release date for current version and set in package property $changeLogEntry = Get-ChangeLogEntry -ChangeLogLocation $this.ChangeLogPath -VersionString $this.Version - if ($changeLogEntry -and !$changeLogEntry.ReleaseStatus) + if ($changeLogEntry -and $changeLogEntry.ReleaseStatus) { $this.ReleaseStatus = $changeLogEntry.ReleaseStatus.Trim().Trim("()") } From 40dd9e49843978c60cb4d7f2e10ff38083f2a711 Mon Sep 17 00:00:00 2001 From: Harsha Nalluru Date: Wed, 30 Jun 2021 16:10:55 -0700 Subject: [PATCH 099/134] [App Config] changelog and update versions for GA (#16115) For 1.2.0 release --- sdk/appconfiguration/app-configuration/CHANGELOG.md | 10 ++++++---- sdk/appconfiguration/app-configuration/package.json | 2 +- .../app-configuration/src/appConfigurationClient.ts | 2 +- .../src/generated/src/appConfigurationContext.ts | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/sdk/appconfiguration/app-configuration/CHANGELOG.md b/sdk/appconfiguration/app-configuration/CHANGELOG.md index 9abaf67ac0d4..ff83426e89c0 100644 --- a/sdk/appconfiguration/app-configuration/CHANGELOG.md +++ b/sdk/appconfiguration/app-configuration/CHANGELOG.md @@ -1,13 +1,15 @@ # Release History -## 1.2.0-beta.3 (Unreleased) +## 1.2.0 (2021-07-07) ### Features Added -- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. -### Breaking Changes +- Special configuration settings - feature flag and secret reference are now supported. 🎉 + + - For types, use `ConfigurationSetting` and `ConfigurationSetting`. + - Use `parseFeatureFlag` and `parseSecretReference` methods to parse the configuration settings into feature flag and secret reference respectively. -### Key Bugs Fixed +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Fixed diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index 44e66e96b360..899ce6b4c597 100644 --- a/sdk/appconfiguration/app-configuration/package.json +++ b/sdk/appconfiguration/app-configuration/package.json @@ -2,7 +2,7 @@ "name": "@azure/app-configuration", "author": "Microsoft Corporation", "description": "An isomorphic client library for the Azure App Configuration service.", - "version": "1.2.0-beta.3", + "version": "1.2.0", "sdk-type": "client", "keywords": [ "node", diff --git a/sdk/appconfiguration/app-configuration/src/appConfigurationClient.ts b/sdk/appconfiguration/app-configuration/src/appConfigurationClient.ts index a703f9f04bc4..f29024c20614 100644 --- a/sdk/appconfiguration/app-configuration/src/appConfigurationClient.ts +++ b/sdk/appconfiguration/app-configuration/src/appConfigurationClient.ts @@ -70,7 +70,7 @@ const packageName = "azsdk-js-app-configuration"; * User - Agent header. There's a unit test that makes sure it always stays in sync. * @internal */ -export const packageVersion = "1.2.0-beta.3"; +export const packageVersion = "1.2.0"; const apiVersion = "1.0"; const ConnectionStringRegex = /Endpoint=(.*);Id=(.*);Secret=(.*)/; const deserializationContentTypes = { diff --git a/sdk/appconfiguration/app-configuration/src/generated/src/appConfigurationContext.ts b/sdk/appconfiguration/app-configuration/src/generated/src/appConfigurationContext.ts index 239cde2e6add..d5dba464891e 100644 --- a/sdk/appconfiguration/app-configuration/src/generated/src/appConfigurationContext.ts +++ b/sdk/appconfiguration/app-configuration/src/generated/src/appConfigurationContext.ts @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http"; import { ApiVersion10, AppConfigurationOptionalParams } from "./models"; const packageName = "app-configuration"; -const packageVersion = "1.2.0-beta.3"; +const packageVersion = "1.2.0"; /** @internal */ export class AppConfigurationContext extends coreHttp.ServiceClient { From 761a4e6692c3cd316a055c996188a3f68cb992ba Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Wed, 30 Jun 2021 16:11:27 -0700 Subject: [PATCH 100/134] [Text Analytics] Merge feature branch for v5.1.0 to main (#16121) It consists of the following already-reviewed PRs: https://github.com/Azure/azure-sdk-for-js/pull/16114 https://github.com/Azure/azure-sdk-for-js/pull/16095 https://github.com/Azure/azure-sdk-for-js/pull/15995 https://github.com/Azure/azure-sdk-for-js/pull/15684 https://github.com/Azure/azure-sdk-for-js/pull/15649 https://github.com/Azure/azure-sdk-for-js/pull/15598 https://github.com/Azure/azure-sdk-for-js/pull/15554 --- .../ai-text-analytics/CHANGELOG.md | 10 +- sdk/textanalytics/ai-text-analytics/README.md | 12 +- .../ai-text-analytics/package.json | 3 +- ...ng_client_accepts_string_and_language.json | 18 +- ...lient_accepts_string_with_no_language.json | 18 +- ...ding_client_accepts_textdocumentinput.json | 18 +- ...lient_gets_negative_mined_assessments.json | 18 +- ...ding_client_gets_no_mined_assessments.json | 18 +- ...lient_gets_positive_mined_assessments.json | 18 +- ...recording_client_throws_on_empty_list.json | 2 +- ...ncing_assessments_in_doc_6_or_greater.json | 18 +- ...eturns_an_error_for_an_empty_document.json | 18 +- ...ce_returns_error_for_invalid_language.json | 18 +- ...ecording_client_accepts_a_countryhint.json | 18 +- ...epts_mixedcountry_detectlanguageinput.json | 18 +- ...cording_client_accepts_no_countryhint.json | 16 +- ...y_hint_with_detectlanguageinput_input.json | 18 +- ...s_none_country_hint_with_string_input.json | 18 +- ...recording_client_throws_on_empty_list.json | 2 +- ...ervice_errors_on_invalid_country_hint.json | 18 +- ...cepts_mixedlanguage_textdocumentinput.json | 20 +- ...epts_string_with_a_language_specified.json | 20 +- ...lient_accepts_string_with_no_language.json | 20 +- ...recording_client_throws_on_empty_list.json | 2 +- ...ervice_errors_on_unsupported_language.json | 18 +- ...ervice_reports_warning_for_long_words.json | 51 - ...cepts_mixedlanguage_textdocumentinput.json | 20 +- ...epts_string_with_a_language_specified.json | 20 +- ...lient_accepts_string_with_no_language.json | 20 +- ..._throws_exception_for_too_many_inputs.json | 18 +- ...recording_client_throws_on_empty_list.json | 2 +- ...ervice_errors_on_unsupported_language.json | 20 +- ...cepts_mixedlanguage_textdocumentinput.json | 20 +- ...epts_string_with_a_language_specified.json | 20 +- ...lient_accepts_string_with_no_language.json | 20 +- ..._throws_exception_for_too_many_inputs.json | 18 +- ...recording_client_throws_on_empty_list.json | 2 +- ...ervice_errors_on_unsupported_language.json | 20 +- .../recording_accepts_domain_filter.json | 18 +- .../recording_accepts_pii_categories.json | 18 +- ...cepts_mixedlanguage_textdocumentinput.json | 18 +- ...epts_string_with_a_language_specified.json | 18 +- ...lient_accepts_string_with_no_language.json | 18 +- ...eports_recognition_of_piilike_pattern.json | 18 +- ...recording_client_throws_on_empty_list.json | 18 +- ..._pii_categories_are_accepted_as_input.json | 26 +- ...ervice_errors_on_unsupported_language.json | 18 +- .../recording_diacritics_nfc.json | 20 +- .../recording_diacritics_nfd.json | 20 +- .../recording_emoji.json | 20 +- ...cording_emoji_with_skin_tone_modifier.json | 20 +- .../recording_family_emoji.json | 20 +- ...g_family_emoji_wit_skin_tone_modifier.json | 20 +- .../recording_korean_nfc.json | 20 +- .../recording_korean_nfd.json | 20 +- .../recording_zalgo.json | 20 +- .../recording_diacritics_nfc.json | 18 +- .../recording_diacritics_nfd.json | 18 +- .../recording_emoji.json | 18 +- ...cording_emoji_with_skin_tone_modifier.json | 18 +- .../recording_family_emoji.json | 18 +- ...g_family_emoji_wit_skin_tone_modifier.json | 18 +- .../recording_korean_nfc.json | 18 +- .../recording_korean_nfd.json | 18 +- .../recording_zalgo.json | 18 +- .../recording_diacritics_nfc.json | 53 - .../recording_diacritics_nfd.json | 53 - .../recording_family_emoji.json | 53 - ...g_family_emoji_wit_skin_tone_modifier.json | 53 - .../recording_korean_nfc.json | 53 - .../recording_korean_nfd.json | 53 - .../recording_zalgo.json | 53 - .../recording_diacritics_nfc.json | 20 +- .../recording_diacritics_nfd.json | 20 +- .../recording_emoji.json | 20 +- ...cording_emoji_with_skin_tone_modifier.json | 20 +- .../recording_family_emoji.json | 20 +- ...g_family_emoji_wit_skin_tone_modifier.json | 20 +- .../recording_korean_nfc.json | 20 +- .../recording_korean_nfd.json | 20 +- .../recording_zalgo.json | 20 +- ...ents_with_errors_and_multiple_actions.json | 574 ++- .../recording_bad_request_empty_string.json | 22 +- ...ecording_each_doc_has_a_language_hint.json | 669 ++- ...g_family_emoji_wit_skin_tone_modifier.json | 99 +- .../recording_invalid_language_hint.json | 205 +- .../recording_malformed_actions.json | 22 +- ...tiple_actions_per_type_are_disallowed.json | 8 + .../recording_operation_metadata.json | 135 +- ...order_input_ids_with_multiple_actions.json | 136 +- ..._the_inputs_one_with_multiple_actions.json | 141 +- ...g_paged_results_with_custom_page_size.json | 565 ++- ...ording_pii_redacted_test_is_not_empty.json | 126 +- ...ording_single_entities_linking_action.json | 81 +- ...ng_single_entities_recognition_action.json | 153 +- ...ding_single_entity_recognition_action.json | 246 +- .../recording_single_key_phrases_action.json | 190 +- ...ingle_pii_entities_recognition_action.json | 236 +- ...ding_single_sentiment_analysis_action.json | 224 +- ...ents_with_errors_and_multiple_actions.json | 233 +- ...hole_batch_input_with_a_language_hint.json | 857 +++- .../recording_whole_batch_language_hint.json | 574 ++- ...ing_whole_batch_with_no_language_hint.json | 186 +- .../recording_all_documents_have_errors.json | 147 + .../recording_all_inputs_with_errors.json | 128 + .../recording_cancelled.json | 88 + .../recording_document_warnings.json | 128 + ...cording_documents_with_duplicate_ids.json} | 27 +- .../recording_entity_assertions.json | 375 ++ ...n_tone_modifier_with_unicodecodepoint.json | 128 + ...skin_tone_modifier_with_utf16codeunit.json | 128 + .../recording_input_documents.json | 128 + .../recording_input_strings.json | 337 ++ .../recording_invalid_language_hint.json | 147 + ...ecording_invalid_language_hint_in_doc.json | 147 + .../recording_operation_metadata.json | 109 + ...ng_output_has_the_same_order_as_input.json | 128 + ..._order_as_input_with_out_of_order_ids.json | 128 + .../recording_payload_too_large.json | 52 + ...ecording_show_stats_and_model_version.json | 113 + .../recording_some_inputs_with_errors.json | 128 + .../recording_too_many_documents.json} | 27 +- ...rding_whole_batch_empty_language_hint.json | 147 + ...ole_batch_empty_language_hint_per_doc.json | 147 + .../recording_whole_batch_language_hint.json | 318 ++ ...g_whole_batch_with_multiple_languages.json | 147 + .../recording_extractkeyphrases.json | 27 - .../recording_recognizeentities.json | 29 - .../recording_recognizelinkedentities.json | 29 - .../recording_recognizepiientities.json | 29 - .../recording_cancelled.json | 64 - .../recording_document_warnings.json | 123 - .../recording_input_documents.json | 123 - .../recording_input_strings.json | 161 - .../recording_operation_metadata.json | 85 - ...ng_output_has_the_same_order_as_input.json | 123 - .../recording_payload_too_large.json | 28 - ...ecording_show_stats_and_model_version.json | 89 - ...rding_whole_batch_empty_language_hint.json | 104 - ...ole_batch_empty_language_hint_per_doc.json | 104 - ...g_whole_batch_with_multiple_languages.json | 104 - ...g_client_accepts_string_and_language.json} | 10 +- ...lient_accepts_string_with_no_language.json | 29 + ...ding_client_accepts_textdocumentinput.json | 29 + ...lient_gets_negative_mined_assessments.json | 30 + ...ding_client_gets_no_mined_assessments.json | 30 + ...lient_gets_positive_mined_assessments.json | 30 + ...recording_client_throws_on_empty_list.json | 8 + ...ncing_assessments_in_doc_6_or_greater.json | 30 + ...eturns_an_error_for_an_empty_document.json | 29 + ...ce_returns_error_for_invalid_language.json | 28 + ...cording_client_accepts_a_countryhint.json} | 10 +- ...epts_mixedcountry_detectlanguageinput.json | 27 + ...cording_client_accepts_no_countryhint.json | 27 + ...y_hint_with_detectlanguageinput_input.json | 27 + ...s_none_country_hint_with_string_input.json | 27 + ...recording_client_throws_on_empty_list.json | 8 + ...ervice_errors_on_invalid_country_hint.json | 26 + ...cepts_mixedlanguage_textdocumentinput.json | 27 + ...epts_string_with_a_language_specified.json | 27 + ...lient_accepts_string_with_no_language.json | 27 + ...recording_client_throws_on_empty_list.json | 8 + ...ervice_errors_on_unsupported_language.json | 26 + ...cepts_mixedlanguage_textdocumentinput.json | 29 + ...epts_string_with_a_language_specified.json | 29 + ...lient_accepts_string_with_no_language.json | 29 + ..._throws_exception_for_too_many_inputs.json | 28 + ...recording_client_throws_on_empty_list.json | 8 + ...ervice_errors_on_unsupported_language.json | 28 + ...cepts_mixedlanguage_textdocumentinput.json | 29 + ...epts_string_with_a_language_specified.json | 29 + ...lient_accepts_string_with_no_language.json | 29 + ..._throws_exception_for_too_many_inputs.json | 28 + ...recording_client_throws_on_empty_list.json | 8 + ...ervice_errors_on_unsupported_language.json | 28 + .../recording_accepts_domain_filter.json | 30 + .../recording_accepts_pii_categories.json | 30 + ...cepts_mixedlanguage_textdocumentinput.json | 29 + ...epts_string_with_a_language_specified.json | 29 + ...lient_accepts_string_with_no_language.json | 29 + ...eports_recognition_of_piilike_pattern.json | 29 + ...recording_client_throws_on_empty_list.json | 28 + ..._pii_categories_are_accepted_as_input.json | 50 + ...ervice_errors_on_unsupported_language.json | 28 + .../recording_diacritics_nfc.json | 29 + .../recording_diacritics_nfd.json | 29 + .../recording_emoji.json | 29 + ...cording_emoji_with_skin_tone_modifier.json | 29 + .../recording_family_emoji.json | 29 + .../recording_korean_nfc.json | 29 + .../recording_korean_nfd.json | 29 + .../recording_zalgo.json | 29 + .../recording_diacritics_nfc.json | 29 + .../recording_diacritics_nfd.json | 29 + .../recording_emoji.json | 29 + ...cording_emoji_with_skin_tone_modifier.json | 29 + .../recording_family_emoji.json | 29 + .../recording_korean_nfc.json | 29 + .../recording_korean_nfd.json | 29 + .../recording_zalgo.json | 29 + .../recording_diacritics_nfc.json | 29 + .../recording_diacritics_nfd.json | 29 + .../recording_emoji.json | 29 + ...cording_emoji_with_skin_tone_modifier.json | 29 + .../recording_family_emoji.json | 29 + .../recording_korean_nfc.json | 29 + .../recording_korean_nfd.json | 29 + .../recording_zalgo.json | 29 + ...ents_with_errors_and_multiple_actions.json | 311 ++ .../recording_bad_request_empty_string.json | 26 + ...ecording_each_doc_has_a_language_hint.json | 311 ++ ...g_family_emoji_wit_skin_tone_modifier.json | 159 + .../recording_invalid_language_hint.json | 254 ++ .../recording_malformed_actions.json | 26 + ...tiple_actions_per_type_are_disallowed.json | 8 + .../recording_operation_metadata.json | 140 + ...order_input_ids_with_multiple_actions.json | 767 ++++ ..._the_inputs_one_with_multiple_actions.json | 349 ++ ...g_paged_results_with_custom_page_size.json | 313 ++ ...ording_pii_redacted_test_is_not_empty.json | 159 + ...ording_single_entities_linking_action.json | 121 + ...ng_single_entities_recognition_action.json | 235 + ...ding_single_entity_recognition_action.json | 387 ++ .../recording_single_key_phrases_action.json | 330 ++ ...ingle_pii_entities_recognition_action.json | 273 ++ ...ding_single_sentiment_analysis_action.json | 406 ++ ...ents_with_errors_and_multiple_actions.json | 767 ++++ ...hole_batch_input_with_a_language_hint.json | 197 + .../recording_whole_batch_language_hint.json | 349 ++ ...ing_whole_batch_with_no_language_hint.json | 235 + .../recording_all_documents_have_errors.json | 69 +- .../recording_all_inputs_with_errors.json | 60 +- .../recording_cancelled.json | 64 + .../recording_document_warnings.json | 104 + ...ecording_documents_with_duplicate_ids.json | 10 +- .../recording_entity_assertions.json | 71 +- ...n_tone_modifier_with_unicodecodepoint.json | 98 +- ...skin_tone_modifier_with_utf16codeunit.json | 67 +- .../recording_input_documents.json | 313 ++ .../recording_input_strings.json | 275 ++ .../recording_invalid_language_hint.json | 50 +- ...ecording_invalid_language_hint_in_doc.json | 50 +- .../recording_operation_metadata.json | 104 + ...ng_output_has_the_same_order_as_input.json | 104 + ..._order_as_input_with_out_of_order_ids.json | 50 +- .../recording_payload_too_large.json | 28 + ...ecording_show_stats_and_model_version.json | 289 ++ .../recording_some_inputs_with_errors.json | 62 +- .../recording_too_many_documents.json | 10 +- ...rding_whole_batch_empty_language_hint.json | 104 + ...ole_batch_empty_language_hint_per_doc.json | 104 + .../recording_whole_batch_language_hint.json | 48 +- ...g_whole_batch_with_multiple_languages.json | 104 + ...ding_client_accepts_string_and_language.js | 47 +- ..._client_accepts_string_with_no_language.js | 51 +- ...ording_client_accepts_textdocumentinput.js | 51 +- ..._client_gets_negative_mined_assessments.js | 55 +- ...ording_client_gets_no_mined_assessments.js | 47 +- ..._client_gets_positive_mined_assessments.js | 55 +- .../recording_client_throws_on_empty_list.js | 2 +- ...rencing_assessments_in_doc_6_or_greater.js | 47 +- ..._returns_an_error_for_an_empty_document.js | 53 +- ...vice_returns_error_for_invalid_language.js | 57 +- .../recording_client_accepts_a_countryhint.js | 53 +- ...ccepts_mixedcountry_detectlanguageinput.js | 49 +- ...recording_client_accepts_no_countryhint.js | 46 +- ...try_hint_with_detectlanguageinput_input.js | 53 +- ...pts_none_country_hint_with_string_input.js | 47 +- .../recording_client_throws_on_empty_list.js | 2 +- ..._service_errors_on_invalid_country_hint.js | 51 +- ...accepts_mixedlanguage_textdocumentinput.js | 55 +- ...ccepts_string_with_a_language_specified.js | 55 +- ..._client_accepts_string_with_no_language.js | 55 +- .../recording_client_throws_on_empty_list.js | 2 +- ..._service_errors_on_unsupported_language.js | 53 +- ..._service_reports_warning_for_long_words.js | 135 - ...accepts_mixedlanguage_textdocumentinput.js | 53 +- ...ccepts_string_with_a_language_specified.js | 55 +- ..._client_accepts_string_with_no_language.js | 55 +- ...nt_throws_exception_for_too_many_inputs.js | 47 +- .../recording_client_throws_on_empty_list.js | 2 +- ..._service_errors_on_unsupported_language.js | 55 +- ...accepts_mixedlanguage_textdocumentinput.js | 53 +- ...ccepts_string_with_a_language_specified.js | 55 +- ..._client_accepts_string_with_no_language.js | 51 +- ...nt_throws_exception_for_too_many_inputs.js | 47 +- .../recording_client_throws_on_empty_list.js | 2 +- ..._service_errors_on_unsupported_language.js | 49 +- .../recording_accepts_domain_filter.js | 47 +- .../recording_accepts_pii_categories.js | 49 +- ...accepts_mixedlanguage_textdocumentinput.js | 47 +- ...ccepts_string_with_a_language_specified.js | 55 +- ..._client_accepts_string_with_no_language.js | 55 +- ..._reports_recognition_of_piilike_pattern.js | 51 +- .../recording_client_throws_on_empty_list.js | 55 +- ...ut_pii_categories_are_accepted_as_input.js | 55 +- ..._service_errors_on_unsupported_language.js | 57 +- .../recording_diacritics_nfc.js | 53 +- .../recording_diacritics_nfd.js | 47 +- .../recording_emoji.js | 47 +- ...recording_emoji_with_skin_tone_modifier.js | 47 +- .../recording_family_emoji.js | 53 +- ...ing_family_emoji_wit_skin_tone_modifier.js | 51 +- .../recording_korean_nfc.js | 49 +- .../recording_korean_nfd.js | 47 +- .../recording_zalgo.js | 47 +- .../recording_diacritics_nfc.js | 52 +- .../recording_diacritics_nfd.js | 48 +- .../recording_emoji.js | 54 +- ...recording_emoji_with_skin_tone_modifier.js | 54 +- .../recording_family_emoji.js | 48 +- ...ing_family_emoji_wit_skin_tone_modifier.js | 54 +- .../recording_korean_nfc.js | 50 +- .../recording_korean_nfd.js | 50 +- .../recording_zalgo.js | 48 +- ...recording_emoji_with_skin_tone_modifier.js | 136 - .../recording_family_emoji.js | 136 - ...ing_family_emoji_wit_skin_tone_modifier.js | 136 - .../recording_korean_nfd.js | 136 - .../recording_diacritics_nfc.js | 53 +- .../recording_diacritics_nfd.js | 53 +- .../recording_emoji.js | 47 +- ...recording_emoji_with_skin_tone_modifier.js | 53 +- .../recording_family_emoji.js | 47 +- ...ing_family_emoji_wit_skin_tone_modifier.js | 47 +- .../recording_korean_nfc.js | 49 +- .../recording_korean_nfd.js | 55 +- .../recording_zalgo.js | 47 +- ...uments_with_errors_and_multiple_actions.js | 283 +- .../recording_bad_model.js | 133 - .../recording_bad_request_empty_string.js | 57 +- .../recording_each_doc_has_a_language_hint.js | 243 +- ...ing_family_emoji_wit_skin_tone_modifier.js | 223 +- .../recording_invalid_language_hint.js | 233 +- .../recording_malformed_actions.js | 52 +- ...ultiple_actions_per_type_are_disallowed.js | 5 + .../recording_operation_metadata.js | 115 +- ...f_order_input_ids_with_multiple_actions.js | 201 +- ...as_the_inputs_one_with_multiple_actions.js | 583 +-- ...ing_paged_results_with_custom_page_size.js | 233 +- ...ecording_pii_redacted_test_is_not_empty.js | 163 +- ...ecording_single_entities_linking_action.js | 97 +- ...ding_single_entities_recognition_action.js | 229 +- ...ording_single_entity_recognition_action.js | 289 +- .../recording_single_key_phrases_action.js | 295 +- ..._single_pii_entities_recognition_action.js | 293 +- ...ording_single_sentiment_analysis_action.js | 313 +- ...uments_with_errors_and_multiple_actions.js | 255 +- .../recording_statistics.js | 333 -- ..._whole_batch_input_with_a_language_hint.js | 351 +- .../recording_whole_batch_language_hint.js | 237 +- ...rding_whole_batch_with_no_language_hint.js | 245 +- .../recording_all_documents_have_errors.js | 211 + .../recording_all_inputs_with_errors.js | 211 + .../recording_cancelled.js} | 94 +- .../recording_document_warnings.js} | 135 +- ...recording_documents_with_duplicate_ids.js} | 53 +- .../recording_entity_assertions.js | 491 +++ ...kin_tone_modifier_with_unicodecodepoint.js | 471 ++ ...t_skin_tone_modifier_with_utf16codeunit.js | 231 + .../recording_input_documents.js | 211 + .../recording_input_strings.js | 511 +++ .../recording_invalid_language_hint.js | 211 + .../recording_invalid_language_hint_in_doc.js | 211 + .../recording_operation_metadata.js | 211 + ...ding_output_has_the_same_order_as_input.js | 211 + ...me_order_as_input_with_out_of_order_ids.js | 231 + .../recording_payload_too_large.js | 131 + ...recording_show_stats_and_model_version.js} | 117 +- .../recording_some_inputs_with_errors.js | 231 + .../recording_too_many_documents.js} | 53 +- ...cording_whole_batch_empty_language_hint.js | 211 + ...whole_batch_empty_language_hint_per_doc.js | 211 + .../recording_whole_batch_language_hint.js | 211 + ...ing_whole_batch_with_multiple_languages.js | 231 + .../recording_recognizeentities.js | 27 - .../recording_recognizelinkedentities.js | 27 - .../recording_cancelled.js | 64 - ...t_skin_tone_modifier_with_utf16codeunit.js | 125 - .../recording_input_documents.js | 105 - .../recording_input_strings.js | 125 - .../recording_invalid_language_hint.js | 125 - .../recording_invalid_language_hint_in_doc.js | 165 - .../recording_operation_metadata.js | 85 - ...ding_output_has_the_same_order_as_input.js | 125 - ...me_order_as_input_with_out_of_order_ids.js | 145 - .../recording_payload_too_large.js | 25 - .../recording_show_stats_and_model_version.js | 105 - .../recording_too_many_documents.js | 25 - ...whole_batch_empty_language_hint_per_doc.js | 125 - .../recording_whole_batch_language_hint.js | 125 - ...ing_whole_batch_with_multiple_languages.js | 125 - ...ing_client_accepts_string_and_language.js} | 10 +- ..._client_accepts_string_with_no_language.js | 27 + ...ording_client_accepts_textdocumentinput.js | 27 + ..._client_gets_negative_mined_assessments.js | 27 + ...ording_client_gets_no_mined_assessments.js | 27 + ..._client_gets_positive_mined_assessments.js | 27 + .../recording_client_throws_on_empty_list.js | 5 + ...rencing_assessments_in_doc_6_or_greater.js | 27 + ..._returns_an_error_for_an_empty_document.js | 27 + ...vice_returns_error_for_invalid_language.js | 25 + ...recording_client_accepts_a_countryhint.js} | 10 +- ...ccepts_mixedcountry_detectlanguageinput.js | 26 + ...recording_client_accepts_no_countryhint.js | 26 + ...try_hint_with_detectlanguageinput_input.js | 26 + ...ts_none_country_hint_with_string_input.js} | 12 +- .../recording_client_throws_on_empty_list.js | 5 + ..._service_errors_on_invalid_country_hint.js | 24 + ...accepts_mixedlanguage_textdocumentinput.js | 26 + ...ccepts_string_with_a_language_specified.js | 26 + ..._client_accepts_string_with_no_language.js | 26 + .../recording_client_throws_on_empty_list.js | 5 + ..._service_errors_on_unsupported_language.js | 24 + ...accepts_mixedlanguage_textdocumentinput.js | 27 + ...ccepts_string_with_a_language_specified.js | 27 + ..._client_accepts_string_with_no_language.js | 27 + ...nt_throws_exception_for_too_many_inputs.js | 25 + .../recording_client_throws_on_empty_list.js | 5 + ..._service_errors_on_unsupported_language.js | 25 + ...accepts_mixedlanguage_textdocumentinput.js | 27 + ...ccepts_string_with_a_language_specified.js | 27 + ..._client_accepts_string_with_no_language.js | 27 + ...nt_throws_exception_for_too_many_inputs.js | 25 + .../recording_client_throws_on_empty_list.js | 5 + ..._service_errors_on_unsupported_language.js | 25 + .../recording_accepts_domain_filter.js | 27 + .../recording_accepts_pii_categories.js | 27 + ...accepts_mixedlanguage_textdocumentinput.js | 27 + ...ccepts_string_with_a_language_specified.js | 27 + ..._client_accepts_string_with_no_language.js | 27 + ..._reports_recognition_of_piilike_pattern.js | 27 + .../recording_client_throws_on_empty_list.js | 25 + ...ut_pii_categories_are_accepted_as_input.js | 49 + ..._service_errors_on_unsupported_language.js | 25 + .../recording_diacritics_nfc.js} | 12 +- .../recording_diacritics_nfd.js | 27 + .../recording_emoji.js | 27 + ...recording_emoji_with_skin_tone_modifier.js | 27 + .../recording_family_emoji.js | 27 + ...ing_family_emoji_wit_skin_tone_modifier.js | 27 + .../recording_korean_nfc.js | 27 + .../recording_korean_nfd.js | 27 + .../recording_zalgo.js | 27 + .../recording_diacritics_nfc.js | 27 + .../recording_diacritics_nfd.js | 27 + .../recording_emoji.js | 27 + ...recording_emoji_with_skin_tone_modifier.js | 27 + .../recording_family_emoji.js | 27 + ...ing_family_emoji_wit_skin_tone_modifier.js | 27 + .../recording_korean_nfc.js | 27 + .../recording_korean_nfd.js | 27 + .../recording_zalgo.js | 27 + .../recording_diacritics_nfc.js | 27 + .../recording_diacritics_nfd.js | 27 + .../recording_emoji.js | 27 + ...recording_emoji_with_skin_tone_modifier.js | 27 + .../recording_family_emoji.js | 27 + ...ing_family_emoji_wit_skin_tone_modifier.js | 27 + .../recording_korean_nfc.js | 27 + .../recording_korean_nfd.js | 27 + .../recording_zalgo.js | 27 + ...uments_with_errors_and_multiple_actions.js | 324 ++ .../recording_bad_request_empty_string.js | 24 + .../recording_each_doc_has_a_language_hint.js | 204 + ...ing_family_emoji_wit_skin_tone_modifier.js | 144 + .../recording_invalid_language_hint.js | 224 + .../recording_malformed_actions.js | 24 + ...ultiple_actions_per_type_are_disallowed.js | 5 + .../recording_operation_metadata.js | 144 + ...f_order_input_ids_with_multiple_actions.js | 324 ++ ...as_the_inputs_one_with_multiple_actions.js | 224 + ...ing_paged_results_with_custom_page_size.js | 224 + ...ecording_pii_redacted_test_is_not_empty.js | 164 + ...ecording_single_entities_linking_action.js | 124 + ...ding_single_entities_recognition_action.js | 484 ++ ...ording_single_entity_recognition_action.js | 364 ++ .../recording_single_key_phrases_action.js | 404 ++ ..._single_pii_entities_recognition_action.js | 304 ++ ...ording_single_sentiment_analysis_action.js | 504 +++ ...uments_with_errors_and_multiple_actions.js | 324 ++ ..._whole_batch_input_with_a_language_hint.js | 324 ++ .../recording_whole_batch_language_hint.js | 824 ++++ ...rding_whole_batch_with_no_language_hint.js | 444 ++ .../recording_all_documents_have_errors.js | 50 +- .../recording_all_inputs_with_errors.js | 72 +- .../recording_cancelled.js | 64 + .../recording_document_warnings.js | 52 +- .../recording_documents_with_duplicate_ids.js | 10 +- .../recording_entity_assertions.js | 92 +- ...kin_tone_modifier_with_unicodecodepoint.js | 62 +- ...t_skin_tone_modifier_with_utf16codeunit.js | 365 ++ .../recording_input_documents.js | 245 ++ .../recording_input_strings.js | 365 ++ .../recording_invalid_language_hint.js | 105 + .../recording_invalid_language_hint_in_doc.js | 105 + .../recording_operation_metadata.js | 105 + ...ding_output_has_the_same_order_as_input.js | 105 + ...me_order_as_input_with_out_of_order_ids.js | 105 + .../recording_payload_too_large.js | 25 + .../recording_show_stats_and_model_version.js | 85 + .../recording_some_inputs_with_errors.js | 72 +- .../recording_too_many_documents.js | 25 + ...cording_whole_batch_empty_language_hint.js | 50 +- ...whole_batch_empty_language_hint_per_doc.js | 105 + .../recording_whole_batch_language_hint.js | 105 + ...ing_whole_batch_with_multiple_languages.js | 105 + .../review/ai-text-analytics.api.md | 104 +- .../src/analyzeHealthcareEntitiesResult.ts | 40 +- .../ai-text-analytics/src/constants.ts | 2 +- .../src/generated/generatedClient.ts | 132 +- .../src/generated/generatedClientContext.ts | 17 +- .../src/generated/models/index.ts | 247 +- .../src/generated/models/mappers.ts | 448 +- .../src/generated/models/parameters.ts | 13 + .../ai-text-analytics/src/index.ts | 6 +- .../src/textAnalyticsAction.ts | 17 + .../src/textAnalyticsClient.ts | 76 +- .../ai-text-analytics/src/util.ts | 8 +- .../ai-text-analytics/swagger/README.md | 15 +- .../test/public/apiKey.spec.ts | 718 --- .../test/public/pipelineOptions.spec.ts | 2 +- .../test/public/textAnalyticsClient.spec.ts | 3884 ++++++++++------- .../test/public/utils/recordedClient.ts | 12 +- 524 files changed, 40148 insertions(+), 14225 deletions(-) delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_reports_warning_for_long_words.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfc.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfd.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji_wit_skin_tone_modifier.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfc.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfd.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_zalgo.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_cancelled.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_document_warnings.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji.json => aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json} (58%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_entity_assertions.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_documents.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_strings.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_operation_metadata.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_payload_too_large.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji_with_skin_tone_modifier.json => aad_textanalyticsclient_lros_health/recording_too_many_documents.json} (50%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_extractkeyphrases.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizeentities.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizelinkedentities.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizepiientities.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_cancelled.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_document_warnings.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_input_documents.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_input_strings.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_operation_metadata.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_payload_too_large.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_fast_tests/recording_analyzesentiment.json => apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json} (91%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_fast_tests/recording_detectlanguage.json => apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json} (75%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_all_documents_have_errors.json (72%) rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_all_inputs_with_errors.json (55%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_cancelled.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_document_warnings.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_documents_with_duplicate_ids.json (74%) rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_entity_assertions.json (84%) rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json (53%) rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json (60%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_documents.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_strings.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_invalid_language_hint.json (51%) rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_invalid_language_hint_in_doc.json (51%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_operation_metadata.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json (53%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_payload_too_large.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_some_inputs_with_errors.json (71%) rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_too_many_documents.json (83%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json rename sdk/textanalytics/ai-text-analytics/recordings/browsers/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_whole_batch_language_hint.json (50%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_reports_warning_for_long_words.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji_with_skin_tone_modifier.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji_wit_skin_tone_modifier.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfd.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_model.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_statistics.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfc.js => aad_textanalyticsclient_lros_health/recording_cancelled.js} (59%) rename sdk/textanalytics/ai-text-analytics/recordings/node/{aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfd.js => aad_textanalyticsclient_lros_health/recording_document_warnings.js} (50%) rename sdk/textanalytics/ai-text-analytics/recordings/node/{aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji.js => aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js} (68%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_entity_assertions.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_documents.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_strings.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_operation_metadata.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_payload_too_large.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_zalgo.js => aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js} (50%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfc.js => aad_textanalyticsclient_lros_health/recording_too_many_documents.js} (65%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizeentities.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizelinkedentities.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_cancelled.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_input_documents.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_input_strings.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_operation_metadata.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_payload_too_large.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_too_many_documents.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js delete mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_fast_tests/recording_analyzesentiment.js => apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.js} (74%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_fast_tests/recording_detectlanguage.js => apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.js} (73%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_fast_tests/recording_extractkeyphrases.js => apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.js} (54%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_fast_tests/recording_recognizepiientities.js => apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.js} (51%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_all_documents_have_errors.js (80%) rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_all_inputs_with_errors.js (51%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_cancelled.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_document_warnings.js (52%) rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_documents_with_duplicate_ids.js (67%) rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_entity_assertions.js (81%) rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js (66%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_documents.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_strings.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_operation_metadata.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_payload_too_large.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_some_inputs_with_errors.js (70%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_too_many_documents.js rename sdk/textanalytics/ai-text-analytics/recordings/node/{api_key_textanalyticsclient_lros_health => apikey_textanalyticsclient_lros_health}/recording_whole_batch_empty_language_hint.js (50%) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js create mode 100644 sdk/textanalytics/ai-text-analytics/src/textAnalyticsAction.ts delete mode 100644 sdk/textanalytics/ai-text-analytics/test/public/apiKey.spec.ts diff --git a/sdk/textanalytics/ai-text-analytics/CHANGELOG.md b/sdk/textanalytics/ai-text-analytics/CHANGELOG.md index d1cf02fb45fa..8c854b435ea8 100644 --- a/sdk/textanalytics/ai-text-analytics/CHANGELOG.md +++ b/sdk/textanalytics/ai-text-analytics/CHANGELOG.md @@ -1,14 +1,22 @@ # Release History -## 5.1.0-beta.7 (Unreleased) +## 5.1.0 (Unreleased) + +### New Features + +- We are now targeting the service's v3.1 API as the default instead of v3.1-preview.5. ### Breaking Changes - `PiiEntityDomainType` was renamed to `PiiEntityDomain`. +- `domain` property of `RecognizePiiEntitiesAction` was renamed to `domainFilter`. +- `categoriesFilter` was added to `RecognizePiiEntitiesAction`. +- `beginAnalyzeActions` is now limited to accept up to one action only per type. ## 5.1.0-beta.6 (2021-05-18) ### New Features + - With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - We are now targeting the service's v3.1-preview.5 API as the default instead of v3.1-preview.4. - `beginAnalyzeActions` adds support for analyze sentiment actions. diff --git a/sdk/textanalytics/ai-text-analytics/README.md b/sdk/textanalytics/ai-text-analytics/README.md index bf7f9ea7cc66..1d0a6a757c37 100644 --- a/sdk/textanalytics/ai-text-analytics/README.md +++ b/sdk/textanalytics/ai-text-analytics/README.md @@ -2,7 +2,7 @@ [Azure TextAnalytics](https://azure.microsoft.com/services/cognitive-services/text-analytics/) is a cloud-based service that provides advanced natural language processing over raw text, and includes six main functions: -**Note:** This SDK targets Azure Text Analytics service API version 3.1.0-preview.5. +**Note:** This SDK targets Azure Text Analytics service API version 3.1.0. - Language Detection - Sentiment Analysis @@ -254,10 +254,7 @@ There is a separate endpoint and operation for recognizing Personally Identifiab ```javascript const { TextAnalyticsClient, AzureKeyCredential } = require("@azure/ai-text-analytics"); -const client = new TextAnalyticsClient( - "", - new AzureKeyCredential("") -); +const client = new TextAnalyticsClient("", new AzureKeyCredential("")); const documents = [ "The employee's SSN is 555-55-5555.", "The employee's phone number is (555) 555-5555." @@ -501,11 +498,6 @@ async function main() { main(); ``` -## Known Issues - -- `beginAnalyzeHealthcareEntities` is still in gated preview and can not be used with AAD credentials. For more information, see [the Text Analytics for Health documentation](https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-for-health?tabs=ner#request-access-to-the-public-preview). -- At time of this SDK release, the `modelVersion` option to `beginAnalyzeHealthcareEntities` is ignored by the service. The service always processes the operation using the "latest" model. - ## Troubleshooting ### Logging diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index fdde9c063cb0..342ad3327875 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -3,7 +3,7 @@ "sdk-type": "client", "author": "Microsoft Corporation", "description": "An isomorphic client library for the Azure Text Analytics service.", - "version": "5.1.0-beta.7", + "version": "5.1.0", "keywords": [ "node", "azure", @@ -104,6 +104,7 @@ "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "2.0.0-beta.3", + "@azure/test-utils": "^1.0.0", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@types/chai": "^4.1.6", diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json index da1fc30bc3f8..3f22b257b941 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:09 GMT", + "date": "Fri, 25 Jun 2021 19:57:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "1f623800-874c-4277-b16b-879a23c1be00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "eab54377-ea4c-4e0d-a5d6-ad798fd76500" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"offset\":0,\"length\":86,\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":58,\"text\":\"Unfortunately, it rained during my entire trip to Seattle.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.7,\"negative\":0.29},\"offset\":59,\"length\":43,\"text\":\"I didn't even get to visit the Space Needle\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":101,\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"offset\":0,\"length\":42,\"text\":\"I didn't like the last book I read at all.\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "147d01a5-cc56-4430-9ac1-a7cd939fcfb5", + "apim-request-id": "5695811c-e8d5-46c5-8fb2-07499b55e105", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:09 GMT", + "date": "Fri, 25 Jun 2021 19:57:43 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "153" + "x-envoy-upstream-service-time": "113" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e3ba6312c7614d41fea02a1f23870ef2" + "hash": "8b01993817087370bb908d9a38a4c2e3" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json index 9d8428e05f1a..f3ff087c6798 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:10 GMT", + "date": "Fri, 25 Jun 2021 19:57:43 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "4e081bcf-0a12-4b10-9110-b01a8ec85600" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "ce29a862-fba0-489c-90cf-00cc78b55e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"offset\":0,\"length\":86,\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":58,\"text\":\"Unfortunately, it rained during my entire trip to Seattle.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.7,\"negative\":0.29},\"offset\":59,\"length\":43,\"text\":\"I didn't even get to visit the Space Needle\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":101,\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"offset\":0,\"length\":42,\"text\":\"I didn't like the last book I read at all.\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "e2451264-7b80-47be-8f1c-a46167ec710d", + "apim-request-id": "91477d3b-3b5e-47b2-8d97-d8dd014c9d91", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:09 GMT", + "date": "Fri, 25 Jun 2021 19:57:43 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "92" + "x-envoy-upstream-service-time": "130" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "71b9430ebec3e1020001ed45da5447c0" + "hash": "4b8d21704d9ca84d28e03111e415243b" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json index fc0a9aa64212..6ed461a89e01 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:19 GMT", + "date": "Fri, 25 Jun 2021 19:57:49 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "0c969697-c15c-4290-963c-8600d8c0c900" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "28812791-b9ec-449e-b425-0faaff715c00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"offset\":0,\"length\":86,\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":58,\"text\":\"Unfortunately, it rained during my entire trip to Seattle.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.7,\"negative\":0.29},\"offset\":59,\"length\":43,\"text\":\"I didn't even get to visit the Space Needle\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":101,\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"offset\":0,\"length\":42,\"text\":\"I didn't like the last book I read at all.\"}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.89,\"neutral\":0.08,\"negative\":0.03},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.89,\"neutral\":0.08,\"negative\":0.03},\"offset\":0,\"length\":73,\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\"}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.11,\"neutral\":0.29,\"negative\":0.6},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.11,\"neutral\":0.29,\"negative\":0.6},\"offset\":0,\"length\":29,\"text\":\"La carretera estaba atascada.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.09,\"neutral\":0.58,\"negative\":0.33},\"offset\":30,\"length\":35,\"text\":\"Había mucho tráfico el día de ayer.\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "828f5ed0-e745-4175-b712-a82c0bc5ebb6", + "apim-request-id": "fb214bf8-8c2b-478b-9180-724184162f35", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "date": "Wed, 12 May 2021 19:17:24 GMT", + "date": "Fri, 25 Jun 2021 19:57:50 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5241" + "x-envoy-upstream-service-time": "105" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "990aac00ab881b1c7a85978fdb99f65d" + "hash": "00180065469789c0a8b259a0b5727975" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json index b1f6f7edf130..7211ce07f193 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:27 GMT", + "date": "Fri, 25 Jun 2021 19:57:55 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "e7a67084-aa52-4720-8c70-d750ee69d500" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "ce29a862-fba0-489c-90cf-00cc97b75e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit", "opinionMining": "true" @@ -35,14 +35,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":32,\"text\":\"The food and service is not good\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":13,\"length\":7,\"text\":\"service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":28,\"length\":4,\"text\":\"good\",\"isNegated\":true}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "e81a59b1-54d9-42a8-872d-07a2438ecc32", + "apim-request-id": "0d56640b-ed1b-406b-ac46-6ef6956b5dde", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:27 GMT", + "date": "Fri, 25 Jun 2021 19:57:55 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "83" + "x-envoy-upstream-service-time": "89" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "03c419627e70ce2bb4389ebeb7bef24b" + "hash": "a8f83bf62f937724c49fbdc52c92cd01" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json index f526bfde808d..471fc4421260 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:27 GMT", + "date": "Fri, 25 Jun 2021 19:57:55 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "066edeb7-a09f-4303-a4a3-ddc362ea5500" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "995fb27d-f6fa-4b35-ab9d-b2712cf05e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit", "opinionMining": "true" @@ -35,14 +35,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.1,\"neutral\":0.88,\"negative\":0.02},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.1,\"neutral\":0.88,\"negative\":0.02},\"offset\":0,\"length\":18,\"text\":\"today is a hot day\",\"targets\":[],\"assessments\":[]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "642ec648-45ad-4eca-be73-146253a2e5f2", + "apim-request-id": "1bb84374-cf18-4e5d-af6e-352c8ec5b2ad", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:30 GMT", + "date": "Fri, 25 Jun 2021 19:57:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2566" + "x-envoy-upstream-service-time": "121" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "ec581b478d23d80891b369a0702019cc" + "hash": "4a32b51201e582791f5a784bb39eb256" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json index 30d831db1db0..e437d42b23d1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:24 GMT", + "date": "Fri, 25 Jun 2021 19:57:49 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "743b3b92-2f52-481c-a716-8c78fa365200" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "84bdf8e2-d00d-4332-9ea9-2d5e593b7900" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit", "opinionMining": "true" @@ -35,14 +35,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.98,\"neutral\":0.02,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.98,\"neutral\":0.02,\"negative\":0.0},\"offset\":0,\"length\":74,\"text\":\"It has a sleek premium aluminum design that makes it beautiful to look at.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":32,\"length\":6,\"text\":\"design\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":9,\"length\":5,\"text\":\"sleek\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":7,\"text\":\"premium\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "57600586-fa03-44d2-aae6-291835103104", + "apim-request-id": "82b59c3c-a540-4f87-9183-aefda3859b34", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:27 GMT", + "date": "Fri, 25 Jun 2021 19:57:55 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2570" + "x-envoy-upstream-service-time": "5061" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "7f8fe441996deb94b9b104a350a800f0" + "hash": "aec5e48e164c2a8b36c1b91efb4e6a75" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json index 7d870844f876..bba3bd417dfe 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "eff365e44534c46b3f7c9212114d80f5" + "hash": "cabbc96937b89ec2ffef29ca710c8540" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json index c6ccb0fa7023..bc7f907927ed 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:10 GMT", + "date": "Fri, 25 Jun 2021 19:57:43 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "e7a67084-aa52-4720-8c70-d750cf67d500" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "84bdf8e2-d00d-4332-9ea9-2d5e123a7900" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit", "opinionMining": "true" @@ -35,14 +35,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":25,\"text\":\"The food was unacceptable\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":13,\"length\":12,\"text\":\"unacceptable\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":25,\"text\":\"The rooms were beautiful.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":9,\"text\":\"beautiful\",\"isNegated\":false}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":26,\"length\":26,\"text\":\"The AC was good and quiet.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":30,\"length\":2,\"text\":\"AC\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":37,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":46,\"length\":5,\"text\":\"quiet\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"offset\":0,\"length\":50,\"text\":\"The breakfast was good, but the toilet was smelly.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":32,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":18,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":43,\"length\":6,\"text\":\"smelly\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":71,\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":11,\"length\":5,\"text\":\"hotel\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":24,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":41,\"length\":15,\"text\":\"shuttle service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":65,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/3\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":19,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":36,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":5,\"text\":\"loved\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":59,\"length\":5,\"text\":\"clean\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":56,\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.97,\"negative\":0.03},\"offset\":27,\"length\":4,\"text\":\"view\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":8,\"length\":5,\"text\":\"great\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.93,\"negative\":0.07},\"offset\":14,\"length\":12,\"text\":\"unobstructed\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":75,\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":5,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/5/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":15,\"length\":9,\"text\":\"bathrooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/5/sentences/0/assessments/1\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":42,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/5/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":30,\"length\":3,\"text\":\"old\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":53,\"length\":5,\"text\":\"dirty\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"offset\":0,\"length\":19,\"text\":\"The toilet smelled.\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/6/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":11,\"length\":7,\"text\":\"smelled\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "964c6cde-692b-4b11-9e66-6380cf897d17", + "apim-request-id": "70bbaf62-d670-4ed7-bda2-2cbd080d2435", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", - "date": "Wed, 12 May 2021 19:17:18 GMT", + "date": "Fri, 25 Jun 2021 19:57:49 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7647" + "x-envoy-upstream-service-time": "5068" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9e4b6a5234aaae7e39f623eb89e91ec2" + "hash": "40f144d24f3fb5c645999a2c78b3953e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json index 14858a0713fd..abd6b944089b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:18 GMT", + "date": "Fri, 25 Jun 2021 19:57:49 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "066edeb7-a09f-4303-a4a3-ddc306e95500" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "57418012-2503-4660-964d-7a7e15236400" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"offset\":0,\"length\":86,\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":58,\"text\":\"Unfortunately, it rained during my entire trip to Seattle.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.7,\"negative\":0.29},\"offset\":59,\"length\":43,\"text\":\"I didn't even get to visit the Space Needle\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":101,\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"offset\":0,\"length\":42,\"text\":\"I didn't like the last book I read at all.\"}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "5141f81a-fee8-44ff-8978-8b49700c1eaa", + "apim-request-id": "ed3c384c-1d6b-41a4-8443-1a6c791f6477", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:18 GMT", + "date": "Fri, 25 Jun 2021 19:57:49 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "132" + "x-envoy-upstream-service-time": "176" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "0d6754a184f1407d3afcc80ff5e02d74" + "hash": "e151e8485409be49c4aed9e1e27f646b" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json index bf7440ebd1c3..05873c037d4c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:10 GMT", + "date": "Fri, 25 Jun 2021 19:57:43 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "0c969697-c15c-4290-963c-8600afbfc900" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "95dd752c-c66f-48d3-96a0-2af2f39a5e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,13 +34,13 @@ "status": 200, "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: de,en,es,fr,hi,it,ja,ko,nl,no,pt-BR,pt-PT,tr,zh-Hans,zh-Hant. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis\"}}}],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "e4bf4260-241b-445a-867a-804099d0d6a9", + "apim-request-id": "43379161-88b7-41b5-9ad9-f5a01d50a2ab", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:10 GMT", + "date": "Fri, 25 Jun 2021 19:57:44 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "3" + "x-envoy-upstream-service-time": "4" } } ], @@ -48,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "f02a808463021dc94de203913bc4a53d" + "hash": "95dc0a75a7e111778cfbf0de50a24cb0" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json index 1335f4bec07d..c26260d5a3a1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:30 GMT", + "date": "Fri, 25 Jun 2021 19:57:56 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,26 +20,26 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "4e081bcf-0a12-4b10-9110-b01aaecb5600" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "a8469818-98d5-4f27-9e2b-efa517027700" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/languages", + "url": "https://endpoint//text/analytics/v3.1/languages", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"impossible\",\"countryHint\":\"fr\"}]}", "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":0.58},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", "responseHeaders": { - "apim-request-id": "016b7975-bb04-427a-833e-01ec3bdadca0", + "apim-request-id": "0b795b3a-18f8-4d38-8e19-f047bab29316", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:30 GMT", + "date": "Fri, 25 Jun 2021 19:57:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "14" + "x-envoy-upstream-service-time": "7" } } ], @@ -47,5 +47,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "25109d71d73c0f05dc15914aff19dd86" + "hash": "1c00e733f3426ca4c2ad539a5e61d689" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json index 4910c280004a..534bb3caf27f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:31 GMT", + "date": "Fri, 25 Jun 2021 19:57:57 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,26 +20,26 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d8124bb600" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "95dd752c-c66f-48d3-96a0-2af2669c5e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/languages", + "url": "https://endpoint//text/analytics/v3.1/languages", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"countryHint\":\"mx\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"countryHint\":\"mx\"}]}", "status": 200, "response": "{\"documents\":[{\"id\":\"1\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"2\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"3\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"4\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"5\",\"detectedLanguage\":{\"name\":\"Spanish\",\"iso6391Name\":\"es\",\"confidenceScore\":0.99},\"warnings\":[]},{\"id\":\"6\",\"detectedLanguage\":{\"name\":\"Spanish\",\"iso6391Name\":\"es\",\"confidenceScore\":1.0},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", "responseHeaders": { - "apim-request-id": "f7e0e67f-8f13-4ab3-802d-996c98a50786", + "apim-request-id": "e450af8d-8327-4ef6-a2dc-564e6d58fa02", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "date": "Wed, 12 May 2021 19:17:34 GMT", + "date": "Fri, 25 Jun 2021 19:57:57 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2517" + "x-envoy-upstream-service-time": "12" } } ], @@ -47,5 +47,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "659e28ad17d34ae2a24c337cbb95d77c" + "hash": "fe64a916306e48562569c99a6f167f98" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json index 6daa6b1f560b..a595929324a4 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json @@ -11,31 +11,31 @@ "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 25 May 2021 18:02:10 GMT", + "date": "Fri, 25 Jun 2021 19:57:56 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+est\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11774.11 - EUS ProdSlices", - "x-ms-request-id": "045dea54-c661-4319-ae91-fbadabfc2000" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "6193c514-d6a6-4dcd-bb2f-f9fc8dda7700" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/languages", + "url": "https://endpoint//text/analytics/v3.1/languages", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"countryHint\":\"us\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"countryHint\":\"us\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"countryHint\":\"us\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"countryHint\":\"us\"}]}", "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"1\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"2\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"3\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", "responseHeaders": { - "apim-request-id": "a60e0845-43a4-43ad-b678-45361eed896c", + "apim-request-id": "e6ed8025-8018-463c-8d75-6551cf8ca684", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Tue, 25 May 2021 18:02:12 GMT", + "date": "Fri, 25 Jun 2021 19:57:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -47,5 +47,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "4ec7d553e30c3fb01b69536e0536c46a" + "hash": "cf45d28b6431c9dcf6e5585c883eeed6" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json index 5f568123a320..d4e7a55a61e8 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:31 GMT", + "date": "Fri, 25 Jun 2021 19:57:56 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,26 +20,26 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "37cbc159-7924-4f74-bcb8-8ca181a85900" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b10314ef-1e76-4785-9505-f5445ec77000" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/languages", + "url": "https://endpoint//text/analytics/v3.1/languages", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"countryHint\":\"\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"countryHint\":\"\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"countryHint\":\"\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\",\"countryHint\":\"\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"countryHint\":\"\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"countryHint\":\"\"}]}", "status": 200, "response": "{\"documents\":[{\"id\":\"1\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"2\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"3\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"4\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"5\",\"detectedLanguage\":{\"name\":\"Spanish\",\"iso6391Name\":\"es\",\"confidenceScore\":0.99},\"warnings\":[]},{\"id\":\"6\",\"detectedLanguage\":{\"name\":\"Spanish\",\"iso6391Name\":\"es\",\"confidenceScore\":1.0},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", "responseHeaders": { - "apim-request-id": "50671b5c-16a5-49be-8a69-bf18ba5631b6", + "apim-request-id": "1d574583-7012-4519-a48a-2b8a7997ed29", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "date": "Wed, 12 May 2021 19:17:31 GMT", + "date": "Fri, 25 Jun 2021 19:57:57 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "8" } } ], @@ -47,5 +47,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "10188c9d9d003d42ab9a343fc0638a75" + "hash": "07a89b99a0d5d9f650d0b29b95719c66" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json index af26542cfa4c..ce1fc56669be 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:30 GMT", + "date": "Fri, 25 Jun 2021 19:57:56 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,26 +20,26 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "50b07056-565c-44fe-b146-9951de83af00" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b10314ef-1e76-4785-9505-f5444bc77000" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/languages", + "url": "https://endpoint//text/analytics/v3.1/languages", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I use Azure Functions to develop my service.\",\"countryHint\":\"\"}]}", "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":0.95},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", "responseHeaders": { - "apim-request-id": "8ee96e3b-64e8-4763-a40b-6f7feb07a205", + "apim-request-id": "ae744218-da53-4c35-88a3-95aae7646b4d", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:31 GMT", + "date": "Fri, 25 Jun 2021 19:57:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "6" } } ], @@ -47,5 +47,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "05b5233a70e3a35d13008dcf4e6549c2" + "hash": "1e4ad2fbcfb9705b49f259dce5dd663f" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json index 03a81aa3f71d..f837cfbc7c5b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9589de94b5be540b968d2122e13ebc4b" + "hash": "7a76e1e1e89f55f4e595e2fbaeab47ee" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json index aaab459acd31..ae4328d0da58 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:31 GMT", + "date": "Fri, 25 Jun 2021 19:57:57 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,25 +20,25 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "743b3b92-2f52-481c-a716-8c7802385200" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "10121119-4aa0-420a-a503-c541cad65d00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/languages", + "url": "https://endpoint//text/analytics/v3.1/languages", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"hello\",\"countryHint\":\"invalidcountry\"}]}", "status": 200, "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Country Hint.\",\"innererror\":{\"code\":\"InvalidCountryHint\",\"message\":\"Country hint is not valid. Please specify an ISO 3166-1 alpha-2 two letter country code.\"}}}],\"modelVersion\":\"2021-01-05\"}", "responseHeaders": { - "apim-request-id": "ab5434a8-bde1-4c98-ba83-6fa9a4bbf6a2", + "apim-request-id": "77d78523-7cf7-4272-8bd0-455f1d8b569a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:31 GMT", + "date": "Fri, 25 Jun 2021 19:57:57 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2" + "x-envoy-upstream-service-time": "3" } } ], @@ -46,5 +46,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "44ef5d8619b1a3b1f5260bd5ebace8d5" + "hash": "47fb39e4d90d4d4f6b254f5b853c7a94" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json index 1a4c7a6a548f..76f8a1390d5c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:46 GMT", + "date": "Fri, 25 Jun 2021 19:58:17 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,26 +20,26 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "c53ac30c-0f0c-44df-8647-6ebb22ec5800" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "e0b3e3aa-321c-4078-9fcf-b7627ac27000" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/keyPhrases", + "url": "https://endpoint//text/analytics/v3.1/keyPhrases", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"week\",\"Space Needle\",\"wonderful trip\",\"Seattle\",\"times\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space Needle\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"movie\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"book\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"Monte Rainier\",\"caminos\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"carretera\",\"tráfico\",\"día\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}", + "response": "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"wonderful trip\",\"Space Needle\",\"Seattle\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space\",\"Needle\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"movie\",\"Saturday\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"last book\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"Los\",\"caminos\",\"Monte\",\"Rainier\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"mucho tráfico\",\"carretera\",\"ayer\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "64362b34-699c-4354-b561-973e962a9af7", + "apim-request-id": "790be618-70a9-4f12-99c8-a8a957ebfc26", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", - "date": "Wed, 12 May 2021 19:17:46 GMT", + "date": "Fri, 25 Jun 2021 19:58:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "23" + "x-envoy-upstream-service-time": "25" } } ], @@ -47,5 +47,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "5b8ceb69c9f9f5f56aa9a2ea9b7290bd" + "hash": "b1fef77e495c77fd0f24ac797998e7cd" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json index ad825988e0b6..b4eb28fa5a3e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:45 GMT", + "date": "Fri, 25 Jun 2021 19:58:16 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,26 +20,26 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "5c46cd0a-304b-4f9b-a5f1-199c98635100" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "95dd752c-c66f-48d3-96a0-2af2299f5e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/keyPhrases", + "url": "https://endpoint//text/analytics/v3.1/keyPhrases", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"week\",\"Space Needle\",\"wonderful trip\",\"Seattle\",\"times\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space Needle\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"movie\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"book\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}", + "response": "{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"wonderful trip\",\"Space Needle\",\"Seattle\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space\",\"Needle\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"movie\",\"Saturday\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"last book\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "1f9deed6-f308-43aa-b8ac-db0d363ae88e", + "apim-request-id": "a316ba0c-9c7d-4287-9f67-6de53458579b", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:45 GMT", + "date": "Fri, 25 Jun 2021 19:58:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "31" + "x-envoy-upstream-service-time": "44" } } ], @@ -47,5 +47,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "90c8316976a142beaba677cb17157194" + "hash": "87d3297b8831a7187e4fc0b3fbb0c461" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json index 034f9832994f..1addf950f55c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:45 GMT", + "date": "Fri, 25 Jun 2021 19:58:16 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,26 +20,26 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "743b3b92-2f52-481c-a716-8c78023a5200" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "28812791-b9ec-449e-b425-0faa84755c00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/keyPhrases", + "url": "https://endpoint//text/analytics/v3.1/keyPhrases", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"week\",\"Space Needle\",\"wonderful trip\",\"Seattle\",\"times\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space Needle\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"movie\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"book\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}", + "response": "{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"wonderful trip\",\"Space Needle\",\"Seattle\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space\",\"Needle\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"movie\",\"Saturday\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"last book\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "be10aa8e-9ab7-4a4d-9c62-864b3e329b3c", + "apim-request-id": "2cbd9c1c-b12d-48cd-830c-6083b1a20c6d", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:45 GMT", + "date": "Fri, 25 Jun 2021 19:58:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "43" } } ], @@ -47,5 +47,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "5bbcd76d9b3268248461d2db74409783" + "hash": "0615d3d4c4fd132428e37ddec4e40fdd" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json index 820fc0f61169..0936c6c18e4e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "b0d085bdbb39e5970bad6f7dbfc09cf2" + "hash": "e3619dd2bea2cc5858c29bf862efe4bd" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json index 359d20bd7b6e..69d8291cc163 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:45 GMT", + "date": "Fri, 25 Jun 2021 19:58:17 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,21 +20,21 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "c1e705ec-3912-4743-ac25-e105ff104e00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "9c2a0045-784c-4338-a06a-102070796100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/keyPhrases", + "url": "https://endpoint//text/analytics/v3.1/keyPhrases", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This is some text, but it doesn't matter.\",\"language\":\"notalanguage\"}]}", "status": 200, - "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}", + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "fcebb877-73cd-4f7f-84ed-201cfa749287", + "apim-request-id": "8ec60d13-7cda-4dd2-a7b0-2faa03d2f65c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:45 GMT", + "date": "Fri, 25 Jun 2021 19:58:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -46,5 +46,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e8bf57f5c5efbc0525d2949aa0ff1bb7" + "hash": "7a23f594562b7234b10430b3185b9a05" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_reports_warning_for_long_words.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_reports_warning_for_long_words.json deleted file mode 100644 index 219d4cc617df..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_reports_warning_for_long_words.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:45 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d8d94cb600" - } - }, - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/keyPhrases", - "query": {}, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Hello world, thisisanextremelymassivesequenceoflettersthatislongerthansixtyfourcharacters.\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"world\",\"thisisanextremelymassivesequenceoflettersthatislongerthansixtyfo\"],\"warnings\":[{\"code\":\"LongWordsInDocument\",\"message\":\"The document contains very long words (longer than 64 characters). These words will be truncated and may result in unreliable model predictions.\"}]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}", - "responseHeaders": { - "apim-request-id": "0f99bde8-4ba9-4a24-8695-050270e4e708", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:45 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "ce5280121703e04a53b08a00ab4390bd" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json index 491a938ef889..de798bd7ff56 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:39 GMT", + "date": "Fri, 25 Jun 2021 19:58:08 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,28 +20,28 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "c1e705ec-3912-4743-ac25-e10553104e00" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "a7490fb9-b183-45a5-a7bb-68e65cac7a00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/general", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", "query": { "stringIndexType": "Utf16CodeUnit" }, "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"5\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":0.98},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.73},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"Monte Rainier\",\"category\":\"Location\",\"offset\":29,\"length\":13,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"carretera\",\"category\":\"Location\",\"offset\":3,\"length\":9,\"confidenceScore\":0.68},{\"text\":\"ayer\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":60,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "response": "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":18,\"length\":4,\"confidenceScore\":0.65},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.95},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":42,\"length\":4,\"confidenceScore\":0.79},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":90,\"length\":12,\"confidenceScore\":0.94}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"Monte Rainier\",\"category\":\"Location\",\"offset\":29,\"length\":13,\"confidenceScore\":0.74}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"carretera\",\"category\":\"Location\",\"offset\":3,\"length\":9,\"confidenceScore\":0.84},{\"text\":\"ayer\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":60,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "ea57cb93-b4e3-4fd8-b6fd-ceafb311599a", + "apim-request-id": "cc4b5e18-1939-4239-a3dd-3320121afcdf", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "date": "Wed, 12 May 2021 19:17:44 GMT", + "date": "Fri, 25 Jun 2021 19:58:16 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5050" + "x-envoy-upstream-service-time": "7573" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "7bd1ad8cb0900d84bddc4d4ff15b70d8" + "hash": "7c7eca1ef4566913e8eabad160d2de95" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json index e33851bd1316..27173ab7dda7 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:37 GMT", + "date": "Fri, 25 Jun 2021 19:58:00 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,28 +20,28 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "e7a67084-aa52-4720-8c70-d7505d6bd500" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "6193c514-d6a6-4dcd-bb2f-f9fc95db7700" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/general", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", "query": { "stringIndexType": "Utf16CodeUnit" }, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":0.98},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.73},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"book\",\"category\":\"Product\",\"offset\":23,\"length\":4,\"confidenceScore\":0.6}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":18,\"length\":4,\"confidenceScore\":0.65},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.95},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":42,\"length\":4,\"confidenceScore\":0.79},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":90,\"length\":12,\"confidenceScore\":0.94}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"book\",\"category\":\"Product\",\"offset\":23,\"length\":4,\"confidenceScore\":0.93}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "3a61935b-20f4-461a-ae0e-924a1aacc64f", + "apim-request-id": "f8dcdb52-31c6-4bf0-a571-dd3cb8d4ca64", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:39 GMT", + "date": "Fri, 25 Jun 2021 19:58:08 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2588" + "x-envoy-upstream-service-time": "7552" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "f40d7720f844e58dbb0f1f095e13410a" + "hash": "483ba314d4233192906e80e6e7456301" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json index c5be722dd3fd..105ca02a87bf 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:34 GMT", + "date": "Fri, 25 Jun 2021 19:57:57 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,28 +20,28 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "5c46cd0a-304b-4f9b-a5f1-199ce4615100" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "bc6f6286-ef1f-41cd-a185-ef7461a47400" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/general", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", "query": { "stringIndexType": "Utf16CodeUnit" }, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":0.98},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.73},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"book\",\"category\":\"Product\",\"offset\":23,\"length\":4,\"confidenceScore\":0.6}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":18,\"length\":4,\"confidenceScore\":0.65},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.95},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":42,\"length\":4,\"confidenceScore\":0.79},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":90,\"length\":12,\"confidenceScore\":0.94}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"book\",\"category\":\"Product\",\"offset\":23,\"length\":4,\"confidenceScore\":0.93}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "30006388-27be-46b7-8893-5bc513925951", + "apim-request-id": "e74c23b3-675f-422c-86ee-be0f8e185b37", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:36 GMT", + "date": "Fri, 25 Jun 2021 19:58:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2569" + "x-envoy-upstream-service-time": "2535" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "13433d758be6f5dcaa12d5dcbbb124be" + "hash": "ba84ff7f5448122a1514c4eb618c81eb" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json index dcb42d33174c..7e679a1d34e1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:45 GMT", + "date": "Fri, 25 Jun 2021 19:58:16 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "066edeb7-a09f-4303-a4a3-ddc31bed5500" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "9c2a0045-784c-4338-a06a-102045796100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/general", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,13 +34,13 @@ "status": 400, "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Batch request contains too many records. Max 5 records are permitted.\"}}}", "responseHeaders": { - "apim-request-id": "14074b71-0b4f-4e01-b5a0-618ca8e06bab", + "apim-request-id": "e4cfcb64-215f-4a7f-a62b-b60ebc366152", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:45 GMT", + "date": "Fri, 25 Jun 2021 19:58:16 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "36" + "x-envoy-upstream-service-time": "6" } } ], @@ -48,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "dec5f2270e2809632da7f047a5e78b96" + "hash": "7de71703965569a57d9c84d5ae95763a" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json index 5e7b336b98ae..678b6ed2704e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e6093cdf877f26bd4356af2f881aab9a" + "hash": "aa30e0a7c5dbe20f0e0c7ccd6c0fb095" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json index b404f225553c..eb590192cbd4 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:39 GMT", + "date": "Fri, 25 Jun 2021 19:58:08 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,27 +20,27 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d8134cb600" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "5d80b8a6-644e-4556-a2b6-4c9b407d5a00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/general", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", "query": { "stringIndexType": "Utf16CodeUnit" }, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This is some text, but it doesn't matter.\",\"language\":\"notalanguage\"}]}", "status": 200, - "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}", + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "45b37465-c608-4313-821b-5739c72206e4", + "apim-request-id": "8354fc24-10c5-4568-8e69-e5ff589198fc", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:39 GMT", + "date": "Fri, 25 Jun 2021 19:58:09 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "3" + "x-envoy-upstream-service-time": "2" } } ], @@ -48,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1646453cc4dc7b8f27ac9b5b6dec776a" + "hash": "93d3c5553b3c71f204cb6844585dc315" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json index cc528957147e..b1af5f58aa22 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:07 GMT", + "date": "Fri, 25 Jun 2021 19:58:36 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,28 +20,28 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d8bc4fb600" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "a7490fb9-b183-45a5-a7bb-68e63fb27a00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/linking", + "url": "https://endpoint//text/analytics/v3.1/entities/linking", "query": { "stringIndexType": "Utf16CodeUnit" }, "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"5\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"bingId\":\"9ae3e6ca-81ea-6fa1-ffa0-42e1d7890906\",\"name\":\"Monte Rainier\",\"matches\":[{\"text\":\"Monte Rainier\",\"offset\":29,\"length\":13,\"confidenceScore\":0.81}],\"language\":\"es\",\"id\":\"Monte Rainier\",\"url\":\"https://es.wikipedia.org/wiki/Monte_Rainier\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}", + "response": "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"bingId\":\"9ae3e6ca-81ea-6fa1-ffa0-42e1d7890906\",\"name\":\"Monte Rainier\",\"matches\":[{\"text\":\"Monte Rainier\",\"offset\":29,\"length\":13,\"confidenceScore\":0.81}],\"language\":\"es\",\"id\":\"Monte Rainier\",\"url\":\"https://es.wikipedia.org/wiki/Monte_Rainier\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "62ad912a-8365-40ac-844d-00393150c74b", + "apim-request-id": "cef16080-6657-45fb-b4b7-7c7d20705ad0", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "date": "Wed, 12 May 2021 19:18:10 GMT", + "date": "Fri, 25 Jun 2021 19:58:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "3263" + "x-envoy-upstream-service-time": "34" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "3031963f9a5ba5ff46fee6a8b20f9b12" + "hash": "e409ba5d8d13f9e12d9f5e0ea02b9921" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json index 72057ddddd69..b9165b00aef8 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:06 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,28 +20,28 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d8a64fb600" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b10314ef-1e76-4785-9505-f54424cf7000" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/linking", + "url": "https://endpoint//text/analytics/v3.1/entities/linking", "query": { "stringIndexType": "Utf16CodeUnit" }, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}", + "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "cf8125fe-5cd3-4d3c-9041-feca77533633", + "apim-request-id": "9c62d68d-2a2d-4a91-982b-1080b9370b93", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:18:06 GMT", + "date": "Fri, 25 Jun 2021 19:58:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "168" + "x-envoy-upstream-service-time": "16" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "defbef8db3d22f0ecf8428b4d248c57f" + "hash": "4f0d5d390bc38c36eaf5bdaaa4349e83" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json index 384e41fba8ef..9423c8f1dbf8 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:58 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,28 +20,28 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "066edeb7-a09f-4303-a4a3-ddc338ef5500" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "95dd752c-c66f-48d3-96a0-2af295a15e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/linking", + "url": "https://endpoint//text/analytics/v3.1/entities/linking", "query": { "stringIndexType": "Utf16CodeUnit" }, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}", + "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "c7da9c5c-4864-4570-84ea-f7fa1a5d480c", + "apim-request-id": "74d1b4c0-0f4c-4dee-b644-e453264ec388", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:18:06 GMT", + "date": "Fri, 25 Jun 2021 19:58:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7716" + "x-envoy-upstream-service-time": "18" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "2b30fd0c0b571e5816df1b0c15913c9f" + "hash": "30c29afb38fdf2180cc2cedeb3f4fc16" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json index ad8eba0ccf00..d4a5fbb43c48 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:10 GMT", + "date": "Fri, 25 Jun 2021 19:58:36 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d83f50b600" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "8e39ec98-09f7-43aa-b65f-9f37fc887600" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/general", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,13 +34,13 @@ "status": 400, "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Batch request contains too many records. Max 5 records are permitted.\"}}}", "responseHeaders": { - "apim-request-id": "f23f2fcc-f278-49b8-b762-8fc380445f75", + "apim-request-id": "f201996e-234d-4bc5-90b5-3f264158f94d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:10 GMT", + "date": "Fri, 25 Jun 2021 19:58:37 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "5" } } ], @@ -48,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "dec5f2270e2809632da7f047a5e78b96" + "hash": "7de71703965569a57d9c84d5ae95763a" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json index 5820cac62acf..6e5f1ec654ea 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json @@ -4,5 +4,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "4b75caef41d2205c9039c478cbb49362" + "hash": "85638de68feea86c1695a14c61ca59de" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json index 4d3de8b7776e..0542cdeff7c2 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:06 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,27 +20,27 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-37903f3d4f00" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b10314ef-1e76-4785-9505-f5442fcf7000" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/linking", + "url": "https://endpoint//text/analytics/v3.1/entities/linking", "query": { "stringIndexType": "Utf16CodeUnit" }, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This is some text, but it doesn't matter.\",\"language\":\"notalanguage\"}]}", "status": 200, - "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2020-02-01\"}", + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}", "responseHeaders": { - "apim-request-id": "114b1522-e7de-4e67-b805-1972a9ab2976", + "apim-request-id": "55d37abf-7ee0-4364-898a-9f441e9d9c79", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:07 GMT", + "date": "Fri, 25 Jun 2021 19:58:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "2" } } ], @@ -48,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e883f7ba3fdd90498da6e742703cb331" + "hash": "5fb15576b315482f44754cc0f6d91801" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json index 6584af6cc397..982ab7420fde 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:57 GMT", + "date": "Fri, 25 Jun 2021 19:58:34 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-3790133c4f00" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "5d80b8a6-644e-4556-a2b6-4c9b11815a00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit", "domain": "PHI" @@ -35,14 +35,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"I work at ********* and my phone number is ************\",\"id\":\"0\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":10,\"length\":9,\"confidenceScore\":0.95},{\"text\":\"333-333-3333\",\"category\":\"PhoneNumber\",\"offset\":43,\"length\":12,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "49d2a322-a40f-440e-9e16-c32965f73f55", + "apim-request-id": "ad911f37-b6c2-48d6-b1d6-22df89ac9897", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:58 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "70" + "x-envoy-upstream-service-time": "29" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "84330346f05d0dadfb7d35edb26f4f2e" + "hash": "6aacb0e9cdd05e66fe9904538c611eab" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json index 79df4aacba77..cb5014572485 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:57 GMT", + "date": "Fri, 25 Jun 2021 19:58:34 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "50b07056-565c-44fe-b146-9951a287af00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "eab54377-ea4c-4e0d-a5d6-ad792bdf6500" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit", "piiCategories": "USSocialSecurityNumber" @@ -35,14 +35,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"Patient name is Joe and SSN is ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":31,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "39c3fc76-a2c4-4ee8-a56b-12efc25f377c", + "apim-request-id": "df300b5b-9fca-4a68-ab5b-c7f7fafe3a36", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:58 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "46" + "x-envoy-upstream-service-time": "73" } } ], @@ -50,5 +50,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "de58d7e405c02076ccaeb4d5b2190080" + "hash": "715a39f4e2fef48461eed60ed7c423ec" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json index f0da0842a8c1..8933042e930c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:49 GMT", + "date": "Fri, 25 Jun 2021 19:58:29 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "1f623800-874c-4277-b16b-879aefc6be00" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "10121119-4aa0-420a-a503-c541a1db5d00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!\",\"id\":\"1\",\"entities\":[{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.\",\"id\":\"3\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"La carretera estaba atascada. Había mucho tráfico el día de ****.\",\"id\":\"5\",\"entities\":[{\"text\":\"ayer\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":60,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "cde0a087-e7ee-43c1-a1ac-166a351793b6", + "apim-request-id": "a1b2ea14-8aa0-4cd3-ab70-c002df77cbca", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", - "date": "Wed, 12 May 2021 19:17:57 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7559" + "x-envoy-upstream-service-time": "5126" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "62482340a86037315fe778124cf9d3a3" + "hash": "5ec8aaf6662a33e07532390829e62e7a" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json index c75f73c66f22..243e3bb309e5 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:49 GMT", + "date": "Fri, 25 Jun 2021 19:58:20 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-3790503b4f00" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "8e39ec98-09f7-43aa-b65f-9f3790857600" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!\",\"id\":\"0\",\"entities\":[{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.\",\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"I didn't like the last book I read at all.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "aae69e89-18cb-4c92-8bb3-409d5fa66849", + "apim-request-id": "336164b5-3a1a-4d57-a884-19bee2e6fdd7", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:49 GMT", + "date": "Fri, 25 Jun 2021 19:58:28 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "73" + "x-envoy-upstream-service-time": "7537" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "628c680cbc79498708b61558b22479b4" + "hash": "a7239aa57ac74e2a4ab2321e2ed80998" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json index 0dcbd4d167cf..0eb008663699 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:46 GMT", + "date": "Fri, 25 Jun 2021 19:58:18 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "0c969697-c15c-4290-963c-8600f5c4c900" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "10121119-4aa0-420a-a503-c541ecd95d00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!\",\"id\":\"0\",\"entities\":[{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.\",\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"I didn't like the last book I read at all.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "104c480f-e740-4d69-b7b1-81ac95befe12", + "apim-request-id": "2ab288c2-bae2-4f66-99c3-2d3dc768bc96", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:17:48 GMT", + "date": "Fri, 25 Jun 2021 19:58:20 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2595" + "x-envoy-upstream-service-time": "2589" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "2730c589619d43c2b132b28b3a099db2" + "hash": "44cf1e73908b195dbdfa52311ea4fdef" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json index 1f0fc9578dad..a9c5f26baaf3 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:49 GMT", + "date": "Fri, 25 Jun 2021 19:58:28 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "066edeb7-a09f-4303-a4a3-ddc3cced5500" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "0bf26b5d-85ea-49fb-99ba-7277cd397a00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"Your Social Security Number is ***********.\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":31,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "a18046c0-d51c-4d5b-931e-67248ca377a4", + "apim-request-id": "3bc4ae91-b1cd-4cd9-8f69-731a3f6c3e22", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:49 GMT", + "date": "Fri, 25 Jun 2021 19:58:28 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "79" + "x-envoy-upstream-service-time": "32" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "74d071ef5b7f2cf7a540bf9599731a2b" + "hash": "30fd28c96f68f1a412fbad3315f2a3a2" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json index c6219bf5cfbb..e8ec1b849fa1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:46 GMT", + "date": "Fri, 25 Jun 2021 19:58:17 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "4e081bcf-0a12-4b10-9110-b01a28ce5600" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "10121119-4aa0-420a-a503-c541e1d95d00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,13 +34,13 @@ "status": 400, "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid Request.\",\"innererror\":{\"code\":\"MissingInputRecords\",\"message\":\"Missing input records.\"}}}", "responseHeaders": { - "apim-request-id": "5e442bdc-386f-4473-9a5f-b86055b686b5", + "apim-request-id": "c255caa3-3afb-4c41-aa4a-b2d6f684fe29", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:46 GMT", + "date": "Fri, 25 Jun 2021 19:58:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "5" } } ], @@ -48,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "cc302f3f2f63db389e3b21b16baf80ce" + "hash": "01afa681adb7f537c0fd8ec67214b5c0" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json index b78e37ab50ef..cad8001c3059 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:58 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-3790203c4f00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "9c2a0045-784c-4338-a06a-1020197c6100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,19 +34,19 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"Patient name is *** and SSN is ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"Joe\",\"category\":\"Person\",\"offset\":16,\"length\":3,\"confidenceScore\":0.79},{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":31,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "931d52c6-d2fb-4459-86a8-d300d65c4f1d", + "apim-request-id": "ce8bd112-a858-4775-a640-3a9eab2c6816", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:58 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "64" + "x-envoy-upstream-service-time": "57" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit", "piiCategories": "USSocialSecurityNumber" @@ -55,14 +55,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"Patient name is Joe and SSN is ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":31,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "b2b45fee-dccd-4c8e-a1d2-76539f19610b", + "apim-request-id": "68459a9b-19cf-4466-93ec-89469c682675", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:17:58 GMT", + "date": "Fri, 25 Jun 2021 19:58:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "38" + "x-envoy-upstream-service-time": "33" } } ], @@ -70,5 +70,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1c1d9197499cd3914b0252e6a988dc52" + "hash": "de5b4b37967461f9ed943fb6f84228e5" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json index b407f2f22db9..20455074fe1b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:49 GMT", + "date": "Fri, 25 Jun 2021 19:58:28 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "d8b4f1c7-068a-49ca-8be3-b9fbba665800" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "84bdf8e2-d00d-4332-9ea9-2d5e5e437900" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,13 +34,13 @@ "status": 200, "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: de,en,es,fr,it,ja,ko,pt-BR,pt-PT,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "45bc4337-55dc-469b-b11f-f8801f65df82", + "apim-request-id": "027fcc67-a453-4997-8a13-58a1411d240f", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:49 GMT", + "date": "Fri, 25 Jun 2021 19:58:28 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "4" + "x-envoy-upstream-service-time": "7" } } ], @@ -48,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "516a3a45043425fcc85c475f2483fdcc" + "hash": "80acdc66d0bcc0cc3b0446e597fc56bf" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json index 29539bbf122f..49f04418dd84 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:13 GMT", + "date": "Tue, 29 Jun 2021 21:09:36 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "1abc1a8a-2ae7-4c0a-9aec-0f300e745600" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b8594f4f-9f44-40e0-9a82-8e2b54fb3101" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "2b685f20-21e8-43b6-85a1-b46f51c8e51b", + "apim-request-id": "eebf05d4-640c-449f-94ad-245aaa9b99e4", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:13 GMT", + "date": "Tue, 29 Jun 2021 21:09:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "59" + "x-envoy-upstream-service-time": "48" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "811aa0ce40f1c7f9f3b639cb2379bd82" + "hash": "1405fd53d6237d457a1bba0408b1e696" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json index 4b0f385b196b..cd86ff603bc1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:36 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "0c969697-c15c-4290-963c-86004ac9c900" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "c694b77a-b61d-4bb5-bf7e-8469d19e4701" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "acd0ead0-4461-42ab-9ab7-064c5fc5d6f7", + "apim-request-id": "ecdeb0cd-21e0-4ab8-a8d8-caffe7fe258f", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "43" + "x-envoy-upstream-service-time": "25" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "8311009fea9846c5b4917f9b4bda0aa6" + "hash": "bd8f8e11c32bea3ce834804ae6e55eba" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json index 21493e7b3d30..d3c4ca70dced 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:10 GMT", + "date": "Tue, 29 Jun 2021 21:09:34 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "0c969697-c15c-4290-963c-8600e0c8c900" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "fc08600f-2b4b-4f32-aea1-31fc97184301" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "aab19fd2-7c82-48c0-afbf-8db34ee74767", + "apim-request-id": "77b306a7-8ee1-49ab-97a9-ab00bc063cf7", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:10 GMT", + "date": "Tue, 29 Jun 2021 21:09:34 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "37" + "x-envoy-upstream-service-time": "53" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "88e2c6a75966d0ab41836d845147d472" + "hash": "908cd4b4839d69ee785150461c56ff98" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json index d6b51f846a95..a26dc7c99174 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:10 GMT", + "date": "Tue, 29 Jun 2021 21:09:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "c53ac30c-0f0c-44df-8647-6ebbfdef5800" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "a9c6fa36-25c5-4249-81a7-f830eb5e1601" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩🏻 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "f6ae4fee-4cb8-485a-b8be-6051a21eec55", + "apim-request-id": "feb30d0e-da0a-4d24-8312-8b617f311efb", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:13 GMT", + "date": "Tue, 29 Jun 2021 21:09:34 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "2579" + "x-envoy-upstream-service-time": "49" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "aa34be3c24dcca4d8e8cd12c407c97f3" + "hash": "567cf9233223f7f12a6a5228401a4c20" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json index 8f5c19c67d37..d21573fafce4 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:13 GMT", + "date": "Tue, 29 Jun 2021 21:09:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "d8b4f1c7-068a-49ca-8be3-b9fbac6a5800" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "c0795943-7ed8-404a-90ea-6a7d00930b01" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩‍👩‍👧‍👧 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "66cc84b8-f96b-422a-aca2-5cf116799cc1", + "apim-request-id": "e089096f-8811-4a0b-8054-ddc2e6f2e000", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:13 GMT", + "date": "Tue, 29 Jun 2021 21:09:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "90" + "x-envoy-upstream-service-time": "35" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "4f0115f74e4899092f6ea861c92c1a28" + "hash": "8d00943bbcf0fb21630156b78d055772" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.json index 5b777f958b81..ce1b62022ff2 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:13 GMT", + "date": "Tue, 29 Jun 2021 21:09:35 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-37902e3e4f00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "e88fb5c0-5677-414a-90f6-b9ef03fe2c01" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":25,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "451bb45f-1916-4944-9893-9dfd482880da", + "apim-request-id": "9855f7db-39c9-4311-ae27-daee55f96cf4", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:13 GMT", + "date": "Tue, 29 Jun 2021 21:09:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "66" + "x-envoy-upstream-service-time": "71" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "802c62ddbf5a689aa72b6d72dd4e886e" + "hash": "75436508d73c2f748b997198dbef2ea3" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json index 190214d0fd39..175adef0cd78 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:36 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "5c46cd0a-304b-4f9b-a5f1-199c99675100" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "fc08600f-2b4b-4f32-aea1-31fc07194301" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "c8446f95-6212-458c-83cf-b6dc3d6a4408", + "apim-request-id": "eb4bd13e-8f00-4034-a36e-d7fd67e057ce", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "56" + "x-envoy-upstream-service-time": "34" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a84c18994e1e7d9f8b94afadfb529e84" + "hash": "36d5a15867f64e61b29bc146c4ef9483" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json index 1d4cb31167fe..fb8d0becf7c1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:37 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-3790533e4f00" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b8594f4f-9f44-40e0-9a82-8e2b82fb3101" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "4634eadf-846b-4a14-868b-16807933f2e0", + "apim-request-id": "e9c7709d-c256-488e-a19e-1bede5611ddb", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "56" + "x-envoy-upstream-service-time": "29" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a84c18994e1e7d9f8b94afadfb529e84" + "hash": "36d5a15867f64e61b29bc146c4ef9483" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json index 84c0088431ce..13f627c40c48 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:37 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "1abc1a8a-2ae7-4c0a-9aec-0f3038745600" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "c694b77a-b61d-4bb5-bf7e-8469f19e4701" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":121,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "9bebea37-a018-4e6b-90c7-c767ef2ecf8b", + "apim-request-id": "f60f2f07-f2c0-4994-ac26-cfde8a300303", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "172" + "x-envoy-upstream-service-time": "99" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "495ba94d5bdf3613ac68c0d7a1a65066" + "hash": "7087283e7c49a7af17336acd08edebd6" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json index f73b8d0435db..4596dd34358b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "08303867-6d5f-4360-aedf-af3c61080b00" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "c694b77a-b61d-4bb5-bf7e-8469da9f4701" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "f8e5973f-61ec-43cb-93c8-0a7004414727", + "apim-request-id": "a59ac9b3-e3db-487d-95c1-0a0b787efdbd", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:40 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "44" + "x-envoy-upstream-service-time": "25" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "06328e91e5b53f66fc1f9f3ea3e3736b" + "hash": "c4168ce455743735cc3b0867596a0298" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json index 0e5960497ad2..58e26f75651c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "e10036aa-ffcc-4bb1-adb5-1009658b2900" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "b0096cab-6e8f-4888-9dbd-f2f936184e01" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "1c118e87-e744-4cdd-82da-3f84bac2e77c", + "apim-request-id": "75c3697a-4b66-414c-a832-abf37726c490", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:40 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "51" + "x-envoy-upstream-service-time": "27" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "efe43b9d5f26cfe26b291ec9c8ed8ac7" + "hash": "97deed18f72cb452533d75fe71f106cd" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json index cbad7bba406c..4716c0ad546e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:40 GMT", + "date": "Tue, 29 Jun 2021 21:09:40 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "8b1ef0c5-5826-462d-b0dd-9af815081c00" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "10121119-4aa0-420a-a503-c5413b360901" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "7c4e167c-686d-426c-8e26-58063f12f9bf", + "apim-request-id": "e918317f-6e6b-49db-8fe6-6d8987c0d260", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:40 GMT", + "date": "Tue, 29 Jun 2021 21:09:39 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "31" + "x-envoy-upstream-service-time": "36" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "92c4ca23a19ac9dfdf651bbee4cccaba" + "hash": "4e42b362a5c0bfae3331b57329538488" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json index 745e602e38d3..2eaf54373b8f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:40 GMT", + "date": "Tue, 29 Jun 2021 21:09:40 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "e10036aa-ffcc-4bb1-adb5-10093e8b2900" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "612a0ebe-d109-4328-9da1-01a12cb93101" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩🏻 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "5134bd9c-6daa-4d90-b706-2054c289f553", + "apim-request-id": "4f1f594c-ec7b-4963-9f89-986a34ba3f06", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:40 GMT", + "date": "Tue, 29 Jun 2021 21:09:39 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "52" + "x-envoy-upstream-service-time": "27" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "4d0592a58f8f59e3d082e7a09ddeb312" + "hash": "c819adc2f07c63a60990e748cd4d68e9" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json index 3c98f6c71e50..16acd1a97570 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:40 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "29618e7b-ec84-4f59-8b2b-a1fa17672b00" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "145ede9c-71e0-49e8-aa1e-40e8f2cc3801" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩‍👩‍👧‍👧 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "47ee7928-1b1b-48d2-bb3a-eb611e118ecd", + "apim-request-id": "708caa04-bc8c-46fb-8fce-785af1bf5358", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:40 GMT", + "date": "Tue, 29 Jun 2021 21:09:39 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "86" + "x-envoy-upstream-service-time": "33" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "c5a22d0f539389732019fddcaa624fa0" + "hash": "3a2084188b00fbb623bd37ce1666c56e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.json index 72692d11e9a7..781e05f9f8d6 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:40 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "08303867-6d5f-4360-aedf-af3c52080b00" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b7611b7c-a4e8-418b-bbba-f2d66a1d2501" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "55e7b1df-d736-4c34-837e-a3e20384fb49", + "apim-request-id": "2938d401-e90f-464c-8b0c-9c9e0c3fdeb3", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:40 GMT", + "date": "Tue, 29 Jun 2021 21:09:40 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "56" + "x-envoy-upstream-service-time": "65" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "b81ee4cfeca46f190c599586cf07e884" + "hash": "cd6d067309fdf79fc7a14469a1e60099" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json index c847e7b33d29..a592bf4993c1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "08303867-6d5f-4360-aedf-af3c74080b00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "c0795943-7ed8-404a-90ea-6a7d03940b01" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "6dd2283d-d790-4607-83ec-0d3e094417df", + "apim-request-id": "40ce69fa-d392-4775-ae1a-21aeb979aced", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:40 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "56" + "x-envoy-upstream-service-time": "31" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "5f2ebbf4d45649384770a81733766b94" + "hash": "b748441acac968abb561573139954822" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json index 4a0832350e84..24f51c648b7d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:42 GMT", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "a5099c8b-d42f-4815-9abc-34709ba22300" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b8594f4f-9f44-40e0-9a82-8e2b79fc3101" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "1ca202a5-5094-4e4a-865a-1fe6755bb11b", + "apim-request-id": "2e6496c4-14f2-4d2d-9a66-e6ccb047608a", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "29" + "x-envoy-upstream-service-time": "31" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "5f2ebbf4d45649384770a81733766b94" + "hash": "b748441acac968abb561573139954822" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json index 64f5ee5dfe1b..dd91e19e4e85 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:42 GMT", + "date": "Tue, 29 Jun 2021 21:09:42 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,13 +20,13 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "e10036aa-ffcc-4bb1-adb5-1009788b2900" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "b0096cab-6e8f-4888-9dbd-f2f954184e01" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "TextElement_v8" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "c500923d-13b0-4610-8799-ad6daee93fca", + "apim-request-id": "32c7e74e-ce39-472e-afad-a33b024c3f13", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Tue, 18 May 2021 19:57:41 GMT", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "237" + "x-envoy-upstream-service-time": "99" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "d2fdb53e7bbb2f3dc7962588b508d90f" + "hash": "5666bd084b5377efc9af0f8dd722e62b" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfc.json deleted file mode 100644 index ffb385d1bb37..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfc.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "e7a67084-aa52-4720-8c70-d7504472d500" - } - }, - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", - "query": { - "stringIndexType": "TextElements_v8" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"año SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "9bb6e8a9-a8c5-48a1-a187-8b44c702623a", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "63" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "1efcdd610962c1ff7c6480fa499cf7ee" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfd.json deleted file mode 100644 index 44fe99b44e9c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfd.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "066edeb7-a09f-4303-a4a3-ddc382f25500" - } - }, - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", - "query": { - "stringIndexType": "TextElements_v8" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"año SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "0540a9c4-9fb5-4319-a411-38074c4f5a69", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "39" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "155f76cac941a391d179000ea0bcbf27" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji.json deleted file mode 100644 index d6432209eca9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "e7a67084-aa52-4720-8c70-d7502a72d500" - } - }, - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", - "query": { - "stringIndexType": "TextElements_v8" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩‍👩‍👧‍👧 SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"👩‍👩‍👧‍👧 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "ab5de782-8a3a-4129-bbde-6486ec6eb811", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "65" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "d89f099e025ac55821ee569cb518da65" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji_wit_skin_tone_modifier.json deleted file mode 100644 index 44eb552f2905..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji_wit_skin_tone_modifier.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "37cbc159-7924-4f74-bcb8-8ca153b05900" - } - }, - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", - "query": { - "stringIndexType": "TextElements_v8" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "3891d6e7-be07-432f-bb12-0da576cae195", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "79" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "448dc02a8f4a75429a2bedc6c435a92c" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfc.json deleted file mode 100644 index 63c41ff51136..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfc.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:20 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "c53ac30c-0f0c-44df-8647-6ebb70f15800" - } - }, - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", - "query": { - "stringIndexType": "TextElements_v8" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"아가 SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "b50388ea-9404-4ff5-adb0-b2c7f63cfb1f", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:19 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "59" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "7a201abffdefb7c51f8d3ea5a02fbfa1" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfd.json deleted file mode 100644 index 8476b8ccdefb..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfd.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:20 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "743b3b92-2f52-481c-a716-8c78d83d5200" - } - }, - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", - "query": { - "stringIndexType": "TextElements_v8" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"아가 SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "22f55c9a-1887-4815-a964-87d1af23ce0a", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:20 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "62" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "7a201abffdefb7c51f8d3ea5a02fbfa1" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_zalgo.json deleted file mode 100644 index ce1fb58ac81e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_zalgo.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", - "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", - "status": 200, - "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", - "responseHeaders": { - "cache-control": "no-store, no-cache", - "content-length": "1331", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:20 GMT", - "expires": "-1", - "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", - "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", - "pragma": "no-cache", - "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "066edeb7-a09f-4303-a4a3-ddc39af25500" - } - }, - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", - "query": { - "stringIndexType": "TextElements_v8" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "5b7b4736-048e-4805-87c2-56e7591564f6", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:20 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "229" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "1d0364805700bf675e8f3e1902b4848d" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json index 8a33d294cad2..c7d2b7fdf2c6 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:16 GMT", + "date": "Tue, 29 Jun 2021 21:09:38 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "c1e705ec-3912-4743-ac25-e105db154e00" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "81c4d353-4e45-4f32-8e2d-524256d00501" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "a87435d3-4c3b-4139-a34d-c3e600915633", + "apim-request-id": "b41509f9-7a5b-4b1b-913e-701cfec6517f", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:17 GMT", + "date": "Tue, 29 Jun 2021 21:09:38 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "1026" + "x-envoy-upstream-service-time": "47" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a272b3490594cff624a35c8324a21092" + "hash": "ab9960d541e7c4bd338117cb7daf5920" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json index db972f15968c..4656f7a6819b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:17 GMT", + "date": "Tue, 29 Jun 2021 21:09:39 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "de5a6e1f-a68e-43b4-9aab-f8b650804f00" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "b0096cab-6e8f-4888-9dbd-f2f9cc174e01" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "d53a44c2-9e68-4b7e-9ad3-6a4bdb5f8777", + "apim-request-id": "749156d4-b38c-4691-8fb8-9793387e2ce0", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:17 GMT", + "date": "Tue, 29 Jun 2021 21:09:38 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "82" + "x-envoy-upstream-service-time": "52" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "2c955994136040af46c74d99e0669c18" + "hash": "0e1b2a9dcd3d5fcaf9d7b9f44a56b3fd" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json index b05885c62977..34ab3f312fc7 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:15 GMT", + "date": "Tue, 29 Jun 2021 21:09:37 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "c1e705ec-3912-4743-ac25-e10598154e00" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "c694b77a-b61d-4bb5-bf7e-84690b9f4701" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "a65466d6-7239-45df-bb33-d5536bfd38b4", + "apim-request-id": "ef01a87f-3bea-4280-9184-a55e8e75922c", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:14 GMT", + "date": "Tue, 29 Jun 2021 21:09:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "32" + "x-envoy-upstream-service-time": "27" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "512ee86c2b42562cc62150dc6757eff2" + "hash": "47884ef2981b03ff59ce02b82a931678" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json index 0a9604ef5e9d..1b9ac2660eb2 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:15 GMT", + "date": "Tue, 29 Jun 2021 21:09:37 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "d8b4f1c7-068a-49ca-8be3-b9fbf96a5800" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "5bf7ee08-4237-472f-b5d3-80f28b203a01" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩🏻 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "872b5351-a116-44cb-888e-88ac0734cf96", + "apim-request-id": "e45d3004-a4b5-4ab5-a24a-374d537c8b67", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:15 GMT", + "date": "Tue, 29 Jun 2021 21:09:37 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "64" + "x-envoy-upstream-service-time": "49" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "ddeeeb049f345ed6dd5a65a0e22182d3" + "hash": "caf1393d64f58fff7dfb3e2d5e88900d" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json index a0b2de24806d..39dc30a89ab0 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:15 GMT", + "date": "Tue, 29 Jun 2021 21:09:38 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "1abc1a8a-2ae7-4c0a-9aec-0f305a745600" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "10121119-4aa0-420a-a503-c541e8350901" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩‍👩‍👧‍👧 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "e01044fc-3c53-4148-97ea-71cd052b3170", + "apim-request-id": "cf11f431-cb89-4491-a3cd-ed0ae838c969", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:16 GMT", + "date": "Tue, 29 Jun 2021 21:09:37 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "706" + "x-envoy-upstream-service-time": "35" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "7421c201ebd7624fac38c1049a4a5425" + "hash": "cf86e2d033b790043263dc6047ead0c2" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.json index 1509693bdef0..71fa6bba6f14 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:16 GMT", + "date": "Tue, 29 Jun 2021 21:09:38 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "de5a6e1f-a68e-43b4-9aab-f8b612804f00" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "c694b77a-b61d-4bb5-bf7e-84693f9f4701" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "b478b783-e9db-41a3-9180-f9e79476a275", + "apim-request-id": "356fe262-00f5-47e9-9d7d-b74f701a7724", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:16 GMT", + "date": "Tue, 29 Jun 2021 21:09:37 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "84" + "x-envoy-upstream-service-time": "35" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "4de584ed59a2a0fd5b6ccfbefe62612b" + "hash": "ba85026ec528be77d06677cb0241bf4b" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json index 9a6672ec8011..bdceaa323c64 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:18 GMT", + "date": "Tue, 29 Jun 2021 21:09:39 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "77684d85-de6c-4446-8bd8-80263b515600" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "612a0ebe-d109-4328-9da1-01a1e9b83101" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "9670efb4-4016-4902-b902-1d52e3f65bdc", + "apim-request-id": "a2227cd3-f160-45d1-b7dd-9716abdc6eee", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:17 GMT", + "date": "Tue, 29 Jun 2021 21:09:38 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "77" + "x-envoy-upstream-service-time": "29" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "598060bfe5f87f42b105c503861fd51e" + "hash": "efeafd6bc19716841855e51f9bfcaae5" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json index 74ea49701cd8..94c1d514974d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:18 GMT", + "date": "Tue, 29 Jun 2021 21:09:39 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "37cbc159-7924-4f74-bcb8-8ca127b05900" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "10121119-4aa0-420a-a503-c5411f360901" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "6a9ec952-4c41-461b-b6af-89f640998212", + "apim-request-id": "41705626-35bd-4a04-b572-e97c79667754", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:18 GMT", + "date": "Tue, 29 Jun 2021 21:09:38 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "75" + "x-envoy-upstream-service-time": "34" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "598060bfe5f87f42b105c503861fd51e" + "hash": "efeafd6bc19716841855e51f9bfcaae5" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json index 23f8c3b95207..fb4c559463fd 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json @@ -4,29 +4,29 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:18 GMT", + "date": "Tue, 29 Jun 2021 21:09:39 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", - "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "5c46cd0a-304b-4f9b-a5f1-199c53685100" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "e88fb5c0-5677-414a-90f6-b9efd3fe2c01" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -34,14 +34,14 @@ "status": 200, "response": "{\"documents\":[{\"redactedText\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":121,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", "responseHeaders": { - "apim-request-id": "a17918ac-04c0-44eb-9fec-745b1f3b28e6", + "apim-request-id": "de0ab68c-4663-4480-932f-b2d7a0e8fcde", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:18 GMT", + "date": "Tue, 29 Jun 2021 21:09:39 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "247" + "x-envoy-upstream-service-time": "232" } } ], @@ -49,5 +49,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1001cba93467d0c21efe8d7b416d0203" + "hash": "44c2300ce411e8279dc446b4136bb8d1" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json index f4cac963f3fa..3c62fb4cd7ac 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:41 GMT", + "date": "Fri, 25 Jun 2021 20:01:39 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,116 +20,116 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "c1e705ec-3912-4743-ac25-e10525284e00" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "ce29a862-fba0-489c-90cf-00cc6fdb5e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "6956e33a-3b61-42d4-b11d-41fc04996017", - "date": "Wed, 12 May 2021 19:20:41 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "apim-request-id": "1896f6da-444e-485b-89fd-ec2ec3ad62d1", + "date": "Fri, 25 Jun 2021 20:01:40 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "124" + "x-envoy-upstream-service-time": "234" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:42Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:42Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:40Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "243aaac6-f0c2-4e1f-8404-78b2a4510a8b", + "apim-request-id": "f85295a6-6fd3-49e0-90a8-453e73f989fc", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:42 GMT", + "date": "Fri, 25 Jun 2021 20:01:40 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:42Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:42Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:40Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "35c6c0c6-801d-433f-a9f5-65f3b878dd44", + "apim-request-id": "5424d03f-3007-4b23-ad02-87bbb3c0e00b", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:42 GMT", + "date": "Fri, 25 Jun 2021 20:01:40 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:43Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:43Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:41Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "a90c1371-0a0f-4128-9b2f-9b22c5802259", + "apim-request-id": "8f26e901-9706-4489-b9a8-40b2fd964bbb", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:44 GMT", + "date": "Fri, 25 Jun 2021 20:01:42 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:43Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:43Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:41Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "880f5b09-bded-4ade-bd94-3755f78c273b", + "apim-request-id": "5019072f-7b2b-4ace-ab31-e088b70b9697", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:46 GMT", + "date": "Fri, 25 Jun 2021 20:01:44 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "19" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:47Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:47Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:47.5187299Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:41Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "224de6c2-3ff2-442a-a422-eb5381c5d9fc", + "apim-request-id": "378df8f4-7eb9-4f14-be90-62be21b53a38", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:48 GMT", + "date": "Fri, 25 Jun 2021 20:01:46 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -138,103 +138,559 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:47Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "d3d8faa5-ba8b-45a6-a100-0af9ce66de35", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:01:48 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "63" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:47Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "9b273481-10ac-4449-b21b-8c4b55af8e41", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:01:50 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "61" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:47Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "781446ea-56b6-4d1a-98d6-421e33ecc7c2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:01:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "67" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:47Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:47Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:47.5187299Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:47Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "1ad5552b-89b8-4b5d-8c08-85a8af63e7c4", + "apim-request-id": "0273e210-44fd-4817-a8b3-941cd3f5b72a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:50 GMT", + "date": "Fri, 25 Jun 2021 20:01:55 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "50" + "x-envoy-upstream-service-time": "68" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:51Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:51Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:47.5187299Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:51.0202489Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:47Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "a8e4b6b7-1be8-47d8-8334-9a696565ea2d", + "apim-request-id": "791985e5-ec37-4aa8-b677-6f88767edd9c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:52 GMT", + "date": "Fri, 25 Jun 2021 20:01:58 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "101" + "x-envoy-upstream-service-time": "85" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:51Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:51Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:47.5187299Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:51.0202489Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "9e46840c-e560-423e-ab65-07f5ee2ec92c", + "apim-request-id": "920668cd-58ae-474a-8b23-118196ae6e50", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:54 GMT", + "date": "Fri, 25 Jun 2021 20:02:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "87" + "x-envoy-upstream-service-time": "127" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:54Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:54Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:47.5187299Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:54.8544262Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:51.0202489Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "4623df1c-fcbc-4fa2-8893-caae757c86ae", + "apim-request-id": "034bc1fd-b476-4a5e-b711-69718b1053d8", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:56 GMT", + "date": "Fri, 25 Jun 2021 20:02:02 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "159" + "x-envoy-upstream-service-time": "114" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c90df2b2-3cdb-4443-a8ca-8e37866ab2c7", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c90df2b2-3cdb-4443-a8ca-8e37866ab2c7\",\"lastUpdateDateTime\":\"2021-05-12T19:20:54Z\",\"createdDateTime\":\"2021-05-12T19:20:41Z\",\"expirationDateTime\":\"2021-05-13T19:20:41Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:54Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:47.5187299Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:54.8544262Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:51.0202489Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "8f00b330-68f0-4eae-9f5d-3002ce2acd9c", + "apim-request-id": "411627c5-660d-4578-b59a-48a39f91bf6d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:56 GMT", + "date": "Fri, 25 Jun 2021 20:02:04 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", "x-envoy-upstream-service-time": "140" } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "02180413-abde-4301-88c8-8f99dd5808db", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "122" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c1aca793-5955-4722-96ae-efba233611bb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:08 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "124" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "4dabfdb1-2f20-4835-92ff-896bbdf6ea97", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:11 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "118" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "6335f0fb-089b-4c69-a44c-5996aa4544aa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "108" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "fee03d4d-754d-4f87-9f4a-a2f2ac238813", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "174" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "9e7f9dc7-1059-4c4e-ac2e-e41ec8377f77", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "114" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "928d0f93-6da3-4847-8103-92815a3960eb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "132" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "20ac4401-0b01-42ba-9904-1d057e4536d5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:22 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "113" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "1ac2931f-76b6-42fe-8811-fa0eda7e418d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "148" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "8a690ae8-f90d-42e5-8797-3c6bf9be758a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "117" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "169381e8-3a04-445f-b029-52443dc41419", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "188" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "7d2381c6-d2af-4b59-b23d-2935555c3947", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "139" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "f7be123c-7baa-4a65-a0ab-9462f93a09ae", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "132" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:01:58Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "7ffa489e-9330-4193-99c7-c449fc744f35", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "125" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:02:40Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "9f4ad346-44f7-4eb3-ac80-d8c38d534296", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "139" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:02:40Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "43c898dc-a287-4835-bfc8-52f1eb8459e6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "129" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:02:40Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "052ad24b-47bb-4144-9967-b939c25b7d4f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "226" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:02:40Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a52e9409-53a1-466a-b1c5-805d225245ec", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "105" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:02:40Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c493c4d1-90ed-4da5-bf7a-6ed44a1abbb2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:50 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "148" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:02:51Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:02:51.7547589Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "784a63e5-bbb6-44d1-9814-e45a82da44d7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "209" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/01e11957-b620-4602-b924-cb31ae38f708", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01e11957-b620-4602-b924-cb31ae38f708\",\"lastUpdateDateTime\":\"2021-06-25T20:02:51Z\",\"createdDateTime\":\"2021-06-25T20:01:40Z\",\"expirationDateTime\":\"2021-06-26T20:01:40Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:47.4637832Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:58.719393Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:02:51.7547589Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "a520d911-9db7-4337-8e28-d157ebb9ce0e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:02:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "209" + } } ], "uniqueTestInfo": { "uniqueName": {}, "newDate": {} }, - "hash": "c6f092b647c7445547aef89cb26be79c" + "hash": "31bfac5ad44409ca98708bce61443165" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json index 55f445cb13ca..93b5cffe3c2a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:09 GMT", + "date": "Fri, 25 Jun 2021 20:01:18 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,25 +20,25 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "1f623800-874c-4277-b16b-879ac5dbbe00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "9c2a0045-784c-4338-a06a-1020b5966100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", "status": 400, - "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Missing input documents.\"}}}", + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Document text is empty.\"}}}", "responseHeaders": { - "apim-request-id": "53000d79-1f39-44a3-bcb4-799964582c41", + "apim-request-id": "22770bf8-0ce0-4f5d-836a-9d5c94d76392", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:10 GMT", + "date": "Fri, 25 Jun 2021 20:01:19 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "4" } } ], @@ -46,5 +46,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "df4c50f939c2f492603cb35f015630f7" + "hash": "f9f441a825a1fe550fcd21e25757994a" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json index 543239ebeea6..18c23b82df8a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:05 GMT", + "date": "Fri, 25 Jun 2021 20:05:00 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,97 +20,116 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "c1e705ec-3912-4743-ac25-e1055f334e00" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "5d80b8a6-644e-4556-a2b6-4c9bc6b95a00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at.\",\"language\":\"\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food.\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at.\",\"language\":\"\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food.\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "cccb9203-792e-410a-aebb-688674cb1731", - "date": "Wed, 12 May 2021 19:22:06 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "apim-request-id": "3b721294-e942-4a80-b01d-3020c28ec685", + "date": "Fri, 25 Jun 2021 20:05:01 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "135" + "x-envoy-upstream-service-time": "258" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:06Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:06Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:01Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "b4170a35-c352-4040-8d01-5e1b5fbbc465", + "apim-request-id": "62e918d5-2b4c-4fac-a7bc-580149e9d954", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:06 GMT", + "date": "Fri, 25 Jun 2021 20:05:01 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "16" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:06Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:06Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:01Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "b6490cae-4382-4d93-ad1d-a2724489c90a", + "apim-request-id": "ada67dc4-24f2-4ad7-9bb5-eb6f6185e273", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:06 GMT", + "date": "Fri, 25 Jun 2021 20:05:01 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:08Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:08Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:02Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "608e1dde-d701-43b7-a2a9-feccaea606f6", + "apim-request-id": "0b081839-01ce-483e-9af7-9e7767f47a20", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:08 GMT", + "date": "Fri, 25 Jun 2021 20:05:03 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:02Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "cac83108-4303-4326-800e-96a223fc2d59", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:05 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:08Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:08Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:02Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "6164b961-baa6-44b4-bb34-59eaaddbb639", + "apim-request-id": "8f21f1fa-7ec9-4c35-90fa-5dff2b4072ce", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:10 GMT", + "date": "Fri, 25 Jun 2021 20:05:07 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,93 +138,226 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:10Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a55205a5-bed6-40c6-a758-ea534f7e0638", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "69" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:10Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "2634e2f8-744c-4569-bffc-75754fceef0b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:11 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "67" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:10Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "3c9f022d-3115-4e52-91f7-157c6f1dc8c1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "63" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:10Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "683c0403-e6e4-48ba-bed8-98386399efa3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "59" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:10Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "56db7c27-13c5-48ab-b470-e299697112bc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "79" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "172da94d-2d79-4e96-ab2a-ba81caae0f9d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "127" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:12Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:12Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:12.5909428Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "44fcbf67-e7a0-427d-88ec-41154ecaf9ef", + "apim-request-id": "f71f8d20-67a1-4de8-a161-fd007eca77aa", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:12 GMT", + "date": "Fri, 25 Jun 2021 20:05:23 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "60" + "x-envoy-upstream-service-time": "120" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:13Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:13Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:12.5909428Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:13.6012496Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"restaurant\",\"good food\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "7e073334-8f8a-4b94-9717-a8ee8c763291", + "apim-request-id": "a0651b0e-a2bb-4599-85e2-909bb2c8853d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:14 GMT", + "date": "Fri, 25 Jun 2021 20:05:25 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "94" + "x-envoy-upstream-service-time": "121" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:13Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:13Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:12.5909428Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:13.6012496Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"restaurant\",\"good food\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "816b77c5-c22f-4aeb-866c-bb14dd96eb9b", + "apim-request-id": "1bb1d9a6-129f-44c0-991a-1a529b29d037", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:17 GMT", + "date": "Fri, 25 Jun 2021 20:05:27 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "85" + "x-envoy-upstream-service-time": "191" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:13Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:13Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:12.5909428Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:13.6012496Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"restaurant\",\"good food\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "2ef808d1-578c-4820-993f-e911a8e75b21", + "apim-request-id": "7555fa07-4526-4450-9a02-8a67f1fa2b0e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:19 GMT", + "date": "Fri, 25 Jun 2021 20:05:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "105" + "x-envoy-upstream-service-time": "173" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:19Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:19Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:12.5909428Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:19.9674532Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:13.6012496Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"restaurant\",\"good food\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "b1873cfb-031a-49e3-a8ee-c4375eb550d5", + "apim-request-id": "a238ea82-411e-4d19-85d8-b2e010178feb", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:21 GMT", + "date": "Fri, 25 Jun 2021 20:05:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "141" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "9af35ee7-bae6-483e-b4b6-38ac0cc47733", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:34 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -214,21 +366,420 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/4bc24ee8-54f9-4081-8ac3-b423e8ecf233", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "3a6176ee-8f8b-4a91-a2fd-48d5f54d9efb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "133" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "73f54cc3-9a13-4e32-ab66-523cf74a66ae", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "109" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "abd3f04f-79ff-4ca0-aa28-a6ccc63fec9e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "117" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "891cdf38-ec7f-47e6-b6fc-fc1418258230", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "119" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "66e27688-5a88-4d17-9b0f-6881e93c5832", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "121" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "9ebe8a47-b075-4950-8add-a36780dc0f59", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "125" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "873863dd-fdbf-4962-b508-d4281655785b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "133" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "14279a03-c936-49b3-99b7-6dda2cf3714a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "180" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c0a97afb-165a-4576-b2c5-cd3e2d8210d8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "110" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "079b1bca-b801-4d98-bc43-5d8af26200b1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "133" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "5fbd886b-3f8b-430e-b0e0-8993fdc2d668", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:05:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "114" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "6e9c9bcd-0757-422a-8b28-5a47eba3f57b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "107" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "24902766-76f4-4316-9fcb-fbf3c9b2a86d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "145" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a4ab3211-f375-4505-90ea-429b870996d6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "123" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "2f08ad4a-2115-4369-86f2-5dbdb5f48397", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "117" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "802ee9f9-a0ea-4efa-b627-05a05ca923f1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "132" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "dbf33c18-c401-4054-9a3a-bfc499e24e8d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:11 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "126" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a99089b7-d54d-4bc4-9d49-820216d09d1b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "113" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "10e7e97e-ad53-48ce-af42-fe0d370b1b41", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "119" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:05:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c43a472a-c7c0-4065-b5ae-c5192459d118", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "149" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:06:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:06:20.3712313Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"good food\",\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "1a426fa1-4217-44f1-8e4c-264190ea077a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:20 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "291" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4ea4761d-4dca-49a4-8051-40ac5c7d92dd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"4bc24ee8-54f9-4081-8ac3-b423e8ecf233\",\"lastUpdateDateTime\":\"2021-05-12T19:22:19Z\",\"createdDateTime\":\"2021-05-12T19:22:06Z\",\"expirationDateTime\":\"2021-05-13T19:22:06Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:19Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:12.5909428Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:19.9674532Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:13.6012496Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"restaurant\",\"good food\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"4ea4761d-4dca-49a4-8051-40ac5c7d92dd\",\"lastUpdateDateTime\":\"2021-06-25T20:06:20Z\",\"createdDateTime\":\"2021-06-25T20:05:01Z\",\"expirationDateTime\":\"2021-06-26T20:05:01Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:20.1116742Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:08.522256Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:06:20.3712313Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"good food\",\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "349cc69a-f8f7-40b5-915c-31fb5b0970b8", + "apim-request-id": "363de599-3886-4021-8c29-fff5cf38ff26", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:21 GMT", + "date": "Fri, 25 Jun 2021 20:06:20 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "159" + "x-envoy-upstream-service-time": "206" } } ], @@ -236,5 +787,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "c3d86987f42b63e08f45ff9fe639d188" + "hash": "36897fdd6ebafb0b68c76afe29d7a3d4" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json index 244aefbdb8a6..d1a712f52e6f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:31 GMT", + "date": "Fri, 25 Jun 2021 20:10:13 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,78 +20,97 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "c53ac30c-0f0c-44df-8647-6ebb8a225900" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "f444c40d-3826-47ee-8fe8-2032e1df6100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"UnicodeCodePoint\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"UnicodeCodePoint\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "aa9fae85-c896-40da-ad95-c7160db1a617", - "date": "Wed, 12 May 2021 19:23:30 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/a801855a-14df-40b6-9928-fedf3db4a54c", + "apim-request-id": "a3e0d108-c467-4093-b44e-614a9487620d", + "date": "Fri, 25 Jun 2021 20:10:14 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/e844c28d-149c-4ff1-9c8c-a423cd23e0be", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "67" + "x-envoy-upstream-service-time": "138" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/a801855a-14df-40b6-9928-fedf3db4a54c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e844c28d-149c-4ff1-9c8c-a423cd23e0be", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"a801855a-14df-40b6-9928-fedf3db4a54c\",\"lastUpdateDateTime\":\"2021-05-12T19:23:31Z\",\"createdDateTime\":\"2021-05-12T19:23:31Z\",\"expirationDateTime\":\"2021-05-13T19:23:31Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:31Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e844c28d-149c-4ff1-9c8c-a423cd23e0be\",\"lastUpdateDateTime\":\"2021-06-25T20:10:14Z\",\"createdDateTime\":\"2021-06-25T20:10:14Z\",\"expirationDateTime\":\"2021-06-26T20:10:14Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "c251a19e-2d6f-4626-800c-db76c3b62826", + "apim-request-id": "ecd7ccb2-c126-47af-b681-c1c214e9fcba", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:30 GMT", + "date": "Fri, 25 Jun 2021 20:10:14 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/a801855a-14df-40b6-9928-fedf3db4a54c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e844c28d-149c-4ff1-9c8c-a423cd23e0be", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"a801855a-14df-40b6-9928-fedf3db4a54c\",\"lastUpdateDateTime\":\"2021-05-12T19:23:31Z\",\"createdDateTime\":\"2021-05-12T19:23:31Z\",\"expirationDateTime\":\"2021-05-13T19:23:31Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:31Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e844c28d-149c-4ff1-9c8c-a423cd23e0be\",\"lastUpdateDateTime\":\"2021-06-25T20:10:14Z\",\"createdDateTime\":\"2021-06-25T20:10:14Z\",\"expirationDateTime\":\"2021-06-26T20:10:14Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "e78fed05-6159-4de1-870b-9614fd10791f", + "apim-request-id": "b2c5d65d-aeb3-4bf5-9cd4-50b064c868f0", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:30 GMT", + "date": "Fri, 25 Jun 2021 20:10:14 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e844c28d-149c-4ff1-9c8c-a423cd23e0be", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e844c28d-149c-4ff1-9c8c-a423cd23e0be\",\"lastUpdateDateTime\":\"2021-06-25T20:10:15Z\",\"createdDateTime\":\"2021-06-25T20:10:14Z\",\"expirationDateTime\":\"2021-06-26T20:10:14Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "cc3ee007-ad69-470b-aaa1-79d6edaa51d5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "15" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/a801855a-14df-40b6-9928-fedf3db4a54c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e844c28d-149c-4ff1-9c8c-a423cd23e0be", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"a801855a-14df-40b6-9928-fedf3db4a54c\",\"lastUpdateDateTime\":\"2021-05-12T19:23:32Z\",\"createdDateTime\":\"2021-05-12T19:23:31Z\",\"expirationDateTime\":\"2021-05-13T19:23:31Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:32Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e844c28d-149c-4ff1-9c8c-a423cd23e0be\",\"lastUpdateDateTime\":\"2021-06-25T20:10:15Z\",\"createdDateTime\":\"2021-06-25T20:10:14Z\",\"expirationDateTime\":\"2021-06-26T20:10:14Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "5b440037-67c7-4b9d-b2eb-d4f4f3a67661", + "apim-request-id": "06a8e723-b7e5-4388-bd37-d0df46c09c9c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:33 GMT", + "date": "Fri, 25 Jun 2021 20:10:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -100,59 +119,59 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/a801855a-14df-40b6-9928-fedf3db4a54c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e844c28d-149c-4ff1-9c8c-a423cd23e0be", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"a801855a-14df-40b6-9928-fedf3db4a54c\",\"lastUpdateDateTime\":\"2021-05-12T19:23:32Z\",\"createdDateTime\":\"2021-05-12T19:23:31Z\",\"expirationDateTime\":\"2021-05-13T19:23:31Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:32Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e844c28d-149c-4ff1-9c8c-a423cd23e0be\",\"lastUpdateDateTime\":\"2021-06-25T20:10:15Z\",\"createdDateTime\":\"2021-06-25T20:10:14Z\",\"expirationDateTime\":\"2021-06-26T20:10:14Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "b5d0c423-c4f4-4166-b1e1-66cc782d1696", + "apim-request-id": "b5b02599-71ed-4cc9-ac73-3ffa9ce7e650", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:35 GMT", + "date": "Fri, 25 Jun 2021 20:10:21 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "13" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/a801855a-14df-40b6-9928-fedf3db4a54c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e844c28d-149c-4ff1-9c8c-a423cd23e0be", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"a801855a-14df-40b6-9928-fedf3db4a54c\",\"lastUpdateDateTime\":\"2021-05-12T19:23:37Z\",\"createdDateTime\":\"2021-05-12T19:23:31Z\",\"expirationDateTime\":\"2021-05-13T19:23:31Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:37Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:37.5614256Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"e844c28d-149c-4ff1-9c8c-a423cd23e0be\",\"lastUpdateDateTime\":\"2021-06-25T20:10:21Z\",\"createdDateTime\":\"2021-06-25T20:10:14Z\",\"expirationDateTime\":\"2021-06-26T20:10:14Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:10:21.5135088Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "e2805346-a186-4dec-bff7-82926bd59587", + "apim-request-id": "8e7e7773-6e8f-4b1c-becd-0e2647962a25", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:37 GMT", + "date": "Fri, 25 Jun 2021 20:10:23 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "28" + "x-envoy-upstream-service-time": "124" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/a801855a-14df-40b6-9928-fedf3db4a54c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e844c28d-149c-4ff1-9c8c-a423cd23e0be", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"a801855a-14df-40b6-9928-fedf3db4a54c\",\"lastUpdateDateTime\":\"2021-05-12T19:23:37Z\",\"createdDateTime\":\"2021-05-12T19:23:31Z\",\"expirationDateTime\":\"2021-05-13T19:23:31Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:37Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:37.5614256Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"e844c28d-149c-4ff1-9c8c-a423cd23e0be\",\"lastUpdateDateTime\":\"2021-06-25T20:10:21Z\",\"createdDateTime\":\"2021-06-25T20:10:14Z\",\"expirationDateTime\":\"2021-06-26T20:10:14Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:10:21.5135088Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "0a3eb058-3e6b-4d34-befc-d41662507a46", + "apim-request-id": "c1bb761c-6e7c-437f-914c-51f3c208ae9a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:37 GMT", + "date": "Fri, 25 Jun 2021 20:10:23 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "30" + "x-envoy-upstream-service-time": "41" } } ], @@ -160,5 +179,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "ed717653e7bafdb530f36a6c3b406dc0" + "hash": "425e31a777619d837f737b23058c4474" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json index ba89ecb56117..1f526eec7828 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:37 GMT", + "date": "Fri, 25 Jun 2021 20:08:00 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,40 +20,40 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d84d74b600" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "84bdf8e2-d00d-4332-9ea9-2d5e5cbf7900" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This should fail because we're passing in an invalid language hint\",\"language\":\"notalanguage\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This should fail because we're passing in an invalid language hint\",\"language\":\"notalanguage\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "e338b584-8f76-42a0-931d-445f9c9b1a34", - "date": "Wed, 12 May 2021 19:22:37 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "apim-request-id": "74b38a66-ec0c-4689-8301-0d3617658313", + "date": "Fri, 25 Jun 2021 20:08:00 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "96" + "x-envoy-upstream-service-time": "200" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:37Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:37Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:01Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "50b8875a-b6da-4c23-a4ee-30cf63a002ac", + "apim-request-id": "d4eb11e3-290c-43d1-ab54-06862ec87c8c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:37 GMT", + "date": "Fri, 25 Jun 2021 20:08:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -62,55 +62,55 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:37Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:37Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:01Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "e94a7768-ab00-45d5-bd51-1b669066c5d2", + "apim-request-id": "715abb9a-6b05-4676-b038-82909982adf3", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:37 GMT", + "date": "Fri, 25 Jun 2021 20:08:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "9" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:39Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:39Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:01Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "86d768a8-72e8-426d-acec-e06d22b6ca85", + "apim-request-id": "f707dab5-2327-44f5-9b49-da2e61d94a51", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:39 GMT", + "date": "Fri, 25 Jun 2021 20:08:03 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:39Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:39Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:04Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "e7005c0d-97d2-417e-8a5e-b20d1ffd438c", + "apim-request-id": "000a1ed4-47b5-4758-976e-cff11585aa6c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:41 GMT", + "date": "Fri, 25 Jun 2021 20:08:05 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,173 +119,230 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "53fb8a28-0191-46fe-bb64-40da2272eab4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:08:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "44" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "6725a073-2c63-4d29-ae9d-fe54c47f81eb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:08:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "46" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "165f4d28-db64-4836-8600-4fce4eb7a790", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:08:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "45" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "a6dbf3a8-3a4a-485d-8aa1-7ab00346528e", + "apim-request-id": "7a44fae7-3a75-4bae-afed-fe88574aba5e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:44 GMT", + "date": "Fri, 25 Jun 2021 20:08:14 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "34" + "x-envoy-upstream-service-time": "60" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "8c63455c-30a1-4866-bc5a-c6760c5f53c8", + "apim-request-id": "7dbd57fd-184c-4c01-bc9d-e99c86cbf0ce", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:46 GMT", + "date": "Fri, 25 Jun 2021 20:08:16 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "29" + "x-envoy-upstream-service-time": "105" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "5808ed70-afc4-48ab-b693-39ac6f154abc", + "apim-request-id": "becb5ea3-54f9-4d65-b1c1-1a30f39b93b7", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:48 GMT", + "date": "Fri, 25 Jun 2021 20:08:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "36" + "x-envoy-upstream-service-time": "46" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "b876735b-2efc-460b-bcfe-c8a3e9bb10b0", + "apim-request-id": "8af11308-cd24-4e2e-a882-801a42ee3f9e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:50 GMT", + "date": "Fri, 25 Jun 2021 20:08:20 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "32" + "x-envoy-upstream-service-time": "41" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "882be7bf-d032-4f9a-a9b6-d7a5531ec2f5", + "apim-request-id": "d16da2aa-3278-474a-8260-56bced6349bf", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:52 GMT", + "date": "Fri, 25 Jun 2021 20:08:22 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "35" + "x-envoy-upstream-service-time": "44" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:07Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "14a87692-3037-4fca-9322-a64142f39fae", + "apim-request-id": "638f0c36-cd60-4e05-9831-ec2cf7adec26", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:54 GMT", + "date": "Fri, 25 Jun 2021 20:08:24 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "35" + "x-envoy-upstream-service-time": "48" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:55Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:55Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:55.8597922Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:25Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:25.3280119Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "5932fc9d-6323-40ed-93df-b1f20567f529", + "apim-request-id": "30c98a73-2c86-4f56-a727-a1e7aeeedaba", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:56 GMT", + "date": "Fri, 25 Jun 2021 20:08:26 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "53" + "x-envoy-upstream-service-time": "130" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:58Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:58Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:55.8597922Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:58.1804109Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:27Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:25.3280119Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:27.684236Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "8c258cf0-b420-479c-8973-4dfe0b26775f", + "apim-request-id": "183524ab-99f5-4654-9f27-667dcc5b1d80", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:58 GMT", + "date": "Fri, 25 Jun 2021 20:08:28 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "95" + "x-envoy-upstream-service-time": "132" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/c6ed74ec-0cee-4aaf-b65b-14037f818412", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/a42a677e-bb5f-4a38-b322-83fe24e9055b", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c6ed74ec-0cee-4aaf-b65b-14037f818412\",\"lastUpdateDateTime\":\"2021-05-12T19:22:58Z\",\"createdDateTime\":\"2021-05-12T19:22:37Z\",\"expirationDateTime\":\"2021-05-13T19:22:37Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:58Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:55.8597922Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:58.1804109Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:43.4930903Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"a42a677e-bb5f-4a38-b322-83fe24e9055b\",\"lastUpdateDateTime\":\"2021-06-25T20:08:27Z\",\"createdDateTime\":\"2021-06-25T20:08:01Z\",\"expirationDateTime\":\"2021-06-26T20:08:01Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:25.3280119Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:27.684236Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:07.1153743Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "c4012381-06fd-48a7-8af7-0bde9e8ebdac", + "apim-request-id": "10b1e33a-f308-4199-bb86-21a0e953b1ea", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:58 GMT", + "date": "Fri, 25 Jun 2021 20:08:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "81" + "x-envoy-upstream-service-time": "146" } } ], @@ -293,5 +350,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "88a45b6fe1b6beae0c01c1c32021dcf6" + "hash": "55a9332c301d4649020961749a1eefec" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.json index 98bb7599b7f1..545c91f80dbc 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:42 GMT", + "date": "Wed, 30 Jun 2021 19:34:43 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,25 +20,25 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "30182c44-a38a-4b06-8524-f336e5f41500" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "7c9f8702-87aa-46a2-8483-efd0f1da4601" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"bad\",\"stringIndexType\":\"Utf16CodeUnit\"}},{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}},{\"parameters\":{\"model-version\":\"bad\",\"stringIndexType\":\"TextElement_v8\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"bad\",\"stringIndexType\":\"TextElement_v8\"}}]}}", "status": 400, - "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Job task parameter value bad is not supported for model-version parameter for job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.\"}}", + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid parameter in request\",\"innererror\":{\"code\":\"InvalidParameterValue\",\"message\":\"Job task parameter value bad is not supported for model-version parameter for job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.\"}}}", "responseHeaders": { - "apim-request-id": "85e0e984-2360-47d9-83be-94cfc1d2d9d6", + "apim-request-id": "9bfe4f7b-c910-48a0-a254-934efac82a8a", "content-type": "application/json; charset=utf-8", - "date": "Tue, 18 May 2021 19:57:42 GMT", + "date": "Wed, 30 Jun 2021 19:34:43 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "507" } } ], @@ -46,5 +46,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "ebcb37fb35361f2e9eeffaa20bba2b1d" + "hash": "35683911136f1ebaf864ca74c3f0b597" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.json new file mode 100644 index 000000000000..ddbcfe4d7dbe --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.json @@ -0,0 +1,8 @@ +{ + "recordings": [], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "64c8206f4b6d3882233f0ebe745aea90" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.json index b904eeba65c8..6e42ac629a64 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:22 GMT", + "date": "Fri, 25 Jun 2021 20:09:58 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,40 +20,40 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "5c46cd0a-304b-4f9b-a5f1-199c01915100" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "04923b22-c5b5-4349-b2d4-c550beea7d00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"displayName\":\"testJob\",\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]}}", + "requestBody": "{\"displayName\":\"testJob\",\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "cd7229b1-612f-4040-bf57-450234f867c7", - "date": "Wed, 12 May 2021 19:23:22 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/361c484c-18fb-40e7-beb3-30851090e319", + "apim-request-id": "cd2ef66a-243a-4ea2-a3e6-9476a0f31efe", + "date": "Fri, 25 Jun 2021 20:09:59 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "92" + "x-envoy-upstream-service-time": "227" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/361c484c-18fb-40e7-beb3-30851090e319", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"361c484c-18fb-40e7-beb3-30851090e319\",\"lastUpdateDateTime\":\"2021-05-12T19:23:22Z\",\"createdDateTime\":\"2021-05-12T19:23:22Z\",\"expirationDateTime\":\"2021-05-13T19:23:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"details\":{\"name\":\"testJob\",\"lastUpdateDateTime\":\"2021-05-12T19:23:22Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:09:59Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "460386fe-fc8f-4afe-9124-f1cb3fff7241", + "apim-request-id": "72722a4c-53dc-4b0f-949f-a207cd5d2352", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:22 GMT", + "date": "Fri, 25 Jun 2021 20:09:59 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -62,36 +62,55 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/361c484c-18fb-40e7-beb3-30851090e319", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"361c484c-18fb-40e7-beb3-30851090e319\",\"lastUpdateDateTime\":\"2021-05-12T19:23:22Z\",\"createdDateTime\":\"2021-05-12T19:23:22Z\",\"expirationDateTime\":\"2021-05-13T19:23:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"details\":{\"name\":\"testJob\",\"lastUpdateDateTime\":\"2021-05-12T19:23:22Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:09:59Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "5be88a47-d69e-4f3c-99ad-7b3457995ac8", + "apim-request-id": "7a08ea44-c6c1-4f33-979f-361ba1ca12d5", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:22 GMT", + "date": "Fri, 25 Jun 2021 20:09:59 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:10:00Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "44be0d9b-6eee-4302-8c09-130c5938e6ee", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/361c484c-18fb-40e7-beb3-30851090e319", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"361c484c-18fb-40e7-beb3-30851090e319\",\"lastUpdateDateTime\":\"2021-05-12T19:23:24Z\",\"createdDateTime\":\"2021-05-12T19:23:22Z\",\"expirationDateTime\":\"2021-05-13T19:23:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"details\":{\"name\":\"testJob\",\"lastUpdateDateTime\":\"2021-05-12T19:23:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:10:00Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "fc86deb0-75e9-4ecf-aed5-93c7194253d4", + "apim-request-id": "b0e7f6b7-f33b-4a90-a2e7-a34788cc7100", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:24 GMT", + "date": "Fri, 25 Jun 2021 20:10:03 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -100,59 +119,97 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/361c484c-18fb-40e7-beb3-30851090e319", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"361c484c-18fb-40e7-beb3-30851090e319\",\"lastUpdateDateTime\":\"2021-05-12T19:23:24Z\",\"createdDateTime\":\"2021-05-12T19:23:22Z\",\"expirationDateTime\":\"2021-05-13T19:23:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"details\":{\"name\":\"testJob\",\"lastUpdateDateTime\":\"2021-05-12T19:23:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:10:00Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "96cbb2f8-de84-496b-bc2d-e5739752b5e4", + "apim-request-id": "292e4f18-eb90-4612-b51f-440f5a1321b3", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:26 GMT", + "date": "Fri, 25 Jun 2021 20:10:05 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "5" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/361c484c-18fb-40e7-beb3-30851090e319", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"361c484c-18fb-40e7-beb3-30851090e319\",\"lastUpdateDateTime\":\"2021-05-12T19:23:24Z\",\"createdDateTime\":\"2021-05-12T19:23:22Z\",\"expirationDateTime\":\"2021-05-13T19:23:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"details\":{\"name\":\"testJob\",\"lastUpdateDateTime\":\"2021-05-12T19:23:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:10:00Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "eafd74ed-74f8-4f35-a0e0-ba450d28595c", + "apim-request-id": "13f8eaf4-3ec5-41dc-97c5-5283688ef6d2", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:28 GMT", + "date": "Fri, 25 Jun 2021 20:10:07 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:10:00Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "2d91f1f4-9978-4aa2-8282-87d19441913d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:10:00Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "ff36aa91-41cc-4795-a39d-5323ef6bd3ff", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/361c484c-18fb-40e7-beb3-30851090e319", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1aaf83bf-3375-4ccf-b53a-615f4af32dfd", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"361c484c-18fb-40e7-beb3-30851090e319\",\"lastUpdateDateTime\":\"2021-05-12T19:23:30Z\",\"createdDateTime\":\"2021-05-12T19:23:22Z\",\"expirationDateTime\":\"2021-05-13T19:23:22Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"details\":{\"name\":\"testJob\",\"lastUpdateDateTime\":\"2021-05-12T19:23:30Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:30.3331504Z\",\"name\":\"testJob\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"1aaf83bf-3375-4ccf-b53a-615f4af32dfd\",\"lastUpdateDateTime\":\"2021-06-25T20:10:12Z\",\"createdDateTime\":\"2021-06-25T20:09:59Z\",\"expirationDateTime\":\"2021-06-26T20:09:59Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:10:12.3972364Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "86e7ee61-df66-4e2d-82b1-6b0d31e019cb", + "apim-request-id": "51c3bb1a-2d10-45c4-802c-09f49570c07a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:30 GMT", + "date": "Fri, 25 Jun 2021 20:10:14 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "46" + "x-envoy-upstream-service-time": "68" } } ], @@ -160,5 +217,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "793d8772cbc8c056bafec964172ba32a" + "hash": "f1824e388e5e072cfa6552fb3e25e68c" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json index 1c358be6b691..24546ed26f02 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:20 GMT", + "date": "Fri, 25 Jun 2021 20:03:12 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,40 +20,78 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d8a969b600" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "57418012-2503-4660-964d-7a7edd576400" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"56\",\"text\":\":)\"},{\"id\":\"0\",\"text\":\":(\"},{\"id\":\"22\",\"text\":\"w\"},{\"id\":\"19\",\"text\":\":P\"},{\"id\":\"1\",\"text\":\":D\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"56\",\"text\":\":)\"},{\"id\":\"0\",\"text\":\":(\"},{\"id\":\"22\",\"text\":\"w\"},{\"id\":\"19\",\"text\":\":P\"},{\"id\":\"1\",\"text\":\":D\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "a3f21564-844f-40b1-b589-d728a13d41a3", - "date": "Wed, 12 May 2021 19:21:25 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "apim-request-id": "6a2add94-e52b-4b0f-8f9f-852dfa5aa312", + "date": "Fri, 25 Jun 2021 20:03:12 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5293" + "x-envoy-upstream-service-time": "419" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"95b921d0-5374-4e15-a9e2-f804d24c655b\",\"lastUpdateDateTime\":\"2021-05-12T19:21:26Z\",\"createdDateTime\":\"2021-05-12T19:21:21Z\",\"expirationDateTime\":\"2021-05-13T19:21:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:26Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:13Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "80dae327-d28b-484c-b392-d430c3c52eb7", + "apim-request-id": "5ccdf207-d555-4c3d-8e48-920fa7b4b4b1", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:25 GMT", + "date": "Fri, 25 Jun 2021 20:03:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:13Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "ae09f12c-733f-403b-b9a7-ad3954fa9b1f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:14Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "20e910c8-364e-4ff7-a986-8c9b1192e1a2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:15 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -62,17 +100,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"95b921d0-5374-4e15-a9e2-f804d24c655b\",\"lastUpdateDateTime\":\"2021-05-12T19:21:26Z\",\"createdDateTime\":\"2021-05-12T19:21:21Z\",\"expirationDateTime\":\"2021-05-13T19:21:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:26Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:17Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "25a3cbcb-b229-4abc-8adf-bf06fe80e7fb", + "apim-request-id": "089ec225-0361-436d-b7c5-53405fbb94ca", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:25 GMT", + "date": "Fri, 25 Jun 2021 20:03:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -81,116 +119,116 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"95b921d0-5374-4e15-a9e2-f804d24c655b\",\"lastUpdateDateTime\":\"2021-05-12T19:21:28Z\",\"createdDateTime\":\"2021-05-12T19:21:21Z\",\"expirationDateTime\":\"2021-05-13T19:21:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:28Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:17Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "2037dd78-9cfd-4dd7-99c1-d12ecc8affb7", + "apim-request-id": "e89d81dd-31c1-4595-a7dc-db9cf771162c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:28 GMT", + "date": "Fri, 25 Jun 2021 20:03:20 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "11" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"95b921d0-5374-4e15-a9e2-f804d24c655b\",\"lastUpdateDateTime\":\"2021-05-12T19:21:28Z\",\"createdDateTime\":\"2021-05-12T19:21:21Z\",\"expirationDateTime\":\"2021-05-13T19:21:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:28Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:17Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "faa86753-2fa5-4c49-a037-52ed837200b5", + "apim-request-id": "fc65360d-53b9-4f09-85d3-820454040ee5", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:30 GMT", + "date": "Fri, 25 Jun 2021 20:03:22 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"95b921d0-5374-4e15-a9e2-f804d24c655b\",\"lastUpdateDateTime\":\"2021-05-12T19:21:32Z\",\"createdDateTime\":\"2021-05-12T19:21:21Z\",\"expirationDateTime\":\"2021-05-13T19:21:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:32Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:32.654333Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:23Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:23.5223955Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "d5baaa5b-f5a9-4c59-97d8-6edffc6e2cc8", + "apim-request-id": "3af978ce-ce25-486b-b16e-8f6eab3d2260", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:32 GMT", + "date": "Fri, 25 Jun 2021 20:03:24 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "68" + "x-envoy-upstream-service-time": "94" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"95b921d0-5374-4e15-a9e2-f804d24c655b\",\"lastUpdateDateTime\":\"2021-05-12T19:21:33Z\",\"createdDateTime\":\"2021-05-12T19:21:21Z\",\"expirationDateTime\":\"2021-05-13T19:21:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:33Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:32.654333Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:33.6306476Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"0\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:23Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:23.5223955Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "18923dab-4a23-4210-9a30-83f25ef2c816", + "apim-request-id": "b8da79e3-fe3d-4b87-b15a-1224d034a903", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:34 GMT", + "date": "Fri, 25 Jun 2021 20:03:26 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "135" + "x-envoy-upstream-service-time": "86" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"95b921d0-5374-4e15-a9e2-f804d24c655b\",\"lastUpdateDateTime\":\"2021-05-12T19:21:35Z\",\"createdDateTime\":\"2021-05-12T19:21:21Z\",\"expirationDateTime\":\"2021-05-13T19:21:21Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:35Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:32.654333Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:35.2415295Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:33.6306476Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"0\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:27Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:27.5492554Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:23.5223955Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:26.9179545Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"0\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "baa198c5-d057-48fc-b16c-b1e2f99029fd", + "apim-request-id": "7f5b9917-ff89-455d-8b61-cc1c85566079", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:36 GMT", + "date": "Fri, 25 Jun 2021 20:03:28 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "390" + "x-envoy-upstream-service-time": "236" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/95b921d0-5374-4e15-a9e2-f804d24c655b", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/10616c0f-16bd-4263-9fb1-c7ce29b58ac4", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"95b921d0-5374-4e15-a9e2-f804d24c655b\",\"lastUpdateDateTime\":\"2021-05-12T19:21:35Z\",\"createdDateTime\":\"2021-05-12T19:21:21Z\",\"expirationDateTime\":\"2021-05-13T19:21:21Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:35Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:32.654333Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:35.2415295Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:33.6306476Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"0\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"10616c0f-16bd-4263-9fb1-c7ce29b58ac4\",\"lastUpdateDateTime\":\"2021-06-25T20:03:27Z\",\"createdDateTime\":\"2021-06-25T20:03:13Z\",\"expirationDateTime\":\"2021-06-26T20:03:13Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:27.5492554Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:23.5223955Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:26.9179545Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"0\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "3fe77831-74e4-4a06-a80b-d661f291278f", + "apim-request-id": "72fb33f3-9cfa-4463-8401-dc6ca0f356c7", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:36 GMT", + "date": "Fri, 25 Jun 2021 20:03:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "196" + "x-envoy-upstream-service-time": "320" } } ], @@ -198,5 +236,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "18809ba9f95c777c14595aa1db13c7cd" + "hash": "985928d389900f82ef53f2eca9ffbe0e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json index 77062701e90c..f79298cb60c1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:56 GMT", + "date": "Fri, 25 Jun 2021 20:02:53 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,234 +20,215 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "cd27eebe-0298-4850-834e-c0d8e566b600" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "84bdf8e2-d00d-4332-9ea9-2d5e3c7f7900" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"one\"},{\"id\":\"2\",\"text\":\"two\"},{\"id\":\"3\",\"text\":\"three\"},{\"id\":\"4\",\"text\":\"four\"},{\"id\":\"5\",\"text\":\"five\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"one\"},{\"id\":\"2\",\"text\":\"two\"},{\"id\":\"3\",\"text\":\"three\"},{\"id\":\"4\",\"text\":\"four\"},{\"id\":\"5\",\"text\":\"five\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "f76eb6d9-2790-4a25-ae20-70cc53f313bb", - "date": "Wed, 12 May 2021 19:20:57 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "apim-request-id": "31c9f85a-6008-4927-9631-c5f9de5c36fe", + "date": "Fri, 25 Jun 2021 20:02:56 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "173" + "x-envoy-upstream-service-time": "3056" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:20:57Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:57Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:02:56Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "9e1573cd-5de9-4dff-81fe-26feda72a3ec", + "apim-request-id": "a2eab855-42cf-4609-9919-797b977675a3", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:57 GMT", + "date": "Fri, 25 Jun 2021 20:02:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:20:57Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:57Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", - "responseHeaders": { - "apim-request-id": "c8a4156d-c781-4067-8907-537ab554cb1e", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:57 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "10" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:20:59Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:59Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:02:57Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "1a7f272a-ed77-4e79-a1de-29dd91374372", + "apim-request-id": "8e95b37e-1e7d-4513-8f32-d8ea65ffb8fc", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:59 GMT", + "date": "Fri, 25 Jun 2021 20:02:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "16" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:20:59Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:59Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:02:57Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "49290821-08cf-472f-baaa-2a12cbd749a4", + "apim-request-id": "85193e68-2b7e-473c-8333-58a18795eb80", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:01 GMT", + "date": "Fri, 25 Jun 2021 20:02:58 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:21:03Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:03Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:03.5805139Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:02:57Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "53e8b4c0-c289-4698-b838-1c8d1fd30121", + "apim-request-id": "9d03a2dd-0633-4d2b-b23a-666a4a4bcd63", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:03 GMT", + "date": "Fri, 25 Jun 2021 20:03:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "64" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:21:05Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:05Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:05.2632939Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:03.5805139Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:02:57Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "b0924a8f-f846-4e0e-847a-f9a58b902c4a", + "apim-request-id": "a4d77599-07e5-4712-b78c-261b0f5be406", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:05 GMT", + "date": "Fri, 25 Jun 2021 20:03:02 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "156" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:21:07Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:07Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:05.2632939Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:03.5805139Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:03:03Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:03.4781899Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "a7c8d8c1-8c18-4d77-a3a3-b15988fc32f7", + "apim-request-id": "2c4ddc82-62b9-495b-ab6f-3754efad8780", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:07 GMT", + "date": "Fri, 25 Jun 2021 20:03:05 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "115" + "x-envoy-upstream-service-time": "89" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:21:07Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:07Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:05.2632939Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:03.5805139Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:03:03Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:03.4781899Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "e3509979-e87c-468c-add6-3f3a9baefb39", + "apim-request-id": "3687bfd7-f3e3-45da-bf37-94e2813392af", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:09 GMT", + "date": "Fri, 25 Jun 2021 20:03:07 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "184" + "x-envoy-upstream-service-time": "89" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:21:07Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:07Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:05.2632939Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:03.5805139Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:03:08Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:03.4781899Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:08.6402926Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "e0127ebb-0781-4c93-9092-61a6e4abf588", + "apim-request-id": "956e4481-2b02-4e2e-bc20-476bd0482050", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:13 GMT", + "date": "Fri, 25 Jun 2021 20:03:09 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "121" + "x-envoy-upstream-service-time": "146" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:21:14Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:14Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:14.9720537Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:05.2632939Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:03.5805139Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:03:10Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:03.4781899Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:08.6402926Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:10.9202509Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "99550605-7d07-4be9-9d69-64916f8cddac", + "apim-request-id": "398c78a3-f718-438c-8ff9-7e8c537dc41d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:20 GMT", + "date": "Fri, 25 Jun 2021 20:03:11 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5279" + "x-envoy-upstream-service-time": "278" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/6c7e6e57-bd41-422b-b5c1-0bb2247c375c", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"6c7e6e57-bd41-422b-b5c1-0bb2247c375c\",\"lastUpdateDateTime\":\"2021-05-12T19:21:14Z\",\"createdDateTime\":\"2021-05-12T19:20:57Z\",\"expirationDateTime\":\"2021-05-13T19:20:57Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:14Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:14.9720537Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:05.2632939Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:03.5805139Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f3ad54bf-e037-4d1c-83b7-c2ea1ffd1e59\",\"lastUpdateDateTime\":\"2021-06-25T20:03:10Z\",\"createdDateTime\":\"2021-06-25T20:02:53Z\",\"expirationDateTime\":\"2021-06-26T20:02:53Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:03.4781899Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:08.6402926Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:10.9202509Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "eb8cc651-22ca-4129-88b0-1a93ec4302a5", + "apim-request-id": "0b3dd9f1-8778-443c-9306-b8a502f53114", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:20 GMT", + "date": "Fri, 25 Jun 2021 20:03:12 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "232" + "x-envoy-upstream-service-time": "330" } } ], @@ -255,5 +236,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "2740e8408115a8f3595c19ee33caf0cc" + "hash": "599895c6273ae4ea4eeb3372f9907fd6" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json index 6279682ff300..b7c48f11239d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:59 GMT", + "date": "Fri, 25 Jun 2021 20:08:29 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,40 +20,40 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-3790fb644f00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "8deef922-c309-4e27-9a10-4eeff4e65e00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"7\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"8\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"9\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"10\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"11\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"12\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"13\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"14\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"15\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"16\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"17\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"18\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"19\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"20\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"21\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"22\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"23\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"24\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"7\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"8\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"9\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"10\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"11\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"12\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"13\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"14\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"15\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"16\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"17\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"18\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"19\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"20\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"21\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"22\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"23\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"24\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "1f4633d1-1bc8-4c22-8419-0414d3fbd9d9", - "date": "Wed, 12 May 2021 19:22:59 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "apim-request-id": "d9aa5347-6f01-4d26-95e7-1b7c2e2917a7", + "date": "Fri, 25 Jun 2021 20:08:37 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "385" + "x-envoy-upstream-service-time": "8307" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:22:59Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:59Z\"},\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:38Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", "responseHeaders": { - "apim-request-id": "d7fdb157-67c2-4130-b968-9d8a2a87334b", + "apim-request-id": "5aa775e5-c719-437f-a360-3655077fe7d9", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:59 GMT", + "date": "Fri, 25 Jun 2021 20:08:37 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -62,17 +62,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:22:59Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:59Z\"},\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:38Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", "responseHeaders": { - "apim-request-id": "0203490a-b5ba-420b-9317-2e54ecf5b318", + "apim-request-id": "3fd727f4-aead-4f51-8a32-322873ba28c3", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:59 GMT", + "date": "Fri, 25 Jun 2021 20:08:37 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -81,175 +81,612 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:00Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:38Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", "responseHeaders": { - "apim-request-id": "6d6b0850-c346-4319-900d-1212b9813fdc", + "apim-request-id": "bbc38e63-1757-492d-9872-8f5faa9576d5", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:01 GMT", + "date": "Fri, 25 Jun 2021 20:08:39 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:00Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:38Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", "responseHeaders": { - "apim-request-id": "14a25791-e5e7-4eef-9a9f-38d7bf61600c", + "apim-request-id": "c6622895-58fa-4b54-8baf-849210e7606c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:03 GMT", + "date": "Fri, 25 Jun 2021 20:08:42 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "13" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:00Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:38Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", "responseHeaders": { - "apim-request-id": "5af9663a-bf82-4aee-8845-9f49005c0131", + "apim-request-id": "50450766-3042-400f-9f41-4782113e0321", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:05 GMT", + "date": "Fri, 25 Jun 2021 20:08:44 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "19" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:00Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", "responseHeaders": { - "apim-request-id": "c9dec991-4a98-482b-b1ce-06c83149d25d", + "apim-request-id": "594db33f-aa68-48a1-8e61-42835e7a9872", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:07 GMT", + "date": "Fri, 25 Jun 2021 20:08:46 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "206" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "c6d27e4c-2ba2-4d07-883a-02a14cc4bd11", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:08:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "210" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "f7a7b24a-58e4-43ae-b13d-5e70fa8dd9dc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:08:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "227" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "1aa7f218-2379-4959-8d40-4d96cdb00b8a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:08:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "219" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "23f263a4-f773-4f0a-91a7-d0ba0dc1c9be", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:08:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "181" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "32bdb16f-8b00-4b0e-8391-ac7c0eed679a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:08:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "185" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "c3e0d426-725b-4b01-be36-042247baf167", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "214" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "e6320dbe-9af4-4d05-9cd5-65a4f90e0de3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "206" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "ec9803be-60e5-4567-9fb5-456b086b8ad1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "216" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "97717c86-ed29-4523-803c-a15ee11c0486", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "206" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "2e9c3a2c-c57f-4c59-8000-9d6b4df32be3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "211" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "83e20003-f9c2-46a5-a0da-082ebcd1e04b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:11 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "242" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "b22c328e-1d2b-4343-b0f1-482cc88bef06", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "209" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "4849aaf6-c639-4f58-9e91-82eea0ba9721", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "210" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:09Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:09Z\"},\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:09.7886927Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"7\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"8\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"9\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"10\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"11\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"12\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"13\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"14\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"15\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"16\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"17\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"18\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a?$skip=20&$top=5&showStats=False\"}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", "responseHeaders": { - "apim-request-id": "4bf71fcc-fcf4-4b04-9502-31a1a31ca015", + "apim-request-id": "69e040c5-1048-4dd1-8f01-a5c71201d751", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:09 GMT", + "date": "Fri, 25 Jun 2021 20:09:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "191" + "x-envoy-upstream-service-time": "254" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:11Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:11Z\"},\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:11.94705Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:09.7886927Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"7\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"8\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"9\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"10\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"11\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"12\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"13\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"14\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"15\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"16\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"17\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"18\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a?$skip=20&$top=5&showStats=False\"}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", "responseHeaders": { - "apim-request-id": "5e1d9e43-73b3-4c76-bcfa-d2ea991835c1", + "apim-request-id": "606173f2-2c97-48a2-bc70-249ec370bc5a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:12 GMT", + "date": "Fri, 25 Jun 2021 20:09:20 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "370" + "x-envoy-upstream-service-time": "240" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "b55083b3-d409-489c-bce6-cbf7649800de", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:22 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "274" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "0ec152ed-b631-4cc9-9b37-10945022f78b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "204" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "bc657dd8-9ed1-4b57-9115-a4428f962d10", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "190" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "8af30f5f-d008-4e22-bc96-43041f8bbbb1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:30 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "242" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "2ad61389-decd-4a6e-b0ed-d42de6b95f8a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "207" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "7d44dbaa-8d7d-48c0-b511-a8757f0a44f5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "219" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "533ee6c4-79de-4a2c-b091-6959be83da1d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "223" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "0b5b11ed-3210-4aef-aa76-db1f0fb68623", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "186" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:08:46Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "fd455c7a-da7c-422b-8d62-c1e060d1a0a8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "214" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:09:44Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:09:44.1855571Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"7\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"8\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"9\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"10\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"11\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"12\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"13\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"14\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"15\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"16\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"17\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"18\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "365214bf-fc88-41ec-899d-297147ad151f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "513" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "10" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:11Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:11Z\"},\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:11.94705Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:09.7886927Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"7\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"8\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"9\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a?$skip=10&$top=10&showStats=False\"}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:09:44Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:09:44.1855571Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"7\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"8\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"9\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=10&$top=10&showStats=False\"}", "responseHeaders": { - "apim-request-id": "cb9bc9c7-4681-4655-819c-b8acade3d8c1", + "apim-request-id": "23204495-262b-44fa-b984-b0cf1a095258", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:12 GMT", + "date": "Fri, 25 Jun 2021 20:09:44 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "221" + "x-envoy-upstream-service-time": "237" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "10", "$skip": "10" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:11Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:11Z\"},\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:11.94705Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:09.7886927Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"10\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"11\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"12\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"13\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"14\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"15\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"16\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"17\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"18\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a?$skip=20&$top=5&showStats=False\"}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:09:44Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:09:44.1855571Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"10\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"11\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"12\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"13\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"14\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"15\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"16\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"17\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"18\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe?$skip=20&$top=5&showStats=False\"}", "responseHeaders": { - "apim-request-id": "b763f519-7f63-4467-b1be-979ef1012526", + "apim-request-id": "89cdf2a8-d713-4053-9fb0-5c087dc5fd21", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:12 GMT", + "date": "Fri, 25 Jun 2021 20:09:44 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "242" + "x-envoy-upstream-service-time": "240" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ee8f3ae7-524a-4dfa-be8d-8462b270354a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e209bf8f-67a0-4afd-80e0-0d98985186fe", "query": { "$top": "5", "$skip": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ee8f3ae7-524a-4dfa-be8d-8462b270354a\",\"lastUpdateDateTime\":\"2021-05-12T19:23:11Z\",\"createdDateTime\":\"2021-05-12T19:22:59Z\",\"expirationDateTime\":\"2021-05-13T19:22:59Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:11Z\"},\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:11.94705Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"20\",\"entities\":[],\"warnings\":[]},{\"id\":\"21\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"23\",\"entities\":[],\"warnings\":[]},{\"id\":\"24\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.95},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:09.7886927Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"20\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"21\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"23\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"24\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"e209bf8f-67a0-4afd-80e0-0d98985186fe\",\"lastUpdateDateTime\":\"2021-06-25T20:09:44Z\",\"createdDateTime\":\"2021-06-25T20:08:30Z\",\"expirationDateTime\":\"2021-06-26T20:08:30Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:08:46.4430201Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"20\",\"entities\":[],\"warnings\":[]},{\"id\":\"21\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"23\",\"entities\":[],\"warnings\":[]},{\"id\":\"24\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:09:44.1855571Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"20\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"21\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"23\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"24\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "3afb2b08-1027-49bb-b27c-a67902154cb3", + "apim-request-id": "89a82329-6bfb-453b-ae11-98c2c2016841", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:12 GMT", + "date": "Fri, 25 Jun 2021 20:09:45 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "137" + "x-envoy-upstream-service-time": "176" } } ], @@ -257,5 +694,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a0912cc4cdeb5cb147f5d381f93fa563" + "hash": "62ca71ecf688e9feaf17203742a35f2b" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json index 8eb8aefe7399..3ab210d21664 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:13 GMT", + "date": "Fri, 25 Jun 2021 20:09:45 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,59 +20,97 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - WUS2 ProdSlices", - "x-ms-request-id": "1f623800-874c-4277-b16b-879a72f7be00" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "28812791-b9ec-449e-b425-0faaefdf5c00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "4fc634ed-c188-419f-a8a0-bec7a76c10a5", - "date": "Wed, 12 May 2021 19:23:13 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/30477340-2bcf-4600-b4cc-6084ac371b79", + "apim-request-id": "95fd1961-03a8-4363-ad10-68bed809be96", + "date": "Fri, 25 Jun 2021 20:09:45 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "81" + "x-envoy-upstream-service-time": "168" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/30477340-2bcf-4600-b4cc-6084ac371b79", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"30477340-2bcf-4600-b4cc-6084ac371b79\",\"lastUpdateDateTime\":\"2021-05-12T19:23:13Z\",\"createdDateTime\":\"2021-05-12T19:23:13Z\",\"expirationDateTime\":\"2021-05-13T19:23:13Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:13Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:46Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "c1970c1b-bbde-44b0-b136-152746a99142", + "apim-request-id": "ae08a260-2aed-45f4-ba1a-ef681cf72adf", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:13 GMT", + "date": "Fri, 25 Jun 2021 20:09:45 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:46Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "851ee0dc-8fcc-4090-aa8d-355042b62258", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "19" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:46Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "30745edf-b5dc-4fcb-9a58-faa7cb5eb587", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:09:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/30477340-2bcf-4600-b4cc-6084ac371b79", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"30477340-2bcf-4600-b4cc-6084ac371b79\",\"lastUpdateDateTime\":\"2021-05-12T19:23:13Z\",\"createdDateTime\":\"2021-05-12T19:23:13Z\",\"expirationDateTime\":\"2021-05-13T19:23:13Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:13Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:46Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "4a21317f-6768-4d93-8ff0-3c5ac1841dde", + "apim-request-id": "8d590100-0aca-492f-9dbc-e6e7178d11ca", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:13 GMT", + "date": "Fri, 25 Jun 2021 20:09:49 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -81,36 +119,36 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/30477340-2bcf-4600-b4cc-6084ac371b79", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"30477340-2bcf-4600-b4cc-6084ac371b79\",\"lastUpdateDateTime\":\"2021-05-12T19:23:14Z\",\"createdDateTime\":\"2021-05-12T19:23:13Z\",\"expirationDateTime\":\"2021-05-13T19:23:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:14Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:46Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "112833c1-6c6b-4082-a2cb-977b16137ba6", + "apim-request-id": "becad3f5-ead8-4813-b21e-6e3008a76f03", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:15 GMT", + "date": "Fri, 25 Jun 2021 20:09:51 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/30477340-2bcf-4600-b4cc-6084ac371b79", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"30477340-2bcf-4600-b4cc-6084ac371b79\",\"lastUpdateDateTime\":\"2021-05-12T19:23:14Z\",\"createdDateTime\":\"2021-05-12T19:23:13Z\",\"expirationDateTime\":\"2021-05-13T19:23:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:14Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:46Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "02f2c3c7-9307-43e0-8b13-7c536cd20b79", + "apim-request-id": "f362a8cf-902f-43ad-8311-64fd534fc06c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:17 GMT", + "date": "Fri, 25 Jun 2021 20:09:53 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,59 +157,59 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/30477340-2bcf-4600-b4cc-6084ac371b79", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"30477340-2bcf-4600-b4cc-6084ac371b79\",\"lastUpdateDateTime\":\"2021-05-12T19:23:14Z\",\"createdDateTime\":\"2021-05-12T19:23:13Z\",\"expirationDateTime\":\"2021-05-13T19:23:13Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:14Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:46Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "d24fec39-c55f-4da1-ba30-c987c21a2454", + "apim-request-id": "a59c5798-2b95-4bae-ba77-c3d7824b157c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:19 GMT", + "date": "Fri, 25 Jun 2021 20:09:55 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/30477340-2bcf-4600-b4cc-6084ac371b79", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"30477340-2bcf-4600-b4cc-6084ac371b79\",\"lastUpdateDateTime\":\"2021-05-12T19:23:20Z\",\"createdDateTime\":\"2021-05-12T19:23:13Z\",\"expirationDateTime\":\"2021-05-13T19:23:13Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:20.3106254Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:57Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:09:57.9189478Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "4d3d76e6-f312-408a-a644-4a24a7758758", + "apim-request-id": "1c1993d8-9483-4227-a827-d8457d0a9c2f", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:21 GMT", + "date": "Fri, 25 Jun 2021 20:09:57 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "50" + "x-envoy-upstream-service-time": "74" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/30477340-2bcf-4600-b4cc-6084ac371b79", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/e673b321-fe25-46f5-9d15-ea08b0b26dff", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"30477340-2bcf-4600-b4cc-6084ac371b79\",\"lastUpdateDateTime\":\"2021-05-12T19:23:20Z\",\"createdDateTime\":\"2021-05-12T19:23:13Z\",\"expirationDateTime\":\"2021-05-13T19:23:13Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:23:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:23:20.3106254Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"e673b321-fe25-46f5-9d15-ea08b0b26dff\",\"lastUpdateDateTime\":\"2021-06-25T20:09:57Z\",\"createdDateTime\":\"2021-06-25T20:09:46Z\",\"expirationDateTime\":\"2021-06-26T20:09:46Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:09:57.9189478Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "1a0de003-61af-48a6-8561-3d264fed8125", + "apim-request-id": "e420a8c8-971c-40d3-a871-364270f37ccf", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:23:21 GMT", + "date": "Fri, 25 Jun 2021 20:09:59 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "48" + "x-envoy-upstream-service-time": "59" } } ], @@ -179,5 +217,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1d31d8649275b0331088d41ec2653d75" + "hash": "096c12a7cccfec04b026e6b6a418de2b" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json index ca34f34da3db..104803ecfe60 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:32 GMT", + "date": "Fri, 25 Jun 2021 20:00:12 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,120 +20,101 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "c53ac30c-0f0c-44df-8647-6ebb86fc5800" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "0bf26b5d-85ea-49fb-99ba-727728507a00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityLinkingTasks\":[{\"parameters\":{\"stringIndexType\":\"Utf16CodeUnit\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"Microsoft moved its headquarters to Bellevue, Washington in January 1979.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"Microsoft moved its headquarters to Bellevue, Washington in January 1979.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.\",\"language\":\"en\"}]},\"tasks\":{\"entityLinkingTasks\":[{\"parameters\":{\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "711297ed-49fe-4d80-bbc0-3e8d0e19fcae", - "date": "Wed, 12 May 2021 19:19:32 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/db3acb7b-8675-42b2-ab76-bf79c2edfb9a", + "apim-request-id": "49eb4368-d732-4579-8b8f-e561275ffe28", + "date": "Fri, 25 Jun 2021 20:00:15 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/fc561b3d-77ad-48db-9068-706a18b96a51", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "93" + "x-envoy-upstream-service-time": "2801" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/db3acb7b-8675-42b2-ab76-bf79c2edfb9a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fc561b3d-77ad-48db-9068-706a18b96a51", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"db3acb7b-8675-42b2-ab76-bf79c2edfb9a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:33Z\",\"createdDateTime\":\"2021-05-12T19:19:33Z\",\"expirationDateTime\":\"2021-05-13T19:19:33Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:33Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"fc561b3d-77ad-48db-9068-706a18b96a51\",\"lastUpdateDateTime\":\"2021-06-25T20:00:16Z\",\"createdDateTime\":\"2021-06-25T20:00:13Z\",\"expirationDateTime\":\"2021-06-26T20:00:13Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "87bb9397-7b29-48c5-8a4f-8c42589333f7", + "apim-request-id": "ef475682-c8e8-498c-a278-1302a4a14fe3", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:32 GMT", + "date": "Fri, 25 Jun 2021 20:00:15 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "103" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/db3acb7b-8675-42b2-ab76-bf79c2edfb9a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fc561b3d-77ad-48db-9068-706a18b96a51", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"db3acb7b-8675-42b2-ab76-bf79c2edfb9a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:33Z\",\"createdDateTime\":\"2021-05-12T19:19:33Z\",\"expirationDateTime\":\"2021-05-13T19:19:33Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:33Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"fc561b3d-77ad-48db-9068-706a18b96a51\",\"lastUpdateDateTime\":\"2021-06-25T20:00:16Z\",\"createdDateTime\":\"2021-06-25T20:00:13Z\",\"expirationDateTime\":\"2021-06-26T20:00:13Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "725d70c2-2421-46e2-811a-8bf57910fc2e", + "apim-request-id": "1d45c546-9d2e-4075-8619-907b6f162da4", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:32 GMT", + "date": "Fri, 25 Jun 2021 20:00:15 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "25" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/db3acb7b-8675-42b2-ab76-bf79c2edfb9a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fc561b3d-77ad-48db-9068-706a18b96a51", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"db3acb7b-8675-42b2-ab76-bf79c2edfb9a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:34Z\",\"createdDateTime\":\"2021-05-12T19:19:33Z\",\"expirationDateTime\":\"2021-05-13T19:19:33Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:34Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"fc561b3d-77ad-48db-9068-706a18b96a51\",\"lastUpdateDateTime\":\"2021-06-25T20:00:18Z\",\"createdDateTime\":\"2021-06-25T20:00:13Z\",\"expirationDateTime\":\"2021-06-26T20:00:13Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityLinkingTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:00:18.4177312Z\",\"taskName\":\"EntityLinking_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"name\":\"Bellevue, Washington\",\"matches\":[{\"text\":\"Bellevue, Washington\",\"offset\":36,\"length\":20,\"confidenceScore\":0.87}],\"language\":\"en\",\"id\":\"Bellevue, Washington\",\"url\":\"https://en.wikipedia.org/wiki/Bellevue,_Washington\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":0,\"length\":9,\"confidenceScore\":0.39}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Briann January\",\"matches\":[{\"text\":\"January\",\"offset\":60,\"length\":7,\"confidenceScore\":0.14}],\"language\":\"en\",\"id\":\"Briann January\",\"url\":\"https://en.wikipedia.org/wiki/Briann_January\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"name\":\"Steve Ballmer\",\"matches\":[{\"text\":\"Steve Ballmer\",\"offset\":0,\"length\":13,\"confidenceScore\":0.92}],\"language\":\"en\",\"id\":\"Steve Ballmer\",\"url\":\"https://en.wikipedia.org/wiki/Steve_Ballmer\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Satya Nadella\",\"matches\":[{\"text\":\"Satya Nadella\",\"offset\":68,\"length\":13,\"confidenceScore\":0.9}],\"language\":\"en\",\"id\":\"Satya Nadella\",\"url\":\"https://en.wikipedia.org/wiki/Satya_Nadella\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":37,\"length\":9,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Chief executive officer\",\"matches\":[{\"text\":\"CEO\",\"offset\":30,\"length\":3,\"confidenceScore\":0.25}],\"language\":\"en\",\"id\":\"Chief executive officer\",\"url\":\"https://en.wikipedia.org/wiki/Chief_executive_officer\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}}]}}", "responseHeaders": { - "apim-request-id": "663aecef-e970-4a58-b4ca-ae62ca572d09", + "apim-request-id": "bfc41968-0741-49ab-aad3-d3435e200bc2", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:34 GMT", + "date": "Fri, 25 Jun 2021 20:00:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "52" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/db3acb7b-8675-42b2-ab76-bf79c2edfb9a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fc561b3d-77ad-48db-9068-706a18b96a51", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"db3acb7b-8675-42b2-ab76-bf79c2edfb9a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:36Z\",\"createdDateTime\":\"2021-05-12T19:19:33Z\",\"expirationDateTime\":\"2021-05-13T19:19:33Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:36Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityLinkingTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:19:36.7027237Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"name\":\"Bellevue, Washington\",\"matches\":[{\"text\":\"Bellevue, Washington\",\"offset\":36,\"length\":20,\"confidenceScore\":0.87}],\"language\":\"en\",\"id\":\"Bellevue, Washington\",\"url\":\"https://en.wikipedia.org/wiki/Bellevue,_Washington\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":0,\"length\":9,\"confidenceScore\":0.39}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Briann January\",\"matches\":[{\"text\":\"January\",\"offset\":60,\"length\":7,\"confidenceScore\":0.14}],\"language\":\"en\",\"id\":\"Briann January\",\"url\":\"https://en.wikipedia.org/wiki/Briann_January\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"name\":\"Steve Ballmer\",\"matches\":[{\"text\":\"Steve Ballmer\",\"offset\":0,\"length\":13,\"confidenceScore\":0.92}],\"language\":\"en\",\"id\":\"Steve Ballmer\",\"url\":\"https://en.wikipedia.org/wiki/Steve_Ballmer\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Satya Nadella\",\"matches\":[{\"text\":\"Satya Nadella\",\"offset\":68,\"length\":13,\"confidenceScore\":0.9}],\"language\":\"en\",\"id\":\"Satya Nadella\",\"url\":\"https://en.wikipedia.org/wiki/Satya_Nadella\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":37,\"length\":9,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Chief executive officer\",\"matches\":[{\"text\":\"CEO\",\"offset\":30,\"length\":3,\"confidenceScore\":0.25}],\"language\":\"en\",\"id\":\"Chief executive officer\",\"url\":\"https://en.wikipedia.org/wiki/Chief_executive_officer\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}}]}}", + "response": "{\"jobId\":\"fc561b3d-77ad-48db-9068-706a18b96a51\",\"lastUpdateDateTime\":\"2021-06-25T20:00:18Z\",\"createdDateTime\":\"2021-06-25T20:00:13Z\",\"expirationDateTime\":\"2021-06-26T20:00:13Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityLinkingTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:00:18.4177312Z\",\"taskName\":\"EntityLinking_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"name\":\"Bellevue, Washington\",\"matches\":[{\"text\":\"Bellevue, Washington\",\"offset\":36,\"length\":20,\"confidenceScore\":0.87}],\"language\":\"en\",\"id\":\"Bellevue, Washington\",\"url\":\"https://en.wikipedia.org/wiki/Bellevue,_Washington\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":0,\"length\":9,\"confidenceScore\":0.39}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Briann January\",\"matches\":[{\"text\":\"January\",\"offset\":60,\"length\":7,\"confidenceScore\":0.14}],\"language\":\"en\",\"id\":\"Briann January\",\"url\":\"https://en.wikipedia.org/wiki/Briann_January\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"name\":\"Steve Ballmer\",\"matches\":[{\"text\":\"Steve Ballmer\",\"offset\":0,\"length\":13,\"confidenceScore\":0.92}],\"language\":\"en\",\"id\":\"Steve Ballmer\",\"url\":\"https://en.wikipedia.org/wiki/Steve_Ballmer\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Satya Nadella\",\"matches\":[{\"text\":\"Satya Nadella\",\"offset\":68,\"length\":13,\"confidenceScore\":0.9}],\"language\":\"en\",\"id\":\"Satya Nadella\",\"url\":\"https://en.wikipedia.org/wiki/Satya_Nadella\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":37,\"length\":9,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Chief executive officer\",\"matches\":[{\"text\":\"CEO\",\"offset\":30,\"length\":3,\"confidenceScore\":0.25}],\"language\":\"en\",\"id\":\"Chief executive officer\",\"url\":\"https://en.wikipedia.org/wiki/Chief_executive_officer\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}}]}}", "responseHeaders": { - "apim-request-id": "b0810fc3-c35a-4370-83b4-1285c4df3470", + "apim-request-id": "9f75ec81-52d0-4633-8e56-5611ef09dd54", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:37 GMT", + "date": "Fri, 25 Jun 2021 20:00:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "67" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/db3acb7b-8675-42b2-ab76-bf79c2edfb9a", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"db3acb7b-8675-42b2-ab76-bf79c2edfb9a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:36Z\",\"createdDateTime\":\"2021-05-12T19:19:33Z\",\"expirationDateTime\":\"2021-05-13T19:19:33Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:36Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityLinkingTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:19:36.7027237Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"name\":\"Bellevue, Washington\",\"matches\":[{\"text\":\"Bellevue, Washington\",\"offset\":36,\"length\":20,\"confidenceScore\":0.87}],\"language\":\"en\",\"id\":\"Bellevue, Washington\",\"url\":\"https://en.wikipedia.org/wiki/Bellevue,_Washington\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":0,\"length\":9,\"confidenceScore\":0.39}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Briann January\",\"matches\":[{\"text\":\"January\",\"offset\":60,\"length\":7,\"confidenceScore\":0.14}],\"language\":\"en\",\"id\":\"Briann January\",\"url\":\"https://en.wikipedia.org/wiki/Briann_January\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"name\":\"Steve Ballmer\",\"matches\":[{\"text\":\"Steve Ballmer\",\"offset\":0,\"length\":13,\"confidenceScore\":0.92}],\"language\":\"en\",\"id\":\"Steve Ballmer\",\"url\":\"https://en.wikipedia.org/wiki/Steve_Ballmer\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Satya Nadella\",\"matches\":[{\"text\":\"Satya Nadella\",\"offset\":68,\"length\":13,\"confidenceScore\":0.9}],\"language\":\"en\",\"id\":\"Satya Nadella\",\"url\":\"https://en.wikipedia.org/wiki/Satya_Nadella\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":37,\"length\":9,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Chief executive officer\",\"matches\":[{\"text\":\"CEO\",\"offset\":30,\"length\":3,\"confidenceScore\":0.25}],\"language\":\"en\",\"id\":\"Chief executive officer\",\"url\":\"https://en.wikipedia.org/wiki/Chief_executive_officer\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}}]}}", - "responseHeaders": { - "apim-request-id": "959e7bcc-1777-46f4-ba1f-ec7469dacd30", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:37 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "46" + "x-envoy-upstream-service-time": "53" } } ], @@ -141,5 +122,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "459b686ba8aac3a9723d535ace93d169" + "hash": "d106d5b70ea37037fd91dd13fffd822e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json index ffb57184abb1..95ead66d7a56 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:21 GMT", + "date": "Fri, 25 Jun 2021 19:59:55 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,78 +20,116 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "743b3b92-2f52-481c-a716-8c78fd455200" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "f444c40d-3826-47ee-8fe8-20324c796100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen el 4 de abril de 1975.\",\"language\":\"es\"},{\"id\":\"3\",\"text\":\"Microsoft wurde am 4. April 1975 von Bill Gates und Paul Allen gegründet.\",\"language\":\"de\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen el 4 de abril de 1975.\",\"language\":\"es\"},{\"id\":\"3\",\"text\":\"Microsoft wurde am 4. April 1975 von Bill Gates und Paul Allen gegründet.\",\"language\":\"de\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "1da8f36f-e427-413a-a652-cebaab9b16d7", - "date": "Wed, 12 May 2021 19:19:21 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "apim-request-id": "494e4e35-cd79-4c37-a04f-566d9528971e", + "date": "Fri, 25 Jun 2021 19:59:55 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "110" + "x-envoy-upstream-service-time": "165" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ea206940-1124-480f-887b-80e856401eca\",\"lastUpdateDateTime\":\"2021-05-12T19:19:22Z\",\"createdDateTime\":\"2021-05-12T19:19:22Z\",\"expirationDateTime\":\"2021-05-13T19:19:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:22Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "23b3bd79-dbcb-48d8-9a1d-9c975fd2596b", + "apim-request-id": "12c7d310-34dc-4a3f-8c61-e0921636beb6", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:21 GMT", + "date": "Fri, 25 Jun 2021 19:59:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" + "x-envoy-upstream-service-time": "12" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ea206940-1124-480f-887b-80e856401eca\",\"lastUpdateDateTime\":\"2021-05-12T19:19:22Z\",\"createdDateTime\":\"2021-05-12T19:19:22Z\",\"expirationDateTime\":\"2021-05-13T19:19:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:22Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "05261847-f5d5-40bd-ad8f-d851d6b20b00", + "apim-request-id": "090a0b82-fc67-4a9b-8cb0-8779006c0753", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:21 GMT", + "date": "Fri, 25 Jun 2021 19:59:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "44fe7c4a-3915-465c-84ca-331880ae56ee", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 19:59:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "7414c333-1986-4232-b672-502bc0e21a4a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ea206940-1124-480f-887b-80e856401eca\",\"lastUpdateDateTime\":\"2021-05-12T19:19:22Z\",\"createdDateTime\":\"2021-05-12T19:19:22Z\",\"expirationDateTime\":\"2021-05-13T19:19:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:22Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "9d8e05c9-7cc6-437e-95f6-4e7f8c6bb2c9", + "apim-request-id": "f64ddfbd-97bf-4eda-a1b9-79ed122b7df1", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:23 GMT", + "date": "Fri, 25 Jun 2021 20:00:02 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -100,17 +138,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ea206940-1124-480f-887b-80e856401eca\",\"lastUpdateDateTime\":\"2021-05-12T19:19:24Z\",\"createdDateTime\":\"2021-05-12T19:19:22Z\",\"expirationDateTime\":\"2021-05-13T19:19:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "0a512faa-5848-4d3f-8393-1de62d10b334", + "apim-request-id": "e397ae1e-04de-4041-bcaa-c12f0f7ae543", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:25 GMT", + "date": "Fri, 25 Jun 2021 20:00:04 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,17 +157,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ea206940-1124-480f-887b-80e856401eca\",\"lastUpdateDateTime\":\"2021-05-12T19:19:24Z\",\"createdDateTime\":\"2021-05-12T19:19:22Z\",\"expirationDateTime\":\"2021-05-13T19:19:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "e6205d93-da8e-47f7-9309-2347e5b479f5", + "apim-request-id": "541d89d9-2ae4-4639-b268-7e01140d894e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:27 GMT", + "date": "Fri, 25 Jun 2021 20:00:06 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -138,59 +176,78 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ea206940-1124-480f-887b-80e856401eca\",\"lastUpdateDateTime\":\"2021-05-12T19:19:24Z\",\"createdDateTime\":\"2021-05-12T19:19:22Z\",\"expirationDateTime\":\"2021-05-13T19:19:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "74bfbfbb-ca84-4b04-bf9d-9db93fd47895", + "apim-request-id": "8709cd8f-00ef-4c4b-9ff7-da3c543cd1b9", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:29 GMT", + "date": "Fri, 25 Jun 2021 20:00:08 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:56Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "de23762f-4b3c-4bf7-b668-060c5424cc35", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:10 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ea206940-1124-480f-887b-80e856401eca\",\"lastUpdateDateTime\":\"2021-05-12T19:19:32Z\",\"createdDateTime\":\"2021-05-12T19:19:22Z\",\"expirationDateTime\":\"2021-05-13T19:19:22Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:32Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:19:32.6143224Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.96},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"April 4, 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":54,\"length\":13,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.97},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"4 de abril de 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":53,\"length\":18,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.97},{\"text\":\"4. April 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":19,\"length\":13,\"confidenceScore\":0.8},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":37,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":52,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T20:00:11Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:00:11.6245915Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"April 4, 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":54,\"length\":13,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"4 de abril de 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":53,\"length\":18,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"4. April 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":19,\"length\":13,\"confidenceScore\":0.8},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":37,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":52,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "6c291cdc-10ad-4d3a-8345-cfb1ca94e47b", + "apim-request-id": "b20f139a-72df-4c88-a406-d255aed13b8d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:31 GMT", + "date": "Fri, 25 Jun 2021 20:00:12 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "48" + "x-envoy-upstream-service-time": "69" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/ea206940-1124-480f-887b-80e856401eca", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c5d52d7f-e052-424a-99bc-5fa3296ec23a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"ea206940-1124-480f-887b-80e856401eca\",\"lastUpdateDateTime\":\"2021-05-12T19:19:32Z\",\"createdDateTime\":\"2021-05-12T19:19:22Z\",\"expirationDateTime\":\"2021-05-13T19:19:22Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:32Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:19:32.6143224Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.96},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"April 4, 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":54,\"length\":13,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.97},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"4 de abril de 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":53,\"length\":18,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.97},{\"text\":\"4. April 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":19,\"length\":13,\"confidenceScore\":0.8},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":37,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":52,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"c5d52d7f-e052-424a-99bc-5fa3296ec23a\",\"lastUpdateDateTime\":\"2021-06-25T20:00:11Z\",\"createdDateTime\":\"2021-06-25T19:59:56Z\",\"expirationDateTime\":\"2021-06-26T19:59:56Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:00:11.6245915Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"April 4, 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":54,\"length\":13,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"4 de abril de 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":53,\"length\":18,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"4. April 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":19,\"length\":13,\"confidenceScore\":0.8},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":37,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":52,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "6f4b47db-161a-4bce-922e-a09ad9c5c585", + "apim-request-id": "e00e1caa-d053-4c2b-9b79-99a40f051659", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:32 GMT", + "date": "Fri, 25 Jun 2021 20:00:12 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "115" + "x-envoy-upstream-service-time": "68" } } ], @@ -198,5 +255,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "89c881ce70d81ae12eec4f2aaa57a0ef" + "hash": "cf115337615566d6c56926e571550fa1" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json index b4271e4835d1..ba26e2bb3abd 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:20 GMT", + "date": "Fri, 25 Jun 2021 19:58:44 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,59 +20,59 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "4e081bcf-0a12-4b10-9110-b01a7ed35600" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "a8469818-98d5-4f27-9e2b-efa5eb0b7700" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen\",\"language\":\"es\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen\",\"language\":\"es\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "60a0c7e5-d7e3-40d7-8ef8-cb4ed0db08fd", - "date": "Wed, 12 May 2021 19:18:20 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "apim-request-id": "5740032e-bf2c-473e-936a-ee79586bba93", + "date": "Fri, 25 Jun 2021 19:58:44 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "93" + "x-envoy-upstream-service-time": "148" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:21Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:21Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:45Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "accceb5f-4fbb-486a-a62c-1651e7e232ca", + "apim-request-id": "4f3141bc-13d4-4a8c-bcd3-7740a7d32e9e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:21 GMT", + "date": "Fri, 25 Jun 2021 19:58:44 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "12" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:21Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:21Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:45Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "1b11c414-e041-45a6-8992-86aa1fa04042", + "apim-request-id": "11ecb58d-17f7-4364-834e-b60098cdaa05", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:21 GMT", + "date": "Fri, 25 Jun 2021 19:58:45 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -81,36 +81,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:21Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:21Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", - "responseHeaders": { - "apim-request-id": "93198a4e-7d93-43b8-855d-12542298cfa9", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:23 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:45Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "8241cae3-fe68-4b03-8644-58333f063748", + "apim-request-id": "439a3785-b359-4f01-af71-bdc9f317e9bc", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:25 GMT", + "date": "Fri, 25 Jun 2021 19:58:47 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,112 +100,74 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", - "responseHeaders": { - "apim-request-id": "a6270c3e-5079-42e9-8579-1818370ea543", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:27 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", - "responseHeaders": { - "apim-request-id": "e7c4a5fd-4c45-40a3-be9a-2fd2ffc05fd0", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:29 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:48Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "de68c6ce-dc31-4079-b269-704c1d87a0b9", + "apim-request-id": "7aadb275-e3a6-4d49-b869-f929a67bc94c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:32 GMT", + "date": "Fri, 25 Jun 2021 19:58:49 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:48Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "aa312577-dfa3-4a33-af35-e78ea48e3051", + "apim-request-id": "c3c3c6ff-c9a7-41df-8771-a64cb5e3014c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:34 GMT", + "date": "Fri, 25 Jun 2021 19:58:51 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "46" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:48Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "0c38f106-dd4d-4dc2-bea4-cb71cbd1379e", + "apim-request-id": "19a1712a-3b9f-42f0-8363-e3f4cb44e226", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:36 GMT", + "date": "Fri, 25 Jun 2021 19:58:53 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "14" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:48Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "712adf0f-6c0b-4adc-aa8b-12879eb54cfe", + "apim-request-id": "25e5d947-fd51-4300-b218-319b5e3d1ae6", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:38 GMT", + "date": "Fri, 25 Jun 2021 19:58:55 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -233,55 +176,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", - "responseHeaders": { - "apim-request-id": "8d46cf46-67a2-4551-b3d9-3edd156a49f6", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:40 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", - "responseHeaders": { - "apim-request-id": "a6319d2d-1e89-4eb1-9747-337c241929df", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:42 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:48Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "b4c191ae-0b1f-4e5b-b671-8ed402e14de9", + "apim-request-id": "0d65348f-297f-4c8d-bb83-e43be146fd02", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:44 GMT", + "date": "Fri, 25 Jun 2021 19:58:57 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -290,36 +195,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", - "responseHeaders": { - "apim-request-id": "7e339d44-59d1-441b-82b2-cbd31f85ac13", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:46 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:48Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "6482081f-b41a-4dfe-86e3-73909a2761b5", + "apim-request-id": "c8610bf3-c798-46bc-b9a5-4ad2060a6814", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:48 GMT", + "date": "Fri, 25 Jun 2021 19:58:59 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -328,59 +214,59 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:24Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:58:48Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "0de3d91d-bdb3-4779-8023-65e8db280baf", + "apim-request-id": "cae64a49-7a6a-457e-ac50-5f4dd7e83dc0", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:50 GMT", + "date": "Fri, 25 Jun 2021 19:59:01 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:52Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:52Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:18:52.4181288Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.95},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.96},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:12Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T19:59:12.2824197Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "d695b1f8-dce0-4ab5-a75b-4d1856e4ee94", + "apim-request-id": "7874fd1c-12fb-4712-bf78-13de546a8461", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:52 GMT", + "date": "Fri, 25 Jun 2021 19:59:24 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "42" + "x-envoy-upstream-service-time": "64" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d07136e4-34ef-4d7b-9ee3-a309209d65a6", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7d6e1748-6922-48f1-bc06-6b9a43c63a1a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d07136e4-34ef-4d7b-9ee3-a309209d65a6\",\"lastUpdateDateTime\":\"2021-05-12T19:18:52Z\",\"createdDateTime\":\"2021-05-12T19:18:21Z\",\"expirationDateTime\":\"2021-05-13T19:18:21Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:52Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:18:52.4181288Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.95},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":0.96},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"7d6e1748-6922-48f1-bc06-6b9a43c63a1a\",\"lastUpdateDateTime\":\"2021-06-25T19:59:12Z\",\"createdDateTime\":\"2021-06-25T19:58:45Z\",\"expirationDateTime\":\"2021-06-26T19:58:45Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T19:59:12.2824197Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "a32756b3-c082-4834-85df-8494588de6ce", + "apim-request-id": "14a6719f-76b5-40c8-9425-2163afb72ccd", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:52 GMT", + "date": "Fri, 25 Jun 2021 19:59:24 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "48" + "x-envoy-upstream-service-time": "128" } } ], @@ -388,5 +274,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "5a4d44b02b1e1542bb0ed0fc25e9bad0" + "hash": "881e291f78d9d9466840e6f0072b0c70" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json index 576950d00425..87a4da5219db 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:52 GMT", + "date": "Fri, 25 Jun 2021 19:59:24 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,97 +20,97 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "c1e705ec-3912-4743-ac25-e105c3194e00" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b10314ef-1e76-4785-9505-f544ddd87000" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen\",\"language\":\"es\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen\",\"language\":\"es\"}]},\"tasks\":{\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "901ab7e6-59e4-41ae-9942-2cc682626f7e", - "date": "Wed, 12 May 2021 19:18:52 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "apim-request-id": "5849a8a1-bcf5-489f-9097-1c285832be80", + "date": "Fri, 25 Jun 2021 19:59:25 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "71" + "x-envoy-upstream-service-time": "201" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:25Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "b8ed5a00-7815-452e-b144-7460db1e4b62", + "apim-request-id": "ea0abb64-75b0-4635-9aac-f44677cfedb0", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:52 GMT", + "date": "Fri, 25 Jun 2021 19:59:25 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "9" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:25Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "80c09679-fbf8-4f14-b94a-b2b945c5e122", + "apim-request-id": "461f5ebc-a731-4e3f-9339-f57ba4fa6196", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:52 GMT", + "date": "Fri, 25 Jun 2021 19:59:25 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "11" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "791f6134-b6eb-4bcb-a93c-e07e3fa07d37", + "apim-request-id": "cf59e7b1-5faf-4e3a-9971-e6fddc45a01d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:54 GMT", + "date": "Fri, 25 Jun 2021 19:59:27 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "31" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "0e39a42e-035f-4d9a-b36b-c309057b5ceb", + "apim-request-id": "12b62d3d-d16a-482e-933c-358c5bc16cf6", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:56 GMT", + "date": "Fri, 25 Jun 2021 19:59:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,249 +119,249 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:18:53Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "f5954576-7ec0-402f-a6d3-4546ea388062", + "apim-request-id": "beb6a391-34a6-43a7-a8f4-7b213f3e38be", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:58 GMT", + "date": "Fri, 25 Jun 2021 19:59:31 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "0ae52d50-ae90-4e7a-80dc-bea7292b15e8", + "apim-request-id": "37a1d52a-edc9-423e-b7e0-a73ed282597c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:00 GMT", + "date": "Fri, 25 Jun 2021 19:59:33 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "46753dbc-d6ad-4eff-ae96-bbc175d14f8f", + "apim-request-id": "3745acad-2027-4ad0-a2bd-b407cfc9956f", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:02 GMT", + "date": "Fri, 25 Jun 2021 19:59:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "b69a236f-9b56-4d26-bd35-f9936353a7f7", + "apim-request-id": "2c64b6a1-d869-4ff1-bdde-ac65e28b60c5", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:04 GMT", + "date": "Fri, 25 Jun 2021 19:59:38 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "13" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "9d1c5a93-48e5-45cc-95c4-248b8b62f710", + "apim-request-id": "dc165bd5-aa91-4c11-9b23-5f489024fe12", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:07 GMT", + "date": "Fri, 25 Jun 2021 19:59:40 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "64499335-f151-49ff-af6a-f81553dfb06d", + "apim-request-id": "513e008c-22c0-4dd9-b422-a804d3fd4bd8", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:09 GMT", + "date": "Fri, 25 Jun 2021 19:59:42 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "10" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "3ee1e45f-5506-42b1-a0e9-a2813fc41783", + "apim-request-id": "622587ae-ec61-41e3-a1ab-493fad5160e3", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:11 GMT", + "date": "Fri, 25 Jun 2021 19:59:44 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "14" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "2836e592-e817-4def-bc06-879a680661c4", + "apim-request-id": "4bff8375-98ac-4617-b588-d3e91e30a9a7", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:13 GMT", + "date": "Fri, 25 Jun 2021 19:59:47 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "12" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "ca293a11-03e8-472b-ab1c-bb27cc3841d1", + "apim-request-id": "0f48ea34-8b1a-495b-b5f1-bad63b1a3e7d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:15 GMT", + "date": "Fri, 25 Jun 2021 19:59:49 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" + "x-envoy-upstream-service-time": "12" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "05550324-3f17-4e87-a875-fa979d7dfede", + "apim-request-id": "01215b47-923d-441a-8639-533a6e5dc094", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:17 GMT", + "date": "Fri, 25 Jun 2021 19:59:51 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:00Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:26Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "aa9b7853-1d29-4add-af61-abf9da2a3ff8", + "apim-request-id": "447828f5-7453-4826-8def-002dbb0e8de2", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:19 GMT", + "date": "Fri, 25 Jun 2021 19:59:53 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:21Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:21Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:19:21.0111403Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:55Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T19:59:55.6132325Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "780cacbc-0d9b-4538-a712-32e01f18d2a7", + "apim-request-id": "0c509668-9cad-43f2-9f5d-905d1c222e16", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:21 GMT", + "date": "Fri, 25 Jun 2021 19:59:55 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "52" + "x-envoy-upstream-service-time": "54" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/681c318e-b917-41f7-8b8e-00b10d3197ed", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/88bb5b91-e8ea-478b-b2ac-4a0923552b86", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"681c318e-b917-41f7-8b8e-00b10d3197ed\",\"lastUpdateDateTime\":\"2021-05-12T19:19:21Z\",\"createdDateTime\":\"2021-05-12T19:18:52Z\",\"expirationDateTime\":\"2021-05-13T19:18:52Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:21Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:19:21.0111403Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"88bb5b91-e8ea-478b-b2ac-4a0923552b86\",\"lastUpdateDateTime\":\"2021-06-25T19:59:55Z\",\"createdDateTime\":\"2021-06-25T19:59:25Z\",\"expirationDateTime\":\"2021-06-26T19:59:25Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T19:59:55.6132325Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "9d3064cd-9373-4253-93be-920fe4531723", + "apim-request-id": "5f22973f-397d-4dff-9950-a9f408e324e5", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:21 GMT", + "date": "Fri, 25 Jun 2021 19:59:55 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "41" + "x-envoy-upstream-service-time": "80" } } ], @@ -369,5 +369,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "0c99bc0302e3bbe004a8daba1717ad0a" + "hash": "710f01b115bc7c24cb2619f59823b881" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json index 895d81e110fc..7b2eab639aed 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:37 GMT", + "date": "Fri, 25 Jun 2021 20:00:18 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,40 +20,40 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "5c46cd0a-304b-4f9b-a5f1-199cd9725100" + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "84bdf8e2-d00d-4332-9ea9-2d5e195b7900" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"My SSN is 859-98-0987.\"},{\"id\":\"2\",\"text\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\"},{\"id\":\"3\",\"text\":\"Is 998.214.865-68 your Brazilian CPF number?\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"My SSN is 859-98-0987.\"},{\"id\":\"2\",\"text\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\"},{\"id\":\"3\",\"text\":\"Is 998.214.865-68 your Brazilian CPF number?\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "7eef319d-bafa-4da9-89d9-8e2f19cd0627", - "date": "Wed, 12 May 2021 19:19:37 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/d9ec43d0-1649-45f6-895e-bda214ca823a", + "apim-request-id": "70f50549-7007-4e44-b984-87e418d4e6ad", + "date": "Fri, 25 Jun 2021 20:00:18 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "101" + "x-envoy-upstream-service-time": "164" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d9ec43d0-1649-45f6-895e-bda214ca823a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d9ec43d0-1649-45f6-895e-bda214ca823a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:37Z\",\"createdDateTime\":\"2021-05-12T19:19:37Z\",\"expirationDateTime\":\"2021-05-13T19:19:37Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:37Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:19Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "cd76e94c-baf9-46a1-a985-a0fca5570397", + "apim-request-id": "b6966900-a5be-48d8-a0dd-a8e70ff4f587", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:37 GMT", + "date": "Fri, 25 Jun 2021 20:00:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -62,17 +62,36 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d9ec43d0-1649-45f6-895e-bda214ca823a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d9ec43d0-1649-45f6-895e-bda214ca823a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:37Z\",\"createdDateTime\":\"2021-05-12T19:19:37Z\",\"expirationDateTime\":\"2021-05-13T19:19:37Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:37Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:19Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "c61dda81-e278-42c6-9604-eaf539104468", + "apim-request-id": "12752a8c-d04b-46af-af2e-d4ee19b643bc", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:37 GMT", + "date": "Fri, 25 Jun 2021 20:00:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "31d056f3-94a5-4bc2-b1c2-c1cb58b7bfe0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:21 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -81,36 +100,36 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d9ec43d0-1649-45f6-895e-bda214ca823a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d9ec43d0-1649-45f6-895e-bda214ca823a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:39Z\",\"createdDateTime\":\"2021-05-12T19:19:37Z\",\"expirationDateTime\":\"2021-05-13T19:19:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:39Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "ef8f708e-5783-4e98-95ae-3750b043dcab", + "apim-request-id": "d9c9b249-79fa-4285-a0b7-b7ca9479453e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:39 GMT", + "date": "Fri, 25 Jun 2021 20:00:23 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d9ec43d0-1649-45f6-895e-bda214ca823a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d9ec43d0-1649-45f6-895e-bda214ca823a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:39Z\",\"createdDateTime\":\"2021-05-12T19:19:37Z\",\"expirationDateTime\":\"2021-05-13T19:19:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:39Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "df267b4b-db27-4726-8381-8a44c8551726", + "apim-request-id": "b166d55d-733d-4cb4-b506-11375eac2793", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:41 GMT", + "date": "Fri, 25 Jun 2021 20:00:25 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,17 +138,131 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d9ec43d0-1649-45f6-895e-bda214ca823a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "7609ee6a-6d40-4f65-9be9-16f9b4b84c8d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "df0eb7fc-edd1-4fa3-bbe5-a83a94b1c174", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d67ac6b6-2718-42b0-8539-e93635cb7882", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "7e43be00-4bd4-4a86-abe5-e56349beee3f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d64cbbca-e134-4809-88c3-8ce6e8a6e8b2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "12" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d9ec43d0-1649-45f6-895e-bda214ca823a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:39Z\",\"createdDateTime\":\"2021-05-12T19:19:37Z\",\"expirationDateTime\":\"2021-05-13T19:19:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:39Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "0fe3e88d-5b6a-4670-a19e-97ee45126e7b", + "apim-request-id": "5e7cc3e7-4d15-4395-a333-aeebb5ce8ee9", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:43 GMT", + "date": "Fri, 25 Jun 2021 20:00:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "f0a88dc8-4215-432f-9200-87650dcb3030", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:42 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -138,40 +271,59 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d9ec43d0-1649-45f6-895e-bda214ca823a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:21Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "c1d97bbc-e1e6-4868-b280-82e2accdc651", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d9ec43d0-1649-45f6-895e-bda214ca823a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:45Z\",\"createdDateTime\":\"2021-05-12T19:19:37Z\",\"expirationDateTime\":\"2021-05-13T19:19:37Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:45Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:19:45.0654858Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is ***********.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[{\"text\":\"111000025\",\"category\":\"PhoneNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"111000025\",\"category\":\"ABARoutingNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.75},{\"text\":\"111000025\",\"category\":\"NZSocialWelfareNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Is 998.214.865-68 your Brazilian CPF number?\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:46Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:00:46.0150371Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is ***********.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[{\"text\":\"111000025\",\"category\":\"PhoneNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"111000025\",\"category\":\"ABARoutingNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.75},{\"text\":\"111000025\",\"category\":\"NZSocialWelfareNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Is 998.214.865-68 your Brazilian CPF number?\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "c69d3429-5306-4020-a5eb-7b936ab8db14", + "apim-request-id": "7c173383-020c-43e8-8a31-ae8934d7cdc9", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:45 GMT", + "date": "Fri, 25 Jun 2021 20:00:46 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "59" + "x-envoy-upstream-service-time": "76" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/d9ec43d0-1649-45f6-895e-bda214ca823a", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/04d9b006-9a58-4bd7-a3e4-0837f2af977f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d9ec43d0-1649-45f6-895e-bda214ca823a\",\"lastUpdateDateTime\":\"2021-05-12T19:19:45Z\",\"createdDateTime\":\"2021-05-12T19:19:37Z\",\"expirationDateTime\":\"2021-05-13T19:19:37Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:45Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:19:45.0654858Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is ***********.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[{\"text\":\"111000025\",\"category\":\"PhoneNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"111000025\",\"category\":\"ABARoutingNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.75},{\"text\":\"111000025\",\"category\":\"NZSocialWelfareNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Is 998.214.865-68 your Brazilian CPF number?\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"04d9b006-9a58-4bd7-a3e4-0837f2af977f\",\"lastUpdateDateTime\":\"2021-06-25T20:00:46Z\",\"createdDateTime\":\"2021-06-25T20:00:19Z\",\"expirationDateTime\":\"2021-06-26T20:00:19Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:00:46.0150371Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is ***********.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[{\"text\":\"111000025\",\"category\":\"PhoneNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"111000025\",\"category\":\"ABARoutingNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.75},{\"text\":\"111000025\",\"category\":\"NZSocialWelfareNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Is 998.214.865-68 your Brazilian CPF number?\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "61af6d39-b446-458f-9353-2fb8fa107955", + "apim-request-id": "7c3edcf1-3f32-4bd0-b720-199187158a0c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:45 GMT", + "date": "Fri, 25 Jun 2021 20:00:46 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "47" + "x-envoy-upstream-service-time": "81" } } ], @@ -179,5 +331,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "91e4fe7bfdc826a68caee870a6a3c562" + "hash": "b91a2978099d3831c48eacb4b56d7914" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json index acbc9757da49..df93459110bb 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:45 GMT", + "date": "Fri, 25 Jun 2021 20:00:46 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,59 +20,135 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "77684d85-de6c-4446-8bd8-8026bc5f5600" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "57418012-2503-4660-964d-7a7eb7406400" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"sentimentAnalysisTasks\":[{\"parameters\":{\"opinionMining\":true,\"stringIndexType\":\"Utf16CodeUnit\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"The food was unacceptable\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"The rooms were beautiful. The AC was good and quiet.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The breakfast was good, but the toilet was smelly.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"The toilet smelled.\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"The food was unacceptable\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"The rooms were beautiful. The AC was good and quiet.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The breakfast was good, but the toilet was smelly.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"The toilet smelled.\",\"language\":\"en\"}]},\"tasks\":{\"sentimentAnalysisTasks\":[{\"parameters\":{\"opinionMining\":true,\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "bf594a5b-6557-4e4e-96ad-3ea987168eb3", - "date": "Wed, 12 May 2021 19:19:46 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "apim-request-id": "2f5a7bb1-63dc-49d9-938c-aee802693707", + "date": "Fri, 25 Jun 2021 20:00:46 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "179" + "x-envoy-upstream-service-time": "268" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:46Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:46Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "6f8c71b9-c88e-4a64-928b-860c67355804", + "apim-request-id": "63c4f58e-189f-49a9-80ad-f33f3f8ce609", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:46 GMT", + "date": "Fri, 25 Jun 2021 20:00:46 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "13" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:46Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:46Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "febc90c3-d977-4c3f-affe-8ef596e6596d", + "apim-request-id": "b4f672f9-0885-4e6f-8120-6c9c847162d4", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:46 GMT", + "date": "Fri, 25 Jun 2021 20:00:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "193dd588-7aaf-43d6-a01e-755057bc3dfa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "a4957c84-d5cf-4a4f-8e49-175c21362c1e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "480f68b2-036b-40f8-8808-41780fee703f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "da7040d9-205d-417c-a7a6-5e914d78ce31", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:00:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -81,17 +157,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "a021425b-4ab7-495a-a973-8161dbb154d2", + "apim-request-id": "92df70da-5fbc-45cf-b4bb-715d99046bce", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:48 GMT", + "date": "Fri, 25 Jun 2021 20:00:58 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -100,17 +176,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "e1ceec39-2794-4b9c-abfe-969d3e155023", + "apim-request-id": "70e82c5a-a27d-4894-819c-a313d0e514c0", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:50 GMT", + "date": "Fri, 25 Jun 2021 20:01:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,17 +195,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "2ccdcbbc-2507-406d-bd0f-9cc6264ab6c8", + "apim-request-id": "391827b5-baaf-42c9-acbf-5026d7eb6f10", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:52 GMT", + "date": "Fri, 25 Jun 2021 20:01:02 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -138,17 +214,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "322fc611-ecb2-4455-8833-0e922377f2f9", + "apim-request-id": "18ef22ec-de8b-4d00-942f-56f4a7f1a62e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:54 GMT", + "date": "Fri, 25 Jun 2021 20:01:04 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -157,36 +233,36 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "e7ac2820-e7cc-442a-9ec1-ec59b55e4b7c", + "apim-request-id": "d39328f1-3da9-4646-a866-e27b7baa307b", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:56 GMT", + "date": "Fri, 25 Jun 2021 20:01:06 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "11" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "f200d55d-7ef9-47d1-bdff-eeec6dc412e6", + "apim-request-id": "43afc4c7-9347-4ba1-a95d-eff1584f5789", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:19:58 GMT", + "date": "Fri, 25 Jun 2021 20:01:08 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -195,17 +271,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "04704216-98e3-47dc-8024-6376048e3357", + "apim-request-id": "9207c87a-f48f-4f01-b803-39a13b553ece", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:00 GMT", + "date": "Fri, 25 Jun 2021 20:01:10 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -214,97 +290,97 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "31ef14c1-6228-4187-b8c5-9b9606bc21dc", + "apim-request-id": "fbabc348-213d-425f-9ccc-b5f0594d0411", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:02 GMT", + "date": "Fri, 25 Jun 2021 20:01:12 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "83528e2d-f176-4d7f-baa1-9adb54b77b42", + "apim-request-id": "300b206d-c1a1-4c8f-948a-85c5fa69cabc", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:04 GMT", + "date": "Fri, 25 Jun 2021 20:01:14 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "9" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:19:47Z\"},\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:00:47Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", "responseHeaders": { - "apim-request-id": "ad85edd1-9f4f-4e9d-b96a-2a7bccff6470", + "apim-request-id": "7455a6b7-7729-4951-9c04-76a93637dffd", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:06 GMT", + "date": "Fri, 25 Jun 2021 20:01:16 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "23" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:20:08Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:08Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"sentimentAnalysisTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:08.1572698Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":25,\"text\":\"The food was unacceptable\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":13,\"length\":12,\"text\":\"unacceptable\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":25,\"text\":\"The rooms were beautiful.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":9,\"text\":\"beautiful\",\"isNegated\":false}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":26,\"length\":26,\"text\":\"The AC was good and quiet.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":30,\"length\":2,\"text\":\"AC\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":37,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":46,\"length\":5,\"text\":\"quiet\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"offset\":0,\"length\":50,\"text\":\"The breakfast was good, but the toilet was smelly.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":32,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":18,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":43,\"length\":6,\"text\":\"smelly\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":71,\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":11,\"length\":5,\"text\":\"hotel\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":24,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":41,\"length\":15,\"text\":\"shuttle service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":65,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/3\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":19,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":36,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":5,\"text\":\"loved\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":59,\"length\":5,\"text\":\"clean\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":56,\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.97,\"negative\":0.03},\"offset\":27,\"length\":4,\"text\":\"view\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":8,\"length\":5,\"text\":\"great\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.93,\"negative\":0.07},\"offset\":14,\"length\":12,\"text\":\"unobstructed\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":75,\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":5,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":15,\"length\":9,\"text\":\"bathrooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/1\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":42,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":30,\"length\":3,\"text\":\"old\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":53,\"length\":5,\"text\":\"dirty\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"offset\":0,\"length\":19,\"text\":\"The toilet smelled.\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":11,\"length\":7,\"text\":\"smelled\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}}]}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:01:18Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"sentimentAnalysisTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:18.3985284Z\",\"taskName\":\"SentimentAnalysis_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":25,\"text\":\"The food was unacceptable\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":13,\"length\":12,\"text\":\"unacceptable\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":25,\"text\":\"The rooms were beautiful.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":9,\"text\":\"beautiful\",\"isNegated\":false}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":26,\"length\":26,\"text\":\"The AC was good and quiet.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":30,\"length\":2,\"text\":\"AC\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":37,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":46,\"length\":5,\"text\":\"quiet\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"offset\":0,\"length\":50,\"text\":\"The breakfast was good, but the toilet was smelly.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":32,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":18,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":43,\"length\":6,\"text\":\"smelly\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":71,\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":11,\"length\":5,\"text\":\"hotel\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":24,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":41,\"length\":15,\"text\":\"shuttle service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":65,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/3\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":19,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":36,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":5,\"text\":\"loved\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":59,\"length\":5,\"text\":\"clean\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":56,\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.97,\"negative\":0.03},\"offset\":27,\"length\":4,\"text\":\"view\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":8,\"length\":5,\"text\":\"great\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.93,\"negative\":0.07},\"offset\":14,\"length\":12,\"text\":\"unobstructed\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":75,\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":5,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":15,\"length\":9,\"text\":\"bathrooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/1\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":42,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":30,\"length\":3,\"text\":\"old\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":53,\"length\":5,\"text\":\"dirty\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"offset\":0,\"length\":19,\"text\":\"The toilet smelled.\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":11,\"length\":7,\"text\":\"smelled\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}}]}}", "responseHeaders": { - "apim-request-id": "8fdf7563-9ba8-47ea-8190-13649134040e", + "apim-request-id": "943a2024-7b05-4301-bef4-a1eed1b0f2e3", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:10 GMT", + "date": "Fri, 25 Jun 2021 20:01:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "106" + "x-envoy-upstream-service-time": "139" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/379883bc-c909-4616-9da7-f2fadc75164e", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7761fef3-03a3-4f92-a96c-beada17e7c27", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"379883bc-c909-4616-9da7-f2fadc75164e\",\"lastUpdateDateTime\":\"2021-05-12T19:20:08Z\",\"createdDateTime\":\"2021-05-12T19:19:46Z\",\"expirationDateTime\":\"2021-05-13T19:19:46Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:08Z\"},\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"sentimentAnalysisTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:08.1572698Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":25,\"text\":\"The food was unacceptable\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":13,\"length\":12,\"text\":\"unacceptable\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":25,\"text\":\"The rooms were beautiful.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":9,\"text\":\"beautiful\",\"isNegated\":false}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":26,\"length\":26,\"text\":\"The AC was good and quiet.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":30,\"length\":2,\"text\":\"AC\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":37,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":46,\"length\":5,\"text\":\"quiet\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"offset\":0,\"length\":50,\"text\":\"The breakfast was good, but the toilet was smelly.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":32,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":18,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":43,\"length\":6,\"text\":\"smelly\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":71,\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":11,\"length\":5,\"text\":\"hotel\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":24,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":41,\"length\":15,\"text\":\"shuttle service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":65,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/3\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":19,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":36,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":5,\"text\":\"loved\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":59,\"length\":5,\"text\":\"clean\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":56,\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.97,\"negative\":0.03},\"offset\":27,\"length\":4,\"text\":\"view\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":8,\"length\":5,\"text\":\"great\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.93,\"negative\":0.07},\"offset\":14,\"length\":12,\"text\":\"unobstructed\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":75,\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":5,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":15,\"length\":9,\"text\":\"bathrooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/1\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":42,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":30,\"length\":3,\"text\":\"old\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":53,\"length\":5,\"text\":\"dirty\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"offset\":0,\"length\":19,\"text\":\"The toilet smelled.\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":11,\"length\":7,\"text\":\"smelled\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}}]}}", + "response": "{\"jobId\":\"7761fef3-03a3-4f92-a96c-beada17e7c27\",\"lastUpdateDateTime\":\"2021-06-25T20:01:18Z\",\"createdDateTime\":\"2021-06-25T20:00:47Z\",\"expirationDateTime\":\"2021-06-26T20:00:47Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"sentimentAnalysisTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:18.3985284Z\",\"taskName\":\"SentimentAnalysis_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":25,\"text\":\"The food was unacceptable\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":13,\"length\":12,\"text\":\"unacceptable\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":25,\"text\":\"The rooms were beautiful.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":9,\"text\":\"beautiful\",\"isNegated\":false}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":26,\"length\":26,\"text\":\"The AC was good and quiet.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":30,\"length\":2,\"text\":\"AC\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":37,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":46,\"length\":5,\"text\":\"quiet\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"offset\":0,\"length\":50,\"text\":\"The breakfast was good, but the toilet was smelly.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":32,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":18,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":43,\"length\":6,\"text\":\"smelly\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":71,\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":11,\"length\":5,\"text\":\"hotel\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":24,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":41,\"length\":15,\"text\":\"shuttle service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":65,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/3\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":19,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":36,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":5,\"text\":\"loved\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":59,\"length\":5,\"text\":\"clean\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":56,\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.97,\"negative\":0.03},\"offset\":27,\"length\":4,\"text\":\"view\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":8,\"length\":5,\"text\":\"great\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.93,\"negative\":0.07},\"offset\":14,\"length\":12,\"text\":\"unobstructed\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":75,\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":5,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":15,\"length\":9,\"text\":\"bathrooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/1\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":42,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":30,\"length\":3,\"text\":\"old\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":53,\"length\":5,\"text\":\"dirty\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"offset\":0,\"length\":19,\"text\":\"The toilet smelled.\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":11,\"length\":7,\"text\":\"smelled\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}}]}}", "responseHeaders": { - "apim-request-id": "60942a22-0df1-44d3-8ddd-e5d8968ac359", + "apim-request-id": "919378ca-6790-402f-aba0-353bd466340b", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:10 GMT", + "date": "Fri, 25 Jun 2021 20:01:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "92" + "x-envoy-upstream-service-time": "110" } } ], @@ -312,5 +388,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "85c49ddeafbba1b6be811db169f2bc62" + "hash": "3a7f3ca2530dc07b8daf84a4a93dba9e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json index e22ca265bffa..aff6a82b7631 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:10 GMT", + "date": "Fri, 25 Jun 2021 20:01:19 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,59 +20,40 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "1abc1a8a-2ae7-4c0a-9aec-0f3019875600" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "f444c40d-3826-47ee-8fe8-203261866100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food. I recommend you try it.\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food. I recommend you try it.\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "3d1cd1a1-56a9-4d11-9976-09a012368bcc", - "date": "Wed, 12 May 2021 19:20:10 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "apim-request-id": "9d55004b-c449-42d3-8df7-a7d8c796cea7", + "date": "Fri, 25 Jun 2021 20:01:19 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "133" + "x-envoy-upstream-service-time": "272" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:11Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:11Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:20Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "aeafb939-4b1c-4785-a154-0d2a6e787790", + "apim-request-id": "83a7c0a3-04d4-42d1-a262-15c94c4a32dd", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:11 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:11Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:11Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", - "responseHeaders": { - "apim-request-id": "bf80774a-52de-4096-8993-34a41b13d3c3", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:11 GMT", + "date": "Fri, 25 Jun 2021 20:01:19 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -81,74 +62,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:13Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:13Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", - "responseHeaders": { - "apim-request-id": "561c49c2-7060-4f06-b8a0-6283fdb88684", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:13 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:14Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:14Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", - "responseHeaders": { - "apim-request-id": "f529ad66-fc50-4f6f-bd42-97cdd58351eb", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:15 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:14Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:14Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", - "responseHeaders": { - "apim-request-id": "8df76884-2429-4c9b-ad0d-cf28997e94c5", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:17 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "13" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:14Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:14Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:20Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "1767255e-6882-4c32-bc6e-517368ebf9e7", + "apim-request-id": "4de19793-de11-45ef-8e2c-9075c0029f3f", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:19 GMT", + "date": "Fri, 25 Jun 2021 20:01:19 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -157,211 +81,192 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:21Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "61c525a1-ec6d-4840-8895-c0f14d97d225", + "apim-request-id": "21b4d81a-0b19-489b-b74f-43614e72e4b0", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:21 GMT", + "date": "Fri, 25 Jun 2021 20:01:21 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "91" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", - "responseHeaders": { - "apim-request-id": "d6f7ba5d-9312-43df-a98f-e58d258cde35", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:23 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "53" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:21Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "c5d0b165-98cf-407e-8b33-6f1dbd3bcd8e", + "apim-request-id": "eb604c1f-7e9e-43cc-9d5e-996999f91ce0", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:25 GMT", + "date": "Fri, 25 Jun 2021 20:01:23 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "46" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:26Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "b499a050-a728-4d72-807f-cea48a360527", + "apim-request-id": "447e218d-ae0e-4af2-be61-bac689b8fddc", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:27 GMT", + "date": "Fri, 25 Jun 2021 20:01:25 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "84" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:26Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "c27779ca-aa1f-4f83-8af2-005ba0416c77", + "apim-request-id": "dc884608-d9b6-4d42-9ca4-d8de21bcd7c0", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:29 GMT", + "date": "Fri, 25 Jun 2021 20:01:27 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "239" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:26Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "41d21d9f-94e2-47ca-a9ed-c5df3da6931d", + "apim-request-id": "9dc57ac8-ae1a-4a76-9a19-41f96bce6c93", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:31 GMT", + "date": "Fri, 25 Jun 2021 20:01:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "56" + "x-envoy-upstream-service-time": "20" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:20Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:26Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "222d1a22-a941-4bea-9b53-ecfbac65173d", + "apim-request-id": "c6256f69-c3c2-401b-a0be-7c86b26c5562", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:33 GMT", + "date": "Fri, 25 Jun 2021 20:01:32 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "73" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:35Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:35Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:35.653887Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:26Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "7d0770b0-72f6-4be5-bc60-41a0dbd1e6bc", + "apim-request-id": "578f1fbf-22e6-4798-a0af-2a5ff6225189", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:35 GMT", + "date": "Fri, 25 Jun 2021 20:01:34 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "101" + "x-envoy-upstream-service-time": "9" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:35Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:35Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:35.653887Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:35Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:35.1330185Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:35.0058806Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "9f084f26-2099-4806-8f1b-299a8a2b72e3", + "apim-request-id": "fde3345c-d758-4786-949f-7d2bf2b6f79a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:38 GMT", + "date": "Fri, 25 Jun 2021 20:01:37 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "93" + "x-envoy-upstream-service-time": "116" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:40Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:40Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:35.653887Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:40.045219Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"keyPhrases\":[\"restaurant\",\"good food\"],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:37Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:35.1330185Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:35.0058806Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:37.2147965Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"keyPhrases\":[\"good food\",\"restaurant\"],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "1b850d3f-481b-47a5-aef5-78f5944ccbac", + "apim-request-id": "b196569b-ea83-4579-b4be-7aebb3058282", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:41 GMT", + "date": "Fri, 25 Jun 2021 20:01:39 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "177" + "x-envoy-upstream-service-time": "216" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/2571da6d-4c63-4316-b84a-8b7bf15a8e5d", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0e63694a-178f-40b6-90a7-6425eab413ba", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"2571da6d-4c63-4316-b84a-8b7bf15a8e5d\",\"lastUpdateDateTime\":\"2021-05-12T19:20:40Z\",\"createdDateTime\":\"2021-05-12T19:20:10Z\",\"expirationDateTime\":\"2021-05-13T19:20:10Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:20:40Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:35.653887Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:20.0961381Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:20:40.045219Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"keyPhrases\":[\"restaurant\",\"good food\"],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"0e63694a-178f-40b6-90a7-6425eab413ba\",\"lastUpdateDateTime\":\"2021-06-25T20:01:37Z\",\"createdDateTime\":\"2021-06-25T20:01:19Z\",\"expirationDateTime\":\"2021-06-26T20:01:19Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:35.1330185Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:35.0058806Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:01:37.2147965Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"keyPhrases\":[\"good food\",\"restaurant\"],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "75dadfde-2220-44f1-9dd6-e2682fa95256", + "apim-request-id": "83173753-4858-4534-836d-3c9c8d0b6e36", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:20:41 GMT", + "date": "Fri, 25 Jun 2021 20:01:39 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "123" + "x-envoy-upstream-service-time": "162" } } ], @@ -369,5 +274,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "ba950f781e307c4904822ebae2630066" + "hash": "10b0e4554231ab60fcfbc8922809b3ac" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json index ce829b99a0be..c40efaa0884b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:22 GMT", + "date": "Fri, 25 Jun 2021 20:06:20 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,40 +20,496 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-379053604f00" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b10314ef-1e76-4785-9505-f54451317100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "4aefdb16-1293-41ab-9b92-edbf0f744209", - "date": "Wed, 12 May 2021 19:22:21 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "apim-request-id": "52748187-930a-4162-9bfc-d68b768987a0", + "date": "Fri, 25 Jun 2021 20:06:21 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "139" + "x-envoy-upstream-service-time": "1031" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:22Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:22Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "1292389d-b288-4728-bacf-841930d0e050", + "apim-request-id": "2ecd176e-8971-42ed-b184-5ddef64a9cbe", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:21 GMT", + "date": "Fri, 25 Jun 2021 20:06:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "48" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "dcb0b032-8684-41dd-95c8-13439f5db67d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "8c0e9cfa-0fc9-4fa8-829a-619becdee28e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "40fd4944-c9a5-440e-befe-d0c08073e7a5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "58d36e93-9c3d-40cf-8d9a-499a15d946ae", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "e38f08e4-5ba2-4489-a53b-d9958c36ebb0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:30 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "2a5109df-50f2-4f7c-8421-b359744d1f0a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "68df49d6-4617-4407-b3e5-3413a42b0fea", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:35 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "19318b30-948f-4dbc-bdcb-0117173af32c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "d43aaa12-2d19-4430-ac10-8b8eca2ec6bf", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "8b68e34b-2e8b-4540-8532-b687408d798a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "ab5fe006-211c-485f-82a2-5f1624371329", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "34bc76fe-96af-4618-8e45-4945786ba66b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "4175adf3-a9d9-40de-ae05-dfbcc2236948", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:48 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "7140650a-e54f-4912-a87a-4c203b1d18eb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:50 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "53d58885-7521-46db-a2bc-020e117aee97", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "5ef3d309-8a4e-482c-af86-369dbe7ba688", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "f098da15-489e-4c4f-8431-cfb33ce4d533", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "aaecdddc-3621-405a-9da6-38eef289c1f4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:06:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "55f5f1e9-ae28-4c89-a66d-b2b3c48e2378", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "b6a570e3-8d98-41a0-aa23-449d4b8cf832", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "89f4c3f9-6a2e-45a3-b073-4352d9702868", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "bc3ed90f-ef19-4e2f-a6e0-cb7f925b452a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "3752d654-3cb3-42cf-bf87-13e41261635d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:08 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "99aa5394-b851-4381-a82b-828405f0c798", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:10 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -62,36 +518,150 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "848027e7-40be-49d3-b7ec-d15f2a21278a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "2a2aa92f-afea-4d1f-8ca9-6f4379b2fb5a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "12" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "040f52f6-fd7c-44e4-9294-76e4646de9da", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "ec4201e2-f436-494b-9270-41cec8a13340", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:06:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "e6e5ea46-b22d-4922-bf41-721d63c50142", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:22Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:22Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "193c6e2b-12ae-4de4-b13e-075154aa04d7", + "apim-request-id": "095e89c2-cdc1-46c3-bc36-d44400b0bc51", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:21 GMT", + "date": "Fri, 25 Jun 2021 20:07:23 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "19" + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "13efcbcc-9667-4673-8036-8433e146c1e1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:25 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:23Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:23Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:22Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "a29f80ae-aa81-48b4-834f-55e86d662cea", + "apim-request-id": "115f0eda-086c-4044-b0f1-8b19b74867e2", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:23 GMT", + "date": "Fri, 25 Jun 2021 20:07:27 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -100,17 +670,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:23Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:23Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:30Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "fe716e35-998f-4e01-bda9-a51d4c3b6c90", + "apim-request-id": "77fe13ff-ed59-4b0e-a6ac-e597f7e539b9", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:25 GMT", + "date": "Fri, 25 Jun 2021 20:07:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,116 +689,287 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:30Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "b522d470-3564-484a-a17e-26c0ed8d6c18", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:30Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "c06b9cdc-6fb9-4fb2-ac7d-13c965e29fb9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "102" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:30Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "a7990a3e-dadd-4e86-bd00-fd56a318a067", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "12" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:30Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "f662147a-0ba5-478d-8825-8800dd709779", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:40Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "5a2cc915-0720-47b4-b81f-e17ca80aae18", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "77" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:42Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "f885fa7a-b88b-4ae3-a9fa-02c107edbca0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "120" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:42Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "eecdf252-b75c-43a3-9238-38c7b1972db9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "117" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:42Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "de625942-a949-46b9-b88e-3c71ee32f358", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "108" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:42Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "0234bc63-d69a-4453-9f16-ab723eef219f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:07:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "145" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:23Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:23Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:42Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "bba2c397-99e2-46ba-8d3f-a6827f0ecf35", + "apim-request-id": "fd9010a8-9047-4cb4-8f77-885e09f16e63", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:27 GMT", + "date": "Fri, 25 Jun 2021 20:07:51 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" + "x-envoy-upstream-service-time": "137" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:30Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:30Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:30.0050342Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:28.6298558Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Este es\",\"document escrito en Español\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"猫は幸せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:42Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "330e7baa-4975-4c02-9fea-9fefeb3c3ee4", + "apim-request-id": "5df2f468-d1fa-4c03-bd22-17c149a6c084", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:29 GMT", + "date": "Fri, 25 Jun 2021 20:07:53 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "104" + "x-envoy-upstream-service-time": "245" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:30Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:30Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:30.0050342Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:28.6298558Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Este es\",\"document escrito en Español\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"猫は幸せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:42Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "1484f0da-0c4f-4507-b6f8-26b565a87647", + "apim-request-id": "713b3f02-df9a-4af8-8fd4-4feb1f7a3472", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:32 GMT", + "date": "Fri, 25 Jun 2021 20:07:55 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "362" + "x-envoy-upstream-service-time": "111" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:30Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:30Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:30.0050342Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:28.6298558Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Este es\",\"document escrito en Español\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"猫は幸せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:42Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", "responseHeaders": { - "apim-request-id": "2eaefa8c-7566-4801-8f76-a4469a7671cf", + "apim-request-id": "8cfdf65b-51fd-449c-9e4d-6ba95a71ed99", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:34 GMT", + "date": "Fri, 25 Jun 2021 20:07:57 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "165" + "x-envoy-upstream-service-time": "131" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:35Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:35Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:30.0050342Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:35.2687289Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:28.6298558Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Este es\",\"document escrito en Español\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"猫は幸せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:58Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:58.9345116Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Español\",\"document\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "34158d03-28d4-4135-a3cb-4b50f487e3ed", + "apim-request-id": "212b4f37-8aeb-4026-9f6f-8f190a8c6e74", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:36 GMT", + "date": "Fri, 25 Jun 2021 20:08:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "139" + "x-envoy-upstream-service-time": "167" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/5f4e843e-eded-4ae3-b6fe-77985ac82529", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/686cf3b5-d3a5-49e6-baa0-20bdca3df827", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"5f4e843e-eded-4ae3-b6fe-77985ac82529\",\"lastUpdateDateTime\":\"2021-05-12T19:22:35Z\",\"createdDateTime\":\"2021-05-12T19:22:22Z\",\"expirationDateTime\":\"2021-05-13T19:22:22Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:35Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:30.0050342Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.95}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:35.2687289Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:28.6298558Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Este es\",\"document escrito en Español\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"猫は幸せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"686cf3b5-d3a5-49e6-baa0-20bdca3df827\",\"lastUpdateDateTime\":\"2021-06-25T20:07:58Z\",\"createdDateTime\":\"2021-06-25T20:06:21Z\",\"expirationDateTime\":\"2021-06-26T20:06:21Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:40.2660973Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:42.8498376Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:07:58.9345116Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Español\",\"document\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "b58b5eeb-837f-477b-bea6-faa6001b6b91", + "apim-request-id": "ed2769a6-b4f3-4a12-b4bc-4415e9d1ebc2", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:36 GMT", + "date": "Fri, 25 Jun 2021 20:08:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "151" + "x-envoy-upstream-service-time": "159" } } ], @@ -236,5 +977,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "7962fcffc70aa58d13b173bc640c9d38" + "hash": "8f314fa816eb3a9379d509dd8840d64e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json index 16ed9805e220..a7d9aba0a718 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:36 GMT", + "date": "Fri, 25 Jun 2021 20:03:28 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,40 +20,40 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "d8b4f1c7-068a-49ca-8be3-b9fbda8a5800" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "28812791-b9ec-449e-b425-0faaf5a45c00" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "9e3c601c-46f8-4e0a-84fe-8f4d55e2f8df", - "date": "Wed, 12 May 2021 19:21:37 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "apim-request-id": "1fb538bb-d3c8-46d8-93ce-c9f55d08fefc", + "date": "Fri, 25 Jun 2021 20:03:29 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "152" + "x-envoy-upstream-service-time": "257" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:37Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:37Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:29Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "c8a6258f-ab96-40cb-9608-18f40c56b574", + "apim-request-id": "c03697d7-6634-440f-8e95-73657333f25a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:37 GMT", + "date": "Fri, 25 Jun 2021 20:03:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -62,55 +62,55 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:37Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:37Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:29Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "36011641-fe56-4be3-9840-c8eccd6429bf", + "apim-request-id": "008a3549-5ebb-4fb2-8edf-84dfdc588f01", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:37 GMT", + "date": "Fri, 25 Jun 2021 20:03:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:39Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:39Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:30Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "9b98d2ed-6331-4c22-bf03-39489b215c5f", + "apim-request-id": "731c54d8-537d-4e09-b932-ec72f508e2e5", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:39 GMT", + "date": "Fri, 25 Jun 2021 20:03:31 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:39Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:39Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:30Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "34c837c3-abe8-4bba-9ccb-2791f0856e9e", + "apim-request-id": "0e3b4243-7ae3-4d8e-8c76-22824fb43781", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:41 GMT", + "date": "Fri, 25 Jun 2021 20:03:33 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,116 +119,572 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:30Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "f2d6b89c-1a14-4437-99f1-57eba02b8170", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:35 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:36Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b70c1fd0-25ea-4c2b-9b4f-b4873a7c99f3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "67" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:36Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b421077b-99fb-4a51-b1c1-db37a15e6c56", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "60" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:36Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "147e9d06-16ff-4623-9169-84d9e9b6fbe2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "70" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "6d1890d6-0893-420c-a216-0e49f598131e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "141" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b351be20-c522-4b15-b5a2-d6aa789edfe2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "145" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "5a2467f0-64e7-4fca-a432-a9295e7dbf1a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:48 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "134" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "90bea5dc-2b38-4b26-baa7-29c5143eb7e1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:50 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "122" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "ae167c12-e9ab-4874-8722-83800a356d51", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "132" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "a2cb6041-9397-40c1-a552-e79cbb2793b7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "111" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "032b0750-cc1e-4f53-8551-79cb1b6032b1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:03:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "122" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "2c238d1e-bf3c-4447-8d7d-7c3cf15da332", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "410" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "802dacc9-2640-472a-8b0b-a087a6c52bbe", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "110" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "1701ea70-5618-4d12-be1b-b0ef5a831512", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "110" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "9bc2a6da-1827-4590-9183-3e2374e4b33c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "129" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "c25367bd-bd9b-44ac-a067-2438bf9a2e13", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "123" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "2ae37887-cd27-4bb5-a535-66022408f646", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:11 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "124" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "713d7973-986d-424c-b329-80b1367dec75", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "106" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "246533e1-d477-4d10-af8b-fecfd48e92c1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "117" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "3b7e9bdb-b06e-4e09-83f3-aec3ba3cbdf0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "167" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "8e24b5b3-8789-49ca-9a3f-4d807a9849d5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "109" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "12c86f32-b821-4867-af5a-13e760b758dd", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "152" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "9572a774-5c73-48ea-a1ab-b3a0cf3f439c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:24 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "156" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "0460da6c-4a08-44e5-8cdc-49ea143e0070", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "119" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:43Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:43.5506586Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:03:42Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "4a058e7b-64b9-40c0-ab9a-8ca1f9bb6760", + "apim-request-id": "dd04702f-0532-4c6d-b5c4-75e68549f571", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:43 GMT", + "date": "Fri, 25 Jun 2021 20:04:28 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "55" + "x-envoy-upstream-service-time": "131" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:43Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:43.5506586Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:04:29Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "c9109f0c-b285-497e-9a17-879af0d77ca3", + "apim-request-id": "c7373801-cf7d-4cd5-89c1-301aa7eba9ff", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:45 GMT", + "date": "Fri, 25 Jun 2021 20:04:30 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "47" + "x-envoy-upstream-service-time": "129" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:43Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:43Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:43.5506586Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:04:29Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "c626dd54-7ba5-4cf6-b7f9-9548945e1242", + "apim-request-id": "639efdee-4952-4b8f-9a81-aa73242d7cc1", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:47 GMT", + "date": "Fri, 25 Jun 2021 20:04:33 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "48" + "x-envoy-upstream-service-time": "119" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:50Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:50Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:50.2370669Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:43.5506586Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:04:29Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "b961f8ca-a158-4c65-833f-8006ff0b5198", + "apim-request-id": "f577ce17-031a-48c7-9bbe-b1a7e2927811", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:49 GMT", + "date": "Fri, 25 Jun 2021 20:04:35 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "105" + "x-envoy-upstream-service-time": "131" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:52Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:52Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:52.7056341Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:50.2370669Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:43.5506586Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:04:36Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:36.921718Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "74a5e603-c32c-49c1-906e-dd9fd08a0078", + "apim-request-id": "9c09390b-b2b0-4593-b6c6-d4295eabf920", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:51 GMT", + "date": "Fri, 25 Jun 2021 20:04:38 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "151" + "x-envoy-upstream-service-time": "209" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/082b3d6b-1a09-4c39-bc01-281a1e24ef30", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/f37abbde-8955-4ea7-841b-24a69237adc2", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"082b3d6b-1a09-4c39-bc01-281a1e24ef30\",\"lastUpdateDateTime\":\"2021-05-12T19:21:52Z\",\"createdDateTime\":\"2021-05-12T19:21:37Z\",\"expirationDateTime\":\"2021-05-13T19:21:37Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:52Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:52.7056341Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:50.2370669Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:43.5506586Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"f37abbde-8955-4ea7-841b-24a69237adc2\",\"lastUpdateDateTime\":\"2021-06-25T20:04:36Z\",\"createdDateTime\":\"2021-06-25T20:03:29Z\",\"expirationDateTime\":\"2021-06-26T20:03:29Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:36.921718Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:42.5128531Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:03:36.758334Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "2571d4af-a69b-40bf-919f-2d9b52593827", + "apim-request-id": "f5f2fd03-2bd5-4582-b223-d6ba41f1d052", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:52 GMT", + "date": "Fri, 25 Jun 2021 20:04:38 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "118" + "x-envoy-upstream-service-time": "195" } } ], @@ -236,5 +692,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9b5d2b06f2bb788a6c27807b8e29ac2a" + "hash": "2456069a85819d9a9195cf97a63ecf43" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json index f46e6a163c3c..e49587ffe2d6 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:52 GMT", + "date": "Fri, 25 Jun 2021 20:04:37 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,97 +20,97 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - SCUS ProdSlices", - "x-ms-request-id": "c53ac30c-0f0c-44df-8647-6ebb3f125900" + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "57418012-2503-4660-964d-7a7e50666400" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze", + "url": "https://endpoint//text/analytics/v3.1/analyze", "query": {}, - "requestBody": "{\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]},\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]}}", + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "2f1e8696-7569-4e8f-8507-e0b131e79307", - "date": "Wed, 12 May 2021 19:21:52 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "apim-request-id": "1206a21d-b0e1-44a4-9d1b-b2c0b25066c9", + "date": "Fri, 25 Jun 2021 20:04:38 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "174" + "x-envoy-upstream-service-time": "267" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:21:53Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:53Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:39Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "62d57083-fd55-4889-8132-e522105415b3", + "apim-request-id": "94e91981-ed1f-49e5-97c3-28e02df24707", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:52 GMT", + "date": "Fri, 25 Jun 2021 20:04:38 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "19" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:21:53Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:53Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:39Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "eec73b31-ac12-435a-95d9-575c45eb2ad7", + "apim-request-id": "642cd961-1820-4359-89d8-b6ba2dded7d1", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:52 GMT", + "date": "Fri, 25 Jun 2021 20:04:39 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:21:54Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:54Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:39Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "5d2012c6-21c3-4f57-a67d-65b0fe4a33a6", + "apim-request-id": "f16a9d24-88f8-43f6-983c-50d40a51fbf9", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:54 GMT", + "date": "Fri, 25 Jun 2021 20:04:41 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "63" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:21:54Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:54Z\"},\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:39Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", "responseHeaders": { - "apim-request-id": "3a7a0d19-5da3-4cd5-a6ae-869ead9b0ef0", + "apim-request-id": "3d2ea5cd-23ef-4115-980a-35154ed17c23", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:56 GMT", + "date": "Fri, 25 Jun 2021 20:04:43 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -119,97 +119,173 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:39Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "1ab3fd7a-3de7-483d-b083-835acd4d18a6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:47Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:47.1287609Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:45.8358115Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b9f912ce-1120-4a58-9834-8853ea76dbe8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "133" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:47Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:47.1287609Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:45.8358115Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "edb0a144-29f1-4a55-9a7b-e5d6b4f40b8e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "123" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:47Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:47.1287609Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:45.8358115Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "7dc7f0b5-a5f9-4d0e-8d14-090d0c1eba50", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:04:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "114" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:21:58Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:21:58Z\"},\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:58.7240179Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:47Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:47.1287609Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:45.8358115Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "628aac9d-df3e-4489-8533-479568d9ccce", + "apim-request-id": "721342fd-22b8-4633-ba31-bd16949b6373", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:21:59 GMT", + "date": "Fri, 25 Jun 2021 20:04:53 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "54" + "x-envoy-upstream-service-time": "161" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:22:00Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:00Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:00.2032323Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:58.7240179Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:47Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:47.1287609Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:45.8358115Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "b1f8126e-21d8-4e8c-ab96-6d2f175f009d", + "apim-request-id": "1b0add17-c8ab-429b-aacc-3eb29b8b0ecc", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:01 GMT", + "date": "Fri, 25 Jun 2021 20:04:56 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "96" + "x-envoy-upstream-service-time": "115" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:22:00Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:00Z\"},\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:00.2032323Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:58.7240179Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:04:47Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:47.1287609Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:45.8358115Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "2364b3cf-25bb-48ac-b26d-e4f49ab7b5cc", + "apim-request-id": "f8f61d11-be6c-406d-83b6-a009efe2994b", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:03 GMT", + "date": "Fri, 25 Jun 2021 20:04:58 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "86" + "x-envoy-upstream-service-time": "125" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:22:05Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:05Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:00.2032323Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:05.7602372Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:58.7240179Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:05:00Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:00.1109326Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:47.1287609Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:45.8358115Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "dcc54014-d74e-45cd-8c13-532ba417a155", + "apim-request-id": "736e26a8-03c5-4dec-b224-88641b5191e8", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:06 GMT", + "date": "Fri, 25 Jun 2021 20:05:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "137" + "x-envoy-upstream-service-time": "272" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/analyze/jobs/acb13988-8c5e-4919-af79-647f616a9e10", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6c38b1d8-6c1f-4211-8b66-467d617e2fd6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"acb13988-8c5e-4919-af79-647f616a9e10\",\"lastUpdateDateTime\":\"2021-05-12T19:22:05Z\",\"createdDateTime\":\"2021-05-12T19:21:53Z\",\"expirationDateTime\":\"2021-05-13T19:21:53Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"details\":{\"name\":\"NA\",\"lastUpdateDateTime\":\"2021-05-12T19:22:05Z\"},\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:00.2032323Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.89}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.87}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:22:05.7602372Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-05-12T19:21:58.7240179Z\",\"name\":\"NA\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}}]}}", + "response": "{\"jobId\":\"6c38b1d8-6c1f-4211-8b66-467d617e2fd6\",\"lastUpdateDateTime\":\"2021-06-25T20:05:00Z\",\"createdDateTime\":\"2021-06-25T20:04:38Z\",\"expirationDateTime\":\"2021-06-26T20:04:38Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:05:00.1109326Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:47.1287609Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:04:45.8358115Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", "responseHeaders": { - "apim-request-id": "c402d287-8808-45cd-a7b1-09e708d1d763", + "apim-request-id": "6759e701-2eb2-4896-b5f7-23105859a15e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:22:06 GMT", + "date": "Fri, 25 Jun 2021 20:05:00 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "159" + "x-envoy-upstream-service-time": "214" } } ], @@ -217,5 +293,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1175a77f9e1f87c2624b2001137c7dbf" + "hash": "f9c18b0e6c6100b2a2b49820e7d212e4" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.json new file mode 100644 index 000000000000..1c4f14828c85 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.json @@ -0,0 +1,147 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:41 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "8e39ec98-09f7-43aa-b65f-9f3770457700" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "66ba78f2-4538-4939-9026-ab8423fbf961", + "date": "Fri, 25 Jun 2021 20:12:42 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/c8bfcc67-d387-4d7a-8de1-f68144bcbbfc", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "172" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c8bfcc67-d387-4d7a-8de1-f68144bcbbfc", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c8bfcc67-d387-4d7a-8de1-f68144bcbbfc\",\"lastUpdateDateTime\":\"2021-06-25T20:12:42Z\",\"createdDateTime\":\"2021-06-25T20:12:42Z\",\"expirationDateTime\":\"2021-06-26T20:12:42Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "907b63f9-1674-4119-9faa-1db02c345f30", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c8bfcc67-d387-4d7a-8de1-f68144bcbbfc", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c8bfcc67-d387-4d7a-8de1-f68144bcbbfc\",\"lastUpdateDateTime\":\"2021-06-25T20:12:42Z\",\"createdDateTime\":\"2021-06-25T20:12:42Z\",\"expirationDateTime\":\"2021-06-26T20:12:42Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "53481a80-1267-44ef-afa8-0e07d3161e37", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c8bfcc67-d387-4d7a-8de1-f68144bcbbfc", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c8bfcc67-d387-4d7a-8de1-f68144bcbbfc\",\"lastUpdateDateTime\":\"2021-06-25T20:12:42Z\",\"createdDateTime\":\"2021-06-25T20:12:42Z\",\"expirationDateTime\":\"2021-06-26T20:12:42Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "46a78a7a-3ada-4e79-b2e7-11f68a562a1c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "13" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c8bfcc67-d387-4d7a-8de1-f68144bcbbfc", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c8bfcc67-d387-4d7a-8de1-f68144bcbbfc\",\"lastUpdateDateTime\":\"2021-06-25T20:12:45Z\",\"createdDateTime\":\"2021-06-25T20:12:42Z\",\"expirationDateTime\":\"2021-06-26T20:12:42Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "5b04f8d2-c3ff-4477-bf3c-e15ca0f5566d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "51" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c8bfcc67-d387-4d7a-8de1-f68144bcbbfc", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c8bfcc67-d387-4d7a-8de1-f68144bcbbfc\",\"lastUpdateDateTime\":\"2021-06-25T20:12:45Z\",\"createdDateTime\":\"2021-06-25T20:12:42Z\",\"expirationDateTime\":\"2021-06-26T20:12:42Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "2afb6e5f-b793-4672-a260-31519331c1a4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "79" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "01881f729b552f93505ee1dc6d622559" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json new file mode 100644 index 000000000000..937ef5b54af7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json @@ -0,0 +1,128 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:25 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "9c2a0045-784c-4338-a06a-1020e2ee6100" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "aad279ba-97b7-48a8-b270-8dace0704513", + "date": "Fri, 25 Jun 2021 20:11:26 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/4dce5b7b-d46c-41c7-9c55-a3b081bb823a", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "252" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/4dce5b7b-d46c-41c7-9c55-a3b081bb823a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4dce5b7b-d46c-41c7-9c55-a3b081bb823a\",\"lastUpdateDateTime\":\"2021-06-25T20:11:26Z\",\"createdDateTime\":\"2021-06-25T20:11:26Z\",\"expirationDateTime\":\"2021-06-26T20:11:26Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "a815e01f-7e09-45f0-986e-4e39ddd674aa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/4dce5b7b-d46c-41c7-9c55-a3b081bb823a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4dce5b7b-d46c-41c7-9c55-a3b081bb823a\",\"lastUpdateDateTime\":\"2021-06-25T20:11:26Z\",\"createdDateTime\":\"2021-06-25T20:11:26Z\",\"expirationDateTime\":\"2021-06-26T20:11:26Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "22c47569-95ac-4216-ac66-62e4a620521e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/4dce5b7b-d46c-41c7-9c55-a3b081bb823a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4dce5b7b-d46c-41c7-9c55-a3b081bb823a\",\"lastUpdateDateTime\":\"2021-06-25T20:11:27Z\",\"createdDateTime\":\"2021-06-25T20:11:26Z\",\"expirationDateTime\":\"2021-06-26T20:11:26Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "f10664c2-7a04-4377-a379-5b4482cd8d9f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "78" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/4dce5b7b-d46c-41c7-9c55-a3b081bb823a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4dce5b7b-d46c-41c7-9c55-a3b081bb823a\",\"lastUpdateDateTime\":\"2021-06-25T20:11:27Z\",\"createdDateTime\":\"2021-06-25T20:11:26Z\",\"expirationDateTime\":\"2021-06-26T20:11:26Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "baba50cf-9632-4f75-9015-aaa7155dc417", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "77" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "422fa2aae090de9b8ef49ad07a6940c1" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_cancelled.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_cancelled.json new file mode 100644 index 000000000000..7b48dfe2ee69 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_cancelled.json @@ -0,0 +1,88 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:46 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "8e39ec98-09f7-43aa-b65f-9f378c467700" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "513c09b7-7200-4013-a701-8046a982ae72", + "date": "Fri, 25 Jun 2021 20:12:47 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/72b19f4c-f75f-4bde-895d-f8bd36710c21", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "182" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/72b19f4c-f75f-4bde-895d-f8bd36710c21", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"72b19f4c-f75f-4bde-895d-f8bd36710c21\",\"lastUpdateDateTime\":\"2021-06-25T20:12:47Z\",\"createdDateTime\":\"2021-06-25T20:12:47Z\",\"expirationDateTime\":\"2021-06-26T20:12:47Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "843bae46-d839-4d13-ad9d-31106f8799dd", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "DELETE", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/72b19f4c-f75f-4bde-895d-f8bd36710c21", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "5410f02d-179f-4392-bb4c-1bd236507b87", + "date": "Fri, 25 Jun 2021 20:12:47 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/72b19f4c-f75f-4bde-895d-f8bd36710c21", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "17" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "01dfa9d01856d50a1807094a8dc25695" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_document_warnings.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_document_warnings.json new file mode 100644 index 000000000000..92dae4c63772 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_document_warnings.json @@ -0,0 +1,128 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:30 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "8deef922-c309-4e27-9a10-4eef54025f00" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"This won't actually create a warning :'(\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "c112cf6b-2607-4c25-bd34-a22564c49f22", + "date": "Fri, 25 Jun 2021 20:11:31 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/00858e97-2dc0-4019-a25e-47501a415184", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "249" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/00858e97-2dc0-4019-a25e-47501a415184", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"00858e97-2dc0-4019-a25e-47501a415184\",\"lastUpdateDateTime\":\"2021-06-25T20:11:32Z\",\"createdDateTime\":\"2021-06-25T20:11:31Z\",\"expirationDateTime\":\"2021-06-26T20:11:31Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "024cd9a2-0094-4719-a515-5468a7ea5762", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "24" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/00858e97-2dc0-4019-a25e-47501a415184", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"00858e97-2dc0-4019-a25e-47501a415184\",\"lastUpdateDateTime\":\"2021-06-25T20:11:32Z\",\"createdDateTime\":\"2021-06-25T20:11:31Z\",\"expirationDateTime\":\"2021-06-26T20:11:31Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "5aed14c3-8e46-44d1-af70-123eabd7d65c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/00858e97-2dc0-4019-a25e-47501a415184", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"00858e97-2dc0-4019-a25e-47501a415184\",\"lastUpdateDateTime\":\"2021-06-25T20:11:32Z\",\"createdDateTime\":\"2021-06-25T20:11:31Z\",\"expirationDateTime\":\"2021-06-26T20:11:31Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "988c14d0-35d0-49ad-96f3-00f06a733847", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "55" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/00858e97-2dc0-4019-a25e-47501a415184", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"00858e97-2dc0-4019-a25e-47501a415184\",\"lastUpdateDateTime\":\"2021-06-25T20:11:32Z\",\"createdDateTime\":\"2021-06-25T20:11:31Z\",\"expirationDateTime\":\"2021-06-26T20:11:31Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "32349545-7844-448f-b18b-a761b426b366", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "51" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "87bec8b74fdd02cc761c1d3668adde6a" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json similarity index 58% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json index 7a35742690fa..985b3e26b9f7 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:18 GMT", + "date": "Fri, 25 Jun 2021 20:12:46 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,28 +20,27 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - EUS ProdSlices", - "x-ms-request-id": "d00521bc-1a92-477a-94fd-3790e13e4f00" + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "e203d3d3-71f9-4148-a9f4-cf16474a6100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { - "stringIndexType": "TextElements_v8" + "stringIndexType": "Utf16CodeUnit" }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩 SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"👩 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"hello world\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at.\"}]}", + "status": 400, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Request contains duplicated Ids. Make sure each document has a unique Id.\"}}}", "responseHeaders": { - "apim-request-id": "145c345e-bc35-4e5a-b9bc-4dc800c07a86", + "apim-request-id": "8683cce4-681d-4a70-bbd4-d10d51e9d6ae", "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:18 GMT", + "date": "Fri, 25 Jun 2021 20:12:46 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "66" + "x-envoy-upstream-service-time": "4" } } ], @@ -49,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "c8956780117524513abded060ea9b6d0" + "hash": "5a1a51d510e78fbb9637596af3eed13e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_entity_assertions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_entity_assertions.json new file mode 100644 index 000000000000..bb547634a7e3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_entity_assertions.json @@ -0,0 +1,375 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:49 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "ce29a862-fba0-489c-90cf-00cced2f5f00" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "fde099d9-1170-4969-b4c4-d895438b9632", + "date": "Fri, 25 Jun 2021 20:10:49 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "171" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:50Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "63d942fe-b54d-4c96-97cf-a39aeef24375", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:50Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "0ace8ed1-7a45-47a3-861b-dd4aa9c57a72", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:50 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:50Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "0af264f7-081c-49cc-9909-ed53fe46b7aa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:50Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "d9b904de-92af-438b-a8e1-ec3b13658aaf", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:50Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "716fc521-5744-4b56-b127-4689bcd4a1cc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:50Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "76b6a95e-2540-4153-a775-e7c35a38df75", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "be54c614-b8b8-48af-a883-fb09d9927253", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "fa52ef91-b026-4d87-8d7c-3c8adf3dabfa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "01791b27-ebd0-4b87-a8b0-636a7644ed93", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "9685334d-fc20-4156-b14e-d3b5856dc7cf", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "65d36053-3862-41fa-98ac-c3ac003e6eb7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:08 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "4ad015ba-5f9e-4c38-9a5d-ec2045334767", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:10 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "2b53c832-f63e-4ce2-af1d-74c5cc6af232", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "f80af860-5e92-4937-a83d-18f58219baaa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:10:59Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "9c97cf88-24d8-4cda-aa2a-a8f2f92e6788", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:11:17Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"Baby\",\"category\":\"Age\",\"confidenceScore\":0.94,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]},{\"offset\":24,\"length\":10,\"text\":\"Meningitis\",\"category\":\"Diagnosis\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negativePossible\"},\"name\":\"Meningitis\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025289\"},{\"dataSource\":\"AOD\",\"id\":\"0000006185\"},{\"dataSource\":\"BI\",\"id\":\"BI00546\"},{\"dataSource\":\"CCPSS\",\"id\":\"1018016\"},{\"dataSource\":\"CCSR_10\",\"id\":\"NVS001\"},{\"dataSource\":\"CHV\",\"id\":\"0000007932\"},{\"dataSource\":\"COSTAR\",\"id\":\"478\"},{\"dataSource\":\"CSP\",\"id\":\"2042-5301\"},{\"dataSource\":\"CST\",\"id\":\"MENINGITIS\"},{\"dataSource\":\"DXP\",\"id\":\"U002543\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001287\"},{\"dataSource\":\"ICD10\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"322.9\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU048434\"},{\"dataSource\":\"ICPC2P\",\"id\":\"N71002\"},{\"dataSource\":\"LCH\",\"id\":\"U002901\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083562\"},{\"dataSource\":\"LNC\",\"id\":\"LP20756-0\"},{\"dataSource\":\"MDR\",\"id\":\"10027199\"},{\"dataSource\":\"MEDCIN\",\"id\":\"31192\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"324\"},{\"dataSource\":\"MSH\",\"id\":\"D008581\"},{\"dataSource\":\"NANDA-I\",\"id\":\"02899\"},{\"dataSource\":\"NCI\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11458\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"2389\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000471780\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C26828\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005994\"},{\"dataSource\":\"PSY\",\"id\":\"30660\"},{\"dataSource\":\"RCD\",\"id\":\"X000H\"},{\"dataSource\":\"SNM\",\"id\":\"M-40000\"},{\"dataSource\":\"SNMI\",\"id\":\"DA-10010\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"7180009\"},{\"dataSource\":\"WHO\",\"id\":\"0955\"}]},{\"offset\":47,\"length\":5,\"text\":\"fever\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"name\":\"Fever\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015967\"},{\"dataSource\":\"AIR\",\"id\":\"FEVER\"},{\"dataSource\":\"AOD\",\"id\":\"0000004396\"},{\"dataSource\":\"BI\",\"id\":\"BI00751\"},{\"dataSource\":\"CCC\",\"id\":\"K25.2\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017166\"},{\"dataSource\":\"CCSR_10\",\"id\":\"SYM002\"},{\"dataSource\":\"CHV\",\"id\":\"0000005010\"},{\"dataSource\":\"COSTAR\",\"id\":\"300\"},{\"dataSource\":\"CPM\",\"id\":\"65287\"},{\"dataSource\":\"CSP\",\"id\":\"2871-4310\"},{\"dataSource\":\"CST\",\"id\":\"FEVER\"},{\"dataSource\":\"DXP\",\"id\":\"U001483\"},{\"dataSource\":\"GO\",\"id\":\"GO:0001660\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001945\"},{\"dataSource\":\"ICD10\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"780.60\"},{\"dataSource\":\"ICNP\",\"id\":\"10041539\"},{\"dataSource\":\"ICPC\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU041751\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A03002\"},{\"dataSource\":\"LCH\",\"id\":\"U001776\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047994\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013518\"},{\"dataSource\":\"MDR\",\"id\":\"10005911\"},{\"dataSource\":\"MEDCIN\",\"id\":\"6005\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"511\"},{\"dataSource\":\"MSH\",\"id\":\"D005334\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.60\"},{\"dataSource\":\"NANDA-I\",\"id\":\"01128\"},{\"dataSource\":\"NCI\",\"id\":\"C3038\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11102\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1858\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000450108\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3038\"},{\"dataSource\":\"NOC\",\"id\":\"070307\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005439\"},{\"dataSource\":\"OMS\",\"id\":\"50.03\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11020.02\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000775882\"},{\"dataSource\":\"PSY\",\"id\":\"23840\"},{\"dataSource\":\"QMR\",\"id\":\"Q0200115\"},{\"dataSource\":\"RCD\",\"id\":\"X76EI\"},{\"dataSource\":\"SNM\",\"id\":\"F-03003\"},{\"dataSource\":\"SNMI\",\"id\":\"F-03003\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"386661006\"},{\"dataSource\":\"WHO\",\"id\":\"0725\"}]},{\"offset\":60,\"length\":6,\"text\":\"mother\",\"category\":\"FamilyRelation\",\"confidenceScore\":0.99,\"name\":\"Mother (person)\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0026591\"},{\"dataSource\":\"AOD\",\"id\":\"0000027173\"},{\"dataSource\":\"CCPSS\",\"id\":\"U000286\"},{\"dataSource\":\"CHV\",\"id\":\"0000008266\"},{\"dataSource\":\"CSP\",\"id\":\"1124-5492\"},{\"dataSource\":\"HL7V3.0\",\"id\":\"MTH\"},{\"dataSource\":\"LCH\",\"id\":\"U003028\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85087526\"},{\"dataSource\":\"LNC\",\"id\":\"LA10417-6\"},{\"dataSource\":\"MSH\",\"id\":\"D009035\"},{\"dataSource\":\"NCI\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C25189\"},{\"dataSource\":\"PSY\",\"id\":\"32140\"},{\"dataSource\":\"RCD\",\"id\":\"X78ym\"},{\"dataSource\":\"SNMI\",\"id\":\"S-10120\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"72705000\"}]},{\"offset\":77,\"length\":10,\"text\":\"Penicillin\",\"category\":\"MedicationName\",\"confidenceScore\":0.9,\"assertion\":{\"certainty\":\"neutralPossible\"},\"name\":\"penicillins\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0030842\"},{\"dataSource\":\"AOD\",\"id\":\"0000019206\"},{\"dataSource\":\"ATC\",\"id\":\"J01C\"},{\"dataSource\":\"CCPSS\",\"id\":\"0014106\"},{\"dataSource\":\"CHV\",\"id\":\"0000009423\"},{\"dataSource\":\"CSP\",\"id\":\"0199-8025\"},{\"dataSource\":\"GS\",\"id\":\"4011\"},{\"dataSource\":\"LCH\",\"id\":\"U003521\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85099402\"},{\"dataSource\":\"LNC\",\"id\":\"LP14319-5\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40319\"},{\"dataSource\":\"MMSL\",\"id\":\"d00116\"},{\"dataSource\":\"MSH\",\"id\":\"D010406\"},{\"dataSource\":\"NCI\",\"id\":\"C1500\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0402815\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000045296\"},{\"dataSource\":\"NDDF\",\"id\":\"016121\"},{\"dataSource\":\"PSY\",\"id\":\"37190\"},{\"dataSource\":\"RCD\",\"id\":\"x009C\"},{\"dataSource\":\"SNM\",\"id\":\"E-7260\"},{\"dataSource\":\"SNMI\",\"id\":\"C-54000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"764146007\"},{\"dataSource\":\"VANDF\",\"id\":\"4019880\"}]},{\"offset\":96,\"length\":4,\"text\":\"baby\",\"category\":\"FamilyRelation\",\"confidenceScore\":1.0,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "3e0d998e-d8e4-429a-91ac-d726ffd8f79e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "49" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e4b9f519-d7e5-48ef-b2cf-420a781cafd7", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e4b9f519-d7e5-48ef-b2cf-420a781cafd7\",\"lastUpdateDateTime\":\"2021-06-25T20:11:17Z\",\"createdDateTime\":\"2021-06-25T20:10:50Z\",\"expirationDateTime\":\"2021-06-26T20:10:50Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"Baby\",\"category\":\"Age\",\"confidenceScore\":0.94,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]},{\"offset\":24,\"length\":10,\"text\":\"Meningitis\",\"category\":\"Diagnosis\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negativePossible\"},\"name\":\"Meningitis\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025289\"},{\"dataSource\":\"AOD\",\"id\":\"0000006185\"},{\"dataSource\":\"BI\",\"id\":\"BI00546\"},{\"dataSource\":\"CCPSS\",\"id\":\"1018016\"},{\"dataSource\":\"CCSR_10\",\"id\":\"NVS001\"},{\"dataSource\":\"CHV\",\"id\":\"0000007932\"},{\"dataSource\":\"COSTAR\",\"id\":\"478\"},{\"dataSource\":\"CSP\",\"id\":\"2042-5301\"},{\"dataSource\":\"CST\",\"id\":\"MENINGITIS\"},{\"dataSource\":\"DXP\",\"id\":\"U002543\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001287\"},{\"dataSource\":\"ICD10\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"322.9\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU048434\"},{\"dataSource\":\"ICPC2P\",\"id\":\"N71002\"},{\"dataSource\":\"LCH\",\"id\":\"U002901\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083562\"},{\"dataSource\":\"LNC\",\"id\":\"LP20756-0\"},{\"dataSource\":\"MDR\",\"id\":\"10027199\"},{\"dataSource\":\"MEDCIN\",\"id\":\"31192\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"324\"},{\"dataSource\":\"MSH\",\"id\":\"D008581\"},{\"dataSource\":\"NANDA-I\",\"id\":\"02899\"},{\"dataSource\":\"NCI\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11458\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"2389\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000471780\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C26828\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005994\"},{\"dataSource\":\"PSY\",\"id\":\"30660\"},{\"dataSource\":\"RCD\",\"id\":\"X000H\"},{\"dataSource\":\"SNM\",\"id\":\"M-40000\"},{\"dataSource\":\"SNMI\",\"id\":\"DA-10010\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"7180009\"},{\"dataSource\":\"WHO\",\"id\":\"0955\"}]},{\"offset\":47,\"length\":5,\"text\":\"fever\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"name\":\"Fever\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015967\"},{\"dataSource\":\"AIR\",\"id\":\"FEVER\"},{\"dataSource\":\"AOD\",\"id\":\"0000004396\"},{\"dataSource\":\"BI\",\"id\":\"BI00751\"},{\"dataSource\":\"CCC\",\"id\":\"K25.2\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017166\"},{\"dataSource\":\"CCSR_10\",\"id\":\"SYM002\"},{\"dataSource\":\"CHV\",\"id\":\"0000005010\"},{\"dataSource\":\"COSTAR\",\"id\":\"300\"},{\"dataSource\":\"CPM\",\"id\":\"65287\"},{\"dataSource\":\"CSP\",\"id\":\"2871-4310\"},{\"dataSource\":\"CST\",\"id\":\"FEVER\"},{\"dataSource\":\"DXP\",\"id\":\"U001483\"},{\"dataSource\":\"GO\",\"id\":\"GO:0001660\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001945\"},{\"dataSource\":\"ICD10\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"780.60\"},{\"dataSource\":\"ICNP\",\"id\":\"10041539\"},{\"dataSource\":\"ICPC\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU041751\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A03002\"},{\"dataSource\":\"LCH\",\"id\":\"U001776\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047994\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013518\"},{\"dataSource\":\"MDR\",\"id\":\"10005911\"},{\"dataSource\":\"MEDCIN\",\"id\":\"6005\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"511\"},{\"dataSource\":\"MSH\",\"id\":\"D005334\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.60\"},{\"dataSource\":\"NANDA-I\",\"id\":\"01128\"},{\"dataSource\":\"NCI\",\"id\":\"C3038\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11102\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1858\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000450108\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3038\"},{\"dataSource\":\"NOC\",\"id\":\"070307\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005439\"},{\"dataSource\":\"OMS\",\"id\":\"50.03\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11020.02\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000775882\"},{\"dataSource\":\"PSY\",\"id\":\"23840\"},{\"dataSource\":\"QMR\",\"id\":\"Q0200115\"},{\"dataSource\":\"RCD\",\"id\":\"X76EI\"},{\"dataSource\":\"SNM\",\"id\":\"F-03003\"},{\"dataSource\":\"SNMI\",\"id\":\"F-03003\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"386661006\"},{\"dataSource\":\"WHO\",\"id\":\"0725\"}]},{\"offset\":60,\"length\":6,\"text\":\"mother\",\"category\":\"FamilyRelation\",\"confidenceScore\":0.99,\"name\":\"Mother (person)\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0026591\"},{\"dataSource\":\"AOD\",\"id\":\"0000027173\"},{\"dataSource\":\"CCPSS\",\"id\":\"U000286\"},{\"dataSource\":\"CHV\",\"id\":\"0000008266\"},{\"dataSource\":\"CSP\",\"id\":\"1124-5492\"},{\"dataSource\":\"HL7V3.0\",\"id\":\"MTH\"},{\"dataSource\":\"LCH\",\"id\":\"U003028\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85087526\"},{\"dataSource\":\"LNC\",\"id\":\"LA10417-6\"},{\"dataSource\":\"MSH\",\"id\":\"D009035\"},{\"dataSource\":\"NCI\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C25189\"},{\"dataSource\":\"PSY\",\"id\":\"32140\"},{\"dataSource\":\"RCD\",\"id\":\"X78ym\"},{\"dataSource\":\"SNMI\",\"id\":\"S-10120\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"72705000\"}]},{\"offset\":77,\"length\":10,\"text\":\"Penicillin\",\"category\":\"MedicationName\",\"confidenceScore\":0.9,\"assertion\":{\"certainty\":\"neutralPossible\"},\"name\":\"penicillins\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0030842\"},{\"dataSource\":\"AOD\",\"id\":\"0000019206\"},{\"dataSource\":\"ATC\",\"id\":\"J01C\"},{\"dataSource\":\"CCPSS\",\"id\":\"0014106\"},{\"dataSource\":\"CHV\",\"id\":\"0000009423\"},{\"dataSource\":\"CSP\",\"id\":\"0199-8025\"},{\"dataSource\":\"GS\",\"id\":\"4011\"},{\"dataSource\":\"LCH\",\"id\":\"U003521\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85099402\"},{\"dataSource\":\"LNC\",\"id\":\"LP14319-5\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40319\"},{\"dataSource\":\"MMSL\",\"id\":\"d00116\"},{\"dataSource\":\"MSH\",\"id\":\"D010406\"},{\"dataSource\":\"NCI\",\"id\":\"C1500\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0402815\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000045296\"},{\"dataSource\":\"NDDF\",\"id\":\"016121\"},{\"dataSource\":\"PSY\",\"id\":\"37190\"},{\"dataSource\":\"RCD\",\"id\":\"x009C\"},{\"dataSource\":\"SNM\",\"id\":\"E-7260\"},{\"dataSource\":\"SNMI\",\"id\":\"C-54000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"764146007\"},{\"dataSource\":\"VANDF\",\"id\":\"4019880\"}]},{\"offset\":96,\"length\":4,\"text\":\"baby\",\"category\":\"FamilyRelation\",\"confidenceScore\":1.0,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "0922fb28-e1b2-4bc5-bf51-4a9fa3596bea", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "58" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "cc4d87871f3923d074a5e1b6cb77e07e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json new file mode 100644 index 000000000000..650e9047f9c7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json @@ -0,0 +1,128 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:58 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "b10314ef-1e76-4785-9505-f54469827100" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "33d69fe1-a539-4beb-8269-b8c9efc4266a", + "date": "Fri, 25 Jun 2021 20:12:58 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/d7c98265-5d70-4299-bc10-ccc181deaf5f", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "127" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d7c98265-5d70-4299-bc10-ccc181deaf5f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d7c98265-5d70-4299-bc10-ccc181deaf5f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:59Z\",\"createdDateTime\":\"2021-06-25T20:12:59Z\",\"expirationDateTime\":\"2021-06-26T20:12:59Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "c545d912-aaab-4d22-94e1-ed05bd6b686a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d7c98265-5d70-4299-bc10-ccc181deaf5f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d7c98265-5d70-4299-bc10-ccc181deaf5f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:59Z\",\"createdDateTime\":\"2021-06-25T20:12:59Z\",\"expirationDateTime\":\"2021-06-26T20:12:59Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "dd892fee-025e-48b7-a80f-b76044ade37b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d7c98265-5d70-4299-bc10-ccc181deaf5f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d7c98265-5d70-4299-bc10-ccc181deaf5f\",\"lastUpdateDateTime\":\"2021-06-25T20:13:00Z\",\"createdDateTime\":\"2021-06-25T20:12:59Z\",\"expirationDateTime\":\"2021-06-26T20:12:59Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":12,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.99,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "b96b49f6-8cfc-4fa0-9c12-dd62e66322bb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "53" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d7c98265-5d70-4299-bc10-ccc181deaf5f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d7c98265-5d70-4299-bc10-ccc181deaf5f\",\"lastUpdateDateTime\":\"2021-06-25T20:13:00Z\",\"createdDateTime\":\"2021-06-25T20:12:59Z\",\"expirationDateTime\":\"2021-06-26T20:12:59Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":12,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.99,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "cdb66d85-3570-4a4b-b02b-4c825afc3af9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "51" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "3a4d4b61449c4b62316d886bdd39c2af" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json new file mode 100644 index 000000000000..5eaa6ecb0131 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json @@ -0,0 +1,128 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:55 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "4962380e-a85b-42c0-84ff-725ecf907600" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "7f4ea90e-4369-4b32-b9e2-8c22c5ea55a8", + "date": "Fri, 25 Jun 2021 20:12:55 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/9fbf3654-9871-4c43-ac47-e53461518d93", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "165" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/9fbf3654-9871-4c43-ac47-e53461518d93", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9fbf3654-9871-4c43-ac47-e53461518d93\",\"lastUpdateDateTime\":\"2021-06-25T20:12:56Z\",\"createdDateTime\":\"2021-06-25T20:12:56Z\",\"expirationDateTime\":\"2021-06-26T20:12:56Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "6a93e489-c436-472d-908c-5b7675ddb18f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/9fbf3654-9871-4c43-ac47-e53461518d93", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9fbf3654-9871-4c43-ac47-e53461518d93\",\"lastUpdateDateTime\":\"2021-06-25T20:12:56Z\",\"createdDateTime\":\"2021-06-25T20:12:56Z\",\"expirationDateTime\":\"2021-06-26T20:12:56Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "36c6e90d-6c97-475e-9cbe-890aae468058", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/9fbf3654-9871-4c43-ac47-e53461518d93", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9fbf3654-9871-4c43-ac47-e53461518d93\",\"lastUpdateDateTime\":\"2021-06-25T20:12:57Z\",\"createdDateTime\":\"2021-06-25T20:12:56Z\",\"expirationDateTime\":\"2021-06-26T20:12:56Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":20,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.99,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "8974b9a4-fdb3-4f1c-a8a6-1cdf76e6b322", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "65" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/9fbf3654-9871-4c43-ac47-e53461518d93", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9fbf3654-9871-4c43-ac47-e53461518d93\",\"lastUpdateDateTime\":\"2021-06-25T20:12:57Z\",\"createdDateTime\":\"2021-06-25T20:12:56Z\",\"expirationDateTime\":\"2021-06-26T20:12:56Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":20,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.99,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "6f42f8e7-ba50-4054-b37f-a5ea84822ff5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "55" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "d47462d4e9b472ba12db5c090d1db876" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_documents.json new file mode 100644 index 000000000000..f20ad9434830 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_documents.json @@ -0,0 +1,128 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:19 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "8e39ec98-09f7-43aa-b65f-9f37fc327700" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "d980772c-182c-414d-a451-b9888b733cb0", + "date": "Fri, 25 Jun 2021 20:11:19 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "248" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d\",\"lastUpdateDateTime\":\"2021-06-25T20:11:20Z\",\"createdDateTime\":\"2021-06-25T20:11:20Z\",\"expirationDateTime\":\"2021-06-26T20:11:20Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "b370b80f-4975-4bf0-9a33-029879187d5b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d\",\"lastUpdateDateTime\":\"2021-06-25T20:11:20Z\",\"createdDateTime\":\"2021-06-25T20:11:20Z\",\"expirationDateTime\":\"2021-06-26T20:11:20Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "ea64ab8b-ef9a-41c6-a3ba-5d04dbf58a20", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "13" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d\",\"lastUpdateDateTime\":\"2021-06-25T20:11:22Z\",\"createdDateTime\":\"2021-06-25T20:11:20Z\",\"expirationDateTime\":\"2021-06-26T20:11:20Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "b523abe5-a0cd-4ab1-bf25-0f5e2e1cb2d4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "136" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0c3a479b-cfa4-4bd5-aa4b-f4bba525d84d\",\"lastUpdateDateTime\":\"2021-06-25T20:11:22Z\",\"createdDateTime\":\"2021-06-25T20:11:20Z\",\"expirationDateTime\":\"2021-06-26T20:11:20Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "6e9c2bbe-beed-4c95-96bb-97fdce02e0c7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "54" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "6552401251c2054ad876d83d9f36d259" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_strings.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_strings.json new file mode 100644 index 000000000000..c7503eeb3036 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_input_strings.json @@ -0,0 +1,337 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:23 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "a7490fb9-b183-45a5-a7bb-68e66d4a7b00" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "b8dd3f77-f06e-484e-a736-a67e12668ff0", + "date": "Fri, 25 Jun 2021 20:10:23 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "156" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:24Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "31d9cd6a-9bc6-4ff7-9556-98bd8b700a36", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:24 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:24Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "3c43e39d-8040-4760-80a2-752d80f4439b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:24 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:24Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "d06bd24f-d326-4bc0-bf05-7f37a1bc036b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:24Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "93fd072d-c4c2-43f0-bd32-705639987343", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:24Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "14394cbd-8547-4ab0-a682-7b9f7379e363", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:30 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:24Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "be6ede91-51b6-469d-a02b-c6698883fc8c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:24Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "e1ee9366-7749-43ec-94e7-0ad1a0cdaeca", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:24Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "274af99d-d022-45bd-9eb2-7e26b4e80e0c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:37Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "3fa455bb-f23b-4091-9b02-d7b416b0b598", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:37Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "a6edb9a0-9ef6-41ba-ab16-fb766f8ff6d8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:37Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "b01e9714-8c58-4c65-b855-e86d8e58a243", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:37Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "e13f73a5-e492-4814-90b4-7ebcebaa9710", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:37Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "88680c82-dc0e-4ae6-97d4-399c6d012bea", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:48Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "dcab61b5-3965-4df0-84ba-e6c5468f8dbf", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "64" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/289a18ae-402e-4914-a0a0-99bd28f4957b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"289a18ae-402e-4914-a0a0-99bd28f4957b\",\"lastUpdateDateTime\":\"2021-06-25T20:10:48Z\",\"createdDateTime\":\"2021-06-25T20:10:24Z\",\"expirationDateTime\":\"2021-06-26T20:10:24Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "6b7c3e21-6f2f-4045-81ea-3146ab77f029", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:10:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "71" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "3539cc6e492731ad933d3d63d2719d0e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.json new file mode 100644 index 000000000000..e378e01d5317 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.json @@ -0,0 +1,147 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:31 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "84bdf8e2-d00d-4332-9ea9-2d5ef5f47900" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This should fail because we're passing in an invalid language hint\",\"language\":\"notalanguage\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "7bb2a2b2-ffd9-47cd-800c-9fae4fc0d1e2", + "date": "Fri, 25 Jun 2021 20:12:32 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/49953352-2c9c-47a8-aee7-83e953bd4d6c", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "148" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/49953352-2c9c-47a8-aee7-83e953bd4d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"49953352-2c9c-47a8-aee7-83e953bd4d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:12:32Z\",\"createdDateTime\":\"2021-06-25T20:12:32Z\",\"expirationDateTime\":\"2021-06-26T20:12:32Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "9ab459d0-bd35-4b54-b949-702bdf57cbde", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/49953352-2c9c-47a8-aee7-83e953bd4d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"49953352-2c9c-47a8-aee7-83e953bd4d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:12:32Z\",\"createdDateTime\":\"2021-06-25T20:12:32Z\",\"expirationDateTime\":\"2021-06-26T20:12:32Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "2492cd19-8375-4071-9204-b79ae3c1812c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/49953352-2c9c-47a8-aee7-83e953bd4d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"49953352-2c9c-47a8-aee7-83e953bd4d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:12:35Z\",\"createdDateTime\":\"2021-06-25T20:12:32Z\",\"expirationDateTime\":\"2021-06-26T20:12:32Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "701d059b-4230-4ea3-b464-ab31917b1fbc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/49953352-2c9c-47a8-aee7-83e953bd4d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"49953352-2c9c-47a8-aee7-83e953bd4d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:12:35Z\",\"createdDateTime\":\"2021-06-25T20:12:32Z\",\"expirationDateTime\":\"2021-06-26T20:12:32Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "00e4348e-2759-43e9-b910-3406d6fb0f8f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "46" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/49953352-2c9c-47a8-aee7-83e953bd4d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"49953352-2c9c-47a8-aee7-83e953bd4d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:12:35Z\",\"createdDateTime\":\"2021-06-25T20:12:32Z\",\"expirationDateTime\":\"2021-06-26T20:12:32Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "80f52014-32d6-4ed8-aa8b-55e75e692654", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "46" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7fe28fb1cf9568039be008ba4f6aae88" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json new file mode 100644 index 000000000000..85bbbae09210 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json @@ -0,0 +1,147 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:36 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "8e39ec98-09f7-43aa-b65f-9f375f447700" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"This should fail because we're passing in an invalid language hint\",\"language\":\"notalanguage\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "7b14f24d-0ef8-4c8f-8853-0c9c0f79d57f", + "date": "Fri, 25 Jun 2021 20:12:37 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/6339e371-486e-45e8-9cad-24d0d263521f", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "110" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/6339e371-486e-45e8-9cad-24d0d263521f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6339e371-486e-45e8-9cad-24d0d263521f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:37Z\",\"createdDateTime\":\"2021-06-25T20:12:37Z\",\"expirationDateTime\":\"2021-06-26T20:12:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "6f2c2aec-c282-4dd2-9209-66a55dc754e9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/6339e371-486e-45e8-9cad-24d0d263521f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6339e371-486e-45e8-9cad-24d0d263521f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:37Z\",\"createdDateTime\":\"2021-06-25T20:12:37Z\",\"expirationDateTime\":\"2021-06-26T20:12:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "8396a620-af64-44db-b848-690dc6d70aa6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/6339e371-486e-45e8-9cad-24d0d263521f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6339e371-486e-45e8-9cad-24d0d263521f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:37Z\",\"createdDateTime\":\"2021-06-25T20:12:37Z\",\"expirationDateTime\":\"2021-06-26T20:12:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "588c2095-73f5-4dd4-b80c-b7a8db6b1ac8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/6339e371-486e-45e8-9cad-24d0d263521f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6339e371-486e-45e8-9cad-24d0d263521f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:40Z\",\"createdDateTime\":\"2021-06-25T20:12:37Z\",\"expirationDateTime\":\"2021-06-26T20:12:37Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "92c45c65-bd7b-4964-b4c6-3e320b745ef9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "46" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/6339e371-486e-45e8-9cad-24d0d263521f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6339e371-486e-45e8-9cad-24d0d263521f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:40Z\",\"createdDateTime\":\"2021-06-25T20:12:37Z\",\"expirationDateTime\":\"2021-06-26T20:12:37Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "edf713ae-387f-4303-9999-b793df1c8814", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "50" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "340cd4ff03c6dde812d00ee817fd5d2d" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_operation_metadata.json new file mode 100644 index 000000000000..c0322c636e13 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_operation_metadata.json @@ -0,0 +1,109 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:47 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - NCUS ProdSlices", + "x-ms-request-id": "995fb27d-f6fa-4b35-ab9d-b271ab785f00" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "0b56fc57-44cd-4ee9-97ba-12cc81f79864", + "date": "Fri, 25 Jun 2021 20:12:52 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/1973f686-1b03-461b-8e12-9d56b10db45e", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5420" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/1973f686-1b03-461b-8e12-9d56b10db45e", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1973f686-1b03-461b-8e12-9d56b10db45e\",\"lastUpdateDateTime\":\"2021-06-25T20:12:53Z\",\"createdDateTime\":\"2021-06-25T20:12:48Z\",\"expirationDateTime\":\"2021-06-26T20:12:48Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "7b697bfe-d540-4935-8080-3f218077465d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/1973f686-1b03-461b-8e12-9d56b10db45e", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1973f686-1b03-461b-8e12-9d56b10db45e\",\"lastUpdateDateTime\":\"2021-06-25T20:12:53Z\",\"createdDateTime\":\"2021-06-25T20:12:48Z\",\"expirationDateTime\":\"2021-06-26T20:12:48Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "fabe82ad-4dc7-43bc-a5c8-10aeed24ba1a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/1973f686-1b03-461b-8e12-9d56b10db45e", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1973f686-1b03-461b-8e12-9d56b10db45e\",\"lastUpdateDateTime\":\"2021-06-25T20:12:55Z\",\"createdDateTime\":\"2021-06-25T20:12:48Z\",\"expirationDateTime\":\"2021-06-26T20:12:48Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "fdf0623c-0d25-4eb8-adc9-c2fcd84f6ffa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "70" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "e91e7a3ec01d0a9dd6b8e5f9fd5ddc80" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json new file mode 100644 index 000000000000..a31cab8aed22 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json @@ -0,0 +1,128 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:33 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "c2b0df5e-9884-4424-956b-f1459e756100" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"one\"},{\"id\":\"2\",\"text\":\"two\"},{\"id\":\"3\",\"text\":\"three\"},{\"id\":\"4\",\"text\":\"four\"},{\"id\":\"5\",\"text\":\"five\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "77772fce-dd9a-498b-832e-3b450b5b55ed", + "date": "Fri, 25 Jun 2021 20:11:34 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/bd229182-d818-4366-b1e4-ea715a3b42d4", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "249" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/bd229182-d818-4366-b1e4-ea715a3b42d4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"bd229182-d818-4366-b1e4-ea715a3b42d4\",\"lastUpdateDateTime\":\"2021-06-25T20:11:34Z\",\"createdDateTime\":\"2021-06-25T20:11:34Z\",\"expirationDateTime\":\"2021-06-26T20:11:34Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "6fdd4af2-0f55-4346-aacd-ad058f7e179d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/bd229182-d818-4366-b1e4-ea715a3b42d4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"bd229182-d818-4366-b1e4-ea715a3b42d4\",\"lastUpdateDateTime\":\"2021-06-25T20:11:34Z\",\"createdDateTime\":\"2021-06-25T20:11:34Z\",\"expirationDateTime\":\"2021-06-26T20:11:34Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "78f701fd-19af-490f-958d-2e221fad3686", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "30" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/bd229182-d818-4366-b1e4-ea715a3b42d4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"bd229182-d818-4366-b1e4-ea715a3b42d4\",\"lastUpdateDateTime\":\"2021-06-25T20:11:35Z\",\"createdDateTime\":\"2021-06-25T20:11:34Z\",\"expirationDateTime\":\"2021-06-26T20:11:34Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"five\",\"category\":\"Dosage\",\"confidenceScore\":0.58}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "b1bcd52f-9ea3-47af-9d60-c9c8d1ab59e1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "89" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/bd229182-d818-4366-b1e4-ea715a3b42d4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"bd229182-d818-4366-b1e4-ea715a3b42d4\",\"lastUpdateDateTime\":\"2021-06-25T20:11:35Z\",\"createdDateTime\":\"2021-06-25T20:11:34Z\",\"expirationDateTime\":\"2021-06-26T20:11:34Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"five\",\"category\":\"Dosage\",\"confidenceScore\":0.58}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "78d2023d-7cc9-487f-b851-2566865914ea", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "82" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "4612eff1b1a5db435331459355dbeb93" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json new file mode 100644 index 000000000000..26b55b571333 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json @@ -0,0 +1,128 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:36 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "e0b3e3aa-321c-4078-9fcf-b762b9667100" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"56\",\"text\":\":)\"},{\"id\":\"0\",\"text\":\":(\"},{\"id\":\"22\",\"text\":\"\"},{\"id\":\"19\",\"text\":\":P\"},{\"id\":\"1\",\"text\":\":D\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "c7fe6f8e-bc34-44f3-bf6d-e4fcdf69eee6", + "date": "Fri, 25 Jun 2021 20:11:37 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/298ee70d-9db0-4d45-94bc-37dc61544d46", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "227" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/298ee70d-9db0-4d45-94bc-37dc61544d46", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"298ee70d-9db0-4d45-94bc-37dc61544d46\",\"lastUpdateDateTime\":\"2021-06-25T20:11:37Z\",\"createdDateTime\":\"2021-06-25T20:11:37Z\",\"expirationDateTime\":\"2021-06-26T20:11:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "6f63e46d-f80d-45cd-8243-2bc5601db20e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/298ee70d-9db0-4d45-94bc-37dc61544d46", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"298ee70d-9db0-4d45-94bc-37dc61544d46\",\"lastUpdateDateTime\":\"2021-06-25T20:11:37Z\",\"createdDateTime\":\"2021-06-25T20:11:37Z\",\"expirationDateTime\":\"2021-06-26T20:11:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "1322987a-63e2-4978-9001-7786b7664a81", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "684" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/298ee70d-9db0-4d45-94bc-37dc61544d46", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"298ee70d-9db0-4d45-94bc-37dc61544d46\",\"lastUpdateDateTime\":\"2021-06-25T20:11:40Z\",\"createdDateTime\":\"2021-06-25T20:11:37Z\",\"expirationDateTime\":\"2021-06-26T20:11:37Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "e78d49b5-49a3-47e1-80c9-9024f002469f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "83" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/298ee70d-9db0-4d45-94bc-37dc61544d46", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"298ee70d-9db0-4d45-94bc-37dc61544d46\",\"lastUpdateDateTime\":\"2021-06-25T20:11:40Z\",\"createdDateTime\":\"2021-06-25T20:11:37Z\",\"expirationDateTime\":\"2021-06-26T20:11:37Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "8a1dd00f-890f-4e46-a031-f9cecb42785d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "89" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "e7248b98353def73af890958a958ef0d" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_payload_too_large.json new file mode 100644 index 000000000000..9a1f6397a9fe --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_payload_too_large.json @@ -0,0 +1,52 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:28 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "9c2a0045-784c-4338-a06a-102062ef6100" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"7\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"8\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"9\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"10\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"11\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"12\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"13\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"14\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"15\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"16\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"17\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"18\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"19\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"20\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"21\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"22\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"23\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"24\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"25\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"26\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"27\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"28\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"29\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"30\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"31\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"32\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"33\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"34\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"35\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"36\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"37\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"38\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"39\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"40\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"41\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"42\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"43\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"44\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"45\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"46\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"47\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"48\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"49\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"50\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"51\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"52\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"53\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"54\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"55\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"56\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"57\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"58\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"59\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"60\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"61\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"62\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"63\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"64\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"65\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"66\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"67\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"68\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"69\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"70\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"71\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"72\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"73\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"74\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"75\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"76\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"77\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"78\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"79\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"80\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"81\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"82\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"83\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"84\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"85\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"86\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"87\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"88\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"89\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"90\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"91\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"92\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"93\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"94\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"95\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"96\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"97\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"98\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"99\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"100\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"101\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"102\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"103\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"104\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"105\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"106\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"107\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"108\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"109\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"110\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"111\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"112\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"113\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"114\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"115\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"116\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"117\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"118\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"119\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"120\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"121\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"122\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"123\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"124\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"125\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"126\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"127\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"128\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"129\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"130\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"131\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"132\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"133\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"134\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"135\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"136\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"137\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"138\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"139\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"140\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"141\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"142\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"143\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"144\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"145\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"146\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"147\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"148\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"149\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"150\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"151\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"152\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"153\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"154\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"155\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"156\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"157\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"158\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"159\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"160\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"161\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"162\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"163\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"164\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"165\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"166\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"167\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"168\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"169\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"170\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"171\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"172\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"173\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"174\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"175\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"176\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"177\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"178\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"179\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"180\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"181\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"182\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"183\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"184\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"185\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"186\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"187\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"188\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"189\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"190\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"191\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"192\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"193\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"194\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"195\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"196\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"197\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"198\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"199\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"200\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"201\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"202\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"203\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"204\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"205\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"206\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"207\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"208\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"209\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"210\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"211\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"212\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"213\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"214\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"215\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"216\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"217\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"218\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"219\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"220\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"221\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"222\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"223\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"224\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"225\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"226\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"227\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"228\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"229\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"230\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"231\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"232\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"233\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"234\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"235\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"236\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"237\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"238\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"239\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"240\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"241\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"242\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"243\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"244\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"245\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"246\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"247\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"248\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"249\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"250\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"251\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"252\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"253\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"254\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"255\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"256\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"257\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"258\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"259\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"260\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"261\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"262\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"263\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"264\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"265\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"266\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"267\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"268\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"269\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"270\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"271\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"272\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"273\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"274\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"275\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"276\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"277\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"278\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"279\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"280\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"281\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"282\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"283\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"284\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"285\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"286\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"287\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"288\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"289\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"290\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"291\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"292\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"293\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"294\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"295\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"296\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"297\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"298\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"299\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"300\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"301\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"302\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"303\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"304\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"305\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"306\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"307\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"308\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"309\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"310\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"311\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"312\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"313\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"314\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"315\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"316\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"317\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"318\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"319\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"320\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"321\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"322\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"323\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"324\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"325\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"326\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"327\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"328\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"329\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"330\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"331\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"332\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"333\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"334\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"335\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"336\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"337\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"338\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"339\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"340\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"341\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"342\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"343\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"344\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"345\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"346\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"347\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"348\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"349\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"350\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"351\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"352\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"353\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"354\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"355\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"356\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"357\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"358\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"359\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"360\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"361\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"362\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"363\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"364\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"365\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"366\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"367\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"368\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"369\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"370\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"371\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"372\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"373\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"374\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"375\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"376\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"377\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"378\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"379\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"380\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"381\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"382\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"383\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"384\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"385\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"386\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"387\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"388\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"389\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"390\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"391\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"392\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"393\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"394\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"395\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"396\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"397\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"398\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"399\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"400\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"401\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"402\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"403\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"404\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"405\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"406\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"407\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"408\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"409\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"410\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"411\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"412\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"413\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"414\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"415\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"416\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"417\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"418\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"419\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"420\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"421\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"422\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"423\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"424\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"425\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"426\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"427\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"428\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"429\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"430\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"431\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"432\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"433\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"434\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"435\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"436\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"437\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"438\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"439\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"440\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"441\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"442\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"443\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"444\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"445\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"446\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"447\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"448\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"449\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"450\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"451\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"452\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"453\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"454\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"455\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"456\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"457\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"458\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"459\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"460\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"461\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"462\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"463\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"464\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"465\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"466\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"467\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"468\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"469\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"470\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"471\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"472\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"473\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"474\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"475\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"476\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"477\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"478\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"479\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"480\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"481\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"482\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"483\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"484\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"485\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"486\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"487\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"488\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"489\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"490\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"491\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"492\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"493\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"494\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"495\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"496\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"497\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"498\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"499\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"}]}", + "status": 413, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Request Payload sent is too large to be processed. Limit request size to: 524288\"}}}", + "responseHeaders": { + "apim-request-id": "83932675-7e42-4ad4-834a-ba24bf4d9fa8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "20" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "fabb23fcf348878da5328d2e1b041a32" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json new file mode 100644 index 000000000000..45d6f5018b35 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json @@ -0,0 +1,113 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:40 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "04923b22-c5b5-4349-b2d4-c55033017e00" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "model-version": "latest", + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"56\",\"text\":\":)\"},{\"id\":\"0\",\"text\":\":(\"},{\"id\":\"22\",\"text\":\"\"},{\"id\":\"19\",\"text\":\":P\"},{\"id\":\"1\",\"text\":\":D\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "e1f1d51c-5834-4413-92ad-d455b0edebca", + "date": "Fri, 25 Jun 2021 20:11:41 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/8b96dec5-6391-4368-a001-a7e6b00d038f", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "207" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8b96dec5-6391-4368-a001-a7e6b00d038f", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b96dec5-6391-4368-a001-a7e6b00d038f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:41Z\",\"createdDateTime\":\"2021-06-25T20:11:41Z\",\"expirationDateTime\":\"2021-06-26T20:11:41Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "d0e58121-e150-44dd-8891-8281e821cd44", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8b96dec5-6391-4368-a001-a7e6b00d038f", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b96dec5-6391-4368-a001-a7e6b00d038f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:41Z\",\"createdDateTime\":\"2021-06-25T20:11:41Z\",\"expirationDateTime\":\"2021-06-26T20:11:41Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "472056e0-c8e7-4264-91a1-496704beb6bb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8b96dec5-6391-4368-a001-a7e6b00d038f", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b96dec5-6391-4368-a001-a7e6b00d038f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:42Z\",\"createdDateTime\":\"2021-06-25T20:11:41Z\",\"expirationDateTime\":\"2021-06-26T20:11:41Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":5,\"validDocumentsCount\":4,\"erroneousDocumentsCount\":1,\"transactionsCount\":4},\"documents\":[{\"id\":\"56\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "ad85092c-18a9-478a-ab91-ffa4d608197c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "71" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "b7886f5b0094498f9a0939c3cb1bca51" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json new file mode 100644 index 000000000000..f0432c3863ad --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json @@ -0,0 +1,128 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:22 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "84bdf8e2-d00d-4332-9ea9-2d5e23e87900" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "7045000f-b7d7-417a-896f-41e9f05099d1", + "date": "Fri, 25 Jun 2021 20:11:23 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/91ddf0e1-8a62-4648-841e-e8d5373d507b", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "159" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/91ddf0e1-8a62-4648-841e-e8d5373d507b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"91ddf0e1-8a62-4648-841e-e8d5373d507b\",\"lastUpdateDateTime\":\"2021-06-25T20:11:23Z\",\"createdDateTime\":\"2021-06-25T20:11:23Z\",\"expirationDateTime\":\"2021-06-26T20:11:23Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "97126026-d90a-4d69-ac16-ee6c5bc8db63", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/91ddf0e1-8a62-4648-841e-e8d5373d507b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"91ddf0e1-8a62-4648-841e-e8d5373d507b\",\"lastUpdateDateTime\":\"2021-06-25T20:11:23Z\",\"createdDateTime\":\"2021-06-25T20:11:23Z\",\"expirationDateTime\":\"2021-06-26T20:11:23Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "76220e98-4543-4c52-a9c5-44dfa602d377", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/91ddf0e1-8a62-4648-841e-e8d5373d507b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"91ddf0e1-8a62-4648-841e-e8d5373d507b\",\"lastUpdateDateTime\":\"2021-06-25T20:11:25Z\",\"createdDateTime\":\"2021-06-25T20:11:23Z\",\"expirationDateTime\":\"2021-06-26T20:11:23Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/0/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "f90cd5f1-acf7-4b1f-86ce-7819e657b7b1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:25 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "75" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/91ddf0e1-8a62-4648-841e-e8d5373d507b", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"91ddf0e1-8a62-4648-841e-e8d5373d507b\",\"lastUpdateDateTime\":\"2021-06-25T20:11:25Z\",\"createdDateTime\":\"2021-06-25T20:11:23Z\",\"expirationDateTime\":\"2021-06-26T20:11:23Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/0/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "20138da9-4a73-4dad-a41a-3c541cbfb6bf", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:25 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "95" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "8f137e103df6a68f682870f77ddba5fa" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_too_many_documents.json similarity index 50% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji_with_skin_tone_modifier.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_too_many_documents.json index 536d60185a58..ad284bb0f41a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji_with_skin_tone_modifier.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_too_many_documents.json @@ -4,14 +4,14 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1331", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:18:19 GMT", + "date": "Fri, 25 Jun 2021 20:11:28 GMT", "expires": "-1", "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", @@ -20,28 +20,27 @@ "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11722.21 - NCUS ProdSlices", - "x-ms-request-id": "4e081bcf-0a12-4b10-9110-b01a36d35600" + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "e0b3e3aa-321c-4078-9fcf-b762c8647100" } }, { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { - "stringIndexType": "TextElements_v8" + "stringIndexType": "Utf16CodeUnit" }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻 SSN: 859-98-0987\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"👩🏻 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"7\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"8\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"9\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"10\",\"text\":\"random text\",\"language\":\"en\"}]}", + "status": 400, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Batch request contains too many records. Max 10 records are permitted.\"}}}", "responseHeaders": { - "apim-request-id": "7ec0677d-74f2-4550-8c3c-f55cbdb92a49", + "apim-request-id": "d0c01343-f3fc-4d12-9e92-5f321cf625b6", "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:18:19 GMT", + "date": "Fri, 25 Jun 2021 20:11:29 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "75" + "x-envoy-upstream-service-time": "5" } } ], @@ -49,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a226712bc42ebd367f25bbebba76d4df" + "hash": "f4e1a2c36c41c301fea32887bbea5a55" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json new file mode 100644 index 000000000000..0835ef165a06 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json @@ -0,0 +1,147 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:06 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "8deef922-c309-4e27-9a10-4eefae075f00" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "bdb7e804-c021-42d2-8377-5e4845f6ed21", + "date": "Fri, 25 Jun 2021 20:12:07 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/65d9e2bc-b0af-419d-bee4-3c72fd7bca0e", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "190" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/65d9e2bc-b0af-419d-bee4-3c72fd7bca0e", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"65d9e2bc-b0af-419d-bee4-3c72fd7bca0e\",\"lastUpdateDateTime\":\"2021-06-25T20:12:08Z\",\"createdDateTime\":\"2021-06-25T20:12:07Z\",\"expirationDateTime\":\"2021-06-26T20:12:07Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "2333f0eb-4abf-4060-9109-4e2d56ed6bd1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/65d9e2bc-b0af-419d-bee4-3c72fd7bca0e", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"65d9e2bc-b0af-419d-bee4-3c72fd7bca0e\",\"lastUpdateDateTime\":\"2021-06-25T20:12:08Z\",\"createdDateTime\":\"2021-06-25T20:12:07Z\",\"expirationDateTime\":\"2021-06-26T20:12:07Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "8d44bff1-dbaa-4590-b5fc-cf7199632a35", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/65d9e2bc-b0af-419d-bee4-3c72fd7bca0e", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"65d9e2bc-b0af-419d-bee4-3c72fd7bca0e\",\"lastUpdateDateTime\":\"2021-06-25T20:12:10Z\",\"createdDateTime\":\"2021-06-25T20:12:07Z\",\"expirationDateTime\":\"2021-06-26T20:12:07Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "7f71b1c5-78e9-4786-9511-f8d321489fa9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/65d9e2bc-b0af-419d-bee4-3c72fd7bca0e", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"65d9e2bc-b0af-419d-bee4-3c72fd7bca0e\",\"lastUpdateDateTime\":\"2021-06-25T20:12:10Z\",\"createdDateTime\":\"2021-06-25T20:12:07Z\",\"expirationDateTime\":\"2021-06-26T20:12:07Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "29fdabc7-e5ea-42d3-badb-64e41da9ce06", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:11 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "72" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/65d9e2bc-b0af-419d-bee4-3c72fd7bca0e", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"65d9e2bc-b0af-419d-bee4-3c72fd7bca0e\",\"lastUpdateDateTime\":\"2021-06-25T20:12:10Z\",\"createdDateTime\":\"2021-06-25T20:12:07Z\",\"expirationDateTime\":\"2021-06-26T20:12:07Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "684aee41-c8ef-4cef-95ec-0a67a3358293", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "61" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "244cc773590bf1739b9bee615d0136fa" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json new file mode 100644 index 000000000000..2403047095d7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json @@ -0,0 +1,147 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:11 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "ee464cb8-b764-4cf5-b11c-68d500767700" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at.\",\"language\":\"\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food.\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "469e787e-8e15-41b2-9612-b86d4356ab93", + "date": "Fri, 25 Jun 2021 20:12:12 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/e9282c8e-9326-4c0f-b293-afc0a5069fe9", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "170" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e9282c8e-9326-4c0f-b293-afc0a5069fe9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e9282c8e-9326-4c0f-b293-afc0a5069fe9\",\"lastUpdateDateTime\":\"2021-06-25T20:12:13Z\",\"createdDateTime\":\"2021-06-25T20:12:12Z\",\"expirationDateTime\":\"2021-06-26T20:12:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "ffdac019-3a98-4b28-9533-9f027058f503", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e9282c8e-9326-4c0f-b293-afc0a5069fe9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e9282c8e-9326-4c0f-b293-afc0a5069fe9\",\"lastUpdateDateTime\":\"2021-06-25T20:12:13Z\",\"createdDateTime\":\"2021-06-25T20:12:12Z\",\"expirationDateTime\":\"2021-06-26T20:12:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "a05a488c-a8ae-4c0d-902a-9b4083e6eae6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e9282c8e-9326-4c0f-b293-afc0a5069fe9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e9282c8e-9326-4c0f-b293-afc0a5069fe9\",\"lastUpdateDateTime\":\"2021-06-25T20:12:15Z\",\"createdDateTime\":\"2021-06-25T20:12:12Z\",\"expirationDateTime\":\"2021-06-26T20:12:12Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "cbda440f-01cd-4efc-b159-a0914f976b74", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "12" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e9282c8e-9326-4c0f-b293-afc0a5069fe9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e9282c8e-9326-4c0f-b293-afc0a5069fe9\",\"lastUpdateDateTime\":\"2021-06-25T20:12:15Z\",\"createdDateTime\":\"2021-06-25T20:12:12Z\",\"expirationDateTime\":\"2021-06-26T20:12:12Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "a31de48b-5e2a-4704-8dfd-e1c7163fb5c3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "68" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/e9282c8e-9326-4c0f-b293-afc0a5069fe9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"e9282c8e-9326-4c0f-b293-afc0a5069fe9\",\"lastUpdateDateTime\":\"2021-06-25T20:12:15Z\",\"createdDateTime\":\"2021-06-25T20:12:12Z\",\"expirationDateTime\":\"2021-06-26T20:12:12Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "4cbd6b4a-e329-4de1-ad57-1ea3027216de", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "67" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "9a24b1f99cf69c19826f3e7864953d2e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json new file mode 100644 index 000000000000..a82bf6a3b6c0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json @@ -0,0 +1,318 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:43 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "ee464cb8-b764-4cf5-b11c-68d5456f7700" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "5a55ac92-3471-4d7d-96f8-fe0b2ef35d6c", + "date": "Fri, 25 Jun 2021 20:11:43 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "231" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:44Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "74a98f06-02ea-4d12-b1a4-a58d3454a8ab", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:44Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "191ea985-b8e9-49f8-9a69-098b42989ec9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:44Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "d3349f9a-7c7e-4601-a0eb-d18270a431fe", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:44Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "6afaf3e1-fca4-4614-8f62-4937705ff66e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:48 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "15" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:44Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "e6071dbd-e4ed-4f43-b6f7-0b369038c1a0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:50 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:44Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "29c6c38f-33c6-4f10-a593-621fa68bfd19", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:44Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "e46fe2de-b7c5-4cfb-aede-e534bb929f3c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:55Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "4855b420-9205-4e4f-a308-52ecfd38cf5a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:55Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "de5fea2c-8949-4780-94f7-b97d89dd430a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:11:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:55Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "e3630184-a8ec-4630-82ef-5f2b06f9c876", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:55Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "45e5a558-0587-46d3-bf7b-cd7ea67993ce", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:11:55Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "3cbc8620-b395-44ab-8808-644378b22aa2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:05Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "345656c8-1178-4b90-a90d-6e2f5723a36f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "63" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/74f459f2-da56-4939-8c3a-c3964686395f", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"74f459f2-da56-4939-8c3a-c3964686395f\",\"lastUpdateDateTime\":\"2021-06-25T20:12:05Z\",\"createdDateTime\":\"2021-06-25T20:11:44Z\",\"expirationDateTime\":\"2021-06-26T20:11:44Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "f8fb71b8-2378-42c6-b4ae-e56cdba61a05", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "79" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "33965f5fc7bffb3476452949579b99ba" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json new file mode 100644 index 000000000000..cd4ddb2ff7e8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json @@ -0,0 +1,147 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:16 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - EUS ProdSlices", + "x-ms-request-id": "04923b22-c5b5-4349-b2d4-c55047097e00" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I should take my cat to the veterinarian.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "296a0362-7182-494b-9a89-79fe05d06a26", + "date": "Fri, 25 Jun 2021 20:12:17 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/b649dbfb-4faf-4d9b-a843-5232ac913bc2", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "173" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/b649dbfb-4faf-4d9b-a843-5232ac913bc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b649dbfb-4faf-4d9b-a843-5232ac913bc2\",\"lastUpdateDateTime\":\"2021-06-25T20:12:17Z\",\"createdDateTime\":\"2021-06-25T20:12:17Z\",\"expirationDateTime\":\"2021-06-26T20:12:17Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "8f82bd62-c4d6-4d2a-809e-91bd9193a1f7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/b649dbfb-4faf-4d9b-a843-5232ac913bc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b649dbfb-4faf-4d9b-a843-5232ac913bc2\",\"lastUpdateDateTime\":\"2021-06-25T20:12:17Z\",\"createdDateTime\":\"2021-06-25T20:12:17Z\",\"expirationDateTime\":\"2021-06-26T20:12:17Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "4e2c4db6-98e1-4463-ba4a-2ef9f17687de", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/b649dbfb-4faf-4d9b-a843-5232ac913bc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b649dbfb-4faf-4d9b-a843-5232ac913bc2\",\"lastUpdateDateTime\":\"2021-06-25T20:12:20Z\",\"createdDateTime\":\"2021-06-25T20:12:17Z\",\"expirationDateTime\":\"2021-06-26T20:12:17Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "fd42df8b-6a1a-4f53-98c9-e4218651e3e9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/b649dbfb-4faf-4d9b-a843-5232ac913bc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b649dbfb-4faf-4d9b-a843-5232ac913bc2\",\"lastUpdateDateTime\":\"2021-06-25T20:12:20Z\",\"createdDateTime\":\"2021-06-25T20:12:17Z\",\"expirationDateTime\":\"2021-06-26T20:12:17Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":28,\"length\":12,\"text\":\"veterinarian\",\"category\":\"HealthcareProfession\",\"confidenceScore\":0.98}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "31590d49-46c0-4318-82d3-44d2cc199415", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10109" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/b649dbfb-4faf-4d9b-a843-5232ac913bc2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b649dbfb-4faf-4d9b-a843-5232ac913bc2\",\"lastUpdateDateTime\":\"2021-06-25T20:12:20Z\",\"createdDateTime\":\"2021-06-25T20:12:17Z\",\"expirationDateTime\":\"2021-06-26T20:12:17Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":28,\"length\":12,\"text\":\"veterinarian\",\"category\":\"HealthcareProfession\",\"confidenceScore\":0.98}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "853beccd-a689-4d04-b8db-9325cee24f56", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:12:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "96" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7bec52ba89e96a0ba2f2013638873cb4" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_extractkeyphrases.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_extractkeyphrases.json deleted file mode 100644 index 4af721472c85..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_extractkeyphrases.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/keyPhrases", - "query": {}, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last weekend\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"wonderful trip\",\"Seattle\",\"weekend\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-07-01\"}", - "responseHeaders": { - "apim-request-id": "03e0f541-7e1e-48b7-aa64-19320000e4a7", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:15:39 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "12" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "cf1d81ad6df4fa9e5213015af7f3ea71" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizeentities.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizeentities.json deleted file mode 100644 index 63ff0fab9a06..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizeentities.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/general", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last weekend.\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":0.99},{\"text\":\"last weekend\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":12,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "03d4723d-ddab-478c-962d-a28b20958d45", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:15:44 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5031" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "8dbb3276cbe3785c382703aa44e8eebf" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizelinkedentities.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizelinkedentities.json deleted file mode 100644 index ad6e0b135f38..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizelinkedentities.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/linking", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"the Roman god Mars\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"bingId\":\"2d00c46f-8bc6-b7da-83af-6c8eb6b1ecd2\",\"name\":\"Roman mythology\",\"matches\":[{\"text\":\"Roman god\",\"offset\":4,\"length\":9,\"confidenceScore\":0.18}],\"language\":\"en\",\"id\":\"Roman mythology\",\"url\":\"https://en.wikipedia.org/wiki/Roman_mythology\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}", - "responseHeaders": { - "apim-request-id": "c2d8a0e5-aff9-4787-a50b-3a58b6049dab", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:15:53 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "9347" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "f144458b092c2704d4594b72054e94ce" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizepiientities.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizepiientities.json deleted file mode 100644 index eb252ae68de9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_recognizepiientities.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/recognition/pii", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Your social-security number is 078-05-1120.\",\"language\":\"en\"}]}", - "status": 200, - "response": "{\"documents\":[{\"redactedText\":\"Your social-security number is 078-05-1120.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", - "responseHeaders": { - "apim-request-id": "5c0461d9-c2eb-443f-b5b7-95fe78b4aa05", - "content-type": "application/json; charset=utf-8", - "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:15:53 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "53" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "c6ded2f2a6e780274f62876dc34f5f1b" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_cancelled.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_cancelled.json deleted file mode 100644 index 79948910357d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_cancelled.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "48558744-84fd-4e28-952c-993c1605c674", - "date": "Wed, 12 May 2021 19:16:55 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/3cf8828f-2b29-4480-82b2-416984cc703b", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "89" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/3cf8828f-2b29-4480-82b2-416984cc703b", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"3cf8828f-2b29-4480-82b2-416984cc703b\",\"lastUpdateDateTime\":\"2021-05-12T19:16:56Z\",\"createdDateTime\":\"2021-05-12T19:16:56Z\",\"expirationDateTime\":\"2021-05-13T19:16:56Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "7b524289-390c-4da3-b3a4-a9ea08ab9748", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:55 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "DELETE", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/3cf8828f-2b29-4480-82b2-416984cc703b", - "query": {}, - "requestBody": null, - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "9c7be85b-9685-4c8e-9eb0-5458bda91c9d", - "date": "Wed, 12 May 2021 19:16:55 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/3cf8828f-2b29-4480-82b2-416984cc703b", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "14" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "fe6d1378127716637c4cee0bce52971e" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_document_warnings.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_document_warnings.json deleted file mode 100644 index af4ad9baa67a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_document_warnings.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"This won't actually create a warning :'(\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "f94c4e92-a724-4051-b2ae-f2a71d922cc4", - "date": "Wed, 12 May 2021 19:16:24 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/08b603dc-778c-4164-a26f-2df866b79876", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "66" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/08b603dc-778c-4164-a26f-2df866b79876", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"08b603dc-778c-4164-a26f-2df866b79876\",\"lastUpdateDateTime\":\"2021-05-12T19:16:24Z\",\"createdDateTime\":\"2021-05-12T19:16:24Z\",\"expirationDateTime\":\"2021-05-13T19:16:24Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "8a645615-6ec3-4a1a-9292-fae6cc538d71", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:24 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/08b603dc-778c-4164-a26f-2df866b79876", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"08b603dc-778c-4164-a26f-2df866b79876\",\"lastUpdateDateTime\":\"2021-05-12T19:16:24Z\",\"createdDateTime\":\"2021-05-12T19:16:24Z\",\"expirationDateTime\":\"2021-05-13T19:16:24Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "cfaed01c-7bf8-4691-99b9-afc9657153ff", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:24 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/08b603dc-778c-4164-a26f-2df866b79876", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"08b603dc-778c-4164-a26f-2df866b79876\",\"lastUpdateDateTime\":\"2021-05-12T19:16:24Z\",\"createdDateTime\":\"2021-05-12T19:16:24Z\",\"expirationDateTime\":\"2021-05-13T19:16:24Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "ad7f85ce-f176-4918-afbf-4435c79cad68", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:26 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/08b603dc-778c-4164-a26f-2df866b79876", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"08b603dc-778c-4164-a26f-2df866b79876\",\"lastUpdateDateTime\":\"2021-05-12T19:16:27Z\",\"createdDateTime\":\"2021-05-12T19:16:24Z\",\"expirationDateTime\":\"2021-05-13T19:16:24Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "49b8f236-875b-42ed-9d38-10c36154a13b", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:28 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "46" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/08b603dc-778c-4164-a26f-2df866b79876", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"08b603dc-778c-4164-a26f-2df866b79876\",\"lastUpdateDateTime\":\"2021-05-12T19:16:27Z\",\"createdDateTime\":\"2021-05-12T19:16:24Z\",\"expirationDateTime\":\"2021-05-13T19:16:24Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "04d7b2b7-284e-4627-8d70-ebff66e684e0", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:28 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "33" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "d2655048c15e49a910a86dd1406d8fcb" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_input_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_input_documents.json deleted file mode 100644 index e632cf6c2f09..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_input_documents.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "65972d38-8cb4-48a9-97b2-4a9264556349", - "date": "Wed, 12 May 2021 19:16:10 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/2db5d8e9-e939-4810-9ac7-af4e42b79eb3", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "101" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/2db5d8e9-e939-4810-9ac7-af4e42b79eb3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2db5d8e9-e939-4810-9ac7-af4e42b79eb3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:10Z\",\"createdDateTime\":\"2021-05-12T19:16:10Z\",\"expirationDateTime\":\"2021-05-13T19:16:10Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "b6bb7bc3-5eb1-4c33-91e3-619af825f333", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:10 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/2db5d8e9-e939-4810-9ac7-af4e42b79eb3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2db5d8e9-e939-4810-9ac7-af4e42b79eb3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:10Z\",\"createdDateTime\":\"2021-05-12T19:16:10Z\",\"expirationDateTime\":\"2021-05-13T19:16:10Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "57290be7-9940-4238-b196-6dae2b9220e0", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:10 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/2db5d8e9-e939-4810-9ac7-af4e42b79eb3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2db5d8e9-e939-4810-9ac7-af4e42b79eb3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:10Z\",\"createdDateTime\":\"2021-05-12T19:16:10Z\",\"expirationDateTime\":\"2021-05-13T19:16:10Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "adb43c51-87b1-4cd7-9e7b-37189e1c613d", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:12 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/2db5d8e9-e939-4810-9ac7-af4e42b79eb3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2db5d8e9-e939-4810-9ac7-af4e42b79eb3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:12Z\",\"createdDateTime\":\"2021-05-12T19:16:10Z\",\"expirationDateTime\":\"2021-05-13T19:16:10Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.96,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "15eaa67c-68e7-428e-b2c7-521b1c6b39ce", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:14 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "50" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/2db5d8e9-e939-4810-9ac7-af4e42b79eb3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"2db5d8e9-e939-4810-9ac7-af4e42b79eb3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:12Z\",\"createdDateTime\":\"2021-05-12T19:16:10Z\",\"expirationDateTime\":\"2021-05-13T19:16:10Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.96,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "ab207edb-1ef8-4e82-9e78-cf3dee61218e", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:14 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "45" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "f130cafd14df774327badf36e64f6f35" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_input_strings.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_input_strings.json deleted file mode 100644 index d996f29f3a9d..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_input_strings.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "76c6bab3-9673-4ec5-9a29-442916b16767", - "date": "Wed, 12 May 2021 19:15:53 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/daa311d4-03b4-4961-92df-e6e56d689353", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "95" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/daa311d4-03b4-4961-92df-e6e56d689353", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"daa311d4-03b4-4961-92df-e6e56d689353\",\"lastUpdateDateTime\":\"2021-05-12T19:15:54Z\",\"createdDateTime\":\"2021-05-12T19:15:54Z\",\"expirationDateTime\":\"2021-05-13T19:15:54Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "06e90580-c1e9-4b85-976f-fe85130aea38", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:15:54 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "16" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/daa311d4-03b4-4961-92df-e6e56d689353", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"daa311d4-03b4-4961-92df-e6e56d689353\",\"lastUpdateDateTime\":\"2021-05-12T19:15:54Z\",\"createdDateTime\":\"2021-05-12T19:15:54Z\",\"expirationDateTime\":\"2021-05-13T19:15:54Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "e1f15826-d827-4327-864d-d418d542aea7", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:15:54 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/daa311d4-03b4-4961-92df-e6e56d689353", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"daa311d4-03b4-4961-92df-e6e56d689353\",\"lastUpdateDateTime\":\"2021-05-12T19:15:54Z\",\"createdDateTime\":\"2021-05-12T19:15:54Z\",\"expirationDateTime\":\"2021-05-13T19:15:54Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "0ddee316-082e-4a42-8a9d-5b23aefe4d43", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:15:56 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/daa311d4-03b4-4961-92df-e6e56d689353", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"daa311d4-03b4-4961-92df-e6e56d689353\",\"lastUpdateDateTime\":\"2021-05-12T19:15:54Z\",\"createdDateTime\":\"2021-05-12T19:15:54Z\",\"expirationDateTime\":\"2021-05-13T19:15:54Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "239b66c3-5f46-42a9-83f2-aced43a7b231", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:15:59 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "11" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/daa311d4-03b4-4961-92df-e6e56d689353", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"daa311d4-03b4-4961-92df-e6e56d689353\",\"lastUpdateDateTime\":\"2021-05-12T19:15:54Z\",\"createdDateTime\":\"2021-05-12T19:15:54Z\",\"expirationDateTime\":\"2021-05-13T19:15:54Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "e4ce4dd7-111e-4c71-94b4-d857611792c7", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:01 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "17" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/daa311d4-03b4-4961-92df-e6e56d689353", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"daa311d4-03b4-4961-92df-e6e56d689353\",\"lastUpdateDateTime\":\"2021-05-12T19:16:03Z\",\"createdDateTime\":\"2021-05-12T19:15:54Z\",\"expirationDateTime\":\"2021-05-13T19:15:54Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.96,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "b2271d25-cb3e-401f-8a3d-5e5b3cc61403", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:03 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "49" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/daa311d4-03b4-4961-92df-e6e56d689353", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"daa311d4-03b4-4961-92df-e6e56d689353\",\"lastUpdateDateTime\":\"2021-05-12T19:16:03Z\",\"createdDateTime\":\"2021-05-12T19:15:54Z\",\"expirationDateTime\":\"2021-05-13T19:15:54Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.96,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "2d6ad25f-4895-4aa2-9d28-29ff19f0497b", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:03 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "53" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "795ec52148631ba9241a964c44998e59" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_operation_metadata.json deleted file mode 100644 index 550436d5c7b9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_operation_metadata.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "f80ffcac-3324-4f74-97ad-7ff326bab656", - "date": "Wed, 12 May 2021 19:16:55 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/caf47aa5-0f22-4d24-8ff4-62ca8e9b1292", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "109" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/caf47aa5-0f22-4d24-8ff4-62ca8e9b1292", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"caf47aa5-0f22-4d24-8ff4-62ca8e9b1292\",\"lastUpdateDateTime\":\"2021-05-12T19:16:56Z\",\"createdDateTime\":\"2021-05-12T19:16:56Z\",\"expirationDateTime\":\"2021-05-13T19:16:56Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "03e29a61-e1e8-44b8-8fe7-72bc296cc785", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:56 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/caf47aa5-0f22-4d24-8ff4-62ca8e9b1292", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"caf47aa5-0f22-4d24-8ff4-62ca8e9b1292\",\"lastUpdateDateTime\":\"2021-05-12T19:16:56Z\",\"createdDateTime\":\"2021-05-12T19:16:56Z\",\"expirationDateTime\":\"2021-05-13T19:16:56Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "b355c104-3e44-4c8e-95c1-707cc159ab88", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:56 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/caf47aa5-0f22-4d24-8ff4-62ca8e9b1292", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"caf47aa5-0f22-4d24-8ff4-62ca8e9b1292\",\"lastUpdateDateTime\":\"2021-05-12T19:16:57Z\",\"createdDateTime\":\"2021-05-12T19:16:56Z\",\"expirationDateTime\":\"2021-05-13T19:16:56Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.96,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "50f0ca40-c482-4f13-995e-0208c6ac233d", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:58 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "47" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "fc32f513c2114144a5189b7b8bac8cc4" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json deleted file mode 100644 index ea6bc6649ce6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"one\"},{\"id\":\"2\",\"text\":\"two\"},{\"id\":\"3\",\"text\":\"three\"},{\"id\":\"4\",\"text\":\"four\"},{\"id\":\"5\",\"text\":\"five\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "cf44339f-bf29-4385-9a9d-7bb556b12d59", - "date": "Wed, 12 May 2021 19:16:28 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "104" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:29Z\",\"createdDateTime\":\"2021-05-12T19:16:29Z\",\"expirationDateTime\":\"2021-05-13T19:16:29Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "0018475c-8cc1-4021-9930-5a0d7664e14c", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:28 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:29Z\",\"createdDateTime\":\"2021-05-12T19:16:29Z\",\"expirationDateTime\":\"2021-05-13T19:16:29Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "4030f5da-7d99-48f1-a30d-1aeaddefd6d7", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:28 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:29Z\",\"createdDateTime\":\"2021-05-12T19:16:29Z\",\"expirationDateTime\":\"2021-05-13T19:16:29Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "34c3fe80-84ee-4954-a816-3a4d8e1255e2", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:30 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:32Z\",\"createdDateTime\":\"2021-05-12T19:16:29Z\",\"expirationDateTime\":\"2021-05-13T19:16:29Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "d5f1164b-f99a-4b2c-97d6-4491eb9564db", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:32 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "69" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"c6c4fc65-aa76-4ae5-9f3a-2d8a4c5a927f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:32Z\",\"createdDateTime\":\"2021-05-12T19:16:29Z\",\"expirationDateTime\":\"2021-05-13T19:16:29Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "20cc2f9d-5035-47ba-b08e-f63874f4ee1b", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:32 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "72" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "c7a438e27d1ed9df355c51c3723255c8" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_payload_too_large.json deleted file mode 100644 index ffd919044be8..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_payload_too_large.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"7\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"8\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"9\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"10\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"11\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"12\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"13\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"14\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"15\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"16\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"17\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"18\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"19\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"20\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"21\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"22\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"23\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"24\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"25\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"26\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"27\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"28\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"29\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"30\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"31\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"32\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"33\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"34\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"35\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"36\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"37\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"38\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"39\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"40\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"41\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"42\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"43\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"44\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"45\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"46\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"47\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"48\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"49\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"50\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"51\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"52\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"53\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"54\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"55\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"56\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"57\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"58\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"59\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"60\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"61\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"62\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"63\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"64\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"65\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"66\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"67\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"68\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"69\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"70\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"71\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"72\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"73\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"74\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"75\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"76\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"77\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"78\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"79\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"80\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"81\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"82\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"83\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"84\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"85\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"86\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"87\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"88\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"89\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"90\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"91\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"92\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"93\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"94\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"95\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"96\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"97\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"98\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"99\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"100\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"101\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"102\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"103\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"104\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"105\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"106\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"107\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"108\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"109\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"110\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"111\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"112\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"113\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"114\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"115\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"116\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"117\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"118\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"119\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"120\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"121\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"122\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"123\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"124\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"125\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"126\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"127\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"128\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"129\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"130\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"131\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"132\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"133\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"134\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"135\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"136\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"137\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"138\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"139\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"140\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"141\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"142\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"143\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"144\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"145\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"146\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"147\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"148\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"149\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"150\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"151\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"152\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"153\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"154\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"155\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"156\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"157\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"158\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"159\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"160\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"161\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"162\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"163\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"164\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"165\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"166\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"167\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"168\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"169\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"170\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"171\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"172\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"173\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"174\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"175\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"176\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"177\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"178\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"179\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"180\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"181\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"182\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"183\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"184\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"185\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"186\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"187\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"188\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"189\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"190\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"191\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"192\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"193\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"194\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"195\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"196\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"197\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"198\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"199\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"200\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"201\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"202\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"203\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"204\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"205\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"206\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"207\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"208\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"209\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"210\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"211\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"212\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"213\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"214\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"215\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"216\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"217\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"218\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"219\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"220\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"221\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"222\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"223\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"224\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"225\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"226\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"227\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"228\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"229\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"230\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"231\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"232\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"233\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"234\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"235\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"236\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"237\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"238\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"239\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"240\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"241\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"242\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"243\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"244\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"245\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"246\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"247\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"248\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"249\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"250\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"251\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"252\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"253\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"254\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"255\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"256\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"257\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"258\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"259\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"260\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"261\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"262\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"263\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"264\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"265\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"266\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"267\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"268\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"269\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"270\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"271\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"272\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"273\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"274\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"275\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"276\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"277\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"278\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"279\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"280\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"281\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"282\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"283\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"284\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"285\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"286\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"287\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"288\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"289\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"290\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"291\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"292\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"293\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"294\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"295\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"296\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"297\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"298\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"299\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"300\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"301\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"302\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"303\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"304\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"305\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"306\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"307\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"308\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"309\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"310\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"311\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"312\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"313\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"314\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"315\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"316\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"317\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"318\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"319\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"320\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"321\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"322\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"323\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"324\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"325\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"326\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"327\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"328\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"329\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"330\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"331\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"332\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"333\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"334\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"335\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"336\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"337\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"338\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"339\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"340\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"341\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"342\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"343\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"344\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"345\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"346\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"347\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"348\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"349\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"350\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"351\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"352\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"353\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"354\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"355\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"356\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"357\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"358\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"359\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"360\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"361\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"362\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"363\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"364\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"365\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"366\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"367\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"368\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"369\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"370\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"371\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"372\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"373\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"374\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"375\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"376\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"377\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"378\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"379\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"380\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"381\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"382\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"383\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"384\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"385\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"386\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"387\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"388\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"389\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"390\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"391\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"392\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"393\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"394\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"395\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"396\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"397\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"398\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"399\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"400\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"401\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"402\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"403\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"404\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"405\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"406\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"407\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"408\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"409\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"410\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"411\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"412\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"413\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"414\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"415\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"416\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"417\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"418\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"419\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"420\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"421\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"422\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"423\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"424\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"425\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"426\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"427\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"428\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"429\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"430\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"431\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"432\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"433\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"434\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"435\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"436\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"437\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"438\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"439\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"440\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"441\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"442\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"443\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"444\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"445\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"446\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"447\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"448\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"449\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"450\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"451\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"452\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"453\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"454\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"455\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"456\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"457\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"458\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"459\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"460\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"461\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"462\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"463\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"464\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"465\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"466\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"467\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"468\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"469\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"470\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"471\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"472\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"473\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"474\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"475\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"476\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"477\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"478\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"479\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"480\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"481\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"482\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"483\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"484\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"485\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"486\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"487\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"488\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"489\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"490\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"491\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"492\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"493\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"494\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"495\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"496\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"497\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"498\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"499\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"}]}", - "status": 413, - "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Request Payload sent is too large to be processed. Limit request size to: 524288\"}}}", - "responseHeaders": { - "apim-request-id": "b02e78a4-a8cf-4b3f-9943-1b3fa5b4ff29", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:24 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "50" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "071e2e4eb52be5c9ce6530b59569c4c5" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json deleted file mode 100644 index 37c55cabda57..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "model-version": "latest", - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"56\",\"text\":\":)\"},{\"id\":\"0\",\"text\":\":(\"},{\"id\":\"22\",\"text\":\"\"},{\"id\":\"19\",\"text\":\":P\"},{\"id\":\"1\",\"text\":\":D\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "7c6cb13b-0ca1-44a4-a00f-a12f73b559b5", - "date": "Wed, 12 May 2021 19:16:35 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/f905aa99-fb5a-4ac5-a0b4-7aa086d6bcaa", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "129" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/f905aa99-fb5a-4ac5-a0b4-7aa086d6bcaa", - "query": { - "showStats": "true", - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"f905aa99-fb5a-4ac5-a0b4-7aa086d6bcaa\",\"lastUpdateDateTime\":\"2021-05-12T19:16:36Z\",\"createdDateTime\":\"2021-05-12T19:16:36Z\",\"expirationDateTime\":\"2021-05-13T19:16:36Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "019d64d6-d2e9-4c28-a1f5-9a4f05c916cc", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:35 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/f905aa99-fb5a-4ac5-a0b4-7aa086d6bcaa", - "query": { - "showStats": "true", - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"f905aa99-fb5a-4ac5-a0b4-7aa086d6bcaa\",\"lastUpdateDateTime\":\"2021-05-12T19:16:36Z\",\"createdDateTime\":\"2021-05-12T19:16:36Z\",\"expirationDateTime\":\"2021-05-13T19:16:36Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "1984c9bd-90ea-4529-aeb4-8fd09f4cedb4", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:35 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/f905aa99-fb5a-4ac5-a0b4-7aa086d6bcaa", - "query": { - "showStats": "true", - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"f905aa99-fb5a-4ac5-a0b4-7aa086d6bcaa\",\"lastUpdateDateTime\":\"2021-05-12T19:16:37Z\",\"createdDateTime\":\"2021-05-12T19:16:36Z\",\"expirationDateTime\":\"2021-05-13T19:16:36Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":5,\"validDocumentsCount\":4,\"erroneousDocumentsCount\":1,\"transactionsCount\":4},\"documents\":[{\"id\":\"56\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "a6b9981a-d921-4a2c-94d1-c190eecbfde8", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:37 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "93" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "fd3b240b6ec403bb0873a3781b8808b5" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json deleted file mode 100644 index d903b61262e1..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "ee0033ae-1b1c-42b1-b87f-bec988905ee3", - "date": "Wed, 12 May 2021 19:16:41 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/9017c99d-0885-4d7e-a57c-32dee54a4eb8", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "191" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/9017c99d-0885-4d7e-a57c-32dee54a4eb8", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"9017c99d-0885-4d7e-a57c-32dee54a4eb8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:41Z\",\"createdDateTime\":\"2021-05-12T19:16:41Z\",\"expirationDateTime\":\"2021-05-13T19:16:41Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "18bb775e-3824-4606-9681-e0e1da8c997b", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:41 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/9017c99d-0885-4d7e-a57c-32dee54a4eb8", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"9017c99d-0885-4d7e-a57c-32dee54a4eb8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:41Z\",\"createdDateTime\":\"2021-05-12T19:16:41Z\",\"expirationDateTime\":\"2021-05-13T19:16:41Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "91125425-7687-49ff-8785-741ff1dae35f", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:41 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/9017c99d-0885-4d7e-a57c-32dee54a4eb8", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"9017c99d-0885-4d7e-a57c-32dee54a4eb8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:42Z\",\"createdDateTime\":\"2021-05-12T19:16:41Z\",\"expirationDateTime\":\"2021-05-13T19:16:41Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "474bef0c-68e0-4751-bc72-70332fc0d1aa", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:43 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "53" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/9017c99d-0885-4d7e-a57c-32dee54a4eb8", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"9017c99d-0885-4d7e-a57c-32dee54a4eb8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:42Z\",\"createdDateTime\":\"2021-05-12T19:16:41Z\",\"expirationDateTime\":\"2021-05-13T19:16:41Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "5c918ed0-1606-4bc5-992c-69bba432ad7f", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:43 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "46" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "8a055b6afd03acae04d79108936866ce" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json deleted file mode 100644 index cd76aa611c90..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at.\",\"language\":\"\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food.\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "76f2139c-7203-49f6-adb4-8e3df1a02b73", - "date": "Wed, 12 May 2021 19:16:43 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/88671d5b-cfb8-4f2d-ab44-ef4e439179a3", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "88" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/88671d5b-cfb8-4f2d-ab44-ef4e439179a3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"88671d5b-cfb8-4f2d-ab44-ef4e439179a3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:43Z\",\"createdDateTime\":\"2021-05-12T19:16:43Z\",\"expirationDateTime\":\"2021-05-13T19:16:43Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "8bac17f0-873c-4a7e-ae2d-21754ba127f4", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:43 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/88671d5b-cfb8-4f2d-ab44-ef4e439179a3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"88671d5b-cfb8-4f2d-ab44-ef4e439179a3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:43Z\",\"createdDateTime\":\"2021-05-12T19:16:43Z\",\"expirationDateTime\":\"2021-05-13T19:16:43Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "99be8a38-f535-4adb-8063-db043bc2953c", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:44 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/88671d5b-cfb8-4f2d-ab44-ef4e439179a3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"88671d5b-cfb8-4f2d-ab44-ef4e439179a3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:44Z\",\"createdDateTime\":\"2021-05-12T19:16:43Z\",\"expirationDateTime\":\"2021-05-13T19:16:43Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "85f13951-fcca-44d0-a3f9-460007a51179", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:46 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "52" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/88671d5b-cfb8-4f2d-ab44-ef4e439179a3", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"88671d5b-cfb8-4f2d-ab44-ef4e439179a3\",\"lastUpdateDateTime\":\"2021-05-12T19:16:44Z\",\"createdDateTime\":\"2021-05-12T19:16:43Z\",\"expirationDateTime\":\"2021-05-13T19:16:43Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "cce19349-00ec-4ad9-897d-db9bf6c7c815", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:46 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "59" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "4adc882e0d55167440d4dcf91de2f375" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json deleted file mode 100644 index 0f51454f214c..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "recordings": [ - { - "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", - "query": { - "stringIndexType": "Utf16CodeUnit" - }, - "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I should take my cat to the veterinarian.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]}", - "status": 202, - "response": "", - "responseHeaders": { - "apim-request-id": "b3828db8-1b29-4cdb-8710-b5d40ce87f4b", - "date": "Wed, 12 May 2021 19:16:46 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/6806da9e-b234-424e-8153-367c0a149545", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "118" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/6806da9e-b234-424e-8153-367c0a149545", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"6806da9e-b234-424e-8153-367c0a149545\",\"lastUpdateDateTime\":\"2021-05-12T19:16:46Z\",\"createdDateTime\":\"2021-05-12T19:16:46Z\",\"expirationDateTime\":\"2021-05-13T19:16:46Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "a7b9ba0e-edf8-4558-ba80-325955c0b0d3", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:46 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/6806da9e-b234-424e-8153-367c0a149545", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"6806da9e-b234-424e-8153-367c0a149545\",\"lastUpdateDateTime\":\"2021-05-12T19:16:46Z\",\"createdDateTime\":\"2021-05-12T19:16:46Z\",\"expirationDateTime\":\"2021-05-13T19:16:46Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "b691075b-9780-4eb2-b7fd-250759bb9606", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:46 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/6806da9e-b234-424e-8153-367c0a149545", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"6806da9e-b234-424e-8153-367c0a149545\",\"lastUpdateDateTime\":\"2021-05-12T19:16:48Z\",\"createdDateTime\":\"2021-05-12T19:16:46Z\",\"expirationDateTime\":\"2021-05-13T19:16:46Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":28,\"length\":12,\"text\":\"veterinarian\",\"category\":\"HealthcareProfession\",\"confidenceScore\":0.96}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "569559cd-3735-4f6d-877e-90d94b060ff5", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:48 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "47" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/6806da9e-b234-424e-8153-367c0a149545", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"6806da9e-b234-424e-8153-367c0a149545\",\"lastUpdateDateTime\":\"2021-05-12T19:16:48Z\",\"createdDateTime\":\"2021-05-12T19:16:46Z\",\"expirationDateTime\":\"2021-05-13T19:16:46Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":28,\"length\":12,\"text\":\"veterinarian\",\"category\":\"HealthcareProfession\",\"confidenceScore\":0.96}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", - "responseHeaders": { - "apim-request-id": "eb837b14-574a-4e38-b85a-97188b0ba7f8", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:48 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "51" - } - } - ], - "uniqueTestInfo": { - "uniqueName": {}, - "newDate": {} - }, - "hash": "1e7b9cd21676e1b8f6bf112b4e2d4b34" -} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_analyzesentiment.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json similarity index 91% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_analyzesentiment.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json index ca654f764d66..8a699682c8b3 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_analyzesentiment.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/sentiment", + "url": "https://endpoint//text/analytics/v3.1/sentiment", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,14 +10,14 @@ "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"offset\":0,\"length\":86,\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":58,\"text\":\"Unfortunately, it rained during my entire trip to Seattle.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.7,\"negative\":0.29},\"offset\":59,\"length\":43,\"text\":\"I didn't even get to visit the Space Needle\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":101,\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"offset\":0,\"length\":42,\"text\":\"I didn't like the last book I read at all.\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", "responseHeaders": { - "apim-request-id": "93d08cba-f5f0-4beb-9d91-fb55fb5c067f", + "apim-request-id": "3e9d2cad-b182-4c70-9af9-c13b466027b1", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", - "date": "Wed, 12 May 2021 19:15:34 GMT", + "date": "Fri, 25 Jun 2021 20:13:01 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "133" + "x-envoy-upstream-service-time": "95" } } ], @@ -25,5 +25,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "2d3ddb7d1b05de7103111726c9c7766e" + "hash": "8b01993817087370bb908d9a38a4c2e3" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..9fea88df3332 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/sentiment", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"offset\":0,\"length\":86,\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":58,\"text\":\"Unfortunately, it rained during my entire trip to Seattle.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.7,\"negative\":0.29},\"offset\":59,\"length\":43,\"text\":\"I didn't even get to visit the Space Needle\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":101,\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"offset\":0,\"length\":42,\"text\":\"I didn't like the last book I read at all.\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", + "responseHeaders": { + "apim-request-id": "f3121fed-b145-4cfb-81b7-d02ac60033b9", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "94" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "4b8d21704d9ca84d28e03111e415243b" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json new file mode 100644 index 000000000000..e79409c21954 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/sentiment", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"offset\":0,\"length\":86,\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":58,\"text\":\"Unfortunately, it rained during my entire trip to Seattle.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.7,\"negative\":0.29},\"offset\":59,\"length\":43,\"text\":\"I didn't even get to visit the Space Needle\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":101,\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"offset\":0,\"length\":42,\"text\":\"I didn't like the last book I read at all.\"}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.89,\"neutral\":0.08,\"negative\":0.03},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.89,\"neutral\":0.08,\"negative\":0.03},\"offset\":0,\"length\":73,\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\"}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.11,\"neutral\":0.29,\"negative\":0.6},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.11,\"neutral\":0.29,\"negative\":0.6},\"offset\":0,\"length\":29,\"text\":\"La carretera estaba atascada.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.09,\"neutral\":0.58,\"negative\":0.33},\"offset\":30,\"length\":35,\"text\":\"Había mucho tráfico el día de ayer.\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", + "responseHeaders": { + "apim-request-id": "a223876d-946a-43b4-a65b-83a7dd988474", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "date": "Fri, 25 Jun 2021 20:13:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "124" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "00180065469789c0a8b259a0b5727975" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json new file mode 100644 index 000000000000..6dfe8514ae3c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.json @@ -0,0 +1,30 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/sentiment", + "query": { + "stringIndexType": "Utf16CodeUnit", + "opinionMining": "true" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"The food and service is not good\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":32,\"text\":\"The food and service is not good\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":13,\"length\":7,\"text\":\"service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":28,\"length\":4,\"text\":\"good\",\"isNegated\":true}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", + "responseHeaders": { + "apim-request-id": "a475bc2c-d758-4c6e-a13d-7c9601561ecc", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "122" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "a8f83bf62f937724c49fbdc52c92cd01" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json new file mode 100644 index 000000000000..18eeca9aa7df --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.json @@ -0,0 +1,30 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/sentiment", + "query": { + "stringIndexType": "Utf16CodeUnit", + "opinionMining": "true" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"today is a hot day\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.1,\"neutral\":0.88,\"negative\":0.02},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.1,\"neutral\":0.88,\"negative\":0.02},\"offset\":0,\"length\":18,\"text\":\"today is a hot day\",\"targets\":[],\"assessments\":[]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", + "responseHeaders": { + "apim-request-id": "a76a8d51-549c-417b-8f75-bb7f1e4acb9e", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5094" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "4a32b51201e582791f5a784bb39eb256" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json new file mode 100644 index 000000000000..6fad396d4a49 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.json @@ -0,0 +1,30 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/sentiment", + "query": { + "stringIndexType": "Utf16CodeUnit", + "opinionMining": "true" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"It has a sleek premium aluminum design that makes it beautiful to look at.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.98,\"neutral\":0.02,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.98,\"neutral\":0.02,\"negative\":0.0},\"offset\":0,\"length\":74,\"text\":\"It has a sleek premium aluminum design that makes it beautiful to look at.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":32,\"length\":6,\"text\":\"design\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":9,\"length\":5,\"text\":\"sleek\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":7,\"text\":\"premium\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", + "responseHeaders": { + "apim-request-id": "8082cc76-1e53-400d-92c8-827aea989b5c", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "125" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "aec5e48e164c2a8b36c1b91efb4e6a75" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..bba3bd417dfe --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.json @@ -0,0 +1,8 @@ +{ + "recordings": [], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "cabbc96937b89ec2ffef29ca710c8540" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json new file mode 100644 index 000000000000..7fe363166e93 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.json @@ -0,0 +1,30 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/sentiment", + "query": { + "stringIndexType": "Utf16CodeUnit", + "opinionMining": "true" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"The food was unacceptable\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"The rooms were beautiful. The AC was good and quiet.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The breakfast was good, but the toilet was smelly.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"The toilet smelled.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":25,\"text\":\"The food was unacceptable\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":13,\"length\":12,\"text\":\"unacceptable\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":25,\"text\":\"The rooms were beautiful.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":9,\"text\":\"beautiful\",\"isNegated\":false}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":26,\"length\":26,\"text\":\"The AC was good and quiet.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":30,\"length\":2,\"text\":\"AC\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":37,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":46,\"length\":5,\"text\":\"quiet\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"offset\":0,\"length\":50,\"text\":\"The breakfast was good, but the toilet was smelly.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":32,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":18,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":43,\"length\":6,\"text\":\"smelly\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":71,\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":11,\"length\":5,\"text\":\"hotel\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":24,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":41,\"length\":15,\"text\":\"shuttle service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":65,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/3\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":19,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":36,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":5,\"text\":\"loved\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":59,\"length\":5,\"text\":\"clean\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":56,\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.97,\"negative\":0.03},\"offset\":27,\"length\":4,\"text\":\"view\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":8,\"length\":5,\"text\":\"great\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.93,\"negative\":0.07},\"offset\":14,\"length\":12,\"text\":\"unobstructed\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":75,\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":5,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/5/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":15,\"length\":9,\"text\":\"bathrooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/5/sentences/0/assessments/1\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":42,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/5/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":30,\"length\":3,\"text\":\"old\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":53,\"length\":5,\"text\":\"dirty\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"offset\":0,\"length\":19,\"text\":\"The toilet smelled.\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/6/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":11,\"length\":7,\"text\":\"smelled\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}", + "responseHeaders": { + "apim-request-id": "a5cb2826-af77-40e2-b5f6-cca2dd20c15d", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7", + "date": "Fri, 25 Jun 2021 20:13:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5100" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "40f144d24f3fb5c645999a2c78b3953e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json new file mode 100644 index 000000000000..6630c0f6fcfe --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/sentiment", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.99,\"neutral\":0.01,\"negative\":0.0},\"offset\":0,\"length\":86,\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":58,\"text\":\"Unfortunately, it rained during my entire trip to Seattle.\"},{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.7,\"negative\":0.29},\"offset\":59,\"length\":43,\"text\":\"I didn't even get to visit the Space Needle\"}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":101,\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.03,\"negative\":0.96},\"offset\":0,\"length\":42,\"text\":\"I didn't like the last book I read at all.\"}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2020-04-01\"}", + "responseHeaders": { + "apim-request-id": "1536e805-5336-415d-96bf-d2b60847fd29", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "91" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "e151e8485409be49c4aed9e1e27f646b" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json new file mode 100644 index 000000000000..fe1f7a4b70e9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.json @@ -0,0 +1,28 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/sentiment", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Hello world!\",\"language\":\"notalanguage\"}]}", + "status": 200, + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: de,en,es,fr,hi,it,ja,ko,nl,no,pt-BR,pt-PT,tr,zh-Hans,zh-Hant. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis\"}}}],\"modelVersion\":\"2020-04-01\"}", + "responseHeaders": { + "apim-request-id": "77de83cb-5d0f-4761-a81f-2b70353b05f5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "95dc0a75a7e111778cfbf0de50a24cb0" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_detectlanguage.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json similarity index 75% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_detectlanguage.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json index 13974fe04ba2..cef4619473c4 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_fast_tests/recording_detectlanguage.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.json @@ -2,20 +2,20 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/languages", + "url": "https://endpoint//text/analytics/v3.1/languages", "query": {}, "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"impossible\",\"countryHint\":\"fr\"}]}", "status": 200, "response": "{\"documents\":[{\"id\":\"0\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":0.58},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", "responseHeaders": { - "apim-request-id": "5880a476-f4ea-4db4-b554-e7a9fc05a1b6", + "apim-request-id": "5289d52c-52df-4e64-8a6a-71df1dcad9a9", "content-type": "application/json; charset=utf-8", "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", - "date": "Wed, 12 May 2021 19:15:39 GMT", + "date": "Fri, 25 Jun 2021 20:13:13 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5019" + "x-envoy-upstream-service-time": "7" } } ], @@ -23,5 +23,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "0010d529ddf2649324285dbec228befe" + "hash": "1c00e733f3426ca4c2ad539a5e61d689" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json new file mode 100644 index 000000000000..1aef7cfe091e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.json @@ -0,0 +1,27 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/languages", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"countryHint\":\"mx\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"countryHint\":\"mx\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"1\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"2\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"3\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"4\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"5\",\"detectedLanguage\":{\"name\":\"Spanish\",\"iso6391Name\":\"es\",\"confidenceScore\":0.99},\"warnings\":[]},{\"id\":\"6\",\"detectedLanguage\":{\"name\":\"Spanish\",\"iso6391Name\":\"es\",\"confidenceScore\":1.0},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", + "responseHeaders": { + "apim-request-id": "5bb7bde7-2975-4259-9513-1911defe536a", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "date": "Fri, 25 Jun 2021 20:13:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "fe64a916306e48562569c99a6f167f98" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json new file mode 100644 index 000000000000..617dbbc0eaac --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.json @@ -0,0 +1,27 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/languages", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"countryHint\":\"us\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"countryHint\":\"us\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"countryHint\":\"us\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"countryHint\":\"us\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"1\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"2\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"3\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", + "responseHeaders": { + "apim-request-id": "53883c64-9f89-49b1-8665-45576830b9c5", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "cf45d28b6431c9dcf6e5585c883eeed6" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json new file mode 100644 index 000000000000..c803186a0dc5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.json @@ -0,0 +1,27 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/languages", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"countryHint\":\"\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"countryHint\":\"\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"countryHint\":\"\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\",\"countryHint\":\"\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"countryHint\":\"\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"countryHint\":\"\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"1\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"2\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"3\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"4\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":1.0},\"warnings\":[]},{\"id\":\"5\",\"detectedLanguage\":{\"name\":\"Spanish\",\"iso6391Name\":\"es\",\"confidenceScore\":0.99},\"warnings\":[]},{\"id\":\"6\",\"detectedLanguage\":{\"name\":\"Spanish\",\"iso6391Name\":\"es\",\"confidenceScore\":1.0},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", + "responseHeaders": { + "apim-request-id": "98588c70-1f66-4c01-b0ff-56dbcb3c2a47", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "date": "Fri, 25 Jun 2021 20:13:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "07a89b99a0d5d9f650d0b29b95719c66" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json new file mode 100644 index 000000000000..778a5a956182 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.json @@ -0,0 +1,27 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/languages", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I use Azure Functions to develop my service.\",\"countryHint\":\"\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"detectedLanguage\":{\"name\":\"English\",\"iso6391Name\":\"en\",\"confidenceScore\":0.95},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-05\"}", + "responseHeaders": { + "apim-request-id": "62bbf161-c272-400c-91fb-2e0f78eb1c7d", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "1e4ad2fbcfb9705b49f259dce5dd663f" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..f837cfbc7c5b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.json @@ -0,0 +1,8 @@ +{ + "recordings": [], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7a76e1e1e89f55f4e595e2fbaeab47ee" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json new file mode 100644 index 000000000000..846cf98a30ff --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.json @@ -0,0 +1,26 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/languages", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"hello\",\"countryHint\":\"invalidcountry\"}]}", + "status": 200, + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Country Hint.\",\"innererror\":{\"code\":\"InvalidCountryHint\",\"message\":\"Country hint is not valid. Please specify an ISO 3166-1 alpha-2 two letter country code.\"}}}],\"modelVersion\":\"2021-01-05\"}", + "responseHeaders": { + "apim-request-id": "00000504-9014-4808-9b33-a072d7aea5d4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "47fb39e4d90d4d4f6b254f5b853c7a94" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..12c9fe88c7f1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,27 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/keyPhrases", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"wonderful trip\",\"Space Needle\",\"Seattle\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space\",\"Needle\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"movie\",\"Saturday\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"last book\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"Los\",\"caminos\",\"Monte\",\"Rainier\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"mucho tráfico\",\"carretera\",\"ayer\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "588bacdc-26e1-4085-a06e-e12be71d0325", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6", + "date": "Fri, 25 Jun 2021 20:13:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "35" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "b1fef77e495c77fd0f24ac797998e7cd" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..d0f5b435229e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,27 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/keyPhrases", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"wonderful trip\",\"Space Needle\",\"Seattle\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space\",\"Needle\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"movie\",\"Saturday\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"last book\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "e8f570f9-5f69-4d0f-a21a-8d3ddb332697", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "21" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "87d3297b8831a7187e4fc0b3fbb0c461" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..dd96fa6cce37 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,27 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/keyPhrases", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"wonderful trip\",\"Space Needle\",\"Seattle\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"entire trip\",\"Seattle\",\"Space\",\"Needle\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"movie\",\"Saturday\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"last book\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "ebcefd6c-38c8-46a8-b421-21c8704ebe91", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "22" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "0615d3d4c4fd132428e37ddec4e40fdd" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..0936c6c18e4e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.json @@ -0,0 +1,8 @@ +{ + "recordings": [], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "e3619dd2bea2cc5858c29bf862efe4bd" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..25c4ec582d40 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,26 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/keyPhrases", + "query": {}, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This is some text, but it doesn't matter.\",\"language\":\"notalanguage\"}]}", + "status": 200, + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "6eed092c-e438-4ac4-a02b-cab2a2d5e18c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7a23f594562b7234b10430b3185b9a05" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..0acc08a2df49 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"5\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":18,\"length\":4,\"confidenceScore\":0.65},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.95},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":42,\"length\":4,\"confidenceScore\":0.79},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":90,\"length\":12,\"confidenceScore\":0.94}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"Monte Rainier\",\"category\":\"Location\",\"offset\":29,\"length\":13,\"confidenceScore\":0.74}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"carretera\",\"category\":\"Location\",\"offset\":3,\"length\":9,\"confidenceScore\":0.84},{\"text\":\"ayer\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":60,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "556c06e9-81f6-448a-bbaa-dbd410483b84", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "date": "Fri, 25 Jun 2021 20:13:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5077" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7c7eca1ef4566913e8eabad160d2de95" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..6724e9231c57 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":18,\"length\":4,\"confidenceScore\":0.65},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.95},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":42,\"length\":4,\"confidenceScore\":0.79},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":90,\"length\":12,\"confidenceScore\":0.94}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"book\",\"category\":\"Product\",\"offset\":23,\"length\":4,\"confidenceScore\":0.93}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "8bb0cfcc-344b-471f-a3e7-7c508234e1cd", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7573" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "483ba314d4233192906e80e6e7456301" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..004826bf591c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":18,\"length\":4,\"confidenceScore\":0.65},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":26,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":65,\"length\":12,\"confidenceScore\":0.95},{\"text\":\"2\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":78,\"length\":1,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"trip\",\"category\":\"Event\",\"offset\":42,\"length\":4,\"confidenceScore\":0.79},{\"text\":\"Seattle\",\"category\":\"Location\",\"subcategory\":\"GPE\",\"offset\":50,\"length\":7,\"confidenceScore\":1.0},{\"text\":\"Space Needle\",\"category\":\"Location\",\"offset\":90,\"length\":12,\"confidenceScore\":0.94}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"book\",\"category\":\"Product\",\"offset\":23,\"length\":4,\"confidenceScore\":0.93}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "e82c97a9-03fa-4ec0-a683-35c027bd4712", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:20 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5041" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "ba84ff7f5448122a1514c4eb618c81eb" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..5da388ecadb8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,28 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", + "status": 400, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Batch request contains too many records. Max 5 records are permitted.\"}}}", + "responseHeaders": { + "apim-request-id": "ae1a0d69-7ebc-44fb-b8d9-b690a1b3aa46", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7de71703965569a57d9c84d5ae95763a" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..678b6ed2704e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.json @@ -0,0 +1,8 @@ +{ + "recordings": [], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "aa30e0a7c5dbe20f0e0c7ccd6c0fb095" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..431346c5b5cd --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,28 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This is some text, but it doesn't matter.\",\"language\":\"notalanguage\"}]}", + "status": 200, + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "906df1a7-4f01-4bd8-bcd8-5bbf5713c549", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "93d3c5553b3c71f204cb6844585dc315" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..4df068be12e3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/linking", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"5\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"bingId\":\"9ae3e6ca-81ea-6fa1-ffa0-42e1d7890906\",\"name\":\"Monte Rainier\",\"matches\":[{\"text\":\"Monte Rainier\",\"offset\":29,\"length\":13,\"confidenceScore\":0.81}],\"language\":\"es\",\"id\":\"Monte Rainier\",\"url\":\"https://es.wikipedia.org/wiki/Monte_Rainier\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "48af1f8f-6b51-47d3-9997-3adbd2976e41", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "date": "Fri, 25 Jun 2021 20:13:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "195" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "e409ba5d8d13f9e12d9f5e0ea02b9921" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..a2c9dc003d3d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/linking", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "6a661565-8a7f-43af-a26b-640f7a8d8cb5", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "16" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "4f0d5d390bc38c36eaf5bdaaa4349e83" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..89bc505d4e4d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/linking", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"id\":\"0\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":26,\"length\":7,\"confidenceScore\":0.21}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":65,\"length\":12,\"confidenceScore\":0.42}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"bingId\":\"5fbba6b8-85e1-4d41-9444-d9055436e473\",\"name\":\"Seattle\",\"matches\":[{\"text\":\"Seattle\",\"offset\":50,\"length\":7,\"confidenceScore\":0.2}],\"language\":\"en\",\"id\":\"Seattle\",\"url\":\"https://en.wikipedia.org/wiki/Seattle\",\"dataSource\":\"Wikipedia\"},{\"bingId\":\"f8dd5b08-206d-2554-6e4a-893f51f4de7e\",\"name\":\"Space Needle\",\"matches\":[{\"text\":\"Space Needle\",\"offset\":90,\"length\":12,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Space Needle\",\"url\":\"https://en.wikipedia.org/wiki/Space_Needle\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"bingId\":\"296617ab-4ddb-cc10-beba-56e0f42af76b\",\"name\":\"Saturday\",\"matches\":[{\"text\":\"Saturday\",\"offset\":25,\"length\":8,\"confidenceScore\":0.05}],\"language\":\"en\",\"id\":\"Saturday\",\"url\":\"https://en.wikipedia.org/wiki/Saturday\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "e174c575-5389-4d3f-988b-b0da44814969", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "18" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "30c29afb38fdf2180cc2cedeb3f4fc16" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json new file mode 100644 index 000000000000..d6b30b1f039b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.json @@ -0,0 +1,28 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/general", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"6\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", + "status": 400, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Batch request contains too many records. Max 5 records are permitted.\"}}}", + "responseHeaders": { + "apim-request-id": "7683a61c-7a40-4626-b3ef-f6f8c92bf91a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "4" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7de71703965569a57d9c84d5ae95763a" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..6e5f1ec654ea --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.json @@ -0,0 +1,8 @@ +{ + "recordings": [], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "85638de68feea86c1695a14c61ca59de" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..7d5497ae5e97 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,28 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/linking", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This is some text, but it doesn't matter.\",\"language\":\"notalanguage\"}]}", + "status": 200, + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}", + "responseHeaders": { + "apim-request-id": "8cfa6aad-4553-4227-97ab-7436f8d57cf0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "3" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "5fb15576b315482f44754cc0f6d91801" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json new file mode 100644 index 000000000000..d62651155505 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.json @@ -0,0 +1,30 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit", + "domain": "PHI" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I work at Microsoft and my phone number is 333-333-3333\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"I work at ********* and my phone number is ************\",\"id\":\"0\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":10,\"length\":9,\"confidenceScore\":0.95},{\"text\":\"333-333-3333\",\"category\":\"PhoneNumber\",\"offset\":43,\"length\":12,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "e3dbaa3b-cf5d-4b65-b28e-32dad99c5075", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "34" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "6aacb0e9cdd05e66fe9904538c611eab" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json new file mode 100644 index 000000000000..b80c7922b273 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.json @@ -0,0 +1,30 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit", + "piiCategories": "USSocialSecurityNumber" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Patient name is Joe and SSN is 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"Patient name is Joe and SSN is ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":31,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "25fdc7ac-becc-41b7-a6d8-cb4fe758a964", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "61" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "715a39f4e2fef48461eed60ed7c423ec" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json new file mode 100644 index 000000000000..e29755a84ce9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"language\":\"es\"},{\"id\":\"5\",\"text\":\"La carretera estaba atascada. Había mucho tráfico el día de ayer.\",\"language\":\"es\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!\",\"id\":\"1\",\"entities\":[{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.\",\"id\":\"3\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"La carretera estaba atascada. Había mucho tráfico el día de ****.\",\"id\":\"5\",\"entities\":[{\"text\":\"ayer\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":60,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "42f69092-6f27-422a-ab9d-0fc3d3884e50", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5", + "date": "Fri, 25 Jun 2021 20:13:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2548" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "5ec8aaf6662a33e07532390829e62e7a" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json new file mode 100644 index 000000000000..b5f81f66274c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!\",\"id\":\"0\",\"entities\":[{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.\",\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"I didn't like the last book I read at all.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "8991966b-c527-485b-aaed-8e27c2ad0bb5", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2562" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "a7239aa57ac74e2a4ab2321e2ed80998" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json new file mode 100644 index 000000000000..061ac6d81d38 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"I didn't like the last book I read at all.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!\",\"id\":\"0\",\"entities\":[{\"text\":\"last week\",\"category\":\"DateTime\",\"subcategory\":\"DateRange\",\"offset\":34,\"length\":9,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.\",\"id\":\"2\",\"entities\":[{\"text\":\"Saturday\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":25,\"length\":8,\"confidenceScore\":0.8}],\"warnings\":[]},{\"redactedText\":\"I didn't like the last book I read at all.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "e937945e-62a0-44f4-be06-68e6202ee878", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4", + "date": "Fri, 25 Jun 2021 20:13:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2564" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "44cf1e73908b195dbdfa52311ea4fdef" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json new file mode 100644 index 000000000000..4123e4efb626 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Your Social Security Number is 859-98-0987.\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"Your Social Security Number is ***********.\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":31,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "dabbf83c-f398-47d3-bb53-e0de91937864", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "57" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "30fd28c96f68f1a412fbad3315f2a3a2" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json new file mode 100644 index 000000000000..bc83de4e5d15 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.json @@ -0,0 +1,28 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[]}", + "status": 400, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid Request.\",\"innererror\":{\"code\":\"MissingInputRecords\",\"message\":\"Missing input records.\"}}}", + "responseHeaders": { + "apim-request-id": "6540eab1-9356-4b0e-be4d-e4658c24e01f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "4" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "01afa681adb7f537c0fd8ec67214b5c0" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json new file mode 100644 index 000000000000..6a4b6a20b51e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.json @@ -0,0 +1,50 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Patient name is Joe and SSN is 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"Patient name is *** and SSN is ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"Joe\",\"category\":\"Person\",\"offset\":16,\"length\":3,\"confidenceScore\":0.79},{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":31,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "ba611fc6-ce54-4e1e-9083-4ae7cca79f3f", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "30" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit", + "piiCategories": "USSocialSecurityNumber" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Patient name is Joe and SSN is 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"Patient name is Joe and SSN is ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":31,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "bd318be5-c605-42e9-9bf5-9dc4e716662e", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Fri, 25 Jun 2021 20:13:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "53" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "de5b4b37967461f9ed943fb6f84228e5" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json new file mode 100644 index 000000000000..f017a55b27e6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.json @@ -0,0 +1,28 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This is some text, but it doesn't matter.\",\"language\":\"notalanguage\"}]}", + "status": 200, + "response": "{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: de,en,es,fr,it,ja,ko,pt-BR,pt-PT,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "ba4f80e7-c7f3-4e57-9790-6929e5457246", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "3" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "80acdc66d0bcc0cc3b0446e597fc56bf" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json new file mode 100644 index 000000000000..2b1479a67a98 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"año SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "18b48034-4234-4281-a768-d086f661aab6", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "47" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "1405fd53d6237d457a1bba0408b1e696" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json new file mode 100644 index 000000000000..b555bc4819a5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"año SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "19b1a744-3e61-43ea-904d-d0d44a15a78f", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "52" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "bd8f8e11c32bea3ce834804ae6e55eba" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json new file mode 100644 index 000000000000..e237fd082dc3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "f87e4420-f7cf-47c9-9e77-5d7a7a58a025", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "31" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "908cd4b4839d69ee785150461c56ff98" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..a0e663d4d10e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩🏻 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "ab01d0ca-2dd2-49f1-b058-051d80d1c7b2", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "31" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "567cf9233223f7f12a6a5228401a4c20" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json new file mode 100644 index 000000000000..5fa98645d39c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩‍👩‍👧‍👧 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩‍👩‍👧‍👧 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "1222f2cd-598f-4139-85be-9cf1d9fa15ee", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "37" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "8d00943bbcf0fb21630156b78d055772" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json new file mode 100644 index 000000000000..64e20e39725a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"아가 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "286c3d09-583a-4cd8-864c-7581d7c3299c", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "56" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "36d5a15867f64e61b29bc146c4ef9483" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json new file mode 100644 index 000000000000..3a71c4d6889c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"아가 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "f93d3991-8de7-4cdd-a578-a3a1a6f255c8", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "57" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "36d5a15867f64e61b29bc146c4ef9483" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json new file mode 100644 index 000000000000..1033f87a4f43 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":121,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "53ce2e5a-8e99-4691-abcc-e5e5a50c3e42", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "240" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7087283e7c49a7af17336acd08edebd6" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json new file mode 100644 index 000000000000..84a57788febb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "TextElement_v8" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"año SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "8b557175-8369-409c-88ca-35b56fe056ca", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "50" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "c4168ce455743735cc3b0867596a0298" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json new file mode 100644 index 000000000000..4dfad4031866 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "TextElement_v8" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"año SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "663e15b9-23c0-4124-bce4-dd845f1e2a91", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "52" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "97deed18f72cb452533d75fe71f106cd" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json new file mode 100644 index 000000000000..70bcffcf009f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "TextElement_v8" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "49770590-f4ea-4ff8-ae0b-714131961c76", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "40" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "4e42b362a5c0bfae3331b57329538488" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..c104ad193c39 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "TextElement_v8" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩🏻 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "440fcb00-4377-4aed-96d6-85c2fd4064d8", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "30" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "c819adc2f07c63a60990e748cd4d68e9" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json new file mode 100644 index 000000000000..ba7595b3fc71 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "TextElement_v8" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩‍👩‍👧‍👧 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩‍👩‍👧‍👧 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "94c92005-cfdc-418f-b5cc-943e58ddeb4f", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "44" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "3a2084188b00fbb623bd37ce1666c56e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json new file mode 100644 index 000000000000..1afbf8095e30 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "TextElement_v8" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"아가 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "d08db718-4f0c-4687-bc93-e5b8396411cf", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "28" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "b748441acac968abb561573139954822" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json new file mode 100644 index 000000000000..82badc81c1c3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "TextElement_v8" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"아가 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "b85fdc31-fa87-49a7-86a5-40ff4d895f43", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "51" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "b748441acac968abb561573139954822" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json new file mode 100644 index 000000000000..5c267df1ccb6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "TextElement_v8" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "1c737007-e782-4eac-a20f-ab889e7fbbba", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "242" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "5666bd084b5377efc9af0f8dd722e62b" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json new file mode 100644 index 000000000000..81ab3159f839 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"año SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":9,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "fd3f11fc-a7e5-4d5a-953d-7ab3fdac701f", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "49" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "ab9960d541e7c4bd338117cb7daf5920" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json new file mode 100644 index 000000000000..8290da81b2c2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"año SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"año SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "eba192bf-049c-4310-8d25-84664c73df73", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "37" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "0e1b2a9dcd3d5fcaf9d7b9f44a56b3fd" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json new file mode 100644 index 000000000000..8b2375f39927 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":7,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "fbaf6114-ae06-4bd7-8a9f-4b57740bb97d", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "30" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "47884ef2981b03ff59ce02b82a931678" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json new file mode 100644 index 000000000000..a019cd93557c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩🏻 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "e386f3fe-2437-4776-86b8-ff451a50cf8e", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "62" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "caf1393d64f58fff7dfb3e2d5e88900d" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json new file mode 100644 index 000000000000..4b006b5a3234 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"👩‍👩‍👧‍👧 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"👩‍👩‍👧‍👧 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":13,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "a20acd83-51e3-4395-b4b8-032064d8875f", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "43" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "cf86e2d033b790043263dc6047ead0c2" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json new file mode 100644 index 000000000000..7b110deba802 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"아가 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "017321b1-89c4-41e8-bae3-cfb49d664f11", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "59" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "efeafd6bc19716841855e51f9bfcaae5" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json new file mode 100644 index 000000000000..3661565cc82a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"아가 SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"아가 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":8,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "531e0487-85ee-4417-9fe3-a62738f1e254", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "32" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "efeafd6bc19716841855e51f9bfcaae5" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json new file mode 100644 index 000000000000..b90a49510f8f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.json @@ -0,0 +1,29 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/recognition/pii", + "query": { + "stringIndexType": "UnicodeCodePoint" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987\",\"language\":\"en\"}]}", + "status": 200, + "response": "{\"documents\":[{\"redactedText\":\"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":121,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}", + "responseHeaders": { + "apim-request-id": "0c9a14df-2030-446d-8872-13cbfa3a24b3", + "content-type": "application/json; charset=utf-8", + "csp-billing-usage": "CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1", + "date": "Tue, 29 Jun 2021 21:09:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "119" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "44c2300ce411e8279dc446b4136bb8d1" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..e2cb77df169f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,311 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "3aadbfab-2bb3-4490-b88a-2b248ffd803d", + "date": "Fri, 25 Jun 2021 20:17:54 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "261" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:17:54Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "0b3ac845-f5e3-4e58-8dff-2b4568e3946e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:17:54Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "aeb9a053-d104-409f-820f-bbc49c6e78e3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:17:55Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "1299954f-21fa-4a82-b0c6-d0683f874ae6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:17:55Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "af8bca25-fc06-4f96-a0d8-74d9d7629512", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "24" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:17:55Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "112c1537-de82-4515-906a-35612af0b7c2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "34" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:17:55Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "850265ec-cba7-4693-933d-22944d696d62", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:17:55Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "5090cf8b-688e-4706-aa30-0d740202cef5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:18:05Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:05.350574Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "404e5878-c6c9-404d-aba0-a24b8eb5ac35", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "58" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:18:05Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:05.350574Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "8596a0aa-ffd4-416b-8de5-c07a40001f2c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "64" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:18:05Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:05.350574Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "df0e9fcb-3de6-4294-a2e6-4c611fbaca28", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:11 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "61" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:18:13Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:13.4004191Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:05.350574Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "ab9e9cff-dbbf-4006-bf45-0adb446d6a50", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "108" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:18:13Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:13.4004191Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:05.350574Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "3da8e93f-2fa5-4639-9691-a72ed0510839", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "128" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:18:13Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:13.4004191Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:05.350574Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a37bdaab-89ac-448e-94c6-e915281f193b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "117" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:18:19Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:13.4004191Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:05.350574Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:19.1701976Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "871192cd-933d-4f71-85d8-683bc403c036", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:20 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "172" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/b28e81e1-1f40-4a02-869c-bc466f5fbe95", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"b28e81e1-1f40-4a02-869c-bc466f5fbe95\",\"lastUpdateDateTime\":\"2021-06-25T20:18:19Z\",\"createdDateTime\":\"2021-06-25T20:17:54Z\",\"expirationDateTime\":\"2021-06-26T20:17:54Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:13.4004191Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:05.350574Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:19.1701976Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "2978a2fc-a67b-4317-85de-4cf8c09d7e69", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:20 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "191" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "31bfac5ad44409ca98708bce61443165" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json new file mode 100644 index 000000000000..a73d3f502c21 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.json @@ -0,0 +1,26 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 400, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Document text is empty.\"}}}", + "responseHeaders": { + "apim-request-id": "3ea8359c-ab7f-4b75-85d6-b8fd98a8a044", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "f9f441a825a1fe550fcd21e25757994a" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json new file mode 100644 index 000000000000..3321eed104f6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.json @@ -0,0 +1,311 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at.\",\"language\":\"\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food.\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "eeaf32b2-1061-4bb6-b088-cbeb7662471b", + "date": "Fri, 25 Jun 2021 20:21:18 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "266" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:19Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "e2deaad7-d533-4163-aed0-c06fd674dea6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:19Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "96fa2a04-6e91-4aa2-9d67-f38130f6df89", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:19Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "0dd7429e-ba1d-41fc-bf21-8a98dee05876", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:19Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "726edee2-dc1e-49ab-9944-5c50cd5ab2c2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:19Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "3cf494e1-efb1-4ea2-9c7f-6e6a5245e70e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:25 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:26Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "c08382a0-e95f-4ee3-b1fb-139c76d7da08", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "56" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:26Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "bb601578-911a-4726-9d26-f933119ab100", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "48" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:26Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "205d0a31-38cf-4819-b101-27ddde8b91e2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "81" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:33Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:33.051761Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a8d48588-a298-46a6-9b76-9c9186e7edfe", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "125" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:33Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:33.051761Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c9072ccb-5b12-403f-9f36-e23b502dec63", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:35 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "119" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:33Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:33.051761Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "b79737c9-cd3c-4717-9749-bfeada6736dd", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "122" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:33Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:33.051761Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "1270e37f-f600-4ac7-af0a-9217596befb4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "90" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:33Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:33.051761Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "b99105bd-159f-44db-9cfb-9889d154635f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "130" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:43Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:33.051761Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:43.0897577Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"good food\",\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b7be340d-5b22-40a7-b8fd-0f912a8c1f95", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "178" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/9f126ea4-2c47-47b6-813e-7388c4dae922", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"9f126ea4-2c47-47b6-813e-7388c4dae922\",\"lastUpdateDateTime\":\"2021-06-25T20:21:43Z\",\"createdDateTime\":\"2021-06-25T20:21:18Z\",\"expirationDateTime\":\"2021-06-26T20:21:18Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:26.2208566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:33.051761Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant had really good food.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:43.0897577Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"good food\",\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "bed20f1e-47ef-4ca9-bead-665393b6cd63", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "175" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "36897fdd6ebafb0b68c76afe29d7a3d4" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json new file mode 100644 index 000000000000..3450ccabbeb9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.json @@ -0,0 +1,159 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"UnicodeCodePoint\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "5c638ee0-bd31-4908-bf9b-db7281847708", + "date": "Fri, 25 Jun 2021 20:23:03 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/37c213de-7812-4ca3-a600-0bf456684905", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "300" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/37c213de-7812-4ca3-a600-0bf456684905", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"37c213de-7812-4ca3-a600-0bf456684905\",\"lastUpdateDateTime\":\"2021-06-25T20:23:04Z\",\"createdDateTime\":\"2021-06-25T20:23:03Z\",\"expirationDateTime\":\"2021-06-26T20:23:03Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "915bd686-2c3c-4ff7-b356-3c9bd693ff58", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/37c213de-7812-4ca3-a600-0bf456684905", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"37c213de-7812-4ca3-a600-0bf456684905\",\"lastUpdateDateTime\":\"2021-06-25T20:23:04Z\",\"createdDateTime\":\"2021-06-25T20:23:03Z\",\"expirationDateTime\":\"2021-06-26T20:23:03Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "9f07c1f7-8f27-4124-854b-550023176f8f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/37c213de-7812-4ca3-a600-0bf456684905", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"37c213de-7812-4ca3-a600-0bf456684905\",\"lastUpdateDateTime\":\"2021-06-25T20:23:04Z\",\"createdDateTime\":\"2021-06-25T20:23:03Z\",\"expirationDateTime\":\"2021-06-26T20:23:03Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "79f7befe-5140-4d08-9281-fa67f1e6c373", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:05 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "16" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/37c213de-7812-4ca3-a600-0bf456684905", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"37c213de-7812-4ca3-a600-0bf456684905\",\"lastUpdateDateTime\":\"2021-06-25T20:23:04Z\",\"createdDateTime\":\"2021-06-25T20:23:03Z\",\"expirationDateTime\":\"2021-06-26T20:23:03Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "434b332c-7e5e-46d5-a9c3-db6731590662", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/37c213de-7812-4ca3-a600-0bf456684905", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"37c213de-7812-4ca3-a600-0bf456684905\",\"lastUpdateDateTime\":\"2021-06-25T20:23:04Z\",\"createdDateTime\":\"2021-06-25T20:23:03Z\",\"expirationDateTime\":\"2021-06-26T20:23:03Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "2b0661df-8642-420f-bb14-1de2d8008957", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/37c213de-7812-4ca3-a600-0bf456684905", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"37c213de-7812-4ca3-a600-0bf456684905\",\"lastUpdateDateTime\":\"2021-06-25T20:23:11Z\",\"createdDateTime\":\"2021-06-25T20:23:03Z\",\"expirationDateTime\":\"2021-06-26T20:23:03Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:23:11.2381129Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "8d9b5d7f-8983-4f2f-b487-f66cacf88add", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "46" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/37c213de-7812-4ca3-a600-0bf456684905", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"37c213de-7812-4ca3-a600-0bf456684905\",\"lastUpdateDateTime\":\"2021-06-25T20:23:11Z\",\"createdDateTime\":\"2021-06-25T20:23:03Z\",\"expirationDateTime\":\"2021-06-26T20:23:03Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:23:11.2381129Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********\",\"id\":\"0\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":17,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "d9c6bf2e-7e42-4e5a-b07d-ef5078557c62", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "56" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "425e31a777619d837f737b23058c4474" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json new file mode 100644 index 000000000000..2854bb8b8f78 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.json @@ -0,0 +1,254 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This should fail because we're passing in an invalid language hint\",\"language\":\"notalanguage\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "021dd5a3-1de2-4d0f-a8dd-80d55a4a20e4", + "date": "Fri, 25 Jun 2021 20:21:58 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "213" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:21:59Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "981a8dd0-a7ec-48ba-908c-2e94bb7564eb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:21:59Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "ed1d1c6e-fcca-49d9-bc76-bee908d4b04c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:01Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "5118420d-f615-4d6a-9ab7-4e8b15ed87aa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:01Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "bde8eec8-54c3-48ca-a0fa-162396e0cbf2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "14" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:01Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "85a61f9c-5a68-4e28-aa19-4aeb1c608891", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:07Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:07.9746408Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b49b480e-7af9-4a38-bc33-2e106021ba74", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:08 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "35" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:07Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:07.9746408Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "90dbc8e3-ed9f-4651-8650-50a62f69d939", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:10 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "44" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:11Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:07.9746408Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b05d2d4d-fb18-4ddd-8f5a-d1eabdccceb2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "41" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:11Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:07.9746408Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "3780baee-56a4-44af-b540-b02444408c4a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "40" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:11Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:07.9746408Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "080970cf-60c9-4310-989a-dbab61c229a9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "44" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:18Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:07.9746408Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:18.2007041Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:18.0876076Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "7955d961-8a41-4914-bbfb-430b44edfa48", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "114" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/d36c08c5-c19a-4932-86b2-5430073e132c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d36c08c5-c19a-4932-86b2-5430073e132c\",\"lastUpdateDateTime\":\"2021-06-25T20:22:18Z\",\"createdDateTime\":\"2021-06-25T20:21:59Z\",\"expirationDateTime\":\"2021-06-26T20:21:59Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:07.9746408Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:18.2007041Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:18.0876076Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "7d395fb6-c0ca-487f-8458-c01e0f29fff8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "114" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "55a9332c301d4649020961749a1eefec" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.json new file mode 100644 index 000000000000..970521d7a584 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.json @@ -0,0 +1,26 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"bad\",\"stringIndexType\":\"TextElement_v8\"}}]}}", + "status": 400, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid parameter in request\",\"innererror\":{\"code\":\"InvalidParameterValue\",\"message\":\"Job task parameter value bad is not supported for model-version parameter for job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15.\"}}}", + "responseHeaders": { + "apim-request-id": "e19d5ce3-c7e1-459b-bb7a-75d50621af54", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 30 Jun 2021 19:34:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "35683911136f1ebaf864ca74c3f0b597" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.json new file mode 100644 index 000000000000..ddbcfe4d7dbe --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.json @@ -0,0 +1,8 @@ +{ + "recordings": [], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "64c8206f4b6d3882233f0ebe745aea90" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.json new file mode 100644 index 000000000000..12190aeee80a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.json @@ -0,0 +1,140 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"displayName\":\"testJob\",\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "5a86d30a-2835-4ee5-a3ef-1fffdb8d020f", + "date": "Fri, 25 Jun 2021 20:22:54 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/cd150628-c73e-4f39-a3e5-dfa5904a6d07", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "201" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/cd150628-c73e-4f39-a3e5-dfa5904a6d07", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"cd150628-c73e-4f39-a3e5-dfa5904a6d07\",\"lastUpdateDateTime\":\"2021-06-25T20:22:55Z\",\"createdDateTime\":\"2021-06-25T20:22:54Z\",\"expirationDateTime\":\"2021-06-26T20:22:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "5df85f48-0339-4f04-918c-8319b1244c10", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/cd150628-c73e-4f39-a3e5-dfa5904a6d07", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"cd150628-c73e-4f39-a3e5-dfa5904a6d07\",\"lastUpdateDateTime\":\"2021-06-25T20:22:55Z\",\"createdDateTime\":\"2021-06-25T20:22:54Z\",\"expirationDateTime\":\"2021-06-26T20:22:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "8ec03300-210f-4d5e-9d61-fc5a832bbcac", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/cd150628-c73e-4f39-a3e5-dfa5904a6d07", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"cd150628-c73e-4f39-a3e5-dfa5904a6d07\",\"lastUpdateDateTime\":\"2021-06-25T20:22:56Z\",\"createdDateTime\":\"2021-06-25T20:22:54Z\",\"expirationDateTime\":\"2021-06-26T20:22:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d3eceef0-09b2-4eca-903b-b8dcdf1a69db", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/cd150628-c73e-4f39-a3e5-dfa5904a6d07", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"cd150628-c73e-4f39-a3e5-dfa5904a6d07\",\"lastUpdateDateTime\":\"2021-06-25T20:22:56Z\",\"createdDateTime\":\"2021-06-25T20:22:54Z\",\"expirationDateTime\":\"2021-06-26T20:22:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "0b04d833-3452-40c1-a634-c08b9c73356f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/cd150628-c73e-4f39-a3e5-dfa5904a6d07", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"cd150628-c73e-4f39-a3e5-dfa5904a6d07\",\"lastUpdateDateTime\":\"2021-06-25T20:22:56Z\",\"createdDateTime\":\"2021-06-25T20:22:54Z\",\"expirationDateTime\":\"2021-06-26T20:22:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "cdb18743-46ad-404d-b952-5512670df38e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/cd150628-c73e-4f39-a3e5-dfa5904a6d07", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"cd150628-c73e-4f39-a3e5-dfa5904a6d07\",\"lastUpdateDateTime\":\"2021-06-25T20:23:03Z\",\"createdDateTime\":\"2021-06-25T20:22:54Z\",\"expirationDateTime\":\"2021-06-26T20:22:54Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"testJob\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:23:03.1628577Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "0979a29e-94a6-40ff-9f44-4de7af990f92", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "67" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "f1824e388e5e072cfa6552fb3e25e68c" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json new file mode 100644 index 000000000000..64990eea3af8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.json @@ -0,0 +1,767 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"56\",\"text\":\":)\"},{\"id\":\"0\",\"text\":\":(\"},{\"id\":\"22\",\"text\":\"w\"},{\"id\":\"19\",\"text\":\":P\"},{\"id\":\"1\",\"text\":\":D\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "ba473610-c82b-4b16-9404-9fc956c9a0ee", + "date": "Fri, 25 Jun 2021 20:19:00 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7923" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "a1b2b41a-4ca9-4b67-a39f-738f7177ee64", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "b2813263-c658-4ed6-bf0e-59175c98f1dd", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:02Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "608ce99f-526c-4626-b3ca-027688a2121f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:02Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "b0f27346-ddff-4bdb-9e85-26792c36845c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:02Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "49aa9dea-bb1b-4066-a91e-d4839dd2a987", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:08Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b1180b04-c36c-4468-892b-0b3ca4959c2d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "81" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:08Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "71e049da-1212-44d3-bc7f-f6762e1e18e8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "103" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:08Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "3dcdb606-6a87-4a3f-91b7-43e33039a884", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "86" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "0dd0372f-5160-4be0-a212-3f03f4301a52", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "133" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "cbfc8502-6223-4546-aaa4-afd7f762fa25", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "140" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a55d72d0-61b3-4d91-aa0c-eaa47e549142", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:20 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "154" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "58e4059f-3223-4d9c-829c-47a724260507", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "198" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "ba71155b-5e2d-452a-8afc-08d14f62e392", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:25 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "185" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "16d8f421-b571-4354-ba34-0e31a3de7bb8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "135" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "e5ddc384-f5df-4487-a295-e98797265061", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "154" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "d3f62732-9353-43a6-8796-1df02e132aff", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "186" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "8c6f0087-2926-4905-b5f1-a03f00ca6a9d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "123" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "bd2c2f04-e756-4709-ae45-d5914048b0d0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "152" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "1ef53efc-a855-45fd-8b26-331d4fedc522", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "190" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "18213986-2453-4c55-ac5f-53ba3f33b558", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "125" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "608dfc36-c3b3-4727-907c-6d98c2bfa80b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "167" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "83a1ca4d-f787-48eb-9ce2-2b2e3aa550b3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "164" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "73a5c9d0-51f3-4f60-b75d-6b5cb5f60837", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "203" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "8567e6ae-3b33-4cf9-826d-1961d34b7100", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "148" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "7465a851-c47a-47a7-9b8e-7227526272ab", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "146" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "24309cd4-1237-4fd4-8dbf-21a2d2e6bff2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "159" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "beb71ebb-29e3-4398-a8f6-88f05b857729", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "123" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "00d5f7b2-c42f-4709-8ad4-1dd1bc447178", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:19:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "134" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:19:16Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "e01f6331-245f-45bc-9fcd-4b68084c263c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "143" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "74b50aff-e91b-483e-9abc-43c15b88fc05", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "144" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "cde4e444-3a04-44b9-ad90-13af9ae092c1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:05 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "138" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a6e027d0-cb33-4d0d-8f59-23fe47ed3113", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "166" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "d6ea77c9-9c7b-4506-9620-1d90b1f07f52", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "162" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "2ababfdd-e5bb-472c-87c2-18b24e2df2af", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "135" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "98fa3f1a-129b-4a43-9876-c01040259b4f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "128" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "31695618-c882-4060-926f-cb25bb5f7d28", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "142" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:01Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "34073e4b-f7b0-4aae-b481-69f9fd46cf61", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "199" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:19Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:19.527562Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"0\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "478e0bc5-d971-4629-8f37-b5e9b24d4971", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:20 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "288" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/320caa89-245c-47de-bea8-dddb18ed5c9a", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"320caa89-245c-47de-bea8-dddb18ed5c9a\",\"lastUpdateDateTime\":\"2021-06-25T20:20:19Z\",\"createdDateTime\":\"2021-06-25T20:18:53Z\",\"expirationDateTime\":\"2021-06-26T20:18:53Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:08.5954293Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:19:16.3189411Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\":)\",\"id\":\"56\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":(\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"w\",\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":P\",\"id\":\"19\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\":D\",\"id\":\"1\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:19.527562Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"56\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"0\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "e520a0d2-aed8-4596-a89a-25cff881dcc4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "218" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "985928d389900f82ef53f2eca9ffbe0e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json new file mode 100644 index 000000000000..e7b8e5112f46 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.json @@ -0,0 +1,349 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"one\"},{\"id\":\"2\",\"text\":\"two\"},{\"id\":\"3\",\"text\":\"three\"},{\"id\":\"4\",\"text\":\"four\"},{\"id\":\"5\",\"text\":\"five\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "e0c403b3-cbee-4950-b0dd-9b774725e1ab", + "date": "Fri, 25 Jun 2021 20:18:21 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "293" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:21Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "8dd2de2c-d289-4bb8-8479-efb75138470f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:21Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "640a8171-d0d8-4e8c-9eb6-ad54111ede3a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:22Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "3b67e8a3-2041-458e-8c14-406f0d1bfb76", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:22Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "e012dc0f-3c06-481e-9060-c70139e0ef2e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:25 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:22Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "76c66ace-c6d8-4688-b1b2-3dc86e18dc63", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "15" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:28Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "42d47804-3e68-4c13-8579-8bc45a4df674", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "103" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:28Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "08530c65-a0ec-48a8-9308-ff34bfd7624c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "201" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:28Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "583c6ae6-8786-4383-a9d4-fa4bdbb73ec1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "95" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:36Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a11f0081-61e0-49af-8435-f1542f6619ea", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "131" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:36Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "7497c552-6a4e-4877-8eda-fbb2d0c040d8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "143" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:36Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "ab3a6eef-2c9c-49ed-936d-ef967d78134c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "291" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:36Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "8b4615a7-6f85-4e18-beed-90e6ddbc98f9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "159" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:36Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c1e3abdc-2530-4d91-abbd-388ee645c3a2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "156" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:36Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "2b50c1b8-7c9e-4845-84b9-4a829127d416", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "170" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:36Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "998a8530-94ff-40ff-81f3-0048667e0549", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:50 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "344" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:51Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:51.7495446Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "4536600f-5449-4be9-bb0d-c38eb6418396", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "247" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7fc71311-9075-41be-b06d-a9027e74675d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7fc71311-9075-41be-b06d-a9027e74675d\",\"lastUpdateDateTime\":\"2021-06-25T20:18:51Z\",\"createdDateTime\":\"2021-06-25T20:18:21Z\",\"expirationDateTime\":\"2021-06-26T20:18:21Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:36.097895Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"one\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"two\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":3,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"three\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":5,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"4\",\"entities\":[{\"text\":\"four\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"text\":\"five\",\"category\":\"Quantity\",\"subcategory\":\"Number\",\"offset\":0,\"length\":4,\"confidenceScore\":0.8}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:28.6389168Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"one\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"two\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"three\",\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"four\",\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"five\",\"id\":\"5\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:18:51.7495446Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "98ef6bfd-81d0-4948-aa65-cf596f74ec9a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:18:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "248" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "599895c6273ae4ea4eeb3372f9907fd6" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json new file mode 100644 index 000000000000..51726f28c289 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.json @@ -0,0 +1,313 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"7\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"8\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"9\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"10\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"11\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"12\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"13\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"14\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"15\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"16\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"17\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"18\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"19\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"20\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"21\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"22\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"23\",\"text\":\"random text\",\"language\":\"en\"},{\"id\":\"24\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "9c9c586c-f826-4987-aee6-b0a785d4ccf9", + "date": "Fri, 25 Jun 2021 20:22:19 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "707" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:19Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "responseHeaders": { + "apim-request-id": "ca685066-37ee-4a39-b658-0ee290490e3b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:19Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "responseHeaders": { + "apim-request-id": "7f046708-e442-44e5-bd92-f5b26193f6e8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:21Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "responseHeaders": { + "apim-request-id": "06f9654f-287d-4b23-b940-dc89c51cafff", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "15" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:21Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "responseHeaders": { + "apim-request-id": "0502e703-d987-4f99-825e-155e266e8eb2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "18" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:21Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "responseHeaders": { + "apim-request-id": "a5045893-cbf0-4d51-bccf-e05c330ad6c4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:21Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":2,\"total\":2}}", + "responseHeaders": { + "apim-request-id": "6f85a837-5c1b-4396-a821-eb8b2f1a4054", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "15" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:29Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "26e84e8c-06e3-4e4c-8652-a45bc8164cd0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:30 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "163" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:29Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "ec899b40-065d-4ace-94b8-ea29ddf886c0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "230" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:29Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "4de39a2e-81f1-4da7-a539-04aa4428f69c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "220" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:29Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "cc21da5d-496b-4b15-aaaf-989ea4200366", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "207" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:39Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":1,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "3db37a3d-41c0-49b6-8b66-aa33c335acb0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "182" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:40Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]},{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:40.5758738Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"7\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"8\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"9\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"10\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"11\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"12\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"13\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"14\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"15\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"16\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"17\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"18\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "29dc748e-6b19-45f6-9a4c-533c3b3a79a1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "414" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "10" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:40Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[],\"warnings\":[]},{\"id\":\"6\",\"entities\":[],\"warnings\":[]},{\"id\":\"7\",\"entities\":[],\"warnings\":[]},{\"id\":\"8\",\"entities\":[],\"warnings\":[]},{\"id\":\"9\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:40.5758738Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"4\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"5\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"6\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"7\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"8\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"9\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf?$skip=10&$top=10&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "200ae76f-474b-4417-9047-01f97a9a4201", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "257" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "10", + "$skip": "10" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:40Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"10\",\"entities\":[],\"warnings\":[]},{\"id\":\"11\",\"entities\":[],\"warnings\":[]},{\"id\":\"12\",\"entities\":[],\"warnings\":[]},{\"id\":\"13\",\"entities\":[],\"warnings\":[]},{\"id\":\"14\",\"entities\":[],\"warnings\":[]},{\"id\":\"15\",\"entities\":[],\"warnings\":[]},{\"id\":\"16\",\"entities\":[],\"warnings\":[]},{\"id\":\"17\",\"entities\":[],\"warnings\":[]},{\"id\":\"18\",\"entities\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:40.5758738Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"10\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"11\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"12\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"13\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"14\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"15\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"16\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"17\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"18\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"19\",\"keyPhrases\":[\"random text\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]},\"@nextLink\":\"https://endpoint/text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf?$skip=20&$top=5&showStats=False\"}", + "responseHeaders": { + "apim-request-id": "edc9a249-ef8d-479a-bd11-a97d2296880a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "277" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/0aa11bad-fec4-41cd-afa2-5d1d5f8287cf", + "query": { + "$top": "5", + "$skip": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"0aa11bad-fec4-41cd-afa2-5d1d5f8287cf\",\"lastUpdateDateTime\":\"2021-06-25T20:22:40Z\",\"createdDateTime\":\"2021-06-25T20:22:19Z\",\"expirationDateTime\":\"2021-06-26T20:22:19Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":0,\"total\":2,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:29.2984851Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"20\",\"entities\":[],\"warnings\":[]},{\"id\":\"21\",\"entities\":[],\"warnings\":[]},{\"id\":\"22\",\"entities\":[],\"warnings\":[]},{\"id\":\"23\",\"entities\":[],\"warnings\":[]},{\"id\":\"24\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:40.5758738Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"20\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"21\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"22\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"23\",\"keyPhrases\":[\"random text\"],\"warnings\":[]},{\"id\":\"24\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "4cf1acee-7b78-42b7-a25e-5630f34395ab", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "142" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "62ca71ecf688e9feaf17203742a35f2b" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json new file mode 100644 index 000000000000..dc885473416d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.json @@ -0,0 +1,159 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "cfe0b134-76d9-49c4-87b7-a3f82b4e64ed", + "date": "Fri, 25 Jun 2021 20:22:45 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/59f5b4ca-0662-40fa-a9e0-58e8269b1a34", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2769" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/59f5b4ca-0662-40fa-a9e0-58e8269b1a34", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"59f5b4ca-0662-40fa-a9e0-58e8269b1a34\",\"lastUpdateDateTime\":\"2021-06-25T20:22:46Z\",\"createdDateTime\":\"2021-06-25T20:22:43Z\",\"expirationDateTime\":\"2021-06-26T20:22:43Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "caddad9a-5a2a-4b75-85c8-286843b4d5b7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/59f5b4ca-0662-40fa-a9e0-58e8269b1a34", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"59f5b4ca-0662-40fa-a9e0-58e8269b1a34\",\"lastUpdateDateTime\":\"2021-06-25T20:22:46Z\",\"createdDateTime\":\"2021-06-25T20:22:43Z\",\"expirationDateTime\":\"2021-06-26T20:22:43Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "15ba481b-4f24-48c6-8447-424c918d2f9e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/59f5b4ca-0662-40fa-a9e0-58e8269b1a34", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"59f5b4ca-0662-40fa-a9e0-58e8269b1a34\",\"lastUpdateDateTime\":\"2021-06-25T20:22:47Z\",\"createdDateTime\":\"2021-06-25T20:22:43Z\",\"expirationDateTime\":\"2021-06-26T20:22:43Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "bd631cdb-a53f-4c6d-be84-9a5f8de52cf2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/59f5b4ca-0662-40fa-a9e0-58e8269b1a34", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"59f5b4ca-0662-40fa-a9e0-58e8269b1a34\",\"lastUpdateDateTime\":\"2021-06-25T20:22:47Z\",\"createdDateTime\":\"2021-06-25T20:22:43Z\",\"expirationDateTime\":\"2021-06-26T20:22:43Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "565958cc-898f-438c-843a-af111c309118", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/59f5b4ca-0662-40fa-a9e0-58e8269b1a34", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"59f5b4ca-0662-40fa-a9e0-58e8269b1a34\",\"lastUpdateDateTime\":\"2021-06-25T20:22:47Z\",\"createdDateTime\":\"2021-06-25T20:22:43Z\",\"expirationDateTime\":\"2021-06-26T20:22:43Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "afe1ade2-a0e4-4670-89ed-68cb7e84de6b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "17" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/59f5b4ca-0662-40fa-a9e0-58e8269b1a34", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"59f5b4ca-0662-40fa-a9e0-58e8269b1a34\",\"lastUpdateDateTime\":\"2021-06-25T20:22:53Z\",\"createdDateTime\":\"2021-06-25T20:22:43Z\",\"expirationDateTime\":\"2021-06-26T20:22:43Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:53.7952934Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "0dfcbcec-9fa4-41af-81bc-1a908ebf0918", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "65" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/59f5b4ca-0662-40fa-a9e0-58e8269b1a34", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"59f5b4ca-0662-40fa-a9e0-58e8269b1a34\",\"lastUpdateDateTime\":\"2021-06-25T20:22:53Z\",\"createdDateTime\":\"2021-06-25T20:22:43Z\",\"expirationDateTime\":\"2021-06-26T20:22:43Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:22:53.7952934Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "63f020d9-54a6-4412-8022-53d375b516d2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:22:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "61" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "096c12a7cccfec04b026e6b6a418de2b" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json new file mode 100644 index 000000000000..4c7f5e81da91 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.json @@ -0,0 +1,121 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"Microsoft moved its headquarters to Bellevue, Washington in January 1979.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.\",\"language\":\"en\"}]},\"tasks\":{\"entityLinkingTasks\":[{\"parameters\":{\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "48d1facc-2000-4b56-87d3-0d793f16a6df", + "date": "Fri, 25 Jun 2021 20:15:15 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/4f7c2b23-9dea-412f-ad36-e5065283dbfd", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "168" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4f7c2b23-9dea-412f-ad36-e5065283dbfd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4f7c2b23-9dea-412f-ad36-e5065283dbfd\",\"lastUpdateDateTime\":\"2021-06-25T20:15:16Z\",\"createdDateTime\":\"2021-06-25T20:15:16Z\",\"expirationDateTime\":\"2021-06-26T20:15:16Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "01b73c90-7d00-494d-b270-549b3268e3e0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4f7c2b23-9dea-412f-ad36-e5065283dbfd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4f7c2b23-9dea-412f-ad36-e5065283dbfd\",\"lastUpdateDateTime\":\"2021-06-25T20:15:16Z\",\"createdDateTime\":\"2021-06-25T20:15:16Z\",\"expirationDateTime\":\"2021-06-26T20:15:16Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "760b3cb8-8db0-4620-9f0a-2320dc37e5c5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4f7c2b23-9dea-412f-ad36-e5065283dbfd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4f7c2b23-9dea-412f-ad36-e5065283dbfd\",\"lastUpdateDateTime\":\"2021-06-25T20:15:17Z\",\"createdDateTime\":\"2021-06-25T20:15:16Z\",\"expirationDateTime\":\"2021-06-26T20:15:16Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "ba75f613-1569-42f1-93f0-5a208e0771f1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4f7c2b23-9dea-412f-ad36-e5065283dbfd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4f7c2b23-9dea-412f-ad36-e5065283dbfd\",\"lastUpdateDateTime\":\"2021-06-25T20:15:20Z\",\"createdDateTime\":\"2021-06-25T20:15:16Z\",\"expirationDateTime\":\"2021-06-26T20:15:16Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityLinkingTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:15:20.6000895Z\",\"taskName\":\"EntityLinking_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"name\":\"Bellevue, Washington\",\"matches\":[{\"text\":\"Bellevue, Washington\",\"offset\":36,\"length\":20,\"confidenceScore\":0.87}],\"language\":\"en\",\"id\":\"Bellevue, Washington\",\"url\":\"https://en.wikipedia.org/wiki/Bellevue,_Washington\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":0,\"length\":9,\"confidenceScore\":0.39}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Briann January\",\"matches\":[{\"text\":\"January\",\"offset\":60,\"length\":7,\"confidenceScore\":0.14}],\"language\":\"en\",\"id\":\"Briann January\",\"url\":\"https://en.wikipedia.org/wiki/Briann_January\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"name\":\"Steve Ballmer\",\"matches\":[{\"text\":\"Steve Ballmer\",\"offset\":0,\"length\":13,\"confidenceScore\":0.92}],\"language\":\"en\",\"id\":\"Steve Ballmer\",\"url\":\"https://en.wikipedia.org/wiki/Steve_Ballmer\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Satya Nadella\",\"matches\":[{\"text\":\"Satya Nadella\",\"offset\":68,\"length\":13,\"confidenceScore\":0.9}],\"language\":\"en\",\"id\":\"Satya Nadella\",\"url\":\"https://en.wikipedia.org/wiki/Satya_Nadella\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":37,\"length\":9,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Chief executive officer\",\"matches\":[{\"text\":\"CEO\",\"offset\":30,\"length\":3,\"confidenceScore\":0.25}],\"language\":\"en\",\"id\":\"Chief executive officer\",\"url\":\"https://en.wikipedia.org/wiki/Chief_executive_officer\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "2dde943f-bbbd-4a44-a8f9-8400fb0c9473", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7660" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/4f7c2b23-9dea-412f-ad36-e5065283dbfd", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"4f7c2b23-9dea-412f-ad36-e5065283dbfd\",\"lastUpdateDateTime\":\"2021-06-25T20:15:20Z\",\"createdDateTime\":\"2021-06-25T20:15:16Z\",\"expirationDateTime\":\"2021-06-26T20:15:16Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityLinkingTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:15:20.6000895Z\",\"taskName\":\"EntityLinking_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"name\":\"Bellevue, Washington\",\"matches\":[{\"text\":\"Bellevue, Washington\",\"offset\":36,\"length\":20,\"confidenceScore\":0.87}],\"language\":\"en\",\"id\":\"Bellevue, Washington\",\"url\":\"https://en.wikipedia.org/wiki/Bellevue,_Washington\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":0,\"length\":9,\"confidenceScore\":0.39}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Briann January\",\"matches\":[{\"text\":\"January\",\"offset\":60,\"length\":7,\"confidenceScore\":0.14}],\"language\":\"en\",\"id\":\"Briann January\",\"url\":\"https://en.wikipedia.org/wiki/Briann_January\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"name\":\"Steve Ballmer\",\"matches\":[{\"text\":\"Steve Ballmer\",\"offset\":0,\"length\":13,\"confidenceScore\":0.92}],\"language\":\"en\",\"id\":\"Steve Ballmer\",\"url\":\"https://en.wikipedia.org/wiki/Steve_Ballmer\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Satya Nadella\",\"matches\":[{\"text\":\"Satya Nadella\",\"offset\":68,\"length\":13,\"confidenceScore\":0.9}],\"language\":\"en\",\"id\":\"Satya Nadella\",\"url\":\"https://en.wikipedia.org/wiki/Satya_Nadella\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Microsoft\",\"matches\":[{\"text\":\"Microsoft\",\"offset\":37,\"length\":9,\"confidenceScore\":0.36}],\"language\":\"en\",\"id\":\"Microsoft\",\"url\":\"https://en.wikipedia.org/wiki/Microsoft\",\"dataSource\":\"Wikipedia\"},{\"name\":\"Chief executive officer\",\"matches\":[{\"text\":\"CEO\",\"offset\":30,\"length\":3,\"confidenceScore\":0.25}],\"language\":\"en\",\"id\":\"Chief executive officer\",\"url\":\"https://en.wikipedia.org/wiki/Chief_executive_officer\",\"dataSource\":\"Wikipedia\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-02-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b5370ae6-4fed-42f8-bdaa-485bbb7378d9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "72" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "d106d5b70ea37037fd91dd13fffd822e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json new file mode 100644 index 000000000000..7de5a03dd730 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.json @@ -0,0 +1,235 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen el 4 de abril de 1975.\",\"language\":\"es\"},{\"id\":\"3\",\"text\":\"Microsoft wurde am 4. April 1975 von Bill Gates und Paul Allen gegründet.\",\"language\":\"de\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "1d1ee115-0305-476a-9815-1754cecfc412", + "date": "Fri, 25 Jun 2021 20:14:53 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "173" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:14:54Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "3bb9450d-6221-4baa-9ed0-af2cd3f40ac6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:14:54Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "dd5eaad0-472c-4ce7-9366-efc11f9d364b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:14:54Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "c8137171-cdda-4a38-84d5-5073720ce171", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:14:54Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "5cf4bc68-d429-43e4-8f1f-fbaff7414050", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:14:54Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "b2bdc914-cd5e-4ac3-9e13-b36bf722229c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:14:54Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "5e81fa8e-e0f3-4727-b502-4f15f3175d7f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:15:03Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "ebcc20c9-f7c2-4158-9fed-c22ba698b340", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:15:03Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "15e9427c-acb4-44ea-bbb5-75a4205959b1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:15:09Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "815eaba7-408b-4c11-b183-1b0487cd81b6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:08 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:15:09Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:15:09.0874216Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"April 4, 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":54,\"length\":13,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"4 de abril de 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":53,\"length\":18,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"4. April 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":19,\"length\":13,\"confidenceScore\":0.8},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":37,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":52,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "4e041bf1-0288-4941-8691-6a6b22be514b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5097" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/ccf385be-e81e-4265-8098-24ee73d54b80", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ccf385be-e81e-4265-8098-24ee73d54b80\",\"lastUpdateDateTime\":\"2021-06-25T20:15:09Z\",\"createdDateTime\":\"2021-06-25T20:14:54Z\",\"expirationDateTime\":\"2021-06-26T20:14:54Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:15:09.0874216Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"April 4, 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":54,\"length\":13,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99},{\"text\":\"4 de abril de 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":53,\"length\":18,\"confidenceScore\":0.8}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"4. April 1975\",\"category\":\"DateTime\",\"subcategory\":\"Date\",\"offset\":19,\"length\":13,\"confidenceScore\":0.8},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":37,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":52,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "f00499c8-281c-4fe4-ba12-9919fea8140e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "52" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "cf115337615566d6c56926e571550fa1" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json new file mode 100644 index 000000000000..f6fdf032ede3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.json @@ -0,0 +1,387 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen\",\"language\":\"es\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "c8332dcf-8f34-498b-963f-7669c7a52145", + "date": "Fri, 25 Jun 2021 20:13:46 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "282" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:47Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "1c1b8318-e560-4326-abea-fe4e62496dd1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "34" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:47Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "2d8c57db-187d-499b-9202-3c91491e3171", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "22" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:47Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "e34c2449-509c-43d6-a82e-0ff99012fdee", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "14" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:47Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "7aa5ac22-0cf2-4db4-85bd-5d24c9d50945", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "007bd023-6137-4b41-9083-7432f2f4e98b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "74d335d8-2665-49c1-bae0-45ba6dd216ae", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d98e72fd-5570-4792-87b2-ca742b752d7f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "7a70da18-315c-4d98-b2a4-7513cdfc5bf3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:13:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "1d4926ca-4673-4e6f-b119-c77d3bdc539e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "47e944ae-be4c-4281-b563-ee4862caf42d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "9afb7856-a4a4-41ab-9111-fecdc2d1fa6a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:05 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "f2a7f8a3-5dee-47e6-bcfd-635f5a2d05dc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "c174b29d-499f-4c05-9fc1-d9eacfd54678", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "53c1ffd6-c2e2-4c05-afff-d8e2c985d27a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "4113948f-2346-4028-9dbf-bf748d858ec4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "3a598128-749d-481d-ac78-15770ae7820d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:13:52Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d2bdf096-9297-4e23-8708-a6b9b23844a3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:14:19Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:14:19.0608941Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b47e2a32-d96d-44cf-ba65-cbb32dd807f6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:20 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "67" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8d3a4fa9-b619-4225-afbf-6a22660a6d63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8d3a4fa9-b619-4225-afbf-6a22660a6d63\",\"lastUpdateDateTime\":\"2021-06-25T20:14:19Z\",\"createdDateTime\":\"2021-06-25T20:13:46Z\",\"expirationDateTime\":\"2021-06-26T20:13:46Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:14:19.0608941Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":25,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":40,\"length\":10,\"confidenceScore\":1.0}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Microsoft\",\"category\":\"Organization\",\"offset\":0,\"length\":9,\"confidenceScore\":1.0},{\"text\":\"Bill Gates\",\"category\":\"Person\",\"offset\":26,\"length\":10,\"confidenceScore\":1.0},{\"text\":\"Paul Allen\",\"category\":\"Person\",\"offset\":39,\"length\":10,\"confidenceScore\":0.99}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "297c2a7b-5974-4e31-94b1-b81011a137fb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:25 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5237" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "881e291f78d9d9466840e6f0072b0c70" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json new file mode 100644 index 000000000000..55bebec52e1e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.json @@ -0,0 +1,330 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"Microsoft was founded by Bill Gates and Paul Allen\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Microsoft fue fundado por Bill Gates y Paul Allen\",\"language\":\"es\"}]},\"tasks\":{\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "f9383411-2a7c-494b-acb0-e7a7f9ef7498", + "date": "Fri, 25 Jun 2021 20:14:26 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "230" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:26Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "1fcf6b7e-46a4-4b34-a549-12c0752b818b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:26Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "f93faa46-250c-47a6-9ad3-09f805df7479", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:26Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "b659bcc0-fc2a-4dab-8b8b-274eef5d6bd0", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "12" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:26Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "90ceb0dc-214e-44af-a3be-fdaf7df9e4b2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:30 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "29" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:26Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "7384c51d-141e-4218-9565-6fc8057359d1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:32 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "e5193b66-4e72-4e48-9e4c-9f60ba73b3c7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "15" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "a7792a56-86e5-4b97-ab30-7c4b2340819f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "15" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "60164ad7-3a21-4b3c-bb8c-233ed8493331", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "480064e7-c619-4b0d-a79f-27f08539849d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "a30dd206-3f3e-4c41-a675-7d90f91c8da2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "12" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "6d7a32e1-394f-4d1a-aaf5-619821eaf29a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "4da3c45d-e433-4fa2-867e-10a2c1b84690", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "9a399f5b-fe18-4c72-9aeb-5915d7583b80", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "32" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:34Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "f350577b-8cc7-4bfd-b99b-338a90c60200", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:52Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:14:52.6689767Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "f6079621-a82d-4279-8cab-e014887d708f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "66" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/fcbe2994-150f-4512-a8aa-ef7b1ac96041", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"fcbe2994-150f-4512-a8aa-ef7b1ac96041\",\"lastUpdateDateTime\":\"2021-06-25T20:14:52Z\",\"createdDateTime\":\"2021-06-25T20:14:26Z\",\"expirationDateTime\":\"2021-06-26T20:14:26Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:14:52.6689767Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Bill Gates\",\"Paul Allen\",\"Microsoft\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "9443c167-639b-421f-9a19-f631c6fda970", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:14:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "56" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "710f01b115bc7c24cb2619f59823b881" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json new file mode 100644 index 000000000000..b6b9e3ad15cf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.json @@ -0,0 +1,273 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"My SSN is 859-98-0987.\"},{\"id\":\"2\",\"text\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\"},{\"id\":\"3\",\"text\":\"Is 998.214.865-68 your Brazilian CPF number?\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "a6646aaa-49a9-4bd9-8810-d34818581760", + "date": "Fri, 25 Jun 2021 20:15:28 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "183" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:29Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "791f2a47-cf88-4df7-8c77-bc09857fc886", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:29Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "3b50d80d-2b81-4714-bc1d-6fa4bb44606d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "efc9b78a-20ed-4d73-bafc-2d60272666e1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "0e9448f1-1537-423e-8532-52b6a33dbd80", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "7a980a7d-cbc6-4468-afc7-45c903c49d07", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:35 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "28aee069-6e8c-4234-bf9e-200f516dfc3d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "91dfb960-e3fb-43f0-910d-cacfd02d36d4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "587d89b0-172a-4062-8bc9-c034612a9067", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "3812c93a-3f6a-4399-ac16-6d58cc6eb0bf", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "b910432f-4f6b-480c-b723-2b84ef6c94bb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:30Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "e7890a4b-dcfb-44f6-9e6f-49001dc081bd", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:48Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:15:48.2805502Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is ***********.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[{\"text\":\"111000025\",\"category\":\"PhoneNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"111000025\",\"category\":\"ABARoutingNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.75},{\"text\":\"111000025\",\"category\":\"NZSocialWelfareNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Is 998.214.865-68 your Brazilian CPF number?\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "3ddbd91a-3682-4854-afc1-511d86c02137", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "56" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/1deaf184-7735-4952-a68d-4519b37549c9", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1deaf184-7735-4952-a68d-4519b37549c9\",\"lastUpdateDateTime\":\"2021-06-25T20:15:48Z\",\"createdDateTime\":\"2021-06-25T20:15:28Z\",\"expirationDateTime\":\"2021-06-26T20:15:28Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:15:48.2805502Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is ***********.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[{\"text\":\"111000025\",\"category\":\"PhoneNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.8},{\"text\":\"111000025\",\"category\":\"ABARoutingNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.75},{\"text\":\"111000025\",\"category\":\"NZSocialWelfareNumber\",\"offset\":18,\"length\":9,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Is 998.214.865-68 your Brazilian CPF number?\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "9b710d19-fc1d-4955-b654-ae00dee3f653", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "52" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "b91a2978099d3831c48eacb4b56d7914" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json new file mode 100644 index 000000000000..d8f6caf47f43 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.json @@ -0,0 +1,406 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"The food was unacceptable\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"The rooms were beautiful. The AC was good and quiet.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The breakfast was good, but the toilet was smelly.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"The toilet smelled.\",\"language\":\"en\"}]},\"tasks\":{\"sentimentAnalysisTasks\":[{\"parameters\":{\"opinionMining\":true,\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "d32ce858-c88b-4dca-9860-979d7b3d830a", + "date": "Fri, 25 Jun 2021 20:15:57 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7815" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:15:58Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d88b488d-4091-4831-9d21-da149d7fda60", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:15:58Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "67165db7-897c-4995-86db-384d187c4260", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:15:58Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d159dd92-97b2-4809-989a-95ecc0352cf4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:15:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:15:58Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "b6aee283-dd30-4d39-a241-4d13ac1bbb6f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "a58d7745-91d4-4f12-8ac5-425b15ed255c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "8a847109-e269-4256-9329-9a1900a273f2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:05 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "78826bdf-38a9-488d-9b78-5cb13a8b14d8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "8afef0ad-c9e6-4eae-83e4-c2bb084b6057", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:10 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d84b1585-396c-4e22-8c85-0dcc550cb8f9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "165ecafe-b04a-4e68-8762-88e13a17f52b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:15 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "29da8f38-0b5d-4a38-8277-8935e8f9b716", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "28e443dc-83b0-4d77-ac66-8e7d14886ed9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "b6551f55-5df0-4b32-a6ba-ff56b4efaf79", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "4b5169e3-fef7-472d-a001-558fa11aac51", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:23 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "e45a2792-215d-403e-96dd-1a8510429a18", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:25 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "753ba156-2e37-4dfb-9aaa-37d0802fc502", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "12" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "d2696d88-2655-40b2-a912-3dee7f3fba39", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:03Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "38affcdc-7528-4ff2-9211-7d22d40bddec", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "126" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:32Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"sentimentAnalysisTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:32.9432427Z\",\"taskName\":\"SentimentAnalysis_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":25,\"text\":\"The food was unacceptable\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":13,\"length\":12,\"text\":\"unacceptable\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":25,\"text\":\"The rooms were beautiful.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":9,\"text\":\"beautiful\",\"isNegated\":false}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":26,\"length\":26,\"text\":\"The AC was good and quiet.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":30,\"length\":2,\"text\":\"AC\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":37,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":46,\"length\":5,\"text\":\"quiet\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"offset\":0,\"length\":50,\"text\":\"The breakfast was good, but the toilet was smelly.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":32,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":18,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":43,\"length\":6,\"text\":\"smelly\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":71,\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":11,\"length\":5,\"text\":\"hotel\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":24,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":41,\"length\":15,\"text\":\"shuttle service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":65,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/3\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":19,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":36,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":5,\"text\":\"loved\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":59,\"length\":5,\"text\":\"clean\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":56,\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.97,\"negative\":0.03},\"offset\":27,\"length\":4,\"text\":\"view\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":8,\"length\":5,\"text\":\"great\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.93,\"negative\":0.07},\"offset\":14,\"length\":12,\"text\":\"unobstructed\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":75,\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":5,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":15,\"length\":9,\"text\":\"bathrooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/1\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":42,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":30,\"length\":3,\"text\":\"old\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":53,\"length\":5,\"text\":\"dirty\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"offset\":0,\"length\":19,\"text\":\"The toilet smelled.\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":11,\"length\":7,\"text\":\"smelled\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "775b8f51-814a-48ba-8728-6666d545b05d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "116" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"c696fcbd-acea-4f61-9d1b-c5ea0fd30d6c\",\"lastUpdateDateTime\":\"2021-06-25T20:16:32Z\",\"createdDateTime\":\"2021-06-25T20:15:50Z\",\"expirationDateTime\":\"2021-06-26T20:15:50Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"sentimentAnalysisTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:32.9432427Z\",\"taskName\":\"SentimentAnalysis_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":25,\"text\":\"The food was unacceptable\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":4,\"length\":4,\"text\":\"food\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":13,\"length\":12,\"text\":\"unacceptable\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"1\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":25,\"text\":\"The rooms were beautiful.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":15,\"length\":9,\"text\":\"beautiful\",\"isNegated\":false}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":26,\"length\":26,\"text\":\"The AC was good and quiet.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":30,\"length\":2,\"text\":\"AC\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/1/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":37,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":46,\"length\":5,\"text\":\"quiet\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"2\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"neutral\":0.0,\"negative\":0.99},\"offset\":0,\"length\":50,\"text\":\"The breakfast was good, but the toilet was smelly.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":4,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":32,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/2/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":18,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":43,\"length\":6,\"text\":\"smelly\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"3\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":71,\"text\":\"Loved this hotel - good breakfast - nice shuttle service - clean rooms.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":11,\"length\":5,\"text\":\"hotel\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":24,\"length\":9,\"text\":\"breakfast\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":41,\"length\":15,\"text\":\"shuttle service\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":65,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/1\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/3\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/3/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":19,\"length\":4,\"text\":\"good\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":36,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":5,\"text\":\"loved\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":59,\"length\":5,\"text\":\"clean\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"4\",\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"sentences\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"neutral\":0.0,\"negative\":0.0},\"offset\":0,\"length\":56,\"text\":\"I had a great unobstructed view of the Microsoft campus.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.97,\"negative\":0.03},\"offset\":27,\"length\":4,\"text\":\"view\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/0\"},{\"relationType\":\"assessment\",\"ref\":\"#/documents/4/sentences/0/assessments/1\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":8,\"length\":5,\"text\":\"great\",\"isNegated\":false},{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":0.93,\"negative\":0.07},\"offset\":14,\"length\":12,\"text\":\"unobstructed\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"5\",\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"sentences\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"neutral\":0.0,\"negative\":1.0},\"offset\":0,\"length\":75,\"text\":\"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.\",\"targets\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":5,\"length\":5,\"text\":\"rooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/0\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":15,\"length\":9,\"text\":\"bathrooms\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/1\"}]},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":42,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/0/sentences/0/assessments/2\"}]}],\"assessments\":[{\"sentiment\":\"positive\",\"confidenceScores\":{\"positive\":1.0,\"negative\":0.0},\"offset\":0,\"length\":4,\"text\":\"nice\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":30,\"length\":3,\"text\":\"old\",\"isNegated\":false},{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.0,\"negative\":1.0},\"offset\":53,\"length\":5,\"text\":\"dirty\",\"isNegated\":false}]}],\"warnings\":[]},{\"id\":\"6\",\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"sentences\":[{\"sentiment\":\"neutral\",\"confidenceScores\":{\"positive\":0.03,\"neutral\":0.63,\"negative\":0.34},\"offset\":0,\"length\":19,\"text\":\"The toilet smelled.\",\"targets\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":4,\"length\":6,\"text\":\"toilet\",\"relations\":[{\"relationType\":\"assessment\",\"ref\":\"#/documents/1/sentences/0/assessments/0\"}]}],\"assessments\":[{\"sentiment\":\"negative\",\"confidenceScores\":{\"positive\":0.01,\"negative\":0.99},\"offset\":11,\"length\":7,\"text\":\"smelled\",\"isNegated\":false}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-04-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "4347c512-4bce-46d1-b802-7b11da2202db", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "150" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "3a7f3ca2530dc07b8daf84a4a93dba9e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json new file mode 100644 index 000000000000..ca699418f98c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.json @@ -0,0 +1,767 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"english\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food. I recommend you try it.\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "8daef56e-a2ce-4ecf-86eb-83796a6632df", + "date": "Fri, 25 Jun 2021 20:16:34 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "239" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:34Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "4d2cb2a5-5d7b-4c96-8960-0890a8cb882a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:34Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "60c856a9-eb7a-4a6d-886e-628cb6d0f0f8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:35Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "2c364a30-822f-4939-bd11-5e9c1c067273", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:35Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "6fa1c268-42e7-4518-abe8-938720c71923", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:35Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "40b825c5-65a7-416a-ac2d-73f9b9b95f9c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:43Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "0895a2db-a9cf-43e9-8463-3e60bad8cbb3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:43Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "10e22b8f-be41-474a-a8c7-15e624917b1f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:43Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "9617447d-4714-4e5d-a822-6ec5c648e484", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "14" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:43Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "cb565ebc-05f0-435a-8b91-6f5a672f140f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:43Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "d84dcbca-1b59-4a56-a43b-f899f96ef81f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:43Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "1298b218-9370-4f74-9433-595bdccccc30", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:43Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "0a85fa04-c7e6-4ff1-b8b2-692b745c76aa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:43Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "7c6d95b4-be83-46bf-a0bf-a14bbdbf91bb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:59Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "26762c90-16f5-4a80-8dd7-31213a73ee89", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:16:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "64" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:59Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b4aa8a17-cb79-4845-89a3-e1317e545018", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "61" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:59Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "7cd0cdbd-f5d0-4021-957b-4e4eb0c94202", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "93" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:16:59Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "2ebba7b8-961c-4d0f-be24-5b0f0400f389", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "75" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c3af55fe-d8de-4b65-8281-85c6856522df", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:08 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "115" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "a9294a80-07f4-440a-ad33-f17b81e429d9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:10 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "106" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c1a85e50-30d0-4cc6-b3c7-9f1a1521d865", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "130" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "3f006cab-c81b-4065-a065-1cd19af878a5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "103" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "b91d2d1d-961c-4263-9d41-0d449bba5738", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "111" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "f2f1860b-7c51-4355-949a-261688bb12dc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "136" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "9c6c2501-98fa-44b0-a897-51f6538bf258", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "115" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "f982fece-010e-42d7-9479-e505d1e951e2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:24 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "107" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "c3d77605-832c-437d-a2a6-8402d22bb029", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:26 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "118" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "4fb96a79-9b5f-4054-bcd8-80f1da879d90", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:28 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "156" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "4f97c4c2-2299-47cc-9120-6967b86073d9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "114" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "ed13bd9b-6908-429f-86bd-308f46038036", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "104" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "ca544759-c902-4769-9bef-071ef62303b9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:35 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "134" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "3668662c-7288-425a-a48f-5d2aad625bb5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "110" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "401c929d-9ec3-4b20-bf4f-d12de8971b1e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "107" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "5c038eb2-be4b-49cc-afde-b5e231492dcb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "120" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "160af5eb-e8e3-4c3d-b26f-bfe15bdf41e1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "101" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "d5602ed4-eb48-487a-bf74-16fcade37a10", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "109" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:07Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "e43fd347-a49a-4f95-8e45-2df4b559f813", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:48 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "246" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:51Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "ba117188-e3b5-4e65-908e-a42bffe78e3a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "118" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:51Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:51.518295Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"keyPhrases\":[\"good food\",\"restaurant\"],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "03e4e666-d368-4a92-9ad7-078ddf9881f2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "176" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/3f3ad18e-da27-42b8-aa22-ae8c3233d866", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"3f3ad18e-da27-42b8-aa22-ae8c3233d866\",\"lastUpdateDateTime\":\"2021-06-25T20:17:51Z\",\"createdDateTime\":\"2021-06-25T20:16:34Z\",\"expirationDateTime\":\"2021-06-26T20:16:34Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:16:59.1841784Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.97}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:07.7176459Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"The restaurant had really good food. I recommend you try it.\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition\"}}}],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:17:51.518295Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"3\",\"keyPhrases\":[\"good food\",\"restaurant\"],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction\"}}}],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "887785ca-b967-4662-bf7a-ad1d54084335", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:17:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "164" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "10b0e4554231ab60fcfbc8922809b3ac" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json new file mode 100644 index 000000000000..990f551e0245 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.json @@ -0,0 +1,197 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "d03092e4-77ee-4ed7-8705-3ffd1253c722", + "date": "Fri, 25 Jun 2021 20:21:45 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "267" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:46Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "839233d9-e60f-46f3-8090-eb6351c36f1a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:46Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "ab6ad3ce-dcd6-452d-8dba-1a49479d6a3e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:47Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "1a5050a8-0244-4a97-b6c2-be50dd33a352", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:47Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "a4308664-afdd-440b-a273-6169e0ff58cc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:47Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "37b2db61-472a-4598-a6a5-b79f6d8d0bf7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:53Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":2,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:53.7137798Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "162aa9d3-287f-4e37-9b35-798a7426da9e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "61" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:56Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:53.7137798Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:56.2781781Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "78f2cd40-5748-4f7f-81eb-c6a2a3173392", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "116" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:58Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:53.7137798Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:56.2781781Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:58.2349623Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Español\",\"document\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "250370d4-cd52-465d-8871-2bf6c860dc47", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "205" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/32b0a887-3df3-484b-b66c-8f3441363865", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"32b0a887-3df3-484b-b66c-8f3441363865\",\"lastUpdateDateTime\":\"2021-06-25T20:21:58Z\",\"createdDateTime\":\"2021-06-25T20:21:45Z\",\"expirationDateTime\":\"2021-06-26T20:21:45Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:53.7137798Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"text\":\"park\",\"category\":\"Location\",\"offset\":17,\"length\":4,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"Español\",\"category\":\"Skill\",\"offset\":31,\"length\":7,\"confidenceScore\":0.92}],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:56.2781781Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"I will go to the park.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"Este es un document escrito en Español.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"猫は幸せ\",\"id\":\"3\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:58.2349623Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"1\",\"keyPhrases\":[\"park\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"Español\",\"document\"],\"warnings\":[]},{\"id\":\"3\",\"keyPhrases\":[\"せ\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "c471c558-239b-4ea5-b282-628a7e26b4bd", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:58 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "181" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "8f314fa816eb3a9379d509dd8840d64e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json new file mode 100644 index 000000000000..dbaea18db1bc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.json @@ -0,0 +1,349 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "7e493d3e-f00a-4dfd-a06d-4130722f6e17", + "date": "Fri, 25 Jun 2021 20:20:28 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7878" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:29Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "1b4cb94b-15d7-4179-b6ce-6ef273699ae3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:29Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "3c324c16-4d5d-474c-a0e3-f25786ae9f65", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:30Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "c9c2971c-3b40-483a-b084-e777d2d77542", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:30Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "90708661-a9e7-4546-a1ee-186c7829e309", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:34 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:35Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "3a46d056-5b5b-4f7d-8d25-52d0444cf186", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:35Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "e0479340-4d43-4a7d-95c5-fd4448426e18", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:35Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "0727231f-8d9b-4dd7-b47b-9a06ceb51469", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:35Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "db098de8-5835-4b1a-8819-ae5e4726599d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:35Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "7e2c6576-54e2-40b0-8b0b-3735caa92575", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "13" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:35Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "1571a3c1-fda1-44e2-955b-405376d32c4b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:48Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.6060998Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.1530994Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "38ae2e1a-3604-47e5-a9a6-5a64285bb886", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:48 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "117" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:48Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.6060998Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.1530994Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "0d45d0f8-dc1e-4289-b04e-fce32b5e5ff7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:50 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "146" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:48Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.6060998Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.1530994Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "15987ef6-ed74-4576-b419-237e41360d1b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:52 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "116" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:48Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.6060998Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.1530994Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "48b30af7-719a-442b-89d6-67d8ec545ab7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "126" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:48Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.6060998Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.1530994Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "00f477bc-326c-433d-b3e6-39a856fd53e6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "152" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:59Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.6060998Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:59.560156Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.1530994Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "b9254bb3-3ce1-42a5-b90f-29501be66c80", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "403" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/8b89c3b2-537f-4447-ae37-914d8834fa42", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8b89c3b2-537f-4447-ae37-914d8834fa42\",\"lastUpdateDateTime\":\"2021-06-25T20:20:59Z\",\"createdDateTime\":\"2021-06-25T20:20:22Z\",\"expirationDateTime\":\"2021-06-26T20:20:22Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.6060998Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:59.560156Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:20:48.1530994Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "56168491-a290-4767-8fad-3afdc4a79901", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:20:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "200" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "2456069a85819d9a9195cf97a63ecf43" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json new file mode 100644 index 000000000000..928cb13f92d2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.json @@ -0,0 +1,235 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]},\"tasks\":{\"entityRecognitionTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"stringIndexType\":\"Utf16CodeUnit\"}}],\"keyPhraseExtractionTasks\":[{\"parameters\":{\"model-version\":\"latest\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "0f4894f5-d977-4618-b392-9189543d3358", + "date": "Fri, 25 Jun 2021 20:21:00 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "366" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:01Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "402b1f14-c913-4087-933a-1379c6037ef1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:01Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "dde41712-93c6-4367-9e68-a3efdd861935", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:00 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:03Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "c9abd5a6-fbb2-4674-b8de-bb5b21f55773", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:03Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "bd6c9c13-74d6-4d21-bcbb-0b7ccc6ab59f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:04 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "15" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:03Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":3,\"total\":3}}", + "responseHeaders": { + "apim-request-id": "df0503a1-4929-425b-90c7-b8e72885c67c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:06 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:08Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.6178566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.1179963Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "7c2bd941-14b3-40bf-af85-bafc77abc9b3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:08 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "121" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:08Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.6178566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.1179963Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "26c14f91-afbb-4d0a-8b88-70b6743113cc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:10 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "119" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:08Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.6178566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.1179963Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "1a1ef952-f68f-4774-ad30-f310619e76e9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "101" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:08Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":2,\"failed\":0,\"inProgress\":1,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.6178566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.1179963Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "e9457934-2f27-49d1-ac1c-24848de886f3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "98" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:16Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.6178566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:16.2360639Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.1179963Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "921148f3-ade0-4d2e-8501-f32efd8dffb9", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "172" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/6d9fd70d-3acb-40da-953a-f19b27eadfb2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"6d9fd70d-3acb-40da-953a-f19b27eadfb2\",\"lastUpdateDateTime\":\"2021-06-25T20:21:16Z\",\"createdDateTime\":\"2021-06-25T20:21:00Z\",\"expirationDateTime\":\"2021-06-26T20:21:00Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":3,\"failed\":0,\"inProgress\":0,\"total\":3,\"entityRecognitionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.6178566Z\",\"taskName\":\"NamedEntityRecognition_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"text\":\"hotel\",\"category\":\"Location\",\"offset\":19,\"length\":5,\"confidenceScore\":0.99}],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"text\":\"restaurant\",\"category\":\"Location\",\"subcategory\":\"Structural\",\"offset\":4,\"length\":10,\"confidenceScore\":0.96}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}],\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:16.2360639Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"This was the best day of my life.\",\"id\":\"0\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"I did not like the hotel we stayed at. It was too expensive.\",\"id\":\"1\",\"entities\":[],\"warnings\":[]},{\"redactedText\":\"The restaurant was not as good as I hoped.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}],\"keyPhraseExtractionTasks\":[{\"lastUpdateDateTime\":\"2021-06-25T20:21:08.1179963Z\",\"taskName\":\"KeyPhraseExtraction_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"id\":\"0\",\"keyPhrases\":[\"best day\",\"life\"],\"warnings\":[]},{\"id\":\"1\",\"keyPhrases\":[\"hotel\"],\"warnings\":[]},{\"id\":\"2\",\"keyPhrases\":[\"restaurant\"],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-06-01\"}}]}}", + "responseHeaders": { + "apim-request-id": "c53456da-5f11-45cf-b2a1-56c75543b92d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:21:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "191" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "f9c18b0e6c6100b2a2b49820e7d212e4" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_all_documents_have_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.json similarity index 72% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_all_documents_have_errors.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.json index 96edaf7c6bd7..70a2c04b98ef 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_all_documents_have_errors.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,47 +10,47 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "c66abf2e-cce5-45f9-85d1-4bf54a3bc748", - "date": "Wed, 12 May 2021 19:16:53 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/702c4698-c410-4cf1-b93f-7c24ff8eeab8", + "apim-request-id": "76d48261-6405-4511-8ec8-592bfdd46ca6", + "date": "Fri, 25 Jun 2021 20:25:07 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/1e7920e0-0787-490b-b5f9-2031733cf080", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "99" + "x-envoy-upstream-service-time": "186" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/702c4698-c410-4cf1-b93f-7c24ff8eeab8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/1e7920e0-0787-490b-b5f9-2031733cf080", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"702c4698-c410-4cf1-b93f-7c24ff8eeab8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:53Z\",\"createdDateTime\":\"2021-05-12T19:16:53Z\",\"expirationDateTime\":\"2021-05-13T19:16:53Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"1e7920e0-0787-490b-b5f9-2031733cf080\",\"lastUpdateDateTime\":\"2021-06-25T20:25:08Z\",\"createdDateTime\":\"2021-06-25T20:25:08Z\",\"expirationDateTime\":\"2021-06-26T20:25:08Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "2148ea99-299b-44d5-8f42-3f9c44488eb3", + "apim-request-id": "3dcf8d19-0ee6-45b5-90c3-6ebbfbb87758", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:53 GMT", + "date": "Fri, 25 Jun 2021 20:25:07 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "6" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/702c4698-c410-4cf1-b93f-7c24ff8eeab8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/1e7920e0-0787-490b-b5f9-2031733cf080", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"702c4698-c410-4cf1-b93f-7c24ff8eeab8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:53Z\",\"createdDateTime\":\"2021-05-12T19:16:53Z\",\"expirationDateTime\":\"2021-05-13T19:16:53Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"1e7920e0-0787-490b-b5f9-2031733cf080\",\"lastUpdateDateTime\":\"2021-06-25T20:25:08Z\",\"createdDateTime\":\"2021-06-25T20:25:08Z\",\"expirationDateTime\":\"2021-06-26T20:25:08Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "57d2dda0-2382-466a-9465-bf72ceb9ef71", + "apim-request-id": "c4e7b3ed-74ce-48fa-9842-8f24f18d42ee", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:53 GMT", + "date": "Fri, 25 Jun 2021 20:25:08 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -59,40 +59,59 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/702c4698-c410-4cf1-b93f-7c24ff8eeab8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/1e7920e0-0787-490b-b5f9-2031733cf080", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"1e7920e0-0787-490b-b5f9-2031733cf080\",\"lastUpdateDateTime\":\"2021-06-25T20:25:08Z\",\"createdDateTime\":\"2021-06-25T20:25:08Z\",\"expirationDateTime\":\"2021-06-26T20:25:08Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "f81186b1-df29-428d-a585-f7aba1020528", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:10 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/1e7920e0-0787-490b-b5f9-2031733cf080", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"702c4698-c410-4cf1-b93f-7c24ff8eeab8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:54Z\",\"createdDateTime\":\"2021-05-12T19:16:53Z\",\"expirationDateTime\":\"2021-05-13T19:16:53Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"1e7920e0-0787-490b-b5f9-2031733cf080\",\"lastUpdateDateTime\":\"2021-06-25T20:25:11Z\",\"createdDateTime\":\"2021-06-25T20:25:08Z\",\"expirationDateTime\":\"2021-06-26T20:25:08Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "d8dece8e-e849-460a-bc93-7ca708573f5a", + "apim-request-id": "22f771f0-3fc0-4549-9aae-c1d1cc1331ff", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:55 GMT", + "date": "Fri, 25 Jun 2021 20:25:13 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "45" + "x-envoy-upstream-service-time": "73" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/702c4698-c410-4cf1-b93f-7c24ff8eeab8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/1e7920e0-0787-490b-b5f9-2031733cf080", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"702c4698-c410-4cf1-b93f-7c24ff8eeab8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:54Z\",\"createdDateTime\":\"2021-05-12T19:16:53Z\",\"expirationDateTime\":\"2021-05-13T19:16:53Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"1e7920e0-0787-490b-b5f9-2031733cf080\",\"lastUpdateDateTime\":\"2021-06-25T20:25:11Z\",\"createdDateTime\":\"2021-06-25T20:25:08Z\",\"expirationDateTime\":\"2021-06-26T20:25:08Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "fb66bf04-c3de-48e5-a9f2-8a3c803d12b4", + "apim-request-id": "acea739f-a967-4d27-8bdf-c37a7ca0106d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:55 GMT", + "date": "Fri, 25 Jun 2021 20:25:13 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "52" + "x-envoy-upstream-service-time": "63" } } ], @@ -100,5 +119,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e3c59c72b696ba9b58df9f60903d4375" + "hash": "01881f729b552f93505ee1dc6d622559" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json similarity index 55% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json index 896d450dcb5f..4c2fd131c326 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,66 +10,66 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "ef5a157e-8c9a-4b41-9ac7-e56794692efa", - "date": "Wed, 12 May 2021 19:16:19 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11", + "apim-request-id": "6189d22a-55c1-4b32-97b8-11a6948b2414", + "date": "Fri, 25 Jun 2021 20:24:13 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/2a627463-a51f-49d8-a6e7-4fa7c32d5666", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "104" + "x-envoy-upstream-service-time": "177" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/2a627463-a51f-49d8-a6e7-4fa7c32d5666", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11\",\"lastUpdateDateTime\":\"2021-05-12T19:16:19Z\",\"createdDateTime\":\"2021-05-12T19:16:19Z\",\"expirationDateTime\":\"2021-05-13T19:16:19Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"2a627463-a51f-49d8-a6e7-4fa7c32d5666\",\"lastUpdateDateTime\":\"2021-06-25T20:24:13Z\",\"createdDateTime\":\"2021-06-25T20:24:13Z\",\"expirationDateTime\":\"2021-06-26T20:24:13Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "78440420-b2b3-4861-ba86-5cb8a7d480c3", + "apim-request-id": "9808650a-6a50-4348-92f8-37e3b0deca36", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:19 GMT", + "date": "Fri, 25 Jun 2021 20:24:13 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/2a627463-a51f-49d8-a6e7-4fa7c32d5666", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11\",\"lastUpdateDateTime\":\"2021-05-12T19:16:19Z\",\"createdDateTime\":\"2021-05-12T19:16:19Z\",\"expirationDateTime\":\"2021-05-13T19:16:19Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"2a627463-a51f-49d8-a6e7-4fa7c32d5666\",\"lastUpdateDateTime\":\"2021-06-25T20:24:13Z\",\"createdDateTime\":\"2021-06-25T20:24:13Z\",\"expirationDateTime\":\"2021-06-26T20:24:13Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "cb6957e7-7c50-401e-a58c-3d9ab404f5a0", + "apim-request-id": "38b4747e-3f29-4c61-b823-d7f7bc875726", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:19 GMT", + "date": "Fri, 25 Jun 2021 20:24:13 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/2a627463-a51f-49d8-a6e7-4fa7c32d5666", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11\",\"lastUpdateDateTime\":\"2021-05-12T19:16:19Z\",\"createdDateTime\":\"2021-05-12T19:16:19Z\",\"expirationDateTime\":\"2021-05-13T19:16:19Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"2a627463-a51f-49d8-a6e7-4fa7c32d5666\",\"lastUpdateDateTime\":\"2021-06-25T20:24:15Z\",\"createdDateTime\":\"2021-06-25T20:24:13Z\",\"expirationDateTime\":\"2021-06-26T20:24:13Z\",\"status\":\"running\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "e4d9a73b-e55b-4525-b274-0538a016afde", + "apim-request-id": "01773e3c-fdad-4647-b4f1-9374db1f2193", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:21 GMT", + "date": "Fri, 25 Jun 2021 20:24:15 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -78,40 +78,40 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/2a627463-a51f-49d8-a6e7-4fa7c32d5666", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11\",\"lastUpdateDateTime\":\"2021-05-12T19:16:22Z\",\"createdDateTime\":\"2021-05-12T19:16:19Z\",\"expirationDateTime\":\"2021-05-13T19:16:19Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"2a627463-a51f-49d8-a6e7-4fa7c32d5666\",\"lastUpdateDateTime\":\"2021-06-25T20:24:16Z\",\"createdDateTime\":\"2021-06-25T20:24:13Z\",\"expirationDateTime\":\"2021-06-26T20:24:13Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "8b4e096c-4d90-476a-9f95-6b41a35d763d", + "apim-request-id": "2f3917eb-d5d4-4aa8-b7e0-46b7789a06b4", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:23 GMT", + "date": "Fri, 25 Jun 2021 20:24:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "53" + "x-envoy-upstream-service-time": "60" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/2a627463-a51f-49d8-a6e7-4fa7c32d5666", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"1caa0fa4-61b8-4dc0-a765-ec9cc8cf0b11\",\"lastUpdateDateTime\":\"2021-05-12T19:16:22Z\",\"createdDateTime\":\"2021-05-12T19:16:19Z\",\"expirationDateTime\":\"2021-05-13T19:16:19Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"2a627463-a51f-49d8-a6e7-4fa7c32d5666\",\"lastUpdateDateTime\":\"2021-06-25T20:24:16Z\",\"createdDateTime\":\"2021-06-25T20:24:13Z\",\"expirationDateTime\":\"2021-06-26T20:24:13Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}},{\"id\":\"3\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "0ccd068f-2bc9-41f9-bbb0-5c17b5ea2b3d", + "apim-request-id": "e5575007-0776-4fe3-abbd-adf3bb15ad5e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:23 GMT", + "date": "Fri, 25 Jun 2021 20:24:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "49" + "x-envoy-upstream-service-time": "93" } } ], @@ -119,5 +119,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "ffe80882b29b8f8f74ab88e8a42b4836" + "hash": "422fa2aae090de9b8ef49ad07a6940c1" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_cancelled.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_cancelled.json new file mode 100644 index 000000000000..ac8a06869bce --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_cancelled.json @@ -0,0 +1,64 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "a9f39b35-60e9-448e-97f1-39e3fb193c31", + "date": "Fri, 25 Jun 2021 20:25:13 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/21e4ca96-8519-46da-8d9e-b43c34bbae14", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "205" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/21e4ca96-8519-46da-8d9e-b43c34bbae14", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"21e4ca96-8519-46da-8d9e-b43c34bbae14\",\"lastUpdateDateTime\":\"2021-06-25T20:25:13Z\",\"createdDateTime\":\"2021-06-25T20:25:13Z\",\"expirationDateTime\":\"2021-06-26T20:25:13Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "a44ef4e1-5d56-4b81-b6bb-9c9e7120faef", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:13 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "DELETE", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/21e4ca96-8519-46da-8d9e-b43c34bbae14", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "fe7e42b4-7632-4c84-be69-0699255867ba", + "date": "Fri, 25 Jun 2021 20:25:13 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/21e4ca96-8519-46da-8d9e-b43c34bbae14", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "26" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "01dfa9d01856d50a1807094a8dc25695" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_document_warnings.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_document_warnings.json new file mode 100644 index 000000000000..a6bc18662133 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_document_warnings.json @@ -0,0 +1,104 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"This won't actually create a warning :'(\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "fd3b7924-fcaf-4272-96a4-9acf2bf1520e", + "date": "Fri, 25 Jun 2021 20:24:19 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/8c0a3c35-1048-4c1a-bf9e-d73e10e48142", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "140" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8c0a3c35-1048-4c1a-bf9e-d73e10e48142", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8c0a3c35-1048-4c1a-bf9e-d73e10e48142\",\"lastUpdateDateTime\":\"2021-06-25T20:24:19Z\",\"createdDateTime\":\"2021-06-25T20:24:19Z\",\"expirationDateTime\":\"2021-06-26T20:24:19Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "f1600aea-8f3e-4c62-a2f6-4e93584af6e1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8c0a3c35-1048-4c1a-bf9e-d73e10e48142", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8c0a3c35-1048-4c1a-bf9e-d73e10e48142\",\"lastUpdateDateTime\":\"2021-06-25T20:24:19Z\",\"createdDateTime\":\"2021-06-25T20:24:19Z\",\"expirationDateTime\":\"2021-06-26T20:24:19Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "0486c8d0-3713-463f-aa71-acc7fae95f75", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:19 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8c0a3c35-1048-4c1a-bf9e-d73e10e48142", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8c0a3c35-1048-4c1a-bf9e-d73e10e48142\",\"lastUpdateDateTime\":\"2021-06-25T20:24:20Z\",\"createdDateTime\":\"2021-06-25T20:24:19Z\",\"expirationDateTime\":\"2021-06-26T20:24:19Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "deec9144-46d5-4818-b38e-c4aa4404ce06", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "55" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8c0a3c35-1048-4c1a-bf9e-d73e10e48142", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"8c0a3c35-1048-4c1a-bf9e-d73e10e48142\",\"lastUpdateDateTime\":\"2021-06-25T20:24:20Z\",\"createdDateTime\":\"2021-06-25T20:24:19Z\",\"expirationDateTime\":\"2021-06-26T20:24:19Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "f31641de-1b72-498d-bffb-de6357bc9b99", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:21 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "59" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "87bec8b74fdd02cc761c1d3668adde6a" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json similarity index 74% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json index 7e199d334066..262b10555b9f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,13 +10,13 @@ "status": 400, "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Request contains duplicated Ids. Make sure each document has a unique Id.\"}}}", "responseHeaders": { - "apim-request-id": "b5a5f159-68b2-48ae-8bb8-e3caacf138da", + "apim-request-id": "1f22fcae-8e4c-4587-b280-fbcdd7a6b936", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:55 GMT", + "date": "Fri, 25 Jun 2021 20:25:13 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "15" + "x-envoy-upstream-service-time": "3" } } ], @@ -24,5 +24,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "fd07491e077d664a98fa00ed86c7e0f4" + "hash": "5a1a51d510e78fbb9637596af3eed13e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_entity_assertions.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json similarity index 84% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_entity_assertions.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json index 2835f1ab5c95..e3325d6a268c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_entity_assertions.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_entity_assertions.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,108 +10,89 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "34f42c79-0a64-48de-a34e-a47a791093cf", - "date": "Mon, 07 Jun 2021 21:26:17 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/c16efaa6-5f20-4eb6-bab5-9447f494ee6f", + "apim-request-id": "34005ed9-9a51-4a1e-80d8-948cf2aeaa47", + "date": "Fri, 25 Jun 2021 20:23:33 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/d200165a-0bd1-422b-9d0d-12a71a1f004d", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5221" + "x-envoy-upstream-service-time": "130" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c16efaa6-5f20-4eb6-bab5-9447f494ee6f", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d200165a-0bd1-422b-9d0d-12a71a1f004d", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c16efaa6-5f20-4eb6-bab5-9447f494ee6f\",\"lastUpdateDateTime\":\"2021-06-07T21:26:17Z\",\"createdDateTime\":\"2021-06-07T21:26:12Z\",\"expirationDateTime\":\"2021-06-08T21:26:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"d200165a-0bd1-422b-9d0d-12a71a1f004d\",\"lastUpdateDateTime\":\"2021-06-25T20:23:34Z\",\"createdDateTime\":\"2021-06-25T20:23:34Z\",\"expirationDateTime\":\"2021-06-26T20:23:34Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "0e73f0f1-a379-4092-a720-abe6c6661b2d", + "apim-request-id": "eaf8a36b-136a-41be-8b93-b974f6820e96", "content-type": "application/json; charset=utf-8", - "date": "Mon, 07 Jun 2021 21:26:17 GMT", + "date": "Fri, 25 Jun 2021 20:23:33 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "9" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c16efaa6-5f20-4eb6-bab5-9447f494ee6f", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d200165a-0bd1-422b-9d0d-12a71a1f004d", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c16efaa6-5f20-4eb6-bab5-9447f494ee6f\",\"lastUpdateDateTime\":\"2021-06-07T21:26:17Z\",\"createdDateTime\":\"2021-06-07T21:26:12Z\",\"expirationDateTime\":\"2021-06-08T21:26:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"d200165a-0bd1-422b-9d0d-12a71a1f004d\",\"lastUpdateDateTime\":\"2021-06-25T20:23:34Z\",\"createdDateTime\":\"2021-06-25T20:23:34Z\",\"expirationDateTime\":\"2021-06-26T20:23:34Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "e0bb008f-133a-4228-b225-a8fcd93a140d", + "apim-request-id": "8b66fb69-1a43-40af-85a4-bcb2deb2fe31", "content-type": "application/json; charset=utf-8", - "date": "Mon, 07 Jun 2021 21:26:17 GMT", + "date": "Fri, 25 Jun 2021 20:23:33 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "10" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c16efaa6-5f20-4eb6-bab5-9447f494ee6f", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d200165a-0bd1-422b-9d0d-12a71a1f004d", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c16efaa6-5f20-4eb6-bab5-9447f494ee6f\",\"lastUpdateDateTime\":\"2021-06-07T21:26:17Z\",\"createdDateTime\":\"2021-06-07T21:26:12Z\",\"expirationDateTime\":\"2021-06-08T21:26:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"d200165a-0bd1-422b-9d0d-12a71a1f004d\",\"lastUpdateDateTime\":\"2021-06-25T20:23:35Z\",\"createdDateTime\":\"2021-06-25T20:23:34Z\",\"expirationDateTime\":\"2021-06-26T20:23:34Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"Baby\",\"category\":\"Age\",\"confidenceScore\":0.94,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]},{\"offset\":24,\"length\":10,\"text\":\"Meningitis\",\"category\":\"Diagnosis\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negativePossible\"},\"name\":\"Meningitis\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025289\"},{\"dataSource\":\"AOD\",\"id\":\"0000006185\"},{\"dataSource\":\"BI\",\"id\":\"BI00546\"},{\"dataSource\":\"CCPSS\",\"id\":\"1018016\"},{\"dataSource\":\"CCSR_10\",\"id\":\"NVS001\"},{\"dataSource\":\"CHV\",\"id\":\"0000007932\"},{\"dataSource\":\"COSTAR\",\"id\":\"478\"},{\"dataSource\":\"CSP\",\"id\":\"2042-5301\"},{\"dataSource\":\"CST\",\"id\":\"MENINGITIS\"},{\"dataSource\":\"DXP\",\"id\":\"U002543\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001287\"},{\"dataSource\":\"ICD10\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"322.9\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU048434\"},{\"dataSource\":\"ICPC2P\",\"id\":\"N71002\"},{\"dataSource\":\"LCH\",\"id\":\"U002901\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083562\"},{\"dataSource\":\"LNC\",\"id\":\"LP20756-0\"},{\"dataSource\":\"MDR\",\"id\":\"10027199\"},{\"dataSource\":\"MEDCIN\",\"id\":\"31192\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"324\"},{\"dataSource\":\"MSH\",\"id\":\"D008581\"},{\"dataSource\":\"NANDA-I\",\"id\":\"02899\"},{\"dataSource\":\"NCI\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11458\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"2389\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000471780\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C26828\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005994\"},{\"dataSource\":\"PSY\",\"id\":\"30660\"},{\"dataSource\":\"RCD\",\"id\":\"X000H\"},{\"dataSource\":\"SNM\",\"id\":\"M-40000\"},{\"dataSource\":\"SNMI\",\"id\":\"DA-10010\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"7180009\"},{\"dataSource\":\"WHO\",\"id\":\"0955\"}]},{\"offset\":47,\"length\":5,\"text\":\"fever\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"name\":\"Fever\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015967\"},{\"dataSource\":\"AIR\",\"id\":\"FEVER\"},{\"dataSource\":\"AOD\",\"id\":\"0000004396\"},{\"dataSource\":\"BI\",\"id\":\"BI00751\"},{\"dataSource\":\"CCC\",\"id\":\"K25.2\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017166\"},{\"dataSource\":\"CCSR_10\",\"id\":\"SYM002\"},{\"dataSource\":\"CHV\",\"id\":\"0000005010\"},{\"dataSource\":\"COSTAR\",\"id\":\"300\"},{\"dataSource\":\"CPM\",\"id\":\"65287\"},{\"dataSource\":\"CSP\",\"id\":\"2871-4310\"},{\"dataSource\":\"CST\",\"id\":\"FEVER\"},{\"dataSource\":\"DXP\",\"id\":\"U001483\"},{\"dataSource\":\"GO\",\"id\":\"GO:0001660\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001945\"},{\"dataSource\":\"ICD10\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"780.60\"},{\"dataSource\":\"ICNP\",\"id\":\"10041539\"},{\"dataSource\":\"ICPC\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU041751\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A03002\"},{\"dataSource\":\"LCH\",\"id\":\"U001776\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047994\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013518\"},{\"dataSource\":\"MDR\",\"id\":\"10005911\"},{\"dataSource\":\"MEDCIN\",\"id\":\"6005\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"511\"},{\"dataSource\":\"MSH\",\"id\":\"D005334\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.60\"},{\"dataSource\":\"NANDA-I\",\"id\":\"01128\"},{\"dataSource\":\"NCI\",\"id\":\"C3038\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11102\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1858\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000450108\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3038\"},{\"dataSource\":\"NOC\",\"id\":\"070307\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005439\"},{\"dataSource\":\"OMS\",\"id\":\"50.03\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11020.02\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000775882\"},{\"dataSource\":\"PSY\",\"id\":\"23840\"},{\"dataSource\":\"QMR\",\"id\":\"Q0200115\"},{\"dataSource\":\"RCD\",\"id\":\"X76EI\"},{\"dataSource\":\"SNM\",\"id\":\"F-03003\"},{\"dataSource\":\"SNMI\",\"id\":\"F-03003\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"386661006\"},{\"dataSource\":\"WHO\",\"id\":\"0725\"}]},{\"offset\":60,\"length\":6,\"text\":\"mother\",\"category\":\"FamilyRelation\",\"confidenceScore\":0.99,\"name\":\"Mother (person)\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0026591\"},{\"dataSource\":\"AOD\",\"id\":\"0000027173\"},{\"dataSource\":\"CCPSS\",\"id\":\"U000286\"},{\"dataSource\":\"CHV\",\"id\":\"0000008266\"},{\"dataSource\":\"CSP\",\"id\":\"1124-5492\"},{\"dataSource\":\"HL7V3.0\",\"id\":\"MTH\"},{\"dataSource\":\"LCH\",\"id\":\"U003028\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85087526\"},{\"dataSource\":\"LNC\",\"id\":\"LA10417-6\"},{\"dataSource\":\"MSH\",\"id\":\"D009035\"},{\"dataSource\":\"NCI\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C25189\"},{\"dataSource\":\"PSY\",\"id\":\"32140\"},{\"dataSource\":\"RCD\",\"id\":\"X78ym\"},{\"dataSource\":\"SNMI\",\"id\":\"S-10120\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"72705000\"}]},{\"offset\":77,\"length\":10,\"text\":\"Penicillin\",\"category\":\"MedicationName\",\"confidenceScore\":0.9,\"assertion\":{\"certainty\":\"neutralPossible\"},\"name\":\"penicillins\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0030842\"},{\"dataSource\":\"AOD\",\"id\":\"0000019206\"},{\"dataSource\":\"ATC\",\"id\":\"J01C\"},{\"dataSource\":\"CCPSS\",\"id\":\"0014106\"},{\"dataSource\":\"CHV\",\"id\":\"0000009423\"},{\"dataSource\":\"CSP\",\"id\":\"0199-8025\"},{\"dataSource\":\"GS\",\"id\":\"4011\"},{\"dataSource\":\"LCH\",\"id\":\"U003521\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85099402\"},{\"dataSource\":\"LNC\",\"id\":\"LP14319-5\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40319\"},{\"dataSource\":\"MMSL\",\"id\":\"d00116\"},{\"dataSource\":\"MSH\",\"id\":\"D010406\"},{\"dataSource\":\"NCI\",\"id\":\"C1500\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0402815\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000045296\"},{\"dataSource\":\"NDDF\",\"id\":\"016121\"},{\"dataSource\":\"PSY\",\"id\":\"37190\"},{\"dataSource\":\"RCD\",\"id\":\"x009C\"},{\"dataSource\":\"SNM\",\"id\":\"E-7260\"},{\"dataSource\":\"SNMI\",\"id\":\"C-54000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"764146007\"},{\"dataSource\":\"VANDF\",\"id\":\"4019880\"}]},{\"offset\":96,\"length\":4,\"text\":\"baby\",\"category\":\"FamilyRelation\",\"confidenceScore\":1.0,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "18584e2d-5151-4c94-b9db-e04888316b49", + "apim-request-id": "2484d09f-3d42-4690-9c82-fdc302924925", "content-type": "application/json; charset=utf-8", - "date": "Mon, 07 Jun 2021 21:26:19 GMT", + "date": "Fri, 25 Jun 2021 20:23:36 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "18" + "x-envoy-upstream-service-time": "47" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c16efaa6-5f20-4eb6-bab5-9447f494ee6f", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d200165a-0bd1-422b-9d0d-12a71a1f004d", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"c16efaa6-5f20-4eb6-bab5-9447f494ee6f\",\"lastUpdateDateTime\":\"2021-06-07T21:26:20Z\",\"createdDateTime\":\"2021-06-07T21:26:12Z\",\"expirationDateTime\":\"2021-06-08T21:26:12Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"Baby\",\"category\":\"Age\",\"confidenceScore\":0.94,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]},{\"offset\":24,\"length\":10,\"text\":\"Meningitis\",\"category\":\"Diagnosis\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negativePossible\"},\"name\":\"Meningitis\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025289\"},{\"dataSource\":\"AOD\",\"id\":\"0000006185\"},{\"dataSource\":\"BI\",\"id\":\"BI00546\"},{\"dataSource\":\"CCPSS\",\"id\":\"1018016\"},{\"dataSource\":\"CCSR_10\",\"id\":\"NVS001\"},{\"dataSource\":\"CHV\",\"id\":\"0000007932\"},{\"dataSource\":\"COSTAR\",\"id\":\"478\"},{\"dataSource\":\"CSP\",\"id\":\"2042-5301\"},{\"dataSource\":\"CST\",\"id\":\"MENINGITIS\"},{\"dataSource\":\"DXP\",\"id\":\"U002543\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001287\"},{\"dataSource\":\"ICD10\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"322.9\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU048434\"},{\"dataSource\":\"ICPC2P\",\"id\":\"N71002\"},{\"dataSource\":\"LCH\",\"id\":\"U002901\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083562\"},{\"dataSource\":\"LNC\",\"id\":\"LP20756-0\"},{\"dataSource\":\"MDR\",\"id\":\"10027199\"},{\"dataSource\":\"MEDCIN\",\"id\":\"31192\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"324\"},{\"dataSource\":\"MSH\",\"id\":\"D008581\"},{\"dataSource\":\"NANDA-I\",\"id\":\"02899\"},{\"dataSource\":\"NCI\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11458\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"2389\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000471780\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C26828\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005994\"},{\"dataSource\":\"PSY\",\"id\":\"30660\"},{\"dataSource\":\"RCD\",\"id\":\"X000H\"},{\"dataSource\":\"SNM\",\"id\":\"M-40000\"},{\"dataSource\":\"SNMI\",\"id\":\"DA-10010\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"7180009\"},{\"dataSource\":\"WHO\",\"id\":\"0955\"}]},{\"offset\":47,\"length\":5,\"text\":\"fever\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"name\":\"Fever\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015967\"},{\"dataSource\":\"AIR\",\"id\":\"FEVER\"},{\"dataSource\":\"AOD\",\"id\":\"0000004396\"},{\"dataSource\":\"BI\",\"id\":\"BI00751\"},{\"dataSource\":\"CCC\",\"id\":\"K25.2\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017166\"},{\"dataSource\":\"CCSR_10\",\"id\":\"SYM002\"},{\"dataSource\":\"CHV\",\"id\":\"0000005010\"},{\"dataSource\":\"COSTAR\",\"id\":\"300\"},{\"dataSource\":\"CPM\",\"id\":\"65287\"},{\"dataSource\":\"CSP\",\"id\":\"2871-4310\"},{\"dataSource\":\"CST\",\"id\":\"FEVER\"},{\"dataSource\":\"DXP\",\"id\":\"U001483\"},{\"dataSource\":\"GO\",\"id\":\"GO:0001660\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001945\"},{\"dataSource\":\"ICD10\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"780.60\"},{\"dataSource\":\"ICNP\",\"id\":\"10041539\"},{\"dataSource\":\"ICPC\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU041751\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A03002\"},{\"dataSource\":\"LCH\",\"id\":\"U001776\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047994\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013518\"},{\"dataSource\":\"MDR\",\"id\":\"10005911\"},{\"dataSource\":\"MEDCIN\",\"id\":\"6005\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"511\"},{\"dataSource\":\"MSH\",\"id\":\"D005334\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.60\"},{\"dataSource\":\"NANDA-I\",\"id\":\"01128\"},{\"dataSource\":\"NCI\",\"id\":\"C3038\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11102\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1858\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000450108\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3038\"},{\"dataSource\":\"NOC\",\"id\":\"070307\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005439\"},{\"dataSource\":\"OMS\",\"id\":\"50.03\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11020.02\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000775882\"},{\"dataSource\":\"PSY\",\"id\":\"23840\"},{\"dataSource\":\"QMR\",\"id\":\"Q0200115\"},{\"dataSource\":\"RCD\",\"id\":\"X76EI\"},{\"dataSource\":\"SNM\",\"id\":\"F-03003\"},{\"dataSource\":\"SNMI\",\"id\":\"F-03003\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"386661006\"},{\"dataSource\":\"WHO\",\"id\":\"0725\"}]},{\"offset\":60,\"length\":6,\"text\":\"mother\",\"category\":\"FamilyRelation\",\"confidenceScore\":0.99,\"name\":\"Mother (person)\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0026591\"},{\"dataSource\":\"AOD\",\"id\":\"0000027173\"},{\"dataSource\":\"CCPSS\",\"id\":\"U000286\"},{\"dataSource\":\"CHV\",\"id\":\"0000008266\"},{\"dataSource\":\"CSP\",\"id\":\"1124-5492\"},{\"dataSource\":\"HL7V3.0\",\"id\":\"MTH\"},{\"dataSource\":\"LCH\",\"id\":\"U003028\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85087526\"},{\"dataSource\":\"LNC\",\"id\":\"LA10417-6\"},{\"dataSource\":\"MSH\",\"id\":\"D009035\"},{\"dataSource\":\"NCI\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C25189\"},{\"dataSource\":\"PSY\",\"id\":\"32140\"},{\"dataSource\":\"RCD\",\"id\":\"X78ym\"},{\"dataSource\":\"SNMI\",\"id\":\"S-10120\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"72705000\"}]},{\"offset\":77,\"length\":10,\"text\":\"Penicillin\",\"category\":\"MedicationName\",\"confidenceScore\":0.9,\"assertion\":{\"certainty\":\"neutralPossible\"},\"name\":\"penicillins\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0030842\"},{\"dataSource\":\"AOD\",\"id\":\"0000019206\"},{\"dataSource\":\"ATC\",\"id\":\"J01C\"},{\"dataSource\":\"CCPSS\",\"id\":\"0014106\"},{\"dataSource\":\"CHV\",\"id\":\"0000009423\"},{\"dataSource\":\"CSP\",\"id\":\"0199-8025\"},{\"dataSource\":\"GS\",\"id\":\"4011\"},{\"dataSource\":\"LCH\",\"id\":\"U003521\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85099402\"},{\"dataSource\":\"LNC\",\"id\":\"LP14319-5\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40319\"},{\"dataSource\":\"MMSL\",\"id\":\"d00116\"},{\"dataSource\":\"MSH\",\"id\":\"D010406\"},{\"dataSource\":\"NCI\",\"id\":\"C1500\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0402815\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000045296\"},{\"dataSource\":\"NDDF\",\"id\":\"016121\"},{\"dataSource\":\"PSY\",\"id\":\"37190\"},{\"dataSource\":\"RCD\",\"id\":\"x009C\"},{\"dataSource\":\"SNM\",\"id\":\"E-7260\"},{\"dataSource\":\"SNMI\",\"id\":\"C-54000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"764146007\"},{\"dataSource\":\"VANDF\",\"id\":\"4019880\"}]},{\"offset\":96,\"length\":4,\"text\":\"baby\",\"category\":\"FamilyRelation\",\"confidenceScore\":1.0,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "response": "{\"jobId\":\"d200165a-0bd1-422b-9d0d-12a71a1f004d\",\"lastUpdateDateTime\":\"2021-06-25T20:23:35Z\",\"createdDateTime\":\"2021-06-25T20:23:34Z\",\"expirationDateTime\":\"2021-06-26T20:23:34Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"Baby\",\"category\":\"Age\",\"confidenceScore\":0.94,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]},{\"offset\":24,\"length\":10,\"text\":\"Meningitis\",\"category\":\"Diagnosis\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negativePossible\"},\"name\":\"Meningitis\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025289\"},{\"dataSource\":\"AOD\",\"id\":\"0000006185\"},{\"dataSource\":\"BI\",\"id\":\"BI00546\"},{\"dataSource\":\"CCPSS\",\"id\":\"1018016\"},{\"dataSource\":\"CCSR_10\",\"id\":\"NVS001\"},{\"dataSource\":\"CHV\",\"id\":\"0000007932\"},{\"dataSource\":\"COSTAR\",\"id\":\"478\"},{\"dataSource\":\"CSP\",\"id\":\"2042-5301\"},{\"dataSource\":\"CST\",\"id\":\"MENINGITIS\"},{\"dataSource\":\"DXP\",\"id\":\"U002543\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001287\"},{\"dataSource\":\"ICD10\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"322.9\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU048434\"},{\"dataSource\":\"ICPC2P\",\"id\":\"N71002\"},{\"dataSource\":\"LCH\",\"id\":\"U002901\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083562\"},{\"dataSource\":\"LNC\",\"id\":\"LP20756-0\"},{\"dataSource\":\"MDR\",\"id\":\"10027199\"},{\"dataSource\":\"MEDCIN\",\"id\":\"31192\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"324\"},{\"dataSource\":\"MSH\",\"id\":\"D008581\"},{\"dataSource\":\"NANDA-I\",\"id\":\"02899\"},{\"dataSource\":\"NCI\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11458\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"2389\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000471780\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C26828\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005994\"},{\"dataSource\":\"PSY\",\"id\":\"30660\"},{\"dataSource\":\"RCD\",\"id\":\"X000H\"},{\"dataSource\":\"SNM\",\"id\":\"M-40000\"},{\"dataSource\":\"SNMI\",\"id\":\"DA-10010\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"7180009\"},{\"dataSource\":\"WHO\",\"id\":\"0955\"}]},{\"offset\":47,\"length\":5,\"text\":\"fever\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"name\":\"Fever\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015967\"},{\"dataSource\":\"AIR\",\"id\":\"FEVER\"},{\"dataSource\":\"AOD\",\"id\":\"0000004396\"},{\"dataSource\":\"BI\",\"id\":\"BI00751\"},{\"dataSource\":\"CCC\",\"id\":\"K25.2\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017166\"},{\"dataSource\":\"CCSR_10\",\"id\":\"SYM002\"},{\"dataSource\":\"CHV\",\"id\":\"0000005010\"},{\"dataSource\":\"COSTAR\",\"id\":\"300\"},{\"dataSource\":\"CPM\",\"id\":\"65287\"},{\"dataSource\":\"CSP\",\"id\":\"2871-4310\"},{\"dataSource\":\"CST\",\"id\":\"FEVER\"},{\"dataSource\":\"DXP\",\"id\":\"U001483\"},{\"dataSource\":\"GO\",\"id\":\"GO:0001660\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001945\"},{\"dataSource\":\"ICD10\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"780.60\"},{\"dataSource\":\"ICNP\",\"id\":\"10041539\"},{\"dataSource\":\"ICPC\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU041751\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A03002\"},{\"dataSource\":\"LCH\",\"id\":\"U001776\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047994\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013518\"},{\"dataSource\":\"MDR\",\"id\":\"10005911\"},{\"dataSource\":\"MEDCIN\",\"id\":\"6005\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"511\"},{\"dataSource\":\"MSH\",\"id\":\"D005334\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.60\"},{\"dataSource\":\"NANDA-I\",\"id\":\"01128\"},{\"dataSource\":\"NCI\",\"id\":\"C3038\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11102\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1858\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000450108\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3038\"},{\"dataSource\":\"NOC\",\"id\":\"070307\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005439\"},{\"dataSource\":\"OMS\",\"id\":\"50.03\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11020.02\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000775882\"},{\"dataSource\":\"PSY\",\"id\":\"23840\"},{\"dataSource\":\"QMR\",\"id\":\"Q0200115\"},{\"dataSource\":\"RCD\",\"id\":\"X76EI\"},{\"dataSource\":\"SNM\",\"id\":\"F-03003\"},{\"dataSource\":\"SNMI\",\"id\":\"F-03003\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"386661006\"},{\"dataSource\":\"WHO\",\"id\":\"0725\"}]},{\"offset\":60,\"length\":6,\"text\":\"mother\",\"category\":\"FamilyRelation\",\"confidenceScore\":0.99,\"name\":\"Mother (person)\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0026591\"},{\"dataSource\":\"AOD\",\"id\":\"0000027173\"},{\"dataSource\":\"CCPSS\",\"id\":\"U000286\"},{\"dataSource\":\"CHV\",\"id\":\"0000008266\"},{\"dataSource\":\"CSP\",\"id\":\"1124-5492\"},{\"dataSource\":\"HL7V3.0\",\"id\":\"MTH\"},{\"dataSource\":\"LCH\",\"id\":\"U003028\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85087526\"},{\"dataSource\":\"LNC\",\"id\":\"LA10417-6\"},{\"dataSource\":\"MSH\",\"id\":\"D009035\"},{\"dataSource\":\"NCI\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C25189\"},{\"dataSource\":\"PSY\",\"id\":\"32140\"},{\"dataSource\":\"RCD\",\"id\":\"X78ym\"},{\"dataSource\":\"SNMI\",\"id\":\"S-10120\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"72705000\"}]},{\"offset\":77,\"length\":10,\"text\":\"Penicillin\",\"category\":\"MedicationName\",\"confidenceScore\":0.9,\"assertion\":{\"certainty\":\"neutralPossible\"},\"name\":\"penicillins\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0030842\"},{\"dataSource\":\"AOD\",\"id\":\"0000019206\"},{\"dataSource\":\"ATC\",\"id\":\"J01C\"},{\"dataSource\":\"CCPSS\",\"id\":\"0014106\"},{\"dataSource\":\"CHV\",\"id\":\"0000009423\"},{\"dataSource\":\"CSP\",\"id\":\"0199-8025\"},{\"dataSource\":\"GS\",\"id\":\"4011\"},{\"dataSource\":\"LCH\",\"id\":\"U003521\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85099402\"},{\"dataSource\":\"LNC\",\"id\":\"LP14319-5\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40319\"},{\"dataSource\":\"MMSL\",\"id\":\"d00116\"},{\"dataSource\":\"MSH\",\"id\":\"D010406\"},{\"dataSource\":\"NCI\",\"id\":\"C1500\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0402815\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000045296\"},{\"dataSource\":\"NDDF\",\"id\":\"016121\"},{\"dataSource\":\"PSY\",\"id\":\"37190\"},{\"dataSource\":\"RCD\",\"id\":\"x009C\"},{\"dataSource\":\"SNM\",\"id\":\"E-7260\"},{\"dataSource\":\"SNMI\",\"id\":\"C-54000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"764146007\"},{\"dataSource\":\"VANDF\",\"id\":\"4019880\"}]},{\"offset\":96,\"length\":4,\"text\":\"baby\",\"category\":\"FamilyRelation\",\"confidenceScore\":1.0,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "58d7fb78-bd8d-4ff6-88bf-7a2ec5b638b3", + "apim-request-id": "044fd6b5-737c-45d6-a0dd-034b3f22116c", "content-type": "application/json; charset=utf-8", - "date": "Mon, 07 Jun 2021 21:26:21 GMT", + "date": "Fri, 25 Jun 2021 20:23:37 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "29" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/c16efaa6-5f20-4eb6-bab5-9447f494ee6f", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"c16efaa6-5f20-4eb6-bab5-9447f494ee6f\",\"lastUpdateDateTime\":\"2021-06-07T21:26:20Z\",\"createdDateTime\":\"2021-06-07T21:26:12Z\",\"expirationDateTime\":\"2021-06-08T21:26:12Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"Baby\",\"category\":\"Age\",\"confidenceScore\":0.94,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]},{\"offset\":24,\"length\":10,\"text\":\"Meningitis\",\"category\":\"Diagnosis\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negativePossible\"},\"name\":\"Meningitis\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025289\"},{\"dataSource\":\"AOD\",\"id\":\"0000006185\"},{\"dataSource\":\"BI\",\"id\":\"BI00546\"},{\"dataSource\":\"CCPSS\",\"id\":\"1018016\"},{\"dataSource\":\"CCSR_10\",\"id\":\"NVS001\"},{\"dataSource\":\"CHV\",\"id\":\"0000007932\"},{\"dataSource\":\"COSTAR\",\"id\":\"478\"},{\"dataSource\":\"CSP\",\"id\":\"2042-5301\"},{\"dataSource\":\"CST\",\"id\":\"MENINGITIS\"},{\"dataSource\":\"DXP\",\"id\":\"U002543\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001287\"},{\"dataSource\":\"ICD10\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"G03.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"322.9\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU048434\"},{\"dataSource\":\"ICPC2P\",\"id\":\"N71002\"},{\"dataSource\":\"LCH\",\"id\":\"U002901\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083562\"},{\"dataSource\":\"LNC\",\"id\":\"LP20756-0\"},{\"dataSource\":\"MDR\",\"id\":\"10027199\"},{\"dataSource\":\"MEDCIN\",\"id\":\"31192\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"324\"},{\"dataSource\":\"MSH\",\"id\":\"D008581\"},{\"dataSource\":\"NANDA-I\",\"id\":\"02899\"},{\"dataSource\":\"NCI\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C26828\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11458\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"2389\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000471780\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C26828\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005994\"},{\"dataSource\":\"PSY\",\"id\":\"30660\"},{\"dataSource\":\"RCD\",\"id\":\"X000H\"},{\"dataSource\":\"SNM\",\"id\":\"M-40000\"},{\"dataSource\":\"SNMI\",\"id\":\"DA-10010\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"7180009\"},{\"dataSource\":\"WHO\",\"id\":\"0955\"}]},{\"offset\":47,\"length\":5,\"text\":\"fever\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"name\":\"Fever\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015967\"},{\"dataSource\":\"AIR\",\"id\":\"FEVER\"},{\"dataSource\":\"AOD\",\"id\":\"0000004396\"},{\"dataSource\":\"BI\",\"id\":\"BI00751\"},{\"dataSource\":\"CCC\",\"id\":\"K25.2\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017166\"},{\"dataSource\":\"CCSR_10\",\"id\":\"SYM002\"},{\"dataSource\":\"CHV\",\"id\":\"0000005010\"},{\"dataSource\":\"COSTAR\",\"id\":\"300\"},{\"dataSource\":\"CPM\",\"id\":\"65287\"},{\"dataSource\":\"CSP\",\"id\":\"2871-4310\"},{\"dataSource\":\"CST\",\"id\":\"FEVER\"},{\"dataSource\":\"DXP\",\"id\":\"U001483\"},{\"dataSource\":\"GO\",\"id\":\"GO:0001660\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001945\"},{\"dataSource\":\"ICD10\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R50.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"780.60\"},{\"dataSource\":\"ICNP\",\"id\":\"10041539\"},{\"dataSource\":\"ICPC\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"A03\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU041751\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A03002\"},{\"dataSource\":\"LCH\",\"id\":\"U001776\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047994\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013518\"},{\"dataSource\":\"MDR\",\"id\":\"10005911\"},{\"dataSource\":\"MEDCIN\",\"id\":\"6005\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"511\"},{\"dataSource\":\"MSH\",\"id\":\"D005334\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.60\"},{\"dataSource\":\"NANDA-I\",\"id\":\"01128\"},{\"dataSource\":\"NCI\",\"id\":\"C3038\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11102\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1858\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000450108\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3038\"},{\"dataSource\":\"NOC\",\"id\":\"070307\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU005439\"},{\"dataSource\":\"OMS\",\"id\":\"50.03\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11020.02\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000775882\"},{\"dataSource\":\"PSY\",\"id\":\"23840\"},{\"dataSource\":\"QMR\",\"id\":\"Q0200115\"},{\"dataSource\":\"RCD\",\"id\":\"X76EI\"},{\"dataSource\":\"SNM\",\"id\":\"F-03003\"},{\"dataSource\":\"SNMI\",\"id\":\"F-03003\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"386661006\"},{\"dataSource\":\"WHO\",\"id\":\"0725\"}]},{\"offset\":60,\"length\":6,\"text\":\"mother\",\"category\":\"FamilyRelation\",\"confidenceScore\":0.99,\"name\":\"Mother (person)\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0026591\"},{\"dataSource\":\"AOD\",\"id\":\"0000027173\"},{\"dataSource\":\"CCPSS\",\"id\":\"U000286\"},{\"dataSource\":\"CHV\",\"id\":\"0000008266\"},{\"dataSource\":\"CSP\",\"id\":\"1124-5492\"},{\"dataSource\":\"HL7V3.0\",\"id\":\"MTH\"},{\"dataSource\":\"LCH\",\"id\":\"U003028\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85087526\"},{\"dataSource\":\"LNC\",\"id\":\"LA10417-6\"},{\"dataSource\":\"MSH\",\"id\":\"D009035\"},{\"dataSource\":\"NCI\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C25189\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C25189\"},{\"dataSource\":\"PSY\",\"id\":\"32140\"},{\"dataSource\":\"RCD\",\"id\":\"X78ym\"},{\"dataSource\":\"SNMI\",\"id\":\"S-10120\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"72705000\"}]},{\"offset\":77,\"length\":10,\"text\":\"Penicillin\",\"category\":\"MedicationName\",\"confidenceScore\":0.9,\"assertion\":{\"certainty\":\"neutralPossible\"},\"name\":\"penicillins\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0030842\"},{\"dataSource\":\"AOD\",\"id\":\"0000019206\"},{\"dataSource\":\"ATC\",\"id\":\"J01C\"},{\"dataSource\":\"CCPSS\",\"id\":\"0014106\"},{\"dataSource\":\"CHV\",\"id\":\"0000009423\"},{\"dataSource\":\"CSP\",\"id\":\"0199-8025\"},{\"dataSource\":\"GS\",\"id\":\"4011\"},{\"dataSource\":\"LCH\",\"id\":\"U003521\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85099402\"},{\"dataSource\":\"LNC\",\"id\":\"LP14319-5\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40319\"},{\"dataSource\":\"MMSL\",\"id\":\"d00116\"},{\"dataSource\":\"MSH\",\"id\":\"D010406\"},{\"dataSource\":\"NCI\",\"id\":\"C1500\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0402815\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000045296\"},{\"dataSource\":\"NDDF\",\"id\":\"016121\"},{\"dataSource\":\"PSY\",\"id\":\"37190\"},{\"dataSource\":\"RCD\",\"id\":\"x009C\"},{\"dataSource\":\"SNM\",\"id\":\"E-7260\"},{\"dataSource\":\"SNMI\",\"id\":\"C-54000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"764146007\"},{\"dataSource\":\"VANDF\",\"id\":\"4019880\"}]},{\"offset\":96,\"length\":4,\"text\":\"baby\",\"category\":\"FamilyRelation\",\"confidenceScore\":1.0,\"name\":\"Infant\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0021270\"},{\"dataSource\":\"AOD\",\"id\":\"0000005273\"},{\"dataSource\":\"CCPSS\",\"id\":\"0030805\"},{\"dataSource\":\"CHV\",\"id\":\"0000006675\"},{\"dataSource\":\"DXP\",\"id\":\"U002089\"},{\"dataSource\":\"LCH\",\"id\":\"U002421\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85066022\"},{\"dataSource\":\"LNC\",\"id\":\"LA19747-7\"},{\"dataSource\":\"MDR\",\"id\":\"10021731\"},{\"dataSource\":\"MSH\",\"id\":\"D007223\"},{\"dataSource\":\"NCI\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"C27956\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C27956\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"133931009\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", - "responseHeaders": { - "apim-request-id": "b7102926-c750-4d5a-85d7-49fce7fc1b16", - "content-type": "application/json; charset=utf-8", - "date": "Mon, 07 Jun 2021 21:26:21 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "40" + "x-envoy-upstream-service-time": "48" } } ], @@ -119,5 +100,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a07f86fc0aca21b8121098ffdb5f643f" + "hash": "cc4d87871f3923d074a5e1b6cb77e07e" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json similarity index 53% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json index 874b341501b8..6d714bdea402 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "UnicodeCodePoint" }, @@ -10,66 +10,47 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "864e208b-1ce2-4bca-abfc-ffd367ddffd2", - "date": "Wed, 12 May 2021 19:17:00 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/292cea8f-bdce-417b-adae-898d3812136d", + "apim-request-id": "ecbba55f-092d-43ab-ac41-afe0f1fb454b", + "date": "Fri, 25 Jun 2021 20:25:23 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "101" + "x-envoy-upstream-service-time": "135" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/292cea8f-bdce-417b-adae-898d3812136d", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"292cea8f-bdce-417b-adae-898d3812136d\",\"lastUpdateDateTime\":\"2021-05-12T19:17:01Z\",\"createdDateTime\":\"2021-05-12T19:17:01Z\",\"expirationDateTime\":\"2021-05-13T19:17:01Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3\",\"lastUpdateDateTime\":\"2021-06-25T20:25:23Z\",\"createdDateTime\":\"2021-06-25T20:25:23Z\",\"expirationDateTime\":\"2021-06-26T20:25:23Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "69b179eb-5a58-4828-9d99-f6f5f1b78948", + "apim-request-id": "06c645ca-6561-4a26-a3cd-3039c0374327", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:00 GMT", + "date": "Fri, 25 Jun 2021 20:25:23 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/292cea8f-bdce-417b-adae-898d3812136d", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"292cea8f-bdce-417b-adae-898d3812136d\",\"lastUpdateDateTime\":\"2021-05-12T19:17:01Z\",\"createdDateTime\":\"2021-05-12T19:17:01Z\",\"expirationDateTime\":\"2021-05-13T19:17:01Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "148f61ec-82bc-4f43-970f-1e55d3c4ce2a", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:00 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "14" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/292cea8f-bdce-417b-adae-898d3812136d", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"292cea8f-bdce-417b-adae-898d3812136d\",\"lastUpdateDateTime\":\"2021-05-12T19:17:01Z\",\"createdDateTime\":\"2021-05-12T19:17:01Z\",\"expirationDateTime\":\"2021-05-13T19:17:01Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3\",\"lastUpdateDateTime\":\"2021-06-25T20:25:23Z\",\"createdDateTime\":\"2021-06-25T20:25:23Z\",\"expirationDateTime\":\"2021-06-26T20:25:23Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "898db5a0-685a-4af9-9227-d317d963ca66", + "apim-request-id": "f4fbe5d9-705e-4300-990c-42966d151a2e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:02 GMT", + "date": "Fri, 25 Jun 2021 20:25:23 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -78,78 +59,59 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/292cea8f-bdce-417b-adae-898d3812136d", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"292cea8f-bdce-417b-adae-898d3812136d\",\"lastUpdateDateTime\":\"2021-05-12T19:17:01Z\",\"createdDateTime\":\"2021-05-12T19:17:01Z\",\"expirationDateTime\":\"2021-05-13T19:17:01Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3\",\"lastUpdateDateTime\":\"2021-06-25T20:25:23Z\",\"createdDateTime\":\"2021-06-25T20:25:23Z\",\"expirationDateTime\":\"2021-06-26T20:25:23Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "6f41bc19-9a62-4fd5-b56a-19599b73b192", + "apim-request-id": "3bc0d7d8-040a-40f5-8810-eaebbd96d198", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:04 GMT", + "date": "Fri, 25 Jun 2021 20:25:25 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "10" - } - }, - { - "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/292cea8f-bdce-417b-adae-898d3812136d", - "query": { - "$top": "20" - }, - "requestBody": null, - "status": 200, - "response": "{\"jobId\":\"292cea8f-bdce-417b-adae-898d3812136d\",\"lastUpdateDateTime\":\"2021-05-12T19:17:01Z\",\"createdDateTime\":\"2021-05-12T19:17:01Z\",\"expirationDateTime\":\"2021-05-13T19:17:01Z\",\"status\":\"notStarted\",\"errors\":[]}", - "responseHeaders": { - "apim-request-id": "d3254702-d867-4090-a59f-d9207e6c21f2", - "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:06 GMT", - "strict-transport-security": "max-age=31536000; includeSubDomains; preload", - "transfer-encoding": "chunked", - "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "9" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/292cea8f-bdce-417b-adae-898d3812136d", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"292cea8f-bdce-417b-adae-898d3812136d\",\"lastUpdateDateTime\":\"2021-05-12T19:17:08Z\",\"createdDateTime\":\"2021-05-12T19:17:01Z\",\"expirationDateTime\":\"2021-05-13T19:17:01Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":12,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.89,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3\",\"lastUpdateDateTime\":\"2021-06-25T20:25:26Z\",\"createdDateTime\":\"2021-06-25T20:25:23Z\",\"expirationDateTime\":\"2021-06-26T20:25:23Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":12,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.99,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "e8d766dd-9ad1-4094-b0d9-e0842e89b43d", + "apim-request-id": "452a6e3c-643f-408e-9a30-a27d9b2cfd76", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:08 GMT", + "date": "Fri, 25 Jun 2021 20:25:27 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "41" + "x-envoy-upstream-service-time": "43" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/292cea8f-bdce-417b-adae-898d3812136d", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"292cea8f-bdce-417b-adae-898d3812136d\",\"lastUpdateDateTime\":\"2021-05-12T19:17:08Z\",\"createdDateTime\":\"2021-05-12T19:17:01Z\",\"expirationDateTime\":\"2021-05-13T19:17:01Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":12,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.89,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"f4f80052-5d6b-4e08-a4a3-a2df84fa6cc3\",\"lastUpdateDateTime\":\"2021-06-25T20:25:26Z\",\"createdDateTime\":\"2021-06-25T20:25:23Z\",\"expirationDateTime\":\"2021-06-26T20:25:23Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":12,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.99,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "4788207a-61eb-49c7-9e0d-fa8c7bd8f166", + "apim-request-id": "f342b805-e80a-4907-a2d7-d23e8b6c3e69", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:08 GMT", + "date": "Fri, 25 Jun 2021 20:25:27 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "39" + "x-envoy-upstream-service-time": "52" } } ], @@ -157,5 +119,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9afc25f8e6d5cfec33f4967b3151ef3e" + "hash": "3a4d4b61449c4b62316d886bdd39c2af" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json similarity index 60% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json index 0d11ed93c1f7..157f9346da9e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,28 +10,47 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "fbbee406-24b3-4051-b477-056a9eb1a3bb", - "date": "Wed, 12 May 2021 19:16:58 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/25239dfe-21ad-4f7b-a2d0-367852a18819", + "apim-request-id": "ff628b46-8611-4911-9023-835be3864cfe", + "date": "Fri, 25 Jun 2021 20:25:18 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/365d484a-953d-4bdf-a2f3-cdf4110ea386", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "88" + "x-envoy-upstream-service-time": "125" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/25239dfe-21ad-4f7b-a2d0-367852a18819", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/365d484a-953d-4bdf-a2f3-cdf4110ea386", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"25239dfe-21ad-4f7b-a2d0-367852a18819\",\"lastUpdateDateTime\":\"2021-05-12T19:16:58Z\",\"createdDateTime\":\"2021-05-12T19:16:58Z\",\"expirationDateTime\":\"2021-05-13T19:16:58Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"365d484a-953d-4bdf-a2f3-cdf4110ea386\",\"lastUpdateDateTime\":\"2021-06-25T20:25:18Z\",\"createdDateTime\":\"2021-06-25T20:25:18Z\",\"expirationDateTime\":\"2021-06-26T20:25:18Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "210e8d36-3a41-4e07-b28a-ed5b069b0314", + "apim-request-id": "06cb8997-7e69-4462-804f-beb6c9fdac2a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:58 GMT", + "date": "Fri, 25 Jun 2021 20:25:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/365d484a-953d-4bdf-a2f3-cdf4110ea386", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"365d484a-953d-4bdf-a2f3-cdf4110ea386\",\"lastUpdateDateTime\":\"2021-06-25T20:25:18Z\",\"createdDateTime\":\"2021-06-25T20:25:18Z\",\"expirationDateTime\":\"2021-06-26T20:25:18Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "7f7ec717-9c22-4284-9cb7-b9a7e35f1684", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:18 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -40,17 +59,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/25239dfe-21ad-4f7b-a2d0-367852a18819", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/365d484a-953d-4bdf-a2f3-cdf4110ea386", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"25239dfe-21ad-4f7b-a2d0-367852a18819\",\"lastUpdateDateTime\":\"2021-05-12T19:16:58Z\",\"createdDateTime\":\"2021-05-12T19:16:58Z\",\"expirationDateTime\":\"2021-05-13T19:16:58Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"365d484a-953d-4bdf-a2f3-cdf4110ea386\",\"lastUpdateDateTime\":\"2021-06-25T20:25:18Z\",\"createdDateTime\":\"2021-06-25T20:25:18Z\",\"expirationDateTime\":\"2021-06-26T20:25:18Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "3f97c6fe-269b-49a6-b75b-13d1e0f5fc72", + "apim-request-id": "3e6be149-50ee-430a-8dea-c852f83ce88a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:58 GMT", + "date": "Fri, 25 Jun 2021 20:25:20 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -59,40 +78,40 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/25239dfe-21ad-4f7b-a2d0-367852a18819", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/365d484a-953d-4bdf-a2f3-cdf4110ea386", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"25239dfe-21ad-4f7b-a2d0-367852a18819\",\"lastUpdateDateTime\":\"2021-05-12T19:16:59Z\",\"createdDateTime\":\"2021-05-12T19:16:58Z\",\"expirationDateTime\":\"2021-05-13T19:16:58Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":20,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.89,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"365d484a-953d-4bdf-a2f3-cdf4110ea386\",\"lastUpdateDateTime\":\"2021-06-25T20:25:21Z\",\"createdDateTime\":\"2021-06-25T20:25:18Z\",\"expirationDateTime\":\"2021-06-26T20:25:18Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":20,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.99,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "9a5d2a27-5173-48ef-85ef-4d2b0555a084", + "apim-request-id": "d17fa538-ddbd-42c3-8b3e-b5e211072b1d", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:00 GMT", + "date": "Fri, 25 Jun 2021 20:25:22 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "37" + "x-envoy-upstream-service-time": "50" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/25239dfe-21ad-4f7b-a2d0-367852a18819", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/365d484a-953d-4bdf-a2f3-cdf4110ea386", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"25239dfe-21ad-4f7b-a2d0-367852a18819\",\"lastUpdateDateTime\":\"2021-05-12T19:16:59Z\",\"createdDateTime\":\"2021-05-12T19:16:58Z\",\"expirationDateTime\":\"2021-05-13T19:16:58Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":20,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.89,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"365d484a-953d-4bdf-a2f3-cdf4110ea386\",\"lastUpdateDateTime\":\"2021-06-25T20:25:21Z\",\"createdDateTime\":\"2021-06-25T20:25:18Z\",\"expirationDateTime\":\"2021-06-26T20:25:18Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":20,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":0.99,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "e0edb12f-8878-4e45-8dae-94a22c2993c3", + "apim-request-id": "0a6f59cb-e1bd-44d3-9e77-b68222786924", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:17:00 GMT", + "date": "Fri, 25 Jun 2021 20:25:22 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "39" + "x-envoy-upstream-service-time": "52" } } ], @@ -100,5 +119,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "eefcecc2b464d92bb1af5471b71f3611" + "hash": "d47462d4e9b472ba12db5c090d1db876" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_documents.json new file mode 100644 index 000000000000..b46f2c72086e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_documents.json @@ -0,0 +1,313 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "7f90dad5-e070-46c1-86a5-0a594a378f99", + "date": "Fri, 25 Jun 2021 20:23:37 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "205" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:37Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "e9b81186-38c9-4761-b3e3-9a7550923e41", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:37Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "b95374ba-02e1-4f38-9067-fbc318816a1f", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:37 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:37Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "a18a6aea-dd18-4cce-8332-2b43acc6ee25", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:39 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:37Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "eb7ab06e-48f4-472e-81ec-bc6e4b156d6d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:41 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:37Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "48591300-539b-42c2-a3bf-b8e9d4029293", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:43 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:37Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "a45d87f0-f89f-4ce9-9ed0-120d140f361b", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:45 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "22" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:37Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "dd72263a-535a-4cf2-8c48-8fbb8c03eb54", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:47 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:37Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "74b325a8-5c1e-440c-a906-10072beffe2a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:50Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "af42b089-0d38-4f8f-9427-8b715bc4434e", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:50Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "f57cc558-d057-4463-bcdd-17e99fea36bf", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:50Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "5a0bd12f-fdf7-499d-9508-175e7d70a1a3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:50Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "04286a96-e9da-4255-b96b-ad4e6c01e6b1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "81" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:23:50Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "b2679436-2745-4320-a615-9a5b668b5251", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "18" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:24:01Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "11f83df0-5189-4e08-a10d-d564c0e677a6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:02 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "67" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/ce7f6b04-0e58-4f68-a337-afdbacdf71d2", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"ce7f6b04-0e58-4f68-a337-afdbacdf71d2\",\"lastUpdateDateTime\":\"2021-06-25T20:24:01Z\",\"createdDateTime\":\"2021-06-25T20:23:37Z\",\"expirationDateTime\":\"2021-06-26T20:23:37Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "083cce51-32ef-43e5-bf6f-69785ce3ffa4", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "57" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "6552401251c2054ad876d83d9f36d259" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_strings.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_strings.json new file mode 100644 index 000000000000..6f3aa8a1d21a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_input_strings.json @@ -0,0 +1,275 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "97cab840-3182-4381-b44a-843c58220094", + "date": "Fri, 25 Jun 2021 20:23:12 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "192" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:13Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "6c52dffd-d30a-415c-8930-043b06154932", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:13Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "ca52a932-0287-4e70-ba6b-cc7aba4e8604", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:13Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "2880a094-e0f7-4937-8439-ebeed047332a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:13Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "bfe9182e-1644-4555-8e50-120d453e191d", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:18Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "7e1dde42-0b7b-46fa-8395-91183b3d1eb3", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:18Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "f721c60e-3464-45c5-9e07-bb18b1de5d90", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:20 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:18Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "1d154f17-39c9-40fb-b6d3-4c8698ae6c16", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:22 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:18Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "7b25e6af-e534-498b-a06b-ccee421396b5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:24 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:18Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "dc6aa7b4-2e2d-4425-898d-4c68ddb90adb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "95" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:18Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "4af41f28-a57c-44fd-9c43-aa571a422430", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "30" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:18Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "fb30a096-5e72-403d-b53f-efc3d124e964", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "37" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:33Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "93bede66-b06e-4404-8e8b-3ead0097a282", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "64" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/01cff468-a700-4009-ba13-5a3f22804dbb", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"01cff468-a700-4009-ba13-5a3f22804dbb\",\"lastUpdateDateTime\":\"2021-06-25T20:23:33Z\",\"createdDateTime\":\"2021-06-25T20:23:12Z\",\"expirationDateTime\":\"2021-06-26T20:23:12Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "c6c25560-1147-4062-a38c-e93ad1b4f481", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:23:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "69" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "3539cc6e492731ad933d3d63d2719d0e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.json similarity index 51% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.json index fe6968344d06..8da5f2296d80 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,47 +10,47 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "b563b410-6c1d-4d1d-a635-3c1293be4cc0", - "date": "Wed, 12 May 2021 19:16:48 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/65dcf052-dee9-4542-b2fd-f67c3d9a639f", + "apim-request-id": "1aa0f28c-5a19-402a-90a7-0e525be04a2e", + "date": "Fri, 25 Jun 2021 20:25:02 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/c67c868f-6cfb-49d5-9c73-5a244a2e307f", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "65" + "x-envoy-upstream-service-time": "128" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/65dcf052-dee9-4542-b2fd-f67c3d9a639f", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c67c868f-6cfb-49d5-9c73-5a244a2e307f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"65dcf052-dee9-4542-b2fd-f67c3d9a639f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:48Z\",\"createdDateTime\":\"2021-05-12T19:16:48Z\",\"expirationDateTime\":\"2021-05-13T19:16:48Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"c67c868f-6cfb-49d5-9c73-5a244a2e307f\",\"lastUpdateDateTime\":\"2021-06-25T20:25:02Z\",\"createdDateTime\":\"2021-06-25T20:25:02Z\",\"expirationDateTime\":\"2021-06-26T20:25:02Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "e311ddee-9016-4124-819c-ebf9d423a03b", + "apim-request-id": "484ab914-fa52-4ce2-882f-725cabb96756", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:48 GMT", + "date": "Fri, 25 Jun 2021 20:25:02 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "135" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/65dcf052-dee9-4542-b2fd-f67c3d9a639f", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c67c868f-6cfb-49d5-9c73-5a244a2e307f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"65dcf052-dee9-4542-b2fd-f67c3d9a639f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:48Z\",\"createdDateTime\":\"2021-05-12T19:16:48Z\",\"expirationDateTime\":\"2021-05-13T19:16:48Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"c67c868f-6cfb-49d5-9c73-5a244a2e307f\",\"lastUpdateDateTime\":\"2021-06-25T20:25:02Z\",\"createdDateTime\":\"2021-06-25T20:25:02Z\",\"expirationDateTime\":\"2021-06-26T20:25:02Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "4a3a206e-63e2-4389-a9b5-ca68f9ddd456", + "apim-request-id": "4bc94e9d-3cc3-4738-b2df-c282c620d84c", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:48 GMT", + "date": "Fri, 25 Jun 2021 20:25:02 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -59,40 +59,40 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/65dcf052-dee9-4542-b2fd-f67c3d9a639f", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c67c868f-6cfb-49d5-9c73-5a244a2e307f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"65dcf052-dee9-4542-b2fd-f67c3d9a639f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:49Z\",\"createdDateTime\":\"2021-05-12T19:16:48Z\",\"expirationDateTime\":\"2021-05-13T19:16:48Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"c67c868f-6cfb-49d5-9c73-5a244a2e307f\",\"lastUpdateDateTime\":\"2021-06-25T20:25:03Z\",\"createdDateTime\":\"2021-06-25T20:25:02Z\",\"expirationDateTime\":\"2021-06-26T20:25:02Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "c579856b-cec4-4424-9628-ef1005b0ba5f", + "apim-request-id": "379fb1fb-5dfd-4e3f-875e-3afcb10cb3f0", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:50 GMT", + "date": "Fri, 25 Jun 2021 20:25:04 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "32" + "x-envoy-upstream-service-time": "46" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/65dcf052-dee9-4542-b2fd-f67c3d9a639f", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c67c868f-6cfb-49d5-9c73-5a244a2e307f", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"65dcf052-dee9-4542-b2fd-f67c3d9a639f\",\"lastUpdateDateTime\":\"2021-05-12T19:16:49Z\",\"createdDateTime\":\"2021-05-12T19:16:48Z\",\"expirationDateTime\":\"2021-05-13T19:16:48Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"c67c868f-6cfb-49d5-9c73-5a244a2e307f\",\"lastUpdateDateTime\":\"2021-06-25T20:25:03Z\",\"createdDateTime\":\"2021-06-25T20:25:02Z\",\"expirationDateTime\":\"2021-06-26T20:25:02Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"0\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "bb51a1a9-821b-41d1-9725-4a1ed28392e3", + "apim-request-id": "7c7de9b1-2110-4a99-a852-179546197c61", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:50 GMT", + "date": "Fri, 25 Jun 2021 20:25:04 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "36" + "x-envoy-upstream-service-time": "53" } } ], @@ -100,5 +100,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "950803c07856400abdae1e4fba405f38" + "hash": "7fe28fb1cf9568039be008ba4f6aae88" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json similarity index 51% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json index 887657183080..db4da74737a5 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,47 +10,47 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "66ee2606-2f8a-4a8f-be24-297661e90f25", - "date": "Wed, 12 May 2021 19:16:50 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/9daff497-b80a-4f77-b276-8e7eaf71b856", + "apim-request-id": "0dc2d970-a71c-4519-a6af-6b9d50a3f708", + "date": "Fri, 25 Jun 2021 20:25:04 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/45aca8f4-2169-4d71-90a0-15be76730787", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "83" + "x-envoy-upstream-service-time": "162" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/9daff497-b80a-4f77-b276-8e7eaf71b856", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/45aca8f4-2169-4d71-90a0-15be76730787", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"9daff497-b80a-4f77-b276-8e7eaf71b856\",\"lastUpdateDateTime\":\"2021-05-12T19:16:51Z\",\"createdDateTime\":\"2021-05-12T19:16:51Z\",\"expirationDateTime\":\"2021-05-13T19:16:51Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"45aca8f4-2169-4d71-90a0-15be76730787\",\"lastUpdateDateTime\":\"2021-06-25T20:25:05Z\",\"createdDateTime\":\"2021-06-25T20:25:05Z\",\"expirationDateTime\":\"2021-06-26T20:25:05Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "5a46ea19-28f2-4196-b14b-49b36e0ae1c8", + "apim-request-id": "e893bd6e-b2ac-49cf-949b-4adbb2818f2e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:51 GMT", + "date": "Fri, 25 Jun 2021 20:25:04 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "8" + "x-envoy-upstream-service-time": "7" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/9daff497-b80a-4f77-b276-8e7eaf71b856", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/45aca8f4-2169-4d71-90a0-15be76730787", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"9daff497-b80a-4f77-b276-8e7eaf71b856\",\"lastUpdateDateTime\":\"2021-05-12T19:16:51Z\",\"createdDateTime\":\"2021-05-12T19:16:51Z\",\"expirationDateTime\":\"2021-05-13T19:16:51Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"45aca8f4-2169-4d71-90a0-15be76730787\",\"lastUpdateDateTime\":\"2021-06-25T20:25:05Z\",\"createdDateTime\":\"2021-06-25T20:25:05Z\",\"expirationDateTime\":\"2021-06-26T20:25:05Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "858a6efb-dd36-4d41-8ceb-01aea9a87a4c", + "apim-request-id": "3c392991-204d-474e-a316-23273cd97a73", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:51 GMT", + "date": "Fri, 25 Jun 2021 20:25:04 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -59,40 +59,40 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/9daff497-b80a-4f77-b276-8e7eaf71b856", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/45aca8f4-2169-4d71-90a0-15be76730787", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"9daff497-b80a-4f77-b276-8e7eaf71b856\",\"lastUpdateDateTime\":\"2021-05-12T19:16:52Z\",\"createdDateTime\":\"2021-05-12T19:16:51Z\",\"expirationDateTime\":\"2021-05-13T19:16:51Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"45aca8f4-2169-4d71-90a0-15be76730787\",\"lastUpdateDateTime\":\"2021-06-25T20:25:06Z\",\"createdDateTime\":\"2021-06-25T20:25:05Z\",\"expirationDateTime\":\"2021-06-26T20:25:05Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "525701e7-e7f3-4060-b24f-01ed14f42794", + "apim-request-id": "441420e2-8262-489c-b15d-6af17d6abb2f", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:53 GMT", + "date": "Fri, 25 Jun 2021 20:25:07 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "36" + "x-envoy-upstream-service-time": "659" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/9daff497-b80a-4f77-b276-8e7eaf71b856", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/45aca8f4-2169-4d71-90a0-15be76730787", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"9daff497-b80a-4f77-b276-8e7eaf71b856\",\"lastUpdateDateTime\":\"2021-05-12T19:16:52Z\",\"createdDateTime\":\"2021-05-12T19:16:51Z\",\"expirationDateTime\":\"2021-05-13T19:16:51Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"45aca8f4-2169-4d71-90a0-15be76730787\",\"lastUpdateDateTime\":\"2021-06-25T20:25:06Z\",\"createdDateTime\":\"2021-06-25T20:25:05Z\",\"expirationDateTime\":\"2021-06-26T20:25:05Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "29aef2cf-e0d1-48a0-bf74-a87dde93b422", + "apim-request-id": "a2ae36ce-e3ca-4f9c-a7d2-582c1d89271e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:53 GMT", + "date": "Fri, 25 Jun 2021 20:25:07 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "39" + "x-envoy-upstream-service-time": "38" } } ], @@ -100,5 +100,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "0641fc54f2fe5df899ff918a659bffde" + "hash": "340cd4ff03c6dde812d00ee817fd5d2d" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_operation_metadata.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_operation_metadata.json new file mode 100644 index 000000000000..e9dfb504b966 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_operation_metadata.json @@ -0,0 +1,104 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"Patient does not suffer from high blood pressure.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"Prescribed 100mg ibuprofen, taken twice daily.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "3908ae43-0799-4c2b-9ce4-3eb0e6230743", + "date": "Fri, 25 Jun 2021 20:25:13 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/5494101e-ebfd-4480-93ef-44198be522f4", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "141" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/5494101e-ebfd-4480-93ef-44198be522f4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"5494101e-ebfd-4480-93ef-44198be522f4\",\"lastUpdateDateTime\":\"2021-06-25T20:25:13Z\",\"createdDateTime\":\"2021-06-25T20:25:13Z\",\"expirationDateTime\":\"2021-06-26T20:25:13Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "466dc2a0-2728-4d15-a22a-36b8613cc462", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/5494101e-ebfd-4480-93ef-44198be522f4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"5494101e-ebfd-4480-93ef-44198be522f4\",\"lastUpdateDateTime\":\"2021-06-25T20:25:13Z\",\"createdDateTime\":\"2021-06-25T20:25:13Z\",\"expirationDateTime\":\"2021-06-26T20:25:13Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "128822ee-e1e9-4e95-b3b5-39e2c0bb4908", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/5494101e-ebfd-4480-93ef-44198be522f4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"5494101e-ebfd-4480-93ef-44198be522f4\",\"lastUpdateDateTime\":\"2021-06-25T20:25:13Z\",\"createdDateTime\":\"2021-06-25T20:25:13Z\",\"expirationDateTime\":\"2021-06-26T20:25:13Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "db5713e2-22d1-454d-a536-ac1694c9cfb1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/5494101e-ebfd-4480-93ef-44198be522f4", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"5494101e-ebfd-4480-93ef-44198be522f4\",\"lastUpdateDateTime\":\"2021-06-25T20:25:16Z\",\"createdDateTime\":\"2021-06-25T20:25:13Z\",\"expirationDateTime\":\"2021-06-26T20:25:13Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":29,\"length\":19,\"text\":\"high blood pressure\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"assertion\":{\"certainty\":\"negative\"},\"name\":\"Hypertensive disease\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020538\"},{\"dataSource\":\"AOD\",\"id\":\"0000023317\"},{\"dataSource\":\"BI\",\"id\":\"BI00001\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017493\"},{\"dataSource\":\"CCS\",\"id\":\"7.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000015800\"},{\"dataSource\":\"COSTAR\",\"id\":\"397\"},{\"dataSource\":\"CSP\",\"id\":\"0571-5243\"},{\"dataSource\":\"CST\",\"id\":\"HYPERTENS\"},{\"dataSource\":\"DXP\",\"id\":\"U002034\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0000822\"},{\"dataSource\":\"ICD10\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I10-I15.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I10\"},{\"dataSource\":\"ICD9CM\",\"id\":\"997.91\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU035456\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K85004\"},{\"dataSource\":\"LCH\",\"id\":\"U002317\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85063723\"},{\"dataSource\":\"LNC\",\"id\":\"LA14293-7\"},{\"dataSource\":\"MDR\",\"id\":\"10020772\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33288\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"34\"},{\"dataSource\":\"MSH\",\"id\":\"D006973\"},{\"dataSource\":\"MTH\",\"id\":\"005\"},{\"dataSource\":\"MTHICD9\",\"id\":\"997.91\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00905\"},{\"dataSource\":\"NCI\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CPTAC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E13785\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1908\"},{\"dataSource\":\"NCI_GDC\",\"id\":\"C3117\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000458091\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3117\"},{\"dataSource\":\"NOC\",\"id\":\"060808\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU002068\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_11000.06\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000686951\"},{\"dataSource\":\"PSY\",\"id\":\"23830\"},{\"dataSource\":\"RCD\",\"id\":\"XE0Ub\"},{\"dataSource\":\"SNM\",\"id\":\"F-70700\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-02000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"38341003\"},{\"dataSource\":\"WHO\",\"id\":\"0210\"}]}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/1/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/1/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "9453b0f2-a765-4d78-96b5-7926339b6410", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "59" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "e91e7a3ec01d0a9dd6b8e5f9fd5ddc80" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json new file mode 100644 index 000000000000..c5e5ef879137 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.json @@ -0,0 +1,104 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"one\"},{\"id\":\"2\",\"text\":\"two\"},{\"id\":\"3\",\"text\":\"three\"},{\"id\":\"4\",\"text\":\"four\"},{\"id\":\"5\",\"text\":\"five\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "238b0d01-4bf5-44df-8ba3-28cc3229558c", + "date": "Fri, 25 Jun 2021 20:24:21 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/69a87c99-5101-4499-a02a-a6704686dd08", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "298" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/69a87c99-5101-4499-a02a-a6704686dd08", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"69a87c99-5101-4499-a02a-a6704686dd08\",\"lastUpdateDateTime\":\"2021-06-25T20:24:22Z\",\"createdDateTime\":\"2021-06-25T20:24:22Z\",\"expirationDateTime\":\"2021-06-26T20:24:22Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "3eddd4d4-e01f-48cc-90c7-d074cdc8ccd6", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:22 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/69a87c99-5101-4499-a02a-a6704686dd08", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"69a87c99-5101-4499-a02a-a6704686dd08\",\"lastUpdateDateTime\":\"2021-06-25T20:24:22Z\",\"createdDateTime\":\"2021-06-25T20:24:22Z\",\"expirationDateTime\":\"2021-06-26T20:24:22Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "36ed7b08-90f9-4189-89ec-a0bdc171ab29", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:22 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/69a87c99-5101-4499-a02a-a6704686dd08", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"69a87c99-5101-4499-a02a-a6704686dd08\",\"lastUpdateDateTime\":\"2021-06-25T20:24:23Z\",\"createdDateTime\":\"2021-06-25T20:24:22Z\",\"expirationDateTime\":\"2021-06-26T20:24:22Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"five\",\"category\":\"Dosage\",\"confidenceScore\":0.58}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "6cf6f63f-c088-458a-9097-5a28514fd7fb", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:24 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "173" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/69a87c99-5101-4499-a02a-a6704686dd08", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"69a87c99-5101-4499-a02a-a6704686dd08\",\"lastUpdateDateTime\":\"2021-06-25T20:24:23Z\",\"createdDateTime\":\"2021-06-25T20:24:22Z\",\"expirationDateTime\":\"2021-06-26T20:24:22Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"4\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"5\",\"entities\":[{\"offset\":0,\"length\":4,\"text\":\"five\",\"category\":\"Dosage\",\"confidenceScore\":0.58}],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "0b2b8152-43ab-46ba-880f-dcc1d9c00b99", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:24 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "91" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "4612eff1b1a5db435331459355dbeb93" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json similarity index 53% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json index 268282af242b..387c417f05d8 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,28 +10,28 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "c07f6978-be6f-4539-9b61-6c643566f321", - "date": "Wed, 12 May 2021 19:16:33 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/0f92681a-ebd8-4cee-98e4-851f14241401", + "apim-request-id": "7fe8f12f-2654-4b8e-b357-63aa224fa979", + "date": "Fri, 25 Jun 2021 20:24:24 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/8bd36f85-6c40-4f35-93a7-89a1cf2970c5", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "213" + "x-envoy-upstream-service-time": "237" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/0f92681a-ebd8-4cee-98e4-851f14241401", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8bd36f85-6c40-4f35-93a7-89a1cf2970c5", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"0f92681a-ebd8-4cee-98e4-851f14241401\",\"lastUpdateDateTime\":\"2021-05-12T19:16:34Z\",\"createdDateTime\":\"2021-05-12T19:16:33Z\",\"expirationDateTime\":\"2021-05-13T19:16:33Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"8bd36f85-6c40-4f35-93a7-89a1cf2970c5\",\"lastUpdateDateTime\":\"2021-06-25T20:24:25Z\",\"createdDateTime\":\"2021-06-25T20:24:25Z\",\"expirationDateTime\":\"2021-06-26T20:24:25Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "15d70ad0-40ca-4aab-902d-80e9c919b0c0", + "apim-request-id": "c6abad41-f5c8-45ed-a96f-1689c027bcd8", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:33 GMT", + "date": "Fri, 25 Jun 2021 20:24:24 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -40,59 +40,59 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/0f92681a-ebd8-4cee-98e4-851f14241401", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8bd36f85-6c40-4f35-93a7-89a1cf2970c5", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"0f92681a-ebd8-4cee-98e4-851f14241401\",\"lastUpdateDateTime\":\"2021-05-12T19:16:34Z\",\"createdDateTime\":\"2021-05-12T19:16:33Z\",\"expirationDateTime\":\"2021-05-13T19:16:33Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"8bd36f85-6c40-4f35-93a7-89a1cf2970c5\",\"lastUpdateDateTime\":\"2021-06-25T20:24:25Z\",\"createdDateTime\":\"2021-06-25T20:24:25Z\",\"expirationDateTime\":\"2021-06-26T20:24:25Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "9d841bcc-34d4-4d77-bcb9-ee1b9759b1e5", + "apim-request-id": "80e22d23-9f2c-4eed-b038-afac80b92026", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:33 GMT", + "date": "Fri, 25 Jun 2021 20:24:24 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "5" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/0f92681a-ebd8-4cee-98e4-851f14241401", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8bd36f85-6c40-4f35-93a7-89a1cf2970c5", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"0f92681a-ebd8-4cee-98e4-851f14241401\",\"lastUpdateDateTime\":\"2021-05-12T19:16:34Z\",\"createdDateTime\":\"2021-05-12T19:16:33Z\",\"expirationDateTime\":\"2021-05-13T19:16:33Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"8bd36f85-6c40-4f35-93a7-89a1cf2970c5\",\"lastUpdateDateTime\":\"2021-06-25T20:24:26Z\",\"createdDateTime\":\"2021-06-25T20:24:25Z\",\"expirationDateTime\":\"2021-06-26T20:24:25Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "0ffd44e1-499d-4890-9bc8-a8bf68ca774c", + "apim-request-id": "036292f1-557c-4955-aa77-d1f85696488a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:35 GMT", + "date": "Fri, 25 Jun 2021 20:24:27 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "76" + "x-envoy-upstream-service-time": "96" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/0f92681a-ebd8-4cee-98e4-851f14241401", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/8bd36f85-6c40-4f35-93a7-89a1cf2970c5", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"0f92681a-ebd8-4cee-98e4-851f14241401\",\"lastUpdateDateTime\":\"2021-05-12T19:16:34Z\",\"createdDateTime\":\"2021-05-12T19:16:33Z\",\"expirationDateTime\":\"2021-05-13T19:16:33Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"8bd36f85-6c40-4f35-93a7-89a1cf2970c5\",\"lastUpdateDateTime\":\"2021-06-25T20:24:26Z\",\"createdDateTime\":\"2021-06-25T20:24:25Z\",\"expirationDateTime\":\"2021-06-26T20:24:25Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"56\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "041c7ca7-ab95-4413-a226-1dc165b6e0c8", + "apim-request-id": "47718abb-d790-442b-88b6-b50d159e9a5e", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:35 GMT", + "date": "Fri, 25 Jun 2021 20:24:27 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "80" + "x-envoy-upstream-service-time": "92" } } ], @@ -100,5 +100,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9a764927d50f61c7b45566d4a3bece56" + "hash": "e7248b98353def73af890958a958ef0d" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_payload_too_large.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_payload_too_large.json new file mode 100644 index 000000000000..ce14fe3cdb4e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_payload_too_large.json @@ -0,0 +1,28 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"3\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"4\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"5\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"6\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"7\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"8\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"9\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"10\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"11\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"12\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"13\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"14\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"15\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"16\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"17\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"18\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"19\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"20\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"21\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"22\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"23\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"24\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"25\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"26\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"27\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"28\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"29\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"30\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"31\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"32\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"33\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"34\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"35\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"36\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"37\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"38\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"39\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"40\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"41\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"42\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"43\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"44\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"45\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"46\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"47\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"48\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"49\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"50\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"51\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"52\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"53\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"54\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"55\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"56\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"57\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"58\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"59\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"60\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"61\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"62\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"63\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"64\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"65\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"66\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"67\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"68\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"69\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"70\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"71\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"72\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"73\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"74\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"75\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"76\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"77\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"78\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"79\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"80\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"81\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"82\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"83\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"84\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"85\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"86\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"87\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"88\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"89\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"90\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"91\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"92\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"93\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"94\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"95\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"96\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"97\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"98\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"99\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"100\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"101\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"102\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"103\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"104\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"105\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"106\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"107\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"108\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"109\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"110\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"111\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"112\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"113\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"114\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"115\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"116\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"117\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"118\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"119\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"120\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"121\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"122\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"123\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"124\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"125\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"126\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"127\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"128\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"129\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"130\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"131\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"132\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"133\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"134\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"135\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"136\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"137\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"138\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"139\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"140\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"141\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"142\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"143\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"144\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"145\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"146\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"147\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"148\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"149\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"150\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"151\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"152\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"153\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"154\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"155\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"156\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"157\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"158\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"159\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"160\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"161\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"162\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"163\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"164\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"165\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"166\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"167\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"168\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"169\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"170\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"171\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"172\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"173\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"174\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"175\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"176\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"177\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"178\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"179\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"180\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"181\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"182\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"183\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"184\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"185\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"186\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"187\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"188\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"189\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"190\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"191\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"192\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"193\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"194\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"195\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"196\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"197\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"198\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"199\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"200\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"201\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"202\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"203\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"204\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"205\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"206\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"207\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"208\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"209\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"210\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"211\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"212\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"213\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"214\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"215\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"216\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"217\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"218\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"219\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"220\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"221\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"222\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"223\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"224\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"225\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"226\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"227\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"228\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"229\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"230\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"231\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"232\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"233\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"234\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"235\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"236\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"237\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"238\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"239\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"240\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"241\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"242\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"243\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"244\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"245\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"246\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"247\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"248\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"249\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"250\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"251\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"252\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"253\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"254\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"255\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"256\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"257\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"258\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"259\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"260\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"261\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"262\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"263\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"264\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"265\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"266\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"267\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"268\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"269\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"270\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"271\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"272\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"273\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"274\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"275\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"276\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"277\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"278\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"279\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"280\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"281\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"282\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"283\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"284\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"285\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"286\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"287\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"288\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"289\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"290\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"291\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"292\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"293\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"294\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"295\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"296\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"297\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"298\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"299\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"300\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"301\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"302\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"303\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"304\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"305\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"306\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"307\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"308\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"309\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"310\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"311\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"312\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"313\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"314\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"315\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"316\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"317\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"318\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"319\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"320\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"321\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"322\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"323\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"324\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"325\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"326\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"327\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"328\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"329\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"330\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"331\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"332\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"333\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"334\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"335\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"336\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"337\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"338\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"339\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"340\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"341\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"342\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"343\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"344\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"345\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"346\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"347\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"348\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"349\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"350\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"351\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"352\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"353\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"354\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"355\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"356\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"357\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"358\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"359\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"360\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"361\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"362\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"363\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"364\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"365\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"366\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"367\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"368\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"369\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"370\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"371\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"372\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"373\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"374\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"375\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"376\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"377\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"378\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"379\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"380\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"381\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"382\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"383\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"384\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"385\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"386\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"387\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"388\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"389\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"390\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"391\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"392\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"393\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"394\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"395\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"396\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"397\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"398\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"399\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"400\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"401\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"402\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"403\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"404\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"405\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"406\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"407\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"408\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"409\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"410\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"411\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"412\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"413\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"414\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"415\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"416\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"417\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"418\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"419\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"420\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"421\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"422\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"423\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"424\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"425\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"426\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"427\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"428\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"429\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"430\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"431\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"432\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"433\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"434\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"435\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"436\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"437\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"438\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"439\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"440\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"441\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"442\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"443\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"444\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"445\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"446\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"447\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"448\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"449\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"450\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"451\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"452\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"453\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"454\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"455\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"456\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"457\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"458\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"459\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"460\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"461\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"462\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"463\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"464\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"465\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"466\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"467\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"468\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"469\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"470\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"471\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"472\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"473\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"474\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"475\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"476\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"477\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"478\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"479\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"480\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"481\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"482\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"483\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"484\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"485\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"486\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"487\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"488\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"489\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"490\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"491\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"492\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"493\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"494\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"495\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"496\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"497\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"498\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"},{\"id\":\"499\",\"text\":\"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.\",\"language\":\"en\"}]}", + "status": 413, + "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Request Payload sent is too large to be processed. Limit request size to: 524288\"}}}", + "responseHeaders": { + "apim-request-id": "924aef3a-0c33-4190-8a2a-ffce1cda2f5c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:18 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "46" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "fabb23fcf348878da5328d2e1b041a32" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json new file mode 100644 index 000000000000..832978717116 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.json @@ -0,0 +1,289 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "model-version": "latest", + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"56\",\"text\":\":)\"},{\"id\":\"0\",\"text\":\":(\"},{\"id\":\"22\",\"text\":\"\"},{\"id\":\"19\",\"text\":\":P\"},{\"id\":\"1\",\"text\":\":D\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "98af46ae-3149-4c21-a83d-7b2c933b89d4", + "date": "Fri, 25 Jun 2021 20:24:27 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "249" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:28Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "d4dc7e31-a592-45f1-be40-d1ba35b82d82", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:28Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "d18ff74e-c880-4d3d-b5c8-5192d681c841", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:27 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:28Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "40698b7a-ba26-46a6-965f-ff1eda8417a8", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:29 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:28Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "31020c72-d3ff-4b72-97e7-327f4cb5405c", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:31 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:28Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "bbd35f8e-2cd7-425f-9c56-b531427cd892", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:33 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:28Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "66d725df-4c3a-49c8-a2a9-a7dd9b6d8caa", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:36 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:28Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "0cd5355e-a592-47ca-879b-4c3889eaadfc", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:38 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:38Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "ebda4b5c-99e5-46c8-9629-88b5a9c7e4c7", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:40 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:38Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "683597a0-81e0-41db-a12c-0d92caf2beca", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:42 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:38Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "e8a6dbbf-e42d-4d4b-81eb-ea5e088371e2", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:44 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:38Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "3260cedd-aece-4bed-b1c2-c12694af1920", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:46 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:49Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"running\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "88cf0f10-7d67-48e0-8cb7-71adf9fba5b5", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:49 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "11" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/833ecc46-b747-4b28-bf61-597ccb7050cb", + "query": { + "showStats": "true", + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"833ecc46-b747-4b28-bf61-597ccb7050cb\",\"lastUpdateDateTime\":\"2021-06-25T20:24:49Z\",\"createdDateTime\":\"2021-06-25T20:24:28Z\",\"expirationDateTime\":\"2021-06-26T20:24:28Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":5,\"validDocumentsCount\":4,\"erroneousDocumentsCount\":1,\"transactionsCount\":4},\"documents\":[{\"id\":\"56\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"0\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"19\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":2,\"transactionsCount\":1},\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[{\"id\":\"22\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}}],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "633eb71a-cafe-41c8-a60c-1786d66754c1", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:51 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "85" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "b7886f5b0094498f9a0939c3cb1bca51" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json similarity index 71% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json index 5ebece000b33..473691a5ccbc 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,108 +10,108 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "cb2296bb-ce2a-4ec0-8031-90cee207589e", - "date": "Wed, 12 May 2021 19:16:14 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/d4d65d4f-e6df-4e98-af63-c3cc986e39d8", + "apim-request-id": "0bb1caae-6072-4a03-883e-981f18725d9a", + "date": "Fri, 25 Jun 2021 20:24:08 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/c7c35361-c983-4c04-abe4-3c66bde62a4a", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "91" + "x-envoy-upstream-service-time": "5248" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/d4d65d4f-e6df-4e98-af63-c3cc986e39d8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c7c35361-c983-4c04-abe4-3c66bde62a4a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d4d65d4f-e6df-4e98-af63-c3cc986e39d8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:15Z\",\"createdDateTime\":\"2021-05-12T19:16:15Z\",\"expirationDateTime\":\"2021-05-13T19:16:15Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"c7c35361-c983-4c04-abe4-3c66bde62a4a\",\"lastUpdateDateTime\":\"2021-06-25T20:24:08Z\",\"createdDateTime\":\"2021-06-25T20:24:03Z\",\"expirationDateTime\":\"2021-06-26T20:24:03Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "c761cfee-b9d5-411c-b9be-36e9ddcdf5d0", + "apim-request-id": "8034dfdd-7b4d-4ad7-8b8e-7db2db75cafa", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:14 GMT", + "date": "Fri, 25 Jun 2021 20:24:08 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "8" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/d4d65d4f-e6df-4e98-af63-c3cc986e39d8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c7c35361-c983-4c04-abe4-3c66bde62a4a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d4d65d4f-e6df-4e98-af63-c3cc986e39d8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:15Z\",\"createdDateTime\":\"2021-05-12T19:16:15Z\",\"expirationDateTime\":\"2021-05-13T19:16:15Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"c7c35361-c983-4c04-abe4-3c66bde62a4a\",\"lastUpdateDateTime\":\"2021-06-25T20:24:08Z\",\"createdDateTime\":\"2021-06-25T20:24:03Z\",\"expirationDateTime\":\"2021-06-26T20:24:03Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "4e826876-04dc-4bab-89b3-89a397aa9ef8", + "apim-request-id": "8ddb04d0-451a-4ad9-929d-9d53e2e5d0b1", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:14 GMT", + "date": "Fri, 25 Jun 2021 20:24:08 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "6" + "x-envoy-upstream-service-time": "9" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/d4d65d4f-e6df-4e98-af63-c3cc986e39d8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c7c35361-c983-4c04-abe4-3c66bde62a4a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d4d65d4f-e6df-4e98-af63-c3cc986e39d8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:15Z\",\"createdDateTime\":\"2021-05-12T19:16:15Z\",\"expirationDateTime\":\"2021-05-13T19:16:15Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"c7c35361-c983-4c04-abe4-3c66bde62a4a\",\"lastUpdateDateTime\":\"2021-06-25T20:24:10Z\",\"createdDateTime\":\"2021-06-25T20:24:03Z\",\"expirationDateTime\":\"2021-06-26T20:24:03Z\",\"status\":\"running\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "ef46a6f6-7e87-4bff-9363-3b968332f2e2", + "apim-request-id": "b40a0704-89b3-4847-b7e2-412e8c0a50f9", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:16 GMT", + "date": "Fri, 25 Jun 2021 20:24:10 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "7" + "x-envoy-upstream-service-time": "15" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/d4d65d4f-e6df-4e98-af63-c3cc986e39d8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c7c35361-c983-4c04-abe4-3c66bde62a4a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d4d65d4f-e6df-4e98-af63-c3cc986e39d8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:17Z\",\"createdDateTime\":\"2021-05-12T19:16:15Z\",\"expirationDateTime\":\"2021-05-13T19:16:15Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/0/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"c7c35361-c983-4c04-abe4-3c66bde62a4a\",\"lastUpdateDateTime\":\"2021-06-25T20:24:11Z\",\"createdDateTime\":\"2021-06-25T20:24:03Z\",\"expirationDateTime\":\"2021-06-26T20:24:03Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/0/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "6693c938-cfb8-4bd7-93ad-fffdf368d89a", + "apim-request-id": "09d2078f-e2ff-40ad-b749-1bdd857ffcd9", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:18 GMT", + "date": "Fri, 25 Jun 2021 20:24:12 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "55" + "x-envoy-upstream-service-time": "59" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/d4d65d4f-e6df-4e98-af63-c3cc986e39d8", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/c7c35361-c983-4c04-abe4-3c66bde62a4a", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"d4d65d4f-e6df-4e98-af63-c3cc986e39d8\",\"lastUpdateDateTime\":\"2021-05-12T19:16:17Z\",\"createdDateTime\":\"2021-05-12T19:16:15Z\",\"expirationDateTime\":\"2021-05-13T19:16:15Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/0/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"c7c35361-c983-4c04-abe4-3c66bde62a4a\",\"lastUpdateDateTime\":\"2021-06-25T20:24:11Z\",\"createdDateTime\":\"2021-06-25T20:24:03Z\",\"expirationDateTime\":\"2021-06-26T20:24:03Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"3\",\"entities\":[{\"offset\":11,\"length\":5,\"text\":\"100mg\",\"category\":\"Dosage\",\"confidenceScore\":1.0},{\"offset\":17,\"length\":9,\"text\":\"ibuprofen\",\"category\":\"MedicationName\",\"confidenceScore\":1.0,\"name\":\"ibuprofen\",\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0020740\"},{\"dataSource\":\"AOD\",\"id\":\"0000019879\"},{\"dataSource\":\"ATC\",\"id\":\"M01AE01\"},{\"dataSource\":\"CCPSS\",\"id\":\"0046165\"},{\"dataSource\":\"CHV\",\"id\":\"0000006519\"},{\"dataSource\":\"CSP\",\"id\":\"2270-2077\"},{\"dataSource\":\"DRUGBANK\",\"id\":\"DB01050\"},{\"dataSource\":\"GS\",\"id\":\"1611\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh97005926\"},{\"dataSource\":\"LNC\",\"id\":\"LP16165-0\"},{\"dataSource\":\"MEDCIN\",\"id\":\"40458\"},{\"dataSource\":\"MMSL\",\"id\":\"d00015\"},{\"dataSource\":\"MSH\",\"id\":\"D007052\"},{\"dataSource\":\"MTHSPL\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI\",\"id\":\"C561\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C561\"},{\"dataSource\":\"NCI_DCP\",\"id\":\"00803\"},{\"dataSource\":\"NCI_DTP\",\"id\":\"NSC0256857\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"WK2XYI10QM\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000613511\"},{\"dataSource\":\"NDDF\",\"id\":\"002377\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000040475\"},{\"dataSource\":\"RCD\",\"id\":\"x02MO\"},{\"dataSource\":\"RXNORM\",\"id\":\"5640\"},{\"dataSource\":\"SNM\",\"id\":\"E-7772\"},{\"dataSource\":\"SNMI\",\"id\":\"C-603C0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"387207008\"},{\"dataSource\":\"USP\",\"id\":\"m39860\"},{\"dataSource\":\"USPMG\",\"id\":\"MTHU000060\"},{\"dataSource\":\"VANDF\",\"id\":\"4017840\"}]},{\"offset\":34,\"length\":11,\"text\":\"twice daily\",\"category\":\"Frequency\",\"confidenceScore\":1.0}],\"relations\":[{\"relationType\":\"DosageOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/0\",\"role\":\"Dosage\"},{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"}]},{\"relationType\":\"FrequencyOfMedication\",\"entities\":[{\"ref\":\"#/results/documents/0/entities/1\",\"role\":\"Medication\"},{\"ref\":\"#/results/documents/0/entities/2\",\"role\":\"Frequency\"}]}],\"warnings\":[]}],\"errors\":[{\"id\":\"1\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocument\",\"message\":\"Document text is empty.\"}}},{\"id\":\"2\",\"error\":{\"code\":\"InvalidArgument\",\"message\":\"Invalid Language Code.\",\"innererror\":{\"code\":\"UnsupportedLanguageCode\",\"message\":\"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support\"}}}],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "01880ccb-b647-43c5-bd48-26cb72b43bc8", + "apim-request-id": "b4de5fd8-a972-41e1-886a-d4409edb7c29", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:18 GMT", + "date": "Fri, 25 Jun 2021 20:24:12 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "50" + "x-envoy-upstream-service-time": "65" } } ], @@ -119,5 +119,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a8c460dfa57900682173b81ae8854fde" + "hash": "8f137e103df6a68f682870f77ddba5fa" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_too_many_documents.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_too_many_documents.json similarity index 83% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_too_many_documents.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_too_many_documents.json index 852f5c5596ed..b2d67b80f84b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_too_many_documents.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_too_many_documents.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,13 +10,13 @@ "status": 400, "response": "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid document in request.\",\"innererror\":{\"code\":\"InvalidDocumentBatch\",\"message\":\"Batch request contains too many records. Max 10 records are permitted.\"}}}", "responseHeaders": { - "apim-request-id": "69e5affb-e310-4fc5-a318-51e705ef689f", + "apim-request-id": "a78cd330-69bb-47b4-b338-978760dc5809", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:23 GMT", + "date": "Fri, 25 Jun 2021 20:24:17 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "5" + "x-envoy-upstream-service-time": "6" } } ], @@ -24,5 +24,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "781019d238e9adb12964edee1e0185f6" + "hash": "f4e1a2c36c41c301fea32887bbea5a55" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json new file mode 100644 index 000000000000..64d850215a14 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.json @@ -0,0 +1,104 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"0\",\"text\":\"This was the best day of my life.\",\"language\":\"en\"},{\"id\":\"1\",\"text\":\"I did not like the hotel we stayed at. It was too expensive.\",\"language\":\"en\"},{\"id\":\"2\",\"text\":\"The restaurant was not as good as I hoped.\",\"language\":\"en\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "c2d4a4ea-5213-429d-b6c0-0e7019d50396", + "date": "Fri, 25 Jun 2021 20:24:54 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/d0818b09-d853-4f39-bb00-5ce5ae5fbf74", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "149" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d0818b09-d853-4f39-bb00-5ce5ae5fbf74", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d0818b09-d853-4f39-bb00-5ce5ae5fbf74\",\"lastUpdateDateTime\":\"2021-06-25T20:24:54Z\",\"createdDateTime\":\"2021-06-25T20:24:54Z\",\"expirationDateTime\":\"2021-06-26T20:24:54Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "11f85f33-c877-4200-a988-4deadfbf2764", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d0818b09-d853-4f39-bb00-5ce5ae5fbf74", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d0818b09-d853-4f39-bb00-5ce5ae5fbf74\",\"lastUpdateDateTime\":\"2021-06-25T20:24:54Z\",\"createdDateTime\":\"2021-06-25T20:24:54Z\",\"expirationDateTime\":\"2021-06-26T20:24:54Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "1122db3e-7a8c-478f-a966-8c1e3ba36eea", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:54 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d0818b09-d853-4f39-bb00-5ce5ae5fbf74", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d0818b09-d853-4f39-bb00-5ce5ae5fbf74\",\"lastUpdateDateTime\":\"2021-06-25T20:24:56Z\",\"createdDateTime\":\"2021-06-25T20:24:54Z\",\"expirationDateTime\":\"2021-06-26T20:24:54Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "e30adc6f-7fae-4b53-b3e3-7e2655bec624", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "71" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/d0818b09-d853-4f39-bb00-5ce5ae5fbf74", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"d0818b09-d853-4f39-bb00-5ce5ae5fbf74\",\"lastUpdateDateTime\":\"2021-06-25T20:24:56Z\",\"createdDateTime\":\"2021-06-25T20:24:54Z\",\"expirationDateTime\":\"2021-06-26T20:24:54Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "d7488119-62bb-4dd1-892f-6467d9846b31", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "57" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "244cc773590bf1739b9bee615d0136fa" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json new file mode 100644 index 000000000000..d660d1b5785a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.json @@ -0,0 +1,104 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I will go to the park.\",\"language\":\"\"},{\"id\":\"2\",\"text\":\"I did not like the hotel we stayed at.\",\"language\":\"\"},{\"id\":\"3\",\"text\":\"The restaurant had really good food.\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "246db4a4-a4ea-4aa1-8027-fabdfb87a483", + "date": "Fri, 25 Jun 2021 20:24:56 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/f69197d0-ac64-4a2b-a1db-e3fcde84eb63", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "205" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f69197d0-ac64-4a2b-a1db-e3fcde84eb63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f69197d0-ac64-4a2b-a1db-e3fcde84eb63\",\"lastUpdateDateTime\":\"2021-06-25T20:24:57Z\",\"createdDateTime\":\"2021-06-25T20:24:57Z\",\"expirationDateTime\":\"2021-06-26T20:24:57Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "8fc4b9d6-3b9b-4d99-a181-c4da793d7421", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f69197d0-ac64-4a2b-a1db-e3fcde84eb63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f69197d0-ac64-4a2b-a1db-e3fcde84eb63\",\"lastUpdateDateTime\":\"2021-06-25T20:24:57Z\",\"createdDateTime\":\"2021-06-25T20:24:57Z\",\"expirationDateTime\":\"2021-06-26T20:24:57Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "9bc9c34c-a801-4917-91f8-ff5e3b2e9c60", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:56 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f69197d0-ac64-4a2b-a1db-e3fcde84eb63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f69197d0-ac64-4a2b-a1db-e3fcde84eb63\",\"lastUpdateDateTime\":\"2021-06-25T20:24:58Z\",\"createdDateTime\":\"2021-06-25T20:24:57Z\",\"expirationDateTime\":\"2021-06-26T20:24:57Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "def07459-2e12-447a-b4be-1114a9399201", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "75" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/f69197d0-ac64-4a2b-a1db-e3fcde84eb63", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"f69197d0-ac64-4a2b-a1db-e3fcde84eb63\",\"lastUpdateDateTime\":\"2021-06-25T20:24:58Z\",\"createdDateTime\":\"2021-06-25T20:24:57Z\",\"expirationDateTime\":\"2021-06-26T20:24:57Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "735c0174-7f29-42de-a43d-01a710085909", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "75" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "9a24b1f99cf69c19826f3e7864953d2e" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json similarity index 50% rename from sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json rename to sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json index 5f420e1f2ceb..ecd366a93a56 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/browsers/api_key_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "POST", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", "query": { "stringIndexType": "Utf16CodeUnit" }, @@ -10,28 +10,28 @@ "status": 202, "response": "", "responseHeaders": { - "apim-request-id": "fb4dc1f1-21ed-48f8-acf5-84024fcbdaf5", - "date": "Wed, 12 May 2021 19:16:38 GMT", - "operation-location": "https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/3f941f62-c1c2-4408-996c-78305d9b6502", + "apim-request-id": "53d82758-5a1e-4cea-92e1-64ecf575fedf", + "date": "Fri, 25 Jun 2021 20:24:51 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/959eac67-f498-484b-9efd-940e07fb29d6", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "109" + "x-envoy-upstream-service-time": "254" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/3f941f62-c1c2-4408-996c-78305d9b6502", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/959eac67-f498-484b-9efd-940e07fb29d6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"3f941f62-c1c2-4408-996c-78305d9b6502\",\"lastUpdateDateTime\":\"2021-05-12T19:16:38Z\",\"createdDateTime\":\"2021-05-12T19:16:38Z\",\"expirationDateTime\":\"2021-05-13T19:16:38Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"959eac67-f498-484b-9efd-940e07fb29d6\",\"lastUpdateDateTime\":\"2021-06-25T20:24:51Z\",\"createdDateTime\":\"2021-06-25T20:24:51Z\",\"expirationDateTime\":\"2021-06-26T20:24:51Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "e9b87d4d-1320-4d48-bcd2-e003ecf9d686", + "apim-request-id": "b72c1312-7104-496d-a8f0-40925f412659", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:38 GMT", + "date": "Fri, 25 Jun 2021 20:24:51 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -40,17 +40,17 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/3f941f62-c1c2-4408-996c-78305d9b6502", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/959eac67-f498-484b-9efd-940e07fb29d6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"3f941f62-c1c2-4408-996c-78305d9b6502\",\"lastUpdateDateTime\":\"2021-05-12T19:16:38Z\",\"createdDateTime\":\"2021-05-12T19:16:38Z\",\"expirationDateTime\":\"2021-05-13T19:16:38Z\",\"status\":\"notStarted\",\"errors\":[]}", + "response": "{\"jobId\":\"959eac67-f498-484b-9efd-940e07fb29d6\",\"lastUpdateDateTime\":\"2021-06-25T20:24:51Z\",\"createdDateTime\":\"2021-06-25T20:24:51Z\",\"expirationDateTime\":\"2021-06-26T20:24:51Z\",\"status\":\"notStarted\",\"errors\":[]}", "responseHeaders": { - "apim-request-id": "39f93117-44ae-4aef-bacb-c95b95d4da5a", + "apim-request-id": "e5af1119-58f2-45df-a1cd-f0fe13eb6526", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:38 GMT", + "date": "Fri, 25 Jun 2021 20:24:51 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", @@ -59,40 +59,40 @@ }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/3f941f62-c1c2-4408-996c-78305d9b6502", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/959eac67-f498-484b-9efd-940e07fb29d6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"3f941f62-c1c2-4408-996c-78305d9b6502\",\"lastUpdateDateTime\":\"2021-05-12T19:16:39Z\",\"createdDateTime\":\"2021-05-12T19:16:38Z\",\"expirationDateTime\":\"2021-05-13T19:16:38Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"959eac67-f498-484b-9efd-940e07fb29d6\",\"lastUpdateDateTime\":\"2021-06-25T20:24:53Z\",\"createdDateTime\":\"2021-06-25T20:24:51Z\",\"expirationDateTime\":\"2021-06-26T20:24:51Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "2066e49c-e790-4778-88a3-0614b87dacb8", + "apim-request-id": "1feee750-5f6c-4c9e-b371-a06d2e24ac2a", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:41 GMT", + "date": "Fri, 25 Jun 2021 20:24:53 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "81" + "x-envoy-upstream-service-time": "65" } }, { "method": "GET", - "url": "https://endpoint//text/analytics/v3.1-preview.5/entities/health/jobs/3f941f62-c1c2-4408-996c-78305d9b6502", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/959eac67-f498-484b-9efd-940e07fb29d6", "query": { "$top": "20" }, "requestBody": null, "status": 200, - "response": "{\"jobId\":\"3f941f62-c1c2-4408-996c-78305d9b6502\",\"lastUpdateDateTime\":\"2021-05-12T19:16:39Z\",\"createdDateTime\":\"2021-05-12T19:16:38Z\",\"expirationDateTime\":\"2021-05-13T19:16:38Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-03-01\"}}", + "response": "{\"jobId\":\"959eac67-f498-484b-9efd-940e07fb29d6\",\"lastUpdateDateTime\":\"2021-06-25T20:24:53Z\",\"createdDateTime\":\"2021-06-25T20:24:51Z\",\"expirationDateTime\":\"2021-06-26T20:24:51Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"1\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", "responseHeaders": { - "apim-request-id": "ff4e1de0-d3ed-4866-b743-68c95721a13c", + "apim-request-id": "1722245f-df70-444d-93fd-fadd08e49456", "content-type": "application/json; charset=utf-8", - "date": "Wed, 12 May 2021 19:16:41 GMT", + "date": "Fri, 25 Jun 2021 20:24:53 GMT", "strict-transport-security": "max-age=31536000; includeSubDomains; preload", "transfer-encoding": "chunked", "x-content-type-options": "nosniff", - "x-envoy-upstream-service-time": "52" + "x-envoy-upstream-service-time": "60" } } ], @@ -100,5 +100,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "1412f3cd179a394132ee17ae13aa5369" + "hash": "33965f5fc7bffb3476452949579b99ba" } \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json new file mode 100644 index 000000000000..83a782b782b6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.json @@ -0,0 +1,104 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs", + "query": { + "stringIndexType": "Utf16CodeUnit" + }, + "requestBody": "{\"documents\":[{\"id\":\"1\",\"text\":\"I should take my cat to the veterinarian.\"},{\"id\":\"2\",\"text\":\"Este es un document escrito en Español.\"},{\"id\":\"3\",\"text\":\"猫は幸せ\"}]}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "c2e0ec94-5fa8-4436-92f1-3c61ad0ffa49", + "date": "Fri, 25 Jun 2021 20:24:59 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/entities/health/jobs/36fb8cb3-df19-4a6c-8805-5e7b96fae31d", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "154" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/36fb8cb3-df19-4a6c-8805-5e7b96fae31d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"36fb8cb3-df19-4a6c-8805-5e7b96fae31d\",\"lastUpdateDateTime\":\"2021-06-25T20:25:00Z\",\"createdDateTime\":\"2021-06-25T20:24:59Z\",\"expirationDateTime\":\"2021-06-26T20:24:59Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "efcb11ae-6581-4484-b99b-29a21e841458", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/36fb8cb3-df19-4a6c-8805-5e7b96fae31d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"36fb8cb3-df19-4a6c-8805-5e7b96fae31d\",\"lastUpdateDateTime\":\"2021-06-25T20:25:00Z\",\"createdDateTime\":\"2021-06-25T20:24:59Z\",\"expirationDateTime\":\"2021-06-26T20:24:59Z\",\"status\":\"notStarted\",\"errors\":[]}", + "responseHeaders": { + "apim-request-id": "81a357bc-f640-4909-9a2f-77caf2d4fbab", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:24:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/36fb8cb3-df19-4a6c-8805-5e7b96fae31d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"36fb8cb3-df19-4a6c-8805-5e7b96fae31d\",\"lastUpdateDateTime\":\"2021-06-25T20:25:01Z\",\"createdDateTime\":\"2021-06-25T20:24:59Z\",\"expirationDateTime\":\"2021-06-26T20:24:59Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":28,\"length\":12,\"text\":\"veterinarian\",\"category\":\"HealthcareProfession\",\"confidenceScore\":0.98}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "1f34e77e-cddf-49ab-ae3c-0b7923ec5d79", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "62" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/entities/health/jobs/36fb8cb3-df19-4a6c-8805-5e7b96fae31d", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"36fb8cb3-df19-4a6c-8805-5e7b96fae31d\",\"lastUpdateDateTime\":\"2021-06-25T20:25:01Z\",\"createdDateTime\":\"2021-06-25T20:24:59Z\",\"expirationDateTime\":\"2021-06-26T20:24:59Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"1\",\"entities\":[{\"offset\":28,\"length\":12,\"text\":\"veterinarian\",\"category\":\"HealthcareProfession\",\"confidenceScore\":0.98}],\"relations\":[],\"warnings\":[]},{\"id\":\"2\",\"entities\":[],\"relations\":[],\"warnings\":[]},{\"id\":\"3\",\"entities\":[],\"relations\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-05-15\"}}", + "responseHeaders": { + "apim-request-id": "ae9792f9-9133-41d6-98b6-1d0b53125d4a", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 25 Jun 2021 20:25:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "57" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "7bec52ba89e96a0ba2f2013638873cb4" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.js index d0702751bebe..ed508bcb7a2d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ab00193669bfc618a2f0cb5282fcc4df"; +module.exports.hash = "3507106128a8c3279ca558497e4d0b6b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1c206b45-e788-41a9-b196-0c710d9d7c01', + 'b809defb-d23a-4f0c-93d3-0d5822203c00', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.8 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MM; expires=Fri, 11-Jun-2021 19:06:03 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8k; expires=Sun, 25-Jul-2021 19:33:53 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrsBwFo3aKNh4kWItmu2GFXAZS2Z6JIAQzV617QJIkYR4AF7H54YFOvo-mmXbeTqRGCHSszayXz0EE7d2owtzxH6jov9PtOva51s4-1gM4oSHtCkELnrJfLqmo7ZiPEoBj240DC20VeDnTuDvVjv0Ojz2p1BRV3XCY4y5WlHEWtBYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpD26DiEu9ED_V2nxSH12nq0Xy9iMhFtLBM3S4OkctUoaVVbETX10uHlo043R6_vSfvWvi6xZ5BcUgoX4OShD1wskoCiqH11jHLsj9uYVyRH4J5y-8ByDhzMJa-eY1YLK-EBcBBD4nsmWEQ5H6AMXlE0UwhqEwp7LEE1ivhjsUjYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:02 GMT', + 'Fri, 25 Jun 2021 19:33:53 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90abcbc6c800', + '546b154e-3691-42e1-a17e-80b9aa456700', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MM; expires=Fri, 11-Jun-2021 19:06:03 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8k; expires=Sun, 25-Jul-2021 19:33:53 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4aDN1oDyBY3uAt6URxagaqGsK0lzYwqGurkj272py1wBCzY_4oiyyOMDatGAaldCANzFNe8_8UmgnWCpoaRnz1BC1o8FTG85Ij4oqCc6VaMuUY8euNmSRQCA1N0ho7Wk6-h_FC4fZy_bOd7u8O2zsm9_cmuQzqdATVuwSgdIfwogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfyeejulnUNH71fHmnyvTHh_sA5qZbOBYGUinoAv19Na1lHS_u8ErZpUii-zrPzvAE46ktyCTU1tw6TKxchaedEYjlMo0eLeMzebSqhsDK39GTroj8cygtsyqbm9Ur7a4bbp5jU2-24d24iJFH7-FgwVyGFuUC_q0gb_C4VOWxZ4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:02 GMT', + 'Fri, 25 Jun 2021 19:33:53 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=07945ffd-4044-48f0-b2ac-83300a91d3f6&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90abd6c6c800', + '46746596-f429-4925-82fd-aa7979e57000', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:03 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:54 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:03 GMT', + 'Fri, 25 Jun 2021 19:33:53 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"offset":0,"length":86,"text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"}],"warnings":[]},{"id":"1","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":58,"text":"Unfortunately, it rained during my entire trip to Seattle."},{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.7,"negative":0.29},"offset":59,"length":43,"text":"I didn't even get to visit the Space Needle"}],"warnings":[]},{"id":"2","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":101,"text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."}],"warnings":[]},{"id":"3","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"offset":0,"length":42,"text":"I didn't like the last book I read at all."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '152', + '156', 'apim-request-id', - '1c8ca224-00e4-42a6-ab6d-59a08ea88b60', + '8bd441f2-d6f3-4357-af45-59be4cf5dbf8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:03 GMT' + 'Fri, 25 Jun 2021 19:33:55 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.js index cc7ee1e82d53..a23bbd3ba7cc 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "8d61babf8d0889f22bd5ab0a5f5e94c6"; +module.exports.hash = "bd1ef9032ab787da0c6aee257c7d1810"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '798eea15-2455-4b82-acbc-d777e3b20100', + 'd9651262-0db9-4929-9fc6-25b383319d00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.8 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:04 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:55 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrEfx4g6GYhb7Domu_0VXb9ZynVsvw3D8OoW5nNpR8-s9qd9ZsbG9LoJGpAYFWiLjq3BwOxAHKilEpuqZbNlRs53KN9G2x56pHi2N7KV6brWGwStxQ1IK4fXV6gTNbAhLSpzuodAohzjQ0zEagX1aa2InVqXrir3Z-9FiLFDQn2iggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYVNTBN5KDHZwiZeIiQysKdh4ZFV0MtFIVd92m1FZF5FFmqbAF6eSoObrb8DSf3THyOa463j3yxHIJaDXOKI_ErLt-q0lQof5HGyN3DetY98rCbDLA59u3r57mdy-bewWOjTHWFpafPraYCJ03vspNKbcQLbbyxYwJwkk7WIwDPggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:03 GMT' + 'Fri, 25 Jun 2021 19:33:54 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'dac8c720-7f5b-4daa-a8aa-ada5590f5600', + '46746596-f429-4925-82fd-aa79c4e57000', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:04 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:55 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0EG8vTJ85V4hPZjJ8c3UuO_XfgXe-dva_KmkBrefAwlzvrU2vfe37MgKzGfkJoN2omFOiAleUN_XS7Tt5tulVIJxd8tyB6huCpvYvemYj6X3UK5lg2uYX_EZAOjzbYSayqEc8S8HiuiuxkmFQ3NGsHQRW_O2lBvNre1MbNld9qAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrv7irltPXcJJTIy00WyRWCfLzsLrkyw_brYrNT0UwGHGH3hzRgi_If-rmeu-3p4sa-A1QKyWjFE21fctlRk5eJFQXt3UdEVzlKhJuM22NID6e0utABbNcRCua8bhijcNyLDnQ2RMne4XrsNKsUT2cGLXlxkNMhrtn1LRn6KtuR4ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:03 GMT', + 'Fri, 25 Jun 2021 19:33:54 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=f8e9c9c8-5cb6-4427-bfb4-0ada619ac56a&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a95fb5300', + '493aab2b-fb42-40cd-a2d0-93f5716b5a00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:04 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:55 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:03 GMT', + 'Fri, 25 Jun 2021 19:33:55 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"offset":0,"length":86,"text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"}],"warnings":[]},{"id":"1","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":58,"text":"Unfortunately, it rained during my entire trip to Seattle."},{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.7,"negative":0.29},"offset":59,"length":43,"text":"I didn't even get to visit the Space Needle"}],"warnings":[]},{"id":"2","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":101,"text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."}],"warnings":[]},{"id":"3","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"offset":0,"length":42,"text":"I didn't like the last book I read at all."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '230', + '97', 'apim-request-id', - '8cae0137-8421-4a34-b11a-3edce78cd807', + '96e65b58-9520-4915-bb4c-2f7f8663a150', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:05 GMT' + 'Fri, 25 Jun 2021 19:33:55 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.js index 2152d05033ad..94fa016bdd9f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "a73e59203fffd5936c74db2a86463458"; +module.exports.hash = "48ae2bd36a524f40c51f76e37f79ca4a"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4086f93b-2614-4ec7-9743-d54f72ea5f00', + '9836a81d-351c-48ba-a6a4-3f41466b0100', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:59 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRJ3VvL4fRTl7Xgk3GIn0TdB9gvP9Zs9cO77YdXQYv6fREfLrEMxJLNEXo8Z05qnc0qoFNa0a-RD9DJUiWUdkF8p-iS6iF4imMT4dhl4tlNbHNgblgeW-Xmw-sswjhewDZDWWUXZE5VNbcZbEbQIvPtNgdPQaLuLLUErZJij0eL0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIcpfQ47g36drw2fSKtFqUqnHTsQsvsYP9bYVC_DGcBqx_dCobA9VdGkFXqe6iZIL6sihZzr74PHfyWPdfZtDVdmdmstiBiotNDYXbD0hKqJxdtq8L-X8uvDgVIu3HYuiGNpfFRe0JXwevEOdxwBIaDJSO_arDymSRfZkN1vMUSsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:08 GMT' + 'Fri, 25 Jun 2021 19:33:59 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd8216765e00', + '60255122-4f99-4912-bd79-4b91ae696000', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:00 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTcFdWAqspih0dJN_rW40LV3Ench5S6y-rIZuyuO_fibAfXR6obPQYm8hQNpGfzcUr_MryV2BP3K7Mrx8h4LaMReDnjcqjYBabtE9CWPCjrNhFy09GjjGMIPA_kCI2vTHzV1zIThr9T8ocmrsoLItTOukY3YNcTG0NRqLq4Eq4MEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfPao2xKFeFczYHh57tCdJLF3-9YKpL9Tu3f_4cjl7MaR9R9yDPzA2fTDvaRuISg29ehpi2Mg3tBr1qYtPRRHk8_incD6YrilYWV7mp22NvOJBOQlSTB3UylRoA-hexrDNg6-fAVTwyP1XT_CKOsGdFLM1NL5fqI_izH7sTMuenUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:08 GMT', + 'Fri, 25 Jun 2021 19:33:59 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=f9268555-934e-42cd-be72-6cd9c4bee2ec&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4241a5a00', + 'f75e896d-b4c4-4e8a-8d17-6ea682845900', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:00 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:08 GMT', + 'Fri, 25 Jun 2021 19:33:59 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) .query(true) .reply(200, {"documents":[{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"offset":0,"length":86,"text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":58,"text":"Unfortunately, it rained during my entire trip to Seattle."},{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.7,"negative":0.29},"offset":59,"length":43,"text":"I didn't even get to visit the Space Needle"}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":101,"text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."}],"warnings":[]},{"id":"4","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"offset":0,"length":42,"text":"I didn't like the last book I read at all."}],"warnings":[]},{"id":"5","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.08,"negative":0.03},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.08,"negative":0.03},"offset":0,"length":73,"text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos."}],"warnings":[]},{"id":"6","sentiment":"negative","confidenceScores":{"positive":0.11,"neutral":0.29,"negative":0.6},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.11,"neutral":0.29,"negative":0.6},"offset":0,"length":29,"text":"La carretera estaba atascada."},{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.58,"negative":0.33},"offset":30,"length":35,"text":"Había mucho tráfico el día de ayer."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6', 'x-envoy-upstream-service-time', - '130', + '101', 'apim-request-id', - 'd564b62b-e821-49fc-90d5-c2f501377bd9', + 'b2bf2118-3641-41e6-8d11-907042e4807c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:09 GMT' + 'Fri, 25 Jun 2021 19:34:00 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.js index 0367165f0633..430d7d2f2c45 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "919bcd1e61d53ef9171ac5312b7b0a8a"; +module.exports.hash = "01b84290224b19eda44a99f1f5f8866e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '82537952-1af3-4e6d-a89d-6bf9a9093000', + 'b52aad76-1457-4ae2-b0c9-26bcfb877f00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:12 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:03 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTr6rj8OcvBqbMYUTmHao6cE1Iu3yaGX2DBEECAr3mZO3TLnsQY2Bh_NZz36ZFARXsCBr7aZT_eAFULvM9B2stfXRclOzxpzcCxu0HOQmTPEdjcgLM7VLh1D2ECxzfr0S-6v9GcV1qYF0pcOd18NkE9e9C86ujzML68JEoexF-oEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0cuJxXhi8zPiFxDO7eDH2CvCk9C25YBPOHcgK82PhuBs31VBlrHujXJPIEHHgHOPxipUNmL14yMk1aYzi-WnkaSbctJsLVHa85dqEnPuNYEBeLYfYvsQUTnSHlz7_HYAMyKBKOZFCP-ojZ-l05sFocpSQ6Ug_3XGzyOUlJyskOYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:12 GMT' + 'Fri, 25 Jun 2021 19:34:02 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed3d7015b00', + '46746596-f429-4925-82fd-aa7945e77000', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:13 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:03 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0_Z-FUc5ht12slhcUx2SzSpLy1LZMAnqMjm2sEwsXAI-9fM3naBPo9Nl6NQg_YSPf1yCsyNXc60ZRZxhzRYV9Bex63W2uzwq4iuLVnmcek9ivIbmJ_MigtnCoKJMieXnygUKNnpXv8CTjK8ClwH6ZpmRm5WJER1S1MSy6pms5F0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrm_r4DbY9qiG_yltsWJW6WLzwYDLrJl-ALnAqq65mdAvvmypEQ4Xv4vclgaC0rAh-yqGNA_F4t3oHtJISp3FS-0cMcNDUd0OvZ1h91ofU1xhuHxIkQZqg1cVFRzU3EqTyuGAhw-Zbj0CjKC4tp26N_C3qEYQJ5InMw-pEgTm9ssogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:13 GMT', + 'Fri, 25 Jun 2021 19:34:02 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=da3f4700-6e3c-4589-ad18-09a6a7d83c10&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-321253985200', + '5d543b59-2435-4161-9c9e-e923ea5c7100', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:13 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:03 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:13 GMT' + 'Fri, 25 Jun 2021 19:34:03 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"The food and service is not good","language":"en"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"The food and service is not good","language":"en"}]}) .query(true) .reply(200, {"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":32,"text":"The food and service is not good","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":13,"length":7,"text":"service","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":28,"length":4,"text":"good","isNegated":true}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '2597', + '2557', 'apim-request-id', - '5f56d0a3-c9c8-4383-aa5a-8cb3498c04ca', + '5722d8a7-9272-4f03-b9ce-e27dae39004d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:15 GMT' + 'Fri, 25 Jun 2021 19:34:05 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.js index 9548a6834eb1..ce2c51f7135d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "fd062b7f4e03bd5adebc58c8ccecc903"; +module.exports.hash = "02fc8cd878126d65fa0c1a49402ba0b8"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1b0c922e-4ce7-43b9-8b0a-5e18fc176f01', + '8a835020-79fe-453f-8115-89eed2973f00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.8 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:16 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:06 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1RC2zS7uvr7ooFlv3DrPonFfgVvaG-zyKilMVKSvyqHtqQXZjbTW3kODJ0H8sPGSCmuj0LdPACtS9tH2K0l9Ap_r5C7aOYkTSAlXJpLb9rvLtuSIshUpKzgsKv-Itf1h99XlrSSlDSG1Sm7AVzEjTaAiUWkzX0kD0qyMeH5nMvsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrF2RLXBLwAJtsPAOb3fSnRw2URv6kfWjaNhNHprpcHqwN08AphTB0ddPDIv8GmHvrOAladlzOM71wBTEQGcUPF1lvuQ6VA8gIRH3B4qOPr9yD40XLLGRMcxJpYmBvRDyObJghm_8OsL-d0lB3bLIFJV7YJ8fFIqx2wWS8u0hmwt4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:16 GMT', + 'Fri, 25 Jun 2021 19:34:05 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed37c025b00', + '1e233fee-f232-4e03-820f-8a8c17986e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:16 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:06 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrn27x2muI-jzjfSZqpbM-bhEAO1rvVaD4l0AlzdOL2IqqwPpuqSdDfczu6ii6yjmmzzvHq_7i7vDRB2TGQfqnwCx4qadnbJc1pDA5Gbw7Myoqg9fh1zjZuvtby0ct4-1PINg3128sZA7DMr7GMq8MYb1zGbfsS5mF8yYu2SFUB6AgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrV6RkKXLZCZzsN8Kf1in02fdvw6ZD9XeyTYUrSodJ4ds2J0fKRo_gz6NQ6dVwxClZIEoxYr_2xKq3wI0PCRIF7wHuEogopggkb4tx-lYhP1IH0boomfW5Me4Iqla5VobcJAKbSNS0HdG2HvluYrMdvNqE1q_oA1axDQ8jyY0kBawgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:16 GMT', + 'Fri, 25 Jun 2021 19:34:05 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=7740a883-1c70-44c3-a6c9-23f9a5ad0393&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4bc1b5a00', + 'a9a1e068-3c7e-4040-b4a3-6952faa46e00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:16 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:06 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:16 GMT', + 'Fri, 25 Jun 2021 19:34:05 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"today is a hot day","language":"en"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"today is a hot day","language":"en"}]}) .query(true) .reply(200, {"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"offset":0,"length":18,"text":"today is a hot day","targets":[],"assessments":[]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '102', + '5073', 'apim-request-id', - 'e0ba7bbc-c57c-427a-8c8e-184e6146e5f1', + '293fb8c1-0e7f-4f46-ba83-2ef1e60447cf', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:16 GMT' + 'Fri, 25 Jun 2021 19:34:10 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.js index 82bd4d0a7fab..662d39188a76 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "476a36da5c0b3436f000618afb9a4bdb"; +module.exports.hash = "734b436c2a291e8271b3b7d3813b67f7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '76cd199c-e807-4594-8088-8155a3b47a00', + 'b0a4d72c-fe7e-440c-89a3-a9215ea2cd00', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.8 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:00 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrY7OUOti2mDA0-3y2WDKqb9Y4S7dFPfgYrUb9bJ_YtMcjBkS4ku-_uc-o84BDV6lVWjaBzQrARwMNHiewq1be6tUEhFmhyc5BeIXL5yTQh99Bl_vtKGMsZoqS2GAKh7t_xPuH15n1Baowdwot4adwIT170jKwng4_Sd5dxmF7yLkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5YGvxvHuO8mpLKa_4fdeNjO2sKxeKT1yaHn0uO6ncKz4hBTdwh-BbAwci3TqYPh2Q3iISyR7jYmN1VcU4LsfZzkLcvZViE-iW4ZAn5rOD5YDYw7q4s2MiSR4hpN2ehh4XFv7hboUYEolmxp8vhDP9Z1usdUBjwYRednW7RZBm9EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:08 GMT' + 'Fri, 25 Jun 2021 19:33:59 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4461a5a00', + '7f6441d7-2d0f-4f80-bf15-34dc5e685600', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:00 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUF9HTKZzOqvurGbwItY3n1rZ6b43R5Mz-66ljFlVeLOK4wfCuNkErIp7rcE6i-lh8jJpiD7qUZsxxm-60lDcLy6aIZ1bPW1AerGOa0trBNcl4Bxo6UL3xPPhrhvUraIIfmgADTEDQtNgvB20QxwA3UhazSgT4MZQNgXQ-0eT2PEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrFg5DcDjI6eHjGwBCZbb1RFNRgBaanPQJEMU58aQABspLiWVA4UA9QF34CiqMdC2ZJgrbQ9-WFJ4r0a5xfz27zKXr4O7gDoF7AuoHzcErKAJCqot-zypdlKkuHACwdct4q0_SsoXp5bCPkSrn4NgEg_XdwHyLrYRuTpgU_TiAFWogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:08 GMT', + 'Fri, 25 Jun 2021 19:33:59 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=961380ce-3055-424c-932f-38f840973a78&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb2fe7cc00', + '493aab2b-fb42-40cd-a2d0-93f5276c5a00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:00 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:09 GMT' + 'Fri, 25 Jun 2021 19:34:00 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"It has a sleek premium aluminum design that makes it beautiful to look at.","language":"en"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"It has a sleek premium aluminum design that makes it beautiful to look at.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0},"offset":0,"length":74,"text":"It has a sleek premium aluminum design that makes it beautiful to look at.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":32,"length":6,"text":"design","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":9,"length":5,"text":"sleek","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":7,"text":"premium","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '2620', + '2568', 'apim-request-id', - 'b3d6213b-40a7-4b33-88ae-61b0c4a3e7a0', + '6be40fb5-52dd-4437-90d1-4ac1d789bc65', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:12 GMT' + 'Fri, 25 Jun 2021 19:34:02 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.js index 185212db24ae..c95373820b10 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.js @@ -1,5 +1,5 @@ let nock = require('nock'); -module.exports.hash = "58cb732832495cc0c88df9de67a2657f"; +module.exports.hash = "da56d9c74392fe1ab68ada4cc5812bcb"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.js index 16d9460e7821..84f58d61199d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "654dbbe98dee03bb87535935318ac0e9"; +module.exports.hash = "a157febd45a30a9364c39af353c5a125"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'bdbdfa77-04f9-4cce-86c6-141e2aca5900', + 'f75e896d-b4c4-4e8a-8d17-6ea6de835900', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrO4fwBzjPsvmrscL9-iA-EYPAuCxmohX0hqnv-C7ciD8nKA98g_OEZ1Y6ChQoc6A9WzuJGPYJQ73alb4DSTlY67zS009sZEZNzwrECAT84IUW2gmab2IEUJii0CqC9COCwDNiX9GNDWDAAbIF1pdzHGozspMMY01iiZWScksbtZ0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXCR8EyWaf4mPMw6xowKiM8CRYYgvd4rbl5d2g1guhvmreoTbCRypYsc5ZqOUFW6xeJfsrhvXO53P8eMvAHqUIqb45j-hUDtbaPGwHWk2Y7bcdBwGPfXw2LfIa4A21EaP5xm0X_XI2X42qht0S9sYZjxyB69V5P6xaTWqjK0fYTsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:04 GMT' + 'Fri, 25 Jun 2021 19:33:55 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb69e6cc00', + '8fe8fb0d-d1a1-431d-a7c5-a919c15f6900', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrryxjTUJVo7h7RL9dhnosNBr8R747uEhGsxBWvbV3bwtCu-5-zFNjN3_BxxqxwREOMWJ2tZILMVFqDoChrjRquEsM-A76YEpZtS6Y0p_JL1jMfmLkPbF6DU5bqcdUsNcltWUP9d-PP73Dz_vbdYbOTKkoU58iMLJq5yA2O2rAwKMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrN0XJZb3NMV2JJYWjz19_GMDkV0sjhVO4nPUtiT8VVgDqXmtlLeqSVqojH3HWckP1HpVcxxyljIY4Vzcjhp00eDACPwdd1QczYld6AhilezyOAJG0qATarm5vsmWGV5brD6om2Q32x3vRaSpdihquaGeAKHv2OVpKfYI1PjzQShsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:04 GMT', + 'Fri, 25 Jun 2021 19:33:55 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=a7cd92cb-b0c5-4f2c-8c9c-05618bd256c4&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '992d1a63-daeb-4e71-a072-8897ecaf6100', + '97388d79-6103-488d-a26f-595cd28f7300', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:04 GMT', + 'Fri, 25 Jun 2021 19:33:56 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"The food was unacceptable","language":"en"},{"id":"1","text":"The rooms were beautiful. The AC was good and quiet.","language":"en"},{"id":"2","text":"The breakfast was good, but the toilet was smelly.","language":"en"},{"id":"3","text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","language":"en"},{"id":"4","text":"I had a great unobstructed view of the Microsoft campus.","language":"en"},{"id":"5","text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","language":"en"},{"id":"6","text":"The toilet smelled.","language":"en"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"The food was unacceptable","language":"en"},{"id":"1","text":"The rooms were beautiful. The AC was good and quiet.","language":"en"},{"id":"2","text":"The breakfast was good, but the toilet was smelly.","language":"en"},{"id":"3","text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","language":"en"},{"id":"4","text":"I had a great unobstructed view of the Microsoft campus.","language":"en"},{"id":"5","text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","language":"en"},{"id":"6","text":"The toilet smelled.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":25,"text":"The food was unacceptable","targets":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":13,"length":12,"text":"unacceptable","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":25,"text":"The rooms were beautiful.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":9,"text":"beautiful","isNegated":false}]},{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":26,"length":26,"text":"The AC was good and quiet.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":30,"length":2,"text":"AC","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/0"},{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":37,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":46,"length":5,"text":"quiet","isNegated":false}]}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"offset":0,"length":50,"text":"The breakfast was good, but the toilet was smelly.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":32,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":18,"length":4,"text":"good","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":43,"length":6,"text":"smelly","isNegated":false}]}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":71,"text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":11,"length":5,"text":"hotel","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":24,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":41,"length":15,"text":"shuttle service","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":65,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/3"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":19,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":36,"length":4,"text":"nice","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":5,"text":"loved","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":59,"length":5,"text":"clean","isNegated":false}]}],"warnings":[]},{"id":"4","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":56,"text":"I had a great unobstructed view of the Microsoft campus.","targets":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"negative":0.03},"offset":27,"length":4,"text":"view","relations":[{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":8,"length":5,"text":"great","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":0.93,"negative":0.07},"offset":14,"length":12,"text":"unobstructed","isNegated":false}]}],"warnings":[]},{"id":"5","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":75,"text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/6/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7', 'x-envoy-upstream-service-time', - '2689', + '2580', 'apim-request-id', - '453a2125-ad62-43f5-aa2c-c962baeb5c0e', + '98aa1575-674d-494e-8bf4-be5a095ec396', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:08 GMT' + 'Fri, 25 Jun 2021 19:33:59 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.js index b6ca8e9b1003..2fe6cefc3d44 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e9d770a867bb5c4f84ba9e75ef627a41"; +module.exports.hash = "29742e141f59dfc99d625ed5ffffe81f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'da7ac64e-0451-4c60-97ad-77141f58ba00', + 'eabf8f01-9c62-46fa-a826-727e52233a00', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:08 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:59 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4o4WliHkPe_gFNnfxZhrQ6UFBTxsGR8fnG-oADq7reAFpypseT6Z63jv7STCJp57J7JxhSK3y44hVC0yRpSdknSpH5Jhc6E_AWq8EJ-Oitv2WnhUWUNOv5Cot-8ZUI2IU6TAglWuX9o62gQNrbcPmR45CSKfmsFOAfhqVaDvRFcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXj7F8qBTvVgaznH45tYwjXef1TkfGFeLGP6eB7s98zg9cbCxZ4sIcp1MDgG6W09YKCy69l7vqEVWwbOWO4zhnL1v4Kl-fjLFINA4a6aHA9MaSDvdL3jkyk-JU6x4dW-WDpdcqSWEHjpTE1X4o9Ab54LRhcgF8usO92ZEKGiGPg8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:07 GMT', + 'Fri, 25 Jun 2021 19:33:58 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a52fc5300', + '7f6441d7-2d0f-4f80-bf15-34dc44685600', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:08 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:59 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXK_cABDT3oYk-6-sfwX4LDNfAoVie4RcWD0SvCweR1Jp-yqPm9l_6rduHKBGPhnZtV9YsceBWv5oCoeFnohm2ykRnY2pM27z3T-mEzX_-qYxCX1yN1B5rYYlH404bgblUksjCYOdjJ-pyxv0BXm_PwauZKFtk5VnIzt83uqfBPggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPAf6eWgpV542yRlCK9VmHNDE4-8UJ7UK0ezWnZd8blH89JMoCW0msxqcj50ic3xHo4WcP7B7dIRCr2qjsePHFLgOVRchvWz1PvEXv2FnvyyJuwiUAsbjiRsbSoADwErVhdT9VxUGrEul28y8V0jbfUQk3sgTUQcARs3QQzpIr5YgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:07 GMT', + 'Fri, 25 Jun 2021 19:33:58 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86398,"ext_expires_in":86398,"access_token":"access_token"}, [ + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=b0b9c312-186f-4a9a-836f-947745796cc1&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d91b17e6200', + '8fe8fb0d-d1a1-431d-a7c5-a91980606900', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:59 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:08 GMT' + 'Fri, 25 Jun 2021 19:33:59 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"offset":0,"length":86,"text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":58,"text":"Unfortunately, it rained during my entire trip to Seattle."},{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.7,"negative":0.29},"offset":59,"length":43,"text":"I didn't even get to visit the Space Needle"}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":101,"text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."}],"warnings":[]},{"id":"4","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"offset":0,"length":42,"text":"I didn't like the last book I read at all."}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '146', + '90', 'apim-request-id', - '54ce9d00-7b50-4abe-82fe-23cf73abe31e', + '8e83e9fb-47c5-478c-ae80-d82ecb1d34c0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:09 GMT' + 'Fri, 25 Jun 2021 19:33:59 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.js index 6e775f7a6655..2be4e15b3877 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e4e42be237559ca6d2e2e47bf78f4539"; +module.exports.hash = "8c94fa8da2c7dc61a44b79f6f91a3472"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1840bb55-1134-487a-8aa7-522829b80100', + '5b6eafa9-632b-4453-93f6-648e116baf01', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXOuI8i2rYEkhocDPmZXL94DbPyf5QvIjAul1uzg8QSFl3BxLFVVlL9yTGr6mtwecbbR0YJ6MMoZR2q2gA9ft_27OaTeEyb0XPu_-SRquWJiVdpPIJWRliqFhDo9jdheCrzoaNW1XlxDHkbYILQ_rR-HCi-E-8wnBfotlmFjaquQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQPnjs1W9nTBwpmnhs52F-KoAJ5KYa0mLHsrLo3cG4Vi2m-QTauVwh4nZTTKwEw9B4crJXnfkUWCUgmN6fG6AStni6YiUupfeT7UBtwxYN9Z00pxX5rCW-uXlVXcsO9FQTjcs-15mBcyKbcRXt4T7kpm2Y96sMDaStJGPIsaMolcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:04 GMT' + 'Fri, 25 Jun 2021 19:33:55 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '992d1a63-daeb-4e71-a072-8897c6af6100', + '46746596-f429-4925-82fd-aa79d9e57000', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLaQldqyTaU3KGj8TWQxtr-c_qXANJuvPSIkGS2qgl9mIEXLgw7y9ehzP86X2mu4xu8zHpVLxZVWzaa2gPK0zngdY6EgbONy4570gYlPJuvkiTCMyjTnZCUHrV-p4Q5t-FUYE7oPRcCqtrDnd1qsrDpbjI2h5trqdjdUi-8sHcWggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5SMyA3OTelP6yTFeIlfC-5TEHeLozbvJqNrujkk8kx4mCeXLuK2BRWEe5jVRGcsd5sPrBEAvz0PFibB7wSmduov0D_1aaOICBkGDMj6SlWaNx12hG_jUAMT1bUCpETGDQpdlYYyWypVbzUTdswkzewXwgYkSBfgNCMwHE2xlKIMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:04 GMT' + 'Fri, 25 Jun 2021 19:33:55 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=1973e7f1-3e52-48fe-95a2-cd8ca71071d2&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d91207e6200', + '5d543b59-2435-4161-9c9e-e923635b7100', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1AwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1AwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:33:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:04 GMT' + 'Fri, 25 Jun 2021 19:33:55 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"Hello world!","language":"notalanguage"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"Hello world!","language":"notalanguage"}]}) .query(true) .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: de,en,es,fr,hi,it,ja,ko,nl,no,pt-BR,pt-PT,tr,zh-Hans,zh-Hant. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -122,13 +119,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '12', + '3', 'apim-request-id', - '4c4dc314-d9dc-4c68-8888-04bd98b7cdb3', + '167e9093-6ff8-4c02-a397-cdfa341bf6b2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:05 GMT' + 'Fri, 25 Jun 2021 19:33:56 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.js index bb4e346748c4..37188756633c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "47c0ff5c1db4c4c84ee8bf3b06c0e5c2"; +module.exports.hash = "c05939b25e4a8a5b449063e05b2d2fd7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'bb55b8cf-cf94-4f31-bfcb-cdbbaff77c00', + '321e8ae2-2520-4ddf-bf6a-9894dfdb0300', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:19 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:12 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZ1hiH4qFVz6mUb2iRbFcOqbm5OFka8YMZMZU8xN1PI_8h5R-_TctLmfo5bQDVjZ1xNYvV6X4P9d-76pYi0-DpvzTOnvBmo_9ne_26KA6Id8b_0tz-HVNJzQUQ-R0KGb-4x2rnzAI18MGkw6Ebkk6yqyfE3j9Fumy1PGPSOM47qsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDvNorO632aDJQrMzu5d4qAgjhWl-jBFeSOYzgWNQuNfdANDwqL25x6gJ5guOuyfqtjniJzdvpSDiY5jv6le5FZROA7O-sOve5DDmnLJJ2qyvzvPeME5eZC480SjyYk38B_ymCE0Vd6KLgMO56xdcZRXIlPKKD6npO47APRzFmqMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:19 GMT' + 'Fri, 25 Jun 2021 19:34:11 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4a103786-0d77-407a-b76a-a2894d21d400', + '9d80f76e-26fc-421e-9776-d8e369805b00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:19 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:12 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqOseAShhHaEIoxL34QTQ8hsVOQXYHnHFRTEHL0o9DhGPijaS9qcxQM-4mBvSHliMh4Yq3PuH1sIjd80qhyN5EOgW44PuWJ4Uc-EQavYDzkEVYqEURdK9scPpo-Wzjyad7wB5JqhJxUIgDzu4XwwAwc1vCSo_pp5ld-_6_PHPfnUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrdQe1IHB7xYDTGwlTLhcaKbFniXaGevAWpWNGwdIKzF47o2QqXRsdf-vbzBL_l2mEhBfTdoHhIIVxakX1fmdPOTaJQ7XVmZTR3FYsAtX74CTsbJAC1g2eY7MYq_sOigqsxA8kK3LF2TAImfPYz2Z3ZqxaIwROoe5PkYeEtTQN8TEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:19 GMT' + 'Fri, 25 Jun 2021 19:34:11 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=ee6c8fcc-9241-4eb0-99cc-b1ac109deb7c&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb1ae9cc00', + 'c19e3cf4-d853-423c-83e5-5de30c5d6200', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:20 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:12 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:20 GMT', + 'Fri, 25 Jun 2021 19:34:11 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/languages', {"documents":[{"id":"0","text":"impossible","countryHint":"fr"}]}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"0","text":"impossible","countryHint":"fr"}]}) .reply(200, {"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.58},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ 'Transfer-Encoding', 'chunked', @@ -123,13 +120,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '18', + '6', 'apim-request-id', - '1f5c48e2-a5cd-4e70-9434-75d87a0ffc79', + 'd695009a-3bd4-44ac-baa5-f8735de1bcc0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:19 GMT' + 'Fri, 25 Jun 2021 19:34:11 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.js index ff4f6358f782..9be9060e0b25 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ebdefb9f34620501c03f0b8e8952114c"; +module.exports.hash = "9ec7001ef3eb203b0937c0c2e70a4012"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'be44e512-5ba3-4925-8bb2-b22ed5306900', + 'e3b095f9-bd7a-4b27-93c1-5d0d3ae13e00', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevraLVfZ5HsYahe7j4EUOMS_5g_XwKxOlJ4nfr86EA6ywYzC2utBe2hEJcyNK7TZ_opmWsHIfa3MYZczdV_phMlZLTNpUVIKUrk2ouYCnLp9aHRa4pmxQZcBzHPWNcCwmlkDqIUWmRbiSDaNH2ZEylOIQ2FEJh7kqcIxhaq8BsfT-cgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxiyFZxeCiePMjca6sow-_C1AgYrF38voM8luLJ6KoioN5kiJceon_lul0QWXA8gtkbDhx15r8tWcXjt3WYErQ0ODBrfxAX8Pz4YGcMyCG4VhHMkWaKUh_kTALy3esbyobC2WdjPNRGfA1Xt8jsP3bDd_i1dx_ghd7Igj5TcC_zIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:29 GMT', + 'Fri, 25 Jun 2021 19:34:13 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a55ff5300', + '493aab2b-fb42-40cd-a2d0-93f54a6e5a00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrswtCovPQr-zrTWF-0SmoVX539ybg2CHVeqRy5BvGgixF2OXNhPOMxFOo8dZ6L6PI-8ZSaYm7XZOWFYC9LmapS_udL8T7fmOUfqfSQCy5ySf_c3paXCUsC4lGd4_CkpNeuu-v2GRksbhEl5zJsHV_vMIbhg_A_tNudN6uITcc080gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvfI16-98vFTsn9jutD0RiizjDciCrp8j0YOEMm_xb0hmiHiOYqg-HyucpO-OEe8KHWPUubHlfmROsS2GI1d5M493hzUn3pw5rh0Q3VHhS9pnGVFlrAVHMNvTu5MQTuxNpzqU_B-HnS8Ih0C2pdqaV6pU-E7a95erzAmdGBmhA-EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:29 GMT' + 'Fri, 25 Jun 2021 19:34:13 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=4f0414e2-c611-4505-bd4c-4e6ca5a3db50&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4a103786-0d77-407a-b76a-a2896622d400', + 'c19e3cf4-d853-423c-83e5-5de3565d6200', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:14 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:29 GMT', + 'Fri, 25 Jun 2021 19:34:13 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/languages', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."},{"id":"4","text":"I didn't like the last book I read at all."},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","countryHint":"mx"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","countryHint":"mx"}]}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."},{"id":"4","text":"I didn't like the last book I read at all."},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","countryHint":"mx"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","countryHint":"mx"}]}) .reply(200, {"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"5","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.99},"warnings":[]},{"id":"6","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ 'Transfer-Encoding', 'chunked', @@ -123,13 +120,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6', 'x-envoy-upstream-service-time', - '26', + '8', 'apim-request-id', - '759ab715-57ac-4449-ae72-86385ee2c863', + '192a0c66-8af4-47e8-97e7-740f10c665af', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:28 GMT' + 'Fri, 25 Jun 2021 19:34:14 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.js index e9acb51a7bcf..28f318c94132 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "6e617b7ade9d4b8747f2f5cecb45d415"; +module.exports.hash = "89cc2d404cb94fe1fea0b7034c65a3d5"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '80d8cb26-2d43-48e6-9072-469c3d623700', + 'c6bf3ebb-f17c-4b1e-8b64-bf40bbb74903', 'x-ms-ests-server', - '2.1.11774.11 - NCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AgLl5mOR37hHt2qBo8wndaY; expires=Thu, 24-Jun-2021 18:08:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrur1S5024wIbSqxoLJ-UuK8StAJKzusIfuLIa0vWZx_4UCJ-JX7efD5IGxO_h5x7I0TEeDutuL4nj1AEvy2eEpJxBhuwPZp0UuzSRiTz-xEhXe6uJR0Y6OzUjmqGuzmFQEA4pwhhb7xYol1aEo744giXylfBkDtQfull10YoqNKkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrKIFvcmsbrEaoAqLx3QGbJEgVoV2ZS_NvV46o1Qc4tf-zIIpBi7RXQN4IjfgnkI_YbPQWOWammTgJ9LMLQiR7jttDvIimKAE2pztR19yz8BpVEbfnvhbiOlkWKbgtQF9-GNC1CSm0S8fE1w0Y3-wFIZEHxpIouwFG-C8N0taedRMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 25 May 2021 18:08:08 GMT', + 'Fri, 25 Jun 2021 19:34:11 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,26 +58,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'fd92d85a-5382-4c9d-ae43-b448c6b21800', + '9ceda81a-917e-4982-bafb-50a78eac5c00', 'x-ms-ests-server', - '2.1.11774.11 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AgLl5mOR37hHt2qBo8wndaY; expires=Thu, 24-Jun-2021 18:08:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5EkWISFjiyFwVts-cV4Ikf1_T7991qTuB-TcctiN3tT5tS6yOezPQj73L20r0Pqf5BXQOQVvor4WdjITPLpid_7eQi1YkcXJPuWL-j3uI8Pa-Xn4LTunG_it4Fjt5LrbG5WXQ4ARcgyMOe0MpDNn3pz-TZ3PZ6b0qqCHpqIkp2QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrM6OOVMTwdGGV9iNqpgDaEH5-VH3QpGIJgPsd3JZ4cuYI8z662cf1rNdw7pQA2WoV90D-T6Yz0RO6Wm7CuAixmD1kULAdOfQdOCxXK42KCdhH4mwfH9ZVTCcTBU7lw-Ev9g-0LNFtZ2yE6g6CVqO9Jaal_ki3airUsx2DvawPS98gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 25 May 2021 18:08:08 GMT', + 'Fri, 25 Jun 2021 19:34:11 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=2ed3e40f-c664-41ed-bd59-f570cdf4245b&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=bba23bce-f357-4f18-ad5c-51cbe296e00a&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86398,"ext_expires_in":86398,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -93,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'bf6c6319-726d-4c2f-897c-ad88c29d1c00', + 'f75e896d-b4c4-4e8a-8d17-6ea660865900', 'x-ms-ests-server', - '2.1.11774.11 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AgLl5mOR37hHt2qBo8wndaZz_bg1AQAAAAk0P9gOAAAA; expires=Thu, 24-Jun-2021 18:08:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1BwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:12 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 25 May 2021 18:08:09 GMT', + 'Fri, 25 Jun 2021 19:34:11 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/languages', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","countryHint":"us"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","countryHint":"us"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","countryHint":"us"},{"id":"3","text":"I didn't like the last book I read at all.","countryHint":"us"}]}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","countryHint":"us"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","countryHint":"us"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","countryHint":"us"},{"id":"3","text":"I didn't like the last book I read at all.","countryHint":"us"}]}) .reply(200, {"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ 'Transfer-Encoding', 'chunked', @@ -120,13 +120,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '16', + '8', 'apim-request-id', - 'db41d0ba-2607-45e0-a92a-b7b2d2ab292a', + 'c5f149cf-529e-4933-bf1e-3d59325a95f9', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 25 May 2021 18:08:09 GMT' + 'Fri, 25 Jun 2021 19:34:11 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.js index 4e45a0bdbc1c..74f26fc8f65c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "16263dc922adb8d63d54605e66f0f667"; +module.exports.hash = "34a686d31604ca12247f82344cf7f08a"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '533ba965-494f-4dfa-90e9-da3d44388000', + 'cd5a626e-d001-49f8-93a0-6ada3c7ecc00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.8 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-vdMwMGlsrHQxQWCzBivmP9ovUO9NHjgCdidRhDC2jvONhHSM2LpgdTQNn_OxkyPGrI63bCY7f5_GOfunX6wtjNvmKPuTdaNYPIsIW4AI42L8HQ3h5WoTo_MT48ylLXxsM5VKl_dUKdIHhPd2puREX8M0PNsZF1eT3aAgap9wCggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrwbCpTQymeTt0nPBEY-iefB1ilYrUy_6hVjc4-dHkXgmWhilbrHTmWBHnKjypMS9mDrnHou_F27Poqox9jbLkZ3-HW4neXX8PFAtc1Sxk78RNvcqMnzmZZaP7sfnwyhI6oZ21kgkrtxedVluNIwa-0iLM9_WCqxx2Dxxt1vb9oeYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:28 GMT' + 'Fri, 25 Jun 2021 19:34:12 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4371e5a00', + '97388d79-6103-488d-a26f-595cb0937300', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrnS05TsyumMjsevK77Nxy79DL9ecesMoiyzRLHyYFdLKIGAELJMV0l9dA4y0vjuityn55aq6WlJyUXFJYx5z9R_zcXW2eYMQgQo4OuNwepuEMm4SzFvGqn8eK2DFlHQMhj8Tf3l4V9GiymPp6yawGpIUNs6vQJj1Fc6nmqecEOwQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUmlZ5Wkb44om4vfaZXBBhSduaSJe6o5sQt15Y_OsCZ548qdbS3z3qjp1Y2FR_wKw-0mDppltHYcVVvYDNGWjzo6_KJ0fRVUgVIXinODOEATngnvrPuN0PBcAPPDO2g0cr6_oDSgV3HkLDZN_EXVLpeCsFslZfRmCfiVFz5p_1aogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:28 GMT', + 'Fri, 25 Jun 2021 19:34:12 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=bec7b040-1f27-492b-ae78-a6d70bb0bfa5&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a46ff5300', + 'a9a1e068-3c7e-4040-b4a3-69525da66e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:28 GMT' + 'Fri, 25 Jun 2021 19:34:12 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/languages', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","countryHint":""},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","countryHint":""},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","countryHint":""},{"id":"4","text":"I didn't like the last book I read at all.","countryHint":""},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","countryHint":""},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","countryHint":""}]}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","countryHint":""},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","countryHint":""},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","countryHint":""},{"id":"4","text":"I didn't like the last book I read at all.","countryHint":""},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","countryHint":""},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","countryHint":""}]}) .reply(200, {"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"5","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.99},"warnings":[]},{"id":"6","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ 'Transfer-Encoding', 'chunked', @@ -125,11 +122,11 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '15', 'apim-request-id', - '62620517-3737-457f-992b-626cb8f81f52', + '9df324a2-2bd6-4621-9af3-ec0a2c8b723b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:27 GMT' + 'Fri, 25 Jun 2021 19:34:13 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.js index 5fbb82ed8c04..cd1c231a37c3 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "27c876f96d5d42dba122be735631d519"; +module.exports.hash = "ef69fca0065615995d37fba2821ced2e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '0bea503c-550f-468e-a281-76119ea08100', + '2c5b06ff-7fc4-4517-a111-cb912c0d0500', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:20 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:12 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRAV7RxkTySCN8HRE528yfDxbcK_4h_Q1Lui_3ZCwmwCyv_nMXR-7qxnUHAygkUZfI7xKTNpC81a45Gebl5q9wFKPFdacEDUEns6X9i656YvFUHlR6upCOKUyObULD0MJjJzGCBGTrkpssJ-DSyuxn-JaZuCWyGp4W3Lh4UP8ImsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLNLYWmArPqHDuB5OLw9tFGMBndLGmDEGqCi-We7p_VB98BR8WbbCyB04-VK6ZWPx4f85O64mB-zXNppwreYLkUMfkDZZSyuxvLDxtxgX1-AHE-llfSnr-OqIH1C-NpZ4Kyw7q772YehxAA-DEX2HxhAwfHe1Tx4VKNQ3nB5oVsEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:20 GMT', + 'Fri, 25 Jun 2021 19:34:12 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb2de9cc00', + 'b7dd8c02-11f5-499e-bdfc-a9fd2ad07400', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:20 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:12 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr38u4tgBWzFGuALQU1IyCddGvgOjJy2yfaxVTcIuK8oghtfm6WOUKeDJpb6Ai57JecGbZIyXj0z4E14pGZ0IrZjLJrWoaOZbGgudXYl--871LWgz3JPDaDh7WNjVrwORxMKjI0tTwneNlM07Nfeq5CIAo0MKuSgmIOV62qVFx2OIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLKBCX4-5V2QP9nMPf0pgLnPGnb6V3rQ1Ga0F1OqlDriOx_ds6aALi76MVdXWTxJFlzxqFHJQi_fuBKHE3uTmBj3QAIjtucltEaKyHziNlEzjQ-TisJ_eXrmMZYnaDLyQUe5dE-Pv37f9bljmHJ_-VEmqxM4Z_Ay_Jzm0IQOq8rQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:20 GMT', + 'Fri, 25 Jun 2021 19:34:12 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=5421753e-a4d7-4496-86a0-005a2ab97206&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a29fe5300', + '1e233fee-f232-4e03-820f-8a8c4c996e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:20 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:20 GMT', + 'Fri, 25 Jun 2021 19:34:12 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/languages', {"documents":[{"id":"0","text":"I use Azure Functions to develop my service.","countryHint":""}]}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"0","text":"I use Azure Functions to develop my service.","countryHint":""}]}) .reply(200, {"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.95},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ 'Transfer-Encoding', 'chunked', @@ -123,13 +120,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '7527', + '7', 'apim-request-id', - '84b237f0-92ef-41d5-a1e5-e879794aed23', + '5a1cbb61-d71c-4e73-9879-8cfdf5c59dc3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:27 GMT' + 'Fri, 25 Jun 2021 19:34:13 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.js index 5a83b0549700..ce14b08bdfab 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.js @@ -1,5 +1,5 @@ let nock = require('nock'); -module.exports.hash = "c5bad94a95a602fedec2a75f527ce06b"; +module.exports.hash = "0f2053daa7f89a4ab190012374379df9"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.js index e5b1a1f13659..b1813f66327c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "9f0b8fbcb12634c8a28db7dd2756a690"; +module.exports.hash = "b5935ccd1f790970d86fe93b4a0414a9"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,26 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'fd199a35-9252-4f26-8fbf-8a878ae32d00', + '1a9341fe-d51a-43f2-bedc-f5b295e1cd02', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9bYPH0Q-SUUJEdyRyyncwgd1alGk97gTsdE_QVLKO87R-k5AjrSEANma9Fqun2e_Dz2MIvCoge2-4uq0fZw7l-Ky9AQOoddq2ugIOZN8-oguUY_CKCHINnEYHQhBrxZh0ffiiAtiUMdfzOxopbFLNWKnySxP0QWLkyLx5Mw3HqMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXrtdck7U5MkgNU_CAMzpKQ5kkVj7nzlTYgBbuS-tCJgVBK7ZfX5ko6arZSg6S2s3-GKnSAWYPnMRfE2eGMYKGLw1GxbTulGiEb7EweE_aorx6nCsh6lnFVzeBG9SuevBPcCo8uYHkUWTbKx2lILzTmpugPYiYxiu2jAWV9GmT9sgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:28 GMT' + 'Fri, 25 Jun 2021 19:34:12 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -58,28 +60,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-3212ca9a5200', + '1e233fee-f232-4e03-820f-8a8c71996e00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbmA64xG2HEhrxZCEoMzkK9GKnFfWTe0lj_L8HC7RfwMEI2bFVDwqoct90yh4S4nGFpnVv36Y1c-zvcrk7fGf7X-T98c0y2LW_2IrZ3A0vl87mVc8yynnoZAJbujYuEdUG0mr88K_rNgyWIXN55bwqfKw_EpmUFmZBIi8ixtN61sgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDtQZ6PU3VROOlqS_aHSUVYICJUoiMUfBnY8Xso76OGJG9y29KrIFl0KvKHZZ_ghpnjYiusn8rRSeTiOMYtHDX3RvVBSmNBYRI0znJbrOltLdxSk1eOB9NI9Y1jUo--x9fWABTwMErX_SmdjwcGkborAy3p_ITHlrmypA5_iTtfwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:28 GMT', - 'Content-Length', - '1651' + 'Fri, 25 Jun 2021 19:34:12 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=3a6041c7-dc76-4e3a-96d4-6382c74d1e2b&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -98,23 +95,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90ab95cac800', + '9ceda81a-917e-4982-bafb-50a7deac5c00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1BwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:13 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:28 GMT' + 'Fri, 25 Jun 2021 19:34:13 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/languages', {"documents":[{"id":"0","text":"hello","countryHint":"invalidcountry"}]}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"0","text":"hello","countryHint":"invalidcountry"}]}) .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Country Hint.","innererror":{"code":"InvalidCountryHint","message":"Country hint is not valid. Please specify an ISO 3166-1 alpha-2 two letter country code."}}}],"modelVersion":"2021-01-05"}, [ 'Transfer-Encoding', 'chunked', @@ -123,11 +120,11 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - 'd57507a9-d99c-4aa2-b393-5b3e5282df9e', + '81605791-f7b5-4375-b263-af533a270197', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:28 GMT' + 'Fri, 25 Jun 2021 19:34:13 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.js index 5e3edc0549a5..2963fe795f0f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "27ed5157c6090c01e0f5c97db9f0a3ab"; +module.exports.hash = "ff532ec002c3a730a118f602c709956e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1f3fe492-bf63-499c-8cc9-b5f7f08e9a00', + '9ffcadce-d8ed-42b9-9389-fb61fdab0200', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrac4qYNmwHjhgjSYB7Hgnjfe8oFiQm1kQVEAVPb2PIXRiOa-OGLCcVzviEAcH1ulYmnzaA3C6niem0AUMxSuQCsjBU1zu88ixhQeyf64NbgSi_S_IMvWlXLZgMtGo2j4ISVlGVMuCPUQg3Inqtbf24ykUT7wzY8Ra_TzE0i-YX-8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrY_a1mjEtizQ8TDzW-_5YCwalh37ZDp_hfcLMlmKdr6m9hutgGRwxRIQhMS21T5uhqCYNtNoPbXvO0o5jiKlm0azqCprKZUV1JzeiN7CCkyXLYp6pEiQu8s_9C0qN5hoZcuHGaUx_F9TJC6c5JSA_i1WKV53BZ19C64s5a9XTGrcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT', + 'Fri, 25 Jun 2021 19:34:27 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d3209a6000', + '9d80f76e-26fc-421e-9776-d8e3f1825b00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQjfexe5A2hvN5k7DyQFezTwsMW_w8u6rINl5Fi36cFJYTFQ1RUvddHK4-tm2pLhH7a9Vcm_WIr_PbfFJkK1Y7d_GGM3oXsY-ZVIz-B6m58FvrXT2Kx2nnlrHC828DIsLxlQEgQ_f71HSC1nGG-8Pn3qZIYMvRZWadHZ5-ep0riogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxmurKBdrMPmhlmuFRhcVrA2jF_AqsIAfWhLn8YKJTHozeTy8sSkRyClAuGWTESLJqKwUrla3waO0OzI5QUOF0mi3HHNzMklhSw3uTxdXjhvpTCGK81Y4V2LCVWYhql6jMBr42XwiNFHrrT5hKY9A3MFPuyYPQcCRWnqZpmL2ckUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT' + 'Fri, 25 Jun 2021 19:34:27 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=d3be93db-e534-48cf-9247-4dc12b8bed73&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,24 +93,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81ac5015400', + 'c2c46a2d-caf1-495a-b60f-6d20376e7100', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT' + 'Fri, 25 Jun 2021 19:34:27 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/keyPhrases', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) - .reply(200, {"documents":[{"id":"1","keyPhrases":["week","Space Needle","wonderful trip","Seattle","times"],"warnings":[]},{"id":"2","keyPhrases":["entire trip","Seattle","Space Needle"],"warnings":[]},{"id":"3","keyPhrases":["movie"],"warnings":[]},{"id":"4","keyPhrases":["book"],"warnings":[]},{"id":"5","keyPhrases":["Monte Rainier","caminos"],"warnings":[]},{"id":"6","keyPhrases":["carretera","tráfico","día"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}, [ + .post('//text/analytics/v3.1/keyPhrases', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .reply(200, {"documents":[{"id":"1","keyPhrases":["wonderful trip","Space Needle","Seattle"],"warnings":[]},{"id":"2","keyPhrases":["entire trip","Seattle","Space","Needle"],"warnings":[]},{"id":"3","keyPhrases":["movie","Saturday"],"warnings":[]},{"id":"4","keyPhrases":["last book"],"warnings":[]},{"id":"5","keyPhrases":["Los","caminos","Monte","Rainier"],"warnings":[]},{"id":"6","keyPhrases":["mucho tráfico","carretera","ayer"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -123,13 +120,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6', 'x-envoy-upstream-service-time', - '20', + '54', 'apim-request-id', - 'fe8f4d48-2fc9-48f5-bba4-3897d2563a8d', + '6ac2c67c-438e-4b32-932a-6913fa8c626b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT' + 'Fri, 25 Jun 2021 19:34:27 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.js index 804d2a463aaa..33deb5d2e6f6 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "5ac1175b640ac7edc02566360c0d7edd"; +module.exports.hash = "ad87a0e6d3e4602e10fad4d7f20878a3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '185baee8-f0f9-4159-8ab9-da55de307200', + '35870af7-0be5-4723-a569-ef3e16380100', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:27 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrmD8Q51hckpS_amNkKe8mXMDZISU4Mj3B522RksaYYfNa3lLLHM4YffF0heuFcHb6jlfE8yrKBII1XHlv7fyDQPOTGVrwGIYMP8KhcoZtNX0mkoQL7jwDbZIFCDFOvggFQvCd1q4SCuK0lYxh1tJooMw_F5tlnICDz8pr5OguUqsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2VCl0EGbc5DYGS6D-q1rMtWu1tFdjtHE2yoZ6qRA_oLZQLWsX0j9_asUY1bQJxJNBZI99TihmuLcACh9VSsA0sOyuQKx-dVIHRB2Kl5Vwr2IcQU65SKPDm9xAsCERz4Uyb0lyQaGJahLS3c4wv3q1TcT0O_0WgmchZH7scTKSYAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT', + 'Fri, 25 Jun 2021 19:34:26 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,31 +58,32 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-3212629d5200', + 'f75e896d-b4c4-4e8a-8d17-6ea6ca885900', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:27 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXrL4nfBWhg2yjEiMT73zM2x8RG5FX7PEmihuAAUZKYprHgn6NZ-t34HZFZ4PA74TAWreHyxWrpnYZ6Jwk6F2MeiARR0UVPMsup9gXwsjJMwCSRwreB68DBiWW8V8RjzxlUIlUA3ib1O6VivvEq3KLtuh-EFPR50DXhpM6h9HgEwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrAtifGdmRz__pOrFEnRkhtWaGFE4kfILfN17PsLhQzRjMyLImRK9gj3zfXoK4QrYnbCD6zzitfqG0MvQuWnKPDPmyQGzlI-FPO48atnJdEPLFpW9bfX0FQMcKqJBKEmuK8_bvdaPBDaqrXn0ZvzirChMq2uyNQUjmnaMh_GyqjscgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT' + 'Fri, 25 Jun 2021 19:34:26 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=8d082774-9836-4094-8873-6eeac47f476d&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', + 'Content-Length', + '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -96,26 +95,24 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d91d2846200', + '493aab2b-fb42-40cd-a2d0-93f564705a00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:27 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:45 GMT', - 'Content-Length', - '1331' + 'Fri, 25 Jun 2021 19:34:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/keyPhrases', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) - .reply(200, {"documents":[{"id":"0","keyPhrases":["week","Space Needle","wonderful trip","Seattle","times"],"warnings":[]},{"id":"1","keyPhrases":["entire trip","Seattle","Space Needle"],"warnings":[]},{"id":"2","keyPhrases":["movie"],"warnings":[]},{"id":"3","keyPhrases":["book"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}, [ + .post('//text/analytics/v3.1/keyPhrases', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .reply(200, {"documents":[{"id":"0","keyPhrases":["wonderful trip","Space Needle","Seattle"],"warnings":[]},{"id":"1","keyPhrases":["entire trip","Seattle","Space","Needle"],"warnings":[]},{"id":"2","keyPhrases":["movie","Saturday"],"warnings":[]},{"id":"3","keyPhrases":["last book"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -123,13 +120,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '19', + '23', 'apim-request-id', - '2c0ca4c2-0677-4b49-9ce7-0fd541a5f344', + 'bfd2de31-b6bd-42b1-9b37-8c81bd5a07c3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:45 GMT' + 'Fri, 25 Jun 2021 19:34:26 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.js index 11750d6d61ff..ad790153550c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "389eb7bacd0c1c7db09fec04718f986f"; +module.exports.hash = "c75abe4f2185017d992d99f9801ed2b0"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'ea2e4a6f-387a-45fb-b791-a97d7b31a000', + 'f6aee343-698d-46aa-a583-7b1b184c0600', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLTieJPaO6BMDg06AoyrBgzovRBZhwbiD7HqNMEno7RbyoHLxk_ExH1HtnSkaneblTevzNvF0VXXN8l89XkSLD78jul22uJxgn_fV_zOCSQwom9zK41JDKeN8apl9Xao4BwzhwnPBeRTB1tEJnQdAvaGtaP12hxRB1GC0wSc6MR8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQpHPLt-umy_B3PGA8aWFlErs_-Va6ObICfFd0lF7UIBc2Lx0BIc1bGlf8k95IiZsZoX9kpix-eY-dRAh8B7MctGhSiTa-lSuZu3JqTJX_gunAGL2GSXcfzn8Cut7JfO2I0C3UTNDQJGAjFgMYXjzcsptxAORq4umZz7XwTCfkisgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT', + 'Fri, 25 Jun 2021 19:34:25 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-32124a9d5200', + '9d80f76e-26fc-421e-9776-d8e3b7825b00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHUSwuG6pPZPrnE38j3uKxhzlTTemd9ot5D9nPAzMtrhkfBie5rGY-mPHEdNYN-fkUn9NJDPBl5cu6coQ-8qxhcIXw2pimXhjI3KdX_Batp0Xf49rveNG6Mo5kyZPaBibZN7Yg540KaSoYXVn9-KyBcUG8QyAtjlJMmL9RWQ5Ch8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPdn9YwiDg0a8HL6ipi01nnkhUXXKfzlx45N9WAPBUqq3DcSS79aHoMa0YNcqyPEhk_zbfNX0we61zD0ARRXawXt-INeinU23jRvhseAUWFo9jmMMM2R0Y0okweSlYVGtW15oaZElXJexfx6s-pJEdxVhWr6CBf8O8KPQjwqrKcogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT' + 'Fri, 25 Jun 2021 19:34:26 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=6953effd-fef7-48c9-94b1-3d6c834b93cd&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,24 +93,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc9ea9e5a00', + 'b7dd8c02-11f5-499e-bdfc-a9fd6fd27400', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT' + 'Fri, 25 Jun 2021 19:34:26 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/keyPhrases', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) - .reply(200, {"documents":[{"id":"0","keyPhrases":["week","Space Needle","wonderful trip","Seattle","times"],"warnings":[]},{"id":"1","keyPhrases":["entire trip","Seattle","Space Needle"],"warnings":[]},{"id":"2","keyPhrases":["movie"],"warnings":[]},{"id":"3","keyPhrases":["book"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}, [ + .post('//text/analytics/v3.1/keyPhrases', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .reply(200, {"documents":[{"id":"0","keyPhrases":["wonderful trip","Space Needle","Seattle"],"warnings":[]},{"id":"1","keyPhrases":["entire trip","Seattle","Space","Needle"],"warnings":[]},{"id":"2","keyPhrases":["movie","Saturday"],"warnings":[]},{"id":"3","keyPhrases":["last book"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -123,13 +120,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '23', + '22', 'apim-request-id', - '6a2ab49b-44c3-4bb9-aca8-fe66066c9740', + 'a01b6eef-174d-4cf8-a91d-f82bc2e85e14', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT' + 'Fri, 25 Jun 2021 19:34:26 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.js index 8d211ebf68e3..5ca4232a9555 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.js @@ -1,5 +1,5 @@ let nock = require('nock'); -module.exports.hash = "491bb7c809dfa728e7e2947cbe0f7643"; +module.exports.hash = "1da9dde1005954f5437f8bb9acccb669"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.js index 8c849ee1bb1e..85a3731e7f5d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "59ee5a608efaa642bf83c6e654966f55"; +module.exports.hash = "07ba90642ab2e400b301dc4c52ba2470"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c605f7e6-8635-47f9-a396-bd8053a48c00', + 'bfd74a97-a739-43cc-8ac4-27a4ec210400', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:27 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrT-u7doRHtcm-zFJojWcEsD6Ta155D_unWgcy3r5-ESkc4olHYGBlOvIdKIdz7HX0KEXlnO6M-Hf_Evuqbj39Vqnmvr_4E_LUAcX_JPZO0s846cUwu_NlUyaJt9NOQ3jbDPChNFnuvFqXkNOOrAysv_xHGqQlhPrsQmOboSZ1hWEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrN6Mho5Il370YvewXjNnv7AJK2ejF5ACxkylLZBpo7SoRKBSOYPsR2XgtIHeSNpbrlmqNC1DmgAFyJCPimo7zHJS_rKcE6kkR-VqRcepum_XNAOkzYcq5rrQp0vk3Tb9v7QQha6GZxqSnXFTs3hfcW1bRoAKdMgz1KwDd1wB1kHcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:45 GMT', + 'Fri, 25 Jun 2021 19:34:27 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90abb4cdc800', + '493aab2b-fb42-40cd-a2d0-93f57f705a00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:27 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrX_Q_kTIcxpPZLaMutFLAqLLcr0Up0mlxYthFhx97uabEnfAfTCWm0h-QeVO2ZW-KJ_v9gwjZr4lqn0yDOoIeg9wfuQfV5I6TKvnPNCldajK39oEbc9vBvSC9aee05b6JplDoyrh_EHQitExNJTpBMWcUNssvhcAbGip8lqCAyfYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevretfKdNKxXc-Ni9Q97z8bdwI0gHELs_1DdTcwBHbCM0OEEU2fitXU0fmuUlsrmgSm9TT0rRoNac-hvH8AVnu2xdQdlmHrYPO4UCLwiQcbLPfBiWdNkoBKbS-F_SZSnYC8JaqF8g2Rb9tB0oTFIvk1Of_RvgiGDik9Gu9yXjTOGVsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:45 GMT', + 'Fri, 25 Jun 2021 19:34:27 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=1de5f2da-1124-4c0f-afb3-4a5d2c89a9e3&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,36 +93,38 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd82d17c5e00', + '9d80f76e-26fc-421e-9776-d8e3e4825b00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DAAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:45 GMT' + 'Fri, 25 Jun 2021 19:34:27 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/keyPhrases', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) - .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}, [ + .post('//text/analytics/v3.1/keyPhrases', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '10', 'apim-request-id', - '9d7be82c-67e1-4fe7-b730-07c35abe4368', + '1601639f-cc9c-4c34-ba8c-47ea6b4a5c74', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:45 GMT' + 'Fri, 25 Jun 2021 19:34:27 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_reports_warning_for_long_words.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_reports_warning_for_long_words.js deleted file mode 100644 index c2c787e3536a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_reports_warning_for_long_words.js +++ /dev/null @@ -1,135 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "783964c4be736d8ac5a56d1736651183"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '980', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '2def30e9-6555-4d7b-ad79-8f15fb8c5200', - 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:45 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHIFfFhAPp1ulRAXFRi-_NKM2-oX1AhXJ-37J0VnZRwEMBDevYSqSbeZRt6kRI2D3k5-DPnnI_esQK7Srxln5pxG_T6FXhlo7y-NBHlRTo5azPNrEWqrSeafVYn5YSqjG11NUpe38WSpjWzTCiw5Pm--yqPXEJJtznP8guoYmTFcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:06:45 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '1651', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc91b9f5a00', - 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:45 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8p4UaT5Dnvgw3jBRPoQedpjzwlg0wvvTajo-C_30gfWv1QmePiMDssdVEMUjrGy4iAr8AYRlkxm7sOG8rvfzkxGqjwu6xJoyt-Kzd_ty-6cxxYkogcqHDt1pzbmkvkAVkvq5Uz9TKLsboHfND4luLdJfyQ3XjkDO9PrvncOvu9cgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:06:45 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Length', - '1331', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90abd1cdc800', - 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:46 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:06:45 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/keyPhrases', {"documents":[{"id":"0","text":"Hello world, thisisanextremelymassivesequenceoflettersthatislongerthansixtyfourcharacters.","language":"en"}]}) - .reply(200, {"documents":[{"id":"0","keyPhrases":["world","thisisanextremelymassivesequenceoflettersthatislongerthansixtyfo"],"warnings":[{"code":"LongWordsInDocument","message":"The document contains very long words (longer than 64 characters). These words will be truncated and may result in unreliable model predictions."}]}],"errors":[],"modelVersion":"2020-07-01"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', - 'x-envoy-upstream-service-time', - '19', - 'apim-request-id', - 'ae4a6d3f-60a3-498b-a9ce-74b8f18ef0fd', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:06:45 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.js index 5ad50dcc79f0..8eb93436c823 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ae4b5eb565929dbf9fccab5f03b339d9"; +module.exports.hash = "23549fef03bb60ac4471d7a0e28e0946"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'e1823a5b-c143-4603-862a-4108c2608600', + '493aab2b-fb42-40cd-a2d0-93f5b36f5a00', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRv9VpD33PpY67iLPasuIrUOF6iU7HcEROWZWEGg9zSokkmrXLuSb4R_2ZoEUqrl9Jt38VEULOCmauOrv_8FSp1GmsSyEawgH2O9t71JlMwsTb_BWnJACIVZfjLwKKmC3NjQuyybAm_M1VMoqxJelnGHu68vf0xt7XTvY8B2_icYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRutKxLNRcCwPEDzQiQkYerrvXBTMo2yv3CuPqqzSwlhwxTirnB4xM5f3xmfkfwoujqTr_1S9fMLu42QPOoT5eZOCJ5eSD5PO3SLDWciijI3oFHXpmAzOQiNqHcupR8Zj426KXdra3qLP7sSTw3dEqm216NfoV8R9hwzf-93jiPsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:38 GMT', + 'Fri, 25 Jun 2021 19:34:22 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '53fd7af7-fe14-4c5c-908f-d54fca025600', + '9d80f76e-26fc-421e-9776-d8e324825b00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTE8TP6WdXET3QrFP9PaJIRHNMLyUxKqfDbStA5YLS1WqIFYoIbKL1Aqpc3PnxUQrTNHklVwNmo-DYPK3PSW_LgqMc0m7OBQlVqvs6PaxpTO9oUJj9s9--uPcl8-ZarzqozF5QcwF6MJ_4nf4JlDflJSoO8LwNUIa0tf8dPxGCXMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSpACu45ulrsfdBEOg9bCkwtYoyHRq145re_zY22lgJ93GSu0ESqfsZZ_L-znktgzFJhCupVtvhr0w0qtC1KsUqV_eLUblGarsKyBzyimOfEhm2PMjCdQdgjzF5NUoZcp1P7DEscOTA6HhTCcWser7UHHVC_9EIpFrFBXUo5HgmwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:38 GMT', + 'Fri, 25 Jun 2021 19:34:22 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=c56be497-b8e7-4f6c-bc85-bed67737746d&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,25 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'effc2a94-f558-4e23-9dd5-8d2bbbee6000', + '97388d79-6103-488d-a26f-595cd2957300', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:38 GMT' + 'Fri, 25 Jun 2021 19:34:22 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) .query(true) - .reply(200, {"documents":[{"id":"1","entities":[{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":0.98},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.73},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"Monte Rainier","category":"Location","offset":29,"length":13,"confidenceScore":0.92}],"warnings":[]},{"id":"5","entities":[{"text":"carretera","category":"Location","offset":3,"length":9,"confidenceScore":0.68},{"text":"ayer","category":"DateTime","subcategory":"Date","offset":60,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(200, {"documents":[{"id":"1","entities":[{"text":"trip","category":"Event","offset":18,"length":4,"confidenceScore":0.65},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":1},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.95},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"trip","category":"Event","offset":42,"length":4,"confidenceScore":0.79},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":1},{"text":"Space Needle","category":"Location","offset":90,"length":12,"confidenceScore":0.94}],"warnings":[]},{"id":"3","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"Monte Rainier","category":"Location","offset":29,"length":13,"confidenceScore":0.74}],"warnings":[]},{"id":"5","entities":[{"text":"carretera","category":"Location","offset":3,"length":9,"confidenceScore":0.84},{"text":"ayer","category":"DateTime","subcategory":"Date","offset":60,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5', 'x-envoy-upstream-service-time', - '5061', + '2573', 'apim-request-id', - '9ec5f716-5943-429c-aad6-fd3629d7745e', + 'f5e95719-1ac2-4452-a99c-3d2d00d4a3f8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:43 GMT' + 'Fri, 25 Jun 2021 19:34:25 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.js index fb209d280263..c2931a84af5c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ec93a478ea19e39c25082ab06b464128"; +module.exports.hash = "83584ef1a3c2eeae474a1cfee3684ba8"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1371c947-ee41-421a-bea5-836c2254d200', + '254a8a73-4200-46d5-8043-c75507330600', 'x-ms-ests-server', - '2.1.11654.25 - WUS2 ProdSlices', + '2.1.11829.8 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrwxhNU3Kww5yL7gGmZXsieE4AVHLCW8dHmx94h4oLgM14sxRiAhjSEBSpaF9UFSo92Mmc4QoGXLfN2zHbxRuNlhn9cbRl-0Jhc3VHjncipkVxnGKedd_r_uRR23c7b387ZG9WsvGlnoucR7K0BsV1OiVWVB5J7hxMcZjzmvI9_zwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6TWOHkS9wjVMgYGIL_8c8PwBcLEn4DK2NQ0IPNa63XAnE4oeYC4kGYeq8B-0ywaFg0JLLozQYu-AX9yKqk9CIsp8C_GNug_HlTRwWA_frLz5Mz9jYg7p8Kt2_5Ti5qMd5ESQtkUEnuaii7GuseARVhNLm7_RaWMqtdIv_chyozogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:35 GMT', + 'Fri, 25 Jun 2021 19:34:21 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d300986000', + 'b7dd8c02-11f5-499e-bdfc-a9fddbd17400', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrlK2rX9J7h13i2DIZgBtyy4Wthim-cgeeXn6rTPuMA-BXdl7q-tli9PaguW-CcZ_8nx7OYGLyAPGwonPAKmIIVvl27tyDDpPX_e_KwdAeRcEoU52Ofevj_8k5JTihbuPztRnhztciCBBTqg3ehzPV_qsOts7yLHVQyn-eHsvo1Z4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrBYLVysUPWRRUcp0LU6zJdXlti1W4E-2OtsWbZ60QaI4dDzuZx9U1CHizhuR73j1ty4OgzigscjpnH7jSXPyeGEPPCz9Wc0MViB0Ni7-X64jKiVXjensRvsiehgAvaExlPwMYdxtnrHwI7eFkji2ZuYdUzF1kd4Tq0S-aQVZKMe0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:35 GMT' + 'Fri, 25 Jun 2021 19:34:21 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=d1724a6f-0065-4d12-9115-4fe93f8080ec&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,25 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed3b9055b00', + '8fe8fb0d-d1a1-431d-a7c5-a9190d656900', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:35 GMT' + 'Fri, 25 Jun 2021 19:34:21 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/general', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) - .reply(200, {"documents":[{"id":"0","entities":[{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":0.98},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.73},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"book","category":"Product","offset":23,"length":4,"confidenceScore":0.6}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(200, {"documents":[{"id":"0","entities":[{"text":"trip","category":"Event","offset":18,"length":4,"confidenceScore":0.65},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":1},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.95},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"trip","category":"Event","offset":42,"length":4,"confidenceScore":0.79},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":1},{"text":"Space Needle","category":"Location","offset":90,"length":12,"confidenceScore":0.94}],"warnings":[]},{"id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"book","category":"Product","offset":23,"length":4,"confidenceScore":0.93}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '2564', + '129', 'apim-request-id', - '353c65d9-ee6c-456e-892f-f09455f46a5a', + '63814f5e-edf4-4deb-b7bd-83f4ca7db533', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:37 GMT' + 'Fri, 25 Jun 2021 19:34:22 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.js index 168f93c3f41a..b6c24153c32d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "0c08bccb7e5989aaea6172c502d882ef"; +module.exports.hash = "7fb8abf5b43b82fbe7da1ad591b70f07"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4086f93b-2614-4ec7-9743-d54ff7f35f00', + 'b05ecb4d-c8c5-4f8b-a4fe-c02c9776dd00', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.8 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:14 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqvLEzSfggs2g7fLAUkEqoYKbqnrsnM-EfDE1ZR0slfZfxfyFoVjL40ko0SvF4BlB0PiYxppZgOVE8AIfJ2qYBavhQs9UNXZMK6OqglPx9Sq8tcXXoeqb7JiGi5Z98VsWxGaPTcTWgfrsJCCwxazRlkBoyk827834VbpjdWmJysogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJ3ACEMIDOg027Gc6tX-elIpyNnX-8yV8hPJThBf85k2Zy8SLkxrGgC59dBdgVaQ0k9lhtQX5LuAxHQWop9-xuDzhbyrRydfyG6yHXgrh2CbNn5T-7_MSK11NA-aZvn_6pErUTn7RdkhBgduvHbV7hJzDC44cFWpIPBbRgGfHaQogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:29 GMT', + 'Fri, 25 Jun 2021 19:34:13 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb1cebcc00', + '46746596-f429-4925-82fd-aa7944e97000', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:14 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8Qtc9tv5IURJyisun6wJSFj5CM7CMcOrk0tbSsyxjH9y_KrhumyI0XozP10EaKAXhZAsAhDgbNUjlxFJU_pQadlsqZQoGlWHO0P5jw6tuItgM9D3GQ2CCrgUg8ewcclmcZQlzx4sCjmILAuDM_cH_BSLCGmSybgH0C_B2qGv3yggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrluu-6DzcjjoIj-0NvL3h2vh-8dECHeMIYzWDCm3HQ5JYlj35GKIhWfT7zOgIIrJ3oGPU_CmBzjokDT5H7isHFKlQDIcay__MJGfcGu7k4Trr2XWWiP5iQySkooFjsKv8v2SVQpldgbjwY49UM8siJ5ZmiUg2p19RDmAHOFd9YhMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:29 GMT' + 'Fri, 25 Jun 2021 19:34:13 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=cb397d5f-ca76-4a7a-9de8-b295cce8119b&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,25 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-3212e89a5200', + 'f75e896d-b4c4-4e8a-8d17-6ea6a8865900', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:14 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:29 GMT' + 'Fri, 25 Jun 2021 19:34:13 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/general', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) - .reply(200, {"documents":[{"id":"0","entities":[{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":0.98},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.73},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"book","category":"Product","offset":23,"length":4,"confidenceScore":0.6}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(200, {"documents":[{"id":"0","entities":[{"text":"trip","category":"Event","offset":18,"length":4,"confidenceScore":0.65},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":1},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.95},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"trip","category":"Event","offset":42,"length":4,"confidenceScore":0.79},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":1},{"text":"Space Needle","category":"Location","offset":90,"length":12,"confidenceScore":0.94}],"warnings":[]},{"id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"book","category":"Product","offset":23,"length":4,"confidenceScore":0.93}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '5105', + '7563', 'apim-request-id', - 'd84baab7-f5d2-46e0-9672-991a01523558', + '8d0a5792-4404-4808-a90d-f673a5ca8bb9', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:34 GMT' + 'Fri, 25 Jun 2021 19:34:21 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.js index 9d26451a982d..bdf6414878cb 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e5f6837e5bfae1feedae851efe0d69df"; +module.exports.hash = "0029a0cad6c6f82703376540f0bd3d32"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '89afec39-0b41-46c3-8710-a230e0b58600', + '709023c5-ddda-4aca-aec9-ad98984d3a00', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.8 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJj-vcwG9XTMU4j-gMCb5YxXJeXZVqia9tinHdG_LYefQYtyRJoxLH0lwZE0_yQspB-bKeUVmST6txUTMehT2W1hc0MXST1D5Hk11BdJjqAQV218SDu39bBROiG_DnJTEerYbU-wO1wDjRjpVxvtcUnOVynGkJ4tm4y9k5mx2K0ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYmnfgcpeMKjrH6skCkb3n7dyOWAgZvjmSQF9hbRkESDjyZSvI4G5IvY4vBqUC9pJdR7Ml2UtRDpxOGp1OBnqKC9Ep_UM6A7qD4oOWxJci5GOoA2VqQcjQovPEw2NBtwvZvPtRsu_AzaHGYPP55241-zs6PHUwgOozjFD15XRtH4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:43 GMT', + 'Fri, 25 Jun 2021 19:34:25 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4a103786-0d77-407a-b76a-a2893324d400', + '9d80f76e-26fc-421e-9776-d8e39f825b00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrjCLp0tvhvHxHwEgfVKG0UJghe0wAGPvh_xf4BSdgj7j5pURlPmALM34eWwy74WeTqWWIzhQn2-gtjBPrWwu0QLILz8BHmmPw2HU7NgyaFa0UC865r_zKsDykKqzzfv7jWbNzQFrP3bfzPDDjD31EEKMgNSw_lDcORY9gtcbUBOkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXxLaqbRvXGtDI83DERcHqOm0uBCxskXkbcyqRy7wfSZmNSm5M8V5s2vLm8xbtEPc52cKa1cGPpbt_eHqdKKpu8SMSQUym07k6na3Eqh7IrfkWzgFOpdVnGqFu11z3n5IwvE_viH1RQPkG0BEMiBPfWxegB3a7h3PjmWgyNyaWIggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT', + 'Fri, 25 Jun 2021 19:34:25 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=059f9da5-d5b5-4ab9-a33e-171420344134&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '992d1a63-daeb-4e71-a072-889792b66100', + 'a9a1e068-3c7e-4040-b4a3-6952e5a86e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT', + 'Fri, 25 Jun 2021 19:34:25 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) .query(true) .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}, [ 'Transfer-Encoding', @@ -122,13 +119,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '11', + '4', 'apim-request-id', - 'd9b3ad65-66ec-41f8-82ed-dd3147fb15c8', + 'b4df21f8-a307-496b-b52c-d091ef13a665', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:44 GMT' + 'Fri, 25 Jun 2021 19:34:25 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.js index b228fd3daea2..1185910205a2 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.js @@ -1,5 +1,5 @@ let nock = require('nock'); -module.exports.hash = "d2635e129140da089556ba764cfc0888"; +module.exports.hash = "bbec3f3747719fefd0480adad1387e7d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.js index 22fde964860b..53281a378cd4 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "27d0310d285fe930d29d601dd509a876"; +module.exports.hash = "d15e29b1e7c287a6a7f9f4eb38f2a277"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '9b8f7ec3-c151-4e59-83cf-df81e1ceb700', + 'a37f3c46-0c58-4bce-ab57-1e6862fb0100', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrI0irNGlAkaPGueyths9suIU6XMYzTdfXfF2ozGa_7GVdOPk2ocybSSOvjSI_PRBOPZwvYlCieaJBwo-dzuh3ser_ESaje6ubSzM9s6wX235PwvL3wp2tuAav9JXZA-NsH81o4u98sArL8zzA6lk9WUEU0fjBcoLP6ulf1SKiC1EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcwhRYFzeVvjS4Fc23a9AwFYwg3lTWZyxGir94V89yKd7G49DRjPaXJtTjaQ8hPzP9y0iGCfBKUVYODpAvwET-mKIMtyVmsLQ_li1LNt0CpiOgGnbuZCnkWiWcFk7zzpaQPkP_DFq7D4IDL6J6wQpuK9S26r2rAYGjDhis1WO7TcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:38 GMT', + 'Fri, 25 Jun 2021 19:34:22 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed341065b00', + 'a9a1e068-3c7e-4040-b4a3-695239a86e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7N5m7ARiGPO6TFdmiqjTzbdEnRQcbGkzc2brdsuHOx0P4jHYwgneSxIDS4dGpZefSt2j2vrQV_XBwPWWYB4Z5Ex6tNwLgBOOtt3w0mMlpJ4NyJuDT0J1RSmmX8EMgq6FBVvujwqo2EJ7ajgcxz_XTcLkIDEZXcwz26qAgcCEYDkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrhfrrlELwrVe3gbJC1P4kQmJwdVfhczqYArs3UnYA3zgU3zcM5nuyBSo7-pXsoWsseIOhEfhIKCtauEoeOouJTRTmAb2Oov-NGcUdpvbzeQAvWXYhDggCaZHSYb5WITFPv_5z2QiW8sZxlf6X9pGXa9rXpf56OZvqfAoR4TtvEkEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:38 GMT' + 'Fri, 25 Jun 2021 19:34:22 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=02c1a23b-c238-44a0-9448-45ee19e80f74&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,37 +93,39 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03ebd5eccc00', + 'a9a1e068-3c7e-4040-b4a3-69523da86e00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1CQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:38 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:38 GMT' + 'Fri, 25 Jun 2021 19:34:22 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/general', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) .query(true) - .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}, [ + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '11', + '5', 'apim-request-id', - '47e9592f-536f-4271-9a52-1ef8d55eb0cb', + 'b54535f5-c311-4be4-86c2-c0c3861e33a3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:37 GMT' + 'Fri, 25 Jun 2021 19:34:22 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.js index 0639b957e165..b48fb210978c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "35e18a02175d22045fa5f41101995d68"; +module.exports.hash = "9063fb3ac884b0e8a06b081f163417b9"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8a976f3f-d981-4ca3-b3b0-d5debc375400', + '1bb627a9-05b8-4bc0-a12c-6313f3956701', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSgHOqKZK082VRAXCOo-Qh9bm4Z4r5zwzHlVng17CnmGxIHjlJU4Av52lGd6PFcXcSrfLxaBV7MGEVMj-vnNbiLhb4eCj4_Raez7AO_S9uyFw_KvtTn4jLnJAlSaIbh6-roGU1p4EGUVwlwQsUoQb5eAsHI-pcUMZ4kYZ8FRe3pwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIGAuUBcEHKrHxx85a43928T8BIKDbvq6uBiUZ3X6fJHngvnHOXlB9PQS0X9R6OmhOJRr8egyRkeqtodU-ZVyqyvFEjXDreAMAzuUdGGvEzG7aoOe2h7T3AzxxZysJigXdI4XzgmpgP0JO5fJ1nBG7VH-0cw45AgFlyGauezQPgEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:31 GMT', + 'Fri, 25 Jun 2021 19:34:45 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4a103786-0d77-407a-b76a-a289952bd400', + '46746596-f429-4925-82fd-aa79e4ef7000', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrprKarU7dD-yIu6zOcn6224NtDGt_9itIokCB1p7WUtT_9amz1K4TXQZ_lynA7qcpywsnQS_rAbH-Z42x6VuhipTw0tHpQHOQyZjD5KxW2_zQEIAKVvIksP_TlJ8TIZhEJeEldIeLpjKkB2IeFYVdgyyb3HnTYx0z-KroLlMtRk4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4Sg78D18-N7aquEKgmNE2mKECBiw7fUTd2H6jhuSehswaT_acALpno6p2Faa2zuz1n4qH8699sTpUX-YBR_bDlXcqTHJ7rLuKPF3555Y4IPmlssZdsJrfyTmWY5S5zIUMdozFSViiyWq5reYJXMgKnLCL5tetYy3rT9Wseen-cQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:31 GMT', + 'Fri, 25 Jun 2021 19:34:45 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=4d51a6a2-84dd-4e34-904e-2244d675decf&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,25 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc9fca65a00', + 'c19e3cf4-d853-423c-83e5-5de356626200', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:31 GMT' + 'Fri, 25 Jun 2021 19:34:45 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/linking', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .post('//text/analytics/v3.1/entities/linking', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) .query(true) - .reply(200, {"documents":[{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"4","entities":[{"bingId":"9ae3e6ca-81ea-6fa1-ffa0-42e1d7890906","name":"Monte Rainier","matches":[{"text":"Monte Rainier","offset":29,"length":13,"confidenceScore":0.81}],"language":"es","id":"Monte Rainier","url":"https://es.wikipedia.org/wiki/Monte_Rainier","dataSource":"Wikipedia"}],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}, [ + .reply(200, {"documents":[{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"4","entities":[{"bingId":"9ae3e6ca-81ea-6fa1-ffa0-42e1d7890906","name":"Monte Rainier","matches":[{"text":"Monte Rainier","offset":29,"length":13,"confidenceScore":0.81}],"language":"es","id":"Monte Rainier","url":"https://es.wikipedia.org/wiki/Monte_Rainier","dataSource":"Wikipedia"}],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5', 'x-envoy-upstream-service-time', - '7846', + '245', 'apim-request-id', - '7e4f73f7-e0ab-438c-be1b-b30b4a2909ba', + '2f206f1f-c83d-45ef-9ddc-5eea5e0e32ad', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:39 GMT' + 'Fri, 25 Jun 2021 19:34:46 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.js index 8504085531d3..320aa9c983ae 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "1ae4872d1a05bb91b39f70b77a0c95a6"; +module.exports.hash = "40df1b35e0e23c65c61cb7f625d8c956"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '7a8e30f9-dbbe-4cd2-9f0d-171401b5f600', + '688e9797-474e-40f1-9aa7-634019d80500', 'x-ms-ests-server', - '2.1.11654.25 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:19 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr_R_Qn1dGPdsnZfYnBqwKAY7dQB329miNeEzwz2pVXgXDuEvi_g43Cmr9PDB0K6W0hnow52PdrfXPTy59ToXiprMJIqhW2ZFXJIvTtfA2-5UxRxCqn-kHnd5I-IityxGckSUw1vhq3ez-VWPyTqVjZLNv21Qt3z1sdvKyjNGIbPwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4qIjj3MPIe8XCeJjZfhUYLD4oyNMq2KB4JggQQWnCPbWgHSQMIS7QP0rBl7cOq_PprRaOIyWBYsW5td5EPvheugsoIOeZHcp34gVutEWiXBSl2nsb14OUvIXerOd322mt8uEvDy28pMn_jW7_ToluGUpO_ExKekCLJ_nzirAIHYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:19 GMT', + 'Fri, 25 Jun 2021 19:34:44 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb03f4cc00', + 'a9a1e068-3c7e-4040-b4a3-6952d8ac6e00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:19 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrh5NMsgrbEiupFogR_-kx4773rsbrRyQezKG36e8PtN8mwCuRTlrvxafvc1o9em6QD_FEYbywu119huFSp4ywNmhEuN8Ty_-lk3YHDVgPR8ndC2ucaG7vVYFEqGGg2Dughlwz8gGCH0VN0RxglQuBd6K-kwoFDAkcZANMJjU1r-4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrV2OBiguT8d5Wqc7nkSAvIWhVGPoyM1qQlc38B4FLAy8YLQiIXaB3VpN7hi2Mc43L9-8Q8mid2J6JdJx3S-1fWUMQr9AchFOqmJ7pUad8daMQytte6wnGfQC3vgVk2AGDr2ba3N1tZNuj8uXNPhlapYyJfDVLGI81H4BSBwty6eEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:19 GMT' + 'Fri, 25 Jun 2021 19:34:44 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=a87fad07-b10b-480a-888d-bb991e041f3d&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,25 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'dac8c720-7f5b-4daa-a8aa-ada5271a5600', + '97388d79-6103-488d-a26f-595c1b9a7300', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:19 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:19 GMT' + 'Fri, 25 Jun 2021 19:34:44 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/linking', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/linking', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) - .reply(200, {"documents":[{"id":"0","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}, [ + .reply(200, {"documents":[{"id":"0","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '11610', + '17', 'apim-request-id', - '3e30f003-41d8-4b3e-9154-8654712292ba', + '52edc0ee-66bf-472d-b63b-98a326a21fe2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:30 GMT' + 'Fri, 25 Jun 2021 19:34:45 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.js index e83f68b1065b..ca8428f9cd97 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "c5448d099331477e0ec40a2578c949b0"; +module.exports.hash = "fd9441430a75f4afcd27d4647131a0f0"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'ff111c0e-8114-493e-a8a9-b87830b68700', + '65f28b2f-924c-460b-b740-c73871570400', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:44 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-rPTMO4Eo1oBmPblRawQh2UpPM6n6Lx44b485iqE0PiPOSXS1LtorEeE6pTVjSiOeuBAru8u6T9t4L5Aj3kfXkADZEdTq2BviuyTPtTWkJxIrW81vThhlmrsyMAK2iE-_-KlVeo71IOD1iDMz4Jj1dp3UdhC5QzJ9WriQolk8Y4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZoXEkQt3_kCQd013lY63y7wADVo8Xlf_cb69_couWHYuf5Mteg65BDEx181b1UJh_IwE_n9M1LO4j9s_GCKVRdDCiuY77DNoqWFvVT7l46Dx09mrtkAc3VCaA7_O9B89_GAH1yNDRSJdypyizk7zwrW10dzNuKKiGG-oJNqPY14gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:05 GMT', + 'Fri, 25 Jun 2021 19:34:44 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03ebb9f1cc00', + 'c19e3cf4-d853-423c-83e5-5de31c626200', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:06 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:44 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzUU5ScUBOjgOrbE0PFsG2MZ3RxdZDaGUffE5rCERyKjtdVu84msFDEGYlzF22erHaqgPFpIC0HAbh1AH12Ke5HZCUko9HJGSuzxXpyOJ2cyIiYJDGBQT3Awdesy_77yNI744zHqRtUHyuYTeQ4uPZLrmahKNnl50KMV1IIzjMJMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxRzJo8-x99uCkre__y0SWtk_3tQ6v6fekdov1MwD8vVx2huKCal8XsNSM1hLsfMjB8chfeYa0IVkEvjWH42jLTvarNyFmHh2nrjXGgN2HQCfVS3YiKWZJDlva5REviDKevjzHYsAs-GIWtn0DoZPLpugJDZ5VUkRTbtipA3FbgAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:05 GMT' + 'Fri, 25 Jun 2021 19:34:44 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=622d2897-a263-41d8-989c-af94dfa4f425&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,27 +93,27 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7aa546c500', + '8fe8fb0d-d1a1-431d-a7c5-a919d3696900', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:06 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:06 GMT', + 'Fri, 25 Jun 2021 19:34:44 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/linking', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/linking', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) - .reply(200, {"documents":[{"id":"0","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}, [ + .reply(200, {"documents":[{"id":"0","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '12887', + '31', 'apim-request-id', - '31bdde95-6126-4d1e-a535-aee8ba528273', + '0d7330ae-3f63-4e64-b1f2-2697efd4adba', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:19 GMT' + 'Fri, 25 Jun 2021 19:34:44 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.js index d7d038065bcf..95c4c20e22a0 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e5f6837e5bfae1feedae851efe0d69df"; +module.exports.hash = "0029a0cad6c6f82703376540f0bd3d32"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,28 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '57551ad4-7490-48db-a64b-12de5ff39700', + '321e8ae2-2520-4ddf-bf6a-9894bbe30300', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHL2sTASx7vcmzIlboCkLDUyX58gKtOmIG-TbKaSpwwYO1WPCmHwbOiSMuEtG5-OVpzpobjEw80nnaEruDWQpRj8KqxfJrUTBkl7-X6G_QoPy3gOOMMrj52MR8UVTIVZViW-P-lebZQKvAJQxi4BvHvNmjjRM9prG5RKwK6UjtUQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrp3EaEzuG7KnBDtxTftPzv8lAS9V0F7gBFG8qJCeeQZwOyFfdTXZilNA0jQfreN1M34ZX0o9IvahmCApiMlL971rCTjFLgHvN5IrBxq4JYO3Wl9wReS8rRtKeeFaJ9_hl6be6MBrV_h4LYDJUFulTxh17zizKsNgsnHNq6Gm1LnggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:39 GMT', + 'Fri, 25 Jun 2021 19:34:46 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -58,28 +60,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc96fa85a00', + '5d543b59-2435-4161-9c9e-e9236a657100', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevryz74G9eF3swt_NZLwH0VxGqiPe53vpPE_UZ16iNL6I3Ail9ImkUuNm1TPcq6XZOtVSVHOhF90-nOnI29uAfV3mZpMNFluP3JFhfeYOBKNp_TToY7bgJyRxkJ5Sn6Zqp4nOXWXqskio_1o34whJBSsk09bMHcxSDpgtoImH3ANkMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1kHxyVcxkLBKr1aytRxWzcwaxB08kt-EhFk6EQs6EXyYtzKwdVorTWRBOjbprqI22yF30PbmXHuzmZVTPcuwQF2SQ-P4JoAvqSY5WNUcHQg9UQPONHMOkSVpo9d-G4pK8tjUzhvNZoLQQgQ49j074y5j35RlmPfW5hXWycA6SHwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:40 GMT', - 'Content-Length', - '1651' + 'Fri, 25 Jun 2021 19:34:46 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=006f9fac-d9e8-42b6-b1ad-2ffac3be3359&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d913d8f6200', + 'b7dd8c02-11f5-499e-bdfc-a9fd44d67400', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:40 GMT', + 'Fri, 25 Jun 2021 19:34:46 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) .query(true) .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}, [ 'Transfer-Encoding', @@ -124,11 +121,11 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - '9c9f5098-c621-43ed-a095-c0a35aead83d', + '94825aa6-0c3f-4b17-a279-fa970f1e02a7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:39 GMT' + 'Fri, 25 Jun 2021 19:34:46 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.js index 13fee5f6dcb5..b70a1257a453 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.js @@ -1,5 +1,5 @@ let nock = require('nock'); -module.exports.hash = "942072e116577f1a6b3763ea3a73281d"; +module.exports.hash = "a18c30f77c1c7c0ed35bbd9a51da7e8d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.js index 6bdeec6d3615..305e8fa586d3 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "22c8065f2a2eab6ec27fa48e21f5bfdd"; +module.exports.hash = "fad55cf856722b5497b225d29f822c2b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '282052c6-1514-45fc-bddf-3f74498f6200', + '7fccad9a-0bd6-4fb6-bddc-6fe686c48501', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrsmzogbZaROBll1Q9F5XQGl_KmgMDTibZ4Cq80-HJKpYPNedGB0I4ZN_jxlLhg6fPKyFFIFxa-9gBQU3uCYLksHMTShWPspymSd0vYIqTLfmyvYeeX4fTx0O_cmhQBwf9LrnPXs2RCts-QQ2RalDOCtBKZJXJipYEyoEk1F-lh-kgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqB09_q2gyo0Zs53Eg-ejy_LaB9Hm0zhMIdlRVStiTOZcOGNCQbCFSYST2ZSPvi-jEDVY0LRu-B8rjTLE5P7X9xr_rBZbwCbL72Y0k6cKlKcAGWy-Q48D536wiSWOCmWAfHmDs0ThBfAp77AgH38pYOnI_kHuIygcHQMgyXhVedIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:31 GMT', + 'Fri, 25 Jun 2021 19:34:45 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb26f6cc00', + '493aab2b-fb42-40cd-a2d0-93f55e735a00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrr7ZfjYvf55St_d60vbxbUO1bT7Ay0f8nilB8mq9xV_Jbi0eYMkN3jblLuVOduhS__ErayE0a7iFU7aYGWBKBxk7l3BpsgKat-XqoiNCHMeUQR0DU-UxEySDg51Z3O4L6Uf5lfQJM7TN9THbXZZ2V6dPyLaSd1Qmkl2BMiF8f8VMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1mzrSZN74aElfxDg4NFUj7NWIhS4PWo2oicS1_YvR7IMxfKFPjGxbocGyfVdPug9XmD6nf0UrD8UUDCtL4AmkHTQW5XSC-u5_VGEBv2lhmSvn6R8LAiXzuqlCalPr-aW24QtsfnCAuIPQI1AqapRuw8TzJvNwaVld-ZxgOw2yC4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:31 GMT', + 'Fri, 25 Jun 2021 19:34:45 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=44ba95e7-b593-4655-abfe-cfc19d7f299c&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,39 +93,39 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf402285a00', + '546b154e-3691-42e1-a17e-80b9c84e6700', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:46 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:31 GMT', + 'Fri, 25 Jun 2021 19:34:45 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/linking', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) + .post('//text/analytics/v3.1/entities/linking', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) .query(true) - .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2020-02-01"}, [ + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '3', 'apim-request-id', - 'b8229653-aafd-440d-b5aa-9c427ed14b78', + '02a8cb7a-3e2c-4ff4-b176-c025146ecae3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:31 GMT' + 'Fri, 25 Jun 2021 19:34:45 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.js index 77246d99cdc3..8f2d4cb85f4c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "3c1cf732cfecf4dacdcf927da139b2c2"; +module.exports.hash = "0503abe68a40b8eb9a93ee2d07ce5d93"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '00eb2077-abe5-4149-a734-5fe8caad8d00', + '77291fdc-5d3f-4497-a825-9aad9dd15901', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:59 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:43 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrm4qArX8XiMdKknq2WXVeJXA0GaualxdZn309vKq9692V5eIYK4c5FEvYfdG-9i6pHQZJLTSFHkCcH_m1YwPLyqXOh4XIBd3e3B5A_fCR7mfc5NBFU9416-JgfWWj5dyXjAqYADPh-bq7xgRExkYlbMNZEtnUR73EDD-l_cLUkmMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrM1-PDUH9qTbtYEZ2s8oYIvnvUO44r__n1s8AAArrf9dgCgxsJwQ0bIz3qTtskDT6m0KOOVrBp1KiuwCm8B_b1ks3ZnIwcDBBEVCW8MnAqhaFMpDBCsllupNV5aE1anFS4bpSBZrWuKrnWFoi-CxI0G1Zpw72iZ1aQiRHCXuKnEQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:59 GMT', + 'Fri, 25 Jun 2021 19:34:42 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed3420a5b00', + '703b39c0-f313-4374-a6f6-9fd0c7fb5c00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:59 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:43 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6yz9qSnWM46kYuDk48qN0rqQOCIqWi54HsLYya4J4pJ_pzdi38NPrajOd_wsilyewzApyrNy1YOWv7aL_xbec3uSdckwbjBOWvBGUYECj8iUJG-pdEtHNizD1yB15UqCbXSXY6F0-Lr3YLHROe4gvLaT7fAkTRdG5CthDVGaioIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZXpDp8xlzx1BF5YhYGwSB7OlceDyTg98Ng-rnJW3yjIUdEKr5WQQjPrsltsuMM1ymlqEBqTxuKfN0HfRrfMICrSsAWfwO1nVCzTFLaxm7MYf4yJNhuMlxCjK97j6zRbB5Rxjqn52p9W6nCNLqN6P1met1CZFwyKHLlgQ9_2JrPUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:59 GMT', + 'Fri, 25 Jun 2021 19:34:42 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=fa2cd892-aa86-4aa4-9894-98e3e99d2723&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed34f0a5b00', + '9d80f76e-26fc-421e-9776-d8e375855b00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:59 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:43 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:59 GMT', + 'Fri, 25 Jun 2021 19:34:42 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"I work at Microsoft and my phone number is 333-333-3333","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"I work at Microsoft and my phone number is 333-333-3333","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"I work at ********* and my phone number is ************","id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":10,"length":9,"confidenceScore":0.95},{"text":"333-333-3333","category":"PhoneNumber","offset":43,"length":12,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '5046', + '36', 'apim-request-id', - 'bea8184f-0a3d-4bea-8252-d8fb24ee8251', + 'ff734f69-8d9f-4fb2-8be1-238499d27dc4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:03 GMT' + 'Fri, 25 Jun 2021 19:34:43 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.js index cf9c48de2985..46a9690bf33e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "26ecdf3c4e59ab5814b305f792e378bb"; +module.exports.hash = "e022d94350f7224141f9cd7cdfdf4cc3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'ae23e601-dd1f-43b9-ab4a-3d3a54060200', + '8837df7b-2964-4342-a91f-e2e70b6aa100', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.8 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:04 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:43 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr3qi3ijr7BP5-Zh9WpfEJlt4fEKgRrV0iThrqCZIsfjOhLrXbz--nvMc_5GII5sV01b0bxA03UcIRAxqqoXkQUefABnPeuPqDgkBWomZ3GiR_PjPMPtQo6lLkGkgZDZssArqozE8sWCpFc0l5uvYKLZJZUosxQmSyZ9_YXq5L2JogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRBfBt49ZJ62bt6OBob_ifdF5bzxp6wzNtZo_nObbWi8tS7tQLCChCJBPCUF9CxOGCbzKcN4A9zfnPOHf7Cc-8avpoShH34iSXt9YVijZfstmXgcjQlrkhFuNoHYDIegWacYFYjJJknk3NTXnY1ZB4f4Did4RvDTOvrTw1GxblcogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:04 GMT', + 'Fri, 25 Jun 2021 19:34:43 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,29 +58,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90ab9cd0c800', + '9d80f76e-26fc-421e-9776-d8e380855b00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:04 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:43 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7O9x43s4kGXChygzsITnAWmhOCZuE4SVWNmlaCWlfgZEx6l7wC_MUANxMJZF9850fUkaUc9bKDsTrRJogsxmAjZLrM02mAzTahJlyea1noWok8Wqfo6Qr7kiPF9UJXtKSAS_Siyoc9yPeirMp4GADjgT737w2nAz8PvyW2l6NV0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd3EXWvKkEMGTkA3pEZ8qx8b9l-v9FvMZuxaMvVxQPmcrqYVkZYtB3gdJkXVU_BGqGBKGIb07vjSVqzOM3iYReEGsmIxYVcdsmuVEqCLc_3lmyi2m0vU2RtgB7hYzp11-UWJ5TW8wUiQjbLdWgpNNLhBSIIJwT0Z8eG5eSpOETpQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:04 GMT', + 'Fri, 25 Jun 2021 19:34:43 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=18fa4128-f123-4d9c-b269-c6bc4899e525&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86398,"ext_expires_in":86398,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7a7646c500', + 'c2c46a2d-caf1-495a-b60f-6d2099717100', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:44 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:04 GMT', + 'Fri, 25 Jun 2021 19:34:43 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"Patient name is Joe and SSN is ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":31,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '101', + '27', 'apim-request-id', - '5ac66f29-5b81-42dc-be12-257219f5bdf3', + '4d0b7de3-1c99-47d0-8646-3426d5558422', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:04 GMT' + 'Fri, 25 Jun 2021 19:34:43 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.js index 31b9781d71ca..5e9330ca991c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "d8b8d1cfbcd4254f122b3b32edc99bf2"; +module.exports.hash = "c102b5dfd1ffe2c563f80ba16ae00455"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '576d32a2-72c6-422f-b518-a9ed1f01bc00', + '30a5f1cd-5d57-4e4b-ac41-c5d834660700', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.8 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd3cY20Dbe2OoVGHTVKyryPcNyUAaGrEQwJ4vQ-nnDUKZUk9bjrs_2-n8aOo5SGbug5Wnwb42bA1_BCaG2_tr5XG6hF9jSg2ScRbgggTovjKbXinBtL-9FnADVcjEIOwnRcaQfsDF2Z_Gn6b4MdQxPfvLtK6mafo1y0GCYvjtOecgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrK0uLqV20Vc0Jrg-VIj3yRIgM05zGf3FoJIBFCK-PyZhTqTr7yuy63CrYH5eJjO41aAIjaxQq1RlK4sNhK0p-Sn8OJHYsJGY1j3pKAxc3whhBisCDw56ogKCgHLZ2L9Qlq99zJGatncPysPeorSHnpVvKdzy4RP2qV7nYOzFtXIogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:58 GMT', + 'Fri, 25 Jun 2021 19:34:39 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7a7c45c500', + '60255122-4f99-4912-bd79-4b9125706000', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpPQRoDVDS7Fl4EXkN_kqMsQ3mZedCqLS9lii6r-fH_dkSmKdIHR-tE2rVRHAx3IQi_-k5kn7soPp2dGd_y15j9EVZgrj5lq_vdIoTbySUU9_IkMXEdeJPpgOo6CQhjTAoCZsx2Rsa0Iyxh0h7arHdMLnmIOcpBeVt3jcKwGPlTwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrEcO8Co2EfPGonMmp7ez3bqUdDRvH1LPdkDVZ8JXPAqtkm0JSevCfwALJn7e5KPN2_Xtd2FY_Tr1Ge-h0lkuUYTm5wMFMyNIQ1a9-91Kdx4onRnDRRchddP4kbwNHZkOl9od-UhowdQb_t9HdOykwvDgaxaO_qY5uZoNF1JCXPvEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:58 GMT', + 'Fri, 25 Jun 2021 19:34:39 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=77f47f63-9610-478e-a275-6aad14a2beca&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'effc2a94-f558-4e23-9dd5-8d2b52f26000', + '493aab2b-fb42-40cd-a2d0-93f592725a00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:59 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:58 GMT', + 'Fri, 25 Jun 2021 19:34:39 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!","id":"1","entities":[{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","id":"2","entities":[],"warnings":[]},{"redactedText":"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.","id":"3","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","id":"4","entities":[],"warnings":[]},{"redactedText":"La carretera estaba atascada. Había mucho tráfico el día de ****.","id":"5","entities":[{"text":"ayer","category":"DateTime","subcategory":"Date","offset":60,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5', 'x-envoy-upstream-service-time', - '95', + '2546', 'apim-request-id', - '9643b2f8-d155-4f6b-ac43-7b3730d25d12', + '71e330bd-c716-41da-985e-fbdf4a021f6c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:58 GMT' + 'Fri, 25 Jun 2021 19:34:42 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.js index fb5a6f34ba21..96285c26aa25 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "3f114f7ea97d3418acc612def114d1ba"; +module.exports.hash = "4e3cd609c00a705d03d31f2bf28dfaa2"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '571ce9b7-93da-4592-a19b-1303a0331d02', + '95aa2c09-f74d-4316-ace0-5ec77ecd3700', 'x-ms-ests-server', - '2.1.11654.25 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9vFJJggjRlteFECrwsqOooDtF4i8NUb1_wSuA73r0LUm6rImvDdmE10bpIsYcpRH_yVRW7DIvoEtzI9tMqNvM43nv_MR8WmfeyZpLy3zSy8I2NfuxO2e7pnIkCwayKjdrrgu9nFq0QQwFdAaR9MibQLzxMibNqQKN55u1uFUHcIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrAAEKUBy1RSw0HAoGiXKPipc5Ozx0v6Twt3lNhGxyKa8kcRaBnJMMLXONYLMXp03ARaTTWgUY4AKR0UJp03nhf7xHKJzu73kjtgg5bSSVhQKFMOU1o5xyx4Y-VIWob7wXrgz4C2xTlSjKih7KDvoy5Linxbukf8oLqZmQR3nEMcQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:49 GMT' + 'Fri, 25 Jun 2021 19:34:33 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd82997d5e00', + '8fe8fb0d-d1a1-431d-a7c5-a9197d676900', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrrDCdAyiYoW5ZUifYFTIQ9WZVTugr3-e4LZcnwEb1n5E9zpetL_sS6gTGGKoCn5EFw30fAGKOksdMYYF9kwFS7yNSGJCSZ-EAf9dd7-BlPqlYUQ-GzfSwVitLHOunVVa5IV_UZNbj0eYHvsYGiPZG6IHhudEyiYXFWX81FWSoF28gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4iinGwWg46QDE3a8aHrqjddGcX2t0YZO-Z9IHLD3BNTmRifKelXCozQMVPs9WzhOACir7sxeVG4eep7wVxvkrhuoihJfGPcnqR3f_rceXEkrIwScyBnB5X2QFHyJYNcxn8rcjr2EWeUNJy64VLQdMUJCIyGE3OdYQJ15pVnwYxwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:49 GMT', + 'Fri, 25 Jun 2021 19:34:33 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=97c29406-d47c-47db-897c-d1058d4b63ca&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a5b025400', + '7f6441d7-2d0f-4f80-bf15-34dc206d5600', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:50 GMT' + 'Fri, 25 Jun 2021 19:34:33 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!","id":"0","entities":[{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","id":"1","entities":[],"warnings":[]},{"redactedText":"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.","id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"I didn't like the last book I read at all.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '2538', + '2563', 'apim-request-id', - '132902e9-bb72-4422-a39c-3104683aa6bb', + '0bb0c906-0dbc-4c30-b82d-bef34ba18137', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:52 GMT' + 'Fri, 25 Jun 2021 19:34:37 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.js index 6bf702e592d4..2dc68b81ec28 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "da3de759c5be0855db687cef98b06854"; +module.exports.hash = "fcd73fcb0c4205d92a523635756d6383"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8e4f51d5-3255-4ac7-8b43-81ea57737b00', + '5a8a4f62-c987-4a89-b7c7-054dfbc20200', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:29 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrp2wn_6Dp7BDT0RqFjvTLZ38UpJwZVVX-xWzjS-pPDEtXpxDjns6K2_IA21YVliWumMvRCdMZXTWWnSm_BNS0aSg1MdKJw3XbFOyatz3UkGFdDEvrJ9g1aoU4RftFrWNV6ro4zI2YQGAGkvLg9NQw1-eD3OQ-GIPzRbNiW692t9cgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZwf0fuHpr-QHZYn_QdifV0VJz7es8JUWluFiSRxzQN8-yTfeBXSVYIoHdLqzz4SyhIVlFlt7juENJCygof8bI1Vbjs6HiNBVTuidasD6bykxBC1DTe6taQw576TBxAz1Xh0Jo_5NEMgXgcXj0Dq_n1baEaFvjSakjYFEvIZ-CYQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT' + 'Fri, 25 Jun 2021 19:34:28 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81adf015400', + '9d80f76e-26fc-421e-9776-d8e30d835b00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:29 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUl5LAO3BsqL2H21B94TBAH1ZCfNxbT7RP7i4Ef31KDMtz4d3lXYPgGo1U4gg5pAQsERQjVM4F0Fxs7KA4AD_00znWiKJJhSPUXFCEUu4tfahkmfRkHlrfMoLPVTGLUKoXgQzmK0KzpPd07g0HjgVIr5-PlMc29WnQigCIehxPPQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTQJ-xT0_zXLpSaWzAskFlb8XGvKwr8zsitFVymlX9DkxLfrdCM3v5LoPPr-RhzTbksThnv4JMoFF3V9ygEuMwUv7LI61G80-ic47HSbSiCSKoBYQh1iItl7Qmq-NPdoHi1-n5jXVBspeGJBvOuE52XBFaunSoaTBla2dgV8fUO0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:47 GMT', + 'Fri, 25 Jun 2021 19:34:28 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=886896b1-1046-408e-84d8-a0108e4f750a&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '992d1a63-daeb-4e71-a072-889712b76100', + 'c2c46a2d-caf1-495a-b60f-6d205d6e7100', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:29 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:47 GMT' + 'Fri, 25 Jun 2021 19:34:28 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!","id":"0","entities":[{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","id":"1","entities":[],"warnings":[]},{"redactedText":"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.","id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"I didn't like the last book I read at all.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '2548', + '5038', 'apim-request-id', - '6a80386a-f7f5-4507-a5c9-5c99d25851fb', + '4914c5e9-aa68-41c7-88b5-62121ec0f27e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:49 GMT' + 'Fri, 25 Jun 2021 19:34:34 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.js index c3ad8d5f7c5f..4df1487fe440 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "4ea23e2ae9763bda04a09e42e2ff4aec"; +module.exports.hash = "630be62a5cda2962b4bbaad3db24f9e1"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'ec0d39df-a7ae-4247-b603-3945b9cfc700', + '8f647f21-1b20-4f61-9c6f-51e082310200', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:37 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrjf-DAXEKtptx-M8gFmYKHDflT0E3cWwxcDvrTQU-BmIpLlAYF3Uk9izz5vJ-3MfT3bScbUDhpJpCKtkJFM6WCRkKWGNcHZvRXndtSHpmwkd7opoajphlK054O9VVQ0iPDFnA0cVY8eAGI05mXBRjOQ4Zhbt2k_wNel6u2-fqBukgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrlw3MtDylhhyczxqyDOxEU-5nIEGFVTv5oLSq3-gplJKS4RAAQP6dG-SajS4JpIN0vk3TrUMoM-A_v7_dSwHPHlKixkU3dI5wUlRy4RjayfqiZ33j3420kBprG8HWlbgPh4s1xLxMkLBKks264w82zgaEqnHjQj5I7RB0rH_cIPEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:52 GMT', + 'Fri, 25 Jun 2021 19:34:36 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d34e9b6000', + '493aab2b-fb42-40cd-a2d0-93f5f8715a00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:37 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrS7RCJE85J6kH7H1q-MDrpsab6i5PvY6wOH9vsFbugvdZo-JlkqpQnQuYO8usvNgaQ8ChjwbqcOXSDL-47er3Ysg_M00f5uRQ2z3WArjAmG-ArS1uqDNODsP88hNEFj7OoJaUnfgM5GJHHMjrIvF9bc_A-BHr6AMkYBJ-IulOE94gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWGUnHgyzK-vkpAV07bp6fB1nfmC5jKh0wwCAi-agK7D3m-Vpsw_sgzCmP8yf3MmUciG4lSyIfUHHjFeB57qsXZRAGMBRydUzsbkOhn8dwyLu9BgEi2DvqI1eG_qnfV7kBxGTkizi2TRdOW94y0HqSWjWUrUlruxoyKCU8C1FokkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:52 GMT', + 'Fri, 25 Jun 2021 19:34:36 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=3b46bcfe-b206-4c8a-bd0b-699e2936350c&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed306095b00', + '1e233fee-f232-4e03-820f-8a8c339e6e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:37 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:53 GMT' + 'Fri, 25 Jun 2021 19:34:36 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"Your Social Security Number is 859-98-0987.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"Your Social Security Number is 859-98-0987.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"Your Social Security Number is ***********.","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":31,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '5050', + '2539', 'apim-request-id', - 'd6ce3b6c-f008-4cc5-a606-9873f4057056', + '7d7c5f34-16e5-4086-995c-8d12ad4387b3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:57 GMT' + 'Fri, 25 Jun 2021 19:34:39 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.js index c29826faed8f..7cb7a2287596 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "79af028152909c5f1eafb4311ea88989"; +module.exports.hash = "ab91690f5ef35c8898e38f3c835cbc21"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,6 +10,8 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -23,26 +25,24 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '35e26fb5-3835-4f9d-bf73-f950c9200500', + 'a16eba03-859f-409d-8fb1-ddfe4ee15100', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrszpIoKelACwkWcK23ItOU0wVVN_mXPRrRnPqtzkavvCep8AkRBTv9XscZPwoPI5vOH3obQtTGdS8fEHqzsFUYQBHbM7ifLAsxARePAoQiq3ITkjYj_ShxAwjphvVZ_6oB40f5cpob6umShES8OAG6XJTL6KFQa7W1PdKvKJGcBEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8U-3Mh2QLv5wFJF96vZCmxiAX2v3NaGt1vhMMli6tWkmkEJYKietIo9oJ5O1ZEd4RjNqVKDeI53DN3kS7fahCVQ8SHnrxdRnvw2NxRX2FerD73j2SIH8-R91MkxoGptq4XP-tOzE-gMOvx5fneRfNQFXOl94Kfysy7OXMHEo1HIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT', - 'Content-Length', - '980' + 'Fri, 25 Jun 2021 19:34:27 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4a103786-0d77-407a-b76a-a2899324d400', + '493aab2b-fb42-40cd-a2d0-93f5a2705a00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrOYq04sRwBnEQbqtJBUf_Eo6d3LUbZncQMKMDn3D39c9LXKOaUIAgApD-eQFCBkObZUMf0kSdr6EafoG-PNIT0tVpDfFmcxkJ4mow4v8TCsrhZnQ3eIbsM9QcHZmlXHJ-0ZSVbc4T3WaaA9pFLzB1LIZwRB7c-MF_8Qj_BVpLJCsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd_ZIZxvxG1-qYhUkRozFpohF-XLxcOdxh3vIh1xXFEmg8uL-kUIvMXzKm6ZvuMGdowmrgbQKS7pKOEXGjIa60Y0qzDCWk2fSELXkRnczzbMT3EhSVQbHFhwHAonzOnHwhMSSS6H6dZ7dLWosvOTphgoxWaxNrxUDX7gVGT4A2IggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT', + 'Fri, 25 Jun 2021 19:34:28 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=b945d1f9-fcc9-4e30-a630-31ce444000a0&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc9489f5a00', + '7f6441d7-2d0f-4f80-bf15-34dc466c5600', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:28 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT' + 'Fri, 25 Jun 2021 19:34:28 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[]}) .query(true) .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"MissingInputRecords","message":"Missing input records."}}}, [ 'Transfer-Encoding', @@ -122,13 +119,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '10', + '7', 'apim-request-id', - '9ed1f804-df9e-4dc0-b51e-51cad22d55e3', + '47d75803-dacc-4a5e-8940-e1050ccc4f3c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:46 GMT' + 'Fri, 25 Jun 2021 19:34:28 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.js index b8f0a5d72790..f951a7b7d31c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "9a0fb15dc6f7df15feb0ad16fd33485f"; +module.exports.hash = "ccbce5fd6d6bbc1f2ea2f7507f99ae07"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c21553e8-db35-4f23-9519-5647269fe900', + '004c4e93-0a25-488f-b214-89edb4ab0200', 'x-ms-ests-server', - '2.1.11654.25 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:44 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrav_XX8Aod05l9cUSifyShHDEvC-dTRVEZ7tZkjc7saR3Gt_Gt335usYUXa0qrJ5kZz5IefYujpNC4obAncjcP4xpomSJrRivW6X7FXbob4L7YRYoPnCis5ni-Ai0rsCwjGW93_Q_N8VcN9r0BzenejG5q9uXUgt_lCWbyWeXLXsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrBqJcmVHl_inpfIVbvNDex_ePD03FzlIQz7qCgUjjFDOmGESjT2wCmq3vCgT8a9SS03ybon2SSlDzcQZEVEA-MbgHkGR5ynch0y6b6IsH37IBDut8oh4O6xs3-0T-cEGxBPxVj1GUZ68fzpLKv5I4H4tLKXTJPOLMC_XZ9J0ZCD8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:05 GMT', + 'Fri, 25 Jun 2021 19:34:43 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90abb8d0c800', + 'f75e896d-b4c4-4e8a-8d17-6ea6c38b5900', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:44 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9Mt9dLL9IqRewaLJ-FT9tVzyxFnaXxU1AD1GG2ZRk62qplJAz46epCUsjdwn48nERMXSlBls7JFJqWbdg0EL9V2o0fFBvZFsQSLv-X-ppI70CJpu9j7t7WQq-4xm1GzoS3FPnLKefkxhrl9KR-h_K_m_8QWFcxnccImBeUqtlFsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrKVvzZPuKtKMAk7A-B-ajV35ACaFn0erl2TOlrrj9DlV1v-VlQXvx0CvCcRNTtK-sgsOGfWqNoJ3SePC3T8BtFwSHQIsw6jsy3cRfZm-hSvg4_ZRZBPsbKifJxizVhoZ17rhqbJTz4_LGUMjPvTS2GOCoye3EIVcMYk5gpbM8aNQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:05 GMT', + 'Fri, 25 Jun 2021 19:34:43 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=2a7f7f6b-c773-4b8b-9932-d691ec1bdd89&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d91a0886200', + '46746596-f429-4925-82fd-aa7995ef7000', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DQAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:44 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:05 GMT', + 'Fri, 25 Jun 2021 19:34:43 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"Patient name is *** and SSN is ***********","id":"0","entities":[{"text":"Joe","category":"Person","offset":16,"length":3,"confidenceScore":0.79},{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":31,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,19 +121,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '33', + '26', 'apim-request-id', - 'fa49982f-b585-4e80-a80c-5b1fe6def0ba', + '584900bf-56d4-4b4c-a038-cbeffe1a7efa', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:04 GMT' + 'Fri, 25 Jun 2021 19:34:44 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"Patient name is Joe and SSN is ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":31,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -146,13 +143,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '66', + '62', 'apim-request-id', - '3b24fb3d-f9f2-49f6-9d02-5e4e3ea0c1d9', + '8ff9532e-bb28-4728-87e1-821e8b835925', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:05 GMT' + 'Fri, 25 Jun 2021 19:34:44 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.js index 30dcd33f5999..0493ef24c705 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "6806fbbaedd6f5fa7f13442920c5eb8f"; +module.exports.hash = "7a84168b9a25f213e63eae0d9e947364"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'fcb920a6-f76f-4a37-a69f-1b766106ed00', + '392a226c-1b06-4292-8509-188d81960100', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrwgsoXVv_JEzvV8xnGbCLRqlqde8CVvWhcMaU8jdcN0eBSmSpXh1mZsJdjcsRBeAJIuoIM-SHHOUce2cPslk2NghevBTnIxUOjaa6f_j4lS5Z9_MUz7vxqCBt-Zar9FZLEdkDjB-M8IqONS4I6PeC6ojU9ZeEfr5z1aiAiwKYnmIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrECdKoyxitXGSmFBS8bIrV0zl4lqM7KB8f-lnRqF7XpJ35oWb2231SjuhmXPPpbHhP7hF5oGQ6h6YBpAoyqsJbTOBE_TXlxZZfpKPxV9V1Syv4ovo44PnwnhpOkmodUvezjPBmvpRKMs2viwCu6mFB_kfseZTEQcbmMruOpGhnjYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:58 GMT' + 'Fri, 25 Jun 2021 19:34:39 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90aba2cfc800', + '97388d79-6103-488d-a26f-595c16997300', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevra5EyUsYAqqnlnCHbukMQJfeY1Cyv0ZcUwQidX4_1jDUXl7Pbu6O8saakfCPSKBlVYmybO6Mau5cjz2xXsIJjqxOF72s0IgI_ZRiLNRxOIb0caT0ckqU3yVqeO8UmEgUBCepXBdW3HtFnYJ9JfM64dLtWDG3a79akZg3P6ztrJo0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrF3EPH30o6kUru_MezZWV4biu1HmHd_y5gx1CpOFD0BQ7uGBkJweo7DyFELGafeWywrYYxXs-7r2ZabppF3IyloP_d7p5QPMwt-GaDilzSZtKuXDuIHXa01JsKV7ZIFQX6dwWzBxMs9S4cgUmTk1NXrvcOVqur1gX7Vb0_28OnZYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:58 GMT' + 'Fri, 25 Jun 2021 19:34:39 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=afa92766-fa14-43a5-9e45-1e9c08483e7b&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed3190a5b00', + 'a9a1e068-3c7e-4040-b4a3-6952baab6e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:06:58 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:06:58 GMT' + 'Fri, 25 Jun 2021 19:34:39 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) .query(true) .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: de,en,es,fr,it,ja,ko,pt-BR,pt-PT,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -122,13 +119,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '16', + '2', 'apim-request-id', - '254b4001-285a-4309-8b1c-51b963243042', + 'a8d01398-0182-4ef9-8573-1ec7ff769073', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:58 GMT' + 'Fri, 25 Jun 2021 19:34:40 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.js index 376bceb3dd38..f711e56f874a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e5cda0607de11d8f629bac112d3a425c"; +module.exports.hash = "5bf2e604e0628fd3b31f70ada6ce84f6"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c0f648bd-c8bc-46e9-8204-c6e0b5c9d900', + 'd486c693-d012-4e6d-a094-1406d18eab00', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCXQ3kNnmqamtFOrq0LrclMi2K6TVjZUTMDVWYRtcq43DqDTX9ruepVjUoEoSFNO9pDsGLfq_oItaZTAQ1nGkXE8RE1EdkOwJt0Imw_jI_y41p3M6l56ZvmJLYYYMaZecit8Xxo1HFAvjt532bEeM1ThtoRZPzfZeYPzJBkXbryggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevriTCcUh33FBM6NFRRBGbRiUJTiDvzWfzfciULc4uAnfsKgk-LFgMFpDgnm_ouANpa5mNMmZOpWKmEOYxHuW4xvD3boL8Wvy3axy7zSb0a3_Dw227y0I69PtaMGuwQW8lD3eKIxz1bamlVk92MvcXRmjurnBQojuzCFwRksw1aGZUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT' + 'Tue, 29 Jun 2021 21:09:16 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '53fd7af7-fe14-4c5c-908f-d54f180e5600', + '58d79bc5-3030-4871-8772-cc5bd7861201', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2gnOYeaOP3K5n4r_YYYjwsrUiKVJxDE-kF1gIv2tE3Xii7cEgmUvFj3uRPOMofgbls0ut_va9s2qnU90ReBu6cd_mjKe2ubWGslLXt4f4O6sEgUhLxDMAP0sLJ2opjhRiO-8-WlFXjkji4O0CGLuvbid91godmYUjXOJjtWnQ0AgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9kIGbhfg2gR0G_wb5wBTQx55cAr1U8WVTwdKeXa8awUKSvtHifhR0Rb-t1qLu0H1phw22eJNX4mjweuWlbMM-Nyhjfq2pg22qlvLsaCs7AW0SyKFZFz5pJXI7RrNDvuqdRn-NY8InuvGPVLmjsOx_vmetVoRx2rGPDryAC_DUusgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT' + 'Tue, 29 Jun 2021 21:09:16 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=a8075ec3-148a-4ef4-ba50-80bf9fb56e54&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03ebdff8cc00', + 'ef774fe4-b4dc-4a74-a261-962904024501', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT', + 'Tue, 29 Jun 2021 21:09:16 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '29', + '35', 'apim-request-id', - '6eefe5b4-a823-4f1d-8e4a-a50381e56ad2', + '0b9cbb03-a4f3-4147-8c53-cc4f104e3c78', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT' + 'Tue, 29 Jun 2021 21:09:16 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.js index 38a419739ede..28f5573116d0 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "f04e7bfbdce2e55eb2c968ca3c3803c5"; +module.exports.hash = "0f494b4e64cd921825d9a4e50c6dbda1"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '796bd28e-34ed-45d4-8002-931898f95400', + '018e0026-3571-4c62-9405-769847410b00', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpYlaRAiQFofObDb-AMkLU3ToA8l_ajIk6ljUdxhXUsLs6AdiiEXc0-0bab_t0v9yqwgjvk5UEb_162m58-qNCBjlThctk-3HTQ_Xx7mazdW3QNMvBVf__xJr5AG9oJTwI5DikFcIRnP-BJ5M_4p9acuWbzkSkkWxDu0cJmZxNnIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrV87bR74K5lCdHMD9YkotpleQqdKL2crG34cGqxMtkHey6vGnp62nA-jTjnu1rV6SQXi7i-ZhRmo4amxsFUH1m8BeH905ima1C2wiq8NJzVK1iiufiyorKdzAkHTJ_0eXe4WiYzTSJiqxJ0doX9ZR_XjbZAUVirdKHOI96s3Hgn8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT', + 'Tue, 29 Jun 2021 21:09:16 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a130b5400', + '6fc79073-90df-4932-b2e6-8a6bf8945601', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrmaUGMgDCWH1Jafnqo_mRuyamwqH8iKyxf9tdmWJF_gVsId9Cr3YgV3uRGnhSlRLyx-aJEG8YctTfbDQiFkvYJNFZEdd_Q6b40r_-n1Tsh1fiUKU0KpcM-aqQ67NWpg0wUU2j_17GVM7JGAGy4ThZ5NT34x8Rt_8qTNIx3EXucR0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrX6hFiWbU0yqD2pX1yfooDE77JA2uL8Gj0Um1C-fGoFPhd0Zf_ysHIORN2JgQlAAZDNiAXy8RK6e5Oiut-KkIzYlM0gtJ1FuHqFluyKouLsxeHd5XnJlf4cooY0yY3xxNQlQd1yx6GpJa4rFSg4rbJz8DZQgWyw3M63LwI79zzbEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT', + 'Tue, 29 Jun 2021 21:09:16 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=ec4633f3-b8c0-4a8f-9a0c-b305f57bea55&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'effc2a94-f558-4e23-9dd5-8d2bacfb6000', + '8359fa8c-10a6-40b0-a1e6-c64df92b2c01', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT', + 'Tue, 29 Jun 2021 21:09:16 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '54', + '27', 'apim-request-id', - '20c47c44-2d1c-42a2-85e8-d893677cd8a9', + 'a639b51d-54ed-4205-b793-c5573aa3fcf5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT' + 'Tue, 29 Jun 2021 21:09:17 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.js index 0d23a6a6e09d..818662247559 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e2e0cfbc5479a10c73ec5ae8ac794a9f"; +module.exports.hash = "8bfa650b81f420a536e37e515893d93e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a481dd77-d799-42d8-adec-a8b888b39900', + '7ee02cb2-4da9-4bd6-8eff-1475d9bb0201', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.8 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKk; expires=Thu, 29-Jul-2021 21:09:06 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9YI0VIDxXlXpgl3aoV3AwjzJG5HRIFb5Kcdb6hRNOYgRdrp08NTip2QrMVk3ABDZxF7jbLTj5cIdYcLPOTHKaaqRStzFYYWwV0mzRV85UF0Xk2ghPKBvagpkY1FLg6UJaxbpRT-qMw23BVr032p5xCnynxymwbktU-dzDK3iZw4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRt1Mamqhc-QhRTRLad-9zYcJjl9-nJiii9Co2xnls8AoxHeWynsCYUokQKq0TAW4kxHHNZZGKwaW775uRMufraxKlhLS8_OWY_NReUrvgrMd5HbBbdOsoLREhdh-0g5Za56pTlQI04isASNtHNG-L6jZSy5bdZKddc4oi0Pr6pAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:40 GMT', + 'Tue, 29 Jun 2021 21:09:05 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a040a5400', + '2e60ad9f-7cc3-4fbf-9e12-dd907c895501', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKk; expires=Thu, 29-Jul-2021 21:09:06 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrT4L3jhGapPDdeI8zgtWitUWyx0IptcwuTy_WTRlaNZxEB9xH4h1d3TXPwP9UGPnmV7UmELsRs1bpuzeyCiywCbz_7xBzl6fcUur33sKpVIpYMm6vETWJpvmuHoSPJVx-ueVLYl2LDgVLjcCjMfdLt81K98MA74V8fsO4oEBXc4ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrKZyeagqSUxk-TCp6OXJouYaALdxQOUB_6XAMgqPdnHRs0N5WzSrFEnQcqbRwIy8WyVs4Ia2rAOMJyOjxz4PQlCDmYzfI1701ZKT6qzhVlcm89yuSCo50TcMUn-NZl-XAMyofNQv_PKElRBlhgGUaQUV8PPRbBBbVI6JoBlsnF9ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:40 GMT', + 'Tue, 29 Jun 2021 21:09:05 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=6b984b18-3438-4a1d-8e1e-e5079808e502&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd825a865e00', + '22b8e306-839a-4592-ae63-e08ed6ae4f01', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:06 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:40 GMT', + 'Tue, 29 Jun 2021 21:09:05 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '5041', + '7546', 'apim-request-id', - 'e3bf2cd9-aeb5-4e98-a168-66b73283b869', + '92ec7c68-6e60-4b25-8df7-ea782fd22549', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:45 GMT' + 'Tue, 29 Jun 2021 21:09:15 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.js index 1c4638e3ceeb..06acbf1eef11 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "508ac4229bd40db46a3a675632f870ea"; +module.exports.hash = "8ae61a024f008f240e95480d720e5a8f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '5ac60c51-d78c-4e1d-9125-ac6dc7dd0000', + '984e6511-2c5c-4be9-8bb9-58056c8c3100', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:15 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7MaoWVZsb0Ws8LTDP3Wn42LQM3NG3BSaYnPLmwbnh1RaeVSyX5GczRH4G1sWdSe9xLUuqI6opquMsK4wNDYUz51ChnWfo8NmjIEiscyNOV6-0pFagq-LFuHlHKjlFAk9-05_VOse-_ZmMNAigSAQvtNUT_pF5NQ5qHoGnwQSdvogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZSGLTyfOCEz2Gz6qKyTYLdVvbERtxAC5EFMXoz04NpW2iMwpYY714rgnY4sxI8qH_mfN72WORAC78-Xa7FgnDLdwNy7n6NHjWibV4pjFyz-Mxsne7Kf341dgMZbjYhXLClpkpX9EJ1MoqqdRN3tnkA-oIKSQjcg_MvnxlrZ5vq4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:45 GMT', + 'Tue, 29 Jun 2021 21:09:14 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d9160906200', + '6fc79073-90df-4932-b2e6-8a6b89945601', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:15 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcUiGUfz2Atg8Zbc9bsh-E6P5Q4EqQtZJlUO8fg9U1BMWhPIZQzSs-7_CcXqydJL68vyAmCM8diKeRQ2LL0k6Ainp1JPUmndva_tjNt9WtF9vSp6NTzm9U_95z5qRPX0zvXmAZpoNjGTbqvDaBsO0Zl9fOqjSxgHE4gvVV2YrZy0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr12_IaD3ycf2iJ9JlNVggvbNS4zlBkdq4pZbKf1faZzmwBaerueFbv-plfZc7nlmM8PhM5LPt4-y-Ee5aaLrR6juIDLximJEJhPXhrAXI92R2Og_C5JlTotfJ2TJdxnH5hY6n98U0omu2hcbCe6BqajOQLbydoMnnrE6_Lm6ruS4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:45 GMT', + 'Tue, 29 Jun 2021 21:09:14 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=582776d3-96b1-4af4-903b-4da89a7b9090&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-321231a75200', + '22b8e306-839a-4592-ae63-e08eddb04f01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:15 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:45 GMT', + 'Tue, 29 Jun 2021 21:09:15 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩🏻 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '52', + '37', 'apim-request-id', - '9e986b0f-c557-46cd-9c84-c3860ca20d8b', + 'c71b4c30-eac6-4719-9ce0-c9ff5ed9e1f7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:45 GMT' + 'Tue, 29 Jun 2021 21:09:15 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.js index b17dfb444296..76a54957b4d6 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "1c1535bec6daffca9d3607bf2cc112e5"; +module.exports.hash = "3c85f6e020029eb63af79a1fb11eb3b9"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '110de198-8fb5-40a4-9d49-4a449c480400', + '260da653-3436-4c38-a650-3f2c01bc6c01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:16 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNZB5WC89fwj2-XkbuyiQ-aLOnCX0AT30QmhLaG3BJmDaiabw24nmHyERiMVm2Hkse_z7ICjK51xH21-ZTCbZgsXoNFZ4W73yhavNllD5PV2iBYIromkx6kJ7qO09hpR_JWalP159RU8t1Le-Mx7yUUzlYbWuSuTBaAtL_kzgiZ0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr_VgVfl26u5jzG7cpdxfCymC5w5rM7rlxvH7YYCjJFoU35GK7C1z7FOQ_9BW_KILHLKfNdtsfdWNZ3JBxoHUI4-IvhGKWu-39PKUq4MKZpmCCQbINRL1h-awNP81p747RDsfaTwvbmV48kSXuHF4WQ_os0ejxPacuYdf6k0mbnIwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT' + 'Tue, 29 Jun 2021 21:09:15 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed3a8125b00', + '9fcd3b94-85f8-49ba-9f7f-934760830d01', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:16 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrciXAkB3uMM8QTFm1NcBk1EwuRpOLhn6qQG9XNpY-Kb89y9m1_z7s6NjgDaA2sam2DYvW9SyMPYfisEQvcnIDA-6EVWQEK9CjE1NOwOJABPM6z_jfeXtMsyj22IcJJbNazVWzTmH80cPb2lXQr__Sn8sTxWpUdSqYnn_ZYPS1VzIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWDlj27IM21n_67dVIety5n_EN5Q9CjRQz7HORnhLN8B9HwR4wFGLZLzgL8en5EDlZtQhzU3NRgSUsmhWXVp8oG9hFJEEDgoPedtlCL4k92TGae3WnyJDiCX0lfqrleGT2ILGgIgYLQwY2zTxXu3se-bVIRoqZFizldAxpI-jefMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT' + 'Tue, 29 Jun 2021 21:09:15 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=4e1c16ac-6da3-410e-9860-c2f01c0ba8c8&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc980a95a00', + '5942818c-6aff-4466-990a-c8d64d165701', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:16 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT', + 'Tue, 29 Jun 2021 21:09:15 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩‍👩‍👧‍👧 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '53', + '38', 'apim-request-id', - 'f3aa6380-4953-42db-9a39-1a8c1fecf8e3', + '4c4c92cb-c81d-4a81-9b46-8b10957085a6', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:45 GMT' + 'Tue, 29 Jun 2021 21:09:16 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.js index 2800ad502253..1fafbdc77f79 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "75b16f84f55c97b531319ad8e5eaef05"; +module.exports.hash = "d608400bb61b4dcbcb0e6a1c9134135f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8e37394f-29d8-46c7-a038-c1322e000100', + 'a662d5f6-6dd7-4026-ab2d-4d66c7003b00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:16 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSKdtfAFY0qN72zNIcmksP1d5A1bNDpNz_0OpPX76gE-DM3SXYxgt7btmzk-Gc3N_dYv-qxGwU0cFe2C4yaHL-vZGNP3euDp3KqwkWoJOU_LQrx6FzyNrVVPNCacmfpZpd13PIc0FCqIZJ7bTsTydYoU_u8l1F1bA7bLP6tI73wAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-HZKqENIMrcqe-VpI41kRCiPIrU0C6BV71oFidDO1-u7322_ynKyTE5I2nFcpBvqgRQ5H-V8TfbF1irggqiQD01nncXrbiwybShot6fQkvQH_p4JiHbL3Uek_fHFmRcjxIiRzcEZaxYWoDy6eyWjgC9FKhA1gRNEIJ03sajkpfcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT' + 'Tue, 29 Jun 2021 21:09:15 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d9186906200', + '6614c87c-7b25-4e3b-be59-8c46f0035f01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:16 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrBlAvI8sNsWoLknOS0Wv8rh-hxNoH8dKp5WCvChP3HsXo64iA4uUsHx5ba7VZH52ZmEtiDbKS5ozRJW1yP6mdfWk0e--xH2OdJeCdzXArtho2bNR3BzKfwxJORoZf1NGQZUUJFFCD1qTfFKoJtSWBNGj7HvTl7nvRTmHY_G_7RFUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruOJFGTgjVyorhabmM7ZKYpJKU8kU6Btl-hzCx2QgaNluBvo9JfI4YFUv8lNdTR6fzThKJOfcEy3yf5e2UZHULNldGBvwhrb2n4YiGBTv6GgrUXQnUl36ngYcY8soGGE-PHF7QhhHQL_YBA85XtrFU7ocgHvYw5x1a31LHJhWxrUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT', + 'Tue, 29 Jun 2021 21:09:15 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=aacb3a82-646f-4b3b-bb29-8ddf0760fc92&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -98,23 +95,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7aad4cc500', + '1b6ac7d4-5196-4131-9751-af8bfcbc0d01', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:46 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1AwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:16 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT' + 'Tue, 29 Jun 2021 21:09:15 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":25,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '53', + '75', 'apim-request-id', - '18214c29-a9fa-4acc-b6f8-7405506285d0', + '7ec5f5d3-0bcb-4c03-8946-cce9ce5141a3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:46 GMT' + 'Tue, 29 Jun 2021 21:09:16 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.js index 345c1fa62b16..f95782b903cc 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "599330abd590c2960b5a9ae0b18f770e"; +module.exports.hash = "1ad6b9965c6e725eee13801e249e18ff"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '718f7e7b-83ed-43b5-9217-259ca7b09f01', + 'e92e5692-8a07-4d9a-82c7-76bb9c610e00', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:47 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXkS52cciXiEagLSDMRfWuTxkZ4yjf4vpB8hjzI9EelL8ugaDGUN_GXmvFc6k3-yRSU64TQvZrIUB7g4HYs7zZKKsATlkAHcykHjOIepdtap7WKUsTQzRFI_ZvvVr3xStiuxJ_U-M7Y2Mm5CzaTx64eXDI67g9OG3UHPnH080JRYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrM0YIuZBzhDQIlAs7poRP7-8gubryJc9GQVnNiixz9wuMU6yh3s9mMhKCNIE3FrCnNqx45b77Y31gMGE9GEmzOYqjgYi03g3_5hFe-AkCV2l1ZgH00JEV5KVoGN7OYKzX3fc_Th79eBIZDaTbxiqHR2BiA4HAa30R-oPPvytbPzsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT', + 'Tue, 29 Jun 2021 21:09:16 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7ad44cc500', + '1b6ac7d4-5196-4131-9751-af8b26bd0d01', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DgAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrwhvbmByidBf12GYYOZxSqGSaXc_jMzT6KUup5RotOBXKLEREvc5PuYUulHGtJkRLmV9maFF10i2mHv8KJ3xiTHxnelEPo_Vs0C8vr9IAHxJKl1lX4GzF0-fvII1YNJjXUlRLAlADWfwFp8otrXrNLfONXHC47DclzxUz9XXPC-0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrjTBb6SYkDyWzDrXx_BU-YnYDP7ldAhiYo4Ajj3lKFRuug7uz5PwM3EdNoIXYonCkys43tHCUCrR9hySTsuf292RQSSWteBM7fx8Xxupxm2cL5yebU5UqGbOkvJjm6T5FOSoHjay1MyihuijH67a1P7H24lunP1bddTQbXFmTlBwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT' + 'Tue, 29 Jun 2021 21:09:16 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=3675d84a-ba92-4864-9018-06504dccde9e&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d33aa46000', + '1b6ac7d4-5196-4131-9751-af8b2fbd0d01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:48 GMT', + 'Tue, 29 Jun 2021 21:09:17 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '55', + '34', 'apim-request-id', - '2db98a70-a865-4bb1-a8b3-e65a3ee5caf6', + 'fa9f2c20-9a57-4d34-a889-9c3fd6c2dcfc', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:47 GMT' + 'Tue, 29 Jun 2021 21:09:17 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.js index 6b85ee9b6cf7..1441a644495f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "599330abd590c2960b5a9ae0b18f770e"; +module.exports.hash = "1ad6b9965c6e725eee13801e249e18ff"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '067f1f49-1863-4cdc-ba39-ee0dfa310100', + 'cdd63f77-f696-46e1-958e-07fc82d07701', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCkMQi2-4PhE8ewRwRP8GDqJ8E2Ivafu2sPcdVmUkD-zADTPXcnXBl-lc3QNZEG3VZTmQxcKZF1DmwWT4yrsoHdFGm4OlLhngkC6nmw6sDcXrLLB54OPAhd7-ZrzDjsIuk4F6px3PXcLQep9-Sl5aQVwohmg2B1wRIkXg8TKAqmUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDACyFmefFkLaBHnCGVXINuyGGrPfaRo3ut3DAlIQ97irrtcCJRF0mkYNdMqR-mHjBHG-mi7Pypk9KtNOrsJMci9NSEegiCJ7ZbtZzvPDAblE0byCU8RGFE4QKvkfQrQd9W3VyNmY1ySoZ_RfBWWUvBngdLrjuijoK5WQuTkI83MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:48 GMT', + 'Tue, 29 Jun 2021 21:09:17 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '53fd7af7-fe14-4c5c-908f-d54f5c0e5600', + 'f0f9d77a-d74a-4c90-8c91-5ae5f44a4801', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLAVV-rW3LBax-PJOQERq39-ybL-G5n_c70aOhzZVQ4naMpo-cMhqNhzGNaRA8o_VFZxhJvRXGNs1yxvgQDlbexVQ5_dlGhcZomgSRA7SmbdvGkxj8A7dHebWkH90U58MT8wv54kCVtzVzWDG488JqBTUdy3OxByZsH3T1dxTUEkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruDgsarFc4Uf1qpPqJsWx0Q32a4aIucbSgPKMcm9TtihAvYiOCaiTb-qNPMJV8ofdfxFGAPgZ0UTQ7m-i4e3VSpfP2rvT9rHqbINnRIqwAXgdz9PzQadd0wiI-Dk2A7rE4KjdIf927UkZuTLv_uH5aHM143a-JSOdr0L8v4yV-JQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:48 GMT', + 'Tue, 29 Jun 2021 21:09:17 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=23eef2a7-3dd6-42f9-a9dd-b239802e09e5&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb18f9cc00', + '6fc79073-90df-4932-b2e6-8a6b2a955601', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:48 GMT', + 'Tue, 29 Jun 2021 21:09:17 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '74', + '56', 'apim-request-id', - 'f5d8696b-0016-4e68-8076-a891195b3051', + '8b7ef000-10b8-4bb6-82f6-b673f76aa67f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:48 GMT' + 'Tue, 29 Jun 2021 21:09:18 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.js index b13a65653e55..257667f9b852 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ffba72cb5e232f6ec7b3614165564600"; +module.exports.hash = "54fd02130ea13f400927c60587190bde"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '31942512-f6f3-447e-a5e9-61ef1e120000', + '688ffa8b-c754-4bab-b8e0-5e6269025f00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-WBXViwSaSVw3dPNdgV0pREEhWD2nCDRxS5wTMCLNjgSf8NGhP7IhIo-_85xwXG9ahU1hBkVi_g7EkaxzJ8DV4a6-GhbMcE6985vx-nERFHtF_C3EV92LV7IlXEnDMKCnWn7EJE5JHGyc7Lg5qct8XHq63p8fnzVUzKcEb5VthcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevryuKioMkgG1ngSOdbyvf8wcdhzqt0u-eO8QTfABQSumQbzpt1dtU35qH0Bgfx1WjiXNRyn2Lfk12x8mzMi1TFjwQwbHvgZKfHGJliw7TKR8g9udeN3VyQbYGFYefPCkRoyIOijR8L-ywZCQcpjF-B_V97L458GIXr_OOfmZ-M7lUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:48 GMT', + 'Tue, 29 Jun 2021 21:09:17 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7af44cc500', + 'f0f9d77a-d74a-4c90-8c91-5ae50d4b4801', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTr8MglIL-sxR7AImyVygEd7vEOr9nQbrNjXfZYEC50rKT6FLl6eoVyQRFM60_VtJzbnYri3Z4jPnhmqRNjih2Zw4bw_ws2YJ93yvLwMAaqM1p5GGgBXB5mosy70sfgiMYmdTkSk3xmTHMr6QkM8CzGtzsL_xMGjyZmK8wHzrHPIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRXopvlGJA1aA8kQIsbRHw_Kx4c0661iuCd_sPlcWJg4vae2994nxPFImnM44-biILZmeumffYBeOFM1oamcQUwP_paMAHd1q-cA64jhQ1gw803prw5L_F_gR8vCuo7lN704nlcKzK4Gbt1H_qmZLxwuLFE1vGh6g7c20XLTQoPAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:48 GMT', + 'Tue, 29 Jun 2021 21:09:17 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=16b8ea81-3796-4c78-818e-b01b5297b19b&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb33f9cc00', + '9fcd3b94-85f8-49ba-9f7f-9347ef830d01', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:49 GMT', + 'Tue, 29 Jun 2021 21:09:17 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":121,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '324', + '248', 'apim-request-id', - 'ce3280df-2ca4-44de-8dee-718ecdbd2f62', + '132feab0-7d7b-4b01-ab29-f67c74b02a30', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:48 GMT' + 'Tue, 29 Jun 2021 21:09:18 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.js index 20177e3309f1..5a1bdbd5df42 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "b4dc17e644d79d90899d1add75036378"; +module.exports.hash = "89a51aa4719dd90f068e5b56f6377757"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '9a7bcbaf-dfa8-4636-b0c1-fab661d20c00', + '1e79b4ee-f606-4af8-a5e4-c28de7a53b00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AwAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:27 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrI68zdiHMVdGZAYhygx14HP3p-NKIEGUVh9l4Qf6B9sJjMgvRLGpc0hn1gks7KK5JB55pfKTxzo5Fsb3kUcHTHatJvdn3OggCu_oG1pNhX7rYrOs3obrHsDIReI_9F2skvNmHD-QMBTyIH83uRWG7VLF6SZwjwgKpc6c0sT80C5ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrrR0p9_QizyyskK3T6TPlCfqB8mY10pb3KuHof4dd6h8HCnBKi_nEq9T-pSFrxYSPFTwcjOGLSj7NUOVDjzi-0WA0qzzuOJMrnYJ6HM1W3R6Kkm6zfs89tBUoFI_ft6-YSrAhtUrSxT5BiiCaoHh73hLM6FFdCJjVn3Ko5zWrACEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:27 GMT' + 'Tue, 29 Jun 2021 21:09:23 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,32 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2fdb0cb9-f517-4962-94d0-38ca20a22a00', + '8359fa8c-10a6-40b0-a1e6-c64d1d2d2c01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AwAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:27 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrsBzbnfNC0iIOjy2JMzONHOjoPxpzZK6SWjfgCbYTDBSA7k3wZCxFoDGp7iwR71RyvGbwBbvrkGL4d1bTUFSvhk47K0m7xEHKwizc4JmN_IbJA4o9PO5a1gADc9QxZYDe3lTJFj-aHGLRU1GMgxIluApERmOOWpVdZ-jjhkyYStIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevre-iegJ4ec_Owsk2lwzQvXJg0rUhjcnoFX3t8LUVlcg5w1Fx2UjPd36RIa6YcBg1pculUPeQQ1HEFdnszlrsZwnNwqIoqEqfvsrmz0GJYjnifpjgp78zwNq85iMvw1i9nhRhk8ZEjfN9pznui9297nz4gFdCVHs5zFEXC1-YJ61YgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:27 GMT', + 'Tue, 29 Jun 2021 21:09:23 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=93ec2406-56f0-491b-b37b-143d1e6e7c18&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=d1c711a3-2353-4a81-a54b-d0d3e5869915&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'e27fc70e-67c9-4965-a3c5-2cb2f1fc0b00', + '8359fa8c-10a6-40b0-a1e6-c64d222d2c01', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:27 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:27 GMT' + 'Tue, 29 Jun 2021 21:09:23 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '5037', + '34', 'apim-request-id', - 'f2c7cdda-d90a-4648-80fb-a4ff29f5b2f9', + 'b296f371-0525-40fd-86dd-e0e102941a81', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:32 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.js index 703c6b9e4c5f..6eae49e169b1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ee234d413d8c4eab29027616b16805d7"; +module.exports.hash = "1d119e0985c97360d15d4d8824690d99"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '22c21829-16fb-4833-add1-646b6b602800', + '65658a10-7c50-4f84-b23a-97036f1da501', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrwjQngkRLsVaymisye_n27_YIy78XBkS9NgFhrpUMXeGjwPXLkthJ7-o8cg0CJcUvqm1b7RKes9Cx4kg4VU6L0DWCgkej3Mnt_SiDSIrv8IZ797udT7iNIbMhUrpPA3LyM54oW9nmfWqfYUusobC_6wIp9fxIRxM3y75OGdA7KKogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8RKEg6yFgd_NCH3v-OB8wUhIZ8wLKPtIynb9tiXhlpnnHlkgN0QtlkZA5KilrhGoR_UkhvDDva4jb8SvdIgk3NPPey7O_SYyFMaD4o60_JKZfRPcKmO0fAJej82zC_t00ZdyW4UXcd3wnGqq6c-ubIUIcpxTzhw0nj8QhgBTTkcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:32 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Length', - '1651', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,23 +60,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1599e2b7-8ceb-4ae3-83b9-3e22c5140a00', + '9f982048-e8b9-4f55-889c-0cd91e7e0a01', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbMM5F06vn8y7J7Iez2mpU9UaHQ8MMKiAkKUDfwVxrWtqZ22aDvclLRhXuyY0B-b7Tdmml_GUDFm4oAfDv2MCnWegbKPN2GjiErFQXm2PoM1bJRzd7p8KMrH3TK4X41RZf9Lmw-z52dNZUyMd4Q-IpcU-1FupSmykJFK6DDQjlN4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWeOqsBi2xNdCH1MJnVEgYNdJRFLclvPFwx_kbpPL-lJ3vIb__DIY02LQLU3CIoVRjM0SnSRmBQpGafQuGe7qRizrPnJgXawqH7_lYc8zWJFrUA1M0lKnvwcldpjtYHIP08EXiIT3vle4HHr6_VEU3pNn9GY3bPNVNL2NrqfAIBogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:32 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=ff7097f7-92d2-44c3-9abe-3236c734cd4a&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=f3791e3b-a1fd-46cc-b889-38c149a6ad79&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -93,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '55892324-3f5a-4fd7-8e10-47d477781b00', + '6fc79073-90df-4932-b2e6-8a6b64965601', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:32 GMT', + 'Tue, 29 Jun 2021 21:09:24 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '49', + '35', 'apim-request-id', - 'd48fd0a5-2e29-4569-8170-518140955c59', + '27a2afc3-89d0-45cc-993a-0d76e01978a5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:32 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.js index 4f8a123eba90..71fe9ae66311 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "2a7d350ec08f01e67b1f176d615f0b3f"; +module.exports.hash = "83521e8e248437ee2888e1997b206de7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '9ed5ed27-6426-4b86-855d-a15904631300', + '4a91a014-4c57-41f4-9438-b76ad0538100', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u8; expires=Thu, 17-Jun-2021 19:57:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrADOsyjCngIWXBk_eMIt7fai-PRkaD5L5VBtvA6Gbf9y5vbIW8IHmlHXivOIYKFQWocvD-SQr_ZJXYtmUYNWkbYowsLtGdt54VCLwKa_GV0wvizchdkqzUxu_qLBf92bXoz85Xp3XpRA8ygk9V0PBdEefx5AM4nCkOawdYtvefLsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrl2uxYaxJud7BNygvAqK9CkKvPXAiMW3hNA5XTndeGkigsuXSCIEiKIQCdSQ8gXFWuDTLaw_m65M26EwOH1DpHaUUWSkd9orwOs5ZChBikOKhAzsBNmMGC854OmNwX7uu4KROoUjRgR7qQGS620iX19_Whgc2km8JZNitdo6ZrfEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:16 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,30 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '5068b5c4-fa7f-439a-bfa1-386b32311400', + '6614c87c-7b25-4e3b-be59-8c4696055f01', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u8; expires=Thu, 17-Jun-2021 19:57:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr96_YYoogXIg4x0sFECDR87haLEiz61IJZpeotiMaBrAvAv6LLy6SxD-f3dbfQQ783MeAwJ3G19OgVSj3vjPCuMt_tLmQtiW58z6SDuZ6MT5dpGYCYrf8B0b9t3HcQ9fgJ6l3zlK_HBGsLQhS0MuBZJ5BxF5-ghRpTiCnBM13GXogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr9TiK7gJ7FmYz8DjU-BQoq-e7LoHA4Go2wIDEglINyDmH68lexJtxy3VfACcSFauIc6i55a47UjtTjrAEW43vfIOFzkA-k1EXXsDCArqRoFD5_5IGc_qTzWynp0kiNEX_6tPcDxTueQZpFKedwwreJHR1HcFqk7hW0pwuUHExWDggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:17 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=ba8c1155-9bce-4841-9206-da2e642430f4&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=a50975c1-c150-4e64-b5fc-eda957111fd2&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '55892324-3f5a-4fd7-8e10-47d408761b00', + '22b8e306-839a-4592-ae63-e08ec5b24f01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AQAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:17 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":7,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '5042', + '59', 'apim-request-id', - '5dbc92b5-a7af-4bd3-81f3-5794a7d02f0c', + '12022158-0d5e-42f4-9346-5b66cea75589', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:23 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.js index 87f24f68d5fa..2b143d4e505f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "5aa467af311d59c44591784dfb836c97"; +module.exports.hash = "38e0c461acfe3ddca957670d86bdac0d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '400a0ea5-d593-4c8b-bb44-7a2c18001a01', + '6e1c46a5-813b-48cb-ae5a-3b908a4ac600', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AQAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:23 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrrokThyuHMm445yKedm41KzDPxBRo1jilrGMUVTAh_hFmLLZfu7fwh9hYfCA1Qh4I3Vgxlw1aH4dyKNPIJaM5tsNGuF1i_BC3LdZTVftaF-JAX8vd3Y-aWxz0Y4SPJ1XlbCyNZE-DcGyUF2-vI0sWq5jB62VOzpLE1HI7AGyybXggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrBhKzyRnjFre2B_Xi1AADWVLvJvfmU8S9-T3jrfsbhFfmcFk0Nee5ZWoYIZfF6wleq97cUiezLdggPlUEGUg5PR9kNmBWox3_TkXYgO3TNR136nktPwVyHqRvRyM5AL8xxB2sJGLQF33P9YCeMDaYbkSjkRuUr_Iwm29hqjSYEPIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:23 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,30 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'fa2cf1f3-4432-4d86-a2ae-3b757c0d5501', + 'ef774fe4-b4dc-4a74-a261-96293c034501', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AQAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:23 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrdi7MQf06mVI5T0hDgv31l4cYlIyInhlbjJpa-Uw60KamXdCcqw78C0vqmIIQFyg5RgntvQ8S8MpNgkwMX8Rf19DDXBYbWj0lVErZdiirLnbNLkQsSQ3gY4DoDeHK_4TkA7ClleY1dMtsjulGW4xJixnsLZJpFHWENCQsrhsXOwsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqfUpcs6sFX20DVaH6fimZ5QfLxqYd8DnKziR3Zmumoj8eTAm4nWtjiUBeN3trSonlIkrxwkJrmWOWpD9T7BRnR40RelpmHJdjBjj_hcz3lAb2gcy_V1XHVNbKai8qMwxGMlPH-UTZ4k4H4ml8_wuMLAmpiP1x2-ihzHm3WuE510gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:23 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=14b4bc5f-5f4f-42ad-8b42-ad474e972f13&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=5029a66f-095d-408a-9327-4c08323cb8dc&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1599e2b7-8ceb-4ae3-83b9-3e225b130a00', + '5942818c-6aff-4466-990a-c8d6bd175701', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:23 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:23 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩🏻 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '2568', + '34', 'apim-request-id', - 'aed92e31-c827-44fd-b404-9631050a25df', + 'bca0599b-790e-4f13-adc9-6d6764ada6b8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:26 GMT' + 'Tue, 29 Jun 2021 21:09:23 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.js index 4a177a65d466..f5519ce959bd 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "fa12da6e9e07c2cacc94d685159a7cff"; +module.exports.hash = "f9f7157c7614ec76faec095e88df709e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '813b8fb5-2cbf-456f-af7f-e181ef390e00', + '76a84bdf-c7ba-4026-bb70-fbc61e032901', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrru8Z4IB4f4LmP6jNiFo4Fd5_vTVT3WDmMgdJkR2ecStiHaOa96Psn-lHFQJQRpkFVB7fqjPwmDieY9s_m5AhmOaw_KXRVUVjw4VwDMrNq22CCAQH-iGv_8YCWnPzPwidrAu9D3JZiXDtxCSR-fAD-8oLgdnb4Ch-tZDchRs8m9IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXs3aAh1YQeCnk9ZTRm8rhIc_CqlzhAlP7R3cirlZTFjvSjQ1MRGXh1f2arlB7hgmopLifpn1Ur9cdBgUxjLnDPqq4aozcPR6GG6AjVWnMDM1ZjKKrPa-tniwLNTA9LU-42EXXyqSJNiRUP7d2munLUDB70Cq28sJzyxdcvutx7wgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:25 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1599e2b7-8ceb-4ae3-83b9-3e22c1130a00', + '8359fa8c-10a6-40b0-a1e6-c64dfa2c2c01', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:23 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd2tF3AOZUMQFJX8lwaLSylRy4ARAz6LjyQrgAX0qQJwn4dS40Qg1HWbjGcToNbg4oG_5Xz4BrXZINkxUWdeTFgzse-EZ4rPmYoasfRnv0ECC32uhQiVgHP9FmZH_qunM6jemR5kUK_6_dn-0nUHpBM9S5Vp8wc46Vk5gpEXyUKIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDEmeML662T100_kDi03ZoQvpO_ddlTPnom_vEEmmWBKgzx2c9kx9cNah3TVCt2RBDpSF41OBx9zoL4en1iCvpcN5yaw_jQN7dnEf6-zC4lUVa-ohzX1JytmZyZWp-M1UXUmExl08Hq2bInAUksfE-IJ_D69sjAg2pITjKusEy10gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:26 GMT', + 'Tue, 29 Jun 2021 21:09:22 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=fb1a15e6-82a9-450b-b7e7-06ef4783a5a9&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=79020e55-b6b6-4992-b379-4999bbd1cec7&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -93,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1599e2b7-8ceb-4ae3-83b9-3e22c4130a00', + '6fc79073-90df-4932-b2e6-8a6b2f965601', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:26 GMT', + 'Tue, 29 Jun 2021 21:09:23 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩‍👩‍👧‍👧 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":13,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '77', + '55', 'apim-request-id', - 'c5fd35d6-5aeb-446c-a6af-5c6e197faa49', + '0ba8fc85-e23c-4431-b418-88543b70107b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:26 GMT' + 'Tue, 29 Jun 2021 21:09:23 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.js index 00c87be0def1..323e86475825 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "b14f1d01366f6dcee6f700ee4a06846c"; +module.exports.hash = "83e235083503e938867e37c3a69e1f27"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'af7b719b-c1a1-490e-a8fb-316920c50d00', + '94db4d2b-34d5-4539-adb4-382107b00d00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrKa7FnjF9w-x12LdmS9_DO_MsptaV-_z5iIGllXkzHq8xlnzCZvEYSjR8cv--zl5hQHKtxfnDoAw_SAx_wAp5ZtBgGC24vTfa97BKOE84D_vkHALZw8jMaib5anZ6CzMWKxwWfzrHhjGyg-YxYtgYiSFi_BLut1-q02kEeGaTTJkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrURox-FJWB9FuMzDIMKEF5SKAL8zjqxcctUvB-NDfm0YJqsgwyn1JrFzq0nW0ZrrZZqVOVJe4dsFBY7CmVPQ_s6VJN0t9IhJPsMD4LPnSD409NJj1-mkHfX-9SqlL27JAtR5_HMi0A5uiQXaJrRm5yN8pP1niCnmHgDXXMPXj8wIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:26 GMT' + 'Tue, 29 Jun 2021 21:09:23 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,30 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1599e2b7-8ceb-4ae3-83b9-3e22d2130a00', + 'b6951844-4170-4f7d-baa7-92c1cd714301', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIDCqNZMG5YtjZSgWgO0QcxdWNsGA8x9I3f_nhcT4aJXn9mm5MAgQD2-HI65sPX7sJmmM0R83wYmIvI1aUVW7PvaF002RvoF1Quwp95UH3cDurxrZsCpljMyDwZDBGDnu6-9aoat1CoYeodUcrzcaWfAt37QO0H-rB8qq7OrEdqAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIqbb_3k-fu-vhQOBAEkSrXsGd5ZQecARd8oILRpkzBorqFxEkhiKTCEm0QT2bVIuGbta_Al07nkxJF7Q1sYo3oXMRDYJpbsi5spQzhB72-PSLhJMKGu83uVXjHx21hRrq9DHRWQZQa3O5Au3qTFr5nzwcY4u3bI2vHSzm3BFg58gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:26 GMT' + 'Tue, 29 Jun 2021 21:09:23 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=e2f32def-d153-4aa2-90cc-d1936e8d4d63&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=a3ed8156-3c0d-4726-80c2-77fc5c6e0489&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '5068b5c4-fa7f-439a-bfa1-386b93321400', + 'b6951844-4170-4f7d-baa7-92c1d2714301', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1AwAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:27 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:26 GMT' + 'Tue, 29 Jun 2021 21:09:23 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '54', + '39', 'apim-request-id', - '28868ed2-c765-401d-95f0-3333ee60de31', + 'f2bc4126-9038-41f7-b678-2b3c7217986f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:27 GMT' + 'Tue, 29 Jun 2021 21:09:23 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.js index ed410fcc964a..1c89539aad62 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "cc408f44636982603a1816bb4bc97355"; +module.exports.hash = "80f00807f4e5acb097b5d87cf6797700"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,26 +25,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c4ab00bf-a378-4593-b3c0-ad73a1bc0d00', + '1b89954b-6558-4aac-941c-2343c9361e01', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJ9YktUwU_VEMLP0_efO9eFZX9T6vKq9iRxy5_tT2EogD-TT-G9TTII9v7tkATimIUOHDsIZF7ZcI7dCXuDU4V9NdE6RjTF5kEW3xTE6pG7xyRs4sMszR7N4T4F-o_GGOX-8mo_htS9CSh_jYVPLsx465NVkEaihnvWEHmJ8tySAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTfWYegurM19giI_EcHquBvpOU9k61hyFW1uKqAliwIz_oksxoxKCDeKjeS4PkPwenHkDL0F1fdvpuwiJYVe9xVWw_OLYPL_nnCYbx0y9RO31mEI-8h-up1L77z8Y64_cFOtsN6Vl0ibX_JE_AXoK7rZPJ7jt6gWsgLr76ZjnOIUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:32 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -58,32 +60,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'fa2cf1f3-4432-4d86-a2ae-3b75140f5501', + '8359fa8c-10a6-40b0-a1e6-c64d352d2c01', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrX-CpO2ilR5U1dAYLp39scXcfYg28jflUW3k74LRViEFZnxvPj3hrt472zMta4dKFSB9rE6QSK9WTl2hv6u-jIWDZUSxrVELs9WOcN4BS893ZDS5sWViS5zSUrqYSFUFYVhHZQ68-QllyYGQqEsjzCEMJPQtQzYjCndCyD7XX3U4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYaJ_UmZ-ysZkepBDisIu9p8jlDxbvnwcQlLm69Bdq_Xu_PvZMxJENFU8ODs8UlNihz9klXedQ8LP7SSK3klt-KBQkw9xy96jK0VmzSzGzQwyXS1ElFmP0eqV1gWk62FiCvoqMcXA7_WbkJYcvWxJ2TRQaSYgBLL9_6xV5VueM9ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:32 GMT', - 'Content-Length', - '1651' + 'Tue, 29 Jun 2021 21:09:24 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=035dfdd3-e30d-47cd-9f97-d9c5e9cca344&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=8ba5d546-0ffe-408e-8896-0a80f12dc339&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -95,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '5068b5c4-fa7f-439a-bfa1-386b7a331400', + 'b223425b-649f-4ade-ab87-791f82f63f01', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '57', + '31', 'apim-request-id', - 'f55cbd31-b539-4aa6-9d9b-adcdbb7f2550', + 'e1711803-530b-4d63-a61a-c0c0a8924177', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.js index 6ad2ee0368bd..c27af5e4499d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "cc408f44636982603a1816bb4bc97355"; +module.exports.hash = "80f00807f4e5acb097b5d87cf6797700"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1017975c-08f3-48f4-bffa-ebd7080cc100', + '52570443-2dc8-4f67-a51e-edb2539bd700', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGVqPdLDlpKaRHjMFTKFZYDnsJbkXne9NkloZ6dqGKRqigduiIZ_z9zcb5K0RXszxOxP6XixkoQ28O2_KO980WlPydEjEgGcdMwQlZphr8TpJ0hQEFfLIR5JG2ySSXZfBSIbClB_V2MeG9kTuEYCNgN01-co48P7SXL5N2tGZv_4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrgri3qpPn5CD0l5GJIUhN5K8MIoxTOd0Tlz63a1698Ngt_g-L7hC43WVdd-Mz-GYzML5sLn4wvvPWt0DsTjh-oJvUL9lc4b19QbOCS9wut9BNHVRlv9xFGL5MxQXXtop93JwFnBlaE9oiWgImc5fXhLxz4H3FKw7LmIdunghw9wYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,23 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'fa2cf1f3-4432-4d86-a2ae-3b75210f5501', + '9fcd3b94-85f8-49ba-9f7f-93475e850d01', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BAAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIaGZds_VgJHvT6WUc8JTjJQpPoJonaY-cE8zba7SEIrUnmhqqxxFooxZ78uBR94oLpo32d2yrDBL8UUI6N3MPQZEDdjlV1m8cIFdGNm6E8LGfg037oxySaxhNFzCmQiD7eJuIspQlooGFu0Y-Y3Qw4svxBZ9o0pCqzV1wcYEeGIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQFQv-1yrumX2Numci6cUIPc76qwnAn5uV2YLxcRz86jxslYZ2e8yIZcHbTxEi1NDHqOdPnVTkSbZ2kWVLSdlCTCG7ADtfflaxdiqJlrcrv1i0HVYCQwT1SR1sKumhtVhyNkg1zjsTJVbimhU2X5rz3UB-nhehx9wMP-w8vyvnVkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT' + 'Tue, 29 Jun 2021 21:09:24 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=48cb3deb-0433-4c12-8f1a-e7e2faa7284e&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=afe27445-a873-4b07-a660-9688fc799d75&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -93,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '0c12bf2d-e769-4532-b622-06dd06962900', + 'f0f9d77a-d74a-4c90-8c91-5ae5e34c4801', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BQAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT', + 'Tue, 29 Jun 2021 21:09:25 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '56', + '59', 'apim-request-id', - 'a14c44a6-713c-463c-bd54-63df072c963f', + 'c05a0a63-7cff-49fd-a690-ff4d74531f20', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT' + 'Tue, 29 Jun 2021 21:09:25 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.js index 03db5761d410..fbf092b05f57 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "dd6a5c70d22d14ddb45e8ee746c36996"; +module.exports.hash = "3d8f5ff2696a159219b33712bbe0cd93"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,6 +10,8 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -23,26 +25,24 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b676716b-2cfc-4af7-b382-c8a762524a00', + '58d79bc5-3030-4871-8772-cc5b67881201', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BQAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLqIChWZYddxopyzy8BZbwBBNKTysS-9EdryrCSyj5wdK8Q1PStnC1V6bSyx71rD3Ih-_dyJIw_0gQOT-zfuygse8VNiGJdIh9ZI3ghROIF9Ds4H4xJgjpgIkH_6qfafUbK1FLzXvjjnSGiBolC5_PNLSXhrEnJr856f8ijIdpEEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUKswQpKbK9iuYTeM5biRE-W6eefA_puThGnI2JGBE5Gtw3i0yj4r1nPWL-yFs1PFOm0CbFS7t-v9i83qU96WkfPlwVu1jj_48ZNPhCcaJy6hvG4aJ_p-tY1Gh1fZJRs8yAW-0aAqwRMhbMzCmMz8eifmoFjqKxuJYi8EFINFNnIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT', - 'Content-Length', - '980' + 'Tue, 29 Jun 2021 21:09:25 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,25 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2fdb0cb9-f517-4962-94d0-38ca4fa32a00', + 'b223425b-649f-4ade-ab87-791fa4f63f01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BQAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRCkm9nHxSoggmCTfxa10QlZeZ_YK4nXASjFpdfkm33AragW3MykVNfFEQld7Tr4IL1KAhS6S2pOz6Z6IQRq4oR9tyoeefG-W7W8lUm6oUrR8H7UdgcmKrCLcyikRy7DsbJSDM2__4Uy4Pg8DXWUWfwsAuqhfVzAa66R8cL1YnrggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0sJHCwdryZR6yigLMJe3te9RvK5vJ367u8Li5YsmuD3U0aRcckwjos6vwr8jGzNWSXEahz_q-2V566fHj4KDROR1CXS_BUgNNqlmRcTQTUwYKVylNFYfY2WtCUTkPpsqWHRGY92hML1aawnMib4LOQ8VOX4MLOM1pfZK8nVQUPIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT', + 'Tue, 29 Jun 2021 21:09:25 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=1cfd63c3-0aa0-4ecd-bebc-2a818d18698c&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=deab05a1-76b9-413c-93dd-a5663270a5d7&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -93,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '7cb453c5-4555-4615-87f1-596bd1ad5e00', + '0ac405da-01a2-4cfb-91c4-1645fe390001', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1EAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:33 GMT', + 'Tue, 29 Jun 2021 21:09:25 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -121,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '138', + '233', 'apim-request-id', - '1b6f9a80-14ea-46bc-97e8-29c52882c07c', + '0cde660f-b5a2-492b-8c8c-05367e504da4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:34 GMT' + 'Tue, 29 Jun 2021 21:09:25 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji_with_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji_with_skin_tone_modifier.js deleted file mode 100644 index 18d53fe9ee15..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji_with_skin_tone_modifier.js +++ /dev/null @@ -1,136 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "f1ba6aecf3f85afc7098f87135cf0c72"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '980', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'a82310fc-a57c-4352-aae6-ef4f43a86c00', - 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:54 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2l3--u5HsjIv0_OhajzfZziPCgFLDPgJYWTRwvGG7XqsFjH4GfsgTeHVkH_mRAAHrKy1FtGa7EBBDZlRSZUChMV2vCRe4bUdhH083O6_6vCEApnJcIQLstvVBL-azKGfUFxxfKY5ZIrpVKWyvrlBuZwYPS_lkiahHvLgeFkvFM4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '1651', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4642b5a00', - 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:54 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5lc50OIls712kUv5x2_T-1Ks0Rolxa0fGIIe_SBHv9B-2l2DJLuqy96VeDVb5hKOaBU1BrILtlnelgw9KN7UylnBmRNbwfyJkZ-OxigWC9gvDbD460-Er3mLZr-XoTwCFpNejtnxP5BP1hbu7noWLuRMg_8WKKFAz_CdyR4C7T4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed332145b00', - 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:54 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT', - 'Content-Length', - '1331' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) - .query(true) - .reply(200, {"documents":[{"redactedText":"👩🏻 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', - 'x-envoy-upstream-service-time', - '56', - 'apim-request-id', - '0cf6a0e9-0c67-43d9-b140-a7a03b2bf6e5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:07:53 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji.js deleted file mode 100644 index c72afb930371..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji.js +++ /dev/null @@ -1,136 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "a402378c0870e01c9b7b6f1875e0a302"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '980', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '8507ff2e-b5ec-4702-8a57-bac622a26e00', - 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:54 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr98rmbVITiJU9XphAWXt05WXZ7PnhxjuUMGJOQHjmd0ccTRj5x4UMrBsIZ8Itky2-Ll4p_SnAF5XfDVm4P_LhyK1FosVfDWnRQxE4216bG8EGOMZvxm-os3FbiuEM7fUje_8eXhzO37f8b383dkTPdDuhc5950StZGexZbGQ47W8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '428c50f7-d2da-402a-a895-3212a0a85200', - 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:54 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevramL3WmebWFFJfytV2_33QL4ZwTFbtAEdf-qyhbYgsaV8jw5RaW4S9PIzpLkcJ6K8DEn_2lMrCj6QY3YR6gSIKuJHqiWzY-acCSEddipDLz8H_c6ciIJQQ6hXuHXlfUdnI0Ecq4ASkE77v4R6Dt5k1cvsOTEZufsQO9a3m9D-nYcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT', - 'Content-Length', - '1651' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d91fd916200', - 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:54 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT', - 'Content-Length', - '1331' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) - .query(true) - .reply(200, {"documents":[{"redactedText":"👩‍👩‍👧‍👧 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":13,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', - 'x-envoy-upstream-service-time', - '77', - 'apim-request-id', - '513716ca-c511-4041-900a-c9b0110d3b4f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji_wit_skin_tone_modifier.js deleted file mode 100644 index b362f3ca5a1a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_family_emoji_wit_skin_tone_modifier.js +++ /dev/null @@ -1,136 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "eee455408027c2ef3acc15cb29000eb9"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '6db67f44-7304-4f53-a1dd-4d3576518000', - 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:55 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDGOP8RKocpMTKE37jrEr8h6ZVWpeGr8NoWcg24pDkQDP4N_sfeskoRl0satfUlzHTWrbB09ea8uB4zx1-oz0_p_POMCSPy4aL_8_nEJzgSjYALp20PdyhSQwaTSii59UCEs2xDl_tLPS5z9nK5_9E3Awy9qwdwQpQ8cvxjX4OZogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '1651', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a280c5400', - 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:55 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-3M_H7YIBELhOaN4opCy63B7IHzksLSRx2nKGg2XAWk4mHEhY14a7WH9WZZBZJRGaNYmhXICUjdZM78F5aT4cODM12RDmXiTzbIY6Re2w8Y8QCaukHLbAvQMxqOfLswZ4vIUmrcnGTOfZwaNvJrWxeqq-4fX_6wew5MYxQMWotAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:55 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc908ab5a00', - 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:55 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:55 GMT', - 'Content-Length', - '1331' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) - .query(true) - .reply(200, {"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', - 'x-envoy-upstream-service-time', - '36', - 'apim-request-id', - '8293f249-459e-4ac7-a836-9e68a96dde1b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:07:54 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfd.js deleted file mode 100644 index 3cf77964dfde..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfd.js +++ /dev/null @@ -1,136 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "d06190b0bf0ce0844d2eeca875e76e18"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '980', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '7c718808-50fc-409c-9e1b-5effe4610600', - 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXU_vsUcrcqYyTG4q3wg6UzeHu0eolhtqYEj25fJpjZwk-YsuRlKJnsEIW4IZgcbcqmGHNfUUcvjhKL2DGEmj9w4yx1EupZ_pbqAjjC3lqyOaVKHV0F6GmXjk1eXxqqyVBknCfoTZoxeHloMgJnzRmktZwpJ2Jf5e7SEugZNlVHUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:56 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd8218895e00', - 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:56 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrXwPcIXpJOw21r5Jp4QK4eTVyBOKC5O5i4pLjIsllde1FV6d3Bk97XOSeotHeENhF9JmXUvcnHnxVcOewGaVeh0XacPkIbcV8rd8h-3txGR0cKyemEybiAJvN_UjLLlEalYc4qj0ZLGG33AFTZl0dFRy2KSvgPpugfr5ZoCfKmVYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:56 GMT', - 'Content-Length', - '1651' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86398,"ext_expires_in":86398,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '992d1a63-daeb-4e71-a072-889775c46100', - 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:57 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Wed, 12 May 2021 19:07:56 GMT', - 'Content-Length', - '1331' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) - .query(true) - .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', - 'x-envoy-upstream-service-time', - '77', - 'apim-request-id', - '3e31a8b6-24a1-4266-84fc-3748b383438b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:07:57 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.js index 6299e795f384..04d5dbac0539 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "c6050dc9ffc3b922255fc53bc2200087"; +module.exports.hash = "75554aece4db56a794c8fd18e29f84aa"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '7507f7f0-1e1d-4b21-94ae-309fa4947500', + '3ebb228f-346b-44c5-8024-34c457504c01', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr11iE623YDGrOAxqP4lOMfCY3ftYi0xUqbBb124hh1Kd5kgwsWQprDk7khZRXHgxX6jDCl32od2QmQrymGaCyOmrAVFP76aXntlIRnnP8iqkRBM_nssm0-NzOSdHVG5p-OFoo8jELDXd5pLTVbTmlfB8lo-qT7NS822JR5s0_xdkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLFtZ49sUc7LgquJRfdn44UjdOIW-iFmbgY-uPuA1vXd-wFQKZFHZTxLsPgYDvVz5gQHtuy03pOKCbe6qyHzKkLWnRz8ThoIqdRZaQBLsHz_pp9UnlVikPG95pT7qfkOxoR5pTsxtkXUV6ZrvK7ewDAwixUAPI-qCFNsFKY2BQBQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT', + 'Tue, 29 Jun 2021 21:09:19 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4e32a5a00', + '6614c87c-7b25-4e3b-be59-8c46f2045f01', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbYTwM35PRtwIuhtbDq43i0PYJs4RpECQjscATwkRgdHdAPGBpqUUdRPx08pczFCx6LmyYhaQ6_EXsgDZ4IXydZpAwo-e7JydUSUNsEFeGuwaZoHkDJcKmGS3ue6up1czn1tYpM00ofmeDI0kKnojt00QQFSvxXJloTsLX6qsWWkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJ9UOJ1DMgQlKR2_xgDEfjMv33Bj_G52Czo8rTbhRtZlLKZZmHrqxJ0e3se2Ut3JmBlftiTdOVypNfLWBxuC8gVo6d3VRjMqpcCzizvQu1FG5aK3UQ49mG_-D_KPZbCGqMIwqPpLrBfGf9FcX5vHU_Iry7rYha9G2-pLNdG1j9DwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT' + 'Tue, 29 Jun 2021 21:09:19 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=a3e1df0e-ff86-4fe4-be96-b277d65fb55b&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb8ef9cc00', + 'd702b7d8-438f-409b-a0b1-50a8bee15101', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:21 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT' + 'Tue, 29 Jun 2021 21:09:20 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '55', + '48', 'apim-request-id', - '5f0e58dd-8048-48ca-94f0-09bceb0ef9fb', + 'ea203c9c-8a68-4c5a-9393-9c9e9109fc31', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT' + 'Tue, 29 Jun 2021 21:09:20 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.js index 545c88730ddd..e6be527190ab 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "13907b34ff65c5c5b51f4f4b8e11a36d"; +module.exports.hash = "29c8e9f857f7d02d5af8c0102f103450"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8e67d787-4a99-4be8-a999-06dab7b37700', + '738576c1-1f51-4774-870e-8c886ccef300', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:21 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGsC6nuGVywl5mtO2ZJ8vJ0efeoQ-eZT7gqb5vKoCVkSENesIjn188NwzZGovjaswwL1SYovvVbvn3okJZTEkvs3T-t89aZ9dOa3lC0XJFjgS6g2miHv9TBPaXAcp77rO0CnYOvs9NRRlxuPfbvbhrvFIAZ0BX25n9WcFYIWHyGIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevro-IiDQbavJ3STZQB-h6DTqxTha6fp3hGU1wKHwjMlxBD3wxLi-UWWHFkCHybJPcQUFCb5_LJ97Q1bCf56hDGDILdVUj8xPR71yH6ed56GcoxN2n15k0bJx2-U_sgiT0iOCTz84ok1IiPZdEQOpdtT1vHb-nWybubT3nzGZwrsqsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT' + 'Tue, 29 Jun 2021 21:09:20 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4a103786-0d77-407a-b76a-a289452ed400', + '22b8e306-839a-4592-ae63-e08e40b24f01', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CgAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:21 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGUfqZGiw7MeuhRERflbHlps5NXFnVQ4VDTocdvuiICkOYi_HpUQQGXZzHJjuAwUfmxmYXljiE7KFTH5DdoQrX4rtv6P5eNb-EX6yrH8bJGQpSbUjb-R8vudfO5tlVAHRo17J5PDV8Pa1upgGDixrWE9qh3kDabO8rDWyadYNo8wgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrOCA_Hl_sy359lm3woqZf_vpCJ-IS7l_mV5ixBsYUSCrrJOHCrX8uotzmdL5bs_39RghbIBLOxd7yo2sstQmr7CEqt0dUNDd-KFRaePf46VhUhfloeVpKTLO-6vTvBrkq_UFW40p703f6HRjYqNCH8IYvulmJzSGQYj5YsWBOMI0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT' + 'Tue, 29 Jun 2021 21:09:20 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=9daf4f6a-fcc1-4730-bd43-1f79ba2f870d&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d3fba46000', + '6614c87c-7b25-4e3b-be59-8c4619055f01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:21 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT', + 'Tue, 29 Jun 2021 21:09:20 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '36', + '28', 'apim-request-id', - '71fbbe04-af70-4aa1-ae2f-9217066f15e6', + '64a36505-6839-41fb-b205-eda0e4a63892', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT' + 'Tue, 29 Jun 2021 21:09:20 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.js index 0bd02f567ca9..33e0c55d0b13 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "361565427190c36bc16585873215f876"; +module.exports.hash = "12b6a334f86fe91d41114a8211ae608e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'db539be7-249f-4efa-b821-5e81a0354501', + '5ed6318d-aa34-4d8c-93ba-9c43adf0d200', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPQZkKzyi38qoRvlLrjSd3gIAdxaSbEgXCq5pmBfILtqfIczF3bSpLAx-FtyIg-T_lCdfdoYqEdEKPKQQAKV6sWOePy58KJ9wlZRWhuqjD9yVyGwAtEzWTHKMuXGjXliOJvf67dfk8Fvref90YPHDa2ur3VjsAWsDp9ThPB748xEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrmIbi9GbH9C3QPo68ifZ47XFoEtJQ82AQHWPzLN9LdgFb7qUTyYqJ9gyJ49JO7pQzX_5GUoYruVwMNQjSyTH4TO0HBAzm5TkKCVK63wgJWyOaFE5HjC5ZPFPWbge6GJ-0Md-OoPAVWwDeF1tAK8AvOOYEZkLLxzqZl_oEqzdy53ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:49 GMT', + 'Tue, 29 Jun 2021 21:09:18 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Length', - '1651', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +60,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'dac8c720-7f5b-4daa-a8aa-ada5171f5600', + 'ef774fe4-b4dc-4a74-a261-962963024501', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1BwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSd11aOoBYlrRn7T-Oymn1HZ1qVvY_yGObmFYiBZj5dJUZznaZqeOIAM37HmDpC7lLUFRYQybWlkyo0x9LZ2CET4CLr-GQXgjsScUFIikthZmfx7BZsnXUWSMD6rsvEsew060ldrGvLa3QVim7snx_3xDpDZ_1meqIo7YI2jL0vogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcceCusxu4DY731iMIhKcgbX_TvDfc9s7Yj4YuhQIbVr4eJvUbjh25u_QHWHPUU6cJtvDCG8mA8GwiucLisweI1kNGJ01ZInw3p7sy-5tNXaAEMhaNhCA4BP0dRwfP67pFII4roMmUc2mEx0C409eAtWLVf_SqzHr1sIkDQ5dK20gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:49 GMT' + 'Tue, 29 Jun 2021 21:09:18 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=2fef20bc-91b5-4764-91c5-d43a16ce2961&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed352135b00', + '2e60ad9f-7cc3-4fbf-9e12-dd90be8c5501', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:49 GMT', + 'Tue, 29 Jun 2021 21:09:18 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":7,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '55', + '36', 'apim-request-id', - 'd31744cf-7647-4561-81b4-6fd99bcdbb62', + 'b456aadf-74e0-4096-a867-993a56bd7ec0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:49 GMT' + 'Tue, 29 Jun 2021 21:09:19 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.js index ab88cc73344c..c2afa581e56e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "15ca518914ea3a2871ae553d599e89d8"; +module.exports.hash = "7c8d4de95da91bbbef328a9fd5fde2f1"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2267d579-1dd8-4bb4-8552-f678d8889d00', + '30322d13-1965-49d2-a868-a7d556d40a00', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrbAlWlMTWOxx5828RPiCMYVyWDB00I3MptSlDgBLfVMUWFqpLUW6n96xnJsLCSy4fvJ01dzfWnFH1zstzDBrmpJR0ruHicA91T6FUNCHoyxcf52M69v3Ear2iAwLWSMAsX-RylI46YKt-eCkvREOflYxYbZAzmTL4gfQ_5HmAgNcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrxja1OngTRfr3GeXHQU8F_tITpRwxarcH0YcHw1hsLJLO6-XDWVsoaX4sATA0HVRgkooDantPI8Z6IQR2yKDmQ8B9O2qbJrquI2aC9PAy51Og2So-4Oc7npyf_6lPq72Wywjj2ed1ddgyH2p-52HxBLIxfXyCSwBFoDka-eDNKV0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:49 GMT', + 'Tue, 29 Jun 2021 21:09:18 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4a103786-0d77-407a-b76a-a289f92dd400', + '58d79bc5-3030-4871-8772-cc5b3e871201', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtZMJJ9APp2IZSiay8r46ijdjdKFjP6sTRt9_34Px89PbrMoTSvR7wCCqJPweo5c3zb2dZa1iFKC2DMJR1oUu2EvoNXM4R2Vyg7xXoD51pWfIbvZtlBRa0REwpSrMy2xg7zJiCqwnTGIl8UubQbCRKVMTy7Nrcp8mT8dTBTDYgYEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJa70beNWP6Tnyf6OO79zBs5RkTUm3Kw5NiWswIhcR6khZAl0Drwxv8afT0KFx_bcyf05j2piDM_3pV6s8avhILENQtPv7YYnzCLJocyL6WIekGD7lVM_neLTqbzFyyHJpJOTweto6YsXO8izxkyrHucCdch8UwDISL4gwb2OFnIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:50 GMT' + 'Tue, 29 Jun 2021 21:09:18 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=06a76d9b-dd89-4a6f-94aa-e32d8945df96&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eb60f9cc00', + '11002d59-d7ef-4cb4-aebb-0867490c0401', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:50 GMT' + 'Tue, 29 Jun 2021 21:09:18 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩🏻 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '53', + '54', 'apim-request-id', - 'dae8756a-a356-4f40-a512-0b0a1ba11207', + 'df6a1aa4-cf2d-4cfc-93c2-5adad87ed0d8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:49 GMT' + 'Tue, 29 Jun 2021 21:09:19 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.js index 4146db12542d..47aebe69877f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "9743f76c8d3ad3533c3df1316c7da3fe"; +module.exports.hash = "6e5e53c2e27941c69921ae711a3d42b5"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a35cef9e-34e0-466a-8d96-fc31978ddb00', + '1a10b2f9-6f92-417b-85d0-6c2c988e3b01', 'x-ms-ests-server', - '2.1.11654.25 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPNGjdEK2VfSCHdkJUpf87AxokY1vX1pQtfhLMrSjvZnf0jKqzlw_7V36Nhqb5luWrOngDx0A0pY30liafJ1i5yGymdZHLyDuZALjRvfu8eVYxCgftvDPCGnyKLOdgj6JGHYIVHYCsF34Jpq4YqixAfcO_yd96hbRxE3dh4X-JgQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTz8p0oT1a9KP2uHGBGVnmc3dLNZABIgIugKIg0su4GYg76OGuyWtV8O36uLo_sNlm2cZaDQA76ftPlQwIg04jQW7VWjGqYEQIuAa2UDAU6PF2vryCAHb7D9gLawE6tSLGL9k5NEkgzlsa76Vc6yL3F8otgHDaYHPMjjjuISou08gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:50 GMT', + 'Tue, 29 Jun 2021 21:09:19 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-3212f3a75200', + '9fcd3b94-85f8-49ba-9f7f-93473f840d01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpPi7f1SkITWKQQKvmcTBxE711TceThG5xtJrixeAx0uC4QOWngeWVE7GuoEKiiFB6lbU32L5QCcG0a4X7yafGT79O277T621QQ15lDtKBfiUl-5GmUecvAwrZvyBQdMRUG7qIfj9p5jijSQf0Wi0EkiugopMRZNhOn0ETtoyEJ0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6f2bRJ1OzhONUy_R-pQrjLjl5GHRLnIvbgQG2st-fKsEnDDFO0fMPI1g_3VJef8-OcLHFDo6cs8vYEpHROKakafhpBZs-GPtwxEBaKbfkUhipoAOs5HceTxMX-YyjV8tWbA_2rg3L27yXptIWN3ttG97u5t6NCMIaujL3Oqq9ZEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:50 GMT', + 'Tue, 29 Jun 2021 21:09:19 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=d19af2d3-d58d-45b9-b419-15ee2c10a4cb&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a9c0b5400', + '2e60ad9f-7cc3-4fbf-9e12-dd90f28c5501', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:50 GMT', + 'Tue, 29 Jun 2021 21:09:19 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩‍👩‍👧‍👧 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":13,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '105', + '36', 'apim-request-id', - 'b3b80b08-b177-4264-83e9-de594d08cf73', + '42378b22-c6de-412b-88f9-cdcee43ca2c0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:50 GMT' + 'Tue, 29 Jun 2021 21:09:19 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.js index 94ed80d82b5f..2acd322eabaa 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "1781f722bf7f0bcffd5c407c036c427e"; +module.exports.hash = "d2d93f114abe1fa04b62c793fc5dc2c9"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '8aefb721-2e84-43f4-916f-3f5711c5aa00', + '9def48e5-773e-43e1-90cd-8688c37d3501', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzGMhyzaA5ih4nQDzQV6mRdbUxS00IgLuylekbtxdJDYB0Jz6VnVagWx1Xhmsue5vL61kZm9FbKwSQJggnISX7gVqDOGTzVEkrI2PUBRywy3sptIAuphxuZsZ_pGPVyqNiq6scKBkUIr_CuZBMrChQjChUcwSSyX87ptA-yEyazYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGaCo0UwGOcuXVnMaLT-ff9f6VmyOQlfYC9J3A3W3xhxZib_1iqtkd0vTObCo5EhAYPH05HxZGh6SeScBC5tk7neji-jaHemKRfyT6G55N1QJHKud4prprZtXA0fnTTzCqSG4M-2JPJizQ0EujHgJZEhwmPO1wahLJTucZU4pi2YgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:50 GMT', + 'Tue, 29 Jun 2021 21:09:19 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d3d4a46000', + '9f982048-e8b9-4f55-889c-0cd97a7d0a01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcYdWxA7T0H2l19R3q556Bj6ApSNts9gNgHHsatrFQdTuAcL5QWlV9Y4Ve96ztxknjVkkZsXo01wvju3q5vPmAoSNa_usCuJFHY0pbmYlarrkkjCVdxYG_zq206hf1c5KgUlmvi8CKa1pX7zjJtKASJZS0slGUmOPqhgKG5ChcdUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrtHq_Wob_1xrI1W8-G_3mLSVEBFcNq_7XMDj6u-yLbmHO188_OL6MlYxSi9uijLEJU3zSKVQnH0P-0eyYTp-XhyRi4FHQXfB769OfFL0kbocHFK2MY-ORsNZT1eTt2vDuMCHsQlQuGB-eookClp5VOPGNSGfAIptUVYHRVoiwNyYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT', + 'Tue, 29 Jun 2021 21:09:19 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=2f5988a1-b021-4247-a8e8-83b3fef16672&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d914d916200', + '22b8e306-839a-4592-ae63-e08e0bb24f01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CQAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:20 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT', + 'Tue, 29 Jun 2021 21:09:19 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '71', + '38', 'apim-request-id', - 'b86bce19-2e98-4e75-8539-87bfab3d6b8d', + '56868574-1e6b-4f3f-867c-7159079f4c81', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:50 GMT' + 'Tue, 29 Jun 2021 21:09:20 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.js index 7d7fa12eee90..840926d0929f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "36e4bb0c286d54cc6fa2655a861b4568"; +module.exports.hash = "f91e444e2f56aecc8a364f85827407d8"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,28 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '463b2e60-8b5d-48aa-b547-934f5f255b00', + '30a2f84e-a0ef-4518-9d41-fd6e04370601', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:21 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRUaYraT4kibodlJELcFZ2jUu3b4xHgNzKMpZ_QZak_SUv_z-BmF4m_6E9-RDep2YBUWmZ9QJA5h2P1O4XBWFhVdO4gJ3-x6qarc48mtz1gZV8MNm8i8D3sBxPTM5kO5B7oV3UPmqm3u33IoqOpiW1sNKr0DN2rMVyOBLh09cBqIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevry-pXk6yjhvNXcHAitNAS6EgXicLI_81rFYwCaY_4d5R1AqUJh6RgAY1rb-YATU1WGqrq-tHHhiwYuK78MV66uE8k4FPmI9O7rTZ41NksUU2G8pM2gQ7SpIM7_uLATXoNsuvsouLmrsBez9xxFLdGfyv9ShPSkLAruVB4rtADHO4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT', + 'Tue, 29 Jun 2021 21:09:20 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -58,28 +60,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03eba2f9cc00', + 'ef774fe4-b4dc-4a74-a261-9629dd024501', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1CwAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:21 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevriIbuAc5_5Hga-i7ejnGcDoX8d_-ucT2qvKYY_L144kR7f7gZmykjJd6I7_oVn3CFB56NDPXweU_He8UDN2urYH6Zdga9SWQRc3mOlYTLy-SNGZt2Mlo1NtM6aIeNoGrdQqttlZHQea6n2gG1FCtjXU90BpwTINP3Y6fhRiqe_48gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0tzf-uxqRn0ouVnkvbGme1MC19fXLQe6YcXE8Kw84mVlsypseewbriFkPFlWEdqEy4n1F8xv3q0bsI7EaIehOYZCA7pG_G8iYPvvhnF_Ru3Cpxh-Rng9fCn8XFj8De2szaD17SsFPoKE3kaxjikd3XsC34vP99w4H8-Od_E8UrsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT', - 'Content-Length', - '1651' + 'Tue, 29 Jun 2021 21:09:20 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=823fcf39-e73c-4087-b8e6-93edf2e24542&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd8258885e00', + '58d79bc5-3030-4871-8772-cc5bab871201', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:21 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT', + 'Tue, 29 Jun 2021 21:09:20 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '54', + '33', 'apim-request-id', - 'e749dfe3-d64f-4b1c-8397-df342fce6d5a', + '4d777e39-005d-4530-973e-104f43a6ad56', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:51 GMT' + 'Tue, 29 Jun 2021 21:09:21 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.js index 3adaeaf6ddc9..1af25a45227e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "36e4bb0c286d54cc6fa2655a861b4568"; +module.exports.hash = "f91e444e2f56aecc8a364f85827407d8"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1582f65c-fac4-493c-ae38-2f911c2d8100', + '86a0d4ed-4327-4ad9-9beb-cffae039e200', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrV5m2umc16a2YMG0MckeWLKRCzTmvHOlxFs3Yy5RMBpIjycjYHY0kCrOcxeQexH2F5I0RHFQkc5kfm3ydhClyRKYg3nU0w6KPOdQbDA9OqEBbVIZpaX4_Cb7Xx9CJhELF27FtpMMPvEWw9wJh3mScrDwm_B-SIoucG0CiBJL3qa4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrrf-BOAMb-z_c1qlkdk0KeJZESwuqtgvkDpRCsRm3D2t1Y-hG81Ns9bDCMQUTyaJabEDglj80r1giplAniNvdQTB8hjEx7E91NDqs_bw_ApPxrfZ5__yqNRrGp81iKVr9UAMw1naD5-JGdCSL-GyX1bIfh363ee1LtEqCGL9DrZ4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT' + 'Tue, 29 Jun 2021 21:09:21 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc9abaa5a00', + '2e60ad9f-7cc3-4fbf-9e12-dd906f8d5501', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevraxTxOgMSEBmK1sZCjvjbMYavfdXzdPXe_eAE78Rbk3prpg4VN-YhOBUoBIxwpNxj34naFOuUEbDyKTTeWJq8KD8Rr5GqVz_BRfpHrUtbbNe_Z0iLDjTYhjjixPvIGbs5gKrBW5cVMK47MDFK5sjtR49-rQ9sClqmHLIPBHpHrhsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcdTcZIRYsVt3XD6doP9nlZ4iGIGWbdjVJw--vaJtzPwkraQBgn-Bn0Ke0L76fIaPXLyHo4RkIbUwIhyeZ7DJ10I0ubtnHxB3fbl7g_7l-TfzAb7rrubrlex2rPkOCVLZ21etFMfIPSJZMebklqUQhEkkLSSMtn6qkzfWGp2isXIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT', + 'Tue, 29 Jun 2021 21:09:21 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=a2b32ebe-4ee1-484a-b8af-f707ea770065&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,23 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90abbcd8c800', + 'ef774fe4-b4dc-4a74-a261-9629f6024501', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT' + 'Tue, 29 Jun 2021 21:09:21 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '32', + '56', 'apim-request-id', - 'e2ca6431-a225-40dd-a912-81fb92e0258f', + '1fe5071e-2201-4e4a-9c4e-912ee2b4621d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT' + 'Tue, 29 Jun 2021 21:09:21 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.js index 995ec844bc21..613aab6229b1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "27af0e438808a2d4ccbb0a7a3dc63e25"; +module.exports.hash = "c88cafad4fdf81af74bb9cc82d9b2af9"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '23d42d07-3411-457f-80c3-6b12d67a0300', + 'c59d3f76-3d55-411d-9230-fedd4c096d01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYHcaPW5TQGta41HJ5M5576EDlBrZ2b_zOoGDS9mv8K2pzvTzXPXDXz5zLjx-VO1QC-PASUC4dgB6LP5lyEyGDqkwzjavu-RVrUXCgwvWERbd8335XLFgi0aAvPyCclUO_Y1s4GG-aWyOVXcc4O81CQEMfoRPKcJW1FnEfipUnrIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrhijJN2CsURCNhWtdJrp31Ypr-1vzwVUrdZul9ZasvUMWlWnOkqp0Vvyjei0y4XttTSnzrP_96cpO1WO0skOoPU2iWigy-uJmlT-vvg1nUOhbgR_hC6BmAHkz3YWTHn5dYib4TdoxhChzT3jQJrUq-jYTPhSrVPuhKiOp0Ws0KbkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT', + 'Tue, 29 Jun 2021 21:09:21 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd8276885e00', + 'b6951844-4170-4f7d-baa7-92c157714301', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxkyvlrzSCYYvBHAsQ0U74DFwJ71b5NZ8lpFh2obRw-nVM7vzujFTHIRj08GknmKclz65efcbjFDPrCzsdvlIo5fZW6k7tf8KZnz5OxC483T1EijX6kVzOr6x-wHwNGcD1bxGCLR5vnBywoDWLAzmmopciKx_Fl6FPobDWqaRjiUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrbu0jTGRkJqqqDPdLQBeC9K3nYxq3YstItRwevCGZDDpMB-16eSCqFHzgDHkbctCQvl6eI3kNwHeW40b5RMX5fSTDxtsCllWFWzSnb2qian-kqH6IEoJAmM1-X4BwngrmZ8gyrjMwLxl9R7bcRQiTFKIHmmECqGCsbyDPWoL3PG4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:53 GMT', + 'Tue, 29 Jun 2021 21:09:21 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=088dd854-5f83-485d-ab95-3db721384400&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,25 +93,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03ebc3f9cc00', + '8359fa8c-10a6-40b0-a1e6-c64dc92c2c01', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AhDZ7IDtLClLmzbEbxz9mKlz_bg1DAAAAPKCbdgOAAAA; expires=Thu, 29-Jul-2021 21:09:22 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:53 GMT', + 'Tue, 29 Jun 2021 21:09:21 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) .query(true) .reply(200, {"documents":[{"redactedText":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":121,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', @@ -124,13 +121,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '241', + '237', 'apim-request-id', - '2b385ed2-0d72-46a2-9269-08e76ee02113', + '849722d6-5211-4f62-98ab-d154ae592afb', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:52 GMT' + 'Tue, 29 Jun 2021 21:09:22 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.js index ea4b8ecc97aa..6afc8555d7d5 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "77442288e32e345307a8d0a86fb3c0d9"; +module.exports.hash = "b049e4ddfd7c51daa804a404b9c3e1d8"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '185baee8-f0f9-4159-8ab9-da5526677200', + 'd9bb3ecc-f1cc-491e-b8de-0dcb63640500', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:11:07 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:39:04 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd9CEghoBSt0SflWhkIuBbzPAr2LHsMIFVrr8r8-MWl23CkIPnFvSuy0aylxAyKaSvk336kKGbvFMOaJH4v1ODsfI4o3tN_-TiyOHmLyWcKbUAuBX5PA2_jUU0gvYQyUSU49LwPEheR1Y-OA78QvfSY6nEcCMYpvu36j-nckwTX0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrK0A9LuTEoQgX15BjzQhYJHd6rfa815CU5A47WEXLvQR2-lbVj9dBCng67cRHgpJFXlnALT_yrfoOLg9BIS_RYUol3sdHP7uIoG93uiHyyTWKGeLHQMvlptX-FRDVrH144KEVQonyh66_qeXm6rB-V_A7Ad2QN9onkskhIHvZ4fogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:11:06 GMT' + 'Fri, 25 Jun 2021 19:39:04 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'dac8c720-7f5b-4daa-a8aa-ada5a93c5600', + 'c19e3cf4-d853-423c-83e5-5de3418a6200', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:11:07 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:39:04 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreVjXR2kppe4XIPQhBpyubxyzGXTNzkfhrxna74jeLPipyXG40l28lmrFFO9QHxM7UAiNiG15D1McYIuYnjfhhuC_LEAgGIkGks-7vvm1O54QukA_nu3DycTBgtBuy3yL_eKhLNR4jIK7LbOBBGZ4bI-Pfy5ztdNqos5s0lYnOqIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrc2YX7YCtjLcjVOL9xeNHxJ95taY1LpHAb8junK8JlGN7tf77EwMlkKCQOBGiZlNc83wyoxvf8f6BCwLiX3_OFMUC2fKXIlzxeMn1U3uzxEOD67NgSd7E4UasGka-an-lzKFq9az-Dr-9ZqFu9geg0_e2HjeWPpDfR_ujjkiSBv8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:11:06 GMT' + 'Fri, 25 Jun 2021 19:39:04 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=ca9b6787-34ee-4871-8fb9-1bebd8ec8f4d&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,106 +93,126 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc94dcb5a00', + 'c19e3cf4-d853-423c-83e5-5de3448a6200', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:11:07 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:39:04 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:11:06 GMT', + 'Fri, 25 Jun 2021 19:39:04 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"1","text":"","language":""},{"id":"2","text":"I did not like the hotel we stayed at. It was too expensive.","language":"english"},{"id":"3","text":"","language":"en"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"","language":""},{"id":"2","text":"I did not like the hotel we stayed at. It was too expensive.","language":"english"},{"id":"3","text":"","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503', 'x-envoy-upstream-service-time', - '166', + '293', 'apim-request-id', - 'b3950b62-ce2b-4907-ade6-9f53edd65b2d', + '592c49c7-6184-45ad-8056-3bd34f0fdbbf', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:07 GMT' + 'Fri, 25 Jun 2021 19:39:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:07Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:07Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:05Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '7', 'apim-request-id', - '7aeb2497-5441-496f-9e08-95819d6f9c03', + '0a884fa8-93ed-4ec0-9eba-2f4f80a7a5ee', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:07 GMT' + 'Fri, 25 Jun 2021 19:39:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:07Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:07Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:05Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '6', 'apim-request-id', - '20c66c9f-0a49-4133-a4ef-58121f7be489', + 'e4130e04-05ee-4d5e-bbaa-7e62988cfb64', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:07 GMT' + 'Fri, 25 Jun 2021 19:39:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:09Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:09Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:05Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '13', 'apim-request-id', - '0fd0257b-1b2c-4f34-b1ac-7fc4dea48375', + 'fae48fdd-54ff-4154-9f13-e28182cc4658', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:09 GMT' + 'Fri, 25 Jun 2021 19:39:06 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:09Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:09Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:05Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + '1a9a3b7b-427c-4599-956a-8125398c5128', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:39:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') + .query(true) + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:05Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -203,111 +220,231 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'ae3b9048-abed-40f2-95ad-c124f931610b', + '43f11ad4-24b1-4bca-9daa-57f8f07f1f73', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:39:10 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') + .query(true) + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:05Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'f738ba47-d82d-4199-ad53-7bfd93894af8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:39:13 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') + .query(true) + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:05Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '2ece8de8-9036-47fd-a579-d0363aeabe8c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:39:15 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') + .query(true) + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:05Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '13', + 'apim-request-id', + '06b5a996-dfea-4966-9cea-4e0514031caa', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:39:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') + .query(true) + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:19Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:19.298235Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '77', + 'apim-request-id', + '24d147e5-d942-4ffb-ac6a-5a0a5ee2304c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:39:19 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') + .query(true) + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:19Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:19.298235Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '81', + 'apim-request-id', + '6e71eb27-9145-4975-84d6-b5d75671e9c5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:39:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') + .query(true) + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:19Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:19.298235Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '98', + 'apim-request-id', + 'b2165167-ae6a-49fb-9139-9db3160121b9', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:12 GMT' + 'Fri, 25 Jun 2021 19:39:23 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:13Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:13Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:13.4682658Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:25Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:19.298235Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:25.1537991Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '46', + '140', 'apim-request-id', - 'db74ae1e-6dd3-4411-b738-fa62c8293aa2', + 'd1fbb056-b655-4ce9-ad2b-894f70084eb1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:14 GMT' + 'Fri, 25 Jun 2021 19:39:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:15Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:15Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:15.0695624Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:13.4682658Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:25Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:19.298235Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:25.1537991Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '93', + '123', 'apim-request-id', - 'e76bc963-6cca-44ba-a866-92c3b3841972', + '3a02696f-99ee-4e59-9e67-1622517bf2e8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:16 GMT' + 'Fri, 25 Jun 2021 19:39:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:15Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:15Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:15.0695624Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:13.4682658Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:25Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:19.298235Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:25.1537991Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '89', + '217', 'apim-request-id', - 'a56dfcdc-ea76-4839-87ff-0e98b61d001a', + '43cbc8f5-38eb-498a-9911-8bb86bd63116', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:18 GMT' + 'Fri, 25 Jun 2021 19:39:30 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:20Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:20Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:20.0636142Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:15.0695624Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:13.4682658Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:32Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:32.4798818Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:19.298235Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:25.1537991Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '144', + '182', 'apim-request-id', - 'f922f6c5-df8f-472a-87a5-53907ad8d764', + 'fb67730c-983c-410f-a0f3-bebb48eca23b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:20 GMT' + 'Fri, 25 Jun 2021 19:39:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/737bb0cf-b8d8-405d-b1b0-86b5110e4cd4') + .get('//text/analytics/v3.1/analyze/jobs/9c4886cb-9e26-458d-adf5-7534b0175503') .query(true) - .reply(200, {"jobId":"737bb0cf-b8d8-405d-b1b0-86b5110e4cd4","lastUpdateDateTime":"2021-05-12T19:11:20Z","createdDateTime":"2021-05-12T19:11:07Z","expirationDateTime":"2021-05-13T19:11:07Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:20Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:20.0636142Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:15.0695624Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:13.4682658Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9c4886cb-9e26-458d-adf5-7534b0175503","lastUpdateDateTime":"2021-06-25T19:39:32Z","createdDateTime":"2021-06-25T19:39:05Z","expirationDateTime":"2021-06-26T19:39:05Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:32.4798818Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:19.298235Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:25.1537991Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '137', + '191', 'apim-request-id', - '89a81abc-3022-45ec-a11f-eaa7dc3662be', + '7bec1942-de68-4ad1-9276-2c3525eacc1b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:20 GMT' + 'Fri, 25 Jun 2021 19:39:34 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_model.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_model.js deleted file mode 100644 index b2f021c5082a..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_model.js +++ /dev/null @@ -1,133 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "f7c2a025f3252fd55de7e0be937d33f1"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '980', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '4bfcb63f-0e17-45be-83b6-88fa6ffa3301', - 'x-ms-ests-server', - '2.1.11654.16 - NCUS ProdSlices', - 'Set-Cookie', - 'fpc=AqwSL5iwq3FMvRRYf4lJ8n4; expires=Thu, 03-Jun-2021 21:48:05 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrMrBqcqZdY3ZTAfy77dVeu70oRinbdmgyOu47N3cKEkHlV7WqtxaxnnISEKBVYRHKqTJJUCL1vnq8QFhfx4wN4dV2Fkxqe67LpaCOCz8_psZD0g3hgz3FSrYCn8EBLnHzXui5M4sKJp9YiD8DuxfVikRVhGD8lZ956AUEx-NbvWggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 04 May 2021 21:48:04 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Length', - '1651', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '3e30f03d-dc63-424e-93aa-a385fc3e0b00', - 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', - 'Set-Cookie', - 'fpc=AqwSL5iwq3FMvRRYf4lJ8n4; expires=Thu, 03-Jun-2021 21:48:05 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrD3OumB9k2CeZeJmQdhtM3lA7Dc5Q3hUuDQRQjW5y6SoLWDRJnj_xsIgTI23sjEMMwibuzGTJ1lKaTczEH6_YWBAHh9ywipMiVxFtj7t7mtFYv4LtSE5nhCUagpqCHTKOYVkKevOXraN5kICD9kV2t5jlgy_NwSCOEc1awkX46a8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 04 May 2021 21:48:05 GMT' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '52b4d36a-9351-4877-abc7-a6b1aeee0c00', - 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=AqwSL5iwq3FMvRRYf4lJ8n5z_bg1AQAAABS4I9gOAAAA; expires=Thu, 03-Jun-2021 21:48:05 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Tue, 04 May 2021 21:48:05 GMT', - 'Content-Length', - '1331' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"bad","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"bad","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"bad"}}]},"analysisInput":{"documents":[{"id":"1","text":"This should fail because we're passing in an invalid language hint","language":"en"}]}}) - .reply(400, {"error":{"code":"InvalidRequest","message":"Job task parameter value bad is not supported for model-version parameter for job task type KeyPhraseExtraction. Supported values latest,2019-10-01,2020-07-01."}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '065808ff-4d07-45ca-a04d-5e0c9ffcf8c7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Tue, 04 May 2021 21:48:05 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.js index 50c5de8e5ceb..3df65755ed0d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "7afb4f2d7eb782f85d1b0f338f00606a"; +module.exports.hash = "28b46fe46c0398ac35b3cb4483489f27"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,6 +10,8 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -23,26 +25,24 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'eba489bd-b104-4177-851b-35471cf67d00', + 'de70a577-c290-4369-8503-4d71ce116301', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:38:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLHWtX7wXL6NFeUX2bjf0T8TSSzt5xyGXUFylfz0CSN7zWyd8CjoEpqYV6Sv19ucR8Ks4Yd_zkFzomfGkkvrVCBLp1kr8dP7p7MfAXIoQBWcFjAFtwmpJ5bX0VJjwv5-6N0Yt9-Toxs_G0S9YHQJ6xW5vHFvmRGLtVbaKSYh5EtwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpJ5s7s78IDcL_3tK78PpmfxiTVtwKtFVDWKS_3PmTCq23UGiSxcrRs7Ew-PJftlQ84QJpLtJU10S40G2HG-EH0dNiR_e3tAA1vQRbcJFWaIljLwoH9WWM3UN2-VYmjAYOht42nrqXkaRbG1V4ZkrW-S9hOzSxPwKUFMUcyC_UJEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:29 GMT', - 'Content-Length', - '980' + 'Fri, 25 Jun 2021 19:38:25 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc94ac55a00', + 'f75e896d-b4c4-4e8a-8d17-6ea694ab5900', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:38:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1Ni2jmsWAL_kvCBA6Od6KAWaUyPhPNajRV3iH6d_Ps-yMs_WELXFA9WuqQMSTaqRBYDvTosVyvgB63ZfUxD-EslUbEwYeLhw7UonMP63rzOoYnf8686b9lF5YglP4sVTwQzGkhB7iEq4PHwPmvSGC7W1RaJgtiau3I_fi1SRYw8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvFUUJP4PKsZYNascgF0fOjKJDW9dVqEXn1ejlAIRV-S6DBfe_mFHPPZ8CGh3BSGsiyHkbJ73OkQWa7646cVwlUW6hYRjr3eB4Z0MCs5C4mG-eZZljAwrdyEZKB0oNuRxc4vPufxHExb6sEArXZhFpejsQyZ08EuAy2QaBhQV-mkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:29 GMT', + 'Fri, 25 Jun 2021 19:38:25 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=0070354f-b2cd-421b-88ea-ee6266cb0610&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,36 +93,38 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90aba5f1c800', + '46746596-f429-4925-82fd-aa79b7177100', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:29 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:38:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:29 GMT' + 'Fri, 25 Jun 2021 19:38:25 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]},"analysisInput":{"documents":[{"id":"0","text":"","language":"en"}]}}) - .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Missing input documents."}}}, [ + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"","language":"en"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Document text is empty."}}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '33', + '5', 'apim-request-id', - '09df9fe0-1bc9-4e80-83e4-8f494e45c6aa', + '01c106b5-990a-432c-b7ce-afa7438cb21d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:30 GMT' + 'Fri, 25 Jun 2021 19:38:25 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.js index 44bac92dab4c..e6ef1f88784d 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ccddc3208686f2cb4637a8eea81e70fb"; +module.exports.hash = "555792f3517ec51d7745afe8b6b42f91"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '0b027b67-8a4f-4022-91b9-9651ab486b00', + '8fbf650b-4fb0-44ce-b647-c6462cd00500', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:41:09 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIfTVmbiYqCMKXCCCBT93IDSKRQ_HFTintl2beAp2bg4VSPvno08wFcJvHKsDU5AJ-GLB0tP_zDFSRt7cosF1NVM1yLJf3wOLd86lfoESPK4eZL9eZVBHLCfRfkiM5qBVb6tpmnEvMGbZdYRhyH9FUOAmthkkK-eteAmReRYkXzIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxQHchUAZc1BqyXemGUksIZR0W1w2gK5DtgkxWbtkBHaW88_LvEEp-gIiGTXeqEub8_NKGE6W1LpZo9Kq_hpJ9AC3yoY9BiwA0WNsO7nzUHS93prA538HZiutA_VarCQ4Q4UKWwOa7I4W7mIlj7dpIq8V6b9WzDtxvPaKi5a-x8UgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:26 GMT' + 'Fri, 25 Jun 2021 19:41:09 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81ae53c5400', + '493aab2b-fb42-40cd-a2d0-93f5fba95a00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:41:09 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevraGkeHAUVml3eYYzzO9HFiVqbir6CWZ5Lz8YwesIWbERdh11GYtoBiJ89L-xf0WQ8X_x3EywghStSoEV0jM4kMTZyX58Cgl-te7nXlBN7l5c9tWKZsDVgJriXwnuZ6LerErq99liKiq6cXwuV3-zVGj6o_l6xwVBsy237cNE0anMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6EOxGimCwfh1jp-8Pbja-tXR8puoUMKPxka_-j5vTPZmRzPhjN6Bgou00UjFYQG6tK0RyYqObU5hHL1P-x1IOxrCdsHyAV4OVoeIv7tLrQ2ePPfwilcvw0fiCNnVKMOYCp3MNjan-taK-R4VrGTw7QiD6caOL-Os8VfLLA9aFCsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:26 GMT' + 'Fri, 25 Jun 2021 19:41:09 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=73e26acc-5d26-4cbd-9fa7-47307009b702&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,44 +93,46 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03ebed31cd00', + 'b7dd8c02-11f5-499e-bdfc-a9fd12217500', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:26 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:41:09 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:26 GMT' + 'Fri, 25 Jun 2021 19:41:09 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"1","text":"I will go to the park.","language":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":""},{"id":"3","text":"The restaurant had really good food."}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"I will go to the park.","language":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":""},{"id":"3","text":"The restaurant had really good food."}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c', 'x-envoy-upstream-service-time', - '126', + '334', 'apim-request-id', - '05751922-aadb-4dcf-b426-76c43079bcda', + 'a294cf86-21b0-49ff-8d70-9f86d4999e69', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:25 GMT' + 'Fri, 25 Jun 2021 19:41:08 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:26Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:26Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:09Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -143,39 +140,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - '6f4c1ce3-b738-4719-bf03-b596d3a7345a', + 'b49b751d-4d79-45e5-a6ff-4336796d62b0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:25 GMT' + 'Fri, 25 Jun 2021 19:41:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:26Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:26Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:09Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '6', 'apim-request-id', - '7df1ce63-18c9-4d79-8910-5b04f9b6707b', + '87138c8b-6a57-444a-9f84-13365236b1e4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:25 GMT' + 'Fri, 25 Jun 2021 19:41:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:27Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:27Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:09Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,39 +180,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '52bd0100-141a-48dc-936d-5008da0eec82', + '13eb8e1f-2099-4984-80e0-3fb5ca3406d4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:27 GMT' + 'Fri, 25 Jun 2021 19:41:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:27Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:27Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - '2175c2e7-38eb-4f4e-a31a-a9e6a23986da', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:13:29 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') - .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:27Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:27Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:09Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -223,191 +200,111 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'ee34ea12-3db2-45ab-a09d-98712b999ad8', + '3b9ba745-1c17-4c39-8a86-2c8edac8285a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:31 GMT' + 'Fri, 25 Jun 2021 19:41:13 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:33Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:33Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:15Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:15.6501009Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '46', + '2270', 'apim-request-id', - '72785725-3911-4c0a-8082-40ca902305cb', + '32078881-f8d3-405d-ba18-586e73ac5d66', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:34 GMT' + 'Fri, 25 Jun 2021 19:41:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:36Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:36Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:16Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:16.0067327Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:15.6501009Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '47', + '148', 'apim-request-id', - '22fe198e-2300-4d5d-a81b-b0a1d0e42075', + '8a0f6b33-927e-4d08-a750-31ebd2beeac7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:36 GMT' + 'Fri, 25 Jun 2021 19:41:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:36Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:36Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:16Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:16.0067327Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:15.6501009Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '49', - 'apim-request-id', - '2cc98c32-bb59-421c-b4a1-502b5246a5a8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:13:38 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') - .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:39Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:39Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:39.4762174Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '91', - 'apim-request-id', - '7d1a9a32-522b-4667-9f59-52363f4be623', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:13:41 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') - .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:39Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:39Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:39.4762174Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '85', - 'apim-request-id', - 'a10b96b7-6c92-4894-9d58-55afb47aaa0c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:13:43 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') - .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:39Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:39Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:39.4762174Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '92', - 'apim-request-id', - 'a49c30c5-78d4-479a-a8d4-c72475ffd95a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:13:45 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') - .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:39Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:39Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:39.4762174Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '79', + '125', 'apim-request-id', - 'abf15b25-aa58-458d-8328-dfb79db0531e', + '13f89cbd-4bc7-4dad-9418-ccfd05e96b70', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:47 GMT' + 'Fri, 25 Jun 2021 19:41:22 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:49Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:49Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:49.4685461Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:39.4762174Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:23Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:23.5625848Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:16.0067327Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:15.6501009Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '126', + '166', 'apim-request-id', - '0541d69d-7b91-48c3-b6f0-89d40cd2fc20', + 'e4bf3eaf-ce7c-41e1-9966-2aec7cca8f38', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:49 GMT' + 'Fri, 25 Jun 2021 19:41:24 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/483756ec-6e7a-4ba5-a9c6-e9a719c79792') + .get('//text/analytics/v3.1/analyze/jobs/fd720dc5-72b2-484e-b3fb-bc8b7d423b3c') .query(true) - .reply(200, {"jobId":"483756ec-6e7a-4ba5-a9c6-e9a719c79792","lastUpdateDateTime":"2021-05-12T19:13:49Z","createdDateTime":"2021-05-12T19:13:26Z","expirationDateTime":"2021-05-13T19:13:26Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:49Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:49.4685461Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:39.4762174Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:33.0244297Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"fd720dc5-72b2-484e-b3fb-bc8b7d423b3c","lastUpdateDateTime":"2021-06-25T19:41:23Z","createdDateTime":"2021-06-25T19:41:09Z","expirationDateTime":"2021-06-26T19:41:09Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:23.5625848Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:16.0067327Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:15.6501009Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '125', + '199', 'apim-request-id', - '6f40d074-0879-491e-ac16-2b25de246010', + '450504af-4028-4220-8806-c2052add5e35', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:49 GMT' + 'Fri, 25 Jun 2021 19:41:25 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.js index a9355a1dddd4..85805f6860dd 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "6a6ffdd590ec6be51385f0dc5e70165b"; +module.exports.hash = "586a571f3405fc4a91192c8057f26eba"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'cbcc7ae5-7fa5-4ef0-a6b5-677da6009b00', + '781d4e73-b203-4e1e-9e95-166904772c00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.8 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:15:06 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLSFoicP79qdF7eB0ciuEOqc2ZyjEgbav71C_BIP04h1NBaN_Q0rN1lr4Et-ref8ESd6131nUWdnZCagtGmlp725-69u1LxMmPcuvmOUOwrgNOK1IkUNqwQN_XZ-Aa2UJ4a3UkwglLYmSPLCK82A-uTq9kseyv3VZqSKdNibRHt4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIkR-xtnWZ6EGesL6vnADjeS-BIuvQoSdWhTcUwKoDayz7IQPhw-jtcN5T8gCu_tVEs-ZcPH4Kd7YusqnqHdX0MglC8jt8um3I93DHfghHsVDvpVUZQ6OPki9J1tON65j8w1E0pvnYHWOD1neIOxp5VRuu-xIWnOoeTk_u1NPByEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:15:06 GMT' + 'Fri, 25 Jun 2021 19:42:58 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'effc2a94-f558-4e23-9dd5-8d2bb74a6100', + 'c2c46a2d-caf1-495a-b60f-6d2023d47100', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:15:06 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrlIpK-A5ZMb8nW1UVJtKeYvKhuCADfxpO6QZ4PlmX7nFR8LqMRj4SNoVfWobOd-zLsESgZ8q4lKP3xyC_VoST4eDgMs7rNs5BIi-KRc6DIfEhknzjozrBDsQfVyJQlSUJWn8ESGzcWepqQiHhn1zkhTQtWxZDagG6_9EfbP7MzFMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrr8zxi7a0GyfinToD0QH6BYVCaiXodVctuIs9CWyroMjdFz0TiFyiN6oRWrOWvzoAcjnkfe5eMtvvhrMJ8FMot1X9JOApJ_y-w7CFNQ6Cp6iefDHwSBRmCpoIMh5p06mPwoBms_jMrgGbkmlm6wMQD54je2pQ16HEi4_ammSWxlIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:15:06 GMT' + 'Fri, 25 Jun 2021 19:42:58 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=e08fc41e-40a7-450f-943c-0b778051b4f4&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,64 +93,46 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7a9d94c500', + '60255122-4f99-4912-bd79-4b9124c06000', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:15:06 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:58 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:15:06 GMT' + 'Fri, 25 Jun 2021 19:42:58 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"UnicodeCodePoint"}}]},"analysisInput":{"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"UnicodeCodePoint"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec', - 'x-envoy-upstream-service-time', - '74', - 'apim-request-id', - '90858333-688c-4395-8e9e-b4339346f2ca', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:15:06 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') - .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:06Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/67a97613-3afe-4025-ae71-1700c2cd74ce', 'x-envoy-upstream-service-time', - '6', + '138', 'apim-request-id', - 'efd0f4d0-4c98-4c83-9a87-59c320d928ba', + '4e5baa61-68d9-49e9-84c2-72920593b375', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:06 GMT' + 'Fri, 25 Jun 2021 19:42:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') + .get('//text/analytics/v3.1/analyze/jobs/67a97613-3afe-4025-ae71-1700c2cd74ce') .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:06Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"67a97613-3afe-4025-ae71-1700c2cd74ce","lastUpdateDateTime":"2021-06-25T19:42:58Z","createdDateTime":"2021-06-25T19:42:58Z","expirationDateTime":"2021-06-26T19:42:58Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,19 +140,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'e9fdcf4a-37b9-42b7-a866-9b4c6d7c1224', + '5ebc0c48-d340-4ab3-b9d2-b44f429d0dc4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:06 GMT' + 'Fri, 25 Jun 2021 19:42:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') + .get('//text/analytics/v3.1/analyze/jobs/67a97613-3afe-4025-ae71-1700c2cd74ce') .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:07Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:07Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"67a97613-3afe-4025-ae71-1700c2cd74ce","lastUpdateDateTime":"2021-06-25T19:42:58Z","createdDateTime":"2021-06-25T19:42:58Z","expirationDateTime":"2021-06-26T19:42:58Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,139 +160,59 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '99008cc1-504d-497a-9033-2c6e9c4280de', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:15:08 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') - .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:07Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:07Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '0e978ecb-337b-4448-9fb2-9a5291fd8c49', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:15:10 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') - .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:07Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:07Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '10', - 'apim-request-id', - '85a4352b-fdb0-451d-aa28-aa1dbec0780b', + 'cc6431a7-6f15-413c-aa1e-8842a1b6fa06', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:12 GMT' + 'Fri, 25 Jun 2021 19:42:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') + .get('//text/analytics/v3.1/analyze/jobs/67a97613-3afe-4025-ae71-1700c2cd74ce') .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:07Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:07Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"67a97613-3afe-4025-ae71-1700c2cd74ce","lastUpdateDateTime":"2021-06-25T19:43:00Z","createdDateTime":"2021-06-25T19:42:58Z","expirationDateTime":"2021-06-26T19:42:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - '4125e0d0-f8b1-486c-b243-e35891396819', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:15:15 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') - .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:07Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:07Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - '1ba4fd4f-d97a-4bf6-bfaa-6f2f2bc44897', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:15:17 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') - .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:07Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:07Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '9', + '6', 'apim-request-id', - '9e215739-7e2e-48a3-92c9-8aac9839ddb8', + '95aa10ef-a52a-41eb-ba51-7b7a2827df44', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:19 GMT' + 'Fri, 25 Jun 2021 19:43:00 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') + .get('//text/analytics/v3.1/analyze/jobs/67a97613-3afe-4025-ae71-1700c2cd74ce') .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:07Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:07Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"67a97613-3afe-4025-ae71-1700c2cd74ce","lastUpdateDateTime":"2021-06-25T19:43:00Z","createdDateTime":"2021-06-25T19:42:58Z","expirationDateTime":"2021-06-26T19:42:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '6', 'apim-request-id', - 'b0b0fe18-aa59-4da7-a396-376f621350db', + '60d8e043-6712-48ca-83e6-23df1a3b859d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:21 GMT' + 'Fri, 25 Jun 2021 19:43:02 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') + .get('//text/analytics/v3.1/analyze/jobs/67a97613-3afe-4025-ae71-1700c2cd74ce') .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:07Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:07Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"67a97613-3afe-4025-ae71-1700c2cd74ce","lastUpdateDateTime":"2021-06-25T19:43:00Z","createdDateTime":"2021-06-25T19:42:58Z","expirationDateTime":"2021-06-26T19:42:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -323,51 +220,51 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'c6a3cecf-5003-47ef-ada5-de2fce4e0f34', + '44efb6f5-da8d-425b-9264-e037583421eb', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:23 GMT' + 'Fri, 25 Jun 2021 19:43:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') + .get('//text/analytics/v3.1/analyze/jobs/67a97613-3afe-4025-ae71-1700c2cd74ce') .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:25Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:25Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:15:25.3175488Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"67a97613-3afe-4025-ae71-1700c2cd74ce","lastUpdateDateTime":"2021-06-25T19:43:05Z","createdDateTime":"2021-06-25T19:42:58Z","expirationDateTime":"2021-06-26T19:42:58Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:43:05.9737779Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '48', + '58', 'apim-request-id', - 'b4c6d68d-b2d9-4a4c-b35b-0a04d6d9cf39', + '31ee1830-0ebb-42a9-b283-8ca1d36b176f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:25 GMT' + 'Fri, 25 Jun 2021 19:43:06 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d718b6a6-402f-4fdd-bba4-67b9c2cbdaec') + .get('//text/analytics/v3.1/analyze/jobs/67a97613-3afe-4025-ae71-1700c2cd74ce') .query(true) - .reply(200, {"jobId":"d718b6a6-402f-4fdd-bba4-67b9c2cbdaec","lastUpdateDateTime":"2021-05-12T19:15:25Z","createdDateTime":"2021-05-12T19:15:06Z","expirationDateTime":"2021-05-13T19:15:06Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:15:25Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:15:25.3175488Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"67a97613-3afe-4025-ae71-1700c2cd74ce","lastUpdateDateTime":"2021-06-25T19:43:05Z","createdDateTime":"2021-06-25T19:42:58Z","expirationDateTime":"2021-06-26T19:42:58Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:43:05.9737779Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '34', + '52', 'apim-request-id', - 'd7e1463a-9d06-43c2-9b83-b374690bcd82', + '2c546823-3cde-487d-89b7-dc06912b48e4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:25 GMT' + 'Fri, 25 Jun 2021 19:43:06 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.js index 5b0c96b1ea09..1d9e3b22c45a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_invalid_language_hint.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "1653fe39341db24617e63d9a9a0579d4"; +module.exports.hash = "cd38c4c6eb5d8af4f0f3e496da5ffdf1"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '37fbd280-e28a-4715-bbf9-13af25221401', + '67898797-6a37-48c7-ae6e-79fc62eb0100', 'x-ms-ests-server', - '2.1.11654.25 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:05 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvQ9Oaa7y3-vVVn4d2CXSj4LwhV5UHTQyu9OsbTkSLhbRFLWFio9LJQPcIXmgLd9swDuXIAUsBxXMxUviSW7vRwKx5EF7Lg7_BrHM356Hnj67eJPzQutmUcGHYS5dtU7QV4j8kwz4sgb-jB5ij5U70Mn1hXFOhAopt5f4OXAgDgYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrK58olky3C99kx8e8WmO7eBbOaWPwrzW7h7qOBi12FAnfyD59FXegRnNzreGMZaHT7Y1inP0rWx2OTwz5Y8HxBQt7ZX7ykedO2AT7qKwNKwshxSpmpnbsPdudQJETrx2EpbKcDJ9fR5k6MREzw3MrIDaGUoLwj4Q6YwBeFaJjxewgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:09 GMT', + 'Fri, 25 Jun 2021 19:42:05 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc95bea5a00', + '46746596-f429-4925-82fd-aa79fd3f7100', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:05 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxefNPtmlIRRMHSoajJgkvC4G0Mvrw4N5of_lQMLy92rTIXm6fQ1625y6_POIlGcv1tsyvXip4Bjbnm5iVCgm6WJKQ8xW3UTV7obVHQxFCEsx91Hj9B8n-G5ESHtMxp5PnfjeTEQvDsvI14XqWhTPpb_Q2rmx7ERoy_FG-WF3nSMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrHkWujME5rHvGb3s8e19rKdMQB4pKyZYOcEdvugM7FsGinAtbodRhMFgSXgWKv3l8Mg-UksCV_HzeRKGnrYDvSgeY-kGsFL0MnWn1R7azmzsP_-FkF9O2bgqypOz6F-oHjo58DZkxTWo-YmrYvBcleVeyhAg8jkVlyk9T1B56RTMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:10 GMT' + 'Fri, 25 Jun 2021 19:42:05 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=02e17f98-d79a-4564-9f3f-f19cf95c8fb8&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,104 +93,86 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d34be76000', + 'b7dd8c02-11f5-499e-bdfc-a9fdd92c7500', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:10 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:05 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:10 GMT' + 'Fri, 25 Jun 2021 19:42:05 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"0","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6', 'x-envoy-upstream-service-time', - '148', + '509', 'apim-request-id', - 'e820be5a-2ed2-4ea9-b0b0-b87ebc5de8d9', + '038de141-e8a4-4dd3-ade0-c3d0717a296a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:10 GMT' + 'Fri, 25 Jun 2021 19:42:05 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') + .get('//text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6') .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:10Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:10Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"1b13262d-2ea9-4a5c-aa73-40a04452feb6","lastUpdateDateTime":"2021-06-25T19:42:06Z","createdDateTime":"2021-06-25T19:42:05Z","expirationDateTime":"2021-06-26T19:42:05Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '16', 'apim-request-id', - '00f1a10c-2c7b-4a72-8f70-49dc8187f209', + 'd5d28d0a-4642-4dd8-913c-937b44c38051', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:10 GMT' + 'Fri, 25 Jun 2021 19:42:05 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') + .get('//text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6') .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:10Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:10Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"1b13262d-2ea9-4a5c-aa73-40a04452feb6","lastUpdateDateTime":"2021-06-25T19:42:06Z","createdDateTime":"2021-06-25T19:42:05Z","expirationDateTime":"2021-06-26T19:42:05Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - 'fdbe37e2-47a7-4613-98da-0672344b8ad6', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:14:10 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') - .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:12Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:12Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', + '9', 'apim-request-id', - '0685ced2-0615-4451-835a-a64c0be4275d', + 'a2b914d8-a83b-4ab6-abf9-5652a0d7b55a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:12 GMT' + 'Fri, 25 Jun 2021 19:42:05 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') + .get('//text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6') .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:12Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:12Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"1b13262d-2ea9-4a5c-aa73-40a04452feb6","lastUpdateDateTime":"2021-06-25T19:42:07Z","createdDateTime":"2021-06-25T19:42:05Z","expirationDateTime":"2021-06-26T19:42:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -203,191 +180,111 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '2574f0ed-6eba-4aee-81a2-32982a1d56fa', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:14:14 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') - .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:15Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:15Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'd8dda3b9-09c5-453a-93d9-cd83707aa229', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:14:16 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') - .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:17Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:17Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:17.9131413Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '30', - 'apim-request-id', - 'fcbbe0e8-8165-48ed-ade3-1f05cea1571e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:14:18 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') - .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:17Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:17Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:17.9131413Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '33', - 'apim-request-id', - '0a5b2d5a-d3e2-4d3d-aa75-7343924e62bc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:14:20 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') - .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:17Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:17Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:17.9131413Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '36', - 'apim-request-id', - '6546c0ca-130e-4ad5-a459-63b84c7b0cb8', + 'e3e0cd1b-0d1b-48c1-8f13-da0a62f21e2f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:22 GMT' + 'Fri, 25 Jun 2021 19:42:08 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') + .get('//text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6') .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:17Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:17Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:17.9131413Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"1b13262d-2ea9-4a5c-aa73-40a04452feb6","lastUpdateDateTime":"2021-06-25T19:42:07Z","createdDateTime":"2021-06-25T19:42:05Z","expirationDateTime":"2021-06-26T19:42:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '31', + '50', 'apim-request-id', - '47ea94c2-bb2c-4574-98ee-4d2dae8d956b', + 'afb3a8b4-b276-4136-8f28-7b94c7296f41', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:24 GMT' + 'Fri, 25 Jun 2021 19:42:10 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') + .get('//text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6') .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:17Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:17Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:17.9131413Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"1b13262d-2ea9-4a5c-aa73-40a04452feb6","lastUpdateDateTime":"2021-06-25T19:42:12Z","createdDateTime":"2021-06-25T19:42:05Z","expirationDateTime":"2021-06-26T19:42:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:12.1377485Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '32', + '49', 'apim-request-id', - 'ab7cad0d-20b1-41e3-9421-e5914d27f51b', + 'be8fe767-94a2-46de-b69f-61d62d00e241', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:26 GMT' + 'Fri, 25 Jun 2021 19:42:12 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') + .get('//text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6') .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:17Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:17Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:17.9131413Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"1b13262d-2ea9-4a5c-aa73-40a04452feb6","lastUpdateDateTime":"2021-06-25T19:42:14Z","createdDateTime":"2021-06-25T19:42:05Z","expirationDateTime":"2021-06-26T19:42:05Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:12.1377485Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:14.2847544Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '31', + '76', 'apim-request-id', - '4d420db4-70cd-4574-9cb1-d89f85dcd794', + '4b5b2d72-d615-47cf-aee4-d9bc177ce028', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:28 GMT' + 'Fri, 25 Jun 2021 19:42:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') + .get('//text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6') .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:29Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:29Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:29.5125226Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:29.5817366Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:17.9131413Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"1b13262d-2ea9-4a5c-aa73-40a04452feb6","lastUpdateDateTime":"2021-06-25T19:42:14Z","createdDateTime":"2021-06-25T19:42:05Z","expirationDateTime":"2021-06-26T19:42:05Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:12.1377485Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:14.7169405Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:14.2847544Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '77', + '136', 'apim-request-id', - '55a5b61f-621b-491f-a757-8c0e0e9f3d40', + 'a4ee706a-6745-477b-9f69-01621d21d13b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:30 GMT' + 'Fri, 25 Jun 2021 19:42:16 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b') + .get('//text/analytics/v3.1/analyze/jobs/1b13262d-2ea9-4a5c-aa73-40a04452feb6') .query(true) - .reply(200, {"jobId":"e8a2e504-4e8f-4082-86f6-fcd6ea67dc9b","lastUpdateDateTime":"2021-05-12T19:14:29Z","createdDateTime":"2021-05-12T19:14:10Z","expirationDateTime":"2021-05-13T19:14:10Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:29Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:29.5125226Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:29.5817366Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:17.9131413Z","name":"NA","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"1b13262d-2ea9-4a5c-aa73-40a04452feb6","lastUpdateDateTime":"2021-06-25T19:42:14Z","createdDateTime":"2021-06-25T19:42:05Z","expirationDateTime":"2021-06-26T19:42:05Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:12.1377485Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:14.7169405Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:14.2847544Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '81', + '128', 'apim-request-id', - 'd20bdd40-99eb-4a07-ad0f-dfdcb765f34f', + '0a0f5723-c5b5-49b8-99dc-2708a596a7a2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:31 GMT' + 'Fri, 25 Jun 2021 19:42:16 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.js index a374ea0169e9..9b06068c6503 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_malformed_actions.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "fb9a741739e8b2ed1e073e86cdbc9127"; +module.exports.hash = "fdbacce056d3180da0a43c0748bb1396"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'eea3993b-15ef-4580-bd43-494991702c00', + '3ddadd18-722c-479e-97f7-144d572f8d01', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AuMMF6jcGdFJnJVgWcEL7Tk; expires=Fri, 30-Jul-2021 19:34:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrrzZtBnuGfkxrJgA2tyOwGFzSIcTq2Pb1zWmCUYSG2FYw5CSjePdkF_11szsd8OoR_6RQ-gG25-GzYjwU6mk2qkj0a7MhJgLAtY_8zuW3BG2pnuNAZYOlGHsxwV-iV3yz37ci2Oc-pwhpgSiiNclSgbmzQSc8VZc1LqUE0B1Rn38gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrMeifOugiF0UwsgXL4sRIRxNFA65nqZN-Y3VDem2Y4CPQgwnEMv_2oGgZN9z1OlCBISnFJG3mdtnajoBHCs9nQ6Zg_Nni98JuFY4PNzasf5CHFy9CqS_4af6fRhw6Odf_cMXPheCrwMJQpXUYPM4t7X4rGOu6YHPmt0riEu0MtrUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:34 GMT' + 'Wed, 30 Jun 2021 19:34:33 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,23 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '5068b5c4-fa7f-439a-bfa1-386bae331400', + '5bb8c626-a444-4156-8364-1ce73ba86301', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AuMMF6jcGdFJnJVgWcEL7Tk; expires=Fri, 30-Jul-2021 19:34:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrrcuKqVA_5OaFji7chJD4Khvhs38kYTE34x_ikAEQ_rVZk37tyaJKN88uR30y078ljkgsgGCPw5VDlu-bwgvQx3RQWUrZZKkDxZ8pOWjLgMBQkSBQjFBuBRhEOH3lbeqJ2SlZ1EogSdpfBq_HbiO22Sa9EEqrKFULjHkLOcW4KIkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr09K4lyq3rL1A2GrHHR8MySMcWIdplcWjXMI7_oqPelnxIOuhjjnE3dq3WcXMLWiPuLH4okXAeIT94iOG7jrHscYsJ-KsALTD4Q59hXXYIOgKvVxouLN54dPRoNYUkYf2N172ddzwmxyhak9bUS6VUrCd_aUVAaPaztxiXJyZpNogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:34 GMT' + 'Wed, 30 Jun 2021 19:34:33 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=5db3664b-05dc-4949-8463-ecaff5ce39d2&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=18200db6-2847-4d36-9543-2debb36e9e3e&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -93,38 +93,38 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1599e2b7-8ceb-4ae3-83b9-3e220b150a00', + '5bb8c626-a444-4156-8364-1ce740a86301', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AozCHw2PCkpEmcGVqxl18u9z_bg1BgAAAB0TNtgOAAAA; expires=Thu, 17-Jun-2021 19:57:34 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AuMMF6jcGdFJnJVgWcEL7Tlz_bg1AQAAAEm-btgOAAAA; expires=Fri, 30-Jul-2021 19:34:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Tue, 18 May 2021 19:57:34 GMT', + 'Wed, 30 Jun 2021 19:34:34 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"bad","stringIndexType":"Utf16CodeUnit"}},{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}},{"parameters":{"model-version":"bad","stringIndexType":"TextElement_v8"}}]},"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."}]}}) - .reply(400, {"error":{"code":"InvalidRequest","message":"Job task parameter value bad is not supported for model-version parameter for job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15."}}, [ + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"bad","stringIndexType":"TextElement_v8"}}]}}) + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid parameter in request","innererror":{"code":"InvalidParameterValue","message":"Job task parameter value bad is not supported for model-version parameter for job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15."}}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '4', + '503', 'apim-request-id', - 'c1e303cd-4dc1-4251-9cb8-2b80b02bac5a', + 'ab2b132f-84dc-41f6-a2fb-3514c9217948', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Tue, 18 May 2021 19:57:34 GMT' + 'Wed, 30 Jun 2021 19:34:36 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.js new file mode 100644 index 000000000000..08c9c8b35f31 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "d1c43b9d04e7f9e2d9e2bac6086a994c"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.js index 4fee4e2c425c..b28c8a11006c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_operation_metadata.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e02332145f6c6188b35b4758067b255f"; +module.exports.hash = "204756a0ef7bb31d61c833d32a9152fa"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd535d18f-7aea-4f52-b8d4-96378f776000', + '58f6765b-386b-4101-b208-81cc8e420600', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.8 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:49 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7bV89qRMMMxvoIaTo-Ug1QH1MekSsnB5uiwKctDQ5eICc5AwG9-N-mIOtyt3UBwUl20yejbSIXBYNL5MKmKJ4IMaKNhGsL2wGmviu3IU4mvkH7-8oWd80TmkfV1Hj0fGZzuGYaH2lst5j9T1S_l02u8D9UjR1mcpIpRHAXigRbMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr7hByEXTtvFUMZfzmJnVjePGVQnDNSMLjVoWSQIVlCcE-4LGKm4eujjlBkoFkfT4nbJkAOLnn3Rw5qE1tt5UKB6A8DuC_FoSOVRM1sf5P3ghq_6-7zNKU-lr4hS3fnTD0orMi-XBWGAocky42T8wwd7rXIhC4fkda6cScccSIRp4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:57 GMT' + 'Fri, 25 Jun 2021 19:42:48 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc978f25a00', + '703b39c0-f313-4374-a6f6-9fd050495d00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:49 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrb0IynuvWJH04cGXEyZhA4vHgfPyWoOcINX_ot_KBqdbaRjr4rtSCTOF4j-KZFUWtDZCmpRlRhsnFLCzkIbH2ZaIy2rBS32PFFWs9qB35a-feSTDMJGLTcGxa3pgQoA77GFUcvet8Lql6omX9h1LS3FLfqo8uGzPsdc28jo9LUd4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLXI0XVxjp4EcIDpf0848xeZj4_IxvZiDHnwWudBwgGtRbflBi7vILIkuPENklLr4LO6wNvfg99maY7aVDpKdwXj1S3MmBb74g97EJ75IRI5IEHDQ32NYxlZn2v2LtE1tfQW_5IJaaOaQQSr3Ie0bTZB7P03fOLSQY9Qxa2HSciYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:57 GMT', + 'Fri, 25 Jun 2021 19:42:49 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=4185a731-b8ff-4584-8125-9687a40d8d9c&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,64 +93,66 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd821dd35e00', + 'c2c46a2d-caf1-495a-b60f-6d2051d27100', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:49 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:57 GMT' + 'Fri, 25 Jun 2021 19:42:49 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"displayName":"testJob","tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]},"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]}}) + .post('//text/analytics/v3.1/analyze', {"displayName":"testJob","analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/8039d582-2137-494a-bf55-5a021edb69fb', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/94709fa1-1ba9-4718-adc2-953577650a89', 'x-envoy-upstream-service-time', - '87', + '182', 'apim-request-id', - '9e41fa09-48e9-431d-9aeb-0190d1f2d162', + 'e26038c1-a625-487f-8bcf-3c5c9819383e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:57 GMT' + 'Fri, 25 Jun 2021 19:42:48 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8039d582-2137-494a-bf55-5a021edb69fb') + .get('//text/analytics/v3.1/analyze/jobs/94709fa1-1ba9-4718-adc2-953577650a89') .query(true) - .reply(200, {"jobId":"8039d582-2137-494a-bf55-5a021edb69fb","lastUpdateDateTime":"2021-05-12T19:14:57Z","createdDateTime":"2021-05-12T19:14:57Z","expirationDateTime":"2021-05-13T19:14:57Z","status":"notStarted","errors":[],"displayName":"testJob","tasks":{"details":{"name":"testJob","lastUpdateDateTime":"2021-05-12T19:14:57Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"94709fa1-1ba9-4718-adc2-953577650a89","lastUpdateDateTime":"2021-06-25T19:42:49Z","createdDateTime":"2021-06-25T19:42:49Z","expirationDateTime":"2021-06-26T19:42:49Z","status":"notStarted","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7', 'apim-request-id', - '413e24b1-b860-412c-8033-6e9ed1d941d0', + 'fdb1ae9f-6a93-4f60-8687-8b7713a3ced5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:57 GMT' + 'Fri, 25 Jun 2021 19:42:48 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8039d582-2137-494a-bf55-5a021edb69fb') + .get('//text/analytics/v3.1/analyze/jobs/94709fa1-1ba9-4718-adc2-953577650a89') .query(true) - .reply(200, {"jobId":"8039d582-2137-494a-bf55-5a021edb69fb","lastUpdateDateTime":"2021-05-12T19:14:57Z","createdDateTime":"2021-05-12T19:14:57Z","expirationDateTime":"2021-05-13T19:14:57Z","status":"notStarted","errors":[],"displayName":"testJob","tasks":{"details":{"name":"testJob","lastUpdateDateTime":"2021-05-12T19:14:57Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"94709fa1-1ba9-4718-adc2-953577650a89","lastUpdateDateTime":"2021-06-25T19:42:49Z","createdDateTime":"2021-06-25T19:42:49Z","expirationDateTime":"2021-06-26T19:42:49Z","status":"notStarted","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,91 +160,91 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'd4a924de-af1a-4a47-b0a2-26dfea13346c', + 'f43019c2-741e-4e66-93b3-6b096fcce6d1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:57 GMT' + 'Fri, 25 Jun 2021 19:42:48 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8039d582-2137-494a-bf55-5a021edb69fb') + .get('//text/analytics/v3.1/analyze/jobs/94709fa1-1ba9-4718-adc2-953577650a89') .query(true) - .reply(200, {"jobId":"8039d582-2137-494a-bf55-5a021edb69fb","lastUpdateDateTime":"2021-05-12T19:14:59Z","createdDateTime":"2021-05-12T19:14:57Z","expirationDateTime":"2021-05-13T19:14:57Z","status":"running","errors":[],"displayName":"testJob","tasks":{"details":{"name":"testJob","lastUpdateDateTime":"2021-05-12T19:14:59Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"94709fa1-1ba9-4718-adc2-953577650a89","lastUpdateDateTime":"2021-06-25T19:42:50Z","createdDateTime":"2021-06-25T19:42:49Z","expirationDateTime":"2021-06-26T19:42:49Z","status":"running","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '11', 'apim-request-id', - 'a8ef4129-6c70-4bd9-9176-7aa8c3eb701f', + '2675d276-cf6f-4b2e-82f4-44a2beea7c88', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:59 GMT' + 'Fri, 25 Jun 2021 19:42:50 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8039d582-2137-494a-bf55-5a021edb69fb') + .get('//text/analytics/v3.1/analyze/jobs/94709fa1-1ba9-4718-adc2-953577650a89') .query(true) - .reply(200, {"jobId":"8039d582-2137-494a-bf55-5a021edb69fb","lastUpdateDateTime":"2021-05-12T19:14:59Z","createdDateTime":"2021-05-12T19:14:57Z","expirationDateTime":"2021-05-13T19:14:57Z","status":"running","errors":[],"displayName":"testJob","tasks":{"details":{"name":"testJob","lastUpdateDateTime":"2021-05-12T19:14:59Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"94709fa1-1ba9-4718-adc2-953577650a89","lastUpdateDateTime":"2021-06-25T19:42:50Z","createdDateTime":"2021-06-25T19:42:49Z","expirationDateTime":"2021-06-26T19:42:49Z","status":"running","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '5', 'apim-request-id', - 'f9a7b041-4947-4cb8-b378-cb32aa99feab', + 'da5aceae-6e8d-4d91-8c08-beacff2a8f00', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:01 GMT' + 'Fri, 25 Jun 2021 19:42:52 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8039d582-2137-494a-bf55-5a021edb69fb') + .get('//text/analytics/v3.1/analyze/jobs/94709fa1-1ba9-4718-adc2-953577650a89') .query(true) - .reply(200, {"jobId":"8039d582-2137-494a-bf55-5a021edb69fb","lastUpdateDateTime":"2021-05-12T19:14:59Z","createdDateTime":"2021-05-12T19:14:57Z","expirationDateTime":"2021-05-13T19:14:57Z","status":"running","errors":[],"displayName":"testJob","tasks":{"details":{"name":"testJob","lastUpdateDateTime":"2021-05-12T19:14:59Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"94709fa1-1ba9-4718-adc2-953577650a89","lastUpdateDateTime":"2021-06-25T19:42:50Z","createdDateTime":"2021-06-25T19:42:49Z","expirationDateTime":"2021-06-26T19:42:49Z","status":"running","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '8', 'apim-request-id', - '628b4186-16d3-49ef-b417-84979e9444d8', + 'ffa3e312-6d4b-4cab-9692-8921c149576e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:03 GMT' + 'Fri, 25 Jun 2021 19:42:55 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8039d582-2137-494a-bf55-5a021edb69fb') + .get('//text/analytics/v3.1/analyze/jobs/94709fa1-1ba9-4718-adc2-953577650a89') .query(true) - .reply(200, {"jobId":"8039d582-2137-494a-bf55-5a021edb69fb","lastUpdateDateTime":"2021-05-12T19:15:04Z","createdDateTime":"2021-05-12T19:14:57Z","expirationDateTime":"2021-05-13T19:14:57Z","status":"succeeded","errors":[],"displayName":"testJob","tasks":{"details":{"name":"testJob","lastUpdateDateTime":"2021-05-12T19:15:04Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:15:04.8241978Z","name":"testJob","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"94709fa1-1ba9-4718-adc2-953577650a89","lastUpdateDateTime":"2021-06-25T19:42:56Z","createdDateTime":"2021-06-25T19:42:49Z","expirationDateTime":"2021-06-26T19:42:49Z","status":"succeeded","errors":[],"displayName":"testJob","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:56.0831466Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '54', + '65', 'apim-request-id', - 'c2e23cb5-ba16-4fdb-9cf4-322f6cbe719f', + 'ed2c4b21-a67b-4570-a548-9151533530ee', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:15:05 GMT' + 'Fri, 25 Jun 2021 19:42:57 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.js index a57ad61e03fa..e95a76c0dd43 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "eb3bf399cb76c760be167ce7c7b1b8ab"; +module.exports.hash = "ce68d594d903ed92dd603e6d0dc15d1d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c7dabe23-5a25-432a-b531-7e5a390d0400', + '543f5f8a-186d-4dba-9edc-d50fc51b5400', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.8 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:12:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:04 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrFOMgfUck6ZEhH-mZAi9Ujml7KbdDIeReToe53oeZ8FynMR8i9ZdP98Vl2z9r98AupxvnPoTu73hbUEqWTeXaBMegqMSon9Z4tc9AJLJSEDe2sUdXSu9qRELE8XqkBcm2-5Jw1VIHU0CH7nxAm7p7HzN_oTv7HosOMaUjLnhWGbsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr0AlJ7NP9JkFCuftq0J16-Iwno14CcJ7xZMYEXbIUgB0I3FjQkdagSrxj2FsMtY4pLmR-2UFokXHJZLaAfj8Oq5oWPG76ew0YLKwyahIt4Bm1Knh-7Ev08tZRBTzVHMqzWIiVPUl0qSwCdXAPr8N3PCTxYBR1jqaEL9Y7d33hE-MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:12:31 GMT' + 'Fri, 25 Jun 2021 19:40:03 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,33 +58,32 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a7e345400', + '1e233fee-f232-4e03-820f-8a8c24dd6e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:12:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:04 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrIzZ41xRejgg1oENTqdBGAhCN4Ugx0sdhK2xFsYoR6XINlD0erddqJPuMtGFSoy2UGw1SQOAx5lqh80L3zrk__2occqq-knhfQN5gis9E8mv_FuxStAeBCXgHSuxK1BEG1BoPMjK5eTgGyRawjaOSvrQ0_79Dq5Lw9jDZzC6TP_YgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrm_kVENvLEUCLzC1msDCBFY1b4TD083v1KK5YJEXilxCT5rrO5uzoM83RuLtR_FwNFNidqzW8SdJAz5b8AlImI7XFNF_yisUspatPZFt3GvWFsSUUGb9gfSSezBlQSsdJnB78mo1BLjAVLrQE6Ycg8CxCqOzWg6g67HZUTGK-1qIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:12:31 GMT', + 'Fri, 25 Jun 2021 19:40:03 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=d4fecfb4-dea9-4a65-900d-2145ea8f7ad4&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', + 'Content-Length', + '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -96,66 +95,44 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d34ad66000', + 'c19e3cf4-d853-423c-83e5-5de3fe936200', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:12:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:04 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:12:31 GMT', - 'Content-Length', - '1331' + 'Fri, 25 Jun 2021 19:40:03 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":"w"},{"id":"19","text":":P"},{"id":"1","text":":D"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":"w"},{"id":"19","text":":P"},{"id":"1","text":":D"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd', - 'x-envoy-upstream-service-time', - '173', - 'apim-request-id', - '2a0e9caa-c21b-4ba7-be58-36ef47373f86', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:32 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') - .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:32Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:32Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe', 'x-envoy-upstream-service-time', - '7', + '327', 'apim-request-id', - 'bcd45c1d-108d-44d3-bfc6-f2ea7374d33f', + '26400ac4-d92f-4567-ba8d-89a5d9f70bc8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:32 GMT' + 'Fri, 25 Jun 2021 19:40:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:32Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:32Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:05Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,59 +140,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'a5f2c4aa-9ae1-4afd-97d8-334d421bb136', + '968041b5-253c-44bf-80d4-64c191d23cc2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:32 GMT' + 'Fri, 25 Jun 2021 19:40:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:32Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:32Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:05Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '9', - 'apim-request-id', - '5d245ae8-6d19-49bc-9398-99a05c9e7198', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:34 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') - .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:32Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:32Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', + '6', 'apim-request-id', - 'f3b030b7-eb85-48b3-8c8a-a189c0bee493', + '5bb7075f-9414-47d3-8a18-28b8a7a6bbf1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:36 GMT' + 'Fri, 25 Jun 2021 19:40:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:38Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:38Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:05Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -223,19 +180,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'ce0f5f07-8e0c-4459-a0bb-07f58be4deab', + '5100ae49-5f1a-4142-a424-ca8d7b10b2ed', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:38 GMT' + 'Fri, 25 Jun 2021 19:40:06 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:38Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:38Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:05Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -243,131 +200,111 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '942f4510-2307-46b2-95a4-c4f90bf85ff6', + '36882acb-41b2-4d43-9369-71ebae3a3d6a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:40 GMT' + 'Fri, 25 Jun 2021 19:40:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:40Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:40Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:40.9856295Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:05Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '122', + '10', 'apim-request-id', - '6b433666-76bd-44d2-ac1a-bea74e9b7e38', + '9b68deda-ba4a-4498-9423-253e068ddca2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:42 GMT' + 'Fri, 25 Jun 2021 19:40:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:40Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:40Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:40.9856295Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:13Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:12.0939197Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:13.3399992Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '5095', - 'apim-request-id', - '37baf764-667b-4e3c-8518-9a3ace130644', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:49 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') - .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:45Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:45.4418621Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:40.9856295Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '144', + '173', 'apim-request-id', - 'eaf049be-321e-443b-9386-65b046cb6a9b', + 'c9e95a89-d7a7-4adb-b3ff-d36a2254ea73', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:52 GMT' + 'Fri, 25 Jun 2021 19:40:13 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:45Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:45.4418621Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:40.9856295Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:13Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:12.0939197Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:13.3399992Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '146', + '149', 'apim-request-id', - 'ab152b6e-0982-4db7-a867-06a4c87ec25e', + '1b1f29e5-2e27-4a65-9f73-3ee30799f32a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:54 GMT' + 'Fri, 25 Jun 2021 19:40:15 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:55Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:55Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:55.8638531Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:45.4418621Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:40.9856295Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:17Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:17.0422251Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:12.0939197Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:13.3399992Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '192', + '289', 'apim-request-id', - '5c129afe-e838-41a3-b8ce-6e61cf141b93', + '012ffda0-f60c-4d26-ba66-97957989dae7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:56 GMT' + 'Fri, 25 Jun 2021 19:40:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/449b24fd-694c-4a9c-9bd8-3fe571a94ecd') + .get('//text/analytics/v3.1/analyze/jobs/381cbfcf-90ca-4108-9cd1-528d506cfabe') .query(true) - .reply(200, {"jobId":"449b24fd-694c-4a9c-9bd8-3fe571a94ecd","lastUpdateDateTime":"2021-05-12T19:12:55Z","createdDateTime":"2021-05-12T19:12:32Z","expirationDateTime":"2021-05-13T19:12:32Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:55Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:55.8638531Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:45.4418621Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:40.9856295Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"381cbfcf-90ca-4108-9cd1-528d506cfabe","lastUpdateDateTime":"2021-06-25T19:40:17Z","createdDateTime":"2021-06-25T19:40:04Z","expirationDateTime":"2021-06-26T19:40:04Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:17.0422251Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:12.0939197Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:13.3399992Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '173', + '252', 'apim-request-id', - 'ba7d6819-ca59-43df-b5af-dd0ff6ca2955', + 'c9252f86-92d0-4c7f-85d4-a089dcf57d52', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:57 GMT' + 'Fri, 25 Jun 2021 19:40:18 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.js index 837f42055476..b2df811b49d5 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "93e6ff2798f86850cc02324f8d8428e0"; +module.exports.hash = "0d0220320898553ba2b19148d77076f4"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6bf0c18c-a6b9-477c-a5f0-f1bb3c060200', + '1a9341fe-d51a-43f2-bedc-f5b28a62ce02', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:11:21 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:39:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevryrJKZ-g8DLk2O9Q_42w68Qp3e7-inbfHmW6IAkk3c_7Y8nbOveZ-EvLurAlrgE47N4a2mTsHxWBgJBQ2WkxbfiOTuH0qdaxXlT8Iw6rWAzmwo64ZrYQcLHKOm0tQqgcK_U5Y3zS6VNuR-60QaYNdwGP2QdWsy-0qMQg1j06V5wIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDfQgSW9q2sNfNfnFrMsxbsC19tGJxf3soR6_GbrOI2AdfC6ABl2m_IwldBi9ekPF4N18MC8Y_kxTmY7nmoJKYSWbTC80uiMnqIhfITr1YUQ2EHZE4xWD-nzTRwLjV1vBrUCrSvPOn-Z9BO5sII6-G-AOSQ5KLnXYn2R1wlUsY1ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:11:20 GMT', + 'Fri, 25 Jun 2021 19:39:33 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '4a103786-0d77-407a-b76a-a289e44ed400', + 'b7dd8c02-11f5-499e-bdfc-a9fde00d7500', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:11:21 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:39:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrF7fib15og1jXuUDiCJvxYXfNa2B-NG-UP8VGm8Hhv_C095vFmE9LrZxQ9WXSHsDMP9oYuJyJbSYtbOh6cP_4OMuAz3OZIZyukZnWi6JAiSgblniJSxyoK5cGBoOclUopnw2bv8WM2iQ8QbEdHzBrJfjdve0TpgDcHYvS1wZIKVAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevry5RHFktXD13DPmOCsSamBtC5rcowaoADh37hIEoBxVpQopJLj29e0GIKsFuGJgxWaRMHGUbV2HCTlPg71msEem03oRR0mwsK2nzklIMv7fv3ifrDOU1Si4LGsZ8_6Shw4tHj2WQPIK7AU-DpAXwzZNTrt4AH8T7-YpUObYYwC50gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:11:20 GMT', + 'Fri, 25 Jun 2021 19:39:33 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=39f75db3-400a-435e-9589-57edc146df7c&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,66 +93,66 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc9bbcd5a00', + '1e233fee-f232-4e03-820f-8a8c39d76e00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:11:21 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:39:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:11:20 GMT', + 'Fri, 25 Jun 2021 19:39:33 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"1","text":"one"},{"id":"2","text":"two"},{"id":"3","text":"three"},{"id":"4","text":"four"},{"id":"5","text":"five"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"one"},{"id":"2","text":"two"},{"id":"3","text":"three"},{"id":"4","text":"four"},{"id":"5","text":"five"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15', 'x-envoy-upstream-service-time', - '184', + '368', 'apim-request-id', - '3bec4cff-78ae-4dee-aaa0-3f1e697f5c85', + '3ecdbf5e-62bb-4b1b-8c4c-fec3cb80f3c3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:21 GMT' + 'Fri, 25 Jun 2021 19:39:34 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:21Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:21Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:34Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '12', 'apim-request-id', - 'c2748e24-9309-4c14-9b30-a7deaf31ccd8', + '90c18855-7797-4977-bd87-97d1db6bc4b5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:21 GMT' + 'Fri, 25 Jun 2021 19:39:34 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:21Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:21Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:34Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,19 +160,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '18df6b97-1e62-4ba5-b163-d64db16b6321', + '6ac52025-b34a-415b-a921-8b53def4f6a8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:21 GMT' + 'Fri, 25 Jun 2021 19:39:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:22Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:22Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:35Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,399 +180,159 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - '9cdc625d-e4b4-4033-bd2d-caf77ec34ea0', + '78ca4050-75fe-4ca6-bd08-db5c286db09b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:23 GMT' + 'Fri, 25 Jun 2021 19:39:37 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:24Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:24Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:35Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - 'e16dfd6b-0222-475d-932c-d5eb1c71da7b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:25 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '69', - 'apim-request-id', - 'c739c00e-0105-418c-8078-cffa32be6311', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:27 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '107', - 'apim-request-id', - 'dfa0d389-c793-4f5a-9008-f3ff56e72dce', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:29 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '77', - 'apim-request-id', - 'b42fe776-62c6-4d00-9ad5-c9f333e10461', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:31 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '60', - 'apim-request-id', - 'd51fc945-4c96-4b22-b67c-e8c4adffab95', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:34 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '92', - 'apim-request-id', - '4fa4d994-cc86-47fb-ba78-35e9b63003b1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:36 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '66', - 'apim-request-id', - '343866d3-aa6e-402f-b35b-d445492ca0d5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:38 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '69', - 'apim-request-id', - '862f9afa-361d-42f9-a15c-242c42cf2b13', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:40 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '66', - 'apim-request-id', - 'a913f632-89dc-4599-aad8-d57434c6d3b2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:42 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:28Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:28Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '80', - 'apim-request-id', - 'fd13597c-af73-459e-9204-f898417645ec', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:45 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '113', - 'apim-request-id', - '81d0dfeb-2375-45af-b7c5-f2afa263aceb', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:47 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '136', - 'apim-request-id', - '013690db-1126-449c-b19e-14818e953991', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:11:49 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '121', + '6', 'apim-request-id', - '3ace1c78-f479-403b-885d-57ba8ffa9ece', + '02efebc4-bbe5-48e7-a9cd-7822d34e8662', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:51 GMT' + 'Fri, 25 Jun 2021 19:39:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:35Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '163', + '9', 'apim-request-id', - '9664897a-9dd8-4b64-8d0e-b9528d9b0fc0', + 'e2a7771b-48bb-4091-a117-bb2bf6977376', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:54 GMT' + 'Fri, 25 Jun 2021 19:39:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:43Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '124', + '94', 'apim-request-id', - '590611a2-d310-4a71-baae-4ca55b9b41dc', + 'eae9eb71-7e14-4f9c-9437-6920a8556e3c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:56 GMT' + 'Fri, 25 Jun 2021 19:39:43 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:43Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '115', + '76', 'apim-request-id', - '3948bb06-f065-4c2b-869d-0b056d04ded6', + '33bbee40-79c2-4871-b630-ee3b194b279a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:58 GMT' + 'Fri, 25 Jun 2021 19:39:45 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:43Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '419', + '73', 'apim-request-id', - '53e6c28c-9468-420b-9ebd-e0c03df81eef', + '0a28942b-9a12-4232-bedd-4e170a67d2f0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:00 GMT' + 'Fri, 25 Jun 2021 19:39:47 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:48Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:48.257419Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '118', + '174', 'apim-request-id', - '8adcfe96-73c2-445d-838f-89bbf23c04ed', + 'be445b58-05aa-42db-9c34-3c7e3dc6aa7a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:02 GMT' + 'Fri, 25 Jun 2021 19:39:49 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:48Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:48.257419Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '155', + '166', 'apim-request-id', - '34be236e-508f-4f69-8448-09eaadf38c7f', + 'f4fa377a-a90b-41f0-bb75-ee5222f94aa3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:04 GMT' + 'Fri, 25 Jun 2021 19:39:51 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:48Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:48.257419Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -583,251 +340,111 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '171', 'apim-request-id', - '7653c9d3-49f3-4b2a-928f-e477b50b23ae', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:06 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '158', - 'apim-request-id', - '421f5ff1-679e-46c9-99cc-7b0ad597805f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:09 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '151', - 'apim-request-id', - '94ab9e51-7efe-413a-bd05-30098aa06301', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:11 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '123', - 'apim-request-id', - '008cd626-0596-4cbb-be82-dfeed183839f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:13 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '128', - 'apim-request-id', - '70c147b1-5a50-482d-b58b-1cd4c2833d29', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:15 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '111', - 'apim-request-id', - '47a584e1-de8f-412f-8c55-64067ebaddee', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:18 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '122', - 'apim-request-id', - 'd16d2f51-1a0b-4af9-a9c9-29453f676652', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:12:20 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') - .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '133', - 'apim-request-id', - '02c7403b-35fc-41fb-9f08-0676bd5470f1', + '867527d6-97a6-47a0-9de9-bec57719c560', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:22 GMT' + 'Fri, 25 Jun 2021 19:39:54 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:48Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:48.257419Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '124', + '166', 'apim-request-id', - 'b09725a6-dd9e-49c0-b82f-aa9760a50c9c', + '1d2640c6-5a3e-40e7-b1a9-a985b22c15e5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:24 GMT' + 'Fri, 25 Jun 2021 19:39:56 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:48Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:48.257419Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '118', + '197', 'apim-request-id', - 'ce7550c7-7544-449f-b8c5-52cfa919cd9e', + 'f0034346-7eda-4d7b-90ad-a6a77b40c7bf', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:27 GMT' + 'Fri, 25 Jun 2021 19:39:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:11:45Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:45Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:39:48Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:48.257419Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '183', + '171', 'apim-request-id', - 'edcf528a-7478-4185-b029-340d5dc1ffed', + '2f63a3d0-1ae1-4e30-8a2c-607b6ef48ea2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:29 GMT' + 'Fri, 25 Jun 2021 19:40:01 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:12:30Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:30Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:30.8545567Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:40:01Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:01.9119115Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:48.257419Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '206', + '230', 'apim-request-id', - '1c89b391-3be1-4660-ac05-62ce565a5c86', + 'c59aade7-f6ff-476d-8014-79aced785421', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:31 GMT' + 'Fri, 25 Jun 2021 19:40:03 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/00fcfe68-f5ab-4c15-beed-236615f48d28') + .get('//text/analytics/v3.1/analyze/jobs/dcd43c7c-8a5d-4439-88f3-4cbf8653fa15') .query(true) - .reply(200, {"jobId":"00fcfe68-f5ab-4c15-beed-236615f48d28","lastUpdateDateTime":"2021-05-12T19:12:30Z","createdDateTime":"2021-05-12T19:11:21Z","expirationDateTime":"2021-05-13T19:11:21Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:30Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:12:30.8545567Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:45.8004155Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:28.0518998Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"dcd43c7c-8a5d-4439-88f3-4cbf8653fa15","lastUpdateDateTime":"2021-06-25T19:40:01Z","createdDateTime":"2021-06-25T19:39:34Z","expirationDateTime":"2021-06-26T19:39:34Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:41.8293815Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:01.9119115Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:48.257419Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '175', + '266', 'apim-request-id', - 'b5d60d77-31c3-4c93-8524-30265f496cad', + 'f2036f2b-30fb-4fda-8787-9a04f968309c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:31 GMT' + 'Fri, 25 Jun 2021 19:40:03 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.js index 929858c3cac3..377f6f003eae 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e9797527b86d3a17b763db0f52fd9c49"; +module.exports.hash = "fcf347f6cb241de657ea5d5a47554eaf"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'ad2712d7-02f8-446c-8685-8eac0e909a00', + '8188f33f-6a57-4384-8647-026148356600', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevro6V2AcymcV6aoR9DxiLRWChhvhm3JZYdv2cMqvEUw13EoPgttosmVOMN1sds6UTLWF8KPliAXDn4DBqbzrgkrn692_XsQ5l--Z4RxtssqWKpKN-aPFi18kJ_K5DBsRZ4q_5QaUDHlDQPe4VONUZlmfARXX8VWrtU0COnnWy_DPQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8mt2WpXIR4hiTsB7n_QkvpgGv5O7uPugVIqt53aAQCkm7SQxlv_eA3QkCyTsA32uuywH8wuauyaeMSlhRnNcqGDWUiw6iElex1rkHsjNRTh1AkVNKUCq2xzu8GULLugs2RuMe-tvljcKWVLkaSi2YgQQ36NvVo0lVW2EgvczJ5IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:31 GMT' + 'Fri, 25 Jun 2021 19:42:17 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Length', - '1651', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +60,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed3d7565b00', + '9d80f76e-26fc-421e-9776-d8e3d0cf5b00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevroEElP6G5nmuzl8BGP_R4LScm9wucw6bJ1oZXQXVbA9BIM2btlxt5OQhW1JpShRKXKb5n6O40a1IAnHhs_iY7l52piHNy_xLpAjXDArRVbiw8AwVUOzfSAB2YUNmFJU8dGUEXOUJehX7A2ath3RMWHomQz2qjIT1whCfwOVetyhcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrmU0Htg0faIQKnulVUITlaRv-04g865S56I3fKoDt18S1lLHHQr002fccuKE2ZLXuL53RuU9siMxrOyMSfv4ufN78Jd8lByqHnSN1MIl5PfTkGcYzFV41TpCTNGfpS2Ylf1GZNdjBL1JmDy6kzuwKxjwzZ3yS_vJR1fZPbYxsBb0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:31 GMT' + 'Fri, 25 Jun 2021 19:42:17 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=e182fc8c-8808-4679-8728-350c4be18c19&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,64 +93,106 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-3212f6e55200', + 'b7dd8c02-11f5-499e-bdfc-a9fd502f7500', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:32 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:31 GMT' + 'Fri, 25 Jun 2021 19:42:17 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"0","text":"random text","language":"en"},{"id":"1","text":"random text","language":"en"},{"id":"2","text":"random text","language":"en"},{"id":"3","text":"random text","language":"en"},{"id":"4","text":"random text","language":"en"},{"id":"5","text":"random text","language":"en"},{"id":"6","text":"random text","language":"en"},{"id":"7","text":"random text","language":"en"},{"id":"8","text":"random text","language":"en"},{"id":"9","text":"random text","language":"en"},{"id":"10","text":"random text","language":"en"},{"id":"11","text":"random text","language":"en"},{"id":"12","text":"random text","language":"en"},{"id":"13","text":"random text","language":"en"},{"id":"14","text":"random text","language":"en"},{"id":"15","text":"random text","language":"en"},{"id":"16","text":"random text","language":"en"},{"id":"17","text":"random text","language":"en"},{"id":"18","text":"random text","language":"en"},{"id":"19","text":"random text","language":"en"},{"id":"20","text":"random text","language":"en"},{"id":"21","text":"random text","language":"en"},{"id":"22","text":"random text","language":"en"},{"id":"23","text":"random text","language":"en"},{"id":"24","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"random text","language":"en"},{"id":"1","text":"random text","language":"en"},{"id":"2","text":"random text","language":"en"},{"id":"3","text":"random text","language":"en"},{"id":"4","text":"random text","language":"en"},{"id":"5","text":"random text","language":"en"},{"id":"6","text":"random text","language":"en"},{"id":"7","text":"random text","language":"en"},{"id":"8","text":"random text","language":"en"},{"id":"9","text":"random text","language":"en"},{"id":"10","text":"random text","language":"en"},{"id":"11","text":"random text","language":"en"},{"id":"12","text":"random text","language":"en"},{"id":"13","text":"random text","language":"en"},{"id":"14","text":"random text","language":"en"},{"id":"15","text":"random text","language":"en"},{"id":"16","text":"random text","language":"en"},{"id":"17","text":"random text","language":"en"},{"id":"18","text":"random text","language":"en"},{"id":"19","text":"random text","language":"en"},{"id":"20","text":"random text","language":"en"},{"id":"21","text":"random text","language":"en"},{"id":"22","text":"random text","language":"en"},{"id":"23","text":"random text","language":"en"},{"id":"24","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480', + 'x-envoy-upstream-service-time', + '1001', + 'apim-request-id', + '128f09ed-b2a8-45bd-933d-f166139090f5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:42:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') + .query(true) + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:18Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'ebcb0ae8-85dc-496a-a3cf-c897aee5cb36', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:42:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') + .query(true) + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:18Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '414', + '69', 'apim-request-id', - '19beff35-8d49-41fc-bde1-e3edf7825868', + 'fd57e4e7-efba-4f49-bf50-88f54f713760', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:31 GMT' + 'Fri, 25 Jun 2021 19:42:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:32Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:32Z"},"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:20Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '12', + '7', 'apim-request-id', - 'cbac06e2-00df-4df1-b3ed-2c14072f2a04', + '90a66932-40d3-46c9-9124-d9536a39814a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:31 GMT' + 'Fri, 25 Jun 2021 19:42:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:32Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:32Z"},"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:20Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,19 +200,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'b6eb8ee3-9910-48ea-a9ae-f6ca92e3312f', + '435ed09e-01d3-461b-b25d-6b8dbbfa25c7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:42:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') + .query(true) + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:20Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'ce97d6e7-15b5-4c74-9316-cb48f0d73530', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:31 GMT' + 'Fri, 25 Jun 2021 19:42:24 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:34Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:34Z"},"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:26Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,151 +240,171 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - '0d77f853-9087-418c-9ed4-b87f02da3c53', + '2ecd63bc-f079-4d07-bae7-ece7b48ebe7d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:33 GMT' + 'Fri, 25 Jun 2021 19:42:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:34Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:34Z"},"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:27Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":1,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:27.3428372Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]},{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480?$skip=20&$top=5&showStats=False"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '10', + '325', 'apim-request-id', - 'c56eb814-19c0-44dc-b1bc-7432149b135c', + 'b84c72ab-4848-40cc-92e7-43c487ec9926', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:35 GMT' + 'Fri, 25 Jun 2021 19:42:29 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:38Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:38Z"},"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:27Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":1,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:27.3428372Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]},{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480?$skip=20&$top=5&showStats=False"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '205', + 'apim-request-id', + 'f2167e73-e4be-4e0b-ba1c-a6f0eb2a7e53', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:42:31 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') + .query(true) + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:27Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":1,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:27.3428372Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]},{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480?$skip=20&$top=5&showStats=False"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '232', 'apim-request-id', - 'b0ef8903-6e1a-489e-9b1d-9e1c018ae53e', + 'c89f0e67-b29d-4bc9-946f-23e6cab7c944', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:37 GMT' + 'Fri, 25 Jun 2021 19:42:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:40Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:40Z"},"completed":1,"failed":0,"inProgress":1,"total":2,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:39.4039874Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["random text"],"warnings":[]},{"id":"1","keyPhrases":["random text"],"warnings":[]},{"id":"2","keyPhrases":["random text"],"warnings":[]},{"id":"3","keyPhrases":["random text"],"warnings":[]},{"id":"4","keyPhrases":["random text"],"warnings":[]},{"id":"5","keyPhrases":["random text"],"warnings":[]},{"id":"6","keyPhrases":["random text"],"warnings":[]},{"id":"7","keyPhrases":["random text"],"warnings":[]},{"id":"8","keyPhrases":["random text"],"warnings":[]},{"id":"9","keyPhrases":["random text"],"warnings":[]},{"id":"10","keyPhrases":["random text"],"warnings":[]},{"id":"11","keyPhrases":["random text"],"warnings":[]},{"id":"12","keyPhrases":["random text"],"warnings":[]},{"id":"13","keyPhrases":["random text"],"warnings":[]},{"id":"14","keyPhrases":["random text"],"warnings":[]},{"id":"15","keyPhrases":["random text"],"warnings":[]},{"id":"16","keyPhrases":["random text"],"warnings":[]},{"id":"17","keyPhrases":["random text"],"warnings":[]},{"id":"18","keyPhrases":["random text"],"warnings":[]},{"id":"19","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646?$skip=20&$top=5&showStats=False"}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:27Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":1,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:27.3428372Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]},{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480?$skip=20&$top=5&showStats=False"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '218', + '222', 'apim-request-id', - 'f4adea78-c4e3-4c25-b319-fe4c9c77d5e7', + '777c5d4e-51b6-4018-b461-6aa6242371dc', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:40 GMT' + 'Fri, 25 Jun 2021 19:42:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:40Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:40Z"},"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:40.9947506Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]},{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:39.4039874Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["random text"],"warnings":[]},{"id":"1","keyPhrases":["random text"],"warnings":[]},{"id":"2","keyPhrases":["random text"],"warnings":[]},{"id":"3","keyPhrases":["random text"],"warnings":[]},{"id":"4","keyPhrases":["random text"],"warnings":[]},{"id":"5","keyPhrases":["random text"],"warnings":[]},{"id":"6","keyPhrases":["random text"],"warnings":[]},{"id":"7","keyPhrases":["random text"],"warnings":[]},{"id":"8","keyPhrases":["random text"],"warnings":[]},{"id":"9","keyPhrases":["random text"],"warnings":[]},{"id":"10","keyPhrases":["random text"],"warnings":[]},{"id":"11","keyPhrases":["random text"],"warnings":[]},{"id":"12","keyPhrases":["random text"],"warnings":[]},{"id":"13","keyPhrases":["random text"],"warnings":[]},{"id":"14","keyPhrases":["random text"],"warnings":[]},{"id":"15","keyPhrases":["random text"],"warnings":[]},{"id":"16","keyPhrases":["random text"],"warnings":[]},{"id":"17","keyPhrases":["random text"],"warnings":[]},{"id":"18","keyPhrases":["random text"],"warnings":[]},{"id":"19","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646?$skip=20&$top=5&showStats=False"}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:38Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:27.3428372Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]},{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:38.0240622Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["random text"],"warnings":[]},{"id":"1","keyPhrases":["random text"],"warnings":[]},{"id":"2","keyPhrases":["random text"],"warnings":[]},{"id":"3","keyPhrases":["random text"],"warnings":[]},{"id":"4","keyPhrases":["random text"],"warnings":[]},{"id":"5","keyPhrases":["random text"],"warnings":[]},{"id":"6","keyPhrases":["random text"],"warnings":[]},{"id":"7","keyPhrases":["random text"],"warnings":[]},{"id":"8","keyPhrases":["random text"],"warnings":[]},{"id":"9","keyPhrases":["random text"],"warnings":[]},{"id":"10","keyPhrases":["random text"],"warnings":[]},{"id":"11","keyPhrases":["random text"],"warnings":[]},{"id":"12","keyPhrases":["random text"],"warnings":[]},{"id":"13","keyPhrases":["random text"],"warnings":[]},{"id":"14","keyPhrases":["random text"],"warnings":[]},{"id":"15","keyPhrases":["random text"],"warnings":[]},{"id":"16","keyPhrases":["random text"],"warnings":[]},{"id":"17","keyPhrases":["random text"],"warnings":[]},{"id":"18","keyPhrases":["random text"],"warnings":[]},{"id":"19","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480?$skip=20&$top=5&showStats=False"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '489', + '571', 'apim-request-id', - 'a8844664-03f2-4bfd-96bb-73179f9ac430', + 'ea9e33a8-120f-4583-885b-cbf41db99445', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:43 GMT' + 'Fri, 25 Jun 2021 19:42:38 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:40Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:40Z"},"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:40.9947506Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:39.4039874Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["random text"],"warnings":[]},{"id":"1","keyPhrases":["random text"],"warnings":[]},{"id":"2","keyPhrases":["random text"],"warnings":[]},{"id":"3","keyPhrases":["random text"],"warnings":[]},{"id":"4","keyPhrases":["random text"],"warnings":[]},{"id":"5","keyPhrases":["random text"],"warnings":[]},{"id":"6","keyPhrases":["random text"],"warnings":[]},{"id":"7","keyPhrases":["random text"],"warnings":[]},{"id":"8","keyPhrases":["random text"],"warnings":[]},{"id":"9","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646?$skip=10&$top=10&showStats=False"}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:38Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:27.3428372Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:38.0240622Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["random text"],"warnings":[]},{"id":"1","keyPhrases":["random text"],"warnings":[]},{"id":"2","keyPhrases":["random text"],"warnings":[]},{"id":"3","keyPhrases":["random text"],"warnings":[]},{"id":"4","keyPhrases":["random text"],"warnings":[]},{"id":"5","keyPhrases":["random text"],"warnings":[]},{"id":"6","keyPhrases":["random text"],"warnings":[]},{"id":"7","keyPhrases":["random text"],"warnings":[]},{"id":"8","keyPhrases":["random text"],"warnings":[]},{"id":"9","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480?$skip=10&$top=10&showStats=False"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '198', + '302', 'apim-request-id', - '89e1417a-3350-4ce0-85d9-9a1443553ee8', + '1b996271-2313-45fa-b32f-c9848d79b8e1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:43 GMT' + 'Fri, 25 Jun 2021 19:42:38 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:40Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:40Z"},"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:40.9947506Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:39.4039874Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"10","keyPhrases":["random text"],"warnings":[]},{"id":"11","keyPhrases":["random text"],"warnings":[]},{"id":"12","keyPhrases":["random text"],"warnings":[]},{"id":"13","keyPhrases":["random text"],"warnings":[]},{"id":"14","keyPhrases":["random text"],"warnings":[]},{"id":"15","keyPhrases":["random text"],"warnings":[]},{"id":"16","keyPhrases":["random text"],"warnings":[]},{"id":"17","keyPhrases":["random text"],"warnings":[]},{"id":"18","keyPhrases":["random text"],"warnings":[]},{"id":"19","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646?$skip=20&$top=5&showStats=False"}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:38Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:27.3428372Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:38.0240622Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"10","keyPhrases":["random text"],"warnings":[]},{"id":"11","keyPhrases":["random text"],"warnings":[]},{"id":"12","keyPhrases":["random text"],"warnings":[]},{"id":"13","keyPhrases":["random text"],"warnings":[]},{"id":"14","keyPhrases":["random text"],"warnings":[]},{"id":"15","keyPhrases":["random text"],"warnings":[]},{"id":"16","keyPhrases":["random text"],"warnings":[]},{"id":"17","keyPhrases":["random text"],"warnings":[]},{"id":"18","keyPhrases":["random text"],"warnings":[]},{"id":"19","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480?$skip=20&$top=5&showStats=False"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '248', + '269', 'apim-request-id', - '65925475-8f58-4079-bc03-dfeb7b9610fd', + 'd67f0a48-d03a-413b-9e04-8125e8c5879d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:44 GMT' + 'Fri, 25 Jun 2021 19:42:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/0983681f-45ed-4a66-90bb-5a0fa6cb2646') + .get('//text/analytics/v3.1/analyze/jobs/83f4280c-94e2-45ef-bc23-43640f0a2480') .query(true) - .reply(200, {"jobId":"0983681f-45ed-4a66-90bb-5a0fa6cb2646","lastUpdateDateTime":"2021-05-12T19:14:40Z","createdDateTime":"2021-05-12T19:14:32Z","expirationDateTime":"2021-05-13T19:14:32Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:40Z"},"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:40.9947506Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"20","entities":[],"warnings":[]},{"id":"21","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"23","entities":[],"warnings":[]},{"id":"24","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.95},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:39.4039874Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"20","keyPhrases":["random text"],"warnings":[]},{"id":"21","keyPhrases":["random text"],"warnings":[]},{"id":"22","keyPhrases":["random text"],"warnings":[]},{"id":"23","keyPhrases":["random text"],"warnings":[]},{"id":"24","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"83f4280c-94e2-45ef-bc23-43640f0a2480","lastUpdateDateTime":"2021-06-25T19:42:38Z","createdDateTime":"2021-06-25T19:42:17Z","expirationDateTime":"2021-06-26T19:42:17Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:27.3428372Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"20","entities":[],"warnings":[]},{"id":"21","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"23","entities":[],"warnings":[]},{"id":"24","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:38.0240622Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"20","keyPhrases":["random text"],"warnings":[]},{"id":"21","keyPhrases":["random text"],"warnings":[]},{"id":"22","keyPhrases":["random text"],"warnings":[]},{"id":"23","keyPhrases":["random text"],"warnings":[]},{"id":"24","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '126', + '179', 'apim-request-id', - 'f0ab20a2-3eb4-4669-b14c-ac97f39c48ea', + 'ce8fdf4c-6162-48c1-adeb-8cccef0a12aa', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:44 GMT' + 'Fri, 25 Jun 2021 19:42:39 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.js index 37c86739c228..8b474d8cfcb8 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "809d8121a5c80a5f3218f36950f86872"; +module.exports.hash = "53edc15aa669bdf8a052f15fbf8840b3"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6b76e4cf-8f1b-42e6-b365-ca53ce9c7c00', + 'eef39708-1f69-40d0-a797-f250162e0200', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:39 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1q_GC2opaE5HTP8iTEWx3VmGo03mDSlVDdHeabRlYzTmM0v1TKhwEAs91Pn9ObD2jr_wbR1FRH1BK6u2sTSWwh_4n1ZhULWPcdo1VUeCtWorcY-a2tXAVap9b6YhIGdcRf9_1bQzopSQxHoQdb0bkDyBDee1QFALzvblwJK4G-IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrT2x1KUd_EkUGv-blZH8CgFmfxrZBt8NlcV2W7lCWpV5-Veh4_rXDMkiiVcHbFOsKeLbJo61lTRZGhufpTTPbbG7g3j_-W6MzxJdidfuGp6Ko4wAc2XFU7Th5UnN5HDr06oIYKuVv37wyUgOFsV5q0LO8NRWUL8coQMdzcQLjeOUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:44 GMT', + 'Fri, 25 Jun 2021 19:42:39 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-3212e4e75200', + 'b7dd8c02-11f5-499e-bdfc-a9fde5337500', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpVKYuOaJqdGhDaTKr1JzfyIuOo3QyBdMoJMKjGs14YzSDNThqoKv1FMUFr74V0vDmcQAnJdewL5Ipwd1rLYd_biHC7gndUm-_iWgoVt69kuKnhghOARS_Of8ZoK2NGHXP4V1HojiJfTVarT7ULBdMo2eajL1dQX39ggltqYIvwogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8HuOU5AiqIf8MTFb3KCH_h5Ztnl3vj5ZBG63Q4b--Q8YBz_l8ZATKrehogYonFFm3lpovBzqIj0XGo7WQU0W8NsGQZpfHqcf-gLN3Csv0-FKrTUo4Q63g9AbjdvWLFi0jIeo5ECUQaKZZJR6buX4YS3cWvnl7QP-9vZsuGxfsOogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:44 GMT' + 'Fri, 25 Jun 2021 19:42:39 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=0e2b91e0-73bf-410c-8838-4927411fa01f&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,124 +93,106 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7a2b91c500', + 'c2c46a2d-caf1-495a-b60f-6d2089d07100', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:14:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:42:40 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:14:44 GMT' + 'Fri, 25 Jun 2021 19:42:40 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]},"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573', - 'x-envoy-upstream-service-time', - '196', - 'apim-request-id', - 'db2471d0-025b-45fe-8f71-f4c47d7815b3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:14:44 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') - .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:44Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:44Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/93cb8b3d-3602-4d8b-8f07-9c228910d674', 'x-envoy-upstream-service-time', - '6', + '161', 'apim-request-id', - '70a55ae7-15f4-4847-942e-31da9c7ae290', + 'e601247a-92a3-4672-bf34-d903a78e5535', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:44 GMT' + 'Fri, 25 Jun 2021 19:42:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') + .get('//text/analytics/v3.1/analyze/jobs/93cb8b3d-3602-4d8b-8f07-9c228910d674') .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:44Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:44Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"93cb8b3d-3602-4d8b-8f07-9c228910d674","lastUpdateDateTime":"2021-06-25T19:42:40Z","createdDateTime":"2021-06-25T19:42:40Z","expirationDateTime":"2021-06-26T19:42:40Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '5', 'apim-request-id', - '86c137de-6990-443f-bb85-004a1480326d', + '585c2ac0-5366-4e75-b5bf-815cd2c68ccb', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:45 GMT' + 'Fri, 25 Jun 2021 19:42:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') + .get('//text/analytics/v3.1/analyze/jobs/93cb8b3d-3602-4d8b-8f07-9c228910d674') .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:45Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:45Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"93cb8b3d-3602-4d8b-8f07-9c228910d674","lastUpdateDateTime":"2021-06-25T19:42:40Z","createdDateTime":"2021-06-25T19:42:40Z","expirationDateTime":"2021-06-26T19:42:40Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '9', 'apim-request-id', - 'fa248bc6-e0ad-4e37-990e-0e5dd005fb9f', + '4db1ee70-8492-4d5a-a0ac-ba75357b8dd2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:47 GMT' + 'Fri, 25 Jun 2021 19:42:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') + .get('//text/analytics/v3.1/analyze/jobs/93cb8b3d-3602-4d8b-8f07-9c228910d674') .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:45Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:45Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"93cb8b3d-3602-4d8b-8f07-9c228910d674","lastUpdateDateTime":"2021-06-25T19:42:40Z","createdDateTime":"2021-06-25T19:42:40Z","expirationDateTime":"2021-06-26T19:42:40Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '9', 'apim-request-id', - 'c1dd4f11-ec78-4abb-890a-f7eb5590daf8', + 'c9ee8cb6-c67c-486f-91dc-d366311acd58', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:49 GMT' + 'Fri, 25 Jun 2021 19:42:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') + .get('//text/analytics/v3.1/analyze/jobs/93cb8b3d-3602-4d8b-8f07-9c228910d674') .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:45Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:45Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"93cb8b3d-3602-4d8b-8f07-9c228910d674","lastUpdateDateTime":"2021-06-25T19:42:40Z","createdDateTime":"2021-06-25T19:42:40Z","expirationDateTime":"2021-06-26T19:42:40Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -223,91 +200,71 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'fe63ded5-26d2-4cc3-af76-ce37a5b93a75', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:14:51 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') - .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:45Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:45Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '4563716d-ecbb-4a60-886b-ea375aa50a09', + 'c159d360-91e0-4810-b3f0-f9b69883a30c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:52 GMT' + 'Fri, 25 Jun 2021 19:42:43 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') + .get('//text/analytics/v3.1/analyze/jobs/93cb8b3d-3602-4d8b-8f07-9c228910d674') .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:45Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:45Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"93cb8b3d-3602-4d8b-8f07-9c228910d674","lastUpdateDateTime":"2021-06-25T19:42:40Z","createdDateTime":"2021-06-25T19:42:40Z","expirationDateTime":"2021-06-26T19:42:40Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '9', 'apim-request-id', - '57734d01-0753-4a9e-be20-fe57693b245b', + 'd7cecfe1-e926-4868-93f9-df471e19647a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:54 GMT' + 'Fri, 25 Jun 2021 19:42:45 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') + .get('//text/analytics/v3.1/analyze/jobs/93cb8b3d-3602-4d8b-8f07-9c228910d674') .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:57Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:57Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:57.0461665Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"93cb8b3d-3602-4d8b-8f07-9c228910d674","lastUpdateDateTime":"2021-06-25T19:42:47Z","createdDateTime":"2021-06-25T19:42:40Z","expirationDateTime":"2021-06-26T19:42:40Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:47.0028225Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '53', + '60', 'apim-request-id', - 'a72004dd-23c2-456f-beaf-c2ae402c1b6d', + '10a2c887-41a5-4bae-a45e-bdd0e477468f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:56 GMT' + 'Fri, 25 Jun 2021 19:42:48 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/79e31766-023b-4913-a81d-3e915ba7d573') + .get('//text/analytics/v3.1/analyze/jobs/93cb8b3d-3602-4d8b-8f07-9c228910d674') .query(true) - .reply(200, {"jobId":"79e31766-023b-4913-a81d-3e915ba7d573","lastUpdateDateTime":"2021-05-12T19:14:57Z","createdDateTime":"2021-05-12T19:14:44Z","expirationDateTime":"2021-05-13T19:14:44Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:57Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:57.0461665Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"93cb8b3d-3602-4d8b-8f07-9c228910d674","lastUpdateDateTime":"2021-06-25T19:42:47Z","createdDateTime":"2021-06-25T19:42:40Z","expirationDateTime":"2021-06-26T19:42:40Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:47.0028225Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '48', + '61', 'apim-request-id', - '57750a60-38ea-43fa-8030-a53dc653e0a4', + '1a8de470-7564-43aa-8d81-5696a88f5477', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:57 GMT' + 'Fri, 25 Jun 2021 19:42:48 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.js index 045249dd9acd..98d2249f25e5 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "32ece8444cc8213472eaf1790731a0c5"; +module.exports.hash = "ce1022e89d106988559f82afe6baea1e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'ec0d39df-a7ae-4247-b603-3945f211c800', + '10a9270c-12b3-4982-a090-aec6080ec300', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:14 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNru6UlMvDLXnr96QA0Ru-QIEbtw5BVmY4P9F8btF2iETUBiBqR4uPkZx0h0JiYd-L0lvz5YZsWDtaOXGFbN8Aor21T6aKZGb7dS6SDBUNSquNUr4VPV_8X3PfyU8pJDzD7rKPkHMYRWmwubFa33N6af1nCealtTFYSm1lKzUCoEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr60tq9nmss264f6A1YuAQzGk0NjIbXp-MZZpnYyJrbTvl4sPe3t94aqf-7tZVUpyYMpbmedEaGdmCEwdyXd1fSIviGDOcQro_TP8VvRxrU9njkw2QT6bFEG2e6y4cqsPfAla8LMhhBAS0GDY1QnZyXhQqPqyVf5PYn9p0hwWSU4AgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:48 GMT', + 'Fri, 25 Jun 2021 19:37:13 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd821e9d5e00', + 'b7dd8c02-11f5-499e-bdfc-a9fd32f37400', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:14 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1jt-2FEusCsNHigyJV6tZyfjhd5dc6Xlu_2JHEd3VsmYR1BWxya9z6T-pRK16ngjRFTdGv1OUYlK4c6SgJJhZDIINxuVqRNr5Ywn51INfqBfSW16RI8BfnV0GWY-JzVwKJjHAZSXDyBhDuwxLoVgM5pYUqoAxM9ZxZKSy0R3-AQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrS0eyHpQnQDz4TsEOlAkxoXRd-585Zh9_9ZrXBn2l4rWO6aAXs9XzOKqx_RRhHcdanhfF7yfieKW5ZLtQWTaUDMhj5akiRC1IJB_LXzA2DGAGLUb1ikV7W5Ve7Fi5wnCMleVjWWFBWHgAsQkYtB6Y0KQawtkF70cOHPuVfhcjfn8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:48 GMT', + 'Fri, 25 Jun 2021 19:37:13 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=5d0f83f0-2c14-4618-8ada-99e7beb9ffad&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,66 +93,66 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d91bfa66200', + '97388d79-6103-488d-a26f-595cc0ba7300', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:49 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:14 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:49 GMT', + 'Fri, 25 Jun 2021 19:37:13 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityLinkingTasks":[{"parameters":{"stringIndexType":"Utf16CodeUnit"}}]},"analysisInput":{"documents":[{"id":"0","text":"Microsoft moved its headquarters to Bellevue, Washington in January 1979.","language":"en"},{"id":"1","text":"Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.","language":"en"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"Microsoft moved its headquarters to Bellevue, Washington in January 1979.","language":"en"},{"id":"1","text":"Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.","language":"en"}]},"tasks":{"entityLinkingTasks":[{"parameters":{"stringIndexType":"Utf16CodeUnit"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/d5d0eb1a-62dc-4546-b8f0-f30e34c67890', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2', 'x-envoy-upstream-service-time', - '99', + '163', 'apim-request-id', - '915baec2-92fa-4661-b3d5-2055467c3dc5', + 'ff19067f-cdda-4d31-a70c-6106df9c27f5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:48 GMT' + 'Fri, 25 Jun 2021 19:37:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d5d0eb1a-62dc-4546-b8f0-f30e34c67890') + .get('//text/analytics/v3.1/analyze/jobs/b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2') .query(true) - .reply(200, {"jobId":"d5d0eb1a-62dc-4546-b8f0-f30e34c67890","lastUpdateDateTime":"2021-05-12T19:09:49Z","createdDateTime":"2021-05-12T19:09:49Z","expirationDateTime":"2021-05-13T19:09:49Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:49Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2","lastUpdateDateTime":"2021-06-25T19:37:14Z","createdDateTime":"2021-06-25T19:37:14Z","expirationDateTime":"2021-06-26T19:37:14Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '7', 'apim-request-id', - 'b474ae77-7b71-46db-ba29-26a7217de464', + '65a8147f-8db1-484d-9880-f62b2abb6509', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:48 GMT' + 'Fri, 25 Jun 2021 19:37:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d5d0eb1a-62dc-4546-b8f0-f30e34c67890') + .get('//text/analytics/v3.1/analyze/jobs/b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2') .query(true) - .reply(200, {"jobId":"d5d0eb1a-62dc-4546-b8f0-f30e34c67890","lastUpdateDateTime":"2021-05-12T19:09:49Z","createdDateTime":"2021-05-12T19:09:49Z","expirationDateTime":"2021-05-13T19:09:49Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:49Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2","lastUpdateDateTime":"2021-06-25T19:37:14Z","createdDateTime":"2021-06-25T19:37:14Z","expirationDateTime":"2021-06-26T19:37:14Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,71 +160,71 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '7e976ccc-1c23-4ba9-be6a-354ee7ca3e45', + 'b317e4cd-c82a-497d-ab47-41d676c79aa9', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:48 GMT' + 'Fri, 25 Jun 2021 19:37:15 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d5d0eb1a-62dc-4546-b8f0-f30e34c67890') + .get('//text/analytics/v3.1/analyze/jobs/b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2') .query(true) - .reply(200, {"jobId":"d5d0eb1a-62dc-4546-b8f0-f30e34c67890","lastUpdateDateTime":"2021-05-12T19:09:50Z","createdDateTime":"2021-05-12T19:09:49Z","expirationDateTime":"2021-05-13T19:09:49Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:50Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2","lastUpdateDateTime":"2021-06-25T19:37:16Z","createdDateTime":"2021-06-25T19:37:14Z","expirationDateTime":"2021-06-26T19:37:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '9', + '7', 'apim-request-id', - '413b7573-7c5b-453e-9492-a38cc3c650b4', + '2e0af1a4-181a-418a-ad7c-88990f0c20ce', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:52 GMT' + 'Fri, 25 Jun 2021 19:37:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d5d0eb1a-62dc-4546-b8f0-f30e34c67890') + .get('//text/analytics/v3.1/analyze/jobs/b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2') .query(true) - .reply(200, {"jobId":"d5d0eb1a-62dc-4546-b8f0-f30e34c67890","lastUpdateDateTime":"2021-05-12T19:09:53Z","createdDateTime":"2021-05-12T19:09:49Z","expirationDateTime":"2021-05-13T19:09:49Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:53Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-12T19:09:53.1276855Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Bellevue, Washington","matches":[{"text":"Bellevue, Washington","offset":36,"length":20,"confidenceScore":0.87}],"language":"en","id":"Bellevue, Washington","url":"https://en.wikipedia.org/wiki/Bellevue,_Washington","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.39}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Briann January","matches":[{"text":"January","offset":60,"length":7,"confidenceScore":0.14}],"language":"en","id":"Briann January","url":"https://en.wikipedia.org/wiki/Briann_January","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"name":"Steve Ballmer","matches":[{"text":"Steve Ballmer","offset":0,"length":13,"confidenceScore":0.92}],"language":"en","id":"Steve Ballmer","url":"https://en.wikipedia.org/wiki/Steve_Ballmer","dataSource":"Wikipedia"},{"name":"Satya Nadella","matches":[{"text":"Satya Nadella","offset":68,"length":13,"confidenceScore":0.9}],"language":"en","id":"Satya Nadella","url":"https://en.wikipedia.org/wiki/Satya_Nadella","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":37,"length":9,"confidenceScore":0.36}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Chief executive officer","matches":[{"text":"CEO","offset":30,"length":3,"confidenceScore":0.25}],"language":"en","id":"Chief executive officer","url":"https://en.wikipedia.org/wiki/Chief_executive_officer","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}, [ + .reply(200, {"jobId":"b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2","lastUpdateDateTime":"2021-06-25T19:37:17Z","createdDateTime":"2021-06-25T19:37:14Z","expirationDateTime":"2021-06-26T19:37:14Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-25T19:37:17.4681781Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Bellevue, Washington","matches":[{"text":"Bellevue, Washington","offset":36,"length":20,"confidenceScore":0.87}],"language":"en","id":"Bellevue, Washington","url":"https://en.wikipedia.org/wiki/Bellevue,_Washington","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.39}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Briann January","matches":[{"text":"January","offset":60,"length":7,"confidenceScore":0.14}],"language":"en","id":"Briann January","url":"https://en.wikipedia.org/wiki/Briann_January","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"name":"Steve Ballmer","matches":[{"text":"Steve Ballmer","offset":0,"length":13,"confidenceScore":0.92}],"language":"en","id":"Steve Ballmer","url":"https://en.wikipedia.org/wiki/Steve_Ballmer","dataSource":"Wikipedia"},{"name":"Satya Nadella","matches":[{"text":"Satya Nadella","offset":68,"length":13,"confidenceScore":0.9}],"language":"en","id":"Satya Nadella","url":"https://en.wikipedia.org/wiki/Satya_Nadella","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":37,"length":9,"confidenceScore":0.36}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Chief executive officer","matches":[{"text":"CEO","offset":30,"length":3,"confidenceScore":0.25}],"language":"en","id":"Chief executive officer","url":"https://en.wikipedia.org/wiki/Chief_executive_officer","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '42', + '77', 'apim-request-id', - '6ebafeee-9510-4379-98be-d040e40039cd', + 'aefddef3-28d4-4199-ac4e-57d359fdf9d7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:54 GMT' + 'Fri, 25 Jun 2021 19:37:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d5d0eb1a-62dc-4546-b8f0-f30e34c67890') + .get('//text/analytics/v3.1/analyze/jobs/b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2') .query(true) - .reply(200, {"jobId":"d5d0eb1a-62dc-4546-b8f0-f30e34c67890","lastUpdateDateTime":"2021-05-12T19:09:53Z","createdDateTime":"2021-05-12T19:09:49Z","expirationDateTime":"2021-05-13T19:09:49Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:53Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-05-12T19:09:53.1276855Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Bellevue, Washington","matches":[{"text":"Bellevue, Washington","offset":36,"length":20,"confidenceScore":0.87}],"language":"en","id":"Bellevue, Washington","url":"https://en.wikipedia.org/wiki/Bellevue,_Washington","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.39}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Briann January","matches":[{"text":"January","offset":60,"length":7,"confidenceScore":0.14}],"language":"en","id":"Briann January","url":"https://en.wikipedia.org/wiki/Briann_January","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"name":"Steve Ballmer","matches":[{"text":"Steve Ballmer","offset":0,"length":13,"confidenceScore":0.92}],"language":"en","id":"Steve Ballmer","url":"https://en.wikipedia.org/wiki/Steve_Ballmer","dataSource":"Wikipedia"},{"name":"Satya Nadella","matches":[{"text":"Satya Nadella","offset":68,"length":13,"confidenceScore":0.9}],"language":"en","id":"Satya Nadella","url":"https://en.wikipedia.org/wiki/Satya_Nadella","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":37,"length":9,"confidenceScore":0.36}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Chief executive officer","matches":[{"text":"CEO","offset":30,"length":3,"confidenceScore":0.25}],"language":"en","id":"Chief executive officer","url":"https://en.wikipedia.org/wiki/Chief_executive_officer","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}, [ + .reply(200, {"jobId":"b8e48c6f-fd80-4bd6-acb7-1fa8e5287ef2","lastUpdateDateTime":"2021-06-25T19:37:17Z","createdDateTime":"2021-06-25T19:37:14Z","expirationDateTime":"2021-06-26T19:37:14Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-25T19:37:17.4681781Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Bellevue, Washington","matches":[{"text":"Bellevue, Washington","offset":36,"length":20,"confidenceScore":0.87}],"language":"en","id":"Bellevue, Washington","url":"https://en.wikipedia.org/wiki/Bellevue,_Washington","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.39}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Briann January","matches":[{"text":"January","offset":60,"length":7,"confidenceScore":0.14}],"language":"en","id":"Briann January","url":"https://en.wikipedia.org/wiki/Briann_January","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"name":"Steve Ballmer","matches":[{"text":"Steve Ballmer","offset":0,"length":13,"confidenceScore":0.92}],"language":"en","id":"Steve Ballmer","url":"https://en.wikipedia.org/wiki/Steve_Ballmer","dataSource":"Wikipedia"},{"name":"Satya Nadella","matches":[{"text":"Satya Nadella","offset":68,"length":13,"confidenceScore":0.9}],"language":"en","id":"Satya Nadella","url":"https://en.wikipedia.org/wiki/Satya_Nadella","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":37,"length":9,"confidenceScore":0.36}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Chief executive officer","matches":[{"text":"CEO","offset":30,"length":3,"confidenceScore":0.25}],"language":"en","id":"Chief executive officer","url":"https://en.wikipedia.org/wiki/Chief_executive_officer","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '35', + '65', 'apim-request-id', - '873d4e81-b035-4789-93fa-f4b2b58cec4e', + '133d645e-e378-4ee5-8ff4-78359c68da1b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:54 GMT' + 'Fri, 25 Jun 2021 19:37:19 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.js index 2ca84c82bbb0..56b520f14aae 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e9d7a25b93de2198b9d6563ffeb67959"; +module.exports.hash = "d3883c1b02faf3494e22c243c4aaf823"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '27966f30-19c4-47e0-97a8-e8b817090101', + '143dfa32-6537-4dd4-a6ab-8861b18b0100', 'x-ms-ests-server', - '2.1.11654.25 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:36:42 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr_nfGiFJ5JuA2F3B6AZ4v4RsnPU85A6UBr1Eeh9rZMcV4Qgesy1Fk1vTj4YIruSMnWDZN0Lid71NSU-etHvTpmqouastC5Wo1rrb58mqyppHjsOvzCXhHckRWgDaTLIUyBOMo-iP7PdEq0LTeVv6pkTn7t3EPWDRv8CCpYJGCG90gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrxei30CjUoZx7SLAqmOmqafHZaTsh-lAarU9CIulgFvKTZjOSgU9zHtmOJkhLlwyuNFMEvJ6VkPRpsLPfG1UeeFc9LTE7KNMz3-KG4HYxVtnQoPE2DA2-F8S5YsknZYgO8sZ_xILXIswA7kSjevJ--9id1v-FSuNk-Xkl9HW7Qz0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:19 GMT', + 'Fri, 25 Jun 2021 19:36:41 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4893a5a00', + '60255122-4f99-4912-bd79-4b9190846000', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:36:42 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrVwg0RIWYcLvCJ-8F_MFT4Iwyhqept7IlZ01l73DMnPSGkcIJfroQZwW0-MStAnZLieji_kJS_v2VmbH9HqngKuiffdkpK2aZavvkWsnlqur3YYPCJmm0KuRYJZxIpoghA2fXjVeYSd7MmnIxrAE7xWrkgQGsOyqAeYi7rQCGDCQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQ44Vjd0f-ycSZVrJ59MZ9oW2DFacuYimv770raeh_wFCvS0X8wRmFTD0xg7OpX9-zoUD0SwP8Nj5MFsZGLZc0qh5cYRxS7Cl33wR6eItJEgQwRvJLMt8RPK9ZVWMniYwsE-RueUmzFJbuDAwcof2qqVA1NtatuVZNU6kKSfhc6EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:19 GMT' + 'Fri, 25 Jun 2021 19:36:41 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=47fca80a-a995-41e7-8d52-25bb44b6e0fe&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,44 +93,66 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'effc2a94-f558-4e23-9dd5-8d2b2b0c6100', + '97388d79-6103-488d-a26f-595cd5b37300', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:19 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:36:42 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:19 GMT' + 'Fri, 25 Jun 2021 19:36:41 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]},"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975.","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen el 4 de abril de 1975.","language":"es"},{"id":"3","text":"Microsoft wurde am 4. April 1975 von Bill Gates und Paul Allen gegründet.","language":"de"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975.","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen el 4 de abril de 1975.","language":"es"},{"id":"3","text":"Microsoft wurde am 4. April 1975 von Bill Gates und Paul Allen gegründet.","language":"de"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612', + 'x-envoy-upstream-service-time', + '324', + 'apim-request-id', + '81f82fde-f3cf-4df3-830d-85977b255b5f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:36:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') + .query(true) + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:42Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '96', + '7', 'apim-request-id', - 'eca4fcff-086e-4bc0-a8a6-e2b3db67273a', + '72322ce8-9225-42d0-b741-2a1fec69436f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:19 GMT' + 'Fri, 25 Jun 2021 19:36:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:42Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -143,39 +160,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - '8d87d3d3-56b2-4665-a86b-890cf4a45f1c', + '667d5c60-aa26-4991-ac27-b569702a0cac', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:19 GMT' + 'Fri, 25 Jun 2021 19:36:42 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '17', 'apim-request-id', - 'f1bc984f-c33f-4fb4-968b-9396e10cd339', + '892898fc-1cb1-433a-b192-6e3b6fd679d3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:19 GMT' + 'Fri, 25 Jun 2021 19:36:45 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,39 +200,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - '894b4a80-7588-4e6e-9c2c-7e74bc5a638e', + 'db858c33-9f29-43e3-903a-366c9cd040e2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:21 GMT' + 'Fri, 25 Jun 2021 19:36:47 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '7', 'apim-request-id', - '6d977a6b-c794-4585-9ebf-0eb1cb9c7eb2', + '62e525c3-29ad-421f-80c7-afda63d1edb3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:23 GMT' + 'Fri, 25 Jun 2021 19:36:49 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -223,59 +240,59 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - '35353662-608a-45de-b9e5-57677a465a4b', + '7efaf98c-4e44-482d-865f-16713c91642a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:25 GMT' + 'Fri, 25 Jun 2021 19:36:51 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '9', 'apim-request-id', - '2a66ce89-38f5-4c72-a8a7-026f1af9eaed', + 'ec58c36a-8719-45eb-b1ae-2828e6419402', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:27 GMT' + 'Fri, 25 Jun 2021 19:36:53 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7', 'apim-request-id', - '923b84a7-6a16-43d4-9384-e64c160e8fc6', + 'e2216aed-bd39-4f41-9207-068b824ef343', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:29 GMT' + 'Fri, 25 Jun 2021 19:36:54 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -283,19 +300,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - '190ce0fd-23c9-4c1c-a75b-f9aaad73986c', + 'ba69e88e-7e7a-4141-b399-65f41bddabde', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:31 GMT' + 'Fri, 25 Jun 2021 19:36:56 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -303,19 +320,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '33a00aab-20e9-43b9-a56c-9504a2ec5d59', + '5d08ef79-3103-4c80-b9d2-b0d3e0891d44', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:33 GMT' + 'Fri, 25 Jun 2021 19:36:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -323,19 +340,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '518619ad-1777-4eee-b3ce-e7d1762cb4a3', + '5ff3f629-a7c1-4cbc-a6c2-7c74d09c5846', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:35 GMT' + 'Fri, 25 Jun 2021 19:37:00 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -343,59 +360,59 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'aae562aa-314e-47db-b26b-a337214ae76c', + 'e8ce1fc4-898f-4079-a6f9-5de164598900', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:37 GMT' + 'Fri, 25 Jun 2021 19:37:03 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '10', + '9', 'apim-request-id', - '68973cf7-f5f4-4fdc-8e5f-dad204a1c007', + '51b3e8a5-ee12-44fe-8516-2e9d5cd44559', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:40 GMT' + 'Fri, 25 Jun 2021 19:37:05 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '6', 'apim-request-id', - '7df298e6-794a-4bbd-868c-8b755cbccd24', + '68677ad9-42d8-4074-83c9-f90060d1693f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:42 GMT' + 'Fri, 25 Jun 2021 19:37:07 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -403,71 +420,71 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - '5b1a7b82-c452-4b86-8c1c-71a571778ff2', + 'ac67b4c7-3bca-473e-a4f9-0a3e5768af09', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:44 GMT' + 'Fri, 25 Jun 2021 19:37:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:20Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:20Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:36:44Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '6', 'apim-request-id', - 'cba8984c-4b55-4a6c-b431-84541ba8d51a', + '10495dec-8e41-4d64-add8-b1acec8b48ba', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:46 GMT' + 'Fri, 25 Jun 2021 19:37:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:47Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:47Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:09:47.1624984Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99},{"text":"April 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4 de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:37:14Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:37:14.1441619Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1},{"text":"April 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4 de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":52,"length":10,"confidenceScore":1}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '50', + '85', 'apim-request-id', - '56a70355-7789-48e3-9010-d1c517cd94f3', + 'c199801c-d20a-4a42-9248-b5b380e284aa', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:48 GMT' + 'Fri, 25 Jun 2021 19:37:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/626267cb-f400-4251-9f2b-1648390fb3e5') + .get('//text/analytics/v3.1/analyze/jobs/39bfe474-367c-4013-89c5-826e54a9a612') .query(true) - .reply(200, {"jobId":"626267cb-f400-4251-9f2b-1648390fb3e5","lastUpdateDateTime":"2021-05-12T19:09:47Z","createdDateTime":"2021-05-12T19:09:20Z","expirationDateTime":"2021-05-13T19:09:20Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:47Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:09:47.1624984Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99},{"text":"April 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4 de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.97},{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":52,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"39bfe474-367c-4013-89c5-826e54a9a612","lastUpdateDateTime":"2021-06-25T19:37:14Z","createdDateTime":"2021-06-25T19:36:42Z","expirationDateTime":"2021-06-26T19:36:42Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:37:14.1441619Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1},{"text":"April 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4 de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":52,"length":10,"confidenceScore":1}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '59', + '65', 'apim-request-id', - '5b2fee4f-46ee-461f-8cba-c6db67ebc1e3', + 'e8cfb9b0-bcaf-48ef-a433-79935d8abfbe', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:48 GMT' + 'Fri, 25 Jun 2021 19:37:14 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.js index 8d68180af99a..a2bb2c103429 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "ae79441bf32559a7def951fb3464feb3"; +module.exports.hash = "de35700ea43a39df2d66af7075d93f38"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'ca68bd03-3afa-447c-87ed-902a30fc5b00', + '168d60e4-0505-4fb8-b645-6b6b9917b000', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:56 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6rFLimWUKOTdAgjwyk2elIF2ur79th8CMJhj7SPRVYVtMXZaevNxjC56GhzYHcTxkcbyiaCAhLxp3HaYXNVQqYGQwNbdSbWUePPt3ojqceU--18X3nenDvZj7V7xdr-O7N1d3XSyCESTVTkJXM5G24o4YO8JaQbOVnjVVY8SdFIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruksOBQT4wyn67YZBfaszZ5mxSOR8U80-9sBue5DgX5gltxKl4PTSLl5PzeE9qTijrj-GEvoI4sQ4U2EobR_sjyJv2iuaQ8jRxDtq-Ibkx_w0X1CTBTrTP81DZP2sKGnX3mBZcdN4tcvKBH6FbpgZT1UVRvTYmC9ICmK4PsRnZEsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:57 GMT', + 'Fri, 25 Jun 2021 19:34:56 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4102c5a00', + '9d80f76e-26fc-421e-9776-d8e3ba875b00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:57 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQ4GbksdW57pIpzE9OMlST_5YGTEAZIXdGCp1G8hiL08nUi5PFe9DxG2i1-JCEWfvti8it20gSYmOX_myJhn76FN6t3EUaN50qPBObAkXmQB3dSQdxIMdL4SzrBAWK1v8E_6g72ApdUr4y7lYnMtKExUac-XViOWpAfZxd1tLiisgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrehJxaKP4dCYW912eihkaI0RSIP79hdCu3yLS4wwT9wTw5Tx1iiK51GQuxXoWZ4yi_ihBlys-dvohOds6-0gnZsYYYXTMioP6rYqUpIn0db7nocIPZcX_sXMCEAo4fysdjevnetGcC69SwgBvl_uBS1DaWzDgNw-Dgxanr39d220gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:57 GMT', + 'Fri, 25 Jun 2021 19:34:56 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=91692058-85fa-49a0-b16e-fba1a59fcdc5&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,146 +93,86 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d917d926200', + 'a9a1e068-3c7e-4040-b4a3-695222af6e00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:34:57 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:57 GMT', + 'Fri, 25 Jun 2021 19:34:56 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]},"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen","language":"es"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen","language":"es"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635', 'x-envoy-upstream-service-time', - '196', + '8821', 'apim-request-id', - 'a7faa771-2902-4f81-9996-9f62e443d9da', + 'bd6d9444-d415-42a5-b56b-7cfc1fccf852', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:58 GMT' + 'Fri, 25 Jun 2021 19:35:05 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:07:58Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:07:58Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:06Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '9', + '3325', 'apim-request-id', - '65cb2f4f-4367-43b3-8d6c-8cae08d7513f', + 'b47fc656-895f-457b-b2ab-769e89776a83', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:58 GMT' + 'Fri, 25 Jun 2021 19:35:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:07:58Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:07:58Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '10', + '7583', 'apim-request-id', - '944636ed-cf02-40a0-8acb-6a40411fbb30', + 'f5d5d060-e5ea-49e0-971f-59a683047c9f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:58 GMT' + 'Fri, 25 Jun 2021 19:35:16 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:07:58Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:07:58Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - '5be39e3f-e077-4c9e-85be-393403231640', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:08:00 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') - .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '5122', - 'apim-request-id', - 'bb6c4d15-2dc0-4d15-a8fa-2d76ee6013e7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:08:07 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') - .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '9', - 'apim-request-id', - '88f874b3-610c-4f32-9edb-3e5158ee038b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:08:09 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') - .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -243,39 +180,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '7fdcc66a-d281-496f-b894-d47d1f7c826c', + 'e4e3b85b-a982-44a3-83b0-f25aae25b822', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:11 GMT' + 'Fri, 25 Jun 2021 19:35:18 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '4531', 'apim-request-id', - '8455a785-a309-4043-9d46-f73aa75828c0', + 'b1b929cb-5057-4049-afd4-6b83e8809f26', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:13 GMT' + 'Fri, 25 Jun 2021 19:35:25 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -283,79 +220,59 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - 'f024fbf2-fd30-43b7-b621-7480fdf7c4f3', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:08:15 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') - .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'd2a48a4a-6e49-40fb-8793-7dbbd0be2bcb', + '0c858260-17fa-4c8e-803f-05902c75918f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:17 GMT' + 'Fri, 25 Jun 2021 19:35:27 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '40', 'apim-request-id', - '3fc04e4a-d7ce-4b68-80ca-0da9961a2a5b', + '4c3a83bf-fb27-4b24-b55a-1ff6c5454896', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:19 GMT' + 'Fri, 25 Jun 2021 19:35:29 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7592', 'apim-request-id', - '7c053d69-d343-4a66-a04a-60fbd58c8bc1', + 'd8a1bea4-6088-496c-9fd6-6b57616857b2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:21 GMT' + 'Fri, 25 Jun 2021 19:35:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -363,19 +280,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - '2dffaaa8-8c9d-4246-b3a7-ff2650456dfa', + '11fd815f-f947-41c9-bb2a-67eda36792ff', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:23 GMT' + 'Fri, 25 Jun 2021 19:35:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -383,39 +300,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'af881885-e228-434f-9064-74a924d2a590', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:08:25 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') - .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - 'f700b578-6535-426e-b941-f397d78732f2', + '9fa8e5cc-58b6-481f-ab17-2cfa03414a63', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:27 GMT' + 'Fri, 25 Jun 2021 19:35:43 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -423,111 +320,111 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'acc87e17-55e0-4ae9-b7db-32b99f5b696f', + '93bc6462-590d-4811-b37c-f288f9786d51', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:29 GMT' + 'Fri, 25 Jun 2021 19:35:45 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '11', 'apim-request-id', - '59524782-08e7-417e-9427-7d66f92cd181', + 'cbd097fb-7cdb-4580-8896-c08fdf6bd54c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:31 GMT' + 'Fri, 25 Jun 2021 19:35:48 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '11', 'apim-request-id', - '413fc7ee-471c-4bff-989b-e0d7b790d973', + 'd2ab917b-2c19-40fd-9165-03ef7d39bf5d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:33 GMT' + 'Fri, 25 Jun 2021 19:35:50 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:06Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:06Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:13Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7', 'apim-request-id', - 'b487e41d-54df-4b30-a4a1-0944b1efc5e6', + 'd15557f5-0dd8-4f69-85be-7b73bb76fc2a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:35 GMT' + 'Fri, 25 Jun 2021 19:35:52 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:37Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:37Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:08:37.6057746Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.95},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":0.99},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:52Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:35:52.9912023Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '54', + '50', 'apim-request-id', - '9b7d98b2-772b-4da5-bdb4-62794ca2e6d0', + '8bcf9388-8fb9-4af9-b6d1-914827155021', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:38 GMT' + 'Fri, 25 Jun 2021 19:35:54 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/f064112c-d72f-4227-9688-3165c489148f') + .get('//text/analytics/v3.1/analyze/jobs/d5d1b750-78f8-4d47-acea-598ee523e635') .query(true) - .reply(200, {"jobId":"f064112c-d72f-4227-9688-3165c489148f","lastUpdateDateTime":"2021-05-12T19:08:37Z","createdDateTime":"2021-05-12T19:07:58Z","expirationDateTime":"2021-05-13T19:07:58Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:37Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:08:37.6057746Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.95},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":0.99},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":0.96},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":0.99},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"d5d1b750-78f8-4d47-acea-598ee523e635","lastUpdateDateTime":"2021-06-25T19:35:52Z","createdDateTime":"2021-06-25T19:34:58Z","expirationDateTime":"2021-06-26T19:34:58Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:35:52.9912023Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '5111', + '2657', 'apim-request-id', - '7f3c5b71-1fd6-4e86-8c6e-7b94f3c1fd42', + 'e036b07e-03ad-482b-a5cc-863df383a458', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:43 GMT' + 'Fri, 25 Jun 2021 19:35:56 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.js index 13a4694f69ec..67c8cc01806a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "e11c39f6c88215a4be07ccaf3be5564f"; +module.exports.hash = "d7e8054512e98cb5ba9ae070e69b37f0"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1bf10047-6b13-4d45-b7e7-d65083ae7d00', + '57bf3406-964a-46bc-816a-997658be0200', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:08:43 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:35:57 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrOfl2ezjKWWO8PfFWrHKkt8qm9P0e8v8AxJ_UP92tHwxGRTGHNa-r6SAJMlZtsm5obfERhepKdEQZIW9xUV5p7amYiehIMcYPp7UxMbEgx9279pvjSPCr1XCZJzA5rPWlyYWbD9FSkGY23oKnJ8ckaQUJ_zUuRvCQfLJDcmXQqlkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2lsupO7U1vw1sHWzZRefcFVH88ZqmieeTSUVwcoRwodIyzYD_TdGW_-Qs8sG9ocwvxTj0Ee_KTGHI4HBCibtZPGHZud2i39ekPJEPcvTjy02qnoDshFzEvkNwxCwaG3hNiX9HXg2UC24JgSH3nGcYyJLJxvpmbaO_93yUuy6VtggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:08:43 GMT' + 'Fri, 25 Jun 2021 19:35:56 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Length', - '1651', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +60,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'effc2a94-f558-4e23-9dd5-8d2bb9056100', + '97388d79-6103-488d-a26f-595c3baa7300', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:08:43 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:35:57 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevroLP1RmnYZO-ChHBHh_pKVt8h0cfSsdrHcSwupXFRtm3-bsIVkobksh9tT-BMhgr5Qxjvx5krEr56ejBmcldoScVD79YCAeDK9hIH033gopU5epj_GN00dslMTKpcFwdJlkhBFVhM2LExgowei4g0yQpZYJluUFhF7Lw3VRKaeTwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevra-K5rSh-QyNaBnIDVJgLO9jUdSbElY1B4XD1CYrR9YnhSmduTCrZ3E8lQt56X8rxIJv0idBpqJrlsXrCUFXFNkgXP8F21F3R_7YCbe8fsRBreHMle3lwspUf7Uo25IX5CMv6VnN1NMxcgn7TWdtatPc-ljh3zy_AceS_8UdtmC0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:08:43 GMT' + 'Fri, 25 Jun 2021 19:35:56 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=bc7ad80b-c1f6-40de-b27b-5e822f602f9b&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,86 +93,86 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '53fd7af7-fe14-4c5c-908f-d54fd0165600', + '8fe8fb0d-d1a1-431d-a7c5-a919ba786900', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:08:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:35:57 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:08:43 GMT', + 'Fri, 25 Jun 2021 19:35:56 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen","language":"es"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen","language":"es"}]},"tasks":{"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175', 'x-envoy-upstream-service-time', - '385', + '163', 'apim-request-id', - 'a715356f-1d2f-4c12-9916-862912fe6f65', + '3ef222b4-a8c7-4359-8ae8-e903a4ffe4a4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:43 GMT' + 'Fri, 25 Jun 2021 19:35:57 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:44Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:44Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:57Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '6', 'apim-request-id', - '5aec00da-65f5-4ddd-951a-ad7ba836ea14', + 'c8ef53ab-64d4-453b-8d42-21cc6a5e0f56', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:44 GMT' + 'Fri, 25 Jun 2021 19:35:57 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:44Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:44Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:57Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '9', 'apim-request-id', - 'f9d98de9-f655-4784-8f6c-b08f8dd22ae5', + '7e5f2704-e129-4843-954a-1c199b2058d8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:44 GMT' + 'Fri, 25 Jun 2021 19:35:57 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:44Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:44Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,19 +180,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '19924bef-65bd-4447-bffd-a35d151102eb', + '09d3cf3f-ef6d-4f8a-a6f5-316cc9eb897a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:46 GMT' + 'Fri, 25 Jun 2021 19:35:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:44Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:44Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -203,59 +200,59 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '045a8cf6-2916-4016-99bf-0c479cb6f765', + '879fe2cc-166e-44f3-8702-f5e3538def0e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:48 GMT' + 'Fri, 25 Jun 2021 19:36:01 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:44Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:44Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '28', 'apim-request-id', - '895d8f4c-18f2-4fba-bfab-e8f8e2cccecd', + 'e15a837c-31b7-495b-8cc0-30162b33d581', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:50 GMT' + 'Fri, 25 Jun 2021 19:36:03 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '13', 'apim-request-id', - '5757f6f3-600e-4a1a-9733-c4621763551e', + '03b1357a-2e4b-48ec-989b-2a71d00dc6d5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:52 GMT' + 'Fri, 25 Jun 2021 19:36:05 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -263,19 +260,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '04e47a7f-e180-4291-a42e-01647f7da356', + '7083fb73-7470-4e75-89d4-a373c54f43cd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:36:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') + .query(true) + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'cfbf4d50-5adc-4999-b742-7c300ad9251e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:54 GMT' + 'Fri, 25 Jun 2021 19:36:09 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -283,39 +300,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'eb5da07b-e66a-4761-b6a2-ab4505144ae6', + 'ee1ddb22-17de-4ef1-a904-a8b883a5cf8d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:56 GMT' + 'Fri, 25 Jun 2021 19:36:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '6', 'apim-request-id', - 'bd557744-c047-4a3b-a3b6-30a79884d22f', + '48d04857-0b6e-4a6a-b3e1-aba242a75ed9', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:08:58 GMT' + 'Fri, 25 Jun 2021 19:36:13 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -323,19 +340,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'a8461630-94e4-41f7-a3d1-ac7b06344f54', + '9c8c4dc5-ff48-46b0-bf76-f76c9024a5a1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:36:15 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') + .query(true) + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + 'b4fc98e2-7a85-4662-be9b-c54b650ef8b4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:00 GMT' + 'Fri, 25 Jun 2021 19:36:18 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -343,79 +380,79 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '598182c4-842f-47d1-bc98-085eadc4c5fa', + '4d5c8467-33ae-4ceb-9d87-2854487a8ae9', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:03 GMT' + 'Fri, 25 Jun 2021 19:36:20 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '10', 'apim-request-id', - '0b809559-d293-4ca9-9494-fdd57b3b6f3e', + '9b5a153f-afe1-436e-a8f6-da66367697d3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:05 GMT' + 'Fri, 25 Jun 2021 19:36:22 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7', 'apim-request-id', - '103e6150-7b83-408f-9882-a8714a459ce1', + 'ec4f884d-7106-4e76-94c1-81374bdabd9c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:07 GMT' + 'Fri, 25 Jun 2021 19:36:24 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '8', 'apim-request-id', - 'd0d7cf9e-e37c-44ed-95c5-e4bf4ecf4357', + '6c005941-e041-403e-8900-e032d288ea21', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:09 GMT' + 'Fri, 25 Jun 2021 19:36:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -423,19 +460,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '0580b75e-f774-4aa9-a885-29525932158f', + 'cf93d434-e6c2-4c7f-9fc1-83aeaa4a51f9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:36:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') + .query(true) + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'a8415067-8ca6-4de0-b788-d7858f23c635', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:11 GMT' + 'Fri, 25 Jun 2021 19:36:30 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -443,39 +500,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'd1d3cf84-59cc-4b40-9c96-0d42a78786cd', + '6ade4583-0f5e-4224-a10d-ab8dd23a888c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:13 GMT' + 'Fri, 25 Jun 2021 19:36:32 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '9', + '8', 'apim-request-id', - 'd5901c3e-ef2e-4f24-8785-c9b2d677e1ca', + '409b25fe-9144-43c2-a7eb-38c390fee1de', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:15 GMT' + 'Fri, 25 Jun 2021 19:36:34 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:08:52Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:08:52Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:35:58Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -483,51 +540,51 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '7f167bd2-7866-4eb9-bc1d-3107b7059fd9', + '485a7443-2f9a-422e-99a6-458720acc28e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:17 GMT' + 'Fri, 25 Jun 2021 19:36:36 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:09:17Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:17Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:09:17.5534291Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:36:38Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:36:38.2699285Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '68', + '64', 'apim-request-id', - '5abb6e13-9baf-41f5-9844-12005d1f1ece', + '24f1afad-cc2e-4045-b4f9-ed93912a03d8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:19 GMT' + 'Fri, 25 Jun 2021 19:36:38 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/dc379c2d-7a64-4932-af52-1ae8afd152e7') + .get('//text/analytics/v3.1/analyze/jobs/3bddae36-e1fe-4dd5-bfba-ba96c1347175') .query(true) - .reply(200, {"jobId":"dc379c2d-7a64-4932-af52-1ae8afd152e7","lastUpdateDateTime":"2021-05-12T19:09:17Z","createdDateTime":"2021-05-12T19:08:44Z","expirationDateTime":"2021-05-13T19:08:44Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:17Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:09:17.5534291Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"3bddae36-e1fe-4dd5-bfba-ba96c1347175","lastUpdateDateTime":"2021-06-25T19:36:38Z","createdDateTime":"2021-06-25T19:35:57Z","expirationDateTime":"2021-06-26T19:35:57Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:36:38.2699285Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '40', + '2682', 'apim-request-id', - 'debd197c-601c-4c6f-a78b-0e5e4bbbdb94', + '63a9b044-1a95-4fc6-81f4-38daaa3c4548', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:19 GMT' + 'Fri, 25 Jun 2021 19:36:41 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.js index db6a3087d641..8b6fc9ca1d80 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "6b046a156ff3e5fc9b5588f34c7eeb7c"; +module.exports.hash = "ac00d978031a3ea05adbfa89b8857468"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '5e72b27e-a6c9-4897-bbba-ecac08ea6a00', + '19c407d7-d6b7-440f-9f38-65b3d1c20600', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDKnbudoc-bdXb01pxR1_RLu_wTnWcDq4d-bnJHTu3ErkkfmQby8HvB93a-z26vvzNN0MzMaFDJXN78qNrEQSOh1_ZNSkwqeZ48FAa0N-1PVdK6J4QtR3jpKons1sPvJeBFuoTtWjaCDyUfnV3L8q-Rjf95DJGDAWu7gpKvcc14QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpmigGk56EZy8Lalpfb6cJGpYwbmIiuOYtam-jCCeCGXOE15_lAZnPdBwvlDjHJQTeNvFY3ZpisIkejY_GHPHxqGdwKy2sROCHNgRoRdSia_26aRmlWWWvDgmVOxRMOK411Y-iMi66iM4ExZHeiM69EL-wm6mONklZluUAWMVE58gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:53 GMT', + 'Fri, 25 Jun 2021 19:37:18 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed344285b00', + '97388d79-6103-488d-a26f-595cd7bb7300', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrqJPbX4J3tVp7Xhsb5SG2vVtpsKLlsbyVhfiK6HQ4mksoW7Gvq1EIXshwpMg10N0iDoZUQlon8eCOzlSvYtxBLhtTOOz9txlTiYyuIXi0Ls0YV-8F7o5VTFw6q5vmFlYzvUMd6aVY1_IDEAS7FHt8FwFewFpdXVhYC-5aVTp2ySAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfEKwYfpsF-YdnsAJovdjjmKmxu7ZhdOdExnc8wRM25-r1jbjlSR7z5fdlo4YP6r3I0q3PQ7iQIlHqo73ntO_MQ8j3sK7-V9W9pXIVqnJ-Gyz-Dno35ITHUqjGjANVSGN2rmS3nMVaLEwvA_9TEI73nNrP68-rHNVpaembjsRsWcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:54 GMT' + 'Fri, 25 Jun 2021 19:37:18 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=c7bbbc0a-206b-4149-bd99-f2a5d2f40e73&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -98,44 +95,44 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6d13d50f-9cbe-403f-876d-4ed34a285b00', + '1e233fee-f232-4e03-820f-8a8c45be6e00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:09:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:19 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:09:54 GMT' + 'Fri, 25 Jun 2021 19:37:18 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]},"analysisInput":{"documents":[{"id":"1","text":"My SSN is 859-98-0987."},{"id":"2","text":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."},{"id":"3","text":"Is 998.214.865-68 your Brazilian CPF number?"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"My SSN is 859-98-0987."},{"id":"2","text":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."},{"id":"3","text":"Is 998.214.865-68 your Brazilian CPF number?"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/8d6c961b-03d3-45a6-bf75-cd88d2efedfe', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5', 'x-envoy-upstream-service-time', - '127', + '239', 'apim-request-id', - 'b25bdfcf-7a5e-446b-9343-e46b5b1de865', + 'cb62d18f-1a4a-4606-a029-b2db9ef13df4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:54 GMT' + 'Fri, 25 Jun 2021 19:37:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8d6c961b-03d3-45a6-bf75-cd88d2efedfe') + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') .query(true) - .reply(200, {"jobId":"8d6c961b-03d3-45a6-bf75-cd88d2efedfe","lastUpdateDateTime":"2021-05-12T19:09:54Z","createdDateTime":"2021-05-12T19:09:54Z","expirationDateTime":"2021-05-13T19:09:54Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:54Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -143,19 +140,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '8e98a6d1-c780-4292-b05d-69f1b8b1f3fd', + 'a04cf5d0-2f7e-4ac6-ae1a-c1c7270e6221', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:54 GMT' + 'Fri, 25 Jun 2021 19:37:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8d6c961b-03d3-45a6-bf75-cd88d2efedfe') + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') .query(true) - .reply(200, {"jobId":"8d6c961b-03d3-45a6-bf75-cd88d2efedfe","lastUpdateDateTime":"2021-05-12T19:09:54Z","createdDateTime":"2021-05-12T19:09:54Z","expirationDateTime":"2021-05-13T19:09:54Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:54Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,39 +160,139 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'c714fbab-e70a-4124-b888-d4cf8cdc37c4', + '9893bb68-6b5f-4e7f-a2f7-8d5d03d5d6c5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:54 GMT' + 'Fri, 25 Jun 2021 19:37:20 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8d6c961b-03d3-45a6-bf75-cd88d2efedfe') + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') .query(true) - .reply(200, {"jobId":"8d6c961b-03d3-45a6-bf75-cd88d2efedfe","lastUpdateDateTime":"2021-05-12T19:09:55Z","createdDateTime":"2021-05-12T19:09:54Z","expirationDateTime":"2021-05-13T19:09:54Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:55Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '36', + 'apim-request-id', + '318054ad-650a-40e9-927a-d419212d02c5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '5c2ef35a-1ac1-4120-a7a7-bfc83e2d4fc6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '873b3095-03f2-4fe8-aa95-34619806f853', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:26 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '5626ab5e-04ea-40e1-a983-cb456efea357', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '093f6314-c49d-4965-8d5b-94536741a7ad', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', 'apim-request-id', - 'abeb719f-46d1-4179-bee7-d5ede90ee390', + '451f57d0-1e6a-4244-8445-47ecfd5fcc9e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:56 GMT' + 'Fri, 25 Jun 2021 19:37:32 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8d6c961b-03d3-45a6-bf75-cd88d2efedfe') + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') .query(true) - .reply(200, {"jobId":"8d6c961b-03d3-45a6-bf75-cd88d2efedfe","lastUpdateDateTime":"2021-05-12T19:09:55Z","createdDateTime":"2021-05-12T19:09:54Z","expirationDateTime":"2021-05-13T19:09:54Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:55Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -203,19 +300,79 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - '298def81-bdd4-4197-9ed8-4408f4b02918', + '58cad64c-705a-4337-afae-06d301dfcf6e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:09:58 GMT' + 'Fri, 25 Jun 2021 19:37:34 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8d6c961b-03d3-45a6-bf75-cd88d2efedfe') + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') .query(true) - .reply(200, {"jobId":"8d6c961b-03d3-45a6-bf75-cd88d2efedfe","lastUpdateDateTime":"2021-05-12T19:09:55Z","createdDateTime":"2021-05-12T19:09:54Z","expirationDateTime":"2021-05-13T19:09:54Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:09:55Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '00eb7f7e-4642-4f9a-bbcd-e7e1e15121fb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '90eb51dd-abb2-4d6f-ae3e-357cb4786ffe', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + 'd41f52c4-9bc8-49ed-831e-bd664e8a8693', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -223,51 +380,71 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'e30c5e3b-be3c-4425-b7e9-51158301a8f5', + 'b7533ad3-19e8-4822-8a13-d75aca6a5062', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') + .query(true) + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:20Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '9c6c50c6-d999-4412-9975-3029b8b241d8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:00 GMT' + 'Fri, 25 Jun 2021 19:37:44 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8d6c961b-03d3-45a6-bf75-cd88d2efedfe') + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') .query(true) - .reply(200, {"jobId":"8d6c961b-03d3-45a6-bf75-cd88d2efedfe","lastUpdateDateTime":"2021-05-12T19:10:01Z","createdDateTime":"2021-05-12T19:09:54Z","expirationDateTime":"2021-05-13T19:09:54Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:01Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:01.7469887Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is ***********.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:45Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:37:45.7509635Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is ***********.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '46', + '72', 'apim-request-id', - '997ebb1d-c55c-480c-886d-0a4c6f1a8a9c', + '9f57bc9b-7d22-4848-a545-67d3c2fca0cd', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:03 GMT' + 'Fri, 25 Jun 2021 19:37:47 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/8d6c961b-03d3-45a6-bf75-cd88d2efedfe') + .get('//text/analytics/v3.1/analyze/jobs/83495c04-89bc-423d-9a5b-6be49c482ef5') .query(true) - .reply(200, {"jobId":"8d6c961b-03d3-45a6-bf75-cd88d2efedfe","lastUpdateDateTime":"2021-05-12T19:10:01Z","createdDateTime":"2021-05-12T19:09:54Z","expirationDateTime":"2021-05-13T19:09:54Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:01Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:01.7469887Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is ***********.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + .reply(200, {"jobId":"83495c04-89bc-423d-9a5b-6be49c482ef5","lastUpdateDateTime":"2021-06-25T19:37:45Z","createdDateTime":"2021-06-25T19:37:19Z","expirationDateTime":"2021-06-26T19:37:19Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:37:45.7509635Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is ***********.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '48', + '71', 'apim-request-id', - 'c1e7b78f-f3ae-47c5-baa8-bb4962d80021', + '5e936302-57c3-4384-9a79-6874050c5356', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:03 GMT' + 'Fri, 25 Jun 2021 19:37:47 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.js index 5fde363dde5b..d5dc2f734a7b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "29d2b399f939c646f380b2700b696e6e"; +module.exports.hash = "bec5840cf2c9dabcf50655ab317beba1"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,28 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6a42d10a-fcb0-4df7-b1c5-4425e8738a00', + 'f1e89488-5c48-497d-8485-8a52f85c0100', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:03 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:47 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvAG8Jxo4N7AUw08P4gyVxeP2-uzwlQ67MXSJpnpWFH7-p8ZsJ02XPf1CADotIh_wLE4H3CB_34j3La2T5B0cFS-TvQh1rQglRc5c-X_Xoi8XtWAIfqlSDoV4xbSEWuBCEru6RPhdf6FDCVDB6kl-Fyn2fsgyOzp7FGh0Z7BSDWQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzECFc-SUhIQqFNGprerL74ZWSjL0GQAA3TfpVK1LrQYhPFP-MCd8d9tS05Qvq72Muo60oJ0k-IzTgb8cGCfaGM-aZ9e8vvn-Fbjp7dbaVeXpaDCWnUrrLRcuV3lr59VRygkVCmc-GuRb-CCk3HSmJf0YhaIiCpRZZHNxPhfZiiIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:03 GMT' + 'Fri, 25 Jun 2021 19:37:46 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d37fbb6000', + '546b154e-3691-42e1-a17e-80b967706700', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:03 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:47 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQNS5eXyLZmHTImj_q2KsFwgEwSZ568ToJ-usqhqSQH8sOiZRRGA7WPcYa4pIJM7CYPTs1Dn_BOUiZJjNhDyIpqCVrDZhzo_ffeoY7se3vZJTt4VbFfNk06O2fmgH-9saY1qHexG4k80eYYq-wdkewe0y1Vxxk-rKoW7Oz-8mi0QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfhYcK5ILM8joY8OG6lIyD7DVWDoqZqX5HZiZdAfTBBD4OWlqgcMGxXysSXuUvm8vDuTzSPnRPAn17VgPEhMqCc-eOfzVNQ1qJ4sIdShIFzcItBwpdqqXoZakbCkeJpsvDxiKTfnFqVkYnlbTDVp2Zd2furXPC5xzmyybwklHZU0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:03 GMT' + 'Fri, 25 Jun 2021 19:37:46 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=7faa4ca8-f885-4cea-bc55-8ec579a78770&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,44 +93,106 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90ab08edc800', + '1e233fee-f232-4e03-820f-8a8c37c36e00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:03 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:37:47 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:03 GMT' + 'Fri, 25 Jun 2021 19:37:46 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"sentimentAnalysisTasks":[{"parameters":{"opinionMining":true,"stringIndexType":"Utf16CodeUnit"}}]},"analysisInput":{"documents":[{"id":"0","text":"The food was unacceptable","language":"en"},{"id":"1","text":"The rooms were beautiful. The AC was good and quiet.","language":"en"},{"id":"2","text":"The breakfast was good, but the toilet was smelly.","language":"en"},{"id":"3","text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","language":"en"},{"id":"4","text":"I had a great unobstructed view of the Microsoft campus.","language":"en"},{"id":"5","text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","language":"en"},{"id":"6","text":"The toilet smelled.","language":"en"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"The food was unacceptable","language":"en"},{"id":"1","text":"The rooms were beautiful. The AC was good and quiet.","language":"en"},{"id":"2","text":"The breakfast was good, but the toilet was smelly.","language":"en"},{"id":"3","text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","language":"en"},{"id":"4","text":"I had a great unobstructed view of the Microsoft campus.","language":"en"},{"id":"5","text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","language":"en"},{"id":"6","text":"The toilet smelled.","language":"en"}]},"tasks":{"sentimentAnalysisTasks":[{"parameters":{"opinionMining":true,"stringIndexType":"Utf16CodeUnit"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f', 'x-envoy-upstream-service-time', - '151', + '282', + 'apim-request-id', + 'c6e84a9e-4506-4a1d-be1d-37daa3104636', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') + .query(true) + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '6be0d8bf-4c8b-4e1b-8bf2-e9875db1cb87', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') + .query(true) + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'ef2ff74a-37b2-4d65-92a2-d66b7103890a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:37:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') + .query(true) + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', 'apim-request-id', - '9716e040-b636-4a61-9f7f-fc7d3a9187de', + '3ca90837-3bd8-4296-a347-c869ba6dd153', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:03 GMT' + 'Fri, 25 Jun 2021 19:37:49 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -143,19 +200,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '0faef07c-c4ee-4f2e-bf60-9ce1c674ff1e', + 'bb75f332-fb37-4f17-ae5f-f5ee484ce0a6', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:03 GMT' + 'Fri, 25 Jun 2021 19:37:51 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,19 +220,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '11196f92-bee4-472f-a1a5-ccc00a7ee49b', + '5a936f64-9552-4267-8746-484c7b153e31', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:03 GMT' + 'Fri, 25 Jun 2021 19:37:53 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,59 +240,59 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - '1d8fa9ff-1573-44be-8ffd-901c7f8f6490', + '49c5f8a5-5c8f-49b7-9ca2-76a1ad770617', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:05 GMT' + 'Fri, 25 Jun 2021 19:37:55 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7', 'apim-request-id', - 'a9261998-c9dd-4029-9497-9620ee9d303d', + 'e20aeffe-826e-4098-a4d2-49c2d0d78030', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:07 GMT' + 'Fri, 25 Jun 2021 19:37:57 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '6', 'apim-request-id', - '666edc2d-a13f-49c5-8ee1-5443a8ac4d32', + 'db47a61f-7c36-4203-bed9-8aa543462a32', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:09 GMT' + 'Fri, 25 Jun 2021 19:37:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -243,19 +300,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'cdc6d585-83a9-4ed8-ad86-b3a195b3d99e', + '45352c5b-d547-4eab-9889-5710e0a13352', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:11 GMT' + 'Fri, 25 Jun 2021 19:38:01 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -263,39 +320,39 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'fce66b85-f826-494d-b70a-a5e4dcebb776', + '53e2ce73-5b52-4174-b92a-243c0fba6133', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:13 GMT' + 'Fri, 25 Jun 2021 19:38:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7', 'apim-request-id', - '3fae6c0e-6cbf-4715-8b71-04632bbd505c', + 'bab6df71-d103-4263-90f1-2cd258e0d4ce', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:15 GMT' + 'Fri, 25 Jun 2021 19:38:06 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -303,19 +360,19 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '10f28c8f-bb85-4588-abcb-02ff514e0cb9', + '5a64cb49-758b-4d55-9a30-164bac68c275', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:17 GMT' + 'Fri, 25 Jun 2021 19:38:08 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -323,59 +380,59 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'd59a8304-8f5d-4f09-880d-8365e0ab6b69', + '7391d718-5d20-4776-8e5f-02b3334af627', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:19 GMT' + 'Fri, 25 Jun 2021 19:38:10 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '17', + '7', 'apim-request-id', - 'cfcebd74-cdf4-4925-b048-83fa95e80fd3', + '3b9be156-adab-4fd2-a32c-fcf83c4b53d0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:22 GMT' + 'Fri, 25 Jun 2021 19:38:12 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '7', 'apim-request-id', - 'b758ad99-0524-4951-b748-bee71c8e6a80', + '728f0aab-3f5a-430b-9a5f-4b963c6d4d29', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:24 GMT' + 'Fri, 25 Jun 2021 19:38:14 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:04Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:04Z"},"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -383,51 +440,111 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '8', 'apim-request-id', - 'fad62f37-fee5-46d6-a9b0-353409b7b4be', + '767fdfbf-2637-4f65-8655-ebdccdcf374a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:38:16 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') + .query(true) + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '331df413-5f4b-4312-a1e0-4a5e8b003019', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:26 GMT' + 'Fri, 25 Jun 2021 19:38:18 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:27Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:27Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:27.1561899Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":25,"text":"The food was unacceptable","targets":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":13,"length":12,"text":"unacceptable","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":25,"text":"The rooms were beautiful.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":9,"text":"beautiful","isNegated":false}]},{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":26,"length":26,"text":"The AC was good and quiet.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":30,"length":2,"text":"AC","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/0"},{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":37,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":46,"length":5,"text":"quiet","isNegated":false}]}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"offset":0,"length":50,"text":"The breakfast was good, but the toilet was smelly.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":32,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":18,"length":4,"text":"good","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":43,"length":6,"text":"smelly","isNegated":false}]}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":71,"text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":11,"length":5,"text":"hotel","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":24,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":41,"length":15,"text":"shuttle service","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":65,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/3"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":19,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":36,"length":4,"text":"nice","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":5,"text":"loved","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":59,"length":5,"text":"clean","isNegated":false}]}],"warnings":[]},{"id":"4","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":56,"text":"I had a great unobstructed view of the Microsoft campus.","targets":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"negative":0.03},"offset":27,"length":4,"text":"view","relations":[{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":8,"length":5,"text":"great","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":0.93,"negative":0.07},"offset":14,"length":12,"text":"unobstructed","isNegated":false}]}],"warnings":[]},{"id":"5","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":75,"text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '94', + '53', + 'apim-request-id', + '0ca8214d-420b-4357-9a41-d3cf457b07cd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:38:20 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') + .query(true) + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:37:48Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '18', + 'apim-request-id', + '298fd6b2-e003-4f24-8d18-8881e7e7f9e4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:38:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') + .query(true) + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:38:24Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:24.4741198Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":25,"text":"The food was unacceptable","targets":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":13,"length":12,"text":"unacceptable","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":25,"text":"The rooms were beautiful.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":9,"text":"beautiful","isNegated":false}]},{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":26,"length":26,"text":"The AC was good and quiet.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":30,"length":2,"text":"AC","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/0"},{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":37,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":46,"length":5,"text":"quiet","isNegated":false}]}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"offset":0,"length":50,"text":"The breakfast was good, but the toilet was smelly.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":32,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":18,"length":4,"text":"good","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":43,"length":6,"text":"smelly","isNegated":false}]}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":71,"text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":11,"length":5,"text":"hotel","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":24,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":41,"length":15,"text":"shuttle service","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":65,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/3"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":19,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":36,"length":4,"text":"nice","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":5,"text":"loved","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":59,"length":5,"text":"clean","isNegated":false}]}],"warnings":[]},{"id":"4","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":56,"text":"I had a great unobstructed view of the Microsoft campus.","targets":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"negative":0.03},"offset":27,"length":4,"text":"view","relations":[{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":8,"length":5,"text":"great","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":0.93,"negative":0.07},"offset":14,"length":12,"text":"unobstructed","isNegated":false}]}],"warnings":[]},{"id":"5","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":75,"text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '151', 'apim-request-id', - '1dbdbba9-6321-4084-a08c-1ecf687186cc', + '170d37fa-01ad-47f3-9792-770c7b0a687a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:29 GMT' + 'Fri, 25 Jun 2021 19:38:24 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/d21c3114-9a06-498f-8f4d-43f4615c5c6e') + .get('//text/analytics/v3.1/analyze/jobs/f77b83e0-b8f8-4de0-bd67-e2aae464375f') .query(true) - .reply(200, {"jobId":"d21c3114-9a06-498f-8f4d-43f4615c5c6e","lastUpdateDateTime":"2021-05-12T19:10:27Z","createdDateTime":"2021-05-12T19:10:03Z","expirationDateTime":"2021-05-13T19:10:03Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:27Z"},"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:27.1561899Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":25,"text":"The food was unacceptable","targets":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":13,"length":12,"text":"unacceptable","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":25,"text":"The rooms were beautiful.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":9,"text":"beautiful","isNegated":false}]},{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":26,"length":26,"text":"The AC was good and quiet.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":30,"length":2,"text":"AC","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/0"},{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":37,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":46,"length":5,"text":"quiet","isNegated":false}]}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"offset":0,"length":50,"text":"The breakfast was good, but the toilet was smelly.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":32,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":18,"length":4,"text":"good","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":43,"length":6,"text":"smelly","isNegated":false}]}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":71,"text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":11,"length":5,"text":"hotel","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":24,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":41,"length":15,"text":"shuttle service","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":65,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/3"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":19,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":36,"length":4,"text":"nice","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":5,"text":"loved","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":59,"length":5,"text":"clean","isNegated":false}]}],"warnings":[]},{"id":"4","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":56,"text":"I had a great unobstructed view of the Microsoft campus.","targets":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"negative":0.03},"offset":27,"length":4,"text":"view","relations":[{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":8,"length":5,"text":"great","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":0.93,"negative":0.07},"offset":14,"length":12,"text":"unobstructed","isNegated":false}]}],"warnings":[]},{"id":"5","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":75,"text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}, [ + .reply(200, {"jobId":"f77b83e0-b8f8-4de0-bd67-e2aae464375f","lastUpdateDateTime":"2021-06-25T19:38:24Z","createdDateTime":"2021-06-25T19:37:47Z","expirationDateTime":"2021-06-26T19:37:47Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:24.4741198Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":25,"text":"The food was unacceptable","targets":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":13,"length":12,"text":"unacceptable","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":25,"text":"The rooms were beautiful.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":9,"text":"beautiful","isNegated":false}]},{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":26,"length":26,"text":"The AC was good and quiet.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":30,"length":2,"text":"AC","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/0"},{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":37,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":46,"length":5,"text":"quiet","isNegated":false}]}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"offset":0,"length":50,"text":"The breakfast was good, but the toilet was smelly.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":32,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":18,"length":4,"text":"good","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":43,"length":6,"text":"smelly","isNegated":false}]}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":71,"text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":11,"length":5,"text":"hotel","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":24,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":41,"length":15,"text":"shuttle service","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":65,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/3"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":19,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":36,"length":4,"text":"nice","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":5,"text":"loved","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":59,"length":5,"text":"clean","isNegated":false}]}],"warnings":[]},{"id":"4","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":56,"text":"I had a great unobstructed view of the Microsoft campus.","targets":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"negative":0.03},"offset":27,"length":4,"text":"view","relations":[{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":8,"length":5,"text":"great","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":0.93,"negative":0.07},"offset":14,"length":12,"text":"unobstructed","isNegated":false}]}],"warnings":[]},{"id":"5","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":75,"text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '87', + '126', 'apim-request-id', - '393b1498-7878-4326-8d40-28a7e468d25d', + 'be46c52a-c520-4171-83b5-e537430c09f6', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:29 GMT' + 'Fri, 25 Jun 2021 19:38:25 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.js index 254df133b644..c04bf7963aee 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "666e9177c1bc81a96d65596ec9259bde"; +module.exports.hash = "54aec3c73b9ae9b09b8628e841ec1182"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '0538ccc8-9e03-44d4-8131-bb774fea8200', + '35bfed11-12bf-4ced-b1ac-287aac290400', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:30 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:38:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQh6e1d8A0E7zsjV5Kc07O1v9GTYZxFRQqpIIh4t4FCN1gkgaxVF5syPNLYxXF2-PAjttMWzW3oRumplLYXpBqSuAkqG6Z_BgRIvbaOyg8XHuI_PY5sz-Mlc-wqqzprsrgayPQeXHIouEeC2dloS7s39-Qt0kqzp4k6yndo4QvxYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrApKELN-4NovKipm6-5Vf36PPaf4IeOAQN5rdLF39Knnqe0aRj4rv1T9323jZ4QX2XBFIJhH-oVu5qXYkYdSAjRmFMk7BRgWAW_-wUTT5BJ_Rceo-kNQeO62iQVHEx-wxhwUN1POq_hiBIGT81raqkmM2FE0nIHtNxTlxK_tRyWggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:29 GMT', + 'Fri, 25 Jun 2021 19:38:25 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'effc2a94-f558-4e23-9dd5-8d2b8d176100', + '493aab2b-fb42-40cd-a2d0-93f517935a00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:30 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:38:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLx-wA0lGrzxcUQMjTH_nCXecQpkPuxwkdefrlWecpQZgSyAr3D1FGdwhmAM_gSLNXXdjQadNzPr9sgo23GbXmBrChssv5_hIH1xV1gJejMVcOntbJCy7QMT9fQodPvx8iQpOQKcslK2l4sVIG3yaaWJYiHqMlxCm46F3JgmildcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrxswxnzKYd-Nf2LsXMhiXZDfGB3d_0WLdVA2GfoXetbmS4U1jX4t6C0nIcqhJSrR5QOM_X3tdivYStOn-wV36AvE6hI48xEbuEc4pcr4QEkWc8EjWkW9cQCarR7Ntu7A3dTFggoS_78Fjtar1uB_8TCLAU0vfjgxNWR1n7_1kwUUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:29 GMT', + 'Fri, 25 Jun 2021 19:38:25 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=fd42f80e-36d6-45ac-a329-50292434865d&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,46 +93,46 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-32120ac05200', + '3fda1bdb-b195-4e81-ba11-6a2cc2525e00', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:10:30 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:38:26 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:10:29 GMT', + 'Fri, 25 Jun 2021 19:38:25 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"1","text":"","language":""},{"id":"2","text":"I did not like the hotel we stayed at. It was too expensive.","language":"english"},{"id":"3","text":"The restaurant had really good food. I recommend you try it.","language":"en"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"","language":""},{"id":"2","text":"I did not like the hotel we stayed at. It was too expensive.","language":"english"},{"id":"3","text":"The restaurant had really good food. I recommend you try it.","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d', 'x-envoy-upstream-service-time', - '180', + '294', 'apim-request-id', - 'cd506a1e-39f6-461d-8461-50e36e2eed77', + 'b5293b8c-50ed-42d6-8a8f-9feea7f1dda3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:30 GMT' + 'Fri, 25 Jun 2021 19:38:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:30Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:30Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:27Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -143,119 +140,119 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '3b4c466f-2f34-4e06-9117-cdc128fdaebc', + 'd1570d3c-9da3-42a0-bb5b-a1d962b373ad', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:30 GMT' + 'Fri, 25 Jun 2021 19:38:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:30Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:30Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:27Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '9', 'apim-request-id', - '32909872-e700-49fb-a7ba-7450d1598d6e', + 'c8bb67a2-6eab-41f2-a9f1-503e56f13fb9', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:30 GMT' + 'Fri, 25 Jun 2021 19:38:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:32Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:32Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:27Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '7', 'apim-request-id', - 'c192ef94-4f7f-48b4-9459-467bb739abce', + '20b71380-9840-4579-866d-d805b1ad6711', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:32 GMT' + 'Fri, 25 Jun 2021 19:38:28 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:34Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:34Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:29Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '7', 'apim-request-id', - '2064ea8f-a51c-4e99-a19d-a32ca313b207', + '2ed37ec0-f88a-4cfd-af1e-22e12905585b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:34 GMT' + 'Fri, 25 Jun 2021 19:38:31 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:36Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:36Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:29Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '6', 'apim-request-id', - 'e481e05e-a0c4-4a22-bc75-7283c523fd29', + '8ba46887-3a24-4c93-bc7a-0597670673cf', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:36 GMT' + 'Fri, 25 Jun 2021 19:38:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:36Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:36Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:34Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '10', + '7', 'apim-request-id', - 'd63d23b6-2107-4683-a73c-abd49b46db5d', + 'a9b1678c-8450-4d00-9e6e-a51047adf306', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:38 GMT' + 'Fri, 25 Jun 2021 19:38:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:36Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:36Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:34Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -263,271 +260,251 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '10', 'apim-request-id', - '2b5a118b-d9c7-4b6a-ae06-9f9410ab6b95', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:10:40 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') - .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:42Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:42Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '47', - 'apim-request-id', - 'a56b9fbc-10d3-4f87-9842-b6ca7b68cb51', + '8828b23c-a948-43f4-80d2-f5aae123cd62', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:43 GMT' + 'Fri, 25 Jun 2021 19:38:37 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:42Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:42Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:34Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '56', + '7', 'apim-request-id', - 'b1426824-90ba-4587-b3e7-c087939a3d6c', + 'c9bcfa31-b1d2-447a-8442-533da583a60c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:45 GMT' + 'Fri, 25 Jun 2021 19:38:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:42Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:42Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:41Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '65', + '60', 'apim-request-id', - '9a52c8d2-369d-44a9-8fdb-09757687af99', + '75965dcb-d716-4454-b110-7c03e009661c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:47 GMT' + 'Fri, 25 Jun 2021 19:38:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:42Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:42Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:41Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '67', + '156', 'apim-request-id', - 'd0fd4be2-722e-4467-96b1-0afe5e5f64a5', + '4968cf6e-c357-4678-a13b-c0bb8bcad34f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:49 GMT' + 'Fri, 25 Jun 2021 19:38:43 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:42Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:42Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:41Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '77', + '83', 'apim-request-id', - 'ce86646c-5b8e-4054-962e-447c51253c22', + '75884198-87ed-4724-af4a-37448ef8bdb1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:51 GMT' + 'Fri, 25 Jun 2021 19:38:45 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:51Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:51Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:51.8059854Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:41Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '104', + '114', 'apim-request-id', - 'b0dfd2cd-e8af-490a-8900-da42b174465d', + '64c86e72-e9f4-4fde-9dac-122ae1bb79b4', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:53 GMT' + 'Fri, 25 Jun 2021 19:38:47 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:51Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:51Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:51.8059854Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:41Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '101', + '2675', 'apim-request-id', - 'bf5546af-5af7-4de3-8a5c-3db747009685', + '4c4c5d4d-d4cb-4dfc-9814-f0995116f3f6', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:55 GMT' + 'Fri, 25 Jun 2021 19:38:52 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:51Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:51Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:51.8059854Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:41Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '110', + '78', 'apim-request-id', - '5aba3ed6-bd90-4945-84e7-d90049b7292f', + '07f47288-87cc-49fc-a100-8c6e5e0e0dca', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:10:57 GMT' + 'Fri, 25 Jun 2021 19:38:54 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:51Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:51Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:51.8059854Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:57Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:57.1752116Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '82', + '253', 'apim-request-id', - '1377e0f7-22f6-44d8-affc-46305eb09448', + 'f0c050fe-1f4f-4f68-91f2-c18e91e4a010', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:00 GMT' + 'Fri, 25 Jun 2021 19:38:56 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:51Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:51Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:51.8059854Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:57Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:57.1752116Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '99', + '131', 'apim-request-id', - '5d4cb4b9-5372-4d8d-93f4-f610fe62e03f', + '2960962c-7707-41ec-b53f-8af439b1d350', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:02 GMT' + 'Fri, 25 Jun 2021 19:38:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:10:51Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:10:51Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:51.8059854Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:38:57Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:57.1752116Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '99', + '109', 'apim-request-id', - '94283f02-afac-45ce-a6ca-db1d33aba2cb', + '83073367-4d49-4353-8cc6-16decdb3c394', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:04 GMT' + 'Fri, 25 Jun 2021 19:39:01 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:11:05Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:05Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:05.6466409Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:51.8059854Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:39:02Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:57.1752116Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:02.988893Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '158', + '265', 'apim-request-id', - '28973731-22d7-4091-9499-2a8ec5fea1b9', + 'bcfd9868-6a41-4125-b8e2-a3484b7846fd', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:06 GMT' + 'Fri, 25 Jun 2021 19:39:03 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b2114dd9-ede3-4327-9166-7f8969e7e533') + .get('//text/analytics/v3.1/analyze/jobs/b7de0318-b313-4ecd-880c-4405a0859b3d') .query(true) - .reply(200, {"jobId":"b2114dd9-ede3-4327-9166-7f8969e7e533","lastUpdateDateTime":"2021-05-12T19:11:05Z","createdDateTime":"2021-05-12T19:10:30Z","expirationDateTime":"2021-05-13T19:10:30Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:11:05Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:11:05.6466409Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:51.8059854Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:10:42.9189095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["restaurant","good food"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: da,de,en,es,fi,fr,it,ja,ko,nl,pl,pt-BR,pt-PT,ru,sv,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"b7de0318-b313-4ecd-880c-4405a0859b3d","lastUpdateDateTime":"2021-06-25T19:39:02Z","createdDateTime":"2021-06-25T19:38:26Z","expirationDateTime":"2021-06-26T19:38:26Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:41.6154975Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:38:57.1752116Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:39:02.988893Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '123', + '201', 'apim-request-id', - '490bf562-2f01-4c85-a785-4656d75ade69', + '78c9a353-54cf-46d9-975d-ea0a25f36826', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:11:06 GMT' + 'Fri, 25 Jun 2021 19:39:03 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_statistics.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_statistics.js deleted file mode 100644 index 4c0c77131ef9..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_statistics.js +++ /dev/null @@ -1,333 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "e5e3ed340719a68a7b1a9cadf60f7160"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/common/discovery/instance') - .query(true) - .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - '1136feff-cc47-48a2-95f0-ef8ebf51fd00', - 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', - 'Set-Cookie', - 'fpc=Ave_GjjohnVApSG4euXngXU; expires=Wed, 09-Jun-2021 21:37:42 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZAM-AtZWG0g_zukEnV4g4kTaGf9ZKLT8U_MV-FN4MWoS2B9BkKktzQbpNgLXdSK2t-D7A5lKbwIEekqOOXkC9W64TZ3n4tQ_VjWFRJmkIhoy2DjXWoVLaBmgkZkf19c5TMJvp59gjw9djyUJlGqkz4-tOWPhF9ggsuzh4VQgbnMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Mon, 10 May 2021 21:37:41 GMT', - 'Content-Length', - '980' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ - 'Cache-Control', - 'max-age=86400, private', - 'Content-Type', - 'application/json; charset=utf-8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'Access-Control-Allow-Origin', - '*', - 'Access-Control-Allow-Methods', - 'GET, OPTIONS', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'aa649f74-4d59-4262-8a0c-324b86d00300', - 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', - 'Set-Cookie', - 'fpc=Ave_GjjohnVApSG4euXngXU; expires=Wed, 09-Jun-2021 21:37:42 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrJZr7OazJpfRpNZDyPW2fYYjTL9_f8aGO3geJfiE83TdgyA3mZJdRsDV48wmmCZyK3RL9omZL3OEwk8kZN9-DkFFpmHOCAPk7kYFdaOjR-FUw91EqnPGCd2a45h418jVK5XrJFbuJOrGQe41VLJQEtdGYSzJKcMPb4dFFPeIgjY0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Mon, 10 May 2021 21:37:41 GMT', - 'Content-Length', - '1651' -]); - -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ - 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'ffed6060-64ef-4bb5-a1f1-4959782d6500', - 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', - 'x-ms-clitelem', - '1,0,0,,', - 'Set-Cookie', - 'fpc=Ave_GjjohnVApSG4euXngXVz_bg1AQAAAKWeK9gOAAAA; expires=Wed, 09-Jun-2021 21:37:42 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Mon, 10 May 2021 21:37:41 GMT', - 'Content-Length', - '1331' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":""},{"id":"19","text":":P"},{"id":"1","text":":D"}]}}) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf', - 'x-envoy-upstream-service-time', - '5274', - 'apim-request-id', - '06f9a52c-4a24-4c38-b5ea-bc946572ca4d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:37:52 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:37:52Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:37:52Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '137', - 'apim-request-id', - '2d33efe2-eba1-4a11-be97-9100ddf6a30b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:37:53 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:37:52Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:37:52Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '2669', - 'apim-request-id', - 'a9319602-4dba-409b-b613-ff26aed3c93e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:37:55 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:37:58Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:37:58Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '2611', - 'apim-request-id', - '247c4e9b-f6a3-4566-9e97-9f97109da453', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:38:00 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:37:58Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:37:58Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - 'babc33f5-b3d4-42b6-be9c-969de3f39b03', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:38:02 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:38:08Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:38:08Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '5041', - 'apim-request-id', - 'b295da67-3326-44be-9ef5-67b8188028b1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:38:09 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:38:12Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:38:12Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:12.2215868Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":6,"validDocumentsCount":4,"erroneousDocumentsCount":2,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '63', - 'apim-request-id', - 'f06b08a4-678e-4b51-b356-9f6bf560888a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:38:12 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:38:12Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:38:12Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:12.2215868Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":6,"validDocumentsCount":4,"erroneousDocumentsCount":2,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '63', - 'apim-request-id', - '4dacbac6-00f2-49c2-b1a0-853caae15b7f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:38:14 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:38:12Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:38:12Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:12.2215868Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":6,"validDocumentsCount":4,"erroneousDocumentsCount":2,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '2632', - 'apim-request-id', - '346ec427-d858-4309-9a06-3654f972acb2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:38:18 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:38:19Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:38:19Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:19.6534734Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":6,"validDocumentsCount":4,"erroneousDocumentsCount":2,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:12.2215868Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":6,"validDocumentsCount":4,"erroneousDocumentsCount":2,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:19.7770251Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7763', - 'apim-request-id', - '0682559a-bdf3-42c3-8323-7e7bcc0c3a17', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:38:28 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/eba0f1ab-02b3-425f-864b-c8182cb7f3bf') - .query(true) - .reply(200, {"jobId":"eba0f1ab-02b3-425f-864b-c8182cb7f3bf","lastUpdateDateTime":"2021-05-10T21:38:19Z","createdDateTime":"2021-05-10T21:37:47Z","expirationDateTime":"2021-05-11T21:37:47Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-10T21:38:19Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:19.6534734Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":6,"validDocumentsCount":4,"erroneousDocumentsCount":2,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:12.2215868Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":6,"validDocumentsCount":4,"erroneousDocumentsCount":2,"transactionsCount":4},"documents":[{"redactedText":":)","id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":(","id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":P","id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]},{"redactedText":":D","id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-10T21:38:19.7770251Z","name":"NA","state":"succeeded","results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"0","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"19","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]},{"id":"1","keyPhrases":[],"statistics":{"charactersCount":2,"transactionsCount":1},"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-07-01"}}]}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '5305', - 'apim-request-id', - '6d02c40b-84a9-424f-962b-0ebe9972fbdf', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 10 May 2021 21:38:33 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.js index 2c14916e1fb5..0eb90853485a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "26656b81182f3cf3deec733c6e95081d"; +module.exports.hash = "4ffd3e67d009b80590ba217bf3c541ab"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'aafbf9a6-b019-4789-8025-855982247500', + '169f6f2a-c0f1-4690-9296-75e382787c00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:41:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrF8nYJK6gAD7QiuKMFkwBcXg5wt0E35cfaBK9WhAa9vLiPw2gpysZFWDZzDjhX_qYrvAZjZueRI4o9as5AF5T9aaB9t8dNquSIQIyqPXr_lBl3TxiKlKiJd71uLwr2UIbgO1R3w5oMmw5btcJ2Su2yaaV_3cBiFeOrSpGKFxy27EgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr1PR00W4NwGiX9uBBtG-sX9w1RUWoDXUY3j7_xDW9GNPdYoFUKXRgYMZ8eu6Hx_ahhVkqIu4bIBh2EsnE0TLh-xfK5tmONcLYp6mnDqs4k0wUpHRQVeuiqkgviN5SOonDF8LOhwHM78KNjnVQ3XNFpqr8yEGqJKgGESKGlv0zTwggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:50 GMT', + 'Fri, 25 Jun 2021 19:41:25 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd82b4c65e00', + '5d543b59-2435-4161-9c9e-e923c9b47100', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:41:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYzpPkT5imig-YdyM0Y0fpU1QOYToiOt0bLBp7ST1fw8WSKPX2xMxyuzf2hMshhniHPBZ4wKG-kjWIu4QgW3FYesbr0lbHzfn_1rwAFg2YW-JMqt4zag4RJKd8Oylkdrr3fMhgzGyEbyJGht90ejmJhpP2HFgHfUqrXVFEFwZdwsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvGbV6IOzm34YGCa9xs7KnEn9UaNyNqA2cFd8Y1B4H_70CCnD6eslLK-OUmjhVBS4IClMqyJIcdqg7TFRQVR0tMuGKtDDSTajLtcVRKET5g4MNz0cEcvS7NE5NHvYyUG2FAW9J_VzX3-lmpIT4f7jSNmkgqzodZXmCE6BX138Nv8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:50 GMT' + 'Fri, 25 Jun 2021 19:41:25 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=d26ca79f-1155-4e19-84de-0d6fc23b3e8d&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,64 +93,66 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '36779b91-cc05-4719-a9c1-efc9cbe65a00', + 'c2c46a2d-caf1-495a-b60f-6d2084c17100', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:41:25 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:50 GMT' + 'Fri, 25 Jun 2021 19:41:25 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95', 'x-envoy-upstream-service-time', - '155', + '258', 'apim-request-id', - 'a04106df-9131-4fa4-9a47-63bfedd96441', + 'd0cf1590-24a2-46ec-b5c1-572a3fe5cf18', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:50 GMT' + 'Fri, 25 Jun 2021 19:41:25 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:13:50Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:50Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:25Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7', 'apim-request-id', - 'a54967e1-c7c0-4ef6-95ea-cfab445eba76', + '6ecbe06f-97c2-4337-a4d2-55d22e264823', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:50 GMT' + 'Fri, 25 Jun 2021 19:41:25 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:13:50Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:50Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:25Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -163,39 +160,59 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '31446fe0-53a8-470c-b68e-fa30998b2dc1', + 'bf0d2328-e072-46df-ac3c-b53a0f471ccd', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:50 GMT' + 'Fri, 25 Jun 2021 19:41:25 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:13:52Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:52Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:27Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '8', + 'apim-request-id', + 'f1ade6bd-02a8-413b-9c2c-4e280a077a2e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:27Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', 'apim-request-id', - '846a9ea4-ed13-418c-84c0-168e5a3f865e', + '0e650116-85b7-4193-9222-17e1d8fe5230', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:52 GMT' + 'Fri, 25 Jun 2021 19:41:29 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:13:53Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:53Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:27Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -203,171 +220,331 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'e92131df-369b-4358-bab5-866886e2eb84', + '1a4a1f87-7292-4b96-9791-47c9f50802a0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:54 GMT' + 'Fri, 25 Jun 2021 19:41:31 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:13:53Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:53Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:32Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '8', + '76', + 'apim-request-id', + 'fd2fc49e-d3be-4012-84e1-04f3c6324aaa', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:33 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:32Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '62', + 'apim-request-id', + '1a4d3f16-99da-4655-8ac7-fa037edbecd7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:35 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:32Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '64', + 'apim-request-id', + '4d2af8dd-3a16-48c1-9ac1-f51967dc64dc', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:37 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:32Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '84', + 'apim-request-id', + '50bbbba0-f24d-479e-9851-a1bdf285c06b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:32Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '64', + 'apim-request-id', + 'ee307fb5-4030-4818-ae1a-d953b9649efa', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '136', + 'apim-request-id', + 'c32ae35d-8cde-46f4-a4e4-c88d6d361c55', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:44 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '123', + 'apim-request-id', + '08fbcb78-361f-4633-836a-7dc41bcfb891', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '120', + 'apim-request-id', + '137b1245-a980-4827-8000-bb77f931964a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:41:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') + .query(true) + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '123', 'apim-request-id', - '2a8d0f80-24f8-4c70-8b92-9aa5e2fbe3d2', + '4d023281-19cd-4880-bd6a-db06e51719d2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:56 GMT' + 'Fri, 25 Jun 2021 19:41:51 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:13:58Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:58Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:58.0540389Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Este es","document escrito en Español"],"warnings":[]},{"id":"3","keyPhrases":["猫は幸せ"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '48', + '124', 'apim-request-id', - '9ca0b32e-5c12-40b0-ad15-4d11bfc224ad', + '32368be5-ee90-44b9-ab8a-2d5996109506', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:58 GMT' + 'Fri, 25 Jun 2021 19:41:53 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:13:58Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:58Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:58.0540389Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Este es","document escrito en Español"],"warnings":[]},{"id":"3","keyPhrases":["猫は幸せ"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '57', + '125', 'apim-request-id', - '33c961e5-e75b-4384-80fb-77883c2a97b0', + 'cca4dd5a-1f5c-4936-9adc-85a2908cec97', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:00 GMT' + 'Fri, 25 Jun 2021 19:41:55 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:13:58Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:58Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:58.0540389Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Este es","document escrito en Español"],"warnings":[]},{"id":"3","keyPhrases":["猫は幸せ"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '47', + '171', 'apim-request-id', - '98dc7914-797a-4522-8e7a-19c591c21d76', + '958dbc30-6038-4e94-9436-6b6b72c82d4d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:02 GMT' + 'Fri, 25 Jun 2021 19:41:57 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:14:04Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:04Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:04.8052561Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:58.0540389Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Este es","document escrito en Español"],"warnings":[]},{"id":"3","keyPhrases":["猫は幸せ"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '92', + '131', 'apim-request-id', - 'd269e8b1-5fa0-411e-839b-6699205ea2f1', + '21589e37-ec30-437c-8359-4cdd8143e42d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:04 GMT' + 'Fri, 25 Jun 2021 19:41:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:14:04Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:04Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:04.8052561Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:58.0540389Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Este es","document escrito en Español"],"warnings":[]},{"id":"3","keyPhrases":["猫は幸せ"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:41:44Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '92', + '109', 'apim-request-id', - '46c3e874-b528-49b4-a3fa-b6548f2b6968', + '138e6a2e-9194-464b-98be-6c1668defcf8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:06 GMT' + 'Fri, 25 Jun 2021 19:42:01 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:14:09Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:09Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:09.4872285Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:04.8052561Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:58.0540389Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Este es","document escrito en Español"],"warnings":[]},{"id":"3","keyPhrases":["猫は幸せ"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:42:03Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:03.8234934Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Español","document"],"warnings":[]},{"id":"3","keyPhrases":["せ"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '137', + '173', 'apim-request-id', - '4616d060-768a-4a9b-989d-c93dcc21b5bb', + '8d239abf-6549-451e-9266-9543e13beb78', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:09 GMT' + 'Fri, 25 Jun 2021 19:42:04 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/b1c60140-add7-49f2-8f24-88693a0a5eaf') + .get('//text/analytics/v3.1/analyze/jobs/9e8820de-bb7d-4838-8560-584c19de1f95') .query(true) - .reply(200, {"jobId":"b1c60140-add7-49f2-8f24-88693a0a5eaf","lastUpdateDateTime":"2021-05-12T19:14:09Z","createdDateTime":"2021-05-12T19:13:50Z","expirationDateTime":"2021-05-13T19:13:50Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:14:09Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:09.4872285Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.95}],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:14:04.8052561Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:58.0540389Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Este es","document escrito en Español"],"warnings":[]},{"id":"3","keyPhrases":["猫は幸せ"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"9e8820de-bb7d-4838-8560-584c19de1f95","lastUpdateDateTime":"2021-06-25T19:42:03Z","createdDateTime":"2021-06-25T19:41:25Z","expirationDateTime":"2021-06-26T19:41:25Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:32.2071115Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:44.8119849Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:42:03.8234934Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Español","document"],"warnings":[]},{"id":"3","keyPhrases":["せ"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '130', + '178', 'apim-request-id', - '1281bfcc-6614-4dff-beca-5c02dd72682a', + '3d21e9b2-68f6-44af-8734-cf5f3a617c39', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:14:09 GMT' + 'Fri, 25 Jun 2021 19:42:04 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.js index ad7a8b1d8ccf..37e276aa252b 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "330cf1d56cca52b9aca42e3e7161a754"; +module.exports.hash = "eaed6985137e04614de2332c909af32f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -25,24 +25,24 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '494b5584-9d4c-4d14-96cf-de6147f47100', + 'f3c0c79b-1e0a-46fd-b029-39c93f129d03', 'x-ms-ests-server', - '2.1.11654.25 - SCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:12:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevraW28ULyjjq_ABRxWqIhNlLu4XQWAwYJtk3M3OgMkIDYCFJR7TNJY5rYSzzKFcWPScPCl6L2Ho2TOj1Lgl2TID6e5DMjtMJDwm0CA4pSzL21V-E4bgmRBJXCX8phs10hPjjDxcNjdbx9_x4nYg4ZAehIKT3MHPci73j_6c888QyAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrLshfcscMIP6rHzGY836SXXjdE1FaMY_DWg3HxkEIf_gNWrzuV2ThPmLYKd7gr1mmuqTIAIrRcfCAgAzfYG-m9K_rBpRtGCTrnCVc5IP1sobXnFofKcx9QiCP0FyHMrxTZ7-KtGGjD61CMcCcj0HRCh2_M0C9j_vFZGYJymTVYfQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:12:56 GMT' + 'Fri, 25 Jun 2021 19:40:18 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,28 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'effc2a94-f558-4e23-9dd5-8d2bfd326100', + '60255122-4f99-4912-bd79-4b91dea66000', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:12:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrDsBGsaT9Pqv8X2HGHup-fwoght3KXqTGKruvAczbNdJc4rSy-uvt0avmRYCNdgMQmiqUYwrT_OmXJo0NkY5j-8S3b58z_sL_T2oGqVnpj8m_8gU3nzEK2PeyhJ-ddO4ypH9Q92VaQtVO4ggk2Q1OGAeVYmGcqdkK0gdXPKGRCy0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4xbZL_FTbd3Qxl8QFSmSLwgQV4aSUPb_2PXJPjTTGT6azihmFlL-pglkU5SjWeyURgMkEgjoyLQPMgCYzn78npuxeh17X2DhJB6NRRn6eApwiVIPjWqXMKIrJaah33tfUucD8HpLdPo6JmNbu8cEpV6wWX2UbmolkPDWEGsa80UgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:12:56 GMT', + 'Fri, 25 Jun 2021 19:40:18 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=f9de7836-c682-4f78-8550-65c85ad3451b&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,86 +93,106 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '74c31071-9533-4e7e-92e2-c81a40385400', + 'c19e3cf4-d853-423c-83e5-5de326966200', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:12:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:18 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:12:56 GMT', + 'Fri, 25 Jun 2021 19:40:18 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1', 'x-envoy-upstream-service-time', - '720', + '284', 'apim-request-id', - 'ff9a98f6-182a-45f2-b16c-690da9f386af', + 'd1f28f39-c49b-4b5e-994a-e1534737c4a8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:58 GMT' + 'Fri, 25 Jun 2021 19:40:18 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:12:58Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:58Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:19Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '12', + '7', + 'apim-request-id', + 'e415a658-a17a-4d8d-b9b8-21afcb17a04f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:18 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') + .query(true) + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:19Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', 'apim-request-id', - '774fc663-92ae-4901-9874-631e1f32029c', + '5b5ea3f2-8276-4eb7-a5f0-bbfbe672bfdb', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:58 GMT' + 'Fri, 25 Jun 2021 19:40:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:12:59Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:59Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:19Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '972', + '9', 'apim-request-id', - '612af178-8c9e-49b1-b118-a19369e300da', + 'ea4f278c-13a1-4bfd-84d6-1aa1c0c42ae6', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:12:59 GMT' + 'Fri, 25 Jun 2021 19:40:21 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:12:59Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:59Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:19Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,131 +200,211 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - 'd080e05d-8b9a-490d-9390-0dc3f6da3a9f', + '3957c0dc-ae3b-495a-ad1f-b4c9b0511b2e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:01 GMT' + 'Fri, 25 Jun 2021 19:40:23 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:12:59Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:12:59Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:19Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '13', + 'apim-request-id', + 'babf639c-fbfc-4d99-934e-3b9aa3a89f5d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') + .query(true) + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:25Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '62', + 'apim-request-id', + '9c8702aa-aad6-4c70-b523-3c7d1cedf23d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') + .query(true) + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:28Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:28.7030707Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '140', + 'apim-request-id', + 'acb01e2f-c167-4eb2-b504-e9a99c56d1f3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') + .query(true) + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:28Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:28.7030707Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '214', + 'apim-request-id', + '99a7a77f-6706-4578-bce9-1674ab65a91d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:31 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') + .query(true) + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:28Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:28.7030707Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '133', 'apim-request-id', - '6ebc142c-5e28-4097-9998-6c0a926219f0', + 'adeb733c-2de8-4393-b9da-c6fcf6c93695', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:03 GMT' + 'Fri, 25 Jun 2021 19:40:34 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:13:04Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:04Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:04.8430203Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:28Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:28.7030707Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '51', + '172', 'apim-request-id', - '8a5a7e3a-77bc-407e-8e26-1bc1601b0c08', + 'e784a266-95e7-464d-a83b-69d638a1db8e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:05 GMT' + 'Fri, 25 Jun 2021 19:40:36 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:13:04Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:04Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:04.8430203Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:28Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:28.7030707Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '46', + '116', 'apim-request-id', - '9bfd2dcd-432a-4bff-9a5e-dd841c0d6dd8', + '95dd6df9-ee44-4bea-b502-561a21db2563', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:07 GMT' + 'Fri, 25 Jun 2021 19:40:38 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:13:09Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:09Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:09.8084095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:04.8430203Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:28Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:28.7030707Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '85', + '199', 'apim-request-id', - 'ffbe89c4-d873-42a5-a9bc-90920302a057', + 'a0bf8467-aa3c-449a-9900-ecf0d72c6618', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:09 GMT' + 'Fri, 25 Jun 2021 19:40:41 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:13:10Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:10Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:09.8084095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:10.3002056Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:04.8430203Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:42Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:42.3360021Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:28.7030707Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '137', + '216', 'apim-request-id', - 'e2ada8ef-034f-4e6c-acb9-715047597290', + 'f4df8fa8-92d0-42e9-a1cf-c1e87dfb1818', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:11 GMT' + 'Fri, 25 Jun 2021 19:40:43 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/aad4109e-08e5-49d7-8817-d02fe6d51368') + .get('//text/analytics/v3.1/analyze/jobs/3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1') .query(true) - .reply(200, {"jobId":"aad4109e-08e5-49d7-8817-d02fe6d51368","lastUpdateDateTime":"2021-05-12T19:13:10Z","createdDateTime":"2021-05-12T19:12:58Z","expirationDateTime":"2021-05-13T19:12:58Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:10Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:09.8084095Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:10.3002056Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:04.8430203Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"3b8b0c97-fd96-4b5e-a480-021b2a9f6ab1","lastUpdateDateTime":"2021-06-25T19:40:42Z","createdDateTime":"2021-06-25T19:40:19Z","expirationDateTime":"2021-06-26T19:40:19Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:25.8972837Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:42.3360021Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:28.7030707Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '144', + '221', 'apim-request-id', - 'bdd7688a-92e0-4e81-b2ec-0eb8e029dc6b', + '745871d7-f364-4506-8e3d-2038153bd330', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:11 GMT' + 'Fri, 25 Jun 2021 19:40:43 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.js index c5ab7107c95c..a1cf39e40458 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "f27caecbdea06f0bc103f1cca19fed44"; +module.exports.hash = "633fb369e5e1dfb1aa2335c3687e008f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,24 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'f387635d-bdaa-44fa-837f-e2bd4cd46f00', + '8e82e57f-f124-4848-b0a8-1a2fbd470100', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:12 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:43 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4Ei6HVMXZyhare_-tlOQRwfKQ9nR-rAl8kdG88wp_Rm3vdLY_Q1PKFB3UMT3tdDu8FvNcsDbdaGM4Cs0CjBjKGIbFIXRtB0McXFiYpBrX1rsp-dXiKOtCXVmfq5ZIpJpWYifZFl4avQLXzGw30efwcZAa0GWCz08c7bLfQeRkDIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruR0el9CF5rO-EaK7je1vIK_aujQIJkXFhxfYGOBuQITwcpdC_DE-PAONQjplXXoHJO6sSG_xpyQZ6xnK_7GKKJsSsxGQ-dv1HlGd4EnzggekzwUTCQoRYimXUCx_KaVdUFDV-iUbjNfKTySRFlUYdMgfBf7_ci-D4soHJaLBty0gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:11 GMT' + 'Fri, 25 Jun 2021 19:40:43 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'dac8c720-7f5b-4daa-a8aa-ada53e505600', + '97388d79-6103-488d-a26f-595c59e47300', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:12 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:43 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrt8uFcyJ5fqMVtB7VGh9Q5hrvg02VxSv3MFjHh69Jrv-S8ZvzHTClfQpkFvW0rJQUldbmYs3zOeiUQqo9YwB3Ekag7JLwINDei2Jb_PYTualROyNBZP2iUPGVCKEA-jjvkjcEY5jRNGY6TqCKrLrXLk3uzK6dQDIuc-YEH6ABf1ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrF2ERdINCiE2i99tiBtqw1ZD4EIeFP0XC7r1uRjx7qoSeKLr0YJtLAnIB_TxM2XxWjnBho7xQu7snd-7kiLJbiobUsNDsa-HM8jk8N1EsfecJT5Mzp-NUEdmH-n6euTDGDZ9qIyDdELL6j16HBx8LJrvn8zBp958mObpI4ZVwQCAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:11 GMT', + 'Fri, 25 Jun 2021 19:40:44 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=b8b02fac-7d74-4c1a-bdde-55c6630a08c1&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,84 +93,86 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '6e319f75-8e43-4e3e-8461-03ebce2fcd00', + '60255122-4f99-4912-bd79-4b91f4aa6000', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1EAAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:13:12 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:40:44 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:13:11 GMT' + 'Fri, 25 Jun 2021 19:40:44 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/analyze', {"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]},"analysisInput":{"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]}}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687', 'x-envoy-upstream-service-time', - '147', + '357', 'apim-request-id', - 'bfc2ce47-49e4-4f1c-8597-465ababdbff3', + 'c8acb1f7-f185-4b5a-9675-da46a1ee6c20', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:12 GMT' + 'Fri, 25 Jun 2021 19:40:44 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:13Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:13Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:44Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '9', 'apim-request-id', - '2f6ee931-e8fa-4620-bb58-7caf4662afcf', + 'b44b49fe-ced4-4e63-91b0-f9b276898e0c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:12 GMT' + 'Fri, 25 Jun 2021 19:40:44 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:13Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:13Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:44Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '8', 'apim-request-id', - 'cfcef3ef-04ca-421b-abe2-cc8d9b541666', + 'c69742f0-b40b-4bc8-a2a0-a9eb8db1ea0c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:12 GMT' + 'Fri, 25 Jun 2021 19:40:44 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:14Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:14Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:44Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -183,131 +180,231 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '7', 'apim-request-id', - '765ad529-caca-4b84-b810-fc63402ce37f', + '198fa27b-381f-4e73-bd37-716fbcd069b2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:14 GMT' + 'Fri, 25 Jun 2021 19:40:46 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:14Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:14Z"},"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:47Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '21', + 'apim-request-id', + '630bbcd6-c6c0-4298-8709-cf2304189be0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:48 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') + .query(true) + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:50Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '67', + 'apim-request-id', + 'd5e98979-51b3-48df-9570-b63a0ce67c1e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') + .query(true) + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:51Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '139', + 'apim-request-id', + '7a65bcf8-d97c-4d22-b784-20e3bc477b83', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') + .query(true) + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:51Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '129', + 'apim-request-id', + '164df2a6-4ded-4ece-839c-6db702fd7ba6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') + .query(true) + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:51Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '123', + 'apim-request-id', + '02bb2995-cfa8-46c4-b58f-edec37f8c593', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:40:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') + .query(true) + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:51Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '136', 'apim-request-id', - 'ca8b55b4-3968-452a-b15e-dd08c86a0b2d', + '1825d79c-b326-46b4-b189-4d6e8422c0ef', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:16 GMT' + 'Fri, 25 Jun 2021 19:40:59 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:18Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:18Z"},"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:18.6076073Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:51Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '44', + '118', 'apim-request-id', - '7bf492cd-5aa5-45c6-9a3d-9af18d511628', + 'f7850107-f6a4-4289-bb8c-d1a8e3b38191', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:18 GMT' + 'Fri, 25 Jun 2021 19:41:01 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:19Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:19Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:19.7331337Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:18.6076073Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:51Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '101', + '121', 'apim-request-id', - 'bc2c8c1e-13a9-4b0c-a64a-76883854d381', + 'b77c8d8b-2059-47b0-961d-34dad58b26b1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:20 GMT' + 'Fri, 25 Jun 2021 19:41:03 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:19Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"running","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:19Z"},"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:19.7331337Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:18.6076073Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:40:51Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '83', + '125', 'apim-request-id', - '5acc2912-3b3d-4f39-b7c1-c22f5437cd9a', + 'fab90baa-4dab-4c38-9a4e-6b0354d72323', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:22 GMT' + 'Fri, 25 Jun 2021 19:41:05 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:25Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:25Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:19.7331337Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:25.351934Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:18.6076073Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:41:07Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:07.0224932Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '146', + '189', 'apim-request-id', - '85ccfeee-8ae3-46e9-9ba5-45c3f3155d06', + '1f57e1de-04cd-4ea0-ba9b-76ce193ef290', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:25 GMT' + 'Fri, 25 Jun 2021 19:41:08 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/analyze/jobs/495a3243-abf6-4227-8221-426e2fec1a5b') + .get('//text/analytics/v3.1/analyze/jobs/325ea36a-e28b-477f-b0af-5476ea992687') .query(true) - .reply(200, {"jobId":"495a3243-abf6-4227-8221-426e2fec1a5b","lastUpdateDateTime":"2021-05-12T19:13:25Z","createdDateTime":"2021-05-12T19:13:12Z","expirationDateTime":"2021-05-13T19:13:12Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"details":{"name":"NA","lastUpdateDateTime":"2021-05-12T19:13:25Z"},"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:19.7331337Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.89}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.87}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:25.351934Z","name":"NA","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-05-12T19:13:18.6076073Z","name":"NA","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}}]}}, [ + .reply(200, {"jobId":"325ea36a-e28b-477f-b0af-5476ea992687","lastUpdateDateTime":"2021-06-25T19:41:07Z","createdDateTime":"2021-06-25T19:40:44Z","expirationDateTime":"2021-06-26T19:40:44Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:51.0185557Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:41:07.0224932Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:40:50.774065Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '140', + '183', 'apim-request-id', - '4dba22fa-b8f5-4dbd-ad44-fd97a6dfe5b1', + '9caea0ca-d250-433e-83ec-66b25fc2e06f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:13:25 GMT' + 'Fri, 25 Jun 2021 19:41:08 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.js new file mode 100644 index 000000000000..32098a5c74fc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_documents_have_errors.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "815354ea5278df76f87bbbeb9918c9d0"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '8e82e57f-f124-4848-b0a8-1a2fa2640100', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:08 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrkVMMjgRbeDiTm8_KewBY-7utZWeX28_J1ndTsAUumA3pi0j8bx2ImcwFgriPlH1hcFxrF0aYnY831k5OFxtJCrw3kEAyjV5cfrW5V2lLnF4mpGZ_9UckWJEdOzpLYWb2FCMqyFAQuZS4dXEfKt70Ch8VOYoDjHgf0EQ6UybQ99QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:08 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'f75e896d-b4c4-4e8a-8d17-6ea6d4e55900', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:08 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrg41naJcGK_OEyIoHS5tGJ-lSa_ky7H13EM95uyvEPeQ1N8JBvNuiEveEneWZ5L0vbodF_8foOp7xenN5QkTIfEjRnlXwRelPDEDVTj8PnfNO5-JYTIEKaPADb-aLLCQ_VnZKfIoF7y6ncxP-Aw3VzZJRAVepHAU-R5tbW2-n0XsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:08 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=d2a26985-bc7b-43b9-b4b0-ad2c1eaa4114&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c2c46a2d-caf1-495a-b60f-6d2017ef7100', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:08 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:08 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":"english"},{"id":"3","text":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/7e3b733a-befb-413d-a9af-49e368f30706', + 'x-envoy-upstream-service-time', + '199', + 'apim-request-id', + 'e53c00dd-ee96-47fd-9ce1-d6b8775570c9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/7e3b733a-befb-413d-a9af-49e368f30706') + .query(true) + .reply(200, {"jobId":"7e3b733a-befb-413d-a9af-49e368f30706","lastUpdateDateTime":"2021-06-25T19:45:09Z","createdDateTime":"2021-06-25T19:45:08Z","expirationDateTime":"2021-06-26T19:45:08Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '17', + 'apim-request-id', + '55fe9a45-0af2-4aa8-9b31-f01b07cd1710', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/7e3b733a-befb-413d-a9af-49e368f30706') + .query(true) + .reply(200, {"jobId":"7e3b733a-befb-413d-a9af-49e368f30706","lastUpdateDateTime":"2021-06-25T19:45:09Z","createdDateTime":"2021-06-25T19:45:08Z","expirationDateTime":"2021-06-26T19:45:08Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'ba09a9ca-3635-4420-ae29-f4582c03bd98', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/7e3b733a-befb-413d-a9af-49e368f30706') + .query(true) + .reply(200, {"jobId":"7e3b733a-befb-413d-a9af-49e368f30706","lastUpdateDateTime":"2021-06-25T19:45:10Z","createdDateTime":"2021-06-25T19:45:08Z","expirationDateTime":"2021-06-26T19:45:08Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '59', + 'apim-request-id', + '9732ba07-8e77-4ad1-919b-f80391502416', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:10 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/7e3b733a-befb-413d-a9af-49e368f30706') + .query(true) + .reply(200, {"jobId":"7e3b733a-befb-413d-a9af-49e368f30706","lastUpdateDateTime":"2021-06-25T19:45:10Z","createdDateTime":"2021-06-25T19:45:08Z","expirationDateTime":"2021-06-26T19:45:08Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '69', + 'apim-request-id', + '6376760e-0522-4735-8238-5f4139e8950e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:10 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js new file mode 100644 index 000000000000..bd39942d06ec --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "0c018911d7b8c915100686d9373b4af8"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'f6721be0-6f3d-4a1b-b307-4e90c8bb0100', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:27 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4AO_JzbM4rPDf31yYrExVtQNk0oYdwVC6JkFZhD_UvEGWI8NDBWzJdf99F-p8L8nKRZkDkeowepVDDbcQYlEbIwviE03u-iNxEzamPaKIp-dZDcMzFvC3RMe-fJtm51fdAyO8ofNZ2vWnVwR0yJAySlxwrMbK0lBtV-UcHwcWFQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:27 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'a9a1e068-3c7e-4040-b4a3-6952f8206f00', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrVw0hH-WbGXW3wHFzux6YX5GSvWtd4tLlNfZXu16Rx3nDGeqxNjH9fQ1I-aJMyX5Lr0pXwDfTXvCQexSXuglcU_0PHBGR4YSA-YZQ3rV_SaxXZRgsjNoupoT5kAQlhXDTOOzkRBhAj3ivFB7OGv2SRpXBJBcAMG89wT-pCPmwz2AgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:27 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=8baa1c65-e1f5-480d-92f1-d406718c3883&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '3fda1bdb-b195-4e81-ba11-6a2c4d8a5e00', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:28 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:27 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"","language":"en"},{"id":"2","text":"Patient does not suffer from high blood pressure.","language":"english"},{"id":"3","text":"","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/c118e01d-6db8-42dc-95ba-4fcaf981de0c', + 'x-envoy-upstream-service-time', + '215', + 'apim-request-id', + '0cc999dc-4b60-4e72-b69e-6da8accffe0a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c118e01d-6db8-42dc-95ba-4fcaf981de0c') + .query(true) + .reply(200, {"jobId":"c118e01d-6db8-42dc-95ba-4fcaf981de0c","lastUpdateDateTime":"2021-06-25T19:44:28Z","createdDateTime":"2021-06-25T19:44:28Z","expirationDateTime":"2021-06-26T19:44:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '4a79484c-3eed-42e8-9690-850a4df19ee5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c118e01d-6db8-42dc-95ba-4fcaf981de0c') + .query(true) + .reply(200, {"jobId":"c118e01d-6db8-42dc-95ba-4fcaf981de0c","lastUpdateDateTime":"2021-06-25T19:44:28Z","createdDateTime":"2021-06-25T19:44:28Z","expirationDateTime":"2021-06-26T19:44:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'e6537f40-6596-49df-ba56-535be49039cd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c118e01d-6db8-42dc-95ba-4fcaf981de0c') + .query(true) + .reply(200, {"jobId":"c118e01d-6db8-42dc-95ba-4fcaf981de0c","lastUpdateDateTime":"2021-06-25T19:44:30Z","createdDateTime":"2021-06-25T19:44:28Z","expirationDateTime":"2021-06-26T19:44:28Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '76', + 'apim-request-id', + 'b587be04-253c-4741-b73b-d42f49faa5fc', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c118e01d-6db8-42dc-95ba-4fcaf981de0c') + .query(true) + .reply(200, {"jobId":"c118e01d-6db8-42dc-95ba-4fcaf981de0c","lastUpdateDateTime":"2021-06-25T19:44:30Z","createdDateTime":"2021-06-25T19:44:28Z","expirationDateTime":"2021-06-26T19:44:28Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '63', + 'apim-request-id', + 'c226eeab-344d-4218-aae9-74dd70b5b938', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:30 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_cancelled.js similarity index 59% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfc.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_cancelled.js index d6407df51407..219af0cfe0e2 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_korean_nfc.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_cancelled.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "d06190b0bf0ce0844d2eeca875e76e18"; +module.exports.hash = "d0dea63ab7cc530d4397e7208f975080"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '96b79041-bbe8-457f-8051-94486c3c6000', + 'e1260405-6458-4819-a54b-5467d1b80500', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:56 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcdqUHEgUlN0arot6WZxvPRnpAWLafPi_YaoC9MAUmpN_jQpLAqgz-P27BZA9DwI_yIS19bGu-m8O3VwQ-JTwZ1rKexbq3g1CU7EMJrgmFHi7D2BGWPhZ_ghsP2_dvpLwGqfwOd8PNkRBDmIR7mXopQb75nqNzRpu3u5FNZlfH14gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrgfrh0YHxc4DYUKBdLE5D0Ebj1iYrU4unZJHgUhq4rVKAIeBm3pN5T5B56GPQOl-oyHp17KhVfnX0qJvRzOPmGNZKnhKBdRA88SpuCY75mphI8iTtSi29zYTdmNRXg9I7ruUlihdB3-bOax-FmNbUNzuPAc9x2GI3ELwrtCqAQ9wgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:56 GMT', + 'Fri, 25 Jun 2021 19:45:11 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Length', - '1651', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,33 +60,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90ab40d9c800', + '9ceda81a-917e-4982-bafb-50a7b1115d00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:56 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:12 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrB8ItbKuH_qxUSICq8wl18i59WAILHFycHZxSmfrvSR0RDOebrEUCySaaHHT_6toI1vsk2QLIH2eznf_wiLNZI4Q1pNxGR-l0tEpAizlCiPW41bxIVVQnq-gU7L-WCp1RSwEL9CL8Twvt4-V8J7k95ygCsr4HjJnEJ6toVVG5cQIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrN8UCg9FfjCHXJptErOpS0KPB-8BOaqJT8N74BcZHkGF6jBn35R7DGk_4SUMc_D_A7biBTiXNCXh0VMRd4jFQGde8b4uwwDx6AyEnJqjrM4XEMkPc2jqpRWZv6pUKy7GaUqZCq8lbBDDsKRONve4EZuyI8P5hJFjkNhcQkoZgVjAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:56 GMT' + 'Fri, 25 Jun 2021 19:45:11 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=e436e981-84f3-4a86-91a4-16b60556b450&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,39 +93,78 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '428c50f7-d2da-402a-a895-3212d5a85200', + '97388d79-6103-488d-a26f-595cb3187400', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:56 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:12 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:56 GMT' + 'Fri, 25 Jun 2021 19:45:11 GMT', + 'Content-Length', + '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) .query(true) - .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/0078a666-f34f-4cfe-b3a3-fd707b651d4a', + 'x-envoy-upstream-service-time', + '160', + 'apim-request-id', + 'cb5ae650-3a72-4e42-8fec-b87107869f79', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/0078a666-f34f-4cfe-b3a3-fd707b651d4a') + .query(true) + .reply(200, {"jobId":"0078a666-f34f-4cfe-b3a3-fd707b651d4a","lastUpdateDateTime":"2021-06-25T19:45:12Z","createdDateTime":"2021-06-25T19:45:12Z","expirationDateTime":"2021-06-26T19:45:12Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '60', + '6', + 'apim-request-id', + '596660a2-a63a-43cf-8182-8bf125f55d82', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .delete('//text/analytics/v3.1/entities/health/jobs/0078a666-f34f-4cfe-b3a3-fd707b651d4a') + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/0078a666-f34f-4cfe-b3a3-fd707b651d4a', + 'x-envoy-upstream-service-time', + '16', 'apim-request-id', - '830a2475-c800-4371-a1d7-55879e9d8fad', + 'bb5b8d63-e765-41b1-a12b-cb1148584b28', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:55 GMT' + 'Fri, 25 Jun 2021 19:45:11 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_document_warnings.js similarity index 50% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfd.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_document_warnings.js index a2b36b462e0c..34ebda338a5e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfd.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_document_warnings.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "18635290a25c3a1a881e0008a6121580"; +module.exports.hash = "fcf7c06497229418e8940596f0f9de59"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,26 +23,26 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'fa18d8c5-4ddd-4078-b1c7-f165f3146d00', + 'da91a1d1-645e-4754-9cbc-ee85fce50200', 'x-ms-ests-server', - '2.1.11654.25 - EUS ProdSlices', + '2.1.11829.8 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:55 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrGghoN121eaBP1PEddVDm2RTPyw2eqai6uV6uTHag-LzWYr3EC3kBSLDxliH59MLjQZTcWCiAqhjSK1z1MhPqCpf5GFxjhL_Z5ACqn2pSyx7Ypqzad2lLEgzeBBKjgcpBMOalvVSuGbReD0ZZjwBM7Wxtls9cpOEJ7DR3Q9_eN5ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvGR0daWJ_aDw2bwTMpyPTR13qNAXodY8RPdUGP50uDA8xx1Twp6v4r2OmVPY2AxsJO9PmsUzMO2TIULfgqusojPOgBfFvQC6QR-iVJAIjyZJwE_sL1uGUF7DAneLO4-ntcolZh75XS-Nro9M1Rf-RzxfoPa_hkBR07nK-CKlSgsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:55 GMT', + 'Fri, 25 Jun 2021 19:44:34 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', 'Content-Type', @@ -58,35 +58,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d912b926200', + 'c19e3cf4-d853-423c-83e5-5de3c0bd6200', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:56 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr2Y_qEuqXCm6WnOjU7d8vSEal1pZgu0JB8106XImwbIdcEdQ9y5j93vf07AzcKSZSQKQZlFF5203QhRzh-IvybwKHHWMwI67f9qi8cVnnoHiAJ-rz4aWui9JxWoGlwq_toR1-NjxULj4VgW4aZvG7Z_MO2qGgwC7q682b3Hje4KQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8qiHf0h2dsbp1baPydynLOfFwiMhx6PbBfJ-D_d4ZkI8s6fGicPXyjjVWz09M3N2Pm1ek9L_UPG8ooQVeMbxnImNGev4SiZK1Ck2EPyX1qRgVceZnfVpfxqZtd6uX0sL6bUD-qa9YRgys6moUabOxCLGRuAW3U230ohSaTjwnUogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:55 GMT', + 'Fri, 25 Jun 2021 19:44:34 GMT', 'Content-Length', - '1651' + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=125b539c-44cc-4e5f-9cb1-ae2afba87a00&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1331', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -98,39 +93,119 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b6a65474-742c-4d60-a8b1-d5d3ada56000', + 'f75e896d-b4c4-4e8a-8d17-6ea692e15900', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:56 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:34 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:55 GMT' + 'Fri, 25 Jun 2021 19:44:34 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"This won't actually create a warning :'("}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/dc718d9c-4b61-4fc2-80eb-ef21ee515ac5', + 'x-envoy-upstream-service-time', + '183', + 'apim-request-id', + '300c4228-b67b-41fe-b842-5b0f80c58f3c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/dc718d9c-4b61-4fc2-80eb-ef21ee515ac5') + .query(true) + .reply(200, {"jobId":"dc718d9c-4b61-4fc2-80eb-ef21ee515ac5","lastUpdateDateTime":"2021-06-25T19:44:34Z","createdDateTime":"2021-06-25T19:44:34Z","expirationDateTime":"2021-06-26T19:44:34Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '23', + 'apim-request-id', + '83ddcb34-d7e3-4661-b20c-f26b21b51500', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/dc718d9c-4b61-4fc2-80eb-ef21ee515ac5') + .query(true) + .reply(200, {"jobId":"dc718d9c-4b61-4fc2-80eb-ef21ee515ac5","lastUpdateDateTime":"2021-06-25T19:44:34Z","createdDateTime":"2021-06-25T19:44:34Z","expirationDateTime":"2021-06-26T19:44:34Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'd64f33bd-cc26-4053-983b-fb08f933f4c8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/dc718d9c-4b61-4fc2-80eb-ef21ee515ac5') + .query(true) + .reply(200, {"jobId":"dc718d9c-4b61-4fc2-80eb-ef21ee515ac5","lastUpdateDateTime":"2021-06-25T19:44:35Z","createdDateTime":"2021-06-25T19:44:34Z","expirationDateTime":"2021-06-26T19:44:34Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '50', + 'apim-request-id', + 'bb145d1f-4413-4c17-a856-6b1ec2009202', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:36 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .get('//text/analytics/v3.1/entities/health/jobs/dc718d9c-4b61-4fc2-80eb-ef21ee515ac5') .query(true) - .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(200, {"jobId":"dc718d9c-4b61-4fc2-80eb-ef21ee515ac5","lastUpdateDateTime":"2021-06-25T19:44:35Z","createdDateTime":"2021-06-25T19:44:34Z","expirationDateTime":"2021-06-26T19:44:34Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '60', + '50', 'apim-request-id', - 'afa834d4-a8a0-4dde-b50d-68c1dad1a493', + '34244bb6-5927-4543-b2b7-418a5760c9fe', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:55 GMT' + 'Fri, 25 Jun 2021 19:44:36 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js similarity index 68% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js index d43eff125e53..969c24b9af60 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_emoji.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "cdeb91f384d20dbd1bd75f19cccdf4f4"; +module.exports.hash = "f3f46cab08b3670e4445e7d19a63d3c5"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '00238925-45d3-4511-ac32-92cf70963e00', + '35b9d0cb-8309-4523-9feb-e123a2f13c00', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.8 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr69lDIdfdy9pVSTRVjAjUBfUIbHDXOXKKS8AHN-qNl3Ajg2-I7dwrzkXmz5U1iqzZncXUBon0tC5xcc2REN_pavAZG9aegynaEDjaYw7YADwTKrAnck8M9-juEU0STKDiOtCVOA5BtcFRPCt9FFh0IVK1Sj3dSI6B9hDR-KPSWvcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr_StjkvaiK3Nb3LllW-a9hldA_9er08rW364AW3c-OxzPSrCBm_wMMNKpdX9YWjiSESYwH-ev59Jdw5RFnFSd0Xom-Em9izJdnkrBzhxyE62_jjdRGH4bQ1kF4PgRoGpPPIlQG5VwCoIBsOidlPOqhk0Mn-Bz3FWTcKC1gxBoTYYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:53 GMT', + 'Fri, 25 Jun 2021 19:45:11 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a94baaa3-2e20-4683-8e1e-ea7a9e4dc500', + '703b39c0-f313-4374-a6f6-9fd0e7605d00', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrov3QgcdYmeMcFnJ2S3XlMRMtGOZmd0yaPEeTCrEI9p6E6xo2x9CB8rhQqK_7OA9FFXEezBu2srx5O6tZnFfmHP7-D_MXzfbzdmUt-xeEx-s822PPm7bJuF8lNjpVjEnBNHZwocLzQCzdoixZZbKMJ785RAxsvJ8GkIxlfsxPXCogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcDSqpoFf3Y4MEOSk2Rf28EPbP__N7lRkSx_GHxn9ax-SPgSxfobJG4b12PamwE86lnAv-mvWM0-xg77XnFhMrG9m0yhIQfKwHF3NHxXGXkAzomv4YBNemRtp5zHYMPjI-dg_sF8os72EPjo3aiKuIXDhRqBs8xBs2RSPt4-3vJogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:53 GMT' + 'Fri, 25 Jun 2021 19:45:11 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=51fa3f7e-2b72-4140-8df2-c77e0239312b&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -98,39 +95,37 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd8df8829-77a8-46cc-a784-90abebd8c800', + 'f75e896d-b4c4-4e8a-8d17-6ea61ee65900', 'x-ms-ests-server', - '2.1.11722.21 - WUS2 ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:11 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:53 GMT' + 'Fri, 25 Jun 2021 19:45:11 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"hello world"},{"id":"1","text":"I did not like the hotel we stayed at."}]}) .query(true) - .reply(200, {"documents":[{"redactedText":"👩 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":7,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '76', + '5', 'apim-request-id', - '4b7a025d-351e-4c2c-b739-3b45ea88e4a4', + 'd1a572ff-0c2b-479f-8fa2-855ee684359b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:53 GMT' + 'Fri, 25 Jun 2021 19:45:11 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_entity_assertions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_entity_assertions.js new file mode 100644 index 000000000000..b8c9e8b84e99 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_entity_assertions.js @@ -0,0 +1,491 @@ +let nock = require('nock'); + +module.exports.hash = "6c84b95328582df279435043ada9d912"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '636de7ee-23b2-42eb-a73a-d6ec81ca7800', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:43:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrFTN1kBK_3JO1HMe0Mrr1l5pbGeHTeK2PgkQy998SIUAxOXolZOteewGXBYjpUHuNi3lhu_bL581U0BhonqSmORy-SCwZ2H0_BCw8581vvH9Bgq6aniGgd9FiUlV2ho0wjJO2XuqtMRTeo4p6cO4_lToH38lsRMX-chb7UOQxHLYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:43:41 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '5d543b59-2435-4161-9c9e-e923e0cf7100', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:43:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrW9WpzrGtPPUY-sx8LNVyall6RlCiH8Pox4AwlRLeFL2BpQ4ItNJabjw2TnuyaDJjFjq9XmJEesHc1NFH_aXF8oMN2qQb7bqOCKGOE2RAcYpZvaDhPLi0pumt4Emfpee9zmpepvJVfIECWA3WsgALUgpNFIVYof14OsYx4dQIlPUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:43:41 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=b5be9e17-180b-4df7-9912-1e2462c11a27&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c19e3cf4-d853-423c-83e5-5de3e9b46200', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:43:42 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:43:42 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7', + 'x-envoy-upstream-service-time', + '134', + 'apim-request-id', + '68b82e89-bd13-457a-b415-86d88c5b79a6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:42Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '6e370ee8-91f1-48c4-9c17-c1a2d66f7c73', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:42Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + 'fd73e63e-2435-4a0e-bfa6-8ebf46cee023', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:42Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '8112dd35-a715-48a4-91c7-2a2c51a7f922', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:44 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:42Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'f3f7013f-dc07-4c43-8c69-f087b367c56d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:46 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:42Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '69e5c7f3-ef4a-4bec-86f4-1a75b3b23ce6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:48 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:42Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'ab249e82-5ce1-4946-8964-042603dccda2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:42Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '31', + 'apim-request-id', + '3229e028-d52c-453e-81c1-981da1eb2527', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:42Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '7c9ec4b1-d0da-46be-aa41-e2f2f47d4d5b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:55Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '6290c624-3fd7-45e3-8ac0-147bece4ef86', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:55Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + 'ac868057-cbcc-42f6-a5c5-9353f69ebccc', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:58 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:55Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '3acee214-ae84-462a-9fb3-1d62475bd79a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:01 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:55Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'bec9943c-1325-48eb-84e6-59be075b38ae', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:03 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:55Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '80fc225a-5ac3-4551-956c-1dad711b78e4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:55Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '33103d27-12c5-4a2f-b65c-1e338171ef6d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:55Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '5a8be062-aa77-4303-a2a9-6e6e64b91a9e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:43:55Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '1d007424-7f77-4002-b9c9-e1b728657892', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:44:13Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.94,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":1,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":1,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.9,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"FamilyRelation","confidenceScore":1,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '56', + 'apim-request-id', + 'b3818af7-da1c-4d15-8d38-1ff4a5dbbe74', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:13 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/811f942b-90a3-472b-b6ed-6c2644a8c1e7') + .query(true) + .reply(200, {"jobId":"811f942b-90a3-472b-b6ed-6c2644a8c1e7","lastUpdateDateTime":"2021-06-25T19:44:13Z","createdDateTime":"2021-06-25T19:43:42Z","expirationDateTime":"2021-06-26T19:43:42Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.94,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":1,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":1,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.9,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"FamilyRelation","confidenceScore":1,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '52', + 'apim-request-id', + '8f07c831-c066-4e5e-9359-c93273f5fbcb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:13 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js new file mode 100644 index 000000000000..01f14372224c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js @@ -0,0 +1,471 @@ +let nock = require('nock'); + +module.exports.hash = "6197be518bc787450217d0b89ab9001b"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '47a5d25b-c9b5-4050-9e04-5707a4ca0500', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EAAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:22 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrAoRl03YH3u1M9JoXuZa_LCSlvhQbv8ybH9cNDVrpUymwJMnr-BtbNORbhLkV7G4NKDgxKGVLbJKj6cNcLxcA2eNlxLyih4Ekmz2GPz1VGOyIYttFDlwsEcc2kqxI5Bi4vySd_O-zpMLiQLCTMcg2G82uOkBMGV-vsJXRxl82FjkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:22 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '703b39c0-f313-4374-a6f6-9fd0e8625d00', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EAAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:22 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevruqp3R7tajo6B3seKbS6-IkPiTFcL_2Sg4QmW6P9jgpMV9JFKHLKsqk11S1lGpMrYeU2x_e39rMHxVgHgul-ijNiYP4Rqu_dseSkE_0GGpIjOa1fZEZye9QrlOT6Y-BPNymuiLjpzvPem-Ef1_gjADSRCbxgZywH8e2DijKtXFb4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:22 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=5d36191d-21aa-4700-a157-a03a195ae5c4&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '703b39c0-f313-4374-a6f6-9fd0ed625d00', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EQAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:22 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:22 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2', + 'x-envoy-upstream-service-time', + '2779', + 'apim-request-id', + '208f7e05-9790-4537-b72e-f13dbca67c1f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '27252697-a7ca-4622-b150-b635ef986891', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '26', + 'apim-request-id', + 'ff56e7c0-757b-4755-8d2f-d0ec44512d52', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '03d8a40a-24ae-4d5d-9b92-1f7c0f2cf8d3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + 'f73518fd-306a-41de-965d-d08f076a0795', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '13', + 'apim-request-id', + '1e65ee8a-9a3c-4b1e-bf17-1cf3dab0c983', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '3a8de916-4f45-409f-8ee3-bf33f26866cb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'f519ac8c-73b9-461e-86ba-857d65848f30', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '4d836d5b-eca6-4750-ab69-32e6d100f761', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '29f8baaf-4a61-469f-83e3-9f66d24d8181', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:25Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '0ab1865d-e30d-4b83-9527-e885d461bf4e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:43Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + 'ec7f7ae6-a462-4b16-b414-585f9fa641bd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:44 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:43Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'dfda93e2-3860-437d-890d-29ce20f152fc', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:46 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:43Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'd0d71f16-f0e9-4644-bd9a-bef45ef88961', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:48 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:43Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '544a5dd9-4f4f-4d0b-9dbf-7c957a7b5275', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:43Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '2874a6b5-9150-4738-a0a9-2437e5c6e14c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:53Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":12,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.99,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '53', + 'apim-request-id', + '557dca0a-489c-41e2-adc1-6f429873ce1e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2') + .query(true) + .reply(200, {"jobId":"cc9cdd1a-c96b-4531-a9b8-a8ea1e13b1b2","lastUpdateDateTime":"2021-06-25T19:45:53Z","createdDateTime":"2021-06-25T19:45:22Z","expirationDateTime":"2021-06-26T19:45:22Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":12,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.99,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '73', + 'apim-request-id', + 'd981caa9-c252-4716-ba3a-4eb7613f673d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:55 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js new file mode 100644 index 000000000000..341625896c13 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js @@ -0,0 +1,231 @@ +let nock = require('nock'); + +module.exports.hash = "b05b4bf7009369b70b036897b144ee54"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'e799b9d5-0c18-4511-bf19-9114fbbd4b00', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrVuIuSLZik-kd7e0-BBLNcvjJbt5exDjvuDu_sT80q1djev6dyHpaaVXwfRj1iAoTRVuIcaZykcPgW2h5tFBwirbwwyQS7v5s9EDZxR_FBYYMVesLv2WZg15lpee0r49l-PP7B5AwuajGlgGRGzwizF9ITl58ggBGM0YkpMm8O9IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:17 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'f75e896d-b4c4-4e8a-8d17-6ea6eee65900', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr3Q7fHtxpdWuG5TcrNzPstIPOMcNsNBmCPXUFtlbiQms3q_iOMgVZPYeogZfyBX9CCsyl2BUS3AqLUVuR1qwzQ8Dy7udAFd0RQvT8WOVveq2xTkITume22auBJ8sIV4USLhel2i2kO1_KuAlAmylF0fbMUGTiDhBfjiYJotTo9ZogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:17 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=33672ae5-f76f-416c-8c5b-96a2baa3c8f1&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '1e233fee-f232-4e03-820f-8a8c281a6f00', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EAAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:17 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/ef092482-4431-4b03-a0d0-43b17bef5016', + 'x-envoy-upstream-service-time', + '142', + 'apim-request-id', + '7e2951af-3717-47a5-bfef-f4eec3d77af7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ef092482-4431-4b03-a0d0-43b17bef5016') + .query(true) + .reply(200, {"jobId":"ef092482-4431-4b03-a0d0-43b17bef5016","lastUpdateDateTime":"2021-06-25T19:45:18Z","createdDateTime":"2021-06-25T19:45:17Z","expirationDateTime":"2021-06-26T19:45:17Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'c8ffb8d5-31e7-43ac-ad64-525751e66073', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ef092482-4431-4b03-a0d0-43b17bef5016') + .query(true) + .reply(200, {"jobId":"ef092482-4431-4b03-a0d0-43b17bef5016","lastUpdateDateTime":"2021-06-25T19:45:18Z","createdDateTime":"2021-06-25T19:45:17Z","expirationDateTime":"2021-06-26T19:45:17Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'ebd4c592-3a50-4c02-a0f4-d86af27c9b48', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:18 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ef092482-4431-4b03-a0d0-43b17bef5016') + .query(true) + .reply(200, {"jobId":"ef092482-4431-4b03-a0d0-43b17bef5016","lastUpdateDateTime":"2021-06-25T19:45:18Z","createdDateTime":"2021-06-25T19:45:17Z","expirationDateTime":"2021-06-26T19:45:17Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '6255fffe-888a-46ae-b86f-a03944e8228f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:20 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ef092482-4431-4b03-a0d0-43b17bef5016') + .query(true) + .reply(200, {"jobId":"ef092482-4431-4b03-a0d0-43b17bef5016","lastUpdateDateTime":"2021-06-25T19:45:20Z","createdDateTime":"2021-06-25T19:45:17Z","expirationDateTime":"2021-06-26T19:45:17Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":20,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.99,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '71', + 'apim-request-id', + '29ae62e6-c415-4f3f-99a1-60dd34cf5891', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ef092482-4431-4b03-a0d0-43b17bef5016') + .query(true) + .reply(200, {"jobId":"ef092482-4431-4b03-a0d0-43b17bef5016","lastUpdateDateTime":"2021-06-25T19:45:20Z","createdDateTime":"2021-06-25T19:45:17Z","expirationDateTime":"2021-06-26T19:45:17Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":20,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.99,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '60', + 'apim-request-id', + 'c3e2a1f7-c442-4e96-9229-582be462393b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:22 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_documents.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_documents.js new file mode 100644 index 000000000000..d79235872b7b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_documents.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "43b3d39525e456cf5912f65d3d091d10"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '20332572-3915-4b36-95b4-1b599bf80200', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:14 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrCzsAiNVs5s9BOPTYVWyUWWeiB4JL8_Opguv5afpgtJVYntbzJRaH1_dolxFh_7f3rE9D5U_VGMdKwthczr8SMW9rseNG11tn1sq2bQTbFJ8855xjik83J2HBWlerDY37mK5RWftn0BKt0y03qRyhGa6Y_x96CruhAhftdYHMNwkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:14 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'a9a1e068-3c7e-4040-b4a3-69524b1e6f00', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:14 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-wpGduJ43flLx0DgHLSGXYnu_uXmoKlFMF7rZhq6i4vLgpk0TriaOmx8BvFNF0jlEC0MxDWeDbiSCEmptyTfLax2eBs9xFloqLR_OhtcqPiGoZYJboM3QIiOGfgkTrhwn77DxuYGQg8vu2SMekEMJkyHPxQqgmvOCVYhuQ36PH4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:14 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=50db8c15-5323-450a-8608-f939a001d591&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9d80f76e-26fc-421e-9776-d8e300e35b00', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:14 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:14 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/6ddef43f-ccb7-451e-ab1f-96949d41f763', + 'x-envoy-upstream-service-time', + '273', + 'apim-request-id', + '02feea64-ed1e-42e1-ad10-65ab88a2845f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/6ddef43f-ccb7-451e-ab1f-96949d41f763') + .query(true) + .reply(200, {"jobId":"6ddef43f-ccb7-451e-ab1f-96949d41f763","lastUpdateDateTime":"2021-06-25T19:44:14Z","createdDateTime":"2021-06-25T19:44:14Z","expirationDateTime":"2021-06-26T19:44:14Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '95cbb820-628d-4630-8f34-df7b465e267b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/6ddef43f-ccb7-451e-ab1f-96949d41f763') + .query(true) + .reply(200, {"jobId":"6ddef43f-ccb7-451e-ab1f-96949d41f763","lastUpdateDateTime":"2021-06-25T19:44:14Z","createdDateTime":"2021-06-25T19:44:14Z","expirationDateTime":"2021-06-26T19:44:14Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '1093d41f-8e4b-42ec-9cf7-e8293b6b1728', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/6ddef43f-ccb7-451e-ab1f-96949d41f763') + .query(true) + .reply(200, {"jobId":"6ddef43f-ccb7-451e-ab1f-96949d41f763","lastUpdateDateTime":"2021-06-25T19:44:15Z","createdDateTime":"2021-06-25T19:44:14Z","expirationDateTime":"2021-06-26T19:44:14Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '71', + 'apim-request-id', + 'f73a6697-4d08-4abb-9a09-f89908c98271', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:16 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/6ddef43f-ccb7-451e-ab1f-96949d41f763') + .query(true) + .reply(200, {"jobId":"6ddef43f-ccb7-451e-ab1f-96949d41f763","lastUpdateDateTime":"2021-06-25T19:44:15Z","createdDateTime":"2021-06-25T19:44:14Z","expirationDateTime":"2021-06-26T19:44:14Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '65', + 'apim-request-id', + '07271dc0-a673-45d2-9802-cc21fdab546c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:16 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_strings.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_strings.js new file mode 100644 index 000000000000..f7fe347f6f50 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_input_strings.js @@ -0,0 +1,511 @@ +let nock = require('nock'); + +module.exports.hash = "e8fe4b7a699e69181a6d1d694a0b8992"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '64d6105d-23b6-42ee-b2fe-1b903c780600', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:43:07 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrC2mIuF99TPSbsd6YMxS6UIVrX4SpGz3nhEfhnoKW5uvQOhW1XpZK1aasOZRkvZ0oskAcx-yH1ac7OJ8A0iRJmcb3vHw8ExwNZ2hJEDSDaVRPcpkb0q7nd8yft54Jm1pfH1iFcr-ro2MXgzhNZlb7I9y2SK3fdLCGJzvwZED1LPcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:43:07 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '46746596-f429-4925-82fd-aa79fd4b7100', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:43:07 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreO7emA0D02lRf_8GJpbNswpOQBUiOh5QA1jRDCSSc3rdGZB-fcrUPhNs02NuIMEiZ5l7Wu2wljBbfKBhREbnSQAzcaiysiK_bVt9G9Job-T6A7JMCPryyASgOKHuYmyMRM-lEeNEKrZnL5in__kIZLaPZJ1PHNRKaJEF-A8oQAUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:43:07 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=6e50aa4f-84fc-48ea-b9cb-c5992deaaaff&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '3fda1bdb-b195-4e81-ba11-6a2cd27d5e00', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:43:07 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:43:07 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"1","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f', + 'x-envoy-upstream-service-time', + '214', + 'apim-request-id', + 'd2b05fe8-81f5-4d8e-98e3-b9947e1f4ced', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '435f9570-e1f2-4ef2-93b0-38d77b412478', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'd7bf17d5-ca7f-4255-be5e-31c56991a3ed', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '15', + 'apim-request-id', + '3c12add9-7525-4772-b371-e91a52db11f1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'ab81e245-87fc-479f-b446-42c208aab25b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + 'ead090f9-dbc4-444b-9ff0-28beb7cb2970', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:13 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'dcac3f77-d8fb-489b-87ce-1c65a3df0762', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:15 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '6c93c68a-e5ef-450f-9da2-96a292666820', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '14', + 'apim-request-id', + '4109dd42-3004-438f-817a-9e623d7dd3b1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:19 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + '3e7cdda4-570e-4338-aed8-051e57228a7e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:08Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '000d925a-df12-469a-8256-8d0c362d66a6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:25Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '18', + 'apim-request-id', + 'dc75352a-b171-4ede-85dd-cb990dc1d57d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:26 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:25Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'd77304b1-b4c9-49cc-b63b-df81c20cca42', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:25Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '7db22444-0302-4304-a4fa-cf6cfaba5131', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:25Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '1ae5267d-b6a9-4478-a70e-7684a447f035', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:25Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '17', + 'apim-request-id', + 'c269a7c6-b125-411a-9251-45471e15da62', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:25Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '39', + 'apim-request-id', + '2dd98b69-afcd-4ac0-80f0-0aad54a5838e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:25Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'b167e6a7-1aa7-4440-9e81-90661eb986ad', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:40Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"1","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '75', + 'apim-request-id', + 'b0617752-3634-4c80-a856-4b7cd589bed6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/cc5f1a83-6b9d-4d60-a016-1cf06007ca1f') + .query(true) + .reply(200, {"jobId":"cc5f1a83-6b9d-4d60-a016-1cf06007ca1f","lastUpdateDateTime":"2021-06-25T19:43:40Z","createdDateTime":"2021-06-25T19:43:07Z","expirationDateTime":"2021-06-26T19:43:07Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"1","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '68', + 'apim-request-id', + 'f0af5626-bb9f-4de5-b95d-bd585bc7b033', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:43:41 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.js new file mode 100644 index 000000000000..4d66a014dada --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "4fe6d983363e697807ee4c3c068d2783"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '1a9341fe-d51a-43f2-bedc-f5b217dfce02', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:02 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrnGs656DJUFAm5tMRPzyi1-q-MBmJlue1gKN3OiCPq5vKiHSHKZcnyv4OutizNjlVKpInCNZjR7J64h1kVF5NYVEItnDF0rXFC197DwEz-hor1Yl7wXbC_31Zy8p_f5dtub-rfcDfHGPQ2A9JZWlrtnoOK8MnV72TaD8YKMjXS3QgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:02 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '3fda1bdb-b195-4e81-ba11-6a2ccf8f5e00', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:02 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrulPNXOkhq4BEHvgr9OWAoSyijX2PHvWbiiZ4WqjQHRWZzFpigUFevtXN96aJnrwolTMHomnJpmUnUPttcKocCYt-32qms0qACp6NZalsCgqP_w2E3GBM9PNXJR-tPb6t9oMPmWuupdCUg2kOKpjL7vfR2MyRuPJonGUpbDNtSgEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:02 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=649f3c16-15f8-48f6-a87f-ee6e8294d168&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '97388d79-6103-488d-a26f-595c6d167400', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:03 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:02 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/27e15134-9fe1-4152-80fe-23499c7d703f', + 'x-envoy-upstream-service-time', + '170', + 'apim-request-id', + '74390d1e-3680-49e5-9831-34f5883b082b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/27e15134-9fe1-4152-80fe-23499c7d703f') + .query(true) + .reply(200, {"jobId":"27e15134-9fe1-4152-80fe-23499c7d703f","lastUpdateDateTime":"2021-06-25T19:45:03Z","createdDateTime":"2021-06-25T19:45:03Z","expirationDateTime":"2021-06-26T19:45:03Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '736e04b6-4ed1-4802-a92f-c24f74d54862', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/27e15134-9fe1-4152-80fe-23499c7d703f') + .query(true) + .reply(200, {"jobId":"27e15134-9fe1-4152-80fe-23499c7d703f","lastUpdateDateTime":"2021-06-25T19:45:03Z","createdDateTime":"2021-06-25T19:45:03Z","expirationDateTime":"2021-06-26T19:45:03Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'c395b5d9-0cea-46a0-91f7-f9df518c8744', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/27e15134-9fe1-4152-80fe-23499c7d703f') + .query(true) + .reply(200, {"jobId":"27e15134-9fe1-4152-80fe-23499c7d703f","lastUpdateDateTime":"2021-06-25T19:45:05Z","createdDateTime":"2021-06-25T19:45:03Z","expirationDateTime":"2021-06-26T19:45:03Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '51', + 'apim-request-id', + 'ea1579b5-d6b7-4794-90be-3c5e684e3446', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:04 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/27e15134-9fe1-4152-80fe-23499c7d703f') + .query(true) + .reply(200, {"jobId":"27e15134-9fe1-4152-80fe-23499c7d703f","lastUpdateDateTime":"2021-06-25T19:45:05Z","createdDateTime":"2021-06-25T19:45:03Z","expirationDateTime":"2021-06-26T19:45:03Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '56', + 'apim-request-id', + '8bee7e70-9a69-41c6-b8de-7aeea1888d5c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:05 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js new file mode 100644 index 000000000000..183a9b41ab4c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "95091b45dc61495bb4243ad632fd8fa2"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '8cdc7fed-cf5f-4f3b-a884-14f35bb83c00', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrmPl3MI8GjaTw36cFcwXESucsS_4IYQenqMl2CMlx6buy7bMY3PB9D3OE0KE3I_rKMMtXFm7kKfkYJ2n1mFZ4BBExg1TF-uX3va5MdhDrswo8NSEtxTpqDna1OU1KDVRsztaPzHzP54BiCmo7GwsJU8--SgwAxFMl88-WQGsPiGwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:05 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c19e3cf4-d853-423c-83e5-5de3cdc26200', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPFEx2rGMj33EFGEgb4evf1zS3ncyNv6mKBtXuZHHegjkuxV9uMMGUfjp8Hs45TdCbezFucMisCmp5KU63Sx2ac6-Wr7IVIwpld9lCdzGS2svJFDPIn1FV-hMB6dqj9rZV_Z0ywrLSEnQKDroQbM-BiE_X3L81KL29e6nX7EUXVYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:05 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=40abeb97-5d08-47e9-95a0-18f7ebbb9f17&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '46746596-f429-4925-82fd-aa790c637100', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:05 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:05 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/3e598dc3-67ce-414b-b018-8ee288078896', + 'x-envoy-upstream-service-time', + '153', + 'apim-request-id', + '87c8e718-7a1c-40cd-a5ab-d0cdcc71bd09', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/3e598dc3-67ce-414b-b018-8ee288078896') + .query(true) + .reply(200, {"jobId":"3e598dc3-67ce-414b-b018-8ee288078896","lastUpdateDateTime":"2021-06-25T19:45:06Z","createdDateTime":"2021-06-25T19:45:06Z","expirationDateTime":"2021-06-26T19:45:06Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '02552c8e-ab62-4ed6-b661-a376070871d5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/3e598dc3-67ce-414b-b018-8ee288078896') + .query(true) + .reply(200, {"jobId":"3e598dc3-67ce-414b-b018-8ee288078896","lastUpdateDateTime":"2021-06-25T19:45:06Z","createdDateTime":"2021-06-25T19:45:06Z","expirationDateTime":"2021-06-26T19:45:06Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'cdcdd382-6881-4925-a451-2484b29bbc42', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/3e598dc3-67ce-414b-b018-8ee288078896') + .query(true) + .reply(200, {"jobId":"3e598dc3-67ce-414b-b018-8ee288078896","lastUpdateDateTime":"2021-06-25T19:45:08Z","createdDateTime":"2021-06-25T19:45:06Z","expirationDateTime":"2021-06-26T19:45:06Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '43', + 'apim-request-id', + '55c8dc65-0ca7-4ef8-bbea-b0c1f8b5bb1a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/3e598dc3-67ce-414b-b018-8ee288078896') + .query(true) + .reply(200, {"jobId":"3e598dc3-67ce-414b-b018-8ee288078896","lastUpdateDateTime":"2021-06-25T19:45:08Z","createdDateTime":"2021-06-25T19:45:06Z","expirationDateTime":"2021-06-26T19:45:06Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '60', + 'apim-request-id', + 'cc14991e-2222-4f79-8deb-13876b624b25', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:07 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_operation_metadata.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_operation_metadata.js new file mode 100644 index 000000000000..27fffbbeda7a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_operation_metadata.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "bbda09162538e6d84e10b61e5d705319"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '951e347d-776f-43f6-ba8e-1728b9e88e00', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:12 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUOtFa4j3VkLPqyuv15_zU9T1xuQoWPO9a3o9W9qK-5RsyKkdbQ87Yu6fKqavcj5uMAtG_ppJnDA8NgZmP54jJz8oefhgOXnJTSSp1Z-2jF_-VhdUI9IOro4xBswKGJvDX1F2mK2c4IsTilh4kCJAHBMsJv91bniGYZWvZOtrttEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:12 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '1e233fee-f232-4e03-820f-8a8c3a196f00', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:12 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrA7_FuLICloDMyv7mAs1myc10Z-0AdIETc_S2h6Nf8VMH1DBnKitt4KFsB9MabA_6jnpFyEGPMT0BwyRByoopeAfUm1utWsZOtcJ_FRTMRidGEGy6h4rV1y4TfWhB5g3ttGxUHJa95nl8WW_YF84sIsFr5kqV2nNGaLRLHf1PoiMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:12 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=97ac2b75-897a-4231-bb79-e44c9fcbc431&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '46746596-f429-4925-82fd-aa7935647100', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:45:12 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:45:12 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/98dfa1fc-6540-43f7-b164-d29bdd604fcc', + 'x-envoy-upstream-service-time', + '147', + 'apim-request-id', + '13ff2559-f0fa-4aad-89b9-359a3bb08f7c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/98dfa1fc-6540-43f7-b164-d29bdd604fcc') + .query(true) + .reply(200, {"jobId":"98dfa1fc-6540-43f7-b164-d29bdd604fcc","lastUpdateDateTime":"2021-06-25T19:45:13Z","createdDateTime":"2021-06-25T19:45:13Z","expirationDateTime":"2021-06-26T19:45:13Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'cdc21add-04cd-47a4-a5a7-a370c5c92712', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/98dfa1fc-6540-43f7-b164-d29bdd604fcc') + .query(true) + .reply(200, {"jobId":"98dfa1fc-6540-43f7-b164-d29bdd604fcc","lastUpdateDateTime":"2021-06-25T19:45:13Z","createdDateTime":"2021-06-25T19:45:13Z","expirationDateTime":"2021-06-26T19:45:13Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'f2af74ab-5104-49eb-b994-7188d189311f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/98dfa1fc-6540-43f7-b164-d29bdd604fcc') + .query(true) + .reply(200, {"jobId":"98dfa1fc-6540-43f7-b164-d29bdd604fcc","lastUpdateDateTime":"2021-06-25T19:45:13Z","createdDateTime":"2021-06-25T19:45:13Z","expirationDateTime":"2021-06-26T19:45:13Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'a9d14532-ff54-43d8-9890-3c3354e9c206', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/98dfa1fc-6540-43f7-b164-d29bdd604fcc') + .query(true) + .reply(200, {"jobId":"98dfa1fc-6540-43f7-b164-d29bdd604fcc","lastUpdateDateTime":"2021-06-25T19:45:15Z","createdDateTime":"2021-06-25T19:45:13Z","expirationDateTime":"2021-06-26T19:45:13Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '64', + 'apim-request-id', + '550a8117-8f6f-48b9-8291-dd8f95b579ef', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:17 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js new file mode 100644 index 000000000000..14f15be0ec10 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "0e70f96b1e4ef4786849ff26599336e7"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '731d1cd8-623e-4e61-99a0-53b7d4cb0300', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrwApaL7PfbJrRrdguM6g4fPlm7pjxAjct7Lh1CzlSWg2VoBo19NLmzKGiSKxwwmP-gXo9HE-3qSrQOgVVNTG9nHvR_lRZsbiP4fbXvwn4XnJr6IYNWOC6vPvZR5W9QigTX9dj6XN2b8CUhZcWRVYAWfuf_glHonYFa6eeRPoSPg8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:37 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c19e3cf4-d853-423c-83e5-5de33ebe6200', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrstvvMDvC9MrA5bpoM-a9VCHoOWqjyrQXp9knPJDGMPE1i9_Sc9lljWr_69o08sBYTe0jQ4364zAJ72zaZ9h71R0HeQsMeX4OMGZ0bVMkGa1otF4V-tDJHprQhJAEFqnRafAjIdeS_fKyzYasWy88wba2Ex1ADGCQvvDcrQKK8GIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:37 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=be86ea85-cfef-408f-8bca-02d83cf7e37c&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '46746596-f429-4925-82fd-aa79945d7100', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:37 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:37 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"one"},{"id":"2","text":"two"},{"id":"3","text":"three"},{"id":"4","text":"four"},{"id":"5","text":"five"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/413753ee-8e28-4748-9cfa-f86c9a87faec', + 'x-envoy-upstream-service-time', + '187', + 'apim-request-id', + 'f148711c-7874-4fbe-a057-ed7770a4df40', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:37 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/413753ee-8e28-4748-9cfa-f86c9a87faec') + .query(true) + .reply(200, {"jobId":"413753ee-8e28-4748-9cfa-f86c9a87faec","lastUpdateDateTime":"2021-06-25T19:44:37Z","createdDateTime":"2021-06-25T19:44:37Z","expirationDateTime":"2021-06-26T19:44:37Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '61a9cd87-bab7-4511-a882-99cbe8ef85eb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:37 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/413753ee-8e28-4748-9cfa-f86c9a87faec') + .query(true) + .reply(200, {"jobId":"413753ee-8e28-4748-9cfa-f86c9a87faec","lastUpdateDateTime":"2021-06-25T19:44:37Z","createdDateTime":"2021-06-25T19:44:37Z","expirationDateTime":"2021-06-26T19:44:37Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'd3a15902-80c9-4207-bea5-506a0196a81a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:37 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/413753ee-8e28-4748-9cfa-f86c9a87faec') + .query(true) + .reply(200, {"jobId":"413753ee-8e28-4748-9cfa-f86c9a87faec","lastUpdateDateTime":"2021-06-25T19:44:38Z","createdDateTime":"2021-06-25T19:44:37Z","expirationDateTime":"2021-06-26T19:44:37Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[{"offset":0,"length":4,"text":"five","category":"Dosage","confidenceScore":0.58}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '88', + 'apim-request-id', + '10b2d4a0-f9d6-47cc-8ce3-34c319b3136f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:39 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/413753ee-8e28-4748-9cfa-f86c9a87faec') + .query(true) + .reply(200, {"jobId":"413753ee-8e28-4748-9cfa-f86c9a87faec","lastUpdateDateTime":"2021-06-25T19:44:38Z","createdDateTime":"2021-06-25T19:44:37Z","expirationDateTime":"2021-06-26T19:44:37Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[{"offset":0,"length":4,"text":"five","category":"Dosage","confidenceScore":0.58}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '103', + 'apim-request-id', + 'ec6e513f-9498-4088-9046-de8bbe0dc105', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:39 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js new file mode 100644 index 000000000000..4f33fd66e50c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js @@ -0,0 +1,231 @@ +let nock = require('nock'); + +module.exports.hash = "4b2220c5d74f5da44971fae0df1a3912"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '13c61562-f91a-4247-bcb6-6c1367760400', + 'x-ms-ests-server', + '2.1.11829.8 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrSbHJkm7rRMujjDJHjBfTGCNoB1jx37Ln-q1WBWT6jk8Lyva8cM8HFeET_ETrA5Ui3elfIpqln4pGd0dh-1sK_yKh_md6VKNmkI6pbN7ajVq7VZatkuvPCMOIiF_lhuvnHs6LKUqWAlaiWgEMFEOzQ0LLTWSZ4Cc9H7tZY3i9j0UgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:40 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'f75e896d-b4c4-4e8a-8d17-6ea663e25900', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcWl-3OH0sqFWj8GzZCuRi5CrPnmS6QA0Xsd2D0HFU2Ao0lGQfzZIQw0EHySIyy-c4vspG5zwga2G7dcYBUlJItaWtdmNrbQ5etcGJSA0X0tzSb2Qdm3bCASND2nAnso-knRqWC42TvuOCcyunlswSdlQVVNU_Yrx1U_qK4DjiRkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:40 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=2364f9a5-f538-487a-af9f-d98ee2e95392&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '546b154e-3691-42e1-a17e-80b947bf6700', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:40 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:40 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":""},{"id":"19","text":":P"},{"id":"1","text":":D"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/d3f89d92-0fee-4261-872d-771ce6d808e3', + 'x-envoy-upstream-service-time', + '222', + 'apim-request-id', + '3e13640d-0ed3-4fa5-8e41-2e5cb20ef56a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/d3f89d92-0fee-4261-872d-771ce6d808e3') + .query(true) + .reply(200, {"jobId":"d3f89d92-0fee-4261-872d-771ce6d808e3","lastUpdateDateTime":"2021-06-25T19:44:40Z","createdDateTime":"2021-06-25T19:44:40Z","expirationDateTime":"2021-06-26T19:44:40Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + 'a1117903-5307-4769-b0ad-64ff254f1b34', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/d3f89d92-0fee-4261-872d-771ce6d808e3') + .query(true) + .reply(200, {"jobId":"d3f89d92-0fee-4261-872d-771ce6d808e3","lastUpdateDateTime":"2021-06-25T19:44:40Z","createdDateTime":"2021-06-25T19:44:40Z","expirationDateTime":"2021-06-26T19:44:40Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '2ec6ac23-3ba9-46e2-8978-3baf84b1ac77', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/d3f89d92-0fee-4261-872d-771ce6d808e3') + .query(true) + .reply(200, {"jobId":"d3f89d92-0fee-4261-872d-771ce6d808e3","lastUpdateDateTime":"2021-06-25T19:44:43Z","createdDateTime":"2021-06-25T19:44:40Z","expirationDateTime":"2021-06-26T19:44:40Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'fececea4-3c57-45f4-a935-11995b6d7642', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/d3f89d92-0fee-4261-872d-771ce6d808e3') + .query(true) + .reply(200, {"jobId":"d3f89d92-0fee-4261-872d-771ce6d808e3","lastUpdateDateTime":"2021-06-25T19:44:43Z","createdDateTime":"2021-06-25T19:44:40Z","expirationDateTime":"2021-06-26T19:44:40Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '87', + 'apim-request-id', + 'a27ddf29-cf14-4cf7-b8b9-40d554b8f233', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:44 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/d3f89d92-0fee-4261-872d-771ce6d808e3') + .query(true) + .reply(200, {"jobId":"d3f89d92-0fee-4261-872d-771ce6d808e3","lastUpdateDateTime":"2021-06-25T19:44:43Z","createdDateTime":"2021-06-25T19:44:40Z","expirationDateTime":"2021-06-26T19:44:40Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '109', + 'apim-request-id', + 'a095f328-c607-49f9-a67a-30efa2c1b015', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:44 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_payload_too_large.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_payload_too_large.js new file mode 100644 index 000000000000..788accb5f7f6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_payload_too_large.js @@ -0,0 +1,131 @@ +let nock = require('nock'); + +module.exports.hash = "f016ed25d69cac1c7432466f1a7578fc"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c9b7d89e-0f68-4f56-98f4-ba3e3c640500', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrFBiuVG63JPx2m2IziHAIPK8v7qJaDIhORo6eJI_t5p3imUiJpDnAt_fXHzEYOTUvbAjo-TjjOnckYb1gBNwVJdS9jCgc600WHYp7Dh9Mdja80aLHWwjPH0BTEbHH3cMwivk6Nxn35uHjB8pzceKqjuf0Mlkyih9VnzAe2eUJfBsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:31 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9d80f76e-26fc-421e-9776-d8e3d7e55b00', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrjeSnocZKJei6JJgwpgciTC9VHOqb0cgFbvaLTN9HceztI_Ihsawsun52jtfvkF4b9vqoU90l-0O_Q1lrZ5F-YqlilzFKXAJwR3F7-GUc4tr11UpuRXhRt77cx6atHSJMsbBOLG2LPoopXpd-FZAYJ17rtjX0LlFM85VFJwGunosgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:31 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=fac7ed93-5a96-4545-baa5-6360323bec7a&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Length', + '1331', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '5d543b59-2435-4161-9c9e-e92319d97100', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CgAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:31 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"1","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"2","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"3","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"4","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"5","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"6","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"7","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"8","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"9","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"10","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"11","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"12","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"13","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"14","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"15","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"16","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"17","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"18","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"19","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"20","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"21","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"22","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"23","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"24","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"25","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"26","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"27","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"28","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"29","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"30","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"31","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"32","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"33","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"34","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"35","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"36","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"37","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"38","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"39","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"40","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"41","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"42","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"43","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"44","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"45","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"46","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"47","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"48","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"49","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"50","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"51","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"52","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"53","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"54","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"55","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"56","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"57","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"58","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"59","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"60","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"61","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"62","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"63","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"64","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"65","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"66","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"67","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"68","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"69","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"70","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"71","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"72","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"73","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"74","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"75","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"76","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"77","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"78","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"79","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"80","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"81","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"82","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"83","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"84","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"85","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"86","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"87","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"88","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"89","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"90","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"91","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"92","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"93","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"94","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"95","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"96","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"97","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"98","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"99","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"100","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"101","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"102","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"103","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"104","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"105","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"106","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"107","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"108","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"109","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"110","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"111","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"112","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"113","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"114","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"115","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"116","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"117","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"118","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"119","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"120","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"121","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"122","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"123","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"124","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"125","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"126","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"127","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"128","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"129","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"130","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"131","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"132","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"133","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"134","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"135","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"136","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"137","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"138","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"139","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"140","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"141","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"142","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"143","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"144","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"145","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"146","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"147","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"148","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"149","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"150","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"151","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"152","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"153","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"154","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"155","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"156","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"157","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"158","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"159","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"160","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"161","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"162","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"163","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"164","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"165","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"166","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"167","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"168","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"169","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"170","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"171","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"172","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"173","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"174","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"175","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"176","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"177","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"178","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"179","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"180","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"181","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"182","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"183","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"184","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"185","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"186","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"187","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"188","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"189","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"190","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"191","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"192","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"193","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"194","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"195","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"196","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"197","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"198","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"199","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"200","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"201","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"202","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"203","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"204","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"205","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"206","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"207","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"208","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"209","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"210","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"211","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"212","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"213","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"214","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"215","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"216","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"217","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"218","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"219","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"220","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"221","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"222","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"223","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"224","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"225","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"226","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"227","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"228","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"229","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"230","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"231","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"232","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"233","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"234","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"235","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"236","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"237","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"238","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"239","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"240","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"241","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"242","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"243","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"244","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"245","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"246","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"247","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"248","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"249","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"250","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"251","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"252","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"253","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"254","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"255","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"256","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"257","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"258","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"259","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"260","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"261","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"262","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"263","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"264","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"265","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"266","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"267","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"268","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"269","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"270","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"271","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"272","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"273","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"274","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"275","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"276","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"277","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"278","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"279","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"280","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"281","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"282","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"283","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"284","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"285","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"286","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"287","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"288","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"289","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"290","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"291","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"292","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"293","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"294","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"295","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"296","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"297","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"298","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"299","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"300","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"301","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"302","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"303","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"304","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"305","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"306","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"307","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"308","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"309","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"310","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"311","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"312","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"313","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"314","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"315","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"316","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"317","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"318","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"319","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"320","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"321","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"322","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"323","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"324","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"325","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"326","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"327","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"328","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"329","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"330","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"331","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"332","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"333","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"334","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"335","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"336","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"337","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"338","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"339","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"340","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"341","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"342","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"343","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"344","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"345","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"346","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"347","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"348","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"349","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"350","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"351","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"352","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"353","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"354","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"355","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"356","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"357","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"358","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"359","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"360","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"361","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"362","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"363","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"364","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"365","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"366","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"367","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"368","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"369","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"370","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"371","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"372","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"373","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"374","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"375","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"376","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"377","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"378","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"379","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"380","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"381","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"382","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"383","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"384","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"385","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"386","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"387","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"388","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"389","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"390","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"391","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"392","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"393","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"394","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"395","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"396","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"397","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"398","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"399","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"400","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"401","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"402","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"403","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"404","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"405","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"406","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"407","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"408","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"409","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"410","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"411","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"412","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"413","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"414","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"415","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"416","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"417","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"418","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"419","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"420","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"421","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"422","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"423","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"424","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"425","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"426","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"427","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"428","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"429","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"430","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"431","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"432","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"433","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"434","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"435","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"436","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"437","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"438","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"439","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"440","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"441","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"442","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"443","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"444","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"445","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"446","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"447","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"448","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"449","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"450","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"451","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"452","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"453","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"454","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"455","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"456","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"457","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"458","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"459","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"460","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"461","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"462","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"463","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"464","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"465","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"466","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"467","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"468","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"469","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"470","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"471","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"472","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"473","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"474","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"475","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"476","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"477","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"478","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"479","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"480","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"481","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"482","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"483","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"484","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"485","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"486","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"487","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"488","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"489","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"490","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"491","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"492","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"493","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"494","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"495","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"496","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"497","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"498","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"499","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"}]}) + .query(true) + .reply(413, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Request Payload sent is too large to be processed. Limit request size to: 524288"}}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '20', + 'apim-request-id', + '8a1358b9-fa0a-43a2-8397-14fe86baf78a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:32 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_zalgo.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js similarity index 50% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_zalgo.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js index b0f0a5647eab..ca1d3cbb8916 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_zalgo.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "38a499738d03ef064e51998025c6f1af"; +module.exports.hash = "1e575b94347ebbe18d25ab65a2be1654"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -10,8 +10,6 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '980', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -25,26 +23,30 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'e1823a5b-c143-4603-862a-41088e748600', + 'c6bf3ebb-f17c-4b1e-8b64-bf40aaca4a03', 'x-ms-ests-server', - '2.1.11654.25 - NCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrKG0tS8gg61l66Y32H9t_o9hokU6MbKjXbYf5n-j-nzRckvs-8aBf7-ztMZfgKiGNZQ13H_rRkF0WFz49eAT6mPNSJvYiN3_HvjcXHkjI4TzMA_LqrzuT12SKmZiePKUs6YUhQJbqhNWcRZkINBbfHwOCXrMiI5p6tnNkIhDPjfQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr6grxBVqk2-ThmpMHtsWepLSOpfCZN1H_jJOgrbBaSZBv40FVWCEZAMvfS7UfZZ1M-ui7nhUNX-dr73Fz9cDLXxwDI9kYnxAEAHSTRRjRZveLxyx8m_xrcIh-MHfknw8-CxQg3wIRgeg3cMa6lGBXmaZGnOSvCCV567KfTdTFEawgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:56 GMT' + 'Fri, 25 Jun 2021 19:44:45 GMT', + 'Content-Length', + '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', + 'Content-Length', + '1753', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -58,28 +60,23 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '992d1a63-daeb-4e71-a072-889789c46100', + 'a9a1e068-3c7e-4040-b4a3-695250246f00', 'x-ms-ests-server', - '2.1.11722.21 - NCUS ProdSlices', + '2.1.11829.9 - EUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrUwlQquaLaUNuLsd2RboFU0QRKR2kHurENYP-o1yQ_lqX0NOXEQ9q2gOFRYOOpafZ1yrencUE-SxMM_WvVfvbF67ktSZJ0RjaJPo3CjOA38fhhOyaep-4uGTPNxEk3NgwG8jNXhwkalPPnaUYDuTDCEtnQe_iBJQAsMYj-Bn33TcgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevryMlGVvPM7-cXJ1gwBO9KAXUKxzsCKYTgvbizbJqY89JAwcZehfFfFIr2mJuohhWCbrURlhczgKeyuGhhtKnJd8u2RIREQbVUa4F4ZI1bNPfxTSA7f2gOMKM5mmRExTeY4PAEs2Yp4gsd5Ik2qD8QsnjeOb2m9vh4aOdr8XmEVjIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:57 GMT', - 'Content-Length', - '1651' + 'Fri, 25 Jun 2021 19:44:45 GMT' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=2cffc131-25c7-4c4c-b701-01af75cee6cb&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -98,39 +95,97 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '29a193e4-4207-4b4e-982a-fd8230895e00', + '9d80f76e-26fc-421e-9776-d8e33ae85b00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - NCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DAAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:57 GMT' + 'Fri, 25 Jun 2021 19:44:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":""},{"id":"19","text":":P"},{"id":"1","text":":D"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/a4d68211-5486-4ab8-910a-1cfb34c3d7b1', + 'x-envoy-upstream-service-time', + '246', + 'apim-request-id', + '0c331851-0f70-4d92-8464-e124c79a457e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/a4d68211-5486-4ab8-910a-1cfb34c3d7b1') + .query(true) + .reply(200, {"jobId":"a4d68211-5486-4ab8-910a-1cfb34c3d7b1","lastUpdateDateTime":"2021-06-25T19:44:46Z","createdDateTime":"2021-06-25T19:44:45Z","expirationDateTime":"2021-06-26T19:44:45Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + 'bfec4e52-b735-4e54-991d-e35f463f321e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/a4d68211-5486-4ab8-910a-1cfb34c3d7b1') + .query(true) + .reply(200, {"jobId":"a4d68211-5486-4ab8-910a-1cfb34c3d7b1","lastUpdateDateTime":"2021-06-25T19:44:46Z","createdDateTime":"2021-06-25T19:44:45Z","expirationDateTime":"2021-06-26T19:44:45Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '27', + 'apim-request-id', + '028c9a72-ce34-4e5b-b6bf-e4b232ec3320', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:45 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) + .get('//text/analytics/v3.1/entities/health/jobs/a4d68211-5486-4ab8-910a-1cfb34c3d7b1') .query(true) - .reply(200, {"documents":[{"redactedText":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(200, {"jobId":"a4d68211-5486-4ab8-910a-1cfb34c3d7b1","lastUpdateDateTime":"2021-06-25T19:44:48Z","createdDateTime":"2021-06-25T19:44:45Z","expirationDateTime":"2021-06-26T19:44:45Z","status":"succeeded","errors":[],"results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '111', + '87', 'apim-request-id', - 'ebd39326-34de-4718-981c-3f05d4f9c1b3', + '149add80-4e15-4c0f-b5e4-15045fa28c13', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:57 GMT' + 'Fri, 25 Jun 2021 19:44:48 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js new file mode 100644 index 000000000000..eca4dcaa7b12 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js @@ -0,0 +1,231 @@ +let nock = require('nock'); + +module.exports.hash = "bab30c0c76dbf2a445ffbcb16eaccc29"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'e2faa72c-7263-4daa-9c43-ee9444768c00', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrd_6bEd-Pci-zvpQjGXbk8h831l6roJDYj5w1G3RUCPYzAyJZYZYdb7KyTQYBRljAhje5i6bpf0Bga_WmCEyfRIH1Im1Zdplt2GECAw3w4vioOwFvx52pfR76OGBQZ81j3PsYX7UXtFk-3M6ZZcVhSwFVd-CigoXPE6yhClo4VLQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:17 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9ceda81a-917e-4982-bafb-50a77b0a5d00', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrhKwFeG-R7O6o5yPRRzKALsZR3Ye_9zmiHQzMvW68klXhae4NVCX-OVtiKld7QNlrAvPK2HXrQi3sw19Ic11imI0ZzdHEuwur8rTgt9E9yv9fXpSeD6EfW1ZXtX2jluSbC-myW5JBoSygbfjI6F5SFVxoz7pd1MZ0_ynWznykKxUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:17 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=06932e12-06c5-48b0-9b5e-c9c07ae7d2eb&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '3fda1bdb-b195-4e81-ba11-6a2cc7885e00', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:17 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:17 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"","language":"en"},{"id":"2","text":"Patient does not suffer from high blood pressure.","language":"english"},{"id":"3","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/2c029183-2061-460f-9da4-1130c2edae41', + 'x-envoy-upstream-service-time', + '5270', + 'apim-request-id', + '2d2d2c27-166b-4a46-8ad1-6b27fea69d67', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2c029183-2061-460f-9da4-1130c2edae41') + .query(true) + .reply(200, {"jobId":"2c029183-2061-460f-9da4-1130c2edae41","lastUpdateDateTime":"2021-06-25T19:44:23Z","createdDateTime":"2021-06-25T19:44:17Z","expirationDateTime":"2021-06-26T19:44:17Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '112', + 'apim-request-id', + '8fe3ecf4-437a-4e42-a6f6-421a10ec642c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2c029183-2061-460f-9da4-1130c2edae41') + .query(true) + .reply(200, {"jobId":"2c029183-2061-460f-9da4-1130c2edae41","lastUpdateDateTime":"2021-06-25T19:44:23Z","createdDateTime":"2021-06-25T19:44:17Z","expirationDateTime":"2021-06-26T19:44:17Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '1059b2ff-ef93-4870-a3eb-feb4ad299d3a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2c029183-2061-460f-9da4-1130c2edae41') + .query(true) + .reply(200, {"jobId":"2c029183-2061-460f-9da4-1130c2edae41","lastUpdateDateTime":"2021-06-25T19:44:23Z","createdDateTime":"2021-06-25T19:44:17Z","expirationDateTime":"2021-06-26T19:44:17Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'f11a05cd-06d4-439a-bca7-035c746b6555', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2c029183-2061-460f-9da4-1130c2edae41') + .query(true) + .reply(200, {"jobId":"2c029183-2061-460f-9da4-1130c2edae41","lastUpdateDateTime":"2021-06-25T19:44:25Z","createdDateTime":"2021-06-25T19:44:17Z","expirationDateTime":"2021-06-26T19:44:17Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/0/entities/0","role":"Dosage"},{"ref":"#/results/documents/0/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/0/entities/1","role":"Medication"},{"ref":"#/results/documents/0/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '89', + 'apim-request-id', + '0a3af714-a629-48aa-8127-1e658a63285b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2c029183-2061-460f-9da4-1130c2edae41') + .query(true) + .reply(200, {"jobId":"2c029183-2061-460f-9da4-1130c2edae41","lastUpdateDateTime":"2021-06-25T19:44:25Z","createdDateTime":"2021-06-25T19:44:17Z","expirationDateTime":"2021-06-26T19:44:17Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/0/entities/0","role":"Dosage"},{"ref":"#/results/documents/0/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/0/entities/1","role":"Medication"},{"ref":"#/results/documents/0/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '88', + 'apim-request-id', + '6dd7c6aa-94dd-4a1f-91de-9b5b59246f96', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:27 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_too_many_documents.js similarity index 65% rename from sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfc.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_too_many_documents.js index 1ba273327631..f7ccf397db0a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_fast_tests_string_encoding_textelements_v8/recording_diacritics_nfc.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_too_many_documents.js @@ -1,6 +1,6 @@ let nock = require('nock'); -module.exports.hash = "5040425d1d086012a55df1198928b44a"; +module.exports.hash = "c0210bbf785a84e0ff5d893b4b9c8517"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} @@ -23,30 +23,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '47fc6490-cac9-4b34-b311-7f2e3da90500', + '789e379f-4efd-40a9-8ca7-c935609b0400', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:55 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:31 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYEKKXIH_DQj6WoWuzfQO7E2-Ay3gCN04K4fmZR8AECcrYtBa0CUkpm9rjisGxS9eBLpsj49eowIEH9DyWf4iTq10DOvdZzkcqhf2NKceKyxxmaMw_ILkpq0dAwSxdX0icQ2671AzxDOiIe00KAnGXSUGoR_sshERwGLGrOGUog4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevrv7ZhEbZPiJzGZBe23ZqodwRhHcV5YDRlM1llZ_0B-PrkfAumZfdPMP-ILDvzHt2DE2ZqlV-BZBUP8Iz6byA7QgTeH0LQqx48tDdS1NqMG24HnHBj0LYRwoDQSzxldQIqT4vN3n9lIyMsxuDuVj14job1e_2ra7H3e2vLkKo5cNsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:55 GMT', + 'Fri, 25 Jun 2021 19:44:30 GMT', 'Content-Length', '980' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') - .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ 'Cache-Control', 'max-age=86400, private', - 'Content-Length', - '1651', 'Content-Type', 'application/json; charset=utf-8', 'Strict-Transport-Security', @@ -60,26 +58,25 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2ea6dec1-bb0d-4e0c-baa2-1bf4a32b5a00', + '3fda1bdb-b195-4e81-ba11-6a2cb78a5e00', 'x-ms-ests-server', - '2.1.11722.21 - EUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:55 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1EgAAAKEmaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:31 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', - 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrZTVMKfDrLb9PX6pKWbdxIe_8D7xGQphXEgykk0YxxALG0OmTKSr1D46buKHaQqMfdM5e86WuybgJGXq_GZmlze0LwbnRZvMh303uK9amJOagBRUzZLd82ts0dJtWysH0I0rY3A1xxkewLPKB5pRrl6y7njW6951za-F_axY1-_IgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrvZSYhzUqpASgoH50TP99eXvK_ZcnY_iQMgFAVM8vwIOiktwAfjC19Yl5RdMzZw0mHb5amed4HjrKEvIby45HqlBZEZoD_5eGDEvQyC45wuIqcznyXV1Rf8lmzoWvU8peNDKx6Qry7ymiZHqe27mqqkCgPj-GALJY0P3S7WdHNdkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:55 GMT' + 'Fri, 25 Jun 2021 19:44:30 GMT', + 'Content-Length', + '1753' ]); nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .filteringRequestBody(function (body) { - return body.replace(/client-request-id=[^&]*/g, "client-request-id=client-request-id"); - }) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default%20openid%20profile%20offline_access&grant_type=client_credentials&client-request-id=client-request-id&client_secret=azure_client_secret") + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=f4fd6561-fd01-4291-b815-3c8192eab8ae&client_secret=azure_client_secret") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -96,41 +93,39 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '85f09191-d1fd-4fd7-9a80-0d911f926200', + '46746596-f429-4925-82fd-aa79445c7100', 'x-ms-ests-server', - '2.1.11722.21 - SCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'x-ms-clitelem', '1,0,0,,', 'Set-Cookie', - 'fpc=AnPhe69wTYVMjcXd08qS_MNz_bg1DwAAABseLtgOAAAA; expires=Fri, 11-Jun-2021 19:07:55 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1CQAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:31 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Wed, 12 May 2021 19:07:55 GMT', + 'Fri, 25 Jun 2021 19:44:30 GMT', 'Content-Length', '1331' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"random text","language":"en"},{"id":"1","text":"random text","language":"en"},{"id":"2","text":"random text","language":"en"},{"id":"3","text":"random text","language":"en"},{"id":"4","text":"random text","language":"en"},{"id":"5","text":"random text","language":"en"},{"id":"6","text":"random text","language":"en"},{"id":"7","text":"random text","language":"en"},{"id":"8","text":"random text","language":"en"},{"id":"9","text":"random text","language":"en"},{"id":"10","text":"random text","language":"en"}]}) .query(true) - .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '28', + '4', 'apim-request-id', - '34fbe09b-b3db-4381-ae89-73f91744f941', + '86f8e674-14d4-4d48-858a-3fd870bbe380', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:07:54 GMT' + 'Fri, 25 Jun 2021 19:44:30 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js new file mode 100644 index 000000000000..7b3e49ab1258 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "38c89bab41a80575c79a37ce18c38ae0"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '43b69ca7-20b2-4a52-a8c1-53d1bb200c00', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DQAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfVNipVdVSkGS9gz4IvkTASXP4XcfI7LJ6SGc-K6a2XxVOsUM8dCBhERwiHkMJZpaCz9comuFcvMsqO28iJcrG4PjbOSExEUFl4ZhUyqRqSVmqGZVqeZKSFi4EWD7tenm55OLEYpF4nPEttxTIT3lByUMwOzvuCkBoyXFqxiMjd4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:51 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c19e3cf4-d853-423c-83e5-5de393c06200', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DQAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrpG5H8MYUVoyFtujppUuprFPNQm3si0fgPFUwTtTc702I8si7dmdcrAL-hvtDWpE4xS41rTZZ-JfUIC1QhVqhl9r0pQH94vkrGuQxpPZcQP_7sKzqby2fhyHJpU38By0hydGmGcfLuEx5ig7hlDEP0snm5_WFuKCWzwwDi4P-_8ogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:51 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=6b1da89f-55c0-45a6-9104-d1dd19897fc9&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c2c46a2d-caf1-495a-b60f-6d2094eb7100', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:51 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:51 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/dfc266e1-57bc-44c8-b500-e6de7a940ba2', + 'x-envoy-upstream-service-time', + '181', + 'apim-request-id', + '255a2e3a-1a38-469a-bf92-467742bd357c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/dfc266e1-57bc-44c8-b500-e6de7a940ba2') + .query(true) + .reply(200, {"jobId":"dfc266e1-57bc-44c8-b500-e6de7a940ba2","lastUpdateDateTime":"2021-06-25T19:44:52Z","createdDateTime":"2021-06-25T19:44:52Z","expirationDateTime":"2021-06-26T19:44:52Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'db303169-eed2-4459-92d8-539b2cc16f36', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/dfc266e1-57bc-44c8-b500-e6de7a940ba2') + .query(true) + .reply(200, {"jobId":"dfc266e1-57bc-44c8-b500-e6de7a940ba2","lastUpdateDateTime":"2021-06-25T19:44:52Z","createdDateTime":"2021-06-25T19:44:52Z","expirationDateTime":"2021-06-26T19:44:52Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '4553e12b-b90c-4f01-967d-638463a6d042', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/dfc266e1-57bc-44c8-b500-e6de7a940ba2') + .query(true) + .reply(200, {"jobId":"dfc266e1-57bc-44c8-b500-e6de7a940ba2","lastUpdateDateTime":"2021-06-25T19:44:53Z","createdDateTime":"2021-06-25T19:44:52Z","expirationDateTime":"2021-06-26T19:44:52Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '65', + 'apim-request-id', + 'f0b79aeb-b593-4304-b70d-5af10e259b7d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/dfc266e1-57bc-44c8-b500-e6de7a940ba2') + .query(true) + .reply(200, {"jobId":"dfc266e1-57bc-44c8-b500-e6de7a940ba2","lastUpdateDateTime":"2021-06-25T19:44:53Z","createdDateTime":"2021-06-25T19:44:52Z","expirationDateTime":"2021-06-26T19:44:52Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '68', + 'apim-request-id', + '76789058-e2a4-4252-b8a7-699690546bce', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:54 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js new file mode 100644 index 000000000000..22055362a14a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "2ef2a9e0010a041394b0a0562051ba4e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '004c4e93-0a25-488f-b214-89ed8e3e0300', + 'x-ms-ests-server', + '2.1.11829.9 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrMUKndj4fSwrtalmv7sj2BQ3_hxP5PqyPHo9KQNRsNBy4NycgD15abpOICqweagAqDgbHPZAXw2Waxpl8E8me8ffNqLF86fy4dgCJ_LN3EJ8d1sV0m1ZEG-_SSeqIyawCy-RYwk43bu5wmD4lRXYSz9ydgLMQfcXLQL2yuiLfoc8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:54 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'a9a1e068-3c7e-4040-b4a3-6952ee256f00', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DgAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevruT8wyev4nFevj2tcblTTJgd4h6qB43oA8or0uQGdHTBI74Q7a7fZNYnegTmRGVf9SBO5bicRNxmGpVDGUlgB1HuhoRkHOW4im5ShZkdEpmo5jPZmiWF7Ndh9yKSfgdtIxy0HgRHcpa8F2jwD79zEgov1f59HNiq4SY_Qjtk-YVkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:54 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=e48d9c8d-3d2b-4bd0-a508-bee9fd5d3869&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '97388d79-6103-488d-a26f-595c9c147400', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:54 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:54 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"I will go to the park.","language":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":""},{"id":"3","text":"The restaurant had really good food."}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/ace8da2b-571e-4fb2-9b95-2487c231b75c', + 'x-envoy-upstream-service-time', + '226', + 'apim-request-id', + 'a672592c-41be-4d13-977f-88f22eb112fd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ace8da2b-571e-4fb2-9b95-2487c231b75c') + .query(true) + .reply(200, {"jobId":"ace8da2b-571e-4fb2-9b95-2487c231b75c","lastUpdateDateTime":"2021-06-25T19:44:55Z","createdDateTime":"2021-06-25T19:44:55Z","expirationDateTime":"2021-06-26T19:44:55Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '96d34572-69d4-431d-88e2-4b33ea52680b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ace8da2b-571e-4fb2-9b95-2487c231b75c') + .query(true) + .reply(200, {"jobId":"ace8da2b-571e-4fb2-9b95-2487c231b75c","lastUpdateDateTime":"2021-06-25T19:44:55Z","createdDateTime":"2021-06-25T19:44:55Z","expirationDateTime":"2021-06-26T19:44:55Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + 'b559dba3-ef48-49c3-b2b6-ef18b720541a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ace8da2b-571e-4fb2-9b95-2487c231b75c') + .query(true) + .reply(200, {"jobId":"ace8da2b-571e-4fb2-9b95-2487c231b75c","lastUpdateDateTime":"2021-06-25T19:44:55Z","createdDateTime":"2021-06-25T19:44:55Z","expirationDateTime":"2021-06-26T19:44:55Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '66', + 'apim-request-id', + '3f90e3b4-9f10-4cb2-a32f-580f3c3c4aab', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:57 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ace8da2b-571e-4fb2-9b95-2487c231b75c') + .query(true) + .reply(200, {"jobId":"ace8da2b-571e-4fb2-9b95-2487c231b75c","lastUpdateDateTime":"2021-06-25T19:44:55Z","createdDateTime":"2021-06-25T19:44:55Z","expirationDateTime":"2021-06-26T19:44:55Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '71', + 'apim-request-id', + 'fbcef325-d0c4-45f2-aa95-ba7a33abab3b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:57 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js new file mode 100644 index 000000000000..e666c02659e8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js @@ -0,0 +1,211 @@ +let nock = require('nock'); + +module.exports.hash = "1fb1a57acc331f867912cae0ed39dc23"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'fc35dc98-44a3-478a-ac69-4f4d47c40a00', + 'x-ms-ests-server', + '2.1.11829.8 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DAAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrChd3Z_k4kCCWmspyGaSlLnIkwp0d3QULOgI17fTMEQISAs2dOjfgXJdRvfBE916aojvQ8c32aNgvMh5-HNeLg-iVphO3r66iyF6dmJ_KKRqajuhe1iam8jcEcOOGPSWknZz3u_JTiEhxwty1SYXtrV7pfXEudz0nqdPItNC4bnIgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:48 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '3fda1bdb-b195-4e81-ba11-6a2c9a8d5e00', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DAAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrM_7FcFdXQp6vPuD_NvDoD3K5c2so5c5QwpsT8ZT0NpwwyeqQrCtpFuuRzmbwtMet28kcqy8xk3CVwZH5ymt-NtVLNoWPvA1wk0xR2tsddeGyJlPNFrBJVI35ZfJq4GQc_YX5GnkEDN24GAD-T34cFlzmwFCEZ1H4ihFKruYA7aggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:48 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=c0ff85c5-c4ac-47f1-81ad-72d15a4f4836&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '546b154e-3691-42e1-a17e-80b9c3c06700', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DQAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:48 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:48 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/f8050d3c-b001-45f7-a2dd-c27e656f8125', + 'x-envoy-upstream-service-time', + '187', + 'apim-request-id', + 'b4df2550-c63a-461d-a2a5-ac2c946434e8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/f8050d3c-b001-45f7-a2dd-c27e656f8125') + .query(true) + .reply(200, {"jobId":"f8050d3c-b001-45f7-a2dd-c27e656f8125","lastUpdateDateTime":"2021-06-25T19:44:49Z","createdDateTime":"2021-06-25T19:44:49Z","expirationDateTime":"2021-06-26T19:44:49Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '2414ab32-ac3c-42b9-9408-76a0db3d09d9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/f8050d3c-b001-45f7-a2dd-c27e656f8125') + .query(true) + .reply(200, {"jobId":"f8050d3c-b001-45f7-a2dd-c27e656f8125","lastUpdateDateTime":"2021-06-25T19:44:49Z","createdDateTime":"2021-06-25T19:44:49Z","expirationDateTime":"2021-06-26T19:44:49Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '530b3fc3-b8f7-4d1f-8f29-87373420d670', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/f8050d3c-b001-45f7-a2dd-c27e656f8125') + .query(true) + .reply(200, {"jobId":"f8050d3c-b001-45f7-a2dd-c27e656f8125","lastUpdateDateTime":"2021-06-25T19:44:50Z","createdDateTime":"2021-06-25T19:44:49Z","expirationDateTime":"2021-06-26T19:44:49Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '75', + 'apim-request-id', + '4194cafa-9936-4561-9368-a8f6bed76e44', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:51 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/f8050d3c-b001-45f7-a2dd-c27e656f8125') + .query(true) + .reply(200, {"jobId":"f8050d3c-b001-45f7-a2dd-c27e656f8125","lastUpdateDateTime":"2021-06-25T19:44:50Z","createdDateTime":"2021-06-25T19:44:49Z","expirationDateTime":"2021-06-26T19:44:49Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '69', + 'apim-request-id', + 'b2ce2255-60a0-4f51-8364-2e313a929779', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:51 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js new file mode 100644 index 000000000000..aef626bd0375 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js @@ -0,0 +1,231 @@ +let nock = require('nock'); + +module.exports.hash = "475873b6384b961b148934bfd317912c"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Length', + '980', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '67bc26d4-273a-4b91-b4cc-2a8f4c317500', + 'x-ms-ests-server', + '2.1.11829.8 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevroRujRmxhPtmt3Ha6DSj1a2O0v56MRH6Ud4PceYsD4DDAtYdXh14W75_z4RiCm4e4Q197RBL9J8_80jTDsxTTu-lrEgfdmLehuloxd6y0MZYuqHeYB1hJO_cWRqXLgO_Oc23ebmEgjfLpofjg2ePxLFxt8t6Fw7wsfjVjbZUr7XsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:57 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '5d543b59-2435-4161-9c9e-e92389de7100', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrRbDT7zprLID7JkvP2mXrDIsNFdE5q_9pKllCpAfLZQVPBgON7D3NjpQjs-pe4Lr5h4KGK7UcznB8-ZXX4DxzQ65JVVNK5GN2mQX_9nJqJHDrqODFehadrqS0RcF5D7aV8hC3YiB0geVDRYpc50ehcHXQ_2hn6lZyKkvFeXsuK5UgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:57 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=32775987-4bde-4fd8-b85d-c1a22988a258&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '546b154e-3691-42e1-a17e-80b954c26700', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AgwXPIJQJyxOqlZf_m27S8lz_bg1DwAAAPkoaNgOAAAA; expires=Sun, 25-Jul-2021 19:44:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 25 Jun 2021 19:44:57 GMT', + 'Content-Length', + '1331' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"I should take my cat to the veterinarian."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/a52f1200-7c2d-4ff1-a566-cc2daf523f75', + 'x-envoy-upstream-service-time', + '200', + 'apim-request-id', + 'bed699cc-9ad1-4a02-8a40-a5fbdee20c62', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:57 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/a52f1200-7c2d-4ff1-a566-cc2daf523f75') + .query(true) + .reply(200, {"jobId":"a52f1200-7c2d-4ff1-a566-cc2daf523f75","lastUpdateDateTime":"2021-06-25T19:44:58Z","createdDateTime":"2021-06-25T19:44:58Z","expirationDateTime":"2021-06-26T19:44:58Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '21', + 'apim-request-id', + 'b1645998-514b-4ff9-bb46-282c4ed3300c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:57 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/a52f1200-7c2d-4ff1-a566-cc2daf523f75') + .query(true) + .reply(200, {"jobId":"a52f1200-7c2d-4ff1-a566-cc2daf523f75","lastUpdateDateTime":"2021-06-25T19:44:58Z","createdDateTime":"2021-06-25T19:44:58Z","expirationDateTime":"2021-06-26T19:44:58Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '13', + 'apim-request-id', + 'e8809005-6e37-4a1d-9837-150d7c04f76b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:44:57 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/a52f1200-7c2d-4ff1-a566-cc2daf523f75') + .query(true) + .reply(200, {"jobId":"a52f1200-7c2d-4ff1-a566-cc2daf523f75","lastUpdateDateTime":"2021-06-25T19:45:00Z","createdDateTime":"2021-06-25T19:44:58Z","expirationDateTime":"2021-06-26T19:44:58Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + 'f5236e82-9cfe-4580-acb7-cd8238fe256f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/a52f1200-7c2d-4ff1-a566-cc2daf523f75') + .query(true) + .reply(200, {"jobId":"a52f1200-7c2d-4ff1-a566-cc2daf523f75","lastUpdateDateTime":"2021-06-25T19:45:00Z","createdDateTime":"2021-06-25T19:44:58Z","expirationDateTime":"2021-06-26T19:44:58Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":28,"length":12,"text":"veterinarian","category":"HealthcareProfession","confidenceScore":0.98}],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '69', + 'apim-request-id', + 'a1c0eb26-2176-4963-9d90-06ccd00c2ef3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/a52f1200-7c2d-4ff1-a566-cc2daf523f75') + .query(true) + .reply(200, {"jobId":"a52f1200-7c2d-4ff1-a566-cc2daf523f75","lastUpdateDateTime":"2021-06-25T19:45:00Z","createdDateTime":"2021-06-25T19:44:58Z","expirationDateTime":"2021-06-26T19:44:58Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":28,"length":12,"text":"veterinarian","category":"HealthcareProfession","confidenceScore":0.98}],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '73', + 'apim-request-id', + 'a460ab49-e6e6-44e5-8b84-cce66c876768', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:02 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizeentities.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizeentities.js deleted file mode 100644 index 164e7e921cde..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizeentities.js +++ /dev/null @@ -1,27 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "44bff596a4758107f0e456ef4454346a"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/general', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last weekend.","language":"en"}]}) - .query(true) - .reply(200, {"documents":[{"id":"0","entities":[{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":0.99},{"text":"last weekend","category":"DateTime","subcategory":"DateRange","offset":34,"length":12,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', - 'x-envoy-upstream-service-time', - '58', - 'apim-request-id', - '6214a533-f495-42cc-a47c-b7da4cd35a4b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:03:38 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizelinkedentities.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizelinkedentities.js deleted file mode 100644 index 5cfa20ea3009..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizelinkedentities.js +++ /dev/null @@ -1,27 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "3329be528945fe80d42902fec00812f4"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/linking', {"documents":[{"id":"0","text":"the Roman god Mars","language":"en"}]}) - .query(true) - .reply(200, {"documents":[{"id":"0","entities":[{"bingId":"2d00c46f-8bc6-b7da-83af-6c8eb6b1ecd2","name":"Roman mythology","matches":[{"text":"Roman god","offset":4,"length":9,"confidenceScore":0.18}],"language":"en","id":"Roman mythology","url":"https://en.wikipedia.org/wiki/Roman_mythology","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'csp-billing-usage', - 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', - 'x-envoy-upstream-service-time', - '6129', - 'apim-request-id', - '5fbf0f45-e532-425e-906e-3b504db7c014', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:03:44 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_cancelled.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_cancelled.js deleted file mode 100644 index c7c77ce8d5f2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_cancelled.js +++ /dev/null @@ -1,64 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "92e8aef16b4d5c34323ddac582aca6d4"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/429236f3-cb2f-4b11-8bb2-d94b54d606c0', - 'x-envoy-upstream-service-time', - '91', - 'apim-request-id', - '8bdd4e4b-8a43-4292-a3c5-ae4177237015', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:47 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/429236f3-cb2f-4b11-8bb2-d94b54d606c0') - .query(true) - .reply(200, {"jobId":"429236f3-cb2f-4b11-8bb2-d94b54d606c0","lastUpdateDateTime":"2021-05-12T19:05:48Z","createdDateTime":"2021-05-12T19:05:48Z","expirationDateTime":"2021-05-13T19:05:48Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '0ca21768-d727-4cbd-8ec9-b16090a9a6dc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:47 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .delete('//text/analytics/v3.1-preview.5/entities/health/jobs/429236f3-cb2f-4b11-8bb2-d94b54d606c0') - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/429236f3-cb2f-4b11-8bb2-d94b54d606c0', - 'x-envoy-upstream-service-time', - '32', - 'apim-request-id', - 'bcd0518b-84dd-4b6c-81b6-f3bef781e292', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:47 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js deleted file mode 100644 index 9769ef777a44..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js +++ /dev/null @@ -1,125 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "316216dafaf79a901a978dd5e8584eda"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen","language":"en"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/a4d1ec83-b93b-419f-90d7-73e87bea4343', - 'x-envoy-upstream-service-time', - '84', - 'apim-request-id', - 'a18593be-5d65-483c-843a-283e2080ac96', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:53 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/a4d1ec83-b93b-419f-90d7-73e87bea4343') - .query(true) - .reply(200, {"jobId":"a4d1ec83-b93b-419f-90d7-73e87bea4343","lastUpdateDateTime":"2021-05-12T19:05:54Z","createdDateTime":"2021-05-12T19:05:54Z","expirationDateTime":"2021-05-13T19:05:54Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - 'a50d7cdb-f21e-4d3b-818a-35593b912553', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:53 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/a4d1ec83-b93b-419f-90d7-73e87bea4343') - .query(true) - .reply(200, {"jobId":"a4d1ec83-b93b-419f-90d7-73e87bea4343","lastUpdateDateTime":"2021-05-12T19:05:54Z","createdDateTime":"2021-05-12T19:05:54Z","expirationDateTime":"2021-05-13T19:05:54Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '67c122ef-52db-4ff5-8c05-a1829b0baa6d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:53 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/a4d1ec83-b93b-419f-90d7-73e87bea4343') - .query(true) - .reply(200, {"jobId":"a4d1ec83-b93b-419f-90d7-73e87bea4343","lastUpdateDateTime":"2021-05-12T19:05:54Z","createdDateTime":"2021-05-12T19:05:54Z","expirationDateTime":"2021-05-13T19:05:54Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '85ab65b4-c3bb-4d93-b7b2-b480d5fd63fe', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:55 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/a4d1ec83-b93b-419f-90d7-73e87bea4343') - .query(true) - .reply(200, {"jobId":"a4d1ec83-b93b-419f-90d7-73e87bea4343","lastUpdateDateTime":"2021-05-12T19:05:57Z","createdDateTime":"2021-05-12T19:05:54Z","expirationDateTime":"2021-05-13T19:05:54Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":20,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.89,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '36', - 'apim-request-id', - 'd0a5d049-aa1e-4b29-a679-5ec3342a46d2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:57 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/a4d1ec83-b93b-419f-90d7-73e87bea4343') - .query(true) - .reply(200, {"jobId":"a4d1ec83-b93b-419f-90d7-73e87bea4343","lastUpdateDateTime":"2021-05-12T19:05:57Z","createdDateTime":"2021-05-12T19:05:54Z","expirationDateTime":"2021-05-13T19:05:54Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":20,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.89,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '39', - 'apim-request-id', - 'c79f60d3-740d-4d27-aa03-6cbca2dee4ae', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:57 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_input_documents.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_input_documents.js deleted file mode 100644 index e6c81fd82a85..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_input_documents.js +++ /dev/null @@ -1,105 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "97a0d8020bdef6d18ec9e99dd42899f2"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/cc076c00-86df-4d3d-bab1-06381e5dbece', - 'x-envoy-upstream-service-time', - '2682', - 'apim-request-id', - 'a46873eb-9ea0-4f74-a1bb-b99aa124321f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:26 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/cc076c00-86df-4d3d-bab1-06381e5dbece') - .query(true) - .reply(200, {"jobId":"cc076c00-86df-4d3d-bab1-06381e5dbece","lastUpdateDateTime":"2021-05-12T19:04:26Z","createdDateTime":"2021-05-12T19:04:23Z","expirationDateTime":"2021-05-13T19:04:23Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '16', - 'apim-request-id', - 'd60f938b-3930-4cd2-a9a6-036bc12f5d5e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:26 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/cc076c00-86df-4d3d-bab1-06381e5dbece') - .query(true) - .reply(200, {"jobId":"cc076c00-86df-4d3d-bab1-06381e5dbece","lastUpdateDateTime":"2021-05-12T19:04:26Z","createdDateTime":"2021-05-12T19:04:23Z","expirationDateTime":"2021-05-13T19:04:23Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'fec8a314-1a38-4d26-a6e7-7148056467fc', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:26 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/cc076c00-86df-4d3d-bab1-06381e5dbece') - .query(true) - .reply(200, {"jobId":"cc076c00-86df-4d3d-bab1-06381e5dbece","lastUpdateDateTime":"2021-05-12T19:04:26Z","createdDateTime":"2021-05-12T19:04:23Z","expirationDateTime":"2021-05-13T19:04:23Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":0.96,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7629', - 'apim-request-id', - '78e02e4f-db7d-40d4-b986-a02ab1dae14b', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:35 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/cc076c00-86df-4d3d-bab1-06381e5dbece') - .query(true) - .reply(200, {"jobId":"cc076c00-86df-4d3d-bab1-06381e5dbece","lastUpdateDateTime":"2021-05-12T19:04:26Z","createdDateTime":"2021-05-12T19:04:23Z","expirationDateTime":"2021-05-13T19:04:23Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":0.96,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '39', - 'apim-request-id', - '166a138c-ad7a-46b6-9c70-660559b2a95c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:35 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_input_strings.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_input_strings.js deleted file mode 100644 index 5a1aeebb95d2..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_input_strings.js +++ /dev/null @@ -1,125 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "654a2ce761674256890c926077ce2713"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"1","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/14225796-a51d-469e-a7f2-111f0bbb3903', - 'x-envoy-upstream-service-time', - '359', - 'apim-request-id', - '18b52405-23fb-4ca3-966b-9a4678aa269a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:03:47 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/14225796-a51d-469e-a7f2-111f0bbb3903') - .query(true) - .reply(200, {"jobId":"14225796-a51d-469e-a7f2-111f0bbb3903","lastUpdateDateTime":"2021-05-12T19:03:48Z","createdDateTime":"2021-05-12T19:03:48Z","expirationDateTime":"2021-05-13T19:03:48Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '114', - 'apim-request-id', - 'ec3fb5c7-cfe1-4476-b4c5-40bcf0da6474', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:03:48 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/14225796-a51d-469e-a7f2-111f0bbb3903') - .query(true) - .reply(200, {"jobId":"14225796-a51d-469e-a7f2-111f0bbb3903","lastUpdateDateTime":"2021-05-12T19:03:48Z","createdDateTime":"2021-05-12T19:03:48Z","expirationDateTime":"2021-05-13T19:03:48Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '5143', - 'apim-request-id', - 'b37cdcf0-28e2-41de-bf8f-ca844b4d54ef', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:03:53 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/14225796-a51d-469e-a7f2-111f0bbb3903') - .query(true) - .reply(200, {"jobId":"14225796-a51d-469e-a7f2-111f0bbb3903","lastUpdateDateTime":"2021-05-12T19:03:48Z","createdDateTime":"2021-05-12T19:03:48Z","expirationDateTime":"2021-05-13T19:03:48Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '113', - 'apim-request-id', - '0a4a13ba-5448-415f-9169-b097f4cb9451', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:03:55 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/14225796-a51d-469e-a7f2-111f0bbb3903') - .query(true) - .reply(200, {"jobId":"14225796-a51d-469e-a7f2-111f0bbb3903","lastUpdateDateTime":"2021-05-12T19:04:02Z","createdDateTime":"2021-05-12T19:03:48Z","expirationDateTime":"2021-05-13T19:03:48Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":0.96,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"1","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '12682', - 'apim-request-id', - 'b2ab756c-c9ed-42f7-b00c-73961173ee0a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:09 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/14225796-a51d-469e-a7f2-111f0bbb3903') - .query(true) - .reply(200, {"jobId":"14225796-a51d-469e-a7f2-111f0bbb3903","lastUpdateDateTime":"2021-05-12T19:04:02Z","createdDateTime":"2021-05-12T19:03:48Z","expirationDateTime":"2021-05-13T19:03:48Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":0.96,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"1","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '5171', - 'apim-request-id', - '64f715f0-a672-41d2-8a99-8c238e746b0a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:15 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint.js deleted file mode 100644 index 9551aed65d75..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint.js +++ /dev/null @@ -1,125 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "ccc06bbc882856bacdf46a31a9bfb5a0"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/7c5f835c-31c0-4c95-932f-84b9a6c0e515', - 'x-envoy-upstream-service-time', - '134', - 'apim-request-id', - '179daa9e-d865-466c-a416-10e73b6bd16c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:32 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/7c5f835c-31c0-4c95-932f-84b9a6c0e515') - .query(true) - .reply(200, {"jobId":"7c5f835c-31c0-4c95-932f-84b9a6c0e515","lastUpdateDateTime":"2021-05-12T19:05:32Z","createdDateTime":"2021-05-12T19:05:32Z","expirationDateTime":"2021-05-13T19:05:32Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '12419ec6-9a4a-4453-8a0d-39ff66ea9dfa', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:32 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/7c5f835c-31c0-4c95-932f-84b9a6c0e515') - .query(true) - .reply(200, {"jobId":"7c5f835c-31c0-4c95-932f-84b9a6c0e515","lastUpdateDateTime":"2021-05-12T19:05:32Z","createdDateTime":"2021-05-12T19:05:32Z","expirationDateTime":"2021-05-13T19:05:32Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'c9119bb5-8dd4-4d11-a78d-b1f23941b220', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:32 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/7c5f835c-31c0-4c95-932f-84b9a6c0e515') - .query(true) - .reply(200, {"jobId":"7c5f835c-31c0-4c95-932f-84b9a6c0e515","lastUpdateDateTime":"2021-05-12T19:05:32Z","createdDateTime":"2021-05-12T19:05:32Z","expirationDateTime":"2021-05-13T19:05:32Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - '1f230032-cf00-4450-94ea-f196b3eccc85', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:34 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/7c5f835c-31c0-4c95-932f-84b9a6c0e515') - .query(true) - .reply(200, {"jobId":"7c5f835c-31c0-4c95-932f-84b9a6c0e515","lastUpdateDateTime":"2021-05-12T19:05:36Z","createdDateTime":"2021-05-12T19:05:32Z","expirationDateTime":"2021-05-13T19:05:32Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '39', - 'apim-request-id', - '3b5466f6-1e4b-4c40-ac0e-e2023517fa3d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:36 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/7c5f835c-31c0-4c95-932f-84b9a6c0e515') - .query(true) - .reply(200, {"jobId":"7c5f835c-31c0-4c95-932f-84b9a6c0e515","lastUpdateDateTime":"2021-05-12T19:05:36Z","createdDateTime":"2021-05-12T19:05:32Z","expirationDateTime":"2021-05-13T19:05:32Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '32', - 'apim-request-id', - 'e071b672-421a-4829-ac2f-99bc59471767', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:36 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js deleted file mode 100644 index 84bee33f872b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js +++ /dev/null @@ -1,165 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "a2af35bb8906288de33b66444bb8db36"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/f3d66aa1-0294-4af3-9a5e-7457bc9549a5', - 'x-envoy-upstream-service-time', - '79', - 'apim-request-id', - '2df18977-e2af-49c6-afb7-bf2c47a74225', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:37 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f3d66aa1-0294-4af3-9a5e-7457bc9549a5') - .query(true) - .reply(200, {"jobId":"f3d66aa1-0294-4af3-9a5e-7457bc9549a5","lastUpdateDateTime":"2021-05-12T19:05:37Z","createdDateTime":"2021-05-12T19:05:37Z","expirationDateTime":"2021-05-13T19:05:37Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'bcada3fd-47f9-44bc-8fa1-70655c65f03c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:37 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f3d66aa1-0294-4af3-9a5e-7457bc9549a5') - .query(true) - .reply(200, {"jobId":"f3d66aa1-0294-4af3-9a5e-7457bc9549a5","lastUpdateDateTime":"2021-05-12T19:05:37Z","createdDateTime":"2021-05-12T19:05:37Z","expirationDateTime":"2021-05-13T19:05:37Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '1c8408d5-82f8-4bc7-a88a-0601ec354321', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:37 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f3d66aa1-0294-4af3-9a5e-7457bc9549a5') - .query(true) - .reply(200, {"jobId":"f3d66aa1-0294-4af3-9a5e-7457bc9549a5","lastUpdateDateTime":"2021-05-12T19:05:37Z","createdDateTime":"2021-05-12T19:05:37Z","expirationDateTime":"2021-05-13T19:05:37Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - 'bddb895a-5d2f-47c5-b284-f02a3f5c33b1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:39 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f3d66aa1-0294-4af3-9a5e-7457bc9549a5') - .query(true) - .reply(200, {"jobId":"f3d66aa1-0294-4af3-9a5e-7457bc9549a5","lastUpdateDateTime":"2021-05-12T19:05:37Z","createdDateTime":"2021-05-12T19:05:37Z","expirationDateTime":"2021-05-13T19:05:37Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'd85446af-6e02-4f16-baf6-a3f9a5d8ab4a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:41 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f3d66aa1-0294-4af3-9a5e-7457bc9549a5') - .query(true) - .reply(200, {"jobId":"f3d66aa1-0294-4af3-9a5e-7457bc9549a5","lastUpdateDateTime":"2021-05-12T19:05:37Z","createdDateTime":"2021-05-12T19:05:37Z","expirationDateTime":"2021-05-13T19:05:37Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '46750e06-713e-4f82-a09e-f519f9c0d090', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:43 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f3d66aa1-0294-4af3-9a5e-7457bc9549a5') - .query(true) - .reply(200, {"jobId":"f3d66aa1-0294-4af3-9a5e-7457bc9549a5","lastUpdateDateTime":"2021-05-12T19:05:44Z","createdDateTime":"2021-05-12T19:05:37Z","expirationDateTime":"2021-05-13T19:05:37Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '35', - 'apim-request-id', - '8892d07e-c4c7-4d54-a36c-d46ed380c118', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:45 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f3d66aa1-0294-4af3-9a5e-7457bc9549a5') - .query(true) - .reply(200, {"jobId":"f3d66aa1-0294-4af3-9a5e-7457bc9549a5","lastUpdateDateTime":"2021-05-12T19:05:44Z","createdDateTime":"2021-05-12T19:05:37Z","expirationDateTime":"2021-05-13T19:05:37Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '35', - 'apim-request-id', - '204657b8-6f7e-46c3-af5f-e9bd44748e10', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:45 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_operation_metadata.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_operation_metadata.js deleted file mode 100644 index 8d4b704fd319..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_operation_metadata.js +++ /dev/null @@ -1,85 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "cb3f6fdfa836a80c248ff2527cf15337"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/6782fe85-ac4b-4b67-afae-c644095f6aea', - 'x-envoy-upstream-service-time', - '3205', - 'apim-request-id', - '12301757-206d-4fca-8ea9-6d7ea8329256', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:51 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6782fe85-ac4b-4b67-afae-c644095f6aea') - .query(true) - .reply(200, {"jobId":"6782fe85-ac4b-4b67-afae-c644095f6aea","lastUpdateDateTime":"2021-05-12T19:05:51Z","createdDateTime":"2021-05-12T19:05:48Z","expirationDateTime":"2021-05-13T19:05:48Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - '261c570b-9f83-4dc2-bcdf-f0b0f5aaba61', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:51 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6782fe85-ac4b-4b67-afae-c644095f6aea') - .query(true) - .reply(200, {"jobId":"6782fe85-ac4b-4b67-afae-c644095f6aea","lastUpdateDateTime":"2021-05-12T19:05:51Z","createdDateTime":"2021-05-12T19:05:48Z","expirationDateTime":"2021-05-13T19:05:48Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - 'cff9fa7f-44c4-41a3-a59e-3b22777c0a6c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:51 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6782fe85-ac4b-4b67-afae-c644095f6aea') - .query(true) - .reply(200, {"jobId":"6782fe85-ac4b-4b67-afae-c644095f6aea","lastUpdateDateTime":"2021-05-12T19:05:52Z","createdDateTime":"2021-05-12T19:05:48Z","expirationDateTime":"2021-05-13T19:05:48Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":0.96,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '42', - 'apim-request-id', - '937b77dd-eb67-4e32-baac-e0abe30f6973', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:53 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js deleted file mode 100644 index 8f4ec81494ed..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js +++ /dev/null @@ -1,125 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "b5f82998ec382ffdc25c0a92c73703fd"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"one"},{"id":"2","text":"two"},{"id":"3","text":"three"},{"id":"4","text":"four"},{"id":"5","text":"five"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/70b60cac-6f9e-418b-a5d3-b884f9614898', - 'x-envoy-upstream-service-time', - '125', - 'apim-request-id', - '8b6cc977-6ecb-4f3a-ad93-4676e839652d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:52 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/70b60cac-6f9e-418b-a5d3-b884f9614898') - .query(true) - .reply(200, {"jobId":"70b60cac-6f9e-418b-a5d3-b884f9614898","lastUpdateDateTime":"2021-05-12T19:04:53Z","createdDateTime":"2021-05-12T19:04:52Z","expirationDateTime":"2021-05-13T19:04:52Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - 'ec74e72d-b5ae-49e9-a4b2-f043c5640a57', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:52 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/70b60cac-6f9e-418b-a5d3-b884f9614898') - .query(true) - .reply(200, {"jobId":"70b60cac-6f9e-418b-a5d3-b884f9614898","lastUpdateDateTime":"2021-05-12T19:04:53Z","createdDateTime":"2021-05-12T19:04:52Z","expirationDateTime":"2021-05-13T19:04:52Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - '579b64a6-d5c2-4dcb-a0c8-c2fd3fde720f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:52 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/70b60cac-6f9e-418b-a5d3-b884f9614898') - .query(true) - .reply(200, {"jobId":"70b60cac-6f9e-418b-a5d3-b884f9614898","lastUpdateDateTime":"2021-05-12T19:04:53Z","createdDateTime":"2021-05-12T19:04:52Z","expirationDateTime":"2021-05-13T19:04:52Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - 'fc8af890-c3d5-4ed2-9a20-164f3f3cf6fd', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:55 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/70b60cac-6f9e-418b-a5d3-b884f9614898') - .query(true) - .reply(200, {"jobId":"70b60cac-6f9e-418b-a5d3-b884f9614898","lastUpdateDateTime":"2021-05-12T19:04:57Z","createdDateTime":"2021-05-12T19:04:52Z","expirationDateTime":"2021-05-13T19:04:52Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '76', - 'apim-request-id', - '6302e167-7168-48af-b24e-fe40ae7a86f2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:57 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/70b60cac-6f9e-418b-a5d3-b884f9614898') - .query(true) - .reply(200, {"jobId":"70b60cac-6f9e-418b-a5d3-b884f9614898","lastUpdateDateTime":"2021-05-12T19:04:57Z","createdDateTime":"2021-05-12T19:04:52Z","expirationDateTime":"2021-05-13T19:04:52Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '85', - 'apim-request-id', - '59c6b192-688c-44fd-af68-9626122245aa', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:57 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js deleted file mode 100644 index babf73f705b7..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js +++ /dev/null @@ -1,145 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "29d09cad09699f8d65a8066b64223a17"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":""},{"id":"19","text":":P"},{"id":"1","text":":D"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/3d7a4b47-a1ce-41b3-9fdb-5c2939486847', - 'x-envoy-upstream-service-time', - '145', - 'apim-request-id', - '8fa138f1-4e7e-47eb-8696-29bb637f7ce1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:57 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/3d7a4b47-a1ce-41b3-9fdb-5c2939486847') - .query(true) - .reply(200, {"jobId":"3d7a4b47-a1ce-41b3-9fdb-5c2939486847","lastUpdateDateTime":"2021-05-12T19:04:57Z","createdDateTime":"2021-05-12T19:04:57Z","expirationDateTime":"2021-05-13T19:04:57Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - '6d6c0ce8-136c-4bf7-9241-61458702d79e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:57 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/3d7a4b47-a1ce-41b3-9fdb-5c2939486847') - .query(true) - .reply(200, {"jobId":"3d7a4b47-a1ce-41b3-9fdb-5c2939486847","lastUpdateDateTime":"2021-05-12T19:04:57Z","createdDateTime":"2021-05-12T19:04:57Z","expirationDateTime":"2021-05-13T19:04:57Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - 'e93a2acb-707c-48aa-b6b9-6f90c143f48c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:57 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/3d7a4b47-a1ce-41b3-9fdb-5c2939486847') - .query(true) - .reply(200, {"jobId":"3d7a4b47-a1ce-41b3-9fdb-5c2939486847","lastUpdateDateTime":"2021-05-12T19:04:57Z","createdDateTime":"2021-05-12T19:04:57Z","expirationDateTime":"2021-05-13T19:04:57Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '92d69fa5-7d1a-4101-9adc-8744898ba2ff', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:59 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/3d7a4b47-a1ce-41b3-9fdb-5c2939486847') - .query(true) - .reply(200, {"jobId":"3d7a4b47-a1ce-41b3-9fdb-5c2939486847","lastUpdateDateTime":"2021-05-12T19:05:01Z","createdDateTime":"2021-05-12T19:04:57Z","expirationDateTime":"2021-05-13T19:04:57Z","status":"running","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'efd9f4d0-6162-4888-a9a8-6eba7b62828d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:01 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/3d7a4b47-a1ce-41b3-9fdb-5c2939486847') - .query(true) - .reply(200, {"jobId":"3d7a4b47-a1ce-41b3-9fdb-5c2939486847","lastUpdateDateTime":"2021-05-12T19:05:02Z","createdDateTime":"2021-05-12T19:04:57Z","expirationDateTime":"2021-05-13T19:04:57Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '165', - 'apim-request-id', - '7e99d789-eb70-4751-8f1c-8e8d3875c5f4', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:03 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/3d7a4b47-a1ce-41b3-9fdb-5c2939486847') - .query(true) - .reply(200, {"jobId":"3d7a4b47-a1ce-41b3-9fdb-5c2939486847","lastUpdateDateTime":"2021-05-12T19:05:02Z","createdDateTime":"2021-05-12T19:04:57Z","expirationDateTime":"2021-05-13T19:04:57Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '68', - 'apim-request-id', - 'b305a595-ef47-4a9b-bfc4-4a1657a53d7e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:04 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_payload_too_large.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_payload_too_large.js deleted file mode 100644 index 367473b99c2b..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_payload_too_large.js +++ /dev/null @@ -1,25 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "532f61fc6a7ee204c410842f82949729"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"1","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"2","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"3","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"4","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"5","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"6","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"7","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"8","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"9","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"10","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"11","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"12","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"13","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"14","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"15","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"16","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"17","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"18","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"19","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"20","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"21","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"22","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"23","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"24","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"25","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"26","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"27","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"28","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"29","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"30","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"31","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"32","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"33","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"34","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"35","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"36","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"37","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"38","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"39","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"40","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"41","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"42","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"43","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"44","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"45","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"46","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"47","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"48","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"49","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"50","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"51","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"52","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"53","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"54","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"55","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"56","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"57","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"58","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"59","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"60","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"61","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"62","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"63","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"64","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"65","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"66","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"67","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"68","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"69","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"70","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"71","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"72","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"73","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"74","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"75","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"76","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"77","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"78","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"79","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"80","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"81","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"82","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"83","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"84","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"85","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"86","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"87","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"88","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"89","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"90","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"91","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"92","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"93","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"94","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"95","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"96","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"97","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"98","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"99","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"100","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"101","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"102","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"103","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"104","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"105","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"106","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"107","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"108","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"109","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"110","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"111","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"112","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"113","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"114","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"115","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"116","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"117","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"118","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"119","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"120","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"121","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"122","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"123","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"124","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"125","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"126","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"127","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"128","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"129","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"130","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"131","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"132","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"133","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"134","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"135","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"136","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"137","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"138","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"139","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"140","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"141","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"142","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"143","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"144","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"145","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"146","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"147","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"148","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"149","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"150","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"151","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"152","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"153","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"154","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"155","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"156","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"157","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"158","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"159","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"160","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"161","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"162","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"163","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"164","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"165","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"166","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"167","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"168","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"169","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"170","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"171","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"172","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"173","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"174","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"175","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"176","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"177","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"178","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"179","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"180","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"181","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"182","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"183","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"184","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"185","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"186","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"187","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"188","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"189","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"190","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"191","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"192","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"193","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"194","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"195","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"196","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"197","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"198","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"199","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"200","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"201","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"202","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"203","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"204","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"205","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"206","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"207","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"208","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"209","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"210","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"211","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"212","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"213","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"214","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"215","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"216","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"217","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"218","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"219","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"220","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"221","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"222","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"223","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"224","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"225","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"226","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"227","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"228","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"229","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"230","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"231","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"232","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"233","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"234","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"235","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"236","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"237","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"238","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"239","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"240","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"241","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"242","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"243","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"244","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"245","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"246","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"247","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"248","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"249","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"250","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"251","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"252","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"253","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"254","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"255","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"256","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"257","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"258","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"259","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"260","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"261","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"262","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"263","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"264","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"265","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"266","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"267","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"268","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"269","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"270","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"271","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"272","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"273","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"274","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"275","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"276","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"277","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"278","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"279","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"280","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"281","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"282","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"283","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"284","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"285","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"286","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"287","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"288","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"289","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"290","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"291","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"292","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"293","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"294","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"295","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"296","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"297","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"298","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"299","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"300","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"301","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"302","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"303","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"304","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"305","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"306","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"307","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"308","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"309","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"310","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"311","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"312","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"313","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"314","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"315","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"316","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"317","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"318","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"319","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"320","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"321","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"322","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"323","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"324","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"325","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"326","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"327","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"328","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"329","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"330","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"331","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"332","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"333","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"334","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"335","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"336","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"337","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"338","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"339","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"340","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"341","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"342","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"343","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"344","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"345","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"346","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"347","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"348","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"349","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"350","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"351","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"352","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"353","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"354","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"355","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"356","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"357","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"358","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"359","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"360","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"361","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"362","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"363","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"364","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"365","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"366","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"367","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"368","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"369","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"370","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"371","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"372","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"373","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"374","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"375","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"376","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"377","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"378","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"379","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"380","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"381","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"382","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"383","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"384","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"385","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"386","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"387","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"388","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"389","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"390","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"391","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"392","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"393","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"394","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"395","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"396","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"397","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"398","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"399","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"400","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"401","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"402","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"403","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"404","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"405","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"406","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"407","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"408","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"409","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"410","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"411","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"412","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"413","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"414","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"415","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"416","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"417","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"418","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"419","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"420","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"421","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"422","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"423","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"424","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"425","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"426","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"427","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"428","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"429","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"430","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"431","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"432","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"433","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"434","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"435","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"436","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"437","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"438","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"439","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"440","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"441","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"442","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"443","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"444","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"445","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"446","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"447","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"448","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"449","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"450","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"451","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"452","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"453","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"454","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"455","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"456","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"457","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"458","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"459","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"460","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"461","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"462","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"463","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"464","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"465","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"466","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"467","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"468","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"469","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"470","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"471","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"472","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"473","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"474","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"475","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"476","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"477","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"478","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"479","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"480","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"481","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"482","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"483","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"484","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"485","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"486","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"487","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"488","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"489","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"490","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"491","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"492","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"493","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"494","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"495","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"496","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"497","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"498","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"499","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"}]}) - .query(true) - .reply(413, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Request Payload sent is too large to be processed. Limit request size to: 524288"}}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '42', - 'apim-request-id', - 'bb6556bd-2534-4cb0-bcb0-cc40a2b5a00e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:47 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js deleted file mode 100644 index 566829b2b182..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js +++ /dev/null @@ -1,105 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "68e739025094d7d7ee600e41d62938a8"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":""},{"id":"19","text":":P"},{"id":"1","text":":D"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/53ec2023-dc23-41a2-90b6-2471b381cbfb', - 'x-envoy-upstream-service-time', - '117', - 'apim-request-id', - '84deceec-5de8-4fc0-828b-4437bf6ac232', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:04 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/53ec2023-dc23-41a2-90b6-2471b381cbfb') - .query(true) - .reply(200, {"jobId":"53ec2023-dc23-41a2-90b6-2471b381cbfb","lastUpdateDateTime":"2021-05-12T19:05:04Z","createdDateTime":"2021-05-12T19:05:04Z","expirationDateTime":"2021-05-13T19:05:04Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - 'dd563d22-37bb-4fba-b7c1-47b0dfc89e78', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:04 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/53ec2023-dc23-41a2-90b6-2471b381cbfb') - .query(true) - .reply(200, {"jobId":"53ec2023-dc23-41a2-90b6-2471b381cbfb","lastUpdateDateTime":"2021-05-12T19:05:04Z","createdDateTime":"2021-05-12T19:05:04Z","expirationDateTime":"2021-05-13T19:05:04Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'df7a69dc-a6fe-49e8-b557-25188083ec5f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:04 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/53ec2023-dc23-41a2-90b6-2471b381cbfb') - .query(true) - .reply(200, {"jobId":"53ec2023-dc23-41a2-90b6-2471b381cbfb","lastUpdateDateTime":"2021-05-12T19:05:04Z","createdDateTime":"2021-05-12T19:05:04Z","expirationDateTime":"2021-05-13T19:05:04Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'f570995f-edfe-4fee-ac9a-91a6bc52fb1f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:06 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/53ec2023-dc23-41a2-90b6-2471b381cbfb') - .query(true) - .reply(200, {"jobId":"53ec2023-dc23-41a2-90b6-2471b381cbfb","lastUpdateDateTime":"2021-05-12T19:05:07Z","createdDateTime":"2021-05-12T19:05:04Z","expirationDateTime":"2021-05-13T19:05:04Z","status":"succeeded","errors":[],"results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '80', - 'apim-request-id', - '46bb543b-495d-4fe0-a4b1-4fbbc461b902', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:08 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_too_many_documents.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_too_many_documents.js deleted file mode 100644 index ecb19de58b9e..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_too_many_documents.js +++ /dev/null @@ -1,25 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "dcbcfe162d465d16e18f3db3315503bf"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"random text","language":"en"},{"id":"1","text":"random text","language":"en"},{"id":"2","text":"random text","language":"en"},{"id":"3","text":"random text","language":"en"},{"id":"4","text":"random text","language":"en"},{"id":"5","text":"random text","language":"en"},{"id":"6","text":"random text","language":"en"},{"id":"7","text":"random text","language":"en"},{"id":"8","text":"random text","language":"en"},{"id":"9","text":"random text","language":"en"},{"id":"10","text":"random text","language":"en"}]}) - .query(true) - .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - 'b13989f3-c110-41bc-b745-5c7b2536552c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:47 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js deleted file mode 100644 index a5ba1c2792b6..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js +++ /dev/null @@ -1,125 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "b3ad7c6bd1c67bae64359f501d8d1c4d"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"I will go to the park.","language":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":""},{"id":"3","text":"The restaurant had really good food."}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/46571e12-d5e7-4172-95fb-39efb3dcca25', - 'x-envoy-upstream-service-time', - '5213', - 'apim-request-id', - '62e01dbe-fd72-4a0c-afd9-959e68d5d2c2', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:22 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/46571e12-d5e7-4172-95fb-39efb3dcca25') - .query(true) - .reply(200, {"jobId":"46571e12-d5e7-4172-95fb-39efb3dcca25","lastUpdateDateTime":"2021-05-12T19:05:23Z","createdDateTime":"2021-05-12T19:05:18Z","expirationDateTime":"2021-05-13T19:05:18Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - 'fc92f5a0-303e-41db-9590-9a9083ce3baa', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:22 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/46571e12-d5e7-4172-95fb-39efb3dcca25') - .query(true) - .reply(200, {"jobId":"46571e12-d5e7-4172-95fb-39efb3dcca25","lastUpdateDateTime":"2021-05-12T19:05:23Z","createdDateTime":"2021-05-12T19:05:18Z","expirationDateTime":"2021-05-13T19:05:18Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '74336493-2efe-418e-a6b0-3a2bde4f2c49', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:23 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/46571e12-d5e7-4172-95fb-39efb3dcca25') - .query(true) - .reply(200, {"jobId":"46571e12-d5e7-4172-95fb-39efb3dcca25","lastUpdateDateTime":"2021-05-12T19:05:23Z","createdDateTime":"2021-05-12T19:05:18Z","expirationDateTime":"2021-05-13T19:05:18Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - '24f532a5-87e1-4c67-a5e7-1c1d4cabed88', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:25 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/46571e12-d5e7-4172-95fb-39efb3dcca25') - .query(true) - .reply(200, {"jobId":"46571e12-d5e7-4172-95fb-39efb3dcca25","lastUpdateDateTime":"2021-05-12T19:05:27Z","createdDateTime":"2021-05-12T19:05:18Z","expirationDateTime":"2021-05-13T19:05:18Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '78', - 'apim-request-id', - 'af9159d3-00cd-4e90-a24a-75855ef2c189', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:28 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/46571e12-d5e7-4172-95fb-39efb3dcca25') - .query(true) - .reply(200, {"jobId":"46571e12-d5e7-4172-95fb-39efb3dcca25","lastUpdateDateTime":"2021-05-12T19:05:27Z","createdDateTime":"2021-05-12T19:05:18Z","expirationDateTime":"2021-05-13T19:05:18Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '46', - 'apim-request-id', - 'c6644a15-72ac-4834-ba5c-1ebec1a312e8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:28 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js deleted file mode 100644 index c127bdfdfa0f..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js +++ /dev/null @@ -1,125 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "2b9b98c8788204bf3d0a1f4758dc43e5"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/89ac7639-e160-4961-8fe3-dcb655ba629f', - 'x-envoy-upstream-service-time', - '140', - 'apim-request-id', - '32707520-a81e-4bbe-8484-bd8e28214359', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:08 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/89ac7639-e160-4961-8fe3-dcb655ba629f') - .query(true) - .reply(200, {"jobId":"89ac7639-e160-4961-8fe3-dcb655ba629f","lastUpdateDateTime":"2021-05-12T19:05:09Z","createdDateTime":"2021-05-12T19:05:08Z","expirationDateTime":"2021-05-13T19:05:08Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '7', - 'apim-request-id', - '0ec793b3-f9a1-4a4c-a7a9-0d49229ac8be', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:08 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/89ac7639-e160-4961-8fe3-dcb655ba629f') - .query(true) - .reply(200, {"jobId":"89ac7639-e160-4961-8fe3-dcb655ba629f","lastUpdateDateTime":"2021-05-12T19:05:09Z","createdDateTime":"2021-05-12T19:05:08Z","expirationDateTime":"2021-05-13T19:05:08Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '8', - 'apim-request-id', - '52e96a22-b617-4f88-b42c-9d5de9ab1c5a', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:08 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/89ac7639-e160-4961-8fe3-dcb655ba629f') - .query(true) - .reply(200, {"jobId":"89ac7639-e160-4961-8fe3-dcb655ba629f","lastUpdateDateTime":"2021-05-12T19:05:09Z","createdDateTime":"2021-05-12T19:05:08Z","expirationDateTime":"2021-05-13T19:05:08Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - '187e4f71-6893-4bfa-a287-f5341ef57c5d', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:10 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/89ac7639-e160-4961-8fe3-dcb655ba629f') - .query(true) - .reply(200, {"jobId":"89ac7639-e160-4961-8fe3-dcb655ba629f","lastUpdateDateTime":"2021-05-12T19:05:12Z","createdDateTime":"2021-05-12T19:05:08Z","expirationDateTime":"2021-05-13T19:05:08Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '2716', - 'apim-request-id', - '4e6d09e1-2952-492f-bb71-370edc722ef7', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:15 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/89ac7639-e160-4961-8fe3-dcb655ba629f') - .query(true) - .reply(200, {"jobId":"89ac7639-e160-4961-8fe3-dcb655ba629f","lastUpdateDateTime":"2021-05-12T19:05:12Z","createdDateTime":"2021-05-12T19:05:08Z","expirationDateTime":"2021-05-13T19:05:08Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '52', - 'apim-request-id', - 'c2954eb2-877a-496c-8f2e-a28aae41c764', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:15 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js b/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js deleted file mode 100644 index 7156cf89ceff..000000000000 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js +++ /dev/null @@ -1,125 +0,0 @@ -let nock = require('nock'); - -module.exports.hash = "6aedc920d53dc1c84668bd7b6c5a9f6c"; - -module.exports.testInfo = {"uniqueName":{},"newDate":{}} - -nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"I should take my cat to the veterinarian."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]}) - .query(true) - .reply(202, "", [ - 'Transfer-Encoding', - 'chunked', - 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/6d5e859f-f822-4176-9382-b78ee62a84f7', - 'x-envoy-upstream-service-time', - '94', - 'apim-request-id', - 'dc309a73-5903-4b32-ae86-f7c5161b71f4', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:28 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6d5e859f-f822-4176-9382-b78ee62a84f7') - .query(true) - .reply(200, {"jobId":"6d5e859f-f822-4176-9382-b78ee62a84f7","lastUpdateDateTime":"2021-05-12T19:05:28Z","createdDateTime":"2021-05-12T19:05:28Z","expirationDateTime":"2021-05-13T19:05:28Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - '201072cd-54df-4d7a-96c4-0041f82bf54e', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:28 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6d5e859f-f822-4176-9382-b78ee62a84f7') - .query(true) - .reply(200, {"jobId":"6d5e859f-f822-4176-9382-b78ee62a84f7","lastUpdateDateTime":"2021-05-12T19:05:28Z","createdDateTime":"2021-05-12T19:05:28Z","expirationDateTime":"2021-05-13T19:05:28Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - '1f3545d7-7821-4f08-a445-6841727b1f05', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:28 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6d5e859f-f822-4176-9382-b78ee62a84f7') - .query(true) - .reply(200, {"jobId":"6d5e859f-f822-4176-9382-b78ee62a84f7","lastUpdateDateTime":"2021-05-12T19:05:28Z","createdDateTime":"2021-05-12T19:05:28Z","expirationDateTime":"2021-05-13T19:05:28Z","status":"notStarted","errors":[]}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '6', - 'apim-request-id', - 'b534b326-ed65-4634-a4d0-c846b347a6db', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:30 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6d5e859f-f822-4176-9382-b78ee62a84f7') - .query(true) - .reply(200, {"jobId":"6d5e859f-f822-4176-9382-b78ee62a84f7","lastUpdateDateTime":"2021-05-12T19:05:32Z","createdDateTime":"2021-05-12T19:05:28Z","expirationDateTime":"2021-05-13T19:05:28Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":28,"length":12,"text":"veterinarian","category":"HealthcareProfession","confidenceScore":0.96}],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '50', - 'apim-request-id', - '53f1bf40-4a8c-47f2-8095-ff4c41994d3f', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:32 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6d5e859f-f822-4176-9382-b78ee62a84f7') - .query(true) - .reply(200, {"jobId":"6d5e859f-f822-4176-9382-b78ee62a84f7","lastUpdateDateTime":"2021-05-12T19:05:32Z","createdDateTime":"2021-05-12T19:05:28Z","expirationDateTime":"2021-05-13T19:05:28Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":28,"length":12,"text":"veterinarian","category":"HealthcareProfession","confidenceScore":0.96}],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '50', - 'apim-request-id', - '332370c4-caf8-42a0-a3e1-5733514a022c', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:05:32 GMT' -]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_analyzesentiment.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.js similarity index 74% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_analyzesentiment.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.js index 05327b2c6ef0..6e969a2be151 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_analyzesentiment.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_and_language.js @@ -1,11 +1,11 @@ let nock = require('nock'); -module.exports.hash = "88906a0070f31b4c51e9d7d54a7c9ccc"; +module.exports.hash = "3507106128a8c3279ca558497e4d0b6b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) .query(true) .reply(200, {"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"offset":0,"length":86,"text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"}],"warnings":[]},{"id":"1","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":58,"text":"Unfortunately, it rained during my entire trip to Seattle."},{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.7,"negative":0.29},"offset":59,"length":43,"text":"I didn't even get to visit the Space Needle"}],"warnings":[]},{"id":"2","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":101,"text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."}],"warnings":[]},{"id":"3","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"offset":0,"length":42,"text":"I didn't like the last book I read at all."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ 'Transfer-Encoding', @@ -15,13 +15,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', 'x-envoy-upstream-service-time', - '102', + '224', 'apim-request-id', - 'cc67e9b1-923b-4588-8ad6-4fe72d6a8bf2', + '6bf86c96-e682-41d0-902c-b718bb3c605a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:03:38 GMT' + 'Fri, 25 Jun 2021 19:45:55 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.js new file mode 100644 index 000000000000..d5bb7bf789c8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_string_with_no_language.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "bd1ef9032ab787da0c6aee257c7d1810"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"offset":0,"length":86,"text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"}],"warnings":[]},{"id":"1","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":58,"text":"Unfortunately, it rained during my entire trip to Seattle."},{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.7,"negative":0.29},"offset":59,"length":43,"text":"I didn't even get to visit the Space Needle"}],"warnings":[]},{"id":"2","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":101,"text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."}],"warnings":[]},{"id":"3","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"offset":0,"length":42,"text":"I didn't like the last book I read at all."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '206', + 'apim-request-id', + 'd3e55650-011a-458b-85bc-83cb023bd2f9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:55 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.js new file mode 100644 index 000000000000..5980dc4ca72f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_accepts_textdocumentinput.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "48ae2bd36a524f40c51f76e37f79ca4a"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .query(true) + .reply(200, {"documents":[{"id":"1","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"offset":0,"length":86,"text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":58,"text":"Unfortunately, it rained during my entire trip to Seattle."},{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.7,"negative":0.29},"offset":59,"length":43,"text":"I didn't even get to visit the Space Needle"}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":101,"text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."}],"warnings":[]},{"id":"4","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"offset":0,"length":42,"text":"I didn't like the last book I read at all."}],"warnings":[]},{"id":"5","sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.08,"negative":0.03},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.89,"neutral":0.08,"negative":0.03},"offset":0,"length":73,"text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos."}],"warnings":[]},{"id":"6","sentiment":"negative","confidenceScores":{"positive":0.11,"neutral":0.29,"negative":0.6},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.11,"neutral":0.29,"negative":0.6},"offset":0,"length":29,"text":"La carretera estaba atascada."},{"sentiment":"neutral","confidenceScores":{"positive":0.09,"neutral":0.58,"negative":0.33},"offset":30,"length":35,"text":"Había mucho tráfico el día de ayer."}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6', + 'x-envoy-upstream-service-time', + '133', + 'apim-request-id', + 'b494b157-b1ea-4e7f-bb85-0913297eb89d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:59 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.js new file mode 100644 index 000000000000..fae0f073d836 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_negative_mined_assessments.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "01b84290224b19eda44a99f1f5f8866e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"The food and service is not good","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":32,"text":"The food and service is not good","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":13,"length":7,"text":"service","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":28,"length":4,"text":"good","isNegated":true}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '5058', + 'apim-request-id', + 'c5a5f501-ab66-426c-ba83-9d84c9f89a32', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:09 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.js new file mode 100644 index 000000000000..13a15d481d3e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_no_mined_assessments.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "02fc8cd878126d65fa0c1a49402ba0b8"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"today is a hot day","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.1,"neutral":0.88,"negative":0.02},"offset":0,"length":18,"text":"today is a hot day","targets":[],"assessments":[]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '2562', + 'apim-request-id', + 'd5104a77-794c-4ed1-a5c4-8c626e593b75', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:11 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.js new file mode 100644 index 000000000000..42b6f674bc4b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_gets_positive_mined_assessments.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "734b436c2a291e8271b3b7d3813b67f7"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"It has a sleek premium aluminum design that makes it beautiful to look at.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.98,"neutral":0.02,"negative":0},"offset":0,"length":74,"text":"It has a sleek premium aluminum design that makes it beautiful to look at.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":32,"length":6,"text":"design","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":9,"length":5,"text":"sleek","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":7,"text":"premium","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '5057', + 'apim-request-id', + 'dab9fbb9-3c9d-4e34-9a67-b81c96f5a8a1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:04 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.js new file mode 100644 index 000000000000..c95373820b10 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_client_throws_on_empty_list.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "da56d9c74392fe1ab68ada4cc5812bcb"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.js new file mode 100644 index 000000000000..9f9c95d9e27c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_has_a_bug_when_referencing_assessments_in_doc_6_or_greater.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "a157febd45a30a9364c39af353c5a125"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"The food was unacceptable","language":"en"},{"id":"1","text":"The rooms were beautiful. The AC was good and quiet.","language":"en"},{"id":"2","text":"The breakfast was good, but the toilet was smelly.","language":"en"},{"id":"3","text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","language":"en"},{"id":"4","text":"I had a great unobstructed view of the Microsoft campus.","language":"en"},{"id":"5","text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","language":"en"},{"id":"6","text":"The toilet smelled.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":25,"text":"The food was unacceptable","targets":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":13,"length":12,"text":"unacceptable","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":25,"text":"The rooms were beautiful.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":9,"text":"beautiful","isNegated":false}]},{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":26,"length":26,"text":"The AC was good and quiet.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":30,"length":2,"text":"AC","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/0"},{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":37,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":46,"length":5,"text":"quiet","isNegated":false}]}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"offset":0,"length":50,"text":"The breakfast was good, but the toilet was smelly.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":32,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":18,"length":4,"text":"good","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":43,"length":6,"text":"smelly","isNegated":false}]}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":71,"text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":11,"length":5,"text":"hotel","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":24,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":41,"length":15,"text":"shuttle service","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":65,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/3"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":19,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":36,"length":4,"text":"nice","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":5,"text":"loved","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":59,"length":5,"text":"clean","isNegated":false}]}],"warnings":[]},{"id":"4","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":56,"text":"I had a great unobstructed view of the Microsoft campus.","targets":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"negative":0.03},"offset":27,"length":4,"text":"view","relations":[{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":8,"length":5,"text":"great","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":0.93,"negative":0.07},"offset":14,"length":12,"text":"unobstructed","isNegated":false}]}],"warnings":[]},{"id":"5","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":75,"text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/5/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/6/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=7,CognitiveServices.TextAnalytics.TextRecords=7', + 'x-envoy-upstream-service-time', + '2624', + 'apim-request-id', + '534d2cfc-9116-4966-8038-fd3adf90eda9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:58 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.js new file mode 100644 index 000000000000..3994f38c6448 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_an_error_for_an_empty_document.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "29742e141f59dfc99d625ed5ffffe81f"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":0.99,"neutral":0.01,"negative":0},"offset":0,"length":86,"text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":58,"text":"Unfortunately, it rained during my entire trip to Seattle."},{"sentiment":"neutral","confidenceScores":{"positive":0.01,"neutral":0.7,"negative":0.29},"offset":59,"length":43,"text":"I didn't even get to visit the Space Needle"}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":101,"text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."}],"warnings":[]},{"id":"4","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0.03,"negative":0.96},"offset":0,"length":42,"text":"I didn't like the last book I read at all."}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2020-04-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '245', + 'apim-request-id', + 'a3346621-81b1-43e8-bee3-1b7f6f8fe83c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:58 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.js new file mode 100644 index 000000000000..19df78e8d5f3 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_analyzesentiment/recording_service_returns_error_for_invalid_language.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "8c94fa8da2c7dc61a44b79f6f91a3472"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/sentiment', {"documents":[{"id":"0","text":"Hello world!","language":"notalanguage"}]}) + .query(true) + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: de,en,es,fr,hi,it,ja,ko,nl,no,pt-BR,pt-PT,tr,zh-Hans,zh-Hant. For additional details see https://aka.ms/text-analytics/language-support?tabs=sentiment-analysis"}}}],"modelVersion":"2020-04-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '3', + 'apim-request-id', + 'b2697f9d-10ad-4737-9dc9-84719148ebc2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:45:55 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_detectlanguage.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.js similarity index 73% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_detectlanguage.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.js index f7610079f68e..90d9d24b0ef1 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_detectlanguage.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_a_countryhint.js @@ -1,11 +1,11 @@ let nock = require('nock'); -module.exports.hash = "011704cf4c593ae333fe972e8b0b70bf"; +module.exports.hash = "c05939b25e4a8a5b449063e05b2d2fd7"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/languages', {"documents":[{"id":"0","text":"impossible","countryHint":"fr"}]}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"0","text":"impossible","countryHint":"fr"}]}) .reply(200, {"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.58},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ 'Transfer-Encoding', 'chunked', @@ -14,13 +14,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '30', + '8', 'apim-request-id', - '716ba06f-8c1f-49c3-8f63-a5eb5cb9bc8f', + 'fe7dbc13-f100-4fd0-ac71-41d7e8531dee', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:03:38 GMT' + 'Fri, 25 Jun 2021 19:46:11 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.js new file mode 100644 index 000000000000..57cdfa59b95d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_mixedcountry_detectlanguageinput.js @@ -0,0 +1,26 @@ +let nock = require('nock'); + +module.exports.hash = "9ec7001ef3eb203b0937c0c2e70a4012"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected."},{"id":"4","text":"I didn't like the last book I read at all."},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","countryHint":"mx"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","countryHint":"mx"}]}) + .reply(200, {"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"5","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.99},"warnings":[]},{"id":"6","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '8eb697f5-1a52-4510-9d62-073660710184', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:12 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.js new file mode 100644 index 000000000000..f2cdd970449a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_no_countryhint.js @@ -0,0 +1,26 @@ +let nock = require('nock'); + +module.exports.hash = "89cc2d404cb94fe1fea0b7034c65a3d5"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","countryHint":"us"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","countryHint":"us"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","countryHint":"us"},{"id":"3","text":"I didn't like the last book I read at all.","countryHint":"us"}]}) + .reply(200, {"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '6f4d87cc-eef9-4edf-8cb9-797b416141b8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:11 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.js new file mode 100644 index 000000000000..eb4d41b55d98 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_detectlanguageinput_input.js @@ -0,0 +1,26 @@ +let nock = require('nock'); + +module.exports.hash = "34a686d31604ca12247f82344cf7f08a"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","countryHint":""},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","countryHint":""},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","countryHint":""},{"id":"4","text":"I didn't like the last book I read at all.","countryHint":""},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","countryHint":""},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","countryHint":""}]}) + .reply(200, {"documents":[{"id":"1","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"2","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"3","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"4","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":1},"warnings":[]},{"id":"5","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":0.99},"warnings":[]},{"id":"6","detectedLanguage":{"name":"Spanish","iso6391Name":"es","confidenceScore":1},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'c7f6fada-ff74-4998-8c40-e49326203353', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:11 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_extractkeyphrases.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.js similarity index 54% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_extractkeyphrases.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.js index 3fe75ffd80fd..70c6bc98340f 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_extractkeyphrases.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_accepts_none_country_hint_with_string_input.js @@ -1,12 +1,12 @@ let nock = require('nock'); -module.exports.hash = "3329879bc0c7f14471144f11befb757c"; +module.exports.hash = "ef69fca0065615995d37fba2821ced2e"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/keyPhrases', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last weekend","language":"en"}]}) - .reply(200, {"documents":[{"id":"0","keyPhrases":["wonderful trip","Seattle","weekend"],"warnings":[]}],"errors":[],"modelVersion":"2020-07-01"}, [ + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"0","text":"I use Azure Functions to develop my service.","countryHint":""}]}) + .reply(200, {"documents":[{"id":"0","detectedLanguage":{"name":"English","iso6391Name":"en","confidenceScore":0.95},"warnings":[]}],"errors":[],"modelVersion":"2021-01-05"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -14,13 +14,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '23', + '7', 'apim-request-id', - '0637a396-df61-42a9-b1f4-3b75475c5d53', + 'aacee91f-7055-427d-ba98-c0a7f16c2fa1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:03:38 GMT' + 'Fri, 25 Jun 2021 19:46:11 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.js new file mode 100644 index 000000000000..ce14b08bdfab --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_client_throws_on_empty_list.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "0f2053daa7f89a4ab190012374379df9"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.js new file mode 100644 index 000000000000..f54af6b76cbf --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_detectlanguage/recording_service_errors_on_invalid_country_hint.js @@ -0,0 +1,24 @@ +let nock = require('nock'); + +module.exports.hash = "b5935ccd1f790970d86fe93b4a0414a9"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/languages', {"documents":[{"id":"0","text":"hello","countryHint":"invalidcountry"}]}) + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Country Hint.","innererror":{"code":"InvalidCountryHint","message":"Country hint is not valid. Please specify an ISO 3166-1 alpha-2 two letter country code."}}}],"modelVersion":"2021-01-05"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '2', + 'apim-request-id', + '24703876-d064-4de2-8203-27843d8d30f2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:12 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.js new file mode 100644 index 000000000000..f20eb4f687da --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_mixedlanguage_textdocumentinput.js @@ -0,0 +1,26 @@ +let nock = require('nock'); + +module.exports.hash = "ff532ec002c3a730a118f602c709956e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/keyPhrases', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .reply(200, {"documents":[{"id":"1","keyPhrases":["wonderful trip","Space Needle","Seattle"],"warnings":[]},{"id":"2","keyPhrases":["entire trip","Seattle","Space","Needle"],"warnings":[]},{"id":"3","keyPhrases":["movie","Saturday"],"warnings":[]},{"id":"4","keyPhrases":["last book"],"warnings":[]},{"id":"5","keyPhrases":["Los","caminos","Monte","Rainier"],"warnings":[]},{"id":"6","keyPhrases":["mucho tráfico","carretera","ayer"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=6,CognitiveServices.TextAnalytics.TextRecords=6', + 'x-envoy-upstream-service-time', + '5044', + 'apim-request-id', + 'b99cee53-4013-47e0-a4a8-2d6af09a16f0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:33 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.js new file mode 100644 index 000000000000..acc7eb30a683 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_a_language_specified.js @@ -0,0 +1,26 @@ +let nock = require('nock'); + +module.exports.hash = "ad87a0e6d3e4602e10fad4d7f20878a3"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/keyPhrases', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .reply(200, {"documents":[{"id":"0","keyPhrases":["wonderful trip","Space Needle","Seattle"],"warnings":[]},{"id":"1","keyPhrases":["entire trip","Seattle","Space","Needle"],"warnings":[]},{"id":"2","keyPhrases":["movie","Saturday"],"warnings":[]},{"id":"3","keyPhrases":["last book"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '40', + 'apim-request-id', + '3eda53d9-cc23-46a3-9507-ee5aaf90b35d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.js new file mode 100644 index 000000000000..0f3f2dbf03eb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_accepts_string_with_no_language.js @@ -0,0 +1,26 @@ +let nock = require('nock'); + +module.exports.hash = "c75abe4f2185017d992d99f9801ed2b0"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/keyPhrases', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .reply(200, {"documents":[{"id":"0","keyPhrases":["wonderful trip","Space Needle","Seattle"],"warnings":[]},{"id":"1","keyPhrases":["entire trip","Seattle","Space","Needle"],"warnings":[]},{"id":"2","keyPhrases":["movie","Saturday"],"warnings":[]},{"id":"3","keyPhrases":["last book"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '27', + 'apim-request-id', + '55d429d9-20ba-4237-b4d3-fd9e1704ceb7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.js new file mode 100644 index 000000000000..5ca4232a9555 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_client_throws_on_empty_list.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "1da9dde1005954f5437f8bb9acccb669"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.js new file mode 100644 index 000000000000..47852c26711d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_extractkeyphrases/recording_service_errors_on_unsupported_language.js @@ -0,0 +1,24 @@ +let nock = require('nock'); + +module.exports.hash = "07ba90642ab2e400b301dc4c52ba2470"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/keyPhrases', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: af,bg,ca,da,de,el,en,es,et,fi,fr,hr,hu,id,it,ja,ko,lv,nl,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '3', + 'apim-request-id', + 'b08a51d5-24e3-4e32-a56a-e7601776f6f2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.js new file mode 100644 index 000000000000..d0839af18728 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_mixedlanguage_textdocumentinput.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "23549fef03bb60ac4471d7a0e28e0946"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .query(true) + .reply(200, {"documents":[{"id":"1","entities":[{"text":"trip","category":"Event","offset":18,"length":4,"confidenceScore":0.65},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":1},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.95},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"trip","category":"Event","offset":42,"length":4,"confidenceScore":0.79},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":1},{"text":"Space Needle","category":"Location","offset":90,"length":12,"confidenceScore":0.94}],"warnings":[]},{"id":"3","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"Monte Rainier","category":"Location","offset":29,"length":13,"confidenceScore":0.74}],"warnings":[]},{"id":"5","entities":[{"text":"carretera","category":"Location","offset":3,"length":9,"confidenceScore":0.84},{"text":"ayer","category":"DateTime","subcategory":"Date","offset":60,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5', + 'x-envoy-upstream-service-time', + '5072', + 'apim-request-id', + 'e3d22895-fc17-4696-8545-1c93a729413d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:27 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.js new file mode 100644 index 000000000000..648bb87636e7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_a_language_specified.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "83584ef1a3c2eeae474a1cfee3684ba8"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","entities":[{"text":"trip","category":"Event","offset":18,"length":4,"confidenceScore":0.65},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":1},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.95},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"trip","category":"Event","offset":42,"length":4,"confidenceScore":0.79},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":1},{"text":"Space Needle","category":"Location","offset":90,"length":12,"confidenceScore":0.94}],"warnings":[]},{"id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"book","category":"Product","offset":23,"length":4,"confidenceScore":0.93}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '5064', + 'apim-request-id', + 'b3a664d5-6773-4500-aa59-b51da8150b0c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:22 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.js new file mode 100644 index 000000000000..b2c3b3884c47 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_accepts_string_with_no_language.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "7fb8abf5b43b82fbe7da1ad591b70f07"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","entities":[{"text":"trip","category":"Event","offset":18,"length":4,"confidenceScore":0.65},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":26,"length":7,"confidenceScore":1},{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8},{"text":"Space Needle","category":"Location","offset":65,"length":12,"confidenceScore":0.95},{"text":"2","category":"Quantity","subcategory":"Number","offset":78,"length":1,"confidenceScore":0.8}],"warnings":[]},{"id":"1","entities":[{"text":"trip","category":"Event","offset":42,"length":4,"confidenceScore":0.79},{"text":"Seattle","category":"Location","subcategory":"GPE","offset":50,"length":7,"confidenceScore":1},{"text":"Space Needle","category":"Location","offset":90,"length":12,"confidenceScore":0.94}],"warnings":[]},{"id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"book","category":"Product","offset":23,"length":4,"confidenceScore":0.93}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '5076', + 'apim-request-id', + 'c121601e-d909-4119-9633-214c3106cf39', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:16 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.js new file mode 100644 index 000000000000..8e18ce009bd9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_exception_for_too_many_inputs.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "0029a0cad6c6f82703376540f0bd3d32"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .query(true) + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '9b94e613-661b-4064-bec6-47f3e09ad4a8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.js new file mode 100644 index 000000000000..1185910205a2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_client_throws_on_empty_list.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "bbec3f3747719fefd0480adad1387e7d"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.js new file mode 100644 index 000000000000..ae6f43806035 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizeentities/recording_service_errors_on_unsupported_language.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "d15e29b1e7c287a6a7f9f4eb38f2a277"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) + .query(true) + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ar,cs,da,de,en,es,fi,fr,hu,it,ja,ko,nl,no,pl,pt-BR,pt-PT,ru,sv,tr,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '3', + 'apim-request-id', + '0cff3d6d-5faa-415c-8312-3fa25dfaab3a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:22 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.js new file mode 100644 index 000000000000..92593f31ca0a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_mixedlanguage_textdocumentinput.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "9063fb3ac884b0e8a06b081f163417b9"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/linking', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .query(true) + .reply(200, {"documents":[{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"4","entities":[{"bingId":"9ae3e6ca-81ea-6fa1-ffa0-42e1d7890906","name":"Monte Rainier","matches":[{"text":"Monte Rainier","offset":29,"length":13,"confidenceScore":0.81}],"language":"es","id":"Monte Rainier","url":"https://es.wikipedia.org/wiki/Monte_Rainier","dataSource":"Wikipedia"}],"warnings":[]},{"id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5', + 'x-envoy-upstream-service-time', + '35', + 'apim-request-id', + 'c55d40aa-168d-446b-b48d-5a802f9ce0b0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.js new file mode 100644 index 000000000000..310e49e61dd0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_a_language_specified.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "40df1b35e0e23c65c61cb7f625d8c956"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/linking', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '15', + 'apim-request-id', + 'b3327d84-0ee6-4d4f-b5ce-7e00ed2a5971', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.js new file mode 100644 index 000000000000..08ac92ae5253 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_accepts_string_with_no_language.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "fd9441430a75f4afcd27d4647131a0f0"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/linking', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"id":"0","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":26,"length":7,"confidenceScore":0.21}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":65,"length":12,"confidenceScore":0.42}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"bingId":"5fbba6b8-85e1-4d41-9444-d9055436e473","name":"Seattle","matches":[{"text":"Seattle","offset":50,"length":7,"confidenceScore":0.2}],"language":"en","id":"Seattle","url":"https://en.wikipedia.org/wiki/Seattle","dataSource":"Wikipedia"},{"bingId":"f8dd5b08-206d-2554-6e4a-893f51f4de7e","name":"Space Needle","matches":[{"text":"Space Needle","offset":90,"length":12,"confidenceScore":0.36}],"language":"en","id":"Space Needle","url":"https://en.wikipedia.org/wiki/Space_Needle","dataSource":"Wikipedia"}],"warnings":[]},{"id":"2","entities":[{"bingId":"296617ab-4ddb-cc10-beba-56e0f42af76b","name":"Saturday","matches":[{"text":"Saturday","offset":25,"length":8,"confidenceScore":0.05}],"language":"en","id":"Saturday","url":"https://en.wikipedia.org/wiki/Saturday","dataSource":"Wikipedia"}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '24', + 'apim-request-id', + '49de87c4-1bb0-45c3-b76c-812621723641', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.js new file mode 100644 index 000000000000..e1f681369dd7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_exception_for_too_many_inputs.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "0029a0cad6c6f82703376540f0bd3d32"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/general', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"I didn't like the last book I read at all.","language":"en"},{"id":"5","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"6","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .query(true) + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 5 records are permitted."}}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + 'dbdea2ac-465a-43ea-9a95-88850cf03206', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.js new file mode 100644 index 000000000000..b70a1257a453 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_client_throws_on_empty_list.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "a18c30f77c1c7c0ed35bbd9a51da7e8d"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.js new file mode 100644 index 000000000000..960a38a41adb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizelinkedentities/recording_service_errors_on_unsupported_language.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "fad55cf856722b5497b225d29f822c2b"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/linking', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) + .query(true) + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '4', + 'apim-request-id', + '2b9fcdf6-f28a-4957-be9a-f4d222d5a697', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.js new file mode 100644 index 000000000000..aca14b6b0b6f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_domain_filter.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "0503abe68a40b8eb9a93ee2d07ce5d93"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"I work at Microsoft and my phone number is 333-333-3333","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"I work at ********* and my phone number is ************","id":"0","entities":[{"text":"Microsoft","category":"Organization","offset":10,"length":9,"confidenceScore":0.95},{"text":"333-333-3333","category":"PhoneNumber","offset":43,"length":12,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '2534', + 'apim-request-id', + 'f3f746fc-859a-4b22-93f7-6fc3685b8d96', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:51 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.js new file mode 100644 index 000000000000..5ee9ef260a55 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_accepts_pii_categories.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "e022d94350f7224141f9cd7cdfdf4cc3"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"Patient name is Joe and SSN is ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":31,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '35', + 'apim-request-id', + 'd35a68f7-b439-4672-b837-327754eb7ca3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.js new file mode 100644 index 000000000000..fd68b1dcec53 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_mixedlanguage_textdocumentinput.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "c102b5dfd1ffe2c563f80ba16ae00455"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"1","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"2","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"3","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"4","text":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","language":"es"},{"id":"5","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer.","language":"es"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!","id":"1","entities":[{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","id":"2","entities":[],"warnings":[]},{"redactedText":"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.","id":"3","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.","id":"4","entities":[],"warnings":[]},{"redactedText":"La carretera estaba atascada. Había mucho tráfico el día de ****.","id":"5","entities":[{"text":"ayer","category":"DateTime","subcategory":"Date","offset":60,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=5,CognitiveServices.TextAnalytics.TextRecords=5', + 'x-envoy-upstream-service-time', + '5066', + 'apim-request-id', + '8ee3d4a5-c25e-4145-914f-bc42c8f098c6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:49 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.js new file mode 100644 index 000000000000..62d6773358a1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_a_language_specified.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "4e3cd609c00a705d03d31f2bf28dfaa2"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!","id":"0","entities":[{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","id":"1","entities":[],"warnings":[]},{"redactedText":"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.","id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"I didn't like the last book I read at all.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '5043', + 'apim-request-id', + '63efa529-68ec-4cd9-8dc5-211fb6fa1a21', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:43 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.js new file mode 100644 index 000000000000..5cb19b45a5e4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_accepts_string_with_no_language.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "fcd73fcb0c4205d92a523635756d6383"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!","language":"en"},{"id":"1","text":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","language":"en"},{"id":"2","text":"I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.","language":"en"},{"id":"3","text":"I didn't like the last book I read at all.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"I had a wonderful trip to Seattle ********* and even visited the Space Needle 2 times!","id":"0","entities":[{"text":"last week","category":"DateTime","subcategory":"DateRange","offset":34,"length":9,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle","id":"1","entities":[],"warnings":[]},{"redactedText":"I went to see a movie on ******** and it was perfectly average, nothing more or less than I expected.","id":"2","entities":[{"text":"Saturday","category":"DateTime","subcategory":"Date","offset":25,"length":8,"confidenceScore":0.8}],"warnings":[]},{"redactedText":"I didn't like the last book I read at all.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=4,CognitiveServices.TextAnalytics.TextRecords=4', + 'x-envoy-upstream-service-time', + '5066', + 'apim-request-id', + '83168de8-5976-47ca-802a-8abdee1e9a5c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:38 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.js new file mode 100644 index 000000000000..00df02500435 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_correctly_reports_recognition_of_piilike_pattern.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "630be62a5cda2962b4bbaad3db24f9e1"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"Your Social Security Number is 859-98-0987.","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"Your Social Security Number is ***********.","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":31,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '25', + 'apim-request-id', + '94a3a63c-b68e-480e-9af0-ec59562d5343', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:43 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.js new file mode 100644 index 000000000000..f7dfe4b4c8c8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_client_throws_on_empty_list.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "ab91690f5ef35c8898e38f3c835cbc21"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[]}) + .query(true) + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid Request.","innererror":{"code":"MissingInputRecords","message":"Missing input records."}}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + 'ed2c4a20-3ceb-4a14-9635-ad5e99a500eb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:33 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.js new file mode 100644 index 000000000000..c94b5b87a6e9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_output_pii_categories_are_accepted_as_input.js @@ -0,0 +1,49 @@ +let nock = require('nock'); + +module.exports.hash = "ccbce5fd6d6bbc1f2ea2f7507f99ae07"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"Patient name is *** and SSN is ***********","id":"0","entities":[{"text":"Joe","category":"Person","offset":16,"length":3,"confidenceScore":0.79},{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":31,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '51', + 'apim-request-id', + '9d4447db-d300-4585-b5ae-e516f64202a5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"Patient name is Joe and SSN is 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"Patient name is Joe and SSN is ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":31,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '34', + 'apim-request-id', + 'a2a44f5d-1241-4cf8-aaa8-aee99452054a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.js new file mode 100644 index 000000000000..bd310fa03d30 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_recognizepiientities/recording_service_errors_on_unsupported_language.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "7a84168b9a25f213e63eae0d9e947364"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"This is some text, but it doesn't matter.","language":"notalanguage"}]}) + .query(true) + .reply(200, {"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: de,en,es,fr,it,ja,ko,pt-BR,pt-PT,zh-Hans. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '2', + 'apim-request-id', + 'dabb87d7-37d0-4177-b570-490c3c10d0b0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:43 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizepiientities.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.js similarity index 51% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizepiientities.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.js index d154965b8790..d71ff0bf34fd 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_fast_tests/recording_recognizepiientities.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfc.js @@ -1,13 +1,13 @@ let nock = require('nock'); -module.exports.hash = "39d767990aa13284c06a99b13d97e5ad"; +module.exports.hash = "5bf2e604e0628fd3b31f70ada6ce84f6"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/recognition/pii', {"documents":[{"id":"0","text":"Your social-security number is 078-05-1120.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) .query(true) - .reply(200, {"documents":[{"redactedText":"Your social-security number is 078-05-1120.","id":"0","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -15,13 +15,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'csp-billing-usage', 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', 'x-envoy-upstream-service-time', - '2542', + '27', 'apim-request-id', - '3547aced-639f-40bc-966d-189d13adca33', + '1c04e43e-36d1-4e92-91e3-89773beb99af', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:03:47 GMT' + 'Tue, 29 Jun 2021 21:09:26 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.js new file mode 100644 index 000000000000..a61cbd7b4eab --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_diacritics_nfd.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "0f494b4e64cd921825d9a4e50c6dbda1"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '51', + 'apim-request-id', + '9e131f91-c50f-471e-942f-8bbddb154d82', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:26 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.js new file mode 100644 index 000000000000..4a3e7916b2e6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "8bfa650b81f420a536e37e515893d93e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '30', + 'apim-request-id', + 'c6162a92-f5c7-42c4-b1e4-7821b7826d03', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:26 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.js new file mode 100644 index 000000000000..017b894a5959 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_emoji_with_skin_tone_modifier.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "8ae61a024f008f240e95480d720e5a8f"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩🏻 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '54', + 'apim-request-id', + 'a23236fe-6387-4f19-9d57-06f2754398cf', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:26 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.js new file mode 100644 index 000000000000..9815f91c408a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "3c85f6e020029eb63af79a1fb11eb3b9"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩‍👩‍👧‍👧 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '76', + 'apim-request-id', + 'e966ab45-ee10-4ebd-beae-f4f3d4a12617', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:26 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.js new file mode 100644 index 000000000000..95f601a5f78b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_family_emoji_wit_skin_tone_modifier.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "d608400bb61b4dcbcb0e6a1c9134135f"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":25,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '36', + 'apim-request-id', + 'c4e9c699-aaaa-4ebe-95de-9cc7c7e684a6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:26 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.js new file mode 100644 index 000000000000..3c927147ce16 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfc.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "1ad6b9965c6e725eee13801e249e18ff"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '31', + 'apim-request-id', + 'e8a09a7e-9987-4afc-b5c5-6fd3423fa553', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:26 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.js new file mode 100644 index 000000000000..f60b6957dbe2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_korean_nfd.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "1ad6b9965c6e725eee13801e249e18ff"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '30', + 'apim-request-id', + '45cf5498-3dc0-497f-95f8-6d4c67197c21', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:26 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.js new file mode 100644 index 000000000000..a6487a1f9f5c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_default_encoding_utf16codeunit/recording_zalgo.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "54fd02130ea13f400927c60587190bde"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":121,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '234', + 'apim-request-id', + 'be169af7-ebd8-4e5b-b2c1-4d9be9539285', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:27 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.js new file mode 100644 index 000000000000..611335f3ddad --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfc.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "89a51aa4719dd90f068e5b56f6377757"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '27', + 'apim-request-id', + 'f13828cd-695e-4a25-a95a-c205d0caf933', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:29 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.js new file mode 100644 index 000000000000..c84d90354b77 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_diacritics_nfd.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "1d119e0985c97360d15d4d8824690d99"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '28', + 'apim-request-id', + '846b3e36-a880-4cf4-a73d-595286142243', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:29 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.js new file mode 100644 index 000000000000..bc5de81c608f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "83521e8e248437ee2888e1997b206de7"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":7,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '34', + 'apim-request-id', + 'c1839360-d190-4983-90ec-c257843ef126', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.js new file mode 100644 index 000000000000..a8553639e619 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_emoji_with_skin_tone_modifier.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "38e0c461acfe3ddca957670d86bdac0d"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩🏻 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '32', + 'apim-request-id', + '220e6fbb-9276-4406-b54a-f1cf1bd04db0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.js new file mode 100644 index 000000000000..9eb1860ff2d5 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "f9f7157c7614ec76faec095e88df709e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩‍👩‍👧‍👧 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":13,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '65', + 'apim-request-id', + '5c047447-a3ba-4e22-87bd-45808bc745cb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.js new file mode 100644 index 000000000000..4cede8f7c31a --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_family_emoji_wit_skin_tone_modifier.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "83e235083503e938867e37c3a69e1f27"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '44', + 'apim-request-id', + '6f4d2fd2-5d58-4f2b-83b9-9d7b0357ea4e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:29 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.js new file mode 100644 index 000000000000..90383dfe1836 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfc.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "80f00807f4e5acb097b5d87cf6797700"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '31', + 'apim-request-id', + 'bef777d4-f335-4fa8-b83f-97ca3d795947', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:29 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.js new file mode 100644 index 000000000000..bf826ed98896 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_korean_nfd.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "80f00807f4e5acb097b5d87cf6797700"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '31', + 'apim-request-id', + 'a5782fff-c85a-49f1-b296-f205fcac6c83', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:29 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.js new file mode 100644 index 000000000000..c6674f3c48f6 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_textelement_v8/recording_zalgo.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "3d8f5ff2696a159219b33712bbe0cd93"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '118', + 'apim-request-id', + '3b29306c-1a31-49f8-a92b-66d21a6ca9f3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:29 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.js new file mode 100644 index 000000000000..2dc09f9bb8da --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfc.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "75554aece4db56a794c8fd18e29f84aa"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":9,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '53', + 'apim-request-id', + 'b3f0d0ed-d4b1-4dd4-8105-2a0d912d785a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:27 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.js new file mode 100644 index 000000000000..8921be37d0a0 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_diacritics_nfd.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "29c8e9f857f7d02d5af8c0102f103450"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"año SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"año SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '29', + 'apim-request-id', + 'ed75ca7b-d2de-412d-a732-bd6ddda1c42e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.js new file mode 100644 index 000000000000..50307e05c3f1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "12b6a334f86fe91d41114a8211ae608e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":7,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '57', + 'apim-request-id', + 'bb9a8eb9-529a-4c54-b2c5-9d810573fd50', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:27 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.js new file mode 100644 index 000000000000..a1c0b1271699 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_emoji_with_skin_tone_modifier.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "7c8d4de95da91bbbef328a9fd5fde2f1"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩🏻 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '57', + 'apim-request-id', + '21088fa7-8140-4ef0-bacf-2e09e7797961', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:27 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.js new file mode 100644 index 000000000000..f914f56836f4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "6e5e53c2e27941c69921ae711a3d42b5"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩‍👩‍👧‍👧 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩‍👩‍👧‍👧 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":13,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '37', + 'apim-request-id', + '3caac812-9ec1-4e27-b26b-7c2365e2bbc4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:27 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.js new file mode 100644 index 000000000000..1a2f9302e4be --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_family_emoji_wit_skin_tone_modifier.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "d2d93f114abe1fa04b62c793fc5dc2c9"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '72', + 'apim-request-id', + '9b7685e5-cb31-408d-b068-c05219b7ba5c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:27 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.js new file mode 100644 index 000000000000..c412445f8d0b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfc.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "f91e444e2f56aecc8a364f85827407d8"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '56', + 'apim-request-id', + '0d2491d7-b432-4d99-b3e6-fa6d427e1ab1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.js new file mode 100644 index 000000000000..674e9b7332e8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_korean_nfd.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "f91e444e2f56aecc8a364f85827407d8"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"아가 SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"아가 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":8,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '30', + 'apim-request-id', + '5212fff5-bae6-4116-b97d-dbf8314a73c4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.js new file mode 100644 index 000000000000..e1961c304849 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_fast_tests_string_encoding_unicodecodepoint/recording_zalgo.js @@ -0,0 +1,27 @@ +let nock = require('nock'); + +module.exports.hash = "c88cafad4fdf81af74bb9cc82d9b2af9"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/recognition/pii', {"documents":[{"id":"0","text":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987","language":"en"}]}) + .query(true) + .reply(200, {"documents":[{"redactedText":"ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":121,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'csp-billing-usage', + 'CognitiveServices.TextAnalytics.BatchScoring=1,CognitiveServices.TextAnalytics.TextRecords=1', + 'x-envoy-upstream-service-time', + '215', + 'apim-request-id', + '4a910c4c-0540-4209-a606-4e1321d644db', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Tue, 29 Jun 2021 21:09:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.js new file mode 100644 index 000000000000..5115fc984bd9 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_all_documents_with_errors_and_multiple_actions.js @@ -0,0 +1,324 @@ +let nock = require('nock'); + +module.exports.hash = "b049e4ddfd7c51daa804a404b9c3e1d8"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"","language":""},{"id":"2","text":"I did not like the hotel we stayed at. It was too expensive.","language":"english"},{"id":"3","text":"","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e', + 'x-envoy-upstream-service-time', + '353', + 'apim-request-id', + '4d89403a-8d99-40dc-8d28-28777344ec68', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:42Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'b4f84fd3-30a7-4ceb-8fde-272822f59c36', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:42Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '8cd0cd39-0670-4c73-bcdf-5d9556a74c2e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:43Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'b21706fb-d9bd-4a47-8786-a3b24f8e099f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:43Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'f142a89b-b117-4766-bb66-5d19a8ad61e0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:46 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:43Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'cee4a618-21de-4c00-b87c-dfc2eea5ea7e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:48 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:43Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '31176cd2-8c00-4779-98f5-c1482656dac9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:52Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '41743b74-9f01-4b1b-9724-ff9e7dd5e0bd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:52Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'd009b1b1-3017-4195-bbac-a8c5943d4dbe', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:52Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'c15f3390-bfce-43ad-8f23-cc93a101785e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:50:52Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'fe8fc3f1-1277-412c-82b3-2358ed510970', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:58 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:51:01Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:01.2621706Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '64', + 'apim-request-id', + 'f4fada6e-36c7-40ac-8281-12d0b27e0382', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:51:02Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:02.7556751Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:01.2621706Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '116', + 'apim-request-id', + '6b5293da-239b-41e6-9c2f-b8070f58e0f7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:51:02Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:02.7556751Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:01.2621706Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '156', + 'apim-request-id', + 'c7be29a5-b69e-4a98-aafe-a3a3dc142a39', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:51:06Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:02.7556751Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:06.6192266Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:01.2621706Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '268', + 'apim-request-id', + 'd01374e8-30d1-45c8-a3d1-c1934938574e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/d6d8037e-0aef-4b62-9e71-f7d68abfe02e') + .query(true) + .reply(200, {"jobId":"d6d8037e-0aef-4b62-9e71-f7d68abfe02e","lastUpdateDateTime":"2021-06-25T19:51:06Z","createdDateTime":"2021-06-25T19:50:42Z","expirationDateTime":"2021-06-26T19:50:42Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:02.7556751Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:06.6192266Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:01.2621706Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '166', + 'apim-request-id', + '900d8b55-aba0-4b05-8691-74e32c1692a9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:08 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.js new file mode 100644 index 000000000000..fc4bc645be5e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_bad_request_empty_string.js @@ -0,0 +1,24 @@ +let nock = require('nock'); + +module.exports.hash = "28b46fe46c0398ac35b3cb4483489f27"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"","language":"en"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Document text is empty."}}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + '83c8c48b-b684-4114-a1f0-de2fe99a4759', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:07 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.js new file mode 100644 index 000000000000..e59edf412b9c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_each_doc_has_a_language_hint.js @@ -0,0 +1,204 @@ +let nock = require('nock'); + +module.exports.hash = "555792f3517ec51d7745afe8b6b42f91"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"I will go to the park.","language":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":""},{"id":"3","text":"The restaurant had really good food."}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf', + 'x-envoy-upstream-service-time', + '311', + 'apim-request-id', + 'cb63519e-e0d8-4eee-99ed-1fbe656ee3e6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:53:55Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'dd1b7d91-db53-4e34-9d50-0d7a9a0ac30b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:53:55Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'fadfebe5-9d29-47dc-b129-877dce34f411', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:53:55Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '16', + 'apim-request-id', + 'b80b661e-a0d2-4a97-b68b-3f0d476a09b5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:53:55Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '976dafbd-28f5-45f2-90fe-a3be40e0d50e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:58 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:53:55Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'eeef4570-3a2b-447f-b472-103b5cf3ebe4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:54:01Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:01.8178373Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '66', + 'apim-request-id', + 'b5dc880b-4a91-42c3-aa09-82cb9b3047c3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:03 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:54:01Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:01.8178373Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '78', + 'apim-request-id', + '12465318-bfde-405e-bcf4-f33173decc72', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:06 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:54:07Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:01.8178373Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:07.924904Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:06.6285123Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '200', + 'apim-request-id', + 'f7db15a5-c9cd-44db-9f7a-2aece38ca4f4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/b16f54d6-0d9c-42b2-a1b4-e457942b2ecf') + .query(true) + .reply(200, {"jobId":"b16f54d6-0d9c-42b2-a1b4-e457942b2ecf","lastUpdateDateTime":"2021-06-25T19:54:07Z","createdDateTime":"2021-06-25T19:53:55Z","expirationDateTime":"2021-06-26T19:53:55Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:01.8178373Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:07.924904Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at.","id":"2","entities":[],"warnings":[]},{"redactedText":"The restaurant had really good food.","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:06.6285123Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["hotel"],"warnings":[]},{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '201', + 'apim-request-id', + 'e67eac2d-0657-4fd8-820e-8e7a6d35c684', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:08 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.js new file mode 100644 index 000000000000..6aa275ba43b1 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_family_emoji_wit_skin_tone_modifier.js @@ -0,0 +1,144 @@ +let nock = require('nock'); + +module.exports.hash = "586a571f3405fc4a91192c8057f26eba"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987","language":"en"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"UnicodeCodePoint"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/5668b7cf-1841-432f-9b38-69fb0af8fd2b', + 'x-envoy-upstream-service-time', + '214', + 'apim-request-id', + 'f4ac1d59-c97a-432a-b7b6-3e47b68912d6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5668b7cf-1841-432f-9b38-69fb0af8fd2b') + .query(true) + .reply(200, {"jobId":"5668b7cf-1841-432f-9b38-69fb0af8fd2b","lastUpdateDateTime":"2021-06-25T19:55:21Z","createdDateTime":"2021-06-25T19:55:21Z","expirationDateTime":"2021-06-26T19:55:21Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '945cd6f6-f524-4c4a-bf69-2d9ba91daa00', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5668b7cf-1841-432f-9b38-69fb0af8fd2b') + .query(true) + .reply(200, {"jobId":"5668b7cf-1841-432f-9b38-69fb0af8fd2b","lastUpdateDateTime":"2021-06-25T19:55:21Z","createdDateTime":"2021-06-25T19:55:21Z","expirationDateTime":"2021-06-26T19:55:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '473d75e1-3f0e-42db-8818-5070d8cb158a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5668b7cf-1841-432f-9b38-69fb0af8fd2b') + .query(true) + .reply(200, {"jobId":"5668b7cf-1841-432f-9b38-69fb0af8fd2b","lastUpdateDateTime":"2021-06-25T19:55:21Z","createdDateTime":"2021-06-25T19:55:21Z","expirationDateTime":"2021-06-26T19:55:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '44', + 'apim-request-id', + '81b49ed4-d2a5-48aa-a102-31d0924e78b0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5668b7cf-1841-432f-9b38-69fb0af8fd2b') + .query(true) + .reply(200, {"jobId":"5668b7cf-1841-432f-9b38-69fb0af8fd2b","lastUpdateDateTime":"2021-06-25T19:55:21Z","createdDateTime":"2021-06-25T19:55:21Z","expirationDateTime":"2021-06-26T19:55:21Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '17', + 'apim-request-id', + 'dfe31c3b-324a-4d8e-88be-09ca06fe6bb0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5668b7cf-1841-432f-9b38-69fb0af8fd2b') + .query(true) + .reply(200, {"jobId":"5668b7cf-1841-432f-9b38-69fb0af8fd2b","lastUpdateDateTime":"2021-06-25T19:55:27Z","createdDateTime":"2021-06-25T19:55:21Z","expirationDateTime":"2021-06-26T19:55:21Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:27.0427821Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '45', + 'apim-request-id', + '9b7977d0-bc85-4e54-bb35-fce49d6fa1c9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5668b7cf-1841-432f-9b38-69fb0af8fd2b') + .query(true) + .reply(200, {"jobId":"5668b7cf-1841-432f-9b38-69fb0af8fd2b","lastUpdateDateTime":"2021-06-25T19:55:27Z","createdDateTime":"2021-06-25T19:55:21Z","expirationDateTime":"2021-06-26T19:55:21Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:27.0427821Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: ***********","id":"0","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":17,"length":11,"confidenceScore":0.65}],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '54', + 'apim-request-id', + '3afc8c4f-13dd-4af7-9f89-be99212bee13', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:28 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.js new file mode 100644 index 000000000000..6c8e22d79a6b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_invalid_language_hint.js @@ -0,0 +1,224 @@ +let nock = require('nock'); + +module.exports.hash = "cd38c4c6eb5d8af4f0f3e496da5ffdf1"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9', + 'x-envoy-upstream-service-time', + '221', + 'apim-request-id', + '53661851-8612-4146-9f38-cc99a7598913', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:35Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '484f9c9e-1cf4-4611-b848-a534fd1a61e6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:35Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'c898bd57-abbd-4280-a3bc-b81f982f6947', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:35Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '86b94501-51ba-4b50-abf4-a027c5dec250', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:35Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'a7efd33c-ad67-4582-9381-50b5c30aebad', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:39 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:35Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'ff99b519-0708-4ca9-a269-412681e90454', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:41Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.7544541Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.6537417Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '81', + 'apim-request-id', + '1f6a945c-876b-4a81-8226-8d7f66dd0e0a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:41Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.7544541Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.6537417Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '221', + 'apim-request-id', + 'f88ff13f-a597-4d97-9a59-138399927e87', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:41Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.7544541Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.6537417Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '92', + 'apim-request-id', + 'cff1fdef-f21e-456b-89cb-9526b7d720b7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:49Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.7544541Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:49.3379301Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.6537417Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '181', + 'apim-request-id', + '6e2bee33-b861-4b19-9eb4-873d4f64ae98', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/33bbdb89-f8bc-416c-9615-c90873b610e9') + .query(true) + .reply(200, {"jobId":"33bbdb89-f8bc-416c-9615-c90873b610e9","lastUpdateDateTime":"2021-06-25T19:54:49Z","createdDateTime":"2021-06-25T19:54:34Z","expirationDateTime":"2021-06-26T19:54:34Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.7544541Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:49.3379301Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:41.6537417Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '112', + 'apim-request-id', + '305bc187-b0e3-484b-8827-225b61cf4b82', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:50 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.js new file mode 100644 index 000000000000..845efa6d9b47 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_malformed_actions.js @@ -0,0 +1,24 @@ +let nock = require('nock'); + +module.exports.hash = "fdbacce056d3180da0a43c0748bb1396"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"bad","stringIndexType":"TextElement_v8"}}]}}) + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid parameter in request","innererror":{"code":"InvalidParameterValue","message":"Job task parameter value bad is not supported for model-version parameter for job task type PersonallyIdentifiableInformation. Supported values latest,2020-07-01,2021-01-15."}}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '500', + 'apim-request-id', + '64828a2b-e275-4849-bb71-805d0e804ed9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Wed, 30 Jun 2021 19:34:36 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.js new file mode 100644 index 000000000000..08c9c8b35f31 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_multiple_actions_per_type_are_disallowed.js @@ -0,0 +1,5 @@ +let nock = require('nock'); + +module.exports.hash = "d1c43b9d04e7f9e2d9e2bac6086a994c"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.js new file mode 100644 index 000000000000..60863a036098 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_operation_metadata.js @@ -0,0 +1,144 @@ +let nock = require('nock'); + +module.exports.hash = "204756a0ef7bb31d61c833d32a9152fa"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"displayName":"testJob","analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/07e6a9b5-f94f-4f7a-a52b-72dfeedb7663', + 'x-envoy-upstream-service-time', + '167', + 'apim-request-id', + '83b4e7c7-dbd4-4209-a230-6541e26d52ce', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/07e6a9b5-f94f-4f7a-a52b-72dfeedb7663') + .query(true) + .reply(200, {"jobId":"07e6a9b5-f94f-4f7a-a52b-72dfeedb7663","lastUpdateDateTime":"2021-06-25T19:55:12Z","createdDateTime":"2021-06-25T19:55:12Z","expirationDateTime":"2021-06-26T19:55:12Z","status":"notStarted","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '9978b729-5856-406b-b262-c4e61a7d1b75', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/07e6a9b5-f94f-4f7a-a52b-72dfeedb7663') + .query(true) + .reply(200, {"jobId":"07e6a9b5-f94f-4f7a-a52b-72dfeedb7663","lastUpdateDateTime":"2021-06-25T19:55:12Z","createdDateTime":"2021-06-25T19:55:12Z","expirationDateTime":"2021-06-26T19:55:12Z","status":"running","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '9c4be965-0d1f-4bd5-a134-fdde2a994ee2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/07e6a9b5-f94f-4f7a-a52b-72dfeedb7663') + .query(true) + .reply(200, {"jobId":"07e6a9b5-f94f-4f7a-a52b-72dfeedb7663","lastUpdateDateTime":"2021-06-25T19:55:12Z","createdDateTime":"2021-06-25T19:55:12Z","expirationDateTime":"2021-06-26T19:55:12Z","status":"running","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '6eff8be9-23ad-498a-b46f-ad697deb616d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/07e6a9b5-f94f-4f7a-a52b-72dfeedb7663') + .query(true) + .reply(200, {"jobId":"07e6a9b5-f94f-4f7a-a52b-72dfeedb7663","lastUpdateDateTime":"2021-06-25T19:55:12Z","createdDateTime":"2021-06-25T19:55:12Z","expirationDateTime":"2021-06-26T19:55:12Z","status":"running","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '3be20669-dcfa-4257-a6e8-9dd0ad75f522', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/07e6a9b5-f94f-4f7a-a52b-72dfeedb7663') + .query(true) + .reply(200, {"jobId":"07e6a9b5-f94f-4f7a-a52b-72dfeedb7663","lastUpdateDateTime":"2021-06-25T19:55:12Z","createdDateTime":"2021-06-25T19:55:12Z","expirationDateTime":"2021-06-26T19:55:12Z","status":"running","errors":[],"displayName":"testJob","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '12', + 'apim-request-id', + 'af95f344-e51e-4b21-827f-bc0e1ce905b5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:19 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/07e6a9b5-f94f-4f7a-a52b-72dfeedb7663') + .query(true) + .reply(200, {"jobId":"07e6a9b5-f94f-4f7a-a52b-72dfeedb7663","lastUpdateDateTime":"2021-06-25T19:55:19Z","createdDateTime":"2021-06-25T19:55:12Z","expirationDateTime":"2021-06-26T19:55:12Z","status":"succeeded","errors":[],"displayName":"testJob","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:19.5336533Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '58', + 'apim-request-id', + 'f2c61db9-01a5-48c6-ad41-f7f57e5f4aa7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:21 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.js new file mode 100644 index 000000000000..2ae01d75528e --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_out_of_order_input_ids_with_multiple_actions.js @@ -0,0 +1,324 @@ +let nock = require('nock'); + +module.exports.hash = "ce68d594d903ed92dd603e6d0dc15d1d"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":"w"},{"id":"19","text":":P"},{"id":"1","text":":D"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce', + 'x-envoy-upstream-service-time', + '438', + 'apim-request-id', + '2f699a23-24c4-49a4-b5bc-ac0325b81c6d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:25Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '75228dd9-fcd6-4210-b335-c74b7cb80db9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:25Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'ca559e99-267b-451e-81dd-7eb45b5b81e7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:25Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'b11009e0-27a7-4cf5-af63-1feb914fa561', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:26 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:25Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '29ea279a-6752-4a0f-8595-dc3682d1b14f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:31Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '122', + 'apim-request-id', + '63086936-e35e-4b72-b404-e728813a5dea', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:31 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:33Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '87', + 'apim-request-id', + '383ff65d-3dc2-4736-83df-c3a51d674026', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:33Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '84', + 'apim-request-id', + 'd1a6afb6-3e21-4103-aa22-2c3e2d25c3f8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:33Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '80', + 'apim-request-id', + '4a0f4f96-0646-42e5-b3c6-b3e71bc0c033', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:40Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:40.1975875Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '178', + 'apim-request-id', + '4dcc8576-491b-4555-9e5f-f1b3d5de70cb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:40Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:40.1975875Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '172', + 'apim-request-id', + '9ad529f7-8553-4dc7-a861-79a1e03b6af9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:40Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:40.1975875Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '141', + 'apim-request-id', + '7785a341-a6a2-4800-abe6-f12b25457cb3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:40Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:40.1975875Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '151', + 'apim-request-id', + 'ddcd0f3e-3cff-4bd6-9ae2-77af017eed00', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:40Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:40.1975875Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '157', + 'apim-request-id', + 'adf300d4-82e5-4270-b48b-9d2f0abfd57d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:50Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:50.6708537Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:40.1975875Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '231', + 'apim-request-id', + '19ea55b1-7fad-4235-8d60-e17a3e4f88a0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:51 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/2ede272a-0f96-4ea8-a1a7-b6f04f223fce') + .query(true) + .reply(200, {"jobId":"2ede272a-0f96-4ea8-a1a7-b6f04f223fce","lastUpdateDateTime":"2021-06-25T19:51:50Z","createdDateTime":"2021-06-25T19:51:25Z","expirationDateTime":"2021-06-26T19:51:25Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:50.6708537Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"56","entities":[],"warnings":[]},{"id":"0","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:31.8517641Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":":)","id":"56","entities":[],"warnings":[]},{"redactedText":":(","id":"0","entities":[],"warnings":[]},{"redactedText":"w","id":"22","entities":[],"warnings":[]},{"redactedText":":P","id":"19","entities":[],"warnings":[]},{"redactedText":":D","id":"1","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:40.1975875Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"56","keyPhrases":[],"warnings":[]},{"id":"0","keyPhrases":[],"warnings":[]},{"id":"22","keyPhrases":[],"warnings":[]},{"id":"19","keyPhrases":[],"warnings":[]},{"id":"1","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '253', + 'apim-request-id', + '1ae2f2a9-e891-425e-83fb-52100f88e1e0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.js new file mode 100644 index 000000000000..2ad5acabb9fe --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_output_order_is_same_as_the_inputs_one_with_multiple_actions.js @@ -0,0 +1,224 @@ +let nock = require('nock'); + +module.exports.hash = "0d0220320898553ba2b19148d77076f4"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"one"},{"id":"2","text":"two"},{"id":"3","text":"three"},{"id":"4","text":"four"},{"id":"5","text":"five"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73', + 'x-envoy-upstream-service-time', + '428', + 'apim-request-id', + '37bc758e-ea56-4773-888d-935525982701', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:09Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'f400cb0b-e38d-4a76-843c-47660f284a89', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:09Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '02c05a06-be71-497f-977c-2b511ae9ba02', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:10Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '4998ba5e-a8fc-4579-a27a-61d77cab8b98', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:10Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '63b7d234-25da-4074-b9f0-9de5b8625d95', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:13 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:10Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'b1ddfff3-0da3-4a58-a6f5-c1d8d53f2a9b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:15 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:16Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.7043461Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.0826854Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '152', + 'apim-request-id', + 'd2c79561-8653-4f0d-99ae-9ef3e883cd79', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:16Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.7043461Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.0826854Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '183', + 'apim-request-id', + '02aadba2-3b04-4ab5-a914-1b989dfc5c06', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:19 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:16Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.7043461Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.0826854Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '153', + 'apim-request-id', + '6b504b3f-723e-41ef-9f27-17172a5f99a1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:23Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.7043461Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:23.8884808Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.0826854Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '247', + 'apim-request-id', + 'cdae66d2-a624-44af-98ec-01e66efb33b5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/750cd76f-0c68-4537-83c8-510dd38bec73') + .query(true) + .reply(200, {"jobId":"750cd76f-0c68-4537-83c8-510dd38bec73","lastUpdateDateTime":"2021-06-25T19:51:23Z","createdDateTime":"2021-06-25T19:51:08Z","expirationDateTime":"2021-06-26T19:51:08Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.7043461Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"one","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"two","category":"Quantity","subcategory":"Number","offset":0,"length":3,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"three","category":"Quantity","subcategory":"Number","offset":0,"length":5,"confidenceScore":0.8}],"warnings":[]},{"id":"4","entities":[{"text":"four","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]},{"id":"5","entities":[{"text":"five","category":"Quantity","subcategory":"Number","offset":0,"length":4,"confidenceScore":0.8}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:23.8884808Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"one","id":"1","entities":[],"warnings":[]},{"redactedText":"two","id":"2","entities":[],"warnings":[]},{"redactedText":"three","id":"3","entities":[],"warnings":[]},{"redactedText":"four","id":"4","entities":[],"warnings":[]},{"redactedText":"five","id":"5","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:51:16.0826854Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":[],"warnings":[]},{"id":"2","keyPhrases":[],"warnings":[]},{"id":"3","keyPhrases":[],"warnings":[]},{"id":"4","keyPhrases":[],"warnings":[]},{"id":"5","keyPhrases":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '224', + 'apim-request-id', + 'f4cd97a5-0919-47c3-b080-bf38593af20d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:24 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.js new file mode 100644 index 000000000000..666f43781fbb --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_paged_results_with_custom_page_size.js @@ -0,0 +1,224 @@ +let nock = require('nock'); + +module.exports.hash = "fcf347f6cb241de657ea5d5a47554eaf"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"random text","language":"en"},{"id":"1","text":"random text","language":"en"},{"id":"2","text":"random text","language":"en"},{"id":"3","text":"random text","language":"en"},{"id":"4","text":"random text","language":"en"},{"id":"5","text":"random text","language":"en"},{"id":"6","text":"random text","language":"en"},{"id":"7","text":"random text","language":"en"},{"id":"8","text":"random text","language":"en"},{"id":"9","text":"random text","language":"en"},{"id":"10","text":"random text","language":"en"},{"id":"11","text":"random text","language":"en"},{"id":"12","text":"random text","language":"en"},{"id":"13","text":"random text","language":"en"},{"id":"14","text":"random text","language":"en"},{"id":"15","text":"random text","language":"en"},{"id":"16","text":"random text","language":"en"},{"id":"17","text":"random text","language":"en"},{"id":"18","text":"random text","language":"en"},{"id":"19","text":"random text","language":"en"},{"id":"20","text":"random text","language":"en"},{"id":"21","text":"random text","language":"en"},{"id":"22","text":"random text","language":"en"},{"id":"23","text":"random text","language":"en"},{"id":"24","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69', + 'x-envoy-upstream-service-time', + '768', + 'apim-request-id', + '8743ed78-e487-402c-b3c8-e443affc225e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:54:51Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'b7543782-54d5-4e5d-a0eb-2fc610f3bf2a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:51 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:54:51Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '482a627e-940d-4214-8813-c37d5bb42643', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:51 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:54:51Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'e7c7c200-3222-4a0b-8957-6a462e99aab2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:53 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:54:51Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'f8113aec-e367-479e-839c-8be3f5050069', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:54:57Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":2,"total":2}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'd679ab8d-0ffd-4dec-8eda-d6a28ae2bf20', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:57 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:54:59Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":1,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:58.4255638Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]},{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69?$skip=20&$top=5&showStats=False"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '243', + 'apim-request-id', + 'c0eeff2b-f28d-48a3-b69c-bdd5fb563421', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:59 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:55:00Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:58.4255638Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]},{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:00.8189036Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["random text"],"warnings":[]},{"id":"1","keyPhrases":["random text"],"warnings":[]},{"id":"2","keyPhrases":["random text"],"warnings":[]},{"id":"3","keyPhrases":["random text"],"warnings":[]},{"id":"4","keyPhrases":["random text"],"warnings":[]},{"id":"5","keyPhrases":["random text"],"warnings":[]},{"id":"6","keyPhrases":["random text"],"warnings":[]},{"id":"7","keyPhrases":["random text"],"warnings":[]},{"id":"8","keyPhrases":["random text"],"warnings":[]},{"id":"9","keyPhrases":["random text"],"warnings":[]},{"id":"10","keyPhrases":["random text"],"warnings":[]},{"id":"11","keyPhrases":["random text"],"warnings":[]},{"id":"12","keyPhrases":["random text"],"warnings":[]},{"id":"13","keyPhrases":["random text"],"warnings":[]},{"id":"14","keyPhrases":["random text"],"warnings":[]},{"id":"15","keyPhrases":["random text"],"warnings":[]},{"id":"16","keyPhrases":["random text"],"warnings":[]},{"id":"17","keyPhrases":["random text"],"warnings":[]},{"id":"18","keyPhrases":["random text"],"warnings":[]},{"id":"19","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69?$skip=20&$top=5&showStats=False"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '404', + 'apim-request-id', + 'f29ba5a8-2efb-48bb-8baa-e3244db8db69', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:01 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:55:00Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:58.4255638Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[],"warnings":[]},{"id":"2","entities":[],"warnings":[]},{"id":"3","entities":[],"warnings":[]},{"id":"4","entities":[],"warnings":[]},{"id":"5","entities":[],"warnings":[]},{"id":"6","entities":[],"warnings":[]},{"id":"7","entities":[],"warnings":[]},{"id":"8","entities":[],"warnings":[]},{"id":"9","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:00.8189036Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["random text"],"warnings":[]},{"id":"1","keyPhrases":["random text"],"warnings":[]},{"id":"2","keyPhrases":["random text"],"warnings":[]},{"id":"3","keyPhrases":["random text"],"warnings":[]},{"id":"4","keyPhrases":["random text"],"warnings":[]},{"id":"5","keyPhrases":["random text"],"warnings":[]},{"id":"6","keyPhrases":["random text"],"warnings":[]},{"id":"7","keyPhrases":["random text"],"warnings":[]},{"id":"8","keyPhrases":["random text"],"warnings":[]},{"id":"9","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69?$skip=10&$top=10&showStats=False"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '278', + 'apim-request-id', + '9c5ea9a9-54e6-47c6-9980-c4694df67d92', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:55:00Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:58.4255638Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"10","entities":[],"warnings":[]},{"id":"11","entities":[],"warnings":[]},{"id":"12","entities":[],"warnings":[]},{"id":"13","entities":[],"warnings":[]},{"id":"14","entities":[],"warnings":[]},{"id":"15","entities":[],"warnings":[]},{"id":"16","entities":[],"warnings":[]},{"id":"17","entities":[],"warnings":[]},{"id":"18","entities":[],"warnings":[]},{"id":"19","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:00.8189036Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"10","keyPhrases":["random text"],"warnings":[]},{"id":"11","keyPhrases":["random text"],"warnings":[]},{"id":"12","keyPhrases":["random text"],"warnings":[]},{"id":"13","keyPhrases":["random text"],"warnings":[]},{"id":"14","keyPhrases":["random text"],"warnings":[]},{"id":"15","keyPhrases":["random text"],"warnings":[]},{"id":"16","keyPhrases":["random text"],"warnings":[]},{"id":"17","keyPhrases":["random text"],"warnings":[]},{"id":"18","keyPhrases":["random text"],"warnings":[]},{"id":"19","keyPhrases":["random text"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]},"@nextLink":"https://endpoint/text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69?$skip=20&$top=5&showStats=False"}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '295', + 'apim-request-id', + 'cd2e9994-af09-49b5-b603-7f76c4e3a06c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/df7cd524-a6fe-455b-a63f-68d2a7e44e69') + .query(true) + .reply(200, {"jobId":"df7cd524-a6fe-455b-a63f-68d2a7e44e69","lastUpdateDateTime":"2021-06-25T19:55:00Z","createdDateTime":"2021-06-25T19:54:50Z","expirationDateTime":"2021-06-26T19:54:50Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":0,"total":2,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:58.4255638Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"20","entities":[],"warnings":[]},{"id":"21","entities":[],"warnings":[]},{"id":"22","entities":[],"warnings":[]},{"id":"23","entities":[],"warnings":[]},{"id":"24","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:00.8189036Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"20","keyPhrases":["random text"],"warnings":[]},{"id":"21","keyPhrases":["random text"],"warnings":[]},{"id":"22","keyPhrases":["random text"],"warnings":[]},{"id":"23","keyPhrases":["random text"],"warnings":[]},{"id":"24","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '180', + 'apim-request-id', + 'e01b076c-395e-4f89-af8f-9fd6282495b2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:02 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.js new file mode 100644 index 000000000000..bd941c0f04b7 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_pii_redacted_test_is_not_empty.js @@ -0,0 +1,164 @@ +let nock = require('nock'); + +module.exports.hash = "53edc15aa669bdf8a052f15fbf8840b3"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/8d9925aa-96e2-4abc-a06d-0681fc923b8b', + 'x-envoy-upstream-service-time', + '185', + 'apim-request-id', + 'beb7214d-ebd3-49d3-a414-c8e18601d3b0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:03 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8d9925aa-96e2-4abc-a06d-0681fc923b8b') + .query(true) + .reply(200, {"jobId":"8d9925aa-96e2-4abc-a06d-0681fc923b8b","lastUpdateDateTime":"2021-06-25T19:55:03Z","createdDateTime":"2021-06-25T19:55:03Z","expirationDateTime":"2021-06-26T19:55:03Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '4549f977-3775-4bd3-8113-a3c4715c29e9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:03 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8d9925aa-96e2-4abc-a06d-0681fc923b8b') + .query(true) + .reply(200, {"jobId":"8d9925aa-96e2-4abc-a06d-0681fc923b8b","lastUpdateDateTime":"2021-06-25T19:55:03Z","createdDateTime":"2021-06-25T19:55:03Z","expirationDateTime":"2021-06-26T19:55:03Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '6cb68a02-ee16-4a45-8e0d-16450dc2835e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:03 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8d9925aa-96e2-4abc-a06d-0681fc923b8b') + .query(true) + .reply(200, {"jobId":"8d9925aa-96e2-4abc-a06d-0681fc923b8b","lastUpdateDateTime":"2021-06-25T19:55:04Z","createdDateTime":"2021-06-25T19:55:03Z","expirationDateTime":"2021-06-26T19:55:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '591e60f8-4db0-446a-bcf8-512303ffea40', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8d9925aa-96e2-4abc-a06d-0681fc923b8b') + .query(true) + .reply(200, {"jobId":"8d9925aa-96e2-4abc-a06d-0681fc923b8b","lastUpdateDateTime":"2021-06-25T19:55:04Z","createdDateTime":"2021-06-25T19:55:03Z","expirationDateTime":"2021-06-26T19:55:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'f3dabb31-126c-4283-81e3-7e42fa6f6645', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8d9925aa-96e2-4abc-a06d-0681fc923b8b') + .query(true) + .reply(200, {"jobId":"8d9925aa-96e2-4abc-a06d-0681fc923b8b","lastUpdateDateTime":"2021-06-25T19:55:04Z","createdDateTime":"2021-06-25T19:55:03Z","expirationDateTime":"2021-06-26T19:55:03Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '0559be89-25da-4aaa-8ce4-11ffd34d0137', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8d9925aa-96e2-4abc-a06d-0681fc923b8b') + .query(true) + .reply(200, {"jobId":"8d9925aa-96e2-4abc-a06d-0681fc923b8b","lastUpdateDateTime":"2021-06-25T19:55:11Z","createdDateTime":"2021-06-25T19:55:03Z","expirationDateTime":"2021-06-26T19:55:03Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:11.2048044Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '65', + 'apim-request-id', + '4f62fb98-ecf4-44f6-87e1-9a5134b58f59', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8d9925aa-96e2-4abc-a06d-0681fc923b8b') + .query(true) + .reply(200, {"jobId":"8d9925aa-96e2-4abc-a06d-0681fc923b8b","lastUpdateDateTime":"2021-06-25T19:55:11Z","createdDateTime":"2021-06-25T19:55:03Z","expirationDateTime":"2021-06-26T19:55:03Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:55:11.2048044Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '62', + 'apim-request-id', + '3e7ad06f-5e92-4c5c-8dcc-65ca11d5d290', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:11 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.js new file mode 100644 index 000000000000..084a50ea27f4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_linking_action.js @@ -0,0 +1,124 @@ +let nock = require('nock'); + +module.exports.hash = "ce1022e89d106988559f82afe6baea1e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"Microsoft moved its headquarters to Bellevue, Washington in January 1979.","language":"en"},{"id":"1","text":"Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella.","language":"en"}]},"tasks":{"entityLinkingTasks":[{"parameters":{"stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/c9ccf7b8-b322-4983-8644-b7a738a51dbd', + 'x-envoy-upstream-service-time', + '2706', + 'apim-request-id', + 'fd23129f-ad3e-407f-8fd8-cd3db3cbd90e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/c9ccf7b8-b322-4983-8644-b7a738a51dbd') + .query(true) + .reply(200, {"jobId":"c9ccf7b8-b322-4983-8644-b7a738a51dbd","lastUpdateDateTime":"2021-06-25T19:48:55Z","createdDateTime":"2021-06-25T19:48:52Z","expirationDateTime":"2021-06-26T19:48:52Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '84133019-8c65-4504-bb8f-691c70e0ed15', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/c9ccf7b8-b322-4983-8644-b7a738a51dbd') + .query(true) + .reply(200, {"jobId":"c9ccf7b8-b322-4983-8644-b7a738a51dbd","lastUpdateDateTime":"2021-06-25T19:48:55Z","createdDateTime":"2021-06-25T19:48:52Z","expirationDateTime":"2021-06-26T19:48:52Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'a2f812b4-a220-44bc-9743-9157e6b2be75', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/c9ccf7b8-b322-4983-8644-b7a738a51dbd') + .query(true) + .reply(200, {"jobId":"c9ccf7b8-b322-4983-8644-b7a738a51dbd","lastUpdateDateTime":"2021-06-25T19:48:56Z","createdDateTime":"2021-06-25T19:48:52Z","expirationDateTime":"2021-06-26T19:48:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '5107a1fd-75bf-4168-9498-f70d5c1d9897', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/c9ccf7b8-b322-4983-8644-b7a738a51dbd') + .query(true) + .reply(200, {"jobId":"c9ccf7b8-b322-4983-8644-b7a738a51dbd","lastUpdateDateTime":"2021-06-25T19:48:57Z","createdDateTime":"2021-06-25T19:48:52Z","expirationDateTime":"2021-06-26T19:48:52Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-25T19:48:57.8841197Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Bellevue, Washington","matches":[{"text":"Bellevue, Washington","offset":36,"length":20,"confidenceScore":0.87}],"language":"en","id":"Bellevue, Washington","url":"https://en.wikipedia.org/wiki/Bellevue,_Washington","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.39}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Briann January","matches":[{"text":"January","offset":60,"length":7,"confidenceScore":0.14}],"language":"en","id":"Briann January","url":"https://en.wikipedia.org/wiki/Briann_January","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"name":"Steve Ballmer","matches":[{"text":"Steve Ballmer","offset":0,"length":13,"confidenceScore":0.92}],"language":"en","id":"Steve Ballmer","url":"https://en.wikipedia.org/wiki/Steve_Ballmer","dataSource":"Wikipedia"},{"name":"Satya Nadella","matches":[{"text":"Satya Nadella","offset":68,"length":13,"confidenceScore":0.9}],"language":"en","id":"Satya Nadella","url":"https://en.wikipedia.org/wiki/Satya_Nadella","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":37,"length":9,"confidenceScore":0.36}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Chief executive officer","matches":[{"text":"CEO","offset":30,"length":3,"confidenceScore":0.25}],"language":"en","id":"Chief executive officer","url":"https://en.wikipedia.org/wiki/Chief_executive_officer","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '203', + 'apim-request-id', + '647bf501-5821-460c-aa7d-7a6e7704173a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:58 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/c9ccf7b8-b322-4983-8644-b7a738a51dbd') + .query(true) + .reply(200, {"jobId":"c9ccf7b8-b322-4983-8644-b7a738a51dbd","lastUpdateDateTime":"2021-06-25T19:48:57Z","createdDateTime":"2021-06-25T19:48:52Z","expirationDateTime":"2021-06-26T19:48:52Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityLinkingTasks":[{"lastUpdateDateTime":"2021-06-25T19:48:57.8841197Z","taskName":"EntityLinking_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[{"name":"Bellevue, Washington","matches":[{"text":"Bellevue, Washington","offset":36,"length":20,"confidenceScore":0.87}],"language":"en","id":"Bellevue, Washington","url":"https://en.wikipedia.org/wiki/Bellevue,_Washington","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":0,"length":9,"confidenceScore":0.39}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Briann January","matches":[{"text":"January","offset":60,"length":7,"confidenceScore":0.14}],"language":"en","id":"Briann January","url":"https://en.wikipedia.org/wiki/Briann_January","dataSource":"Wikipedia"}],"warnings":[]},{"id":"1","entities":[{"name":"Steve Ballmer","matches":[{"text":"Steve Ballmer","offset":0,"length":13,"confidenceScore":0.92}],"language":"en","id":"Steve Ballmer","url":"https://en.wikipedia.org/wiki/Steve_Ballmer","dataSource":"Wikipedia"},{"name":"Satya Nadella","matches":[{"text":"Satya Nadella","offset":68,"length":13,"confidenceScore":0.9}],"language":"en","id":"Satya Nadella","url":"https://en.wikipedia.org/wiki/Satya_Nadella","dataSource":"Wikipedia"},{"name":"Microsoft","matches":[{"text":"Microsoft","offset":37,"length":9,"confidenceScore":0.36}],"language":"en","id":"Microsoft","url":"https://en.wikipedia.org/wiki/Microsoft","dataSource":"Wikipedia"},{"name":"Chief executive officer","matches":[{"text":"CEO","offset":30,"length":3,"confidenceScore":0.25}],"language":"en","id":"Chief executive officer","url":"https://en.wikipedia.org/wiki/Chief_executive_officer","dataSource":"Wikipedia"}],"warnings":[]}],"errors":[],"modelVersion":"2020-02-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '93', + 'apim-request-id', + '38f8a34f-ae98-4511-9f2f-982b57b9a99c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:58 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.js new file mode 100644 index 000000000000..543b0d10df1b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entities_recognition_action.js @@ -0,0 +1,484 @@ +let nock = require('nock'); + +module.exports.hash = "d3883c1b02faf3494e22c243c4aaf823"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975.","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen el 4 de abril de 1975.","language":"es"},{"id":"3","text":"Microsoft wurde am 4. April 1975 von Bill Gates und Paul Allen gegründet.","language":"de"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2', + 'x-envoy-upstream-service-time', + '175', + 'apim-request-id', + '7cfed1f7-51dc-462d-a6d3-b05f273c2acc', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:10Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'e60f74ba-d9e8-4ff2-9da0-dc1e19e8aafe', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:10Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + '1fb6ef7d-2f22-4631-8ef0-1c34c3ea9d31', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:10 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:10Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '8dc2ca56-f15f-474c-a0b8-2f9cfccb4e2b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:10Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '764e12f4-760e-4e6c-b62a-53729de2ade0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:10Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '6bbd5da1-5aaa-473b-965f-20857f6cc4d1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:16 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:10Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'db94479d-4083-4e54-a14d-a49446b96b4d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:18 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:10Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + 'c5d85be8-0fa8-4e6f-b058-46b598e427f7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:20 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:10Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'bef7f118-6b8a-43af-b034-96049cc47a3a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'aac0aae2-0ece-48c8-86b0-f5c7808f2e12', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '17', + 'apim-request-id', + 'c2f9e3df-e620-4e45-9c60-10870640a640', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:26 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'e12271a9-94ff-424f-914c-75f2179fc2b9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '86c1b052-3bbd-42f8-ad9d-8d89c05ff08b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '2405d77c-afe7-4453-b06b-be24862b9841', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '31918f77-df13-4910-8053-d631328b6bd9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '55656dc2-19c0-42f3-bf9c-1025330a854b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'fb3eb443-6bd1-4af6-a9be-c6f487dec78a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '0e5ec21d-d548-4687-88fe-8714dcab869a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '22', + 'apim-request-id', + '79f43970-aa01-461e-af8f-36e86adc9dfa', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '15', + 'apim-request-id', + '038754b3-3b42-4791-996b-f4aba8abb60b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '108b23fc-7994-4bfe-bff6-22a6fe61ece7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:23Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'e485ff44-d471-4fb4-b8ee-5dd57f31dbfa', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:50Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:48:50.3273457Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1},{"text":"April 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4 de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":52,"length":10,"confidenceScore":1}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '62', + 'apim-request-id', + 'f0866d21-c52b-4f72-9263-6456cf8b2525', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:51 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/cfd6bbb8-93ce-4c22-8115-a7e41cb576e2') + .query(true) + .reply(200, {"jobId":"cfd6bbb8-93ce-4c22-8115-a7e41cb576e2","lastUpdateDateTime":"2021-06-25T19:48:50Z","createdDateTime":"2021-06-25T19:48:10Z","expirationDateTime":"2021-06-26T19:48:10Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:48:50.3273457Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1},{"text":"April 4, 1975","category":"DateTime","subcategory":"Date","offset":54,"length":13,"confidenceScore":0.8}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99},{"text":"4 de abril de 1975","category":"DateTime","subcategory":"Date","offset":53,"length":18,"confidenceScore":0.8}],"warnings":[]},{"id":"3","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"4. April 1975","category":"DateTime","subcategory":"Date","offset":19,"length":13,"confidenceScore":0.8},{"text":"Bill Gates","category":"Person","offset":37,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":52,"length":10,"confidenceScore":1}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '67', + 'apim-request-id', + 'ffa8c0b8-9cef-4f2b-aa32-2fdde0f36fca', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:51 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.js new file mode 100644 index 000000000000..092a71c723e8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_entity_recognition_action.js @@ -0,0 +1,364 @@ +let nock = require('nock'); + +module.exports.hash = "de35700ea43a39df2d66af7075d93f38"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen","language":"es"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66', + 'x-envoy-upstream-service-time', + '153', + 'apim-request-id', + 'a641a9d2-5cbc-41b5-9b4e-bdfc1cfcda5b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:56Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '3ded192b-8e55-4900-add6-d05ae4c7798e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:56Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '12', + 'apim-request-id', + '6deecec9-836d-4573-829e-5e4d42e3f61d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:56Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '17', + 'apim-request-id', + 'c53a7258-1c7f-4c66-a4ef-44180ad47a77', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:46:58 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '7153e53f-20f1-4399-b58b-dec53394a660', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'a7b5cd2e-3220-44e9-9346-62cf5e981f6f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + 'e2c6cf36-f66c-4f7f-a3bb-354a5aafe059', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:04 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '09be9edf-63c9-4022-ba2b-a4202e4b0055', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:06 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'abd05698-d8b5-4da8-8505-c41cc8eddef2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '38bc736b-0f39-40df-9dfe-db6d1980bd9b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:10 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'adbe738b-06e2-4a1b-a0a9-f6f9397c7a08', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '830313b0-55be-4bf6-9eb7-7c92b2bb4e92', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:15 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'd259afe2-c6c0-4599-9fe8-0b40ccf4135d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '8804cea6-4ef1-4122-af2d-f85f14554180', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:19 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'b0e54e93-f1e1-4dde-99bf-2a82b20b96a1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:46:59Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '0908e7e2-8728-44fa-8bf7-6dbc99510b11', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:47:25Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:47:25.5252938Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '53', + 'apim-request-id', + 'b1179534-f7cd-455c-be52-42405967fdb1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9a5fa160-d89d-4445-b29d-a3e471ae5d66') + .query(true) + .reply(200, {"jobId":"9a5fa160-d89d-4445-b29d-a3e471ae5d66","lastUpdateDateTime":"2021-06-25T19:47:25Z","createdDateTime":"2021-06-25T19:46:56Z","expirationDateTime":"2021-06-26T19:46:56Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:47:25.5252938Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":25,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":40,"length":10,"confidenceScore":1}],"warnings":[]},{"id":"2","entities":[{"text":"Microsoft","category":"Organization","offset":0,"length":9,"confidenceScore":1},{"text":"Bill Gates","category":"Person","offset":26,"length":10,"confidenceScore":1},{"text":"Paul Allen","category":"Person","offset":39,"length":10,"confidenceScore":0.99}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '68', + 'apim-request-id', + '4a438903-a91a-4e44-8cc9-8a6f39c4111f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:25 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.js new file mode 100644 index 000000000000..986accafbd2d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_key_phrases_action.js @@ -0,0 +1,404 @@ +let nock = require('nock'); + +module.exports.hash = "d7e8054512e98cb5ba9ae070e69b37f0"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"Microsoft was founded by Bill Gates and Paul Allen","language":"en"},{"id":"2","text":"Microsoft fue fundado por Bill Gates y Paul Allen","language":"es"}]},"tasks":{"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3', + 'x-envoy-upstream-service-time', + '2754', + 'apim-request-id', + 'a135bb8a-3113-4363-ae6e-1a2e319139ee', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:28Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + '74172180-dcdd-4bb4-b5ab-1f594dfe03bf', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:28Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + 'e9774018-b516-496e-9cf4-aeefc5f23289', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '30824b9c-af09-42a5-8f50-7531147a319c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'c43fcdd9-550f-49a0-bfea-7ac32244eade', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '70a5a3d3-e9d6-4bd9-85ce-1b375cad628c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'fdf35e21-d335-43ea-b60d-b2dd0c896181', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + 'adb93d7c-76da-4751-8d62-aa845685ef81', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '2e25c3d0-e7a3-4129-8fc1-b6fd0632a1ec', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '744d947f-14db-4c6d-aa92-d7f7083810db', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'a6628575-06b2-4228-9302-2b90190787d2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:44 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '923be5c7-5173-4b12-9a0c-1459a2eb060a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '5ea86265-ad82-43f3-bb22-13b16c5ff72a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'ce118157-48e4-4e4a-89c0-2c5550b4488d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:51 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'c0978b28-2f18-4d34-8093-c0e3e7fb5734', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:53 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '18', + 'apim-request-id', + 'ec9da051-aa3c-465e-bf51-1dd86b7ff198', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'e4194517-75de-48be-bb7b-0a66e7b27126', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:57 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:47:29Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'a9a8e857-4bfb-407c-a943-bd218a9cfb31', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:47:59 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:48:01Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:48:01.3716213Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '59', + 'apim-request-id', + '69e64a82-ad21-4e1d-93d5-102762d8ce77', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/4501a5f9-015f-4844-8541-2b491751b1d3') + .query(true) + .reply(200, {"jobId":"4501a5f9-015f-4844-8541-2b491751b1d3","lastUpdateDateTime":"2021-06-25T19:48:01Z","createdDateTime":"2021-06-25T19:47:26Z","expirationDateTime":"2021-06-26T19:47:26Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:48:01.3716213Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]},{"id":"2","keyPhrases":["Bill Gates","Paul Allen","Microsoft"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7686', + 'apim-request-id', + 'c8ac4444-27f4-45f1-8bb2-7bcc3079f9e4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:48:09 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.js new file mode 100644 index 000000000000..1a3554828299 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action.js @@ -0,0 +1,304 @@ +let nock = require('nock'); + +module.exports.hash = "ac00d978031a3ea05adbfa89b8857468"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"My SSN is 859-98-0987."},{"id":"2","text":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."},{"id":"3","text":"Is 998.214.865-68 your Brazilian CPF number?"}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6', + 'x-envoy-upstream-service-time', + '213', + 'apim-request-id', + '626c24f2-dd02-488e-af2a-7dfdf4036726', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '7d225ff4-b2c1-43fb-8c37-7b691e49534f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '5c848121-8d8b-47dc-9509-0a8064f35bcd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + 'c8e90e9b-5cb2-420b-bfe0-918aed695a1c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '8691536d-f257-4b64-93c9-dfeebc58e673', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:04 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'af08d124-de2a-46b5-8226-c486bd0b8631', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:06 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + 'df5541f7-b86c-4ff1-bcb5-8eed89684a64', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '7552b5f7-a3f5-42c4-9d6d-cc4102b8b545', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:10 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '013bff44-728b-43ad-b77b-a58ba4e1cb71', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '566a3c29-cac5-4ae7-ba4b-80534cfd51ec', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + '0e2fa0b5-f03e-4610-9ba4-9ff600cca470', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:16 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'a0038342-b3be-4ee4-92ce-aa11e0f0c058', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:18 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:00Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '45c4d363-6d31-4399-8930-5e3ed6111c86', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:20 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:23Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:49:23.0251551Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is ***********.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '69', + 'apim-request-id', + '00a38baf-35ac-4416-871e-099b9609cf03', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/77267cc8-3ebf-4469-bde4-cd90d43b6cf6') + .query(true) + .reply(200, {"jobId":"77267cc8-3ebf-4469-bde4-cd90d43b6cf6","lastUpdateDateTime":"2021-06-25T19:49:23Z","createdDateTime":"2021-06-25T19:49:00Z","expirationDateTime":"2021-06-26T19:49:00Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:49:23.0251551Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is ***********.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - ********* - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[{"text":"111000025","category":"PhoneNumber","offset":18,"length":9,"confidenceScore":0.8},{"text":"111000025","category":"ABARoutingNumber","offset":18,"length":9,"confidenceScore":0.75},{"text":"111000025","category":"NZSocialWelfareNumber","offset":18,"length":9,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Is 998.214.865-68 your Brazilian CPF number?","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '65', + 'apim-request-id', + '85753cbf-7fec-46b1-9b20-fc25f143a317', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:23 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.js new file mode 100644 index 000000000000..cca63a539f4c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_sentiment_analysis_action.js @@ -0,0 +1,504 @@ +let nock = require('nock'); + +module.exports.hash = "bec5840cf2c9dabcf50655ab317beba1"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"The food was unacceptable","language":"en"},{"id":"1","text":"The rooms were beautiful. The AC was good and quiet.","language":"en"},{"id":"2","text":"The breakfast was good, but the toilet was smelly.","language":"en"},{"id":"3","text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","language":"en"},{"id":"4","text":"I had a great unobstructed view of the Microsoft campus.","language":"en"},{"id":"5","text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","language":"en"},{"id":"6","text":"The toilet smelled.","language":"en"}]},"tasks":{"sentimentAnalysisTasks":[{"parameters":{"opinionMining":true,"stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346', + 'x-envoy-upstream-service-time', + '319', + 'apim-request-id', + 'ceaf0ef0-a001-49f0-a95e-df15c0f86a16', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:23Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'bbabe9a7-d263-4e35-8089-6cc6db6d72c7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:23Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '8c87efbc-91a8-47c2-ad5e-749d3ac01564', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '27', + 'apim-request-id', + '6d44930e-e318-4051-83e6-096290c350f9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '4e695e57-48cf-48c6-8b7c-6060d2b52a35', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '12', + 'apim-request-id', + 'ceea1b31-a5de-4ac8-9e82-420d5689aad4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '5c6e8816-9e71-4f47-a0c0-27d68023114b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '5a827910-5a8e-4102-88d8-e8151c30de5f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'c8e080f7-ed94-4e25-bb0f-1dd3cb580e95', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:35 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '38eee1f7-64cf-4132-a056-aa2e3575242b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:37 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'b60f77a3-6ce4-44b9-986a-7a03cacd06c2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:39 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '95d2eb07-bea8-4ecc-bdf3-783a77837495', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '825c7f8a-6f61-428d-8d51-38ba68aa39c5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '14', + 'apim-request-id', + 'cc525a7c-4753-48fe-b764-0e18e1510e56', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '12', + 'apim-request-id', + '553f7373-3b60-4d6a-9ef2-257ba683c0ed', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:48 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '074e04cd-ac4f-42eb-b2de-12d25fe53ed3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '9416065d-7fff-4129-81e6-555d8a2764b5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:53 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '711b6c7c-8e75-4fe7-952b-21118036015e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '4832d24e-71c4-483b-851c-00b58a2a8958', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:57 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '62e7511c-206d-4824-b23d-5e984e9cb701', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:49:59 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '52cad5ce-8489-4de9-87d4-db91ddf6c43c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:01 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '3565d48a-c0a1-44bf-8f5c-f697c77d2082', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:03 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:49:24Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '43275ce0-7295-4796-aaa9-37575ed0bc9e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:50:07Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:07.6334061Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":25,"text":"The food was unacceptable","targets":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":13,"length":12,"text":"unacceptable","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":25,"text":"The rooms were beautiful.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":9,"text":"beautiful","isNegated":false}]},{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":26,"length":26,"text":"The AC was good and quiet.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":30,"length":2,"text":"AC","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/0"},{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":37,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":46,"length":5,"text":"quiet","isNegated":false}]}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"offset":0,"length":50,"text":"The breakfast was good, but the toilet was smelly.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":32,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":18,"length":4,"text":"good","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":43,"length":6,"text":"smelly","isNegated":false}]}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":71,"text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":11,"length":5,"text":"hotel","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":24,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":41,"length":15,"text":"shuttle service","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":65,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/3"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":19,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":36,"length":4,"text":"nice","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":5,"text":"loved","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":59,"length":5,"text":"clean","isNegated":false}]}],"warnings":[]},{"id":"4","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":56,"text":"I had a great unobstructed view of the Microsoft campus.","targets":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"negative":0.03},"offset":27,"length":4,"text":"view","relations":[{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":8,"length":5,"text":"great","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":0.93,"negative":0.07},"offset":14,"length":12,"text":"unobstructed","isNegated":false}]}],"warnings":[]},{"id":"5","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":75,"text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '164', + 'apim-request-id', + '0643025e-d44b-4393-9cff-8fabc6e7b546', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/34427250-608e-4192-9f6d-760c2905a346') + .query(true) + .reply(200, {"jobId":"34427250-608e-4192-9f6d-760c2905a346","lastUpdateDateTime":"2021-06-25T19:50:07Z","createdDateTime":"2021-06-25T19:49:23Z","expirationDateTime":"2021-06-26T19:49:23Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"sentimentAnalysisTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:07.6334061Z","taskName":"SentimentAnalysis_latest","state":"succeeded","results":{"documents":[{"id":"0","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":25,"text":"The food was unacceptable","targets":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":4,"length":4,"text":"food","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":13,"length":12,"text":"unacceptable","isNegated":false}]}],"warnings":[]},{"id":"1","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":25,"text":"The rooms were beautiful.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":15,"length":9,"text":"beautiful","isNegated":false}]},{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":26,"length":26,"text":"The AC was good and quiet.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":30,"length":2,"text":"AC","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/0"},{"relationType":"assessment","ref":"#/documents/1/sentences/1/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":37,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":46,"length":5,"text":"quiet","isNegated":false}]}],"warnings":[]},{"id":"2","sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"neutral":0,"negative":0.99},"offset":0,"length":50,"text":"The breakfast was good, but the toilet was smelly.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":4,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":32,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/2/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":18,"length":4,"text":"good","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":43,"length":6,"text":"smelly","isNegated":false}]}],"warnings":[]},{"id":"3","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":71,"text":"Loved this hotel - good breakfast - nice shuttle service - clean rooms.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":11,"length":5,"text":"hotel","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":24,"length":9,"text":"breakfast","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":41,"length":15,"text":"shuttle service","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":65,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/1"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/3"},{"relationType":"assessment","ref":"#/documents/3/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":19,"length":4,"text":"good","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":36,"length":4,"text":"nice","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":5,"text":"loved","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":59,"length":5,"text":"clean","isNegated":false}]}],"warnings":[]},{"id":"4","sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"sentences":[{"sentiment":"positive","confidenceScores":{"positive":1,"neutral":0,"negative":0},"offset":0,"length":56,"text":"I had a great unobstructed view of the Microsoft campus.","targets":[{"sentiment":"positive","confidenceScores":{"positive":0.97,"negative":0.03},"offset":27,"length":4,"text":"view","relations":[{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/0"},{"relationType":"assessment","ref":"#/documents/4/sentences/0/assessments/1"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":8,"length":5,"text":"great","isNegated":false},{"sentiment":"positive","confidenceScores":{"positive":0.93,"negative":0.07},"offset":14,"length":12,"text":"unobstructed","isNegated":false}]}],"warnings":[]},{"id":"5","sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"sentences":[{"sentiment":"negative","confidenceScores":{"positive":0,"neutral":0,"negative":1},"offset":0,"length":75,"text":"Nice rooms but bathrooms were old and the toilet was dirty when we arrived.","targets":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":5,"length":5,"text":"rooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/0"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":15,"length":9,"text":"bathrooms","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/1"}]},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":42,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/0/sentences/0/assessments/2"}]}],"assessments":[{"sentiment":"positive","confidenceScores":{"positive":1,"negative":0},"offset":0,"length":4,"text":"nice","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":30,"length":3,"text":"old","isNegated":false},{"sentiment":"negative","confidenceScores":{"positive":0,"negative":1},"offset":53,"length":5,"text":"dirty","isNegated":false}]}],"warnings":[]},{"id":"6","sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"sentences":[{"sentiment":"neutral","confidenceScores":{"positive":0.03,"neutral":0.63,"negative":0.34},"offset":0,"length":19,"text":"The toilet smelled.","targets":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":4,"length":6,"text":"toilet","relations":[{"relationType":"assessment","ref":"#/documents/1/sentences/0/assessments/0"}]}],"assessments":[{"sentiment":"negative","confidenceScores":{"positive":0.01,"negative":0.99},"offset":11,"length":7,"text":"smelled","isNegated":false}]}],"warnings":[]}],"errors":[],"modelVersion":"2020-04-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '128', + 'apim-request-id', + 'e138f04e-c8b8-4a6b-9d52-900f84ee1b51', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:07 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.js new file mode 100644 index 000000000000..7bf21f21d7d8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_some_documents_with_errors_and_multiple_actions.js @@ -0,0 +1,324 @@ +let nock = require('nock'); + +module.exports.hash = "54aec3c73b9ae9b09b8628e841ec1182"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"","language":""},{"id":"2","text":"I did not like the hotel we stayed at. It was too expensive.","language":"english"},{"id":"3","text":"The restaurant had really good food. I recommend you try it.","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285', + 'x-envoy-upstream-service-time', + '292', + 'apim-request-id', + 'a0a0172a-77b9-46e2-94e5-fbbc8240120e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:08Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '99dc991f-39fb-4bc7-b5f5-096a2c678054', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:08Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '9621be03-9cbf-4504-a7cd-d5593039ea95', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:10Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '9fadc4bd-0366-4de3-837c-2635932a2576', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:10 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:10Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'ea566e9a-b128-4583-8cdd-7f2050076609', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:10Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '5a025f92-fe45-4cb4-b3ff-a2ad9d3eacc7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:10Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '86877864-5336-4f67-8cf0-4ca4d4ee1d8c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:10Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '70', + 'apim-request-id', + '9d16d4d1-c43c-463c-b8f6-d8d76446c918', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:19 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:20Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '121', + 'apim-request-id', + 'd8f52851-430c-46f3-b744-8f6a0c4a8a7a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:20Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '31', + 'apim-request-id', + '55ca7633-42b6-464c-a0d4-1b01a937e377', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:20Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '9a9eb3d1-535d-4baa-8030-e9dbe547e276', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:26Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:26.5953198Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '62', + 'apim-request-id', + '9ec5add5-8683-4b5f-ae65-29aaa927594d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:26Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:26.5953198Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '70', + 'apim-request-id', + 'b2ea2529-77c9-40a1-8995-22b6420cc940', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:26Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:26.5953198Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7657', + 'apim-request-id', + '1d80ad22-5bb7-46e9-89d1-58b13b17b4dc', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:40Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:40.70239Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:26.5953198Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:39.9778679Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '188', + 'apim-request-id', + '7b813465-aa9a-4424-8c0f-834fae83ff3c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/5536f727-0a9a-48d1-ad0e-c96b9f994285') + .query(true) + .reply(200, {"jobId":"5536f727-0a9a-48d1-ad0e-c96b9f994285","lastUpdateDateTime":"2021-06-25T19:50:40Z","createdDateTime":"2021-06-25T19:50:08Z","expirationDateTime":"2021-06-26T19:50:08Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:40.70239Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"3","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.97}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en,es,de,fr,zh-Hans,ar,cs,da,fi,hu,it,ja,ko,no,nl,pl,pt-BR,pt-PT,ru,sv,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:26.5953198Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"The restaurant had really good food. I recommend you try it.","id":"3","entities":[],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,de,en,es,fr,it,pt-BR,pt-PT. For additional details see https://aka.ms/text-analytics/language-support?tabs=named-entity-recognition"}}}],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:50:39.9778679Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"3","keyPhrases":["good food","restaurant"],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: ja,ko,zh-Hans,da,fi,nl,pl,ru,sv,de,en,es,fr,it,pt-BR,pt-PT,af,bg,ca,el,et,hr,hu,id,lv,no,ro,sk,sl,tr. For additional details see https://aka.ms/text-analytics/language-support?tabs=key-phrase-extraction"}}}],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '189', + 'apim-request-id', + '2ff114ea-625b-4d3e-9621-95dfca2edb4e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:50:41 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.js new file mode 100644 index 000000000000..d3b4e6e879e2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_input_with_a_language_hint.js @@ -0,0 +1,324 @@ +let nock = require('nock'); + +module.exports.hash = "4ffd3e67d009b80590ba217bf3c541ab"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"I will go to the park."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a', + 'x-envoy-upstream-service-time', + '257', + 'apim-request-id', + '7b467243-d53a-4db6-b11f-08ca5843753e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:08Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'b1e81c09-8931-4ca6-9b3e-4708bd90389f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:08Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '36', + 'apim-request-id', + '33947db5-07ab-421b-a79e-ed0db5f1b245', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:09Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'a886eb66-24e3-4cb3-b634-84cf0018afbb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:11Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'ca809cd1-1fc9-484f-b765-75575c67d2b2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:13 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:11Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '85aa6e82-a3ac-495a-b9ef-8d8978d72cdf', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:15 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:11Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '5bc20038-6e3e-45e9-87f8-6f19465a8477', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:11Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '15', + 'apim-request-id', + '5ac124da-d03c-4a22-8a84-442f8a8bf497', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:19 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:11Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '8f26050e-67d4-4a56-ae7a-6847b8ab4c47', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:11Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '687aacc3-41bc-46d9-93e0-c66c9b194339', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:11Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'd69fec67-a430-4f44-93e4-24c2b3a903f3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:27Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:27.0832107Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '61', + 'apim-request-id', + 'a288665b-c395-4a68-b549-2ea020e158e2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:29Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:29.4045408Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:27.0832107Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '122', + 'apim-request-id', + '916c1851-cfc6-4950-b156-57363395e200', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:29Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:29.4045408Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:27.0832107Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '135', + 'apim-request-id', + '04557aa8-6195-4015-9d20-c44ef6e06097', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:31 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:33Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:29.4045408Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:27.0832107Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:33.9261088Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Español","document"],"warnings":[]},{"id":"3","keyPhrases":["せ"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '170', + 'apim-request-id', + '31c2adc4-9726-4d5b-bb3e-afdb112669e4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:33 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/40dedd22-c918-4b5e-8e21-be9bddcaae5a') + .query(true) + .reply(200, {"jobId":"40dedd22-c918-4b5e-8e21-be9bddcaae5a","lastUpdateDateTime":"2021-06-25T19:54:33Z","createdDateTime":"2021-06-25T19:54:08Z","expirationDateTime":"2021-06-26T19:54:08Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:29.4045408Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"1","entities":[{"text":"park","category":"Location","offset":17,"length":4,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"Español","category":"Skill","offset":31,"length":7,"confidenceScore":0.92}],"warnings":[]},{"id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:27.0832107Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"I will go to the park.","id":"1","entities":[],"warnings":[]},{"redactedText":"Este es un document escrito en Español.","id":"2","entities":[],"warnings":[]},{"redactedText":"猫は幸せ","id":"3","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:54:33.9261088Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"1","keyPhrases":["park"],"warnings":[]},{"id":"2","keyPhrases":["Español","document"],"warnings":[]},{"id":"3","keyPhrases":["せ"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '171', + 'apim-request-id', + '13126df1-6737-4fde-92d0-785cbbc9c5e0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:54:33 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.js new file mode 100644 index 000000000000..e9bb3dd3e601 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_language_hint.js @@ -0,0 +1,824 @@ +let nock = require('nock'); + +module.exports.hash = "eaed6985137e04614de2332c909af32f"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb', + 'x-envoy-upstream-service-time', + '302', + 'apim-request-id', + 'f0cb266b-24b4-4b33-9291-5a92dcfbfe1a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:51:52Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '6214ef2b-3ef8-4981-89f7-9b86b729d437', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:51:52Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'dd4d6dc7-1409-495c-a102-f880380af7ba', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:51:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '900343e0-5b6f-41ab-a91e-7da087747611', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:51:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'bb5cf691-24fa-4152-99a5-e84b1e26fb7c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:51:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + 'a95f80b2-a3ee-4159-a026-1f74787187f8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:51:58 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '117', + 'apim-request-id', + '567b7b24-8959-4f3b-9bab-b0d265c0ab58', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '110', + 'apim-request-id', + '467f19b1-970d-4474-9a62-be8b0e4e2b6b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '111', + 'apim-request-id', + '5664c387-e7be-42ce-8d97-9186793e0b80', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:04 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '115', + 'apim-request-id', + '6f94ddcd-d1f8-47e5-8d26-334752a73530', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:06 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '113', + 'apim-request-id', + '1d19ee8d-f9b8-48b3-bb91-30417dd81926', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '105', + 'apim-request-id', + 'af2ea1a5-5e7b-4313-977b-32a39dd65d57', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '124', + 'apim-request-id', + '1e768319-7b30-4487-a7cf-e0ee7bb8930b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '155', + 'apim-request-id', + 'ffd42650-13f3-4e6b-b070-e8974c6398bd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:16 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '217', + 'apim-request-id', + '6ec86317-1d0b-409d-a157-c8212a294e83', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:18 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '200', + 'apim-request-id', + '4b17c543-0715-4093-a399-39ccbc16131c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:20 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '145', + 'apim-request-id', + '6737ad49-f715-4395-bd0f-7fba05b02e52', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '118', + 'apim-request-id', + '17867ddb-6f22-4c19-b617-ddfc2b93bb58', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '101', + 'apim-request-id', + 'e42d1514-9124-4d39-8bf3-ef2fe55bf320', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:27 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '147', + 'apim-request-id', + '3b500d12-621a-4d4c-9092-5137e67a6d61', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '444', + 'apim-request-id', + '54aa4a73-1280-464e-9dbb-3dc95a323c9d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:31 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '116', + 'apim-request-id', + '644ee69f-9b6b-44e6-a0b2-3c48ae1a699f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:33 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '153', + 'apim-request-id', + '24d51bef-5b36-4bab-a641-70dea3f7a471', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:35 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '139', + 'apim-request-id', + '258a7492-e80b-4adb-8b61-8d2b2b26bb6d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '116', + 'apim-request-id', + 'de5893b6-ec34-4af2-9db5-8cb62714b94e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '147', + 'apim-request-id', + '75e082a5-fefc-4998-8299-19f10579cafd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '114', + 'apim-request-id', + 'ec9088d9-9b05-443e-9f11-3ae3173025a8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '113', + 'apim-request-id', + 'c60bd722-e9a6-4f81-8170-9bdc6b92fd09', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '147', + 'apim-request-id', + '9835094f-73fe-454a-9daa-c90624bea19d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:00Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '145', + 'apim-request-id', + 'ebe34b7e-6331-41fb-9cbc-4fde5546d790', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '111', + 'apim-request-id', + '28061262-fa93-4e4e-96a8-ce58a71956b8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '128', + 'apim-request-id', + '78e8623d-1aa9-4b80-8803-7b21e2570f5b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '126', + 'apim-request-id', + '800a99ab-00d4-44cf-8616-ffc428955dc5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:52:58 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '121', + 'apim-request-id', + '6ab90042-a204-4f64-b8a4-2efaa0693dd3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '200', + 'apim-request-id', + '6fa648a7-3466-4d67-a9af-650f6a462a9d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '139', + 'apim-request-id', + '66cbe6d8-3e56-481f-ac2a-64e1e562887b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '119', + 'apim-request-id', + 'c7973a97-5b55-46aa-bc7d-df526a086060', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '171', + 'apim-request-id', + 'ab178947-d031-4843-90a2-9f63616164f9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:52:53Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '126', + 'apim-request-id', + '9109c566-d9f9-462b-a3b6-e37ea6195d34', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:53:12Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:12.875933Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '171', + 'apim-request-id', + 'ff716811-7811-4643-aadf-ecef919794f0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:13 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/8c8c6b63-2ce2-4f19-9437-336829efb2eb') + .query(true) + .reply(200, {"jobId":"8c8c6b63-2ce2-4f19-9437-336829efb2eb","lastUpdateDateTime":"2021-06-25T19:53:12Z","createdDateTime":"2021-06-25T19:51:52Z","expirationDateTime":"2021-06-26T19:51:52Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:12.875933Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.9000206Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:52:00.1482753Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '188', + 'apim-request-id', + '16cf89de-51b3-4925-a7d2-b10e0a88f59e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:13 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.js new file mode 100644 index 000000000000..16f0175bf645 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_whole_batch_with_no_language_hint.js @@ -0,0 +1,444 @@ +let nock = require('nock'); + +module.exports.hash = "633fb369e5e1dfb1aa2335c3687e008f"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]},"tasks":{"entityRecognitionTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","stringIndexType":"Utf16CodeUnit"}}],"keyPhraseExtractionTasks":[{"parameters":{"model-version":"latest"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f', + 'x-envoy-upstream-service-time', + '274', + 'apim-request-id', + 'f2b8f71c-14c0-48ec-a31f-83fa6f96be7d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:15Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'e1c3a6ef-346f-4ea3-a5b1-6fb4396c665b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:15Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '4d073897-d538-4d21-b350-cb820eed3bd6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:15Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'ae7f96de-3ea7-42bf-a37d-be739ed84289', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:16 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:15Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '12', + 'apim-request-id', + 'c267ca42-68fc-4680-aee2-816333780f22', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:18 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:15Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":3,"total":3}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '14c993ef-85c5-4800-853b-28a2339bd006', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:20 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:21Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '100', + 'apim-request-id', + 'bb4aa3b2-4561-47dd-ac5f-2e83fdf49414', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:21Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '113', + 'apim-request-id', + '250d205a-b698-442e-8df7-a25993fd6efd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:25 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:21Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":2,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '306', + 'apim-request-id', + '2786396f-ac8a-41d2-8ec4-125c9640f457', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '143', + 'apim-request-id', + 'd06dd8e9-c705-4cb7-b0d7-470ec8484c7a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '129', + 'apim-request-id', + '1e7831f5-43ed-452e-a11e-618c1303a3c6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '129', + 'apim-request-id', + '5ab22296-9f18-4c07-990a-58bd7a7bc83a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '127', + 'apim-request-id', + '3e24346a-82a7-42de-80e5-3c10cc11ebc3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '131', + 'apim-request-id', + 'b5026ba1-9fd2-4d21-94c2-1071e08d38e7', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:39 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '113', + 'apim-request-id', + '4c5be3b8-2eae-42c9-b2e4-529799205e33', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '118', + 'apim-request-id', + '36575301-4170-4fd1-987f-05f19139d04a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '123', + 'apim-request-id', + 'b2319756-379d-4037-b074-f36f66e8b7f0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '124', + 'apim-request-id', + 'f4573b71-23d2-41cc-9122-3d7affb1c40c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '132', + 'apim-request-id', + '756cafcd-e4cf-4a7d-b173-1b3535cdd1ce', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:28Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":2,"failed":0,"inProgress":1,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '120', + 'apim-request-id', + 'ad501c72-6704-4089-aa86-1fe430464f72', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:51 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:54Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:54.069663Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '170', + 'apim-request-id', + '9da5bd5c-0e1a-46bd-b0dc-a902cf265886', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/99814070-33c6-4867-9330-b9eb0385889f') + .query(true) + .reply(200, {"jobId":"99814070-33c6-4867-9330-b9eb0385889f","lastUpdateDateTime":"2021-06-25T19:53:54Z","createdDateTime":"2021-06-25T19:53:14Z","expirationDateTime":"2021-06-26T19:53:14Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":3,"failed":0,"inProgress":0,"total":3,"entityRecognitionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:21.7860829Z","taskName":"NamedEntityRecognition_latest","state":"succeeded","results":{"documents":[{"id":"0","entities":[],"warnings":[]},{"id":"1","entities":[{"text":"hotel","category":"Location","offset":19,"length":5,"confidenceScore":0.99}],"warnings":[]},{"id":"2","entities":[{"text":"restaurant","category":"Location","subcategory":"Structural","offset":4,"length":10,"confidenceScore":0.96}],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}],"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:28.9130117Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"This was the best day of my life.","id":"0","entities":[],"warnings":[]},{"redactedText":"I did not like the hotel we stayed at. It was too expensive.","id":"1","entities":[],"warnings":[]},{"redactedText":"The restaurant was not as good as I hoped.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}],"keyPhraseExtractionTasks":[{"lastUpdateDateTime":"2021-06-25T19:53:54.069663Z","taskName":"KeyPhraseExtraction_latest","state":"succeeded","results":{"documents":[{"id":"0","keyPhrases":["best day","life"],"warnings":[]},{"id":"1","keyPhrases":["hotel"],"warnings":[]},{"id":"2","keyPhrases":["restaurant"],"warnings":[]}],"errors":[],"modelVersion":"2021-06-01"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '163', + 'apim-request-id', + 'd7d3e0aa-350b-41ee-8965-e00c2a142976', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:53:54 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_all_documents_have_errors.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.js similarity index 80% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_all_documents_have_errors.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.js index 0cb98f035a7f..d951907c1ed5 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_all_documents_have_errors.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_documents_have_errors.js @@ -1,53 +1,53 @@ let nock = require('nock'); -module.exports.hash = "db46235452f19566ad5f83dabef0ca4f"; +module.exports.hash = "815354ea5278df76f87bbbeb9918c9d0"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":"english"},{"id":"3","text":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":"english"},{"id":"3","text":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}]}) .query(true) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/c8539740-0d67-4225-b59b-78e441aee457', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/10e0485f-7955-4202-a551-a0bfd49657b6', 'x-envoy-upstream-service-time', - '132', + '178', 'apim-request-id', - 'b2c17104-a500-48d3-b35e-9c153679ac51', + '77f9016f-05aa-4e46-97e6-7a5c2c051e13', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:45 GMT' + 'Fri, 25 Jun 2021 19:56:52 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/c8539740-0d67-4225-b59b-78e441aee457') + .get('//text/analytics/v3.1/entities/health/jobs/10e0485f-7955-4202-a551-a0bfd49657b6') .query(true) - .reply(200, {"jobId":"c8539740-0d67-4225-b59b-78e441aee457","lastUpdateDateTime":"2021-05-12T19:05:45Z","createdDateTime":"2021-05-12T19:05:45Z","expirationDateTime":"2021-05-13T19:05:45Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"10e0485f-7955-4202-a551-a0bfd49657b6","lastUpdateDateTime":"2021-06-25T19:56:53Z","createdDateTime":"2021-06-25T19:56:53Z","expirationDateTime":"2021-06-26T19:56:53Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '5', + '7', 'apim-request-id', - 'b2158377-8646-498b-b33d-a3376e67ff98', + '98b79d32-db2a-483a-90fc-8d5210285cc2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:45 GMT' + 'Fri, 25 Jun 2021 19:56:53 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/c8539740-0d67-4225-b59b-78e441aee457') + .get('//text/analytics/v3.1/entities/health/jobs/10e0485f-7955-4202-a551-a0bfd49657b6') .query(true) - .reply(200, {"jobId":"c8539740-0d67-4225-b59b-78e441aee457","lastUpdateDateTime":"2021-05-12T19:05:45Z","createdDateTime":"2021-05-12T19:05:45Z","expirationDateTime":"2021-05-13T19:05:45Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"10e0485f-7955-4202-a551-a0bfd49657b6","lastUpdateDateTime":"2021-06-25T19:56:53Z","createdDateTime":"2021-06-25T19:56:53Z","expirationDateTime":"2021-06-26T19:56:53Z","status":"running","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -55,51 +55,51 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - 'c93f35e0-cd35-436a-8dde-4a88c4ba5292', + '5498bb05-3671-4123-96ee-a76364d5f509', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:45 GMT' + 'Fri, 25 Jun 2021 19:56:53 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/c8539740-0d67-4225-b59b-78e441aee457') + .get('//text/analytics/v3.1/entities/health/jobs/10e0485f-7955-4202-a551-a0bfd49657b6') .query(true) - .reply(200, {"jobId":"c8539740-0d67-4225-b59b-78e441aee457","lastUpdateDateTime":"2021-05-12T19:05:47Z","createdDateTime":"2021-05-12T19:05:45Z","expirationDateTime":"2021-05-13T19:05:45Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"10e0485f-7955-4202-a551-a0bfd49657b6","lastUpdateDateTime":"2021-06-25T19:56:54Z","createdDateTime":"2021-06-25T19:56:53Z","expirationDateTime":"2021-06-26T19:56:53Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '54', + '80', 'apim-request-id', - 'c951f6fd-e2db-4c8b-a026-04bee520bb9b', + '02b9ea77-3867-49f1-b4a3-557716718e7d', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:47 GMT' + 'Fri, 25 Jun 2021 19:56:55 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/c8539740-0d67-4225-b59b-78e441aee457') + .get('//text/analytics/v3.1/entities/health/jobs/10e0485f-7955-4202-a551-a0bfd49657b6') .query(true) - .reply(200, {"jobId":"c8539740-0d67-4225-b59b-78e441aee457","lastUpdateDateTime":"2021-05-12T19:05:47Z","createdDateTime":"2021-05-12T19:05:45Z","expirationDateTime":"2021-05-13T19:05:45Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"10e0485f-7955-4202-a551-a0bfd49657b6","lastUpdateDateTime":"2021-06-25T19:56:54Z","createdDateTime":"2021-06-25T19:56:53Z","expirationDateTime":"2021-06-26T19:56:53Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"A document within the request was too large to be processed. Limit document size to: 5120 text elements. For additional details on the data limitations see https://aka.ms/text-analytics-data-limits"}}}],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '54', + '78', 'apim-request-id', - 'ee40415d-d2fc-4702-a038-14d2a9e1dbfe', + 'cbdfdbfc-5643-4e51-bd23-869dbf065cc5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:47 GMT' + 'Fri, 25 Jun 2021 19:56:55 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js similarity index 51% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js index 735f493da8ca..2f5a5ef70438 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_all_inputs_with_errors.js @@ -1,125 +1,105 @@ let nock = require('nock'); -module.exports.hash = "502c2a738b30a7fc46c968423a28b552"; +module.exports.hash = "0c018911d7b8c915100686d9373b4af8"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"","language":"en"},{"id":"2","text":"Patient does not suffer from high blood pressure.","language":"english"},{"id":"3","text":"","language":"en"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"","language":"en"},{"id":"2","text":"Patient does not suffer from high blood pressure.","language":"english"},{"id":"3","text":"","language":"en"}]}) .query(true) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/a4c37b16-f653-486a-a29e-41a55edfa3f0', 'x-envoy-upstream-service-time', - '114', + '205', 'apim-request-id', - 'd6a7fae8-118c-46dd-9450-c8d15072606f', + '24a5619f-a8fc-4f56-b8a1-750ab78d5c80', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:43 GMT' + 'Fri, 25 Jun 2021 19:56:20 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7') + .get('//text/analytics/v3.1/entities/health/jobs/a4c37b16-f653-486a-a29e-41a55edfa3f0') .query(true) - .reply(200, {"jobId":"0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7","lastUpdateDateTime":"2021-05-12T19:04:43Z","createdDateTime":"2021-05-12T19:04:43Z","expirationDateTime":"2021-05-13T19:04:43Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"a4c37b16-f653-486a-a29e-41a55edfa3f0","lastUpdateDateTime":"2021-06-25T19:56:21Z","createdDateTime":"2021-06-25T19:56:20Z","expirationDateTime":"2021-06-26T19:56:20Z","status":"running","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '9', 'apim-request-id', - '26902e56-5083-4c0a-93f3-5180e17bb375', + 'cce7d183-47f5-44c6-9be1-4502b990dc00', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:43 GMT' + 'Fri, 25 Jun 2021 19:56:20 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7') + .get('//text/analytics/v3.1/entities/health/jobs/a4c37b16-f653-486a-a29e-41a55edfa3f0') .query(true) - .reply(200, {"jobId":"0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7","lastUpdateDateTime":"2021-05-12T19:04:43Z","createdDateTime":"2021-05-12T19:04:43Z","expirationDateTime":"2021-05-13T19:04:43Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"a4c37b16-f653-486a-a29e-41a55edfa3f0","lastUpdateDateTime":"2021-06-25T19:56:21Z","createdDateTime":"2021-06-25T19:56:20Z","expirationDateTime":"2021-06-26T19:56:20Z","status":"running","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '7', 'apim-request-id', - '994a87b8-4326-4c26-b168-84ddef4e78f8', + '10527dc3-0849-4645-94c4-274148f8ec24', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:43 GMT' + 'Fri, 25 Jun 2021 19:56:20 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7') + .get('//text/analytics/v3.1/entities/health/jobs/a4c37b16-f653-486a-a29e-41a55edfa3f0') .query(true) - .reply(200, {"jobId":"0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7","lastUpdateDateTime":"2021-05-12T19:04:43Z","createdDateTime":"2021-05-12T19:04:43Z","expirationDateTime":"2021-05-13T19:04:43Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"a4c37b16-f653-486a-a29e-41a55edfa3f0","lastUpdateDateTime":"2021-06-25T19:56:21Z","createdDateTime":"2021-06-25T19:56:20Z","expirationDateTime":"2021-06-26T19:56:20Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '78', 'apim-request-id', - 'dda82688-a216-4d47-9e65-c37043ae173f', + 'eb3fbcd0-c4b1-49b4-b573-c1b7d8fa18df', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:45 GMT' + 'Fri, 25 Jun 2021 19:56:23 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7') + .get('//text/analytics/v3.1/entities/health/jobs/a4c37b16-f653-486a-a29e-41a55edfa3f0') .query(true) - .reply(200, {"jobId":"0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7","lastUpdateDateTime":"2021-05-12T19:04:46Z","createdDateTime":"2021-05-12T19:04:43Z","expirationDateTime":"2021-05-13T19:04:43Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"a4c37b16-f653-486a-a29e-41a55edfa3f0","lastUpdateDateTime":"2021-06-25T19:56:21Z","createdDateTime":"2021-06-25T19:56:20Z","expirationDateTime":"2021-06-26T19:56:20Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '48', + '74', 'apim-request-id', - 'c9d45d81-5034-4f28-bb63-8f8ad743c7e3', + 'c1ee8a4d-2d36-408b-b0d5-37c5e35a69f7', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:47 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7') - .query(true) - .reply(200, {"jobId":"0c5bc7b0-8bdb-4819-a15c-77e4c497d1f7","lastUpdateDateTime":"2021-05-12T19:04:46Z","createdDateTime":"2021-05-12T19:04:43Z","expirationDateTime":"2021-05-13T19:04:43Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}},{"id":"3","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '47', - 'apim-request-id', - '23c5dff1-0648-45a3-b7d2-eb066420fb77', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:47 GMT' + 'Fri, 25 Jun 2021 19:56:23 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_cancelled.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_cancelled.js new file mode 100644 index 000000000000..0fc05d025190 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_cancelled.js @@ -0,0 +1,64 @@ +let nock = require('nock'); + +module.exports.hash = "d0dea63ab7cc530d4397e7208f975080"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/f80e12eb-e715-4e61-9ebd-fbdc971af35a', + 'x-envoy-upstream-service-time', + '151', + 'apim-request-id', + '4567ecab-6b9f-4fd7-a19a-fc3eb59209aa', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/f80e12eb-e715-4e61-9ebd-fbdc971af35a') + .query(true) + .reply(200, {"jobId":"f80e12eb-e715-4e61-9ebd-fbdc971af35a","lastUpdateDateTime":"2021-06-25T19:56:56Z","createdDateTime":"2021-06-25T19:56:56Z","expirationDateTime":"2021-06-26T19:56:56Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'c2f098df-6ae5-451d-8491-d3adb49b7dce', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .delete('//text/analytics/v3.1/entities/health/jobs/f80e12eb-e715-4e61-9ebd-fbdc971af35a') + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/f80e12eb-e715-4e61-9ebd-fbdc971af35a', + 'x-envoy-upstream-service-time', + '16', + 'apim-request-id', + 'c49477af-8175-4683-8658-5831b781b6f8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:55 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_document_warnings.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_document_warnings.js similarity index 52% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_document_warnings.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_document_warnings.js index 4fbbeaf1cc73..af4a65792ee3 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_document_warnings.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_document_warnings.js @@ -1,105 +1,105 @@ let nock = require('nock'); -module.exports.hash = "f8a5f7ad0b9546a9cbb856f66ab9f72e"; +module.exports.hash = "fcf7c06497229418e8940596f0f9de59"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"This won't actually create a warning :'("}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"This won't actually create a warning :'("}]}) .query(true) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/763d1b09-7957-4e46-824d-58a0411f7d3b', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/fb29d471-cec9-4687-9a6d-d79ab08caa16', 'x-envoy-upstream-service-time', - '94', + '131', 'apim-request-id', - '0f7df88c-07a6-47f7-b78c-062fc200eb50', + '8a74d81a-30c8-4012-b1a7-e325538f78f9', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:49 GMT' + 'Fri, 25 Jun 2021 19:56:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/763d1b09-7957-4e46-824d-58a0411f7d3b') + .get('//text/analytics/v3.1/entities/health/jobs/fb29d471-cec9-4687-9a6d-d79ab08caa16') .query(true) - .reply(200, {"jobId":"763d1b09-7957-4e46-824d-58a0411f7d3b","lastUpdateDateTime":"2021-05-12T19:04:50Z","createdDateTime":"2021-05-12T19:04:50Z","expirationDateTime":"2021-05-13T19:04:50Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"fb29d471-cec9-4687-9a6d-d79ab08caa16","lastUpdateDateTime":"2021-06-25T19:56:26Z","createdDateTime":"2021-06-25T19:56:26Z","expirationDateTime":"2021-06-26T19:56:26Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '9', 'apim-request-id', - '7a992fd1-96f7-413b-a154-bb254eabbcf6', + 'f3d7105e-3b30-468d-9767-f62442431b28', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:49 GMT' + 'Fri, 25 Jun 2021 19:56:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/763d1b09-7957-4e46-824d-58a0411f7d3b') + .get('//text/analytics/v3.1/entities/health/jobs/fb29d471-cec9-4687-9a6d-d79ab08caa16') .query(true) - .reply(200, {"jobId":"763d1b09-7957-4e46-824d-58a0411f7d3b","lastUpdateDateTime":"2021-05-12T19:04:50Z","createdDateTime":"2021-05-12T19:04:50Z","expirationDateTime":"2021-05-13T19:04:50Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"fb29d471-cec9-4687-9a6d-d79ab08caa16","lastUpdateDateTime":"2021-06-25T19:56:26Z","createdDateTime":"2021-06-25T19:56:26Z","expirationDateTime":"2021-06-26T19:56:26Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '6', 'apim-request-id', - '3aeecffc-9871-4c82-a10e-f7eb5bd92a77', + 'bbdfd4a4-8e6c-42c8-a447-a4b139595669', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:49 GMT' + 'Fri, 25 Jun 2021 19:56:26 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/763d1b09-7957-4e46-824d-58a0411f7d3b') + .get('//text/analytics/v3.1/entities/health/jobs/fb29d471-cec9-4687-9a6d-d79ab08caa16') .query(true) - .reply(200, {"jobId":"763d1b09-7957-4e46-824d-58a0411f7d3b","lastUpdateDateTime":"2021-05-12T19:04:51Z","createdDateTime":"2021-05-12T19:04:50Z","expirationDateTime":"2021-05-13T19:04:50Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"fb29d471-cec9-4687-9a6d-d79ab08caa16","lastUpdateDateTime":"2021-06-25T19:56:29Z","createdDateTime":"2021-06-25T19:56:26Z","expirationDateTime":"2021-06-26T19:56:26Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '34', + '54', 'apim-request-id', - 'ff82c641-f9e2-458d-a482-17f72072658e', + 'c1bc58db-dc3c-48f7-be5b-742b952af9b0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:51 GMT' + 'Fri, 25 Jun 2021 19:56:29 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/763d1b09-7957-4e46-824d-58a0411f7d3b') + .get('//text/analytics/v3.1/entities/health/jobs/fb29d471-cec9-4687-9a6d-d79ab08caa16') .query(true) - .reply(200, {"jobId":"763d1b09-7957-4e46-824d-58a0411f7d3b","lastUpdateDateTime":"2021-05-12T19:04:51Z","createdDateTime":"2021-05-12T19:04:50Z","expirationDateTime":"2021-05-13T19:04:50Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"fb29d471-cec9-4687-9a6d-d79ab08caa16","lastUpdateDateTime":"2021-06-25T19:56:29Z","createdDateTime":"2021-06-25T19:56:26Z","expirationDateTime":"2021-06-26T19:56:26Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '35', + '64', 'apim-request-id', - '81fe95a3-4e6c-495a-bfa5-aaa1e75ab034', + '7d0449d2-4c77-4682-9980-0c84c782bc07', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:52 GMT' + 'Fri, 25 Jun 2021 19:56:29 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js similarity index 67% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js index ad53694d88c9..fd4070d0e07c 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_documents_with_duplicate_ids.js @@ -1,11 +1,11 @@ let nock = require('nock'); -module.exports.hash = "e54d5f4d8fca2689c41edeeb26fc3382"; +module.exports.hash = "f3f46cab08b3670e4445e7d19a63d3c5"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"hello world"},{"id":"1","text":"I did not like the hotel we stayed at."}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"hello world"},{"id":"1","text":"I did not like the hotel we stayed at."}]}) .query(true) .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Request contains duplicated Ids. Make sure each document has a unique Id."}}}, [ 'Transfer-Encoding', @@ -13,13 +13,13 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '31', + '4', 'apim-request-id', - 'e582f457-eb5a-4ad1-91d9-2c74bb9f142d', + 'dd4d5c09-0930-44c4-98b2-2d2d3a0cc3d3', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:47 GMT' + 'Fri, 25 Jun 2021 19:56:55 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_entity_assertions.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_entity_assertions.js similarity index 81% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_entity_assertions.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_entity_assertions.js index 968f74b715f0..00d585926db4 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_entity_assertions.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_entity_assertions.js @@ -1,145 +1,105 @@ let nock = require('nock'); -module.exports.hash = "5840d4625aa6b1eec9bfc70b7813a971"; +module.exports.hash = "6c84b95328582df279435043ada9d912"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too.","language":"en"}]}) .query(true) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/f4f000c7-2543-488e-8959-c31ee70303f9', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/a358c1c9-3e10-4e77-9171-76eddb1111f3', 'x-envoy-upstream-service-time', - '7731', + '152', 'apim-request-id', - '6a75ed34-05e2-41a4-a478-a46068829d83', + '36c383a8-432b-4396-a66b-0e2630fd4ff0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Mon, 07 Jun 2021 21:25:30 GMT' + 'Fri, 25 Jun 2021 19:55:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f4f000c7-2543-488e-8959-c31ee70303f9') + .get('//text/analytics/v3.1/entities/health/jobs/a358c1c9-3e10-4e77-9171-76eddb1111f3') .query(true) - .reply(200, {"jobId":"f4f000c7-2543-488e-8959-c31ee70303f9","lastUpdateDateTime":"2021-06-07T21:25:31Z","createdDateTime":"2021-06-07T21:25:23Z","expirationDateTime":"2021-06-08T21:25:23Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"a358c1c9-3e10-4e77-9171-76eddb1111f3","lastUpdateDateTime":"2021-06-25T19:55:58Z","createdDateTime":"2021-06-25T19:55:58Z","expirationDateTime":"2021-06-26T19:55:58Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7586', + '7', 'apim-request-id', - '818f3a0d-6c82-443c-9e9f-0d176dab7e78', + '4a32db19-2253-4243-bf36-38bd7c81e532', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Mon, 07 Jun 2021 21:25:38 GMT' + 'Fri, 25 Jun 2021 19:55:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f4f000c7-2543-488e-8959-c31ee70303f9') + .get('//text/analytics/v3.1/entities/health/jobs/a358c1c9-3e10-4e77-9171-76eddb1111f3') .query(true) - .reply(200, {"jobId":"f4f000c7-2543-488e-8959-c31ee70303f9","lastUpdateDateTime":"2021-06-07T21:25:31Z","createdDateTime":"2021-06-07T21:25:23Z","expirationDateTime":"2021-06-08T21:25:23Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"a358c1c9-3e10-4e77-9171-76eddb1111f3","lastUpdateDateTime":"2021-06-25T19:55:58Z","createdDateTime":"2021-06-25T19:55:58Z","expirationDateTime":"2021-06-26T19:55:58Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '2588', + '9', 'apim-request-id', - 'b5cc8148-19f5-4c3f-af06-072410710891', + '4b0a6ae9-cd3f-4161-af0d-5e89c5c10b04', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Mon, 07 Jun 2021 21:25:40 GMT' + 'Fri, 25 Jun 2021 19:55:58 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f4f000c7-2543-488e-8959-c31ee70303f9') + .get('//text/analytics/v3.1/entities/health/jobs/a358c1c9-3e10-4e77-9171-76eddb1111f3') .query(true) - .reply(200, {"jobId":"f4f000c7-2543-488e-8959-c31ee70303f9","lastUpdateDateTime":"2021-06-07T21:25:43Z","createdDateTime":"2021-06-07T21:25:23Z","expirationDateTime":"2021-06-08T21:25:23Z","status":"running","errors":[]}, [ + .reply(200, {"jobId":"a358c1c9-3e10-4e77-9171-76eddb1111f3","lastUpdateDateTime":"2021-06-25T19:55:58Z","createdDateTime":"2021-06-25T19:55:58Z","expirationDateTime":"2021-06-26T19:55:58Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.94,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":1,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":1,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.9,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"FamilyRelation","confidenceScore":1,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '5031', + '47', 'apim-request-id', - '25fb5f62-5b08-4f3f-bb7a-efd6675537aa', + '322ca7a1-b088-4b32-989f-56eb8ceb4183', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Mon, 07 Jun 2021 21:25:48 GMT' + 'Fri, 25 Jun 2021 19:56:00 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f4f000c7-2543-488e-8959-c31ee70303f9') + .get('//text/analytics/v3.1/entities/health/jobs/a358c1c9-3e10-4e77-9171-76eddb1111f3') .query(true) - .reply(200, {"jobId":"f4f000c7-2543-488e-8959-c31ee70303f9","lastUpdateDateTime":"2021-06-07T21:25:43Z","createdDateTime":"2021-06-07T21:25:23Z","expirationDateTime":"2021-06-08T21:25:23Z","status":"running","errors":[]}, [ + .reply(200, {"jobId":"a358c1c9-3e10-4e77-9171-76eddb1111f3","lastUpdateDateTime":"2021-06-25T19:55:58Z","createdDateTime":"2021-06-25T19:55:58Z","expirationDateTime":"2021-06-26T19:55:58Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.94,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":1,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":1,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.9,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"FamilyRelation","confidenceScore":1,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '2697', + '55', 'apim-request-id', - 'a12aee4f-946f-4fb9-b41b-27fb94723442', + '181e1e4a-62d1-4ff3-8e12-c59f75ac1ad8', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Mon, 07 Jun 2021 21:25:53 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f4f000c7-2543-488e-8959-c31ee70303f9') - .query(true) - .reply(200, {"jobId":"f4f000c7-2543-488e-8959-c31ee70303f9","lastUpdateDateTime":"2021-06-07T21:25:56Z","createdDateTime":"2021-06-07T21:25:23Z","expirationDateTime":"2021-06-08T21:25:23Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.94,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":1,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":1,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.9,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"FamilyRelation","confidenceScore":1,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '5277', - 'apim-request-id', - '5ad1aa6a-ed33-421f-b4ce-54f5203c20b8', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 07 Jun 2021 21:26:00 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/f4f000c7-2543-488e-8959-c31ee70303f9') - .query(true) - .reply(200, {"jobId":"f4f000c7-2543-488e-8959-c31ee70303f9","lastUpdateDateTime":"2021-06-07T21:25:56Z","createdDateTime":"2021-06-07T21:25:23Z","expirationDateTime":"2021-06-08T21:25:23Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":0,"length":4,"text":"Baby","category":"Age","confidenceScore":0.94,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]},{"offset":24,"length":10,"text":"Meningitis","category":"Diagnosis","confidenceScore":1,"assertion":{"certainty":"negativePossible"},"name":"Meningitis","links":[{"dataSource":"UMLS","id":"C0025289"},{"dataSource":"AOD","id":"0000006185"},{"dataSource":"BI","id":"BI00546"},{"dataSource":"CCPSS","id":"1018016"},{"dataSource":"CCSR_10","id":"NVS001"},{"dataSource":"CHV","id":"0000007932"},{"dataSource":"COSTAR","id":"478"},{"dataSource":"CSP","id":"2042-5301"},{"dataSource":"CST","id":"MENINGITIS"},{"dataSource":"DXP","id":"U002543"},{"dataSource":"HPO","id":"HP:0001287"},{"dataSource":"ICD10","id":"G03.9"},{"dataSource":"ICD10AM","id":"G03.9"},{"dataSource":"ICD10CM","id":"G03.9"},{"dataSource":"ICD9CM","id":"322.9"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU048434"},{"dataSource":"ICPC2P","id":"N71002"},{"dataSource":"LCH","id":"U002901"},{"dataSource":"LCH_NW","id":"sh85083562"},{"dataSource":"LNC","id":"LP20756-0"},{"dataSource":"MDR","id":"10027199"},{"dataSource":"MEDCIN","id":"31192"},{"dataSource":"MEDLINEPLUS","id":"324"},{"dataSource":"MSH","id":"D008581"},{"dataSource":"NANDA-I","id":"02899"},{"dataSource":"NCI","id":"C26828"},{"dataSource":"NCI_CPTAC","id":"C26828"},{"dataSource":"NCI_CTCAE","id":"E11458"},{"dataSource":"NCI_FDA","id":"2389"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000471780"},{"dataSource":"NCI_NICHD","id":"C26828"},{"dataSource":"OMIM","id":"MTHU005994"},{"dataSource":"PSY","id":"30660"},{"dataSource":"RCD","id":"X000H"},{"dataSource":"SNM","id":"M-40000"},{"dataSource":"SNMI","id":"DA-10010"},{"dataSource":"SNOMEDCT_US","id":"7180009"},{"dataSource":"WHO","id":"0955"}]},{"offset":47,"length":5,"text":"fever","category":"SymptomOrSign","confidenceScore":1,"name":"Fever","links":[{"dataSource":"UMLS","id":"C0015967"},{"dataSource":"AIR","id":"FEVER"},{"dataSource":"AOD","id":"0000004396"},{"dataSource":"BI","id":"BI00751"},{"dataSource":"CCC","id":"K25.2"},{"dataSource":"CCPSS","id":"1017166"},{"dataSource":"CCSR_10","id":"SYM002"},{"dataSource":"CHV","id":"0000005010"},{"dataSource":"COSTAR","id":"300"},{"dataSource":"CPM","id":"65287"},{"dataSource":"CSP","id":"2871-4310"},{"dataSource":"CST","id":"FEVER"},{"dataSource":"DXP","id":"U001483"},{"dataSource":"GO","id":"GO:0001660"},{"dataSource":"HPO","id":"HP:0001945"},{"dataSource":"ICD10","id":"R50.9"},{"dataSource":"ICD10AM","id":"R50.9"},{"dataSource":"ICD10CM","id":"R50.9"},{"dataSource":"ICD9CM","id":"780.60"},{"dataSource":"ICNP","id":"10041539"},{"dataSource":"ICPC","id":"A03"},{"dataSource":"ICPC2EENG","id":"A03"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU041751"},{"dataSource":"ICPC2P","id":"A03002"},{"dataSource":"LCH","id":"U001776"},{"dataSource":"LCH_NW","id":"sh85047994"},{"dataSource":"LNC","id":"MTHU013518"},{"dataSource":"MDR","id":"10005911"},{"dataSource":"MEDCIN","id":"6005"},{"dataSource":"MEDLINEPLUS","id":"511"},{"dataSource":"MSH","id":"D005334"},{"dataSource":"MTHICD9","id":"780.60"},{"dataSource":"NANDA-I","id":"01128"},{"dataSource":"NCI","id":"C3038"},{"dataSource":"NCI_CTCAE","id":"E11102"},{"dataSource":"NCI_FDA","id":"1858"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000450108"},{"dataSource":"NCI_NICHD","id":"C3038"},{"dataSource":"NOC","id":"070307"},{"dataSource":"OMIM","id":"MTHU005439"},{"dataSource":"OMS","id":"50.03"},{"dataSource":"PCDS","id":"PRB_11020.02"},{"dataSource":"PDQ","id":"CDR0000775882"},{"dataSource":"PSY","id":"23840"},{"dataSource":"QMR","id":"Q0200115"},{"dataSource":"RCD","id":"X76EI"},{"dataSource":"SNM","id":"F-03003"},{"dataSource":"SNMI","id":"F-03003"},{"dataSource":"SNOMEDCT_US","id":"386661006"},{"dataSource":"WHO","id":"0725"}]},{"offset":60,"length":6,"text":"mother","category":"FamilyRelation","confidenceScore":0.99,"name":"Mother (person)","links":[{"dataSource":"UMLS","id":"C0026591"},{"dataSource":"AOD","id":"0000027173"},{"dataSource":"CCPSS","id":"U000286"},{"dataSource":"CHV","id":"0000008266"},{"dataSource":"CSP","id":"1124-5492"},{"dataSource":"HL7V3.0","id":"MTH"},{"dataSource":"LCH","id":"U003028"},{"dataSource":"LCH_NW","id":"sh85087526"},{"dataSource":"LNC","id":"LA10417-6"},{"dataSource":"MSH","id":"D009035"},{"dataSource":"NCI","id":"C25189"},{"dataSource":"NCI_CDISC","id":"C25189"},{"dataSource":"NCI_GDC","id":"C25189"},{"dataSource":"PSY","id":"32140"},{"dataSource":"RCD","id":"X78ym"},{"dataSource":"SNMI","id":"S-10120"},{"dataSource":"SNOMEDCT_US","id":"72705000"}]},{"offset":77,"length":10,"text":"Penicillin","category":"MedicationName","confidenceScore":0.9,"assertion":{"certainty":"neutralPossible"},"name":"penicillins","links":[{"dataSource":"UMLS","id":"C0030842"},{"dataSource":"AOD","id":"0000019206"},{"dataSource":"ATC","id":"J01C"},{"dataSource":"CCPSS","id":"0014106"},{"dataSource":"CHV","id":"0000009423"},{"dataSource":"CSP","id":"0199-8025"},{"dataSource":"GS","id":"4011"},{"dataSource":"LCH","id":"U003521"},{"dataSource":"LCH_NW","id":"sh85099402"},{"dataSource":"LNC","id":"LP14319-5"},{"dataSource":"MEDCIN","id":"40319"},{"dataSource":"MMSL","id":"d00116"},{"dataSource":"MSH","id":"D010406"},{"dataSource":"NCI","id":"C1500"},{"dataSource":"NCI_DTP","id":"NSC0402815"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000045296"},{"dataSource":"NDDF","id":"016121"},{"dataSource":"PSY","id":"37190"},{"dataSource":"RCD","id":"x009C"},{"dataSource":"SNM","id":"E-7260"},{"dataSource":"SNMI","id":"C-54000"},{"dataSource":"SNOMEDCT_US","id":"764146007"},{"dataSource":"VANDF","id":"4019880"}]},{"offset":96,"length":4,"text":"baby","category":"FamilyRelation","confidenceScore":1,"name":"Infant","links":[{"dataSource":"UMLS","id":"C0021270"},{"dataSource":"AOD","id":"0000005273"},{"dataSource":"CCPSS","id":"0030805"},{"dataSource":"CHV","id":"0000006675"},{"dataSource":"DXP","id":"U002089"},{"dataSource":"LCH","id":"U002421"},{"dataSource":"LCH_NW","id":"sh85066022"},{"dataSource":"LNC","id":"LA19747-7"},{"dataSource":"MDR","id":"10021731"},{"dataSource":"MSH","id":"D007223"},{"dataSource":"NCI","id":"C27956"},{"dataSource":"NCI_FDA","id":"C27956"},{"dataSource":"NCI_NICHD","id":"C27956"},{"dataSource":"SNOMEDCT_US","id":"133931009"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '5096', - 'apim-request-id', - '63e38be6-1280-4ccc-9bbb-98f4c9d2ddd5', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Mon, 07 Jun 2021 21:26:05 GMT' + 'Fri, 25 Jun 2021 19:56:00 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js similarity index 66% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js index 0128a366f991..cc7f5c6776c6 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_unicodecodepoint.js @@ -1,125 +1,125 @@ let nock = require('nock'); -module.exports.hash = "d975b16d2add4541fc29814b032688e0"; +module.exports.hash = "6197be518bc787450217d0b89ab9001b"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen","language":"en"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen","language":"en"}]}) .query(true) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/eba73647-e324-4fa2-9dfd-fccda2216b8f', 'x-envoy-upstream-service-time', - '78', + '132', 'apim-request-id', - '4c9c91de-15cb-4d32-a51a-cee5c5b0c90c', + 'b46361b1-bbe3-4e6a-9667-3860fedb4bbc', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:57 GMT' + 'Fri, 25 Jun 2021 19:57:31 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60') + .get('//text/analytics/v3.1/entities/health/jobs/eba73647-e324-4fa2-9dfd-fccda2216b8f') .query(true) - .reply(200, {"jobId":"6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60","lastUpdateDateTime":"2021-05-12T19:05:58Z","createdDateTime":"2021-05-12T19:05:58Z","expirationDateTime":"2021-05-13T19:05:58Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"eba73647-e324-4fa2-9dfd-fccda2216b8f","lastUpdateDateTime":"2021-06-25T19:57:31Z","createdDateTime":"2021-06-25T19:57:31Z","expirationDateTime":"2021-06-26T19:57:31Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '13', + '8', 'apim-request-id', - '0983228c-82e6-49d3-98d8-9246f095dc07', + 'b6d71491-26fd-4b26-92f3-5e136436d9b5', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:57 GMT' + 'Fri, 25 Jun 2021 19:57:31 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60') + .get('//text/analytics/v3.1/entities/health/jobs/eba73647-e324-4fa2-9dfd-fccda2216b8f') .query(true) - .reply(200, {"jobId":"6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60","lastUpdateDateTime":"2021-05-12T19:05:58Z","createdDateTime":"2021-05-12T19:05:58Z","expirationDateTime":"2021-05-13T19:05:58Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"eba73647-e324-4fa2-9dfd-fccda2216b8f","lastUpdateDateTime":"2021-06-25T19:57:31Z","createdDateTime":"2021-06-25T19:57:31Z","expirationDateTime":"2021-06-26T19:57:31Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '9', + '12', 'apim-request-id', - '3ba1d217-654f-4398-9d63-e77079f481d7', + '9230a1d0-cc39-4cab-8d5a-a86c7d922e72', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:57 GMT' + 'Fri, 25 Jun 2021 19:57:31 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60') + .get('//text/analytics/v3.1/entities/health/jobs/eba73647-e324-4fa2-9dfd-fccda2216b8f') .query(true) - .reply(200, {"jobId":"6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60","lastUpdateDateTime":"2021-05-12T19:05:58Z","createdDateTime":"2021-05-12T19:05:58Z","expirationDateTime":"2021-05-13T19:05:58Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"eba73647-e324-4fa2-9dfd-fccda2216b8f","lastUpdateDateTime":"2021-06-25T19:57:31Z","createdDateTime":"2021-06-25T19:57:31Z","expirationDateTime":"2021-06-26T19:57:31Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '11', 'apim-request-id', - 'a1741e54-9f2a-40de-a015-0dc5bfff126c', + '626f2bfe-5490-4041-9d67-3d769411f53e', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:59 GMT' + 'Fri, 25 Jun 2021 19:57:33 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60') + .get('//text/analytics/v3.1/entities/health/jobs/eba73647-e324-4fa2-9dfd-fccda2216b8f') .query(true) - .reply(200, {"jobId":"6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60","lastUpdateDateTime":"2021-05-12T19:06:02Z","createdDateTime":"2021-05-12T19:05:58Z","expirationDateTime":"2021-05-13T19:05:58Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":12,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.89,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"eba73647-e324-4fa2-9dfd-fccda2216b8f","lastUpdateDateTime":"2021-06-25T19:57:34Z","createdDateTime":"2021-06-25T19:57:31Z","expirationDateTime":"2021-06-26T19:57:31Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":12,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.99,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '35', + '46', 'apim-request-id', - '6ca4d378-a879-4b74-9605-af351bce88b0', + '3545b446-5b55-473e-a5fd-9229d2bdb115', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:02 GMT' + 'Fri, 25 Jun 2021 19:57:35 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60') + .get('//text/analytics/v3.1/entities/health/jobs/eba73647-e324-4fa2-9dfd-fccda2216b8f') .query(true) - .reply(200, {"jobId":"6cdc427c-b9f3-4e3c-b4d5-2ffc713cbf60","lastUpdateDateTime":"2021-05-12T19:06:02Z","createdDateTime":"2021-05-12T19:05:58Z","expirationDateTime":"2021-05-13T19:05:58Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":12,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.89,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"eba73647-e324-4fa2-9dfd-fccda2216b8f","lastUpdateDateTime":"2021-06-25T19:57:34Z","createdDateTime":"2021-06-25T19:57:31Z","expirationDateTime":"2021-06-26T19:57:31Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":12,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.99,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '37', + '48', 'apim-request-id', - 'c97a2880-bbe4-4fe0-b8a6-08442ae2fe70', + 'c87e444f-3bda-4915-828d-6a7a42ed9f2c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:06:02 GMT' + 'Fri, 25 Jun 2021 19:57:35 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js new file mode 100644 index 000000000000..415cf6daaf8d --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_family_emoji_wit_skin_tone_modifier_with_utf16codeunit.js @@ -0,0 +1,365 @@ +let nock = require('nock'); + +module.exports.hash = "b05b4bf7009369b70b036897b144ee54"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0', + 'x-envoy-upstream-service-time', + '190', + 'apim-request-id', + 'f5642e14-c5da-47b1-8fc5-20220f1bc81e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:01 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '8003cf20-4184-40f3-9b67-a3072a34a7cf', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:01 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'ae1cb81c-4b7f-4373-aeda-2d414c662819', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:01 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + 'd3baa2ec-5c22-4e39-9888-a30d5b6bc632', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:03 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'a8a36748-4f1e-4120-ade1-ad5c9a0a4f04', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'cb17ec1f-ba85-459f-8a14-5cd040a9987e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '09b287d2-897b-4584-92e0-bfaf55279b3a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:10 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '0d235c90-7204-402c-ae07-8cd123be2483', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'c9a45e25-e32e-45fa-9b74-e922fcd08fd0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:01Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '73d66e9b-a35a-4eab-b4a4-69eb7e8edca3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:16 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:16Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '10cf561d-38c8-4be8-81e1-182f211dc437', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:18 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:16Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '65e8c616-9b2a-4ff4-abe3-7ae6bb7ccfec', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:20 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:16Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '4f6ece24-04f8-469b-a5e7-7848aad4fdf3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:22 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:16Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '97', + 'apim-request-id', + '25253237-7373-4e8e-8557-a0c716c8568f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:16Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '64790aef-89a7-49ca-9fb8-338014a3b3c5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:26 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:16Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '6a80377f-5ee8-48ef-9f7a-10bdad65ccd6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:29Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":20,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.99,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '134', + 'apim-request-id', + '4fc61ac6-c4b6-40e5-8b66-ff42bb4101a5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0') + .query(true) + .reply(200, {"jobId":"c872b8c3-8ba0-41cf-bd51-8dd7c274a0a0","lastUpdateDateTime":"2021-06-25T19:57:29Z","createdDateTime":"2021-06-25T19:57:01Z","expirationDateTime":"2021-06-26T19:57:01Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":20,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":0.99,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '58', + 'apim-request-id', + '04a82b15-30db-40c9-9eea-ae3bc7d62222', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:30 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_documents.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_documents.js new file mode 100644 index 000000000000..c8147570c473 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_documents.js @@ -0,0 +1,245 @@ +let nock = require('nock'); + +module.exports.hash = "43b3d39525e456cf5912f65d3d091d10"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c', + 'x-envoy-upstream-service-time', + '154', + 'apim-request-id', + 'e4017392-7f23-4aca-8312-de419c434f40', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:00Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '80282564-ad69-4f89-a1d2-595f7dc30de0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:00 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:00Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '1126fa47-3650-4cf8-b403-75be46ba9f60', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:01 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:00Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '06cc8de3-7aef-424b-8fda-a8c4173435fd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:02 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:00Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'e2140a39-75ba-402d-aeee-4df6ee7633e0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:06Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + 'ca9c5bf9-4110-472e-bd5a-49007ade526f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:06Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '42e65764-13dc-451c-b4d0-5bf9c2b0c47a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:08 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:06Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'd5b2cb06-74b4-47f6-ba0c-aea92d703452', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:10 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:06Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'a49a6102-ad81-42d6-a0d8-e4cd0219510f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:12 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:06Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'ef70077b-4905-4857-acf2-bed38791e66f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:14 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:16Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '60', + 'apim-request-id', + '811c3d50-51de-490b-ac55-991fdb6c7652', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b79c7e0d-3024-458f-a379-fea143fab95c') + .query(true) + .reply(200, {"jobId":"b79c7e0d-3024-458f-a379-fea143fab95c","lastUpdateDateTime":"2021-06-25T19:56:16Z","createdDateTime":"2021-06-25T19:56:00Z","expirationDateTime":"2021-06-26T19:56:00Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '72', + 'apim-request-id', + '7ed6dbed-6d76-4fe2-8a94-04cd37cfe862', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:17 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_strings.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_strings.js new file mode 100644 index 000000000000..fd13df112eda --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_input_strings.js @@ -0,0 +1,365 @@ +let nock = require('nock'); + +module.exports.hash = "e8fe4b7a699e69181a6d1d694a0b8992"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"1","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174', + 'x-envoy-upstream-service-time', + '178', + 'apim-request-id', + 'b332f371-5799-48aa-8a52-6f3b1025023b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'cf70648d-d293-4296-a6c0-a7efca09074d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'dc700053-6557-4f6b-86ef-e790b7c77171', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '4c420389-eb1b-409a-a488-05325650b1fd', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '45166bef-3094-4e19-9a9d-c3068ba228fb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '4153aaad-5eb3-444d-b55a-f643ec134875', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'bef067c5-3b5d-4d8a-ba4d-4105d8dd9a07', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '6f22ce61-e6ec-4df5-89d8-db4388f84537', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:38 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '671c97cf-bc30-48ff-acbc-8a53defdc94e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:40 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:28Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '17430a29-7cfb-4bc5-901f-ed8dcbd55b18', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:43Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '869a9c19-5da8-452d-9781-1d1701e807d8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:44 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:43Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '02be75e8-25cb-4093-bb76-7468d09f3353', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:46 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:43Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + '7eb44855-b592-47e7-9c2c-ce61cec83e7a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:48 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:43Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '9d239647-ab77-4c71-935f-b95dead3d10b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:43Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '13', + 'apim-request-id', + 'a6f14dab-36ae-480d-bf33-0ea3535ba848', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:43Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '89064c19-87ac-49db-9356-4aa6450b77be', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:54 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:56Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"1","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '65', + 'apim-request-id', + '3112286d-3db1-4be9-9ea8-0206d1ac714d', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:57 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b403a3df-4de3-4763-9e14-14e8ecc76174') + .query(true) + .reply(200, {"jobId":"b403a3df-4de3-4763-9e14-14e8ecc76174","lastUpdateDateTime":"2021-06-25T19:55:56Z","createdDateTime":"2021-06-25T19:55:28Z","expirationDateTime":"2021-06-26T19:55:28Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"1","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '68', + 'apim-request-id', + '4c8acc94-eca6-4932-8242-834f3828d90e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:55:57 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.js new file mode 100644 index 000000000000..a365d91b17b8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint.js @@ -0,0 +1,105 @@ +let nock = require('nock'); + +module.exports.hash = "4fe6d983363e697807ee4c3c068d2783"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/91942678-1be1-4917-9784-7f15b88d94e5', + 'x-envoy-upstream-service-time', + '128', + 'apim-request-id', + '9078b509-ea59-41f0-9349-f59f1f6f9326', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/91942678-1be1-4917-9784-7f15b88d94e5') + .query(true) + .reply(200, {"jobId":"91942678-1be1-4917-9784-7f15b88d94e5","lastUpdateDateTime":"2021-06-25T19:56:48Z","createdDateTime":"2021-06-25T19:56:48Z","expirationDateTime":"2021-06-26T19:56:48Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '24e5704c-debe-4262-b2fb-23233737e5a8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/91942678-1be1-4917-9784-7f15b88d94e5') + .query(true) + .reply(200, {"jobId":"91942678-1be1-4917-9784-7f15b88d94e5","lastUpdateDateTime":"2021-06-25T19:56:48Z","createdDateTime":"2021-06-25T19:56:48Z","expirationDateTime":"2021-06-26T19:56:48Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + '1ae897f2-e406-4357-8aea-d9067502aa41', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:48 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/91942678-1be1-4917-9784-7f15b88d94e5') + .query(true) + .reply(200, {"jobId":"91942678-1be1-4917-9784-7f15b88d94e5","lastUpdateDateTime":"2021-06-25T19:56:48Z","createdDateTime":"2021-06-25T19:56:48Z","expirationDateTime":"2021-06-26T19:56:48Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '45', + 'apim-request-id', + 'b26da439-df73-4fde-9e41-60ff63683151', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/91942678-1be1-4917-9784-7f15b88d94e5') + .query(true) + .reply(200, {"jobId":"91942678-1be1-4917-9784-7f15b88d94e5","lastUpdateDateTime":"2021-06-25T19:56:48Z","createdDateTime":"2021-06-25T19:56:48Z","expirationDateTime":"2021-06-26T19:56:48Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"0","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '46', + 'apim-request-id', + 'e91964b3-e65f-46c0-ac48-dfa68167c760', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:50 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js new file mode 100644 index 000000000000..ed4434ae89ee --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_invalid_language_hint_in_doc.js @@ -0,0 +1,105 @@ +let nock = require('nock'); + +module.exports.hash = "95091b45dc61495bb4243ad632fd8fa2"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"This should fail because we're passing in an invalid language hint","language":"notalanguage"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/40f5adea-ec31-47e3-98cd-6dfc82814c94', + 'x-envoy-upstream-service-time', + '129', + 'apim-request-id', + 'eb835e4e-7adb-44d7-895e-81fecc42ace9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/40f5adea-ec31-47e3-98cd-6dfc82814c94') + .query(true) + .reply(200, {"jobId":"40f5adea-ec31-47e3-98cd-6dfc82814c94","lastUpdateDateTime":"2021-06-25T19:56:51Z","createdDateTime":"2021-06-25T19:56:50Z","expirationDateTime":"2021-06-26T19:56:50Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'e29da8c0-7a72-4dc7-b2af-42ecf4fcfb3c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/40f5adea-ec31-47e3-98cd-6dfc82814c94') + .query(true) + .reply(200, {"jobId":"40f5adea-ec31-47e3-98cd-6dfc82814c94","lastUpdateDateTime":"2021-06-25T19:56:51Z","createdDateTime":"2021-06-25T19:56:50Z","expirationDateTime":"2021-06-26T19:56:50Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '7a1d38df-7e2c-461d-9c1e-0664e91488b9', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:50 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/40f5adea-ec31-47e3-98cd-6dfc82814c94') + .query(true) + .reply(200, {"jobId":"40f5adea-ec31-47e3-98cd-6dfc82814c94","lastUpdateDateTime":"2021-06-25T19:56:51Z","createdDateTime":"2021-06-25T19:56:50Z","expirationDateTime":"2021-06-26T19:56:50Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '41', + 'apim-request-id', + 'cbd75f1a-41d9-4f8a-b68e-c48ae816e07a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:52 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/40f5adea-ec31-47e3-98cd-6dfc82814c94') + .query(true) + .reply(200, {"jobId":"40f5adea-ec31-47e3-98cd-6dfc82814c94","lastUpdateDateTime":"2021-06-25T19:56:51Z","createdDateTime":"2021-06-25T19:56:50Z","expirationDateTime":"2021-06-26T19:56:50Z","status":"succeeded","errors":[],"results":{"documents":[],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '45', + 'apim-request-id', + 'e5d42af7-2142-415d-80bd-ea97eaf9dc79', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:52 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_operation_metadata.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_operation_metadata.js new file mode 100644 index 000000000000..4848b9343610 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_operation_metadata.js @@ -0,0 +1,105 @@ +let nock = require('nock'); + +module.exports.hash = "bbda09162538e6d84e10b61e5d705319"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"Patient does not suffer from high blood pressure.","language":"en"},{"id":"2","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/193b2a3e-a3c1-43bc-8767-14dc71d4606b', + 'x-envoy-upstream-service-time', + '145', + 'apim-request-id', + 'e3058384-d7d7-45c6-ac2e-cf724d710abf', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/193b2a3e-a3c1-43bc-8767-14dc71d4606b') + .query(true) + .reply(200, {"jobId":"193b2a3e-a3c1-43bc-8767-14dc71d4606b","lastUpdateDateTime":"2021-06-25T19:56:56Z","createdDateTime":"2021-06-25T19:56:56Z","expirationDateTime":"2021-06-26T19:56:56Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '9e9cec7e-6548-43b5-bb15-04bd5c944bd8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:55 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/193b2a3e-a3c1-43bc-8767-14dc71d4606b') + .query(true) + .reply(200, {"jobId":"193b2a3e-a3c1-43bc-8767-14dc71d4606b","lastUpdateDateTime":"2021-06-25T19:56:56Z","createdDateTime":"2021-06-25T19:56:56Z","expirationDateTime":"2021-06-26T19:56:56Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'b881f082-06a9-4eec-a09b-09d61c019894', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:56 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/193b2a3e-a3c1-43bc-8767-14dc71d4606b') + .query(true) + .reply(200, {"jobId":"193b2a3e-a3c1-43bc-8767-14dc71d4606b","lastUpdateDateTime":"2021-06-25T19:56:59Z","createdDateTime":"2021-06-25T19:56:56Z","expirationDateTime":"2021-06-26T19:56:56Z","status":"running","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '0e86325e-b961-4d17-a5a5-2ccb44f2c824', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:59 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/193b2a3e-a3c1-43bc-8767-14dc71d4606b') + .query(true) + .reply(200, {"jobId":"193b2a3e-a3c1-43bc-8767-14dc71d4606b","lastUpdateDateTime":"2021-06-25T19:56:59Z","createdDateTime":"2021-06-25T19:56:56Z","expirationDateTime":"2021-06-26T19:56:56Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":29,"length":19,"text":"high blood pressure","category":"SymptomOrSign","confidenceScore":1,"assertion":{"certainty":"negative"},"name":"Hypertensive disease","links":[{"dataSource":"UMLS","id":"C0020538"},{"dataSource":"AOD","id":"0000023317"},{"dataSource":"BI","id":"BI00001"},{"dataSource":"CCPSS","id":"1017493"},{"dataSource":"CCS","id":"7.1"},{"dataSource":"CHV","id":"0000015800"},{"dataSource":"COSTAR","id":"397"},{"dataSource":"CSP","id":"0571-5243"},{"dataSource":"CST","id":"HYPERTENS"},{"dataSource":"DXP","id":"U002034"},{"dataSource":"HPO","id":"HP:0000822"},{"dataSource":"ICD10","id":"I10-I15.9"},{"dataSource":"ICD10AM","id":"I10-I15.9"},{"dataSource":"ICD10CM","id":"I10"},{"dataSource":"ICD9CM","id":"997.91"},{"dataSource":"ICPC2ICD10ENG","id":"MTHU035456"},{"dataSource":"ICPC2P","id":"K85004"},{"dataSource":"LCH","id":"U002317"},{"dataSource":"LCH_NW","id":"sh85063723"},{"dataSource":"LNC","id":"LA14293-7"},{"dataSource":"MDR","id":"10020772"},{"dataSource":"MEDCIN","id":"33288"},{"dataSource":"MEDLINEPLUS","id":"34"},{"dataSource":"MSH","id":"D006973"},{"dataSource":"MTH","id":"005"},{"dataSource":"MTHICD9","id":"997.91"},{"dataSource":"NANDA-I","id":"00905"},{"dataSource":"NCI","id":"C3117"},{"dataSource":"NCI_CPTAC","id":"C3117"},{"dataSource":"NCI_CTCAE","id":"E13785"},{"dataSource":"NCI_CTRP","id":"C3117"},{"dataSource":"NCI_FDA","id":"1908"},{"dataSource":"NCI_GDC","id":"C3117"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000458091"},{"dataSource":"NCI_NICHD","id":"C3117"},{"dataSource":"NOC","id":"060808"},{"dataSource":"OMIM","id":"MTHU002068"},{"dataSource":"PCDS","id":"PRB_11000.06"},{"dataSource":"PDQ","id":"CDR0000686951"},{"dataSource":"PSY","id":"23830"},{"dataSource":"RCD","id":"XE0Ub"},{"dataSource":"SNM","id":"F-70700"},{"dataSource":"SNMI","id":"D3-02000"},{"dataSource":"SNOMEDCT_US","id":"38341003"},{"dataSource":"WHO","id":"0210"}]}],"relations":[],"warnings":[]},{"id":"2","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/1/entities/0","role":"Dosage"},{"ref":"#/results/documents/1/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/1/entities/1","role":"Medication"},{"ref":"#/results/documents/1/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '63', + 'apim-request-id', + '54969ea1-6e3a-4343-a335-9303c3e7621c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:57:01 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js new file mode 100644 index 000000000000..4b2fedeef694 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input.js @@ -0,0 +1,105 @@ +let nock = require('nock'); + +module.exports.hash = "0e70f96b1e4ef4786849ff26599336e7"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"one"},{"id":"2","text":"two"},{"id":"3","text":"three"},{"id":"4","text":"four"},{"id":"5","text":"five"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/34b0732c-2583-4702-9e35-55ba7bbbc70b', + 'x-envoy-upstream-service-time', + '210', + 'apim-request-id', + '64564237-04fa-4c3d-9802-f87bdc776e44', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/34b0732c-2583-4702-9e35-55ba7bbbc70b') + .query(true) + .reply(200, {"jobId":"34b0732c-2583-4702-9e35-55ba7bbbc70b","lastUpdateDateTime":"2021-06-25T19:56:29Z","createdDateTime":"2021-06-25T19:56:29Z","expirationDateTime":"2021-06-26T19:56:29Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '08ef14bf-3c6a-4c00-84ee-0a815dea13bf', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/34b0732c-2583-4702-9e35-55ba7bbbc70b') + .query(true) + .reply(200, {"jobId":"34b0732c-2583-4702-9e35-55ba7bbbc70b","lastUpdateDateTime":"2021-06-25T19:56:29Z","createdDateTime":"2021-06-25T19:56:29Z","expirationDateTime":"2021-06-26T19:56:29Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '2f2eb403-c166-41ec-afa0-9d63d4422db4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:29 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/34b0732c-2583-4702-9e35-55ba7bbbc70b') + .query(true) + .reply(200, {"jobId":"34b0732c-2583-4702-9e35-55ba7bbbc70b","lastUpdateDateTime":"2021-06-25T19:56:31Z","createdDateTime":"2021-06-25T19:56:29Z","expirationDateTime":"2021-06-26T19:56:29Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[{"offset":0,"length":4,"text":"five","category":"Dosage","confidenceScore":0.58}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '150', + 'apim-request-id', + '8f0f3628-f76e-4e5d-a773-0be32f77ce79', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:31 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/34b0732c-2583-4702-9e35-55ba7bbbc70b') + .query(true) + .reply(200, {"jobId":"34b0732c-2583-4702-9e35-55ba7bbbc70b","lastUpdateDateTime":"2021-06-25T19:56:31Z","createdDateTime":"2021-06-25T19:56:29Z","expirationDateTime":"2021-06-26T19:56:29Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]},{"id":"4","entities":[],"relations":[],"warnings":[]},{"id":"5","entities":[{"offset":0,"length":4,"text":"five","category":"Dosage","confidenceScore":0.58}],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '81', + 'apim-request-id', + 'e9fe1a73-9dc9-4b8a-8165-55e7808f235f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:31 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js new file mode 100644 index 000000000000..9fab7e613585 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_output_has_the_same_order_as_input_with_out_of_order_ids.js @@ -0,0 +1,105 @@ +let nock = require('nock'); + +module.exports.hash = "4b2220c5d74f5da44971fae0df1a3912"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":""},{"id":"19","text":":P"},{"id":"1","text":":D"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/b92072c8-9cf5-449a-9fb4-364a14abc9a0', + 'x-envoy-upstream-service-time', + '225', + 'apim-request-id', + '79242d16-0d7a-4589-9528-b2ffabae26bc', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b92072c8-9cf5-449a-9fb4-364a14abc9a0') + .query(true) + .reply(200, {"jobId":"b92072c8-9cf5-449a-9fb4-364a14abc9a0","lastUpdateDateTime":"2021-06-25T19:56:32Z","createdDateTime":"2021-06-25T19:56:32Z","expirationDateTime":"2021-06-26T19:56:32Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '12', + 'apim-request-id', + 'aee15d89-d562-4471-9417-b3fb8117cf5e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b92072c8-9cf5-449a-9fb4-364a14abc9a0') + .query(true) + .reply(200, {"jobId":"b92072c8-9cf5-449a-9fb4-364a14abc9a0","lastUpdateDateTime":"2021-06-25T19:56:32Z","createdDateTime":"2021-06-25T19:56:32Z","expirationDateTime":"2021-06-26T19:56:32Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '468d00be-4fcb-4da3-879b-da989235238a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b92072c8-9cf5-449a-9fb4-364a14abc9a0') + .query(true) + .reply(200, {"jobId":"b92072c8-9cf5-449a-9fb4-364a14abc9a0","lastUpdateDateTime":"2021-06-25T19:56:34Z","createdDateTime":"2021-06-25T19:56:32Z","expirationDateTime":"2021-06-26T19:56:32Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '79', + 'apim-request-id', + 'b1a31914-768b-4b4f-962f-f0eb68ef7805', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/b92072c8-9cf5-449a-9fb4-364a14abc9a0') + .query(true) + .reply(200, {"jobId":"b92072c8-9cf5-449a-9fb4-364a14abc9a0","lastUpdateDateTime":"2021-06-25T19:56:34Z","createdDateTime":"2021-06-25T19:56:32Z","expirationDateTime":"2021-06-26T19:56:32Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"56","entities":[],"relations":[],"warnings":[]},{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"19","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '82', + 'apim-request-id', + '1945d99e-2110-4614-b50e-4ebd8d17fc25', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:34 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_payload_too_large.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_payload_too_large.js new file mode 100644 index 000000000000..8c62449d9112 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_payload_too_large.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "f016ed25d69cac1c7432466f1a7578fc"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"1","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"2","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"3","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"4","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"5","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"6","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"7","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"8","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"9","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"10","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"11","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"12","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"13","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"14","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"15","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"16","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"17","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"18","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"19","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"20","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"21","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"22","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"23","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"24","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"25","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"26","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"27","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"28","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"29","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"30","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"31","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"32","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"33","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"34","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"35","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"36","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"37","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"38","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"39","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"40","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"41","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"42","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"43","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"44","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"45","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"46","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"47","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"48","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"49","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"50","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"51","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"52","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"53","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"54","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"55","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"56","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"57","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"58","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"59","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"60","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"61","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"62","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"63","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"64","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"65","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"66","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"67","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"68","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"69","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"70","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"71","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"72","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"73","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"74","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"75","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"76","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"77","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"78","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"79","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"80","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"81","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"82","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"83","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"84","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"85","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"86","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"87","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"88","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"89","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"90","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"91","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"92","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"93","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"94","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"95","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"96","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"97","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"98","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"99","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"100","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"101","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"102","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"103","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"104","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"105","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"106","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"107","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"108","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"109","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"110","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"111","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"112","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"113","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"114","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"115","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"116","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"117","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"118","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"119","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"120","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"121","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"122","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"123","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"124","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"125","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"126","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"127","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"128","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"129","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"130","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"131","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"132","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"133","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"134","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"135","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"136","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"137","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"138","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"139","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"140","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"141","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"142","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"143","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"144","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"145","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"146","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"147","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"148","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"149","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"150","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"151","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"152","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"153","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"154","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"155","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"156","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"157","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"158","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"159","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"160","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"161","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"162","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"163","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"164","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"165","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"166","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"167","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"168","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"169","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"170","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"171","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"172","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"173","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"174","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"175","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"176","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"177","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"178","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"179","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"180","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"181","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"182","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"183","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"184","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"185","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"186","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"187","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"188","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"189","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"190","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"191","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"192","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"193","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"194","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"195","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"196","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"197","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"198","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"199","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"200","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"201","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"202","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"203","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"204","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"205","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"206","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"207","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"208","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"209","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"210","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"211","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"212","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"213","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"214","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"215","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"216","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"217","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"218","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"219","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"220","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"221","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"222","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"223","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"224","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"225","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"226","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"227","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"228","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"229","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"230","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"231","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"232","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"233","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"234","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"235","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"236","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"237","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"238","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"239","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"240","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"241","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"242","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"243","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"244","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"245","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"246","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"247","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"248","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"249","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"250","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"251","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"252","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"253","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"254","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"255","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"256","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"257","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"258","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"259","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"260","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"261","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"262","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"263","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"264","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"265","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"266","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"267","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"268","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"269","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"270","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"271","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"272","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"273","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"274","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"275","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"276","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"277","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"278","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"279","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"280","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"281","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"282","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"283","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"284","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"285","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"286","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"287","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"288","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"289","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"290","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"291","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"292","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"293","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"294","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"295","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"296","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"297","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"298","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"299","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"300","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"301","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"302","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"303","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"304","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"305","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"306","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"307","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"308","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"309","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"310","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"311","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"312","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"313","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"314","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"315","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"316","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"317","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"318","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"319","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"320","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"321","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"322","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"323","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"324","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"325","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"326","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"327","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"328","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"329","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"330","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"331","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"332","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"333","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"334","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"335","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"336","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"337","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"338","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"339","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"340","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"341","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"342","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"343","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"344","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"345","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"346","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"347","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"348","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"349","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"350","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"351","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"352","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"353","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"354","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"355","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"356","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"357","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"358","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"359","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"360","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"361","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"362","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"363","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"364","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"365","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"366","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"367","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"368","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"369","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"370","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"371","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"372","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"373","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"374","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"375","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"376","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"377","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"378","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"379","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"380","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"381","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"382","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"383","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"384","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"385","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"386","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"387","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"388","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"389","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"390","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"391","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"392","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"393","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"394","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"395","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"396","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"397","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"398","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"399","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"400","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"401","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"402","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"403","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"404","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"405","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"406","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"407","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"408","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"409","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"410","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"411","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"412","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"413","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"414","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"415","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"416","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"417","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"418","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"419","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"420","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"421","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"422","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"423","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"424","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"425","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"426","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"427","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"428","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"429","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"430","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"431","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"432","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"433","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"434","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"435","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"436","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"437","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"438","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"439","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"440","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"441","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"442","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"443","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"444","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"445","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"446","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"447","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"448","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"449","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"450","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"451","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"452","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"453","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"454","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"455","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"456","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"457","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"458","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"459","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"460","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"461","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"462","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"463","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"464","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"465","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"466","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"467","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"468","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"469","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"470","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"471","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"472","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"473","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"474","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"475","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"476","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"477","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"478","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"479","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"480","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"481","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"482","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"483","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"484","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"485","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"486","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"487","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"488","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"489","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"490","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"491","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"492","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"493","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"494","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"495","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"496","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"497","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"498","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"},{"id":"499","text":"RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and 50% left main disease , with a strong family history of coronary artery disease with a brother dying at the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities , but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's increased symptoms and family history and history left main disease with total occasional of his RCA was referred for revascularization with open heart surgery.","language":"en"}]}) + .query(true) + .reply(413, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Request Payload sent is too large to be processed. Limit request size to: 524288"}}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '65', + 'apim-request-id', + 'b30a6f9a-278e-43f9-9423-9272f81b37d0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:24 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js new file mode 100644 index 000000000000..f42b2d6361b2 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_show_stats_and_model_version.js @@ -0,0 +1,85 @@ +let nock = require('nock'); + +module.exports.hash = "1e575b94347ebbe18d25ab65a2be1654"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"56","text":":)"},{"id":"0","text":":("},{"id":"22","text":""},{"id":"19","text":":P"},{"id":"1","text":":D"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/ce2af675-67ab-41df-b827-887a9a5287ed', + 'x-envoy-upstream-service-time', + '208', + 'apim-request-id', + '481ed123-ca49-4961-a138-b44bba4e0e2e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ce2af675-67ab-41df-b827-887a9a5287ed') + .query(true) + .reply(200, {"jobId":"ce2af675-67ab-41df-b827-887a9a5287ed","lastUpdateDateTime":"2021-06-25T19:56:35Z","createdDateTime":"2021-06-25T19:56:34Z","expirationDateTime":"2021-06-26T19:56:34Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'efa3c09d-a22d-4976-b72e-85241b371451', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ce2af675-67ab-41df-b827-887a9a5287ed') + .query(true) + .reply(200, {"jobId":"ce2af675-67ab-41df-b827-887a9a5287ed","lastUpdateDateTime":"2021-06-25T19:56:35Z","createdDateTime":"2021-06-25T19:56:34Z","expirationDateTime":"2021-06-26T19:56:34Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '649307ff-af48-426c-8165-a8ac4743a73e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/ce2af675-67ab-41df-b827-887a9a5287ed') + .query(true) + .reply(200, {"jobId":"ce2af675-67ab-41df-b827-887a9a5287ed","lastUpdateDateTime":"2021-06-25T19:56:36Z","createdDateTime":"2021-06-25T19:56:34Z","expirationDateTime":"2021-06-26T19:56:34Z","status":"succeeded","errors":[],"results":{"statistics":{"documentsCount":5,"validDocumentsCount":4,"erroneousDocumentsCount":1,"transactionsCount":4},"documents":[{"id":"56","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"0","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"19","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]},{"id":"1","statistics":{"charactersCount":2,"transactionsCount":1},"entities":[],"relations":[],"warnings":[]}],"errors":[{"id":"22","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}}],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '89', + 'apim-request-id', + '2abb8355-5cf4-4bc6-8703-026e2d95a745', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:36 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js similarity index 70% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js index 7a2100470f9b..a4e689a0f45a 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_some_inputs_with_errors.js @@ -1,125 +1,105 @@ let nock = require('nock'); -module.exports.hash = "6dc8db0ff1b4a40ee490f6bad3509f1e"; +module.exports.hash = "bab30c0c76dbf2a445ffbcb16eaccc29"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"1","text":"","language":"en"},{"id":"2","text":"Patient does not suffer from high blood pressure.","language":"english"},{"id":"3","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"","language":"en"},{"id":"2","text":"Patient does not suffer from high blood pressure.","language":"english"},{"id":"3","text":"Prescribed 100mg ibuprofen, taken twice daily.","language":"en"}]}) .query(true) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/2a42d9bb-059e-4807-93ba-c3e52000b083', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/785de1e1-9e53-4427-bd3e-8f82fc670f88', 'x-envoy-upstream-service-time', - '2712', + '195', 'apim-request-id', - 'edb52e5e-2d66-4655-a66e-23c1a5b1ef09', + 'f5db5cfd-8fd5-471b-8579-11d9d8097714', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:38 GMT' + 'Fri, 25 Jun 2021 19:56:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/2a42d9bb-059e-4807-93ba-c3e52000b083') + .get('//text/analytics/v3.1/entities/health/jobs/785de1e1-9e53-4427-bd3e-8f82fc670f88') .query(true) - .reply(200, {"jobId":"2a42d9bb-059e-4807-93ba-c3e52000b083","lastUpdateDateTime":"2021-05-12T19:04:39Z","createdDateTime":"2021-05-12T19:04:36Z","expirationDateTime":"2021-05-13T19:04:36Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"785de1e1-9e53-4427-bd3e-8f82fc670f88","lastUpdateDateTime":"2021-06-25T19:56:18Z","createdDateTime":"2021-06-25T19:56:18Z","expirationDateTime":"2021-06-26T19:56:18Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '7', + '9', 'apim-request-id', - '2b340364-9ad5-4927-a70e-6e0717e6dad2', + '513477b4-4692-4845-ba60-f50e950b2b01', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:38 GMT' + 'Fri, 25 Jun 2021 19:56:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/2a42d9bb-059e-4807-93ba-c3e52000b083') + .get('//text/analytics/v3.1/entities/health/jobs/785de1e1-9e53-4427-bd3e-8f82fc670f88') .query(true) - .reply(200, {"jobId":"2a42d9bb-059e-4807-93ba-c3e52000b083","lastUpdateDateTime":"2021-05-12T19:04:39Z","createdDateTime":"2021-05-12T19:04:36Z","expirationDateTime":"2021-05-13T19:04:36Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"785de1e1-9e53-4427-bd3e-8f82fc670f88","lastUpdateDateTime":"2021-06-25T19:56:18Z","createdDateTime":"2021-06-25T19:56:18Z","expirationDateTime":"2021-06-26T19:56:18Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '11', 'apim-request-id', - 'a4214889-e3c3-4629-91ca-4b66c39d63de', + '915cb313-a3a6-49ba-a712-188fc3531a46', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:38 GMT' + 'Fri, 25 Jun 2021 19:56:17 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/2a42d9bb-059e-4807-93ba-c3e52000b083') + .get('//text/analytics/v3.1/entities/health/jobs/785de1e1-9e53-4427-bd3e-8f82fc670f88') .query(true) - .reply(200, {"jobId":"2a42d9bb-059e-4807-93ba-c3e52000b083","lastUpdateDateTime":"2021-05-12T19:04:39Z","createdDateTime":"2021-05-12T19:04:36Z","expirationDateTime":"2021-05-13T19:04:36Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"785de1e1-9e53-4427-bd3e-8f82fc670f88","lastUpdateDateTime":"2021-06-25T19:56:19Z","createdDateTime":"2021-06-25T19:56:18Z","expirationDateTime":"2021-06-26T19:56:18Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/0/entities/0","role":"Dosage"},{"ref":"#/results/documents/0/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/0/entities/1","role":"Medication"},{"ref":"#/results/documents/0/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '65', 'apim-request-id', - '24cffa5a-fe06-43fd-91f6-cb65a32be857', + '234bfd67-742f-4244-bf03-1a91d3d4049b', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:40 GMT' + 'Fri, 25 Jun 2021 19:56:19 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/2a42d9bb-059e-4807-93ba-c3e52000b083') + .get('//text/analytics/v3.1/entities/health/jobs/785de1e1-9e53-4427-bd3e-8f82fc670f88') .query(true) - .reply(200, {"jobId":"2a42d9bb-059e-4807-93ba-c3e52000b083","lastUpdateDateTime":"2021-05-12T19:04:41Z","createdDateTime":"2021-05-12T19:04:36Z","expirationDateTime":"2021-05-13T19:04:36Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/0/entities/0","role":"Dosage"},{"ref":"#/results/documents/0/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/0/entities/1","role":"Medication"},{"ref":"#/results/documents/0/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"785de1e1-9e53-4427-bd3e-8f82fc670f88","lastUpdateDateTime":"2021-06-25T19:56:19Z","createdDateTime":"2021-06-25T19:56:18Z","expirationDateTime":"2021-06-26T19:56:18Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/0/entities/0","role":"Dosage"},{"ref":"#/results/documents/0/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/0/entities/1","role":"Medication"},{"ref":"#/results/documents/0/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '63', + '75', 'apim-request-id', - '77ea7516-c21c-41f7-add1-a70f61eb4372', + '299ffa4f-1bfc-4f69-9bbd-dc976d64002f', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:04:42 GMT' -]); - -nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/2a42d9bb-059e-4807-93ba-c3e52000b083') - .query(true) - .reply(200, {"jobId":"2a42d9bb-059e-4807-93ba-c3e52000b083","lastUpdateDateTime":"2021-05-12T19:04:41Z","createdDateTime":"2021-05-12T19:04:36Z","expirationDateTime":"2021-05-13T19:04:36Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"3","entities":[{"offset":11,"length":5,"text":"100mg","category":"Dosage","confidenceScore":1},{"offset":17,"length":9,"text":"ibuprofen","category":"MedicationName","confidenceScore":1,"name":"ibuprofen","links":[{"dataSource":"UMLS","id":"C0020740"},{"dataSource":"AOD","id":"0000019879"},{"dataSource":"ATC","id":"M01AE01"},{"dataSource":"CCPSS","id":"0046165"},{"dataSource":"CHV","id":"0000006519"},{"dataSource":"CSP","id":"2270-2077"},{"dataSource":"DRUGBANK","id":"DB01050"},{"dataSource":"GS","id":"1611"},{"dataSource":"LCH_NW","id":"sh97005926"},{"dataSource":"LNC","id":"LP16165-0"},{"dataSource":"MEDCIN","id":"40458"},{"dataSource":"MMSL","id":"d00015"},{"dataSource":"MSH","id":"D007052"},{"dataSource":"MTHSPL","id":"WK2XYI10QM"},{"dataSource":"NCI","id":"C561"},{"dataSource":"NCI_CTRP","id":"C561"},{"dataSource":"NCI_DCP","id":"00803"},{"dataSource":"NCI_DTP","id":"NSC0256857"},{"dataSource":"NCI_FDA","id":"WK2XYI10QM"},{"dataSource":"NCI_NCI-GLOSS","id":"CDR0000613511"},{"dataSource":"NDDF","id":"002377"},{"dataSource":"PDQ","id":"CDR0000040475"},{"dataSource":"RCD","id":"x02MO"},{"dataSource":"RXNORM","id":"5640"},{"dataSource":"SNM","id":"E-7772"},{"dataSource":"SNMI","id":"C-603C0"},{"dataSource":"SNOMEDCT_US","id":"387207008"},{"dataSource":"USP","id":"m39860"},{"dataSource":"USPMG","id":"MTHU000060"},{"dataSource":"VANDF","id":"4017840"}]},{"offset":34,"length":11,"text":"twice daily","category":"Frequency","confidenceScore":1}],"relations":[{"relationType":"DosageOfMedication","entities":[{"ref":"#/results/documents/0/entities/0","role":"Dosage"},{"ref":"#/results/documents/0/entities/1","role":"Medication"}]},{"relationType":"FrequencyOfMedication","entities":[{"ref":"#/results/documents/0/entities/1","role":"Medication"},{"ref":"#/results/documents/0/entities/2","role":"Frequency"}]}],"warnings":[]}],"errors":[{"id":"1","error":{"code":"InvalidArgument","message":"Invalid document in request.","innererror":{"code":"InvalidDocument","message":"Document text is empty."}}},{"id":"2","error":{"code":"InvalidArgument","message":"Invalid Language Code.","innererror":{"code":"UnsupportedLanguageCode","message":"Invalid language code. Supported languages: en. For additional details see https://aka.ms/text-analytics/language-support"}}}],"modelVersion":"2021-03-01"}}, [ - 'Transfer-Encoding', - 'chunked', - 'Content-Type', - 'application/json; charset=utf-8', - 'x-envoy-upstream-service-time', - '72', - 'apim-request-id', - 'c1ec03d8-a554-4877-b2c6-2b4cbd3590ae', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains; preload', - 'x-content-type-options', - 'nosniff', - 'Date', - 'Wed, 12 May 2021 19:04:42 GMT' + 'Fri, 25 Jun 2021 19:56:19 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_too_many_documents.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_too_many_documents.js new file mode 100644 index 000000000000..2223308c3cdc --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_too_many_documents.js @@ -0,0 +1,25 @@ +let nock = require('nock'); + +module.exports.hash = "c0210bbf785a84e0ff5d893b4b9c8517"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"random text","language":"en"},{"id":"1","text":"random text","language":"en"},{"id":"2","text":"random text","language":"en"},{"id":"3","text":"random text","language":"en"},{"id":"4","text":"random text","language":"en"},{"id":"5","text":"random text","language":"en"},{"id":"6","text":"random text","language":"en"},{"id":"7","text":"random text","language":"en"},{"id":"8","text":"random text","language":"en"},{"id":"9","text":"random text","language":"en"},{"id":"10","text":"random text","language":"en"}]}) + .query(true) + .reply(400, {"error":{"code":"InvalidRequest","message":"Invalid document in request.","innererror":{"code":"InvalidDocumentBatch","message":"Batch request contains too many records. Max 10 records are permitted."}}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '4fb805fb-18fe-4e6f-88ab-04177edf92f4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:23 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js similarity index 50% rename from sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js rename to sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js index 0142208d56c1..64866d5c134e 100644 --- a/sdk/textanalytics/ai-text-analytics/recordings/node/api_key_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint.js @@ -1,53 +1,53 @@ let nock = require('nock'); -module.exports.hash = "53b8cbb2f8b9222a4857fd83eee00a3a"; +module.exports.hash = "38c89bab41a80575c79a37ce18c38ae0"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint', {"encodedQueryParams":true}) - .post('//text/analytics/v3.1-preview.5/entities/health/jobs', {"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]}) .query(true) .reply(202, "", [ 'Transfer-Encoding', 'chunked', 'operation-location', - 'https://endpoint/text/analytics/v3.1-preview.5/entities/health/jobs/009ec67d-9d28-4cd8-8d36-e2bc6ad786de', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/1313fc00-4a95-4d02-9e1e-73920aa2821f', 'x-envoy-upstream-service-time', - '169', + '151', 'apim-request-id', - 'a14fc4e7-4086-48f4-ad84-40c57b2416cf', + '9cd6befb-5c53-42ce-90c9-3eac571468ee', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:15 GMT' + 'Fri, 25 Jun 2021 19:56:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/009ec67d-9d28-4cd8-8d36-e2bc6ad786de') + .get('//text/analytics/v3.1/entities/health/jobs/1313fc00-4a95-4d02-9e1e-73920aa2821f') .query(true) - .reply(200, {"jobId":"009ec67d-9d28-4cd8-8d36-e2bc6ad786de","lastUpdateDateTime":"2021-05-12T19:05:16Z","createdDateTime":"2021-05-12T19:05:16Z","expirationDateTime":"2021-05-13T19:05:16Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"1313fc00-4a95-4d02-9e1e-73920aa2821f","lastUpdateDateTime":"2021-06-25T19:56:40Z","createdDateTime":"2021-06-25T19:56:40Z","expirationDateTime":"2021-06-26T19:56:40Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '6', + '5', 'apim-request-id', - 'b8a359b5-18cf-4588-a676-5e3483169ee1', + 'ec9bc65d-f4a1-4291-9188-45ecbd86160c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:15 GMT' + 'Fri, 25 Jun 2021 19:56:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/009ec67d-9d28-4cd8-8d36-e2bc6ad786de') + .get('//text/analytics/v3.1/entities/health/jobs/1313fc00-4a95-4d02-9e1e-73920aa2821f') .query(true) - .reply(200, {"jobId":"009ec67d-9d28-4cd8-8d36-e2bc6ad786de","lastUpdateDateTime":"2021-05-12T19:05:16Z","createdDateTime":"2021-05-12T19:05:16Z","expirationDateTime":"2021-05-13T19:05:16Z","status":"notStarted","errors":[]}, [ + .reply(200, {"jobId":"1313fc00-4a95-4d02-9e1e-73920aa2821f","lastUpdateDateTime":"2021-06-25T19:56:40Z","createdDateTime":"2021-06-25T19:56:40Z","expirationDateTime":"2021-06-26T19:56:40Z","status":"notStarted","errors":[]}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', @@ -55,51 +55,51 @@ nock('https://endpoint', {"encodedQueryParams":true}) 'x-envoy-upstream-service-time', '6', 'apim-request-id', - '1520d093-abb4-49f7-8850-2d00358e1131', + '230de852-e11a-46a8-903d-f3fab7905b1c', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:15 GMT' + 'Fri, 25 Jun 2021 19:56:39 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/009ec67d-9d28-4cd8-8d36-e2bc6ad786de') + .get('//text/analytics/v3.1/entities/health/jobs/1313fc00-4a95-4d02-9e1e-73920aa2821f') .query(true) - .reply(200, {"jobId":"009ec67d-9d28-4cd8-8d36-e2bc6ad786de","lastUpdateDateTime":"2021-05-12T19:05:17Z","createdDateTime":"2021-05-12T19:05:16Z","expirationDateTime":"2021-05-13T19:05:16Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"1313fc00-4a95-4d02-9e1e-73920aa2821f","lastUpdateDateTime":"2021-06-25T19:56:41Z","createdDateTime":"2021-06-25T19:56:40Z","expirationDateTime":"2021-06-26T19:56:40Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '52', + '64', 'apim-request-id', - 'bf3beba1-4a39-46a4-b5b3-e3cf871e34ac', + '0d951842-8334-4822-9f00-c93e2cf49e4a', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:17 GMT' + 'Fri, 25 Jun 2021 19:56:42 GMT' ]); nock('https://endpoint', {"encodedQueryParams":true}) - .get('//text/analytics/v3.1-preview.5/entities/health/jobs/009ec67d-9d28-4cd8-8d36-e2bc6ad786de') + .get('//text/analytics/v3.1/entities/health/jobs/1313fc00-4a95-4d02-9e1e-73920aa2821f') .query(true) - .reply(200, {"jobId":"009ec67d-9d28-4cd8-8d36-e2bc6ad786de","lastUpdateDateTime":"2021-05-12T19:05:17Z","createdDateTime":"2021-05-12T19:05:16Z","expirationDateTime":"2021-05-13T19:05:16Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-03-01"}}, [ + .reply(200, {"jobId":"1313fc00-4a95-4d02-9e1e-73920aa2821f","lastUpdateDateTime":"2021-06-25T19:56:41Z","createdDateTime":"2021-06-25T19:56:40Z","expirationDateTime":"2021-06-26T19:56:40Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ 'Transfer-Encoding', 'chunked', 'Content-Type', 'application/json; charset=utf-8', 'x-envoy-upstream-service-time', - '48', + '63', 'apim-request-id', - '6a8e148f-9c3a-4b0e-994d-0bfde634010a', + '359f80ed-2b31-4e54-95bc-e506d9d3f5c2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Wed, 12 May 2021 19:05:17 GMT' + 'Fri, 25 Jun 2021 19:56:42 GMT' ]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js new file mode 100644 index 000000000000..cd129cc9413f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_empty_language_hint_per_doc.js @@ -0,0 +1,105 @@ +let nock = require('nock'); + +module.exports.hash = "2ef2a9e0010a041394b0a0562051ba4e"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"I will go to the park.","language":""},{"id":"2","text":"I did not like the hotel we stayed at.","language":""},{"id":"3","text":"The restaurant had really good food."}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/bd30535e-aea4-4045-a55d-d881df165a4b', + 'x-envoy-upstream-service-time', + '329', + 'apim-request-id', + 'd16e020e-092c-44d4-988f-d9482076351a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/bd30535e-aea4-4045-a55d-d881df165a4b') + .query(true) + .reply(200, {"jobId":"bd30535e-aea4-4045-a55d-d881df165a4b","lastUpdateDateTime":"2021-06-25T19:56:43Z","createdDateTime":"2021-06-25T19:56:42Z","expirationDateTime":"2021-06-26T19:56:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '30b43ca4-6ce9-46af-a663-1b5f702c12ae', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/bd30535e-aea4-4045-a55d-d881df165a4b') + .query(true) + .reply(200, {"jobId":"bd30535e-aea4-4045-a55d-d881df165a4b","lastUpdateDateTime":"2021-06-25T19:56:43Z","createdDateTime":"2021-06-25T19:56:42Z","expirationDateTime":"2021-06-26T19:56:42Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'c82578f5-3355-4c48-a157-bf3f76b5e9b5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:42 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/bd30535e-aea4-4045-a55d-d881df165a4b') + .query(true) + .reply(200, {"jobId":"bd30535e-aea4-4045-a55d-d881df165a4b","lastUpdateDateTime":"2021-06-25T19:56:44Z","createdDateTime":"2021-06-25T19:56:42Z","expirationDateTime":"2021-06-26T19:56:42Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '67', + 'apim-request-id', + '3b75a8d6-ca60-4c06-bdec-76d09ef930e4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:44 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/bd30535e-aea4-4045-a55d-d881df165a4b') + .query(true) + .reply(200, {"jobId":"bd30535e-aea4-4045-a55d-d881df165a4b","lastUpdateDateTime":"2021-06-25T19:56:44Z","createdDateTime":"2021-06-25T19:56:42Z","expirationDateTime":"2021-06-26T19:56:42Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '66', + 'apim-request-id', + '360449ca-8f24-46ec-98a2-d27f06b8f8d3', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:45 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js new file mode 100644 index 000000000000..fc9a86aad20c --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_language_hint.js @@ -0,0 +1,105 @@ +let nock = require('nock'); + +module.exports.hash = "1fb1a57acc331f867912cae0ed39dc23"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"0","text":"This was the best day of my life.","language":"en"},{"id":"1","text":"I did not like the hotel we stayed at. It was too expensive.","language":"en"},{"id":"2","text":"The restaurant was not as good as I hoped.","language":"en"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/fc94279f-12a1-4543-a465-586ab372438f', + 'x-envoy-upstream-service-time', + '201', + 'apim-request-id', + '74b09a27-ddeb-414b-afb1-b7996d342cfe', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:37 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/fc94279f-12a1-4543-a465-586ab372438f') + .query(true) + .reply(200, {"jobId":"fc94279f-12a1-4543-a465-586ab372438f","lastUpdateDateTime":"2021-06-25T19:56:37Z","createdDateTime":"2021-06-25T19:56:37Z","expirationDateTime":"2021-06-26T19:56:37Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'bcd7c48f-9d18-4408-88d9-35657464d3c2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:37 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/fc94279f-12a1-4543-a465-586ab372438f') + .query(true) + .reply(200, {"jobId":"fc94279f-12a1-4543-a465-586ab372438f","lastUpdateDateTime":"2021-06-25T19:56:37Z","createdDateTime":"2021-06-25T19:56:37Z","expirationDateTime":"2021-06-26T19:56:37Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'e7712c70-6c60-4f00-80b2-9ac6f04ae59a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:37 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/fc94279f-12a1-4543-a465-586ab372438f') + .query(true) + .reply(200, {"jobId":"fc94279f-12a1-4543-a465-586ab372438f","lastUpdateDateTime":"2021-06-25T19:56:39Z","createdDateTime":"2021-06-25T19:56:37Z","expirationDateTime":"2021-06-26T19:56:37Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '71', + 'apim-request-id', + '35095389-51e5-4e44-93aa-e12d5fd3f971', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:39 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/fc94279f-12a1-4543-a465-586ab372438f') + .query(true) + .reply(200, {"jobId":"fc94279f-12a1-4543-a465-586ab372438f","lastUpdateDateTime":"2021-06-25T19:56:39Z","createdDateTime":"2021-06-25T19:56:37Z","expirationDateTime":"2021-06-26T19:56:37Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"0","entities":[],"relations":[],"warnings":[]},{"id":"1","entities":[],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '65', + 'apim-request-id', + '7846cf46-2d7a-4ec6-8030-f70f6d73cbf2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:39 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js new file mode 100644 index 000000000000..f6471db072c8 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_health/recording_whole_batch_with_multiple_languages.js @@ -0,0 +1,105 @@ +let nock = require('nock'); + +module.exports.hash = "475873b6384b961b148934bfd317912c"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/entities/health/jobs', {"documents":[{"id":"1","text":"I should take my cat to the veterinarian."},{"id":"2","text":"Este es un document escrito en Español."},{"id":"3","text":"猫は幸せ"}]}) + .query(true) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/entities/health/jobs/2b5f6da1-2090-4281-bdd0-6792cac81d8b', + 'x-envoy-upstream-service-time', + '166', + 'apim-request-id', + '505e672c-516a-4094-bab8-e2f8e2378abb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2b5f6da1-2090-4281-bdd0-6792cac81d8b') + .query(true) + .reply(200, {"jobId":"2b5f6da1-2090-4281-bdd0-6792cac81d8b","lastUpdateDateTime":"2021-06-25T19:56:45Z","createdDateTime":"2021-06-25T19:56:45Z","expirationDateTime":"2021-06-26T19:56:45Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'c973ddc9-734b-43ee-830a-9bb13b84cc37', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2b5f6da1-2090-4281-bdd0-6792cac81d8b') + .query(true) + .reply(200, {"jobId":"2b5f6da1-2090-4281-bdd0-6792cac81d8b","lastUpdateDateTime":"2021-06-25T19:56:45Z","createdDateTime":"2021-06-25T19:56:45Z","expirationDateTime":"2021-06-26T19:56:45Z","status":"notStarted","errors":[]}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '7195993c-9f79-4923-a7cb-85421ebc2280', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2b5f6da1-2090-4281-bdd0-6792cac81d8b') + .query(true) + .reply(200, {"jobId":"2b5f6da1-2090-4281-bdd0-6792cac81d8b","lastUpdateDateTime":"2021-06-25T19:56:46Z","createdDateTime":"2021-06-25T19:56:45Z","expirationDateTime":"2021-06-26T19:56:45Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":28,"length":12,"text":"veterinarian","category":"HealthcareProfession","confidenceScore":0.98}],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '81', + 'apim-request-id', + 'cf605c5b-4467-4198-be5e-8ae7757dba64', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/entities/health/jobs/2b5f6da1-2090-4281-bdd0-6792cac81d8b') + .query(true) + .reply(200, {"jobId":"2b5f6da1-2090-4281-bdd0-6792cac81d8b","lastUpdateDateTime":"2021-06-25T19:56:46Z","createdDateTime":"2021-06-25T19:56:45Z","expirationDateTime":"2021-06-26T19:56:45Z","status":"succeeded","errors":[],"results":{"documents":[{"id":"1","entities":[{"offset":28,"length":12,"text":"veterinarian","category":"HealthcareProfession","confidenceScore":0.98}],"relations":[],"warnings":[]},{"id":"2","entities":[],"relations":[],"warnings":[]},{"id":"3","entities":[],"relations":[],"warnings":[]}],"errors":[],"modelVersion":"2021-05-15"}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '67', + 'apim-request-id', + '642b1379-15cb-432c-a231-8d9387f41b6c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Fri, 25 Jun 2021 19:56:47 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/review/ai-text-analytics.api.md b/sdk/textanalytics/ai-text-analytics/review/ai-text-analytics.api.md index ff28eb584e33..faf077f86ab2 100644 --- a/sdk/textanalytics/ai-text-analytics/review/ai-text-analytics.api.md +++ b/sdk/textanalytics/ai-text-analytics/review/ai-text-analytics.api.md @@ -65,12 +65,11 @@ export interface AnalyzeHealthcareOperationState extends AnalysisPollOperationSt } // @public -export type AnalyzeSentimentAction = { - modelVersion?: string; - stringIndexType?: StringIndexType; +export interface AnalyzeSentimentAction extends TextAnalyticsAction { disableServiceLogs?: boolean; includeOpinionMining?: boolean; -}; + stringIndexType?: StringIndexType; +} // @public export type AnalyzeSentimentActionErrorResult = TextAnalyticsActionErrorResult; @@ -209,12 +208,11 @@ export interface EntityDataSource { export type ErrorCode = ErrorCodeValue | InnerErrorCodeValue; // @public -export type ErrorCodeValue = "InvalidRequest" | "InvalidArgument" | "InternalServerError" | "ServiceUnavailable" | "NotFound"; +export type ErrorCodeValue = string; // @public -export interface ExtractKeyPhrasesAction { +export interface ExtractKeyPhrasesAction extends TextAnalyticsAction { disableServiceLogs?: boolean; - modelVersion?: string; } // @public @@ -252,10 +250,14 @@ export interface ExtractKeyPhrasesSuccessResult extends TextAnalyticsSuccessResu // @public export interface HealthcareEntity extends Entity { assertion?: EntityAssertion; + category: HealthcareEntityCategory; dataSources: EntityDataSource[]; normalizedText?: string; } +// @public +export type HealthcareEntityCategory = string; + // @public export interface HealthcareEntityRelation { relationType: HealthcareEntityRelationType; @@ -277,6 +279,62 @@ export type HealthcareEntityRelationType = string; // @public export type InnerErrorCodeValue = string; +// @public +export const enum KnownHealthcareEntityCategory { + // (undocumented) + AdministrativeEvent = "ADMINISTRATIVE_EVENT", + // (undocumented) + AGE = "AGE", + // (undocumented) + BodyStructure = "BODY_STRUCTURE", + // (undocumented) + CareEnvironment = "CARE_ENVIRONMENT", + // (undocumented) + ConditionQualifier = "CONDITION_QUALIFIER", + // (undocumented) + Date = "DATE", + // (undocumented) + Diagnosis = "DIAGNOSIS", + // (undocumented) + Direction = "DIRECTION", + // (undocumented) + Dosage = "DOSAGE", + // (undocumented) + ExaminationName = "EXAMINATION_NAME", + // (undocumented) + FamilyRelation = "FAMILY_RELATION", + // (undocumented) + Frequency = "FREQUENCY", + // (undocumented) + Gender = "GENDER", + // (undocumented) + GeneORProtein = "GENE_OR_PROTEIN", + // (undocumented) + HealthcareProfession = "HEALTHCARE_PROFESSION", + // (undocumented) + MeasurementUnit = "MEASUREMENT_UNIT", + // (undocumented) + MeasurementValue = "MEASUREMENT_VALUE", + // (undocumented) + MedicationClass = "MEDICATION_CLASS", + // (undocumented) + MedicationForm = "MEDICATION_FORM", + // (undocumented) + MedicationName = "MEDICATION_NAME", + // (undocumented) + MedicationRoute = "MEDICATION_ROUTE", + // (undocumented) + RelationalOperator = "RELATIONAL_OPERATOR", + // (undocumented) + SymptomORSign = "SYMPTOM_OR_SIGN", + // (undocumented) + Time = "TIME", + // (undocumented) + TreatmentName = "TREATMENT_NAME", + // (undocumented) + Variant = "VARIANT" +} + // @public export const enum KnownInnerErrorCodeValue { // (undocumented) @@ -370,11 +428,10 @@ export enum PiiEntityDomain { } // @public -export type RecognizeCategorizedEntitiesAction = { - modelVersion?: string; - stringIndexType?: StringIndexType; +export interface RecognizeCategorizedEntitiesAction extends TextAnalyticsAction { disableServiceLogs?: boolean; -}; + stringIndexType?: StringIndexType; +} // @public export type RecognizeCategorizedEntitiesActionErrorResult = TextAnalyticsActionErrorResult; @@ -410,11 +467,10 @@ export interface RecognizeCategorizedEntitiesSuccessResult extends TextAnalytics } // @public -export type RecognizeLinkedEntitiesAction = { - modelVersion?: string; - stringIndexType?: StringIndexType; +export interface RecognizeLinkedEntitiesAction extends TextAnalyticsAction { disableServiceLogs?: boolean; -}; + stringIndexType?: StringIndexType; +} // @public export type RecognizeLinkedEntitiesActionErrorResult = TextAnalyticsActionErrorResult; @@ -450,12 +506,12 @@ export interface RecognizeLinkedEntitiesSuccessResult extends TextAnalyticsSucce } // @public -export type RecognizePiiEntitiesAction = { - domain?: PiiEntityDomain; - modelVersion?: string; - stringIndexType?: StringIndexType; +export interface RecognizePiiEntitiesAction extends TextAnalyticsAction { + categoriesFilter?: PiiEntityCategory[]; disableServiceLogs?: boolean; -}; + domainFilter?: PiiEntityDomain; + stringIndexType?: StringIndexType; +} // @public export type RecognizePiiEntitiesActionErrorResult = TextAnalyticsActionErrorResult; @@ -546,6 +602,12 @@ export interface TargetSentiment { text: string; } +// @public +export interface TextAnalyticsAction { + actionName?: string; + modelVersion?: string; +} + // @public export interface TextAnalyticsActionErrorResult { readonly error: TextAnalyticsError; @@ -618,7 +680,7 @@ export interface TextAnalyticsOperationOptions extends OperationOptions { } // @public -export type TextAnalyticsOperationStatus = "notStarted" | "running" | "succeeded" | "failed" | "rejected" | "cancelled" | "cancelling" | "partiallyCompleted"; +export type TextAnalyticsOperationStatus = "notStarted" | "running" | "succeeded" | "failed" | "rejected" | "cancelled" | "cancelling"; // @public export interface TextAnalyticsSuccessResult { diff --git a/sdk/textanalytics/ai-text-analytics/src/analyzeHealthcareEntitiesResult.ts b/sdk/textanalytics/ai-text-analytics/src/analyzeHealthcareEntitiesResult.ts index 5d81f45f38aa..724f353d0fef 100644 --- a/sdk/textanalytics/ai-text-analytics/src/analyzeHealthcareEntitiesResult.ts +++ b/sdk/textanalytics/ai-text-analytics/src/analyzeHealthcareEntitiesResult.ts @@ -11,7 +11,8 @@ import { TextAnalyticsError, HealthcareAssertion, RelationType, - HealthcareRelationEntity + HealthcareRelationEntity, + HealthcareEntityCategory } from "./generated/models"; import { makeTextAnalyticsErrorResult, @@ -53,6 +54,39 @@ export interface HealthcareEntity extends Entity { * Entity references in known data sources. */ dataSources: EntityDataSource[]; + /** + * Defines values for HealthcareEntityCategory. + * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **BODY_STRUCTURE** + * **AGE** + * **GENDER** + * **EXAMINATION_NAME** + * **DATE** + * **DIRECTION** + * **FREQUENCY** + * **MEASUREMENT_VALUE** + * **MEASUREMENT_UNIT** + * **RELATIONAL_OPERATOR** + * **TIME** + * **GENE_OR_PROTEIN** + * **VARIANT** + * **ADMINISTRATIVE_EVENT** + * **CARE_ENVIRONMENT** + * **HEALTHCARE_PROFESSION** + * **DIAGNOSIS** + * **SYMPTOM_OR_SIGN** + * **CONDITION_QUALIFIER** + * **MEDICATION_CLASS** + * **MEDICATION_NAME** + * **DOSAGE** + * **MEDICATION_FORM** + * **MEDICATION_ROUTE** + * **FAMILY_RELATION** + * **TREATMENT_NAME** + */ + category: HealthcareEntityCategory; } /** @@ -165,7 +199,7 @@ function makeHealthcareEntitiesWithoutNeighbors( offset, text, links, - subCategory, + subcategory, length, name } = entity; @@ -177,7 +211,7 @@ function makeHealthcareEntitiesWithoutNeighbors( length, text, normalizedText: name, - subCategory, + subCategory: subcategory, dataSources: links?.map(({ dataSource, id }): EntityDataSource => ({ name: dataSource, entityId: id })) ?? [] diff --git a/sdk/textanalytics/ai-text-analytics/src/constants.ts b/sdk/textanalytics/ai-text-analytics/src/constants.ts index 50d4201d6783..48d4d8c45c25 100644 --- a/sdk/textanalytics/ai-text-analytics/src/constants.ts +++ b/sdk/textanalytics/ai-text-analytics/src/constants.ts @@ -4,4 +4,4 @@ /** * @internal */ -export const SDK_VERSION: string = "5.1.0-beta.7"; +export const SDK_VERSION: string = "5.1.0"; diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/generatedClient.ts b/sdk/textanalytics/ai-text-analytics/src/generated/generatedClient.ts index 56915808bcbb..c6a7b8b84cc5 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/generatedClient.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/generatedClient.ts @@ -18,6 +18,7 @@ import { GeneratedClientAnalyzeStatusResponse, GeneratedClientHealthStatusOptionalParams, GeneratedClientHealthStatusResponse, + GeneratedClientCancelHealthJobOptionalParams, GeneratedClientCancelHealthJobResponse, MultiLanguageBatchInput, GeneratedClientHealthOptionalParams, @@ -98,7 +99,7 @@ export class GeneratedClient extends GeneratedClientContext { */ cancelHealthJob( jobId: string, - options?: coreClient.OperationOptions + options?: GeneratedClientCancelHealthJobOptionalParams ): Promise { return this.sendOperationRequest( { jobId, options }, @@ -235,17 +236,12 @@ const analyzeOperationSpec: coreClient.OperationSpec = { 202: { headersMapper: Mappers.GeneratedClientAnalyzeHeaders }, - 400: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.body, - urlParameters: [Parameters.endpoint], + urlParameters: [Parameters.endpoint, Parameters.apiVersion], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer @@ -257,13 +253,8 @@ const analyzeStatusOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.AnalyzeJobState }, - 404: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, queryParameters: [ @@ -271,7 +262,7 @@ const analyzeStatusOperationSpec: coreClient.OperationSpec = { Parameters.top, Parameters.skip ], - urlParameters: [Parameters.endpoint, Parameters.jobId], + urlParameters: [Parameters.endpoint, Parameters.apiVersion, Parameters.jobId], headerParameters: [Parameters.accept], serializer }; @@ -282,13 +273,8 @@ const healthStatusOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.HealthcareJobState }, - 404: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, queryParameters: [ @@ -296,7 +282,11 @@ const healthStatusOperationSpec: coreClient.OperationSpec = { Parameters.top, Parameters.skip ], - urlParameters: [Parameters.endpoint, Parameters.jobId1], + urlParameters: [ + Parameters.endpoint, + Parameters.apiVersion, + Parameters.jobId1 + ], headerParameters: [Parameters.accept], serializer }; @@ -307,16 +297,15 @@ const cancelHealthJobOperationSpec: coreClient.OperationSpec = { 202: { headersMapper: Mappers.GeneratedClientCancelHealthJobHeaders }, - 404: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, - urlParameters: [Parameters.endpoint, Parameters.jobId1], + urlParameters: [ + Parameters.endpoint, + Parameters.apiVersion, + Parameters.jobId1 + ], headerParameters: [Parameters.accept], serializer }; @@ -327,13 +316,8 @@ const healthOperationSpec: coreClient.OperationSpec = { 202: { headersMapper: Mappers.GeneratedClientHealthHeaders }, - 400: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.input, @@ -342,7 +326,7 @@ const healthOperationSpec: coreClient.OperationSpec = { Parameters.stringIndexType, Parameters.loggingOptOut ], - urlParameters: [Parameters.endpoint], + urlParameters: [Parameters.endpoint, Parameters.apiVersion], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer @@ -354,13 +338,8 @@ const entitiesRecognitionGeneralOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.EntitiesResult }, - 400: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.input, @@ -370,7 +349,7 @@ const entitiesRecognitionGeneralOperationSpec: coreClient.OperationSpec = { Parameters.stringIndexType, Parameters.loggingOptOut ], - urlParameters: [Parameters.endpoint], + urlParameters: [Parameters.endpoint, Parameters.apiVersion], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer @@ -382,13 +361,8 @@ const entitiesRecognitionPiiOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.PiiResult }, - 400: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.input, @@ -400,7 +374,7 @@ const entitiesRecognitionPiiOperationSpec: coreClient.OperationSpec = { Parameters.domain, Parameters.piiCategories ], - urlParameters: [Parameters.endpoint], + urlParameters: [Parameters.endpoint, Parameters.apiVersion], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer @@ -412,13 +386,8 @@ const entitiesLinkingOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.EntityLinkingResult }, - 400: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.input, @@ -428,7 +397,7 @@ const entitiesLinkingOperationSpec: coreClient.OperationSpec = { Parameters.stringIndexType, Parameters.loggingOptOut ], - urlParameters: [Parameters.endpoint], + urlParameters: [Parameters.endpoint, Parameters.apiVersion], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer @@ -440,13 +409,8 @@ const keyPhrasesOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.KeyPhraseResult }, - 400: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.input, @@ -455,7 +419,7 @@ const keyPhrasesOperationSpec: coreClient.OperationSpec = { Parameters.modelVersion, Parameters.loggingOptOut ], - urlParameters: [Parameters.endpoint], + urlParameters: [Parameters.endpoint, Parameters.apiVersion], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer @@ -467,13 +431,8 @@ const languagesOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.LanguageResult }, - 400: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.input1, @@ -482,7 +441,7 @@ const languagesOperationSpec: coreClient.OperationSpec = { Parameters.modelVersion, Parameters.loggingOptOut ], - urlParameters: [Parameters.endpoint], + urlParameters: [Parameters.endpoint, Parameters.apiVersion], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer @@ -494,13 +453,8 @@ const sentimentOperationSpec: coreClient.OperationSpec = { 200: { bodyMapper: Mappers.SentimentResponse }, - 400: { - bodyMapper: Mappers.ErrorResponse, - isError: true - }, - 500: { - bodyMapper: Mappers.ErrorResponse, - isError: true + default: { + bodyMapper: Mappers.ErrorResponse } }, requestBody: Parameters.input, @@ -511,7 +465,7 @@ const sentimentOperationSpec: coreClient.OperationSpec = { Parameters.loggingOptOut, Parameters.opinionMining ], - urlParameters: [Parameters.endpoint], + urlParameters: [Parameters.endpoint, Parameters.apiVersion], headerParameters: [Parameters.contentType, Parameters.accept], mediaType: "json", serializer diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/generatedClientContext.ts b/sdk/textanalytics/ai-text-analytics/src/generated/generatedClientContext.ts index caff47016e08..0ddbafcbeac0 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/generatedClientContext.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/generatedClientContext.ts @@ -12,6 +12,7 @@ import { GeneratedClientOptionalParams } from "./models"; /** @internal */ export class GeneratedClientContext extends coreClient.ServiceClient { endpoint: string; + apiVersion: string; /** * Initializes a new instance of the GeneratedClientContext class. @@ -28,19 +29,29 @@ export class GeneratedClientContext extends coreClient.ServiceClient { if (!options) { options = {}; } - const defaults: GeneratedClientOptionalParams = { requestContentType: "application/json; charset=utf-8" }; + const packageDetails = `azsdk-js-ai-text-analytics/5.1.0`; + const userAgentPrefix = + options.userAgentOptions && options.userAgentOptions.userAgentPrefix + ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` + : `${packageDetails}`; + const optionsWithDefaults = { ...defaults, ...options, - baseUri: options.endpoint || "{Endpoint}/text/analytics/v3.1-preview.5" + userAgentOptions: { + userAgentPrefix + }, + baseUri: options.endpoint || "{Endpoint}/text/analytics/{ApiVersion}" }; - super(optionsWithDefaults); // Parameter assignments this.endpoint = endpoint; + + // Assigning values to Constant parameters + this.apiVersion = options.apiVersion || "v3.1"; } } diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts b/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts index b83d602415d3..b02f9839e1be 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts @@ -8,6 +8,16 @@ import * as coreClient from "@azure/core-client"; +export interface JobDescriptor { + /** Optional display name for the analysis job. */ + displayName?: string; +} + +export interface AnalysisInput { + /** Contains a set of input documents to be analyzed by the service. */ + analysisInput: MultiLanguageBatchInput; +} + /** Contains a set of input documents to be analyzed by the service. */ export interface MultiLanguageBatchInput { /** The set of documents to process as part of this batch. */ @@ -24,11 +34,6 @@ export interface TextDocumentInput { language?: string; } -export interface JobDescriptor { - /** Optional display name for the analysis job. */ - displayName?: string; -} - export interface JobManifest { /** The set of tasks to execute on the input documents. Cannot specify the same task more than once. */ tasks: JobManifestTasks; @@ -127,18 +132,6 @@ export interface InnerError { innererror?: InnerError; } -/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ -export interface TextDocumentBatchStatistics { - /** Number of documents submitted in the request. */ - documentCount: number; - /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */ - validDocumentCount: number; - /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */ - erroneousDocumentCount: number; - /** Number of transactions for the request. */ - transactionCount: number; -} - export interface JobMetadata { createdDateTime: Date; expirationDateTime?: Date; @@ -147,12 +140,15 @@ export interface JobMetadata { status: State; } +export interface AnalyzeJobDisplayName { + displayName?: string; +} + export interface TasksState { tasks: TasksStateTasks; } export interface TasksStateTasks { - details?: TasksStateTasksDetails; completed: number; failed: number; inProgress: number; @@ -166,11 +162,10 @@ export interface TasksStateTasks { export interface TaskState { lastUpdateDateTime: Date; - name?: string; status: State; } -export interface Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1 { +export interface EntitiesTaskResult { results?: EntitiesResult; } @@ -235,7 +230,19 @@ export interface DocumentError { error: TextAnalyticsError; } -export interface Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1 { +/** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ +export interface TextDocumentBatchStatistics { + /** Number of documents submitted in the request. */ + documentCount: number; + /** Number of valid documents. This excludes empty, over-size limit or non-supported languages documents. */ + validDocumentCount: number; + /** Number of invalid documents. This includes empty, over-size limit or non-supported languages documents. */ + erroneousDocumentCount: number; + /** Number of transactions for the request. */ + transactionCount: number; +} + +export interface PiiTaskResult { results?: PiiResult; } @@ -263,7 +270,7 @@ export interface PiiDocumentEntities { statistics?: TextDocumentStatistics; } -export interface Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1 { +export interface KeyPhraseTaskResult { results?: KeyPhraseResult; } @@ -289,7 +296,7 @@ export interface DocumentKeyPhrases { statistics?: TextDocumentStatistics; } -export interface ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1 { +export interface EntityLinkingTaskResult { results?: EntityLinkingResult; } @@ -345,7 +352,7 @@ export interface Match { length: number; } -export interface Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1 { +export interface SentimentTaskResult { results?: SentimentResponse; } @@ -443,10 +450,21 @@ export interface SentenceAssessment { isNegated: boolean; } +export interface AnalyzeJobErrorsAndStatistics { + errors?: TextAnalyticsError[]; + /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ + statistics?: TextDocumentBatchStatistics; +} + export interface Pagination { nextLink?: string; } +export interface HealthcareTaskResult { + results?: HealthcareResult; + errors?: TextAnalyticsError[]; +} + export interface HealthcareResult { /** Response by document */ documents: DocumentHealthcareEntities[]; @@ -471,6 +489,29 @@ export interface DocumentHealthcareEntities { statistics?: TextDocumentStatistics; } +export interface HealthcareEntityProperties { + /** Entity text as appears in the request. */ + text: string; + /** Healthcare Entity Category. */ + category: HealthcareEntityCategory; + /** (Optional) Entity sub type. */ + subcategory?: string; + /** Start position for the entity text. Use of different 'stringIndexType' values can affect the offset returned. */ + offset: number; + /** Length for the entity text. Use of different 'stringIndexType' values can affect the length returned. */ + length: number; + /** Confidence score between 0 and 1 of the extracted entity. */ + confidenceScore: number; +} + +export interface HealthcareLinkingProperties { + assertion?: HealthcareAssertion; + /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */ + name?: string; + /** Entity references in known data sources. */ + links?: HealthcareEntityLink[]; +} + export interface HealthcareAssertion { /** Describes any conditionality on the entity. */ conditionality?: Conditionality; @@ -547,53 +588,37 @@ export interface DetectedLanguage { } export type AnalyzeBatchInput = JobDescriptor & - JobManifest & { - /** Contains a set of input documents to be analyzed by the service. */ - analysisInput: MultiLanguageBatchInput; - }; + AnalysisInput & + JobManifest & {}; -export type AnalyzeJobMetadata = JobMetadata & { - displayName?: string; -}; +export type AnalyzeJobMetadata = JobMetadata & AnalyzeJobDisplayName & {}; export type HealthcareJobState = JobMetadata & - Pagination & { - results?: HealthcareResult; - errors?: TextAnalyticsError[]; - }; + HealthcareTaskResult & + Pagination & {}; export type AnalyzeJobState = AnalyzeJobMetadata & TasksState & - Pagination & { - errors?: TextAnalyticsError[]; - /** if includeStatistics=true was specified in the request this field will contain information about the request payload. */ - statistics?: TextDocumentBatchStatistics; - }; - -export type TasksStateTasksDetails = TaskState & {}; + AnalyzeJobErrorsAndStatistics & + Pagination & {}; export type TasksStateTasksEntityRecognitionTasksItem = TaskState & - Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1 & {}; + EntitiesTaskResult & {}; export type TasksStateTasksEntityRecognitionPiiTasksItem = TaskState & - Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1 & {}; + PiiTaskResult & {}; export type TasksStateTasksKeyPhraseExtractionTasksItem = TaskState & - Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1 & {}; + KeyPhraseTaskResult & {}; export type TasksStateTasksEntityLinkingTasksItem = TaskState & - ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1 & {}; + EntityLinkingTaskResult & {}; export type TasksStateTasksSentimentAnalysisTasksItem = TaskState & - Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1 & {}; + SentimentTaskResult & {}; -export type HealthcareEntity = Entity & { - assertion?: HealthcareAssertion; - /** Preferred name for the entity. Example: 'histologically' would have a 'name' of 'histologic'. */ - name?: string; - /** Entity references in known data sources. */ - links?: HealthcareEntityLink[]; -}; +export type HealthcareEntity = HealthcareEntityProperties & + HealthcareLinkingProperties & {}; /** Defines headers for GeneratedClient_analyze operation. */ export interface GeneratedClientAnalyzeHeaders { @@ -624,7 +649,7 @@ export const enum KnownStringIndexType { * Defines values for StringIndexType. \ * {@link KnownStringIndexType} can be used interchangeably with StringIndexType, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **TextElement_v8**: Returned offset and length values will correspond to TextElements (Graphemes and Grapheme clusters) confirming to the Unicode 8.0.0 standard. Use this option if your application is written in .Net Framework or .Net Core and you will be using StringInfo. \ * **UnicodeCodePoint**: Returned offset and length values will correspond to Unicode code points. Use this option if your application is written in a language that support Unicode, for example Python. \ * **Utf16CodeUnit**: Returned offset and length values will correspond to UTF-16 code units. Use this option if your application is written in a language that support Unicode, for example Java, JavaScript. @@ -641,7 +666,7 @@ export const enum KnownPiiTaskParametersDomain { * Defines values for PiiTaskParametersDomain. \ * {@link KnownPiiTaskParametersDomain} can be used interchangeably with PiiTaskParametersDomain, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **phi** \ * **none** */ @@ -828,7 +853,7 @@ export const enum KnownPiiCategory { * Defines values for PiiCategory. \ * {@link KnownPiiCategory} can be used interchangeably with PiiCategory, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **ABARoutingNumber** \ * **ARNationalIdentityNumber** \ * **AUBankAccountNumber** \ @@ -1005,6 +1030,28 @@ export const enum KnownPiiCategory { */ export type PiiCategory = string; +/** Known values of {@link ErrorCodeValue} that the service accepts. */ +export const enum KnownErrorCodeValue { + InvalidRequest = "InvalidRequest", + InvalidArgument = "InvalidArgument", + InternalServerError = "InternalServerError", + ServiceUnavailable = "ServiceUnavailable", + NotFound = "NotFound" +} + +/** + * Defines values for ErrorCodeValue. \ + * {@link KnownErrorCodeValue} can be used interchangeably with ErrorCodeValue, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **InvalidRequest** \ + * **InvalidArgument** \ + * **InternalServerError** \ + * **ServiceUnavailable** \ + * **NotFound** + */ +export type ErrorCodeValue = string; + /** Known values of {@link InnerErrorCodeValue} that the service accepts. */ export const enum KnownInnerErrorCodeValue { InvalidParameterValue = "InvalidParameterValue", @@ -1022,7 +1069,7 @@ export const enum KnownInnerErrorCodeValue { * Defines values for InnerErrorCodeValue. \ * {@link KnownInnerErrorCodeValue} can be used interchangeably with InnerErrorCodeValue, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **InvalidParameterValue** \ * **InvalidRequestBodyFormat** \ * **EmptyRequest** \ @@ -1045,12 +1092,76 @@ export const enum KnownWarningCode { * Defines values for WarningCode. \ * {@link KnownWarningCode} can be used interchangeably with WarningCode, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **LongWordsInDocument** \ * **DocumentTruncated** */ export type WarningCode = string; +/** Known values of {@link HealthcareEntityCategory} that the service accepts. */ +export const enum KnownHealthcareEntityCategory { + BodyStructure = "BODY_STRUCTURE", + AGE = "AGE", + Gender = "GENDER", + ExaminationName = "EXAMINATION_NAME", + Date = "DATE", + Direction = "DIRECTION", + Frequency = "FREQUENCY", + MeasurementValue = "MEASUREMENT_VALUE", + MeasurementUnit = "MEASUREMENT_UNIT", + RelationalOperator = "RELATIONAL_OPERATOR", + Time = "TIME", + GeneORProtein = "GENE_OR_PROTEIN", + Variant = "VARIANT", + AdministrativeEvent = "ADMINISTRATIVE_EVENT", + CareEnvironment = "CARE_ENVIRONMENT", + HealthcareProfession = "HEALTHCARE_PROFESSION", + Diagnosis = "DIAGNOSIS", + SymptomORSign = "SYMPTOM_OR_SIGN", + ConditionQualifier = "CONDITION_QUALIFIER", + MedicationClass = "MEDICATION_CLASS", + MedicationName = "MEDICATION_NAME", + Dosage = "DOSAGE", + MedicationForm = "MEDICATION_FORM", + MedicationRoute = "MEDICATION_ROUTE", + FamilyRelation = "FAMILY_RELATION", + TreatmentName = "TREATMENT_NAME" +} + +/** + * Defines values for HealthcareEntityCategory. \ + * {@link KnownHealthcareEntityCategory} can be used interchangeably with HealthcareEntityCategory, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **BODY_STRUCTURE** \ + * **AGE** \ + * **GENDER** \ + * **EXAMINATION_NAME** \ + * **DATE** \ + * **DIRECTION** \ + * **FREQUENCY** \ + * **MEASUREMENT_VALUE** \ + * **MEASUREMENT_UNIT** \ + * **RELATIONAL_OPERATOR** \ + * **TIME** \ + * **GENE_OR_PROTEIN** \ + * **VARIANT** \ + * **ADMINISTRATIVE_EVENT** \ + * **CARE_ENVIRONMENT** \ + * **HEALTHCARE_PROFESSION** \ + * **DIAGNOSIS** \ + * **SYMPTOM_OR_SIGN** \ + * **CONDITION_QUALIFIER** \ + * **MEDICATION_CLASS** \ + * **MEDICATION_NAME** \ + * **DOSAGE** \ + * **MEDICATION_FORM** \ + * **MEDICATION_ROUTE** \ + * **FAMILY_RELATION** \ + * **TREATMENT_NAME** + */ +export type HealthcareEntityCategory = string; + /** Known values of {@link RelationType} that the service accepts. */ export const enum KnownRelationType { Abbreviation = "Abbreviation", @@ -1080,7 +1191,7 @@ export const enum KnownRelationType { * Defines values for RelationType. \ * {@link KnownRelationType} can be used interchangeably with RelationType, * this enum contains the known values that the service supports. - * ### Know values supported by the service + * ### Known values supported by the service * **Abbreviation** \ * **DirectionOfBodyStructure** \ * **DirectionOfCondition** \ @@ -1104,13 +1215,6 @@ export const enum KnownRelationType { * **ValueOfExamination** */ export type RelationType = string; -/** Defines values for ErrorCodeValue. */ -export type ErrorCodeValue = - | "InvalidRequest" - | "InvalidArgument" - | "InternalServerError" - | "ServiceUnavailable" - | "NotFound"; /** Defines values for State. */ export type State = | "notStarted" @@ -1119,8 +1223,7 @@ export type State = | "failed" | "rejected" | "cancelled" - | "cancelling" - | "partiallyCompleted"; + | "cancelling"; /** Defines values for DocumentSentimentLabel. */ export type DocumentSentimentLabel = | "positive" @@ -1183,6 +1286,10 @@ export interface GeneratedClientHealthStatusOptionalParams /** Contains response data for the healthStatus operation. */ export type GeneratedClientHealthStatusResponse = HealthcareJobState; +/** Optional parameters. */ +export interface GeneratedClientCancelHealthJobOptionalParams + extends coreClient.OperationOptions {} + /** Contains response data for the cancelHealthJob operation. */ export type GeneratedClientCancelHealthJobResponse = GeneratedClientCancelHealthJobHeaders; @@ -1301,6 +1408,8 @@ export type GeneratedClientSentimentResponse = SentimentResponse; /** Optional parameters. */ export interface GeneratedClientOptionalParams extends coreClient.ServiceClientOptions { + /** Text Analytics API version (for example, v3.0). */ + apiVersion?: string; /** Overrides client endpoint. */ endpoint?: string; } diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/models/mappers.ts b/sdk/textanalytics/ai-text-analytics/src/generated/models/mappers.ts index 2fd2c92c26b4..ce16bee3ddad 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/models/mappers.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/models/mappers.ts @@ -8,6 +8,37 @@ import * as coreClient from "@azure/core-client"; +export const JobDescriptor: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobDescriptor", + modelProperties: { + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + } + } + } +}; + +export const AnalysisInput: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AnalysisInput", + modelProperties: { + analysisInput: { + serializedName: "analysisInput", + type: { + name: "Composite", + className: "MultiLanguageBatchInput" + } + } + } + } +}; + export const MultiLanguageBatchInput: coreClient.CompositeMapper = { type: { name: "Composite", @@ -59,21 +90,6 @@ export const TextDocumentInput: coreClient.CompositeMapper = { } }; -export const JobDescriptor: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "JobDescriptor", - modelProperties: { - displayName: { - serializedName: "displayName", - type: { - name: "String" - } - } - } - } -}; - export const JobManifest: coreClient.CompositeMapper = { type: { name: "Composite", @@ -188,7 +204,6 @@ export const EntitiesTaskParameters: coreClient.CompositeMapper = { } }, loggingOptOut: { - defaultValue: false, serializedName: "loggingOptOut", type: { name: "Boolean" @@ -250,7 +265,7 @@ export const PiiTaskParameters: coreClient.CompositeMapper = { constraints: { UniqueItems: true }, - serializedName: "pii-categories", + serializedName: "piiCategories", type: { name: "Sequence", element: { @@ -299,7 +314,6 @@ export const KeyPhrasesTaskParameters: coreClient.CompositeMapper = { } }, loggingOptOut: { - defaultValue: false, serializedName: "loggingOptOut", type: { name: "Boolean" @@ -338,7 +352,6 @@ export const EntityLinkingTaskParameters: coreClient.CompositeMapper = { } }, loggingOptOut: { - defaultValue: false, serializedName: "loggingOptOut", type: { name: "Boolean" @@ -383,7 +396,6 @@ export const SentimentAnalysisTaskParameters: coreClient.CompositeMapper = { } }, loggingOptOut: { - defaultValue: false, serializedName: "loggingOptOut", type: { name: "Boolean" @@ -430,14 +442,7 @@ export const TextAnalyticsError: coreClient.CompositeMapper = { serializedName: "code", required: true, type: { - name: "Enum", - allowedValues: [ - "InvalidRequest", - "InvalidArgument", - "InternalServerError", - "ServiceUnavailable", - "NotFound" - ] + name: "String" } }, message: { @@ -519,43 +524,6 @@ export const InnerError: coreClient.CompositeMapper = { } }; -export const TextDocumentBatchStatistics: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TextDocumentBatchStatistics", - modelProperties: { - documentCount: { - serializedName: "documentsCount", - required: true, - type: { - name: "Number" - } - }, - validDocumentCount: { - serializedName: "validDocumentsCount", - required: true, - type: { - name: "Number" - } - }, - erroneousDocumentCount: { - serializedName: "erroneousDocumentsCount", - required: true, - type: { - name: "Number" - } - }, - transactionCount: { - serializedName: "transactionsCount", - required: true, - type: { - name: "Number" - } - } - } - } -}; - export const JobMetadata: coreClient.CompositeMapper = { type: { name: "Composite", @@ -600,8 +568,7 @@ export const JobMetadata: coreClient.CompositeMapper = { "failed", "rejected", "cancelled", - "cancelling", - "partiallyCompleted" + "cancelling" ] } } @@ -609,6 +576,21 @@ export const JobMetadata: coreClient.CompositeMapper = { } }; +export const AnalyzeJobDisplayName: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AnalyzeJobDisplayName", + modelProperties: { + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + } + } + } +}; + export const TasksState: coreClient.CompositeMapper = { type: { name: "Composite", @@ -630,13 +612,6 @@ export const TasksStateTasks: coreClient.CompositeMapper = { name: "Composite", className: "TasksStateTasks", modelProperties: { - details: { - serializedName: "details", - type: { - name: "Composite", - className: "TasksStateTasksDetails" - } - }, completed: { serializedName: "completed", required: true, @@ -741,12 +716,6 @@ export const TaskState: coreClient.CompositeMapper = { name: "DateTime" } }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, status: { serializedName: "status", required: true, @@ -759,8 +728,7 @@ export const TaskState: coreClient.CompositeMapper = { "failed", "rejected", "cancelled", - "cancelling", - "partiallyCompleted" + "cancelling" ] } } @@ -768,11 +736,10 @@ export const TaskState: coreClient.CompositeMapper = { } }; -export const Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1: coreClient.CompositeMapper = { +export const EntitiesTaskResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1", + className: "EntitiesTaskResult", modelProperties: { results: { serializedName: "results", @@ -1002,11 +969,47 @@ export const DocumentError: coreClient.CompositeMapper = { } }; -export const Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1: coreClient.CompositeMapper = { +export const TextDocumentBatchStatistics: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "TextDocumentBatchStatistics", + modelProperties: { + documentCount: { + serializedName: "documentsCount", + required: true, + type: { + name: "Number" + } + }, + validDocumentCount: { + serializedName: "validDocumentsCount", + required: true, + type: { + name: "Number" + } + }, + erroneousDocumentCount: { + serializedName: "erroneousDocumentsCount", + required: true, + type: { + name: "Number" + } + }, + transactionCount: { + serializedName: "transactionsCount", + required: true, + type: { + name: "Number" + } + } + } + } +}; + +export const PiiTaskResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1", + className: "PiiTaskResult", modelProperties: { results: { serializedName: "results", @@ -1124,11 +1127,10 @@ export const PiiDocumentEntities: coreClient.CompositeMapper = { } }; -export const Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1: coreClient.CompositeMapper = { +export const KeyPhraseTaskResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1", + className: "KeyPhraseTaskResult", modelProperties: { results: { serializedName: "results", @@ -1238,11 +1240,10 @@ export const DocumentKeyPhrases: coreClient.CompositeMapper = { } }; -export const ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1: coreClient.CompositeMapper = { +export const EntityLinkingTaskResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1", + className: "EntityLinkingTaskResult", modelProperties: { results: { serializedName: "results", @@ -1452,11 +1453,10 @@ export const Match: coreClient.CompositeMapper = { } }; -export const Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1: coreClient.CompositeMapper = { +export const SentimentTaskResult: coreClient.CompositeMapper = { type: { name: "Composite", - className: - "Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1", + className: "SentimentTaskResult", modelProperties: { results: { serializedName: "results", @@ -1838,6 +1838,34 @@ export const SentenceAssessment: coreClient.CompositeMapper = { } }; +export const AnalyzeJobErrorsAndStatistics: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AnalyzeJobErrorsAndStatistics", + modelProperties: { + errors: { + serializedName: "errors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TextAnalyticsError" + } + } + } + }, + statistics: { + serializedName: "statistics", + type: { + name: "Composite", + className: "TextDocumentBatchStatistics" + } + } + } + } +}; + export const Pagination: coreClient.CompositeMapper = { type: { name: "Composite", @@ -1853,6 +1881,34 @@ export const Pagination: coreClient.CompositeMapper = { } }; +export const HealthcareTaskResult: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HealthcareTaskResult", + modelProperties: { + results: { + serializedName: "results", + type: { + name: "Composite", + className: "HealthcareResult" + } + }, + errors: { + serializedName: "errors", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TextAnalyticsError" + } + } + } + } + } + } +}; + export const HealthcareResult: coreClient.CompositeMapper = { type: { name: "Composite", @@ -1964,6 +2020,90 @@ export const DocumentHealthcareEntities: coreClient.CompositeMapper = { } }; +export const HealthcareEntityProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HealthcareEntityProperties", + modelProperties: { + text: { + serializedName: "text", + required: true, + type: { + name: "String" + } + }, + category: { + serializedName: "category", + required: true, + type: { + name: "String" + } + }, + subcategory: { + serializedName: "subcategory", + type: { + name: "String" + } + }, + offset: { + serializedName: "offset", + required: true, + type: { + name: "Number" + } + }, + length: { + serializedName: "length", + required: true, + type: { + name: "Number" + } + }, + confidenceScore: { + serializedName: "confidenceScore", + required: true, + type: { + name: "Number" + } + } + } + } +}; + +export const HealthcareLinkingProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "HealthcareLinkingProperties", + modelProperties: { + assertion: { + serializedName: "assertion", + type: { + name: "Composite", + className: "HealthcareAssertion" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + links: { + serializedName: "links", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HealthcareEntityLink" + } + } + } + } + } + } +}; + export const HealthcareAssertion: coreClient.CompositeMapper = { type: { name: "Composite", @@ -2254,14 +2394,8 @@ export const AnalyzeBatchInput: coreClient.CompositeMapper = { className: "AnalyzeBatchInput", modelProperties: { ...JobDescriptor.type.modelProperties, - ...JobManifest.type.modelProperties, - analysisInput: { - serializedName: "analysisInput", - type: { - name: "Composite", - className: "MultiLanguageBatchInput" - } - } + ...AnalysisInput.type.modelProperties, + ...JobManifest.type.modelProperties } } }; @@ -2272,12 +2406,7 @@ export const AnalyzeJobMetadata: coreClient.CompositeMapper = { className: "AnalyzeJobMetadata", modelProperties: { ...JobMetadata.type.modelProperties, - displayName: { - serializedName: "displayName", - type: { - name: "String" - } - } + ...AnalyzeJobDisplayName.type.modelProperties } } }; @@ -2288,26 +2417,8 @@ export const HealthcareJobState: coreClient.CompositeMapper = { className: "HealthcareJobState", modelProperties: { ...JobMetadata.type.modelProperties, - ...Pagination.type.modelProperties, - results: { - serializedName: "results", - type: { - name: "Composite", - className: "HealthcareResult" - } - }, - errors: { - serializedName: "errors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsError" - } - } - } - } + ...HealthcareTaskResult.type.modelProperties, + ...Pagination.type.modelProperties } } }; @@ -2319,36 +2430,8 @@ export const AnalyzeJobState: coreClient.CompositeMapper = { modelProperties: { ...AnalyzeJobMetadata.type.modelProperties, ...TasksState.type.modelProperties, - ...Pagination.type.modelProperties, - errors: { - serializedName: "errors", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TextAnalyticsError" - } - } - } - }, - statistics: { - serializedName: "statistics", - type: { - name: "Composite", - className: "TextDocumentBatchStatistics" - } - } - } - } -}; - -export const TasksStateTasksDetails: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "TasksStateTasksDetails", - modelProperties: { - ...TaskState.type.modelProperties + ...AnalyzeJobErrorsAndStatistics.type.modelProperties, + ...Pagination.type.modelProperties } } }; @@ -2359,8 +2442,7 @@ export const TasksStateTasksEntityRecognitionTasksItem: coreClient.CompositeMapp className: "TasksStateTasksEntityRecognitionTasksItem", modelProperties: { ...TaskState.type.modelProperties, - ...Components15Gvwi3SchemasTasksstatePropertiesTasksPropertiesEntityrecognitiontasksItemsAllof1 - .type.modelProperties + ...EntitiesTaskResult.type.modelProperties } } }; @@ -2371,8 +2453,7 @@ export const TasksStateTasksEntityRecognitionPiiTasksItem: coreClient.CompositeM className: "TasksStateTasksEntityRecognitionPiiTasksItem", modelProperties: { ...TaskState.type.modelProperties, - ...Components15X8E9LSchemasTasksstatePropertiesTasksPropertiesEntityrecognitionpiitasksItemsAllof1 - .type.modelProperties + ...PiiTaskResult.type.modelProperties } } }; @@ -2383,8 +2464,7 @@ export const TasksStateTasksKeyPhraseExtractionTasksItem: coreClient.CompositeMa className: "TasksStateTasksKeyPhraseExtractionTasksItem", modelProperties: { ...TaskState.type.modelProperties, - ...Components1D9IzucSchemasTasksstatePropertiesTasksPropertiesKeyphraseextractiontasksItemsAllof1 - .type.modelProperties + ...KeyPhraseTaskResult.type.modelProperties } } }; @@ -2395,8 +2475,7 @@ export const TasksStateTasksEntityLinkingTasksItem: coreClient.CompositeMapper = className: "TasksStateTasksEntityLinkingTasksItem", modelProperties: { ...TaskState.type.modelProperties, - ...ComponentsIfu7BjSchemasTasksstatePropertiesTasksPropertiesEntitylinkingtasksItemsAllof1 - .type.modelProperties + ...EntityLinkingTaskResult.type.modelProperties } } }; @@ -2407,8 +2486,7 @@ export const TasksStateTasksSentimentAnalysisTasksItem: coreClient.CompositeMapp className: "TasksStateTasksSentimentAnalysisTasksItem", modelProperties: { ...TaskState.type.modelProperties, - ...Components1C6O47FSchemasTasksstatePropertiesTasksPropertiesSentimentanalysistasksItemsAllof1 - .type.modelProperties + ...SentimentTaskResult.type.modelProperties } } }; @@ -2418,32 +2496,8 @@ export const HealthcareEntity: coreClient.CompositeMapper = { name: "Composite", className: "HealthcareEntity", modelProperties: { - ...Entity.type.modelProperties, - assertion: { - serializedName: "assertion", - type: { - name: "Composite", - className: "HealthcareAssertion" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - links: { - serializedName: "links", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "HealthcareEntityLink" - } - } - } - } + ...HealthcareEntityProperties.type.modelProperties, + ...HealthcareLinkingProperties.type.modelProperties } } }; diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/models/parameters.ts b/sdk/textanalytics/ai-text-analytics/src/generated/models/parameters.ts index ae81f09a94a4..c8c33c78f0ab 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/models/parameters.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/models/parameters.ts @@ -58,6 +58,19 @@ export const endpoint: OperationURLParameter = { skipEncoding: true }; +export const apiVersion: OperationURLParameter = { + parameterPath: "apiVersion", + mapper: { + defaultValue: "v3.1", + isConstant: true, + serializedName: "ApiVersion", + type: { + name: "String" + } + }, + skipEncoding: true +}; + export const jobId: OperationURLParameter = { parameterPath: "jobId", mapper: { diff --git a/sdk/textanalytics/ai-text-analytics/src/index.ts b/sdk/textanalytics/ai-text-analytics/src/index.ts index 3c2c4ac34b06..4dca3f4bc81d 100644 --- a/sdk/textanalytics/ai-text-analytics/src/index.ts +++ b/sdk/textanalytics/ai-text-analytics/src/index.ts @@ -119,6 +119,8 @@ export { TextAnalyticsSuccessResult } from "./textAnalyticsResult"; +export { TextAnalyticsAction } from "./textAnalyticsAction"; + // Models export { DetectedLanguage, @@ -147,5 +149,7 @@ export { Association as EntityAssociation, Certainty as EntityCertainty, Conditionality as EntityConditionality, - RelationType as HealthcareEntityRelationType + RelationType as HealthcareEntityRelationType, + KnownHealthcareEntityCategory, + HealthcareEntityCategory } from "./generated/models"; diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsAction.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsAction.ts new file mode 100644 index 000000000000..053a353d5b0f --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsAction.ts @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +/** + * The type of a text analytics action. + */ +export interface TextAnalyticsAction { + /** + * The version of the text analytics model used by this operation on this + * batch of input documents. + */ + modelVersion?: string; + /** + * The preferred name for this action. + */ + actionName?: string; +} diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts index fe0ff1865d32..898f25e700b4 100644 --- a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts +++ b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts @@ -74,6 +74,7 @@ import { AnalyzeActionsOperationState } from "./lro/analyze/operation"; import { AnalysisPollOperationState, OperationMetadata } from "./lro/poller"; +import { TextAnalyticsAction } from "./textAnalyticsAction"; export { BeginAnalyzeActionsOptions, @@ -170,7 +171,7 @@ export interface RecognizePiiEntitiesOptions extends TextAnalyticsOperationOptio */ stringIndexType?: StringIndexType; /** - * Specifies the list of Pii categories to return. + * Filters entities to ones only included in the specified array of categories */ categoriesFilter?: PiiCategory[]; } @@ -195,12 +196,7 @@ export interface RecognizeLinkedEntitiesOptions extends TextAnalyticsOperationOp /** * Options for an entities recognition action. */ -export type RecognizeCategorizedEntitiesAction = { - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion?: string; +export interface RecognizeCategorizedEntitiesAction extends TextAnalyticsAction { /** * Specifies the measurement unit used to calculate the offset and length properties. * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". @@ -213,23 +209,22 @@ export type RecognizeCategorizedEntitiesAction = { * disables input logging and may limit our ability to remediate issues that occur. */ disableServiceLogs?: boolean; -}; +} /** * Options for a Pii entities recognition action. */ -export type RecognizePiiEntitiesAction = { +export interface RecognizePiiEntitiesAction extends TextAnalyticsAction { /** * Filters entities to ones only included in the specified domain (e.g., if * set to 'PHI', entities in the Protected Healthcare Information domain will * only be returned). @see {@link https://aka.ms/tanerpii} for more information. */ - domain?: PiiEntityDomain; + domainFilter?: PiiEntityDomain; /** - * The version of the text analytics model used by this operation on this - * batch of input documents. + * Filters entities to ones only included in the specified array of categories */ - modelVersion?: string; + categoriesFilter?: PiiCategory[]; /** * Specifies the measurement unit used to calculate the offset and length properties. * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". @@ -242,17 +237,12 @@ export type RecognizePiiEntitiesAction = { * enables input logging. */ disableServiceLogs?: boolean; -}; +} /** * Options for a key phrases recognition action. */ -export interface ExtractKeyPhrasesAction { - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion?: string; +export interface ExtractKeyPhrasesAction extends TextAnalyticsAction { /** * If set to false, you opt-in to have your text input logged for troubleshooting. By default, Text Analytics * will not log your input text for pii entities recognition. Setting this parameter to false, @@ -264,12 +254,7 @@ export interface ExtractKeyPhrasesAction { /** * Options for an entities linking action. */ -export type RecognizeLinkedEntitiesAction = { - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion?: string; +export interface RecognizeLinkedEntitiesAction extends TextAnalyticsAction { /** * Specifies the measurement unit used to calculate the offset and length properties. * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". @@ -282,17 +267,12 @@ export type RecognizeLinkedEntitiesAction = { * disables input logging and may limit our ability to remediate issues that occur. */ disableServiceLogs?: boolean; -}; +} /** * Options for an analyze sentiment action. */ -export type AnalyzeSentimentAction = { - /** - * The version of the text analytics model used by this operation on this - * batch of input documents. - */ - modelVersion?: string; +export interface AnalyzeSentimentAction extends TextAnalyticsAction { /** * Specifies the measurement unit used to calculate the offset and length properties. * Possible units are "TextElements_v8", "UnicodeCodePoint", and "Utf16CodeUnit". @@ -314,30 +294,30 @@ export type AnalyzeSentimentAction = { * More information about the feature can be found here: {@link https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis?tabs=version-3-1#opinion-mining} */ includeOpinionMining?: boolean; -}; +} /** - * Description of collection of actions for the analyze API to perform on input documents + * Description of collection of actions for the analyze API to perform on input documents. However, currently, the service can accept up to one action only per action type. */ export interface TextAnalyticsActions { /** - * A collection of descriptions of entities recognition actions. + * A collection of descriptions of entities recognition actions. However, currently, the service can accept up to one action only for `recognizeEntities`. */ recognizeEntitiesActions?: RecognizeCategorizedEntitiesAction[]; /** - * A collection of descriptions of Pii entities recognition actions. + * A collection of descriptions of Pii entities recognition actions. However, currently, the service can accept up to one action only for `recognizePiiEntities`. */ recognizePiiEntitiesActions?: RecognizePiiEntitiesAction[]; /** - * A collection of descriptions of key phrases recognition actions. + * A collection of descriptions of key phrases recognition actions. However, currently, the service can accept up to one action only for `extractKeyPhrases`. */ extractKeyPhrasesActions?: ExtractKeyPhrasesAction[]; /** - * A collection of descriptions of entities linking actions. + * A collection of descriptions of entities linking actions. However, currently, the service can accept up to one action only for `recognizeLinkedEntities`. */ recognizeLinkedEntitiesActions?: RecognizeLinkedEntitiesAction[]; /** - * A collection of descriptions of sentiment analysis actions. + * A collection of descriptions of sentiment analysis actions. However, currently, the service can accept up to one action only for `analyzeSentiment`. */ analyzeSentimentActions?: AnalyzeSentimentAction[]; } @@ -1014,6 +994,7 @@ export class TextAnalyticsClient { realInputs = documents; realOptions = (languageOrOptions as BeginAnalyzeActionsOptions) || {}; } + validateActions(actions); const compiledActions = compileAnalyzeInput(actions); const { updateIntervalInMs, resumeFrom, ...restOptions } = realOptions; const poller = new BeginAnalyzeActionsPoller({ @@ -1030,6 +1011,21 @@ export class TextAnalyticsClient { } } +function validateActions(actions: TextAnalyticsActions): void { + function validateActionType(actionList: unknown[] | undefined, actionType: string): void { + if ((actionList?.length ?? 0) > 1) { + throw new Error( + `beginAnalyzeActions: Currently, the service can accept up to one action only for ${actionType} actions.` + ); + } + } + validateActionType(actions.analyzeSentimentActions, `analyzeSentiment`); + validateActionType(actions.extractKeyPhrasesActions, `extractKeyPhrases`); + validateActionType(actions.recognizeEntitiesActions, `recognizeEntities`); + validateActionType(actions.recognizeLinkedEntitiesActions, `recognizeLinkedEntities`); + validateActionType(actions.recognizePiiEntitiesActions, `recognizePiiEntities`); +} + /** * @internal */ diff --git a/sdk/textanalytics/ai-text-analytics/src/util.ts b/sdk/textanalytics/ai-text-analytics/src/util.ts index f58d02e0b947..e2fa656c8143 100644 --- a/sdk/textanalytics/ai-text-analytics/src/util.ts +++ b/sdk/textanalytics/ai-text-analytics/src/util.ts @@ -5,6 +5,7 @@ import { RestError } from "@azure/core-rest-pipeline"; import { URL, URLSearchParams } from "./utils/url"; import { logger } from "./logger"; import { StringIndexType as GeneratedStringIndexType } from "./generated"; +import { TextAnalyticsAction } from "./textAnalyticsAction"; /** * @internal @@ -135,8 +136,11 @@ export function setOpinionMining( /** * @internal */ -export function AddParamsToTask(action: X): { parameters?: X } { - return { parameters: action }; +export function AddParamsToTask( + action: X +): { parameters?: Omit; taskName?: string } { + const { actionName, ...params } = action; + return { parameters: params, taskName: actionName }; } /** diff --git a/sdk/textanalytics/ai-text-analytics/swagger/README.md b/sdk/textanalytics/ai-text-analytics/swagger/README.md index 9b260600713f..9301cc043115 100644 --- a/sdk/textanalytics/ai-text-analytics/swagger/README.md +++ b/sdk/textanalytics/ai-text-analytics/swagger/README.md @@ -12,11 +12,12 @@ generate-metadata: false license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../ source-code-folder-path: ./src/generated -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/1397ebcd89b83e94c674db1763b5fe97c45e74e3/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.5/TextAnalytics.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/cognitiveservices/data-plane/TextAnalytics/stable/v3.1/TextAnalytics.json add-credentials: false -package-version: 5.1.0-beta.6 +package-version: 5.1.0 v3: true hide-clients: true +typescript: true ``` ## Customizations for Track 2 Generator @@ -194,6 +195,16 @@ directive: delete $["targetRef"]; ``` +### Remove taskName + +```yaml +directive: + - from: swagger-document + where: $.definitions..properties + transform: > + delete $["taskName"]; +``` + ### Rename text input objects to avoid "export as" ```yaml diff --git a/sdk/textanalytics/ai-text-analytics/test/public/apiKey.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/apiKey.spec.ts deleted file mode 100644 index 17f26c0115ff..000000000000 --- a/sdk/textanalytics/ai-text-analytics/test/public/apiKey.spec.ts +++ /dev/null @@ -1,718 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. - -import { assert, use as chaiUse } from "chai"; -import { Suite, Context } from "mocha"; -import chaiPromises from "chai-as-promised"; -chaiUse(chaiPromises); - -import { isPlaybackMode, Recorder } from "@azure/test-utils-recorder"; - -import { createClient, createRecorder } from "./utils/recordedClient"; -import { TextAnalyticsClient } from "../../src"; -import { assertAllSuccess } from "./utils/resultHelper"; -import { checkEntityTextOffset } from "./utils/stringIndexTypeHelpers"; - -const testDataEn = [ - "I had a wonderful trip to Seattle last week and even visited the Space Needle 2 times!", - "Unfortunately, it rained during my entire trip to Seattle. I didn't even get to visit the Space Needle", - "I went to see a movie on Saturday and it was perfectly average, nothing more or less than I expected.", - "I didn't like the last book I read at all." -]; - -describe("[API Key] TextAnalyticsClient", function(this: Suite) { - let recorder: Recorder; - let client: TextAnalyticsClient; - const CLITimeout = this.timeout(); - const fastTimeout = 10000; - - beforeEach(function(this: Context) { - recorder = createRecorder(this); - client = createClient("APIKey"); - }); - - afterEach(async function() { - await recorder.stop(); - }); - - describe("fast tests", function() { - before(function(this: Context) { - this.timeout(fastTimeout); - }); - - it("#analyzeSentiment", async function() { - const results = await client.analyzeSentiment(testDataEn); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); - - it("#detectLanguage", async function() { - const results = await client.detectLanguage(["impossible"], "fr"); - assert.equal(results.length, 1); - assertAllSuccess(results); - }); - - it("#extractKeyPhrases", async function() { - const results = await client.extractKeyPhrases([ - "I had a wonderful trip to Seattle last weekend" - ]); - assert.equal(results.length, 1); - assertAllSuccess(results); - }); - - it("#recognizeEntities", async function() { - const results = await client.recognizeEntities([ - "I had a wonderful trip to Seattle last weekend." - ]); - assert.equal(results.length, 1); - assertAllSuccess(results); - }); - - it("#recognizeLinkedEntities", async function() { - const results = await client.recognizeLinkedEntities(["the Roman god Mars"]); - assert.equal(results.length, 1); - assertAllSuccess(results); - }); - - it("#recognizePiiEntities", async function() { - const results = await client.recognizePiiEntities([ - "Your social-security number is 078-05-1120." - ]); - assert.equal(results.length, 1); - assertAllSuccess(results); - }); - }); - - describe("LROs", function() { - const pollingInterval = isPlaybackMode() ? 0 : 2000; - - before(function(this: Context) { - this.timeout(isPlaybackMode() ? fastTimeout : CLITimeout); - }); - - describe("#health", function() { - it("input strings", async function() { - const poller = await client.beginAnalyzeHealthcareEntities( - [ - "Patient does not suffer from high blood pressure.", - "Prescribed 100mg ibuprofen, taken twice daily." - ], - "en", - { - updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - const doc1 = (await result.next()).value; - if (!doc1.error) { - assert.ok(doc1.id); - assert.ok(doc1.entities); - const doc1Entity1 = doc1.entities[0]; - assert.equal(doc1Entity1.text, "high blood pressure"); - assert.equal(doc1Entity1.assertion?.certainty, "negative"); - } - - const doc2 = (await result.next()).value; - if (!doc2.error) { - assert.ok(doc2.id); - assert.ok(doc2.entities); - const doc2Entity1 = doc2.entities[0]; - assert.equal(doc2Entity1.text, "100mg"); - assert.deepEqual(doc2.entityRelations[0], { - relationType: "DosageOfMedication", - roles: [ - { - entity: doc2.entities[0], - name: "Dosage" - }, - { - entity: doc2.entities[1], - name: "Medication" - } - ] - }); - assert.deepEqual(doc2.entityRelations[1], { - relationType: "FrequencyOfMedication", - roles: [ - { - entity: doc2.entities[1], - name: "Medication" - }, - { - entity: doc2.entities[2], - name: "Frequency" - } - ] - }); - - const doc2Entity2 = doc2.entities[1]; - assert.equal(doc2Entity2.text, "ibuprofen"); - - const doc2Entity3 = doc2.entities[2]; - assert.equal(doc2Entity3.text, "twice daily"); - } - }); - - it("entity assertions", async function() { - const poller = await client.beginAnalyzeHealthcareEntities( - [ - "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too." - ], - "en", - { - updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - const doc1 = (await result.next()).value; - if (!doc1.error) { - assert.ok(doc1.id); - assert.ok(doc1.entities); - const doc1Entity1 = doc1.entities[0]; - assert.equal(doc1Entity1.text, "Baby"); - assert.equal(doc1Entity1.category, "Age"); - assert.equal(doc1Entity1.normalizedText, "Infant"); - assert.isUndefined(doc1Entity1.assertion?.association); - assert.isUndefined(doc1Entity1.assertion?.conditionality); - - const doc1Entity2 = doc1.entities[1]; - assert.equal(doc1Entity2.text, "Meningitis"); - assert.equal(doc1Entity2.category, "Diagnosis"); - assert.equal(doc1Entity2.assertion?.certainty, "negativePossible"); - assert.equal(doc1Entity2.normalizedText, "Meningitis"); - assert.isUndefined(doc1Entity2.assertion?.association); - assert.isUndefined(doc1Entity2.assertion?.conditionality); - - const doc1Entity3 = doc1.entities[2]; - assert.equal(doc1Entity3.text, "fever"); - assert.equal(doc1Entity3.normalizedText, "Fever"); - assert.equal(doc1Entity3.category, "SymptomOrSign"); - assert.isUndefined(doc1Entity3.assertion?.association); - assert.isUndefined(doc1Entity3.assertion?.conditionality); - - const doc1Entity4 = doc1.entities[3]; - assert.equal(doc1Entity4.text, "mother"); - assert.equal(doc1Entity4.normalizedText, "Mother (person)"); - assert.equal(doc1Entity4.category, "FamilyRelation"); - assert.isUndefined(doc1Entity4.assertion?.association); - assert.isUndefined(doc1Entity4.assertion?.conditionality); - - const doc1Entity5 = doc1.entities[4]; - assert.equal(doc1Entity5.text, "Penicillin"); - assert.equal(doc1Entity5.category, "MedicationName"); - assert.equal(doc1Entity5.normalizedText, "penicillins"); - assert.equal(doc1Entity5.assertion?.certainty, "neutralPossible"); - assert.isUndefined(doc1Entity5.assertion?.association); - assert.isUndefined(doc1Entity5.assertion?.conditionality); - - const doc1Entity6 = doc1.entities[5]; - assert.equal(doc1Entity6.text, "baby"); - assert.equal(doc1Entity6.category, "FamilyRelation"); - assert.equal(doc1Entity6.normalizedText, "Infant"); - assert.isUndefined(doc1Entity6.assertion?.association); - assert.isUndefined(doc1Entity6.assertion?.conditionality); - - assert.isEmpty(doc1.entityRelations); - } - }); - - it("input documents", async function() { - const poller = await client.beginAnalyzeHealthcareEntities( - [ - { id: "1", text: "Patient does not suffer from high blood pressure.", language: "en" }, - { id: "2", text: "Prescribed 100mg ibuprofen, taken twice daily.", language: "en" } - ], - { - updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - for await (const doc of result) { - if (!doc.error) { - assert.ok(doc.id); - assert.ok(doc.entities); - } - } - }); - - it("some inputs with errors", async function() { - const docs = [ - { id: "1", language: "en", text: "" }, - { - id: "2", - language: "english", - text: "Patient does not suffer from high blood pressure." - }, - { id: "3", language: "en", text: "Prescribed 100mg ibuprofen, taken twice daily." } - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - const result1 = (await result.next()).value; - const result2 = (await result.next()).value; - const result3 = (await result.next()).value; - if (!result3.error) { - assert.ok(result3.id); - assert.ok(result3.entities); - } - assert.ok(result1.error); - assert.ok(result2.error); - }); - - it("all inputs with errors", async function() { - const docs = [ - { id: "1", language: "en", text: "" }, - { - id: "2", - language: "english", - text: "Patient does not suffer from high blood pressure." - }, - { id: "3", language: "en", text: "" } - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - const result1 = (await result.next()).value; - const result2 = (await result.next()).value; - const result3 = (await result.next()).value; - assert.ok(result1.error); - assert.ok(result2.error); - assert.ok(result3.error); - }); - - it("too many documents", async function() { - const docs = Array(11).fill("random text"); - try { - const response = await client.beginAnalyzeHealthcareEntities(docs, "en", { - updateIntervalInMs: pollingInterval - }); - console.log(response); - assert.fail("Oops, an exception didn't happen."); - } catch (e) { - assert.equal(e.statusCode, 400); - assert.equal(e.code, "InvalidDocumentBatch"); - assert.equal( - e.message, - "Batch request contains too many records. Max 10 records are permitted." - ); - } - }); - - it("payload too large", async function() { - const large_doc = - "RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | \ - CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 \ - Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: \ - CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: \ - The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. \ - The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and \ - 50% left main disease , with a strong family history of coronary artery disease with a brother dying at \ - the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. \ - The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities ,\ - but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions \ - in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's \ - increased symptoms and family history and history left main disease with total occasional of his RCA was referred \ - for revascularization with open heart surgery."; - const docs = Array(500).fill(large_doc); - try { - await client.beginAnalyzeHealthcareEntities(docs, "en", { - updateIntervalInMs: pollingInterval - }); - assert.fail("Oops, an exception didn't happen."); - } catch (e) { - assert.equal(e.statusCode, 413); - assert.equal(e.code, "InvalidDocumentBatch"); - assert.equal( - e.message, - "Request Payload sent is too large to be processed. Limit request size to: 524288" - ); - } - }); - - it("document warnings", async function() { - const docs = [{ id: "1", text: "This won't actually create a warning :'(" }]; - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - for await (const doc of result) { - if (!doc.error) { - assert.equal(doc.warnings.length, 0); - } - } - }); - - it("output has the same order as input", async function() { - const docs = [ - { id: "1", text: "one" }, - { id: "2", text: "two" }, - { id: "3", text: "three" }, - { id: "4", text: "four" }, - { id: "5", text: "five" } - ]; - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - let i = 0; - for await (const doc of result) { - assert.equal(parseInt(doc.id), ++i); - } - }); - - it("output has the same order as input with out of order IDs", async function() { - const docs = [ - { id: "56", text: ":)" }, - { id: "0", text: ":(" }, - { id: "22", text: "" }, - { id: "19", text: ":P" }, - { id: "1", text: ":D" } - ]; - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - const in_order = [56, 0, 22, 19, 1]; - let i = 0; - for await (const doc of result) { - assert.equal(parseInt(doc.id), in_order[i++]); - } - }); - - it("show stats and model version", async function() { - const docs = [ - { id: "56", text: ":)" }, - { id: "0", text: ":(" }, - { id: "22", text: "" }, - { id: "19", text: ":P" }, - { id: "1", text: ":D" } - ]; - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - modelVersion: "latest", - includeStatistics: true, - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - assert.ok(result); - assert.ok(result.modelVersion); - assert.equal(result.statistics?.documentCount, 5); - assert.equal(result.statistics?.transactionCount, 4); - assert.equal(result.statistics?.validDocumentCount, 4); - assert.equal(result.statistics?.erroneousDocumentCount, 1); - }); - - it("whole batch language hint", async function() { - const docs = [ - "This was the best day of my life.", - "I did not like the hotel we stayed at. It was too expensive.", - "The restaurant was not as good as I hoped." - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, "en", { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - for await (const doc of result) { - assert.isUndefined(doc.error); - } - }); - - it("whole batch empty language hint", async function() { - const docs = [ - "This was the best day of my life.", - "I did not like the hotel we stayed at. It was too expensive.", - "The restaurant was not as good as I hoped." - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, "", { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - for await (const doc of result) { - assert.isUndefined(doc.error); - } - }); - - it("whole batch empty language hint per doc", async function() { - const docs = [ - { id: "1", language: "", text: "I will go to the park." }, - { id: "2", language: "", text: "I did not like the hotel we stayed at." }, - { id: "3", text: "The restaurant had really good food." } - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - for await (const doc of result) { - assert.isUndefined(doc.error); - } - }); - - it("whole batch with multiple languages", async function() { - const docs = [ - { id: "1", text: "I should take my cat to the veterinarian." }, - { id: "2", text: "Este es un document escrito en Español." }, - { id: "3", text: "猫は幸せ" } - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - for await (const doc of result) { - assert.isUndefined(doc.error); - } - }); - - it("invalid language hint", async function() { - const docs = ["This should fail because we're passing in an invalid language hint"]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, "notalanguage", { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - const firstResult = (await result.next()).value; - assert.equal(firstResult.error?.code, "UnsupportedLanguageCode"); - }); - - it("invalid language hint in doc", async function() { - const docs = [ - { - id: "1", - language: "notalanguage", - text: "This should fail because we're passing in an invalid language hint" - } - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - const firstResult = (await result.next()).value; - assert.equal(firstResult.error?.code, "UnsupportedLanguageCode"); - }); - - /** - * The service accepts bad model names - */ - it.skip("bad model", async function() { - const docs = [ - { - id: "1", - language: "en", - text: "This should fail because we're passing in an invalid language hint" - } - ]; - - try { - await client.beginAnalyzeHealthcareEntities(docs, { - modelVersion: "bad", - updateIntervalInMs: pollingInterval - }); - assert.fail("Oops, an exception didn't happen."); - } catch (e) { - assert.equal(e.code, "ModelVersionIncorrect"); - } - }); - - it("all documents have errors", async function() { - let text = ""; - for (let i = 0; i < 5121; ++i) { - text = text + "x"; - } - const docs = [ - { id: "1", text: "" }, - { id: "2", language: "english", text: "I did not like the hotel we stayed at." }, - { id: "3", text: text } - ]; - - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const doc_errors = await poller.pollUntilDone(); - assert.equal((await doc_errors.next()).value.error?.code, "InvalidDocument"); - assert.equal((await doc_errors.next()).value.error?.code, "UnsupportedLanguageCode"); - assert.equal((await doc_errors.next()).value.error?.code, "InvalidDocument"); - }); - - it("documents with duplicate IDs", async function() { - const docs = [ - { id: "1", text: "hello world" }, - { id: "1", text: "I did not like the hotel we stayed at." } - ]; - - try { - await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - assert.fail("Oops, an exception didn't happen."); - } catch (e) { - assert.equal(e.code, "InvalidRequest"); - } - }); - - /** - * the service by default returns pages of 20 documents each and this test - * makes sure we get all the results and not just the first page. - * - * EDIT: the service decided to process only 10 documents max per request so - * pagination became unneeded. Once the service raises the limit on - * the number of input documents, we should re-enable these tests. - */ - it.skip("paged results one loop", async function() { - const docs = Array(40).fill("random text"); - docs.push("Prescribed 100mg ibuprofen, taken twice daily."); - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - let count = 0; - for await (const doc of result) { - assert.isUndefined(doc.error); - ++count; - if (!doc.error) { - if (count === 41) { - assert.equal(doc.entities.length, 3); - } else { - assert.equal(doc.entities.length, 0); - } - } - } - assert.equal(docs.length, count); - }); - - it.skip("paged results nested loop", async function() { - const docs = Array(40).fill("random text"); - docs.push("Prescribed 100mg ibuprofen, taken twice daily."); - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - let docCount = 0, - pageCount = 0; - for await (const pageDocs of result.byPage()) { - ++pageCount; - for (const doc of pageDocs) { - assert.isUndefined(doc.error); - ++docCount; - if (!doc.error) { - if (docCount === 41) { - assert.equal(doc.entities.length, 3); - } else { - assert.equal(doc.entities.length, 0); - } - } - } - } - assert.equal(docs.length, docCount); - assert.equal(Math.ceil(docs.length / 20), pageCount); - }); - - it.skip("paged results with custom page size", async function() { - const docs = Array(40).fill("random text"); - docs.push("Prescribed 100mg ibuprofen, taken twice daily."); - const poller = await client.beginAnalyzeHealthcareEntities(docs, { - updateIntervalInMs: pollingInterval - }); - const result = await poller.pollUntilDone(); - let docCount = 0; - let pageCount = 0; - const pageSize = 10; - for await (const pageDocs of result.byPage({ maxPageSize: pageSize })) { - ++pageCount; - for (const doc of pageDocs) { - assert.isUndefined(doc.error); - ++docCount; - if (!doc.error) { - if (docCount === 41) { - assert.equal(doc.entities.length, 3); - } else { - assert.equal(doc.entities.length, 0); - } - } - } - } - assert.equal(docs.length, docCount); - assert.equal(Math.ceil(docs.length / pageSize), pageCount); - }); - - it("cancelled", async function() { - const poller = await client.beginAnalyzeHealthcareEntities( - [ - { id: "1", text: "Patient does not suffer from high blood pressure.", language: "en" }, - { id: "2", text: "Prescribed 100mg ibuprofen, taken twice daily.", language: "en" } - ], - { - updateIntervalInMs: pollingInterval - } - ); - if (!poller.isDone()) { - await poller.cancelOperation(); - } - assert.ok(poller.getOperationState().isCancelled); - }); - - it("operation metadata", async function() { - const poller = await client.beginAnalyzeHealthcareEntities( - [ - { id: "1", text: "Patient does not suffer from high blood pressure.", language: "en" }, - { id: "2", text: "Prescribed 100mg ibuprofen, taken twice daily.", language: "en" } - ], - { - updateIntervalInMs: pollingInterval - } - ); - poller.onProgress((state) => { - assert.ok(state.createdOn, "createdOn is undefined!"); - assert.ok(state.expiresOn, "expiresOn is undefined!"); - assert.ok(state.lastModifiedOn, "lastModifiedOn is undefined!"); - assert.ok(state.status, "status is undefined!"); - }); - const result = await poller.pollUntilDone(); - assert.ok(result); - }); - - it("family emoji wit skin tone modifier with Utf16CodeUnit", async function() { - const doc = "👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen"; - const poller = await client.beginAnalyzeHealthcareEntities( - [{ id: "0", text: doc, language: "en" }], - { - updateIntervalInMs: pollingInterval - } - ); - const pollerResult = await poller.pollUntilDone(); - const result = (await pollerResult.next()).value; - if (!result.error) { - const entity = result.entities[0]; - const offset = 20; - const length = 9; - assert.equal(entity.offset, 20); - assert.equal(entity.length, 9); - checkEntityTextOffset(doc, entity, offset, length); - } - }); - - it("family emoji wit skin tone modifier with UnicodeCodePoint", async function() { - const poller = await client.beginAnalyzeHealthcareEntities( - [{ id: "0", text: "👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen", language: "en" }], - { - updateIntervalInMs: pollingInterval, - stringIndexType: "UnicodeCodePoint" - } - ); - const pollerResult = await poller.pollUntilDone(); - const result = (await pollerResult.next()).value; - if (!result.error) { - assert.equal(result.entities[0].offset, 12); // 20 with UTF16 - assert.equal(result.entities[0].length, 9); - assert.equal(result.entities[0].text.length, result.entities[0].length); - } - }); - }); - }); -}); diff --git a/sdk/textanalytics/ai-text-analytics/test/public/pipelineOptions.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/pipelineOptions.spec.ts index e03da927001a..00025a530f5b 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/pipelineOptions.spec.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/pipelineOptions.spec.ts @@ -11,7 +11,7 @@ import { PipelineRequest, PipelineResponse, createHttpHeaders } from "@azure/cor describe("TextAnalyticsClient Custom PipelineOptions", function() { it("use custom HTTPClient", async () => { const pipelineTester = new Promise((resolve) => { - const client = createClient("APIKey", { + const client = createClient("DummyAPIKey", { httpClient: { sendRequest: async (request: PipelineRequest): Promise => ({ status: 200, diff --git a/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts index 1e333c85424c..19f8708283b0 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts @@ -3,12 +3,15 @@ /* eslint-disable @typescript-eslint/no-non-null-asserted-optional-chain */ -import { assert } from "chai"; +import { assert, use as chaiUse } from "chai"; import { Suite, Context } from "mocha"; +import chaiPromises from "chai-as-promised"; +chaiUse(chaiPromises); +import { matrix } from "@azure/test-utils"; import { isPlaybackMode, Recorder } from "@azure/test-utils-recorder"; -import { createClient, createRecorder } from "./utils/recordedClient"; +import { AuthMethod, createClient, createRecorder } from "./utils/recordedClient"; import { TextAnalyticsClient, TextDocumentInput, @@ -35,593 +38,567 @@ const testDataEs = [ "Los caminos que llevan hasta Monte Rainier son espectaculares y hermosos.", "La carretera estaba atascada. Había mucho tráfico el día de ayer." ]; -describe("[AAD] TextAnalyticsClient", function(this: Suite) { - let recorder: Recorder; - let client: TextAnalyticsClient; - const CLITimeout = this.timeout(); - const fastTimeout = 10000; - - let getId: () => string; - - beforeEach(function(this: Context) { - recorder = createRecorder(this); - client = createClient("AAD"); - let nextId = 0; - getId = function() { - nextId += 1; - return nextId.toString(); - }; - }); - - afterEach(async function() { - await recorder.stop(); - }); - describe("fast tests", function() { - before(function(this: Context) { - this.timeout(fastTimeout); +matrix([["AAD", "APIKey"]] as const, async (authMethod: AuthMethod) => { + describe(`[${authMethod}] TextAnalyticsClient`, function(this: Suite) { + let recorder: Recorder; + let client: TextAnalyticsClient; + const CLITimeout = this.timeout(); + const fastTimeout = 10000; + + let getId: () => string; + + beforeEach(function(this: Context) { + recorder = createRecorder(this); + client = createClient(authMethod); + let nextId = 0; + getId = function() { + nextId += 1; + return nextId.toString(); + }; }); - describe("#analyzeSentiment", function() { - it("client throws on empty list", async function() { - return assert.isRejected(client.analyzeSentiment([]), /non-empty array/); - }); - - it("client accepts string[] and language", async function() { - const results = await client.analyzeSentiment(testDataEn, "en"); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); - - it("client accepts string[] with no language", async function() { - const results = await client.analyzeSentiment(testDataEn); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); + afterEach(async function() { + await recorder.stop(); + }); - it("service returns error for invalid language", async function() { - const [result] = await client.analyzeSentiment(["Hello world!"], "notalanguage"); - if (result.error === undefined) { - assert.fail("Expected an error from the service."); - } - assert.equal(result.error.code, "UnsupportedLanguageCode"); + describe("fast tests", function() { + before(function(this: Context) { + this.timeout(fastTimeout); }); - it("service has a bug when referencing assessments in doc #6 or greater", async function() { - const documents = [ - "The food was unacceptable", - "The rooms were beautiful. The AC was good and quiet.", - "The breakfast was good, but the toilet was smelly.", - "Loved this hotel - good breakfast - nice shuttle service - clean rooms.", - "I had a great unobstructed view of the Microsoft campus.", - "Nice rooms but bathrooms were old and the toilet was dirty when we arrived.", - "The toilet smelled." - ]; - const results = await client.analyzeSentiment(documents, "en", { - includeOpinionMining: true - }); - const result1 = results[0]; - const result6 = results[5]; - const result7 = results[6]; - if ( - result1.error === undefined && - result6.error === undefined && - result7.error === undefined - ) { - const Assessment1 = result1.sentences[0].opinions[0].assessments[0]; - const Assessment2 = result6.sentences[0].opinions[0].assessments[0]; - assert.notDeepEqual(Assessment1, Assessment2); - - const listAllAssessments = (acc: string[], sentence: SentenceSentiment): string[] => - acc.concat( - sentence.opinions.reduce( - (assessments: string[], opinion: Opinion) => - assessments.concat( - opinion.assessments.map((assessment: AssessmentSentiment) => assessment.text) - ), - [] - ) - ); - const allAssessments1 = result1.sentences.reduce(listAllAssessments, []); - assert.deepEqual(allAssessments1, ["unacceptable"]); - const allAssessments2 = result6.sentences.reduce(listAllAssessments, []); - assert.deepEqual(allAssessments2, ["nice", "old", "dirty"]); - const allAssessments7 = result7.sentences.reduce(listAllAssessments, []); - assert.deepEqual(allAssessments7, ["smelled"]); - } - }); + describe("#analyzeSentiment", function() { + it("client throws on empty list", async function() { + return assert.isRejected(client.analyzeSentiment([]), /non-empty array/); + }); - it("service returns an error for an empty document", async function() { - const data = [...testDataEn]; - data.splice(1, 0, ""); - const results = await client.analyzeSentiment(data); - const errorResult = results[1]; - if (errorResult.error === undefined) { - assert.fail("Expected an error from the service"); - } - assert.equal( - results.filter((result) => result.error === undefined).length, - testDataEn.length - ); - assert.equal(errorResult.error.code, "InvalidDocument"); - }); + it("client accepts string[] and language", async function() { + const results = await client.analyzeSentiment(testDataEn, "en"); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - it("client accepts TextDocumentInput[]", async function() { - const enInputs = testDataEn.map( - (text): TextDocumentInput => ({ - id: getId(), - language: "en", - text - }) - ); - const esInputs = testDataEs.map( - (text): TextDocumentInput => ({ - id: getId(), - language: "es", - text - }) - ); - const allInputs = enInputs.concat(esInputs); - const results = await client.analyzeSentiment(allInputs); - assert.equal(results.length, testDataEn.length + testDataEs.length); - assertAllSuccess(results); - results.map((result) => - (result as AnalyzeSentimentSuccessResult).sentences.map((sentence) => - assert.isEmpty(sentence.opinions) - ) - ); - }); + it("client accepts string[] with no language", async function() { + const results = await client.analyzeSentiment(testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - it("client gets positive mined assessments", async function() { - const documents = [ - { - text: "It has a sleek premium aluminum design that makes it beautiful to look at.", - id: "0", - language: "en" + it("service returns error for invalid language", async function() { + const [result] = await client.analyzeSentiment(["Hello world!"], "notalanguage"); + if (result.error === undefined) { + assert.fail("Expected an error from the service."); } - ]; - const results: AnalyzeSentimentResultArray = await client.analyzeSentiment(documents, { - includeOpinionMining: true - }); - assert.equal(results.length, 1); - assertAllSuccess(results); - const documentSentiment: AnalyzeSentimentSuccessResult = results[0] as AnalyzeSentimentSuccessResult; - documentSentiment.sentences.map((sentence) => - sentence.opinions?.map((opinion) => { - const Target = opinion.target; - assert.equal("design", Target.text); - assert.equal("positive", Target.sentiment); - assert.isAtLeast(Target.confidenceScores.positive, 0); - assert.isAtLeast(Target.confidenceScores.negative, 0); - assert.equal(Target.offset, 32); - assert.equal(Target.length, 6); - assert.equal(Target.text.length, Target.length); - - const sleekAssessment = opinion.assessments[0]; - assert.equal("sleek", sleekAssessment.text); - assert.equal("positive", sleekAssessment.sentiment); - assert.isAtLeast(sleekAssessment.confidenceScores.positive, 0); - assert.isAtLeast(sleekAssessment.confidenceScores.positive, 0); - assert.isFalse(sleekAssessment.isNegated); - assert.equal(sleekAssessment.offset, 9); - assert.equal(sleekAssessment.length, 5); - assert.equal(sleekAssessment.text.length, sleekAssessment.length); - - const premiumAssessment = opinion.assessments[1]; - assert.equal("premium", premiumAssessment.text); - assert.equal("positive", premiumAssessment.sentiment); - assert.isAtLeast(premiumAssessment.confidenceScores.positive, 0); - assert.isAtLeast(premiumAssessment.confidenceScores.positive, 0); - assert.isFalse(premiumAssessment.isNegated); - assert.equal(premiumAssessment.offset, 15); - assert.equal(premiumAssessment.length, 7); - assert.equal(premiumAssessment.text.length, premiumAssessment.length); - }) - ); - }); + assert.equal(result.error.code, "UnsupportedLanguageCode"); + }); - it("client gets negative mined assessments", async function() { - const documents = [ - { - text: "The food and service is not good", - id: "0", - language: "en" + it("service has a bug when referencing assessments in doc #6 or greater", async function() { + const documents = [ + "The food was unacceptable", + "The rooms were beautiful. The AC was good and quiet.", + "The breakfast was good, but the toilet was smelly.", + "Loved this hotel - good breakfast - nice shuttle service - clean rooms.", + "I had a great unobstructed view of the Microsoft campus.", + "Nice rooms but bathrooms were old and the toilet was dirty when we arrived.", + "The toilet smelled." + ]; + const results = await client.analyzeSentiment(documents, "en", { + includeOpinionMining: true + }); + const result1 = results[0]; + const result6 = results[5]; + const result7 = results[6]; + if ( + result1.error === undefined && + result6.error === undefined && + result7.error === undefined + ) { + const Assessment1 = result1.sentences[0].opinions[0].assessments[0]; + const Assessment2 = result6.sentences[0].opinions[0].assessments[0]; + assert.notDeepEqual(Assessment1, Assessment2); + + const listAllAssessments = (acc: string[], sentence: SentenceSentiment): string[] => + acc.concat( + sentence.opinions.reduce( + (assessments: string[], opinion: Opinion) => + assessments.concat( + opinion.assessments.map((assessment: AssessmentSentiment) => assessment.text) + ), + [] + ) + ); + const allAssessments1 = result1.sentences.reduce(listAllAssessments, []); + assert.deepEqual(allAssessments1, ["unacceptable"]); + const allAssessments2 = result6.sentences.reduce(listAllAssessments, []); + assert.deepEqual(allAssessments2, ["nice", "old", "dirty"]); + const allAssessments7 = result7.sentences.reduce(listAllAssessments, []); + assert.deepEqual(allAssessments7, ["smelled"]); } - ]; - const results: AnalyzeSentimentResultArray = await client.analyzeSentiment(documents, { - includeOpinionMining: true }); - assert.equal(results.length, 1); - assertAllSuccess(results); - const documentSentiment: AnalyzeSentimentSuccessResult = results[0] as AnalyzeSentimentSuccessResult; - documentSentiment.sentences.map((sentence) => { - const foodTarget = sentence.opinions?.[0].target; - assert.equal("food", foodTarget?.text); - assert.equal("negative", foodTarget?.sentiment); - const foodTargetPositiveScore = foodTarget?.confidenceScores.positive!; - const foodTargetNegativeScore = foodTarget?.confidenceScores.negative!; + it("service returns an error for an empty document", async function() { + const data = [...testDataEn]; + data.splice(1, 0, ""); + const results = await client.analyzeSentiment(data); + const errorResult = results[1]; + if (errorResult.error === undefined) { + assert.fail("Expected an error from the service"); + } + assert.equal( + results.filter((result) => result.error === undefined).length, + testDataEn.length + ); + assert.equal(errorResult.error.code, "InvalidDocument"); + }); - assert.isAtLeast(foodTargetPositiveScore, 0); - assert.isAtLeast(foodTargetNegativeScore, 0); - assert.equal(foodTargetPositiveScore + foodTargetNegativeScore, 1); + it("client accepts TextDocumentInput[]", async function() { + const enInputs = testDataEn.map( + (text): TextDocumentInput => ({ + id: getId(), + language: "en", + text + }) + ); + const esInputs = testDataEs.map( + (text): TextDocumentInput => ({ + id: getId(), + language: "es", + text + }) + ); + const allInputs = enInputs.concat(esInputs); + const results = await client.analyzeSentiment(allInputs); + assert.equal(results.length, testDataEn.length + testDataEs.length); + assertAllSuccess(results); + results.map((result) => + (result as AnalyzeSentimentSuccessResult).sentences.map((sentence) => + assert.isEmpty(sentence.opinions) + ) + ); + }); - const serviceTarget = sentence.opinions?.[1].target; - assert.equal("service", serviceTarget?.text); - assert.equal("negative", serviceTarget?.sentiment); + it("client gets positive mined assessments", async function() { + const documents = [ + { + text: "It has a sleek premium aluminum design that makes it beautiful to look at.", + id: "0", + language: "en" + } + ]; + const results: AnalyzeSentimentResultArray = await client.analyzeSentiment(documents, { + includeOpinionMining: true + }); + assert.equal(results.length, 1); + assertAllSuccess(results); + const documentSentiment: AnalyzeSentimentSuccessResult = results[0] as AnalyzeSentimentSuccessResult; + documentSentiment.sentences.map((sentence) => + sentence.opinions?.map((opinion) => { + const Target = opinion.target; + assert.equal("design", Target.text); + assert.equal("positive", Target.sentiment); + assert.isAtLeast(Target.confidenceScores.positive, 0); + assert.isAtLeast(Target.confidenceScores.negative, 0); + assert.equal(Target.offset, 32); + assert.equal(Target.length, 6); + assert.equal(Target.text.length, Target.length); + + const sleekAssessment = opinion.assessments[0]; + assert.equal("sleek", sleekAssessment.text); + assert.equal("positive", sleekAssessment.sentiment); + assert.isAtLeast(sleekAssessment.confidenceScores.positive, 0); + assert.isAtLeast(sleekAssessment.confidenceScores.positive, 0); + assert.isFalse(sleekAssessment.isNegated); + assert.equal(sleekAssessment.offset, 9); + assert.equal(sleekAssessment.length, 5); + assert.equal(sleekAssessment.text.length, sleekAssessment.length); + + const premiumAssessment = opinion.assessments[1]; + assert.equal("premium", premiumAssessment.text); + assert.equal("positive", premiumAssessment.sentiment); + assert.isAtLeast(premiumAssessment.confidenceScores.positive, 0); + assert.isAtLeast(premiumAssessment.confidenceScores.positive, 0); + assert.isFalse(premiumAssessment.isNegated); + assert.equal(premiumAssessment.offset, 15); + assert.equal(premiumAssessment.length, 7); + assert.equal(premiumAssessment.text.length, premiumAssessment.length); + }) + ); + }); - const serviceTargetPositiveScore = serviceTarget?.confidenceScores.positive!; - const serviceTargetNegativeScore = serviceTarget?.confidenceScores.negative!; + it("client gets negative mined assessments", async function() { + const documents = [ + { + text: "The food and service is not good", + id: "0", + language: "en" + } + ]; + const results: AnalyzeSentimentResultArray = await client.analyzeSentiment(documents, { + includeOpinionMining: true + }); + assert.equal(results.length, 1); + assertAllSuccess(results); + const documentSentiment: AnalyzeSentimentSuccessResult = results[0] as AnalyzeSentimentSuccessResult; + documentSentiment.sentences.map((sentence) => { + const foodTarget = sentence.opinions?.[0].target; + assert.equal("food", foodTarget?.text); + assert.equal("negative", foodTarget?.sentiment); + + const foodTargetPositiveScore = foodTarget?.confidenceScores.positive!; + const foodTargetNegativeScore = foodTarget?.confidenceScores.negative!; + + assert.isAtLeast(foodTargetPositiveScore, 0); + assert.isAtLeast(foodTargetNegativeScore, 0); + assert.equal(foodTargetPositiveScore + foodTargetNegativeScore, 1); + + const serviceTarget = sentence.opinions?.[1].target; + assert.equal("service", serviceTarget?.text); + assert.equal("negative", serviceTarget?.sentiment); + + const serviceTargetPositiveScore = serviceTarget?.confidenceScores.positive!; + const serviceTargetNegativeScore = serviceTarget?.confidenceScores.negative!; + + assert.isAtLeast(serviceTargetPositiveScore, 0); + assert.isAtLeast(serviceTargetNegativeScore, 0); + assert.equal(serviceTargetPositiveScore + serviceTargetNegativeScore, 1); + + const foodAssessment = sentence.opinions?.[0].assessments[0]; + const serviceAssessment = sentence.opinions?.[1].assessments[0]; + + assert.deepEqual(foodAssessment!, serviceAssessment!); + + assert.equal("good", foodAssessment?.text); + assert.equal("negative", foodAssessment?.sentiment); + + const foodAssessmentPositiveScore = foodAssessment?.confidenceScores.positive!; + const foodAssessmentNegativeScore = foodAssessment?.confidenceScores.negative!; + + assert.isAtLeast(foodAssessmentPositiveScore, 0); + assert.isAtLeast(foodAssessmentNegativeScore, 0); + assert.equal(foodAssessmentPositiveScore + foodAssessmentNegativeScore, 1); + assert.isTrue(foodAssessment?.isNegated); + }); + }); - assert.isAtLeast(serviceTargetPositiveScore, 0); - assert.isAtLeast(serviceTargetNegativeScore, 0); - assert.equal(serviceTargetPositiveScore + serviceTargetNegativeScore, 1); + it("client gets no mined assessments", async function() { + const documents = [ + { + text: "today is a hot day", + id: "0", + language: "en" + } + ]; + const results: AnalyzeSentimentResultArray = await client.analyzeSentiment(documents, { + includeOpinionMining: true + }); + assert.equal(results.length, 1); + assertAllSuccess(results); + const documentSentiment: AnalyzeSentimentSuccessResult = results[0] as AnalyzeSentimentSuccessResult; + assert.isEmpty(documentSentiment.sentences[0].opinions); + }); + }); - const foodAssessment = sentence.opinions?.[0].assessments[0]; - const serviceAssessment = sentence.opinions?.[1].assessments[0]; + describe("#detectLanguage", function() { + it("client throws on empty list", async function() { + return assert.isRejected(client.detectLanguage([]), /non-empty array/); + }); - assert.deepEqual(foodAssessment!, serviceAssessment!); + it("client accepts no countryHint", async function() { + const results = await client.detectLanguage(testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - assert.equal("good", foodAssessment?.text); - assert.equal("negative", foodAssessment?.sentiment); + it("client accepts a countryHint", async function() { + const results = await client.detectLanguage(["impossible"], "fr"); + assert.equal(results.length, 1); + assertAllSuccess(results); + }); - const foodAssessmentPositiveScore = foodAssessment?.confidenceScores.positive!; - const foodAssessmentNegativeScore = foodAssessment?.confidenceScores.negative!; + it('client accepts "none" country hint with string[] input', async function() { + const results = await client.detectLanguage( + ["I use Azure Functions to develop my service."], + "none" + ); + assert.equal(results.length, 1); + assertAllSuccess(results); + const result = results[0] as DetectLanguageSuccessResult; + assert.equal(result.primaryLanguage.iso6391Name, "en"); + }); - assert.isAtLeast(foodAssessmentPositiveScore, 0); - assert.isAtLeast(foodAssessmentNegativeScore, 0); - assert.equal(foodAssessmentPositiveScore + foodAssessmentNegativeScore, 1); - assert.isTrue(foodAssessment?.isNegated); + it('client accepts "none" country hint with DetectLanguageInput[] input', async function() { + const results = await client.detectLanguage( + testDataEn.concat(testDataEs).map( + (input): DetectLanguageInput => ({ + id: getId(), + countryHint: "none", + text: input + }) + ) + ); + assertAllSuccess(results); }); - }); - it("client gets no mined assessments", async function() { - const documents = [ - { - text: "today is a hot day", - id: "0", - language: "en" + it("service errors on invalid country hint", async function() { + const [result] = await client.detectLanguage(["hello"], "invalidcountry"); + if (result.error === undefined) { + assert.fail("Expected an error from the service"); } - ]; - const results: AnalyzeSentimentResultArray = await client.analyzeSentiment(documents, { - includeOpinionMining: true - }); - assert.equal(results.length, 1); - assertAllSuccess(results); - const documentSentiment: AnalyzeSentimentSuccessResult = results[0] as AnalyzeSentimentSuccessResult; - assert.isEmpty(documentSentiment.sentences[0].opinions); - }); - }); - - describe("#detectLanguage", function() { - it("client throws on empty list", async function() { - return assert.isRejected(client.detectLanguage([]), /non-empty array/); - }); - - it("client accepts no countryHint", async function() { - const results = await client.detectLanguage(testDataEn); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); - - it("client accepts a countryHint", async function() { - const results = await client.detectLanguage(["impossible"], "fr"); - assert.equal(results.length, 1); - assertAllSuccess(results); - }); - it('client accepts "none" country hint with string[] input', async function() { - const results = await client.detectLanguage( - ["I use Azure Functions to develop my service."], - "none" - ); - assert.equal(results.length, 1); - assertAllSuccess(results); - const result = results[0] as DetectLanguageSuccessResult; - assert.equal(result.primaryLanguage.iso6391Name, "en"); - }); + assert.equal(result.error.code, "InvalidCountryHint"); + }); - it('client accepts "none" country hint with DetectLanguageInput[] input', async function() { - const results = await client.detectLanguage( - testDataEn.concat(testDataEs).map( - (input): DetectLanguageInput => ({ + it("client accepts mixed-country DetectLanguageInput[]", async function() { + const enInputs = testDataEn.map( + (text): DetectLanguageInput => ({ id: getId(), - countryHint: "none", - text: input + text }) - ) - ); - assertAllSuccess(results); - }); - - it("service errors on invalid country hint", async function() { - const [result] = await client.detectLanguage(["hello"], "invalidcountry"); - if (result.error === undefined) { - assert.fail("Expected an error from the service"); - } + ); + const esInputs = testDataEs.map( + (text): DetectLanguageInput => ({ + id: getId(), + countryHint: "mx", + text + }) + ); + const allInputs = enInputs.concat(esInputs); - assert.equal(result.error.code, "InvalidCountryHint"); + const results = await client.detectLanguage(allInputs); + assert.equal(results.length, testDataEn.length + testDataEs.length); + assertAllSuccess(results); + }); }); - it("client accepts mixed-country DetectLanguageInput[]", async function() { - const enInputs = testDataEn.map( - (text): DetectLanguageInput => ({ - id: getId(), - text - }) - ); - const esInputs = testDataEs.map( - (text): DetectLanguageInput => ({ - id: getId(), - countryHint: "mx", - text - }) - ); - const allInputs = enInputs.concat(esInputs); - - const results = await client.detectLanguage(allInputs); - assert.equal(results.length, testDataEn.length + testDataEs.length); - assertAllSuccess(results); - }); - }); + describe("#recognizeEntities", function() { + it("client throws on empty list", async function() { + return assert.isRejected(client.recognizeEntities([]), /non-empty array/); + }); - describe("#recognizeEntities", function() { - it("client throws on empty list", async function() { - return assert.isRejected(client.recognizeEntities([]), /non-empty array/); - }); + it("client accepts string[] with no language", async function() { + const results = await client.recognizeEntities(testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - it("client accepts string[] with no language", async function() { - const results = await client.recognizeEntities(testDataEn); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); + it("client accepts string[] with a language specified", async function() { + const results = await client.recognizeEntities(testDataEn, "en"); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - it("client accepts string[] with a language specified", async function() { - const results = await client.recognizeEntities(testDataEn, "en"); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); + it("service errors on unsupported language", async function() { + const [result] = await client.recognizeEntities( + ["This is some text, but it doesn't matter."], + "notalanguage" + ); - it("service errors on unsupported language", async function() { - const [result] = await client.recognizeEntities( - ["This is some text, but it doesn't matter."], - "notalanguage" - ); + if (result.error === undefined) { + assert.fail("Expected an error from the service"); + } - if (result.error === undefined) { - assert.fail("Expected an error from the service"); - } + assert.equal(result.error.code, "UnsupportedLanguageCode"); + }); - assert.equal(result.error.code, "UnsupportedLanguageCode"); - }); + it("client accepts mixed-language TextDocumentInput[]", async function() { + const enInputs = testDataEn.slice(0, -1).map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "en" + }) + ); + const esInputs = testDataEs.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "es" + }) + ); + const allInputs = enInputs.concat(esInputs); - it("client accepts mixed-language TextDocumentInput[]", async function() { - const enInputs = testDataEn.slice(0, -1).map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "en" - }) - ); - const esInputs = testDataEs.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "es" - }) - ); - const allInputs = enInputs.concat(esInputs); - - const results = await client.recognizeEntities(allInputs); - assert.equal(results.length, testDataEn.length - 1 + testDataEs.length); - assertAllSuccess(results); - }); + const results = await client.recognizeEntities(allInputs); + assert.equal(results.length, testDataEn.length - 1 + testDataEs.length); + assertAllSuccess(results); + }); - it("client throws exception for too many inputs", async function() { - const enInputs = testDataEn.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "en" - }) - ); - const esInputs = testDataEs.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "es" - }) - ); - const allInputs = enInputs.concat(esInputs); - - try { - await client.recognizeEntities(allInputs); - assert.fail("Oops, an exception didn't happen."); - } catch (e) { - assert.equal(e.statusCode, 400); - assert.equal(e.code, "InvalidDocumentBatch"); - assert.equal( - e.message, - "Batch request contains too many records. Max 5 records are permitted." + it("client throws exception for too many inputs", async function() { + const enInputs = testDataEn.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "en" + }) + ); + const esInputs = testDataEs.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "es" + }) ); - } + const allInputs = enInputs.concat(esInputs); + + try { + await client.recognizeEntities(allInputs); + assert.fail("Oops, an exception didn't happen."); + } catch (e) { + assert.equal(e.statusCode, 400); + assert.equal(e.code, "InvalidDocumentBatch"); + assert.equal( + e.message, + "Batch request contains too many records. Max 5 records are permitted." + ); + } + }); }); - }); - describe("#extractKeyPhrases", function() { - it("client throws on empty list", async function() { - return assert.isRejected(client.extractKeyPhrases([]), /non-empty array/); - }); + describe("#extractKeyPhrases", function() { + it("client throws on empty list", async function() { + return assert.isRejected(client.extractKeyPhrases([]), /non-empty array/); + }); - it("client accepts string[] with no language", async function() { - const results = await client.extractKeyPhrases(testDataEn); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); + it("client accepts string[] with no language", async function() { + const results = await client.extractKeyPhrases(testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - it("client accepts string[] with a language specified", async function() { - const results = await client.extractKeyPhrases(testDataEn, "en"); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); + it("client accepts string[] with a language specified", async function() { + const results = await client.extractKeyPhrases(testDataEn, "en"); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - it("service errors on unsupported language", async function() { - const [result] = await client.extractKeyPhrases( - ["This is some text, but it doesn't matter."], - "notalanguage" - ); + it("service errors on unsupported language", async function() { + const [result] = await client.extractKeyPhrases( + ["This is some text, but it doesn't matter."], + "notalanguage" + ); - if (result.error === undefined) { - assert.fail("Expected an error from the service"); - } + if (result.error === undefined) { + assert.fail("Expected an error from the service"); + } - assert.equal(result.error.code, "UnsupportedLanguageCode"); - }); + assert.equal(result.error.code, "UnsupportedLanguageCode"); + }); - it("client accepts mixed-language TextDocumentInput[]", async function() { - const enInputs = testDataEn.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "en" - }) - ); - const esInputs = testDataEs.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "es" - }) - ); - const allInputs = enInputs.concat(esInputs); - - const results = await client.extractKeyPhrases(allInputs); - assert.equal(results.length, testDataEn.length + testDataEs.length); - assertAllSuccess(results); - }); - }); + it("client accepts mixed-language TextDocumentInput[]", async function() { + const enInputs = testDataEn.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "en" + }) + ); + const esInputs = testDataEs.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "es" + }) + ); + const allInputs = enInputs.concat(esInputs); - describe("#recognizePiiEntities", function() { - it("client throws on empty list", async function() { - return assert.isRejected(client.recognizePiiEntities([])); + const results = await client.extractKeyPhrases(allInputs); + assert.equal(results.length, testDataEn.length + testDataEs.length); + assertAllSuccess(results); + }); }); - it("client accepts string[] with no language", async function() { - const results = await client.recognizePiiEntities(testDataEn); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); + describe("#recognizePiiEntities", function() { + it("client throws on empty list", async function() { + return assert.isRejected(client.recognizePiiEntities([])); + }); - it("client accepts string[] with a language specified", async function() { - const results = await client.recognizePiiEntities(testDataEn, "en"); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); + it("client accepts string[] with no language", async function() { + const results = await client.recognizePiiEntities(testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - it("client correctly reports recognition of PII-like pattern", async function() { - // 078-05-1120 is an invalid social security number due to its use in advertising - // throughout the late 1930s - const fakeSSNDocument = "Your Social Security Number is 859-98-0987."; - const [result] = await client.recognizePiiEntities([fakeSSNDocument], "en"); - assert.ok(isSuccess(result)); - if (!result.error) { - assert.equal(result.entities.length, 1); - } else { - assert.fail("Service returned an error."); - } - }); + it("client accepts string[] with a language specified", async function() { + const results = await client.recognizePiiEntities(testDataEn, "en"); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); + }); - it("service errors on unsupported language", async function() { - const [result] = await client.recognizePiiEntities( - ["This is some text, but it doesn't matter."], - "notalanguage" - ); + it("client correctly reports recognition of PII-like pattern", async function() { + // 078-05-1120 is an invalid social security number due to its use in advertising + // throughout the late 1930s + const fakeSSNDocument = "Your Social Security Number is 859-98-0987."; + const [result] = await client.recognizePiiEntities([fakeSSNDocument], "en"); + assert.ok(isSuccess(result)); + if (!result.error) { + assert.equal(result.entities.length, 1); + } else { + assert.fail("Service returned an error."); + } + }); - if (result.error === undefined) { - assert.fail("Expected an error from the service"); - } + it("service errors on unsupported language", async function() { + const [result] = await client.recognizePiiEntities( + ["This is some text, but it doesn't matter."], + "notalanguage" + ); - assert.equal(result.error.code, "UnsupportedLanguageCode"); - }); + if (result.error === undefined) { + assert.fail("Expected an error from the service"); + } - it("client accepts mixed-language TextDocumentInput[]", async function() { - const sliceSize = 3; - const enInputs = testDataEn.slice(0, sliceSize).map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "en" - }) - ); - const esInputs = testDataEs.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "es" - }) - ); - const allInputs = enInputs.concat(esInputs); - - const results = await client.recognizePiiEntities(allInputs); - assert.equal(results.length, sliceSize + testDataEs.length); - // TA NER public preview currently supports only english - assert.ok(results.slice(0, sliceSize).every(isSuccess)); - }); + assert.equal(result.error.code, "UnsupportedLanguageCode"); + }); - it("accepts domain filter", async function() { - const [result] = await client.recognizePiiEntities( - [ - { - id: "0", - text: "I work at Microsoft and my phone number is 333-333-3333", + it("client accepts mixed-language TextDocumentInput[]", async function() { + const sliceSize = 3; + const enInputs = testDataEn.slice(0, sliceSize).map( + (text): TextDocumentInput => ({ + id: getId(), + text, language: "en" - } - ], - { domainFilter: PiiEntityDomain.PROTECTED_HEALTH_INFORMATION } - ); - if (!result.error) { - assert.equal(result.entities.length, 2); - assert.equal(result.entities[0].text, "Microsoft"); - assert.equal(result.entities[0].category, "Organization"); - assert.equal(result.entities[1].text, "333-333-3333"); - assert.equal(result.entities[1].category, "PhoneNumber"); - assert.equal( - result.redactedText, - "I work at ********* and my phone number is ************" + }) ); - } - }); + const esInputs = testDataEs.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "es" + }) + ); + const allInputs = enInputs.concat(esInputs); - it("accepts pii categories", async function() { - const [result] = await client.recognizePiiEntities( - [ - { - id: "0", - text: "Patient name is Joe and SSN is 859-98-0987", - language: "en" - } - ], - { categoriesFilter: ["USSocialSecurityNumber"] } - ); - if (!result.error) { - assert.equal(result.entities.length, 1); - assert.equal(result.entities[0].text, "859-98-0987"); - assert.equal(result.entities[0].category, "USSocialSecurityNumber"); - assert.equal(result.redactedText, "Patient name is Joe and SSN is ***********"); - } - }); + const results = await client.recognizePiiEntities(allInputs); + assert.equal(results.length, sliceSize + testDataEs.length); + // TA NER public preview currently supports only english + assert.ok(results.slice(0, sliceSize).every(isSuccess)); + }); - it("output pii categories are accepted as input", async function() { - const [result1] = await client.recognizePiiEntities([ - { - id: "0", - text: "Patient name is Joe and SSN is 859-98-0987", - language: "en" + it("accepts domain filter", async function() { + const [result] = await client.recognizePiiEntities( + [ + { + id: "0", + text: "I work at Microsoft and my phone number is 333-333-3333", + language: "en" + } + ], + { domainFilter: PiiEntityDomain.PROTECTED_HEALTH_INFORMATION } + ); + if (!result.error) { + assert.equal(result.entities.length, 2); + assert.equal(result.entities[0].text, "Microsoft"); + assert.equal(result.entities[0].category, "Organization"); + assert.equal(result.entities[1].text, "333-333-3333"); + assert.equal(result.entities[1].category, "PhoneNumber"); + assert.equal( + result.redactedText, + "I work at ********* and my phone number is ************" + ); } - ]); - if (!result1.error) { - const entity2 = result1.entities[1]; - const [result2] = await client.recognizePiiEntities( + }); + + it("accepts pii categories", async function() { + const [result] = await client.recognizePiiEntities( [ { id: "0", @@ -629,1134 +606,1834 @@ describe("[AAD] TextAnalyticsClient", function(this: Suite) { language: "en" } ], - { categoriesFilter: [entity2.category] } + { categoriesFilter: ["USSocialSecurityNumber"] } ); - if (!result2.error) { - assert.equal(result2.entities.length, 1); - assert.equal(result2.entities[0].text, entity2.text); - assert.equal(result2.entities[0].category, entity2.category); - assert.equal(result2.redactedText, "Patient name is Joe and SSN is ***********"); + if (!result.error) { + assert.equal(result.entities.length, 1); + assert.equal(result.entities[0].text, "859-98-0987"); + assert.equal(result.entities[0].category, "USSocialSecurityNumber"); + assert.equal(result.redactedText, "Patient name is Joe and SSN is ***********"); } - } - }); - }); - - describe("#recognizeLinkedEntities", function() { - it("client throws on empty list", async function() { - return assert.isRejected(client.recognizeLinkedEntities([]), /non-empty array/); - }); - - it("client accepts string[] with no language", async function() { - const results = await client.recognizeLinkedEntities(testDataEn); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); - - it("client accepts string[] with a language specified", async function() { - const results = await client.recognizeLinkedEntities(testDataEn, "en"); - assert.equal(results.length, testDataEn.length); - assertAllSuccess(results); - }); - - it("service errors on unsupported language", async function() { - const [result] = await client.recognizeLinkedEntities( - ["This is some text, but it doesn't matter."], - "notalanguage" - ); - - if (result.error === undefined) { - assert.fail("Expected an error from the service"); - } - - assert.equal(result.error.code, "UnsupportedLanguageCode"); - }); - - it("client accepts mixed-language TextDocumentInput[]", async function() { - const enInputs = testDataEn.slice(0, -1).map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "en" - }) - ); - const esInputs = testDataEs.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "es" - }) - ); - const allInputs = enInputs.concat(esInputs); - - const results = await client.recognizeLinkedEntities(allInputs); - assert.equal(results.length, testDataEn.length - 1 + testDataEs.length); - assertAllSuccess(results); - }); + }); - it("client throws exception for too many inputs", async function() { - const enInputs = testDataEn.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "en" - }) - ); - const esInputs = testDataEs.map( - (text): TextDocumentInput => ({ - id: getId(), - text, - language: "es" - }) - ); - const allInputs = enInputs.concat(esInputs); - - try { - await client.recognizeEntities(allInputs); - assert.fail("Oops, an exception didn't happen."); - } catch (e) { - assert.equal(e.statusCode, 400); - assert.equal(e.code, "InvalidDocumentBatch"); - assert.equal( - e.message, - "Batch request contains too many records. Max 5 records are permitted." - ); - } + it("output pii categories are accepted as input", async function() { + const [result1] = await client.recognizePiiEntities([ + { + id: "0", + text: "Patient name is Joe and SSN is 859-98-0987", + language: "en" + } + ]); + if (!result1.error) { + const entity2 = result1.entities[1]; + const [result2] = await client.recognizePiiEntities( + [ + { + id: "0", + text: "Patient name is Joe and SSN is 859-98-0987", + language: "en" + } + ], + { categoriesFilter: [entity2.category] } + ); + if (!result2.error) { + assert.equal(result2.entities.length, 1); + assert.equal(result2.entities[0].text, entity2.text); + assert.equal(result2.entities[0].category, entity2.category); + assert.equal(result2.redactedText, "Patient name is Joe and SSN is ***********"); + } + } + }); }); - }); - describe("#String encoding", function() { - describe("#Default encoding (utf16CodeUnit)", function() { - it("emoji", async function() { - await checkOffsetAndLength( - client, - "👩 SSN: 859-98-0987", - "Utf16CodeUnit", - 8, - 11, - checkEntityTextOffset - ); + describe("#recognizeLinkedEntities", function() { + it("client throws on empty list", async function() { + return assert.isRejected(client.recognizeLinkedEntities([]), /non-empty array/); }); - it("emoji with skin tone modifier", async function() { - await checkOffsetAndLength( - client, - "👩🏻 SSN: 859-98-0987", - "Utf16CodeUnit", - 10, - 11, - checkEntityTextOffset - ); + it("client accepts string[] with no language", async function() { + const results = await client.recognizeLinkedEntities(testDataEn); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); }); - it("family emoji", async function() { - await checkOffsetAndLength( - client, - "👩‍👩‍👧‍👧 SSN: 859-98-0987", - "Utf16CodeUnit", - 17, - 11, - checkEntityTextOffset - ); + it("client accepts string[] with a language specified", async function() { + const results = await client.recognizeLinkedEntities(testDataEn, "en"); + assert.equal(results.length, testDataEn.length); + assertAllSuccess(results); }); - it("family emoji wit skin tone modifier", async function() { - await checkOffsetAndLength( - client, - "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", - "Utf16CodeUnit", - 25, - 11, - checkEntityTextOffset + it("service errors on unsupported language", async function() { + const [result] = await client.recognizeLinkedEntities( + ["This is some text, but it doesn't matter."], + "notalanguage" ); - }); - it("diacritics nfc", async function() { - await checkOffsetAndLength( - client, - "año SSN: 859-98-0987", - "Utf16CodeUnit", - 9, - 11, - checkEntityTextOffset - ); - }); + if (result.error === undefined) { + assert.fail("Expected an error from the service"); + } - it("diacritics nfd", async function() { - await checkOffsetAndLength( - client, - "año SSN: 859-98-0987", - "Utf16CodeUnit", - 10, - 11, - checkEntityTextOffset - ); + assert.equal(result.error.code, "UnsupportedLanguageCode"); }); - it("korean nfc", async function() { - await checkOffsetAndLength( - client, - "아가 SSN: 859-98-0987", - "Utf16CodeUnit", - 8, - 11, - checkEntityTextOffset + it("client accepts mixed-language TextDocumentInput[]", async function() { + const enInputs = testDataEn.slice(0, -1).map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "en" + }) ); - }); - - it("korean nfd", async function() { - await checkOffsetAndLength( - client, - "아가 SSN: 859-98-0987", - "Utf16CodeUnit", - 8, - 11, - checkEntityTextOffset + const esInputs = testDataEs.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "es" + }) ); + const allInputs = enInputs.concat(esInputs); + + const results = await client.recognizeLinkedEntities(allInputs); + assert.equal(results.length, testDataEn.length - 1 + testDataEs.length); + assertAllSuccess(results); }); - it("zalgo", async function() { - await checkOffsetAndLength( - client, - "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", - "Utf16CodeUnit", - 121, - 11, - checkEntityTextOffset + it("client throws exception for too many inputs", async function() { + const enInputs = testDataEn.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "en" + }) + ); + const esInputs = testDataEs.map( + (text): TextDocumentInput => ({ + id: getId(), + text, + language: "es" + }) ); + const allInputs = enInputs.concat(esInputs); + + try { + await client.recognizeEntities(allInputs); + assert.fail("Oops, an exception didn't happen."); + } catch (e) { + assert.equal(e.statusCode, 400); + assert.equal(e.code, "InvalidDocumentBatch"); + assert.equal( + e.message, + "Batch request contains too many records. Max 5 records are permitted." + ); + } }); }); - describe("#UnicodeCodePoint", function() { - it("emoji", async function() { - await checkOffsetAndLength(client, "👩 SSN: 859-98-0987", "UnicodeCodePoint", 7, 11); // offset was 8 with UTF16 - }); - - it("emoji with skin tone modifier", async function() { - await checkOffsetAndLength(client, "👩🏻 SSN: 859-98-0987", "UnicodeCodePoint", 8, 11); // offset was 10 with UTF16 - }); - - it("family emoji", async function() { - await checkOffsetAndLength(client, "👩‍👩‍👧‍👧 SSN: 859-98-0987", "UnicodeCodePoint", 13, 11); // offset was 17 with UTF16 - }); - - it("family emoji wit skin tone modifier", async function() { - await checkOffsetAndLength( - client, - "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", - "UnicodeCodePoint", - 17, - 11 - ); // offset was 25 with UTF16 - }); - it("diacritics nfc", async function() { - await checkOffsetAndLength(client, "año SSN: 859-98-0987", "UnicodeCodePoint", 9, 11); + describe("#String encoding", function() { + describe("#Default encoding (utf16CodeUnit)", function() { + it("emoji", async function() { + await checkOffsetAndLength( + client, + "👩 SSN: 859-98-0987", + "Utf16CodeUnit", + 8, + 11, + checkEntityTextOffset + ); + }); + + it("emoji with skin tone modifier", async function() { + await checkOffsetAndLength( + client, + "👩🏻 SSN: 859-98-0987", + "Utf16CodeUnit", + 10, + 11, + checkEntityTextOffset + ); + }); + + it("family emoji", async function() { + await checkOffsetAndLength( + client, + "👩‍👩‍👧‍👧 SSN: 859-98-0987", + "Utf16CodeUnit", + 17, + 11, + checkEntityTextOffset + ); + }); + + // it("family emoji wit skin tone modifier", async function(this: Context) { + // await checkOffsetAndLength( + // client, + // "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", + // "Utf16CodeUnit", + // 25, + // 11, + // checkEntityTextOffset + // ); + // }); + + it("diacritics nfc", async function() { + await checkOffsetAndLength( + client, + "año SSN: 859-98-0987", + "Utf16CodeUnit", + 9, + 11, + checkEntityTextOffset + ); + }); + + it("diacritics nfd", async function() { + await checkOffsetAndLength( + client, + "año SSN: 859-98-0987", + "Utf16CodeUnit", + 10, + 11, + checkEntityTextOffset + ); + }); + + it("korean nfc", async function() { + await checkOffsetAndLength( + client, + "아가 SSN: 859-98-0987", + "Utf16CodeUnit", + 8, + 11, + checkEntityTextOffset + ); + }); + + it("korean nfd", async function() { + await checkOffsetAndLength( + client, + "아가 SSN: 859-98-0987", + "Utf16CodeUnit", + 8, + 11, + checkEntityTextOffset + ); + }); + + it("zalgo", async function() { + await checkOffsetAndLength( + client, + "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", + "Utf16CodeUnit", + 121, + 11, + checkEntityTextOffset + ); + }); }); - - it("diacritics nfd", async function() { - await checkOffsetAndLength(client, "año SSN: 859-98-0987", "UnicodeCodePoint", 10, 11); + describe("#UnicodeCodePoint", function() { + it("emoji", async function() { + await checkOffsetAndLength(client, "👩 SSN: 859-98-0987", "UnicodeCodePoint", 7, 11); // offset was 8 with UTF16 + }); + + it("emoji with skin tone modifier", async function() { + await checkOffsetAndLength(client, "👩🏻 SSN: 859-98-0987", "UnicodeCodePoint", 8, 11); // offset was 10 with UTF16 + }); + + it("family emoji", async function() { + await checkOffsetAndLength(client, "👩‍👩‍👧‍👧 SSN: 859-98-0987", "UnicodeCodePoint", 13, 11); // offset was 17 with UTF16 + }); + + // it("family emoji wit skin tone modifier", async function() { + // await checkOffsetAndLength( + // client, + // "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", + // "UnicodeCodePoint", + // 17, + // 11 + // ); // offset was 25 with UTF16 + // }); + + it("diacritics nfc", async function() { + await checkOffsetAndLength(client, "año SSN: 859-98-0987", "UnicodeCodePoint", 9, 11); + }); + + it("diacritics nfd", async function() { + await checkOffsetAndLength(client, "año SSN: 859-98-0987", "UnicodeCodePoint", 10, 11); + }); + + it("korean nfc", async function() { + await checkOffsetAndLength(client, "아가 SSN: 859-98-0987", "UnicodeCodePoint", 8, 11); + }); + + it("korean nfd", async function() { + await checkOffsetAndLength(client, "아가 SSN: 859-98-0987", "UnicodeCodePoint", 8, 11); + }); + + it("zalgo", async function() { + await checkOffsetAndLength(client, "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", "UnicodeCodePoint", 121, 11); + }); }); - - it("korean nfc", async function() { - await checkOffsetAndLength(client, "아가 SSN: 859-98-0987", "UnicodeCodePoint", 8, 11); + describe("#TextElement_v8", function() { + it("emoji", async function() { + await checkOffsetAndLength(client, "👩 SSN: 859-98-0987", "TextElement_v8", 7, 11); // offset was 8 with UTF16 + }); + + it("emoji with skin tone modifier", async function() { + await checkOffsetAndLength(client, "👩🏻 SSN: 859-98-0987", "TextElement_v8", 8, 11); // offset was 10 with UTF16 + }); + + it("family emoji", async function() { + await checkOffsetAndLength(client, "👩‍👩‍👧‍👧 SSN: 859-98-0987", "TextElement_v8", 13, 11); // offset was 17 with UTF16 + }); + + // it("family emoji wit skin tone modifier", async function() { + // await checkOffsetAndLength( + // client, + // "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", + // "TextElement_v8", + // 17, + // 11 + // ); // offset was 25 with UTF16 + // }); + + it("diacritics nfc", async function() { + await checkOffsetAndLength(client, "año SSN: 859-98-0987", "TextElement_v8", 9, 11); + }); + + it("diacritics nfd", async function() { + await checkOffsetAndLength(client, "año SSN: 859-98-0987", "TextElement_v8", 9, 11); // offset was 10 with UTF16 + }); + + it("korean nfc", async function() { + await checkOffsetAndLength(client, "아가 SSN: 859-98-0987", "TextElement_v8", 8, 11); + }); + + it("korean nfd", async function() { + await checkOffsetAndLength(client, "아가 SSN: 859-98-0987", "TextElement_v8", 8, 11); + }); + + it("zalgo", async function() { + await checkOffsetAndLength(client, "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", "TextElement_v8", 9, 11); // offset was 121 with UTF16 + }); }); + }); + }); - it("korean nfd", async function() { - await checkOffsetAndLength(client, "아가 SSN: 859-98-0987", "UnicodeCodePoint", 8, 11); - }); + describe("LROs", function() { + const pollingInterval = isPlaybackMode() ? 0 : 2000; - it("zalgo", async function() { - await checkOffsetAndLength(client, "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", "UnicodeCodePoint", 121, 11); - }); + before(function(this: Context) { + this.timeout(isPlaybackMode() ? fastTimeout : CLITimeout); }); - describe("#TextElement_v8", function() { - it("emoji", async function() { - await checkOffsetAndLength(client, "👩 SSN: 859-98-0987", "TextElement_v8", 7, 11); // offset was 8 with UTF16 - }); - it("emoji with skin tone modifier", async function() { - await checkOffsetAndLength(client, "👩🏻 SSN: 859-98-0987", "TextElement_v8", 8, 11); // offset was 10 with UTF16 - }); + describe("#analyze", function() { + it("single entity recognition action", async function() { + const docs = [ + { id: "1", language: "en", text: "Microsoft was founded by Bill Gates and Paul Allen" }, + { id: "2", language: "es", text: "Microsoft fue fundado por Bill Gates y Paul Allen" } + ]; - it("family emoji", async function() { - await checkOffsetAndLength(client, "👩‍👩‍👧‍👧 SSN: 859-98-0987", "TextElement_v8", 13, 11); // offset was 17 with UTF16 + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const results = await poller.pollUntilDone(); + for await (const page of results) { + const entitiesResult = page.recognizeEntitiesResults; + if (entitiesResult.length === 1) { + const action = entitiesResult[0]; + if (!action.error) { + for (const result of action.results) { + if (!result.error) { + assert.ok(result.id); + assert.ok(result.entities); + } else { + assert.fail("did not expect document errors but got one."); + } + } + } + } else { + assert.fail("expected an array of entities results but did not get one."); + } + } }); - it("family emoji wit skin tone modifier", async function() { - await checkOffsetAndLength( - client, - "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", - "TextElement_v8", - 17, - 11 - ); // offset was 25 with UTF16 + it("single key phrases action", async function() { + const docs = [ + { id: "1", language: "en", text: "Microsoft was founded by Bill Gates and Paul Allen" }, + { id: "2", language: "es", text: "Microsoft fue fundado por Bill Gates y Paul Allen" } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const results = await poller.pollUntilDone(); + for await (const page of results) { + const keyPhrasesResult = page.extractKeyPhrasesResults; + if (keyPhrasesResult.length === 1) { + const action = keyPhrasesResult[0]; + if (!action.error) { + assert.equal(action.results.length, 2); + for (const result of action.results) { + if (!result.error) { + assert.include(result.keyPhrases, "Paul Allen"); + assert.include(result.keyPhrases, "Bill Gates"); + assert.include(result.keyPhrases, "Microsoft"); + assert.ok(result.id); + } + } + } + } else { + assert.fail("expected an array of key phrases results but did not get one."); + } + } }); - it("diacritics nfc", async function() { - await checkOffsetAndLength(client, "año SSN: 859-98-0987", "TextElement_v8", 9, 11); + it("single entities recognition action", async function() { + const docs = [ + { + id: "1", + text: "Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975.", + language: "en" + }, + { + id: "2", + text: "Microsoft fue fundado por Bill Gates y Paul Allen el 4 de abril de 1975.", + language: "es" + }, + { + id: "3", + text: "Microsoft wurde am 4. April 1975 von Bill Gates und Paul Allen gegründet.", + language: "de" + } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + if (entitiesResult.length === 1) { + const action = entitiesResult[0]; + if (!action.error) { + assert.equal(action.results.length, 3); + for (const doc of action.results) { + if (!doc.error) { + assert.equal(doc.entities.length, 4); + for (const entity of doc.entities) { + assert.isDefined(entity.text); + assert.isDefined(entity.category); + assert.isDefined(entity.offset); + assert.isDefined(entity.confidenceScore); + } + } + } + } + } else { + assert.fail("expected an array of entities results but did not get one."); + } + } }); - it("diacritics nfd", async function() { - await checkOffsetAndLength(client, "año SSN: 859-98-0987", "TextElement_v8", 9, 11); // offset was 10 with UTF16 + it("single entities linking action", async function() { + const docs = [ + "Microsoft moved its headquarters to Bellevue, Washington in January 1979.", + "Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella." + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeLinkedEntitiesActions: [{}] + }, + "en", + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeLinkedEntitiesResults; + if (entitiesResult.length === 1) { + const action = entitiesResult[0]; + if (!action.error) { + assert.equal(action.results.length, 2); + for (const doc of action.results) { + if (!doc.error) { + assert.notEqual(doc.entities.length, 0); + for (const entity of doc.entities) { + assert.isDefined(entity.name); + assert.isDefined(entity.url); + assert.isDefined(entity.dataSource); + assert.isDefined(entity.dataSourceEntityId); + } + } + } + } + } else { + assert.fail("expected an array of entity linking results but did not get one."); + } + } }); - it("korean nfc", async function() { - await checkOffsetAndLength(client, "아가 SSN: 859-98-0987", "TextElement_v8", 8, 11); + it("single pii entities recognition action", async function() { + const docs = [ + { id: "1", text: "My SSN is 859-98-0987." }, + { + id: "2", + text: + "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check." + }, + { id: "3", text: "Is 998.214.865-68 your Brazilian CPF number?" } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizePiiEntitiesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizePiiEntitiesResults; + if (entitiesResult.length === 1) { + const action = entitiesResult[0]; + if (!action.error) { + const actionResults = action.results; + assert.equal(actionResults.length, 3); + const doc1 = actionResults[0]; + const doc2 = actionResults[1]; + // const doc3 = actionResults[2]; + if (!doc1.error) { + assert.equal(doc1.entities[0].text, "859-98-0987"); + assert.equal(doc1.entities[0].category, "USSocialSecurityNumber"); + } + if (!doc2.error) { + assert.equal(doc2.entities[0].text, "111000025"); + assert.equal(doc2.entities[1].category, "ABARoutingNumber"); + } + // the service is not able to detect the brazil cpf number + // if (!doc3.error) { + // assert.equal(doc3.entities[0].text, "998.214.865-68"); + // assert.equal(doc3.entities[0].category, "Brazil CPF Number"); + // } + for (const doc of actionResults) { + if (!doc.error) { + for (const entity of doc.entities) { + assert.isDefined(entity.text); + assert.isDefined(entity.category); + assert.isDefined(entity.offset); + assert.isDefined(entity.confidenceScore); + } + } + } + } + } else { + assert.fail("expected an array of pii entities results but did not get one."); + } + } }); - it("korean nfd", async function() { - await checkOffsetAndLength(client, "아가 SSN: 859-98-0987", "TextElement_v8", 8, 11); + it("single sentiment analysis action", async function() { + const docs = [ + "The food was unacceptable", + "The rooms were beautiful. The AC was good and quiet.", + "The breakfast was good, but the toilet was smelly.", + "Loved this hotel - good breakfast - nice shuttle service - clean rooms.", + "I had a great unobstructed view of the Microsoft campus.", + "Nice rooms but bathrooms were old and the toilet was dirty when we arrived.", + "The toilet smelled." + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + analyzeSentimentActions: [{ includeOpinionMining: true }] + }, + "en", + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.analyzeSentimentResults; + if (entitiesResult.length === 1) { + const action = entitiesResult[0]; + if (!action.error) { + const actionResults = action.results; + assert.equal(actionResults.length, 7); + const result1 = actionResults[0]; + const result6 = actionResults[5]; + const result7 = actionResults[6]; + if ( + result1.error === undefined && + result6.error === undefined && + result7.error === undefined + ) { + const Assessment1 = result1.sentences[0].opinions[0].assessments[0]; + const Assessment2 = result6.sentences[0].opinions[0].assessments[0]; + assert.notDeepEqual(Assessment1, Assessment2); + + const listAllAssessments = ( + acc: string[], + sentence: SentenceSentiment + ): string[] => + acc.concat( + sentence.opinions.reduce( + (assessments: string[], opinion: Opinion) => + assessments.concat( + opinion.assessments.map( + (assessment: AssessmentSentiment) => assessment.text + ) + ), + [] + ) + ); + const allAssessments1 = result1.sentences.reduce(listAllAssessments, []); + assert.deepEqual(allAssessments1, ["unacceptable"]); + const allAssessments2 = result6.sentences.reduce(listAllAssessments, []); + assert.deepEqual(allAssessments2, ["nice", "old", "dirty"]); + const allAssessments7 = result7.sentences.reduce(listAllAssessments, []); + assert.deepEqual(allAssessments7, ["smelled"]); + } + } + } + } }); - it("zalgo", async function() { - await checkOffsetAndLength(client, "ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ SSN: 859-98-0987", "TextElement_v8", 9, 11); // offset was 121 with UTF16 + it("bad request empty string", async function() { + const docs = [""]; + try { + const poller = await client.beginAnalyzeActions( + docs, + { + recognizePiiEntitiesActions: [{ modelVersion: "latest" }] + }, + "en", + { + updateIntervalInMs: pollingInterval + } + ); + await poller.pollUntilDone(); + } catch (e) { + assert.equal(e.statusCode, 400); + } }); - }); - }); - }); - describe("LROs", function() { - const pollingInterval = isPlaybackMode() ? 0 : 2000; + it("some documents with errors and multiple actions", async function() { + const docs = [ + { id: "1", language: "", text: "" }, + { + id: "2", + language: "english", + text: "I did not like the hotel we stayed at. It was too expensive." + }, + { + id: "3", + language: "en", + text: "The restaurant had really good food. I recommend you try it." + } + ]; - before(function(this: Context) { - this.timeout(isPlaybackMode() ? fastTimeout : CLITimeout); - }); + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + if (entitiesResult.length === 1) { + const entitiesDocs = entitiesResult[0]; + if (!entitiesDocs.error) { + const entitiesDocsResults = entitiesDocs.results; + assert.equal(entitiesDocsResults.length, 3); + assert.isDefined(entitiesDocsResults[0].error); + assert.isDefined(entitiesDocsResults[1].error); + assert.isUndefined(entitiesDocsResults[2].error); + } + } else { + assert.fail("expected an array of entities results but did not get one."); + } - describe("#analyze", function() { - it("single entity recognition action", async function() { - const docs = [ - { id: "1", language: "en", text: "Microsoft was founded by Bill Gates and Paul Allen" }, - { id: "2", language: "es", text: "Microsoft fue fundado por Bill Gates y Paul Allen" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }] - }, - { - updateIntervalInMs: pollingInterval + const piiEntitiesResult = page.recognizePiiEntitiesResults; + if (piiEntitiesResult.length === 1) { + const piiEntitiesDocs = piiEntitiesResult[0]; + if (!piiEntitiesDocs.error) { + const piiEntitiesDocsResults = piiEntitiesDocs.results; + assert.equal(piiEntitiesDocsResults.length, 3); + assert.isDefined(piiEntitiesDocsResults[0].error); + assert.isDefined(piiEntitiesDocsResults[1].error); + assert.isUndefined(piiEntitiesDocsResults[2].error); + } + } else { + assert.fail("expected an array of pii entities results but did not get one."); + } + + const keyPhrasesResult = page.extractKeyPhrasesResults; + if (keyPhrasesResult.length === 1) { + const keyPhrasesDocs = keyPhrasesResult[0]; + if (!keyPhrasesDocs.error) { + const keyPhrasesDocsResults = keyPhrasesDocs.results; + assert.equal(keyPhrasesDocsResults.length, 3); + assert.isDefined(keyPhrasesDocsResults[0].error); + assert.isDefined(keyPhrasesDocsResults[1].error); + assert.isUndefined(keyPhrasesDocsResults[2].error); + } + } else { + assert.fail("expected an array of key phrases results but did not get one."); + } } - ); - const results = await poller.pollUntilDone(); - for await (const page of results) { - const entitiesResult = page.recognizeEntitiesResults; - if (entitiesResult.length === 1) { - const action = entitiesResult[0]; - if (!action.error) { - for (const result of action.results) { - if (!result.error) { - assert.ok(result.id); - assert.ok(result.entities); - } else { - assert.fail("did not expect document errors but got one."); + }); + + it("all documents with errors and multiple actions", async function() { + const docs = [ + { id: "1", language: "", text: "" }, + { + id: "2", + language: "english", + text: "I did not like the hotel we stayed at. It was too expensive." + }, + { + id: "3", + language: "en", + text: "" + } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + if (entitiesResult.length === 1) { + const entitiesDocs = entitiesResult[0]; + if (!entitiesDocs.error) { + const entitiesDocsResults = entitiesDocs.results; + assert.equal(entitiesDocsResults.length, 3); + assert.isDefined(entitiesDocsResults[0].error); + assert.isDefined(entitiesDocsResults[1].error); + assert.isDefined(entitiesDocsResults[2].error); + } + } else { + assert.fail("expected an array of entities results but did not get one."); + } + + const piiEntitiesResult = page.recognizePiiEntitiesResults; + if (piiEntitiesResult.length === 1) { + const piiEntitiesDocs = piiEntitiesResult[0]; + if (!piiEntitiesDocs.error) { + const piiEntitiesDocsResults = piiEntitiesDocs.results; + assert.equal(piiEntitiesDocsResults.length, 3); + assert.isDefined(piiEntitiesDocsResults[0].error); + assert.isDefined(piiEntitiesDocsResults[1].error); + assert.isDefined(piiEntitiesDocsResults[2].error); + } + } else { + assert.fail("expected an array of pii entities results but did not get one."); + } + + const keyPhrasesResult = page.extractKeyPhrasesResults; + if (keyPhrasesResult && keyPhrasesResult.length === 1) { + const keyPhrasesDocs = keyPhrasesResult[0]; + if (!keyPhrasesDocs.error) { + const keyPhrasesDocsResults = keyPhrasesDocs.results; + assert.equal(keyPhrasesDocsResults.length, 3); + assert.isDefined(keyPhrasesDocsResults[0].error); + assert.isDefined(keyPhrasesDocsResults[1].error); + assert.isDefined(keyPhrasesDocsResults[2].error); + } + } else { + assert.fail("expected an array of key phrases results but did not get one."); + } + } + }); + + it("output order is same as the input's one with multiple actions", async function() { + const docs = [ + { id: "1", text: "one" }, + { id: "2", text: "two" }, + { id: "3", text: "three" }, + { id: "4", text: "four" }, + { id: "5", text: "five" } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + if (entitiesResult.length === 1) { + const entitiesDocs = entitiesResult[0]; + if (!entitiesDocs.error) { + assert.equal(entitiesDocs.results.length, 5); + let i = 1; + for (const doc of entitiesDocs.results) { + assert.equal(parseInt(doc.id), i++); } } + } else { + assert.fail("expected an array of entities results but did not get one."); + } + + const piiEntitiesResult = page.recognizePiiEntitiesResults; + if (piiEntitiesResult.length === 1) { + const piiEntitiesDocs = piiEntitiesResult[0]; + if (!piiEntitiesDocs.error) { + assert.equal(piiEntitiesDocs.results.length, 5); + let i = 1; + for (const doc of piiEntitiesDocs.results) { + assert.equal(parseInt(doc.id), i++); + } + } + } else { + assert.fail("expected an array of pii entities results but did not get one."); + } + + const keyPhrasesResult = page.extractKeyPhrasesResults; + if (keyPhrasesResult.length === 1) { + const keyPhrasesDocs = keyPhrasesResult[0]; + if (!keyPhrasesDocs.error) { + assert.equal(keyPhrasesDocs.results.length, 5); + let i = 1; + for (const doc of keyPhrasesDocs.results) { + assert.equal(parseInt(doc.id), i++); + } + } + } else { + assert.fail("expected an array of key phrases results but did not get one."); } - } else { - assert.fail("expected an array of entities results but did not get one."); } - } - }); + }); - it("single key phrases action", async function() { - const docs = [ - { id: "1", language: "en", text: "Microsoft was founded by Bill Gates and Paul Allen" }, - { id: "2", language: "es", text: "Microsoft fue fundado por Bill Gates y Paul Allen" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - { - updateIntervalInMs: pollingInterval + it("out of order input IDs with multiple actions", async function() { + const docs = [ + { id: "56", text: ":)" }, + { id: "0", text: ":(" }, + { id: "22", text: "w" }, + { id: "19", text: ":P" }, + { id: "1", text: ":D" } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + const in_order = ["56", "0", "22", "19", "1"]; + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + if (entitiesResult.length === 1) { + const entitiesDocs = entitiesResult[0]; + if (!entitiesDocs.error) { + assert.equal(entitiesDocs.results.length, 5); + let i = 0; + for (const doc of entitiesDocs.results) { + assert.equal(doc.id, in_order[i++]); + } + } + } else { + assert.fail("expected an array of entities results but did not get one."); + } + + const piiEntitiesResult = page.recognizePiiEntitiesResults; + if (piiEntitiesResult.length === 1) { + const piiEntitiesDocs = piiEntitiesResult[0]; + if (!piiEntitiesDocs.error) { + assert.equal(piiEntitiesDocs.results.length, 5); + let i = 0; + for (const doc of piiEntitiesDocs.results) { + assert.equal(doc.id, in_order[i++]); + } + } + } else { + assert.fail("expected an array of pii entities results but did not get one."); + } + + const keyPhrasesResult = page.extractKeyPhrasesResults; + if (keyPhrasesResult.length === 1) { + const keyPhrasesDocs = keyPhrasesResult[0]; + if (!keyPhrasesDocs.error) { + assert.equal(keyPhrasesDocs.results.length, 5); + let i = 0; + for (const doc of keyPhrasesDocs.results) { + assert.equal(doc.id, in_order[i++]); + } + } + } else { + assert.fail("expected an array of key phrases results but did not get one."); + } + } + }); + + // the service's statistics says the number of documents is 6 instead of 5. + it.skip("statistics", async function() { + const docs = [ + { id: "56", text: ":)" }, + { id: "0", text: ":(" }, + { id: "22", text: "" }, + { id: "19", text: ":P" }, + { id: "1", text: ":D" } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + { + includeStatistics: true, + updateIntervalInMs: pollingInterval + } + ); + const response = await poller.pollUntilDone(); + const results = (await response.next()).value; + const recognizeEntitiesResults = results.recognizeEntitiesResults[0]; + if (!recognizeEntitiesResults.error) { + assert.equal(recognizeEntitiesResults.results.statistics?.documentCount, 5); + assert.equal(recognizeEntitiesResults.results.statistics?.transactionCount, 4); + assert.equal(recognizeEntitiesResults.results.statistics?.validDocumentCount, 4); + assert.equal(recognizeEntitiesResults.results.statistics?.erroneousDocumentCount, 1); } - ); - const results = await poller.pollUntilDone(); - for await (const page of results) { - const keyPhrasesResult = page.extractKeyPhrasesResults; - if (keyPhrasesResult.length === 1) { - const action = keyPhrasesResult[0]; - if (!action.error) { - assert.equal(action.results.length, 2); - for (const result of action.results) { - if (!result.error) { - assert.include(result.keyPhrases, "Paul Allen"); - assert.include(result.keyPhrases, "Bill Gates"); - assert.include(result.keyPhrases, "Microsoft"); - assert.ok(result.id); + const recognizePiiEntitiesResults = results.recognizePiiEntitiesResults[0]; + if (!recognizePiiEntitiesResults.error) { + assert.equal(recognizePiiEntitiesResults.results.statistics?.documentCount, 5); + assert.equal(recognizePiiEntitiesResults.results.statistics?.transactionCount, 4); + assert.equal(recognizePiiEntitiesResults.results.statistics?.validDocumentCount, 4); + assert.equal(recognizePiiEntitiesResults.results.statistics?.erroneousDocumentCount, 1); + } + const extractKeyPhrasesResults = results.extractKeyPhrasesResults[0]; + if (!extractKeyPhrasesResults.error) { + assert.equal(extractKeyPhrasesResults.results.statistics?.documentCount, 5); + assert.equal(extractKeyPhrasesResults.results.statistics?.transactionCount, 4); + assert.equal(extractKeyPhrasesResults.results.statistics?.validDocumentCount, 4); + assert.equal(extractKeyPhrasesResults.results.statistics?.erroneousDocumentCount, 1); + } + }); + + it("whole batch language hint", async function() { + const docs = [ + "This was the best day of my life.", + "I did not like the hotel we stayed at. It was too expensive.", + "The restaurant was not as good as I hoped." + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + "en", + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + assert.equal(entitiesResult.length, 1); + for (const entitiesDocs of entitiesResult) { + if (!entitiesDocs.error) { + assert.equal(entitiesDocs.results.length, 3); + for (const doc of entitiesDocs.results) { + assert.isUndefined(doc.error); } } } - } else { - assert.fail("expected an array of key phrases results but did not get one."); } - } - }); + }); - it("single entities recognition action", async function() { - const docs = [ - { - id: "1", - text: "Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975.", - language: "en" - }, - { - id: "2", - text: "Microsoft fue fundado por Bill Gates y Paul Allen el 4 de abril de 1975.", - language: "es" - }, - { - id: "3", - text: "Microsoft wurde am 4. April 1975 von Bill Gates und Paul Allen gegründet.", - language: "de" + it("whole batch with no language hint", async function() { + const docs = [ + "This was the best day of my life.", + "I did not like the hotel we stayed at. It was too expensive.", + "The restaurant was not as good as I hoped." + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + "", + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + assert.equal(entitiesResult.length, 1); + for (const entitiesDocs of entitiesResult) { + if (!entitiesDocs.error) { + assert.equal(entitiesDocs.results.length, 3); + for (const doc of entitiesDocs.results) { + assert.isUndefined(doc.error); + } + } + } } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }] - }, - { - updateIntervalInMs: pollingInterval + }); + + it("each doc has a language hint", async function() { + const docs = [ + { id: "1", language: "", text: "I will go to the park." }, + { id: "2", language: "", text: "I did not like the hotel we stayed at." }, + { id: "3", text: "The restaurant had really good food." } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + assert.equal(entitiesResult.length, 1); + for (const entitiesDocs of entitiesResult) { + if (!entitiesDocs.error) { + assert.equal(entitiesDocs.results.length, 3); + for (const doc of entitiesDocs.results) { + assert.isUndefined(doc.error); + } + } + } } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - if (entitiesResult.length === 1) { - const action = entitiesResult[0]; - if (!action.error) { - assert.equal(action.results.length, 3); - for (const doc of action.results) { - if (!doc.error) { - assert.equal(doc.entities.length, 4); - for (const entity of doc.entities) { - assert.isDefined(entity.text); - assert.isDefined(entity.category); - assert.isDefined(entity.offset); - assert.isDefined(entity.confidenceScore); - } + }); + + it("whole batch input with a language hint", async function() { + const docs = [ + { id: "1", text: "I will go to the park." }, + { id: "2", text: "Este es un document escrito en Español." }, + { id: "3", text: "猫は幸せ" } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizeEntitiesResults; + assert.equal(entitiesResult.length, 1); + for (const entitiesDocs of entitiesResult) { + if (!entitiesDocs.error) { + assert.equal(entitiesDocs.results.length, 3); + for (const doc of entitiesDocs.results) { + assert.isUndefined(doc.error); } } } - } else { - assert.fail("expected an array of entities results but did not get one."); } - } - }); + }); - it("single entities linking action", async function() { - const docs = [ - "Microsoft moved its headquarters to Bellevue, Washington in January 1979.", - "Steve Ballmer stepped down as CEO of Microsoft and was succeeded by Satya Nadella." - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeLinkedEntitiesActions: [{}] - }, - "en", - { - updateIntervalInMs: pollingInterval + it("invalid language hint", async function() { + const docs = ["This should fail because we're passing in an invalid language hint"]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + recognizePiiEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + "notalanguage", + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + const firstResult = (await result.next()).value; + const entitiesTaskDocs = firstResult?.recognizeEntitiesResults[0]; + if (!entitiesTaskDocs.error) { + for (const doc of entitiesTaskDocs.results) { + assert.equal(doc.error?.code, "UnsupportedLanguageCode"); + } } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeLinkedEntitiesResults; - if (entitiesResult.length === 1) { - const action = entitiesResult[0]; - if (!action.error) { - assert.equal(action.results.length, 2); - for (const doc of action.results) { + const piiEntitiesTaskDocs = firstResult?.recognizePiiEntitiesResults[0]; + if (!piiEntitiesTaskDocs.error) { + for (const doc of piiEntitiesTaskDocs.results) { + assert.equal(doc.error?.code, "UnsupportedLanguageCode"); + } + } + const keyPhrasesTaskDocs = firstResult?.extractKeyPhrasesResults[0]; + if (!keyPhrasesTaskDocs.error) { + for (const doc of keyPhrasesTaskDocs.results) { + assert.equal(doc.error?.code, "UnsupportedLanguageCode"); + } + } + }); + + it("paged results with custom page size", async function() { + const totalDocs = 25; + const docs = Array(totalDocs - 1).fill("random text"); + docs.push("Microsoft was founded by Bill Gates and Paul Allen"); + const poller = await client.beginAnalyzeActions( + docs, + { + recognizeEntitiesActions: [{ modelVersion: "latest" }], + extractKeyPhrasesActions: [{ modelVersion: "latest" }] + }, + "en", + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + let docCount = 0; + let pageCount = 0; + const pageSize = 10; + for await (const page of result.byPage({ maxPageSize: pageSize })) { + const entitiesTaskDocs = page.recognizeEntitiesResults[0]; + ++pageCount; + if (!entitiesTaskDocs.error) { + for (const doc of entitiesTaskDocs.results) { + assert.isUndefined(doc.error); + ++docCount; if (!doc.error) { - assert.notEqual(doc.entities.length, 0); - for (const entity of doc.entities) { - assert.isDefined(entity.name); - assert.isDefined(entity.url); - assert.isDefined(entity.dataSource); - assert.isDefined(entity.dataSourceEntityId); + if (docCount === totalDocs) { + assert.equal(doc.entities.length, 3); + } else { + assert.equal(doc.entities.length, 0); } } } } - } else { - assert.fail("expected an array of entity linking results but did not get one."); } - } - }); + assert.equal(docs.length, docCount); + assert.equal(Math.ceil(docs.length / pageSize), pageCount); + }); - it("single pii entities recognition action", async function() { - const docs = [ - { id: "1", text: "My SSN is 859-98-0987." }, - { - id: "2", - text: - "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check." - }, - { id: "3", text: "Is 998.214.865-68 your Brazilian CPF number?" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizePiiEntitiesActions: [{ modelVersion: "latest" }] - }, - { - updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizePiiEntitiesResults; - if (entitiesResult.length === 1) { - const action = entitiesResult[0]; - if (!action.error) { - const actionResults = action.results; - assert.equal(actionResults.length, 3); - const doc1 = actionResults[0]; - const doc2 = actionResults[1]; - // const doc3 = actionResults[2]; - if (!doc1.error) { - assert.equal(doc1.entities[0].text, "859-98-0987"); - assert.equal(doc1.entities[0].category, "USSocialSecurityNumber"); - } - if (!doc2.error) { - assert.equal(doc2.entities[0].text, "111000025"); - assert.equal(doc2.entities[1].category, "ABARoutingNumber"); - } - // the service is not able to detect the brazil cpf number - // if (!doc3.error) { - // assert.equal(doc3.entities[0].text, "998.214.865-68"); - // assert.equal(doc3.entities[0].category, "Brazil CPF Number"); - // } - for (const doc of actionResults) { - if (!doc.error) { - for (const entity of doc.entities) { - assert.isDefined(entity.text); - assert.isDefined(entity.category); - assert.isDefined(entity.offset); - assert.isDefined(entity.confidenceScore); + it("pii redacted test is not empty", async function() { + const docs = [ + { id: "1", text: "I will go to the park." }, + { id: "2", text: "Este es un document escrito en Español." }, + { id: "3", text: "猫は幸せ" } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizePiiEntitiesActions: [{ modelVersion: "latest" }] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const piiEntitiesResult = page.recognizePiiEntitiesResults; + assert.equal(piiEntitiesResult.length, 1); + for (const piiEntitiesDocs of piiEntitiesResult) { + if (!piiEntitiesDocs.error) { + assert.equal(piiEntitiesDocs.results.length, 3); + for (const doc of piiEntitiesDocs.results) { + assert.isUndefined(doc.error); + if (!doc.error) { + assert.isNotEmpty(doc.redactedText); } } } } - } else { - assert.fail("expected an array of pii entities results but did not get one."); } - } - }); + }); - it("single sentiment analysis action", async function() { - const docs = [ - "The food was unacceptable", - "The rooms were beautiful. The AC was good and quiet.", - "The breakfast was good, but the toilet was smelly.", - "Loved this hotel - good breakfast - nice shuttle service - clean rooms.", - "I had a great unobstructed view of the Microsoft campus.", - "Nice rooms but bathrooms were old and the toilet was dirty when we arrived.", - "The toilet smelled." - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - analyzeSentimentActions: [{ includeOpinionMining: true }] - }, - "en", - { - updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.analyzeSentimentResults; - if (entitiesResult.length === 1) { - const action = entitiesResult[0]; - if (!action.error) { - const actionResults = action.results; - assert.equal(actionResults.length, 7); - const result1 = actionResults[0]; - const result6 = actionResults[5]; - const result7 = actionResults[6]; - if ( - result1.error === undefined && - result6.error === undefined && - result7.error === undefined - ) { - const Assessment1 = result1.sentences[0].opinions[0].assessments[0]; - const Assessment2 = result6.sentences[0].opinions[0].assessments[0]; - assert.notDeepEqual(Assessment1, Assessment2); - - const listAllAssessments = (acc: string[], sentence: SentenceSentiment): string[] => - acc.concat( - sentence.opinions.reduce( - (assessments: string[], opinion: Opinion) => - assessments.concat( - opinion.assessments.map( - (assessment: AssessmentSentiment) => assessment.text - ) - ), - [] - ) - ); - const allAssessments1 = result1.sentences.reduce(listAllAssessments, []); - assert.deepEqual(allAssessments1, ["unacceptable"]); - const allAssessments2 = result6.sentences.reduce(listAllAssessments, []); - assert.deepEqual(allAssessments2, ["nice", "old", "dirty"]); - const allAssessments7 = result7.sentences.reduce(listAllAssessments, []); - assert.deepEqual(allAssessments7, ["smelled"]); - } - } - } - } - }); + it("operation metadata", async function() { + const docs = [ + { id: "1", text: "I will go to the park." }, + { id: "2", text: "Este es un document escrito en Español." }, + { id: "3", text: "猫は幸せ" } + ]; - it("bad request empty string", async function() { - const docs = [""]; - try { const poller = await client.beginAnalyzeActions( docs, { recognizePiiEntitiesActions: [{ modelVersion: "latest" }] }, - "en", { - updateIntervalInMs: pollingInterval + updateIntervalInMs: pollingInterval, + displayName: "testJob" } ); - await poller.pollUntilDone(); - } catch (e) { - assert.equal(e.statusCode, 400); - } - }); + poller.onProgress((state) => { + assert.ok(state.createdOn, "createdOn is undefined!"); + assert.ok(state.expiresOn, "expiresOn is undefined!"); + assert.ok(state.lastModifiedOn, "lastModifiedOn is undefined!"); + assert.ok(state.status, "status is undefined!"); + assert.isDefined(state.actionsSucceededCount, "actionsSucceededCount is undefined!"); + assert.equal(state.actionsFailedCount, 0); + assert.isDefined(state.actionsInProgressCount, "actionsInProgressCount is undefined!"); + assert.equal(state.displayName, "testJob"); + }); + const result = await poller.pollUntilDone(); + assert.ok(result); + }); - it("some documents with errors and multiple actions", async function() { - const docs = [ - { id: "1", language: "", text: "" }, - { - id: "2", - language: "english", - text: "I did not like the hotel we stayed at. It was too expensive." - }, - { - id: "3", - language: "en", - text: "The restaurant had really good food. I recommend you try it." - } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - { - updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - if (entitiesResult.length === 1) { - const entitiesDocs = entitiesResult[0]; - if (!entitiesDocs.error) { - const entitiesDocsResults = entitiesDocs.results; - assert.equal(entitiesDocsResults.length, 3); - assert.isDefined(entitiesDocsResults[0].error); - assert.isDefined(entitiesDocsResults[1].error); - assert.isUndefined(entitiesDocsResults[2].error); + it("family emoji wit skin tone modifier", async function() { + const poller = await client.beginAnalyzeActions( + [{ id: "0", text: "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", language: "en" }], + { + recognizePiiEntitiesActions: [ + { modelVersion: "latest", stringIndexType: "UnicodeCodePoint" } + ] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const pollerResult = await poller.pollUntilDone(); + const firstResult = (await pollerResult.next()).value; + const actionResult = firstResult.recognizePiiEntitiesResults[0]; + if (!actionResult.error) { + const docResult = actionResult.results[0]; + if (!docResult.error) { + assert.equal(docResult.entities[0].offset, 17); // 25 with UTF16 + assert.equal(docResult.entities[0].length, 11); + assert.equal(docResult.entities[0].text.length, docResult.entities[0].length); } - } else { - assert.fail("expected an array of entities results but did not get one."); } + }); - const piiEntitiesResult = page.recognizePiiEntitiesResults; - if (piiEntitiesResult.length === 1) { - const piiEntitiesDocs = piiEntitiesResult[0]; - if (!piiEntitiesDocs.error) { - const piiEntitiesDocsResults = piiEntitiesDocs.results; - assert.equal(piiEntitiesDocsResults.length, 3); - assert.isDefined(piiEntitiesDocsResults[0].error); - assert.isDefined(piiEntitiesDocsResults[1].error); - assert.isUndefined(piiEntitiesDocsResults[2].error); - } - } else { - assert.fail("expected an array of pii entities results but did not get one."); + it("malformed actions", async function() { + const docs = [{ id: "1", text: "I will go to the park." }]; + + try { + await client.beginAnalyzeActions( + docs, + { + // the service currently supports up to one action only per type. + recognizePiiEntitiesActions: [ + // { modelVersion: "bad" }, + // { modelVersion: "latest" }, + { modelVersion: "bad", stringIndexType: "TextElement_v8" } + ] + }, + { + updateIntervalInMs: pollingInterval + } + ); + throw new Error("Expected an error to occur"); + } catch (e) { + assert.equal(e.statusCode, 400); + assert.equal(e.code, "InvalidRequest"); } + }); - const keyPhrasesResult = page.extractKeyPhrasesResults; - if (keyPhrasesResult.length === 1) { - const keyPhrasesDocs = keyPhrasesResult[0]; - if (!keyPhrasesDocs.error) { - const keyPhrasesDocsResults = keyPhrasesDocs.results; - assert.equal(keyPhrasesDocsResults.length, 3); - assert.isDefined(keyPhrasesDocsResults[0].error); - assert.isDefined(keyPhrasesDocsResults[1].error); - assert.isUndefined(keyPhrasesDocsResults[2].error); - } - } else { - assert.fail("expected an array of key phrases results but did not get one."); + it("multiple actions per type are disallowed", async function() { + const docs = [{ id: "1", text: "I will go to the park." }]; + + try { + await client.beginAnalyzeActions( + docs, + { + recognizePiiEntitiesActions: [ + { modelVersion: "latest" }, + { modelVersion: "latest", stringIndexType: "TextElement_v8" } + ] + }, + { + updateIntervalInMs: pollingInterval + } + ); + throw new Error("Expected an error to occur"); + } catch (e) { + assert.equal( + e.message, + "beginAnalyzeActions: Currently, the service can accept up to one action only for recognizePiiEntities actions." + ); } - } + }); }); - it("all documents with errors and multiple actions", async function() { - const docs = [ - { id: "1", language: "", text: "" }, - { - id: "2", - language: "english", - text: "I did not like the hotel we stayed at. It was too expensive." - }, - { - id: "3", - language: "en", - text: "" - } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - { - updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - if (entitiesResult.length === 1) { - const entitiesDocs = entitiesResult[0]; - if (!entitiesDocs.error) { - const entitiesDocsResults = entitiesDocs.results; - assert.equal(entitiesDocsResults.length, 3); - assert.isDefined(entitiesDocsResults[0].error); - assert.isDefined(entitiesDocsResults[1].error); - assert.isDefined(entitiesDocsResults[2].error); + describe("#health", function() { + it("input strings", async function() { + const poller = await client.beginAnalyzeHealthcareEntities( + [ + "Patient does not suffer from high blood pressure.", + "Prescribed 100mg ibuprofen, taken twice daily." + ], + "en", + { + updateIntervalInMs: pollingInterval } - } else { - assert.fail("expected an array of entities results but did not get one."); + ); + const result = await poller.pollUntilDone(); + const doc1 = (await result.next()).value; + if (!doc1.error) { + assert.ok(doc1.id); + assert.ok(doc1.entities); + const doc1Entity1 = doc1.entities[0]; + assert.equal(doc1Entity1.text, "high blood pressure"); + assert.equal(doc1Entity1.assertion?.certainty, "negative"); + } + + const doc2 = (await result.next()).value; + if (!doc2.error) { + assert.ok(doc2.id); + assert.ok(doc2.entities); + const doc2Entity1 = doc2.entities[0]; + assert.equal(doc2Entity1.text, "100mg"); + assert.deepEqual(doc2.entityRelations[0], { + relationType: "DosageOfMedication", + roles: [ + { + entity: doc2.entities[0], + name: "Dosage" + }, + { + entity: doc2.entities[1], + name: "Medication" + } + ] + }); + assert.deepEqual(doc2.entityRelations[1], { + relationType: "FrequencyOfMedication", + roles: [ + { + entity: doc2.entities[1], + name: "Medication" + }, + { + entity: doc2.entities[2], + name: "Frequency" + } + ] + }); + + const doc2Entity2 = doc2.entities[1]; + assert.equal(doc2Entity2.text, "ibuprofen"); + + const doc2Entity3 = doc2.entities[2]; + assert.equal(doc2Entity3.text, "twice daily"); } + }); - const piiEntitiesResult = page.recognizePiiEntitiesResults; - if (piiEntitiesResult.length === 1) { - const piiEntitiesDocs = piiEntitiesResult[0]; - if (!piiEntitiesDocs.error) { - const piiEntitiesDocsResults = piiEntitiesDocs.results; - assert.equal(piiEntitiesDocsResults.length, 3); - assert.isDefined(piiEntitiesDocsResults[0].error); - assert.isDefined(piiEntitiesDocsResults[1].error); - assert.isDefined(piiEntitiesDocsResults[2].error); + it("entity assertions", async function() { + const poller = await client.beginAnalyzeHealthcareEntities( + [ + "Baby not likely to have Meningitis. in case of fever in the mother, consider Penicillin for the baby too." + ], + "en", + { + updateIntervalInMs: pollingInterval } - } else { - assert.fail("expected an array of pii entities results but did not get one."); + ); + const result = await poller.pollUntilDone(); + const doc1 = (await result.next()).value; + if (!doc1.error) { + assert.ok(doc1.id); + assert.ok(doc1.entities); + const doc1Entity1 = doc1.entities[0]; + assert.equal(doc1Entity1.text, "Baby"); + assert.equal(doc1Entity1.category, "Age"); + assert.equal(doc1Entity1.normalizedText, "Infant"); + assert.isUndefined(doc1Entity1.assertion?.association); + assert.isUndefined(doc1Entity1.assertion?.conditionality); + + const doc1Entity2 = doc1.entities[1]; + assert.equal(doc1Entity2.text, "Meningitis"); + assert.equal(doc1Entity2.category, "Diagnosis"); + assert.equal(doc1Entity2.assertion?.certainty, "negativePossible"); + assert.equal(doc1Entity2.normalizedText, "Meningitis"); + assert.isUndefined(doc1Entity2.assertion?.association); + assert.isUndefined(doc1Entity2.assertion?.conditionality); + + const doc1Entity3 = doc1.entities[2]; + assert.equal(doc1Entity3.text, "fever"); + assert.equal(doc1Entity3.normalizedText, "Fever"); + assert.equal(doc1Entity3.category, "SymptomOrSign"); + assert.isUndefined(doc1Entity3.assertion?.association); + assert.isUndefined(doc1Entity3.assertion?.conditionality); + + const doc1Entity4 = doc1.entities[3]; + assert.equal(doc1Entity4.text, "mother"); + assert.equal(doc1Entity4.normalizedText, "Mother (person)"); + assert.equal(doc1Entity4.category, "FamilyRelation"); + assert.isUndefined(doc1Entity4.assertion?.association); + assert.isUndefined(doc1Entity4.assertion?.conditionality); + + const doc1Entity5 = doc1.entities[4]; + assert.equal(doc1Entity5.text, "Penicillin"); + assert.equal(doc1Entity5.category, "MedicationName"); + assert.equal(doc1Entity5.normalizedText, "penicillins"); + assert.equal(doc1Entity5.assertion?.certainty, "neutralPossible"); + assert.isUndefined(doc1Entity5.assertion?.association); + assert.isUndefined(doc1Entity5.assertion?.conditionality); + + const doc1Entity6 = doc1.entities[5]; + assert.equal(doc1Entity6.text, "baby"); + assert.equal(doc1Entity6.category, "FamilyRelation"); + assert.equal(doc1Entity6.normalizedText, "Infant"); + assert.isUndefined(doc1Entity6.assertion?.association); + assert.isUndefined(doc1Entity6.assertion?.conditionality); + + assert.isEmpty(doc1.entityRelations); } + }); - const keyPhrasesResult = page.extractKeyPhrasesResults; - if (keyPhrasesResult && keyPhrasesResult.length === 1) { - const keyPhrasesDocs = keyPhrasesResult[0]; - if (!keyPhrasesDocs.error) { - const keyPhrasesDocsResults = keyPhrasesDocs.results; - assert.equal(keyPhrasesDocsResults.length, 3); - assert.isDefined(keyPhrasesDocsResults[0].error); - assert.isDefined(keyPhrasesDocsResults[1].error); - assert.isDefined(keyPhrasesDocsResults[2].error); + it("input documents", async function() { + const poller = await client.beginAnalyzeHealthcareEntities( + [ + { + id: "1", + text: "Patient does not suffer from high blood pressure.", + language: "en" + }, + { id: "2", text: "Prescribed 100mg ibuprofen, taken twice daily.", language: "en" } + ], + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const doc of result) { + if (!doc.error) { + assert.ok(doc.id); + assert.ok(doc.entities); } - } else { - assert.fail("expected an array of key phrases results but did not get one."); } - } - }); + }); - it("output order is same as the input's one with multiple actions", async function() { - const docs = [ - { id: "1", text: "one" }, - { id: "2", text: "two" }, - { id: "3", text: "three" }, - { id: "4", text: "four" }, - { id: "5", text: "five" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - { + it("some inputs with errors", async function() { + const docs = [ + { id: "1", language: "en", text: "" }, + { + id: "2", + language: "english", + text: "Patient does not suffer from high blood pressure." + }, + { id: "3", language: "en", text: "Prescribed 100mg ibuprofen, taken twice daily." } + ]; + + const poller = await client.beginAnalyzeHealthcareEntities(docs, { updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + const result1 = (await result.next()).value; + const result2 = (await result.next()).value; + const result3 = (await result.next()).value; + if (!result3.error) { + assert.ok(result3.id); + assert.ok(result3.entities); } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - if (entitiesResult.length === 1) { - const entitiesDocs = entitiesResult[0]; - if (!entitiesDocs.error) { - assert.equal(entitiesDocs.results.length, 5); - let i = 1; - for (const doc of entitiesDocs.results) { - assert.equal(parseInt(doc.id), i++); - } - } - } else { - assert.fail("expected an array of entities results but did not get one."); - } + assert.ok(result1.error); + assert.ok(result2.error); + }); - const piiEntitiesResult = page.recognizePiiEntitiesResults; - if (piiEntitiesResult.length === 1) { - const piiEntitiesDocs = piiEntitiesResult[0]; - if (!piiEntitiesDocs.error) { - assert.equal(piiEntitiesDocs.results.length, 5); - let i = 1; - for (const doc of piiEntitiesDocs.results) { - assert.equal(parseInt(doc.id), i++); - } - } - } else { - assert.fail("expected an array of pii entities results but did not get one."); + it("all inputs with errors", async function() { + const docs = [ + { id: "1", language: "en", text: "" }, + { + id: "2", + language: "english", + text: "Patient does not suffer from high blood pressure." + }, + { id: "3", language: "en", text: "" } + ]; + + const poller = await client.beginAnalyzeHealthcareEntities(docs, { + updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + const result1 = (await result.next()).value; + const result2 = (await result.next()).value; + const result3 = (await result.next()).value; + assert.ok(result1.error); + assert.ok(result2.error); + assert.ok(result3.error); + }); + + it("too many documents", async function() { + const docs = Array(11).fill("random text"); + try { + const response = await client.beginAnalyzeHealthcareEntities(docs, "en", { + updateIntervalInMs: pollingInterval + }); + console.log(response); + assert.fail("Oops, an exception didn't happen."); + } catch (e) { + assert.equal(e.statusCode, 400); + assert.equal(e.code, "InvalidDocumentBatch"); + assert.equal( + e.message, + "Batch request contains too many records. Max 10 records are permitted." + ); } + }); - const keyPhrasesResult = page.extractKeyPhrasesResults; - if (keyPhrasesResult.length === 1) { - const keyPhrasesDocs = keyPhrasesResult[0]; - if (!keyPhrasesDocs.error) { - assert.equal(keyPhrasesDocs.results.length, 5); - let i = 1; - for (const doc of keyPhrasesDocs.results) { - assert.equal(parseInt(doc.id), i++); - } - } - } else { - assert.fail("expected an array of key phrases results but did not get one."); + it("payload too large", async function() { + const large_doc = + "RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | \ + CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 \ + Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: \ + CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: \ + The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. \ + The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and \ + 50% left main disease , with a strong family history of coronary artery disease with a brother dying at \ + the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. \ + The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities ,\ + but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions \ + in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's \ + increased symptoms and family history and history left main disease with total occasional of his RCA was referred \ + for revascularization with open heart surgery."; + const docs = Array(500).fill(large_doc); + try { + await client.beginAnalyzeHealthcareEntities(docs, "en", { + updateIntervalInMs: pollingInterval + }); + assert.fail("Oops, an exception didn't happen."); + } catch (e) { + assert.equal(e.statusCode, 413); + assert.equal(e.code, "InvalidDocumentBatch"); + assert.equal( + e.message, + "Request Payload sent is too large to be processed. Limit request size to: 524288" + ); } - } - }); + }); - it("out of order input IDs with multiple actions", async function() { - const docs = [ - { id: "56", text: ":)" }, - { id: "0", text: ":(" }, - { id: "22", text: "w" }, - { id: "19", text: ":P" }, - { id: "1", text: ":D" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - { + it("document warnings", async function() { + const docs = [{ id: "1", text: "This won't actually create a warning :'(" }]; + const poller = await client.beginAnalyzeHealthcareEntities(docs, { updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - const in_order = ["56", "0", "22", "19", "1"]; - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - if (entitiesResult.length === 1) { - const entitiesDocs = entitiesResult[0]; - if (!entitiesDocs.error) { - assert.equal(entitiesDocs.results.length, 5); - let i = 0; - for (const doc of entitiesDocs.results) { - assert.equal(doc.id, in_order[i++]); - } + }); + const result = await poller.pollUntilDone(); + for await (const doc of result) { + if (!doc.error) { + assert.equal(doc.warnings.length, 0); } - } else { - assert.fail("expected an array of entities results but did not get one."); } + }); - const piiEntitiesResult = page.recognizePiiEntitiesResults; - if (piiEntitiesResult.length === 1) { - const piiEntitiesDocs = piiEntitiesResult[0]; - if (!piiEntitiesDocs.error) { - assert.equal(piiEntitiesDocs.results.length, 5); - let i = 0; - for (const doc of piiEntitiesDocs.results) { - assert.equal(doc.id, in_order[i++]); - } - } - } else { - assert.fail("expected an array of pii entities results but did not get one."); + it("output has the same order as input", async function() { + const docs = [ + { id: "1", text: "one" }, + { id: "2", text: "two" }, + { id: "3", text: "three" }, + { id: "4", text: "four" }, + { id: "5", text: "five" } + ]; + const poller = await client.beginAnalyzeHealthcareEntities(docs, { + updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + let i = 0; + for await (const doc of result) { + assert.equal(parseInt(doc.id), ++i); } + }); - const keyPhrasesResult = page.extractKeyPhrasesResults; - if (keyPhrasesResult.length === 1) { - const keyPhrasesDocs = keyPhrasesResult[0]; - if (!keyPhrasesDocs.error) { - assert.equal(keyPhrasesDocs.results.length, 5); - let i = 0; - for (const doc of keyPhrasesDocs.results) { - assert.equal(doc.id, in_order[i++]); - } - } - } else { - assert.fail("expected an array of key phrases results but did not get one."); + it("output has the same order as input with out of order IDs", async function() { + const docs = [ + { id: "56", text: ":)" }, + { id: "0", text: ":(" }, + { id: "22", text: "" }, + { id: "19", text: ":P" }, + { id: "1", text: ":D" } + ]; + const poller = await client.beginAnalyzeHealthcareEntities(docs, { + updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + const in_order = [56, 0, 22, 19, 1]; + let i = 0; + for await (const doc of result) { + assert.equal(parseInt(doc.id), in_order[i++]); } - } - }); + }); - // the service's statistics says the number of documents is 6 instead of 5. - it.skip("statistics", async function() { - const docs = [ - { id: "56", text: ":)" }, - { id: "0", text: ":(" }, - { id: "22", text: "" }, - { id: "19", text: ":P" }, - { id: "1", text: ":D" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - { + it("show stats and model version", async function() { + const docs = [ + { id: "56", text: ":)" }, + { id: "0", text: ":(" }, + { id: "22", text: "" }, + { id: "19", text: ":P" }, + { id: "1", text: ":D" } + ]; + const poller = await client.beginAnalyzeHealthcareEntities(docs, { + modelVersion: "latest", includeStatistics: true, updateIntervalInMs: pollingInterval - } - ); - const response = await poller.pollUntilDone(); - const results = (await response.next()).value; - const recognizeEntitiesResults = results.recognizeEntitiesResults[0]; - if (!recognizeEntitiesResults.error) { - assert.equal(recognizeEntitiesResults.results.statistics?.documentCount, 5); - assert.equal(recognizeEntitiesResults.results.statistics?.transactionCount, 4); - assert.equal(recognizeEntitiesResults.results.statistics?.validDocumentCount, 4); - assert.equal(recognizeEntitiesResults.results.statistics?.erroneousDocumentCount, 1); - } - const recognizePiiEntitiesResults = results.recognizePiiEntitiesResults[0]; - if (!recognizePiiEntitiesResults.error) { - assert.equal(recognizePiiEntitiesResults.results.statistics?.documentCount, 5); - assert.equal(recognizePiiEntitiesResults.results.statistics?.transactionCount, 4); - assert.equal(recognizePiiEntitiesResults.results.statistics?.validDocumentCount, 4); - assert.equal(recognizePiiEntitiesResults.results.statistics?.erroneousDocumentCount, 1); - } - const extractKeyPhrasesResults = results.extractKeyPhrasesResults[0]; - if (!extractKeyPhrasesResults.error) { - assert.equal(extractKeyPhrasesResults.results.statistics?.documentCount, 5); - assert.equal(extractKeyPhrasesResults.results.statistics?.transactionCount, 4); - assert.equal(extractKeyPhrasesResults.results.statistics?.validDocumentCount, 4); - assert.equal(extractKeyPhrasesResults.results.statistics?.erroneousDocumentCount, 1); - } - }); + }); + const result = await poller.pollUntilDone(); + assert.ok(result); + assert.ok(result.modelVersion); + assert.equal(result.statistics?.documentCount, 5); + assert.equal(result.statistics?.transactionCount, 4); + assert.equal(result.statistics?.validDocumentCount, 4); + assert.equal(result.statistics?.erroneousDocumentCount, 1); + }); + + it("whole batch language hint", async function() { + const docs = [ + "This was the best day of my life.", + "I did not like the hotel we stayed at. It was too expensive.", + "The restaurant was not as good as I hoped." + ]; - it("whole batch language hint", async function() { - const docs = [ - "This was the best day of my life.", - "I did not like the hotel we stayed at. It was too expensive.", - "The restaurant was not as good as I hoped." - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - "en", - { + const poller = await client.beginAnalyzeHealthcareEntities(docs, "en", { updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + for await (const doc of result) { + assert.isUndefined(doc.error); } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - assert.equal(entitiesResult.length, 1); - for (const entitiesDocs of entitiesResult) { - if (!entitiesDocs.error) { - assert.equal(entitiesDocs.results.length, 3); - for (const doc of entitiesDocs.results) { - assert.isUndefined(doc.error); - } - } - } - } - }); + }); - it("whole batch with no language hint", async function() { - const docs = [ - "This was the best day of my life.", - "I did not like the hotel we stayed at. It was too expensive.", - "The restaurant was not as good as I hoped." - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - "", - { + it("whole batch empty language hint", async function() { + const docs = [ + "This was the best day of my life.", + "I did not like the hotel we stayed at. It was too expensive.", + "The restaurant was not as good as I hoped." + ]; + + const poller = await client.beginAnalyzeHealthcareEntities(docs, "", { updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + for await (const doc of result) { + assert.isUndefined(doc.error); } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - assert.equal(entitiesResult.length, 1); - for (const entitiesDocs of entitiesResult) { - if (!entitiesDocs.error) { - assert.equal(entitiesDocs.results.length, 3); - for (const doc of entitiesDocs.results) { - assert.isUndefined(doc.error); - } - } - } - } - }); + }); + + it("whole batch empty language hint per doc", async function() { + const docs = [ + { id: "1", language: "", text: "I will go to the park." }, + { id: "2", language: "", text: "I did not like the hotel we stayed at." }, + { id: "3", text: "The restaurant had really good food." } + ]; - it("each doc has a language hint", async function() { - const docs = [ - { id: "1", language: "", text: "I will go to the park." }, - { id: "2", language: "", text: "I did not like the hotel we stayed at." }, - { id: "3", text: "The restaurant had really good food." } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - { + const poller = await client.beginAnalyzeHealthcareEntities(docs, { updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + for await (const doc of result) { + assert.isUndefined(doc.error); } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - assert.equal(entitiesResult.length, 1); - for (const entitiesDocs of entitiesResult) { - if (!entitiesDocs.error) { - assert.equal(entitiesDocs.results.length, 3); - for (const doc of entitiesDocs.results) { - assert.isUndefined(doc.error); - } - } - } - } - }); + }); - it("whole batch input with a language hint", async function() { - const docs = [ - { id: "1", text: "I will go to the park." }, - { id: "2", text: "Este es un document escrito en Español." }, - { id: "3", text: "猫は幸せ" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - { + it("whole batch with multiple languages", async function() { + const docs = [ + { id: "1", text: "I should take my cat to the veterinarian." }, + { id: "2", text: "Este es un document escrito en Español." }, + { id: "3", text: "猫は幸せ" } + ]; + + const poller = await client.beginAnalyzeHealthcareEntities(docs, { updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + for await (const doc of result) { + assert.isUndefined(doc.error); } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const entitiesResult = page.recognizeEntitiesResults; - assert.equal(entitiesResult.length, 1); - for (const entitiesDocs of entitiesResult) { - if (!entitiesDocs.error) { - assert.equal(entitiesDocs.results.length, 3); - for (const doc of entitiesDocs.results) { - assert.isUndefined(doc.error); - } + }); + + it("invalid language hint", async function() { + const docs = ["This should fail because we're passing in an invalid language hint"]; + + const poller = await client.beginAnalyzeHealthcareEntities(docs, "notalanguage", { + updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + const firstResult = (await result.next()).value; + assert.equal(firstResult.error?.code, "UnsupportedLanguageCode"); + }); + + it("invalid language hint in doc", async function() { + const docs = [ + { + id: "1", + language: "notalanguage", + text: "This should fail because we're passing in an invalid language hint" } - } - } - }); + ]; - it("invalid language hint", async function() { - const docs = ["This should fail because we're passing in an invalid language hint"]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - recognizePiiEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - "notalanguage", - { + const poller = await client.beginAnalyzeHealthcareEntities(docs, { updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + const firstResult = (await result.next()).value; + assert.equal(firstResult.error?.code, "UnsupportedLanguageCode"); + }); + + /** + * The service accepts bad model names + */ + it.skip("bad model", async function() { + const docs = [ + { + id: "1", + language: "en", + text: "This should fail because we're passing in an invalid language hint" + } + ]; + + try { + await client.beginAnalyzeHealthcareEntities(docs, { + modelVersion: "bad", + updateIntervalInMs: pollingInterval + }); + assert.fail("Oops, an exception didn't happen."); + } catch (e) { + assert.equal(e.code, "ModelVersionIncorrect"); } - ); - const result = await poller.pollUntilDone(); - const firstResult = (await result.next()).value; - const entitiesTaskDocs = firstResult?.recognizeEntitiesResults[0]; - if (!entitiesTaskDocs.error) { - for (const doc of entitiesTaskDocs.results) { - assert.equal(doc.error?.code, "UnsupportedLanguageCode"); - } - } - const piiEntitiesTaskDocs = firstResult?.recognizePiiEntitiesResults[0]; - if (!piiEntitiesTaskDocs.error) { - for (const doc of piiEntitiesTaskDocs.results) { - assert.equal(doc.error?.code, "UnsupportedLanguageCode"); + }); + + it("all documents have errors", async function() { + let text = ""; + for (let i = 0; i < 5121; ++i) { + text = text + "x"; } - } - const keyPhrasesTaskDocs = firstResult?.extractKeyPhrasesResults[0]; - if (!keyPhrasesTaskDocs.error) { - for (const doc of keyPhrasesTaskDocs.results) { - assert.equal(doc.error?.code, "UnsupportedLanguageCode"); + const docs = [ + { id: "1", text: "" }, + { id: "2", language: "english", text: "I did not like the hotel we stayed at." }, + { id: "3", text: text } + ]; + + const poller = await client.beginAnalyzeHealthcareEntities(docs, { + updateIntervalInMs: pollingInterval + }); + const doc_errors = await poller.pollUntilDone(); + assert.equal((await doc_errors.next()).value.error?.code, "InvalidDocument"); + assert.equal((await doc_errors.next()).value.error?.code, "UnsupportedLanguageCode"); + assert.equal((await doc_errors.next()).value.error?.code, "InvalidDocument"); + }); + + it("documents with duplicate IDs", async function() { + const docs = [ + { id: "1", text: "hello world" }, + { id: "1", text: "I did not like the hotel we stayed at." } + ]; + + try { + await client.beginAnalyzeHealthcareEntities(docs, { + updateIntervalInMs: pollingInterval + }); + assert.fail("Oops, an exception didn't happen."); + } catch (e) { + assert.equal(e.code, "InvalidRequest"); } - } - }); + }); - it("paged results with custom page size", async function() { - const totalDocs = 25; - const docs = Array(totalDocs - 1).fill("random text"); - docs.push("Microsoft was founded by Bill Gates and Paul Allen"); - const poller = await client.beginAnalyzeActions( - docs, - { - recognizeEntitiesActions: [{ modelVersion: "latest" }], - extractKeyPhrasesActions: [{ modelVersion: "latest" }] - }, - "en", - { + /** + * the service by default returns pages of 20 documents each and this test + * makes sure we get all the results and not just the first page. + * + * EDIT: the service decided to process only 10 documents max per request so + * pagination became unneeded. Once the service raises the limit on + * the number of input documents, we should re-enable these tests. + */ + it.skip("paged results one loop", async function() { + const docs = Array(40).fill("random text"); + docs.push("Prescribed 100mg ibuprofen, taken twice daily."); + const poller = await client.beginAnalyzeHealthcareEntities(docs, { updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + let count = 0; + for await (const doc of result) { + assert.isUndefined(doc.error); + ++count; + if (!doc.error) { + if (count === 41) { + assert.equal(doc.entities.length, 3); + } else { + assert.equal(doc.entities.length, 0); + } + } } - ); - const result = await poller.pollUntilDone(); - let docCount = 0; - let pageCount = 0; - const pageSize = 10; - for await (const page of result.byPage({ maxPageSize: pageSize })) { - const entitiesTaskDocs = page.recognizeEntitiesResults[0]; - ++pageCount; - if (!entitiesTaskDocs.error) { - for (const doc of entitiesTaskDocs.results) { + assert.equal(docs.length, count); + }); + + it.skip("paged results nested loop", async function() { + const docs = Array(40).fill("random text"); + docs.push("Prescribed 100mg ibuprofen, taken twice daily."); + const poller = await client.beginAnalyzeHealthcareEntities(docs, { + updateIntervalInMs: pollingInterval + }); + const result = await poller.pollUntilDone(); + let docCount = 0, + pageCount = 0; + for await (const pageDocs of result.byPage()) { + ++pageCount; + for (const doc of pageDocs) { assert.isUndefined(doc.error); ++docCount; if (!doc.error) { - if (docCount === totalDocs) { + if (docCount === 41) { assert.equal(doc.entities.length, 3); } else { assert.equal(doc.entities.length, 0); @@ -1764,123 +2441,118 @@ describe("[AAD] TextAnalyticsClient", function(this: Suite) { } } } - } - assert.equal(docs.length, docCount); - assert.equal(Math.ceil(docs.length / pageSize), pageCount); - }); + assert.equal(docs.length, docCount); + assert.equal(Math.ceil(docs.length / 20), pageCount); + }); - it("pii redacted test is not empty", async function() { - const docs = [ - { id: "1", text: "I will go to the park." }, - { id: "2", text: "Este es un document escrito en Español." }, - { id: "3", text: "猫は幸せ" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizePiiEntitiesActions: [{ modelVersion: "latest" }] - }, - { + it.skip("paged results with custom page size", async function() { + const docs = Array(40).fill("random text"); + docs.push("Prescribed 100mg ibuprofen, taken twice daily."); + const poller = await client.beginAnalyzeHealthcareEntities(docs, { updateIntervalInMs: pollingInterval - } - ); - const result = await poller.pollUntilDone(); - for await (const page of result) { - const piiEntitiesResult = page.recognizePiiEntitiesResults; - assert.equal(piiEntitiesResult.length, 1); - for (const piiEntitiesDocs of piiEntitiesResult) { - if (!piiEntitiesDocs.error) { - assert.equal(piiEntitiesDocs.results.length, 3); - for (const doc of piiEntitiesDocs.results) { - assert.isUndefined(doc.error); - if (!doc.error) { - assert.isNotEmpty(doc.redactedText); + }); + const result = await poller.pollUntilDone(); + let docCount = 0; + let pageCount = 0; + const pageSize = 10; + for await (const pageDocs of result.byPage({ maxPageSize: pageSize })) { + ++pageCount; + for (const doc of pageDocs) { + assert.isUndefined(doc.error); + ++docCount; + if (!doc.error) { + if (docCount === 41) { + assert.equal(doc.entities.length, 3); + } else { + assert.equal(doc.entities.length, 0); } } } } - } - }); - - it("operation metadata", async function() { - const docs = [ - { id: "1", text: "I will go to the park." }, - { id: "2", text: "Este es un document escrito en Español." }, - { id: "3", text: "猫は幸せ" } - ]; - - const poller = await client.beginAnalyzeActions( - docs, - { - recognizePiiEntitiesActions: [{ modelVersion: "latest" }] - }, - { - updateIntervalInMs: pollingInterval, - displayName: "testJob" - } - ); - poller.onProgress((state) => { - assert.ok(state.createdOn, "createdOn is undefined!"); - assert.ok(state.expiresOn, "expiresOn is undefined!"); - assert.ok(state.lastModifiedOn, "lastModifiedOn is undefined!"); - assert.ok(state.status, "status is undefined!"); - assert.isDefined(state.actionsSucceededCount, "actionsSucceededCount is undefined!"); - assert.equal(state.actionsFailedCount, 0); - assert.isDefined(state.actionsInProgressCount, "actionsInProgressCount is undefined!"); - assert.equal(state.displayName, "testJob"); - }); - const result = await poller.pollUntilDone(); - assert.ok(result); - }); + assert.equal(docs.length, docCount); + assert.equal(Math.ceil(docs.length / pageSize), pageCount); + }); - it("family emoji wit skin tone modifier", async function() { - const poller = await client.beginAnalyzeActions( - [{ id: "0", text: "👩🏻‍👩🏽‍👧🏾‍👦🏿 SSN: 859-98-0987", language: "en" }], - { - recognizePiiEntitiesActions: [ - { modelVersion: "latest", stringIndexType: "UnicodeCodePoint" } - ] - }, - { - updateIntervalInMs: pollingInterval - } - ); - const pollerResult = await poller.pollUntilDone(); - const firstResult = (await pollerResult.next()).value; - const actionResult = firstResult.recognizePiiEntitiesResults[0]; - if (!actionResult.error) { - const docResult = actionResult.results[0]; - if (!docResult.error) { - assert.equal(docResult.entities[0].offset, 17); // 25 with UTF16 - assert.equal(docResult.entities[0].length, 11); - assert.equal(docResult.entities[0].text.length, docResult.entities[0].length); + it("cancelled", async function() { + const poller = await client.beginAnalyzeHealthcareEntities( + [ + { + id: "1", + text: "Patient does not suffer from high blood pressure.", + language: "en" + }, + { id: "2", text: "Prescribed 100mg ibuprofen, taken twice daily.", language: "en" } + ], + { + updateIntervalInMs: pollingInterval + } + ); + if (!poller.isDone()) { + await poller.cancelOperation(); } - } - }); - - it("malformed actions", async function() { - const docs = [{ id: "1", text: "I will go to the park." }]; + assert.ok(poller.getOperationState().isCancelled); + }); - try { - await client.beginAnalyzeActions( - docs, + it("operation metadata", async function() { + const poller = await client.beginAnalyzeHealthcareEntities( + [ + { + id: "1", + text: "Patient does not suffer from high blood pressure.", + language: "en" + }, + { id: "2", text: "Prescribed 100mg ibuprofen, taken twice daily.", language: "en" } + ], { - recognizePiiEntitiesActions: [ - { modelVersion: "bad" }, - { modelVersion: "latest" }, - { modelVersion: "bad", stringIndexType: "TextElement_v8" } - ] - }, + updateIntervalInMs: pollingInterval + } + ); + poller.onProgress((state) => { + assert.ok(state.createdOn, "createdOn is undefined!"); + assert.ok(state.expiresOn, "expiresOn is undefined!"); + assert.ok(state.lastModifiedOn, "lastModifiedOn is undefined!"); + assert.ok(state.status, "status is undefined!"); + }); + const result = await poller.pollUntilDone(); + assert.ok(result); + }); + + it("family emoji wit skin tone modifier with Utf16CodeUnit", async function() { + const doc = "👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen"; + const poller = await client.beginAnalyzeHealthcareEntities( + [{ id: "0", text: doc, language: "en" }], { updateIntervalInMs: pollingInterval } ); - throw new Error("Expected an error to occur"); - } catch (e) { - assert.equal(e.statusCode, 400); - assert.equal(e.code, "InvalidRequest"); - } + const pollerResult = await poller.pollUntilDone(); + const result = (await pollerResult.next()).value; + if (!result.error) { + const entity = result.entities[0]; + const offset = 20; + const length = 9; + assert.equal(entity.offset, 20); + assert.equal(entity.length, 9); + checkEntityTextOffset(doc, entity, offset, length); + } + }); + + it("family emoji wit skin tone modifier with UnicodeCodePoint", async function() { + const poller = await client.beginAnalyzeHealthcareEntities( + [{ id: "0", text: "👩🏻‍👩🏽‍👧🏾‍👦🏿 ibuprofen", language: "en" }], + { + updateIntervalInMs: pollingInterval, + stringIndexType: "UnicodeCodePoint" + } + ); + const pollerResult = await poller.pollUntilDone(); + const result = (await pollerResult.next()).value; + if (!result.error) { + assert.equal(result.entities[0].offset, 12); // 20 with UTF16 + assert.equal(result.entities[0].length, 9); + assert.equal(result.entities[0].text.length, result.entities[0].length); + } + }); }); }); }); diff --git a/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts b/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts index 46646fd40c3a..2cf79c3b1820 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/utils/recordedClient.ts @@ -38,7 +38,7 @@ export const environmentSetup: RecorderEnvironmentSetup = { queryParametersToSkip: [] }; -export type AuthMethod = "APIKey" | "AAD"; +export type AuthMethod = "APIKey" | "AAD" | "DummyAPIKey"; export function createClient( authMethod: AuthMethod, @@ -58,11 +58,19 @@ export function createClient( ); break; } + case "DummyAPIKey": { + credential = new AzureKeyCredential("whatever"); + break; + } default: { throw Error(`Unsupported authentication method: ${authMethod}`); } } - return new TextAnalyticsClient(env.ENDPOINT, credential, options); + return new TextAnalyticsClient( + env.ENDPOINT || "https://dummy.cognitiveservices.azure.com/", + credential, + options + ); } /** From d8407ad20a58eb654978dec47d5b3aef50cbedd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez?= Date: Wed, 30 Jun 2021 19:23:58 -0400 Subject: [PATCH 101/134] [Identity] Support for tenant Id Challenges / tenant discovery in ClientCredentials (#15837) This PR adds `tenantId` to the `getTokenOptions`, and adds options on every Identity credential to allow multi-tenant authentication (which will be disabled by default). Fixes #15797 --- sdk/core/core-auth/CHANGELOG.md | 1 + sdk/core/core-auth/review/core-auth.api.md | 1 + sdk/core/core-auth/src/tokenCredential.ts | 5 ++ sdk/identity/identity/CHANGELOG.md | 2 + sdk/identity/identity/review/identity.api.md | 15 +++- .../identity/src/client/identityClient.ts | 5 ++ .../authorizationCodeCredential.ts | 13 ++- .../src/credentials/azureCliCredential.ts | 45 +++++++++- .../credentials/azureCliCredentialOptions.ts | 14 ++++ .../credentials/azurePowerShellCredential.ts | 41 +++++++-- .../azurePowerShellCredentialOptions.ts | 14 ++++ .../credentials/visualStudioCodeCredential.ts | 12 ++- sdk/identity/identity/src/index.ts | 2 + .../src/msal/browserFlows/browserCommon.ts | 24 ++++-- .../src/msal/browserFlows/msalAuthCode.ts | 4 +- sdk/identity/identity/src/msal/credentials.ts | 4 + .../msal/nodeFlows/msalClientCertificate.ts | 3 +- .../src/msal/nodeFlows/msalClientSecret.ts | 3 +- .../src/msal/nodeFlows/msalDeviceCode.ts | 3 +- .../src/msal/nodeFlows/msalOpenBrowser.ts | 17 +++- .../msal/nodeFlows/msalUsernamePassword.ts | 3 +- .../identity/src/msal/nodeFlows/nodeCommon.ts | 34 +++++--- sdk/identity/identity/src/msal/utils.ts | 6 +- .../identity/src/util/validateMultiTenant.ts | 34 ++++++++ .../identity/test/internal/utils.spec.ts | 84 +++++++++++++++++++ 25 files changed, 345 insertions(+), 44 deletions(-) create mode 100644 sdk/identity/identity/src/credentials/azureCliCredentialOptions.ts create mode 100644 sdk/identity/identity/src/credentials/azurePowerShellCredentialOptions.ts create mode 100644 sdk/identity/identity/src/util/validateMultiTenant.ts create mode 100644 sdk/identity/identity/test/internal/utils.spec.ts diff --git a/sdk/core/core-auth/CHANGELOG.md b/sdk/core/core-auth/CHANGELOG.md index e0817d8a22e6..7cea45f53056 100644 --- a/sdk/core/core-auth/CHANGELOG.md +++ b/sdk/core/core-auth/CHANGELOG.md @@ -2,6 +2,7 @@ ## 1.3.1 (2021-06-30) +- Added `tenantId` optional property to the `GetTokenOptions` interface. If `tenantId` is set, credentials will be able to use multi-tenant authentication, in the cases when it's enabled. ## 1.3.0 (2021-03-30) diff --git a/sdk/core/core-auth/review/core-auth.api.md b/sdk/core/core-auth/review/core-auth.api.md index b9a56357328e..1512a1301a94 100644 --- a/sdk/core/core-auth/review/core-auth.api.md +++ b/sdk/core/core-auth/review/core-auth.api.md @@ -47,6 +47,7 @@ export interface GetTokenOptions { requestOptions?: { timeout?: number; }; + tenantId?: string; tracingOptions?: { spanOptions?: SpanOptions; tracingContext?: Context; diff --git a/sdk/core/core-auth/src/tokenCredential.ts b/sdk/core/core-auth/src/tokenCredential.ts index e0fbf5e66a5b..08ffdfc69be5 100644 --- a/sdk/core/core-auth/src/tokenCredential.ts +++ b/sdk/core/core-auth/src/tokenCredential.ts @@ -52,6 +52,11 @@ export interface GetTokenOptions { */ tracingContext?: Context; }; + + /** + * Allows specifying a tenantId. Useful to handle challenges that provide tenant Id hints. + */ + tenantId?: string; } /** diff --git a/sdk/identity/identity/CHANGELOG.md b/sdk/identity/identity/CHANGELOG.md index 7869b5bdd82a..9d9e1c2d9570 100644 --- a/sdk/identity/identity/CHANGELOG.md +++ b/sdk/identity/identity/CHANGELOG.md @@ -17,6 +17,8 @@ - Added `regionalAuthority` property to `ClientSecretCredentialOptions` and `ClientCertificateCredentialOptions`. - If instead of a region, `AutoDiscoverRegion` is specified as the value for `regionalAuthority`, MSAL will be used to attempt to discover the region. - A region can also be specified through the `AZURE_REGIONAL_AUTHORITY_NAME` environment variable. +- `AzureCliCredential` and `AzurePowerShellCredential` now allow specifying a `tenantId`. +- All credentials except `ManagedIdentityCredential` support enabling multi tenant authentication via the `allowMultiTenantAuthentication` option. ### Breaking Changes diff --git a/sdk/identity/identity/review/identity.api.md b/sdk/identity/identity/review/identity.api.md index 80669f0f6133..a46edf356686 100644 --- a/sdk/identity/identity/review/identity.api.md +++ b/sdk/identity/identity/review/identity.api.md @@ -66,12 +66,24 @@ export enum AzureAuthorityHosts { // @public export class AzureCliCredential implements TokenCredential { + constructor(options?: AzureCliCredentialOptions); getToken(scopes: string | string[], options?: GetTokenOptions): Promise; + } + +// @public +export interface AzureCliCredentialOptions extends TokenCredentialOptions { + tenantId?: string; } // @public export class AzurePowerShellCredential implements TokenCredential { + constructor(options?: AzurePowerShellCredentialOptions); getToken(scopes: string | string[], options?: GetTokenOptions): Promise; + } + +// @public +export interface AzurePowerShellCredentialOptions extends TokenCredentialOptions { + tenantId?: string; } // @public @@ -297,6 +309,7 @@ export { TokenCredential } // @public export interface TokenCredentialOptions extends PipelineOptions { + allowMultiTenantAuthentication?: boolean; authorityHost?: string; } @@ -316,7 +329,7 @@ export interface UsernamePasswordCredentialOptions extends TokenCredentialOption // @public export class VisualStudioCodeCredential implements TokenCredential { constructor(options?: VisualStudioCodeCredentialOptions); - getToken(scopes: string | string[], _options?: GetTokenOptions): Promise; + getToken(scopes: string | string[], options?: GetTokenOptions): Promise; } // @public diff --git a/sdk/identity/identity/src/client/identityClient.ts b/sdk/identity/identity/src/client/identityClient.ts index 7b107439a1d0..a85099691fa5 100644 --- a/sdk/identity/identity/src/client/identityClient.ts +++ b/sdk/identity/identity/src/client/identityClient.ts @@ -313,4 +313,9 @@ export interface TokenCredentialOptions extends PipelineOptions { * The default is "https://login.microsoftonline.com". */ authorityHost?: string; + + /** + * If set to true, allows authentication flows to change the tenantId of the request if a different tenantId is received from a challenge or through a direct getToken call. + */ + allowMultiTenantAuthentication?: boolean; } diff --git a/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts b/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts index 2224aaf61f9c..acb08813efc8 100644 --- a/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts +++ b/sdk/identity/identity/src/credentials/authorizationCodeCredential.ts @@ -12,6 +12,7 @@ import { SpanStatusCode } from "@azure/core-tracing"; import { credentialLogger, formatSuccess, formatError } from "../util/logging"; import { getIdentityTokenEndpointSuffix } from "../util/identityTokenEndpoint"; import { checkTenantId } from "../util/checkTenantId"; +import { processMultiTenantRequest } from "../util/validateMultiTenant"; const logger = credentialLogger("AuthorizationCodeCredential"); @@ -30,6 +31,7 @@ export class AuthorizationCodeCredential implements TokenCredential { private authorizationCode: string; private redirectUri: string; private lastTokenResponse: TokenResponse | null = null; + private allowMultiTenantAuthentication?: boolean; /** * Creates an instance of CodeFlowCredential with the details needed @@ -120,6 +122,7 @@ export class AuthorizationCodeCredential implements TokenCredential { options = redirectUriOrOptions as TokenCredentialOptions; } + this.allowMultiTenantAuthentication = options?.allowMultiTenantAuthentication; this.identityClient = new IdentityClient(options); } @@ -135,6 +138,10 @@ export class AuthorizationCodeCredential implements TokenCredential { scopes: string | string[], options?: GetTokenOptions ): Promise { + const tenantId = + processMultiTenantRequest(this.tenantId, this.allowMultiTenantAuthentication, options) || + this.tenantId; + const { span, updatedOptions } = createSpan("AuthorizationCodeCredential-getToken", options); try { let tokenResponse: TokenResponse | null = null; @@ -146,7 +153,7 @@ export class AuthorizationCodeCredential implements TokenCredential { // Try to use the refresh token first if (this.lastTokenResponse && this.lastTokenResponse.refreshToken) { tokenResponse = await this.identityClient.refreshAccessToken( - this.tenantId, + tenantId, this.clientId, scopeString, this.lastTokenResponse.refreshToken, @@ -157,9 +164,9 @@ export class AuthorizationCodeCredential implements TokenCredential { } if (tokenResponse === null) { - const urlSuffix = getIdentityTokenEndpointSuffix(this.tenantId); + const urlSuffix = getIdentityTokenEndpointSuffix(tenantId); const webResource = this.identityClient.createWebResource({ - url: `${this.identityClient.authorityHost}/${this.tenantId}/${urlSuffix}`, + url: `${this.identityClient.authorityHost}/${tenantId}/${urlSuffix}`, method: "POST", disableJsonStringifyOnBody: true, deserializationMapper: undefined, diff --git a/sdk/identity/identity/src/credentials/azureCliCredential.ts b/sdk/identity/identity/src/credentials/azureCliCredential.ts index e95d7fc91cdf..1b45cc79e462 100644 --- a/sdk/identity/identity/src/credentials/azureCliCredential.ts +++ b/sdk/identity/identity/src/credentials/azureCliCredential.ts @@ -9,6 +9,9 @@ import { SpanStatusCode } from "@azure/core-tracing"; import { credentialLogger, formatSuccess, formatError } from "../util/logging"; import * as child_process from "child_process"; import { ensureValidScope, getScopeResource } from "../util/scopeUtils"; +import { AzureCliCredentialOptions } from "./azureCliCredentialOptions"; +import { processMultiTenantRequest } from "../util/validateMultiTenant"; +import { checkTenantId } from "../util/checkTenantId"; /** * Mockable reference to the CLI credential cliCredentialFunctions @@ -35,13 +38,26 @@ export const cliCredentialInternals = { * @internal */ async getAzureCliAccessToken( - resource: string + resource: string, + tenantId?: string ): Promise<{ stdout: string; stderr: string; error: Error | null }> { + let tenantSection: string[] = []; + if (tenantId) { + tenantSection = ["--tenant", tenantId]; + } return new Promise((resolve, reject) => { try { child_process.execFile( "az", - ["account", "get-access-token", "--output", "json", "--resource", resource], + [ + "account", + "get-access-token", + "--output", + "json", + "--resource", + ...tenantSection, + resource + ], { cwd: cliCredentialInternals.getSafeWorkingDir() }, (error, stdout, stderr) => { resolve({ stdout: stdout, stderr: stderr, error }); @@ -65,6 +81,19 @@ const logger = credentialLogger("AzureCliCredential"); * in via the 'az' tool using the command "az login" from the commandline. */ export class AzureCliCredential implements TokenCredential { + private tenantId?: string; + private allowMultiTenantAuthentication?: boolean; + + /** + * Creates an instance of the {@link AzureCliCredential}. + * + * @param options - Options, to optionally allow multi-tenant requests. + */ + constructor(options?: AzureCliCredentialOptions) { + this.tenantId = options?.tenantId; + this.allowMultiTenantAuthentication = options?.allowMultiTenantAuthentication; + } + /** * Authenticates with Azure Active Directory and returns an access token if successful. * If authentication fails, a {@link CredentialUnavailableError} will be thrown with the details of the failure. @@ -77,9 +106,17 @@ export class AzureCliCredential implements TokenCredential { scopes: string | string[], options?: GetTokenOptions ): Promise { + const tenantId = processMultiTenantRequest( + this.tenantId, + this.allowMultiTenantAuthentication, + options + ); + if (tenantId) { + checkTenantId(logger, tenantId); + } + const scope = typeof scopes === "string" ? scopes : scopes[0]; logger.getToken.info(`Using the scope ${scope}`); - ensureValidScope(scope, logger); const resource = getScopeResource(scope); @@ -88,7 +125,7 @@ export class AzureCliCredential implements TokenCredential { const { span } = createSpan("AzureCliCredential-getToken", options); try { - const obj = await cliCredentialInternals.getAzureCliAccessToken(resource); + const obj = await cliCredentialInternals.getAzureCliAccessToken(resource, tenantId); if (obj.stderr) { const isLoginError = obj.stderr.match("(.*)az login(.*)"); const isNotInstallError = diff --git a/sdk/identity/identity/src/credentials/azureCliCredentialOptions.ts b/sdk/identity/identity/src/credentials/azureCliCredentialOptions.ts new file mode 100644 index 000000000000..b50807eab973 --- /dev/null +++ b/sdk/identity/identity/src/credentials/azureCliCredentialOptions.ts @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { TokenCredentialOptions } from "../client/identityClient"; + +/** + * Options for the {@link AzureCliCredential} + */ +export interface AzureCliCredentialOptions extends TokenCredentialOptions { + /** + * Allows specifying a tenant ID + */ + tenantId?: string; +} diff --git a/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts b/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts index fecddb084bc0..b888e989460c 100644 --- a/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts +++ b/sdk/identity/identity/src/credentials/azurePowerShellCredential.ts @@ -8,6 +8,9 @@ import { credentialLogger, formatSuccess, formatError } from "../util/logging"; import { trace } from "../util/tracing"; import { ensureValidScope, getScopeResource } from "../util/scopeUtils"; import { processUtils } from "../util/processUtils"; +import { AzurePowerShellCredentialOptions } from "./azurePowerShellCredentialOptions"; +import { processMultiTenantRequest } from "../util/validateMultiTenant"; +import { checkTenantId } from "../util/checkTenantId"; const logger = credentialLogger("AzurePowerShellCredential"); @@ -92,12 +95,26 @@ if (isWindows) { * `Connect-AzAccount` from the command line. */ export class AzurePowerShellCredential implements TokenCredential { + private tenantId?: string; + private allowMultiTenantAuthentication?: boolean; + + /** + * Creates an instance of the {@link AzurePowershellCredential}. + * + * @param options - Options, to optionally allow multi-tenant requests. + */ + constructor(options?: AzurePowerShellCredentialOptions) { + this.tenantId = options?.tenantId; + this.allowMultiTenantAuthentication = options?.allowMultiTenantAuthentication; + } + /** * Gets the access token from Azure PowerShell * @param resource - The resource to use when getting the token */ private async getAzurePowerShellAccessToken( - resource: string + resource: string, + tenantId?: string ): Promise<{ Token: string; ExpiresOn: string }> { // Clone the stack to avoid mutating it while iterating for (const powerShellCommand of [...commandStack]) { @@ -109,6 +126,11 @@ export class AzurePowerShellCredential implements TokenCredential { continue; } + let tenantSection = ""; + if (tenantId) { + tenantSection = `-TenantId "${tenantId}"`; + } + const results = await runCommands([ [ powerShellCommand, @@ -118,7 +140,7 @@ export class AzurePowerShellCredential implements TokenCredential { [ powerShellCommand, "-Command", - `Get-AzAccessToken -ResourceUrl "${resource}" | ConvertTo-Json` + `Get-AzAccessToken ${tenantSection} -ResourceUrl "${resource}" | ConvertTo-Json` ] ]); @@ -145,15 +167,22 @@ export class AzurePowerShellCredential implements TokenCredential { options: GetTokenOptions = {} ): Promise { return trace(`${this.constructor.name}.getToken`, options, async () => { - const scope = typeof scopes === "string" ? scopes : scopes[0]; - - logger.getToken.info(`Using the scope ${scope}`); + const tenantId = processMultiTenantRequest( + this.tenantId, + this.allowMultiTenantAuthentication, + options + ); + if (tenantId) { + checkTenantId(logger, tenantId); + } + const scope = typeof scopes === "string" ? scopes : scopes[0]; ensureValidScope(scope, logger); + logger.getToken.info(`Using the scope ${scope}`); const resource = getScopeResource(scope); try { - const response = await this.getAzurePowerShellAccessToken(resource); + const response = await this.getAzurePowerShellAccessToken(resource, tenantId); logger.getToken.info(formatSuccess(scopes)); return { token: response.Token, diff --git a/sdk/identity/identity/src/credentials/azurePowerShellCredentialOptions.ts b/sdk/identity/identity/src/credentials/azurePowerShellCredentialOptions.ts new file mode 100644 index 000000000000..aa48462dbd10 --- /dev/null +++ b/sdk/identity/identity/src/credentials/azurePowerShellCredentialOptions.ts @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { TokenCredentialOptions } from "../client/identityClient"; + +/** + * Options for the {@link AzurePowerShellCredential} + */ +export interface AzurePowerShellCredentialOptions extends TokenCredentialOptions { + /** + * Allows specifying a tenant ID + */ + tenantId?: string; +} diff --git a/sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts b/sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts index c12d7dde7c9b..aa479c67876f 100644 --- a/sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts +++ b/sdk/identity/identity/src/credentials/visualStudioCodeCredential.ts @@ -12,6 +12,7 @@ import { IdentityClient, TokenCredentialOptions } from "../client/identityClient import { AzureAuthorityHosts } from "../constants"; import { checkTenantId } from "../util/checkTenantId"; import { credentialLogger, formatError, formatSuccess } from "../util/logging"; +import { processMultiTenantRequest } from "../util/validateMultiTenant"; import { VSCodeCredentialFinder } from "./visualStudioCodeCredentialExtension"; const CommonTenantId = "common"; @@ -102,6 +103,7 @@ export class VisualStudioCodeCredential implements TokenCredential { private identityClient: IdentityClient; private tenantId: string; private cloudName: VSCodeCloudNames; + private allowMultiTenantAuthentication?: boolean; /** * Creates an instance of VisualStudioCodeCredential to use for automatically authenticating via VSCode. @@ -127,6 +129,7 @@ export class VisualStudioCodeCredential implements TokenCredential { } else { this.tenantId = CommonTenantId; } + this.allowMultiTenantAuthentication = options?.allowMultiTenantAuthentication; checkUnsupportedTenant(this.tenantId); } @@ -168,9 +171,14 @@ export class VisualStudioCodeCredential implements TokenCredential { */ public async getToken( scopes: string | string[], - _options?: GetTokenOptions + options?: GetTokenOptions ): Promise { await this.prepareOnce(); + + const tenantId = + processMultiTenantRequest(this.tenantId, this.allowMultiTenantAuthentication, options) || + this.tenantId; + if (findCredentials === undefined) { throw new CredentialUnavailableError( "No implementation of VisualStudioCodeCredential is available (do you need to install and use the `@azure/identity-vscode` extension package?)" @@ -206,7 +214,7 @@ export class VisualStudioCodeCredential implements TokenCredential { if (refreshToken) { const tokenResponse = await this.identityClient.refreshAccessToken( - this.tenantId, + tenantId, AzureAccountClientId, scopeString, refreshToken, diff --git a/sdk/identity/identity/src/index.ts b/sdk/identity/identity/src/index.ts index 564e52a96157..55ff135f90e7 100644 --- a/sdk/identity/identity/src/index.ts +++ b/sdk/identity/identity/src/index.ts @@ -30,6 +30,7 @@ export { ClientCertificateCredential } from "./credentials/clientCertificateCred export { ClientCertificateCredentialOptions } from "./credentials/clientCertificateCredentialOptions"; export { CredentialPersistenceOptions } from "./credentials/credentialPersistenceOptions"; export { AzureCliCredential } from "./credentials/azureCliCredential"; +export { AzureCliCredentialOptions } from "./credentials/azureCliCredentialOptions"; export { InteractiveBrowserCredential } from "./credentials/interactiveBrowserCredential"; export { InteractiveBrowserCredentialOptions, @@ -47,6 +48,7 @@ export { UsernamePasswordCredential } from "./credentials/usernamePasswordCreden export { UsernamePasswordCredentialOptions } from "./credentials/usernamePasswordCredentialOptions"; export { AuthorizationCodeCredential } from "./credentials/authorizationCodeCredential"; export { AzurePowerShellCredential } from "./credentials/azurePowerShellCredential"; +export { AzurePowerShellCredentialOptions } from "./credentials/azurePowerShellCredentialOptions"; export { VisualStudioCodeCredential, diff --git a/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts b/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts index 914b40a002f1..6f8a91127f04 100644 --- a/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts +++ b/sdk/identity/identity/src/msal/browserFlows/browserCommon.ts @@ -8,12 +8,13 @@ import { AccessToken } from "@azure/core-auth"; import { DefaultTenantId } from "../../constants"; import { resolveTenantId } from "../../util/resolveTenantId"; import { BrowserLoginStyle } from "../../credentials/interactiveBrowserCredentialOptions"; -import { getAuthorityHost, getKnownAuthorities, MsalBaseUtilities } from "../utils"; +import { getAuthority, getKnownAuthorities, MsalBaseUtilities } from "../utils"; import { MsalFlow, MsalFlowOptions } from "../flows"; import { AuthenticationRecord } from "../types"; import { CredentialFlowGetTokenOptions } from "../credentials"; import { AuthenticationRequiredError } from "../errors"; import { CredentialUnavailableError } from "../../client/errors"; +import { processMultiTenantRequest } from "../../util/validateMultiTenant"; /** * Union of the constructor parameters that all MSAL flow types take. @@ -22,6 +23,7 @@ import { CredentialUnavailableError } from "../../client/errors"; export interface MsalBrowserFlowOptions extends MsalFlowOptions { redirectUri?: string; loginStyle: BrowserLoginStyle; + allowMultiTenantAuthentication?: boolean; loginHint?: string; } @@ -42,12 +44,12 @@ export function defaultBrowserMsalConfig( options: MsalBrowserFlowOptions ): msalBrowser.Configuration { const tenantId = options.tenantId || DefaultTenantId; - const authorityHost = getAuthorityHost(tenantId, options.authorityHost); + const authority = getAuthority(tenantId, options.authorityHost); return { auth: { clientId: options.clientId!, - authority: authorityHost, - knownAuthorities: getKnownAuthorities(tenantId, authorityHost), + authority, + knownAuthorities: getKnownAuthorities(tenantId, authority), // If the users picked redirect as their login style, // but they didn't provide a redirectUri, // we can try to use the current page we're in as a default value. @@ -69,6 +71,8 @@ export abstract class MsalBrowser extends MsalBaseUtilities implements MsalBrows protected loginStyle: BrowserLoginStyle; protected clientId: string; protected tenantId: string; + protected allowMultiTenantAuthentication?: boolean; + protected authorityHost?: string; protected account: AuthenticationRecord | undefined; protected msalConfig: msalBrowser.Configuration; protected disableAutomaticAuthentication?: boolean; @@ -83,6 +87,8 @@ export abstract class MsalBrowser extends MsalBaseUtilities implements MsalBrows } this.clientId = options.clientId; this.tenantId = resolveTenantId(this.logger, options.tenantId, options.clientId); + this.allowMultiTenantAuthentication = options?.allowMultiTenantAuthentication; + this.authorityHost = options.authorityHost; this.msalConfig = defaultBrowserMsalConfig(options); this.disableAutomaticAuthentication = options.disableAutomaticAuthentication; @@ -138,8 +144,16 @@ export abstract class MsalBrowser extends MsalBaseUtilities implements MsalBrows */ public async getToken( scopes: string[], - options?: CredentialFlowGetTokenOptions + options: CredentialFlowGetTokenOptions = {} ): Promise { + const tenantId = + processMultiTenantRequest(this.tenantId, this.allowMultiTenantAuthentication, options) || + this.tenantId; + + if (!options.authority) { + options.authority = getAuthority(tenantId, this.authorityHost); + } + // We ensure that redirection is handled at this point. await this.handleRedirect(); diff --git a/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts b/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts index f6294a3b885b..a81004fba11e 100644 --- a/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts +++ b/sdk/identity/identity/src/msal/browserFlows/msalAuthCode.ts @@ -162,7 +162,7 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov } const parameters: msalBrowser.SilentRequest = { - authority: this.msalConfig.auth.authority!, + authority: options?.authority || this.msalConfig.auth.authority!, correlationId: options?.correlationId, account: publicToMsal(account), forceRefresh: false, @@ -191,7 +191,7 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov } const parameters: msalBrowser.RedirectRequest = { - authority: this.msalConfig.auth.authority!, + authority: options?.authority || this.msalConfig.auth.authority!, correlationId: options?.correlationId, account: publicToMsal(account), loginHint: this.loginHint, diff --git a/sdk/identity/identity/src/msal/credentials.ts b/sdk/identity/identity/src/msal/credentials.ts index 6b80f45b96f1..55a2305db4de 100644 --- a/sdk/identity/identity/src/msal/credentials.ts +++ b/sdk/identity/identity/src/msal/credentials.ts @@ -19,6 +19,10 @@ export interface CredentialFlowGetTokenOptions extends GetTokenOptions { * Makes getToken throw if a manual authentication is necessary. */ disableAutomaticAuthentication?: boolean; + /** + * Authority, to overwrite the default one, if necessary. + */ + authority?: string; } /** diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalClientCertificate.ts b/sdk/identity/identity/src/msal/nodeFlows/msalClientCertificate.ts index 3b5131f5725e..c8fb88139c8f 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalClientCertificate.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalClientCertificate.ts @@ -109,7 +109,8 @@ export class MsalClientCertificate extends MsalNode { const result = await this.confidentialApp!.acquireTokenByClientCredential({ scopes, correlationId: options.correlationId, - azureRegion: this.azureRegion + azureRegion: this.azureRegion, + authority: options.authority }); // Even though we're providing the same default in memory persistence cache that we use for DeviceCodeCredential, // The Client Credential flow does not return the account information from the authentication service, diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalClientSecret.ts b/sdk/identity/identity/src/msal/nodeFlows/msalClientSecret.ts index eafbc6e70be8..dbea908575b9 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalClientSecret.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalClientSecret.ts @@ -33,7 +33,8 @@ export class MsalClientSecret extends MsalNode { const result = await this.confidentialApp!.acquireTokenByClientCredential({ scopes, correlationId: options.correlationId, - azureRegion: this.azureRegion + azureRegion: this.azureRegion, + authority: options.authority }); // The Client Credential flow does not return an account, // so each time getToken gets called, we will have to acquire a new token through the service. diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalDeviceCode.ts b/sdk/identity/identity/src/msal/nodeFlows/msalDeviceCode.ts index 391726b786fb..323b3c980354 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalDeviceCode.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalDeviceCode.ts @@ -38,7 +38,8 @@ export class MsalDeviceCode extends MsalNode { deviceCodeCallback: this.userPromptCallback, scopes, cancel: false, - correlationId: options?.correlationId + correlationId: options?.correlationId, + authority: options?.authority }; const promise = this.publicApp!.acquireTokenByDeviceCode(requestOptions); // TODO: diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts b/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts index c59887477dfc..30f0a1e83526 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalOpenBrowser.ts @@ -3,7 +3,7 @@ import * as msalNode from "@azure/msal-node"; -import { AccessToken, GetTokenOptions } from "@azure/core-auth"; +import { AccessToken } from "@azure/core-auth"; import { Socket } from "net"; import http from "http"; @@ -14,6 +14,7 @@ import { credentialLogger, formatError, formatSuccess } from "../../util/logging import { MsalNodeOptions, MsalNode } from "./nodeCommon"; import { msalToPublic } from "../utils"; import { CredentialUnavailableError } from "../../client/errors"; +import { CredentialFlowGetTokenOptions } from "../credentials"; /** * Options that can be passed to configure MSAL to handle authentication through opening a browser window. @@ -63,7 +64,10 @@ export class MsalOpenBrowser extends MsalNode { return this.publicApp!.acquireTokenByCode(request); } - protected doGetToken(scopes: string[], options?: GetTokenOptions): Promise { + protected doGetToken( + scopes: string[], + options?: CredentialFlowGetTokenOptions + ): Promise { return new Promise((resolve, reject) => { const socketToDestroy: Socket[] = []; @@ -91,6 +95,7 @@ export class MsalOpenBrowser extends MsalNode { code: url.searchParams.get("code")!, redirectUri: this.redirectUri, scopes: scopes, + authority: options?.authority, codeVerifier: this.pkceCodes?.verifier }; @@ -171,7 +176,7 @@ export class MsalOpenBrowser extends MsalNode { app.on("connection", (socket) => socketToDestroy.push(socket)); app.on("listening", () => { - const openPromise = this.openAuthCodeUrl(scopes); + const openPromise = this.openAuthCodeUrl(scopes, options); const abortSignal = options?.abortSignal; if (abortSignal) { @@ -194,7 +199,10 @@ export class MsalOpenBrowser extends MsalNode { challenge: string; }; - private async openAuthCodeUrl(scopeArray: string[]): Promise { + private async openAuthCodeUrl( + scopeArray: string[], + options?: CredentialFlowGetTokenOptions + ): Promise { // Initialize CryptoProvider instance const cryptoProvider = new msalNode.CryptoProvider(); // Generate PKCE Codes before starting the authorization flow @@ -203,6 +211,7 @@ export class MsalOpenBrowser extends MsalNode { const authCodeUrlParameters: msalNode.AuthorizationUrlRequest = { scopes: scopeArray, redirectUri: this.redirectUri, + authority: options?.authority, loginHint: this.loginHint, codeChallenge: this.pkceCodes.challenge, codeChallengeMethod: "S256" // Use SHA256 Algorithm diff --git a/sdk/identity/identity/src/msal/nodeFlows/msalUsernamePassword.ts b/sdk/identity/identity/src/msal/nodeFlows/msalUsernamePassword.ts index 93f71eed2a7c..5db432850074 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/msalUsernamePassword.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/msalUsernamePassword.ts @@ -40,7 +40,8 @@ export class MsalUsernamePassword extends MsalNode { scopes, username: this.username, password: this.password, - correlationId: options?.correlationId + correlationId: options?.correlationId, + authority: options?.authority }; const result = await this.publicApp!.acquireTokenByUsernamePassword(requestOptions); return this.handleResult(scopes, this.clientId, result || undefined); diff --git a/sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts b/sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts index 63625c5228af..6ed484c075b9 100644 --- a/sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts +++ b/sdk/identity/identity/src/msal/nodeFlows/nodeCommon.ts @@ -16,7 +16,7 @@ import { AuthenticationRequiredError } from "../errors"; import { AuthenticationRecord } from "../types"; import { defaultLoggerCallback, - getAuthorityHost, + getAuthority, getKnownAuthorities, MsalBaseUtilities, msalToPublic, @@ -24,6 +24,7 @@ import { } from "../utils"; import { TokenCachePersistenceOptions } from "./tokenCachePersistenceOptions"; import { RegionalAuthority } from "../../regionalAuthority"; +import { processMultiTenantRequest } from "../../util/validateMultiTenant"; /** * Union of the constructor parameters that all MSAL flow types for Node. @@ -32,6 +33,7 @@ import { RegionalAuthority } from "../../regionalAuthority"; export interface MsalNodeOptions extends MsalFlowOptions { tokenCachePersistenceOptions?: TokenCachePersistenceOptions; tokenCredentialOptions: TokenCredentialOptions; + allowMultiTenantAuthentication?: boolean; /** * Specifies a regional authority. Please refer to the {@link RegionalAuthority} type for the accepted values. * If {@link RegionalAuthority.AutoDiscoverRegion} is specified, we will try to discover the regional authority endpoint. @@ -72,15 +74,19 @@ export abstract class MsalNode extends MsalBaseUtilities implements MsalFlow { protected confidentialApp: msalNode.ConfidentialClientApplication | undefined; protected msalConfig: msalNode.Configuration; protected clientId: string; + protected tenantId: string; + protected allowMultiTenantAuthentication?: boolean; + protected authorityHost?: string; protected identityClient?: IdentityClient; protected requiresConfidential: boolean = false; protected azureRegion?: string; - protected createCachePlugin: (() => Promise) | undefined; constructor(options: MsalNodeOptions) { super(options); this.msalConfig = this.defaultNodeMsalConfig(options); + this.tenantId = resolveTenantId(options.logger, options.tenantId, options.clientId); + this.allowMultiTenantAuthentication = options?.allowMultiTenantAuthentication; this.clientId = this.msalConfig.auth.clientId; // If persistence has been configured @@ -104,19 +110,19 @@ export abstract class MsalNode extends MsalBaseUtilities implements MsalFlow { protected defaultNodeMsalConfig(options: MsalNodeOptions): msalNode.Configuration { const clientId = options.clientId || DeveloperSignOnClientId; const tenantId = resolveTenantId(options.logger, options.tenantId, options.clientId); - const authorityHost = getAuthorityHost( - tenantId, - options.authorityHost || process.env.AZURE_AUTHORITY_HOST - ); + + this.authorityHost = options.authorityHost || process.env.AZURE_AUTHORITY_HOST; + const authority = getAuthority(tenantId, this.authorityHost); + this.identityClient = new IdentityClient({ ...options.tokenCredentialOptions, - authorityHost + authorityHost: authority }); return { auth: { clientId, - authority: authorityHost, - knownAuthorities: getKnownAuthorities(tenantId, authorityHost) + authority, + knownAuthorities: getKnownAuthorities(tenantId, authority) }, // Cache is defined in this.prepare(); system: { @@ -234,7 +240,8 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov // To be able to re-use the account, the Token Cache must also have been provided. account: publicToMsal(this.account), correlationId: options?.correlationId, - scopes + scopes, + authority: options?.authority }; try { @@ -261,8 +268,15 @@ To work with multiple accounts for the same Client ID and Tenant ID, please prov scopes: string[], options: CredentialFlowGetTokenOptions = {} ): Promise { + const tenantId = + processMultiTenantRequest(this.tenantId, this.allowMultiTenantAuthentication, options) || + this.tenantId; + + options.authority = getAuthority(tenantId, this.authorityHost); + options.correlationId = options?.correlationId || this.generateUuid(); await this.init(options); + return this.getTokenSilent(scopes, options).catch((err) => { if (err.name !== "AuthenticationRequiredError") { throw err; diff --git a/sdk/identity/identity/src/msal/utils.ts b/sdk/identity/identity/src/msal/utils.ts index ccf0a5170257..007bc315b30a 100644 --- a/sdk/identity/identity/src/msal/utils.ts +++ b/sdk/identity/identity/src/msal/utils.ts @@ -51,10 +51,10 @@ export function ensureValidMsalToken( } /** - * Generates a valid authorityHost by combining a host with a tenantId. + * Generates a valid authority by combining a host with a tenantId. * @internal */ -export function getAuthorityHost(tenantId: string, host: string = DefaultAuthorityHost): string { +export function getAuthority(tenantId: string, host: string = DefaultAuthorityHost): string { if (host.endsWith("/")) { return host + tenantId; } else { @@ -204,7 +204,7 @@ export function publicToMsal(account: AuthenticationRecord): msalCommon.AccountI export function msalToPublic(clientId: string, account: MsalAccountInfo): AuthenticationRecord { const record = { - authority: getAuthorityHost(account.tenantId, account.environment), + authority: getAuthority(account.tenantId, account.environment), homeAccountId: account.homeAccountId, tenantId: account.tenantId || DefaultTenantId, username: account.username, diff --git a/sdk/identity/identity/src/util/validateMultiTenant.ts b/sdk/identity/identity/src/util/validateMultiTenant.ts new file mode 100644 index 000000000000..7976b0011f14 --- /dev/null +++ b/sdk/identity/identity/src/util/validateMultiTenant.ts @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { GetTokenOptions } from "@azure/core-auth"; + +/** + * @internal + */ +export const multiTenantErrorMessage = + "A getToken request was attempted with a tenant different than the tenant configured at the initialization of the credential, but multi-tenant authentication was not enabled in this credential instance."; + +/** + * Verifies whether locally assigned tenants are equal to tenants received through getToken. + * Returns the appropriate tenant. + * @internal + */ +export function processMultiTenantRequest( + tenantId?: string, + allowMultiTenantAuthentication?: boolean, + getTokenOptions?: GetTokenOptions +): string | undefined { + if ( + !allowMultiTenantAuthentication && + getTokenOptions?.tenantId && + tenantId && + getTokenOptions.tenantId !== tenantId + ) { + throw new Error(multiTenantErrorMessage); + } + if (allowMultiTenantAuthentication && getTokenOptions?.tenantId) { + return getTokenOptions.tenantId; + } + return tenantId; +} diff --git a/sdk/identity/identity/test/internal/utils.spec.ts b/sdk/identity/identity/test/internal/utils.spec.ts new file mode 100644 index 000000000000..c3189bc81e4f --- /dev/null +++ b/sdk/identity/identity/test/internal/utils.spec.ts @@ -0,0 +1,84 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import assert from "assert"; +import { + multiTenantErrorMessage, + processMultiTenantRequest +} from "../../src/util/validateMultiTenant"; + +describe("Identity utilities", function() { + describe("validateMultiTenantRequest", function() { + it("throws if multi-tenant authentication is disallowed, and the tenants don't match", async function() { + let error: Error | undefined; + try { + processMultiTenantRequest("credential-options-tenant-id", false, { + tenantId: "get-token-options-tenant-id" + }); + } catch (e) { + error = e; + } + assert.ok( + error, + "validateMultiTenantRequest should throw if multi-tenant is disallowed and the tenants don't match" + ); + assert.equal(error!.message, multiTenantErrorMessage); + }); + + it("throws if multi-tenant authentication is undefined, and the tenants don't match", async function() { + let error: Error | undefined; + try { + processMultiTenantRequest("credential-options-tenant-id", undefined, { + tenantId: "get-token-options-tenant-id" + }); + } catch (e) { + error = e; + } + assert.ok( + error, + "validateMultiTenantRequest should throw if multi-tenant is disallowed and the tenants don't match" + ); + assert.equal(error!.message, multiTenantErrorMessage); + }); + + it("If allowMultiTenantAuthentication is disallowed, it shouldn't throw if the tenant received is the same as the tenant we already had, that same tenant should be returned", async function() { + assert.equal( + processMultiTenantRequest("same-tenant", false, { + tenantId: "same-tenant" + }), + "same-tenant" + ); + assert.equal( + processMultiTenantRequest("same-tenant", undefined, { + tenantId: "same-tenant" + }), + "same-tenant" + ); + }); + + it("If we had a tenant and the options have another tenant, we pick the tenant from the options", async function() { + assert.equal( + processMultiTenantRequest("credential-options-tenant-id", true, { + tenantId: "get-token-options-tenant-id" + }), + "get-token-options-tenant-id" + ); + }); + + it("If we had a tenant and there is no tenant in the options, we pick the tenant we already had", async function() { + assert.equal( + processMultiTenantRequest("credential-options-tenant-id", true, {}), + "credential-options-tenant-id" + ); + }); + + it("If the tenant received is the same as the tenant we already had, that same tenant should be returned", async function() { + assert.equal( + processMultiTenantRequest("same-tenant", true, { + tenantId: "same-tenant" + }), + "same-tenant" + ); + }); + }); +}); From 020a0755f0850a70ee728164313d26bfb2c76e8f Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Jun 2021 16:30:45 -0700 Subject: [PATCH 102/134] Increment version for core releases (#16113) * Increment package version after release of azure-core-tracing * Increment package version after release of azure-core-lro * Increment package version after release of azure-core-rest-pipeline * Run rush update Co-authored-by: Maor Leger --- common/config/rush/pnpm-lock.yaml | 176 ++++++++++++------- sdk/core/core-lro/CHANGELOG.md | 11 ++ sdk/core/core-lro/package.json | 2 +- sdk/core/core-rest-pipeline/CHANGELOG.md | 11 ++ sdk/core/core-rest-pipeline/package.json | 2 +- sdk/core/core-rest-pipeline/src/constants.ts | 2 +- sdk/core/core-tracing/CHANGELOG.md | 11 ++ sdk/core/core-tracing/package.json | 2 +- 8 files changed, 151 insertions(+), 66 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index dc754dd7d6bd..c1958d7937e9 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -311,6 +311,15 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-frF0pJc9HTmKncVokhBxCqipjbql02DThQ1ZJ9wLi7SDMLdPAFyDI5xZNzX5guLz+/DtPkY+SGK2li9FIXqshQ== + /@azure/core-tracing/1.0.0-preview.12: + dependencies: + '@opentelemetry/api': 1.0.0 + tslib: 2.3.0 + dev: false + engines: + node: '>=12.0.0' + resolution: + integrity: sha512-nvo2Wc4EKZGN6eFu9n3U7OXmASmL8VxoPIH7xaD6OlQqi44bouF0YIi9ID5rEsKLiAU59IYx6M297nqWVMWPDg== /@azure/core-tracing/1.0.0-preview.9: dependencies: '@opencensus/web-types': 0.0.7 @@ -6234,12 +6243,14 @@ packages: resolution: integrity: sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== /querystring/0.2.0: + deprecated: The dev: false engines: node: '>=0.4.x' resolution: integrity: sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= /querystring/0.2.1: + deprecated: The dev: false engines: node: '>=0.4.x' @@ -8113,6 +8124,7 @@ packages: version: 0.0.0 file:projects/ai-anomaly-detector.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -8157,7 +8169,7 @@ packages: dev: false name: '@rush-temp/ai-anomaly-detector' resolution: - integrity: sha512-xor9UzgRJS2NW7pO+RvYWrtAIDLJ5HTLfPT0srRwO83Ofl851H6dTtrCvYd6L4KUvj1lZLnF60YS9cWFtapK+g== + integrity: sha512-9ufT3fg10JAzlueUXpNT2SFgD88Dt/MfuHYZ1eDnJyIvQgUHcbHq7X+tquB57kFvIlwqndodL0gegWlvq2ZMuw== tarball: file:projects/ai-anomaly-detector.tgz version: 0.0.0 file:projects/ai-document-translator.tgz: @@ -8204,6 +8216,7 @@ packages: version: 0.0.0 file:projects/ai-form-recognizer.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 '@types/mocha': 7.0.2 @@ -8241,11 +8254,12 @@ packages: dev: false name: '@rush-temp/ai-form-recognizer' resolution: - integrity: sha512-ZoJdYizuIklrV7rL0bmKeAGYOmdZr0cLNRxwR9PdN3KowY3Uo+/1RLdv6+e0G/cUC2Avqcgsk/p46glgLeZVZw== + integrity: sha512-+3+z/wPPpET3+fcAiezmXbWHvQLgWJ27FCTK14p5GQMKLh9QPHpV1WnshzRPptJ3/23hFU/bNF0KoTqpCMb2AA== tarball: file:projects/ai-form-recognizer.tgz version: 0.0.0 file:projects/ai-metrics-advisor.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 @@ -8285,13 +8299,13 @@ packages: dev: false name: '@rush-temp/ai-metrics-advisor' resolution: - integrity: sha512-JXGv6EY1CYEfStFqTBGSEQcBEy3/Xxm3zhXJOh0m40uLZq4cYi5dwQ5I6lyaYfasbktq34IGBV1+KL7Ujzd/MQ== + integrity: sha512-qu+gXgf/6VRdPxK0z/G3Y/3utVUfn3a6Hcz25yStFz7cpeXOC6IyD+sVG97PWYoCOzg32p8OgN0kHU1P3bReOQ== tarball: file:projects/ai-metrics-advisor.tgz version: 0.0.0 file:projects/ai-text-analytics.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 @@ -8333,11 +8347,12 @@ packages: dev: false name: '@rush-temp/ai-text-analytics' resolution: - integrity: sha512-Etd2xmQEO6pchKxIzpiZlFNg52Xu86XdKqlgU+DZ5jE4IX4RTDS83ugGEzVSS0bjME+P59YZ19ubhwanOb6WlQ== + integrity: sha512-xOTFTYbC7zkPZU+4uJ63+sFWxsXvaQQwQRRQpeH0x8TbxUpWfELGqZ7tmkaqiiA/kWNSjwRweMooEPznC2/0XA== tarball: file:projects/ai-text-analytics.tgz version: 0.0.0 file:projects/app-configuration.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/keyvault-secrets': 4.2.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -8386,13 +8401,13 @@ packages: dev: false name: '@rush-temp/app-configuration' resolution: - integrity: sha512-LNi199Cv3vpwwDyHMUnPNc/GJhkiBY4ntL0I6IUsO32nO1SKnEVoCnWnvpsbsUnRTrT/zR079mLOyPay0t+Qug== + integrity: sha512-5dSzEE5J07mG8wEtrtJe9vFXVuzETnPaFTLje83k+m2ZFCVeShG9663Y5vFADKD1KeneKw6OsV/1HfpPk24zjg== tarball: file:projects/app-configuration.tgz version: 0.0.0 file:projects/attestation.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 @@ -8441,14 +8456,14 @@ packages: dev: false name: '@rush-temp/attestation' resolution: - integrity: sha512-EwxFoG/HK6QssgD+v8J0kGJyDrfxOgdY7hegBWPUxkuC76S4dazK3bnx+SRMcM3s/9p/8OfWhIQLfLygeYFx3A== + integrity: sha512-sWKNBhFI+nUcjqVMMKpimIP5+eWVZYvlv4lfTbhFr2EKdWjqFWBigtZMuxPFkbpWZT3lR+MPL068QEVfi4jf9A== tarball: file:projects/attestation.tgz version: 0.0.0 file:projects/communication-chat.tgz: dependencies: '@azure/communication-identity': 1.0.0 '@azure/communication-signaling': 1.0.0-beta.7 - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8497,11 +8512,12 @@ packages: dev: false name: '@rush-temp/communication-chat' resolution: - integrity: sha512-JsmZwX9BwOo9JBuM15qjJP1u0hQHmdbFiT60wFGbchohHp8mok71/c+eeiH9P1vgAAfXIxXCCjSb1R77j3YqMQ== + integrity: sha512-Zrv5MfblAHH1GYcs+5bTuPmEYRD6tDkcUgB5Rjeg+OhC48BszFG0h9/IkmvzFd3faEz2bcoT2kVs7Vu5sScqtw== tarball: file:projects/communication-chat.tgz version: 0.0.0 file:projects/communication-common.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8550,11 +8566,12 @@ packages: dev: false name: '@rush-temp/communication-common' resolution: - integrity: sha512-Pje4ZHzhRzuv+h+yP02AECjaenYXExPAjTLYcquj7cr4N8mpxhJ7uluTDI2maz5NEbbbzq/b3fULiiX4u9N2IQ== + integrity: sha512-Aw8jV4Aw7UxX0+lg78MCPL8J79O+oiKCeQiH2Amt3BueTbQaxnYMPH7IKtlG9WBdk04YO61MhRT4Z6jwghpqYA== tarball: file:projects/communication-common.tgz version: 0.0.0 file:projects/communication-identity.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8602,12 +8619,13 @@ packages: dev: false name: '@rush-temp/communication-identity' resolution: - integrity: sha512-LiLVBreww8n6sBGNoAFvFFagepcdCwL8aUQzGo+0ZW6Tm5DY4LptNs3JBP49VsBB+n1U+Y9f+xNwNlnPi0SXVA== + integrity: sha512-xINCgL/y263SN7BOXKfj3mpP3p2UYFeoxKuZ2ShcO5gk+d4lIDL//sV8xmTyW6LF86qJJbEgyzlkLhwP16HYFw== tarball: file:projects/communication-identity.tgz version: 0.0.0 file:projects/communication-network-traversal.tgz: dependencies: '@azure/communication-identity': 1.0.0 + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8655,11 +8673,12 @@ packages: dev: false name: '@rush-temp/communication-network-traversal' resolution: - integrity: sha512-SLNItXwKzrnfDd/pZ60nUHc+PqEEpfQEe9GFNYTmAP53krfOb6/XHWjt6OZNVyXwjkDc1mG3o10KZntjPR6hqg== + integrity: sha512-FH3q9n+VPL8B4O05Rqya+bclybcXv04VBH/VkVkgUCUa3TBf/gn+PNSEawmp27KNSrEjZ3RA6tyal+xs+lpNcQ== tarball: file:projects/communication-network-traversal.tgz version: 0.0.0 file:projects/communication-phone-numbers.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8707,11 +8726,12 @@ packages: dev: false name: '@rush-temp/communication-phone-numbers' resolution: - integrity: sha512-izvzyc+IZYXQXM9q73ni8SPSXSYxdF7Hm5KPIxBdx++bY3T0L0RmqUVsxlfkGhL8Wh6cBouyYBmFZfGsVcC3Zw== + integrity: sha512-zi9RGOsp2ahuJ+PLsIE9SIbhWicaypGwOldIs8zaj1/D2mrKhghu328aOOwSvMRveWUoQU8bRi9buGxkTr66NA== tarball: file:projects/communication-phone-numbers.tgz version: 0.0.0 file:projects/communication-sms.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -8758,7 +8778,7 @@ packages: dev: false name: '@rush-temp/communication-sms' resolution: - integrity: sha512-8+FLM3cvueo2gwgMknJ/n3OyBSKe1mHxDTjEJ/cUAXgKHuU80bvpBYZ0TRQNu5pNN3CFhyl3fNj4U6KAaN08ZA== + integrity: sha512-PeresdLGSvIw3+ulHdXyY1JdFJnpoJ5b6jJRYksiFHp2be101Jx5bZEv5XU8lf9k4HrIXKHCvVuBWo6N66LJBA== tarball: file:projects/communication-sms.tgz version: 0.0.0 file:projects/confidential-ledger.tgz: @@ -8805,7 +8825,7 @@ packages: version: 0.0.0 file:projects/container-registry.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@azure/ms-rest-nodeauth': 3.0.10 '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 @@ -8844,7 +8864,7 @@ packages: dev: false name: '@rush-temp/container-registry' resolution: - integrity: sha512-sM+tVFsBl6vesjl4vSW1PeKmSeRtwY4eYDCinWGo8PJOxMUj0PpGeK2O7NiXUsF+eLyp30tafqY/xhjWt3foDQ== + integrity: sha512-j5UJVkhWFWHQNo2QKHgG4pOyMPHUWEZ2zAMmKyhJk6VB9xHyImRaUorffISCC23Ka2BEsgyqDxH99zIgWiOX3Q== tarball: file:projects/container-registry.tgz version: 0.0.0 file:projects/core-amqp.tgz: @@ -8953,7 +8973,7 @@ packages: file:projects/core-client-1.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@azure/core-xml': 1.0.0-beta.1 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -8997,7 +9017,7 @@ packages: dev: false name: '@rush-temp/core-client-1' resolution: - integrity: sha512-pCbSqwXCtmQzCBh1nChKeyoeqaLJ8mq62pFQaFkxBWj7yPSQvqUWmvjb9BhsWxYTURcNmt5KD5UYK9FMeqlnsg== + integrity: sha512-y2Ck63UttZJzyZPfw01W6GFfdylsr0qeKZ6SHL4Q5F0g0vuUZ5CFfWNymMZsf5tVXpzCJJKe5+vgqmTkc/lRYg== tarball: file:projects/core-client-1.tgz version: 0.0.0 file:projects/core-client-paging.tgz: @@ -9034,7 +9054,7 @@ packages: dev: false name: '@rush-temp/core-client-paging' resolution: - integrity: sha512-56hlO8jgFdKMR/mgzW2WPHAqxx7n+ji+L9ZCeF+9yxkcmBBzsSKfYrQdTtsBN94/1/ZwtmWJluu7WDKieWYY0w== + integrity: sha512-2yfyj7zg3Un1ZqzSMicY6SUmVE+Xnx4HbbAumjTWTAHBPeemreMzkys2OtcP7pYuLkd8mlBuHxzw/9xLf3p8Zg== tarball: file:projects/core-client-paging.tgz version: 0.0.0 file:projects/core-client.tgz: @@ -9122,6 +9142,7 @@ packages: version: 0.0.0 file:projects/core-http.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/logger-js': 1.3.2 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -9185,11 +9206,12 @@ packages: dev: false name: '@rush-temp/core-http' resolution: - integrity: sha512-yyCNXJSvJthpwBPRtGGImOFbdXtFQZP3zbGl7Ei7olsXAr0Y6BaCw31tZoJ9BIsDFN/Pjw+3rXCAGpXzE0QWcA== + integrity: sha512-1mJYsUQMnKqOb5KJnUnMjmgeTWemHD8UgFrJm+zOfsWpLYLA6bSFj194n5fjJdDtId/mb37yGBYZbOaYANEDow== tarball: file:projects/core-http.tgz version: 0.0.0 file:projects/core-lro.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -9233,7 +9255,7 @@ packages: dev: false name: '@rush-temp/core-lro' resolution: - integrity: sha512-TRj3hpxpoOvBXH3WJS79ecEycw1a7x1ljh5cK9us0AsFdG4cCqRPOYjyiqTdBbcVJq7/rF73k/O3ptrnLrnVFQ== + integrity: sha512-Y8Lud9OBd9EwLoc0ksgNTz3qSsF0VKAZyI0lP7jH4xKVCqhsH3qLaX9xePBHucMBe+XnjRCC05WaJaXPfQ/t/A== tarball: file:projects/core-lro.tgz version: 0.0.0 file:projects/core-paging.tgz: @@ -9252,7 +9274,7 @@ packages: version: 0.0.0 file:projects/core-rest-pipeline.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -9301,7 +9323,7 @@ packages: dev: false name: '@rush-temp/core-rest-pipeline' resolution: - integrity: sha512-wY6C2ZRU1FBXyJK1z70NRL+JjQHgGDOqkm/fWvhiodYOgo0LL2ujMWHqxuh1+xTQX09Ljvp+DXreHxU8hSxzlw== + integrity: sha512-u+ck7XNcdA0tBihWqjxTCMqjl0oozXZXjDwMj11thEGJZqrve+2KmDM6ls2B9uA4DxwPJdIQepTTRLXZqFfTPA== tarball: file:projects/core-rest-pipeline.tgz version: 0.0.0 file:projects/core-tracing.tgz: @@ -9501,7 +9523,7 @@ packages: file:projects/data-tables.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@azure/core-xml': 1.0.0-beta.1 '@azure/identity': 2.0.0-beta.3 '@microsoft/api-extractor': 7.7.11 @@ -9553,7 +9575,7 @@ packages: dev: false name: '@rush-temp/data-tables' resolution: - integrity: sha512-ujM2bV+u3bW/E26L/F6YOOx8xbrLpzNDaqfmN12TQB1CMeHzQf38U3zMb/Pthhk/Xb4sAfO4qvPyVD9vAKQmoA== + integrity: sha512-mHo4qMDnQU3sJ2yh8RlC6Mmvoe5Wp0Lnz19O8RggH/8LZ3X8VRKlDZrQB+iF2wwGYoLPJlocvNoO43LXhpKicg== tarball: file:projects/data-tables.tgz version: 0.0.0 file:projects/dev-tool.tgz: @@ -9596,6 +9618,7 @@ packages: version: 0.0.0 file:projects/digital-twins-core.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -9645,7 +9668,7 @@ packages: dev: false name: '@rush-temp/digital-twins-core' resolution: - integrity: sha512-ALnbQXSGDPYyvgBpj9LgOFpTlseHfrKvLxuR5S7RRdEZRzOp+3QPTV8ZlCLCFLM8C+mQZkGU0Zs1tYYHWuHI6A== + integrity: sha512-BAH8WsXsnRyFnnZA5JL2uc2HRvD3M7mWMQ38NLS670w7RvQNna/nCpEFmPpFyfdzIBtFC8cjkSDsW7ae6vzURg== tarball: file:projects/digital-twins-core.tgz version: 0.0.0 file:projects/eslint-plugin-azure-sdk.tgz: @@ -9686,6 +9709,7 @@ packages: version: 0.0.0 file:projects/event-hubs.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-inject': 4.0.2_rollup@1.32.1 @@ -9752,7 +9776,7 @@ packages: dev: false name: '@rush-temp/event-hubs' resolution: - integrity: sha512-E6rqZwFWroU5Fh0CdkKDZeDNYpis0r6OfX+IrBpObaLFP9P36UKrjHuHtSyvBWt9j3tBY+BBGDSBOC7BxDSfKw== + integrity: sha512-WNJyVRH8bzOhs/DZ6caEh2RTqDJ4yO/U/yvcrY1F8Vzdb9RA0wRHZ4J+iROn6z07M1uMw6SbP/O21YoiSdWb8g== tarball: file:projects/event-hubs.tgz version: 0.0.0 file:projects/event-processor-host.tgz: @@ -9808,7 +9832,7 @@ packages: file:projects/eventgrid.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -9859,7 +9883,7 @@ packages: dev: false name: '@rush-temp/eventgrid' resolution: - integrity: sha512-6HpywaUpJ1+RDd+oX9G5uqDq3Zxv2qbtTRPG2SA1teUGOf8dG8JsdfmE5Ew92KS+itf0/tYLSx0uG9aCEpuYng== + integrity: sha512-+sBO5835x8av1m/TzFpkdLNiP50QHqji1aUQkjccAoi8vWiKs51MlCASbjWJNBWy6wLOTt5+zYFwmkzlg5Eh6A== tarball: file:projects/eventgrid.tgz version: 0.0.0 file:projects/eventhubs-checkpointstore-blob.tgz: @@ -9990,6 +10014,7 @@ packages: version: 0.0.0 file:projects/identity.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/msal-browser': 2.14.2 '@azure/msal-common': 4.3.0 '@azure/msal-node': 1.1.0 @@ -10034,11 +10059,12 @@ packages: dev: false name: '@rush-temp/identity' resolution: - integrity: sha512-U8HltqYVr9W655SpiGaDVJ0IHe1+agW++vGNmih/QjJCjtagKAubvVKNGYu+OxVoEfpSfYc8pUhy0OEEgT3U0A== + integrity: sha512-cX969FF9/WVxGbziV+3ZAjwEBexmOuT2glwCTYZYZ0UjQkqBeFscq1UrBFLCSM2ZCfgjGegxR2g4H1FOESoznw== tarball: file:projects/identity.tgz version: 0.0.0 file:projects/iot-device-update.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@types/node': 12.20.15 '@types/uuid': 8.3.0 @@ -10060,13 +10086,13 @@ packages: dev: false name: '@rush-temp/iot-device-update' resolution: - integrity: sha512-rBIXGpY0B5SbJOXAFsApfA19XGR0TNIwLJE6Lp7Gsisa5wgn6Ndvheid2i2i4Dnpz6edgKsuN4MYAYkZPRFkSg== + integrity: sha512-76Tm1Jl9iIimSV0wR5qohVAhavimexKuzQk/lCaRS2pzw+wKHietWxSRpmJtKbrXw9khpLOgOph5zV9emxSaeQ== tarball: file:projects/iot-device-update.tgz version: 0.0.0 file:projects/iot-modelsrepository.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -10112,12 +10138,12 @@ packages: dev: false name: '@rush-temp/iot-modelsrepository' resolution: - integrity: sha512-WkrPUmgVb86oPEVUeGZr5vpgotLI/t/tSJFubhovVS0VdzwTO9ed+lxGqfc664mHHDG8R/6hmUWPmzt3BdOW6A== + integrity: sha512-3ttGrsvd4qCT/BiB3bWcLvGJfGiswvsPxuYaeV03vKW9nLzYSa+hsv3FdylXzBHwaYTe111Dnq50jp+b65Z4mg== tarball: file:projects/iot-modelsrepository.tgz version: 0.0.0 file:projects/keyvault-admin.tgz: dependencies: - '@azure/core-tracing': 1.0.0-preview.11 + '@azure/core-tracing': 1.0.0-preview.12 '@azure/keyvault-keys': 4.2.1 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -10157,11 +10183,12 @@ packages: dev: false name: '@rush-temp/keyvault-admin' resolution: - integrity: sha512-K7fSHQu14LH52AEEczcp8Pw/YzBZOp2s8+jvxBVdAIt59upUJPy98OBGKyhoC/zEyunQjVVWGMc/oMCv8tEQ9A== + integrity: sha512-KyTIarzMmFonMbl96AdhoV5lf29APbQS5hkbL+Elkc1Mt3iF6ytOuMyJCb8hpGv3SUZnWYKhz1Bpzn+4514uEg== tarball: file:projects/keyvault-admin.tgz version: 0.0.0 file:projects/keyvault-certificates.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/keyvault-secrets': 4.2.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -10214,11 +10241,12 @@ packages: dev: false name: '@rush-temp/keyvault-certificates' resolution: - integrity: sha512-JTTY3YA7aFQZsarrqBAEk+XhdU+JWThhM6qRxPrKavy2poh2CMsXpO99qfEw12hQ5PWicCukbmZF+KMc3WpkQw== + integrity: sha512-Z9C8j5uik7z6Gkuak1cpfIlReBYXjA4rqZhLJJUSW3GQ9/MX9o0N7gaH2E4ExA+I5zf6sjQeMLt0TuVoZucuzQ== tarball: file:projects/keyvault-certificates.tgz version: 0.0.0 file:projects/keyvault-common.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 eslint: 7.29.0 prettier: 1.19.1 rimraf: 3.0.2 @@ -10227,11 +10255,12 @@ packages: dev: false name: '@rush-temp/keyvault-common' resolution: - integrity: sha512-bPRo3thH2+A9xkidN62waMvwoiZ/lL5ZEo1g1HDcaFudx4D6UY1otc/GHflEXvEMG5SFdOvJWiADMFsKCD3EXA== + integrity: sha512-985Pu4WBm8htD9JwDRFnxk7RieHDbivptrfMNFqlEtdgp5ATNrXWgSo+C99t9LMq5AcfYaEbXDPhmju6kB02BA== tarball: file:projects/keyvault-common.tgz version: 0.0.0 file:projects/keyvault-keys.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -10285,11 +10314,12 @@ packages: dev: false name: '@rush-temp/keyvault-keys' resolution: - integrity: sha512-HyGmZuZ9jbZSuElkasp6ESZ4fJGR2fVnWHBTAo82WAS/Z+ahQ4i++yhxlImEETeHVas3xLyk0KtMxAq30OgOsg== + integrity: sha512-2pTgRqDhzhQ6x5ppOYOAKfHALJ11/O6t1DyLXPg50hP2TBI7LD4hI1rUO8CNZPXbenJgJVEIlzQwcnFmjBU0RQ== tarball: file:projects/keyvault-keys.tgz version: 0.0.0 file:projects/keyvault-secrets.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -10341,7 +10371,7 @@ packages: dev: false name: '@rush-temp/keyvault-secrets' resolution: - integrity: sha512-PQOqnVqshtnKT5gHMPRmlAWXJ1zjgziGYkG26ReGBAItABfHK+HM5dhUJ9LzA5kF312jDQYNWMCQR+m21AXr6Q== + integrity: sha512-v6/jO7G9RMZV9N34GLnq9QPdWDR6Yv5sOQM2gdIYCj8Fr/YIO0etKECOFPycAGRHZuQwgFJQUg++npflmr9xFQ== tarball: file:projects/keyvault-secrets.tgz version: 0.0.0 file:projects/logger.tgz: @@ -10394,6 +10424,7 @@ packages: version: 0.0.0 file:projects/mixedreality-authentication.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 @@ -10431,7 +10462,7 @@ packages: dev: false name: '@rush-temp/mixedreality-authentication' resolution: - integrity: sha512-LMwKWWNn7RGRh7IZvaIkVxSkCeA0Av7O0UQDBoxPD5XvdZUY2eY/ofG3UmSpD5apQ5pzBRH0uvfgud2Ruk55kg== + integrity: sha512-Dah2yhabK5HI4F06xOEqvf+iUXgLPdtJXFBVgIQy1+KFICPCqM0PMc0olF3nG/4KEo2t3Q2397KQLdRlfeUm2w== tarball: file:projects/mixedreality-authentication.tgz version: 0.0.0 file:projects/mock-hub.tgz: @@ -10482,6 +10513,7 @@ packages: version: 0.0.0 file:projects/monitor-query.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@opentelemetry/api': 1.0.0 @@ -10525,7 +10557,7 @@ packages: dev: false name: '@rush-temp/monitor-query' resolution: - integrity: sha512-ZL8duEIH2flsaY9Gtp1XCvf2kzrzk3xw1SQCkTtGVhRb4ZuKpz2JwsqpMg/sg3a/AloyWAt5albV93ofMlfPbQ== + integrity: sha512-FtKS3h1XRaOSQHXljZu7mrTYGhewukVd5N5l4dvRZlQN2y6iuiLVcyXMABg8Um3iHgkSBTopNdEj4uDLyMQVdg== tarball: file:projects/monitor-query.tgz version: 0.0.0 file:projects/perf-ai-form-recognizer.tgz: @@ -10859,6 +10891,7 @@ packages: version: 0.0.0 file:projects/quantum-jobs.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -10907,11 +10940,12 @@ packages: dev: false name: '@rush-temp/quantum-jobs' resolution: - integrity: sha512-s8e8M//91ePGj1dO90jFRt/t9boXQAb412rQ/eV7Plvf4Z7juW8OQNFfgfDDgbu/+Yh4BmTEEt0Ge5fhQ3MNGQ== + integrity: sha512-3CmIjUqxvM9cfPUIhEDR6hg/1Qlk6DK3o3WM7gkASvaMCgPJB2gLnRyhBtTWDDTV267ZyIsT7ds6OSA77wZ6zA== tarball: file:projects/quantum-jobs.tgz version: 0.0.0 file:projects/schema-registry-avro.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-inject': 4.0.2_rollup@1.32.1 @@ -10961,11 +10995,12 @@ packages: dev: false name: '@rush-temp/schema-registry-avro' resolution: - integrity: sha512-OZb2LmW2W4ZKIxb0qgvDhGn0GWVQT5mrrSNMHIpTc7j3OxcfQoEimgrzkF4ae5t1l4qxRyPZV7QGErLPdI/lZg== + integrity: sha512-nhESe3sAlTSg61fGeokPNKcGmMD4YF668+WuIK6Z3k+RtEmN9hPSTnNS4gwRnlZ9mTDUFAmH5dos65zoQ2Q/sA== tarball: file:projects/schema-registry-avro.tgz version: 0.0.0 file:projects/schema-registry.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -11011,11 +11046,12 @@ packages: dev: false name: '@rush-temp/schema-registry' resolution: - integrity: sha512-dDGxgw7Oha0+j5wUJXgcFuGlAK6tn3HhnIF+qhu/uUT7bhMjXZCP5VBAtqkGE86TCRMFFNCXTIMHrqJ5ZAtW8A== + integrity: sha512-crBL/qceVHIRFfLTHQ/9+W0jZFCZEJb24sl7059X3C/W0v/qt3AuPtHHZZrf8Hux5GW0RAaZsU0N9uwnJ8mfVg== tarball: file:projects/schema-registry.tgz version: 0.0.0 file:projects/search-documents.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -11064,11 +11100,12 @@ packages: dev: false name: '@rush-temp/search-documents' resolution: - integrity: sha512-uMx6yCLx/luocgYetGgDbAiiwr5mU2Zxj/fwYz6CaKn6bjIP+6oiOxjf4OyTVJxfPiH6W7aMjj2K//v1IeS5YA== + integrity: sha512-dnPkPixkq7qEJ22aCSPo0QLB85gp7yXEm5UBDw+aYXkD/r3nIosXPtZdN5ahHQYXfjRTlc/ZGh3TRi+5WVt0mw== tarball: file:projects/search-documents.tgz version: 0.0.0 file:projects/service-bus.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-inject': 4.0.2_rollup@1.32.1 @@ -11138,11 +11175,12 @@ packages: dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-teYp08lQ/CkmWhDaJMHvTWnOzeIiEbMgx3AAs4BjPFVPVK9/2RI2dT7kwyZbZwRyOmh9+ipjF1mfxpF4fiUXLQ== + integrity: sha512-n1TTvwS5Z9hDPLyLYzZQbZONAM0ZqDz2pT8Q3XopMzeCYQIw9Iuj+fCtCDm1MQsVuo2rbVGGMzA6AqqivD2F8A== tarball: file:projects/service-bus.tgz version: 0.0.0 file:projects/storage-blob-changefeed.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11194,12 +11232,13 @@ packages: dev: false name: '@rush-temp/storage-blob-changefeed' resolution: - integrity: sha512-k3cfRzuNXPjAHe0XSdc5CzAZpRR/J3dNtxYTIpSx2qQsyShPbdoV18K3QwC8lBgJ9rDuIwWtw6Chcwup4Kos4A== + integrity: sha512-ygPw/JfMyvA0xwkDPUF6HOBpoHJ3rzVJY7ZEvvoUQhWbsri1YsY670iD8PjiLqqCdafwy0PvprzTCs5vjf1qPQ== tarball: file:projects/storage-blob-changefeed.tgz version: 0.0.0 file:projects/storage-blob.tgz: dependencies: '@azure/core-rest-pipeline': 1.0.4 + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -11252,11 +11291,12 @@ packages: dev: false name: '@rush-temp/storage-blob' resolution: - integrity: sha512-SR7gi1XbF99h18cjafy3mOIYAuYO4pWc0/Li7nYa+F+wuR5p+EBXExbPgXocaunQEr56edWKvhVTAsXJf3fa0w== + integrity: sha512-3hsoRJGA/kNedSA8vBd7XbFJyknWq4ZrBKWaxe9dFgVktFK7XDCq9GRiRjzFKHyWlb0uYLMAhhPyMGsAJY33NQ== tarball: file:projects/storage-blob.tgz version: 0.0.0 file:projects/storage-file-datalake.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-json': 4.1.0_rollup@1.32.1 @@ -11310,11 +11350,12 @@ packages: dev: false name: '@rush-temp/storage-file-datalake' resolution: - integrity: sha512-WKNmOb2EDGEZqC1D1RkDFh1HJVn2cSNiNx4/g/I6jyb/JTykRW/sQj4eQMOFv2VzoglVCc5Y5rfV/krMxvTwBw== + integrity: sha512-fzpbysAwXHYPAkn/7KH+8RYGZfNJNxh0k/YY8d3jULEleyfRYRZPfFgNjP78l4xWwhQcV1bsoSVxncU/M/U1JQ== tarball: file:projects/storage-file-datalake.tgz version: 0.0.0 file:projects/storage-file-share.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11364,7 +11405,7 @@ packages: dev: false name: '@rush-temp/storage-file-share' resolution: - integrity: sha512-eYcZuBTa4QZtWhOSG4rPF8DiZ8SVedKabioQO/xGeZMkYy4M/y5asia2D55EZ0pGqFBkwxztIMQR+t6GENY0LA== + integrity: sha512-AUWBKZZh7C43K90KBV+Ou96j5rg/EFo0B0eaWKe5MSbJcp2/VwOVUJ6Q4pJA0u4etjIxFQgHQJUYFuVrpqqPzQ== tarball: file:projects/storage-file-share.tgz version: 0.0.0 file:projects/storage-internal-avro.tgz: @@ -11420,6 +11461,7 @@ packages: version: 0.0.0 file:projects/storage-queue.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 @@ -11468,11 +11510,12 @@ packages: dev: false name: '@rush-temp/storage-queue' resolution: - integrity: sha512-mIDhXmilj9q6Of9XiCIOpTQr0BdI9TOI1R+EesU3ySwTRSwo9LRHSL9Q7BUCtX1vGDoBMTV9+RKhmyGf4SzS5Q== + integrity: sha512-99be+54aq2y4U0Kc1zBXaFxb6p8YH83qf+0TrBnm4X4/VJdMxHu88HZ6+jVmXZZA8+JX6Avzz8RQ6If+pflkAA== tarball: file:projects/storage-queue.tgz version: 0.0.0 file:projects/synapse-access-control.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 eslint: 7.29.0 @@ -11487,11 +11530,12 @@ packages: dev: false name: '@rush-temp/synapse-access-control' resolution: - integrity: sha512-B6ZNAWWZamD+jFqi0Z5UrXPb407k7n22KotiiBdG17Kvb5+IFZHvB2XSb6UqXKX6acTH2oTPGnhqJX9zNu7bnQ== + integrity: sha512-fhmsa9dtbeFkI/CSMtS3oFAUWgiZ8Vomc/tO/1mdozzuQLh8xLO7Dp9RjxqOG/aqp+bR+tpxODJgBM9rs6zSHQ== tarball: file:projects/synapse-access-control.tgz version: 0.0.0 file:projects/synapse-artifacts.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@types/chai': 4.2.19 @@ -11536,11 +11580,12 @@ packages: dev: false name: '@rush-temp/synapse-artifacts' resolution: - integrity: sha512-/CbcDVgYUXiruEvBTaofRA/WI4mE17B/k82Ow4Z6Sit8SWWLr9HMt84l9CQmtO/EEy+XONa79gt5mlhNYdYoPA== + integrity: sha512-5r828CMiRuzRe+1dnT4QXI7ZXWS2e42lZKH/QtSiFLvb4zRc6vLM6C1JtAYJZfe2eU8UEsp5mb7hCDCdwSENfw== tarball: file:projects/synapse-artifacts.tgz version: 0.0.0 file:projects/synapse-managed-private-endpoints.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 eslint: 7.29.0 @@ -11555,11 +11600,12 @@ packages: dev: false name: '@rush-temp/synapse-managed-private-endpoints' resolution: - integrity: sha512-n3HmGyFWLvYD13xpEZDbDR/UTytR45c8RaaFn4S+RvgMl9qbSLKF2HNtdj/9Kizg70MsfHITsevCObkrF1MAaw== + integrity: sha512-qH2uQvpDKOhG5VCcgsBBUnfJPOF8kgdLU5cVw8GQXqe7rd7lnIyZ1rXHgHtHQbmVxE2U9cNOgx+b5ZklXkXanQ== tarball: file:projects/synapse-managed-private-endpoints.tgz version: 0.0.0 file:projects/synapse-monitoring.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 eslint: 7.29.0 @@ -11574,11 +11620,12 @@ packages: dev: false name: '@rush-temp/synapse-monitoring' resolution: - integrity: sha512-ZP/mUHpmJecIKZu5BgZ7KMs1RpcGx+gvvhcqfQPHjsXHItdYRw2SZaNeYWe5EPnmB/bIAxWnh0UgMIKXAmQ0+Q== + integrity: sha512-Kzw6M1WWtgayGiheIJJn5pvoiKA5gaHRHyrS/WVwypJm3xOeFfMzrC/EGT9Vc5u+/tegFC/3ws0+d0sMi5Wxig== tarball: file:projects/synapse-monitoring.tgz version: 0.0.0 file:projects/synapse-spark.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 eslint: 7.29.0 @@ -11593,11 +11640,12 @@ packages: dev: false name: '@rush-temp/synapse-spark' resolution: - integrity: sha512-K+6F+RZEd5QAlbJlquMsiXPVc39i9C9CR9eQik5HhMV0tkWrk9DnKEx+l4nqIBvJ4yFAcew448mS+Fcp3HpQxA== + integrity: sha512-f0iYTqBaqR3OFVzFqcipjgF7nJB2rLfZ/1JGGoWfXRezrp13BQRtE/nlaKdUg0lIJkyw0BuKgLk5nYCYjPWjdg== tarball: file:projects/synapse-spark.tgz version: 0.0.0 file:projects/template.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 @@ -11637,7 +11685,7 @@ packages: dev: false name: '@rush-temp/template' resolution: - integrity: sha512-tzPyJx5J7e3qU69hf7F2H1Id5Tbig+OLNexf43IUvtdtS5IOoi2VyjURMu7yD65PvYiZdiqnlFN7u7yVNgJIjA== + integrity: sha512-UtMf3qOhtj3oRYQdJe0QK4flpQUgl1XXd9qFwTsRdpaJDa7Zi21Zltjch+1gBDfV6VZfpYUb1o0f0r+FP+2V3w== tarball: file:projects/template.tgz version: 0.0.0 file:projects/test-utils-perfstress.tgz: @@ -11665,6 +11713,7 @@ packages: version: 0.0.0 file:projects/test-utils-recorder.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 @@ -11716,7 +11765,7 @@ packages: dev: false name: '@rush-temp/test-utils-recorder' resolution: - integrity: sha512-W3PUv+wfjsFF0477l2FZQUCJaSZkrl694/B9fGGDd/cnLsO9GJCxVE1r31PLAHNlryEzDBdWJMkrEyAOIT7Xkg== + integrity: sha512-ldsKEzO2UJNjjpG0SJ7OzW4UpywLuMIZu8GfXnX3A1fOexAEJ5SVaj/wOEShzMgs9QRjLEC1NRwEMoT9xbDtXQ== tarball: file:projects/test-utils-recorder.tgz version: 0.0.0 file:projects/test-utils.tgz: @@ -11748,6 +11797,7 @@ packages: version: 0.0.0 file:projects/video-analyzer-edge.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@microsoft/api-extractor': 7.7.11 '@types/chai': 4.2.19 '@types/chai-as-promised': 7.1.4 @@ -11785,7 +11835,7 @@ packages: dev: false name: '@rush-temp/video-analyzer-edge' resolution: - integrity: sha512-WCCV5micC74VY8Y2F/FhpUvin5NMIK375+VDrE5Viq6rsDqMUR2fiNEsSE2Au+f3/SQ8+gdmhz/j8CjxD/lpMw== + integrity: sha512-0p4RAxZ9LItcJ2CjO2/KlKRr/lUKGmqGZdxqYFIAgGkL8LAQVNy3wcfVrTnIkyEsokCt7DUwVoB4Ab4q838MvA== tarball: file:projects/video-analyzer-edge.tgz version: 0.0.0 file:projects/web-pubsub-express.tgz: @@ -11846,11 +11896,12 @@ packages: dev: false name: '@rush-temp/web-pubsub-express' resolution: - integrity: sha512-7fhzzPMfrSmDZbdzhtoALZPAyEC+HYfKldEM0RaYayTsuyHOdVz5IwWyKBXMwwCVoiWbbQEtVYf1NbI4e5g3Kg== + integrity: sha512-0BfXTMbuUjTrsR+Tz0lBb+1y+5qhO0XGgmNcy/JjyEZUTn7PccRFYnyK4/wW+St7teCrsF6zampG5ab/h0RhHA== tarball: file:projects/web-pubsub-express.tgz version: 0.0.0 file:projects/web-pubsub.tgz: dependencies: + '@azure/core-tracing': 1.0.0-preview.12 '@azure/identity': 1.3.0 '@microsoft/api-extractor': 7.7.11 '@rollup/plugin-commonjs': 11.0.2_rollup@1.32.1 @@ -11858,6 +11909,7 @@ packages: '@rollup/plugin-multi-entry': 3.0.1_rollup@1.32.1 '@rollup/plugin-node-resolve': 8.4.0_rollup@1.32.1 '@rollup/plugin-replace': 2.4.2_rollup@1.32.1 + '@types/chai': 4.2.19 '@types/jsonwebtoken': 8.5.2 '@types/mocha': 7.0.2 '@types/node': 12.20.15 @@ -11903,7 +11955,7 @@ packages: dev: false name: '@rush-temp/web-pubsub' resolution: - integrity: sha512-NEgAqwtqpS48OPZ9oNnVcyOUBN9+cdG8bmcyFPVcH69lHkGVUKUTWlYQKAer1xuBZbdvZrw7l8UjrFtpnVCqaw== + integrity: sha512-KzxOCN28tIw0iRDU4HUJ3S3wEcHv/WdKeA29HKgcFMb2DxK2EFvuX6Ih+jAI/M9LYp5Kpwni26AoZTW3KBlENw== tarball: file:projects/web-pubsub.tgz version: 0.0.0 registry: '' diff --git a/sdk/core/core-lro/CHANGELOG.md b/sdk/core/core-lro/CHANGELOG.md index 125462933aee..0b40289a4156 100644 --- a/sdk/core/core-lro/CHANGELOG.md +++ b/sdk/core/core-lro/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 2.0.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 2.0.0 (2021-06-30) ### New Features diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index 09e707e2024e..1aef46f31010 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -2,7 +2,7 @@ "name": "@azure/core-lro", "author": "Microsoft Corporation", "sdk-type": "client", - "version": "2.0.0", + "version": "2.0.1", "description": "LRO Polling strategy for the Azure SDK in TypeScript", "tags": [ "isomorphic", diff --git a/sdk/core/core-rest-pipeline/CHANGELOG.md b/sdk/core/core-rest-pipeline/CHANGELOG.md index 7e390b51db1b..2f399c62c7cd 100644 --- a/sdk/core/core-rest-pipeline/CHANGELOG.md +++ b/sdk/core/core-rest-pipeline/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 1.1.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 1.1.0 (2021-06-30) ### Fixed diff --git a/sdk/core/core-rest-pipeline/package.json b/sdk/core/core-rest-pipeline/package.json index 965dbc8372ea..6be69ef02ab8 100644 --- a/sdk/core/core-rest-pipeline/package.json +++ b/sdk/core/core-rest-pipeline/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-rest-pipeline", - "version": "1.1.0", + "version": "1.1.1", "description": "Isomorphic client library for making HTTP requests in node.js and browser.", "sdk-type": "client", "main": "dist/index.js", diff --git a/sdk/core/core-rest-pipeline/src/constants.ts b/sdk/core/core-rest-pipeline/src/constants.ts index 9ffa1892ce39..fc5d91c7ffb5 100644 --- a/sdk/core/core-rest-pipeline/src/constants.ts +++ b/sdk/core/core-rest-pipeline/src/constants.ts @@ -1,4 +1,4 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -export const SDK_VERSION: string = "1.1.0"; +export const SDK_VERSION: string = "1.1.1"; diff --git a/sdk/core/core-tracing/CHANGELOG.md b/sdk/core/core-tracing/CHANGELOG.md index b77e8e9407d0..8f1955769511 100644 --- a/sdk/core/core-tracing/CHANGELOG.md +++ b/sdk/core/core-tracing/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 1.0.0-preview.13 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 1.0.0-preview.12 (2021-06-30) - Update `@opentelemetry/api` to version 1.0.0 [PR #15883](https://github.com/Azure/azure-sdk-for-js/pull/15883) diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index dd09c41e9697..39c672afade9 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-tracing", - "version": "1.0.0-preview.12", + "version": "1.0.0-preview.13", "description": "Provides low-level interfaces and helper methods for tracing in Azure SDK", "sdk-type": "client", "main": "dist/index.js", From cec69b64895172f5d234c1cb703387fa6fedf600 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 30 Jun 2021 16:46:01 -0700 Subject: [PATCH 103/134] Increment version for core releases (#16125) * Increment package version after release of azure-core-http * Increment package version after release of azure-core-client --- sdk/core/core-client/CHANGELOG.md | 11 +++++++++++ sdk/core/core-client/package.json | 2 +- sdk/core/core-http/CHANGELOG.md | 11 +++++++++++ sdk/core/core-http/package.json | 2 +- sdk/core/core-http/src/util/constants.ts | 2 +- 5 files changed, 25 insertions(+), 3 deletions(-) diff --git a/sdk/core/core-client/CHANGELOG.md b/sdk/core/core-client/CHANGELOG.md index 951fa6b0ba5a..2e2a6a713a85 100644 --- a/sdk/core/core-client/CHANGELOG.md +++ b/sdk/core/core-client/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 1.2.2 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 1.2.1 (2021-06-30) ### Features Added diff --git a/sdk/core/core-client/package.json b/sdk/core/core-client/package.json index 4e8bb2652239..54de5d5ea995 100644 --- a/sdk/core/core-client/package.json +++ b/sdk/core/core-client/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-client", - "version": "1.2.1", + "version": "1.2.2", "description": "Core library for interfacing with AutoRest generated code", "sdk-type": "client", "main": "dist/index.js", diff --git a/sdk/core/core-http/CHANGELOG.md b/sdk/core/core-http/CHANGELOG.md index 11f46c8f0d36..eea52808ccd9 100644 --- a/sdk/core/core-http/CHANGELOG.md +++ b/sdk/core/core-http/CHANGELOG.md @@ -1,5 +1,16 @@ # Release History +## 2.0.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Key Bugs Fixed + +### Fixed + + ## 2.0.0 (2021-06-30) ### Features Added diff --git a/sdk/core/core-http/package.json b/sdk/core/core-http/package.json index 08e6375a9157..af60e9a37987 100644 --- a/sdk/core/core-http/package.json +++ b/sdk/core/core-http/package.json @@ -2,7 +2,7 @@ "name": "@azure/core-http", "sdk-type": "client", "author": "Microsoft Corporation", - "version": "2.0.0", + "version": "2.0.1", "description": "Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest", "tags": [ "isomorphic", diff --git a/sdk/core/core-http/src/util/constants.ts b/sdk/core/core-http/src/util/constants.ts index 54d629cd1412..07ffc73aeee1 100644 --- a/sdk/core/core-http/src/util/constants.ts +++ b/sdk/core/core-http/src/util/constants.ts @@ -5,7 +5,7 @@ export const Constants = { /** * The core-http version */ - coreHttpVersion: "2.0.0", + coreHttpVersion: "2.0.1", /** * Specifies HTTP. From d75f119fd62577cd5189b1b7c4d01993b2e5bab8 Mon Sep 17 00:00:00 2001 From: Richard Park <51494936+richardpark-msft@users.noreply.github.com> Date: Wed, 30 Jun 2021 18:43:14 -0700 Subject: [PATCH 104/134] [service-bus] Fix message loss issues with peekLock and receiveAndDelete (#15989) Fixing an issue where we could lose messages or provoke an alarming message from rhea (`Received transfer when credit was 0`) The message loss issue is related to how we trigger 'drain' using 'addCredit(1)'. Our 'receiver.drain; receiver.addCredit(1)' pattern actually does add a credit, which shows up in the flow frame that gets sent for our drain. This has led to occasionally receiving more messages than we intended. The second part of this was that we were masking this error because we had code that specifically threw out messages if more arrived than were requested. If the message was being auto-renewed it's possible for the message to appear to be missing, and if we were in receiveAndDelete the message is effectively lost at that point. That code is now removed (we defer to just allowing the extrra message, should a bug arise that causes that) and we log an error indicating it did happen. The rhea error message appeared to be triggered by our accidentally allowing multiple overlapping 'drain's to occur (finalAction did not check to see if we were _already_ draining and would allow it to happen multiple times). Removing the concurrent drains fixed this issue but I didn't fully investigate why. Fixes #15606, #15115 --- common/config/rush/pnpm-lock.yaml | 31 +- sdk/core/core-amqp/CHANGELOG.md | 11 +- sdk/core/core-amqp/package.json | 6 +- sdk/eventhub/event-hubs/package.json | 2 +- sdk/eventhub/mock-hub/package.json | 2 +- sdk/servicebus/service-bus/CHANGELOG.md | 10 +- sdk/servicebus/service-bus/package.json | 2 +- .../service-bus/src/core/batchingReceiver.ts | 49 ++- .../service-bus/src/core/receiverHelper.ts | 5 +- .../test/internal/batchReceiver.spec.ts | 21 +- .../test/internal/smoketest.spec.ts | 5 +- .../internal/unit/batchingReceiver.spec.ts | 355 ++++++++++-------- .../test/internal/unit/messageSession.spec.ts | 26 +- .../test/internal/unit/unittestUtils.ts | 32 +- .../test/stress/scenarioLongRunning.ts | 21 +- .../stress/scenarioShortLivedReceivers.ts | 347 +++++++++++++++++ .../test/stress/serviceBusStressTester.ts | 88 +++-- 17 files changed, 735 insertions(+), 278 deletions(-) create mode 100644 sdk/servicebus/service-bus/test/stress/scenarioShortLivedReceivers.ts diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index c1958d7937e9..72b8c87c5b2f 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -6552,26 +6552,26 @@ packages: dev: false resolution: integrity: sha512-+6uilZXSJGyiqVeHQI3Krv6NTAd8cWRCY2uyCxmzR4/5IFtBqqFem1HV2OiwSj0Gu7OFChIJDfH2JyjN7J0vRA== - /rhea-promise/2.0.0: + /rhea-promise/2.1.0: dependencies: debug: 3.2.7 - rhea: 2.0.2 + rhea: 2.0.3 tslib: 2.3.0 dev: false resolution: - integrity: sha512-hoK6pTrFyIFDp0jrC2FQXzZPFnJXG78OHikpSHeC2gjdKGT+ofoFsbbxA0FcYjBqU2r2hDKRZbacBBvGtGAzhw== + integrity: sha512-CRMwdJ/o4oO/xKcvAwAsd0AHy5fVvSlqso7AadRmaaLGzAzc9LCoW7FOFnucI8THasVmOeCnv5c/fH/n7FcNaA== /rhea/1.0.24: dependencies: debug: 3.2.7 dev: false resolution: integrity: sha512-PEl62U2EhxCO5wMUZ2/bCBcXAVKN9AdMSNQOrp3+R5b77TEaOSiy16MQ0sIOmzj/iqsgIAgPs1mt3FYfu1vIXA== - /rhea/2.0.2: + /rhea/2.0.3: dependencies: debug: 3.2.7 dev: false resolution: - integrity: sha512-G2QqyVzRnZvv+WkpKBmWrVmkeeLRX7xKZB3wutU2fs/qvr4PJvAqKO7ymSYX/0dm2xt1QhNJO/Af17x49f7FBw== + integrity: sha512-goQWv15ci6RdjtSpDezknlJ0PQDDkkJiMVxC3oS8DpECnzLFov01WMJ23cpXW+L3hlSQwyunqX9kc0JW6/lziw== /rimraf/2.7.1: dependencies: glob: 7.1.7 @@ -8347,7 +8347,7 @@ packages: dev: false name: '@rush-temp/ai-text-analytics' resolution: - integrity: sha512-xOTFTYbC7zkPZU+4uJ63+sFWxsXvaQQwQRRQpeH0x8TbxUpWfELGqZ7tmkaqiiA/kWNSjwRweMooEPznC2/0XA== + integrity: sha512-vf8Pnl7FTqnmhkjs7l9bLgV6pbmosqg0oPmo/hOA3kaE5Ekj+4sryjMjcwoi2mexR7wFEO2Ck2K1KBYPnyRTiQ== tarball: file:projects/ai-text-analytics.tgz version: 0.0.0 file:projects/app-configuration.tgz: @@ -8903,8 +8903,8 @@ packages: prettier: 1.19.1 process: 0.11.10 puppeteer: 3.3.0 - rhea: 2.0.2 - rhea-promise: 2.0.0 + rhea: 2.0.3 + rhea-promise: 2.1.0 rimraf: 3.0.2 rollup: 1.32.1 rollup-plugin-shim: 1.0.0 @@ -8921,7 +8921,7 @@ packages: dev: false name: '@rush-temp/core-amqp' resolution: - integrity: sha512-NsjbIvK0AepoWd0jHaFjQIsq2AIm10LaxkUXhc55cqQTJUCfPmPjw/OENA/4TcvI7c9lMe+5ZhGxyEbTiUI0Xw== + integrity: sha512-FHTxFxeancQjNBMEO+8O8eirRfSQp0TUzFfwBEBKy+/psSDQnFUCiVuYo9Q1DoXUDTFNX56lGOEhcuiG2fp7GA== tarball: file:projects/core-amqp.tgz version: 0.0.0 file:projects/core-asynciterator-polyfill.tgz: @@ -9732,6 +9732,7 @@ packages: buffer: 5.7.1 chai: 4.3.4 chai-as-promised: 7.1.1_chai@4.3.4 + chai-exclude: 2.0.3_chai@4.3.4 chai-string: 1.5.0_chai@4.3.4 cross-env: 7.0.3 debug: 4.3.1 @@ -9760,7 +9761,7 @@ packages: prettier: 1.19.1 process: 0.11.10 puppeteer: 3.3.0 - rhea-promise: 2.0.0 + rhea-promise: 2.1.0 rimraf: 3.0.2 rollup: 1.32.1 rollup-plugin-shim: 1.0.0 @@ -9776,7 +9777,7 @@ packages: dev: false name: '@rush-temp/event-hubs' resolution: - integrity: sha512-WNJyVRH8bzOhs/DZ6caEh2RTqDJ4yO/U/yvcrY1F8Vzdb9RA0wRHZ4J+iROn6z07M1uMw6SbP/O21YoiSdWb8g== + integrity: sha512-/EtEDC3Q1pKc+3/XrfBrbs7bBwQDV42aTIg9WMVRo0bjdBC6Wr8iIVvyCQMzgnQ9MbDQeHA/cILgbBZgfkgHLw== tarball: file:projects/event-hubs.tgz version: 0.0.0 file:projects/event-processor-host.tgz: @@ -10471,14 +10472,14 @@ packages: dotenv: 8.6.0 eslint: 7.29.0 prettier: 1.19.1 - rhea: 2.0.2 + rhea: 2.0.3 rimraf: 3.0.2 tslib: 2.3.0 typescript: 4.2.4 dev: false name: '@rush-temp/mock-hub' resolution: - integrity: sha512-w4gQTrqQney0Jkj0NMc1D9KrgNJ1upzYkheaNFdeA84uApywwVloe7o8mOhGMVhzR1uQMsq2zFlNGdDgbByDog== + integrity: sha512-K6rFTLoACIBX5It6x5v3r668Kpt7jjkgCeukzTyZ13cvPrjqJ4M7L9y0oU2ECIigGm59cbHx4sWOX/rHAhELhw== tarball: file:projects/mock-hub.tgz version: 0.0.0 file:projects/monitor-opentelemetry-exporter.tgz: @@ -11160,7 +11161,7 @@ packages: process: 0.11.10 promise: 8.1.0 puppeteer: 3.3.0 - rhea-promise: 2.0.0 + rhea-promise: 2.1.0 rimraf: 3.0.2 rollup: 1.32.1 rollup-plugin-shim: 1.0.0 @@ -11175,7 +11176,7 @@ packages: dev: false name: '@rush-temp/service-bus' resolution: - integrity: sha512-n1TTvwS5Z9hDPLyLYzZQbZONAM0ZqDz2pT8Q3XopMzeCYQIw9Iuj+fCtCDm1MQsVuo2rbVGGMzA6AqqivD2F8A== + integrity: sha512-UBMn4Zxni71LSfmuDpKr50cz6JFTgZxnuM8ESeHPfMa5Ibzx1b8lLbURKcqiqRaatEyxueFRzESf46JDUv78ug== tarball: file:projects/service-bus.tgz version: 0.0.0 file:projects/storage-blob-changefeed.tgz: diff --git a/sdk/core/core-amqp/CHANGELOG.md b/sdk/core/core-amqp/CHANGELOG.md index a26a03e169fd..65754897e780 100644 --- a/sdk/core/core-amqp/CHANGELOG.md +++ b/sdk/core/core-amqp/CHANGELOG.md @@ -1,15 +1,12 @@ # Release History -## 3.0.1 (Unreleased) - -### Features Added - -### Breaking Changes +## 3.1.0 (Unreleased) ### Key Bugs Fixed -### Fixed - +- Updated to use the latest version of the `rhea` package. + Part of a fix for PR#15989, where draining messages could sometimes lead to message loss with `receiver.receiveMessages()`. + [PR#15989](https://github.com/Azure/azure-sdk-for-js/pull/15989) ## 3.0.0 (2021-06-09) diff --git a/sdk/core/core-amqp/package.json b/sdk/core/core-amqp/package.json index 02aa3ab9fba8..3d0424cf39a0 100644 --- a/sdk/core/core-amqp/package.json +++ b/sdk/core/core-amqp/package.json @@ -1,7 +1,7 @@ { "name": "@azure/core-amqp", "sdk-type": "client", - "version": "3.0.1", + "version": "3.1.0", "description": "Common library for amqp based azure sdks like @azure/event-hubs.", "author": "Microsoft Corporation", "license": "MIT", @@ -76,8 +76,8 @@ "events": "^3.0.0", "jssha": "^3.1.0", "process": "^0.11.10", - "rhea": "^2.0.2", - "rhea-promise": "^2.0.0", + "rhea": "^2.0.3", + "rhea-promise": "^2.1.0", "tslib": "^2.2.0", "url": "^0.11.0", "util": "^0.12.1" diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index 953a510a95a0..555d4e7c215b 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -115,7 +115,7 @@ "is-buffer": "^2.0.3", "jssha": "^3.1.0", "process": "^0.11.10", - "rhea-promise": "^2.0.0", + "rhea-promise": "^2.1.0", "tslib": "^2.2.0", "uuid": "^8.3.0" }, diff --git a/sdk/eventhub/mock-hub/package.json b/sdk/eventhub/mock-hub/package.json index 8fa980a59215..a4bc00a2a119 100644 --- a/sdk/eventhub/mock-hub/package.json +++ b/sdk/eventhub/mock-hub/package.json @@ -62,7 +62,7 @@ "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-asynciterator-polyfill": "^1.0.0", - "rhea": "^2.0.2", + "rhea": "^2.0.3", "tslib": "^2.2.0" }, "//sampleConfiguration": { diff --git a/sdk/servicebus/service-bus/CHANGELOG.md b/sdk/servicebus/service-bus/CHANGELOG.md index 1d22f6cf2102..99e2a24d3f8f 100644 --- a/sdk/servicebus/service-bus/CHANGELOG.md +++ b/sdk/servicebus/service-bus/CHANGELOG.md @@ -1,14 +1,14 @@ # Release History -## 7.3.0 (Unreleased) - +## 7.3.0 (2021-07-06) ### Features Added -- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. - -### Breaking Changes +- With the dropping of support for Node.js versions that are no longer in LTS, the dependency on `@types/node` has been updated to version 12. Read our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. ### Key Bugs Fixed +- Fixed a bug that could lead to message loss in certain conditions when using `receiver.receiveMessages()`. + [PR#15989](https://github.com/Azure/azure-sdk-for-js/pull/15989) + ### Fixed - Fixing an issue where the internal link cache would not properly remove closed links. diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index bd84a044cbef..1f4b33d69e0d 100644 --- a/sdk/servicebus/service-bus/package.json +++ b/sdk/servicebus/service-bus/package.json @@ -126,7 +126,7 @@ "long": "^4.0.0", "process": "^0.11.10", "tslib": "^2.2.0", - "rhea-promise": "^2.0.0" + "rhea-promise": "^2.1.0" }, "devDependencies": { "@azure/dev-tool": "^1.0.0", diff --git a/sdk/servicebus/service-bus/src/core/batchingReceiver.ts b/sdk/servicebus/service-bus/src/core/batchingReceiver.ts index 413203ff3d03..e21d125163c1 100644 --- a/sdk/servicebus/service-bus/src/core/batchingReceiver.ts +++ b/sdk/servicebus/service-bus/src/core/batchingReceiver.ts @@ -8,7 +8,7 @@ import { OnAmqpEvent, ReceiverEvents, SessionEvents, - Receiver, + Receiver as RheaPromiseReceiver, Session } from "rhea-promise"; import { ServiceBusMessageImpl } from "../serviceBusMessage"; @@ -191,7 +191,10 @@ export function getRemainingWaitTimeInMsFn( * * @internal */ -type EventEmitterLike = Pick; +type EventEmitterLike = Pick< + T, + "once" | "removeListener" | "on" +>; /** * The bare minimum needed to receive messages for batched @@ -199,8 +202,11 @@ type EventEmitterLike = Pick & - EventEmitterLike & { +export type MinimalReceiver = Pick< + RheaPromiseReceiver, + "name" | "isOpen" | "credit" | "addCredit" | "drain" | "drainCredit" +> & + EventEmitterLike & { session: EventEmitterLike; } & { connection: { @@ -269,6 +275,7 @@ export class BatchingReceiverLite { private _getRemainingWaitTimeInMsFn: typeof getRemainingWaitTimeInMsFn; private _closeHandler: ((connectionError?: AmqpError | Error) => void) | undefined; + private _finalAction: (() => void) | undefined; isReceivingMessages: boolean; @@ -389,16 +396,17 @@ export class BatchingReceiverLite { // - maxMessageCount is reached or // - maxWaitTime is passed or // - newMessageWaitTimeoutInSeconds is passed since the last message was received - const finalAction = (): void => { + this._finalAction = (): void => { + if (receiver.drain) { + // If a drain is already in process then we should let it complete. Some messages might still be in flight, but they will + // arrive before the drain completes. + return; + } + // Drain any pending credits. if (receiver.isOpen() && receiver.credit > 0) { logger.verbose(`${loggingPrefix} Draining leftover credits(${receiver.credit}).`); - - // setting .drain and combining it with .addCredit results in (eventually) sending - // a drain request to Service Bus. When the drain completes rhea will call `onReceiveDrain` - // at which point we'll wrap everything up and resolve the promise. - receiver.drain = true; - receiver.addCredit(1); + receiver.drainCredit(); } else { logger.verbose( `${loggingPrefix} Resolving receiveMessages() with ${brokeredMessages.length} messages.` @@ -429,15 +437,24 @@ export class BatchingReceiverLite { logger.verbose( `${loggingPrefix} Batching, waited for ${remainingWaitTimeInMs} milliseconds after receiving the first message.` ); - finalAction(); + this._finalAction!(); }, remainingWaitTimeInMs); } } try { const data: ServiceBusMessageImpl = this._createServiceBusMessage(context); - if (brokeredMessages.length < args.maxMessageCount) { - brokeredMessages.push(data); + brokeredMessages.push(data); + + // NOTE: we used to actually "lose" any extra messages. At this point I've fixed the areas that were causing us to receive + // extra messages but if this bug arises in some other way it's better to return the message than it would be to let it be + // silently dropped on the floor. + if (brokeredMessages.length > args.maxMessageCount) { + logger.warning( + `More messages arrived than were expected: ${ + args.maxMessageCount + } vs ${brokeredMessages.length + 1}` + ); } } catch (err) { const errObj = err instanceof Error ? err : new Error(JSON.stringify(err)); @@ -448,7 +465,7 @@ export class BatchingReceiverLite { reject(errObj); } if (brokeredMessages.length === args.maxMessageCount) { - finalAction(); + this._finalAction!(); } }; @@ -515,7 +532,7 @@ export class BatchingReceiverLite { logger.verbose( `${loggingPrefix} Batching, waited for max wait time ${args.maxWaitTimeInMs} milliseconds.` ); - finalAction(); + this._finalAction!(); }, args.maxWaitTimeInMs); receiver.on(ReceiverEvents.message, onReceiveMessage); diff --git a/sdk/servicebus/service-bus/src/core/receiverHelper.ts b/sdk/servicebus/service-bus/src/core/receiverHelper.ts index 68c3ea6fd405..80086cc03d73 100644 --- a/sdk/servicebus/service-bus/src/core/receiverHelper.ts +++ b/sdk/servicebus/service-bus/src/core/receiverHelper.ts @@ -132,10 +132,7 @@ export class ReceiverHelper { resolve(); }); - receiver.drain = true; - // this is not actually adding another credit - it'll just - // cause the drain call to start. - receiver.addCredit(1); + receiver.drainCredit(); }); return drainPromise; diff --git a/sdk/servicebus/service-bus/test/internal/batchReceiver.spec.ts b/sdk/servicebus/service-bus/test/internal/batchReceiver.spec.ts index a5ee9c1fa6bc..f86470518e13 100644 --- a/sdk/servicebus/service-bus/test/internal/batchReceiver.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/batchReceiver.spec.ts @@ -1388,24 +1388,13 @@ function causeDisconnectDuringDrain( throw new Error("No active link for batching receiver"); } - const origAddCredit = link.addCredit; - - // We want to simulate a disconnect once the batching receiver is draining. - // We can detect when the receiver enters a draining state when `addCredit` is - // called while didRequestDrainResolver is called to resolve the promise. - const addCreditThatImmediatelyDetaches = function(credits: number): void { - origAddCredit.call(link, credits); - - if (link.drain && credits === 1) { - // initiate the detach now (prior to any possibilty of the 'drain' call being scheduled) - batchingReceiver - .onDetached(new Error("Test: fake connection failure")) - .then(() => resolveOnDetachedCallPromise()); - } + link["drainCredit"] = () => { + // don't send the drain request, we'll just detach. + batchingReceiver + .onDetached(new Error("Test: fake connection failure")) + .then(() => resolveOnDetachedCallPromise()); }; - link["addCredit"] = addCreditThatImmediatelyDetaches; - return { onDetachedCalledPromise }; diff --git a/sdk/servicebus/service-bus/test/internal/smoketest.spec.ts b/sdk/servicebus/service-bus/test/internal/smoketest.spec.ts index eb2182e64b03..6b5b6f1cf999 100644 --- a/sdk/servicebus/service-bus/test/internal/smoketest.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/smoketest.spec.ts @@ -20,7 +20,10 @@ import { chai.use(chaiAsPromised); const assert = chai.assert; -describe("Sample scenarios for track 2", () => { +/** + * A basic suite that exercises most of the core functionality. + */ +describe("Smoke tests", () => { let serviceBusClient: ServiceBusClientForTests; before(async () => { diff --git a/sdk/servicebus/service-bus/test/internal/unit/batchingReceiver.spec.ts b/sdk/servicebus/service-bus/test/internal/unit/batchingReceiver.spec.ts index 111a7d1c782b..b22b09bf163b 100644 --- a/sdk/servicebus/service-bus/test/internal/unit/batchingReceiver.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/unit/batchingReceiver.spec.ts @@ -19,14 +19,12 @@ import { createAbortSignalForTest } from "../../public/utils/abortSignalTestUtil import { AbortController } from "@azure/abort-controller"; import { ServiceBusMessageImpl } from "../../../src/serviceBusMessage"; import { - Receiver as RheaReceiver, + Receiver as RheaPromiseReceiver, ReceiverEvents, SessionEvents, EventContext, - Message as RheaMessage, - Receiver + Message as RheaMessage } from "rhea-promise"; -import { OnAmqpEventAsPromise } from "../../../src/core/messageReceiver"; import { ConnectionContext } from "../../../src/connectionContext"; import { ServiceBusReceiverImpl } from "../../../src/receivers/receiver"; import { OperationOptionsBase } from "../../../src/modelsToBeSharedWithEventHubs"; @@ -148,7 +146,7 @@ describe("BatchingReceiver unit tests", () => { listeners.add(eventType); } } - } as any) as RheaReceiver; + } as any) as RheaPromiseReceiver; abortController.abort(); }; @@ -190,7 +188,7 @@ describe("BatchingReceiver unit tests", () => { }); it("1. We received 'max messages'", async () => { - const receiver = new BatchingReceiver( + const batchingReceiver = new BatchingReceiver( createConnectionContextForTests(), "dummyEntityPath", { @@ -198,17 +196,15 @@ describe("BatchingReceiver unit tests", () => { lockRenewer: undefined } ); - closeables.push(receiver); + closeables.push(batchingReceiver); - const { receiveIsReady, emitter, remainingRegisteredListeners } = setupBatchingReceiver( - receiver - ); + const { receiveIsReady, rheaReceiver } = setupBatchingReceiver(batchingReceiver); - const receivePromise = receiver.receive(1, bigTimeout, bigTimeout, {}); + const receivePromise = batchingReceiver.receive(1, bigTimeout, bigTimeout, {}); await receiveIsReady; // batch fulfillment is checked when we receive a message... - emitter.emit(ReceiverEvents.message, { + rheaReceiver.emit(ReceiverEvents.message, { message: { body: "the message" } as RheaMessage } as EventContext); @@ -218,7 +214,7 @@ describe("BatchingReceiver unit tests", () => { ["the message"] ); - assert.isEmpty(remainingRegisteredListeners); + assertListenersRemoved(rheaReceiver); }).timeout(5 * 1000); // in the new world the overall timeout firing means we've received _no_ messages @@ -234,19 +230,19 @@ describe("BatchingReceiver unit tests", () => { ); closeables.push(receiver); - const { receiveIsReady, remainingRegisteredListeners } = setupBatchingReceiver(receiver); + const { receiveIsReady, rheaReceiver } = setupBatchingReceiver(receiver); const receivePromise = receiver.receive(1, littleTimeout, bigTimeout, {}); await receiveIsReady; // force the overall timeout to fire - clock.tick(littleTimeout); + clock.tick(littleTimeout + 1); const messages = await receivePromise; assert.isEmpty(messages); - assert.isEmpty(remainingRegisteredListeners); + assertListenersRemoved(rheaReceiver); }).timeout(5 * 1000); // TODO: there's a bug that needs some more investigation where receiveAndDelete loses messages if we're @@ -256,7 +252,7 @@ describe("BatchingReceiver unit tests", () => { (lockMode === "peekLock" ? it : it.skip)( `3a. (with idle timeout) We've received 1 message and _now_ have exceeded 'max wait time past first message'`, async () => { - const receiver = new BatchingReceiver( + const batchingReceiver = new BatchingReceiver( createConnectionContextForTests(), "dummyEntityPath", { @@ -264,18 +260,15 @@ describe("BatchingReceiver unit tests", () => { lockRenewer: undefined } ); - closeables.push(receiver); + closeables.push(batchingReceiver); - const { receiveIsReady, emitter, remainingRegisteredListeners } = setupBatchingReceiver( - receiver, - clock - ); + const { receiveIsReady, rheaReceiver } = setupBatchingReceiver(batchingReceiver, clock); - const receivePromise = receiver.receive(3, bigTimeout, littleTimeout, {}); + const receivePromise = batchingReceiver.receive(3, bigTimeout, littleTimeout, {}); await receiveIsReady; // batch fulfillment is checked when we receive a message... - emitter.emit(ReceiverEvents.message, { + rheaReceiver.emit(ReceiverEvents.message, { message: { body: "the first message" } as RheaMessage } as EventContext); @@ -285,7 +278,7 @@ describe("BatchingReceiver unit tests", () => { // now emit a second message - this second message should _not_ change any existing timers // or start new ones. - emitter.emit(ReceiverEvents.message, { + rheaReceiver.emit(ReceiverEvents.message, { message: { body: "the second message" } as RheaMessage } as EventContext); @@ -298,7 +291,7 @@ describe("BatchingReceiver unit tests", () => { ["the first message", "the second message"] ); - assert.isEmpty(remainingRegisteredListeners); + assertListenersRemoved(rheaReceiver); } ).timeout(5 * 1000); @@ -307,7 +300,7 @@ describe("BatchingReceiver unit tests", () => { // the duration of time given (or max messages) with no idle timer. // When we eliminate that bug we can remove this test in favor of the idle timeout test above. (lockMode === "receiveAndDelete" ? it : it.skip)(`3b. (without idle timeout)`, async () => { - const receiver = new BatchingReceiver( + const batchingReceiver = new BatchingReceiver( createConnectionContextForTests(), "dummyEntityPath", { @@ -315,17 +308,15 @@ describe("BatchingReceiver unit tests", () => { lockRenewer: undefined } ); - closeables.push(receiver); + closeables.push(batchingReceiver); - const { receiveIsReady, emitter, remainingRegisteredListeners } = setupBatchingReceiver( - receiver - ); + const { receiveIsReady, rheaReceiver } = setupBatchingReceiver(batchingReceiver); - const receivePromise = receiver.receive(3, bigTimeout, littleTimeout, {}); + const receivePromise = batchingReceiver.receive(3, bigTimeout, littleTimeout, {}); await receiveIsReady; // batch fulfillment is checked when we receive a message... - emitter.emit(ReceiverEvents.message, { + rheaReceiver.emit(ReceiverEvents.message, { message: { body: "the first message" } as RheaMessage @@ -337,7 +328,7 @@ describe("BatchingReceiver unit tests", () => { // ...and emit another message _after_ the idle timer would have fired. Now when we advance // the time all the way.... - emitter.emit(ReceiverEvents.message, { + rheaReceiver.emit(ReceiverEvents.message, { message: { body: "the second message" } as RheaMessage @@ -353,7 +344,7 @@ describe("BatchingReceiver unit tests", () => { ["the first message", "the second message"] ); - assert.isEmpty(remainingRegisteredListeners); + assertListenersRemoved(rheaReceiver); }).timeout(5 * 1000); // TODO: there's a bug that needs some more investigation where receiveAndDelete loses messages if we're @@ -363,7 +354,7 @@ describe("BatchingReceiver unit tests", () => { (lockMode === "peekLock" ? it : it.skip)( "4. sanity check that we're using getRemainingWaitTimeInMs", async () => { - const receiver = new BatchingReceiver( + const batchingReceiver = new BatchingReceiver( createConnectionContextForTests(), "dummyEntityPath", { @@ -371,10 +362,10 @@ describe("BatchingReceiver unit tests", () => { lockRenewer: undefined } ); - closeables.push(receiver); + closeables.push(batchingReceiver); - const { receiveIsReady, emitter, remainingRegisteredListeners } = setupBatchingReceiver( - receiver, + const { receiveIsReady, rheaReceiver: emitter } = setupBatchingReceiver( + batchingReceiver, clock ); @@ -382,7 +373,7 @@ describe("BatchingReceiver unit tests", () => { const arbitraryAmountOfTimeInMs = 40; - receiver["_batchingReceiverLite"]["_getRemainingWaitTimeInMsFn"] = ( + batchingReceiver["_batchingReceiverLite"]["_getRemainingWaitTimeInMsFn"] = ( maxWaitTimeInMs: number, maxTimeAfterFirstMessageMs: number ) => { @@ -398,7 +389,7 @@ describe("BatchingReceiver unit tests", () => { }; }; - const receivePromise = receiver.receive(3, bigTimeout + 1, bigTimeout + 2, {}); + const receivePromise = batchingReceiver.receive(3, bigTimeout + 1, bigTimeout + 2, {}); await receiveIsReady; emitter.emit(ReceiverEvents.message, { @@ -417,7 +408,7 @@ describe("BatchingReceiver unit tests", () => { assert.isTrue(wasCalled); - assert.isEmpty(remainingRegisteredListeners); + assertListenersRemoved(emitter); } ); @@ -426,17 +417,11 @@ describe("BatchingReceiver unit tests", () => { clock?: ReturnType ): { receiveIsReady: Promise; - emitter: EventEmitter; - remainingRegisteredListeners: Set; + rheaReceiver: RheaPromiseReceiver; } { - const { - fakeRheaReceiver, - emitter, - remainingRegisteredListeners, - receiveIsReady - } = createFakeReceiver(clock); + const rheaReceiver = createFakeReceiver(clock); - batchingReceiver["_link"] = fakeRheaReceiver; + batchingReceiver["_link"] = rheaReceiver; batchingReceiver["_batchingReceiverLite"]["_createServiceBusMessage"] = (eventContext) => { return { @@ -444,86 +429,47 @@ describe("BatchingReceiver unit tests", () => { } as ServiceBusMessageImpl; }; + const receiveIsReady = getReceiveIsReadyPromise(batchingReceiver["_batchingReceiverLite"]); + return { receiveIsReady, - emitter, - remainingRegisteredListeners + rheaReceiver }; } }); }); - function createFakeReceiver( - clock?: ReturnType - ): { - receiveIsReady: Promise; - emitter: EventEmitter; - remainingRegisteredListeners: Set; - fakeRheaReceiver: Receiver; - } { - const emitter = new EventEmitter(); - const { promise: receiveIsReady, resolve: resolvePromiseIsReady } = defer(); - let credits = 0; - - const remainingRegisteredListeners = new Set(); - - const fakeRheaReceiver = { - on(evt: ReceiverEvents, handler: OnAmqpEventAsPromise) { - emitter.on(evt, handler); - - if (evt === ReceiverEvents.message) { - --credits; - } + function createFakeReceiver(clock?: ReturnType): RheaPromiseReceiver { + const fakeRheaReceiver = new EventEmitter() as RheaPromiseReceiver; + fakeRheaReceiver.drain = false; - assert.isFalse(remainingRegisteredListeners.has(evt.toString())); - remainingRegisteredListeners.add(evt.toString()); - }, - removeListener(evt: ReceiverEvents, handler: OnAmqpEventAsPromise) { - remainingRegisteredListeners.delete(evt.toString()); - emitter.removeListener(evt, handler); - }, - session: { - on(evt: SessionEvents, handler: OnAmqpEventAsPromise) { - emitter.on(evt, handler); - - if (evt === SessionEvents.sessionClose) { - // this also happens to be the final thing the Promise does - // as part of it's initialization. - resolvePromiseIsReady(); - } + let credit = 0; - assert.isFalse(remainingRegisteredListeners.has(evt.toString())); - remainingRegisteredListeners.add(evt.toString()); - }, - removeListener(evt: SessionEvents, handler: OnAmqpEventAsPromise) { - remainingRegisteredListeners.delete(evt.toString()); - emitter.removeListener(evt, handler); - } - }, - isOpen: () => true, - addCredit: (_credits: number) => { - if (_credits === 1 && fakeRheaReceiver.drain === true) { - // special case - if we're draining we should initiate a drain - emitter.emit(ReceiverEvents.receiverDrained, undefined); - clock?.runAll(); - } else { - credits += _credits; - } - }, - get credit() { - return credits; - }, - connection: { - id: "connection-id" - } - } as RheaReceiver; + fakeRheaReceiver.on(ReceiverEvents.message, function creditRemoverForTests() { + --credit; + }); + (fakeRheaReceiver as any).session = new EventEmitter(); + + fakeRheaReceiver["isOpen"] = () => true; + fakeRheaReceiver["addCredit"] = (_credit: number) => { + credit += _credit; + }; - return { - receiveIsReady, - emitter, - remainingRegisteredListeners, - fakeRheaReceiver + fakeRheaReceiver["drainCredit"] = () => { + fakeRheaReceiver.drain = true; + fakeRheaReceiver.emit(ReceiverEvents.receiverDrained, undefined); + clock?.runAll(); }; + + Object.defineProperty(fakeRheaReceiver, "credit", { + get: () => credit + }); + + (fakeRheaReceiver as any)["connection"] = { + id: "connection-id" + }; + + return fakeRheaReceiver; } describe("getRemainingWaitTimeInMs", () => { @@ -572,9 +518,9 @@ describe("BatchingReceiver unit tests", () => { }); it("isReceivingMessages is properly set and unset when receiving operations run", async () => { - const { fakeRheaReceiver, receiveIsReady } = createFakeReceiver(); + const fakeRheaReceiver = createFakeReceiver(); - const receiver = new BatchingReceiverLite( + const batchingReceiver = new BatchingReceiverLite( createConnectionContextForTests(), "fakeEntityPath", async () => { @@ -583,27 +529,28 @@ describe("BatchingReceiver unit tests", () => { "peekLock" ); - assert.isFalse(receiver.isReceivingMessages); + assert.isFalse(batchingReceiver.isReceivingMessages); + const receiveIsReady = getReceiveIsReadyPromise(batchingReceiver); - const prm = receiver.receiveMessages({ + const prm = batchingReceiver.receiveMessages({ maxMessageCount: 1, - maxTimeAfterFirstMessageInMs: 1, - maxWaitTimeInMs: 1 + maxTimeAfterFirstMessageInMs: 20, + maxWaitTimeInMs: 10 }); - assert.isTrue(receiver.isReceivingMessages); + assert.isTrue(batchingReceiver.isReceivingMessages); await receiveIsReady; - await clock.tick(1); + await clock.tick(10 + 1); await prm; - assert.isFalse(receiver.isReceivingMessages); + assert.isFalse(batchingReceiver.isReceivingMessages); }); it("batchingReceiverLite.close(actual-error) - throws the error from the current receiverMessages() call", async () => { - const { fakeRheaReceiver, receiveIsReady } = createFakeReceiver(); + const fakeRheaReceiver = createFakeReceiver(); - const receiver = new BatchingReceiverLite( + const batchingReceiver = new BatchingReceiverLite( {} as ConnectionContext, "fakeEntityPath", async () => { @@ -612,18 +559,20 @@ describe("BatchingReceiver unit tests", () => { "peekLock" ); - assert.notExists(receiver["_closeHandler"]); + assert.notExists(batchingReceiver["_closeHandler"]); - const receiveMessagesPromise = receiver.receiveMessages({ + const receiveIsReady = getReceiveIsReadyPromise(batchingReceiver); + + const receiveMessagesPromise = batchingReceiver.receiveMessages({ maxMessageCount: 1, maxTimeAfterFirstMessageInMs: 1, maxWaitTimeInMs: 1 }); await receiveIsReady; - assert.exists(receiver["_closeHandler"]); + assert.exists(batchingReceiver["_closeHandler"]); - await receiver.terminate(new Error("actual error")); + await batchingReceiver.terminate(new Error("actual error")); try { await receiveMessagesPromise; @@ -634,9 +583,9 @@ describe("BatchingReceiver unit tests", () => { }); it("batchingReceiverLite.close() (ie, no error) just shuts down the current operation with no error", async () => { - const { fakeRheaReceiver } = createFakeReceiver(); + const fakeRheaReceiver = createFakeReceiver(); - const receiver = new BatchingReceiverLite( + const batchingReceiver = new BatchingReceiverLite( createConnectionContextForTests(), "fakeEntityPath", async () => { @@ -645,13 +594,13 @@ describe("BatchingReceiver unit tests", () => { "peekLock" ); - assert.notExists(receiver["_closeHandler"]); + assert.notExists(batchingReceiver["_closeHandler"]); let resolveWasCalled = false; let rejectWasCalled = false; - receiver["_receiveMessagesImpl"]( - (await receiver["_getCurrentReceiver"]())!, + batchingReceiver["_receiveMessagesImpl"]( + (await batchingReceiver["_getCurrentReceiver"]())!, { maxMessageCount: 1, maxTimeAfterFirstMessageInMs: 1, @@ -665,11 +614,11 @@ describe("BatchingReceiver unit tests", () => { } ); - assert.exists(receiver["_closeHandler"]); + assert.exists(batchingReceiver["_closeHandler"]); assert.isFalse(resolveWasCalled); assert.isFalse(rejectWasCalled); - receiver.terminate(); + batchingReceiver.terminate(); // these are still false because we used setTimeout() (and we're using sinon) // so the clock is "frozen" @@ -682,12 +631,71 @@ describe("BatchingReceiver unit tests", () => { assert.isTrue(resolveWasCalled); assert.isFalse(rejectWasCalled); }); + + it("finalAction prevents multiple concurrent drain calls", async () => { + // there are unintended side effects if multiple drains are requested (ie - you start to get + // mismatches between responses, resulting in this error message ("Received transfer + // when credit was 0") bring printed by rhea. + const fakeRheaReceiver = createFakeReceiver(); + + const batchingReceiverLite = new BatchingReceiverLite( + createConnectionContextForTests(), + "fakeEntityPath", + async () => { + return fakeRheaReceiver; + }, + "peekLock" + ); + + batchingReceiverLite["_receiveMessagesImpl"]( + fakeRheaReceiver, + { + maxMessageCount: 2, + maxTimeAfterFirstMessageInMs: 1, + maxWaitTimeInMs: 1 + }, + () => {}, + () => {} + ); + + assert.equal( + fakeRheaReceiver.credit, + 2, + "No messages received, nothing drained, should have all the credits from the start." + ); + + const finalAction = batchingReceiverLite["_finalAction"]; + + if (!finalAction) { + throw new Error("No finalAction defined!"); + } + + fakeRheaReceiver.removeAllListeners(ReceiverEvents.receiverDrained); + + // the first call (when there are no received messages) will initiate a drain + assert.isFalse(fakeRheaReceiver.drain); + + const drainCreditSpy = sinon.spy(fakeRheaReceiver, "drainCredit"); + + finalAction(); + + assert.isTrue(drainCreditSpy.calledOnceWith()); + + // also our fix should leave our # of credits untouched (ie, no +1 effect) + assert.equal(fakeRheaReceiver.credit, 2); + + drainCreditSpy.resetHistory(); + + // subsequent calls will not initiate drains. + finalAction(); + assert.isTrue(drainCreditSpy.notCalled); + }); }); it("drain doesn't resolve before message callbacks have completed", async () => { - const { fakeRheaReceiver, emitter, receiveIsReady } = createFakeReceiver(); + const fakeRheaReceiver = createFakeReceiver(); - const receiver = new BatchingReceiverLite( + const batchingReceiverLite = new BatchingReceiverLite( createConnectionContextForTests(), "fakeEntityPath", async () => { @@ -696,7 +704,9 @@ describe("BatchingReceiver unit tests", () => { "peekLock" ); - const receiveMessagesPromise = receiver + const receiveIsReady = getReceiveIsReadyPromise(batchingReceiverLite); + + const receiveMessagesPromise = batchingReceiverLite .receiveMessages({ maxMessageCount: 3, maxTimeAfterFirstMessageInMs: 5000, @@ -740,7 +750,7 @@ describe("BatchingReceiver unit tests", () => { // us to enter into the same task queue as all the message callbacks, and makes it so everything occurs in the // right order. setTimeout(() => { - emitter.emit(ReceiverEvents.message, { + fakeRheaReceiver.emit(ReceiverEvents.message, { message: { body: "the first message", message_annotations: { @@ -750,10 +760,61 @@ describe("BatchingReceiver unit tests", () => { } as EventContext); }); - emitter.emit(ReceiverEvents.receiverDrained, {} as EventContext); + fakeRheaReceiver.emit(ReceiverEvents.receiverDrained, {} as EventContext); const results = await receiveMessagesPromise; assert.equal(1, results.length); }); }); + +function getReceiveIsReadyPromise(batchingReceiverLite: BatchingReceiverLite): Promise { + // receiveMessagesImpl is the 'non-async' method that sets up the receiver and adds credits. So it's a + // perfect method to hook into to test the internals of the BatchingReceiver(Lite) + const orig = batchingReceiverLite["_receiveMessagesImpl"]; + const { resolve, promise } = defer(); + + batchingReceiverLite["_receiveMessagesImpl"] = (...args) => { + orig.call(batchingReceiverLite, ...args); + resolve(); + }; + + return promise; +} + +function assertListenersRemoved(rheaReceiver: RheaPromiseReceiver): void { + const shouldBeEmpty = [ + ReceiverEvents.receiverClose, + ReceiverEvents.receiverDrained, + ReceiverEvents.receiverError, + ReceiverEvents.receiverFlow, + ReceiverEvents.receiverOpen, + ReceiverEvents.settled, + SessionEvents.sessionClose, + SessionEvents.sessionError, + SessionEvents.sessionOpen, + SessionEvents.settled + ]; + + // we add a little credit remover for our tests. Ignore it. + assert.isEmpty( + rheaReceiver + .listeners(ReceiverEvents.message) + .filter((f) => f.name !== "creditRemoverForTests"), + `No listeners (aside from the test credit remover) should be registered for ${ReceiverEvents.message}` + ); + + for (const eventName of shouldBeEmpty) { + assert.isEmpty( + rheaReceiver.listeners(eventName), + `No listeners should be registered for ${eventName} on the receiver` + ); + assert.isEmpty( + rheaReceiver.session.listeners(eventName), + `No listeners should be registered for ${eventName} on the receiver.session` + ); + } + + // check the session as well + rheaReceiver.session; +} diff --git a/sdk/servicebus/service-bus/test/internal/unit/messageSession.spec.ts b/sdk/servicebus/service-bus/test/internal/unit/messageSession.spec.ts index b53c0a15a70d..b915d982377a 100644 --- a/sdk/servicebus/service-bus/test/internal/unit/messageSession.spec.ts +++ b/sdk/servicebus/service-bus/test/internal/unit/messageSession.spec.ts @@ -14,10 +14,10 @@ import sinon, { SinonSpy } from "sinon"; import { EventEmitter } from "events"; import { ReceiverEvents, - Receiver as RheaReceiver, EventContext, Message as RheaMessage, - SessionEvents + SessionEvents, + Receiver as RheaPromiseReceiver } from "rhea-promise"; import { OnAmqpEventAsPromise } from "../../../src/core/messageReceiver"; import { ServiceBusMessageImpl } from "../../../src/serviceBusMessage"; @@ -280,16 +280,16 @@ describe("Message session unit tests", () => { } { const emitter = new EventEmitter(); const { promise: receiveIsReady, resolve: resolvePromiseIsReady } = defer(); - let credits = 0; const remainingRegisteredListeners = new Set(); + let credit = 0; const fakeRheaReceiver = { on(evt: ReceiverEvents, handler: OnAmqpEventAsPromise) { emitter.on(evt, handler); if (evt === ReceiverEvents.message) { - --credits; + --credit; } assert.isFalse(remainingRegisteredListeners.has(evt.toString())); @@ -318,22 +318,20 @@ describe("Message session unit tests", () => { } }, isOpen: () => true, - addCredit: (_credits: number) => { - if (_credits === 1 && fakeRheaReceiver.drain === true) { - // special case - if we're draining we should initiate a drain - emitter.emit(ReceiverEvents.receiverDrained, undefined); - clock?.runAll(); - } else { - credits += _credits; - } + addCredit: (_credit: number) => { + credit += _credit; + }, + drainCredit: () => { + emitter.emit(ReceiverEvents.receiverDrained, undefined); + clock?.runAll(); }, get credit() { - return credits; + return credit; }, connection: { id: "connection-id" } - } as RheaReceiver; + } as RheaPromiseReceiver; batchingReceiver["_link"] = fakeRheaReceiver; diff --git a/sdk/servicebus/service-bus/test/internal/unit/unittestUtils.ts b/sdk/servicebus/service-bus/test/internal/unit/unittestUtils.ts index 5453faf70643..67cf7eab4c97 100644 --- a/sdk/servicebus/service-bus/test/internal/unit/unittestUtils.ts +++ b/sdk/servicebus/service-bus/test/internal/unit/unittestUtils.ts @@ -4,7 +4,7 @@ import { ConnectionContext } from "../../../src/connectionContext"; import { AwaitableSender, - Receiver as RheaReceiver, + Receiver as RheaPromiseReceiver, ReceiverEvents, ReceiverOptions } from "rhea-promise"; @@ -21,7 +21,7 @@ export interface CreateConnectionContextForTestsOptions { host?: string; entityPath?: string; onCreateAwaitableSenderCalled?: () => void; - onCreateReceiverCalled?: (receiver: RheaReceiver) => void; + onCreateReceiverCalled?: (receiver: RheaPromiseReceiver) => void; } /** @@ -79,7 +79,7 @@ export function createConnectionContextForTests( return testAwaitableSender; }, - createReceiver: async (): Promise => { + createReceiver: async (): Promise => { const receiver = createRheaReceiverForTests(); if (options?.onCreateReceiverCalled) { @@ -165,8 +165,8 @@ export function createConnectionContextForTestsWithSessionId( * - It handles draining (via the .drain = true/addCredit(1) combo of operations). * - It respects .close(), so the state of the receiver should be accurate for isOpen(). */ -export function createRheaReceiverForTests(options?: ReceiverOptions): RheaReceiver { - const receiver = new EventEmitter() as RheaReceiver; +export function createRheaReceiverForTests(options?: ReceiverOptions): RheaPromiseReceiver { + const receiver = new EventEmitter() as RheaPromiseReceiver; (receiver as any).name = options?.name == null ? getUniqueName("entity") : options.name; @@ -174,6 +174,23 @@ export function createRheaReceiverForTests(options?: ReceiverOptions): RheaRecei id: "connection-id" }; + const link = { + credit: 0, + drain_credit(): void { + // simulate drain + (receiver as any).credit = 0; + receiver.emit(ReceiverEvents.receiverDrained, undefined); + } + }; + + (receiver as any)["_link"] = link; + + receiver.drain = false; + + (receiver as any)["drainCredit"] = () => { + link.drain_credit(); + }; + (receiver as any).addCredit = (credit: number) => { if (!receiver.isOpen()) { throw new Error("TEST INCONSISTENCY: trying to .addCredit() to a closed receiver"); @@ -184,11 +201,6 @@ export function createRheaReceiverForTests(options?: ReceiverOptions): RheaRecei } (receiver as any).credit += credit; - - if (credit === 1 && receiver.drain) { - (receiver as any).credit = 0; - receiver.emit(ReceiverEvents.receiverDrained, undefined); - } }; mockLinkProperties(receiver); diff --git a/sdk/servicebus/service-bus/test/stress/scenarioLongRunning.ts b/sdk/servicebus/service-bus/test/stress/scenarioLongRunning.ts index d1f1abc22766..e848ea1a463b 100644 --- a/sdk/servicebus/service-bus/test/stress/scenarioLongRunning.ts +++ b/sdk/servicebus/service-bus/test/stress/scenarioLongRunning.ts @@ -1,5 +1,10 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + import { captureConsoleOutputToAppInsights, + createServiceBusClient, + loopForever as loopInfinitely, ServiceBusStressTester } from "./serviceBusStressTester"; import { AbortController, AbortSignalLike } from "@azure/abort-controller"; @@ -8,14 +13,6 @@ import { v4 as uuidv4 } from "uuid"; captureConsoleOutputToAppInsights(); -async function looper(fn: () => Promise, delay: number, abortSignal: AbortSignalLike) { - const timeout = () => new Promise((resolve) => setTimeout(() => resolve(true), delay)); - - while (!abortSignal.aborted && (await timeout())) { - await fn(); - } -} - async function sendMessagesForever( stressTest: ServiceBusStressTester, clientForSender: ServiceBusClient, @@ -25,7 +22,7 @@ async function sendMessagesForever( let sender: ServiceBusSender | undefined; - return looper( + return loopInfinitely( async () => { if (abortSignal.aborted) { console.log(`Aborting sending because of abortSignal`); @@ -48,7 +45,7 @@ async function sendMessagesForever( await sender.sendMessages(messagesToSend); } catch (err) { console.log(`Sending message failed: `, err); - stressTest.trackError("send", err); + stressTest.trackError("send", err as Error); sender = undefined; } }, @@ -67,7 +64,7 @@ async function main() { }); const operation = async () => { - const clientForReceiver = stressTest.createServiceBusClient(); + const clientForReceiver = createServiceBusClient(); const receiver = clientForReceiver.createReceiver(stressTest.queueName, { receiveMode: "peekLock" @@ -92,7 +89,7 @@ async function main() { } ); - const clientForSender = stressTest.createServiceBusClient(); + const clientForSender = createServiceBusClient(); await sendMessagesForever(stressTest, clientForSender, abortSignal); }; diff --git a/sdk/servicebus/service-bus/test/stress/scenarioShortLivedReceivers.ts b/sdk/servicebus/service-bus/test/stress/scenarioShortLivedReceivers.ts new file mode 100644 index 000000000000..800e1f6f28f0 --- /dev/null +++ b/sdk/servicebus/service-bus/test/stress/scenarioShortLivedReceivers.ts @@ -0,0 +1,347 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. + +import { + captureConsoleOutputToAppInsights, + createRandomQueue, + createServiceBusClient, + getUniqueQueueName, + isReceiveMode +} from "./serviceBusStressTester"; +import { defaultClient as appInsightsClient, Contracts } from "applicationinsights"; +import { + ServiceBusClient, + ServiceBusReceivedMessage, + ServiceBusReceiver +} from "@azure/service-bus"; +import { EventEmitter } from "stream"; +import { EventContext, ReceiverEvents } from "rhea-promise"; +import parsedArgs from "minimist"; +import { generateUuid } from "@azure/core-http"; + +const messageNumberPropertyName = "messageNumber"; + +/** + * This test is checking for a few boundary/edge conditions that we've had in the library when + * receiving messages over longer periods of time with receiveMessages(). The bugs would typically + * result in message loss, as well as rhea printing out 'Received transfer when credit was 0'. + */ +async function main() { + captureConsoleOutputToAppInsights(); + + appInsightsClient.commonProperties = { + // these will be reported with each event + testName: "scenarioShortLivedReceiver", + testRunId: generateUuid() + }; + + const { receiveMode, maxWaitTimeInMs, numMessagesToSend, messagesPerReceive } = { + ...parsedArgs<{ + receiveMode: string; + maxWaitTimeInMs: number; + numMessagesToSend: number; + messagesPerReceive: number; + }>(process.argv, { + default: { + receiveMode: "peekLock", + + // there's nothing particularly special about these numbers but they do a decent job of provoking the bug + // when targeted to a Service Bus in AUS, connecting from a consumer network in Redmond. + maxWaitTimeInMs: 500, + numMessagesToSend: 1000, + messagesPerReceive: 5 + } + }) + }; + + try { + const queueName = getUniqueQueueName(); + + appInsightsClient.trackEvent({ + name: "start", + properties: { + queueName, + receiveMode, + maxWaitTimeInMs, + numMessagesToSend, + messagesPerReceive + } + }); + + if (!isReceiveMode(receiveMode)) { + throw new TypeError(`Invalid receive mode: ${receiveMode}`); + } + + console.log(`Test run ID(${appInsightsClient.commonProperties.testRunId!})`, { + queueName, + receiveMode, + maxWaitTimeInMs, + numMessagesToSend, + messagesPerReceive + }); + + await createRandomQueue(queueName); + + // create our entity + const serviceBusClient = createServiceBusClient(); + + const receiver = serviceBusClient.createReceiver(queueName, { + receiveMode, + // auto lock renewal is just noise for this particular test, disabling. + maxAutoLockRenewalDurationInMs: 0 + }); + + const rheaMessageNumbers = new Set(); + const userMessageNumbers = new Set(); + + await addValidatingListener(receiver, rheaMessageNumbers); + + await sendTestMessages(serviceBusClient, queueName, numMessagesToSend); + + console.log(`Starting receiver...`); + + // this is just a fail-safe so we don't run forever if we somehow don't get all the messages. + let gotZeroMessagesCounter = 0; + + while (userMessageNumbers.size < numMessagesToSend && gotZeroMessagesCounter < 3) { + const messages = await receiver.receiveMessages(messagesPerReceive, { + maxWaitTimeInMs + }); + + if (messages.length === 0) { + ++gotZeroMessagesCounter; + } + + for (const message of messages) { + assertAndAddMessageNumber(message, userMessageNumbers); + + if (receiveMode === "peekLock") { + await receiver.completeMessage(message); + } + } + + console.log(`Total: ${userMessageNumbers.size} messages`); + + appInsightsClient.trackMetric({ + name: "totalReceivedMessages", + value: userMessageNumbers.size + }); + } + + await receiver.close(); + await serviceBusClient.close(); + + // validate nothing is missing + let missingUserVisibleMessages = 0; + let missingInternalMessages = 0; + + for (let i = 0; i < numMessagesToSend; ++i) { + if (!userMessageNumbers.has(i)) { + missingUserVisibleMessages++; + } + + if (!rheaMessageNumbers.has(i)) { + missingInternalMessages++; + } + } + + appInsightsClient.trackMetric({ + name: "totalMissingUserVisibleMessages", + value: missingUserVisibleMessages + }); + + appInsightsClient.trackMetric({ + name: "totalMissingInternalMessages", + value: missingInternalMessages + }); + + if (missingUserVisibleMessages > 0 || missingInternalMessages > 0) { + console.log( + `Messages were missing: user:${missingUserVisibleMessages}, internal:${missingInternalMessages}` + ); + process.exit(1); + } else { + console.log(`Success - all messages accounted for with no duplicates.`); + process.exit(0); + } + } catch (err) { + console.log(`Exception thrown: `, err); + + appInsightsClient.trackException({ + exception: err as any + }); + } finally { + appInsightsClient.trackEvent({ + name: "End" + }); + + appInsightsClient.flush(); + } + + function assertAndAddMessageNumber( + message: ServiceBusReceivedMessage, + receivedMessageIndices: Set + ) { + const messageNumber = message.applicationProperties?.[messageNumberPropertyName]; + + if (messageNumber == null) { + console.log(`Message with id of ${message.messageId} did not have a messageNumber`); + throw new Error(`Message with id of ${message.messageId} did not have a messageNumber`); + } + + if (typeof messageNumber !== "number") { + console.log( + `Message with id of ${ + message.messageId + } had a messageNumber property with an incorrect type (${typeof messageNumber})` + ); + throw new TypeError( + `Message with id of ${ + message.messageId + } had a messageNumber property with an incorrect type (${typeof messageNumber})` + ); + } + + if (receivedMessageIndices.has(messageNumber)) { + console.log( + `Message with id of ${message.messageId} and message number ${messageNumber} has already been received` + ); + throw new Error( + `Message with id of ${message.messageId} and message number ${messageNumber} has already been received` + ); + } + + receivedMessageIndices.add(messageNumber); + } +} + +main().catch((err) => { + console.log(`Fatal error, exiting...`, err); + process.exit(1); +}); + +/** + * Adds in (through undocumented means) an event listener for messages. This is meant to be a simple check + * that we're not somehow losing messages that were actually delivered through rhea but not surfaced to the + * caller of our API. + * + * NOTE: This method does a single receive, so we can add in our batching receiver hook. The queue should be empty or + * else it could result in message loss. + * + * ADDITIONAL NOTE: this method (and it's associated message listener) will terminate the test if it detects these conditions: + * - Message received when the queue should have been empty (ie, initial call) + * - Batching receiver not properly initialized (ie: internal details have changed and broken us) + * - Duplicate messages are arriving (ie: all assumptions are wrong) + * + * @param receiver A receiver. + * @param rawMessageNumbers A set to add the 'messageNumber' property value to. + */ +async function addValidatingListener( + receiver: ServiceBusReceiver, + rawMessageNumbers: Set +): Promise { + // warm up the receiver so the batching receiver will be available (and we can install our 'raw messages' hook + // for some bookkeeping. + const ignoredMessages = await receiver.receiveMessages(1); + + if (ignoredMessages.length > 0) { + // the queue should start off empty! + console.log("Got messages when the queue should have been empty"); + throw new Error("Got messages when the queue should have been empty"); + } + + const linkEntity = (receiver as any)?.["_batchingReceiver"]?.["_link"] as EventEmitter; + + if (linkEntity == null) { + console.log( + "[raw message callback] Couldn't get a receiver._batchingReceiver._link property in the passed in receiver" + ); + process.exit(1); + } + + linkEntity.addListener(ReceiverEvents.message, (eventContext: EventContext) => { + const message = eventContext.message; + + if (message == null) { + console.log( + "[raw message callback] Fatal test error - no message was on EventContext, but we got a message callback." + ); + process.exit(1); + } + + const messageNumber = message?.application_properties?.[messageNumberPropertyName]; + + if (messageNumber == null || typeof messageNumber !== "number") { + console.log( + `[raw message callback] Fatal test error - message arrived, but without the '${messageNumberPropertyName}' property, type: ${typeof messageNumber}` + ); + process.exit(1); + } + + if (rawMessageNumbers.has(messageNumber)) { + console.log( + `[raw message callback] Fatal test error - ${messageNumber} was already received - we're receiving duplicates in our raw message callback` + ); + process.exit(1); + } + + rawMessageNumbers.add(messageNumber); + }); +} + +/** + * Sends `numMessagesToSend` messages that are 1000 bytes apiece. Each message + * will have an `messageNumber` application property, which will be unique + * for each message sent in this batch. + */ +async function sendTestMessages( + serviceBusClient: ServiceBusClient, + queueName: string, + numMessagesToSend: number +): Promise { + console.log(`Starting to send ${numMessagesToSend} messages to ${queueName}`); + + const sender = serviceBusClient.createSender(queueName); + + try { + let batch = await sender.createMessageBatch(); + + const largeMessagePayload = new Array(1000).fill("a", 0); + + for (let i = 0; i < numMessagesToSend; ++i) { + const message = { + body: largeMessagePayload, + applicationProperties: { + messageNumber: i + } + }; + + const added = batch.tryAddMessage(message); + + if (!added) { + await sender.sendMessages(batch); + batch = await sender.createMessageBatch(); + + if (!batch.tryAddMessage(message)) { + console.log("Message was too big to fit in the array and can NEVER fit"); + throw new Error("Message was too big to fit in the array and can NEVER fit"); + } + } + } + + if (batch?.count > 0) { + await sender.sendMessages(batch); + } + + console.log(`Done sending messages to ${queueName}`); + } catch (err) { + console.log(`Exception thrown: `, err); + + appInsightsClient.trackException({ + exception: err as Error, + severity: Contracts.SeverityLevel.Critical + }); + } finally { + await sender.close(); + } +} diff --git a/sdk/servicebus/service-bus/test/stress/serviceBusStressTester.ts b/sdk/servicebus/service-bus/test/stress/serviceBusStressTester.ts index 90cc3ca9f05d..7dc825bae994 100644 --- a/sdk/servicebus/service-bus/test/stress/serviceBusStressTester.ts +++ b/sdk/servicebus/service-bus/test/stress/serviceBusStressTester.ts @@ -4,6 +4,7 @@ import { ProcessErrorArgs, ServiceBusAdministrationClient, ServiceBusClient, + ServiceBusClientOptions, ServiceBusMessage, ServiceBusReceivedMessage, ServiceBusReceiver, @@ -21,17 +22,20 @@ import { SnapshotOptions, TrackedMessageIdsInfo } from "./utils"; -import * as appInsights from "applicationinsights"; +import * as appInsights from "applicationinsights"; import * as dotenv from "dotenv"; +import { AbortSignalLike } from "@azure/abort-controller"; + dotenv.config(); appInsights .setup() + .setAutoCollectConsole(true) .setUseDiskRetryCaching(true) .start(); -export const defaultClient = appInsights.defaultClient; +const defaultClient = appInsights.defaultClient; export interface StressTestInitOptions { /** @@ -109,19 +113,6 @@ export class ServiceBusStressTester { this.snapshotTimer = setInterval(this.snapshot.bind(this), snapshotIntervalMs); } - /** - * Creates a ServiceBusClient using the connection string in the SERVICEBUS_CONNECTION_STRING environment variable. - */ - public createServiceBusClient(): ServiceBusClient { - if (!process.env.SERVICEBUS_CONNECTION_STRING) { - throw new Error( - "Failed to create a ServiceBusClient - no connection string defined in the environment" - ); - } - - return new ServiceBusClient(process.env.SERVICEBUS_CONNECTION_STRING); - } - private async _init(options?: StressTestInitOptions) { console.log(`[BEGIN]: Initializing...`); this.queueName = `queue` + `-${Math.ceil(Math.random() * 100000)}`; @@ -140,11 +131,7 @@ export class ServiceBusStressTester { } }); - await this.serviceBusAdministrationClient.createQueue( - this.queueName, - options?.createQueueOptions - ); - + await createRandomQueue(this.queueName, options?.createQueueOptions); console.log(`[END]: Initializing...`); } @@ -561,13 +548,12 @@ export class ServiceBusStressTester { try { try { // Define connection string and related Service Bus entity names here - const connectionString = process.env.SERVICEBUS_CONNECTION_STRING || ""; - serviceBusClient = new ServiceBusClient(connectionString); + serviceBusClient = createServiceBusClient(); await this._init(initOptions); } catch (err) { console.log(`ERROR: error thrown by init`, err); - this.trackError("init", err); + this.trackError("init", err as Error); defaultClient.flush(); throw err; } @@ -578,7 +564,7 @@ export class ServiceBusStressTester { } catch (err) { console.log(`ERROR: error thrown by test`, err); - this.trackError("test", err); + this.trackError("test", err as Error); defaultClient.flush(); } } finally { @@ -588,7 +574,7 @@ export class ServiceBusStressTester { await serviceBusClient?.close(); } catch (err) { defaultClient.trackException({ - exception: err, + exception: err as Error, properties: { from: "end" } @@ -600,3 +586,55 @@ export class ServiceBusStressTester { } } } + +export function getUniqueQueueName(): string { + return `queue` + `-${Math.ceil(Math.random() * 100000)}`; +} + +export async function createRandomQueue( + queueName: string, + queueOptions?: CreateQueueOptions +): Promise { + const serviceBusAdministrationClient = createAdminClient(); + await serviceBusAdministrationClient.createQueue(queueName, queueOptions); +} + +export function createAdminClient() { + const connectionString = process.env.SERVICEBUS_CONNECTION_STRING; + + if (!connectionString) { + throw new Error("SERVICEBUS_CONNECTION_STRING not defined in the environment!"); + } + + const serviceBusAdministrationClient = new ServiceBusAdministrationClient(connectionString); + return serviceBusAdministrationClient; +} + +export function createServiceBusClient(options?: ServiceBusClientOptions): ServiceBusClient { + const connectionString = process.env.SERVICEBUS_CONNECTION_STRING; + + if (!connectionString) { + throw new Error("SERVICEBUS_CONNECTION_STRING not defined in the environment!"); + } + + return new ServiceBusClient(connectionString, options); +} + +/** + * Loops infinitely with a delay between invocations. + */ +export async function loopForever( + fn: () => Promise, + delay: number, + abortSignal?: AbortSignalLike +) { + const timeout = () => new Promise((resolve) => setTimeout(() => resolve(true), delay)); + + while (abortSignal?.aborted === false && (await timeout())) { + await fn(); + } +} + +export function isReceiveMode(receiveMode: string): receiveMode is "peekLock" | "receiveAndDelete" { + return receiveMode === "peekLock" || receiveMode === "receiveAndDelete"; +} From dea0b2e8aca7153bdabcc189d5483251d443cf4a Mon Sep 17 00:00:00 2001 From: Wei Dong <40835867+dw511214992@users.noreply.github.com> Date: Thu, 1 Jul 2021 09:44:57 +0800 Subject: [PATCH 105/134] update pipeline to feature/v4 (#15993) --- eng/pipelines/mgmt-ci.yml | 2 +- eng/pipelines/mgmt-pr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/mgmt-ci.yml b/eng/pipelines/mgmt-ci.yml index 906ab013e9b7..3a8b827da29f 100644 --- a/eng/pipelines/mgmt-ci.yml +++ b/eng/pipelines/mgmt-ci.yml @@ -1,7 +1,7 @@ trigger: branches: include: - - main + - feature/* paths: include: - eng/pipelines/mgmt-pr.yml diff --git a/eng/pipelines/mgmt-pr.yml b/eng/pipelines/mgmt-pr.yml index 32f30504a7aa..9aa319d8f27f 100644 --- a/eng/pipelines/mgmt-pr.yml +++ b/eng/pipelines/mgmt-pr.yml @@ -1,7 +1,7 @@ pr: branches: include: - - main + - feature/* - '*-preview' paths: include: From f34b099709a27240cd97b07005df3fe3bbf35fe8 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:17:40 +0800 Subject: [PATCH 106/134] arm-security-release (#16135) --- sdk/security/arm-security/LICENSE.txt | 2 +- sdk/security/arm-security/README.md | 105 +- sdk/security/arm-security/package.json | 11 +- sdk/security/arm-security/rollup.config.js | 4 +- .../adaptiveApplicationControlsMappers.ts | 10 +- .../adaptiveNetworkHardeningsMappers.ts | 50 +- .../models/advancedThreatProtectionMappers.ts | 50 +- .../arm-security/src/models/alertsMappers.ts | 53 +- .../models/alertsSuppressionRulesMappers.ts | 50 +- .../src/models/allowedConnectionsMappers.ts | 4 +- .../src/models/assessmentsMappers.ts | 50 +- .../src/models/assessmentsMetadataMappers.ts | 50 +- .../models/autoProvisioningSettingsMappers.ts | 50 +- .../src/models/automationsMappers.ts | 4 +- .../src/models/complianceResultsMappers.ts | 50 +- .../src/models/compliancesMappers.ts | 50 +- .../src/models/connectorsMappers.ts | 144 + .../src/models/deviceOperationsMappers.ts | 143 + .../src/models/deviceSecurityGroupsMappers.ts | 50 +- .../src/models/devicesForHubMappers.ts | 144 + .../models/devicesForSubscriptionMappers.ts | 144 + .../discoveredSecuritySolutionsMappers.ts | 4 +- .../externalSecuritySolutionsMappers.ts | 4 +- sdk/security/arm-security/src/models/index.ts | 6735 ++++++++++--- .../informationProtectionPoliciesMappers.ts | 50 +- .../src/models/ingestionSettingsMappers.ts | 147 + .../src/models/iotAlertTypesMappers.ts | 144 + .../src/models/iotAlertsMappers.ts | 144 + .../src/models/iotDefenderSettingsMappers.ts | 153 + .../models/iotRecommendationTypesMappers.ts | 144 + .../src/models/iotRecommendationsMappers.ts | 144 + .../iotSecuritySolutionAnalyticsMappers.ts | 50 +- .../src/models/iotSecuritySolutionMappers.ts | 6 +- ...olutionsAnalyticsAggregatedAlertMappers.ts | 4 +- ...SolutionsAnalyticsRecommendationMappers.ts | 4 +- .../src/models/iotSensorsMappers.ts | 145 + .../src/models/iotSitesMappers.ts | 144 + .../models/jitNetworkAccessPoliciesMappers.ts | 4 +- .../src/models/locationsMappers.ts | 50 +- .../arm-security/src/models/mappers.ts | 8973 +++++++++++------ .../src/models/onPremiseIotSensorsMappers.ts | 145 + .../src/models/operationsMappers.ts | 4 +- .../arm-security/src/models/parameters.ts | 357 +- .../src/models/pricingsMappers.ts | 50 +- .../regulatoryComplianceAssessmentsMappers.ts | 50 +- .../regulatoryComplianceControlsMappers.ts | 50 +- .../regulatoryComplianceStandardsMappers.ts | 50 +- .../secureScoreControlDefinitionsMappers.ts | 50 +- .../src/models/secureScoreControlsMappers.ts | 50 +- .../src/models/secureScoresMappers.ts | 50 +- .../src/models/securityContactsMappers.ts | 50 +- .../src/models/securitySolutionsMappers.ts | 14 + ...SolutionsReferenceDataOperationsMappers.ts | 14 + ...ulnerabilityAssessmentOperationsMappers.ts | 50 +- .../src/models/settingsMappers.ts | 50 +- .../src/models/softwareInventoriesMappers.ts | 144 + ...erabilityAssessmentBaselineRulesMappers.ts | 146 + ...lnerabilityAssessmentScanResultsMappers.ts | 144 + .../sqlVulnerabilityAssessmentScansMappers.ts | 144 + .../src/models/subAssessmentsMappers.ts | 50 +- .../arm-security/src/models/tasksMappers.ts | 50 +- .../src/models/topologyMappers.ts | 4 +- .../src/models/workspaceSettingsMappers.ts | 50 +- .../operations/adaptiveApplicationControls.ts | 57 +- .../operations/adaptiveNetworkHardenings.ts | 8 +- .../operations/advancedThreatProtection.ts | 9 +- .../arm-security/src/operations/alerts.ts | 380 +- .../src/operations/alertsSuppressionRules.ts | 17 +- .../src/operations/allowedConnections.ts | 11 +- .../src/operations/assessments.ts | 8 +- .../src/operations/assessmentsMetadata.ts | 11 +- .../operations/autoProvisioningSettings.ts | 12 +- .../src/operations/automations.ts | 11 +- .../src/operations/complianceResults.ts | 8 +- .../src/operations/compliances.ts | 8 +- .../arm-security/src/operations/connectors.ts | 296 + .../src/operations/deviceOperations.ts | 85 + .../src/operations/deviceSecurityGroups.ts | 8 +- .../src/operations/devicesForHub.ts | 138 + .../src/operations/devicesForSubscription.ts | 134 + .../operations/discoveredSecuritySolutions.ts | 11 +- .../operations/externalSecuritySolutions.ts | 11 +- .../arm-security/src/operations/index.ts | 30 +- .../informationProtectionPolicies.ts | 8 +- .../src/operations/ingestionSettings.ts | 403 + .../src/operations/iotAlertTypes.ts | 128 + .../arm-security/src/operations/iotAlerts.ts | 214 + .../src/operations/iotDefenderSettings.ts | 329 + .../src/operations/iotRecommendationTypes.ts | 128 + .../src/operations/iotRecommendations.ts | 208 + .../src/operations/iotSecuritySolution.ts | 25 +- .../iotSecuritySolutionAnalytics.ts | 5 +- ...curitySolutionsAnalyticsAggregatedAlert.ts | 15 +- ...ecuritySolutionsAnalyticsRecommendation.ts | 15 +- .../arm-security/src/operations/iotSensors.ts | 448 + .../arm-security/src/operations/iotSites.ts | 246 + .../operations/jitNetworkAccessPolicies.ts | 17 +- .../arm-security/src/operations/locations.ts | 8 +- .../src/operations/onPremiseIotSensors.ts | 359 + .../arm-security/src/operations/operations.ts | 8 +- .../arm-security/src/operations/pricings.ts | 5 +- .../regulatoryComplianceAssessments.ts | 15 +- .../regulatoryComplianceControls.ts | 15 +- .../regulatoryComplianceStandards.ts | 15 +- .../secureScoreControlDefinitions.ts | 25 +- .../src/operations/secureScoreControls.ts | 46 +- .../src/operations/secureScores.ts | 28 +- .../src/operations/securityContacts.ts | 8 +- .../src/operations/securitySolutions.ts | 189 + ...ecuritySolutionsReferenceDataOperations.ts | 124 + ...serverVulnerabilityAssessmentOperations.ts | 46 +- .../arm-security/src/operations/settings.ts | 30 +- .../src/operations/softwareInventories.ts | 325 + ...sqlVulnerabilityAssessmentBaselineRules.ts | 359 + .../sqlVulnerabilityAssessmentScanResults.ts | 164 + .../sqlVulnerabilityAssessmentScans.ts | 154 + .../src/operations/subAssessments.ts | 11 +- .../arm-security/src/operations/tasks.ts | 35 +- .../arm-security/src/operations/topology.ts | 11 +- .../src/operations/workspaceSettings.ts | 8 +- .../arm-security/src/securityCenter.ts | 65 +- .../arm-security/src/securityCenterContext.ts | 25 +- 122 files changed, 20618 insertions(+), 4935 deletions(-) create mode 100644 sdk/security/arm-security/src/models/connectorsMappers.ts create mode 100644 sdk/security/arm-security/src/models/deviceOperationsMappers.ts create mode 100644 sdk/security/arm-security/src/models/devicesForHubMappers.ts create mode 100644 sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts create mode 100644 sdk/security/arm-security/src/models/ingestionSettingsMappers.ts create mode 100644 sdk/security/arm-security/src/models/iotAlertTypesMappers.ts create mode 100644 sdk/security/arm-security/src/models/iotAlertsMappers.ts create mode 100644 sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts create mode 100644 sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts create mode 100644 sdk/security/arm-security/src/models/iotRecommendationsMappers.ts create mode 100644 sdk/security/arm-security/src/models/iotSensorsMappers.ts create mode 100644 sdk/security/arm-security/src/models/iotSitesMappers.ts create mode 100644 sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts create mode 100644 sdk/security/arm-security/src/models/securitySolutionsMappers.ts create mode 100644 sdk/security/arm-security/src/models/securitySolutionsReferenceDataOperationsMappers.ts create mode 100644 sdk/security/arm-security/src/models/softwareInventoriesMappers.ts create mode 100644 sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts create mode 100644 sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts create mode 100644 sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts create mode 100644 sdk/security/arm-security/src/operations/connectors.ts create mode 100644 sdk/security/arm-security/src/operations/deviceOperations.ts create mode 100644 sdk/security/arm-security/src/operations/devicesForHub.ts create mode 100644 sdk/security/arm-security/src/operations/devicesForSubscription.ts create mode 100644 sdk/security/arm-security/src/operations/ingestionSettings.ts create mode 100644 sdk/security/arm-security/src/operations/iotAlertTypes.ts create mode 100644 sdk/security/arm-security/src/operations/iotAlerts.ts create mode 100644 sdk/security/arm-security/src/operations/iotDefenderSettings.ts create mode 100644 sdk/security/arm-security/src/operations/iotRecommendationTypes.ts create mode 100644 sdk/security/arm-security/src/operations/iotRecommendations.ts create mode 100644 sdk/security/arm-security/src/operations/iotSensors.ts create mode 100644 sdk/security/arm-security/src/operations/iotSites.ts create mode 100644 sdk/security/arm-security/src/operations/onPremiseIotSensors.ts create mode 100644 sdk/security/arm-security/src/operations/securitySolutions.ts create mode 100644 sdk/security/arm-security/src/operations/securitySolutionsReferenceDataOperations.ts create mode 100644 sdk/security/arm-security/src/operations/softwareInventories.ts create mode 100644 sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts create mode 100644 sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScanResults.ts create mode 100644 sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScans.ts diff --git a/sdk/security/arm-security/LICENSE.txt b/sdk/security/arm-security/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/security/arm-security/LICENSE.txt +++ b/sdk/security/arm-security/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/security/arm-security/README.md b/sdk/security/arm-security/README.md index 869cda4b96a1..16cb67aa9e5f 100644 --- a/sdk/security/arm-security/README.md +++ b/sdk/security/arm-security/README.md @@ -1,92 +1,99 @@ ## Azure SecurityCenter SDK for JavaScript -This package contains an isomorphic SDK for SecurityCenter. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for SecurityCenter. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-security` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-security +npm install --save @azure/arm-security @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. ### How to use -#### nodejs - Authentication, client creation and list complianceResults as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth - -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. +#### nodejs - Authentication, client creation, and list complianceResults as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SecurityCenter, SecurityCenterModels, SecurityCenterMappers } from "@azure/arm-security"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { SecurityCenter } = require("@azure/arm-security"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SecurityCenter(creds, subscriptionId); - const scope = "testscope"; - client.complianceResults.list(scope).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SecurityCenter(creds, subscriptionId); +const scope = "testscope"; +client.complianceResults.list(scope).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list complianceResults as an example written in JavaScript. +#### browser - Authentication, client creation, and list complianceResults as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-security sample - - + diff --git a/sdk/security/arm-security/package.json b/sdk/security/arm-security/package.json index ab9cfc26388f..7c2ce716cf2a 100644 --- a/sdk/security/arm-security/package.json +++ b/sdk/security/arm-security/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-security", "author": "Microsoft Corporation", "description": "SecurityCenter Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "3.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,13 +21,13 @@ "module": "./esm/securityCenter.js", "types": "./esm/securityCenter.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/security/arm-security", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/security/arm-security", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/security/arm-security/rollup.config.js b/sdk/security/arm-security/rollup.config.js index 2c4179d62509..bc2c8a23953c 100644 --- a/sdk/security/arm-security/rollup.config.js +++ b/sdk/security/arm-security/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/adaptiveApplicationControlsMappers.ts b/sdk/security/arm-security/src/models/adaptiveApplicationControlsMappers.ts index 667ae58aa953..3a4325bbeb36 100644 --- a/sdk/security/arm-security/src/models/adaptiveApplicationControlsMappers.ts +++ b/sdk/security/arm-security/src/models/adaptiveApplicationControlsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -8,9 +8,9 @@ export { discriminators, - AppWhitelistingGroup, - AppWhitelistingGroups, - AppWhitelistingIssueSummary, + AdaptiveApplicationControlGroup, + AdaptiveApplicationControlGroups, + AdaptiveApplicationControlIssueSummary, CloudError, PathRecommendation, ProtectionMode, diff --git a/sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts b/sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts index e744310578ca..983b333d426b 100644 --- a/sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts +++ b/sdk/security/arm-security/src/models/adaptiveNetworkHardeningsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -15,9 +15,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -25,53 +25,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -87,10 +125,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -98,6 +139,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts b/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts index 4e805a8af48e..4fac024d16d6 100644 --- a/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts +++ b/sdk/security/arm-security/src/models/advancedThreatProtectionMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -85,10 +123,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -96,6 +137,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/alertsMappers.ts b/sdk/security/arm-security/src/models/alertsMappers.ts index 54ae8a36b48f..e40ad5185eaa 100644 --- a/sdk/security/arm-security/src/models/alertsMappers.ts +++ b/sdk/security/arm-security/src/models/alertsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,10 +13,13 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertList, + AlertSimulatorBundlesRequestProperties, + AlertSimulatorRequestBody, + AlertSimulatorRequestProperties, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -24,53 +27,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +127,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +141,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts b/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts index 1d11d709b04e..85425a2d0840 100644 --- a/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts +++ b/sdk/security/arm-security/src/models/alertsSuppressionRulesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,10 +13,10 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, AlertsSuppressionRulesList, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -24,53 +24,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/allowedConnectionsMappers.ts b/sdk/security/arm-security/src/models/allowedConnectionsMappers.ts index 3c08bb7fe3fa..d5c8b95ffd52 100644 --- a/sdk/security/arm-security/src/models/allowedConnectionsMappers.ts +++ b/sdk/security/arm-security/src/models/allowedConnectionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/assessmentsMappers.ts b/sdk/security/arm-security/src/models/assessmentsMappers.ts index 588f3fb6ff9a..7ec5955c83c1 100644 --- a/sdk/security/arm-security/src/models/assessmentsMappers.ts +++ b/sdk/security/arm-security/src/models/assessmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts b/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts index 206b63ca6c92..6e6b5c282cd8 100644 --- a/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts +++ b/sdk/security/arm-security/src/models/assessmentsMetadataMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts b/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts index 10d241ae6e7d..584b2f099280 100644 --- a/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts +++ b/sdk/security/arm-security/src/models/autoProvisioningSettingsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, AutoProvisioningSettingList, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/automationsMappers.ts b/sdk/security/arm-security/src/models/automationsMappers.ts index c0c7f12b3797..5c234eb53d3d 100644 --- a/sdk/security/arm-security/src/models/automationsMappers.ts +++ b/sdk/security/arm-security/src/models/automationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/complianceResultsMappers.ts b/sdk/security/arm-security/src/models/complianceResultsMappers.ts index 9baf6d868a5f..66bdc211b151 100644 --- a/sdk/security/arm-security/src/models/complianceResultsMappers.ts +++ b/sdk/security/arm-security/src/models/complianceResultsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceResultList, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/compliancesMappers.ts b/sdk/security/arm-security/src/models/compliancesMappers.ts index 7706b9dbf8c8..cbee8d0d4e77 100644 --- a/sdk/security/arm-security/src/models/compliancesMappers.ts +++ b/sdk/security/arm-security/src/models/compliancesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceList, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/connectorsMappers.ts b/sdk/security/arm-security/src/models/connectorsMappers.ts new file mode 100644 index 000000000000..ab08542a6ac3 --- /dev/null +++ b/sdk/security/arm-security/src/models/connectorsMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ConnectorSettingList, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/deviceOperationsMappers.ts b/sdk/security/arm-security/src/models/deviceOperationsMappers.ts new file mode 100644 index 000000000000..4fac024d16d6 --- /dev/null +++ b/sdk/security/arm-security/src/models/deviceOperationsMappers.ts @@ -0,0 +1,143 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts b/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts index 8050255cd456..0246a6a6b306 100644 --- a/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts +++ b/sdk/security/arm-security/src/models/deviceSecurityGroupsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DeviceSecurityGroupList, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/devicesForHubMappers.ts b/sdk/security/arm-security/src/models/devicesForHubMappers.ts new file mode 100644 index 000000000000..40d1e77831fa --- /dev/null +++ b/sdk/security/arm-security/src/models/devicesForHubMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceList, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts b/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts new file mode 100644 index 000000000000..40d1e77831fa --- /dev/null +++ b/sdk/security/arm-security/src/models/devicesForSubscriptionMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceList, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/discoveredSecuritySolutionsMappers.ts b/sdk/security/arm-security/src/models/discoveredSecuritySolutionsMappers.ts index 7b504741880d..27e0cec44d25 100644 --- a/sdk/security/arm-security/src/models/discoveredSecuritySolutionsMappers.ts +++ b/sdk/security/arm-security/src/models/discoveredSecuritySolutionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/externalSecuritySolutionsMappers.ts b/sdk/security/arm-security/src/models/externalSecuritySolutionsMappers.ts index 55f2be16966d..f95eb684181d 100644 --- a/sdk/security/arm-security/src/models/externalSecuritySolutionsMappers.ts +++ b/sdk/security/arm-security/src/models/externalSecuritySolutionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/index.ts b/sdk/security/arm-security/src/models/index.ts index d24f392f288c..9588180edf0a 100644 --- a/sdk/security/arm-security/src/models/index.ts +++ b/sdk/security/arm-security/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -72,9 +72,8 @@ export interface TrackedResource { readonly type?: string; /** * Location where the resource is stored - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly location?: string; + location?: string; /** * Kind of the resource */ @@ -92,12 +91,11 @@ export interface TrackedResource { /** * Describes an Azure resource with location */ -export interface Location { +export interface AzureTrackedResourceLocation { /** * Location where the resource is stored - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly location?: string; + location?: string; } /** @@ -130,6 +128,22 @@ export interface Tags { tags?: { [propertyName: string]: string }; } +/** + * The resource management error additional info. + */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * The additional info. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly info?: any; +} + /** * Azure Security Center is provided in two pricing tiers: free and standard, with the standard * tier available with a trial period. The standard tier offers advanced security capabilities, @@ -161,243 +175,6 @@ export interface PricingList { value: Pricing[]; } -/** - * Changing set of properties depending on the entity type. - */ -export interface AlertEntity { - /** - * Type of entity - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * Describes unknown properties. The value of an unknown property can be of "any" type. - */ - [property: string]: any; -} - -/** - * Factors that increase our confidence that the alert is a true positive - */ -export interface AlertConfidenceReason { - /** - * Type of confidence factor - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * description of the confidence reason - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly reason?: string; -} - -/** - * Security alert - */ -export interface Alert extends Resource { - /** - * State of the alert (Active, Dismissed etc.) - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly state?: string; - /** - * The time the incident was reported to Microsoft.Security in UTC - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly reportedTimeUtc?: Date; - /** - * Name of the vendor that discovered the incident - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly vendorName?: string; - /** - * Name of the alert type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly alertName?: string; - /** - * Display name of the alert type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly alertDisplayName?: string; - /** - * The time the incident was detected by the vendor - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly detectedTimeUtc?: Date; - /** - * Description of the incident and what it means - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly description?: string; - /** - * Recommended steps to reradiate the incident - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly remediationSteps?: string; - /** - * The action that was taken as a response to the alert (Active, Blocked etc.) - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly actionTaken?: string; - /** - * Estimated severity of this alert. Possible values include: 'Informational', 'Low', 'Medium', - * 'High' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly reportedSeverity?: ReportedSeverity; - /** - * The entity that the incident happened on - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly compromisedEntity?: string; - /** - * Azure resource ID of the associated resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly associatedResource?: string; - extendedProperties?: { [propertyName: string]: any }; - /** - * The type of the alerted resource (Azure, Non-Azure) - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly systemSource?: string; - /** - * Whether this alert can be investigated with Azure Security Center - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly canBeInvestigated?: boolean; - /** - * Whether this alert is for incident type or not (otherwise - single alert) - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly isIncident?: boolean; - /** - * objects that are related to this alerts - */ - entities?: AlertEntity[]; - /** - * level of confidence we have on the alert - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly confidenceScore?: number; - /** - * reasons the alert got the confidenceScore value - */ - confidenceReasons?: AlertConfidenceReason[]; - /** - * Azure subscription ID of the resource that had the security alert or the subscription ID of - * the workspace that this resource reports to - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly subscriptionId?: string; - /** - * Instance ID of the alert. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly instanceId?: string; - /** - * Azure resource ID of the workspace that the alert was reported to. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly workspaceArmId?: string; - /** - * Alerts with the same CorrelationKey will be grouped together in Ibiza. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly correlationKey?: string; -} - -/** - * Contains the possible cases for SettingResource. - */ -export type SettingResourceUnion = SettingResource | SettingUnion; - -/** - * The kind of the security setting - */ -export interface SettingResource { - /** - * Polymorphic Discriminator - */ - kind: "SettingResource"; - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; -} - -/** - * Contains the possible cases for Setting. - */ -export type SettingUnion = Setting | DataExportSettings; - -/** - * Represents a security setting in Azure Security Center. - */ -export interface Setting { - /** - * Polymorphic Discriminator - */ - kind: "Setting"; - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; -} - -/** - * Represents a data export setting - */ -export interface DataExportSettings { - /** - * Polymorphic Discriminator - */ - kind: "DataExportSettings"; - /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * Is the data export setting is enabled - */ - enabled: boolean; -} - /** * The Advanced Threat Protection resource. */ @@ -554,7 +331,7 @@ export interface ListCustomAlertRule { /** * Contains the possible cases for AllowlistCustomAlertRule. */ -export type AllowlistCustomAlertRuleUnion = AllowlistCustomAlertRule | ConnectionToIpNotAllowed | LocalUserNotAllowed | ProcessNotAllowed; +export type AllowlistCustomAlertRuleUnion = AllowlistCustomAlertRule | ConnectionToIpNotAllowed | ConnectionFromIpNotAllowed | LocalUserNotAllowed | ProcessNotAllowed; /** * A custom alert rule that checks if a value (depends on the custom alert type) is allowed. @@ -678,6 +455,40 @@ export interface ConnectionToIpNotAllowed { allowlistValues: string[]; } +/** + * Inbound connection from an ip that isn't allowed. Allow list consists of ipv4 or ipv6 range in + * CIDR notation. + */ +export interface ConnectionFromIpNotAllowed { + /** + * Polymorphic Discriminator + */ + ruleType: "ConnectionFromIpNotAllowed"; + /** + * The display name of the custom alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly displayName?: string; + /** + * The description of the custom alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * Status of the custom alert. + */ + isEnabled: boolean; + /** + * The value type of the items in the list. Possible values include: 'IpCidr', 'String' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly valueType?: ValueType; + /** + * The values to allow. The format of the values depends on the rule type. + */ + allowlistValues: string[]; +} + /** * Login by a local user that isn't allowed. Allow list consists of login names to allow. */ @@ -1371,28 +1182,78 @@ export interface RecommendationConfigurationProperties { } /** - * IoT Security solution configuration and resource information. + * Properties of the additional workspaces. */ -export interface IoTSecuritySolutionModel { +export interface AdditionalWorkspacesProperties { /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Workspace resource id */ - readonly id?: string; + workspace?: string; /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Workspace type. Possible values include: 'Sentinel'. Default value: 'Sentinel'. */ - readonly name?: string; + type?: AdditionalWorkspaceType; /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of data types sent to workspace */ - readonly type?: string; + dataTypes?: AdditionalWorkspaceDataType[]; +} + +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { /** - * Resource tags + * The identity that created the resource. */ - tags?: { [propertyName: string]: string }; + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; +} + +/** + * IoT Security solution configuration and resource information. + */ +export interface IoTSecuritySolutionModel { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Resource tags + */ + tags?: { [propertyName: string]: string }; /** * The resource location. */ @@ -1400,7 +1261,7 @@ export interface IoTSecuritySolutionModel { /** * Workspace resource ID */ - workspace: string; + workspace?: string; /** * Resource display name. */ @@ -1434,6 +1295,15 @@ export interface IoTSecuritySolutionModel { * value: 'Disabled'. */ unmaskedIpLoggingStatus?: UnmaskedIpLoggingStatus; + /** + * List of additional workspaces + */ + additionalWorkspaces?: AdditionalWorkspacesProperties[]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -2165,25 +2035,6 @@ export interface RegulatoryComplianceAssessment extends Resource { readonly unsupportedResources?: number; } -/** - * Describes the server vulnerability assessment details on a resource - */ -export interface ServerVulnerabilityAssessment extends Resource { - /** - * The provisioningState of the vulnerability assessment capability on the VM. Possible values - * include: 'Succeeded', 'Failed', 'Canceled', 'Provisioning', 'Deprovisioning' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: ProvisioningState; -} - -/** - * List of server vulnerability assessments - */ -export interface ServerVulnerabilityAssessmentsList { - value?: ServerVulnerabilityAssessment[]; -} - /** * Status of the sub-assessment */ @@ -2214,7 +2065,7 @@ export interface SubAssessmentStatus { /** * Contains the possible cases for ResourceDetails. */ -export type ResourceDetailsUnion = ResourceDetails | OnPremiseResourceDetails | AzureResourceDetails; +export type ResourceDetailsUnion = ResourceDetails | OnPremiseResourceDetailsUnion | AzureResourceDetails; /** * Details of the resource that was assessed @@ -2442,6 +2293,11 @@ export interface ServerVulnerabilityProperties { readonly vendorReferences?: VendorReference[]; } +/** + * Contains the possible cases for OnPremiseResourceDetails. + */ +export type OnPremiseResourceDetailsUnion = OnPremiseResourceDetails | OnPremiseSqlResourceDetails; + /** * Details of the On Premise resource that was assessed */ @@ -2468,6 +2324,40 @@ export interface OnPremiseResourceDetails { machineName: string; } +/** + * Details of the On Premise Sql resource that was assessed + */ +export interface OnPremiseSqlResourceDetails { + /** + * Polymorphic Discriminator + */ + source: "OnPremiseSql"; + /** + * Azure resource Id of the workspace the machine is attached to + */ + workspaceId: string; + /** + * The unique Id of the machine + */ + vmuuid: string; + /** + * The oms agent Id installed on the machine + */ + sourceComputerId: string; + /** + * The name of the machine + */ + machineName: string; + /** + * The Sql server name installed on the machine + */ + serverName: string; + /** + * The Sql database name installed on the machine + */ + databaseName: string; +} + /** * Details of the Azure resource that was assessed */ @@ -2540,7 +2430,9 @@ export interface AutomationRuleSet { */ export interface AutomationSource { /** - * A valid event source type. Possible values include: 'Assessments', 'Alerts' + * A valid event source type. Possible values include: 'Assessments', 'SubAssessments', 'Alerts', + * 'SecureScores', 'SecureScoresSnapshot', 'SecureScoreControls', 'SecureScoreControlsSnapshot', + * 'RegulatoryComplianceAssessment', 'RegulatoryComplianceAssessmentSnapshot' */ eventSource?: EventSource; /** @@ -2731,6 +2623,25 @@ export interface AlertsSuppressionRule extends Resource { suppressionAlertsScope?: SuppressionAlertsScope; } +/** + * Describes the server vulnerability assessment details on a resource + */ +export interface ServerVulnerabilityAssessment extends Resource { + /** + * The provisioningState of the vulnerability assessment capability on the VM. Possible values + * include: 'Succeeded', 'Failed', 'Canceled', 'Provisioning', 'Deprovisioning' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState1; +} + +/** + * List of server vulnerability assessments + */ +export interface ServerVulnerabilityAssessmentsList { + value?: ServerVulnerabilityAssessment[]; +} + /** * Describes the partner that created the assessment */ @@ -2770,7 +2681,7 @@ export interface SecurityAssessmentMetadataProperties { * Human readable description of what you should do to mitigate this security issue */ remediationDescription?: string; - category?: Category[]; + categories?: Categories[]; /** * The severity level of the assessment. Possible values include: 'Low', 'Medium', 'High' */ @@ -2819,7 +2730,7 @@ export interface SecurityAssessmentMetadata extends Resource { * Human readable description of what you should do to mitigate this security issue */ remediationDescription?: string; - category?: Category[]; + categories?: Categories[]; /** * The severity level of the assessment. Possible values include: 'Low', 'Medium', 'High' */ @@ -2935,9 +2846,9 @@ export interface ProtectionMode { } /** - * Represents a summary of the alerts of the VM/server group + * Represents a summary of the alerts of the machine group */ -export interface AppWhitelistingIssueSummary { +export interface AdaptiveApplicationControlIssueSummary { /** * Possible values include: 'ViolationsAudited', 'ViolationsBlocked', * 'MsiAndScriptViolationsAudited', 'MsiAndScriptViolationsBlocked', @@ -2945,13 +2856,13 @@ export interface AppWhitelistingIssueSummary { */ issue?: Issue; /** - * The number of machines in the VM/server group that have this alert + * The number of machines in the group that have this alert */ numberOfVms?: number; } /** - * Represents a machine that is part of a VM/server group + * Represents a machine that is part of a machine group */ export interface VmRecommendation { /** @@ -3011,7 +2922,7 @@ export interface UserRecommendation { */ export interface PathRecommendation { /** - * The full path to whitelist + * The full path of the file, or an identifier of the application */ path?: string; /** @@ -3025,7 +2936,7 @@ export interface PathRecommendation { type?: Type; publisherInfo?: PublisherInfo; /** - * Whether the path is commonly run on the machine + * Whether the application is commonly run on the machine */ common?: boolean; userSids?: string[]; @@ -3041,9 +2952,9 @@ export interface PathRecommendation { } /** - * An interface representing AppWhitelistingGroup. + * An interface representing AdaptiveApplicationControlGroup. */ -export interface AppWhitelistingGroup { +export interface AdaptiveApplicationControlGroup { /** * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -3082,7 +2993,7 @@ export interface AppWhitelistingGroup { /** * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly issues?: AppWhitelistingIssueSummary[]; + readonly issues?: AdaptiveApplicationControlIssueSummary[]; /** * Possible values include: 'Azure_AppLocker', 'Azure_AuditD', 'NonAzure_AppLocker', * 'NonAzure_AuditD', 'None' @@ -3094,11 +3005,22 @@ export interface AppWhitelistingGroup { } /** - * Represents a list of VM/server groups and set of rules that are Recommended by Azure Security + * Represents a list of machine groups and set of rules that are recommended by Azure Security * Center to be allowed */ -export interface AppWhitelistingGroups { - value?: AppWhitelistingGroup[]; +export interface AdaptiveApplicationControlGroups { + value?: AdaptiveApplicationControlGroup[]; +} + +/** + * Describes an Azure resource with location + */ +export interface Location { + /** + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; } /** @@ -3595,6 +3517,68 @@ export interface DiscoveredSecuritySolution { sku: string; } +/** + * An interface representing SecuritySolutionsReferenceData. + */ +export interface SecuritySolutionsReferenceData { + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + /** + * The security family of the security solution. Possible values include: 'Waf', 'Ngfw', + * 'SaasWaf', 'Va' + */ + securityFamily: SecurityFamily; + /** + * The security solutions' vendor name + */ + alertVendorName: string; + /** + * The security solutions' package info url + */ + packageInfoUrl: string; + /** + * The security solutions' product name + */ + productName: string; + /** + * The security solutions' publisher + */ + publisher: string; + /** + * The security solutions' publisher display name + */ + publisherDisplayName: string; + /** + * The security solutions' template + */ + template: string; +} + +/** + * An interface representing SecuritySolutionsReferenceDataList. + */ +export interface SecuritySolutionsReferenceDataList { + value?: SecuritySolutionsReferenceData[]; +} + /** * Contains the possible cases for ExternalSecuritySolution. */ @@ -3807,20 +3791,31 @@ export interface AadConnectivityState1 { */ export interface SecureScoreItem extends Resource { /** - * User friendly display name of the secure score item + * The initiative’s name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly displayName?: string; /** - * Maximum score applicable + * Maximum score available * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly max?: number; /** - * Actual score + * Current score * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly current?: number; + /** + * Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly percentage?: number; + /** + * The relative weight for each subscription. Used when calculating an aggregated secure score + * for multiple subscriptions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly weight?: number; } /** @@ -3838,16 +3833,20 @@ export interface SecureScoreControlScore { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly current?: number; + /** + * Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly percentage?: number; } /** - * representing the source of the control + * The type of the security control (For example, BuiltIn) */ export interface SecureScoreControlDefinitionSource { /** - * BuiltIn if the control is built-in from Azure Security Center managed assessments, Custom - * (Future) if the assessment based on custom Azure Policy definition, CustomerManaged (future) - * for customers who build their own controls. Possible values include: 'BuiltIn', 'Custom' + * The type of security control (for example, BuiltIn). Possible values include: 'BuiltIn', + * 'Custom' */ sourceType?: ControlType; } @@ -3864,7 +3863,7 @@ export interface AzureResourceLink { } /** - * Secure Score Control's Definition information + * Information about the security control. */ export interface SecureScoreControlDefinitionItem extends Resource { /** @@ -3888,14 +3887,14 @@ export interface SecureScoreControlDefinitionItem extends Resource { */ readonly source?: SecureScoreControlDefinitionSource; /** - * array of assessments metadata IDs that are included in this control + * Array of assessments metadata IDs that are included in this security control * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly assessmentDefinitions?: AzureResourceLink[]; } /** - * Secure score control (calculated) object + * Details of the security control, its score, and the health status of the relevant resources. */ export interface SecureScoreControlDetails extends Resource { /** @@ -3904,15 +3903,20 @@ export interface SecureScoreControlDetails extends Resource { */ readonly displayName?: string; /** - * Maximum score applicable + * Maximum score available * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly max?: number; /** - * Actual score + * Current score * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly current?: number; + /** + * Ratio of the current score divided by the maximum. Rounded to 4 digits after the decimal point + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly percentage?: number; /** * Number of healthy resources in the control * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -3928,1201 +3932,4818 @@ export interface SecureScoreControlDetails extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly notApplicableResourceCount?: number; + /** + * The relative weight for this specific control in each of your subscriptions. Used when + * calculating an aggregated score for this control across all of your subscriptions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly weight?: number; definition?: SecureScoreControlDefinitionItem; } /** - * Optional Parameters. + * An interface representing SecuritySolution. */ -export interface AlertsListOptionalParams extends msRest.RequestOptionsBase { +export interface SecuritySolution { /** - * OData filter. Optional. + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; + readonly id?: string; /** - * OData select. Optional. + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - select?: string; + readonly name?: string; /** - * OData expand. Optional. + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - expand?: string; + readonly type?: string; /** - * The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and - * get the alerts that would have been dismissed if the rule was enabled when the alert was - * created + * Location where the resource is stored + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - autoDismissRuleName?: string; -} - -/** - * Optional Parameters. - */ -export interface AlertsListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { + readonly location?: string; /** - * OData filter. Optional. + * The security family of the security solution. Possible values include: 'Waf', 'Ngfw', + * 'SaasWaf', 'Va' */ - filter?: string; + securityFamily: SecurityFamily; /** - * OData select. Optional. + * The security family provisioning State. Possible values include: 'Succeeded', 'Failed', + * 'Updating' */ - select?: string; + provisioningState: ProvisioningState; /** - * OData expand. Optional. + * The security solutions' template */ - expand?: string; + template: string; /** - * The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and - * get the alerts that would have been dismissed if the rule was enabled when the alert was - * created + * The security solutions' status */ - autoDismissRuleName?: string; + protectionStatus: string; } /** - * Optional Parameters. + * For a non-Azure machine that is not connected directly to the internet, specify a proxy server + * that the non-Azure machine can use. */ -export interface AlertsListSubscriptionLevelAlertsByRegionOptionalParams extends msRest.RequestOptionsBase { +export interface ProxyServerProperties { /** - * OData filter. Optional. + * Proxy server IP */ - filter?: string; + ip?: string; /** - * OData select. Optional. + * Proxy server port */ - select?: string; + port?: string; +} + +/** + * Details of the service principal. + */ +export interface ServicePrincipalProperties { /** - * OData expand. Optional. + * Application ID of service principal. */ - expand?: string; + applicationId?: string; /** - * The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and - * get the alerts that would have been dismissed if the rule was enabled when the alert was - * created + * A secret string that the application uses to prove its identity, also can be referred to as + * application password (write only). */ - autoDismissRuleName?: string; + secret?: string; } /** - * Optional Parameters. + * Settings for hybrid compute management */ -export interface AlertsListResourceGroupLevelAlertsByRegionOptionalParams extends msRest.RequestOptionsBase { +export interface HybridComputeSettingsProperties { /** - * OData filter. Optional. + * State of the service principal and its secret. Possible values include: 'Valid', 'Invalid', + * 'Expired' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - filter?: string; + readonly hybridComputeProvisioningState?: HybridComputeProvisioningState; /** - * OData select. Optional. + * Whether or not to automatically install Azure Arc (hybrid compute) agents on machines. + * Possible values include: 'On', 'Off' */ - select?: string; + autoProvision: AutoProvision; /** - * OData expand. Optional. + * The name of the resource group where Arc (Hybrid Compute) connectors are connected. */ - expand?: string; + resourceGroupName?: string; /** - * The name of an existing auto dismiss rule. Use it to simulate the rule on existing alerts and - * get the alerts that would have been dismissed if the rule was enabled when the alert was - * created + * The location where the metadata of machines will be stored */ - autoDismissRuleName?: string; -} - -/** - * Optional Parameters. - */ -export interface IotSecuritySolutionListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { + region?: string; /** - * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. + * For a non-Azure machine that is not connected directly to the internet, specify a proxy server + * that the non-Azure machine can use. */ - filter?: string; + proxyServer?: ProxyServerProperties; + /** + * An object to access resources that are secured by an Azure AD tenant. + */ + servicePrincipal?: ServicePrincipalProperties; } /** - * Optional Parameters. + * Contains the possible cases for AuthenticationDetailsProperties. */ -export interface IotSecuritySolutionListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { - /** - * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. - */ - filter?: string; -} +export type AuthenticationDetailsPropertiesUnion = AuthenticationDetailsProperties | AwsCredsAuthenticationDetailsProperties | AwAssumeRoleAuthenticationDetailsProperties | GcpCredentialsDetailsProperties; /** - * Optional Parameters. + * Settings for cloud authentication management */ -export interface IotSecuritySolutionsAnalyticsAggregatedAlertListOptionalParams extends msRest.RequestOptionsBase { +export interface AuthenticationDetailsProperties { /** - * Number of results to retrieve. + * Polymorphic Discriminator */ - top?: number; + authenticationType: "AuthenticationDetailsProperties"; + /** + * State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', + * 'IncorrectPolicy' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly authenticationProvisioningState?: AuthenticationProvisioningState; + /** + * The permissions detected in the cloud account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly grantedPermissions?: PermissionProperty[]; } /** - * Optional Parameters. + * The connector setting */ -export interface IotSecuritySolutionsAnalyticsRecommendationListOptionalParams extends msRest.RequestOptionsBase { +export interface ConnectorSetting extends Resource { /** - * Number of results to retrieve. + * Settings for hybrid compute management. These settings are relevant only for Arc autoProvision + * (Hybrid Compute). */ - top?: number; + hybridComputeSettings?: HybridComputeSettingsProperties; + /** + * Settings for authentication management, these settings are relevant only for the cloud + * connector. + */ + authenticationDetails?: AuthenticationDetailsPropertiesUnion; } /** - * Optional Parameters. + * AWS cloud account connector based credentials, the credentials is composed of access key ID and + * secret key, for more details, refer to Creating an IAM + * User in Your AWS Account (write only) */ -export interface TasksListOptionalParams extends msRest.RequestOptionsBase { +export interface AwsCredsAuthenticationDetailsProperties { /** - * OData filter. Optional. + * Polymorphic Discriminator */ - filter?: string; -} + authenticationType: "awsCreds"; + /** + * State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', + * 'IncorrectPolicy' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly authenticationProvisioningState?: AuthenticationProvisioningState; + /** + * The permissions detected in the cloud account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly grantedPermissions?: PermissionProperty[]; + /** + * The ID of the cloud account + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly accountId?: string; + /** + * Public key element of the AWS credential object (write only) + */ + awsAccessKeyId: string; + /** + * Secret key element of the AWS credential object (write only) + */ + awsSecretAccessKey: string; +} /** - * Optional Parameters. + * AWS cloud account connector based assume role, the role enables delegating access to your AWS + * resources. The role is composed of role Amazon Resource Name (ARN) and external ID. For more + * details, refer to Creating a + * Role to Delegate Permissions to an IAM User (write only) */ -export interface TasksListByHomeRegionOptionalParams extends msRest.RequestOptionsBase { +export interface AwAssumeRoleAuthenticationDetailsProperties { /** - * OData filter. Optional. + * Polymorphic Discriminator */ - filter?: string; + authenticationType: "awsAssumeRole"; + /** + * State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', + * 'IncorrectPolicy' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly authenticationProvisioningState?: AuthenticationProvisioningState; + /** + * The permissions detected in the cloud account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly grantedPermissions?: PermissionProperty[]; + /** + * The ID of the cloud account + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly accountId?: string; + /** + * Assumed role ID is an identifier that you can use to create temporary security credentials. + */ + awsAssumeRoleArn: string; + /** + * A unique identifier that is required when you assume a role in another account. + */ + awsExternalId: string; } /** - * Optional Parameters. + * GCP cloud account connector based service to service credentials, the credentials are composed + * of the organization ID and a JSON API key (write only) */ -export interface TasksListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { +export interface GcpCredentialsDetailsProperties { /** - * OData filter. Optional. + * Polymorphic Discriminator */ - filter?: string; + authenticationType: "gcpCredentials"; + /** + * State of the multi-cloud connector. Possible values include: 'Valid', 'Invalid', 'Expired', + * 'IncorrectPolicy' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly authenticationProvisioningState?: AuthenticationProvisioningState; + /** + * The permissions detected in the cloud account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly grantedPermissions?: PermissionProperty[]; + /** + * The organization ID of the GCP cloud account + */ + organizationId: string; + /** + * Type field of the API key (write only) + */ + type: string; + /** + * Project ID field of the API key (write only) + */ + projectId: string; + /** + * Private key ID field of the API key (write only) + */ + privateKeyId: string; + /** + * Private key field of the API key (write only) + */ + privateKey: string; + /** + * Client email field of the API key (write only) + */ + clientEmail: string; + /** + * Client ID field of the API key (write only) + */ + clientId: string; + /** + * Auth URI field of the API key (write only) + */ + authUri: string; + /** + * Token URI field of the API key (write only) + */ + tokenUri: string; + /** + * Auth provider x509 certificate URL field of the API key (write only) + */ + authProviderX509CertUrl: string; + /** + * Client x509 certificate URL field of the API key (write only) + */ + clientX509CertUrl: string; } /** - * Optional Parameters. + * A vulnerability assessment scan record properties. */ -export interface RegulatoryComplianceStandardsListOptionalParams extends msRest.RequestOptionsBase { +export interface ScanProperties { /** - * OData filter. Optional. + * Possible values include: 'OnDemand', 'Recurring' */ - filter?: string; + triggerType?: ScanTriggerType; + /** + * Possible values include: 'Failed', 'FailedToRun', 'InProgress', 'Passed' + */ + state?: ScanState; + /** + * The server name. + */ + server?: string; + /** + * The database name. + */ + database?: string; + /** + * The SQL version. + */ + sqlVersion?: string; + /** + * The scan start time (UTC). + */ + startTime?: Date; + /** + * Scan results are valid until end time (UTC). + */ + endTime?: Date; + /** + * The number of failed rules with high severity. + */ + highSeverityFailedRulesCount?: number; + /** + * The number of failed rules with medium severity. + */ + mediumSeverityFailedRulesCount?: number; + /** + * The number of failed rules with low severity. + */ + lowSeverityFailedRulesCount?: number; + /** + * The number of total passed rules. + */ + totalPassedRulesCount?: number; + /** + * The number of total failed rules. + */ + totalFailedRulesCount?: number; + /** + * The number of total rules assessed. + */ + totalRulesCount?: number; + /** + * Baseline created for this database, and has one or more rules. + */ + isBaselineApplied?: boolean; } /** - * Optional Parameters. + * A vulnerability assessment scan record. */ -export interface RegulatoryComplianceControlsListOptionalParams extends msRest.RequestOptionsBase { - /** - * OData filter. Optional. - */ - filter?: string; +export interface Scan extends Resource { + properties?: ScanProperties; } /** - * Optional Parameters. + * A list of vulnerability assessment scan records. */ -export interface RegulatoryComplianceAssessmentsListOptionalParams extends msRest.RequestOptionsBase { +export interface Scans { /** - * OData filter. Optional. + * List of vulnerability assessment scan records. */ - filter?: string; + value?: Scan[]; } /** - * Optional Parameters. + * Remediation details. */ -export interface AlertsSuppressionRulesListOptionalParams extends msRest.RequestOptionsBase { +export interface Remediation { /** - * Type of the alert to get rules for + * Remediation description. */ - alertType?: string; + description?: string; + /** + * Remediation script. + */ + scripts?: string[]; + /** + * Is remediation automated. + */ + automated?: boolean; + /** + * Optional link to remediate in Azure Portal. + */ + portalLink?: string; } /** - * Optional Parameters. + * Baseline details. */ -export interface AssessmentsGetOptionalParams extends msRest.RequestOptionsBase { +export interface Baseline { /** - * OData expand. Optional. Possible values include: 'links', 'metadata' + * Expected results. */ - expand?: ExpandEnum; + expectedResults?: string[][]; + /** + * Baseline update time (UTC). + */ + updatedTime?: Date; } /** - * Optional Parameters. + * The rule result adjusted with baseline. */ -export interface AdaptiveApplicationControlsListOptionalParams extends msRest.RequestOptionsBase { +export interface BaselineAdjustedResult { + baseline?: Baseline; /** - * Include the policy rules + * Possible values include: 'NonFinding', 'Finding', 'InternalError' */ - includePathRecommendations?: boolean; + status?: RuleStatus; /** - * Return output in a summarized form + * Results the are not in baseline. */ - summary?: boolean; + resultsNotInBaseline?: string[][]; + /** + * Results the are in baseline. + */ + resultsOnlyInBaseline?: string[][]; } /** - * Optional Parameters. + * The rule query details. */ -export interface SecureScoreControlsListBySecureScoreOptionalParams extends msRest.RequestOptionsBase { +export interface QueryCheck { /** - * OData expand. Optional. Possible values include: 'definition' + * The rule query. */ - expand?: ExpandControlsEnum; + query?: string; + /** + * Expected result. + */ + expectedResult?: string[][]; + /** + * Column names of expected result. + */ + columnNames?: string[]; } /** - * Optional Parameters. + * The benchmark references. */ -export interface SecureScoreControlsListOptionalParams extends msRest.RequestOptionsBase { +export interface BenchmarkReference { /** - * OData expand. Optional. Possible values include: 'definition' + * The benchmark name. */ - expand?: ExpandControlsEnum; + benchmark?: string; + /** + * The benchmark reference. + */ + reference?: string; } /** - * An interface representing SecurityCenterOptions. + * vulnerability assessment rule metadata details. */ -export interface SecurityCenterOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface VaRule { + /** + * The rule Id. + */ + ruleId?: string; + /** + * Possible values include: 'High', 'Medium', 'Low', 'Informational', 'Obsolete' + */ + severity?: RuleSeverity; + /** + * The rule category. + */ + category?: string; + /** + * Possible values include: 'Binary', 'BaselineExpected', 'PositiveList', 'NegativeList' + */ + ruleType?: RuleType; + /** + * The rule title. + */ + title?: string; + /** + * The rule description. + */ + description?: string; + /** + * The rule rationale. + */ + rationale?: string; + queryCheck?: QueryCheck; + /** + * The benchmark references. + */ + benchmarkReferences?: BenchmarkReference[]; } /** - * @interface - * List of compliance results response - * @extends Array + * A vulnerability assessment scan result properties for a single rule. */ -export interface ComplianceResultList extends Array { +export interface ScanResultProperties { /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The rule Id. */ - readonly nextLink?: string; + ruleId?: string; + /** + * Possible values include: 'NonFinding', 'Finding', 'InternalError' + */ + status?: RuleStatus; + /** + * Indicated whether the results specified here are trimmed. + */ + isTrimmed?: boolean; + /** + * The results of the query that was run. + */ + queryResults?: string[][]; + remediation?: Remediation; + baselineAdjustedResult?: BaselineAdjustedResult; + ruleMetadata?: VaRule; } /** - * @interface - * List of security alerts - * @extends Array + * A vulnerability assessment scan result for a single rule. */ -export interface AlertList extends Array { - /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; +export interface ScanResult extends Resource { + properties?: ScanResultProperties; } /** - * @interface - * Subscription settings list. - * @extends Array + * A list of vulnerability assessment scan results. */ -export interface SettingsList extends Array { +export interface ScanResults { /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of vulnerability assessment scan results. */ - readonly nextLink?: string; + value?: ScanResult[]; } /** - * @interface - * List of device security groups - * @extends Array + * Rule results input. */ -export interface DeviceSecurityGroupList extends Array { +export interface RuleResultsInput { /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Take results from latest scan. */ - readonly nextLink?: string; + latestScan?: boolean; + /** + * Expected results to be inserted into the baseline. + * Leave this field empty it LatestScan == true. + */ + results?: string[][]; } /** - * @interface - * List of IoT Security solutions. - * @extends Array + * Rule results properties. */ -export interface IoTSecuritySolutionsList extends Array { +export interface RuleResultsProperties { /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Expected results in the baseline. */ - readonly nextLink?: string; + results?: string[][]; } /** - * @interface - * List of IoT Security solution aggregated alert data. - * @extends Array + * Rule results. */ -export interface IoTSecurityAggregatedAlertList extends Array { - /** - * When there is too much alert data for one page, use this URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; +export interface RuleResults extends Resource { + properties?: RuleResultsProperties; } /** - * @interface - * List of IoT Security solution aggregated recommendations. - * @extends Array + * A list of rules results. */ -export interface IoTSecurityAggregatedRecommendationList extends Array { +export interface RulesResults { /** - * When there is too much alert data for one page, use this URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * List of rule results. */ - readonly nextLink?: string; + value?: RuleResults[]; } /** - * @interface - * List of locations where ASC saves your data - * @extends Array + * Rules results input. */ -export interface AscLocationList extends Array { +export interface RulesResultsInput { /** - * The URI to fetch the next page. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Take results from latest scan. */ - readonly nextLink?: string; + latestScan?: boolean; + /** + * Expected results to be inserted into the baseline. + * Leave this field empty it LatestScan == true. + */ + results?: { [propertyName: string]: string[][] }; } /** - * @interface - * List of possible operations for Microsoft.Security resource provider - * @extends Array + * IoT Defender settings */ -export interface OperationList extends Array { +export interface IotDefenderSettingsModel extends Resource { /** - * The URI to fetch the next page. + * Size of the device quota (as a opposed to a Pay as You Go billing model). Value is required to + * be in multiples of 1000. + */ + deviceQuota: number; + /** + * Sentinel Workspace Resource Ids + */ + sentinelWorkspaceResourceIds: string[]; + /** + * The kind of onboarding for the subscription. Possible values include: 'Default', + * 'MigratedToAzure', 'Evaluation', 'Purchased' + */ + onboardingKind: OnboardingKind; + /** + * End time of the evaluation period, if such exist * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly evaluationEndTime?: Date; } /** - * @interface - * List of security task recommendations - * @extends Array + * List of IoT Defender settings */ -export interface SecurityTaskList extends Array { +export interface IotDefenderSettingsList { /** - * The URI to fetch the next page. + * List data * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly value?: IotDefenderSettingsModel[]; } /** - * @interface - * List of all the auto provisioning settings response - * @extends Array + * Information on a specific package download */ -export interface AutoProvisioningSettingList extends Array { +export interface PackageDownloadInfo { /** - * The URI to fetch the next page. + * Version number * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; -} - -/** - * @interface - * List of Compliance objects response - * @extends Array - */ -export interface ComplianceList extends Array { + readonly version?: string; /** - * The URI to fetch the next page. + * Download link + */ + link?: string; + /** + * Kind of the version. Possible values include: 'Latest', 'Previous', 'Preview' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly versionKind?: VersionKind; } /** - * @interface - * Information protection policies response. - * @extends Array + * Information on a specific package upgrade download */ -export interface InformationProtectionPolicyList extends Array { +export interface UpgradePackageDownloadInfo extends PackageDownloadInfo { /** - * The URI to fetch the next page. + * Minimum base version for upgrade * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly fromVersion?: string; } /** - * @interface - * List of security contacts response - * @extends Array + * Contains all OVF (virtual machine) full versions for the sensor */ -export interface SecurityContactList extends Array { +export interface PackageDownloadsSensorFullOvf { /** - * The URI to fetch the next page. + * Enterprise package type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; -} - -/** - * @interface - * List of workspace settings response - * @extends Array - */ -export interface WorkspaceSettingList extends Array { + readonly enterprise?: PackageDownloadInfo[]; /** - * The URI to fetch the next page. + * Medium package type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly medium?: PackageDownloadInfo[]; + /** + * Line package type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly line?: PackageDownloadInfo[]; } /** - * @interface - * List of regulatory compliance standards response - * @extends Array + * Contains full package downloads */ -export interface RegulatoryComplianceStandardList extends Array { +export interface PackageDownloadsSensorFull { /** - * The URI to fetch the next page. + * Contains all ISO full versions for the sensor * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly iso?: PackageDownloadInfo[]; + /** + * Contains all OVF (virtual machine) full versions for the sensor + */ + ovf?: PackageDownloadsSensorFullOvf; } /** - * @interface - * List of regulatory compliance controls response - * @extends Array + * Contains all Sensor binary downloads */ -export interface RegulatoryComplianceControlList extends Array { +export interface PackageDownloadsSensor { /** - * The URI to fetch the next page. + * Contains full package downloads * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly full?: PackageDownloadsSensorFull; + /** + * Sensor upgrade package downloads (on existing installations) + */ + upgrade?: UpgradePackageDownloadInfo[]; } /** - * @interface - * List of regulatory compliance assessment response - * @extends Array + * Contains all OVF (virtual machine) full versions of the Central Manager */ -export interface RegulatoryComplianceAssessmentList extends Array { +export interface PackageDownloadsCentralManagerFullOvf { /** - * The URI to fetch the next page. + * The Enterprise package type * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly enterprise?: PackageDownloadInfo[]; + /** + * The EnterpriseHighAvailability package type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly enterpriseHighAvailability?: PackageDownloadInfo[]; + /** + * The Medium package type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly medium?: PackageDownloadInfo[]; + /** + * The MediumHighAvailability package type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly mediumHighAvailability?: PackageDownloadInfo[]; } /** - * @interface - * List of security sub-assessments - * @extends Array + * Contains full package downloads */ -export interface SecuritySubAssessmentList extends Array { +export interface PackageDownloadsCentralManagerFull { /** - * The URI to fetch the next page. + * Contains all ISO full versions of the Central Manager * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly iso?: PackageDownloadInfo[]; + /** + * Contains all OVF (virtual machine) full versions of the Central Manager + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ovf?: PackageDownloadsCentralManagerFullOvf; } /** - * @interface - * List of security automations response. - * @extends Array + * All downloads for Central Manager */ -export interface AutomationList extends Array { +export interface PackageDownloadsCentralManager { /** - * The URI to fetch the next page. + * Contains full package downloads * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly full?: PackageDownloadsCentralManagerFull; + /** + * Central Manager upgrade package downloads (on existing installations) + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly upgrade?: UpgradePackageDownloadInfo[]; } /** - * @interface - * Suppression rules list for subscription. - * @extends Array + * Information about package downloads */ -export interface AlertsSuppressionRulesList extends Array { +export interface PackageDownloads { /** - * URI to fetch the next page. + * Contains all Sensor binary downloads * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly sensor?: PackageDownloadsSensor; + /** + * All downloads for Central Manager + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly centralManager?: PackageDownloadsCentralManager; + /** + * All downloads for threat intelligence + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly threatIntelligence?: PackageDownloadInfo[]; + /** + * SNMP Server file + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly snmp?: PackageDownloadInfo[]; + /** + * Used for local configuration export + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly wmiTool?: PackageDownloadInfo[]; + /** + * Authorized devices import template + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly authorizedDevicesImportTemplate?: PackageDownloadInfo[]; + /** + * Authorized devices import template + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly deviceInformationUpdateImportTemplate?: PackageDownloadInfo[]; } /** - * @interface - * List of security assessment metadata - * @extends Array + * IoT sensor model */ -export interface SecurityAssessmentMetadataList extends Array { +export interface IotSensorsModel extends Resource { /** - * The URI to fetch the next page. + * Last connectivity time of the IoT sensor * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly connectivityTime?: string; + /** + * Creation time of the IoT sensor + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly creationTime?: string; + /** + * Dynamic mode status of the IoT sensor + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dynamicLearning?: boolean; + /** + * Learning mode status of the IoT sensor + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly learningMode?: boolean; + /** + * Status of the IoT sensor. Possible values include: 'Ok', 'Disconnected', 'Unavailable' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sensorStatus?: SensorStatus; + /** + * Version of the IoT sensor + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sensorVersion?: string; + /** + * TI Automatic mode status of the IoT sensor + */ + tiAutomaticUpdates?: boolean; + /** + * TI Status of the IoT sensor. Possible values include: 'Ok', 'Failed', 'InProgress', + * 'UpdateAvailable' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly tiStatus?: TiStatus; + /** + * TI Version of the IoT sensor + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly tiVersion?: string; + /** + * Zone of the IoT sensor + */ + zone?: string; + /** + * Type of sensor. Possible values include: 'Ot', 'Enterprise' + */ + sensorType?: SensorType; } /** - * @interface - * Page of a security assessments list - * @extends Array + * List of IoT sensors */ -export interface SecurityAssessmentList extends Array { +export interface IotSensorsList { /** - * The URI to fetch the next page. + * List data * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly value?: IotSensorsModel[]; } /** - * @interface - * Response for ListAdaptiveNetworkHardenings API service call - * @extends Array + * Reset password input. */ -export interface AdaptiveNetworkHardeningsList extends Array { +export interface ResetPasswordInput { /** - * The URL to get the next set of results + * The appliance id of the sensor. */ - nextLink?: string; + applianceId?: string; } /** - * @interface - * List of all possible traffic between Azure resources - * @extends Array + * IP Address information */ -export interface AllowedConnectionsList extends Array { +export interface IpAddress { /** - * The URI to fetch the next page. + * IPV4 address * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; -} - -/** - * @interface - * An interface representing the TopologyList. - * @extends Array - */ -export interface TopologyList extends Array { + readonly v4Address?: string; /** - * The URI to fetch the next page. + * Detection time of the ip address. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly detectionTime?: Date; + /** + * Subnet Classless Inter-Domain Routing + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly subnetCidr?: string; + /** + * Fully qualified domain name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fqdn?: string; + /** + * FQDN last lookup time. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly fqdnLastLookupTime?: Date; } /** - * @interface - * An interface representing the JitNetworkAccessPoliciesList. - * @extends Array + * MAC Address information */ -export interface JitNetworkAccessPoliciesList extends Array { +export interface MacAddress { /** - * The URI to fetch the next page. + * MAC address * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly address?: string; + /** + * Detection time of the mac address. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly detectionTime?: Date; + /** + * Indicates whether this is the primary secondary MAC address of the device. Possible values + * include: 'Primary', 'Secondary' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly significance?: MacSignificance; + /** + * Indicates whether the relation of the mac to the ip address is certain or a guess. Possible + * values include: 'Guess', 'Certain' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly relationToIpStatus?: RelationToIpStatus; } /** - * @interface - * An interface representing the DiscoveredSecuritySolutionList. - * @extends Array + * Network interface */ -export interface DiscoveredSecuritySolutionList extends Array { +export interface NetworkInterface { + ipAddress?: IpAddress; + macAddress?: MacAddress; /** - * The URI to fetch the next page. + * List of device vlans. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly vlans?: string[]; } /** - * @interface - * An interface representing the ExternalSecuritySolutionList. - * @extends Array + * Protocol data */ -export interface ExternalSecuritySolutionList extends Array { +export interface Protocol1 { /** - * The URI to fetch the next page. + * Protocol name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly name?: string; + /** + * list of protocol identifiers. + */ + identifiers?: string; } /** - * @interface - * Page of a secure scores list - * @extends Array + * Firmware information */ -export interface SecureScoresList extends Array { +export interface Firmware { /** - * The URI to fetch the next page. + * Address of the specific module a firmware is related to * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly moduleAddress?: string; + /** + * Rack number of the module a firmware is related to. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly rack?: string; + /** + * Slot number in the rack of the module a firmware is related to + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly slot?: string; + /** + * Serial of the firmware + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly serial?: string; + /** + * Firmware model + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly model?: string; + /** + * Firmware version + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly version?: string; + /** + * A bag of fields which extends the firmware information. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly additionalData?: any; } /** - * @interface - * Page of a secure score controls list - * @extends Array + * Sensor data */ -export interface SecureScoreControlList extends Array { +export interface Sensor { /** - * The URI to fetch the next page. + * Sensor name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly name?: string; + /** + * Zone Name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly zone?: string; } /** - * @interface - * Page of a secure score controls definition list - * @extends Array + * Site data */ -export interface SecureScoreControlDefinitionList extends Array { +export interface Site { /** - * The URI to fetch the next page. + * Site display name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly displayName?: string; } /** - * Defines values for ResourceStatus. - * Possible values include: 'Healthy', 'NotApplicable', 'OffByPolicy', 'NotHealthy' - * @readonly - * @enum {string} + * Device model + */ +export interface Device extends Resource { + /** + * Device display name given by the collector + */ + displayName?: string; + /** + * Device type. + */ + deviceType?: string; + /** + * The source that created the device + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sourceName?: string; + /** + * List of network interfaces. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly networkInterfaces?: NetworkInterface[]; + /** + * Device vendor + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vendor?: string; + /** + * Device operating system name. + */ + osName?: string; + /** + * List of protocols. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly protocols?: Protocol1[]; + /** + * last time the device was active in the network + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastActiveTime?: Date; + /** + * last time the device was updated + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastUpdateTime?: Date; + /** + * Managed state of the device. Possible values include: 'Managed', 'Unmanaged' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly managementState?: ManagementState; + /** + * Authorized state of the device. Possible values include: 'Authorized', 'Unauthorized'. Default + * value: 'Unauthorized'. + */ + authorizationState?: AuthorizationState; + /** + * Device criticality. Possible values include: 'Important', 'Standard'. Default value: + * 'Standard'. + */ + deviceCriticality?: DeviceCriticality; + /** + * Purdue level of the device. Possible values include: 'ProcessControl', 'Supervisory', + * 'Enterprise'. Default value: 'ProcessControl'. + */ + purdueLevel?: PurdueLevel; + /** + * user notes for the device, up to 300 characters. + */ + notes?: string; + /** + * List of device firmwares. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly firmwares?: Firmware[]; + /** + * Discovered time of the device. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly discoveryTime?: Date; + /** + * Indicates whether this device is programming. Possible values include: 'ProgrammingDevice', + * 'NotProgrammingDevice' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly programmingState?: ProgrammingState; + /** + * last time the device was programming or programed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastProgrammingTime?: Date; + /** + * Indicates whether the device is a scanner. Possible values include: 'ScannerDevice', + * 'NotScannerDevice' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly scanningFunctionality?: ScanningFunctionality; + /** + * last time the device was scanning. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lastScanTime?: Date; + /** + * risk score of the device. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly riskScore?: number; + /** + * List of sensors that scanned this device. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly sensors?: Sensor[]; + /** + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly site?: Site; + /** + * Device status. Possible values include: 'Active', 'Removed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly deviceStatus?: DeviceStatus; +} + +/** + * On-premise IoT sensor + */ +export interface OnPremiseIotSensor extends Resource { + /** + * On-premise IoT sensor properties + */ + properties?: any; +} + +/** + * List of on-premise IoT sensors + */ +export interface OnPremiseIotSensorsList { + /** + * List data + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: OnPremiseIotSensor[]; +} + +/** + * IoT site model + */ +export interface IotSitesModel extends Resource { + /** + * Display name of the IoT site + */ + displayName: string; + /** + * Tags of the IoT site + */ + tags?: { [propertyName: string]: string }; +} + +/** + * List of IoT sites + */ +export interface IotSitesList { + /** + * List data + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: IotSitesModel[]; +} + +/** + * IoT alert + */ +export interface IotAlertModel extends Resource { + /** + * Holds the product canonical identifier of the alert within the scope of a product + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemAlertId?: string; + /** + * Display name of the main entity being reported on + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly compromisedEntity?: string; + /** + * The type name of the alert + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly alertType?: string; + /** + * The impact start time of the alert (the time of the first event or activity included in the + * alert) + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTimeUtc?: string; + /** + * The impact end time of the alert (the time of the last event or activity included in the + * alert) + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endTimeUtc?: string; + /** + * A list of entities related to the alert + */ + entities?: any[]; + /** + * A bag of fields which extends the alert information + */ + extendedProperties?: any; +} + +/** + * IoT alert type. + */ +export interface IotAlertType extends Resource { + /** + * The display name of the alert + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly alertDisplayName?: string; + /** + * The severity of the alert. Possible values include: 'Informational', 'Low', 'Medium', 'High' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly severity?: AlertSeverity; + /** + * Description of the suspected vulnerability and meaning. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * The name of the alert provider or internal partner + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly providerName?: string; + /** + * The name of the product which published this alert + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly productName?: string; + /** + * The name of a component inside the product which generated the alert + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly productComponentName?: string; + /** + * The name of the vendor that raise the alert + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vendorName?: string; + /** + * Kill chain related intent behind the alert. Could contain multiple enum values (separated by + * commas). Possible values include: 'Unknown', 'PreAttack', 'InitialAccess', 'Persistence', + * 'PrivilegeEscalation', 'DefenseEvasion', 'CredentialAccess', 'Discovery', 'LateralMovement', + * 'Execution', 'Collection', 'Exfiltration', 'CommandAndControl', 'Impact', 'Probing', + * 'Exploitation' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly intent?: AlertIntent; + /** + * Manual action items to take to remediate the alert + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly remediationSteps?: string[]; +} + +/** + * List of alert types + */ +export interface IotAlertTypeList { + /** + * List data + */ + value?: IotAlertType[]; +} + +/** + * IoT recommendation + */ +export interface IotRecommendationModel extends Resource { + /** + * Identifier of the device being reported on + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly deviceId?: string; + /** + * The type name of the recommendation + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly recommendationType?: string; + /** + * The discovery time of the recommendation + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly discoveredTimeUtc?: string; + /** + * A bag of fields which extends the recommendation information + */ + recommendationAdditionalData?: any; +} + +/** + * IoT recommendation type. + */ +export interface IotRecommendationType extends Resource { + /** + * The display name of the recommendation + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly recommendationDisplayName?: string; + /** + * The severity of the recommendation. Possible values include: 'Unknown', 'NotApplicable', + * 'Healthy', 'OffByPolicy', 'Low', 'Medium', 'High' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly severity?: RecommendationSeverity; + /** + * Description of the suspected vulnerability and meaning. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * The name of the product which published this recommendation + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly productName?: string; + /** + * The name of a component inside the product which generated the recommendation + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly productComponentName?: string; + /** + * The name of the vendor that raised the recommendation + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vendorName?: string; + /** + * The name of the recommendation's control category + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly control?: string; + /** + * Manual action items to take to resolve the recommendation + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly remediationSteps?: string[]; + /** + * The alert's data source + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly dataSource?: string; +} + +/** + * List of recommendation types + */ +export interface IotRecommendationTypeList { + /** + * List data + */ + value?: IotRecommendationType[]; +} + +/** + * Contains the possible cases for ResourceIdentifier. + */ +export type ResourceIdentifierUnion = ResourceIdentifier | AzureResourceIdentifier | LogAnalyticsIdentifier; + +/** + * A resource identifier for an alert which can be used to direct the alert to the right product + * exposure group (tenant, workspace, subscription etc.). + */ +export interface ResourceIdentifier { + /** + * Polymorphic Discriminator + */ + type: "ResourceIdentifier"; +} + +/** + * Changing set of properties depending on the entity type. + */ +export interface AlertEntity { + /** + * Type of entity + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; +} + +/** + * Security alert + */ +export interface Alert extends Resource { + /** + * Unique identifier for the detection logic (all alert instances from the same detection logic + * will have the same alertType). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly alertType?: string; + /** + * Unique identifier for the alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemAlertId?: string; + /** + * The name of Azure Security Center pricing tier which powering this alert. Learn more: + * https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly productComponentName?: string; + /** + * The display name of the alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly alertDisplayName?: string; + /** + * Description of the suspicious activity that was detected. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * The risk level of the threat that was detected. Learn more: + * https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified. + * Possible values include: 'Informational', 'Low', 'Medium', 'High' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly severity?: AlertSeverity; + /** + * The kill chain related intent behind the alert. For list of supported values, and explanations + * of Azure Security Center's supported kill chain intents. Possible values include: 'Unknown', + * 'PreAttack', 'InitialAccess', 'Persistence', 'PrivilegeEscalation', 'DefenseEvasion', + * 'CredentialAccess', 'Discovery', 'LateralMovement', 'Execution', 'Collection', 'Exfiltration', + * 'CommandAndControl', 'Impact', 'Probing', 'Exploitation' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly intent?: Intent; + /** + * The UTC time of the first event or activity included in the alert in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startTimeUtc?: Date; + /** + * The UTC time of the last event or activity included in the alert in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly endTimeUtc?: Date; + /** + * The resource identifiers that can be used to direct the alert to the right product exposure + * group (tenant, workspace, subscription etc.). There can be multiple identifiers of different + * type per alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceIdentifiers?: ResourceIdentifierUnion[]; + /** + * Manual action items to take to remediate the alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly remediationSteps?: string[]; + /** + * The name of the vendor that raises the alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vendorName?: string; + /** + * The life cycle status of the alert. Possible values include: 'Active', 'Resolved', 'Dismissed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: AlertStatus; + /** + * Links related to the alert + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly extendedLinks?: { [propertyName: string]: string }[]; + /** + * A direct link to the alert page in Azure Portal. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly alertUri?: string; + /** + * The UTC time the alert was generated in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly timeGeneratedUtc?: Date; + /** + * The name of the product which published this alert (Azure Security Center, Azure ATP, + * Microsoft Defender ATP, O365 ATP, MCAS, and so on). + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly productName?: string; + /** + * The UTC processing end time of the alert in ISO8601 format. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly processingEndTimeUtc?: Date; + /** + * A list of entities related to the alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly entities?: AlertEntity[]; + /** + * This field determines whether the alert is an incident (a compound grouping of several alerts) + * or a single alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly isIncident?: boolean; + /** + * Key for corelating related alerts. Alerts with the same correlation key considered to be + * related. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly correlationKey?: string; + /** + * Custom properties for the alert. + */ + extendedProperties?: { [propertyName: string]: string }; + /** + * The display name of the resource most related to this alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly compromisedEntity?: string; +} + +/** + * Azure resource identifier. + */ +export interface AzureResourceIdentifier { + /** + * Polymorphic Discriminator + */ + type: "AzureResource"; + /** + * ARM resource identifier for the cloud resource being alerted on + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly azureResourceId?: string; +} + +/** + * Represents a Log Analytics workspace scope identifier. + */ +export interface LogAnalyticsIdentifier { + /** + * Polymorphic Discriminator + */ + type: "LogAnalytics"; + /** + * The LogAnalytics workspace id that stores this alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly workspaceId?: string; + /** + * The azure subscription id for the LogAnalytics workspace storing this alert. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly workspaceSubscriptionId?: string; + /** + * The azure resource group for the LogAnalytics workspace storing this alert + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly workspaceResourceGroup?: string; + /** + * (optional) The LogAnalytics agent id reporting the event that this alert is based on. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly agentId?: string; +} + +/** + * Contains the possible cases for AlertSimulatorRequestProperties. + */ +export type AlertSimulatorRequestPropertiesUnion = AlertSimulatorRequestProperties | AlertSimulatorBundlesRequestProperties; + +/** + * Describes properties of an alert simulation request + */ +export interface AlertSimulatorRequestProperties { + /** + * Polymorphic Discriminator + */ + kind: "AlertSimulatorRequestProperties"; + /** + * Describes unknown properties. The value of an unknown property can be of "any" type. + */ + [property: string]: any; +} + +/** + * Alert Simulator request body. + */ +export interface AlertSimulatorRequestBody { + /** + * Alert Simulator request body data. + */ + properties?: AlertSimulatorRequestPropertiesUnion; +} + +/** + * Simulate alerts according to this bundles. + */ +export interface AlertSimulatorBundlesRequestProperties { + /** + * Polymorphic Discriminator + */ + kind: "Bundles"; + /** + * Bundles list. + */ + bundles?: BundleType[]; +} + +/** + * Contains the possible cases for Setting. + */ +export type SettingUnion = Setting | DataExportSettings | AlertSyncSettings; + +/** + * The kind of the security setting + */ +export interface Setting { + /** + * Polymorphic Discriminator + */ + kind: "Setting"; + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * Represents a data export setting + */ +export interface DataExportSettings { + /** + * Polymorphic Discriminator + */ + kind: "DataExportSettings"; + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Is the data export setting enabled + */ + enabled: boolean; +} + +/** + * Represents an alert sync setting + */ +export interface AlertSyncSettings { + /** + * Polymorphic Discriminator + */ + kind: "AlertSyncSettings"; + /** + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Is the alert sync setting enabled + */ + enabled: boolean; +} + +/** + * Configures how to correlate scan data and logs with resources associated with the subscription. + */ +export interface IngestionSetting extends Resource { + /** + * Ingestion setting data + */ + properties?: any; +} + +/** + * Configures how to correlate scan data and logs with resources associated with the subscription. + */ +export interface IngestionSettingToken { + /** + * The token is used for correlating security data and logs with the resources in the + * subscription. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly token?: string; +} + +/** + * Connection string for ingesting security data and logs + */ +export interface IngestionConnectionString { + /** + * The region where ingested logs and data resides + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly location?: string; + /** + * Connection string value + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: string; +} + +/** + * Connection string for ingesting security data and logs + */ +export interface ConnectionStrings { + /** + * Connection strings + */ + value: IngestionConnectionString[]; +} + +/** + * Represents a software data + */ +export interface Software extends Resource { + /** + * Unique identifier for the virtual machine in the service. + */ + deviceId?: string; + /** + * Platform of the operating system running on the device. + */ + osPlatform?: string; + /** + * Name of the software vendor. + */ + vendor?: string; + /** + * Name of the software product. + */ + softwareName?: string; + /** + * Version number of the software product. + */ + version?: string; + /** + * End of support status. Possible values include: 'None', 'noLongerSupported', + * 'versionNoLongerSupported', 'upcomingNoLongerSupported', 'upcomingVersionNoLongerSupported' + */ + endOfSupportStatus?: EndOfSupportStatus; + /** + * The end of support date in case the product is upcoming end of support. + */ + endOfSupportDate?: string; + /** + * Number of weaknesses. + */ + numberOfKnownVulnerabilities?: number; + /** + * First time that the software was seen in the device. + */ + firstSeenAt?: string; +} + +/** + * Optional Parameters. + */ +export interface IotSecuritySolutionListBySubscriptionOptionalParams extends msRest.RequestOptionsBase { + /** + * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface IotSecuritySolutionListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { + /** + * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface IotSecuritySolutionListBySubscriptionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface IotSecuritySolutionListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface IotSecuritySolutionsAnalyticsAggregatedAlertListOptionalParams extends msRest.RequestOptionsBase { + /** + * Number of results to retrieve. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface IotSecuritySolutionsAnalyticsAggregatedAlertListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Number of results to retrieve. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface IotSecuritySolutionsAnalyticsRecommendationListOptionalParams extends msRest.RequestOptionsBase { + /** + * Number of results to retrieve. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface IotSecuritySolutionsAnalyticsRecommendationListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Number of results to retrieve. + */ + top?: number; +} + +/** + * Optional Parameters. + */ +export interface TasksListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface TasksListByHomeRegionOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface TasksListByResourceGroupOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface TasksListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface TasksListByHomeRegionNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface TasksListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RegulatoryComplianceStandardsListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RegulatoryComplianceStandardsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RegulatoryComplianceControlsListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RegulatoryComplianceControlsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RegulatoryComplianceAssessmentsListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface RegulatoryComplianceAssessmentsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData filter. Optional. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface AlertsSuppressionRulesListOptionalParams extends msRest.RequestOptionsBase { + /** + * Type of the alert to get rules for + */ + alertType?: string; +} + +/** + * Optional Parameters. + */ +export interface AlertsSuppressionRulesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Type of the alert to get rules for + */ + alertType?: string; +} + +/** + * Optional Parameters. + */ +export interface AssessmentsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * OData expand. Optional. Possible values include: 'links', 'metadata' + */ + expand?: ExpandEnum; +} + +/** + * Optional Parameters. + */ +export interface AdaptiveApplicationControlsListOptionalParams extends msRest.RequestOptionsBase { + /** + * Include the policy rules + */ + includePathRecommendations?: boolean; + /** + * Return output in a summarized form + */ + summary?: boolean; +} + +/** + * Optional Parameters. + */ +export interface SecureScoreControlsListBySecureScoreOptionalParams extends msRest.RequestOptionsBase { + /** + * OData expand. Optional. Possible values include: 'definition' + */ + expand?: ExpandControlsEnum; +} + +/** + * Optional Parameters. + */ +export interface SecureScoreControlsListOptionalParams extends msRest.RequestOptionsBase { + /** + * OData expand. Optional. Possible values include: 'definition' + */ + expand?: ExpandControlsEnum; +} + +/** + * Optional Parameters. + */ +export interface SecureScoreControlsListBySecureScoreNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData expand. Optional. Possible values include: 'definition' + */ + expand?: ExpandControlsEnum; +} + +/** + * Optional Parameters. + */ +export interface SecureScoreControlsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * OData expand. Optional. Possible values include: 'definition' + */ + expand?: ExpandControlsEnum; +} + +/** + * Optional Parameters. + */ +export interface SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The baseline results for this rule. + */ + body?: RuleResultsInput; +} + +/** + * Optional Parameters. + */ +export interface SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams extends msRest.RequestOptionsBase { + /** + * The baseline rules. + */ + body?: RulesResultsInput; +} + +/** + * Optional Parameters. + */ +export interface DevicesForSubscriptionListOptionalParams extends msRest.RequestOptionsBase { + /** + * Limit the number of items returned in a single page + */ + limit?: number; + /** + * Skip token used for pagination + */ + skipToken?: string; + /** + * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', + * 'Unmanaged' + */ + deviceManagementType?: ManagementState; +} + +/** + * Optional Parameters. + */ +export interface DevicesForSubscriptionListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Limit the number of items returned in a single page + */ + limit?: number; + /** + * Skip token used for pagination + */ + skipToken?: string; + /** + * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', + * 'Unmanaged' + */ + deviceManagementType?: ManagementState; +} + +/** + * Optional Parameters. + */ +export interface DevicesForHubListOptionalParams extends msRest.RequestOptionsBase { + /** + * Limit the number of items returned in a single page + */ + limit?: number; + /** + * Skip token used for pagination + */ + skipToken?: string; + /** + * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', + * 'Unmanaged' + */ + deviceManagementType?: ManagementState; +} + +/** + * Optional Parameters. + */ +export interface DevicesForHubListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Limit the number of items returned in a single page + */ + limit?: number; + /** + * Skip token used for pagination + */ + skipToken?: string; + /** + * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', + * 'Unmanaged' + */ + deviceManagementType?: ManagementState; +} + +/** + * Optional Parameters. + */ +export interface IotAlertsListOptionalParams extends msRest.RequestOptionsBase { + /** + * Filter by minimum startTimeUtc (ISO 8601 format) + */ + minStartTimeUtc?: string; + /** + * Filter by maximum startTimeUtc (ISO 8601 format) + */ + maxStartTimeUtc?: string; + /** + * Filter by alert type + */ + alertType?: string; + /** + * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', + * 'Unmanaged' + */ + deviceManagementType?: ManagementState; + /** + * Filter by compromised device + */ + compromisedEntity?: string; + /** + * Limit the number of items returned in a single page + */ + limit?: number; + /** + * Skip token used for pagination + */ + skipToken?: string; +} + +/** + * Optional Parameters. + */ +export interface IotAlertsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Filter by minimum startTimeUtc (ISO 8601 format) + */ + minStartTimeUtc?: string; + /** + * Filter by maximum startTimeUtc (ISO 8601 format) + */ + maxStartTimeUtc?: string; + /** + * Filter by alert type + */ + alertType?: string; + /** + * Get devices only from specific type, Managed or Unmanaged. Possible values include: 'Managed', + * 'Unmanaged' + */ + deviceManagementType?: ManagementState; + /** + * Filter by compromised device + */ + compromisedEntity?: string; + /** + * Limit the number of items returned in a single page + */ + limit?: number; + /** + * Skip token used for pagination + */ + skipToken?: string; +} + +/** + * Optional Parameters. + */ +export interface IotRecommendationsListOptionalParams extends msRest.RequestOptionsBase { + /** + * Filter by recommendation type + */ + recommendationType?: string; + /** + * Filter by device id + */ + deviceId?: string; + /** + * Limit the number of items returned in a single page + */ + limit?: number; + /** + * Skip token used for pagination + */ + skipToken?: string; +} + +/** + * Optional Parameters. + */ +export interface IotRecommendationsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Filter by recommendation type + */ + recommendationType?: string; + /** + * Filter by device id + */ + deviceId?: string; + /** + * Limit the number of items returned in a single page + */ + limit?: number; + /** + * Skip token used for pagination + */ + skipToken?: string; +} + +/** + * An interface representing SecurityCenterOptions. + */ +export interface SecurityCenterOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * List of compliance results response + * @extends Array + */ +export interface ComplianceResultList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of device security groups + * @extends Array + */ +export interface DeviceSecurityGroupList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of IoT Security solutions. + * @extends Array + */ +export interface IoTSecuritySolutionsList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of IoT Security solution aggregated alert data. + * @extends Array + */ +export interface IoTSecurityAggregatedAlertList extends Array { + /** + * When there is too much alert data for one page, use this URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of IoT Security solution aggregated recommendations. + * @extends Array + */ +export interface IoTSecurityAggregatedRecommendationList extends Array { + /** + * When there is too much alert data for one page, use this URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of locations where ASC saves your data + * @extends Array + */ +export interface AscLocationList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of possible operations for Microsoft.Security resource provider + * @extends Array + */ +export interface OperationList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of security task recommendations + * @extends Array + */ +export interface SecurityTaskList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of all the auto provisioning settings response + * @extends Array + */ +export interface AutoProvisioningSettingList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of Compliance objects response + * @extends Array + */ +export interface ComplianceList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Information protection policies response. + * @extends Array + */ +export interface InformationProtectionPolicyList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of security contacts response + * @extends Array + */ +export interface SecurityContactList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of workspace settings response + * @extends Array + */ +export interface WorkspaceSettingList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of regulatory compliance standards response + * @extends Array + */ +export interface RegulatoryComplianceStandardList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of regulatory compliance controls response + * @extends Array + */ +export interface RegulatoryComplianceControlList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of regulatory compliance assessment response + * @extends Array + */ +export interface RegulatoryComplianceAssessmentList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of security sub-assessments + * @extends Array + */ +export interface SecuritySubAssessmentList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of security automations response. + * @extends Array + */ +export interface AutomationList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Suppression rules list for subscription. + * @extends Array + */ +export interface AlertsSuppressionRulesList extends Array { + /** + * URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of security assessment metadata + * @extends Array + */ +export interface SecurityAssessmentMetadataList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Page of a security assessments list + * @extends Array + */ +export interface SecurityAssessmentList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Response for ListAdaptiveNetworkHardenings API service call + * @extends Array + */ +export interface AdaptiveNetworkHardeningsList extends Array { + /** + * The URL to get the next set of results + */ + nextLink?: string; +} + +/** + * @interface + * List of all possible traffic between Azure resources + * @extends Array + */ +export interface AllowedConnectionsList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the TopologyList. + * @extends Array + */ +export interface TopologyList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the JitNetworkAccessPoliciesList. + * @extends Array + */ +export interface JitNetworkAccessPoliciesList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the DiscoveredSecuritySolutionList. + * @extends Array + */ +export interface DiscoveredSecuritySolutionList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the ExternalSecuritySolutionList. + * @extends Array + */ +export interface ExternalSecuritySolutionList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of secure scores + * @extends Array + */ +export interface SecureScoresList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of security controls + * @extends Array + */ +export interface SecureScoreControlList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of security controls definition + * @extends Array + */ +export interface SecureScoreControlDefinitionList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An interface representing the SecuritySolutionList. + * @extends Array + */ +export interface SecuritySolutionList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * For a subscription, list of all cloud account connectors and their settings + * @extends Array + */ +export interface ConnectorSettingList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of Devices + * @extends Array + */ +export interface DeviceList extends Array { + /** + * When there are too many devices for one page, use this URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of IoT alerts + * @extends Array + */ +export interface IotAlertListModel extends Array { + /** + * When available, follow the URI to get the next page of data + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of IoT recommendations + * @extends Array + */ +export interface IotRecommendationListModel extends Array { + /** + * When available, follow the URI to get the next page of data + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of security alerts + * @extends Array + */ +export interface AlertList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Subscription settings list. + * @extends Array + */ +export interface SettingsList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * List of ingestion settings + * @extends Array + */ +export interface IngestionSettingList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Represents the software inventory of the virtual machine. + * @extends Array + */ +export interface SoftwaresList extends Array { + /** + * The URI to fetch the next page. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * Defines values for ResourceStatus. + * Possible values include: 'Healthy', 'NotApplicable', 'OffByPolicy', 'NotHealthy' + * @readonly + * @enum {string} */ export type ResourceStatus = 'Healthy' | 'NotApplicable' | 'OffByPolicy' | 'NotHealthy'; /** - * Defines values for PricingTier. - * Possible values include: 'Free', 'Standard' - * @readonly - * @enum {string} + * Defines values for PricingTier. + * Possible values include: 'Free', 'Standard' + * @readonly + * @enum {string} + */ +export type PricingTier = 'Free' | 'Standard'; + +/** + * Defines values for ValueType. + * Possible values include: 'IpCidr', 'String' + * @readonly + * @enum {string} + */ +export type ValueType = 'IpCidr' | 'String'; + +/** + * Defines values for SecuritySolutionStatus. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type SecuritySolutionStatus = 'Enabled' | 'Disabled'; + +/** + * Defines values for ExportData. + * Possible values include: 'RawEvents' + * @readonly + * @enum {string} + */ +export type ExportData = 'RawEvents'; + +/** + * Defines values for DataSource. + * Possible values include: 'TwinData' + * @readonly + * @enum {string} + */ +export type DataSource = 'TwinData'; + +/** + * Defines values for RecommendationType. + * Possible values include: 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', + * 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', + * 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', + * 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', + * 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', + * 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite' + * @readonly + * @enum {string} + */ +export type RecommendationType = 'IoT_ACRAuthentication' | 'IoT_AgentSendsUnutilizedMessages' | 'IoT_Baseline' | 'IoT_EdgeHubMemOptimize' | 'IoT_EdgeLoggingOptions' | 'IoT_InconsistentModuleSettings' | 'IoT_InstallAgent' | 'IoT_IPFilter_DenyAll' | 'IoT_IPFilter_PermissiveRule' | 'IoT_OpenPorts' | 'IoT_PermissiveFirewallPolicy' | 'IoT_PermissiveInputFirewallRules' | 'IoT_PermissiveOutputFirewallRules' | 'IoT_PrivilegedDockerOptions' | 'IoT_SharedCredentials' | 'IoT_VulnerableTLSCipherSuite'; + +/** + * Defines values for RecommendationConfigStatus. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type RecommendationConfigStatus = 'Disabled' | 'Enabled'; + +/** + * Defines values for UnmaskedIpLoggingStatus. + * Possible values include: 'Disabled', 'Enabled' + * @readonly + * @enum {string} + */ +export type UnmaskedIpLoggingStatus = 'Disabled' | 'Enabled'; + +/** + * Defines values for AdditionalWorkspaceType. + * Possible values include: 'Sentinel' + * @readonly + * @enum {string} + */ +export type AdditionalWorkspaceType = 'Sentinel'; + +/** + * Defines values for AdditionalWorkspaceDataType. + * Possible values include: 'Alerts', 'RawEvents' + * @readonly + * @enum {string} + */ +export type AdditionalWorkspaceDataType = 'Alerts' | 'RawEvents'; + +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + +/** + * Defines values for ReportedSeverity. + * Possible values include: 'Informational', 'Low', 'Medium', 'High' + * @readonly + * @enum {string} + */ +export type ReportedSeverity = 'Informational' | 'Low' | 'Medium' | 'High'; + +/** + * Defines values for AutoProvision. + * Possible values include: 'On', 'Off' + * @readonly + * @enum {string} + */ +export type AutoProvision = 'On' | 'Off'; + +/** + * Defines values for Rank. + * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' + * @readonly + * @enum {string} + */ +export type Rank = 'None' | 'Low' | 'Medium' | 'High' | 'Critical'; + +/** + * Defines values for AlertNotifications. + * Possible values include: 'On', 'Off' + * @readonly + * @enum {string} + */ +export type AlertNotifications = 'On' | 'Off'; + +/** + * Defines values for AlertsToAdmins. + * Possible values include: 'On', 'Off' + * @readonly + * @enum {string} + */ +export type AlertsToAdmins = 'On' | 'Off'; + +/** + * Defines values for State. + * Possible values include: 'Passed', 'Failed', 'Skipped', 'Unsupported' + * @readonly + * @enum {string} + */ +export type State = 'Passed' | 'Failed' | 'Skipped' | 'Unsupported'; + +/** + * Defines values for SubAssessmentStatusCode. + * Possible values include: 'Healthy', 'Unhealthy', 'NotApplicable' + * @readonly + * @enum {string} + */ +export type SubAssessmentStatusCode = 'Healthy' | 'Unhealthy' | 'NotApplicable'; + +/** + * Defines values for Severity. + * Possible values include: 'Low', 'Medium', 'High' + * @readonly + * @enum {string} + */ +export type Severity = 'Low' | 'Medium' | 'High'; + +/** + * Defines values for EventSource. + * Possible values include: 'Assessments', 'SubAssessments', 'Alerts', 'SecureScores', + * 'SecureScoresSnapshot', 'SecureScoreControls', 'SecureScoreControlsSnapshot', + * 'RegulatoryComplianceAssessment', 'RegulatoryComplianceAssessmentSnapshot' + * @readonly + * @enum {string} + */ +export type EventSource = 'Assessments' | 'SubAssessments' | 'Alerts' | 'SecureScores' | 'SecureScoresSnapshot' | 'SecureScoreControls' | 'SecureScoreControlsSnapshot' | 'RegulatoryComplianceAssessment' | 'RegulatoryComplianceAssessmentSnapshot'; + +/** + * Defines values for PropertyType. + * Possible values include: 'String', 'Integer', 'Number', 'Boolean' + * @readonly + * @enum {string} + */ +export type PropertyType = 'String' | 'Integer' | 'Number' | 'Boolean'; + +/** + * Defines values for Operator. + * Possible values include: 'Equals', 'GreaterThan', 'GreaterThanOrEqualTo', 'LesserThan', + * 'LesserThanOrEqualTo', 'NotEquals', 'Contains', 'StartsWith', 'EndsWith' + * @readonly + * @enum {string} + */ +export type Operator = 'Equals' | 'GreaterThan' | 'GreaterThanOrEqualTo' | 'LesserThan' | 'LesserThanOrEqualTo' | 'NotEquals' | 'Contains' | 'StartsWith' | 'EndsWith'; + +/** + * Defines values for RuleState. + * Possible values include: 'Enabled', 'Disabled', 'Expired' + * @readonly + * @enum {string} + */ +export type RuleState = 'Enabled' | 'Disabled' | 'Expired'; + +/** + * Defines values for Categories. + * Possible values include: 'Compute', 'Networking', 'Data', 'IdentityAndAccess', 'IoT' + * @readonly + * @enum {string} + */ +export type Categories = 'Compute' | 'Networking' | 'Data' | 'IdentityAndAccess' | 'IoT'; + +/** + * Defines values for UserImpact. + * Possible values include: 'Low', 'Moderate', 'High' + * @readonly + * @enum {string} + */ +export type UserImpact = 'Low' | 'Moderate' | 'High'; + +/** + * Defines values for ImplementationEffort. + * Possible values include: 'Low', 'Moderate', 'High' + * @readonly + * @enum {string} + */ +export type ImplementationEffort = 'Low' | 'Moderate' | 'High'; + +/** + * Defines values for Threats. + * Possible values include: 'accountBreach', 'dataExfiltration', 'dataSpillage', + * 'maliciousInsider', 'elevationOfPrivilege', 'threatResistance', 'missingCoverage', + * 'denialOfService' + * @readonly + * @enum {string} + */ +export type Threats = 'accountBreach' | 'dataExfiltration' | 'dataSpillage' | 'maliciousInsider' | 'elevationOfPrivilege' | 'threatResistance' | 'missingCoverage' | 'denialOfService'; + +/** + * Defines values for AssessmentType. + * Possible values include: 'BuiltIn', 'CustomPolicy', 'CustomerManaged', 'VerifiedPartner' + * @readonly + * @enum {string} + */ +export type AssessmentType = 'BuiltIn' | 'CustomPolicy' | 'CustomerManaged' | 'VerifiedPartner'; + +/** + * Defines values for AssessmentStatusCode. + * Possible values include: 'Healthy', 'Unhealthy', 'NotApplicable' + * @readonly + * @enum {string} + */ +export type AssessmentStatusCode = 'Healthy' | 'Unhealthy' | 'NotApplicable'; + +/** + * Defines values for Direction. + * Possible values include: 'Inbound', 'Outbound' + * @readonly + * @enum {string} + */ +export type Direction = 'Inbound' | 'Outbound'; + +/** + * Defines values for TransportProtocol. + * Possible values include: 'TCP', 'UDP' + * @readonly + * @enum {string} + */ +export type TransportProtocol = 'TCP' | 'UDP'; + +/** + * Defines values for Protocol. + * Possible values include: 'TCP', 'UDP', 'All' + * @readonly + * @enum {string} + */ +export type Protocol = 'TCP' | 'UDP' | '*'; + +/** + * Defines values for Status. + * Possible values include: 'Revoked', 'Initiated' + * @readonly + * @enum {string} + */ +export type Status = 'Revoked' | 'Initiated'; + +/** + * Defines values for StatusReason. + * Possible values include: 'Expired', 'UserRequested', 'NewerRequestInitiated' + * @readonly + * @enum {string} + */ +export type StatusReason = 'Expired' | 'UserRequested' | 'NewerRequestInitiated'; + +/** + * Defines values for SecurityFamily. + * Possible values include: 'Waf', 'Ngfw', 'SaasWaf', 'Va' + * @readonly + * @enum {string} + */ +export type SecurityFamily = 'Waf' | 'Ngfw' | 'SaasWaf' | 'Va'; + +/** + * Defines values for AadConnectivityState. + * Possible values include: 'Discovered', 'NotLicensed', 'Connected' + * @readonly + * @enum {string} + */ +export type AadConnectivityState = 'Discovered' | 'NotLicensed' | 'Connected'; + +/** + * Defines values for ExternalSecuritySolutionKind. + * Possible values include: 'CEF', 'ATA', 'AAD' + * @readonly + * @enum {string} + */ +export type ExternalSecuritySolutionKind = 'CEF' | 'ATA' | 'AAD'; + +/** + * Defines values for ControlType. + * Possible values include: 'BuiltIn', 'Custom' + * @readonly + * @enum {string} + */ +export type ControlType = 'BuiltIn' | 'Custom'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Updating' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'Succeeded' | 'Failed' | 'Updating'; + +/** + * Defines values for HybridComputeProvisioningState. + * Possible values include: 'Valid', 'Invalid', 'Expired' + * @readonly + * @enum {string} + */ +export type HybridComputeProvisioningState = 'Valid' | 'Invalid' | 'Expired'; + +/** + * Defines values for AuthenticationProvisioningState. + * Possible values include: 'Valid', 'Invalid', 'Expired', 'IncorrectPolicy' + * @readonly + * @enum {string} + */ +export type AuthenticationProvisioningState = 'Valid' | 'Invalid' | 'Expired' | 'IncorrectPolicy'; + +/** + * Defines values for PermissionProperty. + * Possible values include: 'AWS::AWSSecurityHubReadOnlyAccess', 'AWS::SecurityAudit', + * 'AWS::AmazonSSMAutomationRole', 'GCP::Security Center Admin Viewer' + * @readonly + * @enum {string} + */ +export type PermissionProperty = 'AWS::AWSSecurityHubReadOnlyAccess' | 'AWS::SecurityAudit' | 'AWS::AmazonSSMAutomationRole' | 'GCP::Security Center Admin Viewer'; + +/** + * Defines values for ScanTriggerType. + * Possible values include: 'OnDemand', 'Recurring' + * @readonly + * @enum {string} + */ +export type ScanTriggerType = 'OnDemand' | 'Recurring'; + +/** + * Defines values for ScanState. + * Possible values include: 'Failed', 'FailedToRun', 'InProgress', 'Passed' + * @readonly + * @enum {string} + */ +export type ScanState = 'Failed' | 'FailedToRun' | 'InProgress' | 'Passed'; + +/** + * Defines values for RuleStatus. + * Possible values include: 'NonFinding', 'Finding', 'InternalError' + * @readonly + * @enum {string} + */ +export type RuleStatus = 'NonFinding' | 'Finding' | 'InternalError'; + +/** + * Defines values for RuleSeverity. + * Possible values include: 'High', 'Medium', 'Low', 'Informational', 'Obsolete' + * @readonly + * @enum {string} + */ +export type RuleSeverity = 'High' | 'Medium' | 'Low' | 'Informational' | 'Obsolete'; + +/** + * Defines values for RuleType. + * Possible values include: 'Binary', 'BaselineExpected', 'PositiveList', 'NegativeList' + * @readonly + * @enum {string} + */ +export type RuleType = 'Binary' | 'BaselineExpected' | 'PositiveList' | 'NegativeList'; + +/** + * Defines values for OnboardingKind. + * Possible values include: 'Default', 'MigratedToAzure', 'Evaluation', 'Purchased' + * @readonly + * @enum {string} + */ +export type OnboardingKind = 'Default' | 'MigratedToAzure' | 'Evaluation' | 'Purchased'; + +/** + * Defines values for VersionKind. + * Possible values include: 'Latest', 'Previous', 'Preview' + * @readonly + * @enum {string} + */ +export type VersionKind = 'Latest' | 'Previous' | 'Preview'; + +/** + * Defines values for SensorStatus. + * Possible values include: 'Ok', 'Disconnected', 'Unavailable' + * @readonly + * @enum {string} + */ +export type SensorStatus = 'Ok' | 'Disconnected' | 'Unavailable'; + +/** + * Defines values for TiStatus. + * Possible values include: 'Ok', 'Failed', 'InProgress', 'UpdateAvailable' + * @readonly + * @enum {string} + */ +export type TiStatus = 'Ok' | 'Failed' | 'InProgress' | 'UpdateAvailable'; + +/** + * Defines values for SensorType. + * Possible values include: 'Ot', 'Enterprise' + * @readonly + * @enum {string} + */ +export type SensorType = 'Ot' | 'Enterprise'; + +/** + * Defines values for MacSignificance. + * Possible values include: 'Primary', 'Secondary' + * @readonly + * @enum {string} + */ +export type MacSignificance = 'Primary' | 'Secondary'; + +/** + * Defines values for RelationToIpStatus. + * Possible values include: 'Guess', 'Certain' + * @readonly + * @enum {string} + */ +export type RelationToIpStatus = 'Guess' | 'Certain'; + +/** + * Defines values for ManagementState. + * Possible values include: 'Managed', 'Unmanaged' + * @readonly + * @enum {string} + */ +export type ManagementState = 'Managed' | 'Unmanaged'; + +/** + * Defines values for AuthorizationState. + * Possible values include: 'Authorized', 'Unauthorized' + * @readonly + * @enum {string} + */ +export type AuthorizationState = 'Authorized' | 'Unauthorized'; + +/** + * Defines values for DeviceCriticality. + * Possible values include: 'Important', 'Standard' + * @readonly + * @enum {string} + */ +export type DeviceCriticality = 'Important' | 'Standard'; + +/** + * Defines values for PurdueLevel. + * Possible values include: 'ProcessControl', 'Supervisory', 'Enterprise' + * @readonly + * @enum {string} + */ +export type PurdueLevel = 'ProcessControl' | 'Supervisory' | 'Enterprise'; + +/** + * Defines values for ProgrammingState. + * Possible values include: 'ProgrammingDevice', 'NotProgrammingDevice' + * @readonly + * @enum {string} + */ +export type ProgrammingState = 'ProgrammingDevice' | 'NotProgrammingDevice'; + +/** + * Defines values for ScanningFunctionality. + * Possible values include: 'ScannerDevice', 'NotScannerDevice' + * @readonly + * @enum {string} + */ +export type ScanningFunctionality = 'ScannerDevice' | 'NotScannerDevice'; + +/** + * Defines values for DeviceStatus. + * Possible values include: 'Active', 'Removed' + * @readonly + * @enum {string} + */ +export type DeviceStatus = 'Active' | 'Removed'; + +/** + * Defines values for AlertSeverity. + * Possible values include: 'Informational', 'Low', 'Medium', 'High' + * @readonly + * @enum {string} + */ +export type AlertSeverity = 'Informational' | 'Low' | 'Medium' | 'High'; + +/** + * Defines values for AlertIntent. + * Possible values include: 'Unknown', 'PreAttack', 'InitialAccess', 'Persistence', + * 'PrivilegeEscalation', 'DefenseEvasion', 'CredentialAccess', 'Discovery', 'LateralMovement', + * 'Execution', 'Collection', 'Exfiltration', 'CommandAndControl', 'Impact', 'Probing', + * 'Exploitation' + * @readonly + * @enum {string} + */ +export type AlertIntent = 'Unknown' | 'PreAttack' | 'InitialAccess' | 'Persistence' | 'PrivilegeEscalation' | 'DefenseEvasion' | 'CredentialAccess' | 'Discovery' | 'LateralMovement' | 'Execution' | 'Collection' | 'Exfiltration' | 'CommandAndControl' | 'Impact' | 'Probing' | 'Exploitation'; + +/** + * Defines values for RecommendationSeverity. + * Possible values include: 'Unknown', 'NotApplicable', 'Healthy', 'OffByPolicy', 'Low', 'Medium', + * 'High' + * @readonly + * @enum {string} + */ +export type RecommendationSeverity = 'Unknown' | 'NotApplicable' | 'Healthy' | 'OffByPolicy' | 'Low' | 'Medium' | 'High'; + +/** + * Defines values for Intent. + * Possible values include: 'Unknown', 'PreAttack', 'InitialAccess', 'Persistence', + * 'PrivilegeEscalation', 'DefenseEvasion', 'CredentialAccess', 'Discovery', 'LateralMovement', + * 'Execution', 'Collection', 'Exfiltration', 'CommandAndControl', 'Impact', 'Probing', + * 'Exploitation' + * @readonly + * @enum {string} + */ +export type Intent = 'Unknown' | 'PreAttack' | 'InitialAccess' | 'Persistence' | 'PrivilegeEscalation' | 'DefenseEvasion' | 'CredentialAccess' | 'Discovery' | 'LateralMovement' | 'Execution' | 'Collection' | 'Exfiltration' | 'CommandAndControl' | 'Impact' | 'Probing' | 'Exploitation'; + +/** + * Defines values for AlertStatus. + * Possible values include: 'Active', 'Resolved', 'Dismissed' + * @readonly + * @enum {string} + */ +export type AlertStatus = 'Active' | 'Resolved' | 'Dismissed'; + +/** + * Defines values for BundleType. + * Possible values include: 'AppServices', 'DNS', 'KeyVaults', 'KubernetesService', + * 'ResourceManager', 'SqlServers', 'StorageAccounts', 'VirtualMachines' + * @readonly + * @enum {string} + */ +export type BundleType = 'AppServices' | 'DNS' | 'KeyVaults' | 'KubernetesService' | 'ResourceManager' | 'SqlServers' | 'StorageAccounts' | 'VirtualMachines'; + +/** + * Defines values for EndOfSupportStatus. + * Possible values include: 'None', 'noLongerSupported', 'versionNoLongerSupported', + * 'upcomingNoLongerSupported', 'upcomingVersionNoLongerSupported' + * @readonly + * @enum {string} + */ +export type EndOfSupportStatus = 'None' | 'noLongerSupported' | 'versionNoLongerSupported' | 'upcomingNoLongerSupported' | 'upcomingVersionNoLongerSupported'; + +/** + * Defines values for ExpandEnum. + * Possible values include: 'links', 'metadata' + * @readonly + * @enum {string} + */ +export type ExpandEnum = 'links' | 'metadata'; + +/** + * Defines values for ConnectionType. + * Possible values include: 'Internal', 'External' + * @readonly + * @enum {string} + */ +export type ConnectionType = 'Internal' | 'External'; + +/** + * Defines values for ExpandControlsEnum. + * Possible values include: 'definition' + * @readonly + * @enum {string} + */ +export type ExpandControlsEnum = 'definition'; + +/** + * Defines values for ProvisioningState1. + * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Provisioning', 'Deprovisioning' + * @readonly + * @enum {string} + */ +export type ProvisioningState1 = 'Succeeded' | 'Failed' | 'Canceled' | 'Provisioning' | 'Deprovisioning'; + +/** + * Defines values for Exe. + * Possible values include: 'Audit', 'Enforce', 'None' + * @readonly + * @enum {string} + */ +export type Exe = 'Audit' | 'Enforce' | 'None'; + +/** + * Defines values for Msi. + * Possible values include: 'Audit', 'Enforce', 'None' + * @readonly + * @enum {string} + */ +export type Msi = 'Audit' | 'Enforce' | 'None'; + +/** + * Defines values for Script. + * Possible values include: 'Audit', 'Enforce', 'None' + * @readonly + * @enum {string} + */ +export type Script = 'Audit' | 'Enforce' | 'None'; + +/** + * Defines values for Executable. + * Possible values include: 'Audit', 'Enforce', 'None' + * @readonly + * @enum {string} + */ +export type Executable = 'Audit' | 'Enforce' | 'None'; + +/** + * Defines values for Issue. + * Possible values include: 'ViolationsAudited', 'ViolationsBlocked', + * 'MsiAndScriptViolationsAudited', 'MsiAndScriptViolationsBlocked', 'ExecutableViolationsAudited', + * 'RulesViolatedManually' + * @readonly + * @enum {string} + */ +export type Issue = 'ViolationsAudited' | 'ViolationsBlocked' | 'MsiAndScriptViolationsAudited' | 'MsiAndScriptViolationsBlocked' | 'ExecutableViolationsAudited' | 'RulesViolatedManually'; + +/** + * Defines values for ConfigurationStatus. + * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' + * @readonly + * @enum {string} + */ +export type ConfigurationStatus = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; + +/** + * Defines values for RecommendationAction. + * Possible values include: 'Recommended', 'Add', 'Remove' + * @readonly + * @enum {string} + */ +export type RecommendationAction = 'Recommended' | 'Add' | 'Remove'; + +/** + * Defines values for EnforcementSupport. + * Possible values include: 'Supported', 'NotSupported', 'Unknown' + * @readonly + * @enum {string} + */ +export type EnforcementSupport = 'Supported' | 'NotSupported' | 'Unknown'; + +/** + * Defines values for RecommendationAction1. + * Possible values include: 'Recommended', 'Add', 'Remove' + * @readonly + * @enum {string} + */ +export type RecommendationAction1 = 'Recommended' | 'Add' | 'Remove'; + +/** + * Defines values for Action. + * Possible values include: 'Recommended', 'Add', 'Remove' + * @readonly + * @enum {string} + */ +export type Action = 'Recommended' | 'Add' | 'Remove'; + +/** + * Defines values for Type. + * Possible values include: 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', + * 'BinarySignature', 'VersionAndAboveSignature' + * @readonly + * @enum {string} + */ +export type Type = 'File' | 'FileHash' | 'PublisherSignature' | 'ProductSignature' | 'BinarySignature' | 'VersionAndAboveSignature'; + +/** + * Defines values for FileType. + * Possible values include: 'Exe', 'Dll', 'Msi', 'Script', 'Executable', 'Unknown' + * @readonly + * @enum {string} + */ +export type FileType = 'Exe' | 'Dll' | 'Msi' | 'Script' | 'Executable' | 'Unknown'; + +/** + * Defines values for ConfigurationStatus1. + * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' + * @readonly + * @enum {string} + */ +export type ConfigurationStatus1 = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; + +/** + * Defines values for EnforcementMode. + * Possible values include: 'Audit', 'Enforce', 'None' + * @readonly + * @enum {string} + */ +export type EnforcementMode = 'Audit' | 'Enforce' | 'None'; + +/** + * Defines values for ConfigurationStatus2. + * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' + * @readonly + * @enum {string} + */ +export type ConfigurationStatus2 = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; + +/** + * Defines values for RecommendationStatus. + * Possible values include: 'Recommended', 'NotRecommended', 'NotAvailable', 'NoStatus' + * @readonly + * @enum {string} + */ +export type RecommendationStatus = 'Recommended' | 'NotRecommended' | 'NotAvailable' | 'NoStatus'; + +/** + * Defines values for SourceSystem. + * Possible values include: 'Azure_AppLocker', 'Azure_AuditD', 'NonAzure_AppLocker', + * 'NonAzure_AuditD', 'None' + * @readonly + * @enum {string} + */ +export type SourceSystem = 'Azure_AppLocker' | 'Azure_AuditD' | 'NonAzure_AppLocker' | 'NonAzure_AuditD' | 'None'; + +/** + * Defines values for TaskUpdateActionType. + * Possible values include: 'Activate', 'Dismiss', 'Start', 'Resolve', 'Close' + * @readonly + * @enum {string} + */ +export type TaskUpdateActionType = 'Activate' | 'Dismiss' | 'Start' | 'Resolve' | 'Close'; + +/** + * Defines values for TaskUpdateActionType1. + * Possible values include: 'Activate', 'Dismiss', 'Start', 'Resolve', 'Close' + * @readonly + * @enum {string} + */ +export type TaskUpdateActionType1 = 'Activate' | 'Dismiss' | 'Start' | 'Resolve' | 'Close'; + +/** + * Defines values for InformationProtectionPolicyName. + * Possible values include: 'effective', 'custom' + * @readonly + * @enum {string} + */ +export type InformationProtectionPolicyName = 'effective' | 'custom'; + +/** + * Defines values for InformationProtectionPolicyName1. + * Possible values include: 'effective', 'custom' + * @readonly + * @enum {string} + */ +export type InformationProtectionPolicyName1 = 'effective' | 'custom'; + +/** + * Defines values for SettingName. + * Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * @readonly + * @enum {string} + */ +export type SettingName = 'MCAS' | 'WDATP' | 'Sentinel'; + +/** + * Defines values for SettingName1. + * Possible values include: 'MCAS', 'WDATP', 'Sentinel' + * @readonly + * @enum {string} + */ +export type SettingName1 = 'MCAS' | 'WDATP' | 'Sentinel'; + +/** + * Contains response data for the list operation. + */ +export type ComplianceResultsListResponse = ComplianceResultList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ComplianceResultList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ComplianceResultsGetResponse = ComplianceResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ComplianceResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ComplianceResultsListNextResponse = ComplianceResultList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ComplianceResultList; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type PricingsListResponse = PricingList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PricingList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type PricingsGetResponse = Pricing & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Pricing; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type PricingsUpdateResponse = Pricing & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Pricing; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type AdvancedThreatProtectionGetResponse = AdvancedThreatProtectionSetting & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AdvancedThreatProtectionSetting; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type AdvancedThreatProtectionCreateResponse = AdvancedThreatProtectionSetting & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AdvancedThreatProtectionSetting; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type DeviceSecurityGroupsListResponse = DeviceSecurityGroupList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DeviceSecurityGroupList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DeviceSecurityGroupsGetResponse = DeviceSecurityGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DeviceSecurityGroup; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. */ -export type PricingTier = 'Free' | 'Standard'; +export type DeviceSecurityGroupsCreateOrUpdateResponse = DeviceSecurityGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DeviceSecurityGroup; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type DeviceSecurityGroupsListNextResponse = DeviceSecurityGroupList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DeviceSecurityGroupList; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type IotSecuritySolutionListBySubscriptionResponse = IoTSecuritySolutionsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionsList; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type IotSecuritySolutionListByResourceGroupResponse = IoTSecuritySolutionsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionsList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionModel; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type IotSecuritySolutionCreateOrUpdateResponse = IoTSecuritySolutionModel & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionModel; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionModel; + }; +}; + +/** + * Contains response data for the listBySubscriptionNext operation. + */ +export type IotSecuritySolutionListBySubscriptionNextResponse = IoTSecuritySolutionsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionsList; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type IotSecuritySolutionListByResourceGroupNextResponse = IoTSecuritySolutionsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionsList; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IotSecuritySolutionAnalyticsListResponse = IoTSecuritySolutionAnalyticsModelList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionAnalyticsModelList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type IotSecuritySolutionAnalyticsGetResponse = IoTSecuritySolutionAnalyticsModel & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecuritySolutionAnalyticsModel; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type IotSecuritySolutionsAnalyticsAggregatedAlertListResponse = IoTSecurityAggregatedAlertList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecurityAggregatedAlertList; + }; +}; /** - * Defines values for ReportedSeverity. - * Possible values include: 'Informational', 'Low', 'Medium', 'High' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type ReportedSeverity = 'Informational' | 'Low' | 'Medium' | 'High'; +export type IotSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurityAggregatedAlert & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ValueType. - * Possible values include: 'IpCidr', 'String' - * @readonly - * @enum {string} - */ -export type ValueType = 'IpCidr' | 'String'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecurityAggregatedAlert; + }; +}; /** - * Defines values for SecuritySolutionStatus. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type SecuritySolutionStatus = 'Enabled' | 'Disabled'; +export type IotSecuritySolutionsAnalyticsAggregatedAlertListNextResponse = IoTSecurityAggregatedAlertList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ExportData. - * Possible values include: 'RawEvents' - * @readonly - * @enum {string} - */ -export type ExportData = 'RawEvents'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecurityAggregatedAlertList; + }; +}; /** - * Defines values for DataSource. - * Possible values include: 'TwinData' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type DataSource = 'TwinData'; +export type IotSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurityAggregatedRecommendation & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for RecommendationType. - * Possible values include: 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', - * 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', - * 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', - * 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', - * 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', - * 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite' - * @readonly - * @enum {string} - */ -export type RecommendationType = 'IoT_ACRAuthentication' | 'IoT_AgentSendsUnutilizedMessages' | 'IoT_Baseline' | 'IoT_EdgeHubMemOptimize' | 'IoT_EdgeLoggingOptions' | 'IoT_InconsistentModuleSettings' | 'IoT_InstallAgent' | 'IoT_IPFilter_DenyAll' | 'IoT_IPFilter_PermissiveRule' | 'IoT_OpenPorts' | 'IoT_PermissiveFirewallPolicy' | 'IoT_PermissiveInputFirewallRules' | 'IoT_PermissiveOutputFirewallRules' | 'IoT_PrivilegedDockerOptions' | 'IoT_SharedCredentials' | 'IoT_VulnerableTLSCipherSuite'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecurityAggregatedRecommendation; + }; +}; /** - * Defines values for RecommendationConfigStatus. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type RecommendationConfigStatus = 'Disabled' | 'Enabled'; +export type IotSecuritySolutionsAnalyticsRecommendationListResponse = IoTSecurityAggregatedRecommendationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for UnmaskedIpLoggingStatus. - * Possible values include: 'Disabled', 'Enabled' - * @readonly - * @enum {string} - */ -export type UnmaskedIpLoggingStatus = 'Disabled' | 'Enabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecurityAggregatedRecommendationList; + }; +}; /** - * Defines values for AutoProvision. - * Possible values include: 'On', 'Off' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type AutoProvision = 'On' | 'Off'; +export type IotSecuritySolutionsAnalyticsRecommendationListNextResponse = IoTSecurityAggregatedRecommendationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for Rank. - * Possible values include: 'None', 'Low', 'Medium', 'High', 'Critical' - * @readonly - * @enum {string} - */ -export type Rank = 'None' | 'Low' | 'Medium' | 'High' | 'Critical'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: IoTSecurityAggregatedRecommendationList; + }; +}; /** - * Defines values for AlertNotifications. - * Possible values include: 'On', 'Off' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type AlertNotifications = 'On' | 'Off'; +export type LocationsListResponse = AscLocationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for AlertsToAdmins. - * Possible values include: 'On', 'Off' - * @readonly - * @enum {string} - */ -export type AlertsToAdmins = 'On' | 'Off'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AscLocationList; + }; +}; /** - * Defines values for State. - * Possible values include: 'Passed', 'Failed', 'Skipped', 'Unsupported' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type State = 'Passed' | 'Failed' | 'Skipped' | 'Unsupported'; +export type LocationsGetResponse = AscLocation & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SubAssessmentStatusCode. - * Possible values include: 'Healthy', 'Unhealthy', 'NotApplicable' - * @readonly - * @enum {string} - */ -export type SubAssessmentStatusCode = 'Healthy' | 'Unhealthy' | 'NotApplicable'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AscLocation; + }; +}; /** - * Defines values for Severity. - * Possible values include: 'Low', 'Medium', 'High' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type Severity = 'Low' | 'Medium' | 'High'; +export type LocationsListNextResponse = AscLocationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for EventSource. - * Possible values include: 'Assessments', 'Alerts' - * @readonly - * @enum {string} - */ -export type EventSource = 'Assessments' | 'Alerts'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AscLocationList; + }; +}; /** - * Defines values for PropertyType. - * Possible values include: 'String', 'Integer', 'Number', 'Boolean' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type PropertyType = 'String' | 'Integer' | 'Number' | 'Boolean'; +export type OperationsListResponse = OperationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for Operator. - * Possible values include: 'Equals', 'GreaterThan', 'GreaterThanOrEqualTo', 'LesserThan', - * 'LesserThanOrEqualTo', 'NotEquals', 'Contains', 'StartsWith', 'EndsWith' - * @readonly - * @enum {string} - */ -export type Operator = 'Equals' | 'GreaterThan' | 'GreaterThanOrEqualTo' | 'LesserThan' | 'LesserThanOrEqualTo' | 'NotEquals' | 'Contains' | 'StartsWith' | 'EndsWith'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationList; + }; +}; /** - * Defines values for RuleState. - * Possible values include: 'Enabled', 'Disabled', 'Expired' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type RuleState = 'Enabled' | 'Disabled' | 'Expired'; +export type OperationsListNextResponse = OperationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for Category. - * Possible values include: 'Compute', 'Networking', 'Data', 'IdentityAndAccess', 'IoT' - * @readonly - * @enum {string} - */ -export type Category = 'Compute' | 'Networking' | 'Data' | 'IdentityAndAccess' | 'IoT'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationList; + }; +}; /** - * Defines values for UserImpact. - * Possible values include: 'Low', 'Moderate', 'High' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type UserImpact = 'Low' | 'Moderate' | 'High'; +export type TasksListResponse = SecurityTaskList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ImplementationEffort. - * Possible values include: 'Low', 'Moderate', 'High' - * @readonly - * @enum {string} - */ -export type ImplementationEffort = 'Low' | 'Moderate' | 'High'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityTaskList; + }; +}; /** - * Defines values for Threats. - * Possible values include: 'accountBreach', 'dataExfiltration', 'dataSpillage', - * 'maliciousInsider', 'elevationOfPrivilege', 'threatResistance', 'missingCoverage', - * 'denialOfService' - * @readonly - * @enum {string} + * Contains response data for the listByHomeRegion operation. */ -export type Threats = 'accountBreach' | 'dataExfiltration' | 'dataSpillage' | 'maliciousInsider' | 'elevationOfPrivilege' | 'threatResistance' | 'missingCoverage' | 'denialOfService'; +export type TasksListByHomeRegionResponse = SecurityTaskList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for AssessmentType. - * Possible values include: 'BuiltIn', 'CustomPolicy', 'CustomerManaged', 'VerifiedPartner' - * @readonly - * @enum {string} - */ -export type AssessmentType = 'BuiltIn' | 'CustomPolicy' | 'CustomerManaged' | 'VerifiedPartner'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityTaskList; + }; +}; /** - * Defines values for AssessmentStatusCode. - * Possible values include: 'Healthy', 'Unhealthy', 'NotApplicable' - * @readonly - * @enum {string} + * Contains response data for the getSubscriptionLevelTask operation. */ -export type AssessmentStatusCode = 'Healthy' | 'Unhealthy' | 'NotApplicable'; +export type TasksGetSubscriptionLevelTaskResponse = SecurityTask & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for Direction. - * Possible values include: 'Inbound', 'Outbound' - * @readonly - * @enum {string} - */ -export type Direction = 'Inbound' | 'Outbound'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityTask; + }; +}; /** - * Defines values for TransportProtocol. - * Possible values include: 'TCP', 'UDP' - * @readonly - * @enum {string} + * Contains response data for the listByResourceGroup operation. */ -export type TransportProtocol = 'TCP' | 'UDP'; +export type TasksListByResourceGroupResponse = SecurityTaskList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for Protocol. - * Possible values include: 'TCP', 'UDP', 'All' - * @readonly - * @enum {string} - */ -export type Protocol = 'TCP' | 'UDP' | '*'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityTaskList; + }; +}; /** - * Defines values for Status. - * Possible values include: 'Revoked', 'Initiated' - * @readonly - * @enum {string} + * Contains response data for the getResourceGroupLevelTask operation. */ -export type Status = 'Revoked' | 'Initiated'; +export type TasksGetResourceGroupLevelTaskResponse = SecurityTask & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for StatusReason. - * Possible values include: 'Expired', 'UserRequested', 'NewerRequestInitiated' - * @readonly - * @enum {string} - */ -export type StatusReason = 'Expired' | 'UserRequested' | 'NewerRequestInitiated'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityTask; + }; +}; /** - * Defines values for SecurityFamily. - * Possible values include: 'Waf', 'Ngfw', 'SaasWaf', 'Va' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type SecurityFamily = 'Waf' | 'Ngfw' | 'SaasWaf' | 'Va'; +export type TasksListNextResponse = SecurityTaskList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityTaskList; + }; +}; /** - * Defines values for AadConnectivityState. - * Possible values include: 'Discovered', 'NotLicensed', 'Connected' - * @readonly - * @enum {string} + * Contains response data for the listByHomeRegionNext operation. */ -export type AadConnectivityState = 'Discovered' | 'NotLicensed' | 'Connected'; +export type TasksListByHomeRegionNextResponse = SecurityTaskList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityTaskList; + }; +}; /** - * Defines values for ExternalSecuritySolutionKind. - * Possible values include: 'CEF', 'ATA', 'AAD' - * @readonly - * @enum {string} + * Contains response data for the listByResourceGroupNext operation. */ -export type ExternalSecuritySolutionKind = 'CEF' | 'ATA' | 'AAD'; +export type TasksListByResourceGroupNextResponse = SecurityTaskList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityTaskList; + }; +}; /** - * Defines values for ControlType. - * Possible values include: 'BuiltIn', 'Custom' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type ControlType = 'BuiltIn' | 'Custom'; +export type AutoProvisioningSettingsListResponse = AutoProvisioningSettingList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AutoProvisioningSettingList; + }; +}; /** - * Defines values for ExpandEnum. - * Possible values include: 'links', 'metadata' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type ExpandEnum = 'links' | 'metadata'; +export type AutoProvisioningSettingsGetResponse = AutoProvisioningSetting & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ConnectionType. - * Possible values include: 'Internal', 'External' - * @readonly - * @enum {string} - */ -export type ConnectionType = 'Internal' | 'External'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AutoProvisioningSetting; + }; +}; /** - * Defines values for ExpandControlsEnum. - * Possible values include: 'definition' - * @readonly - * @enum {string} + * Contains response data for the create operation. */ -export type ExpandControlsEnum = 'definition'; +export type AutoProvisioningSettingsCreateResponse = AutoProvisioningSetting & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ProvisioningState. - * Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Provisioning', 'Deprovisioning' - * @readonly - * @enum {string} - */ -export type ProvisioningState = 'Succeeded' | 'Failed' | 'Canceled' | 'Provisioning' | 'Deprovisioning'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AutoProvisioningSetting; + }; +}; /** - * Defines values for Exe. - * Possible values include: 'Audit', 'Enforce', 'None' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type Exe = 'Audit' | 'Enforce' | 'None'; +export type AutoProvisioningSettingsListNextResponse = AutoProvisioningSettingList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for Msi. - * Possible values include: 'Audit', 'Enforce', 'None' - * @readonly - * @enum {string} - */ -export type Msi = 'Audit' | 'Enforce' | 'None'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: AutoProvisioningSettingList; + }; +}; /** - * Defines values for Script. - * Possible values include: 'Audit', 'Enforce', 'None' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type Script = 'Audit' | 'Enforce' | 'None'; +export type CompliancesListResponse = ComplianceList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for Executable. - * Possible values include: 'Audit', 'Enforce', 'None' - * @readonly - * @enum {string} - */ -export type Executable = 'Audit' | 'Enforce' | 'None'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ComplianceList; + }; +}; /** - * Defines values for Issue. - * Possible values include: 'ViolationsAudited', 'ViolationsBlocked', - * 'MsiAndScriptViolationsAudited', 'MsiAndScriptViolationsBlocked', 'ExecutableViolationsAudited', - * 'RulesViolatedManually' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type Issue = 'ViolationsAudited' | 'ViolationsBlocked' | 'MsiAndScriptViolationsAudited' | 'MsiAndScriptViolationsBlocked' | 'ExecutableViolationsAudited' | 'RulesViolatedManually'; +export type CompliancesGetResponse = Compliance & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ConfigurationStatus. - * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' - * @readonly - * @enum {string} - */ -export type ConfigurationStatus = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: Compliance; + }; +}; /** - * Defines values for RecommendationAction. - * Possible values include: 'Recommended', 'Add', 'Remove' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type RecommendationAction = 'Recommended' | 'Add' | 'Remove'; +export type CompliancesListNextResponse = ComplianceList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for EnforcementSupport. - * Possible values include: 'Supported', 'NotSupported', 'Unknown' - * @readonly - * @enum {string} - */ -export type EnforcementSupport = 'Supported' | 'NotSupported' | 'Unknown'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: ComplianceList; + }; +}; /** - * Defines values for RecommendationAction1. - * Possible values include: 'Recommended', 'Add', 'Remove' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type RecommendationAction1 = 'Recommended' | 'Add' | 'Remove'; +export type InformationProtectionPoliciesGetResponse = InformationProtectionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: InformationProtectionPolicy; + }; +}; /** - * Defines values for Action. - * Possible values include: 'Recommended', 'Add', 'Remove' - * @readonly - * @enum {string} + * Contains response data for the createOrUpdate operation. */ -export type Action = 'Recommended' | 'Add' | 'Remove'; +export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationProtectionPolicy & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: InformationProtectionPolicy; + }; +}; /** - * Defines values for Type. - * Possible values include: 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', - * 'BinarySignature', 'VersionAndAboveSignature' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type Type = 'File' | 'FileHash' | 'PublisherSignature' | 'ProductSignature' | 'BinarySignature' | 'VersionAndAboveSignature'; +export type InformationProtectionPoliciesListResponse = InformationProtectionPolicyList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: InformationProtectionPolicyList; + }; +}; /** - * Defines values for FileType. - * Possible values include: 'Exe', 'Dll', 'Msi', 'Script', 'Executable', 'Unknown' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type FileType = 'Exe' | 'Dll' | 'Msi' | 'Script' | 'Executable' | 'Unknown'; +export type InformationProtectionPoliciesListNextResponse = InformationProtectionPolicyList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: InformationProtectionPolicyList; + }; +}; /** - * Defines values for ConfigurationStatus1. - * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type ConfigurationStatus1 = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; +export type SecurityContactsListResponse = SecurityContactList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for EnforcementMode. - * Possible values include: 'Audit', 'Enforce', 'None' - * @readonly - * @enum {string} - */ -export type EnforcementMode = 'Audit' | 'Enforce' | 'None'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityContactList; + }; +}; /** - * Defines values for ConfigurationStatus2. - * Possible values include: 'Configured', 'NotConfigured', 'InProgress', 'Failed', 'NoStatus' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type ConfigurationStatus2 = 'Configured' | 'NotConfigured' | 'InProgress' | 'Failed' | 'NoStatus'; +export type SecurityContactsGetResponse = SecurityContact & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for RecommendationStatus. - * Possible values include: 'Recommended', 'NotRecommended', 'NotAvailable', 'NoStatus' - * @readonly - * @enum {string} - */ -export type RecommendationStatus = 'Recommended' | 'NotRecommended' | 'NotAvailable' | 'NoStatus'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityContact; + }; +}; /** - * Defines values for SourceSystem. - * Possible values include: 'Azure_AppLocker', 'Azure_AuditD', 'NonAzure_AppLocker', - * 'NonAzure_AuditD', 'None' - * @readonly - * @enum {string} + * Contains response data for the create operation. */ -export type SourceSystem = 'Azure_AppLocker' | 'Azure_AuditD' | 'NonAzure_AppLocker' | 'NonAzure_AuditD' | 'None'; +export type SecurityContactsCreateResponse = SecurityContact & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for SettingName. - * Possible values include: 'MCAS', 'WDATP' - * @readonly - * @enum {string} - */ -export type SettingName = 'MCAS' | 'WDATP'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityContact; + }; +}; /** - * Defines values for SettingName1. - * Possible values include: 'MCAS', 'WDATP' - * @readonly - * @enum {string} + * Contains response data for the update operation. */ -export type SettingName1 = 'MCAS' | 'WDATP'; +export type SecurityContactsUpdateResponse = SecurityContact & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for TaskUpdateActionType. - * Possible values include: 'Activate', 'Dismiss', 'Start', 'Resolve', 'Close' - * @readonly - * @enum {string} - */ -export type TaskUpdateActionType = 'Activate' | 'Dismiss' | 'Start' | 'Resolve' | 'Close'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityContact; + }; +}; /** - * Defines values for TaskUpdateActionType1. - * Possible values include: 'Activate', 'Dismiss', 'Start', 'Resolve', 'Close' - * @readonly - * @enum {string} + * Contains response data for the listNext operation. */ -export type TaskUpdateActionType1 = 'Activate' | 'Dismiss' | 'Start' | 'Resolve' | 'Close'; +export type SecurityContactsListNextResponse = SecurityContactList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecurityContactList; + }; +}; /** - * Defines values for InformationProtectionPolicyName. - * Possible values include: 'effective', 'custom' - * @readonly - * @enum {string} + * Contains response data for the list operation. */ -export type InformationProtectionPolicyName = 'effective' | 'custom'; +export type WorkspaceSettingsListResponse = WorkspaceSettingList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceSettingList; + }; +}; /** - * Defines values for InformationProtectionPolicyName1. - * Possible values include: 'effective', 'custom' - * @readonly - * @enum {string} + * Contains response data for the get operation. */ -export type InformationProtectionPolicyName1 = 'effective' | 'custom'; +export type WorkspaceSettingsGetResponse = WorkspaceSetting & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceSetting; + }; +}; /** - * Contains response data for the list operation. + * Contains response data for the create operation. */ -export type ComplianceResultsListResponse = ComplianceResultList & { +export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { /** * The underlying HTTP response. */ @@ -5135,14 +8756,14 @@ export type ComplianceResultsListResponse = ComplianceResultList & { /** * The response body as parsed JSON or XML */ - parsedBody: ComplianceResultList; + parsedBody: WorkspaceSetting; }; }; /** - * Contains response data for the get operation. + * Contains response data for the update operation. */ -export type ComplianceResultsGetResponse = ComplianceResult & { +export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { /** * The underlying HTTP response. */ @@ -5155,14 +8776,14 @@ export type ComplianceResultsGetResponse = ComplianceResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ComplianceResult; + parsedBody: WorkspaceSetting; }; }; /** * Contains response data for the listNext operation. */ -export type ComplianceResultsListNextResponse = ComplianceResultList & { +export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { /** * The underlying HTTP response. */ @@ -5175,14 +8796,14 @@ export type ComplianceResultsListNextResponse = ComplianceResultList & { /** * The response body as parsed JSON or XML */ - parsedBody: ComplianceResultList; + parsedBody: WorkspaceSettingList; }; }; /** * Contains response data for the list operation. */ -export type PricingsListResponse = PricingList & { +export type RegulatoryComplianceStandardsListResponse = RegulatoryComplianceStandardList & { /** * The underlying HTTP response. */ @@ -5195,14 +8816,14 @@ export type PricingsListResponse = PricingList & { /** * The response body as parsed JSON or XML */ - parsedBody: PricingList; + parsedBody: RegulatoryComplianceStandardList; }; }; /** * Contains response data for the get operation. */ -export type PricingsGetResponse = Pricing & { +export type RegulatoryComplianceStandardsGetResponse = RegulatoryComplianceStandard & { /** * The underlying HTTP response. */ @@ -5215,14 +8836,14 @@ export type PricingsGetResponse = Pricing & { /** * The response body as parsed JSON or XML */ - parsedBody: Pricing; + parsedBody: RegulatoryComplianceStandard; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listNext operation. */ -export type PricingsUpdateResponse = Pricing & { +export type RegulatoryComplianceStandardsListNextResponse = RegulatoryComplianceStandardList & { /** * The underlying HTTP response. */ @@ -5235,14 +8856,14 @@ export type PricingsUpdateResponse = Pricing & { /** * The response body as parsed JSON or XML */ - parsedBody: Pricing; + parsedBody: RegulatoryComplianceStandardList; }; }; /** * Contains response data for the list operation. */ -export type AlertsListResponse = AlertList & { +export type RegulatoryComplianceControlsListResponse = RegulatoryComplianceControlList & { /** * The underlying HTTP response. */ @@ -5255,14 +8876,14 @@ export type AlertsListResponse = AlertList & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertList; + parsedBody: RegulatoryComplianceControlList; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type AlertsListByResourceGroupResponse = AlertList & { +export type RegulatoryComplianceControlsGetResponse = RegulatoryComplianceControl & { /** * The underlying HTTP response. */ @@ -5275,14 +8896,14 @@ export type AlertsListByResourceGroupResponse = AlertList & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertList; + parsedBody: RegulatoryComplianceControl; }; }; /** - * Contains response data for the listSubscriptionLevelAlertsByRegion operation. + * Contains response data for the listNext operation. */ -export type AlertsListSubscriptionLevelAlertsByRegionResponse = AlertList & { +export type RegulatoryComplianceControlsListNextResponse = RegulatoryComplianceControlList & { /** * The underlying HTTP response. */ @@ -5295,14 +8916,14 @@ export type AlertsListSubscriptionLevelAlertsByRegionResponse = AlertList & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertList; + parsedBody: RegulatoryComplianceControlList; }; }; /** - * Contains response data for the listResourceGroupLevelAlertsByRegion operation. + * Contains response data for the list operation. */ -export type AlertsListResourceGroupLevelAlertsByRegionResponse = AlertList & { +export type RegulatoryComplianceAssessmentsListResponse = RegulatoryComplianceAssessmentList & { /** * The underlying HTTP response. */ @@ -5315,14 +8936,14 @@ export type AlertsListResourceGroupLevelAlertsByRegionResponse = AlertList & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertList; + parsedBody: RegulatoryComplianceAssessmentList; }; }; /** - * Contains response data for the getSubscriptionLevelAlert operation. + * Contains response data for the get operation. */ -export type AlertsGetSubscriptionLevelAlertResponse = Alert & { +export type RegulatoryComplianceAssessmentsGetResponse = RegulatoryComplianceAssessment & { /** * The underlying HTTP response. */ @@ -5335,14 +8956,14 @@ export type AlertsGetSubscriptionLevelAlertResponse = Alert & { /** * The response body as parsed JSON or XML */ - parsedBody: Alert; + parsedBody: RegulatoryComplianceAssessment; }; }; /** - * Contains response data for the getResourceGroupLevelAlerts operation. + * Contains response data for the listNext operation. */ -export type AlertsGetResourceGroupLevelAlertsResponse = Alert & { +export type RegulatoryComplianceAssessmentsListNextResponse = RegulatoryComplianceAssessmentList & { /** * The underlying HTTP response. */ @@ -5355,14 +8976,34 @@ export type AlertsGetResourceGroupLevelAlertsResponse = Alert & { /** * The response body as parsed JSON or XML */ - parsedBody: Alert; + parsedBody: RegulatoryComplianceAssessmentList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listAll operation. */ -export type AlertsListNextResponse = AlertList & { +export type SubAssessmentsListAllResponse = SecuritySubAssessmentList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: SecuritySubAssessmentList; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type SubAssessmentsListResponse = SecuritySubAssessmentList & { /** * The underlying HTTP response. */ @@ -5375,14 +9016,14 @@ export type AlertsListNextResponse = AlertList & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertList; + parsedBody: SecuritySubAssessmentList; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type AlertsListByResourceGroupNextResponse = AlertList & { +export type SubAssessmentsGetResponse = SecuritySubAssessment & { /** * The underlying HTTP response. */ @@ -5395,14 +9036,14 @@ export type AlertsListByResourceGroupNextResponse = AlertList & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertList; + parsedBody: SecuritySubAssessment; }; }; /** - * Contains response data for the listSubscriptionLevelAlertsByRegionNext operation. + * Contains response data for the listAllNext operation. */ -export type AlertsListSubscriptionLevelAlertsByRegionNextResponse = AlertList & { +export type SubAssessmentsListAllNextResponse = SecuritySubAssessmentList & { /** * The underlying HTTP response. */ @@ -5415,14 +9056,14 @@ export type AlertsListSubscriptionLevelAlertsByRegionNextResponse = AlertList & /** * The response body as parsed JSON or XML */ - parsedBody: AlertList; + parsedBody: SecuritySubAssessmentList; }; }; /** - * Contains response data for the listResourceGroupLevelAlertsByRegionNext operation. + * Contains response data for the listNext operation. */ -export type AlertsListResourceGroupLevelAlertsByRegionNextResponse = AlertList & { +export type SubAssessmentsListNextResponse = SecuritySubAssessmentList & { /** * The underlying HTTP response. */ @@ -5435,14 +9076,14 @@ export type AlertsListResourceGroupLevelAlertsByRegionNextResponse = AlertList & /** * The response body as parsed JSON or XML */ - parsedBody: AlertList; + parsedBody: SecuritySubAssessmentList; }; }; /** * Contains response data for the list operation. */ -export type SettingsListResponse = SettingsList & { +export type AutomationsListResponse = AutomationList & { /** * The underlying HTTP response. */ @@ -5455,14 +9096,14 @@ export type SettingsListResponse = SettingsList & { /** * The response body as parsed JSON or XML */ - parsedBody: SettingsList; + parsedBody: AutomationList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroup operation. */ -export type SettingsGetResponse = SettingUnion & { +export type AutomationsListByResourceGroupResponse = AutomationList & { /** * The underlying HTTP response. */ @@ -5475,14 +9116,14 @@ export type SettingsGetResponse = SettingUnion & { /** * The response body as parsed JSON or XML */ - parsedBody: SettingUnion; + parsedBody: AutomationList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type SettingsUpdateResponse = SettingUnion & { +export type AutomationsGetResponse = Automation & { /** * The underlying HTTP response. */ @@ -5495,14 +9136,14 @@ export type SettingsUpdateResponse = SettingUnion & { /** * The response body as parsed JSON or XML */ - parsedBody: SettingUnion; + parsedBody: Automation; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type SettingsListNextResponse = SettingsList & { +export type AutomationsCreateOrUpdateResponse = Automation & { /** * The underlying HTTP response. */ @@ -5515,14 +9156,14 @@ export type SettingsListNextResponse = SettingsList & { /** * The response body as parsed JSON or XML */ - parsedBody: SettingsList; + parsedBody: Automation; }; }; /** - * Contains response data for the get operation. + * Contains response data for the validate operation. */ -export type AdvancedThreatProtectionGetResponse = AdvancedThreatProtectionSetting & { +export type AutomationsValidateResponse = AutomationValidationStatus & { /** * The underlying HTTP response. */ @@ -5535,14 +9176,14 @@ export type AdvancedThreatProtectionGetResponse = AdvancedThreatProtectionSettin /** * The response body as parsed JSON or XML */ - parsedBody: AdvancedThreatProtectionSetting; + parsedBody: AutomationValidationStatus; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listNext operation. */ -export type AdvancedThreatProtectionCreateResponse = AdvancedThreatProtectionSetting & { +export type AutomationsListNextResponse = AutomationList & { /** * The underlying HTTP response. */ @@ -5555,14 +9196,14 @@ export type AdvancedThreatProtectionCreateResponse = AdvancedThreatProtectionSet /** * The response body as parsed JSON or XML */ - parsedBody: AdvancedThreatProtectionSetting; + parsedBody: AutomationList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type DeviceSecurityGroupsListResponse = DeviceSecurityGroupList & { +export type AutomationsListByResourceGroupNextResponse = AutomationList & { /** * The underlying HTTP response. */ @@ -5575,14 +9216,14 @@ export type DeviceSecurityGroupsListResponse = DeviceSecurityGroupList & { /** * The response body as parsed JSON or XML */ - parsedBody: DeviceSecurityGroupList; + parsedBody: AutomationList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type DeviceSecurityGroupsGetResponse = DeviceSecurityGroup & { +export type AlertsSuppressionRulesListResponse = AlertsSuppressionRulesList & { /** * The underlying HTTP response. */ @@ -5595,14 +9236,14 @@ export type DeviceSecurityGroupsGetResponse = DeviceSecurityGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: DeviceSecurityGroup; + parsedBody: AlertsSuppressionRulesList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type DeviceSecurityGroupsCreateOrUpdateResponse = DeviceSecurityGroup & { +export type AlertsSuppressionRulesGetResponse = AlertsSuppressionRule & { /** * The underlying HTTP response. */ @@ -5615,14 +9256,14 @@ export type DeviceSecurityGroupsCreateOrUpdateResponse = DeviceSecurityGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: DeviceSecurityGroup; + parsedBody: AlertsSuppressionRule; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type DeviceSecurityGroupsListNextResponse = DeviceSecurityGroupList & { +export type AlertsSuppressionRulesUpdateResponse = AlertsSuppressionRule & { /** * The underlying HTTP response. */ @@ -5635,14 +9276,14 @@ export type DeviceSecurityGroupsListNextResponse = DeviceSecurityGroupList & { /** * The response body as parsed JSON or XML */ - parsedBody: DeviceSecurityGroupList; + parsedBody: AlertsSuppressionRule; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the listNext operation. */ -export type IotSecuritySolutionListBySubscriptionResponse = IoTSecuritySolutionsList & { +export type AlertsSuppressionRulesListNextResponse = AlertsSuppressionRulesList & { /** * The underlying HTTP response. */ @@ -5655,14 +9296,14 @@ export type IotSecuritySolutionListBySubscriptionResponse = IoTSecuritySolutions /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: AlertsSuppressionRulesList; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listByExtendedResource operation. */ -export type IotSecuritySolutionListByResourceGroupResponse = IoTSecuritySolutionsList & { +export type ServerVulnerabilityAssessmentListByExtendedResourceResponse = ServerVulnerabilityAssessmentsList & { /** * The underlying HTTP response. */ @@ -5675,14 +9316,14 @@ export type IotSecuritySolutionListByResourceGroupResponse = IoTSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: ServerVulnerabilityAssessmentsList; }; }; /** * Contains response data for the get operation. */ -export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { +export type ServerVulnerabilityAssessmentGetResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -5695,14 +9336,14 @@ export type IotSecuritySolutionGetResponse = IoTSecuritySolutionModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: ServerVulnerabilityAssessment; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type IotSecuritySolutionCreateOrUpdateResponse = IoTSecuritySolutionModel & { +export type ServerVulnerabilityAssessmentCreateOrUpdateResponse = ServerVulnerabilityAssessment & { /** * The underlying HTTP response. */ @@ -5715,14 +9356,14 @@ export type IotSecuritySolutionCreateOrUpdateResponse = IoTSecuritySolutionModel /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: ServerVulnerabilityAssessment; }; }; /** - * Contains response data for the update operation. + * Contains response data for the list operation. */ -export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { +export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataList & { /** * The underlying HTTP response. */ @@ -5735,14 +9376,14 @@ export type IotSecuritySolutionUpdateResponse = IoTSecuritySolutionModel & { /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionModel; + parsedBody: SecurityAssessmentMetadataList; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the get operation. */ -export type IotSecuritySolutionListBySubscriptionNextResponse = IoTSecuritySolutionsList & { +export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadata & { /** * The underlying HTTP response. */ @@ -5755,14 +9396,14 @@ export type IotSecuritySolutionListBySubscriptionNextResponse = IoTSecuritySolut /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: SecurityAssessmentMetadata; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listBySubscription operation. */ -export type IotSecuritySolutionListByResourceGroupNextResponse = IoTSecuritySolutionsList & { +export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMetadataList & { /** * The underlying HTTP response. */ @@ -5775,14 +9416,14 @@ export type IotSecuritySolutionListByResourceGroupNextResponse = IoTSecuritySolu /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionsList; + parsedBody: SecurityAssessmentMetadataList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the getInSubscription operation. */ -export type IotSecuritySolutionAnalyticsListResponse = IoTSecuritySolutionAnalyticsModelList & { +export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMetadata & { /** * The underlying HTTP response. */ @@ -5795,14 +9436,14 @@ export type IotSecuritySolutionAnalyticsListResponse = IoTSecuritySolutionAnalyt /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionAnalyticsModelList; + parsedBody: SecurityAssessmentMetadata; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createInSubscription operation. */ -export type IotSecuritySolutionAnalyticsGetResponse = IoTSecuritySolutionAnalyticsModel & { +export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessmentMetadata & { /** * The underlying HTTP response. */ @@ -5815,14 +9456,14 @@ export type IotSecuritySolutionAnalyticsGetResponse = IoTSecuritySolutionAnalyti /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecuritySolutionAnalyticsModel; + parsedBody: SecurityAssessmentMetadata; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type IotSecuritySolutionsAnalyticsAggregatedAlertListResponse = IoTSecurityAggregatedAlertList & { +export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataList & { /** * The underlying HTTP response. */ @@ -5835,14 +9476,14 @@ export type IotSecuritySolutionsAnalyticsAggregatedAlertListResponse = IoTSecuri /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedAlertList; + parsedBody: SecurityAssessmentMetadataList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type IotSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurityAggregatedAlert & { +export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessmentMetadataList & { /** * The underlying HTTP response. */ @@ -5855,14 +9496,14 @@ export type IotSecuritySolutionsAnalyticsAggregatedAlertGetResponse = IoTSecurit /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedAlert; + parsedBody: SecurityAssessmentMetadataList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type IotSecuritySolutionsAnalyticsAggregatedAlertListNextResponse = IoTSecurityAggregatedAlertList & { +export type AssessmentsListResponse = SecurityAssessmentList & { /** * The underlying HTTP response. */ @@ -5875,14 +9516,14 @@ export type IotSecuritySolutionsAnalyticsAggregatedAlertListNextResponse = IoTSe /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedAlertList; + parsedBody: SecurityAssessmentList; }; }; /** * Contains response data for the get operation. */ -export type IotSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurityAggregatedRecommendation & { +export type AssessmentsGetResponse = SecurityAssessment & { /** * The underlying HTTP response. */ @@ -5895,14 +9536,14 @@ export type IotSecuritySolutionsAnalyticsRecommendationGetResponse = IoTSecurity /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendation; + parsedBody: SecurityAssessment; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type IotSecuritySolutionsAnalyticsRecommendationListResponse = IoTSecurityAggregatedRecommendationList & { +export type AssessmentsCreateOrUpdateResponse = SecurityAssessment & { /** * The underlying HTTP response. */ @@ -5915,14 +9556,14 @@ export type IotSecuritySolutionsAnalyticsRecommendationListResponse = IoTSecurit /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendationList; + parsedBody: SecurityAssessment; }; }; /** * Contains response data for the listNext operation. */ -export type IotSecuritySolutionsAnalyticsRecommendationListNextResponse = IoTSecurityAggregatedRecommendationList & { +export type AssessmentsListNextResponse = SecurityAssessmentList & { /** * The underlying HTTP response. */ @@ -5935,14 +9576,14 @@ export type IotSecuritySolutionsAnalyticsRecommendationListNextResponse = IoTSec /** * The response body as parsed JSON or XML */ - parsedBody: IoTSecurityAggregatedRecommendationList; + parsedBody: SecurityAssessmentList; }; }; /** * Contains response data for the list operation. */ -export type LocationsListResponse = AscLocationList & { +export type AdaptiveApplicationControlsListResponse = AdaptiveApplicationControlGroups & { /** * The underlying HTTP response. */ @@ -5955,14 +9596,14 @@ export type LocationsListResponse = AscLocationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocationList; + parsedBody: AdaptiveApplicationControlGroups; }; }; /** * Contains response data for the get operation. */ -export type LocationsGetResponse = AscLocation & { +export type AdaptiveApplicationControlsGetResponse = AdaptiveApplicationControlGroup & { /** * The underlying HTTP response. */ @@ -5975,14 +9616,14 @@ export type LocationsGetResponse = AscLocation & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocation; + parsedBody: AdaptiveApplicationControlGroup; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the put operation. */ -export type LocationsListNextResponse = AscLocationList & { +export type AdaptiveApplicationControlsPutResponse = AdaptiveApplicationControlGroup & { /** * The underlying HTTP response. */ @@ -5995,14 +9636,14 @@ export type LocationsListNextResponse = AscLocationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AscLocationList; + parsedBody: AdaptiveApplicationControlGroup; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByExtendedResource operation. */ -export type OperationsListResponse = OperationList & { +export type AdaptiveNetworkHardeningsListByExtendedResourceResponse = AdaptiveNetworkHardeningsList & { /** * The underlying HTTP response. */ @@ -6015,14 +9656,14 @@ export type OperationsListResponse = OperationList & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationList; + parsedBody: AdaptiveNetworkHardeningsList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type OperationsListNextResponse = OperationList & { +export type AdaptiveNetworkHardeningsGetResponse = AdaptiveNetworkHardening & { /** * The underlying HTTP response. */ @@ -6035,14 +9676,14 @@ export type OperationsListNextResponse = OperationList & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationList; + parsedBody: AdaptiveNetworkHardening; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByExtendedResourceNext operation. */ -export type TasksListResponse = SecurityTaskList & { +export type AdaptiveNetworkHardeningsListByExtendedResourceNextResponse = AdaptiveNetworkHardeningsList & { /** * The underlying HTTP response. */ @@ -6055,14 +9696,14 @@ export type TasksListResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: AdaptiveNetworkHardeningsList; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the list operation. */ -export type TasksListByHomeRegionResponse = SecurityTaskList & { +export type AllowedConnectionsListResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -6075,14 +9716,14 @@ export type TasksListByHomeRegionResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: AllowedConnectionsList; }; }; /** - * Contains response data for the getSubscriptionLevelTask operation. + * Contains response data for the listByHomeRegion operation. */ -export type TasksGetSubscriptionLevelTaskResponse = SecurityTask & { +export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -6095,14 +9736,14 @@ export type TasksGetSubscriptionLevelTaskResponse = SecurityTask & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTask; + parsedBody: AllowedConnectionsList; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type TasksListByResourceGroupResponse = SecurityTaskList & { +export type AllowedConnectionsGetResponse = AllowedConnectionsResource & { /** * The underlying HTTP response. */ @@ -6115,14 +9756,14 @@ export type TasksListByResourceGroupResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: AllowedConnectionsResource; }; }; /** - * Contains response data for the getResourceGroupLevelTask operation. + * Contains response data for the listNext operation. */ -export type TasksGetResourceGroupLevelTaskResponse = SecurityTask & { +export type AllowedConnectionsListNextResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -6135,14 +9776,14 @@ export type TasksGetResourceGroupLevelTaskResponse = SecurityTask & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTask; + parsedBody: AllowedConnectionsList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type TasksListNextResponse = SecurityTaskList & { +export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsList & { /** * The underlying HTTP response. */ @@ -6155,14 +9796,14 @@ export type TasksListNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: AllowedConnectionsList; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the list operation. */ -export type TasksListByHomeRegionNextResponse = SecurityTaskList & { +export type TopologyListResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -6175,14 +9816,14 @@ export type TasksListByHomeRegionNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: TopologyList; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listByHomeRegion operation. */ -export type TasksListByResourceGroupNextResponse = SecurityTaskList & { +export type TopologyListByHomeRegionResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -6195,14 +9836,14 @@ export type TasksListByResourceGroupNextResponse = SecurityTaskList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityTaskList; + parsedBody: TopologyList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type AutoProvisioningSettingsListResponse = AutoProvisioningSettingList & { +export type TopologyGetResponse = TopologyResource & { /** * The underlying HTTP response. */ @@ -6215,14 +9856,14 @@ export type AutoProvisioningSettingsListResponse = AutoProvisioningSettingList & /** * The response body as parsed JSON or XML */ - parsedBody: AutoProvisioningSettingList; + parsedBody: TopologyResource; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type AutoProvisioningSettingsGetResponse = AutoProvisioningSetting & { +export type TopologyListNextResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -6235,14 +9876,14 @@ export type AutoProvisioningSettingsGetResponse = AutoProvisioningSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: AutoProvisioningSetting; + parsedBody: TopologyList; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type AutoProvisioningSettingsCreateResponse = AutoProvisioningSetting & { +export type TopologyListByHomeRegionNextResponse = TopologyList & { /** * The underlying HTTP response. */ @@ -6255,14 +9896,14 @@ export type AutoProvisioningSettingsCreateResponse = AutoProvisioningSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: AutoProvisioningSetting; + parsedBody: TopologyList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type AutoProvisioningSettingsListNextResponse = AutoProvisioningSettingList & { +export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -6275,14 +9916,14 @@ export type AutoProvisioningSettingsListNextResponse = AutoProvisioningSettingLi /** * The response body as parsed JSON or XML */ - parsedBody: AutoProvisioningSettingList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByRegion operation. */ -export type CompliancesListResponse = ComplianceList & { +export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -6295,14 +9936,14 @@ export type CompliancesListResponse = ComplianceList & { /** * The response body as parsed JSON or XML */ - parsedBody: ComplianceList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroup operation. */ -export type CompliancesGetResponse = Compliance & { +export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -6315,14 +9956,14 @@ export type CompliancesGetResponse = Compliance & { /** * The response body as parsed JSON or XML */ - parsedBody: Compliance; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroupAndRegion operation. */ -export type CompliancesListNextResponse = ComplianceList & { +export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -6335,14 +9976,14 @@ export type CompliancesListNextResponse = ComplianceList & { /** * The response body as parsed JSON or XML */ - parsedBody: ComplianceList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** * Contains response data for the get operation. */ -export type InformationProtectionPoliciesGetResponse = InformationProtectionPolicy & { +export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { /** * The underlying HTTP response. */ @@ -6355,14 +9996,14 @@ export type InformationProtectionPoliciesGetResponse = InformationProtectionPoli /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicy; + parsedBody: JitNetworkAccessPolicy; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationProtectionPolicy & { +export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPolicy & { /** * The underlying HTTP response. */ @@ -6375,14 +10016,14 @@ export type InformationProtectionPoliciesCreateOrUpdateResponse = InformationPro /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicy; + parsedBody: JitNetworkAccessPolicy; }; }; /** - * Contains response data for the list operation. + * Contains response data for the initiate operation. */ -export type InformationProtectionPoliciesListResponse = InformationProtectionPolicyList & { +export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & { /** * The underlying HTTP response. */ @@ -6395,14 +10036,14 @@ export type InformationProtectionPoliciesListResponse = InformationProtectionPol /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicyList; + parsedBody: JitNetworkAccessRequest; }; }; /** * Contains response data for the listNext operation. */ -export type InformationProtectionPoliciesListNextResponse = InformationProtectionPolicyList & { +export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -6415,14 +10056,14 @@ export type InformationProtectionPoliciesListNextResponse = InformationProtectio /** * The response body as parsed JSON or XML */ - parsedBody: InformationProtectionPolicyList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByRegionNext operation. */ -export type SecurityContactsListResponse = SecurityContactList & { +export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -6435,14 +10076,14 @@ export type SecurityContactsListResponse = SecurityContactList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContactList; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type SecurityContactsGetResponse = SecurityContact & { +export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -6455,14 +10096,14 @@ export type SecurityContactsGetResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByResourceGroupAndRegionNext operation. */ -export type SecurityContactsCreateResponse = SecurityContact & { +export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = JitNetworkAccessPoliciesList & { /** * The underlying HTTP response. */ @@ -6475,14 +10116,14 @@ export type SecurityContactsCreateResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: JitNetworkAccessPoliciesList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the list operation. */ -export type SecurityContactsUpdateResponse = SecurityContact & { +export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6495,14 +10136,14 @@ export type SecurityContactsUpdateResponse = SecurityContact & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContact; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByHomeRegion operation. */ -export type SecurityContactsListNextResponse = SecurityContactList & { +export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6515,14 +10156,14 @@ export type SecurityContactsListNextResponse = SecurityContactList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityContactList; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type WorkspaceSettingsListResponse = WorkspaceSettingList & { +export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution & { /** * The underlying HTTP response. */ @@ -6535,14 +10176,14 @@ export type WorkspaceSettingsListResponse = WorkspaceSettingList & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSettingList; + parsedBody: DiscoveredSecuritySolution; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type WorkspaceSettingsGetResponse = WorkspaceSetting & { +export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6555,14 +10196,14 @@ export type WorkspaceSettingsGetResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the create operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { +export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = DiscoveredSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6575,14 +10216,14 @@ export type WorkspaceSettingsCreateResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: DiscoveredSecuritySolutionList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the list operation. */ -export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { +export type SecuritySolutionsReferenceDataListResponse = SecuritySolutionsReferenceDataList & { /** * The underlying HTTP response. */ @@ -6595,14 +10236,14 @@ export type WorkspaceSettingsUpdateResponse = WorkspaceSetting & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSetting; + parsedBody: SecuritySolutionsReferenceDataList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByHomeRegion operation. */ -export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { +export type SecuritySolutionsReferenceDataListByHomeRegionResponse = SecuritySolutionsReferenceDataList & { /** * The underlying HTTP response. */ @@ -6615,14 +10256,14 @@ export type WorkspaceSettingsListNextResponse = WorkspaceSettingList & { /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceSettingList; + parsedBody: SecuritySolutionsReferenceDataList; }; }; /** * Contains response data for the list operation. */ -export type RegulatoryComplianceStandardsListResponse = RegulatoryComplianceStandardList & { +export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6635,14 +10276,14 @@ export type RegulatoryComplianceStandardsListResponse = RegulatoryComplianceStan /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceStandardList; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByHomeRegion operation. */ -export type RegulatoryComplianceStandardsGetResponse = RegulatoryComplianceStandard & { +export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6655,14 +10296,14 @@ export type RegulatoryComplianceStandardsGetResponse = RegulatoryComplianceStand /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceStandard; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type RegulatoryComplianceStandardsListNextResponse = RegulatoryComplianceStandardList & { +export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion & { /** * The underlying HTTP response. */ @@ -6675,14 +10316,14 @@ export type RegulatoryComplianceStandardsListNextResponse = RegulatoryCompliance /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceStandardList; + parsedBody: ExternalSecuritySolutionUnion; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type RegulatoryComplianceControlsListResponse = RegulatoryComplianceControlList & { +export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6695,14 +10336,14 @@ export type RegulatoryComplianceControlsListResponse = RegulatoryComplianceContr /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceControlList; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByHomeRegionNext operation. */ -export type RegulatoryComplianceControlsGetResponse = RegulatoryComplianceControl & { +export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6715,14 +10356,14 @@ export type RegulatoryComplianceControlsGetResponse = RegulatoryComplianceContro /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceControl; + parsedBody: ExternalSecuritySolutionList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type RegulatoryComplianceControlsListNextResponse = RegulatoryComplianceControlList & { +export type SecureScoresListResponse = SecureScoresList & { /** * The underlying HTTP response. */ @@ -6735,14 +10376,14 @@ export type RegulatoryComplianceControlsListNextResponse = RegulatoryComplianceC /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceControlList; + parsedBody: SecureScoresList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type RegulatoryComplianceAssessmentsListResponse = RegulatoryComplianceAssessmentList & { +export type SecureScoresGetResponse = SecureScoreItem & { /** * The underlying HTTP response. */ @@ -6755,14 +10396,14 @@ export type RegulatoryComplianceAssessmentsListResponse = RegulatoryComplianceAs /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceAssessmentList; + parsedBody: SecureScoreItem; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type RegulatoryComplianceAssessmentsGetResponse = RegulatoryComplianceAssessment & { +export type SecureScoresListNextResponse = SecureScoresList & { /** * The underlying HTTP response. */ @@ -6775,14 +10416,14 @@ export type RegulatoryComplianceAssessmentsGetResponse = RegulatoryComplianceAss /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceAssessment; + parsedBody: SecureScoresList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listBySecureScore operation. */ -export type RegulatoryComplianceAssessmentsListNextResponse = RegulatoryComplianceAssessmentList & { +export type SecureScoreControlsListBySecureScoreResponse = SecureScoreControlList & { /** * The underlying HTTP response. */ @@ -6795,14 +10436,14 @@ export type RegulatoryComplianceAssessmentsListNextResponse = RegulatoryComplian /** * The response body as parsed JSON or XML */ - parsedBody: RegulatoryComplianceAssessmentList; + parsedBody: SecureScoreControlList; }; }; /** - * Contains response data for the listByExtendedResource operation. + * Contains response data for the list operation. */ -export type ServerVulnerabilityAssessmentListByExtendedResourceResponse = ServerVulnerabilityAssessmentsList & { +export type SecureScoreControlsListResponse = SecureScoreControlList & { /** * The underlying HTTP response. */ @@ -6815,14 +10456,14 @@ export type ServerVulnerabilityAssessmentListByExtendedResourceResponse = Server /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessmentsList; + parsedBody: SecureScoreControlList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listBySecureScoreNext operation. */ -export type ServerVulnerabilityAssessmentGetResponse = ServerVulnerabilityAssessment & { +export type SecureScoreControlsListBySecureScoreNextResponse = SecureScoreControlList & { /** * The underlying HTTP response. */ @@ -6835,14 +10476,14 @@ export type ServerVulnerabilityAssessmentGetResponse = ServerVulnerabilityAssess /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: SecureScoreControlList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ServerVulnerabilityAssessmentCreateOrUpdateResponse = ServerVulnerabilityAssessment & { +export type SecureScoreControlsListNextResponse = SecureScoreControlList & { /** * The underlying HTTP response. */ @@ -6855,14 +10496,14 @@ export type ServerVulnerabilityAssessmentCreateOrUpdateResponse = ServerVulnerab /** * The response body as parsed JSON or XML */ - parsedBody: ServerVulnerabilityAssessment; + parsedBody: SecureScoreControlList; }; }; /** - * Contains response data for the listAll operation. + * Contains response data for the list operation. */ -export type SubAssessmentsListAllResponse = SecuritySubAssessmentList & { +export type SecureScoreControlDefinitionsListResponse = SecureScoreControlDefinitionList & { /** * The underlying HTTP response. */ @@ -6875,14 +10516,14 @@ export type SubAssessmentsListAllResponse = SecuritySubAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessmentList; + parsedBody: SecureScoreControlDefinitionList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listBySubscription operation. */ -export type SubAssessmentsListResponse = SecuritySubAssessmentList & { +export type SecureScoreControlDefinitionsListBySubscriptionResponse = SecureScoreControlDefinitionList & { /** * The underlying HTTP response. */ @@ -6895,14 +10536,14 @@ export type SubAssessmentsListResponse = SecuritySubAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessmentList; + parsedBody: SecureScoreControlDefinitionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type SubAssessmentsGetResponse = SecuritySubAssessment & { +export type SecureScoreControlDefinitionsListNextResponse = SecureScoreControlDefinitionList & { /** * The underlying HTTP response. */ @@ -6915,14 +10556,14 @@ export type SubAssessmentsGetResponse = SecuritySubAssessment & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessment; + parsedBody: SecureScoreControlDefinitionList; }; }; /** - * Contains response data for the listAllNext operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type SubAssessmentsListAllNextResponse = SecuritySubAssessmentList & { +export type SecureScoreControlDefinitionsListBySubscriptionNextResponse = SecureScoreControlDefinitionList & { /** * The underlying HTTP response. */ @@ -6935,14 +10576,14 @@ export type SubAssessmentsListAllNextResponse = SecuritySubAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessmentList; + parsedBody: SecureScoreControlDefinitionList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type SubAssessmentsListNextResponse = SecuritySubAssessmentList & { +export type SecuritySolutionsListResponse = SecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6955,14 +10596,14 @@ export type SubAssessmentsListNextResponse = SecuritySubAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecuritySubAssessmentList; + parsedBody: SecuritySolutionList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type AutomationsListResponse = AutomationList & { +export type SecuritySolutionsGetResponse = SecuritySolution & { /** * The underlying HTTP response. */ @@ -6975,14 +10616,14 @@ export type AutomationsListResponse = AutomationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationList; + parsedBody: SecuritySolution; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listNext operation. */ -export type AutomationsListByResourceGroupResponse = AutomationList & { +export type SecuritySolutionsListNextResponse = SecuritySolutionList & { /** * The underlying HTTP response. */ @@ -6995,14 +10636,14 @@ export type AutomationsListByResourceGroupResponse = AutomationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationList; + parsedBody: SecuritySolutionList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type AutomationsGetResponse = Automation & { +export type ConnectorsListResponse = ConnectorSettingList & { /** * The underlying HTTP response. */ @@ -7015,14 +10656,14 @@ export type AutomationsGetResponse = Automation & { /** * The response body as parsed JSON or XML */ - parsedBody: Automation; + parsedBody: ConnectorSettingList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type AutomationsCreateOrUpdateResponse = Automation & { +export type ConnectorsGetResponse = ConnectorSetting & { /** * The underlying HTTP response. */ @@ -7035,14 +10676,14 @@ export type AutomationsCreateOrUpdateResponse = Automation & { /** * The response body as parsed JSON or XML */ - parsedBody: Automation; + parsedBody: ConnectorSetting; }; }; /** - * Contains response data for the validate operation. + * Contains response data for the createOrUpdate operation. */ -export type AutomationsValidateResponse = AutomationValidationStatus & { +export type ConnectorsCreateOrUpdateResponse = ConnectorSetting & { /** * The underlying HTTP response. */ @@ -7055,14 +10696,14 @@ export type AutomationsValidateResponse = AutomationValidationStatus & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationValidationStatus; + parsedBody: ConnectorSetting; }; }; /** * Contains response data for the listNext operation. */ -export type AutomationsListNextResponse = AutomationList & { +export type ConnectorsListNextResponse = ConnectorSettingList & { /** * The underlying HTTP response. */ @@ -7075,14 +10716,14 @@ export type AutomationsListNextResponse = AutomationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationList; + parsedBody: ConnectorSettingList; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the get operation. */ -export type AutomationsListByResourceGroupNextResponse = AutomationList & { +export type SqlVulnerabilityAssessmentScansGetResponse = Scan & { /** * The underlying HTTP response. */ @@ -7095,14 +10736,14 @@ export type AutomationsListByResourceGroupNextResponse = AutomationList & { /** * The response body as parsed JSON or XML */ - parsedBody: AutomationList; + parsedBody: Scan; }; }; /** * Contains response data for the list operation. */ -export type AlertsSuppressionRulesListResponse = AlertsSuppressionRulesList & { +export type SqlVulnerabilityAssessmentScansListResponse = Scans & { /** * The underlying HTTP response. */ @@ -7115,14 +10756,14 @@ export type AlertsSuppressionRulesListResponse = AlertsSuppressionRulesList & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertsSuppressionRulesList; + parsedBody: Scans; }; }; /** * Contains response data for the get operation. */ -export type AlertsSuppressionRulesGetResponse = AlertsSuppressionRule & { +export type SqlVulnerabilityAssessmentScanResultsGetResponse = ScanResult & { /** * The underlying HTTP response. */ @@ -7135,14 +10776,14 @@ export type AlertsSuppressionRulesGetResponse = AlertsSuppressionRule & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertsSuppressionRule; + parsedBody: ScanResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the list operation. */ -export type AlertsSuppressionRulesUpdateResponse = AlertsSuppressionRule & { +export type SqlVulnerabilityAssessmentScanResultsListResponse = ScanResults & { /** * The underlying HTTP response. */ @@ -7155,14 +10796,14 @@ export type AlertsSuppressionRulesUpdateResponse = AlertsSuppressionRule & { /** * The response body as parsed JSON or XML */ - parsedBody: AlertsSuppressionRule; + parsedBody: ScanResults; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AlertsSuppressionRulesListNextResponse = AlertsSuppressionRulesList & { +export type SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateResponse = RuleResults & { /** * The underlying HTTP response. */ @@ -7175,14 +10816,14 @@ export type AlertsSuppressionRulesListNextResponse = AlertsSuppressionRulesList /** * The response body as parsed JSON or XML */ - parsedBody: AlertsSuppressionRulesList; + parsedBody: RuleResults; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataList & { +export type SqlVulnerabilityAssessmentBaselineRulesGetResponse = RuleResults & { /** * The underlying HTTP response. */ @@ -7195,14 +10836,14 @@ export type AssessmentsMetadataListResponse = SecurityAssessmentMetadataList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: RuleResults; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadata & { +export type SqlVulnerabilityAssessmentBaselineRulesListResponse = RulesResults & { /** * The underlying HTTP response. */ @@ -7215,14 +10856,14 @@ export type AssessmentsMetadataGetResponse = SecurityAssessmentMetadata & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: RulesResults; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the add operation. */ -export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMetadataList & { +export type SqlVulnerabilityAssessmentBaselineRulesAddResponse = RulesResults & { /** * The underlying HTTP response. */ @@ -7235,14 +10876,14 @@ export type AssessmentsMetadataListBySubscriptionResponse = SecurityAssessmentMe /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: RulesResults; }; }; /** - * Contains response data for the getInSubscription operation. + * Contains response data for the list operation. */ -export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMetadata & { +export type IotDefenderSettingsListResponse = IotDefenderSettingsList & { /** * The underlying HTTP response. */ @@ -7255,14 +10896,14 @@ export type AssessmentsMetadataGetInSubscriptionResponse = SecurityAssessmentMet /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: IotDefenderSettingsList; }; }; /** - * Contains response data for the createInSubscription operation. + * Contains response data for the get operation. */ -export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessmentMetadata & { +export type IotDefenderSettingsGetResponse = IotDefenderSettingsModel & { /** * The underlying HTTP response. */ @@ -7275,14 +10916,14 @@ export type AssessmentsMetadataCreateInSubscriptionResponse = SecurityAssessment /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadata; + parsedBody: IotDefenderSettingsModel; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataList & { +export type IotDefenderSettingsCreateOrUpdateResponse = IotDefenderSettingsModel & { /** * The underlying HTTP response. */ @@ -7295,14 +10936,14 @@ export type AssessmentsMetadataListNextResponse = SecurityAssessmentMetadataList /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: IotDefenderSettingsModel; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the packageDownloadsMethod operation. */ -export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessmentMetadataList & { +export type IotDefenderSettingsPackageDownloadsMethodResponse = PackageDownloads & { /** * The underlying HTTP response. */ @@ -7315,14 +10956,40 @@ export type AssessmentsMetadataListBySubscriptionNextResponse = SecurityAssessme /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentMetadataList; + parsedBody: PackageDownloads; }; }; +/** + * Contains response data for the downloadManagerActivation operation. + */ +export type IotDefenderSettingsDownloadManagerActivationResponse = { + /** + * BROWSER ONLY + * + * The response body as a browser Blob. + * Always undefined in node.js. + */ + blobBody?: Promise; + + /** + * NODEJS ONLY + * + * The response body as a node.js Readable stream. + * Always undefined in the browser. + */ + readableStreamBody?: NodeJS.ReadableStream; + + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse; +}; + /** * Contains response data for the list operation. */ -export type AssessmentsListResponse = SecurityAssessmentList & { +export type IotSensorsListResponse = IotSensorsList & { /** * The underlying HTTP response. */ @@ -7335,14 +11002,14 @@ export type AssessmentsListResponse = SecurityAssessmentList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessmentList; + parsedBody: IotSensorsList; }; }; /** * Contains response data for the get operation. */ -export type AssessmentsGetResponse = SecurityAssessment & { +export type IotSensorsGetResponse = IotSensorsModel & { /** * The underlying HTTP response. */ @@ -7355,14 +11022,14 @@ export type AssessmentsGetResponse = SecurityAssessment & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessment; + parsedBody: IotSensorsModel; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type AssessmentsCreateOrUpdateResponse = SecurityAssessment & { +export type IotSensorsCreateOrUpdateResponse = IotSensorsModel & { /** * The underlying HTTP response. */ @@ -7375,34 +11042,66 @@ export type AssessmentsCreateOrUpdateResponse = SecurityAssessment & { /** * The response body as parsed JSON or XML */ - parsedBody: SecurityAssessment; + parsedBody: IotSensorsModel; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the downloadActivation operation. */ -export type AssessmentsListNextResponse = SecurityAssessmentList & { +export type IotSensorsDownloadActivationResponse = { + /** + * BROWSER ONLY + * + * The response body as a browser Blob. + * Always undefined in node.js. + */ + blobBody?: Promise; + + /** + * NODEJS ONLY + * + * The response body as a node.js Readable stream. + * Always undefined in the browser. + */ + readableStreamBody?: NodeJS.ReadableStream; + /** * The underlying HTTP response. */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + _response: msRest.HttpResponse; +}; - /** - * The response body as parsed JSON or XML - */ - parsedBody: SecurityAssessmentList; - }; +/** + * Contains response data for the downloadResetPassword operation. + */ +export type IotSensorsDownloadResetPasswordResponse = { + /** + * BROWSER ONLY + * + * The response body as a browser Blob. + * Always undefined in node.js. + */ + blobBody?: Promise; + + /** + * NODEJS ONLY + * + * The response body as a node.js Readable stream. + * Always undefined in the browser. + */ + readableStreamBody?: NodeJS.ReadableStream; + + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse; }; /** * Contains response data for the list operation. */ -export type AdaptiveApplicationControlsListResponse = AppWhitelistingGroups & { +export type DevicesForSubscriptionListResponse = DeviceList & { /** * The underlying HTTP response. */ @@ -7415,14 +11114,14 @@ export type AdaptiveApplicationControlsListResponse = AppWhitelistingGroups & { /** * The response body as parsed JSON or XML */ - parsedBody: AppWhitelistingGroups; + parsedBody: DeviceList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type AdaptiveApplicationControlsGetResponse = AppWhitelistingGroup & { +export type DevicesForSubscriptionListNextResponse = DeviceList & { /** * The underlying HTTP response. */ @@ -7435,14 +11134,14 @@ export type AdaptiveApplicationControlsGetResponse = AppWhitelistingGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: AppWhitelistingGroup; + parsedBody: DeviceList; }; }; /** - * Contains response data for the put operation. + * Contains response data for the list operation. */ -export type AdaptiveApplicationControlsPutResponse = AppWhitelistingGroup & { +export type DevicesForHubListResponse = DeviceList & { /** * The underlying HTTP response. */ @@ -7455,14 +11154,14 @@ export type AdaptiveApplicationControlsPutResponse = AppWhitelistingGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: AppWhitelistingGroup; + parsedBody: DeviceList; }; }; /** - * Contains response data for the listByExtendedResource operation. + * Contains response data for the listNext operation. */ -export type AdaptiveNetworkHardeningsListByExtendedResourceResponse = AdaptiveNetworkHardeningsList & { +export type DevicesForHubListNextResponse = DeviceList & { /** * The underlying HTTP response. */ @@ -7475,14 +11174,14 @@ export type AdaptiveNetworkHardeningsListByExtendedResourceResponse = AdaptiveNe /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveNetworkHardeningsList; + parsedBody: DeviceList; }; }; /** * Contains response data for the get operation. */ -export type AdaptiveNetworkHardeningsGetResponse = AdaptiveNetworkHardening & { +export type DeviceGetResponse = Device & { /** * The underlying HTTP response. */ @@ -7495,14 +11194,14 @@ export type AdaptiveNetworkHardeningsGetResponse = AdaptiveNetworkHardening & { /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveNetworkHardening; + parsedBody: Device; }; }; /** - * Contains response data for the listByExtendedResourceNext operation. + * Contains response data for the list operation. */ -export type AdaptiveNetworkHardeningsListByExtendedResourceNextResponse = AdaptiveNetworkHardeningsList & { +export type OnPremiseIotSensorsListResponse = OnPremiseIotSensorsList & { /** * The underlying HTTP response. */ @@ -7515,14 +11214,14 @@ export type AdaptiveNetworkHardeningsListByExtendedResourceNextResponse = Adapti /** * The response body as parsed JSON or XML */ - parsedBody: AdaptiveNetworkHardeningsList; + parsedBody: OnPremiseIotSensorsList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type AllowedConnectionsListResponse = AllowedConnectionsList & { +export type OnPremiseIotSensorsGetResponse = OnPremiseIotSensor & { /** * The underlying HTTP response. */ @@ -7535,14 +11234,14 @@ export type AllowedConnectionsListResponse = AllowedConnectionsList & { /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: OnPremiseIotSensor; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the createOrUpdate operation. */ -export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList & { +export type OnPremiseIotSensorsCreateOrUpdateResponse = OnPremiseIotSensor & { /** * The underlying HTTP response. */ @@ -7555,54 +11254,66 @@ export type AllowedConnectionsListByHomeRegionResponse = AllowedConnectionsList /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: OnPremiseIotSensor; }; }; /** - * Contains response data for the get operation. + * Contains response data for the downloadActivation operation. */ -export type AllowedConnectionsGetResponse = AllowedConnectionsResource & { +export type OnPremiseIotSensorsDownloadActivationResponse = { /** - * The underlying HTTP response. + * BROWSER ONLY + * + * The response body as a browser Blob. + * Always undefined in node.js. */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + blobBody?: Promise; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AllowedConnectionsResource; - }; + /** + * NODEJS ONLY + * + * The response body as a node.js Readable stream. + * Always undefined in the browser. + */ + readableStreamBody?: NodeJS.ReadableStream; + + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse; }; /** - * Contains response data for the listNext operation. + * Contains response data for the downloadResetPassword operation. */ -export type AllowedConnectionsListNextResponse = AllowedConnectionsList & { +export type OnPremiseIotSensorsDownloadResetPasswordResponse = { /** - * The underlying HTTP response. + * BROWSER ONLY + * + * The response body as a browser Blob. + * Always undefined in node.js. */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; + blobBody?: Promise; - /** - * The response body as parsed JSON or XML - */ - parsedBody: AllowedConnectionsList; - }; + /** + * NODEJS ONLY + * + * The response body as a node.js Readable stream. + * Always undefined in the browser. + */ + readableStreamBody?: NodeJS.ReadableStream; + + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the list operation. */ -export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsList & { +export type IotSitesListResponse = IotSitesList & { /** * The underlying HTTP response. */ @@ -7615,14 +11326,14 @@ export type AllowedConnectionsListByHomeRegionNextResponse = AllowedConnectionsL /** * The response body as parsed JSON or XML */ - parsedBody: AllowedConnectionsList; + parsedBody: IotSitesList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type TopologyListResponse = TopologyList & { +export type IotSitesGetResponse = IotSitesModel & { /** * The underlying HTTP response. */ @@ -7635,14 +11346,14 @@ export type TopologyListResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: IotSitesModel; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the createOrUpdate operation. */ -export type TopologyListByHomeRegionResponse = TopologyList & { +export type IotSitesCreateOrUpdateResponse = IotSitesModel & { /** * The underlying HTTP response. */ @@ -7655,14 +11366,14 @@ export type TopologyListByHomeRegionResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: IotSitesModel; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type TopologyGetResponse = TopologyResource & { +export type IotAlertsListResponse = IotAlertListModel & { /** * The underlying HTTP response. */ @@ -7675,14 +11386,14 @@ export type TopologyGetResponse = TopologyResource & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyResource; + parsedBody: IotAlertListModel; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type TopologyListNextResponse = TopologyList & { +export type IotAlertsGetResponse = IotAlertModel & { /** * The underlying HTTP response. */ @@ -7695,14 +11406,14 @@ export type TopologyListNextResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: IotAlertModel; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the listNext operation. */ -export type TopologyListByHomeRegionNextResponse = TopologyList & { +export type IotAlertsListNextResponse = IotAlertListModel & { /** * The underlying HTTP response. */ @@ -7715,14 +11426,14 @@ export type TopologyListByHomeRegionNextResponse = TopologyList & { /** * The response body as parsed JSON or XML */ - parsedBody: TopologyList; + parsedBody: IotAlertListModel; }; }; /** * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList & { +export type IotAlertTypesListResponse = IotAlertTypeList & { /** * The underlying HTTP response. */ @@ -7735,14 +11446,14 @@ export type JitNetworkAccessPoliciesListResponse = JitNetworkAccessPoliciesList /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: IotAlertTypeList; }; }; /** - * Contains response data for the listByRegion operation. + * Contains response data for the get operation. */ -export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPoliciesList & { +export type IotAlertTypesGetResponse = IotAlertType & { /** * The underlying HTTP response. */ @@ -7755,14 +11466,14 @@ export type JitNetworkAccessPoliciesListByRegionResponse = JitNetworkAccessPolic /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: IotAlertType; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAccessPoliciesList & { +export type IotRecommendationsListResponse = IotRecommendationListModel & { /** * The underlying HTTP response. */ @@ -7775,14 +11486,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupResponse = JitNetworkAcce /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: IotRecommendationListModel; }; }; /** - * Contains response data for the listByResourceGroupAndRegion operation. + * Contains response data for the get operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNetworkAccessPoliciesList & { +export type IotRecommendationsGetResponse = IotRecommendationModel & { /** * The underlying HTTP response. */ @@ -7795,14 +11506,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupAndRegionResponse = JitNe /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: IotRecommendationModel; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { +export type IotRecommendationsListNextResponse = IotRecommendationListModel & { /** * The underlying HTTP response. */ @@ -7815,14 +11526,14 @@ export type JitNetworkAccessPoliciesGetResponse = JitNetworkAccessPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPolicy; + parsedBody: IotRecommendationListModel; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPolicy & { +export type IotRecommendationTypesListResponse = IotRecommendationTypeList & { /** * The underlying HTTP response. */ @@ -7835,14 +11546,14 @@ export type JitNetworkAccessPoliciesCreateOrUpdateResponse = JitNetworkAccessPol /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPolicy; + parsedBody: IotRecommendationTypeList; }; }; /** - * Contains response data for the initiate operation. + * Contains response data for the get operation. */ -export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & { +export type IotRecommendationTypesGetResponse = IotRecommendationType & { /** * The underlying HTTP response. */ @@ -7855,14 +11566,14 @@ export type JitNetworkAccessPoliciesInitiateResponse = JitNetworkAccessRequest & /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessRequest; + parsedBody: IotRecommendationType; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesList & { +export type AlertsListResponse = AlertList & { /** * The underlying HTTP response. */ @@ -7875,14 +11586,14 @@ export type JitNetworkAccessPoliciesListNextResponse = JitNetworkAccessPoliciesL /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: AlertList; }; }; /** - * Contains response data for the listByRegionNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessPoliciesList & { +export type AlertsListByResourceGroupResponse = AlertList & { /** * The underlying HTTP response. */ @@ -7895,14 +11606,14 @@ export type JitNetworkAccessPoliciesListByRegionNextResponse = JitNetworkAccessP /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: AlertList; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the listSubscriptionLevelByRegion operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetworkAccessPoliciesList & { +export type AlertsListSubscriptionLevelByRegionResponse = AlertList & { /** * The underlying HTTP response. */ @@ -7915,14 +11626,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupNextResponse = JitNetwork /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: AlertList; }; }; /** - * Contains response data for the listByResourceGroupAndRegionNext operation. + * Contains response data for the listResourceGroupLevelByRegion operation. */ -export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = JitNetworkAccessPoliciesList & { +export type AlertsListResourceGroupLevelByRegionResponse = AlertList & { /** * The underlying HTTP response. */ @@ -7935,14 +11646,14 @@ export type JitNetworkAccessPoliciesListByResourceGroupAndRegionNextResponse = J /** * The response body as parsed JSON or XML */ - parsedBody: JitNetworkAccessPoliciesList; + parsedBody: AlertList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the getSubscriptionLevel operation. */ -export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolutionList & { +export type AlertsGetSubscriptionLevelResponse = Alert & { /** * The underlying HTTP response. */ @@ -7955,14 +11666,14 @@ export type DiscoveredSecuritySolutionsListResponse = DiscoveredSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: Alert; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the getResourceGroupLevel operation. */ -export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecuritySolutionList & { +export type AlertsGetResourceGroupLevelResponse = Alert & { /** * The underlying HTTP response. */ @@ -7975,14 +11686,14 @@ export type DiscoveredSecuritySolutionsListByHomeRegionResponse = DiscoveredSecu /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: Alert; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution & { +export type AlertsListNextResponse = AlertList & { /** * The underlying HTTP response. */ @@ -7995,14 +11706,14 @@ export type DiscoveredSecuritySolutionsGetResponse = DiscoveredSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolution; + parsedBody: AlertList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolutionList & { +export type AlertsListByResourceGroupNextResponse = AlertList & { /** * The underlying HTTP response. */ @@ -8015,14 +11726,14 @@ export type DiscoveredSecuritySolutionsListNextResponse = DiscoveredSecuritySolu /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: AlertList; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the listSubscriptionLevelByRegionNext operation. */ -export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = DiscoveredSecuritySolutionList & { +export type AlertsListSubscriptionLevelByRegionNextResponse = AlertList & { /** * The underlying HTTP response. */ @@ -8035,14 +11746,14 @@ export type DiscoveredSecuritySolutionsListByHomeRegionNextResponse = Discovered /** * The response body as parsed JSON or XML */ - parsedBody: DiscoveredSecuritySolutionList; + parsedBody: AlertList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listResourceGroupLevelByRegionNext operation. */ -export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList & { +export type AlertsListResourceGroupLevelByRegionNextResponse = AlertList & { /** * The underlying HTTP response. */ @@ -8055,14 +11766,14 @@ export type ExternalSecuritySolutionsListResponse = ExternalSecuritySolutionList /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: AlertList; }; }; /** - * Contains response data for the listByHomeRegion operation. + * Contains response data for the list operation. */ -export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecuritySolutionList & { +export type SettingsListResponse = SettingsList & { /** * The underlying HTTP response. */ @@ -8075,14 +11786,14 @@ export type ExternalSecuritySolutionsListByHomeRegionResponse = ExternalSecurity /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: SettingsList; }; }; /** * Contains response data for the get operation. */ -export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion & { +export type SettingsGetResponse = SettingUnion & { /** * The underlying HTTP response. */ @@ -8095,14 +11806,14 @@ export type ExternalSecuritySolutionsGetResponse = ExternalSecuritySolutionUnion /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionUnion; + parsedBody: SettingUnion; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the update operation. */ -export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolutionList & { +export type SettingsUpdateResponse = SettingUnion & { /** * The underlying HTTP response. */ @@ -8115,14 +11826,14 @@ export type ExternalSecuritySolutionsListNextResponse = ExternalSecuritySolution /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: SettingUnion; }; }; /** - * Contains response data for the listByHomeRegionNext operation. + * Contains response data for the listNext operation. */ -export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecuritySolutionList & { +export type SettingsListNextResponse = SettingsList & { /** * The underlying HTTP response. */ @@ -8135,14 +11846,14 @@ export type ExternalSecuritySolutionsListByHomeRegionNextResponse = ExternalSecu /** * The response body as parsed JSON or XML */ - parsedBody: ExternalSecuritySolutionList; + parsedBody: SettingsList; }; }; /** * Contains response data for the list operation. */ -export type SecureScoresListResponse = SecureScoresList & { +export type IngestionSettingsListResponse = IngestionSettingList & { /** * The underlying HTTP response. */ @@ -8155,14 +11866,14 @@ export type SecureScoresListResponse = SecureScoresList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoresList; + parsedBody: IngestionSettingList; }; }; /** * Contains response data for the get operation. */ -export type SecureScoresGetResponse = SecureScoreItem & { +export type IngestionSettingsGetResponse = IngestionSetting & { /** * The underlying HTTP response. */ @@ -8175,14 +11886,14 @@ export type SecureScoresGetResponse = SecureScoreItem & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreItem; + parsedBody: IngestionSetting; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the create operation. */ -export type SecureScoresListNextResponse = SecureScoresList & { +export type IngestionSettingsCreateResponse = IngestionSetting & { /** * The underlying HTTP response. */ @@ -8195,14 +11906,14 @@ export type SecureScoresListNextResponse = SecureScoresList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoresList; + parsedBody: IngestionSetting; }; }; /** - * Contains response data for the listBySecureScore operation. + * Contains response data for the listTokens operation. */ -export type SecureScoreControlsListBySecureScoreResponse = SecureScoreControlList & { +export type IngestionSettingsListTokensResponse = IngestionSettingToken & { /** * The underlying HTTP response. */ @@ -8215,14 +11926,14 @@ export type SecureScoreControlsListBySecureScoreResponse = SecureScoreControlLis /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlList; + parsedBody: IngestionSettingToken; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listConnectionStrings operation. */ -export type SecureScoreControlsListResponse = SecureScoreControlList & { +export type IngestionSettingsListConnectionStringsResponse = ConnectionStrings & { /** * The underlying HTTP response. */ @@ -8235,14 +11946,14 @@ export type SecureScoreControlsListResponse = SecureScoreControlList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlList; + parsedBody: ConnectionStrings; }; }; /** - * Contains response data for the listBySecureScoreNext operation. + * Contains response data for the listNext operation. */ -export type SecureScoreControlsListBySecureScoreNextResponse = SecureScoreControlList & { +export type IngestionSettingsListNextResponse = IngestionSettingList & { /** * The underlying HTTP response. */ @@ -8255,14 +11966,14 @@ export type SecureScoreControlsListBySecureScoreNextResponse = SecureScoreContro /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlList; + parsedBody: IngestionSettingList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByExtendedResource operation. */ -export type SecureScoreControlsListNextResponse = SecureScoreControlList & { +export type SoftwareInventoriesListByExtendedResourceResponse = SoftwaresList & { /** * The underlying HTTP response. */ @@ -8275,14 +11986,14 @@ export type SecureScoreControlsListNextResponse = SecureScoreControlList & { /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlList; + parsedBody: SoftwaresList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listBySubscription operation. */ -export type SecureScoreControlDefinitionsListResponse = SecureScoreControlDefinitionList & { +export type SoftwareInventoriesListBySubscriptionResponse = SoftwaresList & { /** * The underlying HTTP response. */ @@ -8295,14 +12006,14 @@ export type SecureScoreControlDefinitionsListResponse = SecureScoreControlDefini /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlDefinitionList; + parsedBody: SoftwaresList; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the get operation. */ -export type SecureScoreControlDefinitionsListBySubscriptionResponse = SecureScoreControlDefinitionList & { +export type SoftwareInventoriesGetResponse = Software & { /** * The underlying HTTP response. */ @@ -8315,14 +12026,14 @@ export type SecureScoreControlDefinitionsListBySubscriptionResponse = SecureScor /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlDefinitionList; + parsedBody: Software; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByExtendedResourceNext operation. */ -export type SecureScoreControlDefinitionsListNextResponse = SecureScoreControlDefinitionList & { +export type SoftwareInventoriesListByExtendedResourceNextResponse = SoftwaresList & { /** * The underlying HTTP response. */ @@ -8335,14 +12046,14 @@ export type SecureScoreControlDefinitionsListNextResponse = SecureScoreControlDe /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlDefinitionList; + parsedBody: SoftwaresList; }; }; /** * Contains response data for the listBySubscriptionNext operation. */ -export type SecureScoreControlDefinitionsListBySubscriptionNextResponse = SecureScoreControlDefinitionList & { +export type SoftwareInventoriesListBySubscriptionNextResponse = SoftwaresList & { /** * The underlying HTTP response. */ @@ -8355,6 +12066,6 @@ export type SecureScoreControlDefinitionsListBySubscriptionNextResponse = Secure /** * The response body as parsed JSON or XML */ - parsedBody: SecureScoreControlDefinitionList; + parsedBody: SoftwaresList; }; }; diff --git a/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts b/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts index 817150abe35f..311426e1e10c 100644 --- a/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts +++ b/sdk/security/arm-security/src/models/informationProtectionPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationProtectionPolicyList, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts b/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts new file mode 100644 index 000000000000..3782812f79e1 --- /dev/null +++ b/sdk/security/arm-security/src/models/ingestionSettingsMappers.ts @@ -0,0 +1,147 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionStrings, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionConnectionString, + IngestionSetting, + IngestionSettingList, + IngestionSettingToken, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts b/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts new file mode 100644 index 000000000000..062f7953b60c --- /dev/null +++ b/sdk/security/arm-security/src/models/iotAlertTypesMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotAlertTypeList, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotAlertsMappers.ts b/sdk/security/arm-security/src/models/iotAlertsMappers.ts new file mode 100644 index 000000000000..c05b8763c45d --- /dev/null +++ b/sdk/security/arm-security/src/models/iotAlertsMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertListModel, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts b/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts new file mode 100644 index 000000000000..4170abcc4b17 --- /dev/null +++ b/sdk/security/arm-security/src/models/iotDefenderSettingsMappers.ts @@ -0,0 +1,153 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsList, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + PackageDownloadInfo, + PackageDownloads, + PackageDownloadsCentralManager, + PackageDownloadsCentralManagerFull, + PackageDownloadsCentralManagerFullOvf, + PackageDownloadsSensor, + PackageDownloadsSensorFull, + PackageDownloadsSensorFullOvf, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + UpgradePackageDownloadInfo, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts b/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts new file mode 100644 index 000000000000..89454e2f7d7f --- /dev/null +++ b/sdk/security/arm-security/src/models/iotRecommendationTypesMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IotRecommendationTypeList, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts b/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts new file mode 100644 index 000000000000..ea269f0ce54d --- /dev/null +++ b/sdk/security/arm-security/src/models/iotRecommendationsMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationListModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts b/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts index fed19cfb3888..b0a2893e6450 100644 --- a/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts +++ b/sdk/security/arm-security/src/models/iotSecuritySolutionAnalyticsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelList, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotSecuritySolutionMappers.ts b/sdk/security/arm-security/src/models/iotSecuritySolutionMappers.ts index 82c7cc05a088..674dd3d26dbe 100644 --- a/sdk/security/arm-security/src/models/iotSecuritySolutionMappers.ts +++ b/sdk/security/arm-security/src/models/iotSecuritySolutionMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -8,10 +8,12 @@ export { discriminators, + AdditionalWorkspacesProperties, CloudError, IoTSecuritySolutionModel, IoTSecuritySolutionsList, RecommendationConfigurationProperties, + SystemData, TagsResource, UpdateIotSecuritySolutionData, UserDefinedResourcesProperties diff --git a/sdk/security/arm-security/src/models/iotSecuritySolutionsAnalyticsAggregatedAlertMappers.ts b/sdk/security/arm-security/src/models/iotSecuritySolutionsAnalyticsAggregatedAlertMappers.ts index abdd83a924b0..497f5a0a8b0b 100644 --- a/sdk/security/arm-security/src/models/iotSecuritySolutionsAnalyticsAggregatedAlertMappers.ts +++ b/sdk/security/arm-security/src/models/iotSecuritySolutionsAnalyticsAggregatedAlertMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/iotSecuritySolutionsAnalyticsRecommendationMappers.ts b/sdk/security/arm-security/src/models/iotSecuritySolutionsAnalyticsRecommendationMappers.ts index d0e756980cf6..edc31da8f968 100644 --- a/sdk/security/arm-security/src/models/iotSecuritySolutionsAnalyticsRecommendationMappers.ts +++ b/sdk/security/arm-security/src/models/iotSecuritySolutionsAnalyticsRecommendationMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/iotSensorsMappers.ts b/sdk/security/arm-security/src/models/iotSensorsMappers.ts new file mode 100644 index 000000000000..5376ebbb2d56 --- /dev/null +++ b/sdk/security/arm-security/src/models/iotSensorsMappers.ts @@ -0,0 +1,145 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsList, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + ResetPasswordInput, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/iotSitesMappers.ts b/sdk/security/arm-security/src/models/iotSitesMappers.ts new file mode 100644 index 000000000000..a4cbe1be32f2 --- /dev/null +++ b/sdk/security/arm-security/src/models/iotSitesMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesList, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/jitNetworkAccessPoliciesMappers.ts b/sdk/security/arm-security/src/models/jitNetworkAccessPoliciesMappers.ts index 81a91877bca5..b0c4e9907c48 100644 --- a/sdk/security/arm-security/src/models/jitNetworkAccessPoliciesMappers.ts +++ b/sdk/security/arm-security/src/models/jitNetworkAccessPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/locationsMappers.ts b/sdk/security/arm-security/src/models/locationsMappers.ts index 7b7a015fa4a4..9182a818b048 100644 --- a/sdk/security/arm-security/src/models/locationsMappers.ts +++ b/sdk/security/arm-security/src/models/locationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -24,53 +24,91 @@ export { AscLocationList, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/mappers.ts b/sdk/security/arm-security/src/models/mappers.ts index 3ef1960d14bf..945c8529f4af 100644 --- a/sdk/security/arm-security/src/models/mappers.ts +++ b/sdk/security/arm-security/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -106,7 +106,6 @@ export const TrackedResource: msRest.CompositeMapper = { } }, location: { - readOnly: true, serializedName: "location", type: { name: "String" @@ -139,14 +138,13 @@ export const TrackedResource: msRest.CompositeMapper = { } }; -export const Location: msRest.CompositeMapper = { - serializedName: "Location", +export const AzureTrackedResourceLocation: msRest.CompositeMapper = { + serializedName: "AzureTrackedResourceLocation", type: { name: "Composite", - className: "Location", + className: "AzureTrackedResourceLocation", modelProperties: { location: { - readOnly: true, serializedName: "location", type: { name: "String" @@ -209,6 +207,30 @@ export const Tags: msRest.CompositeMapper = { } }; +export const ErrorAdditionalInfo: msRest.CompositeMapper = { + serializedName: "ErrorAdditionalInfo", + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + info: { + readOnly: true, + serializedName: "info", + type: { + name: "Object" + } + } + } + } +}; + export const Pricing: msRest.CompositeMapper = { serializedName: "Pricing", type: { @@ -257,44 +279,58 @@ export const PricingList: msRest.CompositeMapper = { } }; -export const AlertEntity: msRest.CompositeMapper = { - serializedName: "AlertEntity", +export const AdvancedThreatProtectionSetting: msRest.CompositeMapper = { + serializedName: "AdvancedThreatProtectionSetting", type: { name: "Composite", - className: "AlertEntity", + className: "AdvancedThreatProtectionSetting", modelProperties: { - type: { - readOnly: true, - serializedName: "type", + ...Resource.type.modelProperties, + isEnabled: { + serializedName: "properties.isEnabled", type: { - name: "String" + name: "Boolean" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const AlertConfidenceReason: msRest.CompositeMapper = { - serializedName: "AlertConfidenceReason", +export const CustomAlertRule: msRest.CompositeMapper = { + serializedName: "CustomAlertRule", type: { name: "Composite", - className: "AlertConfidenceReason", + polymorphicDiscriminator: { + serializedName: "ruleType", + clientName: "ruleType" + }, + uberParent: "CustomAlertRule", + className: "CustomAlertRule", modelProperties: { - type: { + displayName: { readOnly: true, - serializedName: "type", + serializedName: "displayName", type: { name: "String" } }, - reason: { + description: { readOnly: true, - serializedName: "reason", + serializedName: "description", + type: { + name: "String" + } + }, + isEnabled: { + required: true, + serializedName: "isEnabled", + type: { + name: "Boolean" + } + }, + ruleType: { + required: true, + serializedName: "ruleType", type: { name: "String" } @@ -303,587 +339,293 @@ export const AlertConfidenceReason: msRest.CompositeMapper = { } }; -export const Alert: msRest.CompositeMapper = { - serializedName: "Alert", +export const ThresholdCustomAlertRule: msRest.CompositeMapper = { + serializedName: "ThresholdCustomAlertRule", type: { name: "Composite", - className: "Alert", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "ThresholdCustomAlertRule", modelProperties: { - ...Resource.type.modelProperties, - state: { - readOnly: true, - serializedName: "properties.state", + ...CustomAlertRule.type.modelProperties, + minThreshold: { + required: true, + serializedName: "minThreshold", type: { - name: "String" + name: "Number" } }, - reportedTimeUtc: { - readOnly: true, - serializedName: "properties.reportedTimeUtc", + maxThreshold: { + required: true, + serializedName: "maxThreshold", type: { - name: "DateTime" + name: "Number" } - }, - vendorName: { - readOnly: true, - serializedName: "properties.vendorName", + } + } + } +}; + +export const TimeWindowCustomAlertRule: msRest.CompositeMapper = { + serializedName: "TimeWindowCustomAlertRule", + type: { + name: "Composite", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "TimeWindowCustomAlertRule", + modelProperties: { + ...ThresholdCustomAlertRule.type.modelProperties, + timeWindowSize: { + required: true, + serializedName: "timeWindowSize", type: { - name: "String" + name: "TimeSpan" } - }, - alertName: { + } + } + } +}; + +export const ListCustomAlertRule: msRest.CompositeMapper = { + serializedName: "ListCustomAlertRule", + type: { + name: "Composite", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "ListCustomAlertRule", + modelProperties: { + ...CustomAlertRule.type.modelProperties, + valueType: { readOnly: true, - serializedName: "properties.alertName", + serializedName: "valueType", type: { name: "String" } - }, - alertDisplayName: { - readOnly: true, - serializedName: "properties.alertDisplayName", + } + } + } +}; + +export const AllowlistCustomAlertRule: msRest.CompositeMapper = { + serializedName: "AllowlistCustomAlertRule", + type: { + name: "Composite", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "AllowlistCustomAlertRule", + modelProperties: { + ...ListCustomAlertRule.type.modelProperties, + allowlistValues: { + required: true, + serializedName: "allowlistValues", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - detectedTimeUtc: { - readOnly: true, - serializedName: "properties.detectedTimeUtc", + } + } + } +}; + +export const DenylistCustomAlertRule: msRest.CompositeMapper = { + serializedName: "DenylistCustomAlertRule", + type: { + name: "Composite", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "DenylistCustomAlertRule", + modelProperties: { + ...ListCustomAlertRule.type.modelProperties, + denylistValues: { + required: true, + serializedName: "denylistValues", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - description: { - readOnly: true, - serializedName: "properties.description", + } + } + } +}; + +export const DeviceSecurityGroup: msRest.CompositeMapper = { + serializedName: "DeviceSecurityGroup", + type: { + name: "Composite", + className: "DeviceSecurityGroup", + modelProperties: { + ...Resource.type.modelProperties, + thresholdRules: { + serializedName: "properties.thresholdRules", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ThresholdCustomAlertRule" + } + } } }, - remediationSteps: { - readOnly: true, - serializedName: "properties.remediationSteps", + timeWindowRules: { + serializedName: "properties.timeWindowRules", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TimeWindowCustomAlertRule" + } + } } }, - actionTaken: { - readOnly: true, - serializedName: "properties.actionTaken", + allowlistRules: { + serializedName: "properties.allowlistRules", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AllowlistCustomAlertRule" + } + } } }, - reportedSeverity: { - readOnly: true, - serializedName: "properties.reportedSeverity", + denylistRules: { + serializedName: "properties.denylistRules", type: { - name: "String" - } - }, - compromisedEntity: { - readOnly: true, - serializedName: "properties.compromisedEntity", - type: { - name: "String" - } - }, - associatedResource: { - readOnly: true, - serializedName: "properties.associatedResource", - type: { - name: "String" - } - }, - extendedProperties: { - serializedName: "properties.extendedProperties", - type: { - name: "Dictionary", - value: { - type: { - name: "Object" - } - } - } - }, - systemSource: { - readOnly: true, - serializedName: "properties.systemSource", - type: { - name: "String" - } - }, - canBeInvestigated: { - readOnly: true, - serializedName: "properties.canBeInvestigated", - type: { - name: "Boolean" - } - }, - isIncident: { - readOnly: true, - serializedName: "properties.isIncident", - type: { - name: "Boolean" - } - }, - entities: { - serializedName: "properties.entities", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AlertEntity", - additionalProperties: { - type: { - name: "Object" - } - } - } - } - } - }, - confidenceScore: { - readOnly: true, - serializedName: "properties.confidenceScore", - constraints: { - InclusiveMaximum: 1, - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - }, - confidenceReasons: { - serializedName: "properties.confidenceReasons", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AlertConfidenceReason" - } - } - } - }, - subscriptionId: { - readOnly: true, - serializedName: "properties.subscriptionId", - type: { - name: "String" - } - }, - instanceId: { - readOnly: true, - serializedName: "properties.instanceId", - type: { - name: "String" - } - }, - workspaceArmId: { - readOnly: true, - serializedName: "properties.workspaceArmId", - type: { - name: "String" - } - }, - correlationKey: { - readOnly: true, - serializedName: "properties.correlationKey", - type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DenylistCustomAlertRule" + } + } } } } } }; -export const SettingResource: msRest.CompositeMapper = { - serializedName: "SettingResource", +export const ConnectionToIpNotAllowed: msRest.CompositeMapper = { + serializedName: "ConnectionToIpNotAllowed", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "BaseResource", - className: "SettingResource", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "ConnectionToIpNotAllowed", modelProperties: { - ...Resource.type.modelProperties, - kind: { - required: true, - serializedName: "kind", - type: { - name: "String" - } - } + ...AllowlistCustomAlertRule.type.modelProperties } } }; -export const Setting: msRest.CompositeMapper = { - serializedName: "Setting", +export const ConnectionFromIpNotAllowed: msRest.CompositeMapper = { + serializedName: "ConnectionFromIpNotAllowed", type: { name: "Composite", - className: "Setting", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "ConnectionFromIpNotAllowed", modelProperties: { - ...SettingResource.type.modelProperties + ...AllowlistCustomAlertRule.type.modelProperties } } }; -export const DataExportSettings: msRest.CompositeMapper = { - serializedName: "DataExportSettings", +export const LocalUserNotAllowed: msRest.CompositeMapper = { + serializedName: "LocalUserNotAllowed", type: { name: "Composite", - className: "DataExportSettings", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "LocalUserNotAllowed", modelProperties: { - ...Setting.type.modelProperties, - enabled: { - required: true, - serializedName: "properties.enabled", - type: { - name: "Boolean" - } - } + ...AllowlistCustomAlertRule.type.modelProperties } } }; -export const AdvancedThreatProtectionSetting: msRest.CompositeMapper = { - serializedName: "AdvancedThreatProtectionSetting", +export const ProcessNotAllowed: msRest.CompositeMapper = { + serializedName: "ProcessNotAllowed", type: { name: "Composite", - className: "AdvancedThreatProtectionSetting", + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, + uberParent: "CustomAlertRule", + className: "ProcessNotAllowed", modelProperties: { - ...Resource.type.modelProperties, - isEnabled: { - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } - } + ...AllowlistCustomAlertRule.type.modelProperties } } }; -export const CustomAlertRule: msRest.CompositeMapper = { - serializedName: "CustomAlertRule", +export const ActiveConnectionsNotInAllowedRange: msRest.CompositeMapper = { + serializedName: "ActiveConnectionsNotInAllowedRange", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "ruleType", - clientName: "ruleType" - }, + polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, uberParent: "CustomAlertRule", - className: "CustomAlertRule", + className: "ActiveConnectionsNotInAllowedRange", modelProperties: { - displayName: { - readOnly: true, - serializedName: "displayName", - type: { - name: "String" - } - }, - description: { - readOnly: true, - serializedName: "description", - type: { - name: "String" - } - }, - isEnabled: { - required: true, - serializedName: "isEnabled", - type: { - name: "Boolean" - } - }, - ruleType: { - required: true, - serializedName: "ruleType", - type: { - name: "String" - } - } + ...TimeWindowCustomAlertRule.type.modelProperties } } }; -export const ThresholdCustomAlertRule: msRest.CompositeMapper = { - serializedName: "ThresholdCustomAlertRule", +export const AmqpC2DMessagesNotInAllowedRange: msRest.CompositeMapper = { + serializedName: "AmqpC2DMessagesNotInAllowedRange", type: { name: "Composite", polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, uberParent: "CustomAlertRule", - className: "ThresholdCustomAlertRule", + className: "AmqpC2DMessagesNotInAllowedRange", modelProperties: { - ...CustomAlertRule.type.modelProperties, - minThreshold: { - required: true, - serializedName: "minThreshold", - type: { - name: "Number" - } - }, - maxThreshold: { - required: true, - serializedName: "maxThreshold", - type: { - name: "Number" - } - } + ...TimeWindowCustomAlertRule.type.modelProperties } } }; -export const TimeWindowCustomAlertRule: msRest.CompositeMapper = { - serializedName: "TimeWindowCustomAlertRule", +export const MqttC2DMessagesNotInAllowedRange: msRest.CompositeMapper = { + serializedName: "MqttC2DMessagesNotInAllowedRange", type: { name: "Composite", polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, uberParent: "CustomAlertRule", - className: "TimeWindowCustomAlertRule", + className: "MqttC2DMessagesNotInAllowedRange", modelProperties: { - ...ThresholdCustomAlertRule.type.modelProperties, - timeWindowSize: { - required: true, - serializedName: "timeWindowSize", - type: { - name: "TimeSpan" - } - } + ...TimeWindowCustomAlertRule.type.modelProperties } } }; -export const ListCustomAlertRule: msRest.CompositeMapper = { - serializedName: "ListCustomAlertRule", +export const HttpC2DMessagesNotInAllowedRange: msRest.CompositeMapper = { + serializedName: "HttpC2DMessagesNotInAllowedRange", type: { name: "Composite", polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, uberParent: "CustomAlertRule", - className: "ListCustomAlertRule", + className: "HttpC2DMessagesNotInAllowedRange", modelProperties: { - ...CustomAlertRule.type.modelProperties, - valueType: { - readOnly: true, - serializedName: "valueType", - type: { - name: "String" - } - } + ...TimeWindowCustomAlertRule.type.modelProperties } } }; -export const AllowlistCustomAlertRule: msRest.CompositeMapper = { - serializedName: "AllowlistCustomAlertRule", +export const AmqpC2DRejectedMessagesNotInAllowedRange: msRest.CompositeMapper = { + serializedName: "AmqpC2DRejectedMessagesNotInAllowedRange", type: { name: "Composite", polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, uberParent: "CustomAlertRule", - className: "AllowlistCustomAlertRule", - modelProperties: { - ...ListCustomAlertRule.type.modelProperties, - allowlistValues: { - required: true, - serializedName: "allowlistValues", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const DenylistCustomAlertRule: msRest.CompositeMapper = { - serializedName: "DenylistCustomAlertRule", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "DenylistCustomAlertRule", - modelProperties: { - ...ListCustomAlertRule.type.modelProperties, - denylistValues: { - required: true, - serializedName: "denylistValues", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const DeviceSecurityGroup: msRest.CompositeMapper = { - serializedName: "DeviceSecurityGroup", - type: { - name: "Composite", - className: "DeviceSecurityGroup", - modelProperties: { - ...Resource.type.modelProperties, - thresholdRules: { - serializedName: "properties.thresholdRules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ThresholdCustomAlertRule" - } - } - } - }, - timeWindowRules: { - serializedName: "properties.timeWindowRules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TimeWindowCustomAlertRule" - } - } - } - }, - allowlistRules: { - serializedName: "properties.allowlistRules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AllowlistCustomAlertRule" - } - } - } - }, - denylistRules: { - serializedName: "properties.denylistRules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DenylistCustomAlertRule" - } - } - } - } - } - } -}; - -export const ConnectionToIpNotAllowed: msRest.CompositeMapper = { - serializedName: "ConnectionToIpNotAllowed", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "ConnectionToIpNotAllowed", - modelProperties: { - ...AllowlistCustomAlertRule.type.modelProperties - } - } -}; - -export const LocalUserNotAllowed: msRest.CompositeMapper = { - serializedName: "LocalUserNotAllowed", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "LocalUserNotAllowed", - modelProperties: { - ...AllowlistCustomAlertRule.type.modelProperties - } - } -}; - -export const ProcessNotAllowed: msRest.CompositeMapper = { - serializedName: "ProcessNotAllowed", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "ProcessNotAllowed", - modelProperties: { - ...AllowlistCustomAlertRule.type.modelProperties - } - } -}; - -export const ActiveConnectionsNotInAllowedRange: msRest.CompositeMapper = { - serializedName: "ActiveConnectionsNotInAllowedRange", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "ActiveConnectionsNotInAllowedRange", - modelProperties: { - ...TimeWindowCustomAlertRule.type.modelProperties - } - } -}; - -export const AmqpC2DMessagesNotInAllowedRange: msRest.CompositeMapper = { - serializedName: "AmqpC2DMessagesNotInAllowedRange", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "AmqpC2DMessagesNotInAllowedRange", - modelProperties: { - ...TimeWindowCustomAlertRule.type.modelProperties - } - } -}; - -export const MqttC2DMessagesNotInAllowedRange: msRest.CompositeMapper = { - serializedName: "MqttC2DMessagesNotInAllowedRange", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "MqttC2DMessagesNotInAllowedRange", - modelProperties: { - ...TimeWindowCustomAlertRule.type.modelProperties - } - } -}; - -export const HttpC2DMessagesNotInAllowedRange: msRest.CompositeMapper = { - serializedName: "HttpC2DMessagesNotInAllowedRange", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "HttpC2DMessagesNotInAllowedRange", - modelProperties: { - ...TimeWindowCustomAlertRule.type.modelProperties - } - } -}; - -export const AmqpC2DRejectedMessagesNotInAllowedRange: msRest.CompositeMapper = { - serializedName: "AmqpC2DRejectedMessagesNotInAllowedRange", - type: { - name: "Composite", - polymorphicDiscriminator: CustomAlertRule.type.polymorphicDiscriminator, - uberParent: "CustomAlertRule", - className: "AmqpC2DRejectedMessagesNotInAllowedRange", + className: "AmqpC2DRejectedMessagesNotInAllowedRange", modelProperties: { ...TimeWindowCustomAlertRule.type.modelProperties } @@ -1054,24 +796,2630 @@ export const TagsResource: msRest.CompositeMapper = { } }; -export const UserDefinedResourcesProperties: msRest.CompositeMapper = { - serializedName: "UserDefinedResourcesProperties", +export const UserDefinedResourcesProperties: msRest.CompositeMapper = { + serializedName: "UserDefinedResourcesProperties", + type: { + name: "Composite", + className: "UserDefinedResourcesProperties", + modelProperties: { + query: { + required: true, + nullable: true, + serializedName: "query", + type: { + name: "String" + } + }, + querySubscriptions: { + required: true, + nullable: true, + serializedName: "querySubscriptions", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const RecommendationConfigurationProperties: msRest.CompositeMapper = { + serializedName: "RecommendationConfigurationProperties", + type: { + name: "Composite", + className: "RecommendationConfigurationProperties", + modelProperties: { + recommendationType: { + required: true, + serializedName: "recommendationType", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + status: { + required: true, + serializedName: "status", + defaultValue: 'Enabled', + type: { + name: "String" + } + } + } + } +}; + +export const AdditionalWorkspacesProperties: msRest.CompositeMapper = { + serializedName: "AdditionalWorkspacesProperties", + type: { + name: "Composite", + className: "AdditionalWorkspacesProperties", + modelProperties: { + workspace: { + serializedName: "workspace", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + defaultValue: 'Sentinel', + type: { + name: "String" + } + }, + dataTypes: { + serializedName: "dataTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + +export const IoTSecuritySolutionModel: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionModel", + type: { + name: "Composite", + className: "IoTSecuritySolutionModel", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + workspace: { + serializedName: "properties.workspace", + type: { + name: "String" + } + }, + displayName: { + required: true, + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + status: { + serializedName: "properties.status", + defaultValue: 'Enabled', + type: { + name: "String" + } + }, + exportProperty: { + serializedName: "properties.export", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + disabledDataSources: { + serializedName: "properties.disabledDataSources", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + iotHubs: { + required: true, + serializedName: "properties.iotHubs", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + userDefinedResources: { + serializedName: "properties.userDefinedResources", + type: { + name: "Composite", + className: "UserDefinedResourcesProperties" + } + }, + autoDiscoveredResources: { + readOnly: true, + serializedName: "properties.autoDiscoveredResources", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + recommendationsConfiguration: { + serializedName: "properties.recommendationsConfiguration", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecommendationConfigurationProperties" + } + } + } + }, + unmaskedIpLoggingStatus: { + serializedName: "properties.unmaskedIpLoggingStatus", + defaultValue: 'Disabled', + type: { + name: "String" + } + }, + additionalWorkspaces: { + serializedName: "properties.additionalWorkspaces", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AdditionalWorkspacesProperties" + } + } + } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } + } + } + } +}; + +export const UpdateIotSecuritySolutionData: msRest.CompositeMapper = { + serializedName: "UpdateIotSecuritySolutionData", + type: { + name: "Composite", + className: "UpdateIotSecuritySolutionData", + modelProperties: { + ...TagsResource.type.modelProperties, + userDefinedResources: { + serializedName: "properties.userDefinedResources", + type: { + name: "Composite", + className: "UserDefinedResourcesProperties" + } + }, + recommendationsConfiguration: { + serializedName: "properties.recommendationsConfiguration", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RecommendationConfigurationProperties" + } + } + } + } + } + } +}; + +export const IoTSeverityMetrics: msRest.CompositeMapper = { + serializedName: "IoTSeverityMetrics", + type: { + name: "Composite", + className: "IoTSeverityMetrics", + modelProperties: { + high: { + serializedName: "high", + type: { + name: "Number" + } + }, + medium: { + serializedName: "medium", + type: { + name: "Number" + } + }, + low: { + serializedName: "low", + type: { + name: "Number" + } + } + } + } +}; + +export const IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionAnalyticsModelProperties_devicesMetricsItem", + type: { + name: "Composite", + className: "IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem", + modelProperties: { + date: { + serializedName: "date", + type: { + name: "DateTime" + } + }, + devicesMetrics: { + serializedName: "devicesMetrics", + type: { + name: "Composite", + className: "IoTSeverityMetrics" + } + } + } + } +}; + +export const IoTSecurityAlertedDevice: msRest.CompositeMapper = { + serializedName: "IoTSecurityAlertedDevice", + type: { + name: "Composite", + className: "IoTSecurityAlertedDevice", + modelProperties: { + deviceId: { + readOnly: true, + serializedName: "deviceId", + type: { + name: "String" + } + }, + alertsCount: { + readOnly: true, + serializedName: "alertsCount", + type: { + name: "Number" + } + } + } + } +}; + +export const IoTSecurityDeviceAlert: msRest.CompositeMapper = { + serializedName: "IoTSecurityDeviceAlert", + type: { + name: "Composite", + className: "IoTSecurityDeviceAlert", + modelProperties: { + alertDisplayName: { + readOnly: true, + serializedName: "alertDisplayName", + type: { + name: "String" + } + }, + reportedSeverity: { + readOnly: true, + serializedName: "reportedSeverity", + type: { + name: "String" + } + }, + alertsCount: { + readOnly: true, + serializedName: "alertsCount", + type: { + name: "Number" + } + } + } + } +}; + +export const IoTSecurityDeviceRecommendation: msRest.CompositeMapper = { + serializedName: "IoTSecurityDeviceRecommendation", + type: { + name: "Composite", + className: "IoTSecurityDeviceRecommendation", + modelProperties: { + recommendationDisplayName: { + readOnly: true, + serializedName: "recommendationDisplayName", + type: { + name: "String" + } + }, + reportedSeverity: { + readOnly: true, + serializedName: "reportedSeverity", + type: { + name: "String" + } + }, + devicesCount: { + readOnly: true, + serializedName: "devicesCount", + type: { + name: "Number" + } + } + } + } +}; + +export const IoTSecuritySolutionAnalyticsModel: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionAnalyticsModel", + type: { + name: "Composite", + className: "IoTSecuritySolutionAnalyticsModel", + modelProperties: { + ...Resource.type.modelProperties, + metrics: { + readOnly: true, + serializedName: "properties.metrics", + type: { + name: "Composite", + className: "IoTSeverityMetrics" + } + }, + unhealthyDeviceCount: { + readOnly: true, + serializedName: "properties.unhealthyDeviceCount", + type: { + name: "Number" + } + }, + devicesMetrics: { + readOnly: true, + serializedName: "properties.devicesMetrics", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem" + } + } + } + }, + topAlertedDevices: { + serializedName: "properties.topAlertedDevices", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecurityAlertedDevice" + } + } + } + }, + mostPrevalentDeviceAlerts: { + serializedName: "properties.mostPrevalentDeviceAlerts", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecurityDeviceAlert" + } + } + } + }, + mostPrevalentDeviceRecommendations: { + serializedName: "properties.mostPrevalentDeviceRecommendations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecurityDeviceRecommendation" + } + } + } + } + } + } +}; + +export const IoTSecuritySolutionAnalyticsModelList: msRest.CompositeMapper = { + serializedName: "IoTSecuritySolutionAnalyticsModelList", + type: { + name: "Composite", + className: "IoTSecuritySolutionAnalyticsModelList", + modelProperties: { + value: { + required: true, + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecuritySolutionAnalyticsModel" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IoTSecurityAggregatedAlertPropertiesTopDevicesListItem: msRest.CompositeMapper = { + serializedName: "IoTSecurityAggregatedAlertProperties_topDevicesListItem", + type: { + name: "Composite", + className: "IoTSecurityAggregatedAlertPropertiesTopDevicesListItem", + modelProperties: { + deviceId: { + readOnly: true, + serializedName: "deviceId", + type: { + name: "String" + } + }, + alertsCount: { + readOnly: true, + serializedName: "alertsCount", + type: { + name: "Number" + } + }, + lastOccurrence: { + readOnly: true, + serializedName: "lastOccurrence", + type: { + name: "String" + } + } + } + } +}; + +export const IoTSecurityAggregatedAlert: msRest.CompositeMapper = { + serializedName: "IoTSecurityAggregatedAlert", + type: { + name: "Composite", + className: "IoTSecurityAggregatedAlert", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + alertType: { + readOnly: true, + serializedName: "properties.alertType", + type: { + name: "String" + } + }, + alertDisplayName: { + readOnly: true, + serializedName: "properties.alertDisplayName", + type: { + name: "String" + } + }, + aggregatedDateUtc: { + readOnly: true, + serializedName: "properties.aggregatedDateUtc", + type: { + name: "Date" + } + }, + vendorName: { + readOnly: true, + serializedName: "properties.vendorName", + type: { + name: "String" + } + }, + reportedSeverity: { + readOnly: true, + serializedName: "properties.reportedSeverity", + type: { + name: "String" + } + }, + remediationSteps: { + readOnly: true, + serializedName: "properties.remediationSteps", + type: { + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "properties.description", + type: { + name: "String" + } + }, + count: { + readOnly: true, + serializedName: "properties.count", + type: { + name: "Number" + } + }, + effectedResourceType: { + readOnly: true, + serializedName: "properties.effectedResourceType", + type: { + name: "String" + } + }, + systemSource: { + readOnly: true, + serializedName: "properties.systemSource", + type: { + name: "String" + } + }, + actionTaken: { + readOnly: true, + serializedName: "properties.actionTaken", + type: { + name: "String" + } + }, + logAnalyticsQuery: { + readOnly: true, + serializedName: "properties.logAnalyticsQuery", + type: { + name: "String" + } + }, + topDevicesList: { + readOnly: true, + serializedName: "properties.topDevicesList", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IoTSecurityAggregatedAlertPropertiesTopDevicesListItem" + } + } + } + } + } + } +}; + +export const IoTSecurityAggregatedRecommendation: msRest.CompositeMapper = { + serializedName: "IoTSecurityAggregatedRecommendation", + type: { + name: "Composite", + className: "IoTSecurityAggregatedRecommendation", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + recommendationName: { + serializedName: "properties.recommendationName", + type: { + name: "String" + } + }, + recommendationDisplayName: { + readOnly: true, + serializedName: "properties.recommendationDisplayName", + type: { + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "properties.description", + type: { + name: "String" + } + }, + recommendationTypeId: { + readOnly: true, + serializedName: "properties.recommendationTypeId", + type: { + name: "String" + } + }, + detectedBy: { + readOnly: true, + serializedName: "properties.detectedBy", + type: { + name: "String" + } + }, + remediationSteps: { + readOnly: true, + serializedName: "properties.remediationSteps", + type: { + name: "String" + } + }, + reportedSeverity: { + readOnly: true, + serializedName: "properties.reportedSeverity", + type: { + name: "String" + } + }, + healthyDevices: { + readOnly: true, + serializedName: "properties.healthyDevices", + type: { + name: "Number" + } + }, + unhealthyDeviceCount: { + readOnly: true, + serializedName: "properties.unhealthyDeviceCount", + type: { + name: "Number" + } + }, + logAnalyticsQuery: { + readOnly: true, + serializedName: "properties.logAnalyticsQuery", + type: { + name: "String" + } + } + } + } +}; + +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "OperationDisplay", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + readOnly: true, + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + readOnly: true, + serializedName: "resource", + type: { + name: "String" + } + }, + operation: { + readOnly: true, + serializedName: "operation", + type: { + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", + type: { + name: "Composite", + className: "Operation", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + origin: { + readOnly: true, + serializedName: "origin", + type: { + name: "String" + } + }, + display: { + serializedName: "display", + type: { + name: "Composite", + className: "OperationDisplay" + } + } + } + } +}; + +export const SecurityTaskParameters: msRest.CompositeMapper = { + serializedName: "SecurityTaskParameters", + type: { + name: "Composite", + className: "SecurityTaskParameters", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const SecurityTask: msRest.CompositeMapper = { + serializedName: "SecurityTask", + type: { + name: "Composite", + className: "SecurityTask", + modelProperties: { + ...Resource.type.modelProperties, + state: { + readOnly: true, + serializedName: "properties.state", + type: { + name: "String" + } + }, + creationTimeUtc: { + readOnly: true, + serializedName: "properties.creationTimeUtc", + type: { + name: "DateTime" + } + }, + securityTaskParameters: { + serializedName: "properties.securityTaskParameters", + type: { + name: "Composite", + className: "SecurityTaskParameters", + additionalProperties: { + type: { + name: "Object" + } + } + } + }, + lastStateChangeTimeUtc: { + readOnly: true, + serializedName: "properties.lastStateChangeTimeUtc", + type: { + name: "DateTime" + } + }, + subState: { + readOnly: true, + serializedName: "properties.subState", + type: { + name: "String" + } + } + } + } +}; + +export const AutoProvisioningSetting: msRest.CompositeMapper = { + serializedName: "AutoProvisioningSetting", + type: { + name: "Composite", + className: "AutoProvisioningSetting", + modelProperties: { + ...Resource.type.modelProperties, + autoProvision: { + required: true, + serializedName: "properties.autoProvision", + type: { + name: "String" + } + } + } + } +}; + +export const ComplianceSegment: msRest.CompositeMapper = { + serializedName: "ComplianceSegment", + type: { + name: "Composite", + className: "ComplianceSegment", + modelProperties: { + segmentType: { + readOnly: true, + serializedName: "segmentType", + type: { + name: "String" + } + }, + percentage: { + readOnly: true, + serializedName: "percentage", + type: { + name: "Number" + } + } + } + } +}; + +export const Compliance: msRest.CompositeMapper = { + serializedName: "Compliance", + type: { + name: "Composite", + className: "Compliance", + modelProperties: { + ...Resource.type.modelProperties, + assessmentTimestampUtcDate: { + readOnly: true, + serializedName: "properties.assessmentTimestampUtcDate", + type: { + name: "DateTime" + } + }, + resourceCount: { + readOnly: true, + serializedName: "properties.resourceCount", + type: { + name: "Number" + } + }, + assessmentResult: { + readOnly: true, + serializedName: "properties.assessmentResult", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ComplianceSegment" + } + } + } + } + } + } +}; + +export const SensitivityLabel: msRest.CompositeMapper = { + serializedName: "SensitivityLabel", + type: { + name: "Composite", + className: "SensitivityLabel", + modelProperties: { + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + rank: { + serializedName: "rank", + type: { + name: "Enum", + allowedValues: [ + "None", + "Low", + "Medium", + "High", + "Critical" + ] + } + }, + order: { + serializedName: "order", + type: { + name: "Number" + } + }, + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + } + } + } +}; + +export const InformationProtectionKeyword: msRest.CompositeMapper = { + serializedName: "InformationProtectionKeyword", + type: { + name: "Composite", + className: "InformationProtectionKeyword", + modelProperties: { + pattern: { + serializedName: "pattern", + type: { + name: "String" + } + }, + custom: { + serializedName: "custom", + type: { + name: "Boolean" + } + }, + canBeNumeric: { + serializedName: "canBeNumeric", + type: { + name: "Boolean" + } + }, + excluded: { + serializedName: "excluded", + type: { + name: "Boolean" + } + } + } + } +}; + +export const InformationType: msRest.CompositeMapper = { + serializedName: "InformationType", + type: { + name: "Composite", + className: "InformationType", + modelProperties: { + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + order: { + serializedName: "order", + type: { + name: "Number" + } + }, + recommendedLabelId: { + serializedName: "recommendedLabelId", + type: { + name: "Uuid" + } + }, + enabled: { + serializedName: "enabled", + type: { + name: "Boolean" + } + }, + custom: { + serializedName: "custom", + type: { + name: "Boolean" + } + }, + keywords: { + serializedName: "keywords", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InformationProtectionKeyword" + } + } + } + } + } + } +}; + +export const InformationProtectionPolicy: msRest.CompositeMapper = { + serializedName: "InformationProtectionPolicy", + type: { + name: "Composite", + className: "InformationProtectionPolicy", + modelProperties: { + ...Resource.type.modelProperties, + lastModifiedUtc: { + readOnly: true, + serializedName: "properties.lastModifiedUtc", + type: { + name: "DateTime" + } + }, + version: { + readOnly: true, + serializedName: "properties.version", + type: { + name: "String" + } + }, + labels: { + serializedName: "properties.labels", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "SensitivityLabel" + } + } + } + }, + informationTypes: { + serializedName: "properties.informationTypes", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "InformationType" + } + } + } + } + } + } +}; + +export const SecurityContact: msRest.CompositeMapper = { + serializedName: "SecurityContact", + type: { + name: "Composite", + className: "SecurityContact", + modelProperties: { + ...Resource.type.modelProperties, + email: { + required: true, + serializedName: "properties.email", + type: { + name: "String" + } + }, + phone: { + serializedName: "properties.phone", + type: { + name: "String" + } + }, + alertNotifications: { + required: true, + serializedName: "properties.alertNotifications", + type: { + name: "String" + } + }, + alertsToAdmins: { + required: true, + serializedName: "properties.alertsToAdmins", + type: { + name: "String" + } + } + } + } +}; + +export const WorkspaceSetting: msRest.CompositeMapper = { + serializedName: "WorkspaceSetting", + type: { + name: "Composite", + className: "WorkspaceSetting", + modelProperties: { + ...Resource.type.modelProperties, + workspaceId: { + required: true, + serializedName: "properties.workspaceId", + type: { + name: "String" + } + }, + scope: { + required: true, + serializedName: "properties.scope", + type: { + name: "String" + } + } + } + } +}; + +export const RegulatoryComplianceStandard: msRest.CompositeMapper = { + serializedName: "RegulatoryComplianceStandard", + type: { + name: "Composite", + className: "RegulatoryComplianceStandard", + modelProperties: { + ...Resource.type.modelProperties, + state: { + serializedName: "properties.state", + type: { + name: "String" + } + }, + passedControls: { + readOnly: true, + serializedName: "properties.passedControls", + type: { + name: "Number" + } + }, + failedControls: { + readOnly: true, + serializedName: "properties.failedControls", + type: { + name: "Number" + } + }, + skippedControls: { + readOnly: true, + serializedName: "properties.skippedControls", + type: { + name: "Number" + } + }, + unsupportedControls: { + readOnly: true, + serializedName: "properties.unsupportedControls", + type: { + name: "Number" + } + } + } + } +}; + +export const RegulatoryComplianceControl: msRest.CompositeMapper = { + serializedName: "RegulatoryComplianceControl", + type: { + name: "Composite", + className: "RegulatoryComplianceControl", + modelProperties: { + ...Resource.type.modelProperties, + description: { + readOnly: true, + serializedName: "properties.description", + type: { + name: "String" + } + }, + state: { + serializedName: "properties.state", + type: { + name: "String" + } + }, + passedAssessments: { + readOnly: true, + serializedName: "properties.passedAssessments", + type: { + name: "Number" + } + }, + failedAssessments: { + readOnly: true, + serializedName: "properties.failedAssessments", + type: { + name: "Number" + } + }, + skippedAssessments: { + readOnly: true, + serializedName: "properties.skippedAssessments", + type: { + name: "Number" + } + } + } + } +}; + +export const RegulatoryComplianceAssessment: msRest.CompositeMapper = { + serializedName: "RegulatoryComplianceAssessment", + type: { + name: "Composite", + className: "RegulatoryComplianceAssessment", + modelProperties: { + ...Resource.type.modelProperties, + description: { + readOnly: true, + serializedName: "properties.description", + type: { + name: "String" + } + }, + assessmentType: { + readOnly: true, + serializedName: "properties.assessmentType", + type: { + name: "String" + } + }, + assessmentDetailsLink: { + readOnly: true, + serializedName: "properties.assessmentDetailsLink", + type: { + name: "String" + } + }, + state: { + serializedName: "properties.state", + type: { + name: "String" + } + }, + passedResources: { + readOnly: true, + serializedName: "properties.passedResources", + type: { + name: "Number" + } + }, + failedResources: { + readOnly: true, + serializedName: "properties.failedResources", + type: { + name: "Number" + } + }, + skippedResources: { + readOnly: true, + serializedName: "properties.skippedResources", + type: { + name: "Number" + } + }, + unsupportedResources: { + readOnly: true, + serializedName: "properties.unsupportedResources", + type: { + name: "Number" + } + } + } + } +}; + +export const SubAssessmentStatus: msRest.CompositeMapper = { + serializedName: "SubAssessmentStatus", + type: { + name: "Composite", + className: "SubAssessmentStatus", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + cause: { + readOnly: true, + serializedName: "cause", + type: { + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "description", + type: { + name: "String" + } + }, + severity: { + readOnly: true, + serializedName: "severity", + type: { + name: "String" + } + } + } + } +}; + +export const ResourceDetails: msRest.CompositeMapper = { + serializedName: "ResourceDetails", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "source", + clientName: "source" + }, + uberParent: "ResourceDetails", + className: "ResourceDetails", + modelProperties: { + source: { + required: true, + serializedName: "source", + type: { + name: "String" + } + } + } + } +}; + +export const AdditionalData: msRest.CompositeMapper = { + serializedName: "AdditionalData", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "assessedResourceType", + clientName: "assessedResourceType" + }, + uberParent: "AdditionalData", + className: "AdditionalData", + modelProperties: { + assessedResourceType: { + required: true, + serializedName: "assessedResourceType", + type: { + name: "String" + } + } + } + } +}; + +export const SecuritySubAssessment: msRest.CompositeMapper = { + serializedName: "SecuritySubAssessment", + type: { + name: "Composite", + className: "SecuritySubAssessment", + modelProperties: { + ...Resource.type.modelProperties, + securitySubAssessmentId: { + readOnly: true, + serializedName: "properties.id", + type: { + name: "String" + } + }, + displayName: { + readOnly: true, + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + status: { + serializedName: "properties.status", + type: { + name: "Composite", + className: "SubAssessmentStatus" + } + }, + remediation: { + readOnly: true, + serializedName: "properties.remediation", + type: { + name: "String" + } + }, + impact: { + readOnly: true, + serializedName: "properties.impact", + type: { + name: "String" + } + }, + category: { + readOnly: true, + serializedName: "properties.category", + type: { + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "properties.description", + type: { + name: "String" + } + }, + timeGenerated: { + readOnly: true, + serializedName: "properties.timeGenerated", + type: { + name: "DateTime" + } + }, + resourceDetails: { + serializedName: "properties.resourceDetails", + type: { + name: "Composite", + className: "ResourceDetails" + } + }, + additionalData: { + serializedName: "properties.additionalData", + type: { + name: "Composite", + className: "AdditionalData" + } + } + } + } +}; + +export const SqlServerVulnerabilityProperties: msRest.CompositeMapper = { + serializedName: "SqlServerVulnerability", + type: { + name: "Composite", + polymorphicDiscriminator: AdditionalData.type.polymorphicDiscriminator, + uberParent: "AdditionalData", + className: "SqlServerVulnerabilityProperties", + modelProperties: { + ...AdditionalData.type.modelProperties, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + query: { + readOnly: true, + serializedName: "query", + type: { + name: "String" + } + } + } + } +}; + +export const CVSS: msRest.CompositeMapper = { + serializedName: "CVSS", + type: { + name: "Composite", + className: "CVSS", + modelProperties: { + base: { + readOnly: true, + serializedName: "base", + type: { + name: "Number" + } + } + } + } +}; + +export const CVE: msRest.CompositeMapper = { + serializedName: "CVE", + type: { + name: "Composite", + className: "CVE", + modelProperties: { + title: { + readOnly: true, + serializedName: "title", + type: { + name: "String" + } + }, + link: { + readOnly: true, + serializedName: "link", + type: { + name: "String" + } + } + } + } +}; + +export const VendorReference: msRest.CompositeMapper = { + serializedName: "VendorReference", + type: { + name: "Composite", + className: "VendorReference", + modelProperties: { + title: { + readOnly: true, + serializedName: "title", + type: { + name: "String" + } + }, + link: { + readOnly: true, + serializedName: "link", + type: { + name: "String" + } + } + } + } +}; + +export const ContainerRegistryVulnerabilityProperties: msRest.CompositeMapper = { + serializedName: "ContainerRegistryVulnerability", + type: { + name: "Composite", + polymorphicDiscriminator: AdditionalData.type.polymorphicDiscriminator, + uberParent: "AdditionalData", + className: "ContainerRegistryVulnerabilityProperties", + modelProperties: { + ...AdditionalData.type.modelProperties, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + cvss: { + readOnly: true, + serializedName: "cvss", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "CVSS" + } + } + } + }, + patchable: { + readOnly: true, + serializedName: "patchable", + type: { + name: "Boolean" + } + }, + cve: { + readOnly: true, + serializedName: "cve", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CVE" + } + } + } + }, + publishedTime: { + readOnly: true, + serializedName: "publishedTime", + type: { + name: "DateTime" + } + }, + vendorReferences: { + readOnly: true, + serializedName: "vendorReferences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VendorReference" + } + } + } + }, + repositoryName: { + readOnly: true, + serializedName: "repositoryName", + type: { + name: "String" + } + }, + imageDigest: { + readOnly: true, + serializedName: "imageDigest", + type: { + name: "String" + } + } + } + } +}; + +export const ServerVulnerabilityProperties: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", + type: { + name: "Composite", + polymorphicDiscriminator: AdditionalData.type.polymorphicDiscriminator, + uberParent: "AdditionalData", + className: "ServerVulnerabilityProperties", + modelProperties: { + ...AdditionalData.type.modelProperties, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + cvss: { + readOnly: true, + serializedName: "cvss", + type: { + name: "Dictionary", + value: { + type: { + name: "Composite", + className: "CVSS" + } + } + } + }, + patchable: { + readOnly: true, + serializedName: "patchable", + type: { + name: "Boolean" + } + }, + cve: { + readOnly: true, + serializedName: "cve", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CVE" + } + } + } + }, + threat: { + readOnly: true, + serializedName: "threat", + type: { + name: "String" + } + }, + publishedTime: { + readOnly: true, + serializedName: "publishedTime", + type: { + name: "DateTime" + } + }, + vendorReferences: { + readOnly: true, + serializedName: "vendorReferences", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VendorReference" + } + } + } + } + } + } +}; + +export const OnPremiseResourceDetails: msRest.CompositeMapper = { + serializedName: "OnPremise", + type: { + name: "Composite", + polymorphicDiscriminator: ResourceDetails.type.polymorphicDiscriminator, + uberParent: "ResourceDetails", + className: "OnPremiseResourceDetails", + modelProperties: { + ...ResourceDetails.type.modelProperties, + workspaceId: { + required: true, + serializedName: "workspaceId", + type: { + name: "String" + } + }, + vmuuid: { + required: true, + serializedName: "vmuuid", + type: { + name: "String" + } + }, + sourceComputerId: { + required: true, + serializedName: "sourceComputerId", + type: { + name: "String" + } + }, + machineName: { + required: true, + serializedName: "machineName", + type: { + name: "String" + } + } + } + } +}; + +export const OnPremiseSqlResourceDetails: msRest.CompositeMapper = { + serializedName: "OnPremiseSql", + type: { + name: "Composite", + polymorphicDiscriminator: ResourceDetails.type.polymorphicDiscriminator, + uberParent: "ResourceDetails", + className: "OnPremiseSqlResourceDetails", + modelProperties: { + ...OnPremiseResourceDetails.type.modelProperties, + serverName: { + required: true, + serializedName: "serverName", + type: { + name: "String" + } + }, + databaseName: { + required: true, + serializedName: "databaseName", + type: { + name: "String" + } + } + } + } +}; + +export const AzureResourceDetails: msRest.CompositeMapper = { + serializedName: "Azure", + type: { + name: "Composite", + polymorphicDiscriminator: ResourceDetails.type.polymorphicDiscriminator, + uberParent: "ResourceDetails", + className: "AzureResourceDetails", + modelProperties: { + ...ResourceDetails.type.modelProperties, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const AutomationScope: msRest.CompositeMapper = { + serializedName: "AutomationScope", + type: { + name: "Composite", + className: "AutomationScope", + modelProperties: { + description: { + serializedName: "description", + type: { + name: "String" + } + }, + scopePath: { + serializedName: "scopePath", + type: { + name: "String" + } + } + } + } +}; + +export const AutomationTriggeringRule: msRest.CompositeMapper = { + serializedName: "AutomationTriggeringRule", + type: { + name: "Composite", + className: "AutomationTriggeringRule", + modelProperties: { + propertyJPath: { + serializedName: "propertyJPath", + type: { + name: "String" + } + }, + propertyType: { + serializedName: "propertyType", + type: { + name: "String" + } + }, + expectedValue: { + serializedName: "expectedValue", + type: { + name: "String" + } + }, + operator: { + serializedName: "operator", + type: { + name: "String" + } + } + } + } +}; + +export const AutomationRuleSet: msRest.CompositeMapper = { + serializedName: "AutomationRuleSet", + type: { + name: "Composite", + className: "AutomationRuleSet", + modelProperties: { + rules: { + serializedName: "rules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutomationTriggeringRule" + } + } + } + } + } + } +}; + +export const AutomationSource: msRest.CompositeMapper = { + serializedName: "AutomationSource", + type: { + name: "Composite", + className: "AutomationSource", + modelProperties: { + eventSource: { + serializedName: "eventSource", + type: { + name: "String" + } + }, + ruleSets: { + serializedName: "ruleSets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutomationRuleSet" + } + } + } + } + } + } +}; + +export const AutomationAction: msRest.CompositeMapper = { + serializedName: "AutomationAction", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "actionType", + clientName: "actionType" + }, + uberParent: "AutomationAction", + className: "AutomationAction", + modelProperties: { + actionType: { + required: true, + serializedName: "actionType", + type: { + name: "String" + } + } + } + } +}; + +export const Automation: msRest.CompositeMapper = { + serializedName: "Automation", + type: { + name: "Composite", + className: "Automation", + modelProperties: { + ...TrackedResource.type.modelProperties, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + isEnabled: { + serializedName: "properties.isEnabled", + type: { + name: "Boolean" + } + }, + scopes: { + serializedName: "properties.scopes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutomationScope" + } + } + } + }, + sources: { + serializedName: "properties.sources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutomationSource" + } + } + } + }, + actions: { + serializedName: "properties.actions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutomationAction" + } + } + } + } + } + } +}; + +export const AutomationActionLogicApp: msRest.CompositeMapper = { + serializedName: "LogicApp", + type: { + name: "Composite", + polymorphicDiscriminator: AutomationAction.type.polymorphicDiscriminator, + uberParent: "AutomationAction", + className: "AutomationActionLogicApp", + modelProperties: { + ...AutomationAction.type.modelProperties, + logicAppResourceId: { + serializedName: "logicAppResourceId", + type: { + name: "String" + } + }, + uri: { + serializedName: "uri", + type: { + name: "String" + } + } + } + } +}; + +export const AutomationActionEventHub: msRest.CompositeMapper = { + serializedName: "EventHub", + type: { + name: "Composite", + polymorphicDiscriminator: AutomationAction.type.polymorphicDiscriminator, + uberParent: "AutomationAction", + className: "AutomationActionEventHub", + modelProperties: { + ...AutomationAction.type.modelProperties, + eventHubResourceId: { + serializedName: "eventHubResourceId", + type: { + name: "String" + } + }, + sasPolicyName: { + readOnly: true, + serializedName: "sasPolicyName", + type: { + name: "String" + } + }, + connectionString: { + serializedName: "connectionString", + type: { + name: "String" + } + } + } + } +}; + +export const AutomationActionWorkspace: msRest.CompositeMapper = { + serializedName: "Workspace", + type: { + name: "Composite", + polymorphicDiscriminator: AutomationAction.type.polymorphicDiscriminator, + uberParent: "AutomationAction", + className: "AutomationActionWorkspace", + modelProperties: { + ...AutomationAction.type.modelProperties, + workspaceResourceId: { + serializedName: "workspaceResourceId", + type: { + name: "String" + } + } + } + } +}; + +export const AutomationValidationStatus: msRest.CompositeMapper = { + serializedName: "AutomationValidationStatus", + type: { + name: "Composite", + className: "AutomationValidationStatus", + modelProperties: { + isValid: { + serializedName: "isValid", + type: { + name: "Boolean" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + +export const ScopeElement: msRest.CompositeMapper = { + serializedName: "ScopeElement", + type: { + name: "Composite", + className: "ScopeElement", + modelProperties: { + field: { + serializedName: "field", + type: { + name: "String" + } + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const SuppressionAlertsScope: msRest.CompositeMapper = { + serializedName: "SuppressionAlertsScope", + type: { + name: "Composite", + className: "SuppressionAlertsScope", + modelProperties: { + allOf: { + required: true, + serializedName: "allOf", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScopeElement", + additionalProperties: { + type: { + name: "Object" + } + } + } + } + } + } + } + } +}; + +export const AlertsSuppressionRule: msRest.CompositeMapper = { + serializedName: "AlertsSuppressionRule", + type: { + name: "Composite", + className: "AlertsSuppressionRule", + modelProperties: { + ...Resource.type.modelProperties, + alertType: { + required: true, + serializedName: "properties.alertType", + type: { + name: "String" + } + }, + lastModifiedUtc: { + readOnly: true, + serializedName: "properties.lastModifiedUtc", + type: { + name: "DateTime" + } + }, + expirationDateUtc: { + serializedName: "properties.expirationDateUtc", + type: { + name: "DateTime" + } + }, + reason: { + required: true, + serializedName: "properties.reason", + type: { + name: "String" + } + }, + state: { + required: true, + serializedName: "properties.state", + type: { + name: "Enum", + allowedValues: [ + "Enabled", + "Disabled", + "Expired" + ] + } + }, + comment: { + serializedName: "properties.comment", + type: { + name: "String" + } + }, + suppressionAlertsScope: { + serializedName: "properties.suppressionAlertsScope", + type: { + name: "Composite", + className: "SuppressionAlertsScope" + } + } + } + } +}; + +export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessment", + type: { + name: "Composite", + className: "ServerVulnerabilityAssessment", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const ServerVulnerabilityAssessmentsList: msRest.CompositeMapper = { + serializedName: "ServerVulnerabilityAssessmentsList", + type: { + name: "Composite", + className: "ServerVulnerabilityAssessmentsList", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerVulnerabilityAssessment" + } + } + } + } + } + } +}; + +export const SecurityAssessmentMetadataPartnerData: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentMetadataPartnerData", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataPartnerData", + modelProperties: { + partnerName: { + required: true, + serializedName: "partnerName", + type: { + name: "String" + } + }, + productName: { + serializedName: "productName", + type: { + name: "String" + } + }, + secret: { + required: true, + serializedName: "secret", + type: { + name: "String" + } + } + } + } +}; + +export const SecurityAssessmentMetadataProperties: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentMetadataProperties", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataProperties", + modelProperties: { + displayName: { + required: true, + serializedName: "displayName", + type: { + name: "String" + } + }, + policyDefinitionId: { + readOnly: true, + serializedName: "policyDefinitionId", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + remediationDescription: { + serializedName: "remediationDescription", + type: { + name: "String" + } + }, + categories: { + serializedName: "categories", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + severity: { + required: true, + serializedName: "severity", + type: { + name: "String" + } + }, + userImpact: { + serializedName: "userImpact", + type: { + name: "String" + } + }, + implementationEffort: { + serializedName: "implementationEffort", + type: { + name: "String" + } + }, + threats: { + serializedName: "threats", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + preview: { + serializedName: "preview", + type: { + name: "Boolean" + } + }, + assessmentType: { + required: true, + serializedName: "assessmentType", + type: { + name: "String" + } + }, + partnerData: { + serializedName: "partnerData", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataPartnerData" + } + } + } + } +}; + +export const SecurityAssessmentMetadata: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentMetadata", type: { name: "Composite", - className: "UserDefinedResourcesProperties", + className: "SecurityAssessmentMetadata", modelProperties: { - query: { + ...Resource.type.modelProperties, + displayName: { required: true, - nullable: true, - serializedName: "query", + serializedName: "properties.displayName", type: { name: "String" } }, - querySubscriptions: { + policyDefinitionId: { + readOnly: true, + serializedName: "properties.policyDefinitionId", + type: { + name: "String" + } + }, + description: { + serializedName: "properties.description", + type: { + name: "String" + } + }, + remediationDescription: { + serializedName: "properties.remediationDescription", + type: { + name: "String" + } + }, + categories: { + serializedName: "properties.categories", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + severity: { required: true, - nullable: true, - serializedName: "querySubscriptions", + serializedName: "properties.severity", + type: { + name: "String" + } + }, + userImpact: { + serializedName: "properties.userImpact", + type: { + name: "String" + } + }, + implementationEffort: { + serializedName: "properties.implementationEffort", + type: { + name: "String" + } + }, + threats: { + serializedName: "properties.threats", type: { name: "Sequence", element: { @@ -1080,35 +3428,52 @@ export const UserDefinedResourcesProperties: msRest.CompositeMapper = { } } } + }, + preview: { + serializedName: "properties.preview", + type: { + name: "Boolean" + } + }, + assessmentType: { + required: true, + serializedName: "properties.assessmentType", + type: { + name: "String" + } + }, + partnerData: { + serializedName: "properties.partnerData", + type: { + name: "Composite", + className: "SecurityAssessmentMetadataPartnerData" + } } } } }; -export const RecommendationConfigurationProperties: msRest.CompositeMapper = { - serializedName: "RecommendationConfigurationProperties", +export const AssessmentStatus: msRest.CompositeMapper = { + serializedName: "AssessmentStatus", type: { name: "Composite", - className: "RecommendationConfigurationProperties", + className: "AssessmentStatus", modelProperties: { - recommendationType: { + code: { required: true, - serializedName: "recommendationType", + serializedName: "code", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + cause: { + serializedName: "cause", type: { name: "String" } }, - status: { - required: true, - serializedName: "status", - defaultValue: 'Enabled', + description: { + serializedName: "description", type: { name: "String" } @@ -1117,139 +3482,139 @@ export const RecommendationConfigurationProperties: msRest.CompositeMapper = { } }; -export const IoTSecuritySolutionModel: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionModel", +export const AssessmentLinks: msRest.CompositeMapper = { + serializedName: "AssessmentLinks", type: { name: "Composite", - className: "IoTSecuritySolutionModel", + className: "AssessmentLinks", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { + azurePortalUri: { readOnly: true, - serializedName: "name", + serializedName: "azurePortalUri", type: { name: "String" } - }, - type: { - readOnly: true, - serializedName: "type", + } + } + } +}; + +export const SecurityAssessmentPartnerData: msRest.CompositeMapper = { + serializedName: "SecurityAssessmentPartnerData", + type: { + name: "Composite", + className: "SecurityAssessmentPartnerData", + modelProperties: { + partnerName: { + required: true, + serializedName: "partnerName", type: { name: "String" } }, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - location: { - serializedName: "location", + secret: { + required: true, + serializedName: "secret", type: { name: "String" } - }, - workspace: { + } + } + } +}; + +export const SecurityAssessment: msRest.CompositeMapper = { + serializedName: "SecurityAssessment", + type: { + name: "Composite", + className: "SecurityAssessment", + modelProperties: { + ...Resource.type.modelProperties, + resourceDetails: { required: true, - serializedName: "properties.workspace", + serializedName: "properties.resourceDetails", type: { - name: "String" + name: "Composite", + className: "ResourceDetails" } }, displayName: { - required: true, + readOnly: true, serializedName: "properties.displayName", type: { name: "String" } }, status: { + required: true, serializedName: "properties.status", - defaultValue: 'Enabled', type: { - name: "String" + name: "Composite", + className: "AssessmentStatus" } }, - exportProperty: { - serializedName: "properties.export", + additionalData: { + serializedName: "properties.additionalData", type: { - name: "Sequence", - element: { + name: "Dictionary", + value: { type: { name: "String" } } } }, - disabledDataSources: { - serializedName: "properties.disabledDataSources", + links: { + serializedName: "properties.links", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "AssessmentLinks" } }, - iotHubs: { - required: true, - serializedName: "properties.iotHubs", + metadata: { + serializedName: "properties.metadata", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "SecurityAssessmentMetadataProperties" } }, - userDefinedResources: { - serializedName: "properties.userDefinedResources", + partnersData: { + serializedName: "properties.partnersData", type: { name: "Composite", - className: "UserDefinedResourcesProperties" + className: "SecurityAssessmentPartnerData" + } + } + } + } +}; + +export const ProtectionMode: msRest.CompositeMapper = { + serializedName: "ProtectionMode", + type: { + name: "Composite", + className: "ProtectionMode", + modelProperties: { + exe: { + serializedName: "exe", + type: { + name: "String" } }, - autoDiscoveredResources: { - readOnly: true, - serializedName: "properties.autoDiscoveredResources", + msi: { + serializedName: "msi", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - recommendationsConfiguration: { - serializedName: "properties.recommendationsConfiguration", + script: { + serializedName: "script", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecommendationConfigurationProperties" - } - } + name: "String" } }, - unmaskedIpLoggingStatus: { - serializedName: "properties.unmaskedIpLoggingStatus", - defaultValue: 'Disabled', + executable: { + serializedName: "executable", type: { name: "String" } @@ -1258,240 +3623,295 @@ export const IoTSecuritySolutionModel: msRest.CompositeMapper = { } }; -export const UpdateIotSecuritySolutionData: msRest.CompositeMapper = { - serializedName: "UpdateIotSecuritySolutionData", +export const AdaptiveApplicationControlIssueSummary: msRest.CompositeMapper = { + serializedName: "AdaptiveApplicationControlIssueSummary", type: { name: "Composite", - className: "UpdateIotSecuritySolutionData", + className: "AdaptiveApplicationControlIssueSummary", modelProperties: { - ...TagsResource.type.modelProperties, - userDefinedResources: { - serializedName: "properties.userDefinedResources", + issue: { + serializedName: "issue", type: { - name: "Composite", - className: "UserDefinedResourcesProperties" + name: "String" } }, - recommendationsConfiguration: { - serializedName: "properties.recommendationsConfiguration", + numberOfVms: { + serializedName: "numberOfVms", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "RecommendationConfigurationProperties" - } - } + name: "Number" } } } } }; -export const IoTSeverityMetrics: msRest.CompositeMapper = { - serializedName: "IoTSeverityMetrics", +export const VmRecommendation: msRest.CompositeMapper = { + serializedName: "VmRecommendation", type: { name: "Composite", - className: "IoTSeverityMetrics", + className: "VmRecommendation", modelProperties: { - high: { - serializedName: "high", + configurationStatus: { + serializedName: "configurationStatus", type: { - name: "Number" + name: "String" } }, - medium: { - serializedName: "medium", + recommendationAction: { + serializedName: "recommendationAction", type: { - name: "Number" + name: "String" } }, - low: { - serializedName: "low", + resourceId: { + serializedName: "resourceId", type: { - name: "Number" + name: "String" + } + }, + enforcementSupport: { + serializedName: "enforcementSupport", + type: { + name: "String" } } } } }; -export const IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionAnalyticsModelProperties_devicesMetricsItem", +export const PublisherInfo: msRest.CompositeMapper = { + serializedName: "PublisherInfo", type: { name: "Composite", - className: "IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem", + className: "PublisherInfo", modelProperties: { - date: { - serializedName: "date", + publisherName: { + serializedName: "publisherName", type: { - name: "DateTime" + name: "String" } }, - devicesMetrics: { - serializedName: "devicesMetrics", + productName: { + serializedName: "productName", type: { - name: "Composite", - className: "IoTSeverityMetrics" + name: "String" + } + }, + binaryName: { + serializedName: "binaryName", + type: { + name: "String" + } + }, + version: { + serializedName: "version", + type: { + name: "String" } } } } }; -export const IoTSecurityAlertedDevice: msRest.CompositeMapper = { - serializedName: "IoTSecurityAlertedDevice", +export const UserRecommendation: msRest.CompositeMapper = { + serializedName: "UserRecommendation", type: { name: "Composite", - className: "IoTSecurityAlertedDevice", + className: "UserRecommendation", modelProperties: { - deviceId: { - readOnly: true, - serializedName: "deviceId", + username: { + serializedName: "username", type: { name: "String" } }, - alertsCount: { - readOnly: true, - serializedName: "alertsCount", + recommendationAction: { + serializedName: "recommendationAction", type: { - name: "Number" + name: "String" } } } } }; -export const IoTSecurityDeviceAlert: msRest.CompositeMapper = { - serializedName: "IoTSecurityDeviceAlert", +export const PathRecommendation: msRest.CompositeMapper = { + serializedName: "PathRecommendation", type: { name: "Composite", - className: "IoTSecurityDeviceAlert", + className: "PathRecommendation", modelProperties: { - alertDisplayName: { - readOnly: true, - serializedName: "alertDisplayName", + path: { + serializedName: "path", type: { name: "String" } }, - reportedSeverity: { - readOnly: true, - serializedName: "reportedSeverity", + action: { + serializedName: "action", type: { name: "String" } }, - alertsCount: { - readOnly: true, - serializedName: "alertsCount", + type: { + serializedName: "type", type: { - name: "Number" + name: "String" + } + }, + publisherInfo: { + serializedName: "publisherInfo", + type: { + name: "Composite", + className: "PublisherInfo" + } + }, + common: { + serializedName: "common", + type: { + name: "Boolean" + } + }, + userSids: { + serializedName: "userSids", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + usernames: { + serializedName: "usernames", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UserRecommendation" + } + } + } + }, + fileType: { + serializedName: "fileType", + type: { + name: "String" + } + }, + configurationStatus: { + serializedName: "configurationStatus", + type: { + name: "String" } } } } }; -export const IoTSecurityDeviceRecommendation: msRest.CompositeMapper = { - serializedName: "IoTSecurityDeviceRecommendation", +export const AdaptiveApplicationControlGroup: msRest.CompositeMapper = { + serializedName: "AdaptiveApplicationControlGroup", type: { name: "Composite", - className: "IoTSecurityDeviceRecommendation", + className: "AdaptiveApplicationControlGroup", modelProperties: { - recommendationDisplayName: { + id: { readOnly: true, - serializedName: "recommendationDisplayName", + serializedName: "id", type: { name: "String" } }, - reportedSeverity: { + name: { readOnly: true, - serializedName: "reportedSeverity", + serializedName: "name", type: { name: "String" } }, - devicesCount: { + type: { readOnly: true, - serializedName: "devicesCount", + serializedName: "type", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const IoTSecuritySolutionAnalyticsModel: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionAnalyticsModel", - type: { - name: "Composite", - className: "IoTSecuritySolutionAnalyticsModel", - modelProperties: { - ...Resource.type.modelProperties, - metrics: { + }, + location: { readOnly: true, - serializedName: "properties.metrics", + serializedName: "location", + type: { + name: "String" + } + }, + enforcementMode: { + serializedName: "properties.enforcementMode", + type: { + name: "String" + } + }, + protectionMode: { + serializedName: "properties.protectionMode", type: { name: "Composite", - className: "IoTSeverityMetrics" + className: "ProtectionMode" } }, - unhealthyDeviceCount: { + configurationStatus: { readOnly: true, - serializedName: "properties.unhealthyDeviceCount", + serializedName: "properties.configurationStatus", type: { - name: "Number" + name: "String" } }, - devicesMetrics: { + recommendationStatus: { readOnly: true, - serializedName: "properties.devicesMetrics", + serializedName: "properties.recommendationStatus", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem" - } - } + name: "String" } }, - topAlertedDevices: { - serializedName: "properties.topAlertedDevices", + issues: { + readOnly: true, + serializedName: "properties.issues", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IoTSecurityAlertedDevice" + className: "AdaptiveApplicationControlIssueSummary" } } } }, - mostPrevalentDeviceAlerts: { - serializedName: "properties.mostPrevalentDeviceAlerts", + sourceSystem: { + readOnly: true, + serializedName: "properties.sourceSystem", + type: { + name: "String" + } + }, + vmRecommendations: { + serializedName: "properties.vmRecommendations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IoTSecurityDeviceAlert" + className: "VmRecommendation" } } } }, - mostPrevalentDeviceRecommendations: { - serializedName: "properties.mostPrevalentDeviceRecommendations", + pathRecommendations: { + serializedName: "properties.pathRecommendations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IoTSecurityDeviceRecommendation" + className: "PathRecommendation" } } } @@ -1500,59 +3920,37 @@ export const IoTSecuritySolutionAnalyticsModel: msRest.CompositeMapper = { } }; -export const IoTSecuritySolutionAnalyticsModelList: msRest.CompositeMapper = { - serializedName: "IoTSecuritySolutionAnalyticsModelList", +export const AdaptiveApplicationControlGroups: msRest.CompositeMapper = { + serializedName: "AdaptiveApplicationControlGroups", type: { name: "Composite", - className: "IoTSecuritySolutionAnalyticsModelList", + className: "AdaptiveApplicationControlGroups", modelProperties: { value: { - required: true, serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IoTSecuritySolutionAnalyticsModel" + className: "AdaptiveApplicationControlGroup" } } } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } } } } }; -export const IoTSecurityAggregatedAlertPropertiesTopDevicesListItem: msRest.CompositeMapper = { - serializedName: "IoTSecurityAggregatedAlertProperties_topDevicesListItem", +export const Location: msRest.CompositeMapper = { + serializedName: "Location", type: { name: "Composite", - className: "IoTSecurityAggregatedAlertPropertiesTopDevicesListItem", + className: "Location", modelProperties: { - deviceId: { - readOnly: true, - serializedName: "deviceId", - type: { - name: "String" - } - }, - alertsCount: { - readOnly: true, - serializedName: "alertsCount", - type: { - name: "Number" - } - }, - lastOccurrence: { + location: { readOnly: true, - serializedName: "lastOccurrence", + serializedName: "location", type: { name: "String" } @@ -1561,137 +3959,225 @@ export const IoTSecurityAggregatedAlertPropertiesTopDevicesListItem: msRest.Comp } }; -export const IoTSecurityAggregatedAlert: msRest.CompositeMapper = { - serializedName: "IoTSecurityAggregatedAlert", +export const Rule: msRest.CompositeMapper = { + serializedName: "Rule", type: { name: "Composite", - className: "IoTSecurityAggregatedAlert", + className: "Rule", modelProperties: { - id: { - readOnly: true, - serializedName: "id", + name: { + serializedName: "name", type: { name: "String" } }, - name: { - readOnly: true, - serializedName: "name", + direction: { + serializedName: "direction", type: { name: "String" } }, - type: { - readOnly: true, - serializedName: "type", + destinationPort: { + serializedName: "destinationPort", type: { - name: "String" + name: "Number" } }, - tags: { - serializedName: "tags", + protocols: { + serializedName: "protocols", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { name: "String" } } } }, - alertType: { - readOnly: true, - serializedName: "properties.alertType", + ipAddresses: { + serializedName: "ipAddresses", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - alertDisplayName: { - readOnly: true, - serializedName: "properties.alertDisplayName", + } + } + } +}; + +export const EffectiveNetworkSecurityGroups: msRest.CompositeMapper = { + serializedName: "EffectiveNetworkSecurityGroups", + type: { + name: "Composite", + className: "EffectiveNetworkSecurityGroups", + modelProperties: { + networkInterface: { + serializedName: "networkInterface", type: { name: "String" } }, - aggregatedDateUtc: { - readOnly: true, - serializedName: "properties.aggregatedDateUtc", + networkSecurityGroups: { + serializedName: "networkSecurityGroups", type: { - name: "Date" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - vendorName: { - readOnly: true, - serializedName: "properties.vendorName", + } + } + } +}; + +export const AdaptiveNetworkHardening: msRest.CompositeMapper = { + serializedName: "AdaptiveNetworkHardening", + type: { + name: "Composite", + className: "AdaptiveNetworkHardening", + modelProperties: { + ...Resource.type.modelProperties, + rules: { + serializedName: "properties.rules", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Rule" + } + } } }, - reportedSeverity: { - readOnly: true, - serializedName: "properties.reportedSeverity", + rulesCalculationTime: { + serializedName: "properties.rulesCalculationTime", type: { - name: "String" + name: "DateTime" } }, - remediationSteps: { - readOnly: true, - serializedName: "properties.remediationSteps", + effectiveNetworkSecurityGroups: { + serializedName: "properties.effectiveNetworkSecurityGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EffectiveNetworkSecurityGroups" + } + } } - }, - description: { - readOnly: true, - serializedName: "properties.description", + } + } + } +}; + +export const AdaptiveNetworkHardeningEnforceRequest: msRest.CompositeMapper = { + serializedName: "AdaptiveNetworkHardeningEnforceRequest", + type: { + name: "Composite", + className: "AdaptiveNetworkHardeningEnforceRequest", + modelProperties: { + rules: { + required: true, + serializedName: "rules", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Rule" + } + } } }, - count: { + networkSecurityGroups: { + required: true, + serializedName: "networkSecurityGroups", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ConnectedResource: msRest.CompositeMapper = { + serializedName: "ConnectedResource", + type: { + name: "Composite", + className: "ConnectedResource", + modelProperties: { + connectedResourceId: { readOnly: true, - serializedName: "properties.count", + serializedName: "connectedResourceId", type: { - name: "Number" + name: "String" } }, - effectedResourceType: { + tcpPorts: { readOnly: true, - serializedName: "properties.effectedResourceType", + serializedName: "tcpPorts", type: { name: "String" } }, - systemSource: { + udpPorts: { readOnly: true, - serializedName: "properties.systemSource", + serializedName: "udpPorts", type: { name: "String" } - }, - actionTaken: { + } + } + } +}; + +export const ConnectableResource: msRest.CompositeMapper = { + serializedName: "ConnectableResource", + type: { + name: "Composite", + className: "ConnectableResource", + modelProperties: { + id: { readOnly: true, - serializedName: "properties.actionTaken", + serializedName: "id", type: { name: "String" } }, - logAnalyticsQuery: { + inboundConnectedResources: { readOnly: true, - serializedName: "properties.logAnalyticsQuery", + serializedName: "inboundConnectedResources", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectedResource" + } + } } }, - topDevicesList: { + outboundConnectedResources: { readOnly: true, - serializedName: "properties.topDevicesList", + serializedName: "outboundConnectedResources", type: { name: "Sequence", element: { type: { name: "Composite", - className: "IoTSecurityAggregatedAlertPropertiesTopDevicesListItem" + className: "ConnectedResource" } } } @@ -1700,11 +4186,11 @@ export const IoTSecurityAggregatedAlert: msRest.CompositeMapper = { } }; -export const IoTSecurityAggregatedRecommendation: msRest.CompositeMapper = { - serializedName: "IoTSecurityAggregatedRecommendation", +export const AllowedConnectionsResource: msRest.CompositeMapper = { + serializedName: "AllowedConnectionsResource", type: { name: "Composite", - className: "IoTSecurityAggregatedRecommendation", + className: "AllowedConnectionsResource", modelProperties: { id: { readOnly: true, @@ -1727,555 +4213,735 @@ export const IoTSecurityAggregatedRecommendation: msRest.CompositeMapper = { name: "String" } }, - tags: { - serializedName: "tags", + location: { + readOnly: true, + serializedName: "location", type: { - name: "Dictionary", - value: { + name: "String" + } + }, + calculatedDateTime: { + readOnly: true, + serializedName: "properties.calculatedDateTime", + type: { + name: "DateTime" + } + }, + connectableResources: { + readOnly: true, + serializedName: "properties.connectableResources", + type: { + name: "Sequence", + element: { type: { - name: "String" + name: "Composite", + className: "ConnectableResource" } } } - }, - recommendationName: { - serializedName: "properties.recommendationName", + } + } + } +}; + +export const TopologySingleResourceParent: msRest.CompositeMapper = { + serializedName: "TopologySingleResourceParent", + type: { + name: "Composite", + className: "TopologySingleResourceParent", + modelProperties: { + resourceId: { + readOnly: true, + serializedName: "resourceId", type: { name: "String" } - }, - recommendationDisplayName: { + } + } + } +}; + +export const TopologySingleResourceChild: msRest.CompositeMapper = { + serializedName: "TopologySingleResourceChild", + type: { + name: "Composite", + className: "TopologySingleResourceChild", + modelProperties: { + resourceId: { readOnly: true, - serializedName: "properties.recommendationDisplayName", + serializedName: "resourceId", type: { name: "String" } - }, - description: { + } + } + } +}; + +export const TopologySingleResource: msRest.CompositeMapper = { + serializedName: "TopologySingleResource", + type: { + name: "Composite", + className: "TopologySingleResource", + modelProperties: { + resourceId: { readOnly: true, - serializedName: "properties.description", + serializedName: "resourceId", type: { name: "String" } }, - recommendationTypeId: { + severity: { readOnly: true, - serializedName: "properties.recommendationTypeId", + serializedName: "severity", type: { name: "String" } }, - detectedBy: { + recommendationsExist: { readOnly: true, - serializedName: "properties.detectedBy", + serializedName: "recommendationsExist", type: { - name: "String" + name: "Boolean" } }, - remediationSteps: { + networkZones: { readOnly: true, - serializedName: "properties.remediationSteps", + serializedName: "networkZones", type: { name: "String" } }, - reportedSeverity: { + topologyScore: { readOnly: true, - serializedName: "properties.reportedSeverity", + serializedName: "topologyScore", type: { - name: "String" + name: "Number" } }, - healthyDevices: { + location: { readOnly: true, - serializedName: "properties.healthyDevices", + serializedName: "location", type: { - name: "Number" + name: "String" } }, - unhealthyDeviceCount: { + parents: { readOnly: true, - serializedName: "properties.unhealthyDeviceCount", + serializedName: "parents", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TopologySingleResourceParent" + } + } } }, - logAnalyticsQuery: { + children: { readOnly: true, - serializedName: "properties.logAnalyticsQuery", + serializedName: "children", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TopologySingleResourceChild" + } + } } } } } }; -export const OperationDisplay: msRest.CompositeMapper = { - serializedName: "OperationDisplay", +export const TopologyResource: msRest.CompositeMapper = { + serializedName: "TopologyResource", type: { name: "Composite", - className: "OperationDisplay", + className: "TopologyResource", modelProperties: { - provider: { + id: { readOnly: true, - serializedName: "provider", + serializedName: "id", type: { name: "String" } }, - resource: { + name: { readOnly: true, - serializedName: "resource", + serializedName: "name", type: { name: "String" } }, - operation: { + type: { readOnly: true, - serializedName: "operation", + serializedName: "type", type: { name: "String" } }, - description: { + location: { readOnly: true, - serializedName: "description", + serializedName: "location", type: { name: "String" } + }, + calculatedDateTime: { + readOnly: true, + serializedName: "properties.calculatedDateTime", + type: { + name: "DateTime" + } + }, + topologyResources: { + readOnly: true, + serializedName: "properties.topologyResources", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TopologySingleResource" + } + } + } } } } }; -export const Operation: msRest.CompositeMapper = { - serializedName: "Operation", +export const JitNetworkAccessPortRule: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPortRule", type: { name: "Composite", - className: "Operation", + className: "JitNetworkAccessPortRule", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + number: { + required: true, + serializedName: "number", + type: { + name: "Number" + } + }, + protocol: { + required: true, + serializedName: "protocol", type: { name: "String" } }, - origin: { - readOnly: true, - serializedName: "origin", + allowedSourceAddressPrefix: { + serializedName: "allowedSourceAddressPrefix", type: { name: "String" } }, - display: { - serializedName: "display", + allowedSourceAddressPrefixes: { + serializedName: "allowedSourceAddressPrefixes", type: { - name: "Composite", - className: "OperationDisplay" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + maxRequestAccessDuration: { + required: true, + serializedName: "maxRequestAccessDuration", + type: { + name: "String" } } } } }; -export const SecurityTaskParameters: msRest.CompositeMapper = { - serializedName: "SecurityTaskParameters", +export const JitNetworkAccessPolicyVirtualMachine: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicyVirtualMachine", type: { name: "Composite", - className: "SecurityTaskParameters", + className: "JitNetworkAccessPolicyVirtualMachine", modelProperties: { - name: { - readOnly: true, - serializedName: "name", + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + }, + ports: { + required: true, + serializedName: "ports", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessPortRule" + } + } + } + }, + publicIpAddress: { + serializedName: "publicIpAddress", type: { name: "String" } } - }, - additionalProperties: { - type: { - name: "Object" - } } } }; -export const SecurityTask: msRest.CompositeMapper = { - serializedName: "SecurityTask", +export const JitNetworkAccessRequestPort: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessRequestPort", type: { name: "Composite", - className: "SecurityTask", + className: "JitNetworkAccessRequestPort", modelProperties: { - ...Resource.type.modelProperties, - state: { - readOnly: true, - serializedName: "properties.state", + number: { + required: true, + serializedName: "number", type: { - name: "String" + name: "Number" } }, - creationTimeUtc: { - readOnly: true, - serializedName: "properties.creationTimeUtc", + allowedSourceAddressPrefix: { + serializedName: "allowedSourceAddressPrefix", type: { - name: "DateTime" + name: "String" } }, - securityTaskParameters: { - serializedName: "properties.securityTaskParameters", + allowedSourceAddressPrefixes: { + serializedName: "allowedSourceAddressPrefixes", type: { - name: "Composite", - className: "SecurityTaskParameters", - additionalProperties: { + name: "Sequence", + element: { type: { - name: "Object" + name: "String" } } } }, - lastStateChangeTimeUtc: { - readOnly: true, - serializedName: "properties.lastStateChangeTimeUtc", + endTimeUtc: { + required: true, + serializedName: "endTimeUtc", type: { name: "DateTime" } }, - subState: { - readOnly: true, - serializedName: "properties.subState", + status: { + required: true, + serializedName: "status", + type: { + name: "String" + } + }, + statusReason: { + required: true, + serializedName: "statusReason", type: { name: "String" } + }, + mappedPort: { + serializedName: "mappedPort", + type: { + name: "Number" + } } } } }; -export const AutoProvisioningSetting: msRest.CompositeMapper = { - serializedName: "AutoProvisioningSetting", +export const JitNetworkAccessRequestVirtualMachine: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessRequestVirtualMachine", type: { name: "Composite", - className: "AutoProvisioningSetting", + className: "JitNetworkAccessRequestVirtualMachine", modelProperties: { - ...Resource.type.modelProperties, - autoProvision: { + id: { required: true, - serializedName: "properties.autoProvision", + serializedName: "id", type: { name: "String" } + }, + ports: { + required: true, + serializedName: "ports", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessRequestPort" + } + } + } } } } }; -export const ComplianceSegment: msRest.CompositeMapper = { - serializedName: "ComplianceSegment", +export const JitNetworkAccessRequest: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessRequest", type: { name: "Composite", - className: "ComplianceSegment", + className: "JitNetworkAccessRequest", modelProperties: { - segmentType: { - readOnly: true, - serializedName: "segmentType", + virtualMachines: { + required: true, + serializedName: "virtualMachines", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessRequestVirtualMachine" + } + } + } + }, + startTimeUtc: { + required: true, + serializedName: "startTimeUtc", + type: { + name: "DateTime" + } + }, + requestor: { + required: true, + serializedName: "requestor", type: { name: "String" } }, - percentage: { - readOnly: true, - serializedName: "percentage", + justification: { + serializedName: "justification", type: { - name: "Number" + name: "String" } } } } }; -export const Compliance: msRest.CompositeMapper = { - serializedName: "Compliance", +export const JitNetworkAccessPolicy: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicy", type: { name: "Composite", - className: "Compliance", + className: "JitNetworkAccessPolicy", modelProperties: { - ...Resource.type.modelProperties, - assessmentTimestampUtcDate: { + id: { readOnly: true, - serializedName: "properties.assessmentTimestampUtcDate", + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - resourceCount: { + name: { readOnly: true, - serializedName: "properties.resourceCount", + serializedName: "name", type: { - name: "Number" + name: "String" } }, - assessmentResult: { + type: { readOnly: true, - serializedName: "properties.assessmentResult", + serializedName: "type", + type: { + name: "String" + } + }, + kind: { + serializedName: "kind", + type: { + name: "String" + } + }, + location: { + readOnly: true, + serializedName: "location", + type: { + name: "String" + } + }, + virtualMachines: { + required: true, + serializedName: "properties.virtualMachines", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ComplianceSegment" + className: "JitNetworkAccessPolicyVirtualMachine" + } + } + } + }, + requests: { + serializedName: "properties.requests", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessRequest" } } } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } } } } }; -export const SensitivityLabel: msRest.CompositeMapper = { - serializedName: "SensitivityLabel", +export const JitNetworkAccessPolicyInitiatePort: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicyInitiatePort", type: { name: "Composite", - className: "SensitivityLabel", + className: "JitNetworkAccessPolicyInitiatePort", modelProperties: { - displayName: { - serializedName: "displayName", + number: { + required: true, + serializedName: "number", type: { - name: "String" + name: "Number" } }, - description: { - serializedName: "description", + allowedSourceAddressPrefix: { + serializedName: "allowedSourceAddressPrefix", type: { name: "String" } }, - rank: { - serializedName: "rank", + endTimeUtc: { + required: true, + serializedName: "endTimeUtc", type: { - name: "Enum", - allowedValues: [ - "None", - "Low", - "Medium", - "High", - "Critical" - ] + name: "DateTime" } - }, - order: { - serializedName: "order", + } + } + } +}; + +export const JitNetworkAccessPolicyInitiateVirtualMachine: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicyInitiateVirtualMachine", + type: { + name: "Composite", + className: "JitNetworkAccessPolicyInitiateVirtualMachine", + modelProperties: { + id: { + required: true, + serializedName: "id", type: { - name: "Number" + name: "String" } }, - enabled: { - serializedName: "enabled", + ports: { + required: true, + serializedName: "ports", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessPolicyInitiatePort" + } + } } } } } }; -export const InformationProtectionKeyword: msRest.CompositeMapper = { - serializedName: "InformationProtectionKeyword", +export const JitNetworkAccessPolicyInitiateRequest: msRest.CompositeMapper = { + serializedName: "JitNetworkAccessPolicyInitiateRequest", type: { name: "Composite", - className: "InformationProtectionKeyword", + className: "JitNetworkAccessPolicyInitiateRequest", modelProperties: { - pattern: { - serializedName: "pattern", - type: { - name: "String" - } - }, - custom: { - serializedName: "custom", - type: { - name: "Boolean" - } - }, - canBeNumeric: { - serializedName: "canBeNumeric", + virtualMachines: { + required: true, + serializedName: "virtualMachines", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JitNetworkAccessPolicyInitiateVirtualMachine" + } + } } }, - excluded: { - serializedName: "excluded", + justification: { + serializedName: "justification", type: { - name: "Boolean" + name: "String" } } } } }; -export const InformationType: msRest.CompositeMapper = { - serializedName: "InformationType", +export const DiscoveredSecuritySolution: msRest.CompositeMapper = { + serializedName: "DiscoveredSecuritySolution", type: { name: "Composite", - className: "InformationType", + className: "DiscoveredSecuritySolution", modelProperties: { - displayName: { - serializedName: "displayName", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - description: { - serializedName: "description", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - order: { - serializedName: "order", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Number" + name: "String" } }, - recommendedLabelId: { - serializedName: "recommendedLabelId", + location: { + readOnly: true, + serializedName: "location", type: { - name: "Uuid" + name: "String" } }, - enabled: { - serializedName: "enabled", + securityFamily: { + required: true, + serializedName: "properties.securityFamily", type: { - name: "Boolean" + name: "String" } }, - custom: { - serializedName: "custom", + offer: { + required: true, + serializedName: "properties.offer", type: { - name: "Boolean" + name: "String" } }, - keywords: { - serializedName: "keywords", + publisher: { + required: true, + serializedName: "properties.publisher", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "InformationProtectionKeyword" - } - } + name: "String" + } + }, + sku: { + required: true, + serializedName: "properties.sku", + type: { + name: "String" } } } } }; -export const InformationProtectionPolicy: msRest.CompositeMapper = { - serializedName: "InformationProtectionPolicy", +export const SecuritySolutionsReferenceData: msRest.CompositeMapper = { + serializedName: "securitySolutionsReferenceData", type: { name: "Composite", - className: "InformationProtectionPolicy", + className: "SecuritySolutionsReferenceData", modelProperties: { - ...Resource.type.modelProperties, - lastModifiedUtc: { + id: { readOnly: true, - serializedName: "properties.lastModifiedUtc", + serializedName: "id", type: { - name: "DateTime" + name: "String" } }, - version: { + name: { readOnly: true, - serializedName: "properties.version", + serializedName: "name", type: { name: "String" } }, - labels: { - serializedName: "properties.labels", + type: { + readOnly: true, + serializedName: "type", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "SensitivityLabel" - } - } + name: "String" } }, - informationTypes: { - serializedName: "properties.informationTypes", + location: { + readOnly: true, + serializedName: "location", type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "InformationType" - } - } + name: "String" } - } - } - } -}; - -export const SecurityContact: msRest.CompositeMapper = { - serializedName: "SecurityContact", - type: { - name: "Composite", - className: "SecurityContact", - modelProperties: { - ...Resource.type.modelProperties, - email: { + }, + securityFamily: { required: true, - serializedName: "properties.email", + serializedName: "properties.securityFamily", type: { name: "String" } }, - phone: { - serializedName: "properties.phone", + alertVendorName: { + required: true, + serializedName: "properties.alertVendorName", type: { name: "String" } }, - alertNotifications: { + packageInfoUrl: { required: true, - serializedName: "properties.alertNotifications", + serializedName: "properties.packageInfoUrl", type: { name: "String" } }, - alertsToAdmins: { + productName: { required: true, - serializedName: "properties.alertsToAdmins", + serializedName: "properties.productName", type: { name: "String" } - } - } - } -}; - -export const WorkspaceSetting: msRest.CompositeMapper = { - serializedName: "WorkspaceSetting", - type: { - name: "Composite", - className: "WorkspaceSetting", - modelProperties: { - ...Resource.type.modelProperties, - workspaceId: { + }, + publisher: { required: true, - serializedName: "properties.workspaceId", + serializedName: "properties.publisher", type: { name: "String" } }, - scope: { + publisherDisplayName: { required: true, - serializedName: "properties.scope", + serializedName: "properties.publisherDisplayName", + type: { + name: "String" + } + }, + template: { + required: true, + serializedName: "properties.template", type: { name: "String" } @@ -2284,232 +4950,245 @@ export const WorkspaceSetting: msRest.CompositeMapper = { } }; -export const RegulatoryComplianceStandard: msRest.CompositeMapper = { - serializedName: "RegulatoryComplianceStandard", +export const SecuritySolutionsReferenceDataList: msRest.CompositeMapper = { + serializedName: "securitySolutionsReferenceDataList", type: { name: "Composite", - className: "RegulatoryComplianceStandard", + className: "SecuritySolutionsReferenceDataList", modelProperties: { - ...Resource.type.modelProperties, - state: { - serializedName: "properties.state", - type: { - name: "String" - } - }, - passedControls: { - readOnly: true, - serializedName: "properties.passedControls", - type: { - name: "Number" - } - }, - failedControls: { - readOnly: true, - serializedName: "properties.failedControls", - type: { - name: "Number" - } - }, - skippedControls: { - readOnly: true, - serializedName: "properties.skippedControls", - type: { - name: "Number" - } - }, - unsupportedControls: { - readOnly: true, - serializedName: "properties.unsupportedControls", + value: { + serializedName: "value", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecuritySolutionsReferenceData" + } + } } } } } }; -export const RegulatoryComplianceControl: msRest.CompositeMapper = { - serializedName: "RegulatoryComplianceControl", +export const ExternalSecuritySolution: msRest.CompositeMapper = { + serializedName: "ExternalSecuritySolution", type: { name: "Composite", - className: "RegulatoryComplianceControl", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "ExternalSecuritySolution", + className: "ExternalSecuritySolution", modelProperties: { - ...Resource.type.modelProperties, - description: { + id: { readOnly: true, - serializedName: "properties.description", + serializedName: "id", type: { name: "String" } - }, - state: { - serializedName: "properties.state", + }, + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } }, - passedAssessments: { + type: { readOnly: true, - serializedName: "properties.passedAssessments", + serializedName: "type", type: { - name: "Number" + name: "String" } }, - failedAssessments: { + location: { readOnly: true, - serializedName: "properties.failedAssessments", + serializedName: "location", type: { - name: "Number" + name: "String" } }, - skippedAssessments: { - readOnly: true, - serializedName: "properties.skippedAssessments", + kind: { + required: true, + serializedName: "kind", type: { - name: "Number" + name: "String" } } } } }; -export const RegulatoryComplianceAssessment: msRest.CompositeMapper = { - serializedName: "RegulatoryComplianceAssessment", +export const ExternalSecuritySolutionProperties: msRest.CompositeMapper = { + serializedName: "ExternalSecuritySolutionProperties", type: { name: "Composite", - className: "RegulatoryComplianceAssessment", + className: "ExternalSecuritySolutionProperties", modelProperties: { - ...Resource.type.modelProperties, - description: { - readOnly: true, - serializedName: "properties.description", + deviceVendor: { + serializedName: "deviceVendor", type: { name: "String" } }, - assessmentType: { - readOnly: true, - serializedName: "properties.assessmentType", + deviceType: { + serializedName: "deviceType", type: { name: "String" } }, - assessmentDetailsLink: { - readOnly: true, - serializedName: "properties.assessmentDetailsLink", + workspace: { + serializedName: "workspace", type: { - name: "String" + name: "Composite", + className: "ConnectedWorkspace" } - }, - state: { - serializedName: "properties.state", + } + }, + additionalProperties: { + type: { + name: "Object" + } + } + } +}; + +export const CefSolutionProperties: msRest.CompositeMapper = { + serializedName: "CefSolutionProperties", + type: { + name: "Composite", + className: "CefSolutionProperties", + modelProperties: { + ...ExternalSecuritySolutionProperties.type.modelProperties, + hostname: { + serializedName: "hostname", type: { name: "String" } }, - passedResources: { - readOnly: true, - serializedName: "properties.passedResources", - type: { - name: "Number" - } - }, - failedResources: { - readOnly: true, - serializedName: "properties.failedResources", + agent: { + serializedName: "agent", type: { - name: "Number" + name: "String" } }, - skippedResources: { - readOnly: true, - serializedName: "properties.skippedResources", + lastEventReceived: { + serializedName: "lastEventReceived", type: { - name: "Number" + name: "String" } - }, - unsupportedResources: { - readOnly: true, - serializedName: "properties.unsupportedResources", + } + }, + additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + } +}; + +export const CefExternalSecuritySolution: msRest.CompositeMapper = { + serializedName: "CEF", + type: { + name: "Composite", + polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, + uberParent: "ExternalSecuritySolution", + className: "CefExternalSecuritySolution", + modelProperties: { + ...ExternalSecuritySolution.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "Number" + name: "Composite", + className: "CefSolutionProperties", + additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties } } } } }; -export const ServerVulnerabilityAssessment: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessment", +export const AtaSolutionProperties: msRest.CompositeMapper = { + serializedName: "AtaSolutionProperties", type: { name: "Composite", - className: "ServerVulnerabilityAssessment", + className: "AtaSolutionProperties", modelProperties: { - ...Resource.type.modelProperties, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + ...ExternalSecuritySolutionProperties.type.modelProperties, + lastEventReceived: { + serializedName: "lastEventReceived", type: { name: "String" } } + }, + additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + } +}; + +export const AtaExternalSecuritySolution: msRest.CompositeMapper = { + serializedName: "ATA", + type: { + name: "Composite", + polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, + uberParent: "ExternalSecuritySolution", + className: "AtaExternalSecuritySolution", + modelProperties: { + ...ExternalSecuritySolution.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AtaSolutionProperties", + additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties + } + } } } }; -export const ServerVulnerabilityAssessmentsList: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessmentsList", +export const ConnectedWorkspace: msRest.CompositeMapper = { + serializedName: "ConnectedWorkspace", type: { name: "Composite", - className: "ServerVulnerabilityAssessmentsList", + className: "ConnectedWorkspace", modelProperties: { - value: { - serializedName: "value", + id: { + serializedName: "id", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ServerVulnerabilityAssessment" - } - } + name: "String" } } } } }; -export const SubAssessmentStatus: msRest.CompositeMapper = { - serializedName: "SubAssessmentStatus", +export const AadSolutionProperties: msRest.CompositeMapper = { + serializedName: "AadSolutionProperties", type: { name: "Composite", - className: "SubAssessmentStatus", + className: "AadSolutionProperties", modelProperties: { - code: { - readOnly: true, - serializedName: "code", + deviceVendor: { + serializedName: "deviceVendor", type: { name: "String" } }, - cause: { - readOnly: true, - serializedName: "cause", + deviceType: { + serializedName: "deviceType", type: { name: "String" } }, - description: { - readOnly: true, - serializedName: "description", + workspace: { + serializedName: "workspace", type: { - name: "String" + name: "Composite", + className: "ConnectedWorkspace" } }, - severity: { - readOnly: true, - serializedName: "severity", + connectivityState: { + serializedName: "connectivityState", type: { name: "String" } @@ -2518,42 +5197,34 @@ export const SubAssessmentStatus: msRest.CompositeMapper = { } }; -export const ResourceDetails: msRest.CompositeMapper = { - serializedName: "ResourceDetails", +export const AadExternalSecuritySolution: msRest.CompositeMapper = { + serializedName: "AAD", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "source", - clientName: "source" - }, - uberParent: "ResourceDetails", - className: "ResourceDetails", + polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, + uberParent: "ExternalSecuritySolution", + className: "AadExternalSecuritySolution", modelProperties: { - source: { - required: true, - serializedName: "source", + ...ExternalSecuritySolution.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "AadSolutionProperties" } } } } }; -export const AdditionalData: msRest.CompositeMapper = { - serializedName: "AdditionalData", +export const ExternalSecuritySolutionKind1: msRest.CompositeMapper = { + serializedName: "ExternalSecuritySolutionKind", type: { name: "Composite", - polymorphicDiscriminator: { - serializedName: "assessedResourceType", - clientName: "assessedResourceType" - }, - uberParent: "AdditionalData", - className: "AdditionalData", + className: "ExternalSecuritySolutionKind1", modelProperties: { - assessedResourceType: { - required: true, - serializedName: "assessedResourceType", + kind: { + serializedName: "kind", type: { name: "String" } @@ -2562,20 +5233,29 @@ export const AdditionalData: msRest.CompositeMapper = { } }; -export const SecuritySubAssessment: msRest.CompositeMapper = { - serializedName: "SecuritySubAssessment", +export const AadConnectivityState1: msRest.CompositeMapper = { + serializedName: "AadConnectivityState", type: { name: "Composite", - className: "SecuritySubAssessment", + className: "AadConnectivityState1", modelProperties: { - ...Resource.type.modelProperties, - securitySubAssessmentId: { - readOnly: true, - serializedName: "properties.id", + connectivityState: { + serializedName: "connectivityState", type: { name: "String" } - }, + } + } + } +}; + +export const SecureScoreItem: msRest.CompositeMapper = { + serializedName: "SecureScoreItem", + type: { + name: "Composite", + className: "SecureScoreItem", + modelProperties: { + ...Resource.type.modelProperties, displayName: { readOnly: true, serializedName: "properties.displayName", @@ -2583,85 +5263,102 @@ export const SecuritySubAssessment: msRest.CompositeMapper = { name: "String" } }, - status: { - serializedName: "properties.status", - type: { - name: "Composite", - className: "SubAssessmentStatus" - } - }, - remediation: { + max: { readOnly: true, - serializedName: "properties.remediation", + serializedName: "properties.score.max", + constraints: { + InclusiveMinimum: 0 + }, type: { - name: "String" + name: "Number" } }, - impact: { + current: { readOnly: true, - serializedName: "properties.impact", + serializedName: "properties.score.current", + constraints: { + InclusiveMinimum: 0 + }, type: { - name: "String" + name: "Number" } }, - category: { + percentage: { readOnly: true, - serializedName: "properties.category", + serializedName: "properties.score.percentage", + constraints: { + InclusiveMaximum: 1, + InclusiveMinimum: 0 + }, type: { - name: "String" + name: "Number" } }, - description: { + weight: { readOnly: true, - serializedName: "properties.description", + serializedName: "properties.weight", + constraints: { + InclusiveMinimum: 0 + }, type: { - name: "String" + name: "Number" } - }, - timeGenerated: { + } + } + } +}; + +export const SecureScoreControlScore: msRest.CompositeMapper = { + serializedName: "SecureScoreControlScore", + type: { + name: "Composite", + className: "SecureScoreControlScore", + modelProperties: { + max: { readOnly: true, - serializedName: "properties.timeGenerated", + serializedName: "max", + constraints: { + InclusiveMaximum: 10, + InclusiveMinimum: 0 + }, type: { - name: "DateTime" + name: "Number" } }, - resourceDetails: { - serializedName: "properties.resourceDetails", + current: { + readOnly: true, + serializedName: "current", + constraints: { + InclusiveMaximum: 10, + InclusiveMinimum: 0 + }, type: { - name: "Composite", - className: "ResourceDetails" + name: "Number" } }, - additionalData: { - serializedName: "properties.additionalData", + percentage: { + readOnly: true, + serializedName: "percentage", + constraints: { + InclusiveMaximum: 1, + InclusiveMinimum: 0 + }, type: { - name: "Composite", - className: "AdditionalData" + name: "Number" } } } } }; -export const SqlServerVulnerabilityProperties: msRest.CompositeMapper = { - serializedName: "SqlServerVulnerability", +export const SecureScoreControlDefinitionSource: msRest.CompositeMapper = { + serializedName: "SecureScoreControlDefinitionSource", type: { name: "Composite", - polymorphicDiscriminator: AdditionalData.type.polymorphicDiscriminator, - uberParent: "AdditionalData", - className: "SqlServerVulnerabilityProperties", + className: "SecureScoreControlDefinitionSource", modelProperties: { - ...AdditionalData.type.modelProperties, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - query: { - readOnly: true, - serializedName: "query", + sourceType: { + serializedName: "sourceType", type: { name: "String" } @@ -2670,271 +5367,228 @@ export const SqlServerVulnerabilityProperties: msRest.CompositeMapper = { } }; -export const CVSS: msRest.CompositeMapper = { - serializedName: "CVSS", +export const AzureResourceLink: msRest.CompositeMapper = { + serializedName: "AzureResourceLink", type: { name: "Composite", - className: "CVSS", + className: "AzureResourceLink", modelProperties: { - base: { + id: { readOnly: true, - serializedName: "base", + serializedName: "id", type: { - name: "Number" + name: "String" } } } } }; -export const CVE: msRest.CompositeMapper = { - serializedName: "CVE", +export const SecureScoreControlDefinitionItem: msRest.CompositeMapper = { + serializedName: "SecureScoreControlDefinitionItem", type: { name: "Composite", - className: "CVE", + className: "SecureScoreControlDefinitionItem", modelProperties: { - title: { + ...Resource.type.modelProperties, + displayName: { readOnly: true, - serializedName: "title", + serializedName: "properties.displayName", type: { name: "String" } }, - link: { + description: { readOnly: true, - serializedName: "link", + serializedName: "properties.description", + constraints: { + MaxLength: 256 + }, type: { name: "String" } - } - } - } -}; - -export const VendorReference: msRest.CompositeMapper = { - serializedName: "VendorReference", - type: { - name: "Composite", - className: "VendorReference", - modelProperties: { - title: { + }, + maxScore: { readOnly: true, - serializedName: "title", + serializedName: "properties.maxScore", + constraints: { + InclusiveMaximum: 10, + InclusiveMinimum: 0 + }, type: { - name: "String" + name: "Number" } }, - link: { + source: { readOnly: true, - serializedName: "link", + serializedName: "properties.source", type: { - name: "String" + name: "Composite", + className: "SecureScoreControlDefinitionSource" + } + }, + assessmentDefinitions: { + readOnly: true, + serializedName: "properties.assessmentDefinitions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureResourceLink" + } + } } } } } }; -export const ContainerRegistryVulnerabilityProperties: msRest.CompositeMapper = { - serializedName: "ContainerRegistryVulnerability", +export const SecureScoreControlDetails: msRest.CompositeMapper = { + serializedName: "SecureScoreControlDetails", type: { name: "Composite", - polymorphicDiscriminator: AdditionalData.type.polymorphicDiscriminator, - uberParent: "AdditionalData", - className: "ContainerRegistryVulnerabilityProperties", + className: "SecureScoreControlDetails", modelProperties: { - ...AdditionalData.type.modelProperties, - type: { + ...Resource.type.modelProperties, + displayName: { readOnly: true, - serializedName: "type", + serializedName: "properties.displayName", type: { name: "String" } }, - cvss: { + max: { readOnly: true, - serializedName: "cvss", + serializedName: "properties.score.max", + constraints: { + InclusiveMinimum: 0 + }, type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "CVSS" - } - } + name: "Number" } }, - patchable: { + current: { readOnly: true, - serializedName: "patchable", + serializedName: "properties.score.current", + constraints: { + InclusiveMinimum: 0 + }, type: { - name: "Boolean" + name: "Number" } }, - cve: { + percentage: { readOnly: true, - serializedName: "cve", + serializedName: "properties.score.percentage", + constraints: { + InclusiveMaximum: 1, + InclusiveMinimum: 0 + }, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CVE" - } - } + name: "Number" } }, - publishedTime: { + healthyResourceCount: { readOnly: true, - serializedName: "publishedTime", + serializedName: "properties.healthyResourceCount", type: { - name: "DateTime" + name: "Number" } }, - vendorReferences: { + unhealthyResourceCount: { readOnly: true, - serializedName: "vendorReferences", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VendorReference" - } - } + serializedName: "properties.unhealthyResourceCount", + type: { + name: "Number" } }, - repositoryName: { + notApplicableResourceCount: { readOnly: true, - serializedName: "repositoryName", + serializedName: "properties.notApplicableResourceCount", type: { - name: "String" + name: "Number" } }, - imageDigest: { + weight: { readOnly: true, - serializedName: "imageDigest", + serializedName: "properties.weight", + constraints: { + InclusiveMinimum: 0 + }, type: { - name: "String" + name: "Number" + } + }, + definition: { + serializedName: "properties.definition", + type: { + name: "Composite", + className: "SecureScoreControlDefinitionItem" } } } } }; -export const ServerVulnerabilityProperties: msRest.CompositeMapper = { - serializedName: "ServerVulnerabilityAssessment", +export const SecuritySolution: msRest.CompositeMapper = { + serializedName: "SecuritySolution", type: { name: "Composite", - polymorphicDiscriminator: AdditionalData.type.polymorphicDiscriminator, - uberParent: "AdditionalData", - className: "ServerVulnerabilityProperties", + className: "SecuritySolution", modelProperties: { - ...AdditionalData.type.modelProperties, - type: { + id: { readOnly: true, - serializedName: "type", + serializedName: "id", type: { name: "String" } }, - cvss: { - readOnly: true, - serializedName: "cvss", - type: { - name: "Dictionary", - value: { - type: { - name: "Composite", - className: "CVSS" - } - } - } - }, - patchable: { - readOnly: true, - serializedName: "patchable", - type: { - name: "Boolean" - } - }, - cve: { + name: { readOnly: true, - serializedName: "cve", + serializedName: "name", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CVE" - } - } + name: "String" } }, - threat: { + type: { readOnly: true, - serializedName: "threat", + serializedName: "type", type: { name: "String" } }, - publishedTime: { + location: { readOnly: true, - serializedName: "publishedTime", + serializedName: "location", type: { - name: "DateTime" + name: "String" } }, - vendorReferences: { - readOnly: true, - serializedName: "vendorReferences", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VendorReference" - } - } - } - } - } - } -}; - -export const OnPremiseResourceDetails: msRest.CompositeMapper = { - serializedName: "OnPremise", - type: { - name: "Composite", - polymorphicDiscriminator: ResourceDetails.type.polymorphicDiscriminator, - uberParent: "ResourceDetails", - className: "OnPremiseResourceDetails", - modelProperties: { - ...ResourceDetails.type.modelProperties, - workspaceId: { + securityFamily: { required: true, - serializedName: "workspaceId", + serializedName: "properties.securityFamily", type: { name: "String" } }, - vmuuid: { + provisioningState: { required: true, - serializedName: "vmuuid", + serializedName: "properties.provisioningState", type: { name: "String" } }, - sourceComputerId: { + template: { required: true, - serializedName: "sourceComputerId", + serializedName: "properties.template", type: { name: "String" } }, - machineName: { + protectionStatus: { required: true, - serializedName: "machineName", + serializedName: "properties.protectionStatus", type: { name: "String" } @@ -2943,18 +5597,20 @@ export const OnPremiseResourceDetails: msRest.CompositeMapper = { } }; -export const AzureResourceDetails: msRest.CompositeMapper = { - serializedName: "Azure", +export const ProxyServerProperties: msRest.CompositeMapper = { + serializedName: "ProxyServerProperties", type: { name: "Composite", - polymorphicDiscriminator: ResourceDetails.type.polymorphicDiscriminator, - uberParent: "ResourceDetails", - className: "AzureResourceDetails", + className: "ProxyServerProperties", modelProperties: { - ...ResourceDetails.type.modelProperties, - id: { - readOnly: true, - serializedName: "id", + ip: { + serializedName: "ip", + type: { + name: "String" + } + }, + port: { + serializedName: "port", type: { name: "String" } @@ -2963,20 +5619,20 @@ export const AzureResourceDetails: msRest.CompositeMapper = { } }; -export const AutomationScope: msRest.CompositeMapper = { - serializedName: "AutomationScope", +export const ServicePrincipalProperties: msRest.CompositeMapper = { + serializedName: "ServicePrincipalProperties", type: { name: "Composite", - className: "AutomationScope", + className: "ServicePrincipalProperties", modelProperties: { - description: { - serializedName: "description", + applicationId: { + serializedName: "applicationId", type: { name: "String" } }, - scopePath: { - serializedName: "scopePath", + secret: { + serializedName: "secret", type: { name: "String" } @@ -2985,220 +5641,148 @@ export const AutomationScope: msRest.CompositeMapper = { } }; -export const AutomationTriggeringRule: msRest.CompositeMapper = { - serializedName: "AutomationTriggeringRule", +export const HybridComputeSettingsProperties: msRest.CompositeMapper = { + serializedName: "HybridComputeSettingsProperties", type: { name: "Composite", - className: "AutomationTriggeringRule", + className: "HybridComputeSettingsProperties", modelProperties: { - propertyJPath: { - serializedName: "propertyJPath", + hybridComputeProvisioningState: { + readOnly: true, + serializedName: "hybridComputeProvisioningState", type: { name: "String" } }, - propertyType: { - serializedName: "propertyType", + autoProvision: { + required: true, + serializedName: "autoProvision", type: { name: "String" } }, - expectedValue: { - serializedName: "expectedValue", + resourceGroupName: { + serializedName: "resourceGroupName", type: { name: "String" } }, - operator: { - serializedName: "operator", + region: { + serializedName: "region", type: { name: "String" } - } - } - } -}; - -export const AutomationRuleSet: msRest.CompositeMapper = { - serializedName: "AutomationRuleSet", - type: { - name: "Composite", - className: "AutomationRuleSet", - modelProperties: { - rules: { - serializedName: "rules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AutomationTriggeringRule" - } - } - } - } - } - } -}; - -export const AutomationSource: msRest.CompositeMapper = { - serializedName: "AutomationSource", - type: { - name: "Composite", - className: "AutomationSource", - modelProperties: { - eventSource: { - serializedName: "eventSource", + }, + proxyServer: { + serializedName: "proxyServer", type: { - name: "String" + name: "Composite", + className: "ProxyServerProperties" } }, - ruleSets: { - serializedName: "ruleSets", + servicePrincipal: { + serializedName: "servicePrincipal", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AutomationRuleSet" - } - } + name: "Composite", + className: "ServicePrincipalProperties" } } } } }; -export const AutomationAction: msRest.CompositeMapper = { - serializedName: "AutomationAction", +export const AuthenticationDetailsProperties: msRest.CompositeMapper = { + serializedName: "AuthenticationDetailsProperties", type: { name: "Composite", polymorphicDiscriminator: { - serializedName: "actionType", - clientName: "actionType" + serializedName: "authenticationType", + clientName: "authenticationType" }, - uberParent: "AutomationAction", - className: "AutomationAction", - modelProperties: { - actionType: { - required: true, - serializedName: "actionType", - type: { - name: "String" - } - } - } - } -}; - -export const Automation: msRest.CompositeMapper = { - serializedName: "Automation", - type: { - name: "Composite", - className: "Automation", + uberParent: "AuthenticationDetailsProperties", + className: "AuthenticationDetailsProperties", modelProperties: { - ...TrackedResource.type.modelProperties, - description: { - serializedName: "properties.description", - type: { - name: "String" - } - }, - isEnabled: { - serializedName: "properties.isEnabled", - type: { - name: "Boolean" - } - }, - scopes: { - serializedName: "properties.scopes", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AutomationScope" - } - } - } - }, - sources: { - serializedName: "properties.sources", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AutomationSource" - } - } + authenticationProvisioningState: { + readOnly: true, + serializedName: "authenticationProvisioningState", + type: { + name: "String" } }, - actions: { - serializedName: "properties.actions", + grantedPermissions: { + readOnly: true, + serializedName: "grantedPermissions", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "AutomationAction" + name: "String" } } } + }, + authenticationType: { + required: true, + serializedName: "authenticationType", + type: { + name: "String" + } } } } }; -export const AutomationActionLogicApp: msRest.CompositeMapper = { - serializedName: "LogicApp", +export const ConnectorSetting: msRest.CompositeMapper = { + serializedName: "ConnectorSetting", type: { name: "Composite", - polymorphicDiscriminator: AutomationAction.type.polymorphicDiscriminator, - uberParent: "AutomationAction", - className: "AutomationActionLogicApp", + className: "ConnectorSetting", modelProperties: { - ...AutomationAction.type.modelProperties, - logicAppResourceId: { - serializedName: "logicAppResourceId", + ...Resource.type.modelProperties, + hybridComputeSettings: { + serializedName: "properties.hybridComputeSettings", type: { - name: "String" + name: "Composite", + className: "HybridComputeSettingsProperties" } }, - uri: { - serializedName: "uri", + authenticationDetails: { + serializedName: "properties.authenticationDetails", type: { - name: "String" + name: "Composite", + className: "AuthenticationDetailsProperties" } } } } }; -export const AutomationActionEventHub: msRest.CompositeMapper = { - serializedName: "EventHub", +export const AwsCredsAuthenticationDetailsProperties: msRest.CompositeMapper = { + serializedName: "awsCreds", type: { name: "Composite", - polymorphicDiscriminator: AutomationAction.type.polymorphicDiscriminator, - uberParent: "AutomationAction", - className: "AutomationActionEventHub", + polymorphicDiscriminator: AuthenticationDetailsProperties.type.polymorphicDiscriminator, + uberParent: "AuthenticationDetailsProperties", + className: "AwsCredsAuthenticationDetailsProperties", modelProperties: { - ...AutomationAction.type.modelProperties, - eventHubResourceId: { - serializedName: "eventHubResourceId", + ...AuthenticationDetailsProperties.type.modelProperties, + accountId: { + readOnly: true, + serializedName: "accountId", type: { name: "String" } }, - sasPolicyName: { - readOnly: true, - serializedName: "sasPolicyName", + awsAccessKeyId: { + required: true, + serializedName: "awsAccessKeyId", type: { name: "String" } }, - connectionString: { - serializedName: "connectionString", + awsSecretAccessKey: { + required: true, + serializedName: "awsSecretAccessKey", type: { name: "String" } @@ -3207,17 +5791,32 @@ export const AutomationActionEventHub: msRest.CompositeMapper = { } }; -export const AutomationActionWorkspace: msRest.CompositeMapper = { - serializedName: "Workspace", +export const AwAssumeRoleAuthenticationDetailsProperties: msRest.CompositeMapper = { + serializedName: "awsAssumeRole", type: { name: "Composite", - polymorphicDiscriminator: AutomationAction.type.polymorphicDiscriminator, - uberParent: "AutomationAction", - className: "AutomationActionWorkspace", + polymorphicDiscriminator: AuthenticationDetailsProperties.type.polymorphicDiscriminator, + uberParent: "AuthenticationDetailsProperties", + className: "AwAssumeRoleAuthenticationDetailsProperties", modelProperties: { - ...AutomationAction.type.modelProperties, - workspaceResourceId: { - serializedName: "workspaceResourceId", + ...AuthenticationDetailsProperties.type.modelProperties, + accountId: { + readOnly: true, + serializedName: "accountId", + type: { + name: "String" + } + }, + awsAssumeRoleArn: { + required: true, + serializedName: "awsAssumeRoleArn", + type: { + name: "String" + } + }, + awsExternalId: { + required: true, + serializedName: "awsExternalId", type: { name: "String" } @@ -3226,20 +5825,88 @@ export const AutomationActionWorkspace: msRest.CompositeMapper = { } }; -export const AutomationValidationStatus: msRest.CompositeMapper = { - serializedName: "AutomationValidationStatus", +export const GcpCredentialsDetailsProperties: msRest.CompositeMapper = { + serializedName: "gcpCredentials", type: { name: "Composite", - className: "AutomationValidationStatus", + polymorphicDiscriminator: AuthenticationDetailsProperties.type.polymorphicDiscriminator, + uberParent: "AuthenticationDetailsProperties", + className: "GcpCredentialsDetailsProperties", modelProperties: { - isValid: { - serializedName: "isValid", + ...AuthenticationDetailsProperties.type.modelProperties, + organizationId: { + required: true, + serializedName: "organizationId", type: { - name: "Boolean" + name: "String" } }, - message: { - serializedName: "message", + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + }, + projectId: { + required: true, + serializedName: "projectId", + type: { + name: "String" + } + }, + privateKeyId: { + required: true, + serializedName: "privateKeyId", + type: { + name: "String" + } + }, + privateKey: { + required: true, + serializedName: "privateKey", + type: { + name: "String" + } + }, + clientEmail: { + required: true, + serializedName: "clientEmail", + type: { + name: "String" + } + }, + clientId: { + required: true, + serializedName: "clientId", + type: { + name: "String" + } + }, + authUri: { + required: true, + serializedName: "authUri", + type: { + name: "String" + } + }, + tokenUri: { + required: true, + serializedName: "tokenUri", + type: { + name: "String" + } + }, + authProviderX509CertUrl: { + required: true, + serializedName: "authProviderX509CertUrl", + type: { + name: "String" + } + }, + clientX509CertUrl: { + required: true, + serializedName: "clientX509CertUrl", type: { name: "String" } @@ -3248,47 +5915,132 @@ export const AutomationValidationStatus: msRest.CompositeMapper = { } }; -export const ScopeElement: msRest.CompositeMapper = { - serializedName: "ScopeElement", +export const ScanProperties: msRest.CompositeMapper = { + serializedName: "ScanProperties", type: { name: "Composite", - className: "ScopeElement", + className: "ScanProperties", modelProperties: { - field: { - serializedName: "field", + triggerType: { + serializedName: "triggerType", + type: { + name: "String" + } + }, + state: { + serializedName: "state", + type: { + name: "String" + } + }, + server: { + serializedName: "server", + type: { + name: "String" + } + }, + database: { + serializedName: "database", + type: { + name: "String" + } + }, + sqlVersion: { + serializedName: "sqlVersion", type: { name: "String" } + }, + startTime: { + serializedName: "startTime", + type: { + name: "DateTime" + } + }, + endTime: { + serializedName: "endTime", + type: { + name: "DateTime" + } + }, + highSeverityFailedRulesCount: { + serializedName: "highSeverityFailedRulesCount", + type: { + name: "Number" + } + }, + mediumSeverityFailedRulesCount: { + serializedName: "mediumSeverityFailedRulesCount", + type: { + name: "Number" + } + }, + lowSeverityFailedRulesCount: { + serializedName: "lowSeverityFailedRulesCount", + type: { + name: "Number" + } + }, + totalPassedRulesCount: { + serializedName: "totalPassedRulesCount", + type: { + name: "Number" + } + }, + totalFailedRulesCount: { + serializedName: "totalFailedRulesCount", + type: { + name: "Number" + } + }, + totalRulesCount: { + serializedName: "totalRulesCount", + type: { + name: "Number" + } + }, + isBaselineApplied: { + serializedName: "isBaselineApplied", + type: { + name: "Boolean" + } } - }, - additionalProperties: { - type: { - name: "Object" + } + } +}; + +export const Scan: msRest.CompositeMapper = { + serializedName: "Scan", + type: { + name: "Composite", + className: "Scan", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ScanProperties" + } } } } }; -export const SuppressionAlertsScope: msRest.CompositeMapper = { - serializedName: "SuppressionAlertsScope", +export const Scans: msRest.CompositeMapper = { + serializedName: "Scans", type: { name: "Composite", - className: "SuppressionAlertsScope", + className: "Scans", modelProperties: { - allOf: { - required: true, - serializedName: "allOf", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "ScopeElement", - additionalProperties: { - type: { - name: "Object" - } - } + className: "Scan" } } } @@ -3297,163 +6049,162 @@ export const SuppressionAlertsScope: msRest.CompositeMapper = { } }; -export const AlertsSuppressionRule: msRest.CompositeMapper = { - serializedName: "AlertsSuppressionRule", +export const Remediation: msRest.CompositeMapper = { + serializedName: "Remediation", type: { name: "Composite", - className: "AlertsSuppressionRule", + className: "Remediation", modelProperties: { - ...Resource.type.modelProperties, - alertType: { - required: true, - serializedName: "properties.alertType", - type: { - name: "String" - } - }, - lastModifiedUtc: { - readOnly: true, - serializedName: "properties.lastModifiedUtc", - type: { - name: "DateTime" - } - }, - expirationDateUtc: { - serializedName: "properties.expirationDateUtc", - type: { - name: "DateTime" - } - }, - reason: { - required: true, - serializedName: "properties.reason", + description: { + serializedName: "description", type: { name: "String" } }, - state: { - required: true, - serializedName: "properties.state", + scripts: { + serializedName: "scripts", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled", - "Expired" - ] + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - comment: { - serializedName: "properties.comment", + automated: { + serializedName: "automated", type: { - name: "String" + name: "Boolean" } }, - suppressionAlertsScope: { - serializedName: "properties.suppressionAlertsScope", + portalLink: { + serializedName: "portalLink", type: { - name: "Composite", - className: "SuppressionAlertsScope" + name: "String" } } } } }; -export const SecurityAssessmentMetadataPartnerData: msRest.CompositeMapper = { - serializedName: "SecurityAssessmentMetadataPartnerData", +export const Baseline: msRest.CompositeMapper = { + serializedName: "Baseline", type: { name: "Composite", - className: "SecurityAssessmentMetadataPartnerData", + className: "Baseline", modelProperties: { - partnerName: { - required: true, - serializedName: "partnerName", - type: { - name: "String" - } - }, - productName: { - serializedName: "productName", + expectedResults: { + serializedName: "expectedResults", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } }, - secret: { - required: true, - serializedName: "secret", + updatedTime: { + serializedName: "updatedTime", type: { - name: "String" + name: "DateTime" } } } } }; -export const SecurityAssessmentMetadataProperties: msRest.CompositeMapper = { - serializedName: "SecurityAssessmentMetadataProperties", +export const BaselineAdjustedResult: msRest.CompositeMapper = { + serializedName: "BaselineAdjustedResult", type: { name: "Composite", - className: "SecurityAssessmentMetadataProperties", + className: "BaselineAdjustedResult", modelProperties: { - displayName: { - required: true, - serializedName: "displayName", - type: { - name: "String" - } - }, - policyDefinitionId: { - readOnly: true, - serializedName: "policyDefinitionId", - type: { - name: "String" - } - }, - description: { - serializedName: "description", + baseline: { + serializedName: "baseline", type: { - name: "String" + name: "Composite", + className: "Baseline" } }, - remediationDescription: { - serializedName: "remediationDescription", + status: { + serializedName: "status", type: { name: "String" } }, - category: { - serializedName: "category", + resultsNotInBaseline: { + serializedName: "resultsNotInBaseline", type: { name: "Sequence", element: { type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } }, - severity: { - required: true, - serializedName: "severity", + resultsOnlyInBaseline: { + serializedName: "resultsOnlyInBaseline", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } - }, - userImpact: { - serializedName: "userImpact", + } + } + } +}; + +export const QueryCheck: msRest.CompositeMapper = { + serializedName: "QueryCheck", + type: { + name: "Composite", + className: "QueryCheck", + modelProperties: { + query: { + serializedName: "query", type: { name: "String" } }, - implementationEffort: { - serializedName: "implementationEffort", + expectedResult: { + serializedName: "expectedResult", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } }, - threats: { - serializedName: "threats", + columnNames: { + serializedName: "columnNames", type: { name: "Sequence", element: { @@ -3462,347 +6213,436 @@ export const SecurityAssessmentMetadataProperties: msRest.CompositeMapper = { } } } - }, - preview: { - serializedName: "preview", - type: { - name: "Boolean" - } - }, - assessmentType: { - required: true, - serializedName: "assessmentType", + } + } + } +}; + +export const BenchmarkReference: msRest.CompositeMapper = { + serializedName: "BenchmarkReference", + type: { + name: "Composite", + className: "BenchmarkReference", + modelProperties: { + benchmark: { + serializedName: "benchmark", type: { name: "String" } }, - partnerData: { - serializedName: "partnerData", + reference: { + serializedName: "reference", type: { - name: "Composite", - className: "SecurityAssessmentMetadataPartnerData" + name: "String" } } } } }; -export const SecurityAssessmentMetadata: msRest.CompositeMapper = { - serializedName: "SecurityAssessmentMetadata", +export const VaRule: msRest.CompositeMapper = { + serializedName: "VaRule", type: { name: "Composite", - className: "SecurityAssessmentMetadata", + className: "VaRule", modelProperties: { - ...Resource.type.modelProperties, - displayName: { - required: true, - serializedName: "properties.displayName", + ruleId: { + serializedName: "ruleId", type: { name: "String" } }, - policyDefinitionId: { - readOnly: true, - serializedName: "properties.policyDefinitionId", + severity: { + serializedName: "severity", + type: { + name: "String" + } + }, + category: { + serializedName: "category", + type: { + name: "String" + } + }, + ruleType: { + serializedName: "ruleType", + type: { + name: "String" + } + }, + title: { + serializedName: "title", type: { name: "String" } }, description: { - serializedName: "properties.description", + serializedName: "description", type: { name: "String" } }, - remediationDescription: { - serializedName: "properties.remediationDescription", + rationale: { + serializedName: "rationale", type: { name: "String" } }, - category: { - serializedName: "properties.category", + queryCheck: { + serializedName: "queryCheck", + type: { + name: "Composite", + className: "QueryCheck" + } + }, + benchmarkReferences: { + serializedName: "benchmarkReferences", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "BenchmarkReference" } } } - }, - severity: { - required: true, - serializedName: "properties.severity", + } + } + } +}; + +export const ScanResultProperties: msRest.CompositeMapper = { + serializedName: "ScanResultProperties", + type: { + name: "Composite", + className: "ScanResultProperties", + modelProperties: { + ruleId: { + serializedName: "ruleId", type: { name: "String" } }, - userImpact: { - serializedName: "properties.userImpact", + status: { + serializedName: "status", type: { name: "String" } }, - implementationEffort: { - serializedName: "properties.implementationEffort", + isTrimmed: { + serializedName: "isTrimmed", type: { - name: "String" + name: "Boolean" } }, - threats: { - serializedName: "properties.threats", + queryResults: { + serializedName: "queryResults", type: { name: "Sequence", element: { type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } }, - preview: { - serializedName: "properties.preview", + remediation: { + serializedName: "remediation", type: { - name: "Boolean" + name: "Composite", + className: "Remediation" } }, - assessmentType: { - required: true, - serializedName: "properties.assessmentType", + baselineAdjustedResult: { + serializedName: "baselineAdjustedResult", type: { - name: "String" + name: "Composite", + className: "BaselineAdjustedResult" } }, - partnerData: { - serializedName: "properties.partnerData", + ruleMetadata: { + serializedName: "ruleMetadata", type: { name: "Composite", - className: "SecurityAssessmentMetadataPartnerData" + className: "VaRule" } } } } }; -export const AssessmentStatus: msRest.CompositeMapper = { - serializedName: "AssessmentStatus", +export const ScanResult: msRest.CompositeMapper = { + serializedName: "ScanResult", type: { name: "Composite", - className: "AssessmentStatus", + className: "ScanResult", modelProperties: { - code: { - required: true, - serializedName: "code", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "ScanResultProperties" } - }, - cause: { - serializedName: "cause", + } + } + } +}; + +export const ScanResults: msRest.CompositeMapper = { + serializedName: "ScanResults", + type: { + name: "Composite", + className: "ScanResults", + modelProperties: { + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScanResult" + } + } + } + } + } + } +}; + +export const RuleResultsInput: msRest.CompositeMapper = { + serializedName: "RuleResultsInput", + type: { + name: "Composite", + className: "RuleResultsInput", + modelProperties: { + latestScan: { + serializedName: "latestScan", + type: { + name: "Boolean" } }, - description: { - serializedName: "description", + results: { + serializedName: "results", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } } } } }; -export const AssessmentLinks: msRest.CompositeMapper = { - serializedName: "AssessmentLinks", +export const RuleResultsProperties: msRest.CompositeMapper = { + serializedName: "RuleResultsProperties", type: { name: "Composite", - className: "AssessmentLinks", + className: "RuleResultsProperties", modelProperties: { - azurePortalUri: { - readOnly: true, - serializedName: "azurePortalUri", + results: { + serializedName: "results", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } } } } }; -export const SecurityAssessmentPartnerData: msRest.CompositeMapper = { - serializedName: "SecurityAssessmentPartnerData", +export const RuleResults: msRest.CompositeMapper = { + serializedName: "RuleResults", type: { name: "Composite", - className: "SecurityAssessmentPartnerData", + className: "RuleResults", modelProperties: { - partnerName: { - required: true, - serializedName: "partnerName", - type: { - name: "String" - } - }, - secret: { - required: true, - serializedName: "secret", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "RuleResultsProperties" } } } } }; -export const SecurityAssessment: msRest.CompositeMapper = { - serializedName: "SecurityAssessment", +export const RulesResults: msRest.CompositeMapper = { + serializedName: "RulesResults", type: { name: "Composite", - className: "SecurityAssessment", + className: "RulesResults", modelProperties: { - ...Resource.type.modelProperties, - resourceDetails: { - required: true, - serializedName: "properties.resourceDetails", - type: { - name: "Composite", - className: "ResourceDetails" - } - }, - displayName: { - readOnly: true, - serializedName: "properties.displayName", + value: { + serializedName: "value", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RuleResults" + } + } } - }, - status: { - required: true, - serializedName: "properties.status", + } + } + } +}; + +export const RulesResultsInput: msRest.CompositeMapper = { + serializedName: "RulesResultsInput", + type: { + name: "Composite", + className: "RulesResultsInput", + modelProperties: { + latestScan: { + serializedName: "latestScan", type: { - name: "Composite", - className: "AssessmentStatus" + name: "Boolean" } }, - additionalData: { - serializedName: "properties.additionalData", + results: { + serializedName: "results", type: { name: "Dictionary", value: { type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } } } } - }, - links: { - serializedName: "properties.links", - type: { - name: "Composite", - className: "AssessmentLinks" - } - }, - metadata: { - serializedName: "properties.metadata", - type: { - name: "Composite", - className: "SecurityAssessmentMetadataProperties" - } - }, - partnersData: { - serializedName: "properties.partnersData", - type: { - name: "Composite", - className: "SecurityAssessmentPartnerData" - } } } } }; -export const ProtectionMode: msRest.CompositeMapper = { - serializedName: "ProtectionMode", +export const IotDefenderSettingsModel: msRest.CompositeMapper = { + serializedName: "IotDefenderSettingsModel", type: { name: "Composite", - className: "ProtectionMode", + className: "IotDefenderSettingsModel", modelProperties: { - exe: { - serializedName: "exe", + ...Resource.type.modelProperties, + deviceQuota: { + required: true, + serializedName: "properties.deviceQuota", + constraints: { + InclusiveMinimum: 1000 + }, type: { - name: "String" + name: "Number" } }, - msi: { - serializedName: "msi", + sentinelWorkspaceResourceIds: { + required: true, + serializedName: "properties.sentinelWorkspaceResourceIds", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - script: { - serializedName: "script", + onboardingKind: { + required: true, + serializedName: "properties.onboardingKind", type: { name: "String" } }, - executable: { - serializedName: "executable", + evaluationEndTime: { + readOnly: true, + serializedName: "properties.evaluationEndTime", type: { - name: "String" + name: "DateTime" } } } } }; -export const AppWhitelistingIssueSummary: msRest.CompositeMapper = { - serializedName: "AppWhitelistingIssueSummary", +export const IotDefenderSettingsList: msRest.CompositeMapper = { + serializedName: "IotDefenderSettingsList", type: { name: "Composite", - className: "AppWhitelistingIssueSummary", + className: "IotDefenderSettingsList", modelProperties: { - issue: { - serializedName: "issue", - type: { - name: "String" - } - }, - numberOfVms: { - serializedName: "numberOfVms", + value: { + readOnly: true, + serializedName: "value", type: { - name: "Number" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IotDefenderSettingsModel" + } + } } } } } }; -export const VmRecommendation: msRest.CompositeMapper = { - serializedName: "VmRecommendation", +export const PackageDownloadInfo: msRest.CompositeMapper = { + serializedName: "PackageDownloadInfo", type: { name: "Composite", - className: "VmRecommendation", + className: "PackageDownloadInfo", modelProperties: { - configurationStatus: { - serializedName: "configurationStatus", - type: { - name: "String" - } - }, - recommendationAction: { - serializedName: "recommendationAction", + version: { + readOnly: true, + serializedName: "version", type: { name: "String" } }, - resourceId: { - serializedName: "resourceId", + link: { + serializedName: "link", type: { name: "String" } }, - enforcementSupport: { - serializedName: "enforcementSupport", + versionKind: { + readOnly: true, + serializedName: "versionKind", type: { name: "String" } @@ -3811,32 +6651,16 @@ export const VmRecommendation: msRest.CompositeMapper = { } }; -export const PublisherInfo: msRest.CompositeMapper = { - serializedName: "PublisherInfo", +export const UpgradePackageDownloadInfo: msRest.CompositeMapper = { + serializedName: "UpgradePackageDownloadInfo", type: { name: "Composite", - className: "PublisherInfo", + className: "UpgradePackageDownloadInfo", modelProperties: { - publisherName: { - serializedName: "publisherName", - type: { - name: "String" - } - }, - productName: { - serializedName: "productName", - type: { - name: "String" - } - }, - binaryName: { - serializedName: "binaryName", - type: { - name: "String" - } - }, - version: { - serializedName: "version", + ...PackageDownloadInfo.type.modelProperties, + fromVersion: { + readOnly: true, + serializedName: "fromVersion", type: { name: "String" } @@ -3845,227 +6669,322 @@ export const PublisherInfo: msRest.CompositeMapper = { } }; -export const UserRecommendation: msRest.CompositeMapper = { - serializedName: "UserRecommendation", +export const PackageDownloadsSensorFullOvf: msRest.CompositeMapper = { + serializedName: "PackageDownloads_sensor_full_ovf", type: { name: "Composite", - className: "UserRecommendation", + className: "PackageDownloadsSensorFullOvf", modelProperties: { - username: { - serializedName: "username", + enterprise: { + readOnly: true, + serializedName: "enterprise", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDownloadInfo" + } + } } }, - recommendationAction: { - serializedName: "recommendationAction", + medium: { + readOnly: true, + serializedName: "medium", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDownloadInfo" + } + } + } + }, + line: { + readOnly: true, + serializedName: "line", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDownloadInfo" + } + } } } } } }; -export const PathRecommendation: msRest.CompositeMapper = { - serializedName: "PathRecommendation", +export const PackageDownloadsSensorFull: msRest.CompositeMapper = { + serializedName: "PackageDownloads_sensor_full", type: { name: "Composite", - className: "PathRecommendation", + className: "PackageDownloadsSensorFull", modelProperties: { - path: { - serializedName: "path", - type: { - name: "String" - } - }, - action: { - serializedName: "action", + iso: { + readOnly: true, + serializedName: "iso", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDownloadInfo" + } + } } }, - type: { - serializedName: "type", + ovf: { + serializedName: "ovf", type: { - name: "String" + name: "Composite", + className: "PackageDownloadsSensorFullOvf" } - }, - publisherInfo: { - serializedName: "publisherInfo", + } + } + } +}; + +export const PackageDownloadsSensor: msRest.CompositeMapper = { + serializedName: "PackageDownloads_sensor", + type: { + name: "Composite", + className: "PackageDownloadsSensor", + modelProperties: { + full: { + readOnly: true, + serializedName: "full", type: { name: "Composite", - className: "PublisherInfo" + className: "PackageDownloadsSensorFull" } }, - common: { - serializedName: "common", + upgrade: { + serializedName: "upgrade", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpgradePackageDownloadInfo" + } + } } - }, - userSids: { - serializedName: "userSids", + } + } + } +}; + +export const PackageDownloadsCentralManagerFullOvf: msRest.CompositeMapper = { + serializedName: "PackageDownloads_centralManager_full_ovf", + type: { + name: "Composite", + className: "PackageDownloadsCentralManagerFullOvf", + modelProperties: { + enterprise: { + readOnly: true, + serializedName: "enterprise", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "PackageDownloadInfo" } } } }, - usernames: { - serializedName: "usernames", + enterpriseHighAvailability: { + readOnly: true, + serializedName: "enterpriseHighAvailability", type: { name: "Sequence", element: { type: { name: "Composite", - className: "UserRecommendation" + className: "PackageDownloadInfo" } } } }, - fileType: { - serializedName: "fileType", + medium: { + readOnly: true, + serializedName: "medium", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDownloadInfo" + } + } } }, - configurationStatus: { - serializedName: "configurationStatus", + mediumHighAvailability: { + readOnly: true, + serializedName: "mediumHighAvailability", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDownloadInfo" + } + } } } } } }; -export const AppWhitelistingGroup: msRest.CompositeMapper = { - serializedName: "AppWhitelistingGroup", +export const PackageDownloadsCentralManagerFull: msRest.CompositeMapper = { + serializedName: "PackageDownloads_centralManager_full", type: { name: "Composite", - className: "AppWhitelistingGroup", + className: "PackageDownloadsCentralManagerFull", modelProperties: { - id: { + iso: { readOnly: true, - serializedName: "id", + serializedName: "iso", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDownloadInfo" + } + } } }, - name: { + ovf: { readOnly: true, - serializedName: "name", + serializedName: "ovf", type: { - name: "String" + name: "Composite", + className: "PackageDownloadsCentralManagerFullOvf" } - }, - type: { + } + } + } +}; + +export const PackageDownloadsCentralManager: msRest.CompositeMapper = { + serializedName: "PackageDownloads_centralManager", + type: { + name: "Composite", + className: "PackageDownloadsCentralManager", + modelProperties: { + full: { readOnly: true, - serializedName: "type", + serializedName: "full", type: { - name: "String" + name: "Composite", + className: "PackageDownloadsCentralManagerFull" } }, - location: { + upgrade: { readOnly: true, - serializedName: "location", - type: { - name: "String" - } - }, - enforcementMode: { - serializedName: "properties.enforcementMode", + serializedName: "upgrade", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "UpgradePackageDownloadInfo" + } + } } - }, - protectionMode: { - serializedName: "properties.protectionMode", + } + } + } +}; + +export const PackageDownloads: msRest.CompositeMapper = { + serializedName: "PackageDownloads", + type: { + name: "Composite", + className: "PackageDownloads", + modelProperties: { + sensor: { + readOnly: true, + serializedName: "sensor", type: { name: "Composite", - className: "ProtectionMode" + className: "PackageDownloadsSensor" } }, - configurationStatus: { + centralManager: { readOnly: true, - serializedName: "properties.configurationStatus", + serializedName: "centralManager", type: { - name: "String" + name: "Composite", + className: "PackageDownloadsCentralManager" } }, - recommendationStatus: { + threatIntelligence: { readOnly: true, - serializedName: "properties.recommendationStatus", + serializedName: "threatIntelligence", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PackageDownloadInfo" + } + } } }, - issues: { + snmp: { readOnly: true, - serializedName: "properties.issues", + serializedName: "snmp", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AppWhitelistingIssueSummary" + className: "PackageDownloadInfo" } } } }, - sourceSystem: { + wmiTool: { readOnly: true, - serializedName: "properties.sourceSystem", - type: { - name: "String" - } - }, - vmRecommendations: { - serializedName: "properties.vmRecommendations", + serializedName: "wmiTool", type: { name: "Sequence", element: { type: { name: "Composite", - className: "VmRecommendation" + className: "PackageDownloadInfo" } } } }, - pathRecommendations: { - serializedName: "properties.pathRecommendations", + authorizedDevicesImportTemplate: { + readOnly: true, + serializedName: "authorizedDevicesImportTemplate", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PathRecommendation" + className: "PackageDownloadInfo" } } } - } - } - } -}; - -export const AppWhitelistingGroups: msRest.CompositeMapper = { - serializedName: "AppWhitelistingGroups", - type: { - name: "Composite", - className: "AppWhitelistingGroups", - modelProperties: { - value: { - serializedName: "value", + }, + deviceInformationUpdateImportTemplate: { + readOnly: true, + serializedName: "deviceInformationUpdateImportTemplate", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AppWhitelistingGroup" + className: "PackageDownloadInfo" } } } @@ -4074,116 +6993,106 @@ export const AppWhitelistingGroups: msRest.CompositeMapper = { } }; -export const Rule: msRest.CompositeMapper = { - serializedName: "Rule", +export const IotSensorsModel: msRest.CompositeMapper = { + serializedName: "IotSensorsModel", type: { name: "Composite", - className: "Rule", + className: "IotSensorsModel", modelProperties: { - name: { - serializedName: "name", + ...Resource.type.modelProperties, + connectivityTime: { + readOnly: true, + serializedName: "properties.connectivityTime", type: { name: "String" } }, - direction: { - serializedName: "direction", + creationTime: { + readOnly: true, + serializedName: "properties.creationTime", type: { name: "String" } }, - destinationPort: { - serializedName: "destinationPort", + dynamicLearning: { + readOnly: true, + serializedName: "properties.dynamicLearning", type: { - name: "Number" + name: "Boolean" } }, - protocols: { - serializedName: "protocols", + learningMode: { + readOnly: true, + serializedName: "properties.learningMode", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" } }, - ipAddresses: { - serializedName: "ipAddresses", + sensorStatus: { + readOnly: true, + serializedName: "properties.sensorStatus", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } - } - } - } -}; - -export const EffectiveNetworkSecurityGroups: msRest.CompositeMapper = { - serializedName: "EffectiveNetworkSecurityGroups", - type: { - name: "Composite", - className: "EffectiveNetworkSecurityGroups", - modelProperties: { - networkInterface: { - serializedName: "networkInterface", + }, + sensorVersion: { + readOnly: true, + serializedName: "properties.sensorVersion", type: { name: "String" } }, - networkSecurityGroups: { - serializedName: "networkSecurityGroups", + tiAutomaticUpdates: { + serializedName: "properties.tiAutomaticUpdates", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Boolean" + } + }, + tiStatus: { + readOnly: true, + serializedName: "properties.tiStatus", + type: { + name: "String" + } + }, + tiVersion: { + readOnly: true, + serializedName: "properties.tiVersion", + type: { + name: "String" + } + }, + zone: { + serializedName: "properties.zone", + type: { + name: "String" + } + }, + sensorType: { + serializedName: "properties.sensorType", + type: { + name: "String" } } } } }; -export const AdaptiveNetworkHardening: msRest.CompositeMapper = { - serializedName: "AdaptiveNetworkHardening", +export const IotSensorsList: msRest.CompositeMapper = { + serializedName: "IotSensorsList", type: { name: "Composite", - className: "AdaptiveNetworkHardening", + className: "IotSensorsList", modelProperties: { - ...Resource.type.modelProperties, - rules: { - serializedName: "properties.rules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Rule" - } - } - } - }, - rulesCalculationTime: { - serializedName: "properties.rulesCalculationTime", - type: { - name: "DateTime" - } - }, - effectiveNetworkSecurityGroups: { - serializedName: "properties.effectiveNetworkSecurityGroups", + value: { + readOnly: true, + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "EffectiveNetworkSecurityGroups" + className: "IotSensorsModel" } } } @@ -4192,107 +7101,133 @@ export const AdaptiveNetworkHardening: msRest.CompositeMapper = { } }; -export const AdaptiveNetworkHardeningEnforceRequest: msRest.CompositeMapper = { - serializedName: "AdaptiveNetworkHardeningEnforceRequest", +export const ResetPasswordInput: msRest.CompositeMapper = { + serializedName: "ResetPasswordInput", type: { name: "Composite", - className: "AdaptiveNetworkHardeningEnforceRequest", + className: "ResetPasswordInput", modelProperties: { - rules: { - required: true, - serializedName: "rules", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Rule" - } - } - } - }, - networkSecurityGroups: { - required: true, - serializedName: "networkSecurityGroups", + applianceId: { + serializedName: "applianceId", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } } } } }; -export const ConnectedResource: msRest.CompositeMapper = { - serializedName: "ConnectedResource", +export const IpAddress: msRest.CompositeMapper = { + serializedName: "IpAddress", type: { name: "Composite", - className: "ConnectedResource", + className: "IpAddress", modelProperties: { - connectedResourceId: { + v4Address: { readOnly: true, - serializedName: "connectedResourceId", + serializedName: "v4Address", type: { name: "String" } }, - tcpPorts: { + detectionTime: { readOnly: true, - serializedName: "tcpPorts", + serializedName: "detectionTime", + type: { + name: "DateTime" + } + }, + subnetCidr: { + readOnly: true, + serializedName: "subnetCidr", type: { name: "String" } }, - udpPorts: { + fqdn: { readOnly: true, - serializedName: "udpPorts", + serializedName: "fqdn", type: { name: "String" } + }, + fqdnLastLookupTime: { + readOnly: true, + serializedName: "fqdnLastLookupTime", + type: { + name: "DateTime" + } } } } }; -export const ConnectableResource: msRest.CompositeMapper = { - serializedName: "ConnectableResource", +export const MacAddress: msRest.CompositeMapper = { + serializedName: "MacAddress", type: { name: "Composite", - className: "ConnectableResource", + className: "MacAddress", modelProperties: { - id: { + address: { readOnly: true, - serializedName: "id", + serializedName: "address", type: { name: "String" } }, - inboundConnectedResources: { + detectionTime: { readOnly: true, - serializedName: "inboundConnectedResources", + serializedName: "detectionTime", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectedResource" - } - } + name: "DateTime" } }, - outboundConnectedResources: { + significance: { readOnly: true, - serializedName: "outboundConnectedResources", + serializedName: "significance", + type: { + name: "String" + } + }, + relationToIpStatus: { + readOnly: true, + serializedName: "relationToIpStatus", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkInterface: msRest.CompositeMapper = { + serializedName: "NetworkInterface", + type: { + name: "Composite", + className: "NetworkInterface", + modelProperties: { + ipAddress: { + serializedName: "ipAddress", + type: { + name: "Composite", + className: "IpAddress" + } + }, + macAddress: { + serializedName: "macAddress", + type: { + name: "Composite", + className: "MacAddress" + } + }, + vlans: { + readOnly: true, + serializedName: "vlans", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "ConnectedResource" + name: "String" } } } @@ -4301,73 +7236,104 @@ export const ConnectableResource: msRest.CompositeMapper = { } }; -export const AllowedConnectionsResource: msRest.CompositeMapper = { - serializedName: "AllowedConnectionsResource", +export const Protocol1: msRest.CompositeMapper = { + serializedName: "Protocol", type: { name: "Composite", - className: "AllowedConnectionsResource", + className: "Protocol1", modelProperties: { - id: { + name: { readOnly: true, - serializedName: "id", + serializedName: "name", type: { name: "String" } }, - name: { + identifiers: { + serializedName: "identifiers", + type: { + name: "String" + } + } + } + } +}; + +export const Firmware: msRest.CompositeMapper = { + serializedName: "Firmware", + type: { + name: "Composite", + className: "Firmware", + modelProperties: { + moduleAddress: { readOnly: true, - serializedName: "name", + serializedName: "moduleAddress", type: { name: "String" } }, - type: { + rack: { readOnly: true, - serializedName: "type", + serializedName: "rack", type: { name: "String" } }, - location: { + slot: { readOnly: true, - serializedName: "location", + serializedName: "slot", type: { name: "String" } }, - calculatedDateTime: { + serial: { readOnly: true, - serializedName: "properties.calculatedDateTime", + serializedName: "serial", type: { - name: "DateTime" + name: "String" } }, - connectableResources: { + model: { readOnly: true, - serializedName: "properties.connectableResources", + serializedName: "model", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ConnectableResource" - } - } + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "version", + type: { + name: "String" + } + }, + additionalData: { + readOnly: true, + serializedName: "additionalData", + type: { + name: "Object" } } } } }; -export const TopologySingleResourceParent: msRest.CompositeMapper = { - serializedName: "TopologySingleResourceParent", +export const Sensor: msRest.CompositeMapper = { + serializedName: "Sensor", type: { name: "Composite", - className: "TopologySingleResourceParent", + className: "Sensor", modelProperties: { - resourceId: { + name: { readOnly: true, - serializedName: "resourceId", + serializedName: "name", + type: { + name: "String" + } + }, + zone: { + readOnly: true, + serializedName: "zone", type: { name: "String" } @@ -4376,15 +7342,15 @@ export const TopologySingleResourceParent: msRest.CompositeMapper = { } }; -export const TopologySingleResourceChild: msRest.CompositeMapper = { - serializedName: "TopologySingleResourceChild", +export const Site: msRest.CompositeMapper = { + serializedName: "Site", type: { name: "Composite", - className: "TopologySingleResourceChild", + className: "Site", modelProperties: { - resourceId: { + displayName: { readOnly: true, - serializedName: "resourceId", + serializedName: "displayName", type: { name: "String" } @@ -4393,76 +7359,242 @@ export const TopologySingleResourceChild: msRest.CompositeMapper = { } }; -export const TopologySingleResource: msRest.CompositeMapper = { - serializedName: "TopologySingleResource", +export const Device: msRest.CompositeMapper = { + serializedName: "Device", type: { name: "Composite", - className: "TopologySingleResource", + className: "Device", modelProperties: { - resourceId: { + ...Resource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + deviceType: { + serializedName: "properties.deviceType", + type: { + name: "String" + } + }, + sourceName: { readOnly: true, - serializedName: "resourceId", + serializedName: "properties.sourceName", type: { name: "String" } }, - severity: { + networkInterfaces: { readOnly: true, - serializedName: "severity", + serializedName: "properties.networkInterfaces", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkInterface" + } + } + } + }, + vendor: { + readOnly: true, + serializedName: "properties.vendor", + type: { + name: "String" + } + }, + osName: { + serializedName: "properties.osName", + type: { + name: "String" + } + }, + protocols: { + readOnly: true, + serializedName: "properties.protocols", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Protocol1" + } + } + } + }, + lastActiveTime: { + readOnly: true, + serializedName: "properties.lastActiveTime", + type: { + name: "DateTime" + } + }, + lastUpdateTime: { + readOnly: true, + serializedName: "properties.lastUpdateTime", + type: { + name: "DateTime" + } + }, + managementState: { + readOnly: true, + serializedName: "properties.managementState", + type: { + name: "String" + } + }, + authorizationState: { + serializedName: "properties.authorizationState", + defaultValue: 'Unauthorized', + type: { + name: "String" + } + }, + deviceCriticality: { + serializedName: "properties.deviceCriticality", + defaultValue: 'Standard', + type: { + name: "String" + } + }, + purdueLevel: { + serializedName: "properties.purdueLevel", + defaultValue: 'ProcessControl', + type: { + name: "String" + } + }, + notes: { + serializedName: "properties.notes", + type: { + name: "String" + } + }, + firmwares: { + readOnly: true, + serializedName: "properties.firmwares", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Firmware" + } + } + } + }, + discoveryTime: { + readOnly: true, + serializedName: "properties.discoveryTime", + type: { + name: "DateTime" + } + }, + programmingState: { + readOnly: true, + serializedName: "properties.programmingState", type: { name: "String" } }, - recommendationsExist: { + lastProgrammingTime: { readOnly: true, - serializedName: "recommendationsExist", + serializedName: "properties.lastProgrammingTime", type: { - name: "Boolean" + name: "DateTime" } }, - networkZones: { + scanningFunctionality: { readOnly: true, - serializedName: "networkZones", + serializedName: "properties.scanningFunctionality", type: { name: "String" } }, - topologyScore: { + lastScanTime: { readOnly: true, - serializedName: "topologyScore", + serializedName: "properties.lastScanTime", type: { - name: "Number" + name: "DateTime" } }, - location: { + riskScore: { readOnly: true, - serializedName: "location", + serializedName: "properties.riskScore", + constraints: { + InclusiveMaximum: 100, + InclusiveMinimum: 0 + }, type: { - name: "String" + name: "Number" } }, - parents: { + sensors: { readOnly: true, - serializedName: "parents", + serializedName: "properties.sensors", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TopologySingleResourceParent" + className: "Sensor" } } } }, - children: { + site: { readOnly: true, - serializedName: "children", + serializedName: "properties.site", + type: { + name: "Composite", + className: "Site" + } + }, + deviceStatus: { + readOnly: true, + serializedName: "properties.deviceStatus", + type: { + name: "String" + } + } + } + } +}; + +export const OnPremiseIotSensor: msRest.CompositeMapper = { + serializedName: "OnPremiseIotSensor", + type: { + name: "Composite", + className: "OnPremiseIotSensor", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Object" + } + } + } + } +}; + +export const OnPremiseIotSensorsList: msRest.CompositeMapper = { + serializedName: "OnPremiseIotSensorsList", + type: { + name: "Composite", + className: "OnPremiseIotSensorsList", + modelProperties: { + value: { + readOnly: true, + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TopologySingleResourceChild" + className: "OnPremiseIotSensor" } } } @@ -4471,56 +7603,50 @@ export const TopologySingleResource: msRest.CompositeMapper = { } }; -export const TopologyResource: msRest.CompositeMapper = { - serializedName: "TopologyResource", +export const IotSitesModel: msRest.CompositeMapper = { + serializedName: "IotSitesModel", type: { name: "Composite", - className: "TopologyResource", + className: "IotSitesModel", modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - location: { - readOnly: true, - serializedName: "location", + ...Resource.type.modelProperties, + displayName: { + required: true, + serializedName: "properties.displayName", type: { name: "String" } }, - calculatedDateTime: { - readOnly: true, - serializedName: "properties.calculatedDateTime", + tags: { + serializedName: "properties.tags", type: { - name: "DateTime" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } - }, - topologyResources: { + } + } + } +}; + +export const IotSitesList: msRest.CompositeMapper = { + serializedName: "IotSitesList", + type: { + name: "Composite", + className: "IotSitesList", + modelProperties: { + value: { readOnly: true, - serializedName: "properties.topologyResources", + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "TopologySingleResource" + className: "IotSitesModel" } } } @@ -4529,173 +7655,140 @@ export const TopologyResource: msRest.CompositeMapper = { } }; -export const JitNetworkAccessPortRule: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPortRule", +export const IotAlertModel: msRest.CompositeMapper = { + serializedName: "IotAlertModel", type: { name: "Composite", - className: "JitNetworkAccessPortRule", + className: "IotAlertModel", modelProperties: { - number: { - required: true, - serializedName: "number", - type: { - name: "Number" - } - }, - protocol: { - required: true, - serializedName: "protocol", + ...Resource.type.modelProperties, + systemAlertId: { + readOnly: true, + serializedName: "properties.systemAlertId", type: { name: "String" } }, - allowedSourceAddressPrefix: { - serializedName: "allowedSourceAddressPrefix", + compromisedEntity: { + readOnly: true, + serializedName: "properties.compromisedEntity", type: { name: "String" } }, - allowedSourceAddressPrefixes: { - serializedName: "allowedSourceAddressPrefixes", + alertType: { + readOnly: true, + serializedName: "properties.alertType", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - maxRequestAccessDuration: { - required: true, - serializedName: "maxRequestAccessDuration", + startTimeUtc: { + readOnly: true, + serializedName: "properties.startTimeUtc", type: { name: "String" } - } - } - } -}; - -export const JitNetworkAccessPolicyVirtualMachine: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicyVirtualMachine", - type: { - name: "Composite", - className: "JitNetworkAccessPolicyVirtualMachine", - modelProperties: { - id: { - required: true, - serializedName: "id", + }, + endTimeUtc: { + readOnly: true, + serializedName: "properties.endTimeUtc", type: { name: "String" } }, - ports: { - required: true, - serializedName: "ports", + entities: { + serializedName: "properties.entities", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "JitNetworkAccessPortRule" + name: "Object" } } } }, - publicIpAddress: { - serializedName: "publicIpAddress", + extendedProperties: { + serializedName: "properties.extendedProperties", type: { - name: "String" + name: "Object" } } } } }; -export const JitNetworkAccessRequestPort: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessRequestPort", +export const IotAlertType: msRest.CompositeMapper = { + serializedName: "IotAlertType", type: { name: "Composite", - className: "JitNetworkAccessRequestPort", + className: "IotAlertType", modelProperties: { - number: { - required: true, - serializedName: "number", + ...Resource.type.modelProperties, + alertDisplayName: { + readOnly: true, + serializedName: "properties.alertDisplayName", type: { - name: "Number" + name: "String" } }, - allowedSourceAddressPrefix: { - serializedName: "allowedSourceAddressPrefix", + severity: { + readOnly: true, + serializedName: "properties.severity", type: { name: "String" } }, - allowedSourceAddressPrefixes: { - serializedName: "allowedSourceAddressPrefixes", + description: { + readOnly: true, + serializedName: "properties.description", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "String" } }, - endTimeUtc: { - required: true, - serializedName: "endTimeUtc", + providerName: { + readOnly: true, + serializedName: "properties.providerName", type: { - name: "DateTime" + name: "String" } }, - status: { - required: true, - serializedName: "status", + productName: { + readOnly: true, + serializedName: "properties.productName", type: { name: "String" } }, - statusReason: { - required: true, - serializedName: "statusReason", + productComponentName: { + readOnly: true, + serializedName: "properties.productComponentName", type: { name: "String" } }, - mappedPort: { - serializedName: "mappedPort", + vendorName: { + readOnly: true, + serializedName: "properties.vendorName", type: { - name: "Number" + name: "String" } - } - } - } -}; - -export const JitNetworkAccessRequestVirtualMachine: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessRequestVirtualMachine", - type: { - name: "Composite", - className: "JitNetworkAccessRequestVirtualMachine", - modelProperties: { - id: { - required: true, - serializedName: "id", + }, + intent: { + readOnly: true, + serializedName: "properties.intent", type: { name: "String" } }, - ports: { - required: true, - serializedName: "ports", + remediationSteps: { + readOnly: true, + serializedName: "properties.remediationSteps", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "JitNetworkAccessRequestPort" + name: "String" } } } @@ -4704,117 +7797,137 @@ export const JitNetworkAccessRequestVirtualMachine: msRest.CompositeMapper = { } }; -export const JitNetworkAccessRequest: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessRequest", +export const IotAlertTypeList: msRest.CompositeMapper = { + serializedName: "IotAlertTypeList", type: { name: "Composite", - className: "JitNetworkAccessRequest", + className: "IotAlertTypeList", modelProperties: { - virtualMachines: { - required: true, - serializedName: "virtualMachines", + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "JitNetworkAccessRequestVirtualMachine" + className: "IotAlertType" } } } - }, - startTimeUtc: { - required: true, - serializedName: "startTimeUtc", + } + } + } +}; + +export const IotRecommendationModel: msRest.CompositeMapper = { + serializedName: "IotRecommendationModel", + type: { + name: "Composite", + className: "IotRecommendationModel", + modelProperties: { + ...Resource.type.modelProperties, + deviceId: { + readOnly: true, + serializedName: "properties.deviceId", type: { - name: "DateTime" + name: "String" } }, - requestor: { - required: true, - serializedName: "requestor", + recommendationType: { + readOnly: true, + serializedName: "properties.recommendationType", type: { name: "String" } }, - justification: { - serializedName: "justification", + discoveredTimeUtc: { + readOnly: true, + serializedName: "properties.discoveredTimeUtc", type: { name: "String" } + }, + recommendationAdditionalData: { + serializedName: "properties.recommendationAdditionalData", + type: { + name: "Object" + } } } } }; -export const JitNetworkAccessPolicy: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicy", +export const IotRecommendationType: msRest.CompositeMapper = { + serializedName: "IotRecommendationType", type: { name: "Composite", - className: "JitNetworkAccessPolicy", + className: "IotRecommendationType", modelProperties: { - id: { + ...Resource.type.modelProperties, + recommendationDisplayName: { readOnly: true, - serializedName: "id", + serializedName: "properties.recommendationDisplayName", type: { name: "String" } }, - name: { + severity: { readOnly: true, - serializedName: "name", + serializedName: "properties.severity", type: { name: "String" } }, - type: { + description: { readOnly: true, - serializedName: "type", + serializedName: "properties.description", type: { name: "String" } }, - kind: { - serializedName: "kind", + productName: { + readOnly: true, + serializedName: "properties.productName", type: { name: "String" } }, - location: { + productComponentName: { readOnly: true, - serializedName: "location", + serializedName: "properties.productComponentName", type: { name: "String" } }, - virtualMachines: { - required: true, - serializedName: "properties.virtualMachines", + vendorName: { + readOnly: true, + serializedName: "properties.vendorName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JitNetworkAccessPolicyVirtualMachine" - } - } + name: "String" } }, - requests: { - serializedName: "properties.requests", + control: { + readOnly: true, + serializedName: "properties.control", + type: { + name: "String" + } + }, + remediationSteps: { + readOnly: true, + serializedName: "properties.remediationSteps", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "JitNetworkAccessRequest" + name: "String" } } } }, - provisioningState: { + dataSource: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "properties.dataSource", type: { name: "String" } @@ -4823,203 +7936,272 @@ export const JitNetworkAccessPolicy: msRest.CompositeMapper = { } }; -export const JitNetworkAccessPolicyInitiatePort: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicyInitiatePort", +export const IotRecommendationTypeList: msRest.CompositeMapper = { + serializedName: "IotRecommendationTypeList", type: { name: "Composite", - className: "JitNetworkAccessPolicyInitiatePort", + className: "IotRecommendationTypeList", modelProperties: { - number: { - required: true, - serializedName: "number", - type: { - name: "Number" - } - }, - allowedSourceAddressPrefix: { - serializedName: "allowedSourceAddressPrefix", - type: { - name: "String" - } - }, - endTimeUtc: { - required: true, - serializedName: "endTimeUtc", + value: { + serializedName: "value", type: { - name: "DateTime" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IotRecommendationType" + } + } } } } } }; -export const JitNetworkAccessPolicyInitiateVirtualMachine: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicyInitiateVirtualMachine", +export const ResourceIdentifier: msRest.CompositeMapper = { + serializedName: "ResourceIdentifier", type: { name: "Composite", - className: "JitNetworkAccessPolicyInitiateVirtualMachine", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "ResourceIdentifier", + className: "ResourceIdentifier", modelProperties: { - id: { + type: { required: true, - serializedName: "id", + serializedName: "type", type: { name: "String" } - }, - ports: { - required: true, - serializedName: "ports", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JitNetworkAccessPolicyInitiatePort" - } - } - } } } } }; -export const JitNetworkAccessPolicyInitiateRequest: msRest.CompositeMapper = { - serializedName: "JitNetworkAccessPolicyInitiateRequest", +export const AlertEntity: msRest.CompositeMapper = { + serializedName: "AlertEntity", type: { name: "Composite", - className: "JitNetworkAccessPolicyInitiateRequest", + className: "AlertEntity", modelProperties: { - virtualMachines: { - required: true, - serializedName: "virtualMachines", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "JitNetworkAccessPolicyInitiateVirtualMachine" - } - } - } - }, - justification: { - serializedName: "justification", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } } + }, + additionalProperties: { + type: { + name: "Object" + } } } }; -export const DiscoveredSecuritySolution: msRest.CompositeMapper = { - serializedName: "DiscoveredSecuritySolution", +export const Alert: msRest.CompositeMapper = { + serializedName: "Alert", type: { name: "Composite", - className: "DiscoveredSecuritySolution", + className: "Alert", modelProperties: { - id: { + ...Resource.type.modelProperties, + alertType: { readOnly: true, - serializedName: "id", + serializedName: "properties.alertType", type: { name: "String" } }, - name: { + systemAlertId: { readOnly: true, - serializedName: "name", + serializedName: "properties.systemAlertId", type: { name: "String" } }, - type: { + productComponentName: { readOnly: true, - serializedName: "type", + serializedName: "properties.productComponentName", + type: { + name: "String" + } + }, + alertDisplayName: { + readOnly: true, + serializedName: "properties.alertDisplayName", + type: { + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "properties.description", + type: { + name: "String" + } + }, + severity: { + readOnly: true, + serializedName: "properties.severity", + type: { + name: "String" + } + }, + intent: { + readOnly: true, + serializedName: "properties.intent", + type: { + name: "String" + } + }, + startTimeUtc: { + readOnly: true, + serializedName: "properties.startTimeUtc", + type: { + name: "DateTime" + } + }, + endTimeUtc: { + readOnly: true, + serializedName: "properties.endTimeUtc", + type: { + name: "DateTime" + } + }, + resourceIdentifiers: { + readOnly: true, + serializedName: "properties.resourceIdentifiers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ResourceIdentifier" + } + } + } + }, + remediationSteps: { + readOnly: true, + serializedName: "properties.remediationSteps", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + vendorName: { + readOnly: true, + serializedName: "properties.vendorName", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", type: { name: "String" } }, - location: { + extendedLinks: { readOnly: true, - serializedName: "location", + serializedName: "properties.extendedLinks", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + } } }, - securityFamily: { - required: true, - serializedName: "properties.securityFamily", + alertUri: { + readOnly: true, + serializedName: "properties.alertUri", type: { name: "String" } }, - offer: { - required: true, - serializedName: "properties.offer", + timeGeneratedUtc: { + readOnly: true, + serializedName: "properties.timeGeneratedUtc", type: { - name: "String" + name: "DateTime" } }, - publisher: { - required: true, - serializedName: "properties.publisher", + productName: { + readOnly: true, + serializedName: "properties.productName", type: { name: "String" } }, - sku: { - required: true, - serializedName: "properties.sku", + processingEndTimeUtc: { + readOnly: true, + serializedName: "properties.processingEndTimeUtc", type: { - name: "String" + name: "DateTime" } - } - } - } -}; - -export const ExternalSecuritySolution: msRest.CompositeMapper = { - serializedName: "ExternalSecuritySolution", - type: { - name: "Composite", - polymorphicDiscriminator: { - serializedName: "kind", - clientName: "kind" - }, - uberParent: "ExternalSecuritySolution", - className: "ExternalSecuritySolution", - modelProperties: { - id: { + }, + entities: { readOnly: true, - serializedName: "id", + serializedName: "properties.entities", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AlertEntity", + additionalProperties: { + type: { + name: "Object" + } + } + } + } } }, - name: { + isIncident: { readOnly: true, - serializedName: "name", + serializedName: "properties.isIncident", type: { - name: "String" + name: "Boolean" } }, - type: { + correlationKey: { readOnly: true, - serializedName: "type", + serializedName: "properties.correlationKey", type: { name: "String" } }, - location: { - readOnly: true, - serializedName: "location", + extendedProperties: { + serializedName: "properties.extendedProperties", type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } }, - kind: { - required: true, - serializedName: "kind", + compromisedEntity: { + readOnly: true, + serializedName: "properties.compromisedEntity", type: { name: "String" } @@ -5028,225 +8210,159 @@ export const ExternalSecuritySolution: msRest.CompositeMapper = { } }; -export const ExternalSecuritySolutionProperties: msRest.CompositeMapper = { - serializedName: "ExternalSecuritySolutionProperties", +export const AzureResourceIdentifier: msRest.CompositeMapper = { + serializedName: "AzureResource", type: { name: "Composite", - className: "ExternalSecuritySolutionProperties", + polymorphicDiscriminator: ResourceIdentifier.type.polymorphicDiscriminator, + uberParent: "ResourceIdentifier", + className: "AzureResourceIdentifier", modelProperties: { - deviceVendor: { - serializedName: "deviceVendor", - type: { - name: "String" - } - }, - deviceType: { - serializedName: "deviceType", + ...ResourceIdentifier.type.modelProperties, + azureResourceId: { + readOnly: true, + serializedName: "azureResourceId", type: { name: "String" } - }, - workspace: { - serializedName: "workspace", - type: { - name: "Composite", - className: "ConnectedWorkspace" - } - } - }, - additionalProperties: { - type: { - name: "Object" } } } }; -export const CefSolutionProperties: msRest.CompositeMapper = { - serializedName: "CefSolutionProperties", +export const LogAnalyticsIdentifier: msRest.CompositeMapper = { + serializedName: "LogAnalytics", type: { name: "Composite", - className: "CefSolutionProperties", + polymorphicDiscriminator: ResourceIdentifier.type.polymorphicDiscriminator, + uberParent: "ResourceIdentifier", + className: "LogAnalyticsIdentifier", modelProperties: { - ...ExternalSecuritySolutionProperties.type.modelProperties, - hostname: { - serializedName: "hostname", + ...ResourceIdentifier.type.modelProperties, + workspaceId: { + readOnly: true, + serializedName: "workspaceId", type: { name: "String" } }, - agent: { - serializedName: "agent", + workspaceSubscriptionId: { + readOnly: true, + serializedName: "workspaceSubscriptionId", + constraints: { + Pattern: /^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$/ + }, type: { name: "String" } }, - lastEventReceived: { - serializedName: "lastEventReceived", + workspaceResourceGroup: { + readOnly: true, + serializedName: "workspaceResourceGroup", type: { name: "String" } - } - }, - additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties - } -}; - -export const CefExternalSecuritySolution: msRest.CompositeMapper = { - serializedName: "CEF", - type: { - name: "Composite", - polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, - uberParent: "ExternalSecuritySolution", - className: "CefExternalSecuritySolution", - modelProperties: { - ...ExternalSecuritySolution.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "CefSolutionProperties", - additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties - } - } - } - } -}; - -export const AtaSolutionProperties: msRest.CompositeMapper = { - serializedName: "AtaSolutionProperties", - type: { - name: "Composite", - className: "AtaSolutionProperties", - modelProperties: { - ...ExternalSecuritySolutionProperties.type.modelProperties, - lastEventReceived: { - serializedName: "lastEventReceived", + }, + agentId: { + readOnly: true, + serializedName: "agentId", type: { name: "String" } } - }, - additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties - } -}; - -export const AtaExternalSecuritySolution: msRest.CompositeMapper = { - serializedName: "ATA", - type: { - name: "Composite", - polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, - uberParent: "ExternalSecuritySolution", - className: "AtaExternalSecuritySolution", - modelProperties: { - ...ExternalSecuritySolution.type.modelProperties, - properties: { - serializedName: "properties", - type: { - name: "Composite", - className: "AtaSolutionProperties", - additionalProperties: ExternalSecuritySolutionProperties.type.additionalProperties - } - } } } }; -export const ConnectedWorkspace: msRest.CompositeMapper = { - serializedName: "ConnectedWorkspace", +export const AlertSimulatorRequestProperties: msRest.CompositeMapper = { + serializedName: "AlertSimulatorRequestProperties", type: { name: "Composite", - className: "ConnectedWorkspace", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "AlertSimulatorRequestProperties", + className: "AlertSimulatorRequestProperties", modelProperties: { - id: { - serializedName: "id", + kind: { + required: true, + serializedName: "kind", type: { name: "String" } } - } - } -}; - -export const AadSolutionProperties: msRest.CompositeMapper = { - serializedName: "AadSolutionProperties", - type: { - name: "Composite", - className: "AadSolutionProperties", - modelProperties: { - deviceVendor: { - serializedName: "deviceVendor", - type: { - name: "String" - } - }, - deviceType: { - serializedName: "deviceType", - type: { - name: "String" - } - }, - workspace: { - serializedName: "workspace", - type: { - name: "Composite", - className: "ConnectedWorkspace" - } - }, - connectivityState: { - serializedName: "connectivityState", - type: { - name: "String" - } + }, + additionalProperties: { + type: { + name: "Object" } } } }; -export const AadExternalSecuritySolution: msRest.CompositeMapper = { - serializedName: "AAD", +export const AlertSimulatorRequestBody: msRest.CompositeMapper = { + serializedName: "AlertSimulatorRequestBody", type: { name: "Composite", - polymorphicDiscriminator: ExternalSecuritySolution.type.polymorphicDiscriminator, - uberParent: "ExternalSecuritySolution", - className: "AadExternalSecuritySolution", + className: "AlertSimulatorRequestBody", modelProperties: { - ...ExternalSecuritySolution.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "AadSolutionProperties" + className: "AlertSimulatorRequestProperties", + additionalProperties: { + type: { + name: "Object" + } + } } } } } }; -export const ExternalSecuritySolutionKind1: msRest.CompositeMapper = { - serializedName: "ExternalSecuritySolutionKind", +export const AlertSimulatorBundlesRequestProperties: msRest.CompositeMapper = { + serializedName: "Bundles", type: { name: "Composite", - className: "ExternalSecuritySolutionKind1", + polymorphicDiscriminator: AlertSimulatorRequestProperties.type.polymorphicDiscriminator, + uberParent: "AlertSimulatorRequestProperties", + className: "AlertSimulatorBundlesRequestProperties", modelProperties: { - kind: { - serializedName: "kind", + ...AlertSimulatorRequestProperties.type.modelProperties, + bundles: { + serializedName: "bundles", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } - } + }, + additionalProperties: AlertSimulatorRequestProperties.type.additionalProperties } }; -export const AadConnectivityState1: msRest.CompositeMapper = { - serializedName: "AadConnectivityState", +export const Setting: msRest.CompositeMapper = { + serializedName: "Setting", type: { name: "Composite", - className: "AadConnectivityState1", + polymorphicDiscriminator: { + serializedName: "kind", + clientName: "kind" + }, + uberParent: "Setting", + className: "Setting", modelProperties: { - connectivityState: { - serializedName: "connectivityState", + ...Resource.type.modelProperties, + kind: { + required: true, + serializedName: "kind", type: { name: "String" } @@ -5255,101 +8371,72 @@ export const AadConnectivityState1: msRest.CompositeMapper = { } }; -export const SecureScoreItem: msRest.CompositeMapper = { - serializedName: "SecureScoreItem", +export const DataExportSettings: msRest.CompositeMapper = { + serializedName: "DataExportSettings", type: { name: "Composite", - className: "SecureScoreItem", + polymorphicDiscriminator: Setting.type.polymorphicDiscriminator, + uberParent: "Setting", + className: "DataExportSettings", modelProperties: { - ...Resource.type.modelProperties, - displayName: { - readOnly: true, - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - max: { - readOnly: true, - serializedName: "properties.score.max", - constraints: { - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - }, - current: { - readOnly: true, - serializedName: "properties.score.current", - constraints: { - InclusiveMinimum: 0 - }, + ...Setting.type.modelProperties, + enabled: { + required: true, + serializedName: "properties.enabled", type: { - name: "Number" + name: "Boolean" } } } } }; -export const SecureScoreControlScore: msRest.CompositeMapper = { - serializedName: "SecureScoreControlScore", +export const AlertSyncSettings: msRest.CompositeMapper = { + serializedName: "AlertSyncSettings", type: { name: "Composite", - className: "SecureScoreControlScore", + polymorphicDiscriminator: Setting.type.polymorphicDiscriminator, + uberParent: "Setting", + className: "AlertSyncSettings", modelProperties: { - max: { - readOnly: true, - serializedName: "max", - constraints: { - InclusiveMaximum: 10, - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - }, - current: { - readOnly: true, - serializedName: "current", - constraints: { - InclusiveMaximum: 10, - InclusiveMinimum: 0 - }, + ...Setting.type.modelProperties, + enabled: { + required: true, + serializedName: "properties.enabled", type: { - name: "Number" + name: "Boolean" } } } } }; -export const SecureScoreControlDefinitionSource: msRest.CompositeMapper = { - serializedName: "SecureScoreControlDefinitionSource", +export const IngestionSetting: msRest.CompositeMapper = { + serializedName: "IngestionSetting", type: { name: "Composite", - className: "SecureScoreControlDefinitionSource", + className: "IngestionSetting", modelProperties: { - sourceType: { - serializedName: "sourceType", + ...Resource.type.modelProperties, + properties: { + serializedName: "properties", type: { - name: "String" + name: "Object" } } } } }; -export const AzureResourceLink: msRest.CompositeMapper = { - serializedName: "AzureResourceLink", +export const IngestionSettingToken: msRest.CompositeMapper = { + serializedName: "IngestionSettingToken", type: { name: "Composite", - className: "AzureResourceLink", + className: "IngestionSettingToken", modelProperties: { - id: { + token: { readOnly: true, - serializedName: "id", + serializedName: "token", type: { name: "String" } @@ -5358,58 +8445,45 @@ export const AzureResourceLink: msRest.CompositeMapper = { } }; -export const SecureScoreControlDefinitionItem: msRest.CompositeMapper = { - serializedName: "SecureScoreControlDefinitionItem", +export const IngestionConnectionString: msRest.CompositeMapper = { + serializedName: "IngestionConnectionString", type: { name: "Composite", - className: "SecureScoreControlDefinitionItem", + className: "IngestionConnectionString", modelProperties: { - ...Resource.type.modelProperties, - displayName: { + location: { readOnly: true, - serializedName: "properties.displayName", + serializedName: "location", type: { name: "String" } }, - description: { + value: { readOnly: true, - serializedName: "properties.description", - constraints: { - MaxLength: 256 - }, + serializedName: "value", type: { name: "String" } - }, - maxScore: { - readOnly: true, - serializedName: "properties.maxScore", - constraints: { - InclusiveMaximum: 10, - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - }, - source: { - readOnly: true, - serializedName: "properties.source", - type: { - name: "Composite", - className: "SecureScoreControlDefinitionSource" - } - }, - assessmentDefinitions: { - readOnly: true, - serializedName: "properties.assessmentDefinitions", + } + } + } +}; + +export const ConnectionStrings: msRest.CompositeMapper = { + serializedName: "ConnectionStrings", + type: { + name: "Composite", + className: "ConnectionStrings", + modelProperties: { + value: { + required: true, + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "AzureResourceLink" + className: "IngestionConnectionString" } } } @@ -5418,123 +8492,63 @@ export const SecureScoreControlDefinitionItem: msRest.CompositeMapper = { } }; -export const SecureScoreControlDetails: msRest.CompositeMapper = { - serializedName: "SecureScoreControlDetails", +export const Software: msRest.CompositeMapper = { + serializedName: "Software", type: { name: "Composite", - className: "SecureScoreControlDetails", + className: "Software", modelProperties: { ...Resource.type.modelProperties, - displayName: { - readOnly: true, - serializedName: "properties.displayName", + deviceId: { + serializedName: "properties.deviceId", type: { name: "String" } }, - max: { - readOnly: true, - serializedName: "properties.score.max", - constraints: { - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - }, - current: { - readOnly: true, - serializedName: "properties.score.current", - constraints: { - InclusiveMinimum: 0 - }, - type: { - name: "Number" - } - }, - healthyResourceCount: { - readOnly: true, - serializedName: "properties.healthyResourceCount", + osPlatform: { + serializedName: "properties.osPlatform", type: { - name: "Number" + name: "String" } }, - unhealthyResourceCount: { - readOnly: true, - serializedName: "properties.unhealthyResourceCount", + vendor: { + serializedName: "properties.vendor", type: { - name: "Number" + name: "String" } }, - notApplicableResourceCount: { - readOnly: true, - serializedName: "properties.notApplicableResourceCount", + softwareName: { + serializedName: "properties.softwareName", type: { - name: "Number" + name: "String" } }, - definition: { - serializedName: "properties.definition", - type: { - name: "Composite", - className: "SecureScoreControlDefinitionItem" - } - } - } - } -}; - -export const ComplianceResultList: msRest.CompositeMapper = { - serializedName: "ComplianceResultList", - type: { - name: "Composite", - className: "ComplianceResultList", - modelProperties: { - value: { - required: true, - serializedName: "", + version: { + serializedName: "properties.version", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ComplianceResult" - } - } + name: "String" } }, - nextLink: { - readOnly: true, - serializedName: "nextLink", + endOfSupportStatus: { + serializedName: "properties.endOfSupportStatus", type: { name: "String" } - } - } - } -}; - -export const AlertList: msRest.CompositeMapper = { - serializedName: "AlertList", - type: { - name: "Composite", - className: "AlertList", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Alert" - } - } + }, + endOfSupportDate: { + serializedName: "properties.endOfSupportDate", + type: { + name: "String" } }, - nextLink: { - readOnly: true, - serializedName: "nextLink", + numberOfKnownVulnerabilities: { + serializedName: "properties.numberOfKnownVulnerabilities", + type: { + name: "Number" + } + }, + firstSeenAt: { + serializedName: "properties.firstSeenAt", type: { name: "String" } @@ -5543,20 +8557,21 @@ export const AlertList: msRest.CompositeMapper = { } }; -export const SettingsList: msRest.CompositeMapper = { - serializedName: "SettingsList", +export const ComplianceResultList: msRest.CompositeMapper = { + serializedName: "ComplianceResultList", type: { name: "Composite", - className: "SettingsList", + className: "ComplianceResultList", modelProperties: { value: { + required: true, serializedName: "", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Setting" + className: "ComplianceResult" } } } @@ -6432,10 +9447,272 @@ export const SecureScoreControlDefinitionList: msRest.CompositeMapper = { } }; +export const SecuritySolutionList: msRest.CompositeMapper = { + serializedName: "SecuritySolutionList", + type: { + name: "Composite", + className: "SecuritySolutionList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecuritySolution" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ConnectorSettingList: msRest.CompositeMapper = { + serializedName: "ConnectorSettingList", + type: { + name: "Composite", + className: "ConnectorSettingList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectorSetting" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DeviceList: msRest.CompositeMapper = { + serializedName: "DeviceList", + type: { + name: "Composite", + className: "DeviceList", + modelProperties: { + value: { + required: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Device" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IotAlertListModel: msRest.CompositeMapper = { + serializedName: "IotAlertListModel", + type: { + name: "Composite", + className: "IotAlertListModel", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IotAlertModel" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IotRecommendationListModel: msRest.CompositeMapper = { + serializedName: "IotRecommendationListModel", + type: { + name: "Composite", + className: "IotRecommendationListModel", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IotRecommendationModel" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const AlertList: msRest.CompositeMapper = { + serializedName: "AlertList", + type: { + name: "Composite", + className: "AlertList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Alert" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const SettingsList: msRest.CompositeMapper = { + serializedName: "SettingsList", + type: { + name: "Composite", + className: "SettingsList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Setting" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const IngestionSettingList: msRest.CompositeMapper = { + serializedName: "IngestionSettingList", + type: { + name: "Composite", + className: "IngestionSettingList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IngestionSetting" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const SoftwaresList: msRest.CompositeMapper = { + serializedName: "SoftwaresList", + type: { + name: "Composite", + className: "SoftwaresList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Software" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const discriminators = { - 'BaseResource.Setting' : Setting, - 'BaseResource.DataExportSettings' : DataExportSettings, - 'BaseResource.SettingResource' : SettingResource, 'CustomAlertRule.ThresholdCustomAlertRule' : ThresholdCustomAlertRule, 'CustomAlertRule.TimeWindowCustomAlertRule' : TimeWindowCustomAlertRule, 'CustomAlertRule.AllowlistCustomAlertRule' : AllowlistCustomAlertRule, @@ -6443,6 +9720,7 @@ export const discriminators = { 'CustomAlertRule' : CustomAlertRule, 'CustomAlertRule.ListCustomAlertRule' : ListCustomAlertRule, 'CustomAlertRule.ConnectionToIpNotAllowed' : ConnectionToIpNotAllowed, + 'CustomAlertRule.ConnectionFromIpNotAllowed' : ConnectionFromIpNotAllowed, 'CustomAlertRule.LocalUserNotAllowed' : LocalUserNotAllowed, 'CustomAlertRule.ProcessNotAllowed' : ProcessNotAllowed, 'CustomAlertRule.ActiveConnectionsNotInAllowedRange' : ActiveConnectionsNotInAllowedRange, @@ -6466,6 +9744,7 @@ export const discriminators = { 'AdditionalData.SqlServerVulnerability' : SqlServerVulnerabilityProperties, 'AdditionalData.ContainerRegistryVulnerability' : ContainerRegistryVulnerabilityProperties, 'AdditionalData.ServerVulnerabilityAssessment' : ServerVulnerabilityProperties, + 'ResourceDetails.OnPremiseSql' : OnPremiseSqlResourceDetails, 'ResourceDetails.OnPremise' : OnPremiseResourceDetails, 'ResourceDetails.Azure' : AzureResourceDetails, 'AutomationAction' : AutomationAction, @@ -6475,6 +9754,18 @@ export const discriminators = { 'ExternalSecuritySolution' : ExternalSecuritySolution, 'ExternalSecuritySolution.CEF' : CefExternalSecuritySolution, 'ExternalSecuritySolution.ATA' : AtaExternalSecuritySolution, - 'ExternalSecuritySolution.AAD' : AadExternalSecuritySolution + 'ExternalSecuritySolution.AAD' : AadExternalSecuritySolution, + 'AuthenticationDetailsProperties' : AuthenticationDetailsProperties, + 'AuthenticationDetailsProperties.awsCreds' : AwsCredsAuthenticationDetailsProperties, + 'AuthenticationDetailsProperties.awsAssumeRole' : AwAssumeRoleAuthenticationDetailsProperties, + 'AuthenticationDetailsProperties.gcpCredentials' : GcpCredentialsDetailsProperties, + 'ResourceIdentifier' : ResourceIdentifier, + 'ResourceIdentifier.AzureResource' : AzureResourceIdentifier, + 'ResourceIdentifier.LogAnalytics' : LogAnalyticsIdentifier, + 'AlertSimulatorRequestProperties' : AlertSimulatorRequestProperties, + 'AlertSimulatorRequestProperties.Bundles' : AlertSimulatorBundlesRequestProperties, + 'Setting' : Setting, + 'Setting.DataExportSettings' : DataExportSettings, + 'Setting.AlertSyncSettings' : AlertSyncSettings }; diff --git a/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts b/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts new file mode 100644 index 000000000000..7e62c67c18c6 --- /dev/null +++ b/sdk/security/arm-security/src/models/onPremiseIotSensorsMappers.ts @@ -0,0 +1,145 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseIotSensorsList, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + ResetPasswordInput, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/operationsMappers.ts b/sdk/security/arm-security/src/models/operationsMappers.ts index 786d9130f59f..583dd59bc975 100644 --- a/sdk/security/arm-security/src/models/operationsMappers.ts +++ b/sdk/security/arm-security/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/parameters.ts b/sdk/security/arm-security/src/models/parameters.ts index f9b159e02557..a22ff0f8d0db 100644 --- a/sdk/security/arm-security/src/models/parameters.ts +++ b/sdk/security/arm-security/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -82,7 +81,7 @@ export const alertsSuppressionRuleName: msRest.OperationURLParameter = { } } }; -export const alertType: msRest.OperationQueryParameter = { +export const alertType0: msRest.OperationQueryParameter = { parameterPath: [ "options", "alertType" @@ -94,6 +93,18 @@ export const alertType: msRest.OperationQueryParameter = { } } }; +export const alertType1: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "alertType" + ], + mapper: { + serializedName: "alertType", + type: { + name: "String" + } + } +}; export const apiVersion0: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { @@ -118,6 +129,66 @@ export const apiVersion1: msRest.OperationQueryParameter = { } } }; +export const apiVersion10: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2020-08-06-preview', + type: { + name: "String" + } + } +}; +export const apiVersion11: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2021-01-01', + type: { + name: "String" + } + } +}; +export const apiVersion12: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2021-06-01', + type: { + name: "String" + } + } +}; +export const apiVersion13: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2021-01-15-preview', + type: { + name: "String" + } + } +}; +export const apiVersion14: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2021-05-01-preview', + type: { + name: "String" + } + } +}; export const apiVersion2: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { @@ -202,6 +273,16 @@ export const apiVersion8: msRest.OperationQueryParameter = { } } }; +export const apiVersion9: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + serializedName: "api-version", + type: { + name: "String" + } + } +}; export const ascLocation: msRest.OperationURLParameter = { parameterPath: "ascLocation", mapper: { @@ -232,18 +313,6 @@ export const assessmentName: msRest.OperationURLParameter = { } } }; -export const autoDismissRuleName: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "autoDismissRuleName" - ], - mapper: { - serializedName: "autoDismissRuleName", - type: { - name: "String" - } - } -}; export const automationName: msRest.OperationURLParameter = { parameterPath: "automationName", mapper: { @@ -274,6 +343,18 @@ export const complianceResultName: msRest.OperationURLParameter = { } } }; +export const compromisedEntity: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "compromisedEntity" + ], + mapper: { + serializedName: "compromisedEntity", + type: { + name: "String" + } + } +}; export const connectionType: msRest.OperationURLParameter = { parameterPath: "connectionType", mapper: { @@ -284,6 +365,50 @@ export const connectionType: msRest.OperationURLParameter = { } } }; +export const connectorName: msRest.OperationURLParameter = { + parameterPath: "connectorName", + mapper: { + required: true, + serializedName: "connectorName", + type: { + name: "String" + } + } +}; +export const deviceId0: msRest.OperationURLParameter = { + parameterPath: "deviceId", + mapper: { + required: true, + serializedName: "deviceId", + type: { + name: "String" + } + } +}; +export const deviceId1: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "deviceId" + ], + mapper: { + serializedName: "deviceId", + type: { + name: "String" + } + } +}; +export const deviceManagementType: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "deviceManagementType" + ], + mapper: { + serializedName: "deviceManagementType", + type: { + name: "String" + } + } +}; export const deviceSecurityGroupName: msRest.OperationURLParameter = { parameterPath: "deviceSecurityGroupName", mapper: { @@ -370,6 +495,66 @@ export const informationProtectionPolicyName: msRest.OperationURLParameter = { } } }; +export const ingestionSettingName: msRest.OperationURLParameter = { + parameterPath: "ingestionSettingName", + mapper: { + required: true, + serializedName: "ingestionSettingName", + type: { + name: "String" + } + } +}; +export const iotAlertId: msRest.OperationURLParameter = { + parameterPath: "iotAlertId", + mapper: { + required: true, + serializedName: "iotAlertId", + type: { + name: "String" + } + } +}; +export const iotAlertTypeName: msRest.OperationURLParameter = { + parameterPath: "iotAlertTypeName", + mapper: { + required: true, + serializedName: "iotAlertTypeName", + type: { + name: "String" + } + } +}; +export const iotRecommendationId: msRest.OperationURLParameter = { + parameterPath: "iotRecommendationId", + mapper: { + required: true, + serializedName: "iotRecommendationId", + type: { + name: "String" + } + } +}; +export const iotRecommendationTypeName: msRest.OperationURLParameter = { + parameterPath: "iotRecommendationTypeName", + mapper: { + required: true, + serializedName: "iotRecommendationTypeName", + type: { + name: "String" + } + } +}; +export const iotSensorName: msRest.OperationURLParameter = { + parameterPath: "iotSensorName", + mapper: { + required: true, + serializedName: "iotSensorName", + type: { + name: "String" + } + } +}; export const jitNetworkAccessPolicyInitiateType: msRest.OperationURLParameter = { parameterPath: "jitNetworkAccessPolicyInitiateType", mapper: { @@ -392,6 +577,42 @@ export const jitNetworkAccessPolicyName: msRest.OperationURLParameter = { } } }; +export const limit: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "limit" + ], + mapper: { + serializedName: "$limit", + type: { + name: "Number" + } + } +}; +export const maxStartTimeUtc: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "maxStartTimeUtc" + ], + mapper: { + serializedName: "startTimeUtc<", + type: { + name: "String" + } + } +}; +export const minStartTimeUtc: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "minStartTimeUtc" + ], + mapper: { + serializedName: "startTimeUtc>", + type: { + name: "String" + } + } +}; export const nextPageLink: msRest.OperationURLParameter = { parameterPath: "nextPageLink", mapper: { @@ -403,6 +624,16 @@ export const nextPageLink: msRest.OperationURLParameter = { }, skipEncoding: true }; +export const onPremiseIotSensorName: msRest.OperationURLParameter = { + parameterPath: "onPremiseIotSensorName", + mapper: { + required: true, + serializedName: "onPremiseIotSensorName", + type: { + name: "String" + } + } +}; export const pricingName: msRest.OperationURLParameter = { parameterPath: "pricingName", mapper: { @@ -413,6 +644,18 @@ export const pricingName: msRest.OperationURLParameter = { } } }; +export const recommendationType: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "recommendationType" + ], + mapper: { + serializedName: "recommendationType", + type: { + name: "String" + } + } +}; export const regulatoryComplianceAssessmentName: msRest.OperationURLParameter = { parameterPath: "regulatoryComplianceAssessmentName", mapper: { @@ -466,7 +709,8 @@ export const resourceId: msRest.OperationURLParameter = { type: { name: "String" } - } + }, + skipEncoding: true }; export const resourceName: msRest.OperationURLParameter = { parameterPath: "resourceName", @@ -498,6 +742,36 @@ export const resourceType: msRest.OperationURLParameter = { } } }; +export const ruleId: msRest.OperationURLParameter = { + parameterPath: "ruleId", + mapper: { + required: true, + serializedName: "ruleId", + type: { + name: "String" + } + } +}; +export const scanId: msRest.OperationURLParameter = { + parameterPath: "scanId", + mapper: { + required: true, + serializedName: "scanId", + type: { + name: "String" + } + } +}; +export const scanResultId: msRest.OperationURLParameter = { + parameterPath: "scanResultId", + mapper: { + required: true, + serializedName: "scanResultId", + type: { + name: "String" + } + } +}; export const scope: msRest.OperationURLParameter = { parameterPath: "scope", mapper: { @@ -506,7 +780,8 @@ export const scope: msRest.OperationURLParameter = { type: { name: "String" } - } + }, + skipEncoding: true }; export const secureScoreName: msRest.OperationURLParameter = { parameterPath: "secureScoreName", @@ -528,13 +803,11 @@ export const securityContactName: msRest.OperationURLParameter = { } } }; -export const select: msRest.OperationQueryParameter = { - parameterPath: [ - "options", - "select" - ], +export const securitySolutionName: msRest.OperationURLParameter = { + parameterPath: "securitySolutionName", mapper: { - serializedName: "$select", + required: true, + serializedName: "securitySolutionName", type: { name: "String" } @@ -556,7 +829,9 @@ export const settingName0: msRest.OperationURLParameter = { parameterPath: "settingName", mapper: { required: true, + isConstant: true, serializedName: "settingName", + defaultValue: 'current', type: { name: "String" } @@ -566,9 +841,29 @@ export const settingName1: msRest.OperationURLParameter = { parameterPath: "settingName", mapper: { required: true, - isConstant: true, serializedName: "settingName", - defaultValue: 'current', + type: { + name: "String" + } + } +}; +export const skipToken: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "skipToken" + ], + mapper: { + serializedName: "$skipToken", + type: { + name: "String" + } + } +}; +export const softwareName: msRest.OperationURLParameter = { + parameterPath: "softwareName", + mapper: { + required: true, + serializedName: "softwareName", type: { name: "String" } @@ -661,6 +956,16 @@ export const topologyResourceName: msRest.OperationURLParameter = { } } }; +export const workspaceId: msRest.OperationQueryParameter = { + parameterPath: "workspaceId", + mapper: { + required: true, + serializedName: "workspaceId", + type: { + name: "String" + } + } +}; export const workspaceSettingName: msRest.OperationURLParameter = { parameterPath: "workspaceSettingName", mapper: { diff --git a/sdk/security/arm-security/src/models/pricingsMappers.ts b/sdk/security/arm-security/src/models/pricingsMappers.ts index 8c0b7e2f63d0..cd5b9ba52653 100644 --- a/sdk/security/arm-security/src/models/pricingsMappers.ts +++ b/sdk/security/arm-security/src/models/pricingsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, PricingList, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts index e7b0eb8c1f54..2aa52938afb9 100644 --- a/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts +++ b/sdk/security/arm-security/src/models/regulatoryComplianceAssessmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceAssessmentList, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts index 4317808f4caa..9b546318a0fb 100644 --- a/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts +++ b/sdk/security/arm-security/src/models/regulatoryComplianceControlsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceControlList, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts b/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts index 55f0fb2e32a0..f71c9be427e1 100644 --- a/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts +++ b/sdk/security/arm-security/src/models/regulatoryComplianceStandardsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,54 +23,92 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, RegulatoryComplianceStandardList, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts b/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts index be7137baa179..ccfb073559a9 100644 --- a/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts +++ b/sdk/security/arm-security/src/models/secureScoreControlDefinitionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionList, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts b/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts index 95ef07ed4ed6..18831f247670 100644 --- a/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts +++ b/sdk/security/arm-security/src/models/secureScoreControlsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/secureScoresMappers.ts b/sdk/security/arm-security/src/models/secureScoresMappers.ts index fad75d0ee288..7a8e2e4fe3e6 100644 --- a/sdk/security/arm-security/src/models/secureScoresMappers.ts +++ b/sdk/security/arm-security/src/models/secureScoresMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/securityContactsMappers.ts b/sdk/security/arm-security/src/models/securityContactsMappers.ts index c55eb989a1e5..d65ed7c3ecf5 100644 --- a/sdk/security/arm-security/src/models/securityContactsMappers.ts +++ b/sdk/security/arm-security/src/models/securityContactsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/securitySolutionsMappers.ts b/sdk/security/arm-security/src/models/securitySolutionsMappers.ts new file mode 100644 index 000000000000..fd2d20d72cfd --- /dev/null +++ b/sdk/security/arm-security/src/models/securitySolutionsMappers.ts @@ -0,0 +1,14 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + CloudError, + SecuritySolution, + SecuritySolutionList +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/securitySolutionsReferenceDataOperationsMappers.ts b/sdk/security/arm-security/src/models/securitySolutionsReferenceDataOperationsMappers.ts new file mode 100644 index 000000000000..67198c4e8267 --- /dev/null +++ b/sdk/security/arm-security/src/models/securitySolutionsReferenceDataOperationsMappers.ts @@ -0,0 +1,14 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + CloudError, + SecuritySolutionsReferenceData, + SecuritySolutionsReferenceDataList +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts b/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts index 6b1483809d9b..3c9889a7549e 100644 --- a/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts +++ b/sdk/security/arm-security/src/models/serverVulnerabilityAssessmentOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -85,11 +123,14 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentsList, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/settingsMappers.ts b/sdk/security/arm-security/src/models/settingsMappers.ts index 9f1dbb8616d5..01ab7cffadc7 100644 --- a/sdk/security/arm-security/src/models/settingsMappers.ts +++ b/sdk/security/arm-security/src/models/settingsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -85,11 +123,14 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, SettingsList, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts b/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts new file mode 100644 index 000000000000..16d53638fabd --- /dev/null +++ b/sdk/security/arm-security/src/models/softwareInventoriesMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SoftwaresList, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts new file mode 100644 index 000000000000..ffa9771f7eb8 --- /dev/null +++ b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentBaselineRulesMappers.ts @@ -0,0 +1,146 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsInput, + RuleResultsProperties, + RulesResults, + RulesResultsInput, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts new file mode 100644 index 000000000000..e410464eff2a --- /dev/null +++ b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScanResultsMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + ScanResults, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts new file mode 100644 index 000000000000..ffc403e3625a --- /dev/null +++ b/sdk/security/arm-security/src/models/sqlVulnerabilityAssessmentScansMappers.ts @@ -0,0 +1,144 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + ActiveConnectionsNotInAllowedRange, + AdaptiveNetworkHardening, + AdditionalData, + AdvancedThreatProtectionSetting, + Alert, + AlertEntity, + AlertsSuppressionRule, + AlertSyncSettings, + AllowlistCustomAlertRule, + AmqpC2DMessagesNotInAllowedRange, + AmqpC2DRejectedMessagesNotInAllowedRange, + AmqpD2CMessagesNotInAllowedRange, + AscLocation, + AssessmentLinks, + AssessmentStatus, + AuthenticationDetailsProperties, + AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, + AzureResourceDetails, + AzureResourceIdentifier, + AzureResourceLink, + Baseline, + BaselineAdjustedResult, + BaseResource, + BenchmarkReference, + CloudError, + Compliance, + ComplianceResult, + ComplianceSegment, + ConnectionFromIpNotAllowed, + ConnectionToIpNotAllowed, + ConnectorSetting, + ContainerRegistryVulnerabilityProperties, + CustomAlertRule, + CVE, + CVSS, + DataExportSettings, + DenylistCustomAlertRule, + Device, + DeviceSecurityGroup, + DirectMethodInvokesNotInAllowedRange, + EffectiveNetworkSecurityGroups, + FailedLocalLoginsNotInAllowedRange, + FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, + HttpC2DMessagesNotInAllowedRange, + HttpC2DRejectedMessagesNotInAllowedRange, + HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, + InformationProtectionKeyword, + InformationProtectionPolicy, + InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, + IoTSecurityAlertedDevice, + IoTSecurityDeviceAlert, + IoTSecurityDeviceRecommendation, + IoTSecuritySolutionAnalyticsModel, + IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, + IoTSeverityMetrics, + IotSitesModel, + IpAddress, + ListCustomAlertRule, + LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, + MqttC2DMessagesNotInAllowedRange, + MqttC2DRejectedMessagesNotInAllowedRange, + MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, + OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, + Pricing, + ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, + QueuePurgesNotInAllowedRange, + RegulatoryComplianceAssessment, + RegulatoryComplianceControl, + RegulatoryComplianceStandard, + Remediation, + Resource, + ResourceDetails, + ResourceIdentifier, + Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, + Scans, + ScopeElement, + SecureScoreControlDefinitionItem, + SecureScoreControlDefinitionSource, + SecureScoreControlDetails, + SecureScoreItem, + SecurityAssessment, + SecurityAssessmentMetadata, + SecurityAssessmentMetadataPartnerData, + SecurityAssessmentMetadataProperties, + SecurityAssessmentPartnerData, + SecurityContact, + SecuritySubAssessment, + SecurityTask, + SecurityTaskParameters, + SensitivityLabel, + Sensor, + ServerVulnerabilityAssessment, + ServerVulnerabilityProperties, + ServicePrincipalProperties, + Setting, + Site, + Software, + SqlServerVulnerabilityProperties, + SubAssessmentStatus, + SuppressionAlertsScope, + ThresholdCustomAlertRule, + TimeWindowCustomAlertRule, + TwinUpdatesNotInAllowedRange, + UnauthorizedOperationsNotInAllowedRange, + VaRule, + VendorReference, + WorkspaceSetting +} from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/subAssessmentsMappers.ts b/sdk/security/arm-security/src/models/subAssessmentsMappers.ts index fb7d8ae47902..5e4c6901a101 100644 --- a/sdk/security/arm-security/src/models/subAssessmentsMappers.ts +++ b/sdk/security/arm-security/src/models/subAssessmentsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/tasksMappers.ts b/sdk/security/arm-security/src/models/tasksMappers.ts index b286ef7f5251..1f079e13f684 100644 --- a/sdk/security/arm-security/src/models/tasksMappers.ts +++ b/sdk/security/arm-security/src/models/tasksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -86,10 +124,13 @@ export { SecurityTaskList, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -97,6 +138,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting } from "../models/mappers"; diff --git a/sdk/security/arm-security/src/models/topologyMappers.ts b/sdk/security/arm-security/src/models/topologyMappers.ts index 80804dc1264b..e4d48be2f7d0 100644 --- a/sdk/security/arm-security/src/models/topologyMappers.ts +++ b/sdk/security/arm-security/src/models/topologyMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts b/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts index 7073a31098ee..15b4b89f160c 100644 --- a/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts +++ b/sdk/security/arm-security/src/models/workspaceSettingsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -13,9 +13,9 @@ export { AdditionalData, AdvancedThreatProtectionSetting, Alert, - AlertConfidenceReason, AlertEntity, AlertsSuppressionRule, + AlertSyncSettings, AllowlistCustomAlertRule, AmqpC2DMessagesNotInAllowedRange, AmqpC2DRejectedMessagesNotInAllowedRange, @@ -23,53 +23,91 @@ export { AscLocation, AssessmentLinks, AssessmentStatus, + AuthenticationDetailsProperties, AutoProvisioningSetting, + AwAssumeRoleAuthenticationDetailsProperties, + AwsCredsAuthenticationDetailsProperties, AzureResourceDetails, + AzureResourceIdentifier, AzureResourceLink, + Baseline, + BaselineAdjustedResult, BaseResource, + BenchmarkReference, CloudError, Compliance, ComplianceResult, ComplianceSegment, + ConnectionFromIpNotAllowed, ConnectionToIpNotAllowed, + ConnectorSetting, ContainerRegistryVulnerabilityProperties, CustomAlertRule, CVE, CVSS, DataExportSettings, DenylistCustomAlertRule, + Device, DeviceSecurityGroup, DirectMethodInvokesNotInAllowedRange, EffectiveNetworkSecurityGroups, FailedLocalLoginsNotInAllowedRange, FileUploadsNotInAllowedRange, + Firmware, + GcpCredentialsDetailsProperties, HttpC2DMessagesNotInAllowedRange, HttpC2DRejectedMessagesNotInAllowedRange, HttpD2CMessagesNotInAllowedRange, + HybridComputeSettingsProperties, InformationProtectionKeyword, InformationProtectionPolicy, InformationType, + IngestionSetting, + IotAlertModel, + IotAlertType, + IotDefenderSettingsModel, + IotRecommendationModel, + IotRecommendationType, IoTSecurityAlertedDevice, IoTSecurityDeviceAlert, IoTSecurityDeviceRecommendation, IoTSecuritySolutionAnalyticsModel, IoTSecuritySolutionAnalyticsModelPropertiesDevicesMetricsItem, + IotSensorsModel, IoTSeverityMetrics, + IotSitesModel, + IpAddress, ListCustomAlertRule, LocalUserNotAllowed, + LogAnalyticsIdentifier, + MacAddress, MqttC2DMessagesNotInAllowedRange, MqttC2DRejectedMessagesNotInAllowedRange, MqttD2CMessagesNotInAllowedRange, + NetworkInterface, + OnPremiseIotSensor, OnPremiseResourceDetails, + OnPremiseSqlResourceDetails, Pricing, ProcessNotAllowed, + Protocol1, + ProxyServerProperties, + QueryCheck, QueuePurgesNotInAllowedRange, RegulatoryComplianceAssessment, RegulatoryComplianceControl, RegulatoryComplianceStandard, + Remediation, Resource, ResourceDetails, + ResourceIdentifier, Rule, + RuleResults, + RuleResultsProperties, + Scan, + ScanProperties, + ScanResult, + ScanResultProperties, ScopeElement, SecureScoreControlDefinitionItem, SecureScoreControlDefinitionSource, @@ -85,10 +123,13 @@ export { SecurityTask, SecurityTaskParameters, SensitivityLabel, + Sensor, ServerVulnerabilityAssessment, ServerVulnerabilityProperties, + ServicePrincipalProperties, Setting, - SettingResource, + Site, + Software, SqlServerVulnerabilityProperties, SubAssessmentStatus, SuppressionAlertsScope, @@ -96,6 +137,7 @@ export { TimeWindowCustomAlertRule, TwinUpdatesNotInAllowedRange, UnauthorizedOperationsNotInAllowedRange, + VaRule, VendorReference, WorkspaceSetting, WorkspaceSettingList diff --git a/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts b/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts index 8260930d328a..14a11210a0fc 100644 --- a/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts +++ b/sdk/security/arm-security/src/operations/adaptiveApplicationControls.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,7 +26,7 @@ export class AdaptiveApplicationControls { } /** - * Gets a list of application control VM/server groups for the subscription. + * Gets a list of application control machine groups for the subscription. * @param [options] The optional parameters * @returns Promise */ @@ -35,13 +34,13 @@ export class AdaptiveApplicationControls { /** * @param callback The callback */ - list(callback: msRest.ServiceCallback): void; + list(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ - list(options: Models.AdaptiveApplicationControlsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.AdaptiveApplicationControlsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + list(options: Models.AdaptiveApplicationControlsListOptionalParams, callback: msRest.ServiceCallback): void; + list(options?: Models.AdaptiveApplicationControlsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -52,23 +51,23 @@ export class AdaptiveApplicationControls { /** * Gets an application control VM/server group. - * @param groupName Name of an application control VM/server group + * @param groupName Name of an application control machine group * @param [options] The optional parameters * @returns Promise */ get(groupName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param groupName Name of an application control VM/server group + * @param groupName Name of an application control machine group * @param callback The callback */ - get(groupName: string, callback: msRest.ServiceCallback): void; + get(groupName: string, callback: msRest.ServiceCallback): void; /** - * @param groupName Name of an application control VM/server group + * @param groupName Name of an application control machine group * @param options The optional parameters * @param callback The callback */ - get(groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + get(groupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(groupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { groupName, @@ -79,27 +78,27 @@ export class AdaptiveApplicationControls { } /** - * Update an application control VM/server group - * @param groupName Name of an application control VM/server group + * Update an application control machine group + * @param groupName Name of an application control machine group * @param body * @param [options] The optional parameters * @returns Promise */ - put(groupName: string, body: Models.AppWhitelistingGroup, options?: msRest.RequestOptionsBase): Promise; + put(groupName: string, body: Models.AdaptiveApplicationControlGroup, options?: msRest.RequestOptionsBase): Promise; /** - * @param groupName Name of an application control VM/server group + * @param groupName Name of an application control machine group * @param body * @param callback The callback */ - put(groupName: string, body: Models.AppWhitelistingGroup, callback: msRest.ServiceCallback): void; + put(groupName: string, body: Models.AdaptiveApplicationControlGroup, callback: msRest.ServiceCallback): void; /** - * @param groupName Name of an application control VM/server group + * @param groupName Name of an application control machine group * @param body * @param options The optional parameters * @param callback The callback */ - put(groupName: string, body: Models.AppWhitelistingGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - put(groupName: string, body: Models.AppWhitelistingGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + put(groupName: string, body: Models.AdaptiveApplicationControlGroup, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + put(groupName: string, body: Models.AdaptiveApplicationControlGroup, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { groupName, @@ -111,19 +110,19 @@ export class AdaptiveApplicationControls { } /** - * Delete an application control VM/server group - * @param groupName Name of an application control VM/server group + * Delete an application control machine group + * @param groupName Name of an application control machine group * @param [options] The optional parameters * @returns Promise */ deleteMethod(groupName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param groupName Name of an application control VM/server group + * @param groupName Name of an application control machine group * @param callback The callback */ deleteMethod(groupName: string, callback: msRest.ServiceCallback): void; /** - * @param groupName Name of an application control VM/server group + * @param groupName Name of an application control machine group * @param options The optional parameters * @param callback The callback */ @@ -157,7 +156,7 @@ const listOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.AppWhitelistingGroups + bodyMapper: Mappers.AdaptiveApplicationControlGroups }, default: { bodyMapper: Mappers.CloudError @@ -182,7 +181,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.AppWhitelistingGroup + bodyMapper: Mappers.AdaptiveApplicationControlGroup }, default: { bodyMapper: Mappers.CloudError @@ -208,13 +207,13 @@ const putOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "body", mapper: { - ...Mappers.AppWhitelistingGroup, + ...Mappers.AdaptiveApplicationControlGroup, required: true } }, responses: { 200: { - bodyMapper: Mappers.AppWhitelistingGroup + bodyMapper: Mappers.AdaptiveApplicationControlGroup }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/security/arm-security/src/operations/adaptiveNetworkHardenings.ts b/sdk/security/arm-security/src/operations/adaptiveNetworkHardenings.ts index c46277aaafee..c4878b87fbf7 100644 --- a/sdk/security/arm-security/src/operations/adaptiveNetworkHardenings.ts +++ b/sdk/security/arm-security/src/operations/adaptiveNetworkHardenings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -289,6 +288,9 @@ const listByExtendedResourceNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/advancedThreatProtection.ts b/sdk/security/arm-security/src/operations/advancedThreatProtection.ts index e46de5f02a25..085123332b48 100644 --- a/sdk/security/arm-security/src/operations/advancedThreatProtection.ts +++ b/sdk/security/arm-security/src/operations/advancedThreatProtection.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -94,7 +93,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "{resourceId}/providers/Microsoft.Security/advancedThreatProtectionSettings/{settingName}", urlParameters: [ Parameters.resourceId, - Parameters.settingName1 + Parameters.settingName0 ], queryParameters: [ Parameters.apiVersion2 @@ -118,7 +117,7 @@ const createOperationSpec: msRest.OperationSpec = { path: "{resourceId}/providers/Microsoft.Security/advancedThreatProtectionSettings/{settingName}", urlParameters: [ Parameters.resourceId, - Parameters.settingName1 + Parameters.settingName0 ], queryParameters: [ Parameters.apiVersion2 diff --git a/sdk/security/arm-security/src/operations/alerts.ts b/sdk/security/arm-security/src/operations/alerts.ts index cff6bc8b0bd5..12abd12e522a 100644 --- a/sdk/security/arm-security/src/operations/alerts.ts +++ b/sdk/security/arm-security/src/operations/alerts.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/alertsMappers"; import * as Parameters from "../models/parameters"; @@ -31,7 +31,7 @@ export class Alerts { * @param [options] The optional parameters * @returns Promise */ - list(options?: Models.AlertsListOptionalParams): Promise; + list(options?: msRest.RequestOptionsBase): Promise; /** * @param callback The callback */ @@ -40,8 +40,8 @@ export class Alerts { * @param options The optional parameters * @param callback The callback */ - list(options: Models.AlertsListOptionalParams, callback: msRest.ServiceCallback): void; - list(options?: Models.AlertsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options @@ -57,7 +57,7 @@ export class Alerts { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroup(resourceGroupName: string, options?: Models.AlertsListByResourceGroupOptionalParams): Promise; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. @@ -70,8 +70,8 @@ export class Alerts { * @param options The optional parameters * @param callback The callback */ - listByResourceGroup(resourceGroupName: string, options: Models.AlertsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback): void; - listByResourceGroup(resourceGroupName: string, options?: Models.AlertsListByResourceGroupOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -85,25 +85,25 @@ export class Alerts { * List all the alerts that are associated with the subscription that are stored in a specific * location * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listSubscriptionLevelAlertsByRegion(options?: Models.AlertsListSubscriptionLevelAlertsByRegionOptionalParams): Promise; + listSubscriptionLevelByRegion(options?: msRest.RequestOptionsBase): Promise; /** * @param callback The callback */ - listSubscriptionLevelAlertsByRegion(callback: msRest.ServiceCallback): void; + listSubscriptionLevelByRegion(callback: msRest.ServiceCallback): void; /** * @param options The optional parameters * @param callback The callback */ - listSubscriptionLevelAlertsByRegion(options: Models.AlertsListSubscriptionLevelAlertsByRegionOptionalParams, callback: msRest.ServiceCallback): void; - listSubscriptionLevelAlertsByRegion(options?: Models.AlertsListSubscriptionLevelAlertsByRegionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSubscriptionLevelByRegion(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSubscriptionLevelByRegion(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { options }, - listSubscriptionLevelAlertsByRegionOperationSpec, - callback) as Promise; + listSubscriptionLevelByRegionOperationSpec, + callback) as Promise; } /** @@ -112,58 +112,58 @@ export class Alerts { * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listResourceGroupLevelAlertsByRegion(resourceGroupName: string, options?: Models.AlertsListResourceGroupLevelAlertsByRegionOptionalParams): Promise; + listResourceGroupLevelByRegion(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. * @param callback The callback */ - listResourceGroupLevelAlertsByRegion(resourceGroupName: string, callback: msRest.ServiceCallback): void; + listResourceGroupLevelByRegion(resourceGroupName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. * @param options The optional parameters * @param callback The callback */ - listResourceGroupLevelAlertsByRegion(resourceGroupName: string, options: Models.AlertsListResourceGroupLevelAlertsByRegionOptionalParams, callback: msRest.ServiceCallback): void; - listResourceGroupLevelAlertsByRegion(resourceGroupName: string, options?: Models.AlertsListResourceGroupLevelAlertsByRegionOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listResourceGroupLevelByRegion(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listResourceGroupLevelByRegion(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, options }, - listResourceGroupLevelAlertsByRegionOperationSpec, - callback) as Promise; + listResourceGroupLevelByRegionOperationSpec, + callback) as Promise; } /** * Get an alert that is associated with a subscription * @param alertName Name of the alert object * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - getSubscriptionLevelAlert(alertName: string, options?: msRest.RequestOptionsBase): Promise; + getSubscriptionLevel(alertName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param alertName Name of the alert object * @param callback The callback */ - getSubscriptionLevelAlert(alertName: string, callback: msRest.ServiceCallback): void; + getSubscriptionLevel(alertName: string, callback: msRest.ServiceCallback): void; /** * @param alertName Name of the alert object * @param options The optional parameters * @param callback The callback */ - getSubscriptionLevelAlert(alertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getSubscriptionLevelAlert(alertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getSubscriptionLevel(alertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSubscriptionLevel(alertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { alertName, options }, - getSubscriptionLevelAlertOperationSpec, - callback) as Promise; + getSubscriptionLevelOperationSpec, + callback) as Promise; } /** @@ -172,16 +172,16 @@ export class Alerts { * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - getResourceGroupLevelAlerts(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + getResourceGroupLevel(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param alertName Name of the alert object * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. * @param callback The callback */ - getResourceGroupLevelAlerts(alertName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + getResourceGroupLevel(alertName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; /** * @param alertName Name of the alert object * @param resourceGroupName The name of the resource group within the user's subscription. The name @@ -189,16 +189,16 @@ export class Alerts { * @param options The optional parameters * @param callback The callback */ - getResourceGroupLevelAlerts(alertName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - getResourceGroupLevelAlerts(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + getResourceGroupLevel(alertName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getResourceGroupLevel(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { alertName, resourceGroupName, options }, - getResourceGroupLevelAlertsOperationSpec, - callback) as Promise; + getResourceGroupLevelOperationSpec, + callback) as Promise; } /** @@ -207,25 +207,25 @@ export class Alerts { * @param [options] The optional parameters * @returns Promise */ - updateSubscriptionLevelAlertStateToDismiss(alertName: string, options?: msRest.RequestOptionsBase): Promise; + updateSubscriptionLevelStateToDismiss(alertName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param alertName Name of the alert object * @param callback The callback */ - updateSubscriptionLevelAlertStateToDismiss(alertName: string, callback: msRest.ServiceCallback): void; + updateSubscriptionLevelStateToDismiss(alertName: string, callback: msRest.ServiceCallback): void; /** * @param alertName Name of the alert object * @param options The optional parameters * @param callback The callback */ - updateSubscriptionLevelAlertStateToDismiss(alertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSubscriptionLevelAlertStateToDismiss(alertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + updateSubscriptionLevelStateToDismiss(alertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateSubscriptionLevelStateToDismiss(alertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { alertName, options }, - updateSubscriptionLevelAlertStateToDismissOperationSpec, + updateSubscriptionLevelStateToDismissOperationSpec, callback); } @@ -235,25 +235,88 @@ export class Alerts { * @param [options] The optional parameters * @returns Promise */ - updateSubscriptionLevelAlertStateToReactivate(alertName: string, options?: msRest.RequestOptionsBase): Promise; + updateSubscriptionLevelStateToResolve(alertName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param alertName Name of the alert object * @param callback The callback */ - updateSubscriptionLevelAlertStateToReactivate(alertName: string, callback: msRest.ServiceCallback): void; + updateSubscriptionLevelStateToResolve(alertName: string, callback: msRest.ServiceCallback): void; /** * @param alertName Name of the alert object * @param options The optional parameters * @param callback The callback */ - updateSubscriptionLevelAlertStateToReactivate(alertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateSubscriptionLevelAlertStateToReactivate(alertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + updateSubscriptionLevelStateToResolve(alertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateSubscriptionLevelStateToResolve(alertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { alertName, options }, - updateSubscriptionLevelAlertStateToReactivateOperationSpec, + updateSubscriptionLevelStateToResolveOperationSpec, + callback); + } + + /** + * Update the alert's state + * @param alertName Name of the alert object + * @param [options] The optional parameters + * @returns Promise + */ + updateSubscriptionLevelStateToActivate(alertName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param alertName Name of the alert object + * @param callback The callback + */ + updateSubscriptionLevelStateToActivate(alertName: string, callback: msRest.ServiceCallback): void; + /** + * @param alertName Name of the alert object + * @param options The optional parameters + * @param callback The callback + */ + updateSubscriptionLevelStateToActivate(alertName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateSubscriptionLevelStateToActivate(alertName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + alertName, + options + }, + updateSubscriptionLevelStateToActivateOperationSpec, + callback); + } + + /** + * Update the alert's state + * @param alertName Name of the alert object + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param [options] The optional parameters + * @returns Promise + */ + updateResourceGroupLevelStateToResolve(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param alertName Name of the alert object + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param callback The callback + */ + updateResourceGroupLevelStateToResolve(alertName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param alertName Name of the alert object + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param options The optional parameters + * @param callback The callback + */ + updateResourceGroupLevelStateToResolve(alertName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateResourceGroupLevelStateToResolve(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + alertName, + resourceGroupName, + options + }, + updateResourceGroupLevelStateToResolveOperationSpec, callback); } @@ -265,14 +328,14 @@ export class Alerts { * @param [options] The optional parameters * @returns Promise */ - updateResourceGroupLevelAlertStateToDismiss(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + updateResourceGroupLevelStateToDismiss(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param alertName Name of the alert object * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. * @param callback The callback */ - updateResourceGroupLevelAlertStateToDismiss(alertName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + updateResourceGroupLevelStateToDismiss(alertName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; /** * @param alertName Name of the alert object * @param resourceGroupName The name of the resource group within the user's subscription. The name @@ -280,15 +343,15 @@ export class Alerts { * @param options The optional parameters * @param callback The callback */ - updateResourceGroupLevelAlertStateToDismiss(alertName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateResourceGroupLevelAlertStateToDismiss(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + updateResourceGroupLevelStateToDismiss(alertName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateResourceGroupLevelStateToDismiss(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { alertName, resourceGroupName, options }, - updateResourceGroupLevelAlertStateToDismissOperationSpec, + updateResourceGroupLevelStateToDismissOperationSpec, callback); } @@ -300,14 +363,14 @@ export class Alerts { * @param [options] The optional parameters * @returns Promise */ - updateResourceGroupLevelAlertStateToReactivate(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + updateResourceGroupLevelStateToActivate(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param alertName Name of the alert object * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. * @param callback The callback */ - updateResourceGroupLevelAlertStateToReactivate(alertName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + updateResourceGroupLevelStateToActivate(alertName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; /** * @param alertName Name of the alert object * @param resourceGroupName The name of the resource group within the user's subscription. The name @@ -315,18 +378,45 @@ export class Alerts { * @param options The optional parameters * @param callback The callback */ - updateResourceGroupLevelAlertStateToReactivate(alertName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateResourceGroupLevelAlertStateToReactivate(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + updateResourceGroupLevelStateToActivate(alertName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateResourceGroupLevelStateToActivate(alertName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { alertName, resourceGroupName, options }, - updateResourceGroupLevelAlertStateToReactivateOperationSpec, + updateResourceGroupLevelStateToActivateOperationSpec, callback); } + /** + * Simulate security alerts + * @param alertSimulatorRequestBody Alert Simulator Request Properties + * @param [options] The optional parameters + * @returns Promise + */ + simulate(alertSimulatorRequestBody: Models.AlertSimulatorRequestBody, options?: msRest.RequestOptionsBase): Promise { + return this.beginSimulate(alertSimulatorRequestBody,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Simulate security alerts + * @param alertSimulatorRequestBody Alert Simulator Request Properties + * @param [options] The optional parameters + * @returns Promise + */ + beginSimulate(alertSimulatorRequestBody: Models.AlertSimulatorRequestBody, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + alertSimulatorRequestBody, + options + }, + beginSimulateOperationSpec, + options); + } + /** * List all the alerts that are associated with the subscription * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -388,28 +478,28 @@ export class Alerts { * location * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listSubscriptionLevelAlertsByRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listSubscriptionLevelByRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listSubscriptionLevelAlertsByRegionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listSubscriptionLevelByRegionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listSubscriptionLevelAlertsByRegionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listSubscriptionLevelAlertsByRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listSubscriptionLevelByRegionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSubscriptionLevelByRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listSubscriptionLevelAlertsByRegionNextOperationSpec, - callback) as Promise; + listSubscriptionLevelByRegionNextOperationSpec, + callback) as Promise; } /** @@ -417,28 +507,28 @@ export class Alerts { * location * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listResourceGroupLevelAlertsByRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listResourceGroupLevelByRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ - listResourceGroupLevelAlertsByRegionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + listResourceGroupLevelByRegionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ - listResourceGroupLevelAlertsByRegionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listResourceGroupLevelAlertsByRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listResourceGroupLevelByRegionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listResourceGroupLevelByRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, options }, - listResourceGroupLevelAlertsByRegionNextOperationSpec, - callback) as Promise; + listResourceGroupLevelByRegionNextOperationSpec, + callback) as Promise; } } @@ -451,11 +541,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2, - Parameters.filter, - Parameters.select, - Parameters.expand, - Parameters.autoDismissRuleName + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -479,11 +565,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion2, - Parameters.filter, - Parameters.select, - Parameters.expand, - Parameters.autoDismissRuleName + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -499,7 +581,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { serializer }; -const listSubscriptionLevelAlertsByRegionOperationSpec: msRest.OperationSpec = { +const listSubscriptionLevelByRegionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts", urlParameters: [ @@ -507,11 +589,7 @@ const listSubscriptionLevelAlertsByRegionOperationSpec: msRest.OperationSpec = { Parameters.ascLocation ], queryParameters: [ - Parameters.apiVersion2, - Parameters.filter, - Parameters.select, - Parameters.expand, - Parameters.autoDismissRuleName + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -527,7 +605,7 @@ const listSubscriptionLevelAlertsByRegionOperationSpec: msRest.OperationSpec = { serializer }; -const listResourceGroupLevelAlertsByRegionOperationSpec: msRest.OperationSpec = { +const listResourceGroupLevelByRegionOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts", urlParameters: [ @@ -536,11 +614,7 @@ const listResourceGroupLevelAlertsByRegionOperationSpec: msRest.OperationSpec = Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion2, - Parameters.filter, - Parameters.select, - Parameters.expand, - Parameters.autoDismissRuleName + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -556,7 +630,7 @@ const listResourceGroupLevelAlertsByRegionOperationSpec: msRest.OperationSpec = serializer }; -const getSubscriptionLevelAlertOperationSpec: msRest.OperationSpec = { +const getSubscriptionLevelOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}", urlParameters: [ @@ -565,7 +639,7 @@ const getSubscriptionLevelAlertOperationSpec: msRest.OperationSpec = { Parameters.alertName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -581,7 +655,7 @@ const getSubscriptionLevelAlertOperationSpec: msRest.OperationSpec = { serializer }; -const getResourceGroupLevelAlertsOperationSpec: msRest.OperationSpec = { +const getResourceGroupLevelOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}", urlParameters: [ @@ -591,7 +665,7 @@ const getResourceGroupLevelAlertsOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -607,7 +681,7 @@ const getResourceGroupLevelAlertsOperationSpec: msRest.OperationSpec = { serializer }; -const updateSubscriptionLevelAlertStateToDismissOperationSpec: msRest.OperationSpec = { +const updateSubscriptionLevelStateToDismissOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss", urlParameters: [ @@ -616,7 +690,30 @@ const updateSubscriptionLevelAlertStateToDismissOperationSpec: msRest.OperationS Parameters.alertName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion11 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateSubscriptionLevelStateToResolveOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/resolve", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ascLocation, + Parameters.alertName + ], + queryParameters: [ + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -630,16 +727,40 @@ const updateSubscriptionLevelAlertStateToDismissOperationSpec: msRest.OperationS serializer }; -const updateSubscriptionLevelAlertStateToReactivateOperationSpec: msRest.OperationSpec = { +const updateSubscriptionLevelStateToActivateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate", urlParameters: [ Parameters.subscriptionId, Parameters.ascLocation, Parameters.alertName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion11 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateResourceGroupLevelStateToResolveOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/resolve", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ascLocation, + Parameters.alertName, + Parameters.resourceGroupName + ], + queryParameters: [ + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -653,7 +774,7 @@ const updateSubscriptionLevelAlertStateToReactivateOperationSpec: msRest.Operati serializer }; -const updateResourceGroupLevelAlertStateToDismissOperationSpec: msRest.OperationSpec = { +const updateResourceGroupLevelStateToDismissOperationSpec: msRest.OperationSpec = { httpMethod: "POST", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/dismiss", urlParameters: [ @@ -663,7 +784,7 @@ const updateResourceGroupLevelAlertStateToDismissOperationSpec: msRest.Operation Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -677,9 +798,9 @@ const updateResourceGroupLevelAlertStateToDismissOperationSpec: msRest.Operation serializer }; -const updateResourceGroupLevelAlertStateToReactivateOperationSpec: msRest.OperationSpec = { +const updateResourceGroupLevelStateToActivateOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/reactivate", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}/activate", urlParameters: [ Parameters.subscriptionId, Parameters.ascLocation, @@ -687,7 +808,7 @@ const updateResourceGroupLevelAlertStateToReactivateOperationSpec: msRest.Operat Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion11 ], headerParameters: [ Parameters.acceptLanguage @@ -701,6 +822,35 @@ const updateResourceGroupLevelAlertStateToReactivateOperationSpec: msRest.Operat serializer }; +const beginSimulateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/default/simulate", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ascLocation + ], + queryParameters: [ + Parameters.apiVersion11 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "alertSimulatorRequestBody", + mapper: { + ...Mappers.AlertSimulatorRequestBody, + required: true + } + }, + responses: { + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -708,6 +858,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion11 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -729,6 +882,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion11 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -743,13 +899,16 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { serializer }; -const listSubscriptionLevelAlertsByRegionNextOperationSpec: msRest.OperationSpec = { +const listSubscriptionLevelByRegionNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion11 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -764,13 +923,16 @@ const listSubscriptionLevelAlertsByRegionNextOperationSpec: msRest.OperationSpec serializer }; -const listResourceGroupLevelAlertsByRegionNextOperationSpec: msRest.OperationSpec = { +const listResourceGroupLevelByRegionNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", path: "{nextLink}", urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion11 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/alertsSuppressionRules.ts b/sdk/security/arm-security/src/operations/alertsSuppressionRules.ts index edd98341ab97..ddf94725c6ab 100644 --- a/sdk/security/arm-security/src/operations/alertsSuppressionRules.ts +++ b/sdk/security/arm-security/src/operations/alertsSuppressionRules.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -144,7 +143,7 @@ export class AlertsSuppressionRules { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.AlertsSuppressionRulesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -155,8 +154,8 @@ export class AlertsSuppressionRules { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.AlertsSuppressionRulesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.AlertsSuppressionRulesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -177,7 +176,7 @@ const listOperationSpec: msRest.OperationSpec = { ], queryParameters: [ Parameters.apiVersion6, - Parameters.alertType + Parameters.alertType0 ], headerParameters: [ Parameters.acceptLanguage @@ -277,6 +276,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6, + Parameters.alertType0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/allowedConnections.ts b/sdk/security/arm-security/src/operations/allowedConnections.ts index 3c24f44ef537..8fdcb9047656 100644 --- a/sdk/security/arm-security/src/operations/allowedConnections.ts +++ b/sdk/security/arm-security/src/operations/allowedConnections.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -252,6 +251,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -273,6 +275,9 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/assessments.ts b/sdk/security/arm-security/src/operations/assessments.ts index f189faf56043..fc98748d377d 100644 --- a/sdk/security/arm-security/src/operations/assessments.ts +++ b/sdk/security/arm-security/src/operations/assessments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -305,6 +304,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/assessmentsMetadata.ts b/sdk/security/arm-security/src/operations/assessmentsMetadata.ts index 2413fa98e36f..94c0216a7bbc 100644 --- a/sdk/security/arm-security/src/operations/assessmentsMetadata.ts +++ b/sdk/security/arm-security/src/operations/assessmentsMetadata.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -400,6 +399,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -421,6 +423,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts b/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts index 352f1989c6d3..4047123752c2 100644 --- a/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts +++ b/sdk/security/arm-security/src/operations/autoProvisioningSettings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -169,7 +168,7 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}", urlParameters: [ Parameters.subscriptionId, - Parameters.settingName0 + Parameters.settingName1 ], queryParameters: [ Parameters.apiVersion5 @@ -193,7 +192,7 @@ const createOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}", urlParameters: [ Parameters.subscriptionId, - Parameters.settingName0 + Parameters.settingName1 ], queryParameters: [ Parameters.apiVersion5 @@ -226,6 +225,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/automations.ts b/sdk/security/arm-security/src/operations/automations.ts index 087e3abb5def..7efe058ef121 100644 --- a/sdk/security/arm-security/src/operations/automations.ts +++ b/sdk/security/arm-security/src/operations/automations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -463,6 +462,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -484,6 +486,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/complianceResults.ts b/sdk/security/arm-security/src/operations/complianceResults.ts index 66c2d16295d4..66b2c70beaf6 100644 --- a/sdk/security/arm-security/src/operations/complianceResults.ts +++ b/sdk/security/arm-security/src/operations/complianceResults.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -177,6 +176,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/compliances.ts b/sdk/security/arm-security/src/operations/compliances.ts index 951f8b8f7abb..03142366fd78 100644 --- a/sdk/security/arm-security/src/operations/compliances.ts +++ b/sdk/security/arm-security/src/operations/compliances.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -183,6 +182,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/connectors.ts b/sdk/security/arm-security/src/operations/connectors.ts new file mode 100644 index 000000000000..c54625cfcef6 --- /dev/null +++ b/sdk/security/arm-security/src/operations/connectors.ts @@ -0,0 +1,296 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/connectorsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a Connectors. */ +export class Connectors { + private readonly client: SecurityCenterContext; + + /** + * Create a Connectors. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Cloud accounts connectors of a subscription + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Details of a specific cloud account connector + * @param connectorName Name of the cloud account connector + * @param [options] The optional parameters + * @returns Promise + */ + get(connectorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param connectorName Name of the cloud account connector + * @param callback The callback + */ + get(connectorName: string, callback: msRest.ServiceCallback): void; + /** + * @param connectorName Name of the cloud account connector + * @param options The optional parameters + * @param callback The callback + */ + get(connectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(connectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + connectorName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create a cloud account connector or update an existing one. Connect to your cloud account. For + * AWS, use either account credentials or role-based authentication. For GCP, use account + * organization credentials. + * @param connectorName Name of the cloud account connector + * @param connectorSetting Settings for the cloud account connector + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(connectorName: string, connectorSetting: Models.ConnectorSetting, options?: msRest.RequestOptionsBase): Promise; + /** + * @param connectorName Name of the cloud account connector + * @param connectorSetting Settings for the cloud account connector + * @param callback The callback + */ + createOrUpdate(connectorName: string, connectorSetting: Models.ConnectorSetting, callback: msRest.ServiceCallback): void; + /** + * @param connectorName Name of the cloud account connector + * @param connectorSetting Settings for the cloud account connector + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(connectorName: string, connectorSetting: Models.ConnectorSetting, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(connectorName: string, connectorSetting: Models.ConnectorSetting, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + connectorName, + connectorSetting, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Delete a cloud account connector from a subscription + * @param connectorName Name of the cloud account connector + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(connectorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param connectorName Name of the cloud account connector + * @param callback The callback + */ + deleteMethod(connectorName: string, callback: msRest.ServiceCallback): void; + /** + * @param connectorName Name of the cloud account connector + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(connectorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(connectorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + connectorName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Cloud accounts connectors of a subscription + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ConnectorSettingList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.connectorName + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ConnectorSetting + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.connectorName + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "connectorSetting", + mapper: { + ...Mappers.ConnectorSetting, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ConnectorSetting + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.connectorName + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion8 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ConnectorSettingList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/deviceOperations.ts b/sdk/security/arm-security/src/operations/deviceOperations.ts new file mode 100644 index 000000000000..d0bb106a779a --- /dev/null +++ b/sdk/security/arm-security/src/operations/deviceOperations.ts @@ -0,0 +1,85 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/deviceOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a DeviceOperations. */ +export class DeviceOperations { + private readonly client: SecurityCenterContext; + + /** + * Create a DeviceOperations. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Get device. + * @param resourceId The identifier of the resource. + * @param deviceId Identifier of the device. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceId: string, deviceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceId The identifier of the resource. + * @param deviceId Identifier of the device. + * @param callback The callback + */ + get(resourceId: string, deviceId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceId The identifier of the resource. + * @param deviceId Identifier of the device. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceId: string, deviceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceId: string, deviceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceId, + deviceId, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{resourceId}/providers/Microsoft.Security/devices/{deviceId}", + urlParameters: [ + Parameters.resourceId, + Parameters.deviceId0 + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Device + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/deviceSecurityGroups.ts b/sdk/security/arm-security/src/operations/deviceSecurityGroups.ts index 8906c9565522..d4260ab33cdd 100644 --- a/sdk/security/arm-security/src/operations/deviceSecurityGroups.ts +++ b/sdk/security/arm-security/src/operations/deviceSecurityGroups.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -305,6 +304,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/devicesForHub.ts b/sdk/security/arm-security/src/operations/devicesForHub.ts new file mode 100644 index 000000000000..d065ae684345 --- /dev/null +++ b/sdk/security/arm-security/src/operations/devicesForHub.ts @@ -0,0 +1,138 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/devicesForHubMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a DevicesForHub. */ +export class DevicesForHub { + private readonly client: SecurityCenterContext; + + /** + * Create a DevicesForHub. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Get list of the devices for the specified IoT Hub resource. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceId: string, options?: Models.DevicesForHubListOptionalParams): Promise; + /** + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + list(resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceId: string, options: Models.DevicesForHubListOptionalParams, callback: msRest.ServiceCallback): void; + list(resourceId: string, options?: Models.DevicesForHubListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceId, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get list of the devices for the specified IoT Hub resource. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.DevicesForHubListNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: Models.DevicesForHubListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.DevicesForHubListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{resourceId}/providers/Microsoft.Security/devices", + urlParameters: [ + Parameters.resourceId + ], + queryParameters: [ + Parameters.apiVersion10, + Parameters.limit, + Parameters.skipToken, + Parameters.deviceManagementType + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DeviceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion10, + Parameters.limit, + Parameters.skipToken, + Parameters.deviceManagementType + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DeviceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/devicesForSubscription.ts b/sdk/security/arm-security/src/operations/devicesForSubscription.ts new file mode 100644 index 000000000000..171c91d18082 --- /dev/null +++ b/sdk/security/arm-security/src/operations/devicesForSubscription.ts @@ -0,0 +1,134 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/devicesForSubscriptionMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a DevicesForSubscription. */ +export class DevicesForSubscription { + private readonly client: SecurityCenterContext; + + /** + * Create a DevicesForSubscription. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Get list of the devices by their subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: Models.DevicesForSubscriptionListOptionalParams): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: Models.DevicesForSubscriptionListOptionalParams, callback: msRest.ServiceCallback): void; + list(options?: Models.DevicesForSubscriptionListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get list of the devices by their subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.DevicesForSubscriptionListNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: Models.DevicesForSubscriptionListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.DevicesForSubscriptionListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/devices", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10, + Parameters.limit, + Parameters.skipToken, + Parameters.deviceManagementType + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DeviceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion10, + Parameters.limit, + Parameters.skipToken, + Parameters.deviceManagementType + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DeviceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts b/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts index fee408b7fe91..12b10b2963b5 100644 --- a/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts +++ b/sdk/security/arm-security/src/operations/discoveredSecuritySolutions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -248,6 +247,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -269,6 +271,9 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts b/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts index dcf849fd1092..b6b9b9bd6de1 100644 --- a/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts +++ b/sdk/security/arm-security/src/operations/externalSecuritySolutions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -248,6 +247,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -269,6 +271,9 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/index.ts b/sdk/security/arm-security/src/operations/index.ts index 49b74e193742..68ed9bed7f43 100644 --- a/sdk/security/arm-security/src/operations/index.ts +++ b/sdk/security/arm-security/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -10,8 +9,6 @@ export * from "./complianceResults"; export * from "./pricings"; -export * from "./alerts"; -export * from "./settings"; export * from "./advancedThreatProtection"; export * from "./deviceSecurityGroups"; export * from "./iotSecuritySolution"; @@ -29,10 +26,10 @@ export * from "./workspaceSettings"; export * from "./regulatoryComplianceStandards"; export * from "./regulatoryComplianceControls"; export * from "./regulatoryComplianceAssessments"; -export * from "./serverVulnerabilityAssessmentOperations"; export * from "./subAssessments"; export * from "./automations"; export * from "./alertsSuppressionRules"; +export * from "./serverVulnerabilityAssessmentOperations"; export * from "./assessmentsMetadata"; export * from "./assessments"; export * from "./adaptiveApplicationControls"; @@ -41,7 +38,28 @@ export * from "./allowedConnections"; export * from "./topology"; export * from "./jitNetworkAccessPolicies"; export * from "./discoveredSecuritySolutions"; +export * from "./securitySolutionsReferenceDataOperations"; export * from "./externalSecuritySolutions"; export * from "./secureScores"; export * from "./secureScoreControls"; export * from "./secureScoreControlDefinitions"; +export * from "./securitySolutions"; +export * from "./connectors"; +export * from "./sqlVulnerabilityAssessmentScans"; +export * from "./sqlVulnerabilityAssessmentScanResults"; +export * from "./sqlVulnerabilityAssessmentBaselineRules"; +export * from "./iotDefenderSettings"; +export * from "./iotSensors"; +export * from "./devicesForSubscription"; +export * from "./devicesForHub"; +export * from "./deviceOperations"; +export * from "./onPremiseIotSensors"; +export * from "./iotSites"; +export * from "./iotAlerts"; +export * from "./iotAlertTypes"; +export * from "./iotRecommendations"; +export * from "./iotRecommendationTypes"; +export * from "./alerts"; +export * from "./settings"; +export * from "./ingestionSettings"; +export * from "./softwareInventories"; diff --git a/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts b/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts index 4bcf11236eda..5c5cf260383a 100644 --- a/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts +++ b/sdk/security/arm-security/src/operations/informationProtectionPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -265,6 +264,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/ingestionSettings.ts b/sdk/security/arm-security/src/operations/ingestionSettings.ts new file mode 100644 index 000000000000..a4d734204199 --- /dev/null +++ b/sdk/security/arm-security/src/operations/ingestionSettings.ts @@ -0,0 +1,403 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/ingestionSettingsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a IngestionSettings. */ +export class IngestionSettings { + private readonly client: SecurityCenterContext; + + /** + * Create a IngestionSettings. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Settings for ingesting security data and logs to correlate with resources associated with the + * subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Settings for ingesting security data and logs to correlate with resources associated with the + * subscription. + * @param ingestionSettingName Name of the ingestion setting + * @param [options] The optional parameters + * @returns Promise + */ + get(ingestionSettingName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param callback The callback + */ + get(ingestionSettingName: string, callback: msRest.ServiceCallback): void; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param options The optional parameters + * @param callback The callback + */ + get(ingestionSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(ingestionSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + ingestionSettingName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create setting for ingesting security data and logs to correlate with resources associated with + * the subscription. + * @param ingestionSettingName Name of the ingestion setting + * @param ingestionSetting Ingestion setting object + * @param [options] The optional parameters + * @returns Promise + */ + create(ingestionSettingName: string, ingestionSetting: Models.IngestionSetting, options?: msRest.RequestOptionsBase): Promise; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param ingestionSetting Ingestion setting object + * @param callback The callback + */ + create(ingestionSettingName: string, ingestionSetting: Models.IngestionSetting, callback: msRest.ServiceCallback): void; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param ingestionSetting Ingestion setting object + * @param options The optional parameters + * @param callback The callback + */ + create(ingestionSettingName: string, ingestionSetting: Models.IngestionSetting, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + create(ingestionSettingName: string, ingestionSetting: Models.IngestionSetting, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + ingestionSettingName, + ingestionSetting, + options + }, + createOperationSpec, + callback) as Promise; + } + + /** + * Deletes the ingestion settings for this subscription. + * @param ingestionSettingName Name of the ingestion setting + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(ingestionSettingName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param callback The callback + */ + deleteMethod(ingestionSettingName: string, callback: msRest.ServiceCallback): void; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(ingestionSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(ingestionSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + ingestionSettingName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Returns the token that is used for correlating ingested telemetry with the resources in the + * subscription. + * @param ingestionSettingName Name of the ingestion setting + * @param [options] The optional parameters + * @returns Promise + */ + listTokens(ingestionSettingName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param callback The callback + */ + listTokens(ingestionSettingName: string, callback: msRest.ServiceCallback): void; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param options The optional parameters + * @param callback The callback + */ + listTokens(ingestionSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listTokens(ingestionSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + ingestionSettingName, + options + }, + listTokensOperationSpec, + callback) as Promise; + } + + /** + * Connection strings for ingesting security scan logs and data. + * @param ingestionSettingName Name of the ingestion setting + * @param [options] The optional parameters + * @returns Promise + */ + listConnectionStrings(ingestionSettingName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param callback The callback + */ + listConnectionStrings(ingestionSettingName: string, callback: msRest.ServiceCallback): void; + /** + * @param ingestionSettingName Name of the ingestion setting + * @param options The optional parameters + * @param callback The callback + */ + listConnectionStrings(ingestionSettingName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listConnectionStrings(ingestionSettingName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + ingestionSettingName, + options + }, + listConnectionStringsOperationSpec, + callback) as Promise; + } + + /** + * Settings for ingesting security data and logs to correlate with resources associated with the + * subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion13 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IngestionSettingList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings/{ingestionSettingName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ingestionSettingName + ], + queryParameters: [ + Parameters.apiVersion13 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IngestionSetting + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings/{ingestionSettingName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ingestionSettingName + ], + queryParameters: [ + Parameters.apiVersion13 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "ingestionSetting", + mapper: { + ...Mappers.IngestionSetting, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IngestionSetting + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings/{ingestionSettingName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ingestionSettingName + ], + queryParameters: [ + Parameters.apiVersion13 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listTokensOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings/{ingestionSettingName}/listTokens", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ingestionSettingName + ], + queryParameters: [ + Parameters.apiVersion13 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IngestionSettingToken + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listConnectionStringsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings/{ingestionSettingName}/listConnectionStrings", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ingestionSettingName + ], + queryParameters: [ + Parameters.apiVersion13 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ConnectionStrings + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion13 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IngestionSettingList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/iotAlertTypes.ts b/sdk/security/arm-security/src/operations/iotAlertTypes.ts new file mode 100644 index 000000000000..9ceecb1b073f --- /dev/null +++ b/sdk/security/arm-security/src/operations/iotAlertTypes.ts @@ -0,0 +1,128 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/iotAlertTypesMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a IotAlertTypes. */ +export class IotAlertTypes { + private readonly client: SecurityCenterContext; + + /** + * Create a IotAlertTypes. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * List IoT alert types + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get IoT alert type + * @param iotAlertTypeName Name of the alert type + * @param [options] The optional parameters + * @returns Promise + */ + get(iotAlertTypeName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param iotAlertTypeName Name of the alert type + * @param callback The callback + */ + get(iotAlertTypeName: string, callback: msRest.ServiceCallback): void; + /** + * @param iotAlertTypeName Name of the alert type + * @param options The optional parameters + * @param callback The callback + */ + get(iotAlertTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(iotAlertTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + iotAlertTypeName, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotAlertTypes", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotAlertTypeList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotAlertTypes/{iotAlertTypeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.iotAlertTypeName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotAlertType + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/iotAlerts.ts b/sdk/security/arm-security/src/operations/iotAlerts.ts new file mode 100644 index 000000000000..16d9fddfdb19 --- /dev/null +++ b/sdk/security/arm-security/src/operations/iotAlerts.ts @@ -0,0 +1,214 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/iotAlertsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a IotAlerts. */ +export class IotAlerts { + private readonly client: SecurityCenterContext; + + /** + * Create a IotAlerts. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * List IoT alerts + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param [options] The optional parameters + * @returns Promise + */ + list(scope: string, options?: Models.IotAlertsListOptionalParams): Promise; + /** + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param callback The callback + */ + list(scope: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param options The optional parameters + * @param callback The callback + */ + list(scope: string, options: Models.IotAlertsListOptionalParams, callback: msRest.ServiceCallback): void; + list(scope: string, options?: Models.IotAlertsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get IoT alert + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param iotAlertId Id of the alert + * @param [options] The optional parameters + * @returns Promise + */ + get(scope: string, iotAlertId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param iotAlertId Id of the alert + * @param callback The callback + */ + get(scope: string, iotAlertId: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param iotAlertId Id of the alert + * @param options The optional parameters + * @param callback The callback + */ + get(scope: string, iotAlertId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(scope: string, iotAlertId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotAlertId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * List IoT alerts + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.IotAlertsListNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: Models.IotAlertsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.IotAlertsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{scope}/providers/Microsoft.Security/iotAlerts", + urlParameters: [ + Parameters.scope + ], + queryParameters: [ + Parameters.apiVersion10, + Parameters.minStartTimeUtc, + Parameters.maxStartTimeUtc, + Parameters.alertType1, + Parameters.deviceManagementType, + Parameters.compromisedEntity, + Parameters.limit, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotAlertListModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{scope}/providers/Microsoft.Security/iotAlerts/{iotAlertId}", + urlParameters: [ + Parameters.scope, + Parameters.iotAlertId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotAlertModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion10, + Parameters.minStartTimeUtc, + Parameters.maxStartTimeUtc, + Parameters.alertType1, + Parameters.deviceManagementType, + Parameters.compromisedEntity, + Parameters.limit, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotAlertListModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/iotDefenderSettings.ts b/sdk/security/arm-security/src/operations/iotDefenderSettings.ts new file mode 100644 index 000000000000..6cb21509dddd --- /dev/null +++ b/sdk/security/arm-security/src/operations/iotDefenderSettings.ts @@ -0,0 +1,329 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/iotDefenderSettingsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a IotDefenderSettings. */ +export class IotDefenderSettings { + private readonly client: SecurityCenterContext; + + /** + * Create a IotDefenderSettings. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * List IoT Defender Settings + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get IoT Defender Settings + * @param [options] The optional parameters + * @returns Promise + */ + get(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + get(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or update IoT Defender settings + * @param iotDefenderSettingsModel The IoT defender settings model + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(iotDefenderSettingsModel: Models.IotDefenderSettingsModel, options?: msRest.RequestOptionsBase): Promise; + /** + * @param iotDefenderSettingsModel The IoT defender settings model + * @param callback The callback + */ + createOrUpdate(iotDefenderSettingsModel: Models.IotDefenderSettingsModel, callback: msRest.ServiceCallback): void; + /** + * @param iotDefenderSettingsModel The IoT defender settings model + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(iotDefenderSettingsModel: Models.IotDefenderSettingsModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(iotDefenderSettingsModel: Models.IotDefenderSettingsModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + iotDefenderSettingsModel, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Delete IoT Defender settings + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + deleteMethod(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Information about downloadable packages + * @param [options] The optional parameters + * @returns Promise + */ + packageDownloadsMethod(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + packageDownloadsMethod(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + packageDownloadsMethod(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + packageDownloadsMethod(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + packageDownloadsMethodOperationSpec, + callback) as Promise; + } + + /** + * Download manager activation data defined for this subscription + * @param [options] The optional parameters + * @returns Promise + */ + downloadManagerActivation(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + downloadManagerActivation(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + downloadManagerActivation(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + downloadManagerActivation(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + downloadManagerActivationOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotDefenderSettingsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotDefenderSettingsModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "iotDefenderSettingsModel", + mapper: { + ...Mappers.IotDefenderSettingsModel, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IotDefenderSettingsModel + }, + 201: { + bodyMapper: Mappers.IotDefenderSettingsModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const packageDownloadsMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default/packageDownloads", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PackageDownloads + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const downloadManagerActivationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotDefenderSettings/default/downloadManagerActivation", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts b/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts new file mode 100644 index 000000000000..74b977b0a508 --- /dev/null +++ b/sdk/security/arm-security/src/operations/iotRecommendationTypes.ts @@ -0,0 +1,128 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/iotRecommendationTypesMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a IotRecommendationTypes. */ +export class IotRecommendationTypes { + private readonly client: SecurityCenterContext; + + /** + * Create a IotRecommendationTypes. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * List IoT recommendation types + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get IoT recommendation type + * @param iotRecommendationTypeName Name of the recommendation type + * @param [options] The optional parameters + * @returns Promise + */ + get(iotRecommendationTypeName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param iotRecommendationTypeName Name of the recommendation type + * @param callback The callback + */ + get(iotRecommendationTypeName: string, callback: msRest.ServiceCallback): void; + /** + * @param iotRecommendationTypeName Name of the recommendation type + * @param options The optional parameters + * @param callback The callback + */ + get(iotRecommendationTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(iotRecommendationTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + iotRecommendationTypeName, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotRecommendationTypes", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotRecommendationTypeList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/iotRecommendationTypes/{iotRecommendationTypeName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.iotRecommendationTypeName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotRecommendationType + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/iotRecommendations.ts b/sdk/security/arm-security/src/operations/iotRecommendations.ts new file mode 100644 index 000000000000..dd5889cf0b89 --- /dev/null +++ b/sdk/security/arm-security/src/operations/iotRecommendations.ts @@ -0,0 +1,208 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/iotRecommendationsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a IotRecommendations. */ +export class IotRecommendations { + private readonly client: SecurityCenterContext; + + /** + * Create a IotRecommendations. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * List IoT recommendations + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param [options] The optional parameters + * @returns Promise + */ + list(scope: string, options?: Models.IotRecommendationsListOptionalParams): Promise; + /** + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param callback The callback + */ + list(scope: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param options The optional parameters + * @param callback The callback + */ + list(scope: string, options: Models.IotRecommendationsListOptionalParams, callback: msRest.ServiceCallback): void; + list(scope: string, options?: Models.IotRecommendationsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get IoT recommendation + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param iotRecommendationId Id of the recommendation + * @param [options] The optional parameters + * @returns Promise + */ + get(scope: string, iotRecommendationId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param iotRecommendationId Id of the recommendation + * @param callback The callback + */ + get(scope: string, iotRecommendationId: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query: Subscription (i.e. /subscriptions/{subscriptionId}) or IoT Hub + * (i.e. + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Devices/iotHubs/{iotHubName}) + * @param iotRecommendationId Id of the recommendation + * @param options The optional parameters + * @param callback The callback + */ + get(scope: string, iotRecommendationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(scope: string, iotRecommendationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotRecommendationId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * List IoT recommendations + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: Models.IotRecommendationsListNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: Models.IotRecommendationsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.IotRecommendationsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{scope}/providers/Microsoft.Security/iotRecommendations", + urlParameters: [ + Parameters.scope + ], + queryParameters: [ + Parameters.apiVersion10, + Parameters.recommendationType, + Parameters.deviceId1, + Parameters.limit, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotRecommendationListModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{scope}/providers/Microsoft.Security/iotRecommendations/{iotRecommendationId}", + urlParameters: [ + Parameters.scope, + Parameters.iotRecommendationId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotRecommendationModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion10, + Parameters.recommendationType, + Parameters.deviceId1, + Parameters.limit, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotRecommendationListModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolution.ts b/sdk/security/arm-security/src/operations/iotSecuritySolution.ts index 8584de5ac36e..518f7a04a3d4 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolution.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolution.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -236,7 +235,7 @@ export class IotSecuritySolution { * @param [options] The optional parameters * @returns Promise */ - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySubscriptionNext(nextPageLink: string, options?: Models.IotSecuritySolutionListBySubscriptionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -247,8 +246,8 @@ export class IotSecuritySolution { * @param options The optional parameters * @param callback The callback */ - listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySubscriptionNext(nextPageLink: string, options: Models.IotSecuritySolutionListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: Models.IotSecuritySolutionListBySubscriptionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -264,7 +263,7 @@ export class IotSecuritySolution { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.IotSecuritySolutionListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -275,8 +274,8 @@ export class IotSecuritySolution { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.IotSecuritySolutionListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.IotSecuritySolutionListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -461,6 +460,10 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], @@ -482,6 +485,10 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolutionAnalytics.ts b/sdk/security/arm-security/src/operations/iotSecuritySolutionAnalytics.ts index e66f18882294..cbf20304731d 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolutionAnalytics.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolutionAnalytics.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts b/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts index 914c656d760d..b1b6e7eb8ed4 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -146,7 +145,7 @@ export class IotSecuritySolutionsAnalyticsAggregatedAlert { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.IotSecuritySolutionsAnalyticsAggregatedAlertListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -157,8 +156,8 @@ export class IotSecuritySolutionsAnalyticsAggregatedAlert { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.IotSecuritySolutionsAnalyticsAggregatedAlertListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.IotSecuritySolutionsAnalyticsAggregatedAlertListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -254,6 +253,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts b/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts index 2801c7369e88..ca0efaadd443 100644 --- a/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts +++ b/sdk/security/arm-security/src/operations/iotSecuritySolutionsAnalyticsRecommendation.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -109,7 +108,7 @@ export class IotSecuritySolutionsAnalyticsRecommendation { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.IotSecuritySolutionsAnalyticsRecommendationListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -120,8 +119,8 @@ export class IotSecuritySolutionsAnalyticsRecommendation { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.IotSecuritySolutionsAnalyticsRecommendationListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.IotSecuritySolutionsAnalyticsRecommendationListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -193,6 +192,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion3, + Parameters.top + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/iotSensors.ts b/sdk/security/arm-security/src/operations/iotSensors.ts new file mode 100644 index 000000000000..c53e96964ac8 --- /dev/null +++ b/sdk/security/arm-security/src/operations/iotSensors.ts @@ -0,0 +1,448 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/iotSensorsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a IotSensors. */ +export class IotSensors { + private readonly client: SecurityCenterContext; + + /** + * Create a IotSensors. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * List IoT sensors + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param [options] The optional parameters + * @returns Promise + */ + list(scope: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param callback The callback + */ + list(scope: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param options The optional parameters + * @param callback The callback + */ + list(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get IoT sensor + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param [options] The optional parameters + * @returns Promise + */ + get(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param callback The callback + */ + get(scope: string, iotSensorName: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param options The optional parameters + * @param callback The callback + */ + get(scope: string, iotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotSensorName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or update IoT sensor + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param iotSensorsModel The IoT sensor model + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(scope: string, iotSensorName: string, iotSensorsModel: Models.IotSensorsModel, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param iotSensorsModel The IoT sensor model + * @param callback The callback + */ + createOrUpdate(scope: string, iotSensorName: string, iotSensorsModel: Models.IotSensorsModel, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param iotSensorsModel The IoT sensor model + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(scope: string, iotSensorName: string, iotSensorsModel: Models.IotSensorsModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(scope: string, iotSensorName: string, iotSensorsModel: Models.IotSensorsModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotSensorName, + iotSensorsModel, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Delete IoT sensor + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param callback The callback + */ + deleteMethod(scope: string, iotSensorName: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(scope: string, iotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotSensorName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Download sensor activation file + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param [options] The optional parameters + * @returns Promise + */ + downloadActivation(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param callback The callback + */ + downloadActivation(scope: string, iotSensorName: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param options The optional parameters + * @param callback The callback + */ + downloadActivation(scope: string, iotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + downloadActivation(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotSensorName, + options + }, + downloadActivationOperationSpec, + callback) as Promise; + } + + /** + * Download file for reset password of the sensor + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param body The reset password input. + * @param [options] The optional parameters + * @returns Promise + */ + downloadResetPassword(scope: string, iotSensorName: string, body: Models.ResetPasswordInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param body The reset password input. + * @param callback The callback + */ + downloadResetPassword(scope: string, iotSensorName: string, body: Models.ResetPasswordInput, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param body The reset password input. + * @param options The optional parameters + * @param callback The callback + */ + downloadResetPassword(scope: string, iotSensorName: string, body: Models.ResetPasswordInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + downloadResetPassword(scope: string, iotSensorName: string, body: Models.ResetPasswordInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotSensorName, + body, + options + }, + downloadResetPasswordOperationSpec, + callback) as Promise; + } + + /** + * Trigger threat intelligence package update + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param [options] The optional parameters + * @returns Promise + */ + triggerTiPackageUpdate(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param callback The callback + */ + triggerTiPackageUpdate(scope: string, iotSensorName: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSensorName Name of the IoT sensor + * @param options The optional parameters + * @param callback The callback + */ + triggerTiPackageUpdate(scope: string, iotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + triggerTiPackageUpdate(scope: string, iotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotSensorName, + options + }, + triggerTiPackageUpdateOperationSpec, + callback); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{scope}/providers/Microsoft.Security/iotSensors", + urlParameters: [ + Parameters.scope + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotSensorsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}", + urlParameters: [ + Parameters.scope, + Parameters.iotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotSensorsModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}", + urlParameters: [ + Parameters.scope, + Parameters.iotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "iotSensorsModel", + mapper: { + ...Mappers.IotSensorsModel, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IotSensorsModel + }, + 201: { + bodyMapper: Mappers.IotSensorsModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}", + urlParameters: [ + Parameters.scope, + Parameters.iotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const downloadActivationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}/downloadActivation", + urlParameters: [ + Parameters.scope, + Parameters.iotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const downloadResetPasswordOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}/downloadResetPassword", + urlParameters: [ + Parameters.scope, + Parameters.iotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "body", + mapper: { + ...Mappers.ResetPasswordInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const triggerTiPackageUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}/triggerTiPackageUpdate", + urlParameters: [ + Parameters.scope, + Parameters.iotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/iotSites.ts b/sdk/security/arm-security/src/operations/iotSites.ts new file mode 100644 index 000000000000..de634105c550 --- /dev/null +++ b/sdk/security/arm-security/src/operations/iotSites.ts @@ -0,0 +1,246 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/iotSitesMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a IotSites. */ +export class IotSites { + private readonly client: SecurityCenterContext; + + /** + * Create a IotSites. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * List IoT sites + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param [options] The optional parameters + * @returns Promise + */ + list(scope: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param callback The callback + */ + list(scope: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param options The optional parameters + * @param callback The callback + */ + list(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get IoT site + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param [options] The optional parameters + * @returns Promise + */ + get(scope: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param callback The callback + */ + get(scope: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param options The optional parameters + * @param callback The callback + */ + get(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or update IoT site + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSitesModel The IoT sites model + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(scope: string, iotSitesModel: Models.IotSitesModel, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSitesModel The IoT sites model + * @param callback The callback + */ + createOrUpdate(scope: string, iotSitesModel: Models.IotSitesModel, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param iotSitesModel The IoT sites model + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(scope: string, iotSitesModel: Models.IotSitesModel, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(scope: string, iotSitesModel: Models.IotSitesModel, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + iotSitesModel, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Delete IoT site + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(scope: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param callback The callback + */ + deleteMethod(scope: string, callback: msRest.ServiceCallback): void; + /** + * @param scope Scope of the query (IoT Hub, /providers/Microsoft.Devices/iotHubs/myHub) + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(scope: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(scope: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scope, + options + }, + deleteMethodOperationSpec, + callback); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{scope}/providers/Microsoft.Security/iotSites", + urlParameters: [ + Parameters.scope + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotSitesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{scope}/providers/Microsoft.Security/iotSites/default", + urlParameters: [ + Parameters.scope + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IotSitesModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "{scope}/providers/Microsoft.Security/iotSites/default", + urlParameters: [ + Parameters.scope + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "iotSitesModel", + mapper: { + ...Mappers.IotSitesModel, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IotSitesModel + }, + 201: { + bodyMapper: Mappers.IotSitesModel + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "{scope}/providers/Microsoft.Security/iotSites/default", + urlParameters: [ + Parameters.scope + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts b/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts index 9659d3beb32d..391c6a53858c 100644 --- a/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts +++ b/sdk/security/arm-security/src/operations/jitNetworkAccessPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -627,6 +626,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -648,6 +650,9 @@ const listByRegionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -669,6 +674,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -690,6 +698,9 @@ const listByResourceGroupAndRegionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/locations.ts b/sdk/security/arm-security/src/operations/locations.ts index 6fddbae9fa18..a6af884c815b 100644 --- a/sdk/security/arm-security/src/operations/locations.ts +++ b/sdk/security/arm-security/src/operations/locations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -163,6 +162,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts b/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts new file mode 100644 index 000000000000..16b1b5b901df --- /dev/null +++ b/sdk/security/arm-security/src/operations/onPremiseIotSensors.ts @@ -0,0 +1,359 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/onPremiseIotSensorsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a OnPremiseIotSensors. */ +export class OnPremiseIotSensors { + private readonly client: SecurityCenterContext; + + /** + * Create a OnPremiseIotSensors. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * List on-premise IoT sensors + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get on-premise IoT sensor + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param [options] The optional parameters + * @returns Promise + */ + get(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param callback The callback + */ + get(onPremiseIotSensorName: string, callback: msRest.ServiceCallback): void; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param options The optional parameters + * @param callback The callback + */ + get(onPremiseIotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + onPremiseIotSensorName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or update on-premise IoT sensor + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param callback The callback + */ + createOrUpdate(onPremiseIotSensorName: string, callback: msRest.ServiceCallback): void; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(onPremiseIotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + onPremiseIotSensorName, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Delete on-premise IoT sensor + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param callback The callback + */ + deleteMethod(onPremiseIotSensorName: string, callback: msRest.ServiceCallback): void; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(onPremiseIotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + onPremiseIotSensorName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Download sensor activation file + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param [options] The optional parameters + * @returns Promise + */ + downloadActivation(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param callback The callback + */ + downloadActivation(onPremiseIotSensorName: string, callback: msRest.ServiceCallback): void; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param options The optional parameters + * @param callback The callback + */ + downloadActivation(onPremiseIotSensorName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + downloadActivation(onPremiseIotSensorName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + onPremiseIotSensorName, + options + }, + downloadActivationOperationSpec, + callback) as Promise; + } + + /** + * Download file for reset password of the sensor + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param body Input for reset password. + * @param [options] The optional parameters + * @returns Promise + */ + downloadResetPassword(onPremiseIotSensorName: string, body: Models.ResetPasswordInput, options?: msRest.RequestOptionsBase): Promise; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param body Input for reset password. + * @param callback The callback + */ + downloadResetPassword(onPremiseIotSensorName: string, body: Models.ResetPasswordInput, callback: msRest.ServiceCallback): void; + /** + * @param onPremiseIotSensorName Name of the on-premise IoT sensor + * @param body Input for reset password. + * @param options The optional parameters + * @param callback The callback + */ + downloadResetPassword(onPremiseIotSensorName: string, body: Models.ResetPasswordInput, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + downloadResetPassword(onPremiseIotSensorName: string, body: Models.ResetPasswordInput, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + onPremiseIotSensorName, + body, + options + }, + downloadResetPasswordOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OnPremiseIotSensorsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.onPremiseIotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OnPremiseIotSensor + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.onPremiseIotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OnPremiseIotSensor + }, + 201: { + bodyMapper: Mappers.OnPremiseIotSensor + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.onPremiseIotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const downloadActivationOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}/downloadActivation", + urlParameters: [ + Parameters.subscriptionId, + Parameters.onPremiseIotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const downloadResetPasswordOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/onPremiseIotSensors/{onPremiseIotSensorName}/downloadResetPassword", + urlParameters: [ + Parameters.subscriptionId, + Parameters.onPremiseIotSensorName + ], + queryParameters: [ + Parameters.apiVersion10 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "body", + mapper: { + ...Mappers.ResetPasswordInput, + required: true + } + }, + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "Stream" + } + } + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/operations.ts b/sdk/security/arm-security/src/operations/operations.ts index 15d396b057d3..a1966ba046d4 100644 --- a/sdk/security/arm-security/src/operations/operations.ts +++ b/sdk/security/arm-security/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/pricings.ts b/sdk/security/arm-security/src/operations/pricings.ts index e604f40d8222..aabe04271f0d 100644 --- a/sdk/security/arm-security/src/operations/pricings.ts +++ b/sdk/security/arm-security/src/operations/pricings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts index d9e7f429a94d..fed64431d821 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceAssessments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -100,7 +99,7 @@ export class RegulatoryComplianceAssessments { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.RegulatoryComplianceAssessmentsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -111,8 +110,8 @@ export class RegulatoryComplianceAssessments { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.RegulatoryComplianceAssessmentsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.RegulatoryComplianceAssessmentsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -184,6 +183,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts index 5d40b5b0688b..8ee0e81f5f8d 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceControls.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -92,7 +91,7 @@ export class RegulatoryComplianceControls { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.RegulatoryComplianceControlsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -103,8 +102,8 @@ export class RegulatoryComplianceControls { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.RegulatoryComplianceControlsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.RegulatoryComplianceControlsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -174,6 +173,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts b/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts index 07b2a60f5258..c845ff4b7386 100644 --- a/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts +++ b/sdk/security/arm-security/src/operations/regulatoryComplianceStandards.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -84,7 +83,7 @@ export class RegulatoryComplianceStandards { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.RegulatoryComplianceStandardsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -95,8 +94,8 @@ export class RegulatoryComplianceStandards { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.RegulatoryComplianceStandardsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.RegulatoryComplianceStandardsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -164,6 +163,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/secureScoreControlDefinitions.ts b/sdk/security/arm-security/src/operations/secureScoreControlDefinitions.ts index 8f276006fba3..2d91f5faaa02 100644 --- a/sdk/security/arm-security/src/operations/secureScoreControlDefinitions.ts +++ b/sdk/security/arm-security/src/operations/secureScoreControlDefinitions.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,7 +26,7 @@ export class SecureScoreControlDefinitions { } /** - * Get definition information on all secure score controls + * List the available security controls, their assessments, and the max score * @param [options] The optional parameters * @returns Promise */ @@ -51,7 +50,8 @@ export class SecureScoreControlDefinitions { } /** - * Get definition information on all secure score controls in subscription level + * For a specified subscription, list the available security controls, their assessments, and the + * max score * @param [options] The optional parameters * @returns Promise */ @@ -75,7 +75,7 @@ export class SecureScoreControlDefinitions { } /** - * Get definition information on all secure score controls + * List the available security controls, their assessments, and the max score * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -103,7 +103,8 @@ export class SecureScoreControlDefinitions { } /** - * Get definition information on all secure score controls in subscription level + * For a specified subscription, list the available security controls, their assessments, and the + * max score * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -137,7 +138,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Security/secureScoreControlDefinitions", queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -160,7 +161,7 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -183,6 +184,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -204,6 +208,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/secureScoreControls.ts b/sdk/security/arm-security/src/operations/secureScoreControls.ts index 28c52529053a..de40813934f9 100644 --- a/sdk/security/arm-security/src/operations/secureScoreControls.ts +++ b/sdk/security/arm-security/src/operations/secureScoreControls.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,19 +26,22 @@ export class SecureScoreControls { } /** - * Get all secure score controls on specific initiatives inside a scope - * @param secureScoreName The secure score initiative name + * Get all security controls for a specific initiative within a scope + * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in + * the sample request below. * @param [options] The optional parameters * @returns Promise */ listBySecureScore(secureScoreName: string, options?: Models.SecureScoreControlsListBySecureScoreOptionalParams): Promise; /** - * @param secureScoreName The secure score initiative name + * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in + * the sample request below. * @param callback The callback */ listBySecureScore(secureScoreName: string, callback: msRest.ServiceCallback): void; /** - * @param secureScoreName The secure score initiative name + * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in + * the sample request below. * @param options The optional parameters * @param callback The callback */ @@ -55,7 +57,7 @@ export class SecureScoreControls { } /** - * Get all secure score controls on specific initiatives inside a scope + * Get all security controls within a scope * @param [options] The optional parameters * @returns Promise */ @@ -79,12 +81,12 @@ export class SecureScoreControls { } /** - * Get all secure score controls on specific initiatives inside a scope + * Get all security controls for a specific initiative within a scope * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise */ - listBySecureScoreNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listBySecureScoreNext(nextPageLink: string, options?: Models.SecureScoreControlsListBySecureScoreNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -95,8 +97,8 @@ export class SecureScoreControls { * @param options The optional parameters * @param callback The callback */ - listBySecureScoreNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listBySecureScoreNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listBySecureScoreNext(nextPageLink: string, options: Models.SecureScoreControlsListBySecureScoreNextOptionalParams, callback: msRest.ServiceCallback): void; + listBySecureScoreNext(nextPageLink: string, options?: Models.SecureScoreControlsListBySecureScoreNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -107,12 +109,12 @@ export class SecureScoreControls { } /** - * Get all secure score controls on specific initiatives inside a scope + * Get all security controls within a scope * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.SecureScoreControlsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -123,8 +125,8 @@ export class SecureScoreControls { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.SecureScoreControlsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.SecureScoreControlsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -145,7 +147,7 @@ const listBySecureScoreOperationSpec: msRest.OperationSpec = { Parameters.secureScoreName ], queryParameters: [ - Parameters.apiVersion8, + Parameters.apiVersion7, Parameters.expand ], headerParameters: [ @@ -169,7 +171,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion8, + Parameters.apiVersion7, Parameters.expand ], headerParameters: [ @@ -193,6 +195,10 @@ const listBySecureScoreNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7, + Parameters.expand + ], headerParameters: [ Parameters.acceptLanguage ], @@ -214,6 +220,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7, + Parameters.expand + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/secureScores.ts b/sdk/security/arm-security/src/operations/secureScores.ts index e873d1617bda..015ea88e0dfb 100644 --- a/sdk/security/arm-security/src/operations/secureScores.ts +++ b/sdk/security/arm-security/src/operations/secureScores.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -27,7 +26,7 @@ export class SecureScores { } /** - * Get secure scores on all your initiatives inside a scope + * List secure scores for all your Security Center initiatives within your current scope. * @param [options] The optional parameters * @returns Promise */ @@ -51,19 +50,23 @@ export class SecureScores { } /** - * Get secure score for a specific initiatives inside a scope - * @param secureScoreName The secure score initiative name + * Get secure score for a specific Security Center initiative within your current scope. For the + * ASC Default initiative, use 'ascScore'. + * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in + * the sample request below. * @param [options] The optional parameters * @returns Promise */ get(secureScoreName: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param secureScoreName The secure score initiative name + * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in + * the sample request below. * @param callback The callback */ get(secureScoreName: string, callback: msRest.ServiceCallback): void; /** - * @param secureScoreName The secure score initiative name + * @param secureScoreName The initiative name. For the ASC Default initiative, use 'ascScore' as in + * the sample request below. * @param options The optional parameters * @param callback The callback */ @@ -79,7 +82,7 @@ export class SecureScores { } /** - * Get secure scores on all your initiatives inside a scope + * List secure scores for all your Security Center initiatives within your current scope. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise @@ -116,7 +119,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -140,7 +143,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.secureScoreName ], queryParameters: [ - Parameters.apiVersion8 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -163,6 +166,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/securityContacts.ts b/sdk/security/arm-security/src/operations/securityContacts.ts index e368e7b7cf1f..9a27de7bfaf3 100644 --- a/sdk/security/arm-security/src/operations/securityContacts.ts +++ b/sdk/security/arm-security/src/operations/securityContacts.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -339,6 +338,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/securitySolutions.ts b/sdk/security/arm-security/src/operations/securitySolutions.ts new file mode 100644 index 000000000000..4d7313ebbc35 --- /dev/null +++ b/sdk/security/arm-security/src/operations/securitySolutions.ts @@ -0,0 +1,189 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/securitySolutionsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a SecuritySolutions. */ +export class SecuritySolutions { + private readonly client: SecurityCenterContext; + + /** + * Create a SecuritySolutions. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Gets a list of Security Solutions for the subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets a specific Security Solution. + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securitySolutionName Name of security solution. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, securitySolutionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securitySolutionName Name of security solution. + * @param callback The callback + */ + get(resourceGroupName: string, securitySolutionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param securitySolutionName Name of security solution. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, securitySolutionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, securitySolutionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + securitySolutionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets a list of Security Solutions for the subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutions", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecuritySolutionList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/securitySolutions/{securitySolutionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.ascLocation, + Parameters.securitySolutionName + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecuritySolution + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecuritySolutionList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/securitySolutionsReferenceDataOperations.ts b/sdk/security/arm-security/src/operations/securitySolutionsReferenceDataOperations.ts new file mode 100644 index 000000000000..04dafd6d92f0 --- /dev/null +++ b/sdk/security/arm-security/src/operations/securitySolutionsReferenceDataOperations.ts @@ -0,0 +1,124 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/securitySolutionsReferenceDataOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a SecuritySolutionsReferenceDataOperations. */ +export class SecuritySolutionsReferenceDataOperations { + private readonly client: SecurityCenterContext; + + /** + * Create a SecuritySolutionsReferenceDataOperations. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Gets a list of all supported Security Solutions for the subscription. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets list of all supported Security Solutions for subscription and location. + * @param [options] The optional parameters + * @returns Promise + */ + listByHomeRegion(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listByHomeRegion(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listByHomeRegion(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByHomeRegion(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listByHomeRegionOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutionsReferenceData", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecuritySolutionsReferenceDataList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByHomeRegionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/securitySolutionsReferenceData", + urlParameters: [ + Parameters.subscriptionId, + Parameters.ascLocation + ], + queryParameters: [ + Parameters.apiVersion7 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecuritySolutionsReferenceDataList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts b/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts index 660a35067e2d..9307ec957067 100644 --- a/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts +++ b/sdk/security/arm-security/src/operations/serverVulnerabilityAssessmentOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/serverVulnerabilityAssessmentOperationsMappers"; import * as Parameters from "../models/parameters"; @@ -166,28 +166,23 @@ export class ServerVulnerabilityAssessmentOperations { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group within the user's subscription. The name - * is case insensitive. - * @param resourceNamespace The Namespace of the resource. - * @param resourceType The type of the resource. - * @param resourceName Name of the resource. - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, callback: msRest.ServiceCallback): void; + deleteMethod(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,resourceNamespace,resourceType,resourceName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** + * Removing server vulnerability assessment from a resource. * @param resourceGroupName The name of the resource group within the user's subscription. The name * is case insensitive. * @param resourceNamespace The Namespace of the resource. * @param resourceType The type of the resource. * @param resourceName Name of the resource. - * @param options The optional parameters - * @param callback The callback + * @param [options] The optional parameters + * @returns Promise */ - deleteMethod(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( + beginDeleteMethod(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( { resourceGroupName, resourceNamespace, @@ -195,8 +190,8 @@ export class ServerVulnerabilityAssessmentOperations { resourceName, options }, - deleteMethodOperationSpec, - callback); + beginDeleteMethodOperationSpec, + options); } } @@ -213,7 +208,7 @@ const listByExtendedResourceOperationSpec: msRest.OperationSpec = { Parameters.resourceName ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -241,7 +236,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -269,7 +264,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage @@ -285,7 +280,7 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { serializer }; -const deleteMethodOperationSpec: msRest.OperationSpec = { +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}", urlParameters: [ @@ -297,13 +292,14 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { Parameters.serverVulnerabilityAssessment ], queryParameters: [ - Parameters.apiVersion6 + Parameters.apiVersion7 ], headerParameters: [ Parameters.acceptLanguage ], responses: { 200: {}, + 202: {}, 204: {}, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/security/arm-security/src/operations/settings.ts b/sdk/security/arm-security/src/operations/settings.ts index dfe07c34cb90..d07565cb45c1 100644 --- a/sdk/security/arm-security/src/operations/settings.ts +++ b/sdk/security/arm-security/src/operations/settings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -52,18 +51,18 @@ export class Settings { /** * Settings of different configurations in security center - * @param settingName Name of setting: (MCAS/WDATP). Possible values include: 'MCAS', 'WDATP' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' * @param [options] The optional parameters * @returns Promise */ get(settingName: Models.SettingName, options?: msRest.RequestOptionsBase): Promise; /** - * @param settingName Name of setting: (MCAS/WDATP). Possible values include: 'MCAS', 'WDATP' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' * @param callback The callback */ get(settingName: Models.SettingName, callback: msRest.ServiceCallback): void; /** - * @param settingName Name of setting: (MCAS/WDATP). Possible values include: 'MCAS', 'WDATP' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' * @param options The optional parameters * @param callback The callback */ @@ -80,20 +79,20 @@ export class Settings { /** * updating settings about different configurations in security center - * @param settingName Name of setting: (MCAS/WDATP). Possible values include: 'MCAS', 'WDATP' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' * @param setting Setting object * @param [options] The optional parameters * @returns Promise */ update(settingName: Models.SettingName1, setting: Models.SettingUnion, options?: msRest.RequestOptionsBase): Promise; /** - * @param settingName Name of setting: (MCAS/WDATP). Possible values include: 'MCAS', 'WDATP' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' * @param setting Setting object * @param callback The callback */ update(settingName: Models.SettingName1, setting: Models.SettingUnion, callback: msRest.ServiceCallback): void; /** - * @param settingName Name of setting: (MCAS/WDATP). Possible values include: 'MCAS', 'WDATP' + * @param settingName The name of the setting. Possible values include: 'MCAS', 'WDATP', 'Sentinel' * @param setting Setting object * @param options The optional parameters * @param callback The callback @@ -148,7 +147,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -169,10 +168,10 @@ const getOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}", urlParameters: [ Parameters.subscriptionId, - Parameters.settingName0 + Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -193,10 +192,10 @@ const updateOperationSpec: msRest.OperationSpec = { path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}", urlParameters: [ Parameters.subscriptionId, - Parameters.settingName0 + Parameters.settingName1 ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion12 ], headerParameters: [ Parameters.acceptLanguage @@ -226,6 +225,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion12 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/softwareInventories.ts b/sdk/security/arm-security/src/operations/softwareInventories.ts new file mode 100644 index 000000000000..e532a81d71dd --- /dev/null +++ b/sdk/security/arm-security/src/operations/softwareInventories.ts @@ -0,0 +1,325 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/softwareInventoriesMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a SoftwareInventories. */ +export class SoftwareInventories { + private readonly client: SecurityCenterContext; + + /** + * Create a SoftwareInventories. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * Gets the software inventory of the virtual machine. + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param resourceNamespace The namespace of the resource. + * @param resourceType The type of the resource. + * @param resourceName Name of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param resourceNamespace The namespace of the resource. + * @param resourceType The type of the resource. + * @param resourceName Name of the resource. + * @param callback The callback + */ + listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param resourceNamespace The namespace of the resource. + * @param resourceType The type of the resource. + * @param resourceName Name of the resource. + * @param options The optional parameters + * @param callback The callback + */ + listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + resourceNamespace, + resourceType, + resourceName, + options + }, + listByExtendedResourceOperationSpec, + callback) as Promise; + } + + /** + * Gets the software inventory of all virtual machines in the subscriptions. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscription(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listBySubscription(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscription(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listBySubscriptionOperationSpec, + callback) as Promise; + } + + /** + * Gets a single software data of the virtual machine. + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param resourceNamespace The namespace of the resource. + * @param resourceType The type of the resource. + * @param resourceName Name of the resource. + * @param softwareName Name of the installed software. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, softwareName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param resourceNamespace The namespace of the resource. + * @param resourceType The type of the resource. + * @param resourceName Name of the resource. + * @param softwareName Name of the installed software. + * @param callback The callback + */ + get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, softwareName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group within the user's subscription. The name + * is case insensitive. + * @param resourceNamespace The namespace of the resource. + * @param resourceType The type of the resource. + * @param resourceName Name of the resource. + * @param softwareName Name of the installed software. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, softwareName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, softwareName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + resourceNamespace, + resourceType, + resourceName, + softwareName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Gets the software inventory of the virtual machine. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByExtendedResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByExtendedResourceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByExtendedResourceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByExtendedResourceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByExtendedResourceNextOperationSpec, + callback) as Promise; + } + + /** + * Gets the software inventory of all virtual machines in the subscriptions. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listBySubscriptionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listBySubscriptionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listBySubscriptionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByExtendedResourceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.resourceNamespace, + Parameters.resourceType, + Parameters.resourceName + ], + queryParameters: [ + Parameters.apiVersion14 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SoftwaresList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Security/softwareInventories", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion14 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SoftwaresList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories/{softwareName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.resourceNamespace, + Parameters.resourceType, + Parameters.resourceName, + Parameters.softwareName + ], + queryParameters: [ + Parameters.apiVersion14 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Software + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByExtendedResourceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion14 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SoftwaresList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion14 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SoftwaresList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts new file mode 100644 index 000000000000..a2407e00d3f8 --- /dev/null +++ b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentBaselineRules.ts @@ -0,0 +1,359 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/sqlVulnerabilityAssessmentBaselineRulesMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a SqlVulnerabilityAssessmentBaselineRules. */ +export class SqlVulnerabilityAssessmentBaselineRules { + private readonly client: SecurityCenterContext; + + /** + * Create a SqlVulnerabilityAssessmentBaselineRules. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * @summary Creates a Baseline for a rule in a database. Will overwrite any previously existing + * results. + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: Models.SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams): Promise; + /** + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + createOrUpdate(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options: Models.SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; + createOrUpdate(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: Models.SqlVulnerabilityAssessmentBaselineRulesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + ruleId, + workspaceId, + apiVersion, + resourceId, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets the results for a given rule in the Baseline. + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + get(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + get(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + get(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + ruleId, + workspaceId, + apiVersion, + resourceId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Deletes a rule from the Baseline of a given database. + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + deleteMethod(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param ruleId The rule Id. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(ruleId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + ruleId, + workspaceId, + apiVersion, + resourceId, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * @summary Gets the results for all rules in the Baseline. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + list(workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + list(workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + list(workspaceId: string, apiVersion: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + workspaceId, + apiVersion, + resourceId, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * @summary Add a list of baseline rules. Will overwrite any previously existing results (for all + * rules). + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + add(workspaceId: string, apiVersion: string, resourceId: string, options?: Models.SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams): Promise; + /** + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + add(workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + add(workspaceId: string, apiVersion: string, resourceId: string, options: Models.SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams, callback: msRest.ServiceCallback): void; + add(workspaceId: string, apiVersion: string, resourceId: string, options?: Models.SqlVulnerabilityAssessmentBaselineRulesAddOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + workspaceId, + apiVersion, + resourceId, + options + }, + addOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", + urlParameters: [ + Parameters.ruleId, + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "body" + ], + mapper: Mappers.RuleResultsInput + }, + responses: { + 200: { + bodyMapper: Mappers.RuleResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", + urlParameters: [ + Parameters.ruleId, + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RuleResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}", + urlParameters: [ + Parameters.ruleId, + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules", + urlParameters: [ + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RulesResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const addOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules", + urlParameters: [ + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "body" + ], + mapper: Mappers.RulesResultsInput + }, + responses: { + 200: { + bodyMapper: Mappers.RulesResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScanResults.ts b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScanResults.ts new file mode 100644 index 000000000000..89a736a9a27a --- /dev/null +++ b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScanResults.ts @@ -0,0 +1,164 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/sqlVulnerabilityAssessmentScanResultsMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a SqlVulnerabilityAssessmentScanResults. */ +export class SqlVulnerabilityAssessmentScanResults { + private readonly client: SecurityCenterContext; + + /** + * Create a SqlVulnerabilityAssessmentScanResults. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * @summary Gets the scan results of a single rule in a scan record. + * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan. + * @param scanResultId The rule Id of the results. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + get(scanId: string, scanResultId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan. + * @param scanResultId The rule Id of the results. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + get(scanId: string, scanResultId: string, workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan. + * @param scanResultId The rule Id of the results. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + get(scanId: string, scanResultId: string, workspaceId: string, apiVersion: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(scanId: string, scanResultId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scanId, + scanResultId, + workspaceId, + apiVersion, + resourceId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets a list of scan results for a single scan record. + * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + list(scanId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + list(scanId: string, workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + list(scanId: string, workspaceId: string, apiVersion: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(scanId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scanId, + workspaceId, + apiVersion, + resourceId, + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults/{scanResultId}", + urlParameters: [ + Parameters.scanId, + Parameters.scanResultId, + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScanResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults", + urlParameters: [ + Parameters.scanId, + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScanResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScans.ts b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScans.ts new file mode 100644 index 000000000000..3ea4f5be8f98 --- /dev/null +++ b/sdk/security/arm-security/src/operations/sqlVulnerabilityAssessmentScans.ts @@ -0,0 +1,154 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/sqlVulnerabilityAssessmentScansMappers"; +import * as Parameters from "../models/parameters"; +import { SecurityCenterContext } from "../securityCenterContext"; + +/** Class representing a SqlVulnerabilityAssessmentScans. */ +export class SqlVulnerabilityAssessmentScans { + private readonly client: SecurityCenterContext; + + /** + * Create a SqlVulnerabilityAssessmentScans. + * @param {SecurityCenterContext} client Reference to the service client. + */ + constructor(client: SecurityCenterContext) { + this.client = client; + } + + /** + * @summary Gets the scan details of a single scan record. + * @param scanId The scan Id. Type 'latest' to get the scan record for the latest scan. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + get(scanId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param scanId The scan Id. Type 'latest' to get the scan record for the latest scan. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + get(scanId: string, workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param scanId The scan Id. Type 'latest' to get the scan record for the latest scan. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + get(scanId: string, workspaceId: string, apiVersion: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(scanId: string, workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + scanId, + workspaceId, + apiVersion, + resourceId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Gets a list of scan records. + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param [options] The optional parameters + * @returns Promise + */ + list(workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param callback The callback + */ + list(workspaceId: string, apiVersion: string, resourceId: string, callback: msRest.ServiceCallback): void; + /** + * @param workspaceId The workspace Id. + * @param apiVersion The api version. + * @param resourceId The identifier of the resource. + * @param options The optional parameters + * @param callback The callback + */ + list(workspaceId: string, apiVersion: string, resourceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(workspaceId: string, apiVersion: string, resourceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + workspaceId, + apiVersion, + resourceId, + options + }, + listOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}", + urlParameters: [ + Parameters.scanId, + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Scan + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans", + urlParameters: [ + Parameters.resourceId + ], + queryParameters: [ + Parameters.workspaceId, + Parameters.apiVersion9 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Scans + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/security/arm-security/src/operations/subAssessments.ts b/sdk/security/arm-security/src/operations/subAssessments.ts index 64a0fbc45549..fe62009099b6 100644 --- a/sdk/security/arm-security/src/operations/subAssessments.ts +++ b/sdk/security/arm-security/src/operations/subAssessments.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -278,6 +277,9 @@ const listAllNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -299,6 +301,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion6 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/tasks.ts b/sdk/security/arm-security/src/operations/tasks.ts index 28712385dcf5..726bc72a067b 100644 --- a/sdk/security/arm-security/src/operations/tasks.ts +++ b/sdk/security/arm-security/src/operations/tasks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -251,7 +250,7 @@ export class Tasks { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.TasksListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -262,8 +261,8 @@ export class Tasks { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.TasksListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.TasksListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -279,7 +278,7 @@ export class Tasks { * @param [options] The optional parameters * @returns Promise */ - listByHomeRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByHomeRegionNext(nextPageLink: string, options?: Models.TasksListByHomeRegionNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -290,8 +289,8 @@ export class Tasks { * @param options The optional parameters * @param callback The callback */ - listByHomeRegionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByHomeRegionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByHomeRegionNext(nextPageLink: string, options: Models.TasksListByHomeRegionNextOptionalParams, callback: msRest.ServiceCallback): void; + listByHomeRegionNext(nextPageLink: string, options?: Models.TasksListByHomeRegionNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -307,7 +306,7 @@ export class Tasks { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.TasksListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -318,8 +317,8 @@ export class Tasks { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.TasksListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.TasksListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -514,6 +513,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], @@ -535,6 +538,10 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], @@ -556,6 +563,10 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion4, + Parameters.filter + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/topology.ts b/sdk/security/arm-security/src/operations/topology.ts index 05a1723a8999..c41bb2410b82 100644 --- a/sdk/security/arm-security/src/operations/topology.ts +++ b/sdk/security/arm-security/src/operations/topology.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -248,6 +247,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -269,6 +271,9 @@ const listByHomeRegionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion7 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/operations/workspaceSettings.ts b/sdk/security/arm-security/src/operations/workspaceSettings.ts index 242206b5175f..73a69a9bb1a9 100644 --- a/sdk/security/arm-security/src/operations/workspaceSettings.ts +++ b/sdk/security/arm-security/src/operations/workspaceSettings.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -343,6 +342,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion5 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/security/arm-security/src/securityCenter.ts b/sdk/security/arm-security/src/securityCenter.ts index 5f78c4465490..94a052843133 100644 --- a/sdk/security/arm-security/src/securityCenter.ts +++ b/sdk/security/arm-security/src/securityCenter.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -9,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -19,8 +19,6 @@ class SecurityCenter extends SecurityCenterContext { // Operation groups complianceResults: operations.ComplianceResults; pricings: operations.Pricings; - alerts: operations.Alerts; - settings: operations.Settings; advancedThreatProtection: operations.AdvancedThreatProtection; deviceSecurityGroups: operations.DeviceSecurityGroups; iotSecuritySolution: operations.IotSecuritySolution; @@ -38,10 +36,10 @@ class SecurityCenter extends SecurityCenterContext { regulatoryComplianceStandards: operations.RegulatoryComplianceStandards; regulatoryComplianceControls: operations.RegulatoryComplianceControls; regulatoryComplianceAssessments: operations.RegulatoryComplianceAssessments; - serverVulnerabilityAssessment: operations.ServerVulnerabilityAssessmentOperations; subAssessments: operations.SubAssessments; automations: operations.Automations; alertsSuppressionRules: operations.AlertsSuppressionRules; + serverVulnerabilityAssessment: operations.ServerVulnerabilityAssessmentOperations; assessmentsMetadata: operations.AssessmentsMetadata; assessments: operations.Assessments; adaptiveApplicationControls: operations.AdaptiveApplicationControls; @@ -50,25 +48,49 @@ class SecurityCenter extends SecurityCenterContext { topology: operations.Topology; jitNetworkAccessPolicies: operations.JitNetworkAccessPolicies; discoveredSecuritySolutions: operations.DiscoveredSecuritySolutions; + securitySolutionsReferenceData: operations.SecuritySolutionsReferenceDataOperations; externalSecuritySolutions: operations.ExternalSecuritySolutions; secureScores: operations.SecureScores; secureScoreControls: operations.SecureScoreControls; secureScoreControlDefinitions: operations.SecureScoreControlDefinitions; + securitySolutions: operations.SecuritySolutions; + connectors: operations.Connectors; + sqlVulnerabilityAssessmentScans: operations.SqlVulnerabilityAssessmentScans; + sqlVulnerabilityAssessmentScanResults: operations.SqlVulnerabilityAssessmentScanResults; + sqlVulnerabilityAssessmentBaselineRules: operations.SqlVulnerabilityAssessmentBaselineRules; + iotDefenderSettings: operations.IotDefenderSettings; + iotSensors: operations.IotSensors; + devicesForSubscription: operations.DevicesForSubscription; + devicesForHub: operations.DevicesForHub; + device: operations.DeviceOperations; + onPremiseIotSensors: operations.OnPremiseIotSensors; + iotSites: operations.IotSites; + iotAlerts: operations.IotAlerts; + iotAlertTypes: operations.IotAlertTypes; + iotRecommendations: operations.IotRecommendations; + iotRecommendationTypes: operations.IotRecommendationTypes; + alerts: operations.Alerts; + settings: operations.Settings; + ingestionSettings: operations.IngestionSettings; + softwareInventories: operations.SoftwareInventories; /** * Initializes a new instance of the SecurityCenter class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription ID * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved * from Get locations * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, ascLocation: string, options?: Models.SecurityCenterOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, ascLocation: string, options?: Models.SecurityCenterOptions) { super(credentials, subscriptionId, ascLocation, options); this.complianceResults = new operations.ComplianceResults(this); this.pricings = new operations.Pricings(this); - this.alerts = new operations.Alerts(this); - this.settings = new operations.Settings(this); this.advancedThreatProtection = new operations.AdvancedThreatProtection(this); this.deviceSecurityGroups = new operations.DeviceSecurityGroups(this); this.iotSecuritySolution = new operations.IotSecuritySolution(this); @@ -86,10 +108,10 @@ class SecurityCenter extends SecurityCenterContext { this.regulatoryComplianceStandards = new operations.RegulatoryComplianceStandards(this); this.regulatoryComplianceControls = new operations.RegulatoryComplianceControls(this); this.regulatoryComplianceAssessments = new operations.RegulatoryComplianceAssessments(this); - this.serverVulnerabilityAssessment = new operations.ServerVulnerabilityAssessmentOperations(this); this.subAssessments = new operations.SubAssessments(this); this.automations = new operations.Automations(this); this.alertsSuppressionRules = new operations.AlertsSuppressionRules(this); + this.serverVulnerabilityAssessment = new operations.ServerVulnerabilityAssessmentOperations(this); this.assessmentsMetadata = new operations.AssessmentsMetadata(this); this.assessments = new operations.Assessments(this); this.adaptiveApplicationControls = new operations.AdaptiveApplicationControls(this); @@ -98,10 +120,31 @@ class SecurityCenter extends SecurityCenterContext { this.topology = new operations.Topology(this); this.jitNetworkAccessPolicies = new operations.JitNetworkAccessPolicies(this); this.discoveredSecuritySolutions = new operations.DiscoveredSecuritySolutions(this); + this.securitySolutionsReferenceData = new operations.SecuritySolutionsReferenceDataOperations(this); this.externalSecuritySolutions = new operations.ExternalSecuritySolutions(this); this.secureScores = new operations.SecureScores(this); this.secureScoreControls = new operations.SecureScoreControls(this); this.secureScoreControlDefinitions = new operations.SecureScoreControlDefinitions(this); + this.securitySolutions = new operations.SecuritySolutions(this); + this.connectors = new operations.Connectors(this); + this.sqlVulnerabilityAssessmentScans = new operations.SqlVulnerabilityAssessmentScans(this); + this.sqlVulnerabilityAssessmentScanResults = new operations.SqlVulnerabilityAssessmentScanResults(this); + this.sqlVulnerabilityAssessmentBaselineRules = new operations.SqlVulnerabilityAssessmentBaselineRules(this); + this.iotDefenderSettings = new operations.IotDefenderSettings(this); + this.iotSensors = new operations.IotSensors(this); + this.devicesForSubscription = new operations.DevicesForSubscription(this); + this.devicesForHub = new operations.DevicesForHub(this); + this.device = new operations.DeviceOperations(this); + this.onPremiseIotSensors = new operations.OnPremiseIotSensors(this); + this.iotSites = new operations.IotSites(this); + this.iotAlerts = new operations.IotAlerts(this); + this.iotAlertTypes = new operations.IotAlertTypes(this); + this.iotRecommendations = new operations.IotRecommendations(this); + this.iotRecommendationTypes = new operations.IotRecommendationTypes(this); + this.alerts = new operations.Alerts(this); + this.settings = new operations.Settings(this); + this.ingestionSettings = new operations.IngestionSettings(this); + this.softwareInventories = new operations.SoftwareInventories(this); } } diff --git a/sdk/security/arm-security/src/securityCenterContext.ts b/sdk/security/arm-security/src/securityCenterContext.ts index e740963ad836..42fe5c574428 100644 --- a/sdk/security/arm-security/src/securityCenterContext.ts +++ b/sdk/security/arm-security/src/securityCenterContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -11,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-security"; -const packageVersion = "2.0.0"; +const packageVersion = "3.0.0"; export class SecurityCenterContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; ascLocation: string; /** * Initializes a new instance of the SecurityCenter class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription ID * @param ascLocation The location where ASC stores the data of the subscription. can be retrieved * from Get locations * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, ascLocation: string, options?: Models.SecurityCenterOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, ascLocation: string, options?: Models.SecurityCenterOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } @@ -42,7 +47,7 @@ export class SecurityCenterContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } - if(!options.userAgent) { + if (!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } @@ -57,10 +62,10 @@ export class SecurityCenterContext extends msRestAzure.AzureServiceClient { this.subscriptionId = subscriptionId; this.ascLocation = ascLocation; - if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } From c07f91d1e71af2b4d99db429da01ed28f40f5116 Mon Sep 17 00:00:00 2001 From: Wei Dong <40835867+dw511214992@users.noreply.github.com> Date: Thu, 1 Jul 2021 14:36:50 +0800 Subject: [PATCH 107/134] disable orginal pipeline for mgmt in main branch (#16026) * Delete mgmt-ci.yml * Delete mgmt-pr.yml --- eng/pipelines/mgmt-ci.yml | 257 -------------------------------------- eng/pipelines/mgmt-pr.yml | 244 ------------------------------------ 2 files changed, 501 deletions(-) delete mode 100644 eng/pipelines/mgmt-ci.yml delete mode 100644 eng/pipelines/mgmt-pr.yml diff --git a/eng/pipelines/mgmt-ci.yml b/eng/pipelines/mgmt-ci.yml deleted file mode 100644 index 906ab013e9b7..000000000000 --- a/eng/pipelines/mgmt-ci.yml +++ /dev/null @@ -1,257 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - eng/pipelines/mgmt-pr.yml - - sdk/advisor/arm-advisor - - sdk/analysisservices/arm-analysisservices - - sdk/apimanagement/arm-apimanagement - - sdk/appconfiguration/arm-appconfiguration - - sdk/applicationinsights/arm-appinsights - - sdk/appplatform/arm-appplatform - - sdk/appservice/arm-appservice - - sdk/appservice/arm-appservice-profile-2019-03-01-hybrid - - sdk/appservice/arm-appservice-profile-2020-09-01-hybrid - - sdk/attestation/arm-attestation - - sdk/authorization/arm-authorization - - sdk/authorization/arm-authorization-profile-2019-03-01-hybrid - - sdk/authorization/arm-authorization-profile-2020-09-01-hybrid - - sdk/automation/arm-automation - - sdk/avs/arm-avs - - sdk/azurestack/arm-azurestack - - sdk/azurestackhci/arm-azurestackhci - - sdk/batch/arm-batch - - sdk/batchai/arm-batchai - - sdk/billing/arm-billing - - sdk/botservice/arm-botservice - - sdk/cdn/arm-cdn - - sdk/changeanalysis/arm-changeanalysis - - sdk/cognitiveservices/arm-cognitiveservices - - sdk/commerce/arm-commerce - - sdk/commerce/arm-commerce-profile-2020-09-01-hybrid - - sdk/communication/arm-communication - - sdk/compute/arm-compute - - sdk/compute/arm-compute-profile-2019-03-01-hybrid - - sdk/compute/arm-compute-profile-2020-09-01-hybrid - - sdk/confluent/arm-confluent - - sdk/consumption/arm-consumption - - sdk/containerinstance/arm-containerinstance - - sdk/containerregistry/arm-containerregistry - - sdk/containerservice/arm-containerservice - - sdk/cosmosdb/arm-cosmosdb - - sdk/customer-insights/arm-customerinsights - - sdk/databox/arm-databox - - sdk/databoxedge/arm-databoxedge - - sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid - - sdk/databricks/arm-databricks - - sdk/datacatalog/arm-datacatalog - - sdk/datafactory/arm-datafactory - - sdk/datalake-analytics/arm-datalake-analytics - - sdk/datamigration/arm-datamigration - - sdk/deploymentmanager/arm-deploymentmanager - - sdk/deviceprovisioningservices/arm-deviceprovisioningservices - - sdk/devspaces/arm-devspaces - - sdk/devtestlabs/arm-devtestlabs - - sdk/digitaltwins/arm-digitaltwins - - sdk/dns/arm-dns - - sdk/dns/arm-dns-profile-2019-03-01-hybrid - - sdk/dns/arm-dns-profile-2020-09-01-hybrid - - sdk/domainservices/arm-domainservices - - sdk/edgegateway/arm-edgegateway - - sdk/eventgrid/arm-eventgrid - - sdk/eventhub/arm-eventhub - - sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid - - sdk/features/arm-features - - sdk/frontdoor/arm-frontdoor - - sdk/hanaonazure/arm-hanaonazure - - sdk/hdinsight/arm-hdinsight - - sdk/healthbot/arm-healthbot - - sdk/healthcareapis/arm-healthcareapis - - sdk/hybridcompute/arm-hybridcompute - - sdk/hybridkubernetes/arm-hybridkubernetes - - sdk/iotcentral/arm-iotcentral - - sdk/iothub/arm-iothub - - sdk/iothub/arm-iothub-profile-2020-09-01-hybrid - - sdk/iotspaces/arm-iotspaces - - sdk/keyvault/arm-keyvault - - sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid - - sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid - - sdk/kubernetesconfiguration/arm-kubernetesconfiguration - - sdk/kusto/arm-kusto - - sdk/labservices/arm-labservices - - sdk/links/arm-links - - sdk/locks/arm-locks - - sdk/locks/arm-locks-profile-2020-09-01-hybrid - - sdk/locks/arm-locks-profile-hybrid-2019-03-01 - - sdk/logic/arm-logic - - sdk/machinelearning/arm-commitmentplans - - sdk/machinelearning/arm-webservices - - sdk/machinelearning/arm-workspaces - - sdk/machinelearningcompute/arm-machinelearningcompute - - sdk/machinelearningexperimentation/arm-machinelearningexperimentation - - sdk/machinelearningservices/arm-machinelearningservices - - sdk/managedapplications/arm-managedapplications - - sdk/managementgroups/arm-managementgroups - - sdk/managementpartner/arm-managementpartner - - sdk/maps/arm-maps - - sdk/mariadb/arm-mariadb - - sdk/marketplaceordering/arm-marketplaceordering - - sdk/mediaservices/arm-mediaservices - - sdk/migrate/arm-migrate - - sdk/mixedreality/arm-mixedreality - - sdk/monitor/arm-monitor - - sdk/monitor/arm-monitor-profile-2019-03-01-hybrid - - sdk/monitor/arm-monitor-profile-2020-09-01-hybrid - - sdk/msi/arm-msi - - sdk/mysql/arm-mysql - - sdk/netapp/arm-netapp - - sdk/network/arm-network - - sdk/network/arm-network-profile-2019-03-01-hybrid - - sdk/network/arm-network-profile-2020-09-01-hybrid - - sdk/notificationhubs/arm-notificationhubs - - sdk/operationalinsights/arm-operationalinsights - - sdk/operationsmanagement/arm-operations - - sdk/peering/arm-peering - - sdk/policy/arm-policy - - sdk/policy/arm-policy-profile-2020-09-01-hybrid - - sdk/policy/arm-policy-profile-hybrid-2019-03-01 - - sdk/policyinsights/arm-policyinsights - - sdk/postgresql/arm-postgresql - - sdk/powerbidedicated/arm-powerbidedicated - - sdk/powerbiembedded/arm-powerbiembedded - - sdk/privatedns/arm-privatedns - - sdk/recoveryservices/arm-recoveryservices - - sdk/recoveryservicesbackup/arm-recoveryservicesbackup - - sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery - - sdk/redis/arm-rediscache - - sdk/redisenterprise/arm-redisenterprisecache - - sdk/relay/arm-relay - - sdk/reservations/arm-reservations - - sdk/resourcegraph/arm-resourcegraph - - sdk/resourcehealth/arm-resourcehealth - - sdk/resourcemover/arm-resourcemover - - sdk/resources/arm-resources - - sdk/resources/arm-resources-profile-2020-09-01-hybrid - - sdk/resources/arm-resources-profile-hybrid-2019-03-01 - - sdk/search/arm-search - - sdk/security/arm-security - - sdk/serialconsole/arm-serialconsole - - sdk/service-map/arm-servicemap - - sdk/servicebus/arm-servicebus - - sdk/servicefabric/arm-servicefabric - - sdk/servicefabricmesh/arm-servicefabricmesh - - sdk/signalr/arm-signalr - - sdk/sql/arm-sql - - sdk/sqlvirtualmachine/arm-sqlvirtualmachine - - sdk/storage/arm-storage - - sdk/storage/arm-storage-profile-2019-03-01-hybrid - - sdk/storage/arm-storage-profile-2020-09-01-hybrid - - sdk/storagecache/arm-storagecache - - sdk/storageimportexport/arm-storageimportexport - - sdk/storagesync/arm-storagesync - - sdk/storsimple1200series/arm-storsimple1200series - - sdk/storsimple8000series/arm-storsimple8000series - - sdk/streamanalytics/arm-streamanalytics - - sdk/subscription/arm-subscriptions - - sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid - - sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01 - - sdk/support/arm-support - - sdk/synapse/arm-synapse - - sdk/timeseriesinsights/arm-timeseriesinsights - - sdk/trafficmanager/arm-trafficmanager - - sdk/visualstudio/arm-visualstudio - - sdk/vmwarecloudsimple/arm-vmwarecloudsimple - - sdk/applicationinsights/applicationinsights-query - - sdk/batch/batch - - sdk/cognitiveservices/cognitiveservices-anomalydetector - - sdk/cognitiveservices/cognitiveservices-autosuggest - - sdk/cognitiveservices/cognitiveservices-computervision - - sdk/cognitiveservices/cognitiveservices-contentmoderator - - sdk/cognitiveservices/cognitiveservices-customimagesearch - - sdk/cognitiveservices/cognitiveservices-customsearch - - sdk/cognitiveservices/cognitiveservices-customvision-prediction - - sdk/cognitiveservices/cognitiveservices-customvision-training - - sdk/cognitiveservices/cognitiveservices-entitysearch - - sdk/cognitiveservices/cognitiveservices-face - - sdk/cognitiveservices/cognitiveservices-formrecognizer - - sdk/cognitiveservices/cognitiveservices-imagesearch - - sdk/cognitiveservices/cognitiveservices-localsearch - - sdk/cognitiveservices/cognitiveservices-luis-authoring - - sdk/cognitiveservices/cognitiveservices-luis-runtime - - sdk/cognitiveservices/cognitiveservices-newssearch - - sdk/cognitiveservices/cognitiveservices-personalizer - - sdk/cognitiveservices/cognitiveservices-qnamaker - - sdk/cognitiveservices/cognitiveservices-qnamaker-runtime - - sdk/cognitiveservices/cognitiveservices-spellcheck - - sdk/cognitiveservices/cognitiveservices-textanalytics - - sdk/cognitiveservices/cognitiveservices-translatortext - - sdk/cognitiveservices/cognitiveservices-videosearch - - sdk/cognitiveservices/cognitiveservices-visualsearch - - sdk/cognitiveservices/cognitiveservices-websearch - - sdk/eventhub/event-processor-host - - sdk/graphrbac/graph - - sdk/keyvault/keyvault-common - - sdk/operationalinsights/loganalytics - - sdk/servicefabric/servicefabric - - sdk/storage/storage-datalake - - sdk/storage/storage-internal-avro - -pr: none - -variables: - NodeVersion: '10.x' - -jobs: - - job: 'Build' - - pool: - vmImage: 'Ubuntu 20.04' - - steps: - - task: NodeTool@0 - inputs: - versionSpec: '$(NodeVersion)' - displayName: 'Install Node.js $(NodeVersion)' - - - task: Npm@1 - displayName: 'npm install' - inputs: - verbose: false - - - script: 'gulp pack --base-reference=main --head-reference=main' - displayName: 'gulp pack' - - - task: CopyFiles@2 - displayName: 'Copy Files to: drop' - inputs: - Contents: '*.tgz' - TargetFolder: drop - - - task: PublishBuildArtifacts@1 - inputs: - pathtoPublish: $(Build.SourcesDirectory)/drop - - - job: 'Analyze' - - pool: - vmImage: 'Ubuntu 20.04' - - steps: - - task: NodeTool@0 - inputs: - versionSpec: '$(NodeVersion)' - displayName: 'Install Node.js $(NodeVersion)' - - - task: Npm@1 - displayName: 'npm install' - inputs: - command: install - - - task: Npm@1 - displayName: 'npm audit' - condition: and(succeeded(), eq(variables['RunNpmAudit'], 'true')) - inputs: - command: custom - customCommand: 'audit' diff --git a/eng/pipelines/mgmt-pr.yml b/eng/pipelines/mgmt-pr.yml deleted file mode 100644 index 32f30504a7aa..000000000000 --- a/eng/pipelines/mgmt-pr.yml +++ /dev/null @@ -1,244 +0,0 @@ -pr: - branches: - include: - - main - - '*-preview' - paths: - include: - - eng/pipelines/mgmt-pr.yml - - sdk/advisor/arm-advisor - - sdk/analysisservices/arm-analysisservices - - sdk/apimanagement/arm-apimanagement - - sdk/appconfiguration/arm-appconfiguration - - sdk/applicationinsights/arm-appinsights - - sdk/appplatform/arm-appplatform - - sdk/appservice/arm-appservice - - sdk/appservice/arm-appservice-profile-2019-03-01-hybrid - - sdk/appservice/arm-appservice-profile-2020-09-01-hybrid - - sdk/attestation/arm-attestation - - sdk/authorization/arm-authorization - - sdk/authorization/arm-authorization-profile-2019-03-01-hybrid - - sdk/authorization/arm-authorization-profile-2020-09-01-hybrid - - sdk/automation/arm-automation - - sdk/avs/arm-avs - - sdk/azurestack/arm-azurestack - - sdk/azurestackhci/arm-azurestackhci - - sdk/batch/arm-batch - - sdk/batchai/arm-batchai - - sdk/billing/arm-billing - - sdk/botservice/arm-botservice - - sdk/cdn/arm-cdn - - sdk/changeanalysis/arm-changeanalysis - - sdk/cognitiveservices/arm-cognitiveservices - - sdk/commerce/arm-commerce - - sdk/commerce/arm-commerce-profile-2020-09-01-hybrid - - sdk/communication/arm-communication - - sdk/compute/arm-compute - - sdk/compute/arm-compute-profile-2019-03-01-hybrid - - sdk/compute/arm-compute-profile-2020-09-01-hybrid - - sdk/confluent/arm-confluent - - sdk/consumption/arm-consumption - - sdk/containerinstance/arm-containerinstance - - sdk/containerregistry/arm-containerregistry - - sdk/containerservice/arm-containerservice - - sdk/cosmosdb/arm-cosmosdb - - sdk/customer-insights/arm-customerinsights - - sdk/databox/arm-databox - - sdk/databoxedge/arm-databoxedge - - sdk/databoxedge/arm-databoxedge-profile-2020-09-01-hybrid - - sdk/databricks/arm-databricks - - sdk/datacatalog/arm-datacatalog - - sdk/datafactory/arm-datafactory - - sdk/datalake-analytics/arm-datalake-analytics - - sdk/datamigration/arm-datamigration - - sdk/deploymentmanager/arm-deploymentmanager - - sdk/deviceprovisioningservices/arm-deviceprovisioningservices - - sdk/devspaces/arm-devspaces - - sdk/devtestlabs/arm-devtestlabs - - sdk/digitaltwins/arm-digitaltwins - - sdk/dns/arm-dns - - sdk/dns/arm-dns-profile-2019-03-01-hybrid - - sdk/dns/arm-dns-profile-2020-09-01-hybrid - - sdk/domainservices/arm-domainservices - - sdk/edgegateway/arm-edgegateway - - sdk/eventgrid/arm-eventgrid - - sdk/eventhub/arm-eventhub - - sdk/eventhub/arm-eventhub-profile-2020-09-01-hybrid - - sdk/features/arm-features - - sdk/frontdoor/arm-frontdoor - - sdk/hanaonazure/arm-hanaonazure - - sdk/hdinsight/arm-hdinsight - - sdk/healthbot/arm-healthbot - - sdk/healthcareapis/arm-healthcareapis - - sdk/hybridcompute/arm-hybridcompute - - sdk/hybridkubernetes/arm-hybridkubernetes - - sdk/iotcentral/arm-iotcentral - - sdk/iothub/arm-iothub - - sdk/iothub/arm-iothub-profile-2020-09-01-hybrid - - sdk/iotspaces/arm-iotspaces - - sdk/keyvault/arm-keyvault - - sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid - - sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid - - sdk/kubernetesconfiguration/arm-kubernetesconfiguration - - sdk/kusto/arm-kusto - - sdk/labservices/arm-labservices - - sdk/links/arm-links - - sdk/locks/arm-locks - - sdk/locks/arm-locks-profile-2020-09-01-hybrid - - sdk/locks/arm-locks-profile-hybrid-2019-03-01 - - sdk/logic/arm-logic - - sdk/machinelearning/arm-commitmentplans - - sdk/machinelearning/arm-webservices - - sdk/machinelearning/arm-workspaces - - sdk/machinelearningcompute/arm-machinelearningcompute - - sdk/machinelearningexperimentation/arm-machinelearningexperimentation - - sdk/machinelearningservices/arm-machinelearningservices - - sdk/managedapplications/arm-managedapplications - - sdk/managementgroups/arm-managementgroups - - sdk/managementpartner/arm-managementpartner - - sdk/maps/arm-maps - - sdk/mariadb/arm-mariadb - - sdk/marketplaceordering/arm-marketplaceordering - - sdk/mediaservices/arm-mediaservices - - sdk/migrate/arm-migrate - - sdk/mixedreality/arm-mixedreality - - sdk/monitor/arm-monitor - - sdk/monitor/arm-monitor-profile-2019-03-01-hybrid - - sdk/monitor/arm-monitor-profile-2020-09-01-hybrid - - sdk/msi/arm-msi - - sdk/mysql/arm-mysql - - sdk/netapp/arm-netapp - - sdk/network/arm-network - - sdk/network/arm-network-profile-2019-03-01-hybrid - - sdk/network/arm-network-profile-2020-09-01-hybrid - - sdk/notificationhubs/arm-notificationhubs - - sdk/operationalinsights/arm-operationalinsights - - sdk/operationsmanagement/arm-operations - - sdk/peering/arm-peering - - sdk/policy/arm-policy - - sdk/policy/arm-policy-profile-2020-09-01-hybrid - - sdk/policy/arm-policy-profile-hybrid-2019-03-01 - - sdk/policyinsights/arm-policyinsights - - sdk/postgresql/arm-postgresql - - sdk/powerbidedicated/arm-powerbidedicated - - sdk/powerbiembedded/arm-powerbiembedded - - sdk/privatedns/arm-privatedns - - sdk/recoveryservices/arm-recoveryservices - - sdk/recoveryservicesbackup/arm-recoveryservicesbackup - - sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery - - sdk/redis/arm-rediscache - - sdk/redisenterprise/arm-redisenterprisecache - - sdk/relay/arm-relay - - sdk/reservations/arm-reservations - - sdk/resourcegraph/arm-resourcegraph - - sdk/resourcehealth/arm-resourcehealth - - sdk/resourcemover/arm-resourcemover - - sdk/resources/arm-resources - - sdk/resources/arm-resources-profile-2020-09-01-hybrid - - sdk/resources/arm-resources-profile-hybrid-2019-03-01 - - sdk/search/arm-search - - sdk/security/arm-security - - sdk/serialconsole/arm-serialconsole - - sdk/service-map/arm-servicemap - - sdk/servicebus/arm-servicebus - - sdk/servicefabric/arm-servicefabric - - sdk/servicefabricmesh/arm-servicefabricmesh - - sdk/signalr/arm-signalr - - sdk/sql/arm-sql - - sdk/sqlvirtualmachine/arm-sqlvirtualmachine - - sdk/storage/arm-storage - - sdk/storage/arm-storage-profile-2019-03-01-hybrid - - sdk/storage/arm-storage-profile-2020-09-01-hybrid - - sdk/storagecache/arm-storagecache - - sdk/storageimportexport/arm-storageimportexport - - sdk/storagesync/arm-storagesync - - sdk/storsimple1200series/arm-storsimple1200series - - sdk/storsimple8000series/arm-storsimple8000series - - sdk/streamanalytics/arm-streamanalytics - - sdk/subscription/arm-subscriptions - - sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid - - sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01 - - sdk/support/arm-support - - sdk/synapse/arm-synapse - - sdk/timeseriesinsights/arm-timeseriesinsights - - sdk/trafficmanager/arm-trafficmanager - - sdk/visualstudio/arm-visualstudio - - sdk/vmwarecloudsimple/arm-vmwarecloudsimple - - sdk/applicationinsights/applicationinsights-query - - sdk/batch/batch - - sdk/cognitiveservices/cognitiveservices-anomalydetector - - sdk/cognitiveservices/cognitiveservices-autosuggest - - sdk/cognitiveservices/cognitiveservices-computervision - - sdk/cognitiveservices/cognitiveservices-contentmoderator - - sdk/cognitiveservices/cognitiveservices-customimagesearch - - sdk/cognitiveservices/cognitiveservices-customsearch - - sdk/cognitiveservices/cognitiveservices-customvision-prediction - - sdk/cognitiveservices/cognitiveservices-customvision-training - - sdk/cognitiveservices/cognitiveservices-entitysearch - - sdk/cognitiveservices/cognitiveservices-face - - sdk/cognitiveservices/cognitiveservices-formrecognizer - - sdk/cognitiveservices/cognitiveservices-imagesearch - - sdk/cognitiveservices/cognitiveservices-localsearch - - sdk/cognitiveservices/cognitiveservices-luis-authoring - - sdk/cognitiveservices/cognitiveservices-luis-runtime - - sdk/cognitiveservices/cognitiveservices-newssearch - - sdk/cognitiveservices/cognitiveservices-personalizer - - sdk/cognitiveservices/cognitiveservices-qnamaker - - sdk/cognitiveservices/cognitiveservices-qnamaker-runtime - - sdk/cognitiveservices/cognitiveservices-spellcheck - - sdk/cognitiveservices/cognitiveservices-textanalytics - - sdk/cognitiveservices/cognitiveservices-translatortext - - sdk/cognitiveservices/cognitiveservices-videosearch - - sdk/cognitiveservices/cognitiveservices-visualsearch - - sdk/cognitiveservices/cognitiveservices-websearch - - sdk/eventhub/event-processor-host - - sdk/graphrbac/graph - - sdk/keyvault/keyvault-common - - sdk/operationalinsights/loganalytics - - sdk/servicefabric/servicefabric - - sdk/storage/storage-datalake - - sdk/storage/storage-internal-avro - -variables: - NodeVersion: 10.x -jobs: -- job: Build - displayName: Build auto-generated projects - pool: - vmImage: Ubuntu 20.04 - steps: - - task: NodeTool@0 - inputs: - versionSpec: $(NodeVersion) - displayName: Install Node.js $(NodeVersion) - - task: Npm@1 - displayName: npm install - inputs: - command: install - - task: Npm@1 - displayName: npm run build - inputs: - command: custom - customCommand: run build -- --head-reference=origin/$(System.PullRequest.SourceBranch) --base-reference=origin/$(System.PullRequest.TargetBranch) --logging-level=trace -- job: Check_everything - displayName: Check .only, .skip and version bump - steps: - - task: NodeTool@0 - inputs: - versionSpec: $(NodeVersion) - displayName: Install Node.js $(NodeVersion) - - task: Npm@1 - displayName: npm install - inputs: - command: install - - task: Npm@1 - displayName: npm audit - condition: and(succeeded(), eq(variables['RunNpmAudit'], 'true')) - inputs: - command: custom - customCommand: audit - - task: Npm@1 - displayName: npm run check:everything - inputs: - command: custom - customCommand: run check:everything -- --head-reference=origin/$(System.PullRequest.SourceBranch) --base-reference=origin/$(System.PullRequest.TargetBranch) --azure-devops --verbose From 9b75850ed47e248a89bd64ad7135bd7447a0c130 Mon Sep 17 00:00:00 2001 From: KarishmaGhiya Date: Thu, 1 Jul 2021 00:56:56 -0700 Subject: [PATCH 108/134] Making secrets non-required, adding ref-docs (#16087) --- .../ai-metrics-advisor/CHANGELOG.md | 22 ++++- ...es_an_azure_application_insights_feed.json | 4 +- ...recording_creates_eventhubs_data_feed.json | 83 +++++++++++++++++ ...recording_deletes_eventhubs_data_feed.json | 68 ++++++++++++++ ...es_an_azure_application_insights_feed.json | 4 +- ...recording_creates_eventhubs_data_feed.json | 59 ++++++++++++ ...recording_deletes_eventhubs_data_feed.json | 44 +++++++++ ...ates_an_azure_application_insights_feed.js | 4 +- .../recording_creates_eventhubs_data_feed.js | 38 ++++---- .../recording_deletes_eventhubs_data_feed.js | 30 +++--- ...ates_an_azure_application_insights_feed.js | 4 +- .../recording_creates_eventhubs_data_feed.js | 28 +++--- .../recording_deletes_eventhubs_data_feed.js | 20 ++-- .../review/ai-metrics-advisor.api.md | 18 ++-- .../ai-metrics-advisor/src/models.ts | 92 +++++++++++++------ .../ai-metrics-advisor/src/transforms.ts | 14 +-- .../test/public/datafeed.spec.ts | 20 ++-- 17 files changed, 427 insertions(+), 125 deletions(-) create mode 100644 sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.json create mode 100644 sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.json create mode 100644 sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.json create mode 100644 sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.json diff --git a/sdk/metricsadvisor/ai-metrics-advisor/CHANGELOG.md b/sdk/metricsadvisor/ai-metrics-advisor/CHANGELOG.md index 0d7df83f7fc2..49723e0daaa8 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/CHANGELOG.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/CHANGELOG.md @@ -1,7 +1,27 @@ # Release History -## 1.0.0 (Unreleased) +## 1.0.0 (2021-07-06) +The Metrics Advisor library is now in GA with this release. + +### Breaking Changes + +- `listIncidents()` overloads split into `listInclidentsForAlert()` and `listIncidentsForDetectionConfiguration()` +- `listAnomalies()` overloads split into `listAnomaliesForAlert()` and `listAnomaliesForDetectionConfiguration()` +- Removed support for granularity type `PerSecond` +- Renamed "createFeedback" to "addFeedback" +- `seriesToFilter` parameter renamed to `seriesKey` in methods `getmetricenrichedseriesdata` and `getmetricseriesdata` and ordering updated +- Renamed type `DetectionConditionsOperator` to `DetectionConditionOperator` +- Renamed property `splitAlertByDimension` to `dimensionsToSplitAlert` in `AnomalyAlertConfiguration` +- Renamed `datasource` to `DataSource` +- Renamed `DatasourceCredential` to `DataSourceCredentialEntity`, `SqlServerConnectionStringDataSourceCredential` to `DataSourceSqlConnectionString`, + `DataLakeGen2SharedKeyDataSourceCredential` to `DataSourceDataLakeGen2SharedKey`, + `ServicePrincipalDataSourceCredential` to `DataSourceServicePrincipal`, + `ServicePrincipalInKeyVaultDataSourceCredential` to `DataSourceServicePrincipalInKeyVault` + +### Other Changes + +- Update methods now return the updated object ## 1.0.0-beta.4 (2021-06-07) diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.json b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.json index 919e42bf5d46..37e5c0b61c72 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.json @@ -28,7 +28,7 @@ "method": "POST", "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds", "query": {}, - "requestBody": "{\"dataSourceType\":\"AzureApplicationInsights\",\"dataFeedName\":\"js-test-appInsightsFeed-162267907697005921\",\"dataFeedDescription\":\"Data feed description\",\"granularityName\":\"Daily\",\"metrics\":[{\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00.000Z\",\"startOffsetInSeconds\":0,\"maxConcurrency\":-1,\"minRetryIntervalInSeconds\":-1,\"stopRetryAfterInSeconds\":-1,\"needRollup\":\"NeedRollup\",\"rollUpMethod\":\"Sum\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555,\"viewMode\":\"Private\",\"authenticationType\":\"Basic\",\"dataSourceParameter\":{\"azureCloud\":\"Azure\",\"applicationId\":\"appInsights_application\",\"apiKey\":\"appInsights_app_key\",\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\"}}", + "requestBody": "{\"dataSourceType\":\"AzureApplicationInsights\",\"dataFeedName\":\"js-test-appInsightsFeed-162267907697005921\",\"dataFeedDescription\":\"Data feed description\",\"granularityName\":\"Daily\",\"metrics\":[{\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00.000Z\",\"startOffsetInSeconds\":0,\"maxConcurrency\":-1,\"minRetryIntervalInSeconds\":-1,\"stopRetryAfterInSeconds\":-1,\"needRollup\":\"NeedRollup\",\"rollUpMethod\":\"Sum\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555,\"viewMode\":\"Private\",\"authenticationType\":\"Basic\",\"dataSourceParameter\":{\"azureCloud\":\"Azure\",\"applicationId\":\"appInsights_application\",\"apiKey\":\"appInsights_app_key\",\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\"}}", "status": 201, "response": "", "responseHeaders": { @@ -48,7 +48,7 @@ "query": {}, "requestBody": null, "status": 200, - "response": "{\"dataFeedId\":\"ebbc5641-a17d-474c-b9c9-15cb3e5472f8\",\"dataFeedName\":\"js-test-appInsightsFeed-162267907697005921\",\"metrics\":[{\"metricId\":\"0df083b5-c4ce-49cd-8a34-2e22ee937cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2815862d-9dad-41e0-9061-37ecdb57699f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"azure_client_id\"],\"viewers\":[],\"creator\":\"azure_client_id\",\"status\":\"Active\",\"createdTime\":\"2021-06-03T00:11:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"appInsights_application\"},\"authenticationType\":\"Basic\"}", + "response": "{\"dataFeedId\":\"ebbc5641-a17d-474c-b9c9-15cb3e5472f8\",\"dataFeedName\":\"js-test-appInsightsFeed-162267907697005921\",\"metrics\":[{\"metricId\":\"0df083b5-c4ce-49cd-8a34-2e22ee937cc7\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"2815862d-9dad-41e0-9061-37ecdb57699f\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"azure_client_id\"],\"viewers\":[],\"creator\":\"azure_client_id\",\"status\":\"Active\",\"createdTime\":\"2021-06-03T00:11:20Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"appInsights_application\"},\"authenticationType\":\"Basic\"}", "responseHeaders": { "apim-request-id": "44d8bcde-4800-4e76-8f0c-fcd2292cbd76", "content-length": "1661", diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.json b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.json new file mode 100644 index 000000000000..66590515ae04 --- /dev/null +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.json @@ -0,0 +1,83 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 30 Jun 2021 21:44:55 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "60255122-4f99-4912-bd79-4b91f9e43d01" + } + }, + { + "method": "POST", + "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds", + "query": {}, + "requestBody": "{\"dataSourceType\":\"AzureEventHubs\",\"dataFeedName\":\"js-test-eventhubRequestFeed-162508949499809982\",\"dataFeedDescription\":\"Data feed description\",\"granularityName\":\"Daily\",\"metrics\":[{\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00.000Z\",\"startOffsetInSeconds\":0,\"maxConcurrency\":-1,\"minRetryIntervalInSeconds\":-1,\"stopRetryAfterInSeconds\":-1,\"needRollup\":\"NeedRollup\",\"rollUpMethod\":\"Sum\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555,\"viewMode\":\"Private\",\"authenticationType\":\"Basic\",\"dataSourceParameter\":{\"connectionString\":\"eventhub-connection-string\",\"consumerGroup\":\"consumer-group\"}}", + "status": 201, + "response": "", + "responseHeaders": { + "apim-request-id": "063b51da-5d3a-4f7a-a63e-c8fc18be3e62", + "content-length": "0", + "date": "Wed, 30 Jun 2021 21:44:56 GMT", + "location": "https://endpoint/metricsadvisor/v1.0/dataFeeds/b167d5e0-1b15-4952-bbb8-2f8aa5e69ef2", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "1264", + "x-request-id": "063b51da-5d3a-4f7a-a63e-c8fc18be3e62" + } + }, + { + "method": "GET", + "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds/b167d5e0-1b15-4952-bbb8-2f8aa5e69ef2", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"dataFeedId\":\"b167d5e0-1b15-4952-bbb8-2f8aa5e69ef2\",\"dataFeedName\":\"js-test-eventhubRequestFeed-162508949499809982\",\"metrics\":[{\"metricId\":\"19d8122c-1886-48fd-95d8-655c7f596155\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"f913ce35-3dff-45f2-aef0-41f8ce93867d\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-06-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"azure_client_id\"],\"viewers\":[],\"creator\":\"azure_client_id\",\"status\":\"Active\",\"createdTime\":\"2021-06-30T21:44:57Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"consumer-group\"},\"authenticationType\":\"Basic\"}", + "responseHeaders": { + "apim-request-id": "fdbfa39e-ebae-4bfb-8560-80a09c3066da", + "content-length": "1267", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 30 Jun 2021 21:44:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "176", + "x-request-id": "fdbfa39e-ebae-4bfb-8560-80a09c3066da" + } + } + ], + "uniqueTestInfo": { + "uniqueName": { + "js-test-datafeed-": "js-test-datafeed-162508949499700426", + "js-test-appInsightsFeed-": "js-test-appInsightsFeed-162508949499800260", + "js-test-sqlServerFeed-": "js-test-sqlServerFeed-162508949499800892", + "js-test-cosmosFeed-": "js-test-cosmosFeed-162508949499806585", + "js-test-dataExplorerFeed-": "js-test-dataExplorerFeed-162508949499802809", + "js-test-tableFeed-": "js-test-tableFeed-162508949499809725", + "js-test-eventhubRequestFeed-": "js-test-eventhubRequestFeed-162508949499809982", + "js-test-logAnalyticsFeed-": "js-test-logAnalyticsFeed-162508949499807483", + "js-test-influxdbFeed-": "js-test-influxdbFeed-162508949499807803", + "js-test-mongoDbFeed-": "js-test-mongoDbFeed-162508949499808697", + "js-test-mySqlFeed-": "js-test-mySqlFeed-162508949499804701", + "js-test-postgreSqlFeed-": "js-test-postgreSqlFeed-162508949499802524", + "js-test-dataLakeGenFeed-": "js-test-dataLakeGenFeed-162508949499806920" + }, + "newDate": {} + }, + "hash": "193729b4ee398f057de645b773a9512c" +} \ No newline at end of file diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.json b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.json new file mode 100644 index 000000000000..fcb17ca66bd1 --- /dev/null +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.json @@ -0,0 +1,68 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/azure_tenant_id/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 30 Jun 2021 21:44:58 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - WUS2 ProdSlices", + "x-ms-request-id": "4a83a03e-4900-416c-999e-94be5aab5201" + } + }, + { + "method": "DELETE", + "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds/b167d5e0-1b15-4952-bbb8-2f8aa5e69ef2", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "apim-request-id": "fdb55b1b-b66b-430a-8e3b-4dffdce4afcf", + "content-length": "0", + "date": "Wed, 30 Jun 2021 21:44:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "748", + "x-request-id": "fdb55b1b-b66b-430a-8e3b-4dffdce4afcf" + } + }, + { + "method": "GET", + "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds/b167d5e0-1b15-4952-bbb8-2f8aa5e69ef2", + "query": {}, + "requestBody": null, + "status": 404, + "response": "{\"code\":\"404 NOT_FOUND\",\"message\":\"datafeedId is invalid.\"}", + "responseHeaders": { + "apim-request-id": "781d08d3-7706-4494-ac58-c3b5b53651f6", + "content-length": "59", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 30 Jun 2021 21:45:03 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5119", + "x-request-id": "781d08d3-7706-4494-ac58-c3b5b53651f6" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "837ec7dcecd206f678d26092d380036b" +} \ No newline at end of file diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.json b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.json index 8ebf547ccc3e..f40bb18d9da0 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.json +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.json @@ -4,7 +4,7 @@ "method": "POST", "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds", "query": {}, - "requestBody": "{\"dataSourceType\":\"AzureApplicationInsights\",\"dataFeedName\":\"js-test-appInsightsFeed-162267917625905917\",\"dataFeedDescription\":\"Data feed description\",\"granularityName\":\"Daily\",\"metrics\":[{\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00.000Z\",\"startOffsetInSeconds\":0,\"maxConcurrency\":-1,\"minRetryIntervalInSeconds\":-1,\"stopRetryAfterInSeconds\":-1,\"needRollup\":\"NeedRollup\",\"rollUpMethod\":\"Sum\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555,\"viewMode\":\"Private\",\"authenticationType\":\"Basic\",\"dataSourceParameter\":{\"azureCloud\":\"Azure\",\"applicationId\":\"appInsights_application\",\"apiKey\":\"appInsights_app_key\",\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\"}}", + "requestBody": "{\"dataSourceType\":\"AzureApplicationInsights\",\"dataFeedName\":\"js-test-appInsightsFeed-162267917625905917\",\"dataFeedDescription\":\"Data feed description\",\"granularityName\":\"Daily\",\"metrics\":[{\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00.000Z\",\"startOffsetInSeconds\":0,\"maxConcurrency\":-1,\"minRetryIntervalInSeconds\":-1,\"stopRetryAfterInSeconds\":-1,\"needRollup\":\"NeedRollup\",\"rollUpMethod\":\"Sum\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555,\"viewMode\":\"Private\",\"authenticationType\":\"Basic\",\"dataSourceParameter\":{\"azureCloud\":\"Azure\",\"applicationId\":\"appInsights_application\",\"apiKey\":\"appInsights_app_key\",\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\"}}", "status": 201, "response": "", "responseHeaders": { @@ -24,7 +24,7 @@ "query": {}, "requestBody": null, "status": 200, - "response": "{\"dataFeedId\":\"9f4c6061-4fb0-4c5f-a148-a657d1d99fc1\",\"dataFeedName\":\"js-test-appInsightsFeed-162267917625905917\",\"metrics\":[{\"metricId\":\"989966a0-0249-4cd6-bc74-cc428a7364cc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b46577e-316c-4708-92c2-beb61992e047\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"kaghiya@microsoft.com\"],\"viewers\":[],\"creator\":\"kaghiya@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-06-03T00:13:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"appInsights_application\"},\"authenticationType\":\"Basic\"}", + "response": "{\"dataFeedId\":\"9f4c6061-4fb0-4c5f-a148-a657d1d99fc1\",\"dataFeedName\":\"js-test-appInsightsFeed-162267917625905917\",\"metrics\":[{\"metricId\":\"989966a0-0249-4cd6-bc74-cc428a7364cc\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"3b46577e-316c-4708-92c2-beb61992e047\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00Z\",\"dataSourceType\":\"AzureApplicationInsights\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"kaghiya@microsoft.com\"],\"viewers\":[],\"creator\":\"kaghiya@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-06-03T00:13:09Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"query\":\"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode\",\"azureCloud\":\"Azure\",\"applicationId\":\"appInsights_application\"},\"authenticationType\":\"Basic\"}", "responseHeaders": { "apim-request-id": "654366bf-d667-44ea-906f-14993bac727f", "content-length": "1631", diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.json b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.json new file mode 100644 index 000000000000..59875db8ea50 --- /dev/null +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.json @@ -0,0 +1,59 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds", + "query": {}, + "requestBody": "{\"dataSourceType\":\"AzureEventHubs\",\"dataFeedName\":\"js-test-eventhubRequestFeed-162508950430007892\",\"dataFeedDescription\":\"Data feed description\",\"granularityName\":\"Daily\",\"metrics\":[{\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2020-08-21T00:00:00.000Z\",\"startOffsetInSeconds\":0,\"maxConcurrency\":-1,\"minRetryIntervalInSeconds\":-1,\"stopRetryAfterInSeconds\":-1,\"needRollup\":\"NeedRollup\",\"rollUpMethod\":\"Sum\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555,\"viewMode\":\"Private\",\"authenticationType\":\"Basic\",\"dataSourceParameter\":{\"connectionString\":\"eventhub-connection-string\",\"consumerGroup\":\"consumer-group\"}}", + "status": 201, + "response": "", + "responseHeaders": { + "apim-request-id": "d2e2aad2-d11a-43cb-b1a6-1a544545f054", + "content-length": "0", + "date": "Wed, 30 Jun 2021 21:45:05 GMT", + "location": "https://endpoint/metricsadvisor/v1.0/dataFeeds/97c1eacb-e724-41e1-a6d8-a447ffbf8835", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "1508", + "x-request-id": "d2e2aad2-d11a-43cb-b1a6-1a544545f054" + } + }, + { + "method": "GET", + "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds/97c1eacb-e724-41e1-a6d8-a447ffbf8835", + "query": {}, + "requestBody": null, + "status": 200, + "response": "{\"dataFeedId\":\"97c1eacb-e724-41e1-a6d8-a447ffbf8835\",\"dataFeedName\":\"js-test-eventhubRequestFeed-162508950430007892\",\"metrics\":[{\"metricId\":\"90b50fc1-cb81-4f51-9c60-0f01e0e56e5f\",\"metricName\":\"cost\",\"metricDisplayName\":\"cost\",\"metricDescription\":\"\"},{\"metricId\":\"0aff76ce-6598-4090-a93b-f87650d591c4\",\"metricName\":\"revenue\",\"metricDisplayName\":\"revenue\",\"metricDescription\":\"\"}],\"dimension\":[{\"dimensionName\":\"category\",\"dimensionDisplayName\":\"category\"},{\"dimensionName\":\"city\",\"dimensionDisplayName\":\"city\"}],\"dataStartFrom\":\"2021-06-30T00:00:00Z\",\"dataSourceType\":\"AzureEventHubs\",\"timestampColumn\":\"\",\"startOffsetInSeconds\":0,\"maxQueryPerMinute\":30.0,\"granularityName\":\"Daily\",\"allUpIdentification\":\"__CUSTOM_SUM__\",\"needRollup\":\"NeedRollup\",\"fillMissingPointType\":\"CustomValue\",\"fillMissingPointValue\":555.0,\"rollUpMethod\":\"Sum\",\"dataFeedDescription\":\"Data feed description\",\"stopRetryAfterInSeconds\":-1,\"minRetryIntervalInSeconds\":-1,\"maxConcurrency\":-1,\"viewMode\":\"Private\",\"admins\":[\"kaghiya@microsoft.com\"],\"viewers\":[],\"creator\":\"kaghiya@microsoft.com\",\"status\":\"Active\",\"createdTime\":\"2021-06-30T21:45:05Z\",\"isAdmin\":true,\"actionLinkTemplate\":\"\",\"dataSourceParameter\":{\"consumerGroup\":\"consumer-group\"},\"authenticationType\":\"Basic\"}", + "responseHeaders": { + "apim-request-id": "89030ded-d44f-4466-b6b0-2d495a2183b7", + "content-length": "1237", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 30 Jun 2021 21:45:05 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "358", + "x-request-id": "89030ded-d44f-4466-b6b0-2d495a2183b7" + } + } + ], + "uniqueTestInfo": { + "uniqueName": { + "js-test-datafeed-": "js-test-datafeed-162508950430007966", + "js-test-appInsightsFeed-": "js-test-appInsightsFeed-162508950430006484", + "js-test-sqlServerFeed-": "js-test-sqlServerFeed-162508950430005393", + "js-test-cosmosFeed-": "js-test-cosmosFeed-162508950430006582", + "js-test-dataExplorerFeed-": "js-test-dataExplorerFeed-162508950430004921", + "js-test-tableFeed-": "js-test-tableFeed-162508950430009058", + "js-test-eventhubRequestFeed-": "js-test-eventhubRequestFeed-162508950430007892", + "js-test-logAnalyticsFeed-": "js-test-logAnalyticsFeed-162508950430008409", + "js-test-influxdbFeed-": "js-test-influxdbFeed-162508950430000980", + "js-test-mongoDbFeed-": "js-test-mongoDbFeed-162508950430007816", + "js-test-mySqlFeed-": "js-test-mySqlFeed-162508950430005917", + "js-test-postgreSqlFeed-": "js-test-postgreSqlFeed-162508950430007309", + "js-test-dataLakeGenFeed-": "js-test-dataLakeGenFeed-162508950430008097" + }, + "newDate": {} + }, + "hash": "193729b4ee398f057de645b773a9512c" +} \ No newline at end of file diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.json b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.json new file mode 100644 index 000000000000..9e6180634319 --- /dev/null +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/browsers/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.json @@ -0,0 +1,44 @@ +{ + "recordings": [ + { + "method": "DELETE", + "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds/97c1eacb-e724-41e1-a6d8-a447ffbf8835", + "query": {}, + "requestBody": null, + "status": 204, + "response": "", + "responseHeaders": { + "apim-request-id": "0fa3a5c4-2ac3-48ec-b1a1-eb9e8314f96e", + "content-length": "0", + "date": "Wed, 30 Jun 2021 21:45:11 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6308", + "x-request-id": "0fa3a5c4-2ac3-48ec-b1a1-eb9e8314f96e" + } + }, + { + "method": "GET", + "url": "https://endpoint/metricsadvisor/v1.0/dataFeeds/97c1eacb-e724-41e1-a6d8-a447ffbf8835", + "query": {}, + "requestBody": null, + "status": 404, + "response": "{\"code\":\"404 NOT_FOUND\",\"message\":\"datafeedId is invalid.\"}", + "responseHeaders": { + "apim-request-id": "69853dd4-b3b8-4fdf-b378-6e95feb19d39", + "content-length": "59", + "content-type": "application/json; charset=utf-8", + "date": "Wed, 30 Jun 2021 21:45:17 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5236", + "x-request-id": "69853dd4-b3b8-4fdf-b378-6e95feb19d39" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "837ec7dcecd206f678d26092d380036b" +} \ No newline at end of file diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.js index 87aad51080e4..b82f12895786 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.js @@ -38,7 +38,7 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureApplicationInsights","dataFeedName":"js-test-appInsightsFeed-162267887276101760","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"azureCloud":"Azure","applicationId":"appInsights_application","apiKey":"appInsights_app_key","query":"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode"}}) + .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureApplicationInsights","dataFeedName":"js-test-appInsightsFeed-162267887276101760","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"azureCloud":"Azure","applicationId":"appInsights_application","apiKey":"appInsights_app_key","query":"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode"}}) .reply(201, "", [ 'Content-Length', '0', @@ -60,7 +60,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/metricsadvisor/v1.0/dataFeeds/5917f2d4-ac54-452c-8db2-bde8be040499') - .reply(200, {"dataFeedId":"5917f2d4-ac54-452c-8db2-bde8be040499","dataFeedName":"js-test-appInsightsFeed-162267887276101760","metrics":[{"metricId":"68178aa0-13d7-452b-a2fd-d7753fad12df","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"506ee426-defd-4a24-837d-da21e6f0feb3","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00Z","dataSourceType":"AzureApplicationInsights","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["azure_client_id"],"viewers":[],"creator":"azure_client_id","status":"Active","createdTime":"2021-06-03T00:08:01Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"query":"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode","azureCloud":"Azure","applicationId":"appInsights_application"},"authenticationType":"Basic"}, [ + .reply(200, {"dataFeedId":"5917f2d4-ac54-452c-8db2-bde8be040499","dataFeedName":"js-test-appInsightsFeed-162267887276101760","metrics":[{"metricId":"68178aa0-13d7-452b-a2fd-d7753fad12df","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"506ee426-defd-4a24-837d-da21e6f0feb3","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00Z","dataSourceType":"AzureApplicationInsights","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["azure_client_id"],"viewers":[],"creator":"azure_client_id","status":"Active","createdTime":"2021-06-03T00:08:01Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"query":"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode","azureCloud":"Azure","applicationId":"appInsights_application"},"authenticationType":"Basic"}, [ 'Content-Length', '1661', 'Content-Type', diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js index 99351b5eda14..5cb510650e0a 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js @@ -2,10 +2,10 @@ let nock = require('nock'); module.exports.hash = "b305b062177574b168150bc47bb53ffe"; -module.exports.testInfo = {"uniqueName":{"js-test-datafeed-":"js-test-datafeed-162456611703607360","js-test-appInsightsFeed-":"js-test-appInsightsFeed-162456611703602601","js-test-sqlServerFeed-":"js-test-sqlServerFeed-162456611703605931","js-test-cosmosFeed-":"js-test-cosmosFeed-162456611703606158","js-test-dataExplorerFeed-":"js-test-dataExplorerFeed-162456611703605594","js-test-tableFeed-":"js-test-tableFeed-162456611703601948","js-test-httpRequestFeed-":"js-test-httpRequestFeed-162456611703601598","js-test-logAnalyticsFeed-":"js-test-logAnalyticsFeed-162456611703605729","js-test-influxdbFeed-":"js-test-influxdbFeed-162456611703608797","js-test-mongoDbFeed-":"js-test-mongoDbFeed-162456611703608062","js-test-mySqlFeed-":"js-test-mySqlFeed-162456611703601892","js-test-postgreSqlFeed-":"js-test-postgreSqlFeed-162456611703605513","js-test-dataLakeGenFeed-":"js-test-dataLakeGenFeed-162456611703602792"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"js-test-datafeed-":"js-test-datafeed-162508945389805775","js-test-appInsightsFeed-":"js-test-appInsightsFeed-162508945389806976","js-test-sqlServerFeed-":"js-test-sqlServerFeed-162508945389809283","js-test-cosmosFeed-":"js-test-cosmosFeed-162508945389809964","js-test-dataExplorerFeed-":"js-test-dataExplorerFeed-162508945389807094","js-test-tableFeed-":"js-test-tableFeed-162508945389801971","js-test-eventhubRequestFeed-":"js-test-eventhubRequestFeed-162508945389801568","js-test-logAnalyticsFeed-":"js-test-logAnalyticsFeed-162508945389801183","js-test-influxdbFeed-":"js-test-influxdbFeed-162508945389805084","js-test-mongoDbFeed-":"js-test-mongoDbFeed-162508945389802321","js-test-mySqlFeed-":"js-test-mySqlFeed-162508945389801631","js-test-postgreSqlFeed-":"js-test-postgreSqlFeed-162508945389801565","js-test-dataLakeGenFeed-":"js-test-dataLakeGenFeed-162508945389806343"},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default") + .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -22,59 +22,59 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '0825421b-0412-4892-9d10-18085d133a00', + '35a4e11e-7b49-477f-aac7-54dcf59e5101', 'x-ms-ests-server', - '2.1.11829.9 - SCUS ProdSlices', + '2.1.11829.9 - WUS2 ProdSlices', 'Set-Cookie', - 'fpc=Ap4NeeLKqOpIlcTRHUTrwPfGLH8mAQAAAGXgZtgOAAAA; expires=Sat, 24-Jul-2021 20:21:57 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AuPC8Nzi4XdHkDTt8UivHEvGLH8mAQAAAK7cbtgOAAAA; expires=Fri, 30-Jul-2021 21:44:14 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Thu, 24 Jun 2021 20:21:56 GMT', + 'Wed, 30 Jun 2021 21:44:14 GMT', 'Content-Length', '1331' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureEventHubs","dataFeedName":"js-test-httpRequestFeed-162456611703601598","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"connectionString":"eventhub-connection-string","consumerGroup":"consumer-group"}}) + .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureEventHubs","dataFeedName":"js-test-eventhubRequestFeed-162508945389801568","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"connectionString":"eventhub-connection-string","consumerGroup":"consumer-group"}}) .reply(201, "", [ 'Content-Length', '0', 'Location', - 'https://endpoint/metricsadvisor/v1.0/dataFeeds/1409ab03-d455-465e-9df0-ef5db2cdb961', + 'https://endpoint/metricsadvisor/v1.0/dataFeeds/8bd9f7eb-802b-48f9-9723-8ce1115f1d60', 'x-request-id', - 'bf8ce3d4-e4ca-4825-9222-40ab47422d30', + '823bc3a2-6a02-44e1-8591-ede18f061887', 'x-envoy-upstream-service-time', - '7340', + '1993', 'apim-request-id', - 'bf8ce3d4-e4ca-4825-9222-40ab47422d30', + '823bc3a2-6a02-44e1-8591-ede18f061887', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Thu, 24 Jun 2021 20:22:04 GMT' + 'Wed, 30 Jun 2021 21:44:16 GMT' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .get('/metricsadvisor/v1.0/dataFeeds/1409ab03-d455-465e-9df0-ef5db2cdb961') - .reply(200, {"dataFeedId":"1409ab03-d455-465e-9df0-ef5db2cdb961","dataFeedName":"js-test-httpRequestFeed-162456611703601598","metrics":[{"metricId":"5b7c65ed-5f79-4281-a53d-631edc294f9a","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"6e9f6865-afa0-4524-831d-ed620e6fa5a9","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2021-06-24T00:00:00Z","dataSourceType":"AzureEventHubs","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["azure_client_id"],"viewers":[],"creator":"azure_client_id","status":"Active","createdTime":"2021-06-24T20:22:04Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"consumerGroup":"consumer-group"},"authenticationType":"Basic"}, [ + .get('/metricsadvisor/v1.0/dataFeeds/8bd9f7eb-802b-48f9-9723-8ce1115f1d60') + .reply(200, {"dataFeedId":"8bd9f7eb-802b-48f9-9723-8ce1115f1d60","dataFeedName":"js-test-eventhubRequestFeed-162508945389801568","metrics":[{"metricId":"a6961297-3dfe-4f26-967e-25372e154106","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"b9aff9bc-fc7e-472e-abbc-6ff6c21d26dc","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2021-06-30T00:00:00Z","dataSourceType":"AzureEventHubs","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["azure_client_id"],"viewers":[],"creator":"azure_client_id","status":"Active","createdTime":"2021-06-30T21:44:16Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"consumerGroup":"consumer-group"},"authenticationType":"Basic"}, [ 'Content-Length', - '1263', + '1267', 'Content-Type', 'application/json; charset=utf-8', 'x-request-id', - '9af44072-c58d-46ca-86a7-bab9d1e12f52', + '8f07fd80-c779-4770-a713-754902c8ecc6', 'x-envoy-upstream-service-time', - '5334', + '352', 'apim-request-id', - '9af44072-c58d-46ca-86a7-bab9d1e12f52', + '8f07fd80-c779-4770-a713-754902c8ecc6', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Thu, 24 Jun 2021 20:22:10 GMT' + 'Wed, 30 Jun 2021 21:44:17 GMT' ]); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js index 4dc578def2db..762e2f21da7c 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/aad_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js @@ -5,7 +5,7 @@ module.exports.hash = "3b26ef694bf46025b536723153ef1756"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fcognitiveservices.azure.com%2F.default") + .post('/azure_tenant_id/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F") .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', 'no-store, no-cache', @@ -22,57 +22,57 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'e26d6036-8ed7-4299-8775-58c73aa43600', + '9c2f8136-7704-4abd-bd21-45a0a5e17401', 'x-ms-ests-server', - '2.1.11829.9 - NCUS ProdSlices', + '2.1.11829.9 - SCUS ProdSlices', 'Set-Cookie', - 'fpc=Ap4NeeLKqOpIlcTRHUTrwPfGLH8mAgAAAGXgZtgOAAAA; expires=Sat, 24-Jul-2021 20:22:11 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AuPC8Nzi4XdHkDTt8UivHEvGLH8mAgAAAK7cbtgOAAAA; expires=Fri, 30-Jul-2021 21:44:17 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Thu, 24 Jun 2021 20:22:10 GMT', + 'Wed, 30 Jun 2021 21:44:17 GMT', 'Content-Length', '1331' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .delete('/metricsadvisor/v1.0/dataFeeds/1409ab03-d455-465e-9df0-ef5db2cdb961') + .delete('/metricsadvisor/v1.0/dataFeeds/8bd9f7eb-802b-48f9-9723-8ce1115f1d60') .reply(204, "", [ 'Content-Length', '0', 'x-request-id', - '4666cc14-a826-4061-947a-085483e932ac', + '5510923d-5471-4626-809e-5ab037d9beb0', 'x-envoy-upstream-service-time', - '5984', + '5956', 'apim-request-id', - '4666cc14-a826-4061-947a-085483e932ac', + '5510923d-5471-4626-809e-5ab037d9beb0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Thu, 24 Jun 2021 20:22:16 GMT' + 'Wed, 30 Jun 2021 21:44:22 GMT' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .get('/metricsadvisor/v1.0/dataFeeds/1409ab03-d455-465e-9df0-ef5db2cdb961') + .get('/metricsadvisor/v1.0/dataFeeds/8bd9f7eb-802b-48f9-9723-8ce1115f1d60') .reply(404, {"code":"404 NOT_FOUND","message":"datafeedId is invalid."}, [ 'Content-Length', '59', 'Content-Type', 'application/json; charset=utf-8', 'x-request-id', - 'c3d92522-51c4-4c5b-8b5a-30f3808a3793', + '9431997e-7ebe-4312-b114-26d39fabe489', 'x-envoy-upstream-service-time', - '5314', + '5246', 'apim-request-id', - 'c3d92522-51c4-4c5b-8b5a-30f3808a3793', + '9431997e-7ebe-4312-b114-26d39fabe489', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Thu, 24 Jun 2021 20:22:22 GMT' + 'Wed, 30 Jun 2021 21:44:28 GMT' ]); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.js index 9f462834e77a..245299ee1fb1 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_an_azure_application_insights_feed.js @@ -5,7 +5,7 @@ module.exports.hash = "993030f77f9ce497bd2e0e07500b3f4f"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) - .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureApplicationInsights","dataFeedName":"js-test-appInsightsFeed-162267904090105484","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"azureCloud":"Azure","applicationId":"appInsights_application","apiKey":"appInsights_app_key","query":"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode"}}) + .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureApplicationInsights","dataFeedName":"js-test-appInsightsFeed-162267904090105484","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"azureCloud":"Azure","applicationId":"appInsights_application","apiKey":"appInsights_app_key","query":"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode"}}) .reply(201, "", [ 'Content-Length', '0', @@ -27,7 +27,7 @@ nock('https://endpoint:443', {"encodedQueryParams":true}) nock('https://endpoint:443', {"encodedQueryParams":true}) .get('/metricsadvisor/v1.0/dataFeeds/dc7ef668-0f8c-43fb-a398-f7cb22e4c391') - .reply(200, {"dataFeedId":"dc7ef668-0f8c-43fb-a398-f7cb22e4c391","dataFeedName":"js-test-appInsightsFeed-162267904090105484","metrics":[{"metricId":"13bd9294-ab5c-4a96-ac8a-73e991bbc16f","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"ff61d52e-e522-4cc3-903c-5d8d47c00fc2","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00Z","dataSourceType":"AzureApplicationInsights","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaghiya@microsoft.com"],"viewers":[],"creator":"kaghiya@microsoft.com","status":"Active","createdTime":"2021-06-03T00:10:49Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"query":"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode","azureCloud":"Azure","applicationId":"appInsights_application"},"authenticationType":"Basic"}, [ + .reply(200, {"dataFeedId":"dc7ef668-0f8c-43fb-a398-f7cb22e4c391","dataFeedName":"js-test-appInsightsFeed-162267904090105484","metrics":[{"metricId":"13bd9294-ab5c-4a96-ac8a-73e991bbc16f","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"ff61d52e-e522-4cc3-903c-5d8d47c00fc2","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00Z","dataSourceType":"AzureApplicationInsights","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaghiya@microsoft.com"],"viewers":[],"creator":"kaghiya@microsoft.com","status":"Active","createdTime":"2021-06-03T00:10:49Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"query":"let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode","azureCloud":"Azure","applicationId":"appInsights_application"},"authenticationType":"Basic"}, [ 'Content-Length', '1631', 'Content-Type', diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js index c2d1cf90604e..e3d8a4d7b1f0 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_creates_eventhubs_data_feed.js @@ -2,46 +2,46 @@ let nock = require('nock'); module.exports.hash = "b305b062177574b168150bc47bb53ffe"; -module.exports.testInfo = {"uniqueName":{"js-test-datafeed-":"js-test-datafeed-162456614300300139","js-test-appInsightsFeed-":"js-test-appInsightsFeed-162456614300408925","js-test-sqlServerFeed-":"js-test-sqlServerFeed-162456614300402561","js-test-cosmosFeed-":"js-test-cosmosFeed-162456614300400836","js-test-dataExplorerFeed-":"js-test-dataExplorerFeed-162456614300402514","js-test-tableFeed-":"js-test-tableFeed-162456614300409086","js-test-httpRequestFeed-":"js-test-httpRequestFeed-162456614300408284","js-test-logAnalyticsFeed-":"js-test-logAnalyticsFeed-162456614300401025","js-test-influxdbFeed-":"js-test-influxdbFeed-162456614300401958","js-test-mongoDbFeed-":"js-test-mongoDbFeed-162456614300402402","js-test-mySqlFeed-":"js-test-mySqlFeed-162456614300400971","js-test-postgreSqlFeed-":"js-test-postgreSqlFeed-162456614300408445","js-test-dataLakeGenFeed-":"js-test-dataLakeGenFeed-162456614300400179"},"newDate":{}} +module.exports.testInfo = {"uniqueName":{"js-test-datafeed-":"js-test-datafeed-162508946944502353","js-test-appInsightsFeed-":"js-test-appInsightsFeed-162508946944504837","js-test-sqlServerFeed-":"js-test-sqlServerFeed-162508946944506617","js-test-cosmosFeed-":"js-test-cosmosFeed-162508946944505568","js-test-dataExplorerFeed-":"js-test-dataExplorerFeed-162508946944505953","js-test-tableFeed-":"js-test-tableFeed-162508946944505637","js-test-eventhubRequestFeed-":"js-test-eventhubRequestFeed-162508946944506472","js-test-logAnalyticsFeed-":"js-test-logAnalyticsFeed-162508946944503585","js-test-influxdbFeed-":"js-test-influxdbFeed-162508946944501773","js-test-mongoDbFeed-":"js-test-mongoDbFeed-162508946944503448","js-test-mySqlFeed-":"js-test-mySqlFeed-162508946944509246","js-test-postgreSqlFeed-":"js-test-postgreSqlFeed-162508946944503668","js-test-dataLakeGenFeed-":"js-test-dataLakeGenFeed-162508946944504276"},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) - .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureEventHubs","dataFeedName":"js-test-httpRequestFeed-162456614300408284","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"connectionString":"eventhub-connection-string","consumerGroup":"consumer-group"}}) + .post('/metricsadvisor/v1.0/dataFeeds', {"dataSourceType":"AzureEventHubs","dataFeedName":"js-test-eventhubRequestFeed-162508946944506472","dataFeedDescription":"Data feed description","granularityName":"Daily","metrics":[{"metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2020-08-21T00:00:00.000Z","startOffsetInSeconds":0,"maxConcurrency":-1,"minRetryIntervalInSeconds":-1,"stopRetryAfterInSeconds":-1,"needRollup":"NeedRollup","rollUpMethod":"Sum","allUpIdentification":"__CUSTOM_SUM__","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"viewMode":"Private","authenticationType":"Basic","dataSourceParameter":{"connectionString":"eventhub-connection-string","consumerGroup":"consumer-group"}}) .reply(201, "", [ 'Content-Length', '0', 'Location', - 'https://endpoint/metricsadvisor/v1.0/dataFeeds/49afdaec-205b-4211-8020-56a7458063c2', + 'https://endpoint/metricsadvisor/v1.0/dataFeeds/38c952af-7a0c-403e-bdb0-f7576cf22575', 'x-request-id', - 'fb26ee74-d492-4354-ae45-99e8253fdfb7', + 'c01157c3-78d4-47c3-b5f0-a8e788908a42', 'x-envoy-upstream-service-time', - '2233', + '1568', 'apim-request-id', - 'fb26ee74-d492-4354-ae45-99e8253fdfb7', + 'c01157c3-78d4-47c3-b5f0-a8e788908a42', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Thu, 24 Jun 2021 20:22:24 GMT' + 'Wed, 30 Jun 2021 21:44:30 GMT' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .get('/metricsadvisor/v1.0/dataFeeds/49afdaec-205b-4211-8020-56a7458063c2') - .reply(200, {"dataFeedId":"49afdaec-205b-4211-8020-56a7458063c2","dataFeedName":"js-test-httpRequestFeed-162456614300408284","metrics":[{"metricId":"f0d89260-9d15-438f-865c-877a65558832","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"05627ee3-091c-4d8c-8263-819e6d689193","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2021-06-24T00:00:00Z","dataSourceType":"AzureEventHubs","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaghiya@microsoft.com"],"viewers":[],"creator":"kaghiya@microsoft.com","status":"Active","createdTime":"2021-06-24T20:22:24Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"consumerGroup":"consumer-group"},"authenticationType":"Basic"}, [ + .get('/metricsadvisor/v1.0/dataFeeds/38c952af-7a0c-403e-bdb0-f7576cf22575') + .reply(200, {"dataFeedId":"38c952af-7a0c-403e-bdb0-f7576cf22575","dataFeedName":"js-test-eventhubRequestFeed-162508946944506472","metrics":[{"metricId":"b02b1eee-dbfa-4b51-93c1-632f05b50173","metricName":"cost","metricDisplayName":"cost","metricDescription":""},{"metricId":"c7e79d6b-505c-4f15-83b5-c5b8654270c2","metricName":"revenue","metricDisplayName":"revenue","metricDescription":""}],"dimension":[{"dimensionName":"category","dimensionDisplayName":"category"},{"dimensionName":"city","dimensionDisplayName":"city"}],"dataStartFrom":"2021-06-30T00:00:00Z","dataSourceType":"AzureEventHubs","timestampColumn":"","startOffsetInSeconds":0,"maxQueryPerMinute":30,"granularityName":"Daily","allUpIdentification":"__CUSTOM_SUM__","needRollup":"NeedRollup","fillMissingPointType":"CustomValue","fillMissingPointValue":555,"rollUpMethod":"Sum","dataFeedDescription":"Data feed description","stopRetryAfterInSeconds":-1,"minRetryIntervalInSeconds":-1,"maxConcurrency":-1,"viewMode":"Private","admins":["kaghiya@microsoft.com"],"viewers":[],"creator":"kaghiya@microsoft.com","status":"Active","createdTime":"2021-06-30T21:44:30Z","isAdmin":true,"actionLinkTemplate":"","dataSourceParameter":{"consumerGroup":"consumer-group"},"authenticationType":"Basic"}, [ 'Content-Length', - '1233', + '1237', 'Content-Type', 'application/json; charset=utf-8', 'x-request-id', - 'b8689547-dcd2-4a12-8cfd-7ebf3cf2e8d5', + 'cac70470-15ff-402f-8940-aa8d720d67b2', 'x-envoy-upstream-service-time', - '500', + '436', 'apim-request-id', - 'b8689547-dcd2-4a12-8cfd-7ebf3cf2e8d5', + 'cac70470-15ff-402f-8940-aa8d720d67b2', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Thu, 24 Jun 2021 20:22:25 GMT' + 'Wed, 30 Jun 2021 21:44:30 GMT' ]); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js index ce36671aa4ea..c27d94b25bba 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js +++ b/sdk/metricsadvisor/ai-metrics-advisor/recordings/node/api_key_metricsadvisoradministrationclient_datafeed_datafeed/recording_deletes_eventhubs_data_feed.js @@ -5,41 +5,41 @@ module.exports.hash = "3b26ef694bf46025b536723153ef1756"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://endpoint:443', {"encodedQueryParams":true}) - .delete('/metricsadvisor/v1.0/dataFeeds/49afdaec-205b-4211-8020-56a7458063c2') + .delete('/metricsadvisor/v1.0/dataFeeds/38c952af-7a0c-403e-bdb0-f7576cf22575') .reply(204, "", [ 'Content-Length', '0', 'x-request-id', - '24dfcbc6-ba4c-45b4-9f19-98c141b9c83a', + 'ce716c25-0f62-4dca-afb1-2f5467ad5890', 'x-envoy-upstream-service-time', - '6082', + '5927', 'apim-request-id', - '24dfcbc6-ba4c-45b4-9f19-98c141b9c83a', + 'ce716c25-0f62-4dca-afb1-2f5467ad5890', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Thu, 24 Jun 2021 20:22:31 GMT' + 'Wed, 30 Jun 2021 21:44:36 GMT' ]); nock('https://endpoint:443', {"encodedQueryParams":true}) - .get('/metricsadvisor/v1.0/dataFeeds/49afdaec-205b-4211-8020-56a7458063c2') + .get('/metricsadvisor/v1.0/dataFeeds/38c952af-7a0c-403e-bdb0-f7576cf22575') .reply(404, {"code":"404 NOT_FOUND","message":"datafeedId is invalid."}, [ 'Content-Length', '59', 'Content-Type', 'application/json; charset=utf-8', 'x-request-id', - 'b53ca28c-fbaf-4a8c-b738-d26533679f90', + '58bd34ce-1b51-45d7-a923-e727ec3cb2d0', 'x-envoy-upstream-service-time', - '192', + '5263', 'apim-request-id', - 'b53ca28c-fbaf-4a8c-b738-d26533679f90', + '58bd34ce-1b51-45d7-a923-e727ec3cb2d0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains; preload', 'x-content-type-options', 'nosniff', 'Date', - 'Thu, 24 Jun 2021 20:22:31 GMT' + 'Wed, 30 Jun 2021 21:44:42 GMT' ]); diff --git a/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md b/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md index 2cce8159fcb7..0353d7e0801e 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md +++ b/sdk/metricsadvisor/ai-metrics-advisor/review/ai-metrics-advisor.api.md @@ -107,7 +107,7 @@ export type AzureApplicationInsightsDataFeedSource = { // @public export type AzureBlobDataFeedSource = { dataSourceType: "AzureBlob"; - connectionString: string; + connectionString?: string; container: string; blobTemplate: string; authenticationType: "Basic" | "ManagedIdentity"; @@ -151,7 +151,7 @@ export type AzureDataExplorerAuthTypes = AzureDataExplorerAuthBasic | AzureDataE // @public export type AzureDataExplorerDataFeedSource = { dataSourceType: "AzureDataExplorer"; - connectionString: string; + connectionString?: string; query: string; } & AzureDataExplorerAuthTypes; @@ -181,9 +181,6 @@ export type AzureLogAnalyticsAuthTypes = LogAnalyticsAuthBasic | LogAnalyticsAut // @public export type AzureLogAnalyticsDataFeedSource = { dataSourceType: "AzureLogAnalytics"; - tenantId?: string; - clientId?: string; - clientSecret?: string; workspaceId: string; query: string; } & AzureLogAnalyticsAuthTypes; @@ -191,7 +188,7 @@ export type AzureLogAnalyticsDataFeedSource = { // @public export type AzureTableDataFeedSource = { dataSourceType: "AzureTable"; - connectionString: string; + connectionString?: string; table: string; query: string; authenticationType: "Basic"; @@ -335,7 +332,7 @@ export type DataFeedStatus = "Paused" | "Active"; // @public export type DataLakeStorageGen2AuthBasic = { authenticationType: "Basic"; - accountKey: string; + accountKey?: string; }; // @public @@ -591,7 +588,7 @@ export type InfluxDbDataFeedSource = { connectionString: string; database: string; userName: string; - password: string; + password?: string; query: string; authenticationType: "Basic"; }; @@ -704,6 +701,9 @@ export interface ListMetricSeriesDefinitionsOptions extends OperationOptions { // @public export type LogAnalyticsAuthBasic = { authenticationType: "Basic"; + tenantId: string; + clientId: string; + clientSecret?: string; }; // @public @@ -978,7 +978,7 @@ export type MetricSingleSeriesDetectionCondition = DetectionConditionsCommon & { // @public export type MongoDbDataFeedSource = { dataSourceType: "MongoDB"; - connectionString: string; + connectionString?: string; database: string; command: string; authenticationType: "Basic"; diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts index 72ffda066c82..c8aa9d790306 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/models.ts @@ -275,14 +275,16 @@ export type MetricsAdvisorDataFeed = { /** * Represents an Azure Application Insights data source. + * User is required to specify azureCloud, applicationId and apiKey for Create. + * apiKey being a secret is not returned by service. */ export type AzureApplicationInsightsDataFeedSource = { dataSourceType: "AzureApplicationInsights"; - /** The Azure cloud that this Azure Application Insights in */ + /** The Azure cloud that this Azure Application Insights in. Required by user for Create*/ azureCloud?: string; - /** The application id of this Azure Application Insights */ + /** The application id of this Azure Application Insights. Required by user for Create*/ applicationId?: string; - /** The API Key that can access this Azure Application Insights */ + /** The API Key that can access this Azure Application Insights. Required by user for Create. Not returned by service */ apiKey?: string; /** The statement to query this Azure Application Insights */ query: string; @@ -292,11 +294,13 @@ export type AzureApplicationInsightsDataFeedSource = { /** * Represents an Azure Blob Storage data source. + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export type AzureBlobDataFeedSource = { dataSourceType: "AzureBlob"; - /** Azure Blob connection string */ - connectionString: string; + /** Azure Blob connection string. Required by user for Create. Not returned by service */ + connectionString?: string; /** Container */ container: string; /** Blob Template */ @@ -307,10 +311,12 @@ export type AzureBlobDataFeedSource = { /** * Represents an Azure CosmosDB data source. + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export type AzureCosmosDbDataFeedSource = { dataSourceType: "AzureCosmosDB"; - /** The connection string of this Azure CosmosDB */ + /** The connection string of this Azure CosmosDB. Required by user for Create. Not returned by service */ connectionString?: string; /** The statement to query this collection */ sqlQuery: string; @@ -368,24 +374,28 @@ export type AzureDataExplorerAuthTypes = | AzureDataExplorerAuthServicePrincipalInKeyVault; /** * Represents an Azure Data Explorer data source. + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export type AzureDataExplorerDataFeedSource = { /** Azure Data Explorer Data Source */ dataSourceType: "AzureDataExplorer"; - /** Database connection string */ - connectionString: string; + /** Database connection string. Required by user for Create. Not returned by service */ + connectionString?: string; /** Query script */ query: string; } & AzureDataExplorerAuthTypes; /** * Represents Basic Authentication Type for Azure DataLake Storage Gen2 Source + * User is required to specify accountKey for Create with Basic type. + * accountKey being a secret is not returned by service. */ export type DataLakeStorageGen2AuthBasic = { /** Authentication */ authenticationType: "Basic"; - /** Account key */ - accountKey: string; + /** Account key. Required by user for Create. Not returned by service */ + accountKey?: string; }; /** @@ -454,12 +464,14 @@ export type AzureDataLakeStorageGen2DataFeedSource = { /** * Represents an Azure Table data source. + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export type AzureTableDataFeedSource = { /** Azure Table data Source type */ dataSourceType: "AzureTable"; - /** Azure Table connection string */ - connectionString: string; + /** Azure Table connection string. Required by user for Create. Not returned by service */ + connectionString?: string; /** Table name */ table: string; /** Query script */ @@ -469,11 +481,19 @@ export type AzureTableDataFeedSource = { }; /** - * Represents Basic Authentication Type for Azure Log Analytics Source + * Represents Basic Authentication Type for Azure Log Analytics Source. + * User is required to specify clientSecret for Create with Basic type. + * clientSecret being a secret will not be returned by the service. */ export type LogAnalyticsAuthBasic = { /** Authentication */ authenticationType: "Basic"; + /** The tenant id of service principal that have access to this Log Analytics */ + tenantId: string; + /** The client id of service principal that have access to this Log Analytics. */ + clientId: string; + /** The client secret of service principal that have access to this Log Analytics. Required by user for Create. Not returned by service*/ + clientSecret?: string; }; /** @@ -509,12 +529,6 @@ export type AzureLogAnalyticsAuthTypes = */ export type AzureLogAnalyticsDataFeedSource = { dataSourceType: "AzureLogAnalytics"; - /** The tenant id of service principal that have access to this Log Analytics */ - tenantId?: string; - /** The client id of service principal that have access to this Log Analytics */ - clientId?: string; - /** The client secret of service principal that have access to this Log Analytics */ - clientSecret?: string; /** The workspace id of this Log Analytics */ workspaceId: string; /** The KQL (Kusto Query Language) query to fetch data from this Log Analytics */ @@ -523,11 +537,13 @@ export type AzureLogAnalyticsDataFeedSource = { /** * Represents an Azure Event Hubs data source. + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export type AzureEventHubsDataFeedSource = { /** Azure Event Hubs data source type */ dataSourceType: "AzureEventHubs"; - /** The connection string of this Azure Event Hubs */ + /** The connection string of this Azure Event Hubs. Required by user for Create. Not returned by service */ connectionString?: string; /** The consumer group to be used in this data feed */ consumerGroup: string; @@ -537,6 +553,8 @@ export type AzureEventHubsDataFeedSource = { /** * Represents an InfluxDB data source. + * User is required to specify password for Create. + * password being a secret is not returned by service. */ export type InfluxDbDataFeedSource = { /** InfluxDB data source type */ @@ -547,8 +565,8 @@ export type InfluxDbDataFeedSource = { database: string; /** Database access user */ userName: string; - /** Database access password */ - password: string; + /** Database access password. Required by user for Create. Not returned by service */ + password?: string; /** Query script */ query: string; /** Authentication type */ @@ -557,11 +575,13 @@ export type InfluxDbDataFeedSource = { /** * Represents a MySQL data source. + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export type MySqlDataFeedSource = { /** MySql data source */ dataSourceType: "MySql"; - /** Database connection string */ + /** Database connection string. Required by user for Create. Not returned by service */ connectionString?: string; /** Query script */ query: string; @@ -571,11 +591,13 @@ export type MySqlDataFeedSource = { /** * Represents a PostgreSQL data source. + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export type PostgreSqlDataFeedSource = { /** PostgreSQL data source */ dataSourceType: "PostgreSql"; - /** Database connection string */ + /** Database connection string. Required by user for Create. Not returned by service */ connectionString?: string; /** Query script */ query: string; @@ -585,12 +607,14 @@ export type PostgreSqlDataFeedSource = { /** * Represents a MongoDB data source. + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export type MongoDbDataFeedSource = { /** MongoDB data source */ dataSourceType: "MongoDB"; - /** MongoDB connection string */ - connectionString: string; + /** MongoDB connection string. Required by user for Create. Not returned by service */ + connectionString?: string; /** Database name */ database: string; /** Query script */ @@ -1855,33 +1879,39 @@ export interface DataSourceCredentialEntity { /** * SqlServer Data Source Credential + * User is required to specify connectionString for Create. + * connectionString being a secret is not returned by service. */ export interface DataSourceSqlConnectionString extends DataSourceCredentialEntity { /** Azure Sql Connection String credential */ type: "AzureSQLConnectionString"; - /** The connection string for SqlServer Data Source Credential */ + /** The connection string for SqlServer Data Source Credential. Required by user for Create. Not returned by service. */ connectionString?: string; } /** * DataLake Gen2 Shared Key DataSource Credential + * User is required to specify accountKey for Create. + * accountKey being a secret is not returned by service. */ export interface DataSourceDataLakeGen2SharedKey extends DataSourceCredentialEntity { /** DataLakeGen2 Shared Key DataSource credential */ type: "DataLakeGen2SharedKey"; - /** The account key of the DataLake Gen2 Shared Key DataSource Credential */ + /** The account key of the DataLake Gen2 Shared Key DataSource Credential. Required by user for Create. Not returned by service. */ accountKey?: string; } /** * Service Principal DataSource Credential + * User is required to specify clientSecret for Create. + * clientSecret being a secret is not returned by service. */ export interface DataSourceServicePrincipal extends DataSourceCredentialEntity { /** Service Principal DataSource Credential */ type: "ServicePrincipal"; /** The client id of the service principal. */ clientId: string; - /** The client secret of the service principal. */ + /** The client secret of the service principal. Required by user for Create. Not returned by service. */ clientSecret?: string; /** The tenant id of the service principal. */ tenantId: string; @@ -1889,6 +1919,8 @@ export interface DataSourceServicePrincipal extends DataSourceCredentialEntity { /** * Service Principal in KeyVault DataSource Credential + * User is required to specify keyVaultClientSecret for Create. + * keyVaultClientSecret being a secret is not returned by service. */ export interface DataSourceServicePrincipalInKeyVault extends DataSourceCredentialEntity { /** Service Principal in KeyVault DataSource Credential */ @@ -1897,7 +1929,7 @@ export interface DataSourceServicePrincipalInKeyVault extends DataSourceCredenti keyVaultEndpoint: string; /** The Client Id to access the Key Vault. */ keyVaultClientId: string; - /** The Client Secret to access the Key Vault. */ + /** The Client Secret to access the Key Vault. Required by user for Create. Not returned by service. */ keyVaultClientSecret?: string; /** The secret name of the service principal's client Id in the Key Vault. */ servicePrincipalIdNameInKV: string; diff --git a/sdk/metricsadvisor/ai-metrics-advisor/src/transforms.ts b/sdk/metricsadvisor/ai-metrics-advisor/src/transforms.ts index 6119119d5e3e..68e0225b728a 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/src/transforms.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/src/transforms.ts @@ -548,8 +548,8 @@ export function toServiceDataFeedSource( return { dataSourceType: "AzureLogAnalytics", dataSourceParameter: { - tenantId: source.tenantId!, - clientId: source.clientId!, + tenantId: source.tenantId, + clientId: source.clientId, clientSecret: source.clientSecret!, workspaceId: source.workspaceId, query: source.query @@ -560,9 +560,6 @@ export function toServiceDataFeedSource( return { dataSourceType: "AzureLogAnalytics", dataSourceParameter: { - tenantId: source.tenantId!, - clientId: source.clientId!, - clientSecret: source.clientSecret!, workspaceId: source.workspaceId, query: source.query }, @@ -827,9 +824,6 @@ export function toServiceDataFeedSourcePatch( return { dataSourceType: "AzureLogAnalytics", dataSourceParameter: { - tenantId: source.tenantId, - clientId: source.clientId, - clientSecret: source.clientSecret, workspaceId: source.workspaceId, query: source.query! }, @@ -1183,9 +1177,9 @@ export function fromServiceDataFeedDetailUnion( ...common, source: { dataSourceType: "AzureLogAnalytics", - clientId: orig14.dataSourceParameter.clientId, + clientId: orig14.dataSourceParameter.clientId!, clientSecret: orig14.dataSourceParameter.clientSecret, - tenantId: orig14.dataSourceParameter.tenantId, + tenantId: orig14.dataSourceParameter.tenantId!, query: orig14.dataSourceParameter.query, workspaceId: orig14.dataSourceParameter.workspaceId, authenticationType: "Basic" diff --git a/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts b/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts index 1158bf677da6..8b9056a823a6 100644 --- a/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts +++ b/sdk/metricsadvisor/ai-metrics-advisor/test/public/datafeed.spec.ts @@ -66,7 +66,7 @@ matrix([[true, false]] as const, async (useAad) => { azureTableFeedName = recorder.getUniqueName("js-test-tableFeed-"); } if (recorder && !eventHubsFeedName) { - eventHubsFeedName = recorder.getUniqueName("js-test-httpRequestFeed-"); + eventHubsFeedName = recorder.getUniqueName("js-test-eventhubRequestFeed-"); } if (recorder && !logAnalyticsFeedName) { logAnalyticsFeedName = recorder.getUniqueName("js-test-logAnalyticsFeed-"); @@ -377,7 +377,7 @@ matrix([[true, false]] as const, async (useAad) => { applicationId: testEnv.METRICS_ADVISOR_AZURE_APPINSIGHTS_APPLICATION_ID, apiKey: testEnv.METRICS_ADVISOR_AZURE_APPINSIGHTS_API_KEY, query: - "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode" + "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode" }; const actual = await client.createDataFeed({ name: appInsightsFeedName, @@ -400,7 +400,7 @@ matrix([[true, false]] as const, async (useAad) => { assert.equal(actual.source.apiKey, undefined); assert.equal( actual.source.query, - "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode" + "let gran=60m; let starttime=datetime(@StartTime); let endtime=starttime + gran; requests | where timestamp >= starttime and timestamp < endtime | summarize request_count = count(), duration_avg_ms = avg(duration), duration_95th_ms = percentile(duration, 95), duration_max_ms = max(duration) by resultCode" ); } }); @@ -712,7 +712,7 @@ matrix([[true, false]] as const, async (useAad) => { await verifyDataFeedDeletion(this, client, createdDataLakeGenId); }); - it.skip("creates Eventhubs data feed", async () => { + it("creates Eventhubs data feed", async () => { const expectedSource: AzureEventHubsDataFeedSource = { dataSourceType: "AzureEventHubs", authenticationType: "Basic", @@ -738,7 +738,7 @@ matrix([[true, false]] as const, async (useAad) => { } }); - it.skip("deletes Eventhubs data feed", async function(this: Context) { + it("deletes Eventhubs data feed", async function(this: Context) { await verifyDataFeedDeletion(this, client, createdEventhubsId); }); @@ -765,12 +765,14 @@ matrix([[true, false]] as const, async (useAad) => { createdLogAnalyticsId = actual.id; assert.equal(actual.source.dataSourceType, expectedSource.dataSourceType); if (actual.source.dataSourceType === "AzureLogAnalytics") { - assert.equal(actual.source.clientId, expectedSource.clientId); - assert.equal(actual.source.authenticationType, expectedSource.authenticationType); assert.equal(actual.source.query, expectedSource.query); - assert.equal(actual.source.tenantId, expectedSource.tenantId); assert.equal(actual.source.workspaceId, expectedSource.workspaceId); - assert.equal(actual.source.clientSecret, undefined); + assert.equal(actual.source.authenticationType, expectedSource.authenticationType); + if (actual.source.authenticationType === "Basic") { + assert.equal(actual.source.tenantId, expectedSource.tenantId); + assert.equal(actual.source.clientId, expectedSource.clientId); + assert.equal(actual.source.clientSecret, undefined); + } } }); From 1eea0bb6f653358db67b0e622db8dd6a82173a58 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 1 Jul 2021 09:58:33 -0700 Subject: [PATCH 109/134] Update docs metadata mutation logic (#16132) Co-authored-by: Daniel Jurek --- eng/common/scripts/Update-DocsMsMetadata.ps1 | 21 ++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/eng/common/scripts/Update-DocsMsMetadata.ps1 b/eng/common/scripts/Update-DocsMsMetadata.ps1 index 2a9d4f26a999..fccb663fa58c 100644 --- a/eng/common/scripts/Update-DocsMsMetadata.ps1 +++ b/eng/common/scripts/Update-DocsMsMetadata.ps1 @@ -50,10 +50,16 @@ $releaseReplaceRegex = "(https://github.com/$RepoId/(?:blob|tree)/)(?:master|mai $TITLE_REGEX = "(\#\s+(?Azure .+? (?:client|plugin|shared) library for (?:JavaScript|Java|Python|\.NET|C)))" function GetAdjustedReadmeContent($ReadmeContent, $PackageInfo, $PackageMetadata) { - # Normalize service name "Key Vault" -> "keyvault" - # TODO: Use taxonomy for service name -- https://github.com/Azure/azure-sdk-tools/issues/1442 - # probably from metadata - $service = $PackageMetadata.ServiceName.ToLower().Replace(" ", "") + # The $PackageMetadata could be $null if there is no associated metadata entry + # based on how the metadata CSV is filtered + $service = $PackageInfo.ServiceDirectory.ToLower() + if ($PackageMetadata -and $PackageMetadata.ServiceName) { + # Normalize service name "Key Vault" -> "keyvault" + # TODO: Use taxonomy for service name -- https://github.com/Azure/azure-sdk-tools/issues/1442 + # probably from metadata + $service = $PackageMetadata.ServiceName.ToLower().Replace(" ", "") + } + # Generate the release tag for use in link substitution $tag = "$($PackageInfo.Name)_$($PackageInfo.Version)" $date = Get-Date -Format "MM/dd/yyyy" @@ -110,11 +116,14 @@ function UpdateDocsMsMetadataForPackage($packageInfoJsonLocation) { $packageMetadataArray = (Get-CSVMetadata).Where({ $_.Package -eq $packageInfo.Name -and $_.GroupId -eq $packageInfo.Group -and $_.Hide -ne 'true' -and $_.New -eq 'true' }) if ($packageMetadataArray.Count -eq 0) { - LogError "Could not retrieve metadata for $($packageInfo.Name) from metadata CSV" + LogWarning "Could not retrieve metadata for $($packageInfo.Name) from metadata CSV. Using best effort defaults." + $packageMetadata = $null } elseif ($packageMetadataArray.Count -gt 1) { LogWarning "Multiple metadata entries for $($packageInfo.Name) in metadata CSV. Using first entry." + $packageMetadata = $packageMetadataArray[0] + } else { + $packageMetadata = $packageMetadataArray[0] } - $packageMetadata = $packageMetadataArray[0] $readmeContent = Get-Content $packageInfo.ReadMePath -Raw $outputReadmeContent = "" From e93bfacd06071e9de47223d1a8551f062322d84c Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Thu, 1 Jul 2021 13:53:31 -0400 Subject: [PATCH 110/134] Ensure word alpha is present in dev build (#16089) * Ensure word alpha is present in dev build --- eng/pipelines/templates/stages/archetype-js-release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eng/pipelines/templates/stages/archetype-js-release.yml b/eng/pipelines/templates/stages/archetype-js-release.yml index 187be7bc08fe..f33eb85b456c 100644 --- a/eng/pipelines/templates/stages/archetype-js-release.yml +++ b/eng/pipelines/templates/stages/archetype-js-release.yml @@ -236,6 +236,12 @@ stages: - ${{if ne(artifact.skipPublishDevFeed, 'true')}}: - pwsh: | $detectedPackageName=Get-ChildItem $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}}/*.tgz + Write-Host "Detected package name: $($detectedPackageName)" + if ($detectedPackageName -notmatch "-alpha") + { + Write-Error "Found non alpha version artifact to publish as dev version. Failing publish step. VersionPolicy should be client or core in rush.json to get alpha version build." + exit 1 + } echo "##vso[task.setvariable variable=Package.Archive]$detectedPackageName" if ('$(Build.Repository.Name)' -eq 'Azure/azure-sdk-for-js') { $npmToken="$(azure-sdk-npm-token)" From 55adc3d8760343714491786142e82c8293cded98 Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Thu, 1 Jul 2021 11:18:22 -0700 Subject: [PATCH 111/134] [Text Analytics] Add test for categories filter (#16145) --- ...ition_action_with_categories_filtered.json | 183 +++++++ ...ition_action_with_categories_filtered.json | 159 +++++++ ...gnition_action_with_categories_filtered.js | 450 ++++++++++++++++++ ...gnition_action_with_categories_filtered.js | 324 +++++++++++++ .../src/textAnalyticsClient.ts | 13 +- .../ai-text-analytics/src/util.ts | 12 +- .../test/public/textAnalyticsClient.spec.ts | 60 +++ 7 files changed, 1194 insertions(+), 7 deletions(-) create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.js create mode 100644 sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.js diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json new file mode 100644 index 000000000000..1ca4e105b9ac --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json @@ -0,0 +1,183 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "query": {}, + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", + "status": 200, + "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", + "responseHeaders": { + "cache-control": "no-store, no-cache", + "content-length": "1331", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:57:49 GMT", + "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", + "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", + "pragma": "no-cache", + "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+san\"}]}", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-content-type-options": "nosniff", + "x-ms-ests-server": "2.1.11829.9 - SCUS ProdSlices", + "x-ms-request-id": "46c2457c-408c-420d-8718-b9d597258b01" + } + }, + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"My SSN is 859-98-0987 and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\"},{\"id\":\"2\",\"text\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"piiCategories\":[\"USSocialSecurityNumber\"],\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "03b935a5-6177-4778-9045-11bfc965e555", + "date": "Thu, 01 Jul 2021 17:57:53 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/167a7ace-f7b1-4962-be0d-919dc55b2573", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "2778" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/167a7ace-f7b1-4962-be0d-919dc55b2573", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"167a7ace-f7b1-4962-be0d-919dc55b2573\",\"lastUpdateDateTime\":\"2021-07-01T17:57:53Z\",\"createdDateTime\":\"2021-07-01T17:57:50Z\",\"expirationDateTime\":\"2021-07-02T17:57:50Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "03e3da42-2b85-4a0d-8422-2d3b6e166424", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:57:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/167a7ace-f7b1-4962-be0d-919dc55b2573", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"167a7ace-f7b1-4962-be0d-919dc55b2573\",\"lastUpdateDateTime\":\"2021-07-01T17:57:53Z\",\"createdDateTime\":\"2021-07-01T17:57:50Z\",\"expirationDateTime\":\"2021-07-02T17:57:50Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "bce3203e-a47c-40c7-b84a-e8d091ee500e", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:57:53 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "10" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/167a7ace-f7b1-4962-be0d-919dc55b2573", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"167a7ace-f7b1-4962-be0d-919dc55b2573\",\"lastUpdateDateTime\":\"2021-07-01T17:57:55Z\",\"createdDateTime\":\"2021-07-01T17:57:50Z\",\"expirationDateTime\":\"2021-07-02T17:57:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "f380e581-871b-4ee9-aefc-2b0186e03300", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:57:55 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/167a7ace-f7b1-4962-be0d-919dc55b2573", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"167a7ace-f7b1-4962-be0d-919dc55b2573\",\"lastUpdateDateTime\":\"2021-07-01T17:57:55Z\",\"createdDateTime\":\"2021-07-01T17:57:50Z\",\"expirationDateTime\":\"2021-07-02T17:57:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "00c8db8c-74df-4efb-857d-b4a9044e26ec", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:57:57 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "12" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/167a7ace-f7b1-4962-be0d-919dc55b2573", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"167a7ace-f7b1-4962-be0d-919dc55b2573\",\"lastUpdateDateTime\":\"2021-07-01T17:57:55Z\",\"createdDateTime\":\"2021-07-01T17:57:50Z\",\"expirationDateTime\":\"2021-07-02T17:57:50Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "b06a390b-517e-4608-84ff-c27d47e2d312", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:57:59 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "9" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/167a7ace-f7b1-4962-be0d-919dc55b2573", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"167a7ace-f7b1-4962-be0d-919dc55b2573\",\"lastUpdateDateTime\":\"2021-07-01T17:58:00Z\",\"createdDateTime\":\"2021-07-01T17:57:50Z\",\"expirationDateTime\":\"2021-07-02T17:57:50Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-07-01T17:58:00.8539988Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "65d7113a-8978-4863-a04f-46aaab3dae52", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:01 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "63" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/167a7ace-f7b1-4962-be0d-919dc55b2573", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"167a7ace-f7b1-4962-be0d-919dc55b2573\",\"lastUpdateDateTime\":\"2021-07-01T17:58:00Z\",\"createdDateTime\":\"2021-07-01T17:57:50Z\",\"expirationDateTime\":\"2021-07-02T17:57:50Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-07-01T17:58:00.8539988Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "3ae90447-2516-469a-8c96-4a93c9ca8c48", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "5138" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "0a1ceb5bcb50b857358da84697bf84fa" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json new file mode 100644 index 000000000000..f8d595d92c6b --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/browsers/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.json @@ -0,0 +1,159 @@ +{ + "recordings": [ + { + "method": "POST", + "url": "https://endpoint//text/analytics/v3.1/analyze", + "query": {}, + "requestBody": "{\"analysisInput\":{\"documents\":[{\"id\":\"1\",\"text\":\"My SSN is 859-98-0987 and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\"},{\"id\":\"2\",\"text\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\"}]},\"tasks\":{\"entityRecognitionPiiTasks\":[{\"parameters\":{\"model-version\":\"latest\",\"piiCategories\":[\"USSocialSecurityNumber\"],\"stringIndexType\":\"Utf16CodeUnit\"}}]}}", + "status": 202, + "response": "", + "responseHeaders": { + "apim-request-id": "f880f8a2-8144-4815-989c-c3a4b73ad493", + "date": "Thu, 01 Jul 2021 17:58:07 GMT", + "operation-location": "https://endpoint/text/analytics/v3.1/analyze/jobs/7467a4d4-7cd3-4b63-97fd-465dc2004a3c", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "190" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7467a4d4-7cd3-4b63-97fd-465dc2004a3c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7467a4d4-7cd3-4b63-97fd-465dc2004a3c\",\"lastUpdateDateTime\":\"2021-07-01T17:58:07Z\",\"createdDateTime\":\"2021-07-01T17:58:07Z\",\"expirationDateTime\":\"2021-07-02T17:58:07Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "481ea343-7c89-4805-b6a7-6312cb9b4589", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7467a4d4-7cd3-4b63-97fd-465dc2004a3c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7467a4d4-7cd3-4b63-97fd-465dc2004a3c\",\"lastUpdateDateTime\":\"2021-07-01T17:58:07Z\",\"createdDateTime\":\"2021-07-01T17:58:07Z\",\"expirationDateTime\":\"2021-07-02T17:58:07Z\",\"status\":\"notStarted\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "bd27e39e-ce29-4f68-9b53-15b4ab8c40d5", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:07 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "8" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7467a4d4-7cd3-4b63-97fd-465dc2004a3c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7467a4d4-7cd3-4b63-97fd-465dc2004a3c\",\"lastUpdateDateTime\":\"2021-07-01T17:58:08Z\",\"createdDateTime\":\"2021-07-01T17:58:07Z\",\"expirationDateTime\":\"2021-07-02T17:58:07Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "1dcb460c-abe9-4a74-8ccb-315ad93c89e5", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:09 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7467a4d4-7cd3-4b63-97fd-465dc2004a3c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7467a4d4-7cd3-4b63-97fd-465dc2004a3c\",\"lastUpdateDateTime\":\"2021-07-01T17:58:08Z\",\"createdDateTime\":\"2021-07-01T17:58:07Z\",\"expirationDateTime\":\"2021-07-02T17:58:07Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "ee0f6fe4-b63b-41b4-b28b-a9888f917d0b", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:12 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "6" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7467a4d4-7cd3-4b63-97fd-465dc2004a3c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7467a4d4-7cd3-4b63-97fd-465dc2004a3c\",\"lastUpdateDateTime\":\"2021-07-01T17:58:08Z\",\"createdDateTime\":\"2021-07-01T17:58:07Z\",\"expirationDateTime\":\"2021-07-02T17:58:07Z\",\"status\":\"running\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":0,\"failed\":0,\"inProgress\":1,\"total\":1}}", + "responseHeaders": { + "apim-request-id": "cbb285dc-60ed-44ef-896e-fe38570bfbf4", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:14 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "7" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7467a4d4-7cd3-4b63-97fd-465dc2004a3c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7467a4d4-7cd3-4b63-97fd-465dc2004a3c\",\"lastUpdateDateTime\":\"2021-07-01T17:58:15Z\",\"createdDateTime\":\"2021-07-01T17:58:07Z\",\"expirationDateTime\":\"2021-07-02T17:58:07Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-07-01T17:58:15.3759001Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "8b9beddc-8648-46b4-9175-c53989de7c51", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "128" + } + }, + { + "method": "GET", + "url": "https://endpoint//text/analytics/v3.1/analyze/jobs/7467a4d4-7cd3-4b63-97fd-465dc2004a3c", + "query": { + "$top": "20" + }, + "requestBody": null, + "status": 200, + "response": "{\"jobId\":\"7467a4d4-7cd3-4b63-97fd-465dc2004a3c\",\"lastUpdateDateTime\":\"2021-07-01T17:58:15Z\",\"createdDateTime\":\"2021-07-01T17:58:07Z\",\"expirationDateTime\":\"2021-07-02T17:58:07Z\",\"status\":\"succeeded\",\"errors\":[],\"displayName\":\"NA\",\"tasks\":{\"completed\":1,\"failed\":0,\"inProgress\":0,\"total\":1,\"entityRecognitionPiiTasks\":[{\"lastUpdateDateTime\":\"2021-07-01T17:58:15.3759001Z\",\"taskName\":\"PersonallyIdentifiableInformation_latest\",\"state\":\"succeeded\",\"results\":{\"documents\":[{\"redactedText\":\"My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"1\",\"entities\":[{\"text\":\"859-98-0987\",\"category\":\"USSocialSecurityNumber\",\"offset\":10,\"length\":11,\"confidenceScore\":0.65}],\"warnings\":[]},{\"redactedText\":\"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.\",\"id\":\"2\",\"entities\":[],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2021-01-15\"}}]}}", + "responseHeaders": { + "apim-request-id": "f41deb57-6205-4f9a-a86f-9013211f019a", + "content-type": "application/json; charset=utf-8", + "date": "Thu, 01 Jul 2021 17:58:16 GMT", + "strict-transport-security": "max-age=31536000; includeSubDomains; preload", + "transfer-encoding": "chunked", + "x-content-type-options": "nosniff", + "x-envoy-upstream-service-time": "56" + } + } + ], + "uniqueTestInfo": { + "uniqueName": {}, + "newDate": {} + }, + "hash": "0a1ceb5bcb50b857358da84697bf84fa" +} \ No newline at end of file diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.js b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.js new file mode 100644 index 000000000000..c900b22cb354 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/aad_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.js @@ -0,0 +1,450 @@ +let nock = require('nock'); + +module.exports.hash = "b9f03905f298e24c61f205d65ba5d0af"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Length', + '980', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'f3300709-67bb-4e12-bc8b-ebbab6556500', + 'x-ms-ests-server', + '2.1.11829.9 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AjIoYvtotA5Jh9h40R_fDgk; expires=Sat, 31-Jul-2021 17:49:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevryTMdyEevFBbwqPth8_vl-1UN7XyPgqIF81atPpRAYGvrM8slE6o5Q-g1ley8YwO-wc4FCtHH9iqQPXQC71DLvw1AJi9GoPXQOGTbb7DABS7r9UyZ9mPyqt6bDAttTqXqppaSt8RsraVNrB9CebQ_1epN6iKb4Z7OCxCXxn9OZrMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 01 Jul 2021 17:49:30 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'c410173e-1b24-48d0-b926-c9955a9bc401', + 'x-ms-ests-server', + '2.1.11829.9 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AjIoYvtotA5Jh9h40R_fDgk; expires=Sat, 31-Jul-2021 17:49:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrPef9b7Z2Lr2uR_9nW7dtYOQEZakpVsVA7jJSp5qWGp_9WXFmRjxMpzpK_DQYY_YHZUdSfvZ6uUG63NUParbMcHv6r3QwPHtnu5gA0XuomMyFemjpfWAoyiQ4QY2iH8sgLxQYGL20y0cCgVo8wDz6aPRtle0RvPZHlrT1xo2sc20gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 01 Jul 2021 17:49:30 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&x-client-SKU=msal.js.node&x-client-VER=1.1.0&x-client-OS=linux&x-client-CPU=x64&x-ms-lib-capability=retry-after, h429&x-client-current-telemetry=2|771,0|,&x-client-last-telemetry=2|0|||0,0&client-request-id=413a9c2c-5959-40dd-b653-70138ab61fd9&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', + 'Content-Length', + '1331', + 'Content-Type', + 'application/json; charset=utf-8', + 'Expires', + '-1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '76a1fa0c-212b-4bcf-9690-a0b506721b00', + 'x-ms-ests-server', + '2.1.11829.9 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AjIoYvtotA5Jh9h40R_fDglz_bg1AQAAACv3b9gOAAAA; expires=Sat, 31-Jul-2021 17:49:31 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Thu, 01 Jul 2021 17:49:31 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"My SSN is 859-98-0987 and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."},{"id":"2","text":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","piiCategories":["USSocialSecurityNumber"],"stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6', + 'x-envoy-upstream-service-time', + '10483', + 'apim-request-id', + '58b29ea3-904c-4b6c-b891-83e91cd2072e', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:49:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:43Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '120', + 'apim-request-id', + '816bcd4a-b2cb-46b4-898e-946d87f742e1', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:49:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:43Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7718', + 'apim-request-id', + '8f35919b-e584-4af5-a146-7cfd72ab6ecc', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:49:51 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5089', + 'apim-request-id', + '16b4e74c-188a-4f9c-9730-1adc77bd0592', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:49:59 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '166', + 'apim-request-id', + '88d8e295-9c31-4b41-9b08-9edb30ad4728', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:01 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'f5e8101b-8a9b-4c33-afb6-dc1fd337a18a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:03 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '75e91fd2-36ca-412a-97c3-e83b0a7b4c87', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:05 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '61fd233e-cbd6-45a7-9bcd-5f7e5e36699f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:07 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '3c18426e-9b33-4cc3-98b8-ba091d3f1783', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:09 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '10', + 'apim-request-id', + '05abddb1-c3d5-434f-9db8-6b6d48b4b8da', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:11 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '1f4d2f4b-8750-41b9-ba94-239a4edd5a0a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:13 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '567ea10a-fe22-4166-96b6-aa278abdf8d2', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:15 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '45da5b32-3e8b-4490-8001-efe7197e0f0a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:17 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'ea859881-5d20-4a44-ab6d-1e5f6ee73cbb', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:19 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:49:51Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'ac3f5fd8-ea83-45cf-8bcd-65b558fcbbf4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:21 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:50:23Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-07-01T17:50:23.0405867Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '79', + 'apim-request-id', + 'c68a91fc-8b8a-488b-b29d-59895f12c0f6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:23 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/84c55860-da97-432b-981e-7e2322e2e4f6') + .query(true) + .reply(200, {"jobId":"84c55860-da97-432b-981e-7e2322e2e4f6","lastUpdateDateTime":"2021-07-01T17:50:23Z","createdDateTime":"2021-07-01T17:49:33Z","expirationDateTime":"2021-07-02T17:49:33Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-07-01T17:50:23.0405867Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '146', + 'apim-request-id', + 'ddd787d3-7450-4df3-93c6-000c95ffcd9a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:23 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.js b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.js new file mode 100644 index 000000000000..c535a6ec5fb4 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/recordings/node/apikey_textanalyticsclient_lros_analyze/recording_single_pii_entities_recognition_action_with_categories_filtered.js @@ -0,0 +1,324 @@ +let nock = require('nock'); + +module.exports.hash = "b9f03905f298e24c61f205d65ba5d0af"; + +module.exports.testInfo = {"uniqueName":{},"newDate":{}} + +nock('https://endpoint', {"encodedQueryParams":true}) + .post('//text/analytics/v3.1/analyze', {"analysisInput":{"documents":[{"id":"1","text":"My SSN is 859-98-0987 and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."},{"id":"2","text":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check."}]},"tasks":{"entityRecognitionPiiTasks":[{"parameters":{"model-version":"latest","piiCategories":["USSocialSecurityNumber"],"stringIndexType":"Utf16CodeUnit"}}]}}) + .reply(202, "", [ + 'Transfer-Encoding', + 'chunked', + 'operation-location', + 'https://endpoint/text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d', + 'x-envoy-upstream-service-time', + '209', + 'apim-request-id', + '3b794e20-c16e-4d67-a1bf-bc40725ddc9b', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:24Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + 'bc4663dc-7970-4096-8e6f-e1079af99520', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:24Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"notStarted","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + 'ad6fd06f-54e9-4fc2-ba94-434f55b03914', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:24 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + '247b6805-6ab3-4a75-90b0-ad55497c3c81', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:26 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '750eb417-1828-4dc8-a43b-12a7069d81b5', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:28 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '8', + 'apim-request-id', + '549112c3-8271-4baa-9a21-ba5fe437aabe', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:30 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '5168f636-6bab-4e4f-b099-a6f14848b80f', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:32 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '9', + 'apim-request-id', + 'ac42db1e-d579-455c-9cde-715e8d171f24', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:34 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + '372ba504-e483-4ad3-9b39-3ffbaa247bd0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:36 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '5', + 'apim-request-id', + 'f529c17e-05c4-41de-8003-6cdbdbd210b6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:39 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '7', + 'apim-request-id', + '416b00fa-3c8b-4998-8cf8-5d0539f7fc7c', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:41 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '11', + 'apim-request-id', + '57997542-93e2-4fb7-b5a9-c9e2a49073c4', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:43 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + '31758d39-a25e-4bb1-8234-fd9439606ead', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:45 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:25Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"running","errors":[],"displayName":"NA","tasks":{"completed":0,"failed":0,"inProgress":1,"total":1}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '6', + 'apim-request-id', + 'd7eaa8b4-5375-419b-a164-911245149599', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:47 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:49Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-07-01T17:50:49.3998563Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '153', + 'apim-request-id', + '9d90184b-93d8-442b-8843-7fcf953b18c6', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:49 GMT' +]); + +nock('https://endpoint', {"encodedQueryParams":true}) + .get('//text/analytics/v3.1/analyze/jobs/9f83a353-8cea-4b98-b79c-d0643dbd1b4d') + .query(true) + .reply(200, {"jobId":"9f83a353-8cea-4b98-b79c-d0643dbd1b4d","lastUpdateDateTime":"2021-07-01T17:50:49Z","createdDateTime":"2021-07-01T17:50:24Z","expirationDateTime":"2021-07-02T17:50:24Z","status":"succeeded","errors":[],"displayName":"NA","tasks":{"completed":1,"failed":0,"inProgress":0,"total":1,"entityRecognitionPiiTasks":[{"lastUpdateDateTime":"2021-07-01T17:50:49.3998563Z","taskName":"PersonallyIdentifiableInformation_latest","state":"succeeded","results":{"documents":[{"redactedText":"My SSN is *********** and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.","id":"1","entities":[{"text":"859-98-0987","category":"USSocialSecurityNumber","offset":10,"length":11,"confidenceScore":0.65}],"warnings":[]},{"redactedText":"Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check.","id":"2","entities":[],"warnings":[]}],"errors":[],"modelVersion":"2021-01-15"}}]}}, [ + 'Transfer-Encoding', + 'chunked', + 'Content-Type', + 'application/json; charset=utf-8', + 'x-envoy-upstream-service-time', + '62', + 'apim-request-id', + 'dffa5f34-c069-4e64-aecd-42bd7e2a935a', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains; preload', + 'x-content-type-options', + 'nosniff', + 'Date', + 'Thu, 01 Jul 2021 17:50:49 GMT' +]); diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts index 898f25e700b4..c083bdba986c 100644 --- a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts +++ b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts @@ -50,9 +50,10 @@ import { createSpan } from "./tracing"; import { SpanStatusCode } from "@azure/core-tracing"; import { textAnalyticsAzureKeyCredentialPolicy } from "./azureKeyCredentialPolicy"; import { - AddParamsToTask, + addParamsToTask, compose, handleInvalidDocumentBatch, + setCategoriesFilter, setOpinionMining, setStrEncodingParam, setStrEncodingParamValue, @@ -1032,17 +1033,17 @@ function validateActions(actions: TextAnalyticsActions): void { function compileAnalyzeInput(actions: TextAnalyticsActions): GeneratedActions { return { entityRecognitionPiiTasks: actions.recognizePiiEntitiesActions?.map( - compose(setStrEncodingParam, AddParamsToTask) + compose(setStrEncodingParam, compose(setCategoriesFilter, addParamsToTask)) ), entityRecognitionTasks: actions.recognizeEntitiesActions?.map( - compose(setStrEncodingParam, AddParamsToTask) + compose(setStrEncodingParam, addParamsToTask) ), - keyPhraseExtractionTasks: actions.extractKeyPhrasesActions?.map(AddParamsToTask), + keyPhraseExtractionTasks: actions.extractKeyPhrasesActions?.map(addParamsToTask), entityLinkingTasks: actions.recognizeLinkedEntitiesActions?.map( - compose(setStrEncodingParam, AddParamsToTask) + compose(setStrEncodingParam, addParamsToTask) ), sentimentAnalysisTasks: actions.analyzeSentimentActions?.map( - compose(setStrEncodingParam, compose(setOpinionMining, AddParamsToTask)) + compose(setStrEncodingParam, compose(setOpinionMining, addParamsToTask)) ) }; } diff --git a/sdk/textanalytics/ai-text-analytics/src/util.ts b/sdk/textanalytics/ai-text-analytics/src/util.ts index e2fa656c8143..4a0a5d8ce682 100644 --- a/sdk/textanalytics/ai-text-analytics/src/util.ts +++ b/sdk/textanalytics/ai-text-analytics/src/util.ts @@ -134,9 +134,19 @@ export function setOpinionMining( } /** + * Set the pii categories property * @internal */ -export function AddParamsToTask( +export function setCategoriesFilter( + x: X +): X & { piiCategories?: string[] } { + return { ...x, piiCategories: x.categoriesFilter }; +} + +/** + * @internal + */ +export function addParamsToTask( action: X ): { parameters?: Omit; taskName?: string } { const { actionName, ...params } = action; diff --git a/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts b/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts index 19f8708283b0..4d9aa9bf1b33 100644 --- a/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts +++ b/sdk/textanalytics/ai-text-analytics/test/public/textAnalyticsClient.spec.ts @@ -1155,6 +1155,66 @@ matrix([["AAD", "APIKey"]] as const, async (authMethod: AuthMethod) => { } }); + it("single pii entities recognition action with categories filtered", async function() { + const docs = [ + { + id: "1", + text: + "My SSN is 859-98-0987 and your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check." + }, + { + id: "2", + text: + "Your ABA number - 111000025 - is the first 9 digits in the lower left hand corner of your personal check." + } + ]; + + const poller = await client.beginAnalyzeActions( + docs, + { + recognizePiiEntitiesActions: [ + { modelVersion: "latest", categoriesFilter: ["USSocialSecurityNumber"] } + ] + }, + { + updateIntervalInMs: pollingInterval + } + ); + const result = await poller.pollUntilDone(); + for await (const page of result) { + const entitiesResult = page.recognizePiiEntitiesResults; + if (entitiesResult.length === 1) { + const action = entitiesResult[0]; + if (!action.error) { + const actionResults = action.results; + assert.equal(actionResults.length, 2); + const doc1 = actionResults[0]; + const doc2 = actionResults[1]; + if (!doc1.error) { + assert.equal(doc1.entities.length, 1); + assert.equal(doc1.entities[0].text, "859-98-0987"); + assert.equal(doc1.entities[0].category, "USSocialSecurityNumber"); + } + if (!doc2.error) { + assert.equal(doc2.entities.length, 0); + } + for (const doc of actionResults) { + if (!doc.error) { + for (const entity of doc.entities) { + assert.isDefined(entity.text); + assert.isDefined(entity.category); + assert.isDefined(entity.offset); + assert.isDefined(entity.confidenceScore); + } + } + } + } + } else { + assert.fail("expected an array of pii entities results but did not get one."); + } + } + }); + it("single sentiment analysis action", async function() { const docs = [ "The food was unacceptable", From 43ecf9243cfec7c799fdedd749bb0d755190e1e9 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Thu, 1 Jul 2021 11:41:25 -0700 Subject: [PATCH 112/134] Daily reference docs for JS (#15749) * Add dev version to Save-Package-Properties.ps1 and includd in build process * Now with fewer pipelines * Add daily docs.ms work to docindex.yml * Update-DocsMsMetadata and required functions * Common * Docs meatadata release and daily docs build * eq * Loop over artifacts in paramaters.Artifacts * Add PackageInfo to path * download: current * Output artifacts * Pool * Use relative paths in package properties json file and use dev version as Version (if available) when setting metadata * Skip checking out docs repo if it's already checked out * Don't overcomplicate docs-metadata-release.yml * With parameters properly defined and redundant logic removed * Use TargetBranchName * Retain original version to differentiate where metadata and readme docs end up * Add docs repo support for GetDocsMetadata: first cut * Sparse checkout needs to include metadata * Add metadata from packages that aren't tracked in the CSV file yet * Use "dev" if the package has a "dev" version in JS. This will not work in other languages and shouldn't be put into eng/common. That will need to be refactored into logic that could be in Language-Settings.ps1 * Refactor and use sparse checkout everywhere * Refactor long path support * Correct path * Parameter names * Remove unnecessary parameter * Close quote * Add pipeline starting * Keep the single quotes * Output link to CI build * Refactor: * Rename docs-metadata-release2.yml" to "update-docsms-metadata.yml" * Documentation for Update-DocsMsMetadata.ps1 * Documentation for Update-DocsMsPackages.ps1 * Add function invocation to Update-DocsMsMetadata.ps1 to override the package metadata from PackageInfo before it's written into the metadata folder * Refactor logic for generating daily branch name * Add ability to override daily docs branch name at queue time * Apply suggestions from code review Co-authored-by: Wes Haggard * Review feedback: Save-Package-Properties.ps1 * Update comments for path normalization * Change path normalization logic to not switch current location * Update docs * Add ability to specify variable name for default branch * Try convertToJson * Tab scope * Do doc artifact info loop in Update-DocsMsMetadata.ps1 instead of yaml template * Single quotes * Remove template loop * Remove extra template references * Move convertToJson * Try different formatting given convertToJson * Reverse Update-DocsMsMetadata.ps1 to operate on a single object. Looping can happen in yaml * Loop in yaml, Rename Update-DocsMsMetadata parameter * Try re-formatting yaml * Spell parameters properly * Missing backtick * Remove extra logging * First cut at default implementation * Move business logic inside Update-DocsMsMetadata.ps1, PowerShell can handle an array or a single item in the cmdlet parameters * Use proper function name * PackageProps has a DevVersion * No DefaultImplementation in this change. This should be part of a wider effort. * Straggling master -> main rename * Use existing devops starting logic * Remove extra condition * Fix backslashes * Correct number of backslashes * Use variable for branch name * Update eng/scripts/Language-Settings.ps1 Co-authored-by: Wes Haggard * Review feedback * Do not replace the default branch with the tag in links when doing a Dev build (pointing to the default branch is preferable and the tag does not exist) * Conditions on docs version for template project * Do not run PublishDocsToNightlyBranch if TestPipeline is true * Performance improvements, switch to Linux to take advantage of paths that don't look like escape sequences to ConvertFrom-Json * Add markdown files to sparse checkout * Reproduce failure for template publishing * Remove eng, it's already there by default * Fix instances where metadata might not be available because of filtering Hide == true (e.g. in template packages). The only information consumed from CSV metadata at this time is the service name which gets normalized and placed in the package overview metadata. Co-authored-by: Wes Haggard --- eng/pipelines/docindex.yml | 43 ++++++++++++ .../templates/stages/archetype-js-release.yml | 66 ++++++++++++------- eng/pipelines/templates/steps/build.yml | 12 ++++ eng/scripts/Language-Settings.ps1 | 18 +++++ 4 files changed, 117 insertions(+), 22 deletions(-) diff --git a/eng/pipelines/docindex.yml b/eng/pipelines/docindex.yml index 959893344c25..0ba7c06104b6 100644 --- a/eng/pipelines/docindex.yml +++ b/eng/pipelines/docindex.yml @@ -18,6 +18,7 @@ jobs: Paths: - ci-configs/packages-latest.json - ci-configs/packages-preview.json + - metadata/ Repositories: - Name: $(DocRepoOwner)/$(DocRepoName) WorkingDirectory: $(DocRepoLocation) @@ -43,3 +44,45 @@ jobs: TargetRepoName: $(DocRepoName) TargetRepoOwner: $(DocRepoOwner) WorkingDirectory: $(DocRepoLocation) + + # Prepare daily docs CI + - template: /eng/common/pipelines/templates/steps/set-daily-docs-branch-name.yml + parameters: + DailyBranchVariableName: DailyDocsBranchName + - pwsh: | + $ErrorActionPreference = "Continue" + git checkout "origin/$(DailyDocsBranchName)" 2>&1 | Out-Null + $LASTEXITCODE = 0 # This ignores any error from git checkout + git status + displayName: Checkout daily branch if it exists + workingDirectory: $(DocRepoLocation) + - task: Powershell@2 + inputs: + pwsh: true + filePath: eng/common/scripts/Update-DocsMsPackages.ps1 + arguments: -DocRepoLocation $(DocRepoLocation) + displayName: Update Docs Onboarding for Daily branch + - template: /eng/common/pipelines/templates/steps/git-push-changes.yml + parameters: + BaseRepoBranch: $(DailyDocsBranchName) + BaseRepoOwner: $(DocRepoOwner) + CommitMsg: "Update targeting packages based on release metadata. (Daily docs)" + TargetRepoName: $(DocRepoName) + TargetRepoOwner: $(DocRepoOwner) + WorkingDirectory: $(DocRepoLocation) + ScriptDirectory: $(Build.SourcesDirectory)/eng/common/scripts + + - task: PowerShell@2 + displayName: Queue Docs CI build + inputs: + pwsh: true + filePath: eng/common/scripts/Queue-Pipeline.ps1 + # SourceBranch must be "master" as this repo is managed by the docs + # team and will be updated according to their timeline. + arguments: > + -Organization "apidrop" + -Project "Content%20CI" + -SourceBranch "master" + -DefinitionId 3452 + -Base64EncodedAuthToken "$(azuresdk-apidrop-devops-queue-build-pat)" + -BuildParametersJson '{"params":"{ \"target_repo\": { \"url\": \"https://github.com/MicrosoftDocs/azure-docs-sdk-node\", \"branch\": \"$(DailyDocsBranchName)\", \"folder\": \"./\" }, \"source_repos\": [] }"}' diff --git a/eng/pipelines/templates/stages/archetype-js-release.yml b/eng/pipelines/templates/stages/archetype-js-release.yml index f33eb85b456c..6db11af2c0d5 100644 --- a/eng/pipelines/templates/stages/archetype-js-release.yml +++ b/eng/pipelines/templates/stages/archetype-js-release.yml @@ -108,40 +108,31 @@ stages: dependsOn: PublishPackage pool: - name: azsdk-pool-mms-win-2019-general - vmImage: MMS2019 - variables: - CIConfigs: "{'targets':[{'path_to_config':'ci-configs/packages-preview.json','Mode':'Preview','content_folder':'docs-ref-services/preview'},{'path_to_config':'ci-configs/packages-latest.json','mode':'Latest','content_folder':'docs-ref-services/latest'}]}" + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 strategy: runOnce: deploy: steps: - - checkout: self - - pwsh: | - Get-ChildItem -Recurse ${{parameters.ArtifactName}}/${{artifact.name}} - workingDirectory: $(Pipeline.Workspace) - displayName: Output Visible Artifacts - - template: /eng/common/pipelines/templates/steps/get-pr-owners.yml + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml parameters: - TargetVariable: "OwningGHUser" - ServiceDirectory: ${{parameters.ServiceDirectory}} - - template: /eng/common/pipelines/templates/steps/docs-metadata-release.yml + SkipDefaultCheckout: true + Paths: + - sdk/**/*.md + - download: current + - template: /eng/common/pipelines/templates/steps/update-docsms-metadata.yml parameters: - ArtifactLocation: $(Pipeline.Workspace)/${{parameters.ArtifactName}}/${{artifact.name}} - PackageRepository: NPM - ReleaseSha: $(Build.SourceVersion) + PackageInfoLocations: + - $(Pipeline.Workspace)/${{parameters.ArtifactName}}/PackageInfo/${{artifact.name}}.json RepoId: Azure/azure-sdk-for-js WorkingDirectory: $(System.DefaultWorkingDirectory) TargetDocRepoOwner: ${{parameters.TargetDocRepoOwner}} TargetDocRepoName: ${{parameters.TargetDocRepoName}} - PRBranchName: onboarding-${{artifact.name}}-$(Build.BuildId) - ArtifactName: ${{artifact.name}} Language: 'javascript' - DocRepoDestinationPath: 'docs-ref-services/' - GHReviewersVariable: 'OwningGHUser' - CIConfigs: $(CIConfigs) - CloseAfterOpenForTesting: '${{ parameters.TestPipeline }}' + SparseCheckoutPaths: + - docs-ref-services/ + - metadata/ - ${{if ne(artifact.skipPublishDocGithubIo, 'true')}}: - deployment: PublishDocsGitHubIO @@ -261,3 +252,34 @@ stages: targetType: filePath filePath: "eng/tools/publish-to-npm.ps1" arguments: '-pathToArtifacts $(Package.Archive) -accessLevel "public" -tag "dev" -registry "$(Registry)" -npmToken "$(NpmToken)"' + + - job: PublishDocsToNightlyBranch + condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['SetDevVersion'], ''), eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal'))) + pool: + name: azsdk-pool-mms-ubuntu-2004-general + vmImage: MMSUbuntu20.04 + steps: + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml + parameters: + SkipDefaultCheckout: true + Paths: + - sdk/**/*.md + - download: current + - pwsh: | + Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.ArtifactName}}/ + displayName: Show visible artifacts + + - template: /eng/common/pipelines/templates/steps/update-docsms-metadata.yml + parameters: + PackageInfoLocations: + - ${{ each artifact in parameters.Artifacts }}: + - $(Pipeline.Workspace)/${{parameters.ArtifactName}}/PackageInfo/${{artifact.name}}.json + RepoId: Azure/azure-sdk-for-js + WorkingDirectory: $(System.DefaultWorkingDirectory) + TargetDocRepoOwner: ${{parameters.TargetDocRepoOwner}} + TargetDocRepoName: ${{parameters.TargetDocRepoName}} + Language: 'javascript' + DailyDocsBuild: true + SparseCheckoutPaths: + - docs-ref-services/ + - metadata/ diff --git a/eng/pipelines/templates/steps/build.yml b/eng/pipelines/templates/steps/build.yml index d4230bcbef1e..0132c886cddc 100644 --- a/eng/pipelines/templates/steps/build.yml +++ b/eng/pipelines/templates/steps/build.yml @@ -28,6 +28,18 @@ steps: condition: and(succeeded(),eq(variables['SetDevVersion'],'true')) displayName: "Update package versions for dev build" + - task: Powershell@2 + inputs: + filePath: $(Build.SourcesDirectory)/eng/common/scripts/Save-Package-Properties.ps1 + arguments: > + -ServiceDirectory ${{parameters.ServiceDirectory}} + -OutDirectory $(Build.ArtifactStagingDirectory)/PackageInfo + -AddDevVersion + pwsh: true + workingDirectory: $(Pipeline.Workspace) + displayName: Update package properties with dev version + condition: and(succeeded(),eq(variables['SetDevVersion'],'true')) + - script: | node common/scripts/install-run-rush.js install condition: and(succeeded(),ne(variables['SetDevVersion'],'true')) diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index bfe5fc689fe9..c1dba14557b3 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -122,6 +122,24 @@ function Get-javascript-PackageInfoFromPackageFile ($pkg, $workingDirectory) return $resultObj } +function Get-javascript-DocsMsMetadataForPackage($PackageInfo) { + New-Object PSObject -Property @{ + DocsMsReadMeName = $PackageInfo.Name -replace "^@azure/" , "" + LatestReadMeLocation = 'docs-ref-services/latest' + PreviewReadMeLocation = 'docs-ref-services/preview' + Suffix = '' + } +} + +# In the case of NPM packages, the "dev version" produced for the given build +# may not have been published if the code is identical to the code already +# published at the "dev" tag. To prevent using a version which does not exist in +# NPM, use the "dev" tag instead. +function Get-javascript-DocsMsDevLanguageSpecificPackageInfo($packageInfo) { + $packageInfo.Version = 'dev' + return $packageInfo +} + # Stage and Upload Docs to blob Storage function Publish-javascript-GithubIODocs ($DocLocation, $PublicArtifactLocation) { From 400a1f2a1c2560afb0240d859c72c28fd0c3270b Mon Sep 17 00:00:00 2001 From: Deyaaeldeen Almahallawi Date: Thu, 1 Jul 2021 11:45:34 -0700 Subject: [PATCH 113/134] [Text Analytics] Update CHANGELOG with release date (#16146) * [Text Analytics] Update CHANGELOG with release date * edit --- sdk/textanalytics/ai-text-analytics/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/textanalytics/ai-text-analytics/CHANGELOG.md b/sdk/textanalytics/ai-text-analytics/CHANGELOG.md index 8c854b435ea8..bacbd5a3916c 100644 --- a/sdk/textanalytics/ai-text-analytics/CHANGELOG.md +++ b/sdk/textanalytics/ai-text-analytics/CHANGELOG.md @@ -1,16 +1,16 @@ # Release History -## 5.1.0 (Unreleased) +## 5.1.0 (2021-07-08) ### New Features - We are now targeting the service's v3.1 API as the default instead of v3.1-preview.5. +- `categoriesFilter` support was added to `RecognizePiiEntitiesAction`. ### Breaking Changes - `PiiEntityDomainType` was renamed to `PiiEntityDomain`. - `domain` property of `RecognizePiiEntitiesAction` was renamed to `domainFilter`. -- `categoriesFilter` was added to `RecognizePiiEntitiesAction`. - `beginAnalyzeActions` is now limited to accept up to one action only per type. ## 5.1.0-beta.6 (2021-05-18) From bfff737d846581be6bb74ec0d644901fcc4f5559 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Thu, 1 Jul 2021 12:19:30 -0700 Subject: [PATCH 114/134] [Perf] Update dependency core-http (#16147) --- common/config/rush/common-versions.json | 5 ----- common/config/rush/pnpm-lock.yaml | 2 +- sdk/test-utils/perfstress/package.json | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/common/config/rush/common-versions.json b/common/config/rush/common-versions.json index 2763847c8a0f..9c4748afa5dc 100644 --- a/common/config/rush/common-versions.json +++ b/common/config/rush/common-versions.json @@ -69,11 +69,6 @@ "^10.0.0", "^10.12.0" ], - // @azure/test-utils-perfstress should depend on lowest version of @azure/core-http for maximum compatibility, allowing test - // projects to choose a higher version if desired. - "@azure/core-http": [ - "^1.0.0" - ], // @azure/event-processor-host is on a much lower major version "@azure/ms-rest-nodeauth": [ "^0.9.2" diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 72b8c87c5b2f..00fd353e4286 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -11709,7 +11709,7 @@ packages: dev: false name: '@rush-temp/test-utils-perfstress' resolution: - integrity: sha512-Dw1ymK8lJ4/YxOxYRvmYQqPBj0hrCmiQbCU8dwlW3gikFdUd2T16cIgHLuCHIEC1pkFT35+uhiOH2Hf6gbEypQ== + integrity: sha512-IoXmWcVt9jDlI8ISTsLwpJHY9i3R73g/mpx9oEnBOwMnwfRxjkletLRvyDP/s8LtKHyUiYroRSWbYSryCqoYUQ== tarball: file:projects/test-utils-perfstress.tgz version: 0.0.0 file:projects/test-utils-recorder.tgz: diff --git a/sdk/test-utils/perfstress/package.json b/sdk/test-utils/perfstress/package.json index ce4ce55994d9..9c7c8d0b5f59 100644 --- a/sdk/test-utils/perfstress/package.json +++ b/sdk/test-utils/perfstress/package.json @@ -61,7 +61,7 @@ "private": true, "dependencies": { "@azure/abort-controller": "^1.0.0", - "@azure/core-http": "^1.0.0", + "@azure/core-http": "^2.0.0", "tslib": "^2.2.0", "node-fetch": "^2.6.0", "minimist": "~1.2.5", From e356efda2feb7553a0a452d57fd8bdb2f995d903 Mon Sep 17 00:00:00 2001 From: KarishmaGhiya Date: Thu, 1 Jul 2021 14:10:24 -0700 Subject: [PATCH 115/134] bump core-auth (#16149) --- sdk/core/core-auth/CHANGELOG.md | 2 +- sdk/core/core-auth/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/core/core-auth/CHANGELOG.md b/sdk/core/core-auth/CHANGELOG.md index 7cea45f53056..ac1d8d7392c5 100644 --- a/sdk/core/core-auth/CHANGELOG.md +++ b/sdk/core/core-auth/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.3.1 (2021-06-30) +## 1.3.2 (2021-07-01) - Added `tenantId` optional property to the `GetTokenOptions` interface. If `tenantId` is set, credentials will be able to use multi-tenant authentication, in the cases when it's enabled. diff --git a/sdk/core/core-auth/package.json b/sdk/core/core-auth/package.json index b3e8dd2fdbe6..dfca785123d6 100644 --- a/sdk/core/core-auth/package.json +++ b/sdk/core/core-auth/package.json @@ -1,6 +1,6 @@ { "name": "@azure/core-auth", - "version": "1.3.1", + "version": "1.3.2", "description": "Provides low-level interfaces and helper methods for authentication in Azure SDK", "sdk-type": "client", "main": "dist/index.js", From 899fc0abb2f7c513f65e2299d313c3aee9a35628 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 1 Jul 2021 16:13:51 -0700 Subject: [PATCH 116/134] Sync eng/common directory with azure-sdk-tools for PR 1772 (#16151) * Update change log headers based on guideline update Updates based on https://github.com/Azure/azure-sdk/pull/3103 - Renamed "Key Bugs Fixed" to "Bugs Fixed" - Renamed "Fixed" to "Other Changes" Added a warning in validation if at lease one of the recommended headers aren't used. * Update eng/common/scripts/ChangeLog-Operations.ps1 Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Co-authored-by: Wes Haggard Co-authored-by: Wes Haggard Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- eng/common/scripts/ChangeLog-Operations.ps1 | 38 ++++++++++++--------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/eng/common/scripts/ChangeLog-Operations.ps1 b/eng/common/scripts/ChangeLog-Operations.ps1 index 6a161c1b4df9..25423b0ea8ad 100644 --- a/eng/common/scripts/ChangeLog-Operations.ps1 +++ b/eng/common/scripts/ChangeLog-Operations.ps1 @@ -5,6 +5,7 @@ $RELEASE_TITLE_REGEX = "(?^\#+\s+(?$([AzureEngSemanticVersion]::SEMVER_REGEX))(\s+(?\(.+\))))" $CHANGELOG_UNRELEASED_STATUS = "(Unreleased)" $CHANGELOG_DATE_FORMAT = "yyyy-MM-dd" +$RecommendedSectionHeaders = @("Features Added", "Breaking Changes", "Bugs Fixed", "Other Changes") # Returns a Collection of changeLogEntry object containing changelog info for all version present in the gived CHANGELOG function Get-ChangeLogEntries { @@ -109,7 +110,6 @@ function Get-ChangeLogEntryAsString { return ChangeLogEntryAsString $changeLogEntry } - function ChangeLogEntryAsString($changeLogEntry) { if (!$changeLogEntry) { return "[Missing change log entry]" @@ -141,13 +141,13 @@ function Confirm-ChangeLogEntry { Write-Host "-----" if ([System.String]::IsNullOrEmpty($changeLogEntry.ReleaseStatus)) { - LogError "Entry does not have a correct release status. Please ensure the status is set to a date '($CHANGELOG_DATE_FORMAT)' or '$CHANGELOG_UNRELEASED_STATUS' if not yet released." + LogError "Entry does not have a correct release status. Please ensure the status is set to a date '($CHANGELOG_DATE_FORMAT)' or '$CHANGELOG_UNRELEASED_STATUS' if not yet released. See https://aka.ms/azsdk/guideline/changelogs for more info." return $false } if ($ForRelease -eq $True) { if ($changeLogEntry.ReleaseStatus -eq $CHANGELOG_UNRELEASED_STATUS) { - LogError "Entry has no release date set. Please ensure to set a release date with format '$CHANGELOG_DATE_FORMAT'." + LogError "Entry has no release date set. Please ensure to set a release date with format '$CHANGELOG_DATE_FORMAT'. See https://aka.ms/azsdk/guideline/changelogs for more info." return $false } else { @@ -156,26 +156,27 @@ function Confirm-ChangeLogEntry { $releaseDate = [DateTime]$status if ($status -ne ($releaseDate.ToString($CHANGELOG_DATE_FORMAT))) { - LogError "Date must be in the format $($CHANGELOG_DATE_FORMAT)" + LogError "Date must be in the format $($CHANGELOG_DATE_FORMAT). See https://aka.ms/azsdk/guideline/changelogs for more info." return $false } if (((Get-Date).AddMonths(-1) -gt $releaseDate) -or ($releaseDate -gt (Get-Date).AddMonths(1))) { - LogError "The date must be within +/- one month from today." + LogError "The date must be within +/- one month from today. See https://aka.ms/azsdk/guideline/changelogs for more info." return $false } } catch { - LogError "Invalid date [ $status ] passed as status for Version [$($changeLogEntry.ReleaseVersion)]." + LogError "Invalid date [ $status ] passed as status for Version [$($changeLogEntry.ReleaseVersion)]. See https://aka.ms/azsdk/guideline/changelogs for more info." return $false } } if ([System.String]::IsNullOrWhiteSpace($changeLogEntry.ReleaseContent)) { - LogError "Entry has no content. Please ensure to provide some content of what changed in this version." + LogError "Entry has no content. Please ensure to provide some content of what changed in this version. See https://aka.ms/azsdk/guideline/changelogs for more info." return $false } + $foundRecomendedSection = $false $emptySections = @() foreach ($key in $changeLogEntry.Sections.Keys) { @@ -184,12 +185,20 @@ function Confirm-ChangeLogEntry { { $emptySections += $key } + if ($RecommendedSectionHeaders -contains $key) + { + $foundRecomendedSection = $true + } } if ($emptySections.Count -gt 0) { LogError "The changelog entry has the following sections with no content ($($emptySections -join ', ')). Please ensure to either remove the empty sections or add content to the section." return $false } + if (!$foundRecomendedSection) + { + LogWarning "The changelog entry did not contain any of the recommended sections ($($RecommendedSectionHeaders -join ', ')), pease add at least one. See https://aka.ms/azsdk/guideline/changelogs for more info." + } } return $true } @@ -228,15 +237,12 @@ function New-ChangeLogEntry { if (!$Content) { $Content = @() $Content += "" - $Content += "### Features Added" - $Content += "" - $Content += "### Breaking Changes" - $Content += "" - $Content += "### Key Bugs Fixed" - $Content += "" - $Content += "### Fixed" - $Content += "" - $Content += "" + + foreach ($recommendedHeader in $RecommendedSectionHeaders) + { + $Content += "### $recommendedHeader" + $Content += "" + } } $newChangeLogEntry = [pscustomobject]@{ From 9a47f3ddd54640d13afb6e4ec3019b2ba21efb74 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Mon, 5 Jul 2021 11:14:47 +0800 Subject: [PATCH 117/134] Appconfiguration release (#16190) * arm-appconfiguration-release * arm-appconfiguration-release --- .../arm-appconfiguration/LICENSE.txt | 2 +- .../arm-appconfiguration/README.md | 8 +- .../arm-appconfiguration/package.json | 4 +- .../arm-appconfiguration/rollup.config.js | 4 +- .../src/appConfigurationManagementClient.ts | 7 +- ...appConfigurationManagementClientContext.ts | 11 +- .../src/models/configurationStoresMappers.ts | 13 +- .../arm-appconfiguration/src/models/index.ts | 488 ++++++++++++++++-- .../src/models/keyValuesMappers.ts | 31 ++ .../src/models/mappers.ts | 462 +++++++++++++++-- .../src/models/operationsMappers.ts | 15 +- .../src/models/parameters.ts | 15 +- .../privateEndpointConnectionsMappers.ts | 13 +- .../src/models/privateLinkResourcesMappers.ts | 8 +- .../src/operations/configurationStores.ts | 129 ++--- .../src/operations/index.ts | 6 +- .../src/operations/keyValues.ts | 339 ++++++++++++ .../src/operations/operations.ts | 21 +- .../operations/privateEndpointConnections.ts | 18 +- .../src/operations/privateLinkResources.ts | 14 +- 20 files changed, 1355 insertions(+), 253 deletions(-) create mode 100644 sdk/appconfiguration/arm-appconfiguration/src/models/keyValuesMappers.ts create mode 100644 sdk/appconfiguration/arm-appconfiguration/src/operations/keyValues.ts diff --git a/sdk/appconfiguration/arm-appconfiguration/LICENSE.txt b/sdk/appconfiguration/arm-appconfiguration/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/appconfiguration/arm-appconfiguration/LICENSE.txt +++ b/sdk/appconfiguration/arm-appconfiguration/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/appconfiguration/arm-appconfiguration/README.md b/sdk/appconfiguration/arm-appconfiguration/README.md index 69b807098b23..a429aeece428 100644 --- a/sdk/appconfiguration/arm-appconfiguration/README.md +++ b/sdk/appconfiguration/arm-appconfiguration/README.md @@ -1,11 +1,11 @@ ## Azure AppConfigurationManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AppConfigurationManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for AppConfigurationManagementClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-appconfiguration @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and list configurationStores as an example written in JavaScript. ##### Sample code @@ -86,7 +84,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmAppconfiguration.AppConfigurationManagementClient(creds, subscriptionId); const skipToken = "testskipToken"; diff --git a/sdk/appconfiguration/arm-appconfiguration/package.json b/sdk/appconfiguration/arm-appconfiguration/package.json index b7c97791c578..f88d369c650f 100644 --- a/sdk/appconfiguration/arm-appconfiguration/package.json +++ b/sdk/appconfiguration/arm-appconfiguration/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-appconfiguration", "author": "Microsoft Corporation", "description": "AppConfigurationManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.4.0", + "version": "2.0.0", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appconfiguration/arm-appconfiguration", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/appconfiguration/arm-appconfiguration", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/appconfiguration/arm-appconfiguration/rollup.config.js b/sdk/appconfiguration/arm-appconfiguration/rollup.config.js index f2f46a79cc4c..7d64489e8bb3 100644 --- a/sdk/appconfiguration/arm-appconfiguration/rollup.config.js +++ b/sdk/appconfiguration/arm-appconfiguration/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClient.ts b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClient.ts index b58eabc6d21f..9af478c242a3 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClient.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -22,6 +21,7 @@ class AppConfigurationManagementClient extends AppConfigurationManagementClientC operations: operations.Operations; privateEndpointConnections: operations.PrivateEndpointConnections; privateLinkResources: operations.PrivateLinkResources; + keyValues: operations.KeyValues; /** * Initializes a new instance of the AppConfigurationManagementClient class. @@ -40,6 +40,7 @@ class AppConfigurationManagementClient extends AppConfigurationManagementClientC this.operations = new operations.Operations(this); this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); this.privateLinkResources = new operations.PrivateLinkResources(this); + this.keyValues = new operations.KeyValues(this); } } diff --git a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts index 72641b89d50e..1da2220ec952 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/appConfigurationManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -10,11 +9,11 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-appconfiguration"; -const packageVersion = "1.4.0"; +const packageVersion = "2.0.0"; export class AppConfigurationManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; @@ -50,7 +49,7 @@ export class AppConfigurationManagementClientContext extends msRestAzure.AzureSe super(credentials, options); - this.apiVersion = '2020-06-01'; + this.apiVersion = '2021-03-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/configurationStoresMappers.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/configurationStoresMappers.ts index d882c951bb98..332c2d807387 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/configurationStoresMappers.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/configurationStoresMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -9,22 +9,27 @@ export { ApiKey, ApiKeyListResult, + AzureEntityResource, BaseResource, ConfigurationStore, ConfigurationStoreListResult, ConfigurationStoreUpdateParameters, EncryptionProperties, - ErrorModel, + ErrorAdditionalInfo, + ErrorDetails, + ErrorResponse, KeyValue, KeyVaultProperties, - ListKeyValueParameters, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionReference, PrivateLinkServiceConnectionState, + ProxyResource, RegenerateKeyParameters, Resource, ResourceIdentity, Sku, + SystemData, + TrackedResource, UserIdentity } from "../models/mappers"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/index.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/index.ts index abd3af6a199f..7868061599f2 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/index.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -160,39 +160,82 @@ export interface Sku { } /** - * An Azure resource. + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; +} + +/** + * Common fields that are returned in the response for all Azure Resource Manager resources + * @summary Resource */ export interface Resource extends BaseResource { /** - * The resource ID. + * Fully qualified resource ID for the resource. Ex - + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * The name of the resource. + * The name of the resource * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * The type of the resource. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts" * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; +} + +/** + * The resource model definition for an Azure Resource Manager tracked top level resource which has + * 'tags' and a 'location' + * @summary Tracked Resource + */ +export interface TrackedResource extends Resource { /** - * The location of the resource. This cannot be changed after the resource is created. + * Resource tags. */ - location: string; + tags?: { [propertyName: string]: string }; /** - * The tags of the resource. + * The geo-location where the resource lives */ - tags?: { [propertyName: string]: string }; + location: string; } /** * The configuration store along with all resource properties. The Configuration Store will have * all information to begin utilizing it. */ -export interface ConfigurationStore extends Resource { +export interface ConfigurationStore extends TrackedResource { /** * The managed identity information, if configured. */ @@ -227,10 +270,18 @@ export interface ConfigurationStore extends Resource { * is enabled. Possible values include: 'Enabled', 'Disabled' */ publicNetworkAccess?: PublicNetworkAccess; + /** + * Disables all authentication methods other than AAD authentication. + */ + disableLocalAuth?: boolean; /** * The sku of the configuration store. */ sku: Sku; + /** + * Resource system metadata. + */ + systemData?: SystemData; } /** @@ -241,6 +292,10 @@ export interface ConfigurationStoreUpdateParameters { * The encryption settings of the configuration store. */ encryption?: EncryptionProperties; + /** + * Disables all authentication methods other than AAD authentication. + */ + disableLocalAuth?: boolean; /** * Control permission for data plane traffic coming from public networks while private endpoint * is enabled. Possible values include: 'Enabled', 'Disabled' @@ -339,23 +394,24 @@ export interface RegenerateKeyParameters { } /** - * The parameters used to list a configuration store key-value + * The key-value resource along with all resource properties. */ -export interface ListKeyValueParameters { +export interface KeyValue extends BaseResource { /** - * The key to retrieve. + * The resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - key: string; + readonly id?: string; /** - * The label of the key. + * The name of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - label?: string; -} - -/** - * The result of a request to retrieve a key-value from the specified configuration store. - */ -export interface KeyValue { + readonly name?: string; + /** + * The type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; /** * The primary identifier of a key-value. * The key is used in unison with the label to uniquely identify a key-value. @@ -370,16 +426,14 @@ export interface KeyValue { readonly label?: string; /** * The value of the key-value. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly value?: string; + value?: string; /** * The content type of the key-value's value. * Providing a proper content-type can enable transformations of values when they are retrieved * by applications. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly contentType?: string; + contentType?: string; /** * An ETag indicating the state of a key-value within a configuration store. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -398,9 +452,8 @@ export interface KeyValue { readonly locked?: boolean; /** * A dictionary of tags that can help identify what a key-value may be applicable for. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly tags?: { [propertyName: string]: string }; + tags?: { [propertyName: string]: string }; } /** @@ -426,6 +479,105 @@ export interface OperationDefinitionDisplay { description?: string; } +/** + * Specifications of the Log for Azure Monitoring + */ +export interface LogSpecification { + /** + * Name of the log + */ + name?: string; + /** + * Localized friendly display name of the log + */ + displayName?: string; + /** + * Blob duration of the log + */ + blobDuration?: string; +} + +/** + * Specifications of the Dimension of metrics + */ +export interface MetricDimension { + /** + * Name of the dimension + */ + name?: string; + /** + * Localized friendly display name of the dimension + */ + displayName?: string; + /** + * Internal name of the dimension. + */ + internalName?: string; +} + +/** + * Specifications of the Metrics for Azure Monitoring + */ +export interface MetricSpecification { + /** + * Name of the metric + */ + name?: string; + /** + * Localized friendly display name of the metric + */ + displayName?: string; + /** + * Localized friendly description of the metric + */ + displayDescription?: string; + /** + * Unit that makes sense for the metric + */ + unit?: string; + /** + * Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. + */ + aggregationType?: string; + /** + * Internal metric name. + */ + internalMetricName?: string; + /** + * Dimensions of the metric + */ + dimensions?: MetricDimension[]; + /** + * Optional. If set to true, then zero will be returned for time duration where no metric is + * emitted/published. + */ + fillGapWithZero?: boolean; +} + +/** + * Service specification payload + */ +export interface ServiceSpecification { + /** + * Specifications of the Log for Azure Monitoring + */ + logSpecifications?: LogSpecification[]; + /** + * Specifications of the Metrics for Azure Monitoring + */ + metricSpecifications?: MetricSpecification[]; +} + +/** + * Extra Operation properties + */ +export interface OperationProperties { + /** + * Service specifications of the operation + */ + serviceSpecification?: ServiceSpecification; +} + /** * The definition of a configuration store operation. */ @@ -434,24 +586,70 @@ export interface OperationDefinition { * Operation name: {provider}/{resource}/{operation}. */ name?: string; + /** + * Indicates whether the operation is a data action + */ + isDataAction?: boolean; /** * The display information for the configuration store operation. */ display?: OperationDefinitionDisplay; + /** + * Origin of the operation + */ + origin?: string; + /** + * Properties of the operation + */ + properties?: OperationProperties; +} + +/** + * The resource management error additional info. + */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * The additional info. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly info?: any; } /** - * AppConfiguration error object. + * The details of the error. */ -export interface ErrorModel { +export interface ErrorDetails { /** * Error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - code?: string; + readonly code?: string; /** - * Error message. + * Error message indicating why the operation failed. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - message?: string; + readonly message?: string; + /** + * The error additional info. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** + * Error response indicates that the service is not able to process the incoming request. The + * reason is provided in the error message. + */ +export interface ErrorResponse { + /** + * The details of the error. + */ + error?: ErrorDetails; } /** @@ -526,6 +724,26 @@ export interface PrivateLinkResource { readonly requiredZoneNames?: string[]; } +/** + * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags + * and a location + * @summary Proxy Resource + */ +export interface ProxyResource extends Resource { +} + +/** + * The resource model definition for an Azure Resource Manager resource with an etag. + * @summary Entity Resource + */ +export interface AzureEntityResource extends Resource { + /** + * Resource Etag. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; +} + /** * Optional Parameters. */ @@ -562,6 +780,42 @@ export interface ConfigurationStoresListKeysOptionalParams extends msRest.Reques skipToken?: string; } +/** + * Optional Parameters. + */ +export interface ConfigurationStoresListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * A skip token is used to continue retrieving items after an operation returns a partial result. + * If a previous response contains a nextLink element, the value of the nextLink element will + * include a skipToken parameter that specifies a starting point to use for subsequent calls. + */ + skipToken?: string; +} + +/** + * Optional Parameters. + */ +export interface ConfigurationStoresListByResourceGroupNextOptionalParams extends msRest.RequestOptionsBase { + /** + * A skip token is used to continue retrieving items after an operation returns a partial result. + * If a previous response contains a nextLink element, the value of the nextLink element will + * include a skipToken parameter that specifies a starting point to use for subsequent calls. + */ + skipToken?: string; +} + +/** + * Optional Parameters. + */ +export interface ConfigurationStoresListKeysNextOptionalParams extends msRest.RequestOptionsBase { + /** + * A skip token is used to continue retrieving items after an operation returns a partial result. + * If a previous response contains a nextLink element, the value of the nextLink element will + * include a skipToken parameter that specifies a starting point to use for subsequent calls. + */ + skipToken?: string; +} + /** * Optional Parameters. */ @@ -574,6 +828,52 @@ export interface OperationsListOptionalParams extends msRest.RequestOptionsBase skipToken?: string; } +/** + * Optional Parameters. + */ +export interface OperationsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * A skip token is used to continue retrieving items after an operation returns a partial result. + * If a previous response contains a nextLink element, the value of the nextLink element will + * include a skipToken parameter that specifies a starting point to use for subsequent calls. + */ + skipToken?: string; +} + +/** + * Optional Parameters. + */ +export interface KeyValuesListByConfigurationStoreOptionalParams extends msRest.RequestOptionsBase { + /** + * A skip token is used to continue retrieving items after an operation returns a partial result. + * If a previous response contains a nextLink element, the value of the nextLink element will + * include a skipToken parameter that specifies a starting point to use for subsequent calls. + */ + skipToken?: string; +} + +/** + * Optional Parameters. + */ +export interface KeyValuesCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The parameters for creating a key-value. + */ + keyValueParameters?: KeyValue; +} + +/** + * Optional Parameters. + */ +export interface KeyValuesListByConfigurationStoreNextOptionalParams extends msRest.RequestOptionsBase { + /** + * A skip token is used to continue retrieving items after an operation returns a partial result. + * If a previous response contains a nextLink element, the value of the nextLink element will + * include a skipToken parameter that specifies a starting point to use for subsequent calls. + */ + skipToken?: string; +} + /** * An interface representing AppConfigurationManagementClientOptions. */ @@ -641,6 +941,18 @@ export interface PrivateLinkResourceListResult extends Array + */ +export interface KeyValueListResult extends Array { + /** + * The URI that can be used to request the next set of paged results. + */ + nextLink?: string; +} + /** * Defines values for IdentityType. * Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, @@ -682,6 +994,14 @@ export type ActionsRequired = 'None' | 'Recreate'; */ export type PublicNetworkAccess = 'Enabled' | 'Disabled'; +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + /** * Contains response data for the list operation. */ @@ -822,26 +1142,6 @@ export type ConfigurationStoresRegenerateKeyResponse = ApiKey & { }; }; -/** - * Contains response data for the listKeyValue operation. - */ -export type ConfigurationStoresListKeyValueResponse = KeyValue & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: KeyValue; - }; -}; - /** * Contains response data for the beginCreate operation. */ @@ -1161,3 +1461,83 @@ export type PrivateLinkResourcesListByConfigurationStoreNextResponse = PrivateLi parsedBody: PrivateLinkResourceListResult; }; }; + +/** + * Contains response data for the listByConfigurationStore operation. + */ +export type KeyValuesListByConfigurationStoreResponse = KeyValueListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: KeyValueListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type KeyValuesGetResponse = KeyValue & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: KeyValue; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type KeyValuesCreateOrUpdateResponse = KeyValue & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: KeyValue; + }; +}; + +/** + * Contains response data for the listByConfigurationStoreNext operation. + */ +export type KeyValuesListByConfigurationStoreNextResponse = KeyValueListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: KeyValueListResult; + }; +}; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/keyValuesMappers.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/keyValuesMappers.ts new file mode 100644 index 000000000000..db715a439cc4 --- /dev/null +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/keyValuesMappers.ts @@ -0,0 +1,31 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AzureEntityResource, + BaseResource, + ConfigurationStore, + EncryptionProperties, + ErrorAdditionalInfo, + ErrorDetails, + ErrorResponse, + KeyValue, + KeyValueListResult, + KeyVaultProperties, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionReference, + PrivateLinkServiceConnectionState, + ProxyResource, + Resource, + ResourceIdentity, + Sku, + SystemData, + TrackedResource, + UserIdentity +} from "../models/mappers"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/mappers.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/mappers.ts index 0cfebe6dbc46..bbbb2e1cc699 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/mappers.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -232,6 +232,52 @@ export const Sku: msRest.CompositeMapper = { } }; +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + export const Resource: msRest.CompositeMapper = { serializedName: "Resource", type: { @@ -258,14 +304,18 @@ export const Resource: msRest.CompositeMapper = { type: { name: "String" } - }, - location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - }, + } + } + } +}; + +export const TrackedResource: msRest.CompositeMapper = { + serializedName: "TrackedResource", + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, tags: { serializedName: "tags", type: { @@ -276,6 +326,13 @@ export const Resource: msRest.CompositeMapper = { } } } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } } } } @@ -287,7 +344,7 @@ export const ConfigurationStore: msRest.CompositeMapper = { name: "Composite", className: "ConfigurationStore", modelProperties: { - ...Resource.type.modelProperties, + ...TrackedResource.type.modelProperties, identity: { serializedName: "identity", type: { @@ -342,6 +399,12 @@ export const ConfigurationStore: msRest.CompositeMapper = { name: "String" } }, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", + type: { + name: "Boolean" + } + }, sku: { required: true, serializedName: "sku", @@ -349,6 +412,13 @@ export const ConfigurationStore: msRest.CompositeMapper = { name: "Composite", className: "Sku" } + }, + systemData: { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -367,6 +437,12 @@ export const ConfigurationStoreUpdateParameters: msRest.CompositeMapper = { className: "EncryptionProperties" } }, + disableLocalAuth: { + serializedName: "properties.disableLocalAuth", + type: { + name: "Boolean" + } + }, publicNetworkAccess: { serializedName: "properties.publicNetworkAccess", type: { @@ -527,87 +603,82 @@ export const RegenerateKeyParameters: msRest.CompositeMapper = { } }; -export const ListKeyValueParameters: msRest.CompositeMapper = { - serializedName: "ListKeyValueParameters", +export const KeyValue: msRest.CompositeMapper = { + serializedName: "KeyValue", type: { name: "Composite", - className: "ListKeyValueParameters", + className: "KeyValue", modelProperties: { - key: { - required: true, - serializedName: "key", + id: { + readOnly: true, + serializedName: "id", type: { name: "String" } }, - label: { - serializedName: "label", + name: { + readOnly: true, + serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const KeyValue: msRest.CompositeMapper = { - serializedName: "KeyValue", - type: { - name: "Composite", - className: "KeyValue", - modelProperties: { + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, key: { readOnly: true, - serializedName: "key", + serializedName: "properties.key", type: { name: "String" } }, label: { readOnly: true, - serializedName: "label", + serializedName: "properties.label", type: { name: "String" } }, value: { - readOnly: true, - serializedName: "value", + serializedName: "properties.value", type: { name: "String" } }, contentType: { - readOnly: true, - serializedName: "contentType", + serializedName: "properties.contentType", type: { name: "String" } }, eTag: { readOnly: true, - serializedName: "eTag", + serializedName: "properties.eTag", type: { name: "String" } }, lastModified: { readOnly: true, - serializedName: "lastModified", + serializedName: "properties.lastModified", type: { name: "DateTime" } }, locked: { readOnly: true, - serializedName: "locked", + serializedName: "properties.locked", type: { name: "Boolean" } }, tags: { - readOnly: true, - serializedName: "tags", + serializedName: "properties.tags", type: { name: "Dictionary", value: { @@ -656,6 +727,177 @@ export const OperationDefinitionDisplay: msRest.CompositeMapper = { } }; +export const LogSpecification: msRest.CompositeMapper = { + serializedName: "LogSpecification", + type: { + name: "Composite", + className: "LogSpecification", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", + type: { + name: "String" + } + } + } + } +}; + +export const MetricDimension: msRest.CompositeMapper = { + serializedName: "MetricDimension", + type: { + name: "Composite", + className: "MetricDimension", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + internalName: { + serializedName: "internalName", + type: { + name: "String" + } + } + } + } +}; + +export const MetricSpecification: msRest.CompositeMapper = { + serializedName: "MetricSpecification", + type: { + name: "Composite", + className: "MetricSpecification", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + displayDescription: { + serializedName: "displayDescription", + type: { + name: "String" + } + }, + unit: { + serializedName: "unit", + type: { + name: "String" + } + }, + aggregationType: { + serializedName: "aggregationType", + type: { + name: "String" + } + }, + internalMetricName: { + serializedName: "internalMetricName", + type: { + name: "String" + } + }, + dimensions: { + serializedName: "dimensions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetricDimension" + } + } + } + }, + fillGapWithZero: { + serializedName: "fillGapWithZero", + type: { + name: "Boolean" + } + } + } + } +}; + +export const ServiceSpecification: msRest.CompositeMapper = { + serializedName: "ServiceSpecification", + type: { + name: "Composite", + className: "ServiceSpecification", + modelProperties: { + logSpecifications: { + serializedName: "logSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LogSpecification" + } + } + } + }, + metricSpecifications: { + serializedName: "metricSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetricSpecification" + } + } + } + } + } + } +}; + +export const OperationProperties: msRest.CompositeMapper = { + serializedName: "OperationProperties", + type: { + name: "Composite", + className: "OperationProperties", + modelProperties: { + serviceSpecification: { + serializedName: "serviceSpecification", + type: { + name: "Composite", + className: "ServiceSpecification" + } + } + } + } +}; + export const OperationDefinition: msRest.CompositeMapper = { serializedName: "OperationDefinition", type: { @@ -668,34 +910,109 @@ export const OperationDefinition: msRest.CompositeMapper = { name: "String" } }, + isDataAction: { + serializedName: "isDataAction", + type: { + name: "Boolean" + } + }, display: { serializedName: "display", type: { name: "Composite", className: "OperationDefinitionDisplay" } + }, + origin: { + serializedName: "origin", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OperationProperties" + } } } } }; -export const ErrorModel: msRest.CompositeMapper = { - serializedName: "Error", +export const ErrorAdditionalInfo: msRest.CompositeMapper = { + serializedName: "ErrorAdditionalInfo", type: { name: "Composite", - className: "ErrorModel", + className: "ErrorAdditionalInfo", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + info: { + readOnly: true, + serializedName: "info", + type: { + name: "Object" + } + } + } + } +}; + +export const ErrorDetails: msRest.CompositeMapper = { + serializedName: "ErrorDetails", + type: { + name: "Composite", + className: "ErrorDetails", modelProperties: { code: { + readOnly: true, serializedName: "code", type: { name: "String" } }, message: { + readOnly: true, serializedName: "message", type: { name: "String" } + }, + additionalInfo: { + readOnly: true, + serializedName: "additionalInfo", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } + } + } + } + } + } +}; + +export const ErrorResponse: msRest.CompositeMapper = { + serializedName: "ErrorResponse", + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorDetails" + } } } } @@ -816,6 +1133,35 @@ export const PrivateLinkResource: msRest.CompositeMapper = { } }; +export const ProxyResource: msRest.CompositeMapper = { + serializedName: "ProxyResource", + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + +export const AzureEntityResource: msRest.CompositeMapper = { + serializedName: "AzureEntityResource", + type: { + name: "Composite", + className: "AzureEntityResource", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ConfigurationStoreListResult: msRest.CompositeMapper = { serializedName: "ConfigurationStoreListResult", type: { @@ -955,3 +1301,31 @@ export const PrivateLinkResourceListResult: msRest.CompositeMapper = { } } }; + +export const KeyValueListResult: msRest.CompositeMapper = { + serializedName: "KeyValueListResult", + type: { + name: "Composite", + className: "KeyValueListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "KeyValue" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/operationsMappers.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/operationsMappers.ts index 0c4c87228850..ecfb8d258472 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/operationsMappers.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -8,9 +8,16 @@ export { CheckNameAvailabilityParameters, - ErrorModel, + ErrorAdditionalInfo, + ErrorDetails, + ErrorResponse, + LogSpecification, + MetricDimension, + MetricSpecification, NameAvailabilityStatus, OperationDefinition, OperationDefinitionDisplay, - OperationDefinitionListResult + OperationDefinitionListResult, + OperationProperties, + ServiceSpecification } from "../models/mappers"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/parameters.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/parameters.ts index d098b569c352..56be9fbd1210 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/parameters.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -55,6 +54,16 @@ export const groupName: msRest.OperationURLParameter = { } } }; +export const keyValueName: msRest.OperationURLParameter = { + parameterPath: "keyValueName", + mapper: { + required: true, + serializedName: "keyValueName", + type: { + name: "String" + } + } +}; export const nextPageLink: msRest.OperationURLParameter = { parameterPath: "nextPageLink", mapper: { diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/privateEndpointConnectionsMappers.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/privateEndpointConnectionsMappers.ts index 1f38807af79d..64a38f22a5ff 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/privateEndpointConnectionsMappers.ts @@ -1,24 +1,31 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + AzureEntityResource, BaseResource, ConfigurationStore, EncryptionProperties, - ErrorModel, + ErrorAdditionalInfo, + ErrorDetails, + ErrorResponse, + KeyValue, KeyVaultProperties, PrivateEndpoint, PrivateEndpointConnection, PrivateEndpointConnectionListResult, PrivateEndpointConnectionReference, PrivateLinkServiceConnectionState, + ProxyResource, Resource, ResourceIdentity, Sku, + SystemData, + TrackedResource, UserIdentity } from "../models/mappers"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/models/privateLinkResourcesMappers.ts b/sdk/appconfiguration/arm-appconfiguration/src/models/privateLinkResourcesMappers.ts index 618676a35470..e97da441aa19 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/models/privateLinkResourcesMappers.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/models/privateLinkResourcesMappers.ts @@ -1,13 +1,15 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - ErrorModel, + ErrorAdditionalInfo, + ErrorDetails, + ErrorResponse, PrivateLinkResource, PrivateLinkResourceListResult } from "../models/mappers"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/operations/configurationStores.ts b/sdk/appconfiguration/arm-appconfiguration/src/operations/configurationStores.ts index 668188671197..0b448b6c12c8 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/operations/configurationStores.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/operations/configurationStores.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -217,42 +216,6 @@ export class ConfigurationStores { callback) as Promise; } - /** - * Lists a configuration store key-value. - * @param resourceGroupName The name of the resource group to which the container registry belongs. - * @param configStoreName The name of the configuration store. - * @param listKeyValueParameters The parameters for retrieving a key-value. - * @param [options] The optional parameters - * @returns Promise - */ - listKeyValue(resourceGroupName: string, configStoreName: string, listKeyValueParameters: Models.ListKeyValueParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group to which the container registry belongs. - * @param configStoreName The name of the configuration store. - * @param listKeyValueParameters The parameters for retrieving a key-value. - * @param callback The callback - */ - listKeyValue(resourceGroupName: string, configStoreName: string, listKeyValueParameters: Models.ListKeyValueParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group to which the container registry belongs. - * @param configStoreName The name of the configuration store. - * @param listKeyValueParameters The parameters for retrieving a key-value. - * @param options The optional parameters - * @param callback The callback - */ - listKeyValue(resourceGroupName: string, configStoreName: string, listKeyValueParameters: Models.ListKeyValueParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeyValue(resourceGroupName: string, configStoreName: string, listKeyValueParameters: Models.ListKeyValueParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - configStoreName, - listKeyValueParameters, - options - }, - listKeyValueOperationSpec, - callback) as Promise; - } - /** * Creates a configuration store with the specified parameters. * @param resourceGroupName The name of the resource group to which the container registry belongs. @@ -317,7 +280,7 @@ export class ConfigurationStores { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ConfigurationStoresListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -328,8 +291,8 @@ export class ConfigurationStores { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ConfigurationStoresListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ConfigurationStoresListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -345,7 +308,7 @@ export class ConfigurationStores { * @param [options] The optional parameters * @returns Promise */ - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByResourceGroupNext(nextPageLink: string, options?: Models.ConfigurationStoresListByResourceGroupNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -356,8 +319,8 @@ export class ConfigurationStores { * @param options The optional parameters * @param callback The callback */ - listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByResourceGroupNext(nextPageLink: string, options: Models.ConfigurationStoresListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: Models.ConfigurationStoresListByResourceGroupNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -373,7 +336,7 @@ export class ConfigurationStores { * @param [options] The optional parameters * @returns Promise */ - listKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listKeysNext(nextPageLink: string, options?: Models.ConfigurationStoresListKeysNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -384,8 +347,8 @@ export class ConfigurationStores { * @param options The optional parameters * @param callback The callback */ - listKeysNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listKeysNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listKeysNext(nextPageLink: string, options: Models.ConfigurationStoresListKeysNextOptionalParams, callback: msRest.ServiceCallback): void; + listKeysNext(nextPageLink: string, options?: Models.ConfigurationStoresListKeysNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -416,7 +379,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ConfigurationStoreListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -441,7 +404,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ConfigurationStoreListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -466,7 +429,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ConfigurationStore }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -474,7 +437,7 @@ const getOperationSpec: msRest.OperationSpec = { const listKeysOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/ListKeys", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeys", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -492,7 +455,7 @@ const listKeysOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ApiKeyListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -500,7 +463,7 @@ const listKeysOperationSpec: msRest.OperationSpec = { const regenerateKeyOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/RegenerateKey", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey", urlParameters: [ Parameters.subscriptionId, Parameters.resourceGroupName, @@ -524,39 +487,7 @@ const regenerateKeyOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ApiKey }, default: { - bodyMapper: Mappers.ErrorModel - } - }, - serializer -}; - -const listKeyValueOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeyValue", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.configStoreName - ], - queryParameters: [ - Parameters.apiVersion - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "listKeyValueParameters", - mapper: { - ...Mappers.ListKeyValueParameters, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.KeyValue - }, - default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -591,7 +522,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ConfigurationStore }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -616,7 +547,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -651,7 +582,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ConfigurationStore }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -664,6 +595,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken + ], headerParameters: [ Parameters.acceptLanguage ], @@ -672,7 +607,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ConfigurationStoreListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -685,6 +620,10 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken + ], headerParameters: [ Parameters.acceptLanguage ], @@ -693,7 +632,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ConfigurationStoreListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -706,6 +645,10 @@ const listKeysNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken + ], headerParameters: [ Parameters.acceptLanguage ], @@ -714,7 +657,7 @@ const listKeysNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.ApiKeyListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer diff --git a/sdk/appconfiguration/arm-appconfiguration/src/operations/index.ts b/sdk/appconfiguration/arm-appconfiguration/src/operations/index.ts index f578b9c95302..c4b4fff227d1 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/operations/index.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -12,3 +11,4 @@ export * from "./configurationStores"; export * from "./operations"; export * from "./privateEndpointConnections"; export * from "./privateLinkResources"; +export * from "./keyValues"; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/operations/keyValues.ts b/sdk/appconfiguration/arm-appconfiguration/src/operations/keyValues.ts new file mode 100644 index 000000000000..2550d0fe5650 --- /dev/null +++ b/sdk/appconfiguration/arm-appconfiguration/src/operations/keyValues.ts @@ -0,0 +1,339 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/keyValuesMappers"; +import * as Parameters from "../models/parameters"; +import { AppConfigurationManagementClientContext } from "../appConfigurationManagementClientContext"; + +/** Class representing a KeyValues. */ +export class KeyValues { + private readonly client: AppConfigurationManagementClientContext; + + /** + * Create a KeyValues. + * @param {AppConfigurationManagementClientContext} client Reference to the service client. + */ + constructor(client: AppConfigurationManagementClientContext) { + this.client = client; + } + + /** + * Lists the key-values for a given configuration store. + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param [options] The optional parameters + * @returns Promise + */ + listByConfigurationStore(resourceGroupName: string, configStoreName: string, options?: Models.KeyValuesListByConfigurationStoreOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param callback The callback + */ + listByConfigurationStore(resourceGroupName: string, configStoreName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param options The optional parameters + * @param callback The callback + */ + listByConfigurationStore(resourceGroupName: string, configStoreName: string, options: Models.KeyValuesListByConfigurationStoreOptionalParams, callback: msRest.ServiceCallback): void; + listByConfigurationStore(resourceGroupName: string, configStoreName: string, options?: Models.KeyValuesListByConfigurationStoreOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + configStoreName, + options + }, + listByConfigurationStoreOperationSpec, + callback) as Promise; + } + + /** + * Gets the properties of the specified key-value. + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param keyValueName Identifier of key and label combination. Key and label are joined by $ + * character. Label is optional. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param keyValueName Identifier of key and label combination. Key and label are joined by $ + * character. Label is optional. + * @param callback The callback + */ + get(resourceGroupName: string, configStoreName: string, keyValueName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param keyValueName Identifier of key and label combination. Key and label are joined by $ + * character. Label is optional. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, configStoreName: string, keyValueName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + configStoreName, + keyValueName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a key-value. + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param keyValueName Identifier of key and label combination. Key and label are joined by $ + * character. Label is optional. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: Models.KeyValuesCreateOrUpdateOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param keyValueName Identifier of key and label combination. Key and label are joined by $ + * character. Label is optional. + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, configStoreName: string, keyValueName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param keyValueName Identifier of key and label combination. Key and label are joined by $ + * character. Label is optional. + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(resourceGroupName: string, configStoreName: string, keyValueName: string, options: Models.KeyValuesCreateOrUpdateOptionalParams, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: Models.KeyValuesCreateOrUpdateOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + configStoreName, + keyValueName, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes a key-value. + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param keyValueName Identifier of key and label combination. Key and label are joined by $ + * character. Label is optional. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,configStoreName,keyValueName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Deletes a key-value. + * @param resourceGroupName The name of the resource group to which the container registry belongs. + * @param configStoreName The name of the configuration store. + * @param keyValueName Identifier of key and label combination. Key and label are joined by $ + * character. Label is optional. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, configStoreName: string, keyValueName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + configStoreName, + keyValueName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Lists the key-values for a given configuration store. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByConfigurationStoreNext(nextPageLink: string, options?: Models.KeyValuesListByConfigurationStoreNextOptionalParams): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByConfigurationStoreNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByConfigurationStoreNext(nextPageLink: string, options: Models.KeyValuesListByConfigurationStoreNextOptionalParams, callback: msRest.ServiceCallback): void; + listByConfigurationStoreNext(nextPageLink: string, options?: Models.KeyValuesListByConfigurationStoreNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByConfigurationStoreNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByConfigurationStoreOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.configStoreName + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.KeyValueListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.configStoreName, + Parameters.keyValueName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.KeyValue + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.configStoreName, + Parameters.keyValueName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "keyValueParameters" + ], + mapper: Mappers.KeyValue + }, + responses: { + 200: { + bodyMapper: Mappers.KeyValue + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.configStoreName, + Parameters.keyValueName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByConfigurationStoreNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.KeyValueListResult + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/appconfiguration/arm-appconfiguration/src/operations/operations.ts b/sdk/appconfiguration/arm-appconfiguration/src/operations/operations.ts index 725134a5871b..72dab969b316 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/operations/operations.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -87,7 +86,7 @@ export class Operations { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.OperationsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -98,8 +97,8 @@ export class Operations { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.OperationsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.OperationsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -136,7 +135,7 @@ const checkNameAvailabilityOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.NameAvailabilityStatus }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -157,7 +156,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.OperationDefinitionListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -170,6 +169,10 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.skipToken + ], headerParameters: [ Parameters.acceptLanguage ], @@ -178,7 +181,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.OperationDefinitionListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer diff --git a/sdk/appconfiguration/arm-appconfiguration/src/operations/privateEndpointConnections.ts b/sdk/appconfiguration/arm-appconfiguration/src/operations/privateEndpointConnections.ts index 1e14a2cb5512..3f2a7934a20f 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/operations/privateEndpointConnections.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/operations/privateEndpointConnections.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -216,7 +215,7 @@ const listByConfigurationStoreOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateEndpointConnectionListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -242,7 +241,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateEndpointConnection }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -278,7 +277,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateEndpointConnection }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -304,7 +303,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { 202: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -317,6 +316,9 @@ const listByConfigurationStoreNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -325,7 +327,7 @@ const listByConfigurationStoreNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateEndpointConnectionListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer diff --git a/sdk/appconfiguration/arm-appconfiguration/src/operations/privateLinkResources.ts b/sdk/appconfiguration/arm-appconfiguration/src/operations/privateLinkResources.ts index 190cce104e87..752cc8b81464 100644 --- a/sdk/appconfiguration/arm-appconfiguration/src/operations/privateLinkResources.ts +++ b/sdk/appconfiguration/arm-appconfiguration/src/operations/privateLinkResources.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -144,7 +143,7 @@ const listByConfigurationStoreOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkResourceListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -170,7 +169,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkResource }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer @@ -183,6 +182,9 @@ const listByConfigurationStoreNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -191,7 +193,7 @@ const listByConfigurationStoreNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.PrivateLinkResourceListResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.ErrorResponse } }, serializer From 785029bdcb27715553189ad5f008187cc400eb86 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Tue, 6 Jul 2021 15:54:23 +0800 Subject: [PATCH 118/134] arm-postgresql-flexible (#16136) --- eng/pipelines/mgmt-ci.yml | 1 + eng/pipelines/mgmt-pr.yml | 1 + .../arm-postgresql-flexible/README.md | 26 +- .../arm-postgresql-flexible/package.json | 10 +- .../arm-postgresql-flexible/rollup.config.js | 2 +- .../src/models/configurationsMappers.ts | 1 - .../src/models/databasesMappers.ts | 1 - .../src/models/firewallRulesMappers.ts | 1 - .../src/models/index.ts | 561 ++++++++---------- .../src/models/mappers.ts | 513 ++++++++-------- .../src/models/parameters.ts | 9 +- .../src/models/recoverableServersMappers.ts | 34 -- .../src/models/serversMappers.ts | 1 - .../src/operations/checkNameAvailability.ts | 10 +- .../src/operations/configurations.ts | 16 +- .../src/operations/databases.ts | 18 +- .../src/operations/firewallRules.ts | 18 +- .../src/operations/getPrivateDnsZoneSuffix.ts | 10 +- .../src/operations/index.ts | 5 +- .../operations/locationBasedCapabilities.ts | 12 +- .../src/operations/operations.ts | 10 +- .../src/operations/recoverableServers.ts | 86 --- .../src/operations/servers.ts | 30 +- .../operations/virtualNetworkSubnetUsage.ts | 10 +- ...lient.ts => postgreSQLManagementClient.ts} | 26 +- ...s => postgreSQLManagementClientContext.ts} | 8 +- 26 files changed, 590 insertions(+), 830 deletions(-) delete mode 100644 sdk/postgresql/arm-postgresql-flexible/src/models/recoverableServersMappers.ts delete mode 100644 sdk/postgresql/arm-postgresql-flexible/src/operations/recoverableServers.ts rename sdk/postgresql/arm-postgresql-flexible/src/{postgreSQLFlexibleManagementClient.ts => postgreSQLManagementClient.ts} (79%) rename sdk/postgresql/arm-postgresql-flexible/src/{postgreSQLFlexibleManagementClientContext.ts => postgreSQLManagementClientContext.ts} (90%) diff --git a/eng/pipelines/mgmt-ci.yml b/eng/pipelines/mgmt-ci.yml index 3a8b827da29f..a388771ac568 100644 --- a/eng/pipelines/mgmt-ci.yml +++ b/eng/pipelines/mgmt-ci.yml @@ -119,6 +119,7 @@ trigger: - sdk/policy/arm-policy-profile-hybrid-2019-03-01 - sdk/policyinsights/arm-policyinsights - sdk/postgresql/arm-postgresql + - sdk/postgresql/arm-postgresql-flexible - sdk/powerbidedicated/arm-powerbidedicated - sdk/powerbiembedded/arm-powerbiembedded - sdk/privatedns/arm-privatedns diff --git a/eng/pipelines/mgmt-pr.yml b/eng/pipelines/mgmt-pr.yml index 9aa319d8f27f..22ec82033297 100644 --- a/eng/pipelines/mgmt-pr.yml +++ b/eng/pipelines/mgmt-pr.yml @@ -120,6 +120,7 @@ pr: - sdk/policy/arm-policy-profile-hybrid-2019-03-01 - sdk/policyinsights/arm-policyinsights - sdk/postgresql/arm-postgresql + - sdk/postgresql/arm-postgresql-flexible - sdk/powerbidedicated/arm-powerbidedicated - sdk/powerbiembedded/arm-powerbiembedded - sdk/privatedns/arm-privatedns diff --git a/sdk/postgresql/arm-postgresql-flexible/README.md b/sdk/postgresql/arm-postgresql-flexible/README.md index a7a178bd0a19..e6aa6c9a5d5c 100644 --- a/sdk/postgresql/arm-postgresql-flexible/README.md +++ b/sdk/postgresql/arm-postgresql-flexible/README.md @@ -1,11 +1,11 @@ -## Azure PostgreSQLFlexibleManagementClient SDK for JavaScript +## Azure PostgreSQLManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in node.js and in browsers) for PostgreSQLFlexibleManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for PostgreSQLManagementClient. ### Currently supported environments -- Node.js version 8.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -36,23 +36,22 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -#### nodejs - Authentication, client creation, and get databases as an example written in JavaScript. +#### nodejs - Authentication, client creation, and get servers as an example written in JavaScript. ##### Sample code ```javascript const { DefaultAzureCredential } = require("@azure/identity"); -const { PostgreSQLFlexibleManagementClient } = require("@azure/arm-postgresql-flexible"); +const { PostgreSQLManagementClient } = require("@azure/arm-postgresql-flexible"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; // Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples // Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. const creds = new DefaultAzureCredential(); -const client = new PostgreSQLFlexibleManagementClient(creds, subscriptionId); +const client = new PostgreSQLManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const serverName = "testserverName"; -const databaseName = "testdatabaseName"; -client.databases.get(resourceGroupName, serverName, databaseName).then((result) => { +client.servers.get(resourceGroupName, serverName).then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { @@ -61,7 +60,7 @@ client.databases.get(resourceGroupName, serverName, databaseName).then((result) }); ``` -#### browser - Authentication, client creation, and get databases as an example written in JavaScript. +#### browser - Authentication, client creation, and get servers as an example written in JavaScript. In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. @@ -88,11 +87,10 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t clientId: "", tenant: "" }); - const client = new Azure.ArmPostgresql.PostgreSQLFlexibleManagementClient(creds, subscriptionId); + const client = new Azure.ArmPostgresqlFlexible.PostgreSQLManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const serverName = "testserverName"; - const databaseName = "testdatabaseName"; - client.databases.get(resourceGroupName, serverName, databaseName).then((result) => { + client.servers.get(resourceGroupName, serverName).then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { @@ -109,4 +107,4 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/README.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/postgresql/arm-postgresql-flexible//README.png) diff --git a/sdk/postgresql/arm-postgresql-flexible/package.json b/sdk/postgresql/arm-postgresql-flexible/package.json index fb1da03042de..0f5129a384a6 100644 --- a/sdk/postgresql/arm-postgresql-flexible/package.json +++ b/sdk/postgresql/arm-postgresql-flexible/package.json @@ -1,8 +1,8 @@ { "name": "@azure/arm-postgresql-flexible", "author": "Microsoft Corporation", - "description": "PostgreSQLFlexibleManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "description": "PostgreSQLManagementClient Library with typescript type definitions for node.js and browser.", + "version": "2.0.0", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", @@ -18,8 +18,8 @@ ], "license": "MIT", "main": "./dist/arm-postgresql-flexible.js", - "module": "./esm/postgreSQLFlexibleManagementClient.js", - "types": "./esm/postgreSQLFlexibleManagementClient.d.ts", + "module": "./esm/postgreSQLManagementClient.js", + "types": "./esm/postgreSQLManagementClient.d.ts", "devDependencies": { "typescript": "^3.6.0", "rollup": "^1.18.0", @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/postgresql/arm-postgresql-flexible", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/postgresql/arm-postgresql-flexible/", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/postgresql/arm-postgresql-flexible/rollup.config.js b/sdk/postgresql/arm-postgresql-flexible/rollup.config.js index d522032c4e23..b71f63ce341d 100644 --- a/sdk/postgresql/arm-postgresql-flexible/rollup.config.js +++ b/sdk/postgresql/arm-postgresql-flexible/rollup.config.js @@ -6,7 +6,7 @@ import sourcemaps from "rollup-plugin-sourcemaps"; * @type {rollup.RollupFileOptions} */ const config = { - input: "./esm/postgreSQLFlexibleManagementClient.js", + input: "./esm/postgreSQLManagementClient.js", external: [ "@azure/ms-rest-js", "@azure/ms-rest-azure-js" diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts index f3b49032720a..acac8c76e960 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts @@ -20,7 +20,6 @@ export { MaintenanceWindow, Plan, ProxyResource, - RecoverableServerResource, Resource, ResourceModelWithAllowedPropertySet, ResourceModelWithAllowedPropertySetIdentity, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts index 7df3290b5d68..f519c40fac30 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts @@ -20,7 +20,6 @@ export { MaintenanceWindow, Plan, ProxyResource, - RecoverableServerResource, Resource, ResourceModelWithAllowedPropertySet, ResourceModelWithAllowedPropertySetIdentity, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts index 280cb8bdd0ea..b60c3edd80c1 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts @@ -20,7 +20,6 @@ export { MaintenanceWindow, Plan, ProxyResource, - RecoverableServerResource, Resource, ResourceModelWithAllowedPropertySet, ResourceModelWithAllowedPropertySetIdentity, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts index c4f0485be563..f38a69ae811e 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts @@ -11,173 +11,6 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; -/** - * Common fields that are returned in the response for all Azure Resource Manager resources - * @summary Resource - */ -export interface Resource extends BaseResource { - /** - * Fully qualified resource ID for the resource. Ex - - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly id?: string; - /** - * The name of the resource - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly name?: string; - /** - * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or - * "Microsoft.Storage/storageAccounts" - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; -} - -/** - * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags - * and a location - * @summary Proxy Resource - */ -export interface ProxyResource extends Resource { -} - -/** - * Represents a Database. - */ -export interface Database extends ProxyResource { - /** - * The charset of the database. - */ - charset?: string; - /** - * The collation of the database. - */ - collation?: string; -} - -/** - * The resource management error additional info. - */ -export interface ErrorAdditionalInfo { - /** - * The additional info type. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly type?: string; - /** - * The additional info. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly info?: any; -} - -/** - * Common error response for all Azure Resource Manager APIs to return error details for failed - * operations. (This also follows the OData error response format.) - * @summary Error Response - */ -export interface ErrorResponse { - /** - * The error code. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly code?: string; - /** - * The error message. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly message?: string; - /** - * The error target. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly target?: string; - /** - * The error details. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly details?: ErrorResponse[]; - /** - * The error additional info. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly additionalInfo?: ErrorAdditionalInfo[]; -} - -/** - * The resource model definition for an Azure Resource Manager tracked top level resource which has - * 'tags' and a 'location' - * @summary Tracked Resource - */ -export interface TrackedResource extends Resource { - /** - * Resource tags. - */ - tags?: { [propertyName: string]: string }; - /** - * The geo-location where the resource lives - */ - location: string; -} - -/** - * The resource model definition for an Azure Resource Manager resource with an etag. - * @summary Entity Resource - */ -export interface AzureEntityResource extends Resource { - /** - * Resource Etag. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly etag?: string; -} - -/** - * Sku information related properties of a server. - */ -export interface Sku { - /** - * The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. - */ - name: string; - /** - * The tier of the particular SKU, e.g. Burstable. Possible values include: 'Burstable', - * 'GeneralPurpose', 'MemoryOptimized' - */ - tier: SkuTier; -} - -/** - * Represents a recoverable server resource. - */ -export interface RecoverableServerResource extends ProxyResource { - /** - * The SKU (pricing tier) of the server. - */ - sku?: Sku; - /** - * The location the resource resides in. - */ - location?: string; - /** - * Availability zone of the server - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly availabilityZone?: string; - /** - * Edition of the performance tier. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly serverEdition?: string; - /** - * The PostgreSQL version - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly version?: string; -} - /** * Virtual network subnet usage parameter */ @@ -337,10 +170,6 @@ export interface StorageProfile { * Max storage allowed for a server. */ storageMB?: number; - /** - * Geo Backup redundancy option. Possible values include: 'Enabled', 'Disabled' - */ - geoRedundantBackup?: GeoRedundantBackupOption; } /** @@ -405,6 +234,61 @@ export interface Identity { type?: ResourceIdentityType; } +/** + * Sku information related properties of a server. + */ +export interface Sku { + /** + * The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3. + */ + name: string; + /** + * The tier of the particular SKU, e.g. Burstable. Possible values include: 'Burstable', + * 'GeneralPurpose', 'MemoryOptimized' + */ + tier: SkuTier; +} + +/** + * Common fields that are returned in the response for all Azure Resource Manager resources + * @summary Resource + */ +export interface Resource extends BaseResource { + /** + * Fully qualified resource ID for the resource. Ex - + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The name of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts" + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * The resource model definition for an Azure Resource Manager tracked top level resource which has + * 'tags' and a 'location' + * @summary Tracked Resource + */ +export interface TrackedResource extends Resource { + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; + /** + * The geo-location where the resource lives + */ + location: string; +} + /** * Represents a server. */ @@ -474,11 +358,11 @@ export interface Server extends TrackedResource { */ sourceServerName?: string; /** - * The subscription id of source PostgreSQL server name to restore from. + * The subscription id of source serve PostgreSQL server name to restore from. */ sourceSubscriptionId?: string; /** - * The resource group name of source PostgreSQL server name to restore from. + * The resource group name of source serve PostgreSQL server name to restore from. */ sourceResourceGroupName?: string; /** @@ -503,7 +387,7 @@ export interface Server extends TrackedResource { privateDnsZoneArguments?: ServerPropertiesPrivateDnsZoneArguments; /** * The mode to create a new PostgreSQL server. Possible values include: 'Default', - * 'PointInTimeRestore', 'GeoRestore' + * 'PointInTimeRestore' */ createMode?: CreateMode; /** @@ -547,6 +431,14 @@ export interface ServerForUpdate { tags?: { [propertyName: string]: string }; } +/** + * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags + * and a location + * @summary Proxy Resource + */ +export interface ProxyResource extends Resource { +} + /** * Represents a server firewall rule. */ @@ -699,9 +591,70 @@ export interface NameAvailability { */ name?: string; /** - * type of the server + * type of the server + */ + type?: string; +} + +/** + * The resource management error additional info. + */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * The additional info. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly info?: any; +} + +/** + * Common error response for all Azure Resource Manager APIs to return error details for failed + * operations. (This also follows the OData error response format.) + * @summary Error Response + */ +export interface ErrorResponse { + /** + * The error code. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly code?: string; + /** + * The error message. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly message?: string; + /** + * The error target. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly target?: string; + /** + * The error details. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly details?: ErrorResponse[]; + /** + * The error additional info. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** + * The resource model definition for an Azure Resource Manager resource with an etag. + * @summary Entity Resource + */ +export interface AzureEntityResource extends Resource { + /** + * Resource Etag. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - type?: string; + readonly etag?: string; } /** @@ -808,22 +761,24 @@ export interface ResourceModelWithAllowedPropertySet extends BaseResource { } /** - * An interface representing PostgreSQLFlexibleManagementClientOptions. + * Represents a Database. */ -export interface PostgreSQLFlexibleManagementClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface Database extends ProxyResource { + /** + * The charset of the database. + */ + charset?: string; + /** + * The collation of the database. + */ + collation?: string; } /** - * @interface - * A List of databases. - * @extends Array + * An interface representing PostgreSQLManagementClientOptions. */ -export interface DatabaseListResult extends Array { - /** - * The link used to get the next page of databases. - */ - nextLink?: string; +export interface PostgreSQLManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; } /** @@ -876,12 +831,16 @@ export interface CapabilitiesListResult extends Array { } /** - * Defines values for SkuTier. - * Possible values include: 'Burstable', 'GeneralPurpose', 'MemoryOptimized' - * @readonly - * @enum {string} + * @interface + * A List of databases. + * @extends Array */ -export type SkuTier = 'Burstable' | 'GeneralPurpose' | 'MemoryOptimized'; +export interface DatabaseListResult extends Array { + /** + * The link used to get the next page of databases. + */ + nextLink?: string; +} /** * Defines values for ServerVersion. @@ -909,14 +868,6 @@ export type ServerState = 'Ready' | 'Dropping' | 'Disabled' | 'Starting' | 'Stop */ export type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData' | 'FailingOver' | 'Healthy' | 'RemovingStandby'; -/** - * Defines values for GeoRedundantBackupOption. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} - */ -export type GeoRedundantBackupOption = 'Enabled' | 'Disabled'; - /** * Defines values for ServerPublicNetworkAccessState. * Possible values include: 'Enabled', 'Disabled' @@ -935,11 +886,11 @@ export type HAEnabledEnum = 'Enabled' | 'Disabled'; /** * Defines values for CreateMode. - * Possible values include: 'Default', 'PointInTimeRestore', 'GeoRestore' + * Possible values include: 'Default', 'PointInTimeRestore' * @readonly * @enum {string} */ -export type CreateMode = 'Default' | 'PointInTimeRestore' | 'GeoRestore'; +export type CreateMode = 'Default' | 'PointInTimeRestore'; /** * Defines values for ResourceIdentityType. @@ -949,6 +900,14 @@ export type CreateMode = 'Default' | 'PointInTimeRestore' | 'GeoRestore'; */ export type ResourceIdentityType = 'SystemAssigned'; +/** + * Defines values for SkuTier. + * Possible values include: 'Burstable', 'GeneralPurpose', 'MemoryOptimized' + * @readonly + * @enum {string} + */ +export type SkuTier = 'Burstable' | 'GeneralPurpose' | 'MemoryOptimized'; + /** * Defines values for ConfigurationDataType. * Possible values include: 'Boolean', 'Numeric', 'Integer', 'Enumeration' @@ -976,27 +935,7 @@ export type Body = 'PostgreSQL' | 'PostgreSQLCitus' | 'MySQL' | 'MariaDb' | 'Ora /** * Contains response data for the create operation. */ -export type DatabasesCreateResponse = Database & { - /** - * The underlying HTTP response. - */ - _response: msRest.HttpResponse & { - /** - * The response body as text (string format) - */ - bodyAsText: string; - - /** - * The response body as parsed JSON or XML - */ - parsedBody: Database; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type DatabasesGetResponse = Database & { +export type ServersCreateResponse = Server & { /** * The underlying HTTP response. */ @@ -1009,14 +948,14 @@ export type DatabasesGetResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: Server; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the update operation. */ -export type DatabasesListByServerResponse = DatabaseListResult & { +export type ServersUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -1029,14 +968,14 @@ export type DatabasesListByServerResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: Server; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type DatabasesBeginCreateResponse = Database & { +export type ServersGetResponse = Server & { /** * The underlying HTTP response. */ @@ -1049,14 +988,14 @@ export type DatabasesBeginCreateResponse = Database & { /** * The response body as parsed JSON or XML */ - parsedBody: Database; + parsedBody: Server; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the listByResourceGroup operation. */ -export type DatabasesListByServerNextResponse = DatabaseListResult & { +export type ServersListByResourceGroupResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -1069,19 +1008,14 @@ export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: DatabaseListResult; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the execute operation. + * Contains response data for the list operation. */ -export type GetPrivateDnsZoneSuffixExecuteResponse = { - /** - * The parsed response body. - */ - body: string; - +export type ServersListResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -1094,14 +1028,14 @@ export type GetPrivateDnsZoneSuffixExecuteResponse = { /** * The response body as parsed JSON or XML */ - parsedBody: string; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the beginCreate operation. */ -export type ServersCreateResponse = Server & { +export type ServersBeginCreateResponse = Server & { /** * The underlying HTTP response. */ @@ -1119,9 +1053,9 @@ export type ServersCreateResponse = Server & { }; /** - * Contains response data for the update operation. + * Contains response data for the beginUpdate operation. */ -export type ServersUpdateResponse = Server & { +export type ServersBeginUpdateResponse = Server & { /** * The underlying HTTP response. */ @@ -1139,9 +1073,9 @@ export type ServersUpdateResponse = Server & { }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ServersGetResponse = Server & { +export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -1154,14 +1088,14 @@ export type ServersGetResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: ServerListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the listNext operation. */ -export type ServersListByResourceGroupResponse = ServerListResult & { +export type ServersListNextResponse = ServerListResult & { /** * The underlying HTTP response. */ @@ -1179,9 +1113,9 @@ export type ServersListByResourceGroupResponse = ServerListResult & { }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type ServersListResponse = ServerListResult & { +export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { /** * The underlying HTTP response. */ @@ -1194,14 +1128,14 @@ export type ServersListResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: FirewallRule; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the get operation. */ -export type ServersBeginCreateResponse = Server & { +export type FirewallRulesGetResponse = FirewallRule & { /** * The underlying HTTP response. */ @@ -1214,14 +1148,14 @@ export type ServersBeginCreateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: FirewallRule; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the listByServer operation. */ -export type ServersBeginUpdateResponse = Server & { +export type FirewallRulesListByServerResponse = FirewallRuleListResult & { /** * The underlying HTTP response. */ @@ -1234,14 +1168,14 @@ export type ServersBeginUpdateResponse = Server & { /** * The response body as parsed JSON or XML */ - parsedBody: Server; + parsedBody: FirewallRuleListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ServersListByResourceGroupNextResponse = ServerListResult & { +export type FirewallRulesBeginCreateOrUpdateResponse = FirewallRule & { /** * The underlying HTTP response. */ @@ -1254,14 +1188,14 @@ export type ServersListByResourceGroupNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: FirewallRule; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByServerNext operation. */ -export type ServersListNextResponse = ServerListResult & { +export type FirewallRulesListByServerNextResponse = FirewallRuleListResult & { /** * The underlying HTTP response. */ @@ -1274,14 +1208,14 @@ export type ServersListNextResponse = ServerListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ServerListResult; + parsedBody: FirewallRuleListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByServer operation. */ -export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { +export type ConfigurationsListByServerResponse = ConfigurationListResult & { /** * The underlying HTTP response. */ @@ -1294,14 +1228,14 @@ export type FirewallRulesCreateOrUpdateResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: ConfigurationListResult; }; }; /** * Contains response data for the get operation. */ -export type FirewallRulesGetResponse = FirewallRule & { +export type ConfigurationsGetResponse = Configuration & { /** * The underlying HTTP response. */ @@ -1314,14 +1248,14 @@ export type FirewallRulesGetResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: Configuration; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the update operation. */ -export type FirewallRulesListByServerResponse = FirewallRuleListResult & { +export type ConfigurationsUpdateResponse = Configuration & { /** * The underlying HTTP response. */ @@ -1334,14 +1268,14 @@ export type FirewallRulesListByServerResponse = FirewallRuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRuleListResult; + parsedBody: Configuration; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginUpdate operation. */ -export type FirewallRulesBeginCreateOrUpdateResponse = FirewallRule & { +export type ConfigurationsBeginUpdateResponse = Configuration & { /** * The underlying HTTP response. */ @@ -1354,14 +1288,14 @@ export type FirewallRulesBeginCreateOrUpdateResponse = FirewallRule & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRule; + parsedBody: Configuration; }; }; /** * Contains response data for the listByServerNext operation. */ -export type FirewallRulesListByServerNextResponse = FirewallRuleListResult & { +export type ConfigurationsListByServerNextResponse = ConfigurationListResult & { /** * The underlying HTTP response. */ @@ -1374,14 +1308,14 @@ export type FirewallRulesListByServerNextResponse = FirewallRuleListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallRuleListResult; + parsedBody: ConfigurationListResult; }; }; /** - * Contains response data for the listByServer operation. + * Contains response data for the execute operation. */ -export type ConfigurationsListByServerResponse = ConfigurationListResult & { +export type CheckNameAvailabilityExecuteResponse = NameAvailability & { /** * The underlying HTTP response. */ @@ -1394,14 +1328,14 @@ export type ConfigurationsListByServerResponse = ConfigurationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ConfigurationListResult; + parsedBody: NameAvailability; }; }; /** - * Contains response data for the get operation. + * Contains response data for the execute operation. */ -export type ConfigurationsGetResponse = Configuration & { +export type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult & { /** * The underlying HTTP response. */ @@ -1414,14 +1348,14 @@ export type ConfigurationsGetResponse = Configuration & { /** * The response body as parsed JSON or XML */ - parsedBody: Configuration; + parsedBody: CapabilitiesListResult; }; }; /** - * Contains response data for the update operation. + * Contains response data for the executeNext operation. */ -export type ConfigurationsUpdateResponse = Configuration & { +export type LocationBasedCapabilitiesExecuteNextResponse = CapabilitiesListResult & { /** * The underlying HTTP response. */ @@ -1434,14 +1368,14 @@ export type ConfigurationsUpdateResponse = Configuration & { /** * The response body as parsed JSON or XML */ - parsedBody: Configuration; + parsedBody: CapabilitiesListResult; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the execute operation. */ -export type ConfigurationsBeginUpdateResponse = Configuration & { +export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult & { /** * The underlying HTTP response. */ @@ -1454,14 +1388,14 @@ export type ConfigurationsBeginUpdateResponse = Configuration & { /** * The response body as parsed JSON or XML */ - parsedBody: Configuration; + parsedBody: VirtualNetworkSubnetUsageResult; }; }; /** - * Contains response data for the listByServerNext operation. + * Contains response data for the list operation. */ -export type ConfigurationsListByServerNextResponse = ConfigurationListResult & { +export type OperationsListResponse = OperationListResult & { /** * The underlying HTTP response. */ @@ -1474,14 +1408,14 @@ export type ConfigurationsListByServerNextResponse = ConfigurationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ConfigurationListResult; + parsedBody: OperationListResult; }; }; /** - * Contains response data for the execute operation. + * Contains response data for the create operation. */ -export type CheckNameAvailabilityExecuteResponse = NameAvailability & { +export type DatabasesCreateResponse = Database & { /** * The underlying HTTP response. */ @@ -1494,14 +1428,14 @@ export type CheckNameAvailabilityExecuteResponse = NameAvailability & { /** * The response body as parsed JSON or XML */ - parsedBody: NameAvailability; + parsedBody: Database; }; }; /** - * Contains response data for the execute operation. + * Contains response data for the get operation. */ -export type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult & { +export type DatabasesGetResponse = Database & { /** * The underlying HTTP response. */ @@ -1514,14 +1448,14 @@ export type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult & /** * The response body as parsed JSON or XML */ - parsedBody: CapabilitiesListResult; + parsedBody: Database; }; }; /** - * Contains response data for the executeNext operation. + * Contains response data for the listByServer operation. */ -export type LocationBasedCapabilitiesExecuteNextResponse = CapabilitiesListResult & { +export type DatabasesListByServerResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -1534,14 +1468,14 @@ export type LocationBasedCapabilitiesExecuteNextResponse = CapabilitiesListResul /** * The response body as parsed JSON or XML */ - parsedBody: CapabilitiesListResult; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the execute operation. + * Contains response data for the beginCreate operation. */ -export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult & { +export type DatabasesBeginCreateResponse = Database & { /** * The underlying HTTP response. */ @@ -1554,14 +1488,14 @@ export type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsage /** * The response body as parsed JSON or XML */ - parsedBody: VirtualNetworkSubnetUsageResult; + parsedBody: Database; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByServerNext operation. */ -export type RecoverableServersGetResponse = RecoverableServerResource & { +export type DatabasesListByServerNextResponse = DatabaseListResult & { /** * The underlying HTTP response. */ @@ -1574,14 +1508,19 @@ export type RecoverableServersGetResponse = RecoverableServerResource & { /** * The response body as parsed JSON or XML */ - parsedBody: RecoverableServerResource; + parsedBody: DatabaseListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the execute operation. */ -export type OperationsListResponse = OperationListResult & { +export type GetPrivateDnsZoneSuffixExecuteResponse = { + /** + * The parsed response body. + */ + body: string; + /** * The underlying HTTP response. */ @@ -1594,6 +1533,6 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: string; }; }; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts index b1e27facb697..0f33f76e46ce 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts @@ -12,268 +12,6 @@ import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; -export const Resource: msRest.CompositeMapper = { - serializedName: "Resource", - type: { - name: "Composite", - className: "Resource", - modelProperties: { - id: { - readOnly: true, - serializedName: "id", - type: { - name: "String" - } - }, - name: { - readOnly: true, - serializedName: "name", - type: { - name: "String" - } - }, - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - } - } - } -}; - -export const ProxyResource: msRest.CompositeMapper = { - serializedName: "ProxyResource", - type: { - name: "Composite", - className: "ProxyResource", - modelProperties: { - ...Resource.type.modelProperties - } - } -}; - -export const Database: msRest.CompositeMapper = { - serializedName: "Database", - type: { - name: "Composite", - className: "Database", - modelProperties: { - ...ProxyResource.type.modelProperties, - charset: { - serializedName: "properties.charset", - type: { - name: "String" - } - }, - collation: { - serializedName: "properties.collation", - type: { - name: "String" - } - } - } - } -}; - -export const ErrorAdditionalInfo: msRest.CompositeMapper = { - serializedName: "ErrorAdditionalInfo", - type: { - name: "Composite", - className: "ErrorAdditionalInfo", - modelProperties: { - type: { - readOnly: true, - serializedName: "type", - type: { - name: "String" - } - }, - info: { - readOnly: true, - serializedName: "info", - type: { - name: "Object" - } - } - } - } -}; - -export const ErrorResponse: msRest.CompositeMapper = { - serializedName: "ErrorResponse", - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - code: { - readOnly: true, - serializedName: "code", - type: { - name: "String" - } - }, - message: { - readOnly: true, - serializedName: "message", - type: { - name: "String" - } - }, - target: { - readOnly: true, - serializedName: "target", - type: { - name: "String" - } - }, - details: { - readOnly: true, - serializedName: "details", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorResponse" - } - } - } - }, - additionalInfo: { - readOnly: true, - serializedName: "additionalInfo", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorAdditionalInfo" - } - } - } - } - } - } -}; - -export const TrackedResource: msRest.CompositeMapper = { - serializedName: "TrackedResource", - type: { - name: "Composite", - className: "TrackedResource", - modelProperties: { - ...Resource.type.modelProperties, - tags: { - serializedName: "tags", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } - }, - location: { - required: true, - serializedName: "location", - type: { - name: "String" - } - } - } - } -}; - -export const AzureEntityResource: msRest.CompositeMapper = { - serializedName: "AzureEntityResource", - type: { - name: "Composite", - className: "AzureEntityResource", - modelProperties: { - ...Resource.type.modelProperties, - etag: { - readOnly: true, - serializedName: "etag", - type: { - name: "String" - } - } - } - } -}; - -export const Sku: msRest.CompositeMapper = { - serializedName: "Sku", - type: { - name: "Composite", - className: "Sku", - modelProperties: { - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - }, - tier: { - required: true, - serializedName: "tier", - type: { - name: "String" - } - } - } - } -}; - -export const RecoverableServerResource: msRest.CompositeMapper = { - serializedName: "RecoverableServerResource", - type: { - name: "Composite", - className: "RecoverableServerResource", - modelProperties: { - ...ProxyResource.type.modelProperties, - sku: { - serializedName: "sku", - type: { - name: "Composite", - className: "Sku" - } - }, - location: { - serializedName: "location", - type: { - name: "String" - } - }, - availabilityZone: { - readOnly: true, - serializedName: "properties.availabilityZone", - type: { - name: "String" - } - }, - serverEdition: { - readOnly: true, - serializedName: "properties.serverEdition", - type: { - name: "String" - } - }, - version: { - readOnly: true, - serializedName: "properties.version", - type: { - name: "String" - } - } - } - } -}; - export const VirtualNetworkSubnetUsageParameter: msRest.CompositeMapper = { serializedName: "VirtualNetworkSubnetUsageParameter", type: { @@ -556,12 +294,6 @@ export const StorageProfile: msRest.CompositeMapper = { type: { name: "Number" } - }, - geoRedundantBackup: { - serializedName: "geoRedundantBackup", - type: { - name: "String" - } } } } @@ -666,6 +398,90 @@ export const Identity: msRest.CompositeMapper = { } }; +export const Sku: msRest.CompositeMapper = { + serializedName: "Sku", + type: { + name: "Composite", + className: "Sku", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + tier: { + required: true, + serializedName: "tier", + type: { + name: "String" + } + } + } + } +}; + +export const Resource: msRest.CompositeMapper = { + serializedName: "Resource", + type: { + name: "Composite", + className: "Resource", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const TrackedResource: msRest.CompositeMapper = { + serializedName: "TrackedResource", + type: { + name: "Composite", + className: "TrackedResource", + modelProperties: { + ...Resource.type.modelProperties, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + location: { + required: true, + serializedName: "location", + type: { + name: "String" + } + } + } + } +}; + export const Server: msRest.CompositeMapper = { serializedName: "Server", type: { @@ -906,6 +722,17 @@ export const ServerForUpdate: msRest.CompositeMapper = { } }; +export const ProxyResource: msRest.CompositeMapper = { + serializedName: "ProxyResource", + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + export const FirewallRule: msRest.CompositeMapper = { serializedName: "FirewallRule", type: { @@ -1161,6 +988,105 @@ export const NameAvailability: msRest.CompositeMapper = { } }; +export const ErrorAdditionalInfo: msRest.CompositeMapper = { + serializedName: "ErrorAdditionalInfo", + type: { + name: "Composite", + className: "ErrorAdditionalInfo", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + info: { + readOnly: true, + serializedName: "info", + type: { + name: "Object" + } + } + } + } +}; + +export const ErrorResponse: msRest.CompositeMapper = { + serializedName: "ErrorResponse", + type: { + name: "Composite", + className: "ErrorResponse", + modelProperties: { + code: { + readOnly: true, + serializedName: "code", + type: { + name: "String" + } + }, + message: { + readOnly: true, + serializedName: "message", + type: { + name: "String" + } + }, + target: { + readOnly: true, + serializedName: "target", + type: { + name: "String" + } + }, + details: { + readOnly: true, + serializedName: "details", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorResponse" + } + } + } + }, + additionalInfo: { + readOnly: true, + serializedName: "additionalInfo", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } + } + } + } + } + } +}; + +export const AzureEntityResource: msRest.CompositeMapper = { + serializedName: "AzureEntityResource", + type: { + name: "Composite", + className: "AzureEntityResource", + modelProperties: { + ...Resource.type.modelProperties, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const ResourceModelWithAllowedPropertySetIdentity: msRest.CompositeMapper = { serializedName: "ResourceModelWithAllowedPropertySet_identity", type: { @@ -1328,26 +1254,21 @@ export const ResourceModelWithAllowedPropertySet: msRest.CompositeMapper = { } }; -export const DatabaseListResult: msRest.CompositeMapper = { - serializedName: "DatabaseListResult", +export const Database: msRest.CompositeMapper = { + serializedName: "Database", type: { name: "Composite", - className: "DatabaseListResult", + className: "Database", modelProperties: { - value: { - serializedName: "", + ...ProxyResource.type.modelProperties, + charset: { + serializedName: "properties.charset", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Database" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", + collation: { + serializedName: "properties.collation", type: { name: "String" } @@ -1469,3 +1390,31 @@ export const CapabilitiesListResult: msRest.CompositeMapper = { } } }; + +export const DatabaseListResult: msRest.CompositeMapper = { + serializedName: "DatabaseListResult", + type: { + name: "Composite", + className: "DatabaseListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Database" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/parameters.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/parameters.ts index c8fe4a8e2b16..57a1ec746a91 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/parameters.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/parameters.ts @@ -25,7 +25,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-11-05-preview', + defaultValue: '2020-02-14-preview', constraints: { MinLength: 1 }, @@ -40,7 +40,7 @@ export const apiVersion1: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-03-31-privatepreview', + defaultValue: '2020-11-05-preview', constraints: { MinLength: 1 }, @@ -55,7 +55,7 @@ export const apiVersion2: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-04-10-privatepreview', + defaultValue: '2021-03-31-privatepreview', constraints: { MinLength: 1 }, @@ -122,8 +122,7 @@ export const resourceGroupName: msRest.OperationURLParameter = { serializedName: "resourceGroupName", constraints: { MaxLength: 90, - MinLength: 1, - Pattern: /^[-\w\._\(\)]+$/ + MinLength: 1 }, type: { name: "String" diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/recoverableServersMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/recoverableServersMappers.ts deleted file mode 100644 index 217f16cfbb31..000000000000 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/recoverableServersMappers.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - AzureEntityResource, - BaseResource, - CloudError, - Configuration, - Database, - ErrorAdditionalInfo, - ErrorResponse, - FirewallRule, - Identity, - MaintenanceWindow, - Plan, - ProxyResource, - RecoverableServerResource, - Resource, - ResourceModelWithAllowedPropertySet, - ResourceModelWithAllowedPropertySetIdentity, - ResourceModelWithAllowedPropertySetPlan, - ResourceModelWithAllowedPropertySetSku, - Server, - ServerPropertiesDelegatedSubnetArguments, - ServerPropertiesPrivateDnsZoneArguments, - Sku, - StorageProfile, - TrackedResource -} from "../models/mappers"; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts index c9df4ef13453..980b29e943e4 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts @@ -19,7 +19,6 @@ export { MaintenanceWindow, Plan, ProxyResource, - RecoverableServerResource, Resource, ResourceModelWithAllowedPropertySet, ResourceModelWithAllowedPropertySetIdentity, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts index 71b920982dc2..8d21d47efba5 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts @@ -11,17 +11,17 @@ import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/checkNameAvailabilityMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a CheckNameAvailability. */ export class CheckNameAvailability { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a CheckNameAvailability. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -66,7 +66,7 @@ const executeOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts index 261b32a55323..b8464f046acb 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts @@ -12,17 +12,17 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/configurationsMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a Configurations. */ export class Configurations { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a Configurations. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -170,7 +170,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -196,7 +196,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.configurationName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -222,7 +222,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.configurationName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -254,7 +254,7 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts index b9da26173ca5..2ac841ead905 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts @@ -12,17 +12,17 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/databasesMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a Databases. */ export class Databases { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a Databases. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -204,7 +204,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.databaseName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -255,7 +255,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.databaseName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -292,7 +292,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.databaseName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion1 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts index a6496e4ba501..c643e1f139a2 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts @@ -12,17 +12,17 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/firewallRulesMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a FirewallRules. */ export class FirewallRules { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a FirewallRules. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -204,7 +204,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.firewallRuleName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -255,7 +255,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.firewallRuleName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -292,7 +292,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.firewallRuleName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts index 9bcd159b7cd9..59a5549084b4 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts @@ -11,17 +11,17 @@ import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/getPrivateDnsZoneSuffixMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a GetPrivateDnsZoneSuffix. */ export class GetPrivateDnsZoneSuffix { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a GetPrivateDnsZoneSuffix. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -66,7 +66,7 @@ const executeOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion2 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/index.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/index.ts index 5054eefb8e76..7f293c100d11 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/index.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/index.ts @@ -7,13 +7,12 @@ * regenerated. */ -export * from "./databases"; -export * from "./getPrivateDnsZoneSuffix"; export * from "./servers"; export * from "./firewallRules"; export * from "./configurations"; export * from "./checkNameAvailability"; export * from "./locationBasedCapabilities"; export * from "./virtualNetworkSubnetUsage"; -export * from "./recoverableServers"; export * from "./operations"; +export * from "./databases"; +export * from "./getPrivateDnsZoneSuffix"; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts index c49fae36be76..4c5cb150cb80 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts @@ -11,17 +11,17 @@ import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/locationBasedCapabilitiesMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a LocationBasedCapabilities. */ export class LocationBasedCapabilities { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a LocationBasedCapabilities. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -92,7 +92,7 @@ const executeOperationSpec: msRest.OperationSpec = { Parameters.locationName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -116,7 +116,7 @@ const executeNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts index 18a4e9afcf7a..079d53b2dd21 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts @@ -11,17 +11,17 @@ import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/operationsMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a Operations. */ export class Operations { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a Operations. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -56,7 +56,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.DBForPostgreSql/operations", queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/recoverableServers.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/recoverableServers.ts deleted file mode 100644 index c16fbcd8f046..000000000000 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/recoverableServers.ts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "../models"; -import * as Mappers from "../models/recoverableServersMappers"; -import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; - -/** Class representing a RecoverableServers. */ -export class RecoverableServers { - private readonly client: PostgreSQLFlexibleManagementClientContext; - - /** - * Create a RecoverableServers. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. - */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { - this.client = client; - } - - /** - * Gets a recoverable PostgreSQL Server. - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serverName The name of the server. - * @param [options] The optional parameters - * @returns Promise - */ - get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serverName The name of the server. - * @param callback The callback - */ - get(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param serverName The name of the server. - * @param options The optional parameters - * @param callback The callback - */ - get(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - get(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - serverName, - options - }, - getOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const getOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/servers/{serverName}/recoverableServers", - urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.serverName - ], - queryParameters: [ - Parameters.apiVersion2 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.RecoverableServerResource - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts index 543bbb2695ba..8f552abd68e6 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts @@ -12,17 +12,17 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/serversMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a Servers. */ export class Servers { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a Servers. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -366,7 +366,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -390,7 +390,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -413,7 +413,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -438,7 +438,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -474,7 +474,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -507,7 +507,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -532,7 +532,7 @@ const beginRestartOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -556,7 +556,7 @@ const beginStartOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -580,7 +580,7 @@ const beginStopOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -603,7 +603,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -627,7 +627,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts index 3e8948a2ef7c..7132c84f1eaf 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts @@ -11,17 +11,17 @@ import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/virtualNetworkSubnetUsageMappers"; import * as Parameters from "../models/parameters"; -import { PostgreSQLFlexibleManagementClientContext } from "../postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext"; /** Class representing a VirtualNetworkSubnetUsage. */ export class VirtualNetworkSubnetUsage { - private readonly client: PostgreSQLFlexibleManagementClientContext; + private readonly client: PostgreSQLManagementClientContext; /** * Create a VirtualNetworkSubnetUsage. - * @param {PostgreSQLFlexibleManagementClientContext} client Reference to the service client. + * @param {PostgreSQLManagementClientContext} client Reference to the service client. */ - constructor(client: PostgreSQLFlexibleManagementClientContext) { + constructor(client: PostgreSQLManagementClientContext) { this.client = client; } @@ -68,7 +68,7 @@ const executeOperationSpec: msRest.OperationSpec = { Parameters.locationName ], queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLFlexibleManagementClient.ts b/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClient.ts similarity index 79% rename from sdk/postgresql/arm-postgresql-flexible/src/postgreSQLFlexibleManagementClient.ts rename to sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClient.ts index 529b1972dc75..15926bf7b757 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLFlexibleManagementClient.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClient.ts @@ -12,24 +12,23 @@ import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; -import { PostgreSQLFlexibleManagementClientContext } from "./postgreSQLFlexibleManagementClientContext"; +import { PostgreSQLManagementClientContext } from "./postgreSQLManagementClientContext"; -class PostgreSQLFlexibleManagementClient extends PostgreSQLFlexibleManagementClientContext { +class PostgreSQLManagementClient extends PostgreSQLManagementClientContext { // Operation groups - databases: operations.Databases; - getPrivateDnsZoneSuffix: operations.GetPrivateDnsZoneSuffix; servers: operations.Servers; firewallRules: operations.FirewallRules; configurations: operations.Configurations; checkNameAvailability: operations.CheckNameAvailability; locationBasedCapabilities: operations.LocationBasedCapabilities; virtualNetworkSubnetUsage: operations.VirtualNetworkSubnetUsage; - recoverableServers: operations.RecoverableServers; operations: operations.Operations; + databases: operations.Databases; + getPrivateDnsZoneSuffix: operations.GetPrivateDnsZoneSuffix; /** - * Initializes a new instance of the PostgreSQLFlexibleManagementClient class. + * Initializes a new instance of the PostgreSQLManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. Credentials * implementing the TokenCredential interface from the @azure/identity package are recommended. For * more information about these credentials, see @@ -39,27 +38,26 @@ class PostgreSQLFlexibleManagementClient extends PostgreSQLFlexibleManagementCli * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PostgreSQLFlexibleManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PostgreSQLManagementClientOptions) { super(credentials, subscriptionId, options); - this.databases = new operations.Databases(this); - this.getPrivateDnsZoneSuffix = new operations.GetPrivateDnsZoneSuffix(this); this.servers = new operations.Servers(this); this.firewallRules = new operations.FirewallRules(this); this.configurations = new operations.Configurations(this); this.checkNameAvailability = new operations.CheckNameAvailability(this); this.locationBasedCapabilities = new operations.LocationBasedCapabilities(this); this.virtualNetworkSubnetUsage = new operations.VirtualNetworkSubnetUsage(this); - this.recoverableServers = new operations.RecoverableServers(this); this.operations = new operations.Operations(this); + this.databases = new operations.Databases(this); + this.getPrivateDnsZoneSuffix = new operations.GetPrivateDnsZoneSuffix(this); } } // Operation Specifications export { - PostgreSQLFlexibleManagementClient, - PostgreSQLFlexibleManagementClientContext, - Models as PostgreSQLFlexibleManagementModels, - Mappers as PostgreSQLFlexibleManagementMappers + PostgreSQLManagementClient, + PostgreSQLManagementClientContext, + Models as PostgreSQLManagementModels, + Mappers as PostgreSQLManagementMappers }; export * from "./operations"; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLFlexibleManagementClientContext.ts b/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClientContext.ts similarity index 90% rename from sdk/postgresql/arm-postgresql-flexible/src/postgreSQLFlexibleManagementClientContext.ts rename to sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClientContext.ts index b68ccae65c85..1b12aa2e9d10 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLFlexibleManagementClientContext.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClientContext.ts @@ -13,14 +13,14 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-postgresql-flexible"; -const packageVersion = "1.0.0"; +const packageVersion = "2.0.0"; -export class PostgreSQLFlexibleManagementClientContext extends msRestAzure.AzureServiceClient { +export class PostgreSQLManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** - * Initializes a new instance of the PostgreSQLFlexibleManagementClient class. + * Initializes a new instance of the PostgreSQLManagementClient class. * @param credentials Credentials needed for the client to connect to Azure. Credentials * implementing the TokenCredential interface from the @azure/identity package are recommended. For * more information about these credentials, see @@ -30,7 +30,7 @@ export class PostgreSQLFlexibleManagementClientContext extends msRestAzure.Azure * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PostgreSQLFlexibleManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PostgreSQLManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From 52ad992bdfccbd55804e5eab8f72bb8949716deb Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Thu, 8 Jul 2021 09:06:31 +0800 Subject: [PATCH 119/134] ten identity (#16252) --- .../arm-hybridkubernetes/README.md | 108 +++++++++------- .../arm-hybridkubernetes/package.json | 9 +- .../src/connectedKubernetesClient.ts | 10 +- .../src/connectedKubernetesClientContext.ts | 14 +- sdk/iotcentral/arm-iotcentral/README.md | 108 +++++++++------- sdk/iotcentral/arm-iotcentral/package.json | 9 +- .../arm-iotcentral/src/iotCentralClient.ts | 10 +- .../src/iotCentralClientContext.ts | 14 +- .../README.md | 104 ++++++++------- .../package.json | 9 +- .../src/iotHubClient.ts | 10 +- .../src/iotHubClientContext.ts | 14 +- sdk/iothub/arm-iothub/README.md | 114 +++++++++-------- sdk/iothub/arm-iothub/package.json | 9 +- sdk/iothub/arm-iothub/src/iotHubClient.ts | 10 +- .../arm-iothub/src/iotHubClientContext.ts | 14 +- sdk/iotspaces/arm-iotspaces/README.md | 115 +++++++++-------- sdk/iotspaces/arm-iotspaces/package.json | 9 +- .../arm-iotspaces/src/ioTSpacesClient.ts | 10 +- .../src/ioTSpacesClientContext.ts | 14 +- .../README.md | 106 ++++++++------- .../package.json | 9 +- .../src/keyVaultManagementClient.ts | 10 +- .../src/keyVaultManagementClientContext.ts | 14 +- .../README.md | 111 ++++++++-------- .../package.json | 9 +- .../src/keyVaultManagementClient.ts | 10 +- .../src/keyVaultManagementClientContext.ts | 14 +- .../arm-kubernetesconfiguration/README.md | 120 +++++++++-------- .../arm-kubernetesconfiguration/package.json | 9 +- .../src/sourceControlConfigurationClient.ts | 10 +- ...sourceControlConfigurationClientContext.ts | 14 +- sdk/kusto/arm-kusto/README.md | 121 +++++++++--------- sdk/kusto/arm-kusto/package.json | 9 +- .../arm-kusto/src/kustoManagementClient.ts | 10 +- .../src/kustoManagementClientContext.ts | 14 +- sdk/labservices/arm-labservices/README.md | 106 ++++++++------- sdk/labservices/arm-labservices/package.json | 9 +- .../arm-labservices/src/managedLabsClient.ts | 10 +- .../src/managedLabsClientContext.ts | 14 +- 40 files changed, 827 insertions(+), 616 deletions(-) diff --git a/sdk/hybridkubernetes/arm-hybridkubernetes/README.md b/sdk/hybridkubernetes/arm-hybridkubernetes/README.md index a0c8d66fe7c2..25de805c58a1 100644 --- a/sdk/hybridkubernetes/arm-hybridkubernetes/README.md +++ b/sdk/hybridkubernetes/arm-hybridkubernetes/README.md @@ -1,93 +1,103 @@ ## Azure ConnectedKubernetesClient SDK for JavaScript -This package contains an isomorphic SDK for ConnectedKubernetesClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ConnectedKubernetesClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-hybridkubernetes` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-hybridkubernetes +npm install --save @azure/arm-hybridkubernetes @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get connectedCluster as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get connectedCluster as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { ConnectedKubernetesClient } = require("@azure/arm-hybridkubernetes"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ConnectedKubernetesClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const clusterName = "testclusterName"; - client.connectedCluster.get(resourceGroupName, clusterName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ConnectedKubernetesClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const clusterName = "testclusterName"; +client.connectedCluster.get(resourceGroupName, clusterName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get connectedCluster as an example written in JavaScript. +#### browser - Authentication, client creation, and get connectedCluster as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-hybridkubernetes sample - - + diff --git a/sdk/hybridkubernetes/arm-hybridkubernetes/package.json b/sdk/hybridkubernetes/arm-hybridkubernetes/package.json index b3cdcdcf0e86..7f3cb14cdc47 100644 --- a/sdk/hybridkubernetes/arm-hybridkubernetes/package.json +++ b/sdk/hybridkubernetes/arm-hybridkubernetes/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-hybridkubernetes", "author": "Microsoft Corporation", "description": "ConnectedKubernetesClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/connectedKubernetesClient.js", "types": "./esm/connectedKubernetesClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/hybridkubernetes/arm-hybridkubernetes/src/connectedKubernetesClient.ts b/sdk/hybridkubernetes/arm-hybridkubernetes/src/connectedKubernetesClient.ts index 699b1bcf8ac4..678e78cab33d 100644 --- a/sdk/hybridkubernetes/arm-hybridkubernetes/src/connectedKubernetesClient.ts +++ b/sdk/hybridkubernetes/arm-hybridkubernetes/src/connectedKubernetesClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -21,11 +22,16 @@ class ConnectedKubernetesClient extends ConnectedKubernetesClientContext { /** * Initializes a new instance of the ConnectedKubernetesClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ConnectedKubernetesClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ConnectedKubernetesClientOptions) { super(credentials, subscriptionId, options); this.connectedCluster = new operations.ConnectedClusterOperations(this); this.operations = new operations.Operations(this); diff --git a/sdk/hybridkubernetes/arm-hybridkubernetes/src/connectedKubernetesClientContext.ts b/sdk/hybridkubernetes/arm-hybridkubernetes/src/connectedKubernetesClientContext.ts index 800f3c42fc37..f1428b943a43 100644 --- a/sdk/hybridkubernetes/arm-hybridkubernetes/src/connectedKubernetesClientContext.ts +++ b/sdk/hybridkubernetes/arm-hybridkubernetes/src/connectedKubernetesClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-hybridkubernetes"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ConnectedKubernetesClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the ConnectedKubernetesClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ConnectedKubernetesClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ConnectedKubernetesClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/iotcentral/arm-iotcentral/README.md b/sdk/iotcentral/arm-iotcentral/README.md index 927c3351386c..da7bc02cc8bc 100644 --- a/sdk/iotcentral/arm-iotcentral/README.md +++ b/sdk/iotcentral/arm-iotcentral/README.md @@ -1,93 +1,103 @@ ## Azure IotCentralClient SDK for JavaScript -This package contains an isomorphic SDK for IotCentralClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for IotCentralClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-iotcentral` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-iotcentral +npm install --save @azure/arm-iotcentral @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get apps as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get apps as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { IotCentralClient } = require("@azure/arm-iotcentral"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new IotCentralClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const resourceName = "testresourceName"; - client.apps.get(resourceGroupName, resourceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new IotCentralClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const resourceName = "testresourceName"; +client.apps.get(resourceGroupName, resourceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get apps as an example written in JavaScript. +#### browser - Authentication, client creation, and get apps as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-iotcentral sample - - + diff --git a/sdk/iotcentral/arm-iotcentral/package.json b/sdk/iotcentral/arm-iotcentral/package.json index 395353525347..7cebb5c29b27 100644 --- a/sdk/iotcentral/arm-iotcentral/package.json +++ b/sdk/iotcentral/arm-iotcentral/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-iotcentral", "author": "Microsoft Corporation", "description": "IotCentralClient Library with typescript type definitions for node.js and browser.", - "version": "4.1.0", + "version": "4.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/iotCentralClient.js", "types": "./esm/iotCentralClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/iotcentral/arm-iotcentral/src/iotCentralClient.ts b/sdk/iotcentral/arm-iotcentral/src/iotCentralClient.ts index 71f83aaafdb6..d198b5bddd66 100644 --- a/sdk/iotcentral/arm-iotcentral/src/iotCentralClient.ts +++ b/sdk/iotcentral/arm-iotcentral/src/iotCentralClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -21,11 +22,16 @@ class IotCentralClient extends IotCentralClientContext { /** * Initializes a new instance of the IotCentralClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.IotCentralClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IotCentralClientOptions) { super(credentials, subscriptionId, options); this.apps = new operations.Apps(this); this.operations = new operations.Operations(this); diff --git a/sdk/iotcentral/arm-iotcentral/src/iotCentralClientContext.ts b/sdk/iotcentral/arm-iotcentral/src/iotCentralClientContext.ts index f1963b771d2b..d53f1a843899 100644 --- a/sdk/iotcentral/arm-iotcentral/src/iotCentralClientContext.ts +++ b/sdk/iotcentral/arm-iotcentral/src/iotCentralClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-iotcentral"; -const packageVersion = "4.1.0"; +const packageVersion = "4.2.0"; export class IotCentralClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the IotCentralClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.IotCentralClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IotCentralClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/README.md b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/README.md index d5916c2d48d2..95ce07fc5114 100644 --- a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/README.md +++ b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure IotHubClient SDK for JavaScript -This package contains an isomorphic SDK for IotHubClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for IotHubClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-iothub-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-iothub-profile-2020-09-01-hybrid +npm install --save @azure/arm-iothub-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { IotHubClient, IotHubModels, IotHubMappers } from "@azure/arm-iothub-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { IotHubClient } = require("@azure/arm-iothub-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new IotHubClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new IotHubClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-iothub-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json index b786b8f407a3..6b25b95203f4 100644 --- a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json +++ b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-iothub-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "IotHubClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/iotHubClient.js", "types": "./esm/iotHubClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/src/iotHubClient.ts b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/src/iotHubClient.ts index acbec4a87d10..36f5e14be98a 100644 --- a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/src/iotHubClient.ts +++ b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/src/iotHubClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class IotHubClient extends IotHubClientContext { /** * Initializes a new instance of the IotHubClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.IotHubClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IotHubClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.iotHubResource = new operations.IotHubResource(this); diff --git a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/src/iotHubClientContext.ts b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/src/iotHubClientContext.ts index 45b7d0e435bb..8ecef899b237 100644 --- a/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/src/iotHubClientContext.ts +++ b/sdk/iothub/arm-iothub-profile-2020-09-01-hybrid/src/iotHubClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-iothub-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class IotHubClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the IotHubClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.IotHubClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IotHubClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/iothub/arm-iothub/README.md b/sdk/iothub/arm-iothub/README.md index ddb6fdb5c5ca..2ca2ced02341 100644 --- a/sdk/iothub/arm-iothub/README.md +++ b/sdk/iothub/arm-iothub/README.md @@ -1,65 +1,74 @@ ## Azure IotHubClient SDK for JavaScript -This package contains an isomorphic SDK for IotHubClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for IotHubClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-iothub` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-iothub +npm install --save @azure/arm-iothub @azure/identity ``` -### How to use +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. -#### nodejs - client creation and list operations as an example written in TypeScript. +### How to use -##### Install @azure/ms-rest-nodeauth +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package - -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { IotHubClient } = require("@azure/arm-iothub"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth - .interactiveLogin() - .then((creds) => { - const client = new IotHubClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); - }) - .catch((err) => { - console.error(err); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new IotHubClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html ```html @@ -67,32 +76,25 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-iothub sample - - + diff --git a/sdk/iothub/arm-iothub/package.json b/sdk/iothub/arm-iothub/package.json index 7824a6ad8e67..bb6d2ff7e707 100644 --- a/sdk/iothub/arm-iothub/package.json +++ b/sdk/iothub/arm-iothub/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-iothub", "author": "Microsoft Corporation", "description": "IotHubClient Library with typescript type definitions for node.js and browser.", - "version": "5.0.0", + "version": "5.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/iotHubClient.js", "types": "./esm/iotHubClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/iothub/arm-iothub/src/iotHubClient.ts b/sdk/iothub/arm-iothub/src/iotHubClient.ts index a21e31f2cd97..cab2738b2ec9 100644 --- a/sdk/iothub/arm-iothub/src/iotHubClient.ts +++ b/sdk/iothub/arm-iothub/src/iotHubClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,12 +26,17 @@ class IotHubClient extends IotHubClientContext { /** * Initializes a new instance of the IotHubClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IotHubClientOptions ) { diff --git a/sdk/iothub/arm-iothub/src/iotHubClientContext.ts b/sdk/iothub/arm-iothub/src/iotHubClientContext.ts index 22840bd1bf8e..7d65d9a5e4dc 100644 --- a/sdk/iothub/arm-iothub/src/iotHubClientContext.ts +++ b/sdk/iothub/arm-iothub/src/iotHubClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-iothub"; -const packageVersion = "5.0.0"; +const packageVersion = "5.1.0"; export class IotHubClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the IotHubClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IotHubClientOptions ) { diff --git a/sdk/iotspaces/arm-iotspaces/README.md b/sdk/iotspaces/arm-iotspaces/README.md index eda0747a7cb1..5134ca5885f1 100644 --- a/sdk/iotspaces/arm-iotspaces/README.md +++ b/sdk/iotspaces/arm-iotspaces/README.md @@ -1,93 +1,103 @@ ## Azure IoTSpacesClient SDK for JavaScript -This package contains an isomorphic SDK for IoTSpacesClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for IoTSpacesClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-iotspaces +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-iotspaces` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-iotspaces @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get ioTSpaces as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get ioTSpaces as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { IoTSpacesClient, IoTSpacesModels, IoTSpacesMappers } from "@azure/arm-iotspaces"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { IoTSpacesClient } = require("@azure/arm-iotspaces"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new IoTSpacesClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const resourceName = "testresourceName"; - client.ioTSpaces.get(resourceGroupName, resourceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new IoTSpacesClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const resourceName = "testresourceName"; +client.ioTSpaces.get(resourceGroupName, resourceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get ioTSpaces as an example written in JavaScript. +#### browser - Authentication, client creation, and get ioTSpaces as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-iotspaces sample - - + @@ -99,5 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fiotspaces%2Farm-iotspaces%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/iotspaces/arm-iotspaces/README.png) diff --git a/sdk/iotspaces/arm-iotspaces/package.json b/sdk/iotspaces/arm-iotspaces/package.json index fa3f916b50db..05928fa12036 100644 --- a/sdk/iotspaces/arm-iotspaces/package.json +++ b/sdk/iotspaces/arm-iotspaces/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-iotspaces", "author": "Microsoft Corporation", "description": "IoTSpacesClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/ioTSpacesClient.js", "types": "./esm/ioTSpacesClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClient.ts b/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClient.ts index 7528df619bbf..6e77832a519f 100644 --- a/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClient.ts +++ b/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class IoTSpacesClient extends IoTSpacesClientContext { /** * Initializes a new instance of the IoTSpacesClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.IoTSpacesClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IoTSpacesClientOptions) { super(credentials, subscriptionId, options); this.ioTSpaces = new operations.IoTSpaces(this); this.operations = new operations.Operations(this); diff --git a/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClientContext.ts b/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClientContext.ts index ee7fd255ff8a..9829fa09aee2 100644 --- a/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClientContext.ts +++ b/sdk/iotspaces/arm-iotspaces/src/ioTSpacesClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-iotspaces"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class IoTSpacesClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the IoTSpacesClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.IoTSpacesClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.IoTSpacesClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/README.md b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/README.md index 7e8b132ef62a..4bb4b303117b 100644 --- a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/README.md +++ b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/README.md @@ -1,89 +1,100 @@ ## Azure KeyVaultManagementClient SDK for JavaScript -This package contains an isomorphic SDK for KeyVaultManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for KeyVaultManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-keyvault-profile-2019-03-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-keyvault-profile-2019-03-01-hybrid +npm install --save @azure/arm-keyvault-profile-2019-03-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { KeyVaultManagementClient, KeyVaultManagementModels, KeyVaultManagementMappers } from "@azure/arm-keyvault-profile-2019-03-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { KeyVaultManagementClient } = require("@azure/arm-keyvault-profile-2019-03-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new KeyVaultManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new KeyVaultManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-keyvault-profile-2019-03-01-hybrid sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Farm-keyvault-profile-2019-03-01-hybrid%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/README.png) diff --git a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/package.json b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/package.json index 687d0d755e39..b8ca3c18b129 100644 --- a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/package.json +++ b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-keyvault-profile-2019-03-01-hybrid", "author": "Microsoft Corporation", "description": "KeyVaultManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/keyVaultManagementClient.js", "types": "./esm/keyVaultManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/src/keyVaultManagementClient.ts b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/src/keyVaultManagementClient.ts index acc9c9111a85..df0d83dcc5f3 100644 --- a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/src/keyVaultManagementClient.ts +++ b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/src/keyVaultManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,12 +24,17 @@ class KeyVaultManagementClient extends KeyVaultManagementClientContext { /** * Initializes a new instance of the KeyVaultManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.KeyVaultManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.KeyVaultManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.vaults = new operations.Vaults(this); diff --git a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/src/keyVaultManagementClientContext.ts b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/src/keyVaultManagementClientContext.ts index 2a5c055c2591..fa3f4a2eda7c 100644 --- a/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/src/keyVaultManagementClientContext.ts +++ b/sdk/keyvault/arm-keyvault-profile-2019-03-01-hybrid/src/keyVaultManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-keyvault-profile-2019-03-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class KeyVaultManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the KeyVaultManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.KeyVaultManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.KeyVaultManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/README.md b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/README.md index 9edd6a93ce82..0a94ae76e520 100644 --- a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/README.md +++ b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/README.md @@ -1,94 +1,103 @@ ## Azure KeyVaultManagementClient SDK for JavaScript -This package contains an isomorphic SDK for KeyVaultManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for KeyVaultManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-keyvault-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-keyvault-profile-2020-09-01-hybrid +npm install --save @azure/arm-keyvault-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get vaults as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get vaults as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { KeyVaultManagementClient, KeyVaultManagementModels, KeyVaultManagementMappers } from "@azure/arm-keyvault-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { KeyVaultManagementClient } = require("@azure/arm-keyvault-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new KeyVaultManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const vaultName = "testvaultName"; - client.vaults.get(resourceGroupName, vaultName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new KeyVaultManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const vaultName = "testvaultName"; +client.vaults.get(resourceGroupName, vaultName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get vaults as an example written in JavaScript. +#### browser - Authentication, client creation, and get vaults as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-keyvault-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/package.json b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/package.json index 95be678bbf1f..8aac7d183a58 100644 --- a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/package.json +++ b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-keyvault-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "KeyVaultManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/keyVaultManagementClient.js", "types": "./esm/keyVaultManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/src/keyVaultManagementClient.ts b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/src/keyVaultManagementClient.ts index d3630f0ec0ca..379bb4a40771 100644 --- a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/src/keyVaultManagementClient.ts +++ b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/src/keyVaultManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,12 +26,17 @@ class KeyVaultManagementClient extends KeyVaultManagementClientContext { /** * Initializes a new instance of the KeyVaultManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.KeyVaultManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.KeyVaultManagementClientOptions) { super(credentials, subscriptionId, options); this.vaults = new operations.Vaults(this); this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); diff --git a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/src/keyVaultManagementClientContext.ts b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/src/keyVaultManagementClientContext.ts index 114184640c28..559494fadc27 100644 --- a/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/src/keyVaultManagementClientContext.ts +++ b/sdk/keyvault/arm-keyvault-profile-2020-09-01-hybrid/src/keyVaultManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-keyvault-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class KeyVaultManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the KeyVaultManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.KeyVaultManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.KeyVaultManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/README.md b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/README.md index b0fcd6f94621..e7579c259462 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/README.md +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/README.md @@ -1,99 +1,109 @@ ## Azure SourceControlConfigurationClient SDK for JavaScript -This package contains an isomorphic SDK for SourceControlConfigurationClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SourceControlConfigurationClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-kubernetesconfiguration` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-kubernetesconfiguration +npm install --save @azure/arm-kubernetesconfiguration @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get sourceControlConfigurations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get sourceControlConfigurations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { SourceControlConfigurationClient } = require("@azure/arm-kubernetesconfiguration"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SourceControlConfigurationClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const clusterRp = "Microsoft.ContainerService"; - const clusterResourceName = "managedClusters"; - const clusterName = "testclusterName"; - const sourceControlConfigurationName = "testsourceControlConfigurationName"; - client.sourceControlConfigurations.get(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SourceControlConfigurationClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const clusterRp = "Microsoft.ContainerService"; +const clusterResourceName = "managedClusters"; +const clusterName = "testclusterName"; +const sourceControlConfigurationName = "testsourceControlConfigurationName"; +client.sourceControlConfigurations.get(resourceGroupName, clusterRp, clusterResourceName, clusterName, sourceControlConfigurationName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get sourceControlConfigurations as an example written in JavaScript. +#### browser - Authentication, client creation, and get sourceControlConfigurations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-kubernetesconfiguration sample - - + diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/package.json b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/package.json index cd2e2545f9ca..ce6a369c9b78 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/package.json +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-kubernetesconfiguration", "author": "Microsoft Corporation", "description": "SourceControlConfigurationClient Library with typescript type definitions for node.js and browser.", - "version": "3.0.0", + "version": "3.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/sourceControlConfigurationClient.js", "types": "./esm/sourceControlConfigurationClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/src/sourceControlConfigurationClient.ts b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/src/sourceControlConfigurationClient.ts index bd2cc20ebd69..635777cdfb10 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/src/sourceControlConfigurationClient.ts +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/src/sourceControlConfigurationClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -21,12 +22,17 @@ class SourceControlConfigurationClient extends SourceControlConfigurationClientC /** * Initializes a new instance of the SourceControlConfigurationClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000) * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SourceControlConfigurationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SourceControlConfigurationClientOptions) { super(credentials, subscriptionId, options); this.sourceControlConfigurations = new operations.SourceControlConfigurations(this); this.operations = new operations.Operations(this); diff --git a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/src/sourceControlConfigurationClientContext.ts b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/src/sourceControlConfigurationClientContext.ts index 2b240880b2e7..2146341558e2 100644 --- a/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/src/sourceControlConfigurationClientContext.ts +++ b/sdk/kubernetesconfiguration/arm-kubernetesconfiguration/src/sourceControlConfigurationClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-kubernetesconfiguration"; -const packageVersion = "3.0.0"; +const packageVersion = "3.1.0"; export class SourceControlConfigurationClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the SourceControlConfigurationClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000) * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SourceControlConfigurationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SourceControlConfigurationClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/kusto/arm-kusto/README.md b/sdk/kusto/arm-kusto/README.md index ecc394710389..8e5edac98482 100644 --- a/sdk/kusto/arm-kusto/README.md +++ b/sdk/kusto/arm-kusto/README.md @@ -1,67 +1,75 @@ ## Azure KustoManagementClient SDK for JavaScript -This package contains an isomorphic SDK for KustoManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for KustoManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-kusto` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-kusto +npm install --save @azure/arm-kusto @azure/identity ``` -### How to use +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. -#### nodejs - client creation and get clusters as an example written in TypeScript. +### How to use -##### Install @azure/ms-rest-nodeauth +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get clusters as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package - -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { KustoManagementClient } = require("@azure/arm-kusto"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth - .interactiveLogin() - .then((creds) => { - const client = new KustoManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const clusterName = "testclusterName"; - client.clusters.get(resourceGroupName, clusterName).then((result) => { - console.log("The result is:"); - console.log(result); - }); - }) - .catch((err) => { - console.error(err); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new KustoManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const clusterName = "testclusterName"; +client.clusters.get(resourceGroupName, clusterName).then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` -#### browser - Authentication, client creation and get clusters as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and get clusters as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html ```html @@ -69,34 +77,27 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-kusto sample - - + diff --git a/sdk/kusto/arm-kusto/package.json b/sdk/kusto/arm-kusto/package.json index 5418efffbbc6..bada8a56893c 100644 --- a/sdk/kusto/arm-kusto/package.json +++ b/sdk/kusto/arm-kusto/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-kusto", "author": "Microsoft Corporation", "description": "KustoManagementClient Library with typescript type definitions for node.js and browser.", - "version": "6.1.0", + "version": "6.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/kustoManagementClient.js", "types": "./esm/kustoManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/kusto/arm-kusto/src/kustoManagementClient.ts b/sdk/kusto/arm-kusto/src/kustoManagementClient.ts index 9131be10fd4c..4d4c284db056 100644 --- a/sdk/kusto/arm-kusto/src/kustoManagementClient.ts +++ b/sdk/kusto/arm-kusto/src/kustoManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -27,13 +28,18 @@ class KustoManagementClient extends KustoManagementClientContext { /** * Initializes a new instance of the KustoManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.KustoManagementClientOptions ) { diff --git a/sdk/kusto/arm-kusto/src/kustoManagementClientContext.ts b/sdk/kusto/arm-kusto/src/kustoManagementClientContext.ts index c7cc3b8f0a69..c60aa780b612 100644 --- a/sdk/kusto/arm-kusto/src/kustoManagementClientContext.ts +++ b/sdk/kusto/arm-kusto/src/kustoManagementClientContext.ts @@ -9,25 +9,31 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-kusto"; -const packageVersion = "6.1.0"; +const packageVersion = "6.2.0"; export class KustoManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the KustoManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.KustoManagementClientOptions ) { diff --git a/sdk/labservices/arm-labservices/README.md b/sdk/labservices/arm-labservices/README.md index 0ae4beb85ea4..f6d820422be6 100644 --- a/sdk/labservices/arm-labservices/README.md +++ b/sdk/labservices/arm-labservices/README.md @@ -1,89 +1,100 @@ ## Azure ManagedLabsClient SDK for JavaScript -This package contains an isomorphic SDK for ManagedLabsClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagedLabsClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-labservices` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-labservices +npm install --save @azure/arm-labservices @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list providerOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list providerOperations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ManagedLabsClient, ManagedLabsModels, ManagedLabsMappers } from "@azure/arm-labservices"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ManagedLabsClient } = require("@azure/arm-labservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ManagedLabsClient(creds, subscriptionId); - client.providerOperations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ManagedLabsClient(creds, subscriptionId); + +client.providerOperations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list providerOperations as an example written in JavaScript. +#### browser - Authentication, client creation, and list providerOperations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-labservices sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Flabservices%2Farm-labservices%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/labservices/arm-labservices/README.png) diff --git a/sdk/labservices/arm-labservices/package.json b/sdk/labservices/arm-labservices/package.json index 9ee0301ddad0..48e62c68d2c6 100644 --- a/sdk/labservices/arm-labservices/package.json +++ b/sdk/labservices/arm-labservices/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-labservices", "author": "Microsoft Corporation", "description": "ManagedLabsClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.1", - "@azure/ms-rest-js": "^1.2.6", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/managedLabsClient.js", "types": "./esm/managedLabsClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/labservices/arm-labservices/src/managedLabsClient.ts b/sdk/labservices/arm-labservices/src/managedLabsClient.ts index 868f64b914bb..be1b5e2c2ca6 100644 --- a/sdk/labservices/arm-labservices/src/managedLabsClient.ts +++ b/sdk/labservices/arm-labservices/src/managedLabsClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -29,11 +30,16 @@ class ManagedLabsClient extends ManagedLabsClientContext { /** * Initializes a new instance of the ManagedLabsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagedLabsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagedLabsClientOptions) { super(credentials, subscriptionId, options); this.providerOperations = new operations.ProviderOperations(this); this.globalUsers = new operations.GlobalUsers(this); diff --git a/sdk/labservices/arm-labservices/src/managedLabsClientContext.ts b/sdk/labservices/arm-labservices/src/managedLabsClientContext.ts index cc87576b4330..32e6a4383220 100644 --- a/sdk/labservices/arm-labservices/src/managedLabsClientContext.ts +++ b/sdk/labservices/arm-labservices/src/managedLabsClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-labservices"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ManagedLabsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the ManagedLabsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagedLabsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagedLabsClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From b7ed37e5af1f14fbe11735f5ce448ffc40aeea0b Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Thu, 8 Jul 2021 09:06:53 +0800 Subject: [PATCH 120/134] identity support 20 (#16253) --- sdk/links/arm-links/README.md | 105 +++++++++-------- sdk/links/arm-links/package.json | 9 +- .../arm-links/src/managementLinkClient.ts | 10 +- .../src/managementLinkClientContext.ts | 14 ++- .../README.md | 104 ++++++++-------- .../package.json | 9 +- .../src/managementLockClient.ts | 10 +- .../src/managementLockClientContext.ts | 14 ++- .../README.md | 106 +++++++++-------- .../package.json | 9 +- .../src/managementLockClient.ts | 10 +- .../src/managementLockClientContext.ts | 14 ++- sdk/locks/arm-locks/README.md | 105 +++++++++-------- sdk/locks/arm-locks/package.json | 9 +- .../arm-locks/src/managementLockClient.ts | 10 +- .../src/managementLockClientContext.ts | 14 ++- sdk/logic/arm-logic/README.md | 111 ++++++++++-------- sdk/logic/arm-logic/package.json | 9 +- .../arm-logic/src/logicManagementClient.ts | 10 +- .../src/logicManagementClientContext.ts | 14 ++- .../arm-commitmentplans/README.md | 108 +++++++++-------- .../arm-commitmentplans/package.json | 9 +- .../azureMLCommitmentPlansManagementClient.ts | 10 +- ...LCommitmentPlansManagementClientContext.ts | 14 ++- sdk/machinelearning/arm-webservices/README.md | 108 +++++++++-------- .../arm-webservices/package.json | 9 +- .../src/azureMLWebServicesManagementClient.ts | 10 +- ...ureMLWebServicesManagementClientContext.ts | 14 ++- sdk/machinelearning/arm-workspaces/README.md | 108 +++++++++-------- .../arm-workspaces/package.json | 9 +- ...chineLearningWorkspacesManagementClient.ts | 10 +- ...arningWorkspacesManagementClientContext.ts | 14 ++- .../arm-machinelearningcompute/README.md | 108 +++++++++-------- .../arm-machinelearningcompute/package.json | 9 +- .../machineLearningComputeManagementClient.ts | 10 +- ...eLearningComputeManagementClientContext.ts | 14 ++- .../README.md | 108 +++++++++-------- .../package.json | 9 +- .../src/mLTeamAccountManagementClient.ts | 10 +- .../mLTeamAccountManagementClientContext.ts | 14 ++- 40 files changed, 816 insertions(+), 585 deletions(-) diff --git a/sdk/links/arm-links/README.md b/sdk/links/arm-links/README.md index c03709a56234..53f7d981ae63 100644 --- a/sdk/links/arm-links/README.md +++ b/sdk/links/arm-links/README.md @@ -1,89 +1,100 @@ ## Azure ManagementLinkClient SDK for JavaScript -This package contains an isomorphic SDK for ManagementLinkClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagementLinkClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-links` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-links +npm install --save @azure/arm-links @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ManagementLinkClient, ManagementLinkModels, ManagementLinkMappers } from "@azure/arm-links"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ManagementLinkClient } = require("@azure/arm-links"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ManagementLinkClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ManagementLinkClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-links sample - - + @@ -95,4 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Flinks%2Farm-links%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/links/arm-links/README.png) diff --git a/sdk/links/arm-links/package.json b/sdk/links/arm-links/package.json index c75839f25ffd..289d12fb5c30 100644 --- a/sdk/links/arm-links/package.json +++ b/sdk/links/arm-links/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-links", "author": "Microsoft Corporation", "description": "ManagementLinkClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.2", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/managementLinkClient.js", "types": "./esm/managementLinkClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/links/arm-links/src/managementLinkClient.ts b/sdk/links/arm-links/src/managementLinkClient.ts index e501aa9f38a6..029201584390 100644 --- a/sdk/links/arm-links/src/managementLinkClient.ts +++ b/sdk/links/arm-links/src/managementLinkClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class ManagementLinkClient extends ManagementLinkClientContext { /** * Initializes a new instance of the ManagementLinkClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagementLinkClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagementLinkClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.resourceLinks = new operations.ResourceLinks(this); diff --git a/sdk/links/arm-links/src/managementLinkClientContext.ts b/sdk/links/arm-links/src/managementLinkClientContext.ts index 429c7805a4f8..82de71b0c6ef 100644 --- a/sdk/links/arm-links/src/managementLinkClientContext.ts +++ b/sdk/links/arm-links/src/managementLinkClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-links"; -const packageVersion = "1.0.2"; +const packageVersion = "1.1.0"; export class ManagementLinkClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ManagementLinkClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagementLinkClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagementLinkClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/README.md b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/README.md index 5bab253c9b00..10cbf9949462 100644 --- a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/README.md +++ b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure ManagementLockClient SDK for JavaScript -This package contains an isomorphic SDK for ManagementLockClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagementLockClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-locks-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-locks-profile-2020-09-01-hybrid +npm install --save @azure/arm-locks-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list authorizationOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list authorizationOperations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ManagementLockClient, ManagementLockModels, ManagementLockMappers } from "@azure/arm-locks-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ManagementLockClient } = require("@azure/arm-locks-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ManagementLockClient(creds, subscriptionId); - client.authorizationOperations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ManagementLockClient(creds, subscriptionId); + +client.authorizationOperations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list authorizationOperations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list authorizationOperations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-locks-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json index 54633bf79bed..49e77aa33f55 100644 --- a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json +++ b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-locks-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "ManagementLockClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/managementLockClient.js", "types": "./esm/managementLockClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/src/managementLockClient.ts b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/src/managementLockClient.ts index 8f3ee196f5d8..e732ae6e8de1 100644 --- a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/src/managementLockClient.ts +++ b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/src/managementLockClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class ManagementLockClient extends ManagementLockClientContext { /** * Initializes a new instance of the ManagementLockClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagementLockClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagementLockClientOptions) { super(credentials, subscriptionId, options); this.authorizationOperations = new operations.AuthorizationOperations(this); this.managementLocks = new operations.ManagementLocks(this); diff --git a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/src/managementLockClientContext.ts b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/src/managementLockClientContext.ts index 166a44ef478f..4a0e6e1d1aad 100644 --- a/sdk/locks/arm-locks-profile-2020-09-01-hybrid/src/managementLockClientContext.ts +++ b/sdk/locks/arm-locks-profile-2020-09-01-hybrid/src/managementLockClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-locks-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ManagementLockClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ManagementLockClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagementLockClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagementLockClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/README.md b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/README.md index 6eeb5d2c6f84..ae164358e962 100644 --- a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/README.md +++ b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/README.md @@ -1,89 +1,100 @@ ## Azure ManagementLockClient SDK for JavaScript -This package contains an isomorphic SDK for ManagementLockClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagementLockClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-locks-profile-hybrid-2019-03-01` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-locks-profile-hybrid-2019-03-01 +npm install --save @azure/arm-locks-profile-hybrid-2019-03-01 @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list authorizationOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list authorizationOperations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ManagementLockClient, ManagementLockModels, ManagementLockMappers } from "@azure/arm-locks-profile-hybrid-2019-03-01"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ManagementLockClient } = require("@azure/arm-locks-profile-hybrid-2019-03-01"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ManagementLockClient(creds, subscriptionId); - client.authorizationOperations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ManagementLockClient(creds, subscriptionId); + +client.authorizationOperations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list authorizationOperations as an example written in JavaScript. +#### browser - Authentication, client creation, and list authorizationOperations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-locks-profile-hybrid-2019-03-01 sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Flocks%2Farm-locks-profile-hybrid-2019-03-01%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/locks/arm-locks-profile-hybrid-2019-03-01/README.png) diff --git a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json index 91a8d1492e1e..ba631f273f35 100644 --- a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json +++ b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-locks-profile-hybrid-2019-03-01", "author": "Microsoft Corporation", "description": "ManagementLockClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/managementLockClient.js", "types": "./esm/managementLockClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/src/managementLockClient.ts b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/src/managementLockClient.ts index 8f3ee196f5d8..e732ae6e8de1 100644 --- a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/src/managementLockClient.ts +++ b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/src/managementLockClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class ManagementLockClient extends ManagementLockClientContext { /** * Initializes a new instance of the ManagementLockClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagementLockClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagementLockClientOptions) { super(credentials, subscriptionId, options); this.authorizationOperations = new operations.AuthorizationOperations(this); this.managementLocks = new operations.ManagementLocks(this); diff --git a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/src/managementLockClientContext.ts b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/src/managementLockClientContext.ts index 93df77252b7f..a1356b54c43c 100644 --- a/sdk/locks/arm-locks-profile-hybrid-2019-03-01/src/managementLockClientContext.ts +++ b/sdk/locks/arm-locks-profile-hybrid-2019-03-01/src/managementLockClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-locks-profile-hybrid-2019-03-01"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ManagementLockClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ManagementLockClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagementLockClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagementLockClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/locks/arm-locks/README.md b/sdk/locks/arm-locks/README.md index 3d40a1ffb0ee..cb93d1272533 100644 --- a/sdk/locks/arm-locks/README.md +++ b/sdk/locks/arm-locks/README.md @@ -1,89 +1,100 @@ ## Azure ManagementLockClient SDK for JavaScript -This package contains an isomorphic SDK for ManagementLockClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagementLockClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-locks` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-locks +npm install --save @azure/arm-locks @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list authorizationOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list authorizationOperations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ManagementLockClient, ManagementLockModels, ManagementLockMappers } from "@azure/arm-locks"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ManagementLockClient } = require("@azure/arm-locks"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ManagementLockClient(creds, subscriptionId); - client.authorizationOperations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ManagementLockClient(creds, subscriptionId); + +client.authorizationOperations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list authorizationOperations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list authorizationOperations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-locks sample - - + @@ -95,4 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Flocks%2Farm-locks%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/locks/arm-locks/README.png) diff --git a/sdk/locks/arm-locks/package.json b/sdk/locks/arm-locks/package.json index 00370cc26347..04b2b5689fe1 100644 --- a/sdk/locks/arm-locks/package.json +++ b/sdk/locks/arm-locks/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-locks", "author": "Microsoft Corporation", "description": "ManagementLockClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/managementLockClient.js", "types": "./esm/managementLockClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/locks/arm-locks/src/managementLockClient.ts b/sdk/locks/arm-locks/src/managementLockClient.ts index 8f3ee196f5d8..e732ae6e8de1 100644 --- a/sdk/locks/arm-locks/src/managementLockClient.ts +++ b/sdk/locks/arm-locks/src/managementLockClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class ManagementLockClient extends ManagementLockClientContext { /** * Initializes a new instance of the ManagementLockClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagementLockClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagementLockClientOptions) { super(credentials, subscriptionId, options); this.authorizationOperations = new operations.AuthorizationOperations(this); this.managementLocks = new operations.ManagementLocks(this); diff --git a/sdk/locks/arm-locks/src/managementLockClientContext.ts b/sdk/locks/arm-locks/src/managementLockClientContext.ts index 1614234fb5b2..49465f512f87 100644 --- a/sdk/locks/arm-locks/src/managementLockClientContext.ts +++ b/sdk/locks/arm-locks/src/managementLockClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-locks"; -const packageVersion = "1.1.0"; +const packageVersion = "1.2.0"; export class ManagementLockClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ManagementLockClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagementLockClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagementLockClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/logic/arm-logic/README.md b/sdk/logic/arm-logic/README.md index c12bcff569c3..2bfd3599e014 100644 --- a/sdk/logic/arm-logic/README.md +++ b/sdk/logic/arm-logic/README.md @@ -1,94 +1,103 @@ ## Azure LogicManagementClient SDK for JavaScript -This package contains an isomorphic SDK for LogicManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for LogicManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-logic` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-logic +npm install --save @azure/arm-logic @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listBySubscription workflows as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listBySubscription workflows as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { LogicManagementClient, LogicManagementModels, LogicManagementMappers } from "@azure/arm-logic"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { LogicManagementClient } = require("@azure/arm-logic"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new LogicManagementClient(creds, subscriptionId); - const top = 1; - const filter = "testfilter"; - client.workflows.listBySubscription(top, filter).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new LogicManagementClient(creds, subscriptionId); +const top = 1; +const filter = "testfilter"; +client.workflows.listBySubscription(top, filter).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listBySubscription workflows as an example written in JavaScript. +#### browser - Authentication, client creation, and listBySubscription workflows as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-logic sample - - + diff --git a/sdk/logic/arm-logic/package.json b/sdk/logic/arm-logic/package.json index d562943fe641..90eae7c97aa0 100644 --- a/sdk/logic/arm-logic/package.json +++ b/sdk/logic/arm-logic/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-logic", "author": "Microsoft Corporation", "description": "LogicManagementClient Library with typescript type definitions for node.js and browser.", - "version": "7.0.0", + "version": "7.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/logicManagementClient.js", "types": "./esm/logicManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/logic/arm-logic/src/logicManagementClient.ts b/sdk/logic/arm-logic/src/logicManagementClient.ts index 55dca04b4fe1..ce242b941d5e 100644 --- a/sdk/logic/arm-logic/src/logicManagementClient.ts +++ b/sdk/logic/arm-logic/src/logicManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -47,11 +48,16 @@ class LogicManagementClient extends LogicManagementClientContext { /** * Initializes a new instance of the LogicManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription id. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.LogicManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.LogicManagementClientOptions) { super(credentials, subscriptionId, options); this.workflows = new operations.Workflows(this); this.workflowVersions = new operations.WorkflowVersions(this); diff --git a/sdk/logic/arm-logic/src/logicManagementClientContext.ts b/sdk/logic/arm-logic/src/logicManagementClientContext.ts index 0fc08b13b4d0..294f0ae254dd 100644 --- a/sdk/logic/arm-logic/src/logicManagementClientContext.ts +++ b/sdk/logic/arm-logic/src/logicManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-logic"; -const packageVersion = "7.0.0"; +const packageVersion = "7.1.0"; export class LogicManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the LogicManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription id. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.LogicManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.LogicManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/machinelearning/arm-commitmentplans/README.md b/sdk/machinelearning/arm-commitmentplans/README.md index 093fe09dcd50..dcec8cf6c4a6 100644 --- a/sdk/machinelearning/arm-commitmentplans/README.md +++ b/sdk/machinelearning/arm-commitmentplans/README.md @@ -1,89 +1,100 @@ ## Azure AzureMLCommitmentPlansManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AzureMLCommitmentPlansManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMLCommitmentPlansManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-commitmentplans +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-commitmentplans` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-commitmentplans @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list skus as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list skus as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AzureMLCommitmentPlansManagementClient, AzureMLCommitmentPlansManagementModels, AzureMLCommitmentPlansManagementMappers } from "@azure/arm-commitmentplans"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AzureMLCommitmentPlansManagementClient } = require("@azure/arm-commitmentplans"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureMLCommitmentPlansManagementClient(creds, subscriptionId); - client.skus.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureMLCommitmentPlansManagementClient(creds, subscriptionId); + +client.skus.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list skus as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list skus as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-commitmentplans sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmachinelearning%2Farm-commitmentplans%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/machinelearning/arm-commitmentplans/README.png) diff --git a/sdk/machinelearning/arm-commitmentplans/package.json b/sdk/machinelearning/arm-commitmentplans/package.json index f278f292273b..221f53189aed 100644 --- a/sdk/machinelearning/arm-commitmentplans/package.json +++ b/sdk/machinelearning/arm-commitmentplans/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-commitmentplans", "author": "Microsoft Corporation", "description": "AzureMLCommitmentPlansManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.2.0", + "version": "1.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureMLCommitmentPlansManagementClient.js", "types": "./esm/azureMLCommitmentPlansManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/machinelearning/arm-commitmentplans/src/azureMLCommitmentPlansManagementClient.ts b/sdk/machinelearning/arm-commitmentplans/src/azureMLCommitmentPlansManagementClient.ts index a1fc34d00224..e0f0723ae1d2 100644 --- a/sdk/machinelearning/arm-commitmentplans/src/azureMLCommitmentPlansManagementClient.ts +++ b/sdk/machinelearning/arm-commitmentplans/src/azureMLCommitmentPlansManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,11 +25,16 @@ class AzureMLCommitmentPlansManagementClient extends AzureMLCommitmentPlansManag /** * Initializes a new instance of the AzureMLCommitmentPlansManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMLCommitmentPlansManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMLCommitmentPlansManagementClientOptions) { super(credentials, subscriptionId, options); this.skus = new operations.Skus(this); this.commitmentAssociations = new operations.CommitmentAssociations(this); diff --git a/sdk/machinelearning/arm-commitmentplans/src/azureMLCommitmentPlansManagementClientContext.ts b/sdk/machinelearning/arm-commitmentplans/src/azureMLCommitmentPlansManagementClientContext.ts index 3293f19add9d..7d8cc7e04338 100644 --- a/sdk/machinelearning/arm-commitmentplans/src/azureMLCommitmentPlansManagementClientContext.ts +++ b/sdk/machinelearning/arm-commitmentplans/src/azureMLCommitmentPlansManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-commitmentplans"; -const packageVersion = "0.1.0"; +const packageVersion = "1.3.0"; export class AzureMLCommitmentPlansManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureMLCommitmentPlansManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMLCommitmentPlansManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMLCommitmentPlansManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/machinelearning/arm-webservices/README.md b/sdk/machinelearning/arm-webservices/README.md index d7a620f5e100..4c24e3b16b89 100644 --- a/sdk/machinelearning/arm-webservices/README.md +++ b/sdk/machinelearning/arm-webservices/README.md @@ -1,89 +1,100 @@ ## Azure AzureMLWebServicesManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AzureMLWebServicesManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMLWebServicesManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-webservices +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-webservices` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-webservices @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AzureMLWebServicesManagementClient, AzureMLWebServicesManagementModels, AzureMLWebServicesManagementMappers } from "@azure/arm-webservices"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AzureMLWebServicesManagementClient } = require("@azure/arm-webservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureMLWebServicesManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureMLWebServicesManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-webservices sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmachinelearning%2Farm-webservices%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/machinelearning/arm-webservices/README.png) diff --git a/sdk/machinelearning/arm-webservices/package.json b/sdk/machinelearning/arm-webservices/package.json index 1f105ed79474..d41342037b38 100644 --- a/sdk/machinelearning/arm-webservices/package.json +++ b/sdk/machinelearning/arm-webservices/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-webservices", "author": "Microsoft Corporation", "description": "AzureMLWebServicesManagementClient Library with typescript type definitions for node.js and browser.", - "version": "0.1.1", + "version": "0.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureMLWebServicesManagementClient.js", "types": "./esm/azureMLWebServicesManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClient.ts b/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClient.ts index a90d5d94b74e..b3fe24bbf103 100644 --- a/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClient.ts +++ b/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class AzureMLWebServicesManagementClient extends AzureMLWebServicesManagementCli /** * Initializes a new instance of the AzureMLWebServicesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMLWebServicesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMLWebServicesManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.webServices = new operations.WebServices(this); diff --git a/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClientContext.ts b/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClientContext.ts index f11c651206a2..e4fbc627e6c7 100644 --- a/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClientContext.ts +++ b/sdk/machinelearning/arm-webservices/src/azureMLWebServicesManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-webservices"; -const packageVersion = "0.1.1"; +const packageVersion = "0.2.0"; export class AzureMLWebServicesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureMLWebServicesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMLWebServicesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMLWebServicesManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/machinelearning/arm-workspaces/README.md b/sdk/machinelearning/arm-workspaces/README.md index 53ffced85a65..d173c0c1138a 100644 --- a/sdk/machinelearning/arm-workspaces/README.md +++ b/sdk/machinelearning/arm-workspaces/README.md @@ -1,89 +1,100 @@ ## Azure MachineLearningWorkspacesManagementClient SDK for JavaScript -This package contains an isomorphic SDK for MachineLearningWorkspacesManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MachineLearningWorkspacesManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-workspaces +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-workspaces` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-workspaces @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MachineLearningWorkspacesManagementClient, MachineLearningWorkspacesManagementModels, MachineLearningWorkspacesManagementMappers } from "@azure/arm-workspaces"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MachineLearningWorkspacesManagementClient } = require("@azure/arm-workspaces"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MachineLearningWorkspacesManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MachineLearningWorkspacesManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-workspaces sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmachinelearning%2Farm-workspaces%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/machinelearning/arm-workspaces/README.png) diff --git a/sdk/machinelearning/arm-workspaces/package.json b/sdk/machinelearning/arm-workspaces/package.json index ed27d7b1f584..138d1119824a 100644 --- a/sdk/machinelearning/arm-workspaces/package.json +++ b/sdk/machinelearning/arm-workspaces/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-workspaces", "author": "Microsoft Corporation", "description": "MachineLearningWorkspacesManagementClient Library with typescript type definitions for node.js and browser.", - "version": "0.1.1", + "version": "0.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/machineLearningWorkspacesManagementClient.js", "types": "./esm/machineLearningWorkspacesManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/machinelearning/arm-workspaces/src/machineLearningWorkspacesManagementClient.ts b/sdk/machinelearning/arm-workspaces/src/machineLearningWorkspacesManagementClient.ts index c058f7d5dc38..e7c54e17b102 100644 --- a/sdk/machinelearning/arm-workspaces/src/machineLearningWorkspacesManagementClient.ts +++ b/sdk/machinelearning/arm-workspaces/src/machineLearningWorkspacesManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class MachineLearningWorkspacesManagementClient extends MachineLearningWorkspace /** * Initializes a new instance of the MachineLearningWorkspacesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Microsoft Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.workspaces = new operations.Workspaces(this); diff --git a/sdk/machinelearning/arm-workspaces/src/machineLearningWorkspacesManagementClientContext.ts b/sdk/machinelearning/arm-workspaces/src/machineLearningWorkspacesManagementClientContext.ts index 10b3d8538241..a459ce44e24f 100644 --- a/sdk/machinelearning/arm-workspaces/src/machineLearningWorkspacesManagementClientContext.ts +++ b/sdk/machinelearning/arm-workspaces/src/machineLearningWorkspacesManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-workspaces"; -const packageVersion = "0.1.1"; +const packageVersion = "0.2.0"; export class MachineLearningWorkspacesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MachineLearningWorkspacesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Microsoft Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/README.md b/sdk/machinelearningcompute/arm-machinelearningcompute/README.md index 8a1c8bc5efa1..7c79f923624d 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/README.md +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/README.md @@ -1,93 +1,103 @@ ## Azure MachineLearningComputeManagementClient SDK for JavaScript -This package contains an isomorphic SDK for MachineLearningComputeManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MachineLearningComputeManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-machinelearningcompute` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-machinelearningcompute +npm install --save @azure/arm-machinelearningcompute @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get operationalizationClusters as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get operationalizationClusters as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { MachineLearningComputeManagementClient } = require("@azure/arm-machinelearningcompute"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MachineLearningComputeManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const clusterName = "testclusterName"; - client.operationalizationClusters.get(resourceGroupName, clusterName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MachineLearningComputeManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const clusterName = "testclusterName"; +client.operationalizationClusters.get(resourceGroupName, clusterName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get operationalizationClusters as an example written in JavaScript. +#### browser - Authentication, client creation, and get operationalizationClusters as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-machinelearningcompute sample - - + diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/package.json b/sdk/machinelearningcompute/arm-machinelearningcompute/package.json index bf49b90c74d0..3078ef0617eb 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/package.json +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-machinelearningcompute", "author": "Microsoft Corporation", "description": "MachineLearningComputeManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/machineLearningComputeManagementClient.js", "types": "./esm/machineLearningComputeManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts index 16b9439a801c..9663696e37d9 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -21,11 +22,16 @@ class MachineLearningComputeManagementClient extends MachineLearningComputeManag /** * Initializes a new instance of the MachineLearningComputeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningComputeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MachineLearningComputeManagementClientOptions) { super(credentials, subscriptionId, options); this.operationalizationClusters = new operations.OperationalizationClusters(this); this.machineLearningCompute = new operations.MachineLearningCompute(this); diff --git a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClientContext.ts b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClientContext.ts index d914d3831fcf..0ce0e39e3b72 100644 --- a/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClientContext.ts +++ b/sdk/machinelearningcompute/arm-machinelearningcompute/src/machineLearningComputeManagementClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-machinelearningcompute"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class MachineLearningComputeManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MachineLearningComputeManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MachineLearningComputeManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MachineLearningComputeManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/README.md b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/README.md index 9b19177c4a80..768e043d08ef 100644 --- a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/README.md +++ b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/README.md @@ -1,89 +1,100 @@ ## Azure MLTeamAccountManagementClient SDK for JavaScript -This package contains an isomorphic SDK for MLTeamAccountManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MLTeamAccountManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-machinelearningexperimentation +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-machinelearningexperimentation` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-machinelearningexperimentation @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MLTeamAccountManagementClient, MLTeamAccountManagementModels, MLTeamAccountManagementMappers } from "@azure/arm-machinelearningexperimentation"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MLTeamAccountManagementClient } = require("@azure/arm-machinelearningexperimentation"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MLTeamAccountManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MLTeamAccountManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-machinelearningexperimentation sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmachinelearningexperimentation%2Farm-machinelearningexperimentation%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/README.png) diff --git a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/package.json b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/package.json index 9b6aed6ca161..75f9523c8a81 100644 --- a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/package.json +++ b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-machinelearningexperimentation", "author": "Microsoft Corporation", "description": "MLTeamAccountManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/mLTeamAccountManagementClient.js", "types": "./esm/mLTeamAccountManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/src/mLTeamAccountManagementClient.ts b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/src/mLTeamAccountManagementClient.ts index 32fbbae3b408..5f7d61617147 100644 --- a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/src/mLTeamAccountManagementClient.ts +++ b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/src/mLTeamAccountManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,11 +25,16 @@ class MLTeamAccountManagementClient extends MLTeamAccountManagementClientContext /** * Initializes a new instance of the MLTeamAccountManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Microsoft Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MLTeamAccountManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MLTeamAccountManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.accounts = new operations.Accounts(this); diff --git a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/src/mLTeamAccountManagementClientContext.ts b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/src/mLTeamAccountManagementClientContext.ts index 8c047305aa14..777433892d85 100644 --- a/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/src/mLTeamAccountManagementClientContext.ts +++ b/sdk/machinelearningexperimentation/arm-machinelearningexperimentation/src/mLTeamAccountManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-machinelearningexperimentation"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class MLTeamAccountManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MLTeamAccountManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Microsoft Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MLTeamAccountManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MLTeamAccountManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From c6fb10731925788b7ee4a9be5d63011ec9595eea Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Thu, 8 Jul 2021 09:07:16 +0800 Subject: [PATCH 121/134] identity support 30 (#16254) --- .../arm-machinelearningservices/README.md | 101 ++++++++------- .../arm-machinelearningservices/package.json | 9 +- .../src/azureMachineLearningWorkspaces.ts | 10 +- .../azureMachineLearningWorkspacesContext.ts | 14 +- .../arm-managedapplications/README.md | 105 ++++++++------- .../arm-managedapplications/package.json | 9 +- .../src/managedApplicationClient.ts | 10 +- .../src/managedApplicationClientContext.ts | 14 +- .../arm-managementgroups/README.md | 115 +++++++++-------- .../arm-managementgroups/package.json | 9 +- .../src/managementGroupsAPI.ts | 10 +- .../src/managementGroupsAPIContext.ts | 14 +- .../arm-managementpartner/README.md | 111 ++++++++-------- .../arm-managementpartner/package.json | 9 +- .../aCEProvisioningManagementPartnerAPI.ts | 10 +- ...ProvisioningManagementPartnerAPIContext.ts | 14 +- sdk/maps/arm-maps/README.md | 121 +++++++++--------- sdk/maps/arm-maps/package.json | 9 +- .../arm-maps/src/azureMapsManagementClient.ts | 10 +- .../src/azureMapsManagementClientContext.ts | 14 +- sdk/mariadb/arm-mariadb/README.md | 112 ++++++++-------- sdk/mariadb/arm-mariadb/package.json | 9 +- .../src/mariaDBManagementClient.ts | 10 +- .../src/mariaDBManagementClientContext.ts | 14 +- .../arm-marketplaceordering/README.md | 115 +++++++++-------- .../arm-marketplaceordering/package.json | 9 +- .../src/marketplaceOrderingAgreements.ts | 10 +- .../marketplaceOrderingAgreementsContext.ts | 14 +- sdk/mediaservices/arm-mediaservices/README.md | 108 +++++++++------- .../arm-mediaservices/package.json | 9 +- .../src/azureMediaServices.ts | 10 +- .../src/azureMediaServicesContext.ts | 14 +- sdk/migrate/arm-migrate/README.md | 111 ++++++++-------- sdk/migrate/arm-migrate/package.json | 9 +- sdk/migrate/arm-migrate/src/azureMigrate.ts | 10 +- .../arm-migrate/src/azureMigrateContext.ts | 14 +- sdk/mixedreality/arm-mixedreality/README.md | 101 ++++++++------- .../arm-mixedreality/package.json | 9 +- .../src/mixedRealityClient.ts | 10 +- .../src/mixedRealityClientContext.ts | 14 +- 40 files changed, 825 insertions(+), 605 deletions(-) diff --git a/sdk/machinelearningservices/arm-machinelearningservices/README.md b/sdk/machinelearningservices/arm-machinelearningservices/README.md index cde11f4dfef7..33d5aa2d1e54 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/README.md +++ b/sdk/machinelearningservices/arm-machinelearningservices/README.md @@ -1,89 +1,100 @@ ## Azure AzureMachineLearningWorkspaces SDK for JavaScript -This package contains an isomorphic SDK for AzureMachineLearningWorkspaces. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMachineLearningWorkspaces. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-machinelearningservices` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-machinelearningservices +npm install --save @azure/arm-machinelearningservices @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { AzureMachineLearningWorkspaces } = require("@azure/arm-machinelearningservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureMachineLearningWorkspaces(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureMachineLearningWorkspaces(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-machinelearningservices sample - - + diff --git a/sdk/machinelearningservices/arm-machinelearningservices/package.json b/sdk/machinelearningservices/arm-machinelearningservices/package.json index 6c9a22e7b32c..058f1d98c45b 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/package.json +++ b/sdk/machinelearningservices/arm-machinelearningservices/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-machinelearningservices", "author": "Microsoft Corporation", "description": "AzureMachineLearningWorkspaces Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureMachineLearningWorkspaces.js", "types": "./esm/azureMachineLearningWorkspaces.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspaces.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspaces.ts index 4cc5d45384af..927e99eb1220 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspaces.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspaces.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -31,11 +32,16 @@ class AzureMachineLearningWorkspaces extends AzureMachineLearningWorkspacesConte /** * Initializes a new instance of the AzureMachineLearningWorkspaces class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMachineLearningWorkspacesOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMachineLearningWorkspacesOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.workspaces = new operations.Workspaces(this); diff --git a/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspacesContext.ts b/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspacesContext.ts index 5dfaeebdef9f..4d352d0f53f4 100644 --- a/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspacesContext.ts +++ b/sdk/machinelearningservices/arm-machinelearningservices/src/azureMachineLearningWorkspacesContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-machinelearningservices"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class AzureMachineLearningWorkspacesContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureMachineLearningWorkspaces class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMachineLearningWorkspacesOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMachineLearningWorkspacesOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/managedapplications/arm-managedapplications/README.md b/sdk/managedapplications/arm-managedapplications/README.md index 9b9e2851fe5e..974bf97f698f 100644 --- a/sdk/managedapplications/arm-managedapplications/README.md +++ b/sdk/managedapplications/arm-managedapplications/README.md @@ -1,89 +1,100 @@ ## Azure ManagedApplicationClient SDK for JavaScript -This package contains an isomorphic SDK for ManagedApplicationClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagedApplicationClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-managedapplications` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-managedapplications +npm install --save @azure/arm-managedapplications @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listOperations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and listOperations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ManagedApplicationClient, ManagedApplicationModels, ManagedApplicationMappers } from "@azure/arm-managedapplications"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ManagedApplicationClient } = require("@azure/arm-managedapplications"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ManagedApplicationClient(creds, subscriptionId); - client.listOperations().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ManagedApplicationClient(creds, subscriptionId); + +client.listOperations().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listOperations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and listOperations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-managedapplications sample - - + @@ -95,4 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmanagedapplications%2Farm-managedapplications%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/managedapplications/arm-managedapplications/README.png) diff --git a/sdk/managedapplications/arm-managedapplications/package.json b/sdk/managedapplications/arm-managedapplications/package.json index 79861c572083..100328248251 100644 --- a/sdk/managedapplications/arm-managedapplications/package.json +++ b/sdk/managedapplications/arm-managedapplications/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-managedapplications", "author": "Microsoft Corporation", "description": "ManagedApplicationClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.2", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/managedApplicationClient.js", "types": "./esm/managedApplicationClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/managedapplications/arm-managedapplications/src/managedApplicationClient.ts b/sdk/managedapplications/arm-managedapplications/src/managedApplicationClient.ts index 2897a8be4c98..0c6f3320edf5 100644 --- a/sdk/managedapplications/arm-managedapplications/src/managedApplicationClient.ts +++ b/sdk/managedapplications/arm-managedapplications/src/managedApplicationClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -23,11 +24,16 @@ class ManagedApplicationClient extends ManagedApplicationClientContext { /** * Initializes a new instance of the ManagedApplicationClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagedApplicationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagedApplicationClientOptions) { super(credentials, subscriptionId, options); this.appliances = new operations.Appliances(this); this.applianceDefinitions = new operations.ApplianceDefinitions(this); diff --git a/sdk/managedapplications/arm-managedapplications/src/managedApplicationClientContext.ts b/sdk/managedapplications/arm-managedapplications/src/managedApplicationClientContext.ts index ddcedede9ce8..628f85418d0c 100644 --- a/sdk/managedapplications/arm-managedapplications/src/managedApplicationClientContext.ts +++ b/sdk/managedapplications/arm-managedapplications/src/managedApplicationClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-managedapplications"; -const packageVersion = "1.0.2"; +const packageVersion = "1.1.0"; export class ManagedApplicationClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ManagedApplicationClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagedApplicationClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagedApplicationClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/managementgroups/arm-managementgroups/README.md b/sdk/managementgroups/arm-managementgroups/README.md index d52fe3295611..cc428f2793f5 100644 --- a/sdk/managementgroups/arm-managementgroups/README.md +++ b/sdk/managementgroups/arm-managementgroups/README.md @@ -1,93 +1,103 @@ ## Azure ManagementGroupsAPI SDK for JavaScript -This package contains an isomorphic SDK for ManagementGroupsAPI. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagementGroupsAPI. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-managementgroups +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-managementgroups` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-managementgroups @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list managementGroups as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list managementGroups as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ManagementGroupsAPI, ManagementGroupsAPIModels, ManagementGroupsAPIMappers } from "@azure/arm-managementgroups"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ManagementGroupsAPI } = require("@azure/arm-managementgroups"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ManagementGroupsAPI(creds, subscriptionId); - const cacheControl = "testcacheControl"; - const skiptoken = "testskiptoken"; - client.managementGroups.list(cacheControl, skiptoken).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ManagementGroupsAPI(creds, subscriptionId); +const cacheControl = "testcacheControl"; +const skiptoken = "testskiptoken"; +client.managementGroups.list(cacheControl, skiptoken).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list managementGroups as an example written in JavaScript. +#### browser - Authentication, client creation, and list managementGroups as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-managementgroups sample - - + @@ -99,5 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmanagementgroups%2Farm-managementgroups%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/managementgroups/arm-managementgroups/README.png) diff --git a/sdk/managementgroups/arm-managementgroups/package.json b/sdk/managementgroups/arm-managementgroups/package.json index be3d9ef7c625..102d351c26a4 100644 --- a/sdk/managementgroups/arm-managementgroups/package.json +++ b/sdk/managementgroups/arm-managementgroups/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-managementgroups", "author": "Microsoft Corporation", "description": "ManagementGroupsAPI Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/managementGroupsAPI.js", "types": "./esm/managementGroupsAPI.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/managementgroups/arm-managementgroups/src/managementGroupsAPI.ts b/sdk/managementgroups/arm-managementgroups/src/managementGroupsAPI.ts index fb708d943018..e934c83510da 100644 --- a/sdk/managementgroups/arm-managementgroups/src/managementGroupsAPI.ts +++ b/sdk/managementgroups/arm-managementgroups/src/managementGroupsAPI.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -25,10 +26,15 @@ class ManagementGroupsAPI extends ManagementGroupsAPIContext { /** * Initializes a new instance of the ManagementGroupsAPI class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.ManagementGroupsAPIOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.ManagementGroupsAPIOptions) { super(credentials, options); this.managementGroups = new operations.ManagementGroups(this); this.managementGroupSubscriptions = new operations.ManagementGroupSubscriptions(this); diff --git a/sdk/managementgroups/arm-managementgroups/src/managementGroupsAPIContext.ts b/sdk/managementgroups/arm-managementgroups/src/managementGroupsAPIContext.ts index d50989717ea4..96fa50023af5 100644 --- a/sdk/managementgroups/arm-managementgroups/src/managementGroupsAPIContext.ts +++ b/sdk/managementgroups/arm-managementgroups/src/managementGroupsAPIContext.ts @@ -10,21 +10,27 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-managementgroups"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class ManagementGroupsAPIContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; /** * Initializes a new instance of the ManagementGroupsAPI class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.ManagementGroupsAPIOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.ManagementGroupsAPIOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/managementpartner/arm-managementpartner/README.md b/sdk/managementpartner/arm-managementpartner/README.md index e9b35016c5f2..4ecea3ef1e7e 100644 --- a/sdk/managementpartner/arm-managementpartner/README.md +++ b/sdk/managementpartner/arm-managementpartner/README.md @@ -1,91 +1,101 @@ ## Azure ACEProvisioningManagementPartnerAPI SDK for JavaScript -This package contains an isomorphic SDK for ACEProvisioningManagementPartnerAPI. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ACEProvisioningManagementPartnerAPI. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-managementpartner +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-managementpartner` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-managementpartner @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get partner as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get partner as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ACEProvisioningManagementPartnerAPI, ACEProvisioningManagementPartnerAPIModels, ACEProvisioningManagementPartnerAPIMappers } from "@azure/arm-managementpartner"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ACEProvisioningManagementPartnerAPI } = require("@azure/arm-managementpartner"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ACEProvisioningManagementPartnerAPI(creds, subscriptionId); - const partnerId = "testpartnerId"; - client.partner.get(partnerId).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ACEProvisioningManagementPartnerAPI(creds, subscriptionId); +const partnerId = "testpartnerId"; +client.partner.get(partnerId).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get partner as an example written in JavaScript. +#### browser - Authentication, client creation, and get partner as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-managementpartner sample - - + @@ -97,5 +107,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmanagementpartner%2Farm-managementpartner%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/managementpartner/arm-managementpartner/README.png) diff --git a/sdk/managementpartner/arm-managementpartner/package.json b/sdk/managementpartner/arm-managementpartner/package.json index 6c2b42a7f552..87755c6ddcf8 100644 --- a/sdk/managementpartner/arm-managementpartner/package.json +++ b/sdk/managementpartner/arm-managementpartner/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-managementpartner", "author": "Microsoft Corporation", "description": "ACEProvisioningManagementPartnerAPI Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/aCEProvisioningManagementPartnerAPI.js", "types": "./esm/aCEProvisioningManagementPartnerAPI.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/managementpartner/arm-managementpartner/src/aCEProvisioningManagementPartnerAPI.ts b/sdk/managementpartner/arm-managementpartner/src/aCEProvisioningManagementPartnerAPI.ts index 0fdeb8e0ae10..3c4f0dc0ef4b 100644 --- a/sdk/managementpartner/arm-managementpartner/src/aCEProvisioningManagementPartnerAPI.ts +++ b/sdk/managementpartner/arm-managementpartner/src/aCEProvisioningManagementPartnerAPI.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,10 +23,15 @@ class ACEProvisioningManagementPartnerAPI extends ACEProvisioningManagementPartn /** * Initializes a new instance of the ACEProvisioningManagementPartnerAPI class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.ACEProvisioningManagementPartnerAPIOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.ACEProvisioningManagementPartnerAPIOptions) { super(credentials, options); this.partner = new operations.Partner(this); this.operation = new operations.Operation(this); diff --git a/sdk/managementpartner/arm-managementpartner/src/aCEProvisioningManagementPartnerAPIContext.ts b/sdk/managementpartner/arm-managementpartner/src/aCEProvisioningManagementPartnerAPIContext.ts index 6f295935fd1d..d034c0794f34 100644 --- a/sdk/managementpartner/arm-managementpartner/src/aCEProvisioningManagementPartnerAPIContext.ts +++ b/sdk/managementpartner/arm-managementpartner/src/aCEProvisioningManagementPartnerAPIContext.ts @@ -10,21 +10,27 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-managementpartner"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class ACEProvisioningManagementPartnerAPIContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; /** * Initializes a new instance of the ACEProvisioningManagementPartnerAPI class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.ACEProvisioningManagementPartnerAPIOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.ACEProvisioningManagementPartnerAPIOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/maps/arm-maps/README.md b/sdk/maps/arm-maps/README.md index b51262189aba..446851722704 100644 --- a/sdk/maps/arm-maps/README.md +++ b/sdk/maps/arm-maps/README.md @@ -1,67 +1,75 @@ ## Azure AzureMapsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for AzureMapsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMapsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-maps` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-maps +npm install --save @azure/arm-maps @azure/identity ``` -### How to use +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. -#### nodejs - client creation and get accounts as an example written in TypeScript. +### How to use -##### Install @azure/ms-rest-nodeauth +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get accounts as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package - -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { AzureMapsManagementClient } = require("@azure/arm-maps"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth - .interactiveLogin() - .then((creds) => { - const client = new AzureMapsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const accountName = "testaccountName"; - client.accounts.get(resourceGroupName, accountName).then((result) => { - console.log("The result is:"); - console.log(result); - }); - }) - .catch((err) => { - console.error(err); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureMapsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const accountName = "testaccountName"; +client.accounts.get(resourceGroupName, accountName).then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` -#### browser - Authentication, client creation and get accounts as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and get accounts as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html ```html @@ -69,34 +77,27 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-maps sample - - + diff --git a/sdk/maps/arm-maps/package.json b/sdk/maps/arm-maps/package.json index dad087f10ae7..c29a46be1047 100644 --- a/sdk/maps/arm-maps/package.json +++ b/sdk/maps/arm-maps/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-maps", "author": "Microsoft Corporation", "description": "AzureMapsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureMapsManagementClient.js", "types": "./esm/azureMapsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/maps/arm-maps/src/azureMapsManagementClient.ts b/sdk/maps/arm-maps/src/azureMapsManagementClient.ts index 57e460bf2f28..b0bdead1332f 100644 --- a/sdk/maps/arm-maps/src/azureMapsManagementClient.ts +++ b/sdk/maps/arm-maps/src/azureMapsManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -21,12 +22,17 @@ class AzureMapsManagementClient extends AzureMapsManagementClientContext { /** * Initializes a new instance of the AzureMapsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMapsManagementClientOptions ) { diff --git a/sdk/maps/arm-maps/src/azureMapsManagementClientContext.ts b/sdk/maps/arm-maps/src/azureMapsManagementClientContext.ts index 38d1304d4cdc..3cdd356d6513 100644 --- a/sdk/maps/arm-maps/src/azureMapsManagementClientContext.ts +++ b/sdk/maps/arm-maps/src/azureMapsManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-maps"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class AzureMapsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureMapsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMapsManagementClientOptions ) { diff --git a/sdk/mariadb/arm-mariadb/README.md b/sdk/mariadb/arm-mariadb/README.md index 7a1dfd50bfe0..b42842e33d35 100644 --- a/sdk/mariadb/arm-mariadb/README.md +++ b/sdk/mariadb/arm-mariadb/README.md @@ -1,93 +1,103 @@ ## Azure MariaDBManagementClient SDK for JavaScript -This package contains an isomorphic SDK for MariaDBManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MariaDBManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-mariadb` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-mariadb +npm install --save @azure/arm-mariadb @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get servers as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get servers as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MariaDBManagementClient, MariaDBManagementModels, MariaDBManagementMappers } from "@azure/arm-mariadb"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MariaDBManagementClient } = require("@azure/arm-mariadb"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MariaDBManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const serverName = "testserverName"; - client.servers.get(resourceGroupName, serverName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MariaDBManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const serverName = "testserverName"; +client.servers.get(resourceGroupName, serverName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get servers as an example written in JavaScript. +#### browser - Authentication, client creation, and get servers as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-mariadb sample - - + @@ -99,4 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmariadb%2Farm-mariadb%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/mariadb/arm-mariadb/README.png) diff --git a/sdk/mariadb/arm-mariadb/package.json b/sdk/mariadb/arm-mariadb/package.json index c7d9bf80cc17..a98cd21557d3 100644 --- a/sdk/mariadb/arm-mariadb/package.json +++ b/sdk/mariadb/arm-mariadb/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-mariadb", "author": "Microsoft Corporation", "description": "MariaDBManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.4.0", + "version": "1.5.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/mariaDBManagementClient.js", "types": "./esm/mariaDBManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/mariadb/arm-mariadb/src/mariaDBManagementClient.ts b/sdk/mariadb/arm-mariadb/src/mariaDBManagementClient.ts index b88492aa13ab..10062e5341a4 100644 --- a/sdk/mariadb/arm-mariadb/src/mariaDBManagementClient.ts +++ b/sdk/mariadb/arm-mariadb/src/mariaDBManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -31,11 +32,16 @@ class MariaDBManagementClient extends MariaDBManagementClientContext { /** * Initializes a new instance of the MariaDBManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID that identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MariaDBManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MariaDBManagementClientOptions) { super(credentials, subscriptionId, options); this.servers = new operations.Servers(this); this.replicas = new operations.Replicas(this); diff --git a/sdk/mariadb/arm-mariadb/src/mariaDBManagementClientContext.ts b/sdk/mariadb/arm-mariadb/src/mariaDBManagementClientContext.ts index 9c249c826287..76f958e26eb0 100644 --- a/sdk/mariadb/arm-mariadb/src/mariaDBManagementClientContext.ts +++ b/sdk/mariadb/arm-mariadb/src/mariaDBManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-mariadb"; -const packageVersion = "1.4.0"; +const packageVersion = "1.5.0"; export class MariaDBManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MariaDBManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID that identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MariaDBManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MariaDBManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/marketplaceordering/arm-marketplaceordering/README.md b/sdk/marketplaceordering/arm-marketplaceordering/README.md index 3a43a4a5cfcb..6ed7902aeec8 100644 --- a/sdk/marketplaceordering/arm-marketplaceordering/README.md +++ b/sdk/marketplaceordering/arm-marketplaceordering/README.md @@ -1,96 +1,105 @@ ## Azure MarketplaceOrderingAgreements SDK for JavaScript -This package contains an isomorphic SDK for MarketplaceOrderingAgreements. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MarketplaceOrderingAgreements. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-marketplaceordering` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-marketplaceordering +npm install --save @azure/arm-marketplaceordering @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get marketplaceAgreements as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get marketplaceAgreements as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MarketplaceOrderingAgreements, MarketplaceOrderingAgreementsModels, MarketplaceOrderingAgreementsMappers } from "@azure/arm-marketplaceordering"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MarketplaceOrderingAgreements } = require("@azure/arm-marketplaceordering"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MarketplaceOrderingAgreements(creds, subscriptionId); - const publisherId = "testpublisherId"; - const offerId = "testofferId"; - const planId = "testplanId"; - client.marketplaceAgreements.get(publisherId, offerId, planId).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MarketplaceOrderingAgreements(creds, subscriptionId); +const publisherId = "testpublisherId"; +const offerId = "testofferId"; +const planId = "testplanId"; +client.marketplaceAgreements.get(publisherId, offerId, planId).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get marketplaceAgreements as an example written in JavaScript. +#### browser - Authentication, client creation, and get marketplaceAgreements as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-marketplaceordering sample - - + diff --git a/sdk/marketplaceordering/arm-marketplaceordering/package.json b/sdk/marketplaceordering/arm-marketplaceordering/package.json index 9a6cb2c9ae33..50a38366448e 100644 --- a/sdk/marketplaceordering/arm-marketplaceordering/package.json +++ b/sdk/marketplaceordering/arm-marketplaceordering/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-marketplaceordering", "author": "Microsoft Corporation", "description": "MarketplaceOrderingAgreements Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/marketplaceOrderingAgreements.js", "types": "./esm/marketplaceOrderingAgreements.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/marketplaceordering/arm-marketplaceordering/src/marketplaceOrderingAgreements.ts b/sdk/marketplaceordering/arm-marketplaceordering/src/marketplaceOrderingAgreements.ts index 3c7a63b3770e..754d16407f50 100644 --- a/sdk/marketplaceordering/arm-marketplaceordering/src/marketplaceOrderingAgreements.ts +++ b/sdk/marketplaceordering/arm-marketplaceordering/src/marketplaceOrderingAgreements.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class MarketplaceOrderingAgreements extends MarketplaceOrderingAgreementsContext /** * Initializes a new instance of the MarketplaceOrderingAgreements class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID that identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MarketplaceOrderingAgreementsOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MarketplaceOrderingAgreementsOptions) { super(credentials, subscriptionId, options); this.marketplaceAgreements = new operations.MarketplaceAgreements(this); this.operations = new operations.Operations(this); diff --git a/sdk/marketplaceordering/arm-marketplaceordering/src/marketplaceOrderingAgreementsContext.ts b/sdk/marketplaceordering/arm-marketplaceordering/src/marketplaceOrderingAgreementsContext.ts index 75ba980477a6..bf8e240fbe8f 100644 --- a/sdk/marketplaceordering/arm-marketplaceordering/src/marketplaceOrderingAgreementsContext.ts +++ b/sdk/marketplaceordering/arm-marketplaceordering/src/marketplaceOrderingAgreementsContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-marketplaceordering"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class MarketplaceOrderingAgreementsContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MarketplaceOrderingAgreements class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID that identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MarketplaceOrderingAgreementsOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MarketplaceOrderingAgreementsOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/mediaservices/arm-mediaservices/README.md b/sdk/mediaservices/arm-mediaservices/README.md index ab197cd0e915..3c961aee4d08 100644 --- a/sdk/mediaservices/arm-mediaservices/README.md +++ b/sdk/mediaservices/arm-mediaservices/README.md @@ -1,93 +1,103 @@ ## Azure AzureMediaServices SDK for JavaScript -This package contains an isomorphic SDK for AzureMediaServices. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMediaServices. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-mediaservices` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-mediaservices +npm install --save @azure/arm-mediaservices @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list accountFilters as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list accountFilters as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { AzureMediaServices } = require("@azure/arm-mediaservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureMediaServices(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const accountName = "testaccountName"; - client.accountFilters.list(resourceGroupName, accountName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureMediaServices(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const accountName = "testaccountName"; +client.accountFilters.list(resourceGroupName, accountName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list accountFilters as an example written in JavaScript. +#### browser - Authentication, client creation, and list accountFilters as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-mediaservices sample - - + diff --git a/sdk/mediaservices/arm-mediaservices/package.json b/sdk/mediaservices/arm-mediaservices/package.json index ee22ec05d8f3..a419ba2f8db6 100644 --- a/sdk/mediaservices/arm-mediaservices/package.json +++ b/sdk/mediaservices/arm-mediaservices/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-mediaservices", "author": "Microsoft Corporation", "description": "AzureMediaServices Library with typescript type definitions for node.js and browser.", - "version": "8.1.0", + "version": "8.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureMediaServices.js", "types": "./esm/azureMediaServices.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts b/sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts index a901bd17fb3b..126a25b0934f 100644 --- a/sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts +++ b/sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -35,11 +36,16 @@ class AzureMediaServices extends AzureMediaServicesContext { /** * Initializes a new instance of the AzureMediaServices class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The unique identifier for a Microsoft Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMediaServicesOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMediaServicesOptions) { super(credentials, subscriptionId, options); this.accountFilters = new operations.AccountFilters(this); this.operations = new operations.Operations(this); diff --git a/sdk/mediaservices/arm-mediaservices/src/azureMediaServicesContext.ts b/sdk/mediaservices/arm-mediaservices/src/azureMediaServicesContext.ts index 02385a759766..2184590a3d49 100644 --- a/sdk/mediaservices/arm-mediaservices/src/azureMediaServicesContext.ts +++ b/sdk/mediaservices/arm-mediaservices/src/azureMediaServicesContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-mediaservices"; -const packageVersion = "8.1.0"; +const packageVersion = "8.2.0"; export class AzureMediaServicesContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureMediaServices class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The unique identifier for a Microsoft Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMediaServicesOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMediaServicesOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/migrate/arm-migrate/README.md b/sdk/migrate/arm-migrate/README.md index 6e9f375c655e..e233b2367ac2 100644 --- a/sdk/migrate/arm-migrate/README.md +++ b/sdk/migrate/arm-migrate/README.md @@ -1,91 +1,101 @@ ## Azure AzureMigrate SDK for JavaScript -This package contains an isomorphic SDK for AzureMigrate. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMigrate. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-migrate +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-migrate` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-migrate @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get assessmentOptions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get assessmentOptions as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AzureMigrate, AzureMigrateModels, AzureMigrateMappers } from "@azure/arm-migrate"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AzureMigrate } = require("@azure/arm-migrate"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new AzureMigrate(creds, subscriptionId); - const locationName = "testlocationName"; - client.assessmentOptions.get(locationName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureMigrate(creds, subscriptionId); +const locationName = "testlocationName"; +client.assessmentOptions.get(locationName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get assessmentOptions as an example written in JavaScript. +#### browser - Authentication, client creation, and get assessmentOptions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-migrate sample - - + @@ -97,5 +107,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmigrate%2Farm-migrate%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/migrate/arm-migrate/README.png) diff --git a/sdk/migrate/arm-migrate/package.json b/sdk/migrate/arm-migrate/package.json index 252b6205c733..68c0cb360621 100644 --- a/sdk/migrate/arm-migrate/package.json +++ b/sdk/migrate/arm-migrate/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-migrate", "author": "Microsoft Corporation", "description": "AzureMigrate Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureMigrate.js", "types": "./esm/azureMigrate.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/migrate/arm-migrate/src/azureMigrate.ts b/sdk/migrate/arm-migrate/src/azureMigrate.ts index 48e178cca807..5f7f42d37bd6 100644 --- a/sdk/migrate/arm-migrate/src/azureMigrate.ts +++ b/sdk/migrate/arm-migrate/src/azureMigrate.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -28,11 +29,16 @@ class AzureMigrate extends AzureMigrateContext { /** * Initializes a new instance of the AzureMigrate class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription Id in which project was created. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMigrateOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMigrateOptions) { super(credentials, subscriptionId, options); this.location = new operations.Location(this); this.assessmentOptions = new operations.AssessmentOptions(this); diff --git a/sdk/migrate/arm-migrate/src/azureMigrateContext.ts b/sdk/migrate/arm-migrate/src/azureMigrateContext.ts index 72bc3b910a84..4099555561c8 100644 --- a/sdk/migrate/arm-migrate/src/azureMigrateContext.ts +++ b/sdk/migrate/arm-migrate/src/azureMigrateContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-migrate"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class AzureMigrateContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the AzureMigrate class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription Id in which project was created. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureMigrateOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureMigrateOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/mixedreality/arm-mixedreality/README.md b/sdk/mixedreality/arm-mixedreality/README.md index e5d65b4492a4..ecdbf28cee8b 100644 --- a/sdk/mixedreality/arm-mixedreality/README.md +++ b/sdk/mixedreality/arm-mixedreality/README.md @@ -1,89 +1,100 @@ ## Azure MixedRealityClient SDK for JavaScript -This package contains an isomorphic SDK for MixedRealityClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MixedRealityClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-mixedreality` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-mixedreality +npm install --save @azure/arm-mixedreality @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { MixedRealityClient } = require("@azure/arm-mixedreality"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MixedRealityClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MixedRealityClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-mixedreality sample - - + diff --git a/sdk/mixedreality/arm-mixedreality/package.json b/sdk/mixedreality/arm-mixedreality/package.json index 55fb6fa9e4e9..a311089dec27 100644 --- a/sdk/mixedreality/arm-mixedreality/package.json +++ b/sdk/mixedreality/arm-mixedreality/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-mixedreality", "author": "Microsoft Corporation", "description": "MixedRealityClient Library with typescript type definitions for node.js and browser.", - "version": "3.0.0", + "version": "3.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/mixedRealityClient.js", "types": "./esm/mixedRealityClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/mixedreality/arm-mixedreality/src/mixedRealityClient.ts b/sdk/mixedreality/arm-mixedreality/src/mixedRealityClient.ts index 2983d2d4fd0a..50e339d54004 100644 --- a/sdk/mixedreality/arm-mixedreality/src/mixedRealityClient.ts +++ b/sdk/mixedreality/arm-mixedreality/src/mixedRealityClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -23,12 +24,17 @@ class MixedRealityClient extends MixedRealityClientContext { /** * Initializes a new instance of the MixedRealityClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000) * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MixedRealityClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MixedRealityClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.spatialAnchorsAccounts = new operations.SpatialAnchorsAccounts(this); diff --git a/sdk/mixedreality/arm-mixedreality/src/mixedRealityClientContext.ts b/sdk/mixedreality/arm-mixedreality/src/mixedRealityClientContext.ts index 16b8190b3d87..2866a422ebf6 100644 --- a/sdk/mixedreality/arm-mixedreality/src/mixedRealityClientContext.ts +++ b/sdk/mixedreality/arm-mixedreality/src/mixedRealityClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-mixedreality"; -const packageVersion = "3.0.0"; +const packageVersion = "3.1.0"; export class MixedRealityClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the MixedRealityClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g. * 00000000-0000-0000-0000-000000000000) * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MixedRealityClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MixedRealityClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From 43c5bc43ee49d053c55a38085dd286c588abeecb Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Thu, 8 Jul 2021 09:07:31 +0800 Subject: [PATCH 122/134] identity support 40 (#16255) --- .../README.md | 113 +++++++++-------- .../package.json | 9 +- .../src/monitorManagementClient.ts | 10 +- .../src/monitorManagementClientContext.ts | 14 ++- .../README.md | 111 +++++++++-------- .../package.json | 9 +- .../src/monitorManagementClient.ts | 10 +- .../src/monitorManagementClientContext.ts | 14 ++- sdk/monitor/arm-monitor/README.md | 109 ++++++++-------- sdk/monitor/arm-monitor/package.json | 9 +- .../src/monitorManagementClient.ts | 10 +- .../src/monitorManagementClientContext.ts | 14 ++- sdk/msi/arm-msi/README.md | 108 ++++++++-------- sdk/msi/arm-msi/package.json | 9 +- .../src/managedServiceIdentityClient.ts | 10 +- .../managedServiceIdentityClientContext.ts | 14 ++- sdk/mysql/arm-mysql/README.md | 112 +++++++++-------- sdk/mysql/arm-mysql/package.json | 9 +- .../arm-mysql/src/mySQLManagementClient.ts | 10 +- .../src/mySQLManagementClientContext.ts | 14 ++- .../README.md | 117 ++++++++++-------- .../package.json | 9 +- .../src/networkManagementClient.ts | 10 +- .../src/networkManagementClientContext.ts | 14 ++- .../README.md | 111 +++++++++-------- .../package.json | 9 +- .../src/networkManagementClient.ts | 10 +- .../src/networkManagementClientContext.ts | 14 ++- .../arm-notificationhubs/README.md | 108 ++++++++-------- .../arm-notificationhubs/package.json | 9 +- .../src/notificationHubsManagementClient.ts | 10 +- ...notificationHubsManagementClientContext.ts | 14 ++- .../arm-operationalinsights/README.md | 108 ++++++++-------- .../arm-operationalinsights/package.json | 9 +- .../operationalInsightsManagementClient.ts | 10 +- ...rationalInsightsManagementClientContext.ts | 14 ++- .../arm-operations/README.md | 115 +++++++++-------- .../arm-operations/package.json | 9 +- .../src/operationsManagementClient.ts | 10 +- .../src/operationsManagementClientContext.ts | 14 ++- 40 files changed, 833 insertions(+), 609 deletions(-) diff --git a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/README.md b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/README.md index 5541c2706873..b0cccb154677 100644 --- a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/README.md +++ b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/README.md @@ -1,93 +1,103 @@ ## Azure MonitorManagementClient SDK for JavaScript -This package contains an isomorphic SDK for MonitorManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MonitorManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-monitor-profile-2019-03-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-monitor-profile-2019-03-01-hybrid +npm install --save @azure/arm-monitor-profile-2019-03-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list metricDefinitions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list metricDefinitions as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MonitorManagementClient, MonitorManagementModels, MonitorManagementMappers } from "@azure/arm-monitor-profile-2019-03-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MonitorManagementClient } = require("@azure/arm-monitor-profile-2019-03-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MonitorManagementClient(creds, subscriptionId); - const resourceUri = "testresourceUri"; - const metricnamespace = "testmetricnamespace"; - client.metricDefinitions.list(resourceUri, metricnamespace).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MonitorManagementClient(creds, subscriptionId); +const resourceUri = "testresourceUri"; +const metricnamespace = "testmetricnamespace"; +client.metricDefinitions.list(resourceUri, metricnamespace).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list metricDefinitions as an example written in JavaScript. +#### browser - Authentication, client creation, and list metricDefinitions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-monitor-profile-2019-03-01-hybrid sample - - + @@ -99,5 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmonitor%2Farm-monitor-profile-2019-03-01-hybrid%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/README.png) diff --git a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json index d274ca5e8069..fcd2f1eada5d 100644 --- a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json +++ b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-monitor-profile-2019-03-01-hybrid", "author": "Microsoft Corporation", "description": "MonitorManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/monitorManagementClient.js", "types": "./esm/monitorManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/src/monitorManagementClient.ts b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/src/monitorManagementClient.ts index a84f753e3fe5..0cbf7f67005e 100644 --- a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/src/monitorManagementClient.ts +++ b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/src/monitorManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -26,10 +27,15 @@ class MonitorManagementClient extends MonitorManagementClientContext { /** * Initializes a new instance of the MonitorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.MonitorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.MonitorManagementClientOptions) { super(credentials, options); this.metricDefinitions = new operations.MetricDefinitions(this); this.metrics = new operations.Metrics(this); diff --git a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/src/monitorManagementClientContext.ts b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/src/monitorManagementClientContext.ts index 72abeb1f8294..e8bec3c05d7d 100644 --- a/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/src/monitorManagementClientContext.ts +++ b/sdk/monitor/arm-monitor-profile-2019-03-01-hybrid/src/monitorManagementClientContext.ts @@ -10,20 +10,26 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-monitor-profile-2019-03-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class MonitorManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; /** * Initializes a new instance of the MonitorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.MonitorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.MonitorManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/README.md b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/README.md index 0ca4713df7df..7d6b556b862f 100644 --- a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/README.md +++ b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/README.md @@ -1,94 +1,103 @@ ## Azure MonitorManagementClient SDK for JavaScript -This package contains an isomorphic SDK for MonitorManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MonitorManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-monitor-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-monitor-profile-2020-09-01-hybrid +npm install --save @azure/arm-monitor-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list metricDefinitions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list metricDefinitions as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MonitorManagementClient, MonitorManagementModels, MonitorManagementMappers } from "@azure/arm-monitor-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MonitorManagementClient } = require("@azure/arm-monitor-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MonitorManagementClient(creds, subscriptionId); - const resourceUri = "testresourceUri"; - const metricnamespace = "testmetricnamespace"; - client.metricDefinitions.list(resourceUri, metricnamespace).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MonitorManagementClient(creds, subscriptionId); +const resourceUri = "testresourceUri"; +const metricnamespace = "testmetricnamespace"; +client.metricDefinitions.list(resourceUri, metricnamespace).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list metricDefinitions as an example written in JavaScript. +#### browser - Authentication, client creation, and list metricDefinitions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-monitor-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json index d9354f56c467..56a5df5060ad 100644 --- a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json +++ b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-monitor-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "MonitorManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/monitorManagementClient.js", "types": "./esm/monitorManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/src/monitorManagementClient.ts b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/src/monitorManagementClient.ts index a84f753e3fe5..0cbf7f67005e 100644 --- a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/src/monitorManagementClient.ts +++ b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/src/monitorManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -26,10 +27,15 @@ class MonitorManagementClient extends MonitorManagementClientContext { /** * Initializes a new instance of the MonitorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.MonitorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.MonitorManagementClientOptions) { super(credentials, options); this.metricDefinitions = new operations.MetricDefinitions(this); this.metrics = new operations.Metrics(this); diff --git a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/src/monitorManagementClientContext.ts b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/src/monitorManagementClientContext.ts index 9e357d10e244..c467ad8e9122 100644 --- a/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/src/monitorManagementClientContext.ts +++ b/sdk/monitor/arm-monitor-profile-2020-09-01-hybrid/src/monitorManagementClientContext.ts @@ -10,20 +10,26 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-monitor-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class MonitorManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; /** * Initializes a new instance of the MonitorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.MonitorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.MonitorManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/monitor/arm-monitor/README.md b/sdk/monitor/arm-monitor/README.md index 04373a170952..34c0456e346b 100644 --- a/sdk/monitor/arm-monitor/README.md +++ b/sdk/monitor/arm-monitor/README.md @@ -1,92 +1,101 @@ ## Azure MonitorManagementClient SDK for JavaScript -This package contains an isomorphic SDK for MonitorManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MonitorManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-monitor` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-monitor +npm install --save @azure/arm-monitor @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listByResourceGroup autoscaleSettings as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listByResourceGroup autoscaleSettings as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MonitorManagementClient, MonitorManagementModels, MonitorManagementMappers } from "@azure/arm-monitor"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MonitorManagementClient } = require("@azure/arm-monitor"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MonitorManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - client.autoscaleSettings.listByResourceGroup(resourceGroupName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MonitorManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +client.autoscaleSettings.listByResourceGroup(resourceGroupName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listByResourceGroup autoscaleSettings as an example written in JavaScript. +#### browser - Authentication, client creation, and listByResourceGroup autoscaleSettings as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-monitor sample - - + @@ -98,4 +107,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmonitor%2Farm-monitor%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/monitor/arm-monitor/README.png) diff --git a/sdk/monitor/arm-monitor/package.json b/sdk/monitor/arm-monitor/package.json index 2b40038fbd88..aa2917699e69 100644 --- a/sdk/monitor/arm-monitor/package.json +++ b/sdk/monitor/arm-monitor/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-monitor", "author": "Microsoft Corporation", "description": "MonitorManagementClient Library with typescript type definitions for node.js and browser.", - "version": "6.0.0", + "version": "6.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/monitorManagementClient.js", "types": "./esm/monitorManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/monitor/arm-monitor/src/monitorManagementClient.ts b/sdk/monitor/arm-monitor/src/monitorManagementClient.ts index a498d7b03d34..8f76eb98ccbb 100644 --- a/sdk/monitor/arm-monitor/src/monitorManagementClient.ts +++ b/sdk/monitor/arm-monitor/src/monitorManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -41,11 +42,16 @@ class MonitorManagementClient extends MonitorManagementClientContext { /** * Initializes a new instance of the MonitorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription Id. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MonitorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MonitorManagementClientOptions) { super(credentials, subscriptionId, options); this.autoscaleSettings = new operations.AutoscaleSettings(this); this.operations = new operations.Operations(this); diff --git a/sdk/monitor/arm-monitor/src/monitorManagementClientContext.ts b/sdk/monitor/arm-monitor/src/monitorManagementClientContext.ts index aacdc007667d..3212c44711f3 100644 --- a/sdk/monitor/arm-monitor/src/monitorManagementClientContext.ts +++ b/sdk/monitor/arm-monitor/src/monitorManagementClientContext.ts @@ -10,22 +10,28 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-monitor"; -const packageVersion = "5.4.0"; +const packageVersion = "6.1.0"; export class MonitorManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the MonitorManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription Id. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MonitorManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MonitorManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/msi/arm-msi/README.md b/sdk/msi/arm-msi/README.md index c3f9cb728ff3..f4e16fd5e9a5 100644 --- a/sdk/msi/arm-msi/README.md +++ b/sdk/msi/arm-msi/README.md @@ -1,89 +1,100 @@ ## Azure ManagedServiceIdentityClient SDK for JavaScript -This package contains an isomorphic SDK for ManagedServiceIdentityClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagedServiceIdentityClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-msi +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-msi` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-msi @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ManagedServiceIdentityClient, ManagedServiceIdentityModels, ManagedServiceIdentityMappers } from "@azure/arm-msi"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ManagedServiceIdentityClient } = require("@azure/arm-msi"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ManagedServiceIdentityClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ManagedServiceIdentityClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-msi sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmsi%2Farm-msi%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/msi/arm-msi/README.png) diff --git a/sdk/msi/arm-msi/package.json b/sdk/msi/arm-msi/package.json index fde1b3ef62bb..03f9c73d485c 100644 --- a/sdk/msi/arm-msi/package.json +++ b/sdk/msi/arm-msi/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-msi", "author": "Microsoft Corporation", "description": "ManagedServiceIdentityClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/managedServiceIdentityClient.js", "types": "./esm/managedServiceIdentityClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/msi/arm-msi/src/managedServiceIdentityClient.ts b/sdk/msi/arm-msi/src/managedServiceIdentityClient.ts index 2360b79199a9..75e4af9098c7 100644 --- a/sdk/msi/arm-msi/src/managedServiceIdentityClient.ts +++ b/sdk/msi/arm-msi/src/managedServiceIdentityClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class ManagedServiceIdentityClient extends ManagedServiceIdentityClientContext { /** * Initializes a new instance of the ManagedServiceIdentityClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Id of the Subscription to which the identity belongs. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagedServiceIdentityClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagedServiceIdentityClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.userAssignedIdentities = new operations.UserAssignedIdentities(this); diff --git a/sdk/msi/arm-msi/src/managedServiceIdentityClientContext.ts b/sdk/msi/arm-msi/src/managedServiceIdentityClientContext.ts index f96cd5df3f4a..884230d49329 100644 --- a/sdk/msi/arm-msi/src/managedServiceIdentityClientContext.ts +++ b/sdk/msi/arm-msi/src/managedServiceIdentityClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-msi"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class ManagedServiceIdentityClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ManagedServiceIdentityClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Id of the Subscription to which the identity belongs. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ManagedServiceIdentityClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagedServiceIdentityClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/mysql/arm-mysql/README.md b/sdk/mysql/arm-mysql/README.md index 9c51be4833fe..a2ef706bd607 100644 --- a/sdk/mysql/arm-mysql/README.md +++ b/sdk/mysql/arm-mysql/README.md @@ -1,93 +1,103 @@ ## Azure MySQLManagementClient SDK for JavaScript -This package contains an isomorphic SDK for MySQLManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MySQLManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-mysql` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-mysql +npm install --save @azure/arm-mysql @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get servers as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get servers as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MySQLManagementClient, MySQLManagementModels, MySQLManagementMappers } from "@azure/arm-mysql"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MySQLManagementClient } = require("@azure/arm-mysql"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MySQLManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const serverName = "testserverName"; - client.servers.get(resourceGroupName, serverName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MySQLManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const serverName = "testserverName"; +client.servers.get(resourceGroupName, serverName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get servers as an example written in JavaScript. +#### browser - Authentication, client creation, and get servers as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-mysql sample - - + @@ -99,4 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fmysql%2Farm-mysql%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/mysql/arm-mysql/README.png) diff --git a/sdk/mysql/arm-mysql/package.json b/sdk/mysql/arm-mysql/package.json index 002baef71cd0..7a74704f28d7 100644 --- a/sdk/mysql/arm-mysql/package.json +++ b/sdk/mysql/arm-mysql/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-mysql", "author": "Microsoft Corporation", "description": "MySQLManagementClient Library with typescript type definitions for node.js and browser.", - "version": "3.3.0", + "version": "3.4.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/mySQLManagementClient.js", "types": "./esm/mySQLManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/mysql/arm-mysql/src/mySQLManagementClient.ts b/sdk/mysql/arm-mysql/src/mySQLManagementClient.ts index aa67d2e2852d..f128cfad2096 100644 --- a/sdk/mysql/arm-mysql/src/mySQLManagementClient.ts +++ b/sdk/mysql/arm-mysql/src/mySQLManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -31,11 +32,16 @@ class MySQLManagementClient extends MySQLManagementClientContext { /** * Initializes a new instance of the MySQLManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID that identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MySQLManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MySQLManagementClientOptions) { super(credentials, subscriptionId, options); this.servers = new operations.Servers(this); this.replicas = new operations.Replicas(this); diff --git a/sdk/mysql/arm-mysql/src/mySQLManagementClientContext.ts b/sdk/mysql/arm-mysql/src/mySQLManagementClientContext.ts index 7171fdfd9303..91c35fd07caf 100644 --- a/sdk/mysql/arm-mysql/src/mySQLManagementClientContext.ts +++ b/sdk/mysql/arm-mysql/src/mySQLManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-mysql"; -const packageVersion = "3.3.0"; +const packageVersion = "3.4.0"; export class MySQLManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MySQLManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID that identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MySQLManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MySQLManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/network/arm-network-profile-2019-03-01-hybrid/README.md b/sdk/network/arm-network-profile-2019-03-01-hybrid/README.md index 076cfd4d120d..492ae995e13c 100644 --- a/sdk/network/arm-network-profile-2019-03-01-hybrid/README.md +++ b/sdk/network/arm-network-profile-2019-03-01-hybrid/README.md @@ -1,95 +1,105 @@ ## Azure NetworkManagementClient SDK for JavaScript -This package contains an isomorphic SDK for NetworkManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for NetworkManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-network-profile-2019-03-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-network-profile-2019-03-01-hybrid +npm install --save @azure/arm-network-profile-2019-03-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get loadBalancers as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get loadBalancers as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { NetworkManagementClient, NetworkManagementModels, NetworkManagementMappers } from "@azure/arm-network-profile-2019-03-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { NetworkManagementClient } = require("@azure/arm-network-profile-2019-03-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new NetworkManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const loadBalancerName = "testloadBalancerName"; - const expand = "testexpand"; - client.loadBalancers.get(resourceGroupName, loadBalancerName, expand).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new NetworkManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const loadBalancerName = "testloadBalancerName"; +const expand = "testexpand"; +client.loadBalancers.get(resourceGroupName, loadBalancerName, expand).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get loadBalancers as an example written in JavaScript. +#### browser - Authentication, client creation, and get loadBalancers as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-network-profile-2019-03-01-hybrid sample - - + @@ -101,5 +111,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fnetwork%2Farm-network-profile-2019-03-01-hybrid%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/network/arm-network-profile-2019-03-01-hybrid/README.png) diff --git a/sdk/network/arm-network-profile-2019-03-01-hybrid/package.json b/sdk/network/arm-network-profile-2019-03-01-hybrid/package.json index f3f77e93ae7d..d0ad619a9739 100644 --- a/sdk/network/arm-network-profile-2019-03-01-hybrid/package.json +++ b/sdk/network/arm-network-profile-2019-03-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-network-profile-2019-03-01-hybrid", "author": "Microsoft Corporation", "description": "NetworkManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/networkManagementClient.js", "types": "./esm/networkManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/network/arm-network-profile-2019-03-01-hybrid/src/networkManagementClient.ts b/sdk/network/arm-network-profile-2019-03-01-hybrid/src/networkManagementClient.ts index f9e40168c7d6..4368d1129f55 100644 --- a/sdk/network/arm-network-profile-2019-03-01-hybrid/src/networkManagementClient.ts +++ b/sdk/network/arm-network-profile-2019-03-01-hybrid/src/networkManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -43,12 +44,17 @@ class NetworkManagementClient extends NetworkManagementClientContext { /** * Initializes a new instance of the NetworkManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { super(credentials, subscriptionId, options); this.loadBalancers = new operations.LoadBalancers(this); this.loadBalancerBackendAddressPools = new operations.LoadBalancerBackendAddressPools(this); diff --git a/sdk/network/arm-network-profile-2019-03-01-hybrid/src/networkManagementClientContext.ts b/sdk/network/arm-network-profile-2019-03-01-hybrid/src/networkManagementClientContext.ts index ce45aa70b761..40f0985559df 100644 --- a/sdk/network/arm-network-profile-2019-03-01-hybrid/src/networkManagementClientContext.ts +++ b/sdk/network/arm-network-profile-2019-03-01-hybrid/src/networkManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-network-profile-2019-03-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class NetworkManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the NetworkManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/network/arm-network-profile-2020-09-01-hybrid/README.md b/sdk/network/arm-network-profile-2020-09-01-hybrid/README.md index 046cb52643b3..e4edc45dbfff 100644 --- a/sdk/network/arm-network-profile-2020-09-01-hybrid/README.md +++ b/sdk/network/arm-network-profile-2020-09-01-hybrid/README.md @@ -1,94 +1,103 @@ ## Azure NetworkManagementClient SDK for JavaScript -This package contains an isomorphic SDK for NetworkManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for NetworkManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-network-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-network-profile-2020-09-01-hybrid +npm install --save @azure/arm-network-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get virtualNetworkGateways as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get virtualNetworkGateways as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { NetworkManagementClient, NetworkManagementModels, NetworkManagementMappers } from "@azure/arm-network-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { NetworkManagementClient } = require("@azure/arm-network-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new NetworkManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const virtualNetworkGatewayName = "testvirtualNetworkGatewayName"; - client.virtualNetworkGateways.get(resourceGroupName, virtualNetworkGatewayName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new NetworkManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const virtualNetworkGatewayName = "testvirtualNetworkGatewayName"; +client.virtualNetworkGateways.get(resourceGroupName, virtualNetworkGatewayName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get virtualNetworkGateways as an example written in JavaScript. +#### browser - Authentication, client creation, and get virtualNetworkGateways as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-network-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/network/arm-network-profile-2020-09-01-hybrid/package.json b/sdk/network/arm-network-profile-2020-09-01-hybrid/package.json index ed79a4aceedc..c0005d66c673 100644 --- a/sdk/network/arm-network-profile-2020-09-01-hybrid/package.json +++ b/sdk/network/arm-network-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-network-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "NetworkManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/networkManagementClient.js", "types": "./esm/networkManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/network/arm-network-profile-2020-09-01-hybrid/src/networkManagementClient.ts b/sdk/network/arm-network-profile-2020-09-01-hybrid/src/networkManagementClient.ts index fb64d2a973d9..22f2be411cc0 100644 --- a/sdk/network/arm-network-profile-2020-09-01-hybrid/src/networkManagementClient.ts +++ b/sdk/network/arm-network-profile-2020-09-01-hybrid/src/networkManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -45,12 +46,17 @@ class NetworkManagementClient extends NetworkManagementClientContext { /** * Initializes a new instance of the NetworkManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { super(credentials, subscriptionId, options); this.virtualNetworkGateways = new operations.VirtualNetworkGateways(this); this.virtualNetworkGatewayConnections = new operations.VirtualNetworkGatewayConnections(this); diff --git a/sdk/network/arm-network-profile-2020-09-01-hybrid/src/networkManagementClientContext.ts b/sdk/network/arm-network-profile-2020-09-01-hybrid/src/networkManagementClientContext.ts index f5b91c0455e5..01aecafce1fa 100644 --- a/sdk/network/arm-network-profile-2020-09-01-hybrid/src/networkManagementClientContext.ts +++ b/sdk/network/arm-network-profile-2020-09-01-hybrid/src/networkManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-network-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class NetworkManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the NetworkManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/notificationhubs/arm-notificationhubs/README.md b/sdk/notificationhubs/arm-notificationhubs/README.md index a532f90ee1d2..40aee75f4c3f 100644 --- a/sdk/notificationhubs/arm-notificationhubs/README.md +++ b/sdk/notificationhubs/arm-notificationhubs/README.md @@ -1,89 +1,100 @@ ## Azure NotificationHubsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for NotificationHubsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for NotificationHubsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-notificationhubs +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-notificationhubs` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-notificationhubs @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { NotificationHubsManagementClient, NotificationHubsManagementModels, NotificationHubsManagementMappers } from "@azure/arm-notificationhubs"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { NotificationHubsManagementClient } = require("@azure/arm-notificationhubs"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new NotificationHubsManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new NotificationHubsManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-notificationhubs sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fnotificationhubs%2Farm-notificationhubs%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/notificationhubs/arm-notificationhubs/README.png) diff --git a/sdk/notificationhubs/arm-notificationhubs/package.json b/sdk/notificationhubs/arm-notificationhubs/package.json index 0f31c8842534..ee33b14f8407 100644 --- a/sdk/notificationhubs/arm-notificationhubs/package.json +++ b/sdk/notificationhubs/arm-notificationhubs/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-notificationhubs", "author": "Microsoft Corporation", "description": "NotificationHubsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.2.0", + "version": "1.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/notificationHubsManagementClient.js", "types": "./esm/notificationHubsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/notificationhubs/arm-notificationhubs/src/notificationHubsManagementClient.ts b/sdk/notificationhubs/arm-notificationhubs/src/notificationHubsManagementClient.ts index 75528c3e49ed..fe54974b5635 100644 --- a/sdk/notificationhubs/arm-notificationhubs/src/notificationHubsManagementClient.ts +++ b/sdk/notificationhubs/arm-notificationhubs/src/notificationHubsManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,12 +24,17 @@ class NotificationHubsManagementClient extends NotificationHubsManagementClientC /** * Initializes a new instance of the NotificationHubsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.NotificationHubsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.NotificationHubsManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.namespaces = new operations.Namespaces(this); diff --git a/sdk/notificationhubs/arm-notificationhubs/src/notificationHubsManagementClientContext.ts b/sdk/notificationhubs/arm-notificationhubs/src/notificationHubsManagementClientContext.ts index 3b6d5b8e08bf..6f05e39cb6bd 100644 --- a/sdk/notificationhubs/arm-notificationhubs/src/notificationHubsManagementClientContext.ts +++ b/sdk/notificationhubs/arm-notificationhubs/src/notificationHubsManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-notificationhubs"; -const packageVersion = "0.1.0"; +const packageVersion = "1.3.0"; export class NotificationHubsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the NotificationHubsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.NotificationHubsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.NotificationHubsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/operationalinsights/arm-operationalinsights/README.md b/sdk/operationalinsights/arm-operationalinsights/README.md index bf3a79c85aea..513d0855bfb6 100644 --- a/sdk/operationalinsights/arm-operationalinsights/README.md +++ b/sdk/operationalinsights/arm-operationalinsights/README.md @@ -1,93 +1,103 @@ ## Azure OperationalInsightsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for OperationalInsightsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for OperationalInsightsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-operationalinsights` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-operationalinsights +npm install --save @azure/arm-operationalinsights @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and listByWorkspace dataExports as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listByWorkspace dataExports as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { OperationalInsightsManagementClient } = require("@azure/arm-operationalinsights"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new OperationalInsightsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const workspaceName = "testworkspaceName"; - client.dataExports.listByWorkspace(resourceGroupName, workspaceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new OperationalInsightsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const workspaceName = "testworkspaceName"; +client.dataExports.listByWorkspace(resourceGroupName, workspaceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listByWorkspace dataExports as an example written in JavaScript. +#### browser - Authentication, client creation, and listByWorkspace dataExports as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-operationalinsights sample - - + diff --git a/sdk/operationalinsights/arm-operationalinsights/package.json b/sdk/operationalinsights/arm-operationalinsights/package.json index c1c039dcd080..89e2cd8ef7dc 100644 --- a/sdk/operationalinsights/arm-operationalinsights/package.json +++ b/sdk/operationalinsights/arm-operationalinsights/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-operationalinsights", "author": "Microsoft Corporation", "description": "OperationalInsightsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "7.0.0", + "version": "7.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/operationalInsightsManagementClient.js", "types": "./esm/operationalInsightsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/operationalinsights/arm-operationalinsights/src/operationalInsightsManagementClient.ts b/sdk/operationalinsights/arm-operationalinsights/src/operationalInsightsManagementClient.ts index 0d6ac9045e4e..525b04c140bc 100644 --- a/sdk/operationalinsights/arm-operationalinsights/src/operationalInsightsManagementClient.ts +++ b/sdk/operationalinsights/arm-operationalinsights/src/operationalInsightsManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -39,11 +40,16 @@ class OperationalInsightsManagementClient extends OperationalInsightsManagementC /** * Initializes a new instance of the OperationalInsightsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.OperationalInsightsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.OperationalInsightsManagementClientOptions) { super(credentials, subscriptionId, options); this.dataExports = new operations.DataExports(this); this.dataSources = new operations.DataSources(this); diff --git a/sdk/operationalinsights/arm-operationalinsights/src/operationalInsightsManagementClientContext.ts b/sdk/operationalinsights/arm-operationalinsights/src/operationalInsightsManagementClientContext.ts index fda0af09728d..1f39e7a95ac0 100644 --- a/sdk/operationalinsights/arm-operationalinsights/src/operationalInsightsManagementClientContext.ts +++ b/sdk/operationalinsights/arm-operationalinsights/src/operationalInsightsManagementClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-operationalinsights"; -const packageVersion = "7.0.0"; +const packageVersion = "7.1.0"; export class OperationalInsightsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the OperationalInsightsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.OperationalInsightsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.OperationalInsightsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/operationsmanagement/arm-operations/README.md b/sdk/operationsmanagement/arm-operations/README.md index b2c9efb3eecc..43f7f84ffe30 100644 --- a/sdk/operationsmanagement/arm-operations/README.md +++ b/sdk/operationsmanagement/arm-operations/README.md @@ -1,93 +1,103 @@ ## Azure OperationsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for OperationsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for OperationsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-operations +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-operations` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-operations @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get solutions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get solutions as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { OperationsManagementClient, OperationsManagementModels, OperationsManagementMappers } from "@azure/arm-operations"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { OperationsManagementClient } = require("@azure/arm-operations"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new OperationsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const solutionName = "testsolutionName"; - client.solutions.get(resourceGroupName, solutionName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new OperationsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const solutionName = "testsolutionName"; +client.solutions.get(resourceGroupName, solutionName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get solutions as an example written in JavaScript. +#### browser - Authentication, client creation, and get solutions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-operations sample - - + @@ -99,5 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Foperationsmanagement%2Farm-operations%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/operationsmanagement/arm-operations/README.png) diff --git a/sdk/operationsmanagement/arm-operations/package.json b/sdk/operationsmanagement/arm-operations/package.json index 56e114a52dd6..b26129943ce8 100644 --- a/sdk/operationsmanagement/arm-operations/package.json +++ b/sdk/operationsmanagement/arm-operations/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-operations", "author": "Microsoft Corporation", "description": "OperationsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.1.0", + "version": "2.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/operationsManagementClient.js", "types": "./esm/operationsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/operationsmanagement/arm-operations/src/operationsManagementClient.ts b/sdk/operationsmanagement/arm-operations/src/operationsManagementClient.ts index cc22a452f329..9097e6a74ebb 100644 --- a/sdk/operationsmanagement/arm-operations/src/operationsManagementClient.ts +++ b/sdk/operationsmanagement/arm-operations/src/operationsManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,7 +25,12 @@ class OperationsManagementClient extends OperationsManagementClientContext { /** * Initializes a new instance of the OperationsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param providerName Provider name for the parent resource. @@ -32,7 +38,7 @@ class OperationsManagementClient extends OperationsManagementClientContext { * @param resourceName Parent resource name. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, providerName: string, resourceType: string, resourceName: string, options?: Models.OperationsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, providerName: string, resourceType: string, resourceName: string, options?: Models.OperationsManagementClientOptions) { super(credentials, subscriptionId, providerName, resourceType, resourceName, options); this.solutions = new operations.Solutions(this); this.managementAssociations = new operations.ManagementAssociations(this); diff --git a/sdk/operationsmanagement/arm-operations/src/operationsManagementClientContext.ts b/sdk/operationsmanagement/arm-operations/src/operationsManagementClientContext.ts index 9902f9b551f6..54f7c62ac6d4 100644 --- a/sdk/operationsmanagement/arm-operations/src/operationsManagementClientContext.ts +++ b/sdk/operationsmanagement/arm-operations/src/operationsManagementClientContext.ts @@ -10,13 +10,14 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-operations"; -const packageVersion = "0.1.0"; +const packageVersion = "2.2.0"; export class OperationsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; providerName: string; @@ -25,7 +26,12 @@ export class OperationsManagementClientContext extends msRestAzure.AzureServiceC /** * Initializes a new instance of the OperationsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param providerName Provider name for the parent resource. @@ -33,7 +39,7 @@ export class OperationsManagementClientContext extends msRestAzure.AzureServiceC * @param resourceName Parent resource name. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, providerName: string, resourceType: string, resourceName: string, options?: Models.OperationsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, providerName: string, resourceType: string, resourceName: string, options?: Models.OperationsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From b79e5072d253cfee9c5c9f45eb26ffac5d8f96b0 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Thu, 8 Jul 2021 09:07:42 +0800 Subject: [PATCH 123/134] identity support 50 (#16256) --- sdk/peering/arm-peering/README.md | 113 +++++++++-------- sdk/peering/arm-peering/package.json | 9 +- .../src/peeringManagementClient.ts | 10 +- .../src/peeringManagementClientContext.ts | 14 ++- .../README.md | 107 ++++++++-------- .../package.json | 9 +- .../src/policyClient.ts | 10 +- .../src/policyClientContext.ts | 14 ++- .../README.md | 109 ++++++++-------- .../package.json | 9 +- .../src/policyClient.ts | 10 +- .../src/policyClientContext.ts | 14 ++- sdk/policy/arm-policy/README.md | 117 +++++++++--------- sdk/policy/arm-policy/package.json | 9 +- sdk/policy/arm-policy/src/policyClient.ts | 10 +- .../arm-policy/src/policyClientContext.ts | 14 ++- .../arm-policyinsights/README.md | 112 +++++++++-------- .../arm-policyinsights/package.json | 9 +- .../src/policyInsightsClient.ts | 10 +- .../src/policyInsightsClientContext.ts | 14 ++- sdk/postgresql/arm-postgresql/README.md | 108 ++++++++-------- sdk/postgresql/arm-postgresql/package.json | 9 +- .../src/postgreSQLManagementClient.ts | 10 +- .../src/postgreSQLManagementClientContext.ts | 14 ++- .../arm-powerbidedicated/README.md | 111 +++++++++-------- .../arm-powerbidedicated/package.json | 9 +- .../src/powerBIDedicatedManagementClient.ts | 10 +- ...powerBIDedicatedManagementClientContext.ts | 14 ++- .../arm-powerbiembedded/README.md | 115 +++++++++-------- .../arm-powerbiembedded/package.json | 9 +- .../src/powerBIEmbeddedManagementClient.ts | 10 +- .../powerBIEmbeddedManagementClientContext.ts | 14 ++- sdk/privatedns/arm-privatedns/README.md | 111 +++++++++-------- sdk/privatedns/arm-privatedns/package.json | 9 +- .../src/privateDnsManagementClient.ts | 10 +- .../src/privateDnsManagementClientContext.ts | 14 ++- 36 files changed, 746 insertions(+), 554 deletions(-) diff --git a/sdk/peering/arm-peering/README.md b/sdk/peering/arm-peering/README.md index 8cfb0a190945..6386ca12a1da 100644 --- a/sdk/peering/arm-peering/README.md +++ b/sdk/peering/arm-peering/README.md @@ -1,94 +1,103 @@ ## Azure PeeringManagementClient SDK for JavaScript -This package contains an isomorphic SDK for PeeringManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PeeringManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-peering` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-peering +npm install --save @azure/arm-peering @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list legacyPeerings as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list legacyPeerings as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { PeeringManagementClient, PeeringManagementModels, PeeringManagementMappers } from "@azure/arm-peering"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { PeeringManagementClient } = require("@azure/arm-peering"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new PeeringManagementClient(creds, subscriptionId); - const peeringLocation = "testpeeringLocation"; - const kind = "Direct"; - client.legacyPeerings.list(peeringLocation, kind).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PeeringManagementClient(creds, subscriptionId); +const peeringLocation = "testpeeringLocation"; +const kind = "Direct"; +client.legacyPeerings.list(peeringLocation, kind).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list legacyPeerings as an example written in JavaScript. +#### browser - Authentication, client creation, and list legacyPeerings as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-peering sample - - + @@ -100,4 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpeering%2Farm-peering%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/peering/arm-peering/README.png) diff --git a/sdk/peering/arm-peering/package.json b/sdk/peering/arm-peering/package.json index c7c2b7e47341..5b286fc9c531 100644 --- a/sdk/peering/arm-peering/package.json +++ b/sdk/peering/arm-peering/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-peering", "author": "Microsoft Corporation", "description": "PeeringManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/peeringManagementClient.js", "types": "./esm/peeringManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/peering/arm-peering/src/peeringManagementClient.ts b/sdk/peering/arm-peering/src/peeringManagementClient.ts index bacf9dc4aabe..3fa8f9805ac7 100644 --- a/sdk/peering/arm-peering/src/peeringManagementClient.ts +++ b/sdk/peering/arm-peering/src/peeringManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -31,11 +32,16 @@ class PeeringManagementClient extends PeeringManagementClientContext { /** * Initializes a new instance of the PeeringManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PeeringManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PeeringManagementClientOptions) { super(credentials, subscriptionId, options); this.legacyPeerings = new operations.LegacyPeerings(this); this.operations = new operations.Operations(this); diff --git a/sdk/peering/arm-peering/src/peeringManagementClientContext.ts b/sdk/peering/arm-peering/src/peeringManagementClientContext.ts index 33fd6ae85bd7..ff6b10566b38 100644 --- a/sdk/peering/arm-peering/src/peeringManagementClientContext.ts +++ b/sdk/peering/arm-peering/src/peeringManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-peering"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class PeeringManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the PeeringManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PeeringManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PeeringManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/README.md b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/README.md index 277e5ca69bd8..d18fc2ab80ea 100644 --- a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/README.md +++ b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/README.md @@ -1,92 +1,101 @@ ## Azure PolicyClient SDK for JavaScript -This package contains an isomorphic SDK for PolicyClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PolicyClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-policy-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-policy-profile-2020-09-01-hybrid +npm install --save @azure/arm-policy-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get policyDefinitions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get policyDefinitions as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { PolicyClient, PolicyModels, PolicyMappers } from "@azure/arm-policy-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { PolicyClient } = require("@azure/arm-policy-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new PolicyClient(creds, subscriptionId); - const policyDefinitionName = "testpolicyDefinitionName"; - client.policyDefinitions.get(policyDefinitionName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PolicyClient(creds, subscriptionId); +const policyDefinitionName = "testpolicyDefinitionName"; +client.policyDefinitions.get(policyDefinitionName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get policyDefinitions as an example written in JavaScript. +#### browser - Authentication, client creation, and get policyDefinitions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-policy-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json index fe686de1fc7b..b1c67c0499f9 100644 --- a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json +++ b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-policy-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "PolicyClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/policyClient.js", "types": "./esm/policyClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/src/policyClient.ts b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/src/policyClient.ts index 4a9606c77342..7891583c1cc0 100644 --- a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/src/policyClient.ts +++ b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/src/policyClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class PolicyClient extends PolicyClientContext { /** * Initializes a new instance of the PolicyClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PolicyClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PolicyClientOptions) { super(credentials, subscriptionId, options); this.policyDefinitions = new operations.PolicyDefinitions(this); this.policyAssignments = new operations.PolicyAssignments(this); diff --git a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/src/policyClientContext.ts b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/src/policyClientContext.ts index 1982defbe797..9fe09efcdebd 100644 --- a/sdk/policy/arm-policy-profile-2020-09-01-hybrid/src/policyClientContext.ts +++ b/sdk/policy/arm-policy-profile-2020-09-01-hybrid/src/policyClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-policy-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class PolicyClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the PolicyClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PolicyClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PolicyClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/README.md b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/README.md index 59229a76dfa7..88dd09df65aa 100644 --- a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/README.md +++ b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/README.md @@ -1,91 +1,101 @@ ## Azure PolicyClient SDK for JavaScript -This package contains an isomorphic SDK for PolicyClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PolicyClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-policy-profile-hybrid-2019-03-01` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-policy-profile-hybrid-2019-03-01 +npm install --save @azure/arm-policy-profile-hybrid-2019-03-01 @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get policyDefinitions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and get policyDefinitions as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { PolicyClient, PolicyModels, PolicyMappers } from "@azure/arm-policy-profile-hybrid-2019-03-01"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { PolicyClient } = require("@azure/arm-policy-profile-hybrid-2019-03-01"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new PolicyClient(creds, subscriptionId); - const policyDefinitionName = "testpolicyDefinitionName"; - client.policyDefinitions.get(policyDefinitionName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PolicyClient(creds, subscriptionId); +const policyDefinitionName = "testpolicyDefinitionName"; +client.policyDefinitions.get(policyDefinitionName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get policyDefinitions as an example written in JavaScript. +#### browser - Authentication, client creation, and get policyDefinitions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-policy-profile-hybrid-2019-03-01 sample - - + @@ -97,5 +107,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpolicy%2Farm-policy-profile-hybrid-2019-03-01%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/policy/arm-policy-profile-hybrid-2019-03-01/README.png) diff --git a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json index 712ae64221a3..ded049860523 100644 --- a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json +++ b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-policy-profile-hybrid-2019-03-01", "author": "Microsoft Corporation", "description": "PolicyClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/policyClient.js", "types": "./esm/policyClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/src/policyClient.ts b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/src/policyClient.ts index 4a9606c77342..7891583c1cc0 100644 --- a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/src/policyClient.ts +++ b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/src/policyClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,11 +23,16 @@ class PolicyClient extends PolicyClientContext { /** * Initializes a new instance of the PolicyClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PolicyClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PolicyClientOptions) { super(credentials, subscriptionId, options); this.policyDefinitions = new operations.PolicyDefinitions(this); this.policyAssignments = new operations.PolicyAssignments(this); diff --git a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/src/policyClientContext.ts b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/src/policyClientContext.ts index 5e2d978a2a8b..1b8ccc0ee7e9 100644 --- a/sdk/policy/arm-policy-profile-hybrid-2019-03-01/src/policyClientContext.ts +++ b/sdk/policy/arm-policy-profile-hybrid-2019-03-01/src/policyClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-policy-profile-hybrid-2019-03-01"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class PolicyClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the PolicyClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PolicyClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PolicyClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/policy/arm-policy/README.md b/sdk/policy/arm-policy/README.md index ff6733dd79fd..e981a8c714fe 100644 --- a/sdk/policy/arm-policy/README.md +++ b/sdk/policy/arm-policy/README.md @@ -1,66 +1,74 @@ ## Azure PolicyClient SDK for JavaScript -This package contains an isomorphic SDK for PolicyClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PolicyClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-policy` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-policy +npm install --save @azure/arm-policy @azure/identity ``` -### How to use +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. -#### nodejs - client creation and getByPolicyMode dataPolicyManifests as an example written in TypeScript. +### How to use -##### Install @azure/ms-rest-nodeauth +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and getByPolicyMode dataPolicyManifests as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package - -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { PolicyClient } = require("@azure/arm-policy"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth - .interactiveLogin() - .then((creds) => { - const client = new PolicyClient(creds, subscriptionId); - const policyMode = "testpolicyMode"; - client.dataPolicyManifests.getByPolicyMode(policyMode).then((result) => { - console.log("The result is:"); - console.log(result); - }); - }) - .catch((err) => { - console.error(err); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PolicyClient(creds, subscriptionId); +const policyMode = "testpolicyMode"; +client.dataPolicyManifests.getByPolicyMode(policyMode).then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` -#### browser - Authentication, client creation and getByPolicyMode dataPolicyManifests as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and getByPolicyMode dataPolicyManifests as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html ```html @@ -68,33 +76,26 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-policy sample - - + diff --git a/sdk/policy/arm-policy/package.json b/sdk/policy/arm-policy/package.json index e6934d947760..a5e321b7a066 100644 --- a/sdk/policy/arm-policy/package.json +++ b/sdk/policy/arm-policy/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-policy", "author": "Microsoft Corporation", "description": "PolicyClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/policyClient.js", "types": "./esm/policyClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/policy/arm-policy/src/policyClient.ts b/sdk/policy/arm-policy/src/policyClient.ts index 4b800b476a99..32b3a1885e4d 100644 --- a/sdk/policy/arm-policy/src/policyClient.ts +++ b/sdk/policy/arm-policy/src/policyClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,12 +24,17 @@ class PolicyClient extends PolicyClientContext { /** * Initializes a new instance of the PolicyClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PolicyClientOptions ) { diff --git a/sdk/policy/arm-policy/src/policyClientContext.ts b/sdk/policy/arm-policy/src/policyClientContext.ts index 2b09789e656d..eabd70d6762d 100644 --- a/sdk/policy/arm-policy/src/policyClientContext.ts +++ b/sdk/policy/arm-policy/src/policyClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-policy"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class PolicyClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the PolicyClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PolicyClientOptions ) { diff --git a/sdk/policyinsights/arm-policyinsights/README.md b/sdk/policyinsights/arm-policyinsights/README.md index 6e4136a878bc..b87eda5db0db 100644 --- a/sdk/policyinsights/arm-policyinsights/README.md +++ b/sdk/policyinsights/arm-policyinsights/README.md @@ -1,95 +1,105 @@ ## Azure PolicyInsightsClient SDK for JavaScript -This package contains an isomorphic SDK for PolicyInsightsClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PolicyInsightsClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-policyinsights` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-policyinsights +npm install --save @azure/arm-policyinsights @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and listForManagementGroup remediations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listForManagementGroup remediations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { PolicyInsightsClient } = require("@azure/arm-policyinsights"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new PolicyInsightsClient(creds, subscriptionId); - const managementGroupId = "testmanagementGroupId"; - const top = 1; - const filter = "testfilter"; - client.remediations.listForManagementGroup(managementGroupId, top, filter).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PolicyInsightsClient(creds, subscriptionId); +const managementGroupId = "testmanagementGroupId"; +const top = 1; +const filter = "testfilter"; +client.remediations.listForManagementGroup(managementGroupId, top, filter).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listForManagementGroup remediations as an example written in JavaScript. +#### browser - Authentication, client creation, and listForManagementGroup remediations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-policyinsights sample - - + diff --git a/sdk/policyinsights/arm-policyinsights/package.json b/sdk/policyinsights/arm-policyinsights/package.json index 2d1a254b3b14..1e38d23a0c44 100644 --- a/sdk/policyinsights/arm-policyinsights/package.json +++ b/sdk/policyinsights/arm-policyinsights/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-policyinsights", "author": "Microsoft Corporation", "description": "PolicyInsightsClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/policyInsightsClient.js", "types": "./esm/policyInsightsClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/policyinsights/arm-policyinsights/src/policyInsightsClient.ts b/sdk/policyinsights/arm-policyinsights/src/policyInsightsClient.ts index 9a6e23996468..436f5db2eacb 100644 --- a/sdk/policyinsights/arm-policyinsights/src/policyInsightsClient.ts +++ b/sdk/policyinsights/arm-policyinsights/src/policyInsightsClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,10 +26,15 @@ class PolicyInsightsClient extends PolicyInsightsClientContext { /** * Initializes a new instance of the PolicyInsightsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.PolicyInsightsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.PolicyInsightsClientOptions) { super(credentials, options); this.policyTrackedResources = new operations.PolicyTrackedResources(this); this.remediations = new operations.Remediations(this); diff --git a/sdk/policyinsights/arm-policyinsights/src/policyInsightsClientContext.ts b/sdk/policyinsights/arm-policyinsights/src/policyInsightsClientContext.ts index 8598034d32f8..f516548cf64e 100644 --- a/sdk/policyinsights/arm-policyinsights/src/policyInsightsClientContext.ts +++ b/sdk/policyinsights/arm-policyinsights/src/policyInsightsClientContext.ts @@ -9,20 +9,26 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-policyinsights"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class PolicyInsightsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; /** * Initializes a new instance of the PolicyInsightsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.PolicyInsightsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.PolicyInsightsClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/postgresql/arm-postgresql/README.md b/sdk/postgresql/arm-postgresql/README.md index 4894053e5749..70ce548880f8 100644 --- a/sdk/postgresql/arm-postgresql/README.md +++ b/sdk/postgresql/arm-postgresql/README.md @@ -1,93 +1,103 @@ ## Azure PostgreSQLManagementClient SDK for JavaScript -This package contains an isomorphic SDK for PostgreSQLManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PostgreSQLManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-postgresql` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-postgresql +npm install --save @azure/arm-postgresql @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get servers as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get servers as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { PostgreSQLManagementClient } = require("@azure/arm-postgresql"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new PostgreSQLManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const serverName = "testserverName"; - client.servers.get(resourceGroupName, serverName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PostgreSQLManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const serverName = "testserverName"; +client.servers.get(resourceGroupName, serverName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get servers as an example written in JavaScript. +#### browser - Authentication, client creation, and get servers as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-postgresql sample - - + diff --git a/sdk/postgresql/arm-postgresql/package.json b/sdk/postgresql/arm-postgresql/package.json index 985360d5fddb..2d8d44c2fba5 100644 --- a/sdk/postgresql/arm-postgresql/package.json +++ b/sdk/postgresql/arm-postgresql/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-postgresql", "author": "Microsoft Corporation", "description": "PostgreSQLManagementClient Library with typescript type definitions for node.js and browser.", - "version": "5.0.0", + "version": "5.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/postgreSQLManagementClient.js", "types": "./esm/postgreSQLManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/postgresql/arm-postgresql/src/postgreSQLManagementClient.ts b/sdk/postgresql/arm-postgresql/src/postgreSQLManagementClient.ts index 3ce93955ee2c..6d38dc58f05b 100644 --- a/sdk/postgresql/arm-postgresql/src/postgreSQLManagementClient.ts +++ b/sdk/postgresql/arm-postgresql/src/postgreSQLManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -37,11 +38,16 @@ class PostgreSQLManagementClient extends PostgreSQLManagementClientContext { /** * Initializes a new instance of the PostgreSQLManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PostgreSQLManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PostgreSQLManagementClientOptions) { super(credentials, subscriptionId, options); this.servers = new operations.Servers(this); this.replicas = new operations.Replicas(this); diff --git a/sdk/postgresql/arm-postgresql/src/postgreSQLManagementClientContext.ts b/sdk/postgresql/arm-postgresql/src/postgreSQLManagementClientContext.ts index 7d2c5bb72738..63ae6996dc86 100644 --- a/sdk/postgresql/arm-postgresql/src/postgreSQLManagementClientContext.ts +++ b/sdk/postgresql/arm-postgresql/src/postgreSQLManagementClientContext.ts @@ -9,22 +9,28 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-postgresql"; -const packageVersion = "5.0.0"; +const packageVersion = "5.1.0"; export class PostgreSQLManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the PostgreSQLManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PostgreSQLManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PostgreSQLManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/powerbidedicated/arm-powerbidedicated/README.md b/sdk/powerbidedicated/arm-powerbidedicated/README.md index e213b7d8b506..350863bc9ba0 100644 --- a/sdk/powerbidedicated/arm-powerbidedicated/README.md +++ b/sdk/powerbidedicated/arm-powerbidedicated/README.md @@ -1,94 +1,103 @@ ## Azure PowerBIDedicatedManagementClient SDK for JavaScript -This package contains an isomorphic SDK for PowerBIDedicatedManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PowerBIDedicatedManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-powerbidedicated` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-powerbidedicated +npm install --save @azure/arm-powerbidedicated @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and getDetails capacities as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and getDetails capacities as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { PowerBIDedicatedManagementClient, PowerBIDedicatedManagementModels, PowerBIDedicatedManagementMappers } from "@azure/arm-powerbidedicated"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { PowerBIDedicatedManagementClient } = require("@azure/arm-powerbidedicated"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new PowerBIDedicatedManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const dedicatedCapacityName = "testdedicatedCapacityName"; - client.capacities.getDetails(resourceGroupName, dedicatedCapacityName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PowerBIDedicatedManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const dedicatedCapacityName = "testdedicatedCapacityName"; +client.capacities.getDetails(resourceGroupName, dedicatedCapacityName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and getDetails capacities as an example written in JavaScript. +#### browser - Authentication, client creation, and getDetails capacities as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-powerbidedicated sample - - + diff --git a/sdk/powerbidedicated/arm-powerbidedicated/package.json b/sdk/powerbidedicated/arm-powerbidedicated/package.json index e9e3e8b3365b..4dc75966af4b 100644 --- a/sdk/powerbidedicated/arm-powerbidedicated/package.json +++ b/sdk/powerbidedicated/arm-powerbidedicated/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-powerbidedicated", "author": "Microsoft Corporation", "description": "PowerBIDedicatedManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/powerBIDedicatedManagementClient.js", "types": "./esm/powerBIDedicatedManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/powerbidedicated/arm-powerbidedicated/src/powerBIDedicatedManagementClient.ts b/sdk/powerbidedicated/arm-powerbidedicated/src/powerBIDedicatedManagementClient.ts index 33c72336bac6..eb7fcf046832 100644 --- a/sdk/powerbidedicated/arm-powerbidedicated/src/powerBIDedicatedManagementClient.ts +++ b/sdk/powerbidedicated/arm-powerbidedicated/src/powerBIDedicatedManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,12 +23,17 @@ class PowerBIDedicatedManagementClient extends PowerBIDedicatedManagementClientC /** * Initializes a new instance of the PowerBIDedicatedManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId A unique identifier for a Microsoft Azure subscription. The subscription * ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PowerBIDedicatedManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PowerBIDedicatedManagementClientOptions) { super(credentials, subscriptionId, options); this.capacities = new operations.Capacities(this); this.operations = new operations.Operations(this); diff --git a/sdk/powerbidedicated/arm-powerbidedicated/src/powerBIDedicatedManagementClientContext.ts b/sdk/powerbidedicated/arm-powerbidedicated/src/powerBIDedicatedManagementClientContext.ts index 8c2c324a10d1..0a9f748e5175 100644 --- a/sdk/powerbidedicated/arm-powerbidedicated/src/powerBIDedicatedManagementClientContext.ts +++ b/sdk/powerbidedicated/arm-powerbidedicated/src/powerBIDedicatedManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-powerbidedicated"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class PowerBIDedicatedManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the PowerBIDedicatedManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId A unique identifier for a Microsoft Azure subscription. The subscription * ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PowerBIDedicatedManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PowerBIDedicatedManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/powerbiembedded/arm-powerbiembedded/README.md b/sdk/powerbiembedded/arm-powerbiembedded/README.md index 9213827f768a..ac3cb55a27d4 100644 --- a/sdk/powerbiembedded/arm-powerbiembedded/README.md +++ b/sdk/powerbiembedded/arm-powerbiembedded/README.md @@ -1,93 +1,103 @@ ## Azure PowerBIEmbeddedManagementClient SDK for JavaScript -This package contains an isomorphic SDK for PowerBIEmbeddedManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PowerBIEmbeddedManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-powerbiembedded +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-powerbiembedded` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-powerbiembedded @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and getByName workspaceCollections as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and getByName workspaceCollections as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { PowerBIEmbeddedManagementClient, PowerBIEmbeddedManagementModels, PowerBIEmbeddedManagementMappers } from "@azure/arm-powerbiembedded"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { PowerBIEmbeddedManagementClient } = require("@azure/arm-powerbiembedded"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new PowerBIEmbeddedManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const workspaceCollectionName = "testworkspaceCollectionName"; - client.workspaceCollections.getByName(resourceGroupName, workspaceCollectionName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PowerBIEmbeddedManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const workspaceCollectionName = "testworkspaceCollectionName"; +client.workspaceCollections.getByName(resourceGroupName, workspaceCollectionName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and getByName workspaceCollections as an example written in JavaScript. +#### browser - Authentication, client creation, and getByName workspaceCollections as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-powerbiembedded sample - - + @@ -99,5 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpowerbiembedded%2Farm-powerbiembedded%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/powerbiembedded/arm-powerbiembedded/README.png) diff --git a/sdk/powerbiembedded/arm-powerbiembedded/package.json b/sdk/powerbiembedded/arm-powerbiembedded/package.json index e4ca4e96d3d9..16accacf4be4 100644 --- a/sdk/powerbiembedded/arm-powerbiembedded/package.json +++ b/sdk/powerbiembedded/arm-powerbiembedded/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-powerbiembedded", "author": "Microsoft Corporation", "description": "PowerBIEmbeddedManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.2.0", + "version": "1.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/powerBIEmbeddedManagementClient.js", "types": "./esm/powerBIEmbeddedManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/powerbiembedded/arm-powerbiembedded/src/powerBIEmbeddedManagementClient.ts b/sdk/powerbiembedded/arm-powerbiembedded/src/powerBIEmbeddedManagementClient.ts index a7d1e269bc37..3865970e8d99 100644 --- a/sdk/powerbiembedded/arm-powerbiembedded/src/powerBIEmbeddedManagementClient.ts +++ b/sdk/powerbiembedded/arm-powerbiembedded/src/powerBIEmbeddedManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -23,12 +24,17 @@ class PowerBIEmbeddedManagementClient extends PowerBIEmbeddedManagementClientCon /** * Initializes a new instance of the PowerBIEmbeddedManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify a Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PowerBIEmbeddedManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PowerBIEmbeddedManagementClientOptions) { super(credentials, subscriptionId, options); this.workspaceCollections = new operations.WorkspaceCollections(this); this.workspaces = new operations.Workspaces(this); diff --git a/sdk/powerbiembedded/arm-powerbiembedded/src/powerBIEmbeddedManagementClientContext.ts b/sdk/powerbiembedded/arm-powerbiembedded/src/powerBIEmbeddedManagementClientContext.ts index d2974390607f..7492af897c70 100644 --- a/sdk/powerbiembedded/arm-powerbiembedded/src/powerBIEmbeddedManagementClientContext.ts +++ b/sdk/powerbiembedded/arm-powerbiembedded/src/powerBIEmbeddedManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-powerbiembedded"; -const packageVersion = "0.1.0"; +const packageVersion = "1.3.0"; export class PowerBIEmbeddedManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the PowerBIEmbeddedManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify a Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PowerBIEmbeddedManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PowerBIEmbeddedManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/privatedns/arm-privatedns/README.md b/sdk/privatedns/arm-privatedns/README.md index 855aceddf7bb..c707eccceb75 100644 --- a/sdk/privatedns/arm-privatedns/README.md +++ b/sdk/privatedns/arm-privatedns/README.md @@ -1,94 +1,103 @@ ## Azure PrivateDnsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for PrivateDnsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for PrivateDnsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-privatedns` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-privatedns +npm install --save @azure/arm-privatedns @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get privateZones as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get privateZones as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { PrivateDnsManagementClient, PrivateDnsManagementModels, PrivateDnsManagementMappers } from "@azure/arm-privatedns"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { PrivateDnsManagementClient } = require("@azure/arm-privatedns"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new PrivateDnsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const privateZoneName = "testprivateZoneName"; - client.privateZones.get(resourceGroupName, privateZoneName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new PrivateDnsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const privateZoneName = "testprivateZoneName"; +client.privateZones.get(resourceGroupName, privateZoneName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get privateZones as an example written in JavaScript. +#### browser - Authentication, client creation, and get privateZones as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-privatedns sample - - + diff --git a/sdk/privatedns/arm-privatedns/package.json b/sdk/privatedns/arm-privatedns/package.json index ce01d91428f5..adca1240dfb9 100644 --- a/sdk/privatedns/arm-privatedns/package.json +++ b/sdk/privatedns/arm-privatedns/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-privatedns", "author": "Microsoft Corporation", "description": "PrivateDnsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/privateDnsManagementClient.js", "types": "./esm/privateDnsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/privatedns/arm-privatedns/src/privateDnsManagementClient.ts b/sdk/privatedns/arm-privatedns/src/privateDnsManagementClient.ts index 7f3f6ceb4d13..17ca442b2bc3 100644 --- a/sdk/privatedns/arm-privatedns/src/privateDnsManagementClient.ts +++ b/sdk/privatedns/arm-privatedns/src/privateDnsManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,12 +24,17 @@ class PrivateDnsManagementClient extends PrivateDnsManagementClientContext { /** * Initializes a new instance of the PrivateDnsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PrivateDnsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PrivateDnsManagementClientOptions) { super(credentials, subscriptionId, options); this.privateZones = new operations.PrivateZones(this); this.virtualNetworkLinks = new operations.VirtualNetworkLinks(this); diff --git a/sdk/privatedns/arm-privatedns/src/privateDnsManagementClientContext.ts b/sdk/privatedns/arm-privatedns/src/privateDnsManagementClientContext.ts index 70b7dda90690..353a94c15772 100644 --- a/sdk/privatedns/arm-privatedns/src/privateDnsManagementClientContext.ts +++ b/sdk/privatedns/arm-privatedns/src/privateDnsManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-privatedns"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class PrivateDnsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the PrivateDnsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.PrivateDnsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.PrivateDnsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From 3fe4a1c99ae6f5519c617165704a445d0496b572 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 9 Jul 2021 08:55:25 +0800 Subject: [PATCH 124/134] 60 rp identity support (#16293) --- .../README.md | 108 ++++++++-------- .../package.json | 9 +- .../src/siteRecoveryManagementClient.ts | 10 +- .../siteRecoveryManagementClientContext.ts | 14 ++- sdk/redis/arm-rediscache/README.md | 104 +++++++++------- sdk/redis/arm-rediscache/package.json | 9 +- .../src/redisManagementClient.ts | 10 +- .../src/redisManagementClientContext.ts | 14 ++- .../arm-redisenterprisecache/README.md | 101 ++++++++------- .../arm-redisenterprisecache/package.json | 9 +- .../src/redisEnterpriseManagementClient.ts | 10 +- .../redisEnterpriseManagementClientContext.ts | 14 ++- sdk/relay/arm-relay/README.md | 108 ++++++++-------- sdk/relay/arm-relay/package.json | 9 +- .../arm-relay/src/relayManagementClient.ts | 10 +- .../src/relayManagementClientContext.ts | 14 ++- sdk/resourcegraph/arm-resourcegraph/README.md | 101 ++++++++------- .../arm-resourcegraph/package.json | 9 +- .../src/resourceGraphClient.ts | 10 +- .../src/resourceGraphClientContext.ts | 14 ++- .../arm-resourcehealth/README.md | 115 ++++++++++-------- .../arm-resourcehealth/package.json | 9 +- .../src/microsoftResourceHealth.ts | 10 +- .../src/microsoftResourceHealthContext.ts | 14 ++- sdk/resourcemover/arm-resourcemover/README.md | 108 ++++++++-------- .../arm-resourcemover/package.json | 9 +- .../src/resourceMoverServiceAPI.ts | 10 +- .../src/resourceMoverServiceAPIContext.ts | 14 ++- .../README.md | 104 +++++++++------- .../package.json | 9 +- .../src/resourceManagementClient.ts | 10 +- .../src/resourceManagementClientContext.ts | 14 ++- .../README.md | 106 ++++++++-------- .../package.json | 9 +- .../src/resourceManagementClient.ts | 10 +- .../src/resourceManagementClientContext.ts | 14 ++- sdk/search/arm-search/README.md | 108 ++++++++-------- sdk/search/arm-search/package.json | 9 +- .../arm-search/src/searchManagementClient.ts | 10 +- .../src/searchManagementClientContext.ts | 14 ++- 40 files changed, 812 insertions(+), 581 deletions(-) diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md index 330bfc2c296c..3e179cc135b9 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.md @@ -1,89 +1,100 @@ ## Azure SiteRecoveryManagementClient SDK for JavaScript -This package contains an isomorphic SDK for SiteRecoveryManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SiteRecoveryManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-recoveryservices-siterecovery +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-recoveryservices-siterecovery` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-recoveryservices-siterecovery @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SiteRecoveryManagementClient, SiteRecoveryManagementModels, SiteRecoveryManagementMappers } from "@azure/arm-recoveryservices-siterecovery"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { SiteRecoveryManagementClient } = require("@azure/arm-recoveryservices-siterecovery"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SiteRecoveryManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SiteRecoveryManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-recoveryservices-siterecovery sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Frecoveryservicessiterecovery%2Farm-recoveryservices-siterecovery%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/README.png) diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json index 1376d42c7006..7b0e68bc6d42 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-recoveryservices-siterecovery", "author": "Microsoft Corporation", "description": "SiteRecoveryManagementClient Library with typescript type definitions for node.js and browser.", - "version": "3.2.0", + "version": "3.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/siteRecoveryManagementClient.js", "types": "./esm/siteRecoveryManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts index 8bfa137ac28f..5050254986bd 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -41,14 +42,19 @@ class SiteRecoveryManagementClient extends SiteRecoveryManagementClientContext { /** * Initializes a new instance of the SiteRecoveryManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription Id. * @param resourceGroupName The name of the resource group where the recovery services vault is * present. * @param resourceName The name of the recovery services vault. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, resourceGroupName: string, resourceName: string, options?: Models.SiteRecoveryManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, resourceGroupName: string, resourceName: string, options?: Models.SiteRecoveryManagementClientOptions) { super(credentials, subscriptionId, resourceGroupName, resourceName, options); this.operations = new operations.Operations(this); this.replicationAlertSettings = new operations.ReplicationAlertSettings(this); diff --git a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts index 23d375cb660f..7296861ef671 100644 --- a/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts +++ b/sdk/recoveryservicessiterecovery/arm-recoveryservices-siterecovery/src/siteRecoveryManagementClientContext.ts @@ -10,13 +10,14 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-recoveryservices-siterecovery"; -const packageVersion = "0.1.0"; +const packageVersion = "3.3.0"; export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; resourceGroupName: string; resourceName: string; @@ -24,14 +25,19 @@ export class SiteRecoveryManagementClientContext extends msRestAzure.AzureServic /** * Initializes a new instance of the SiteRecoveryManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription Id. * @param resourceGroupName The name of the resource group where the recovery services vault is * present. * @param resourceName The name of the recovery services vault. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, resourceGroupName: string, resourceName: string, options?: Models.SiteRecoveryManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, resourceGroupName: string, resourceName: string, options?: Models.SiteRecoveryManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/redis/arm-rediscache/README.md b/sdk/redis/arm-rediscache/README.md index 9fd3b180eb27..fd829f3f5e9c 100644 --- a/sdk/redis/arm-rediscache/README.md +++ b/sdk/redis/arm-rediscache/README.md @@ -1,90 +1,100 @@ ## Azure RedisManagementClient SDK for JavaScript -This package contains an isomorphic SDK for RedisManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for RedisManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-rediscache` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-rediscache +npm install --save @azure/arm-rediscache @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { RedisManagementClient, RedisManagementModels, RedisManagementMappers } from "@azure/arm-rediscache"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { RedisManagementClient } = require("@azure/arm-rediscache"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new RedisManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new RedisManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-rediscache sample - - + diff --git a/sdk/redis/arm-rediscache/package.json b/sdk/redis/arm-rediscache/package.json index 1938144a46ee..8aea4be4babb 100644 --- a/sdk/redis/arm-rediscache/package.json +++ b/sdk/redis/arm-rediscache/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-rediscache", "author": "Microsoft Corporation", "description": "RedisManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/redisManagementClient.js", "types": "./esm/redisManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/redis/arm-rediscache/src/redisManagementClient.ts b/sdk/redis/arm-rediscache/src/redisManagementClient.ts index cd3b8b9dfe2e..c5f44bc0b291 100644 --- a/sdk/redis/arm-rediscache/src/redisManagementClient.ts +++ b/sdk/redis/arm-rediscache/src/redisManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,12 +26,17 @@ class RedisManagementClient extends RedisManagementClientContext { /** * Initializes a new instance of the RedisManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RedisManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.RedisManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.redis = new operations.Redis(this); diff --git a/sdk/redis/arm-rediscache/src/redisManagementClientContext.ts b/sdk/redis/arm-rediscache/src/redisManagementClientContext.ts index 286d06abeb1f..873bdcf1b787 100644 --- a/sdk/redis/arm-rediscache/src/redisManagementClientContext.ts +++ b/sdk/redis/arm-rediscache/src/redisManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-rediscache"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class RedisManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the RedisManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RedisManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.RedisManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/redisenterprise/arm-redisenterprisecache/README.md b/sdk/redisenterprise/arm-redisenterprisecache/README.md index 5281f220eba8..f29210e8558f 100644 --- a/sdk/redisenterprise/arm-redisenterprisecache/README.md +++ b/sdk/redisenterprise/arm-redisenterprisecache/README.md @@ -1,89 +1,100 @@ ## Azure RedisEnterpriseManagementClient SDK for JavaScript -This package contains an isomorphic SDK for RedisEnterpriseManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for RedisEnterpriseManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-redisenterprisecache` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-redisenterprisecache +npm install --save @azure/arm-redisenterprisecache @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { RedisEnterpriseManagementClient } = require("@azure/arm-redisenterprisecache"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new RedisEnterpriseManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new RedisEnterpriseManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-redisenterprisecache sample - - + diff --git a/sdk/redisenterprise/arm-redisenterprisecache/package.json b/sdk/redisenterprise/arm-redisenterprisecache/package.json index 016c6da09bcf..1c0617fecd66 100644 --- a/sdk/redisenterprise/arm-redisenterprisecache/package.json +++ b/sdk/redisenterprise/arm-redisenterprisecache/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-redisenterprisecache", "author": "Microsoft Corporation", "description": "RedisEnterpriseManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/redisEnterpriseManagementClient.js", "types": "./esm/redisEnterpriseManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/redisenterprise/arm-redisenterprisecache/src/redisEnterpriseManagementClient.ts b/sdk/redisenterprise/arm-redisenterprisecache/src/redisEnterpriseManagementClient.ts index 39c21aeb4b84..2200130dcf27 100644 --- a/sdk/redisenterprise/arm-redisenterprisecache/src/redisEnterpriseManagementClient.ts +++ b/sdk/redisenterprise/arm-redisenterprisecache/src/redisEnterpriseManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class RedisEnterpriseManagementClient extends RedisEnterpriseManagementClientCon /** * Initializes a new instance of the RedisEnterpriseManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RedisEnterpriseManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.RedisEnterpriseManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.operationsStatus = new operations.OperationsStatus(this); diff --git a/sdk/redisenterprise/arm-redisenterprisecache/src/redisEnterpriseManagementClientContext.ts b/sdk/redisenterprise/arm-redisenterprisecache/src/redisEnterpriseManagementClientContext.ts index 3682ef12303b..cbf5215c0cb7 100644 --- a/sdk/redisenterprise/arm-redisenterprisecache/src/redisEnterpriseManagementClientContext.ts +++ b/sdk/redisenterprise/arm-redisenterprisecache/src/redisEnterpriseManagementClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-redisenterprisecache"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class RedisEnterpriseManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the RedisEnterpriseManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RedisEnterpriseManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.RedisEnterpriseManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/relay/arm-relay/README.md b/sdk/relay/arm-relay/README.md index 3a7fb18fcc3d..b7ba05513e99 100644 --- a/sdk/relay/arm-relay/README.md +++ b/sdk/relay/arm-relay/README.md @@ -1,89 +1,100 @@ ## Azure RelayManagementClient SDK for JavaScript -This package contains an isomorphic SDK for RelayManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for RelayManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-relay +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-relay` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-relay @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { RelayManagementClient, RelayManagementModels, RelayManagementMappers } from "@azure/arm-relay"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { RelayManagementClient } = require("@azure/arm-relay"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new RelayManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new RelayManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-relay sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Frelay%2Farm-relay%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/relay/arm-relay/README.png) diff --git a/sdk/relay/arm-relay/package.json b/sdk/relay/arm-relay/package.json index 22d8588356f6..9c424a274b3e 100644 --- a/sdk/relay/arm-relay/package.json +++ b/sdk/relay/arm-relay/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-relay", "author": "Microsoft Corporation", "description": "RelayManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.1.0", + "version": "2.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/relayManagementClient.js", "types": "./esm/relayManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/relay/arm-relay/src/relayManagementClient.ts b/sdk/relay/arm-relay/src/relayManagementClient.ts index 41bfce598bec..d147eb79ed38 100644 --- a/sdk/relay/arm-relay/src/relayManagementClient.ts +++ b/sdk/relay/arm-relay/src/relayManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,12 +25,17 @@ class RelayManagementClient extends RelayManagementClientContext { /** * Initializes a new instance of the RelayManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RelayManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.RelayManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.namespaces = new operations.Namespaces(this); diff --git a/sdk/relay/arm-relay/src/relayManagementClientContext.ts b/sdk/relay/arm-relay/src/relayManagementClientContext.ts index a00071e51c98..c5b8969552e1 100644 --- a/sdk/relay/arm-relay/src/relayManagementClientContext.ts +++ b/sdk/relay/arm-relay/src/relayManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-relay"; -const packageVersion = "0.1.0"; +const packageVersion = "2.2.0"; export class RelayManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the RelayManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RelayManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.RelayManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/resourcegraph/arm-resourcegraph/README.md b/sdk/resourcegraph/arm-resourcegraph/README.md index b12be35165b5..8bb4101de629 100644 --- a/sdk/resourcegraph/arm-resourcegraph/README.md +++ b/sdk/resourcegraph/arm-resourcegraph/README.md @@ -1,89 +1,100 @@ ## Azure ResourceGraphClient SDK for JavaScript -This package contains an isomorphic SDK for ResourceGraphClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ResourceGraphClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-resourcegraph` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-resourcegraph +npm install --save @azure/arm-resourcegraph @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { ResourceGraphClient } = require("@azure/arm-resourcegraph"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ResourceGraphClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ResourceGraphClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-resourcegraph sample - - + diff --git a/sdk/resourcegraph/arm-resourcegraph/package.json b/sdk/resourcegraph/arm-resourcegraph/package.json index df62daefb40e..22a8f2d81d68 100644 --- a/sdk/resourcegraph/arm-resourcegraph/package.json +++ b/sdk/resourcegraph/arm-resourcegraph/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-resourcegraph", "author": "Microsoft Corporation", "description": "ResourceGraphClient Library with typescript type definitions for node.js and browser.", - "version": "4.1.0", + "version": "4.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/resourceGraphClient.js", "types": "./esm/resourceGraphClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClient.ts b/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClient.ts index c10ca6faa968..ada6b1d910d3 100644 --- a/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClient.ts +++ b/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -20,11 +21,16 @@ class ResourceGraphClient extends ResourceGraphClientContext { /** * Initializes a new instance of the ResourceGraphClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.ResourceGraphClientOptions ) { super(credentials, options); diff --git a/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClientContext.ts b/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClientContext.ts index 16131061fc42..b27af6121d9d 100644 --- a/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClientContext.ts +++ b/sdk/resourcegraph/arm-resourcegraph/src/resourceGraphClientContext.ts @@ -9,21 +9,27 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-resourcegraph"; -const packageVersion = "4.1.0"; +const packageVersion = "4.2.0"; export class ResourceGraphClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; /** * Initializes a new instance of the ResourceGraphClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.ResourceGraphClientOptions ) { if (credentials == undefined) { diff --git a/sdk/resourcehealth/arm-resourcehealth/README.md b/sdk/resourcehealth/arm-resourcehealth/README.md index daefef06fe23..3ca1433748b3 100644 --- a/sdk/resourcehealth/arm-resourcehealth/README.md +++ b/sdk/resourcehealth/arm-resourcehealth/README.md @@ -1,93 +1,103 @@ ## Azure MicrosoftResourceHealth SDK for JavaScript -This package contains an isomorphic SDK for MicrosoftResourceHealth. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MicrosoftResourceHealth. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-resourcehealth +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-resourcehealth` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-resourcehealth @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listBySubscriptionId availabilityStatuses as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and listBySubscriptionId availabilityStatuses as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MicrosoftResourceHealth, MicrosoftResourceHealthModels, MicrosoftResourceHealthMappers } from "@azure/arm-resourcehealth"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MicrosoftResourceHealth } = require("@azure/arm-resourcehealth"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MicrosoftResourceHealth(creds, subscriptionId); - const filter = "testfilter"; - const expand = "testexpand"; - client.availabilityStatuses.listBySubscriptionId(filter, expand).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MicrosoftResourceHealth(creds, subscriptionId); +const filter = "testfilter"; +const expand = "testexpand"; +client.availabilityStatuses.listBySubscriptionId(filter, expand).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listBySubscriptionId availabilityStatuses as an example written in JavaScript. +#### browser - Authentication, client creation, and listBySubscriptionId availabilityStatuses as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-resourcehealth sample - - + @@ -99,5 +109,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fresourcehealth%2Farm-resourcehealth%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/resourcehealth/arm-resourcehealth/README.png) diff --git a/sdk/resourcehealth/arm-resourcehealth/package.json b/sdk/resourcehealth/arm-resourcehealth/package.json index c8c350f2f591..c71ce10ab1c7 100644 --- a/sdk/resourcehealth/arm-resourcehealth/package.json +++ b/sdk/resourcehealth/arm-resourcehealth/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-resourcehealth", "author": "Microsoft Corporation", "description": "MicrosoftResourceHealth Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/microsoftResourceHealth.js", "types": "./esm/microsoftResourceHealth.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealth.ts b/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealth.ts index 07e66bbf7f91..f90ba11e05e9 100644 --- a/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealth.ts +++ b/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealth.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -22,12 +23,17 @@ class MicrosoftResourceHealth extends MicrosoftResourceHealthContext { /** * Initializes a new instance of the MicrosoftResourceHealth class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftResourceHealthOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MicrosoftResourceHealthOptions) { super(credentials, subscriptionId, options); this.availabilityStatuses = new operations.AvailabilityStatuses(this); this.operations = new operations.Operations(this); diff --git a/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealthContext.ts b/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealthContext.ts index b5256df762bb..cecd9d155b3f 100644 --- a/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealthContext.ts +++ b/sdk/resourcehealth/arm-resourcehealth/src/microsoftResourceHealthContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-resourcehealth"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class MicrosoftResourceHealthContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MicrosoftResourceHealth class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftResourceHealthOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MicrosoftResourceHealthOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/resourcemover/arm-resourcemover/README.md b/sdk/resourcemover/arm-resourcemover/README.md index 8c8f8dae2395..dd5bb7571540 100644 --- a/sdk/resourcemover/arm-resourcemover/README.md +++ b/sdk/resourcemover/arm-resourcemover/README.md @@ -1,93 +1,103 @@ ## Azure ResourceMoverServiceAPI SDK for JavaScript -This package contains an isomorphic SDK for ResourceMoverServiceAPI. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ResourceMoverServiceAPI. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-resourcemover` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-resourcemover +npm install --save @azure/arm-resourcemover @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get moveCollections as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get moveCollections as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { ResourceMoverServiceAPI } = require("@azure/arm-resourcemover"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ResourceMoverServiceAPI(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const moveCollectionName = "testmoveCollectionName"; - client.moveCollections.get(resourceGroupName, moveCollectionName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ResourceMoverServiceAPI(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const moveCollectionName = "testmoveCollectionName"; +client.moveCollections.get(resourceGroupName, moveCollectionName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get moveCollections as an example written in JavaScript. +#### browser - Authentication, client creation, and get moveCollections as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-resourcemover sample - - + diff --git a/sdk/resourcemover/arm-resourcemover/package.json b/sdk/resourcemover/arm-resourcemover/package.json index 08acdd8be900..d5e754f45a52 100644 --- a/sdk/resourcemover/arm-resourcemover/package.json +++ b/sdk/resourcemover/arm-resourcemover/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-resourcemover", "author": "Microsoft Corporation", "description": "ResourceMoverServiceAPI Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/resourceMoverServiceAPI.js", "types": "./esm/resourceMoverServiceAPI.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPI.ts b/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPI.ts index 4733943ad50f..42dc7b8b6bf0 100644 --- a/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPI.ts +++ b/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPI.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,11 +24,16 @@ class ResourceMoverServiceAPI extends ResourceMoverServiceAPIContext { /** * Initializes a new instance of the ResourceMoverServiceAPI class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ResourceMoverServiceAPIOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ResourceMoverServiceAPIOptions) { super(credentials, subscriptionId, options); this.moveCollections = new operations.MoveCollections(this); this.moveResources = new operations.MoveResources(this); diff --git a/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPIContext.ts b/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPIContext.ts index 8243af0fc771..72dd8d45bcfe 100644 --- a/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPIContext.ts +++ b/sdk/resourcemover/arm-resourcemover/src/resourceMoverServiceAPIContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-resourcemover"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ResourceMoverServiceAPIContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ResourceMoverServiceAPI class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ResourceMoverServiceAPIOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ResourceMoverServiceAPIOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/README.md b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/README.md index a1247d73f7a3..9019594e7ba2 100644 --- a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/README.md +++ b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure ResourceManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ResourceManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ResourceManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-resources-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-resources-profile-2020-09-01-hybrid +npm install --save @azure/arm-resources-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ResourceManagementClient, ResourceManagementModels, ResourceManagementMappers } from "@azure/arm-resources-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ResourceManagementClient } = require("@azure/arm-resources-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ResourceManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ResourceManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-resources-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/package.json b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/package.json index 11a1d2d24f63..08049fb65cee 100644 --- a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/package.json +++ b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-resources-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "ResourceManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/resourceManagementClient.js", "types": "./esm/resourceManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/src/resourceManagementClient.ts b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/src/resourceManagementClient.ts index 535cd08e4b20..1f14526530af 100644 --- a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/src/resourceManagementClient.ts +++ b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/src/resourceManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -27,11 +28,16 @@ class ResourceManagementClient extends ResourceManagementClientContext { /** * Initializes a new instance of the ResourceManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ResourceManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ResourceManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.deployments = new operations.Deployments(this); diff --git a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/src/resourceManagementClientContext.ts b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/src/resourceManagementClientContext.ts index d51108b522e1..92ef7b4bcf50 100644 --- a/sdk/resources/arm-resources-profile-2020-09-01-hybrid/src/resourceManagementClientContext.ts +++ b/sdk/resources/arm-resources-profile-2020-09-01-hybrid/src/resourceManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-resources-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ResourceManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ResourceManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ResourceManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ResourceManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/README.md b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/README.md index 0fdd24721776..9d60302dadf4 100644 --- a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/README.md +++ b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/README.md @@ -1,89 +1,100 @@ ## Azure ResourceManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ResourceManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ResourceManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-resources-profile-hybrid-2019-03-01` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-resources-profile-hybrid-2019-03-01 +npm install --save @azure/arm-resources-profile-hybrid-2019-03-01 @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ResourceManagementClient, ResourceManagementModels, ResourceManagementMappers } from "@azure/arm-resources-profile-hybrid-2019-03-01"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ResourceManagementClient } = require("@azure/arm-resources-profile-hybrid-2019-03-01"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ResourceManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ResourceManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-resources-profile-hybrid-2019-03-01 sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fresources%2Farm-resources-profile-hybrid-2019-03-01%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/resources/arm-resources-profile-hybrid-2019-03-01/README.png) diff --git a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/package.json b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/package.json index a114ebb9b805..18a300bf6dbb 100644 --- a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/package.json +++ b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-resources-profile-hybrid-2019-03-01", "author": "Microsoft Corporation", "description": "ResourceManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/resourceManagementClient.js", "types": "./esm/resourceManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/src/resourceManagementClient.ts b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/src/resourceManagementClient.ts index b712764c2a93..bae69b68006d 100644 --- a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/src/resourceManagementClient.ts +++ b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/src/resourceManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -27,11 +28,16 @@ class ResourceManagementClient extends ResourceManagementClientContext { /** * Initializes a new instance of the ResourceManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ResourceManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ResourceManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.deployments = new operations.Deployments(this); diff --git a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/src/resourceManagementClientContext.ts b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/src/resourceManagementClientContext.ts index 4ab26206226d..fc0412712c0a 100644 --- a/sdk/resources/arm-resources-profile-hybrid-2019-03-01/src/resourceManagementClientContext.ts +++ b/sdk/resources/arm-resources-profile-hybrid-2019-03-01/src/resourceManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-resources-profile-hybrid-2019-03-01"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ResourceManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ResourceManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ResourceManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ResourceManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/search/arm-search/README.md b/sdk/search/arm-search/README.md index 8a1589580eac..159fd0119ef9 100644 --- a/sdk/search/arm-search/README.md +++ b/sdk/search/arm-search/README.md @@ -1,89 +1,100 @@ ## Azure SearchManagementClient SDK for JavaScript -This package contains an isomorphic SDK for SearchManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SearchManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-search +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-search` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-search @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SearchManagementClient, SearchManagementModels, SearchManagementMappers } from "@azure/arm-search"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { SearchManagementClient } = require("@azure/arm-search"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SearchManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SearchManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-search sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fsearch%2Farm-search%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/search/arm-search/README.png) diff --git a/sdk/search/arm-search/package.json b/sdk/search/arm-search/package.json index e805e27ce74a..fb90a3506f66 100644 --- a/sdk/search/arm-search/package.json +++ b/sdk/search/arm-search/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-search", "author": "Microsoft Corporation", "description": "SearchManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.3.0", + "version": "1.4.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/searchManagementClient.js", "types": "./esm/searchManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/search/arm-search/src/searchManagementClient.ts b/sdk/search/arm-search/src/searchManagementClient.ts index bbdfc8a0aa13..f103244dae59 100644 --- a/sdk/search/arm-search/src/searchManagementClient.ts +++ b/sdk/search/arm-search/src/searchManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,12 +25,17 @@ class SearchManagementClient extends SearchManagementClientContext { /** * Initializes a new instance of the SearchManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain * this value from the Azure Resource Manager API or the portal. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SearchManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SearchManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.adminKeys = new operations.AdminKeys(this); diff --git a/sdk/search/arm-search/src/searchManagementClientContext.ts b/sdk/search/arm-search/src/searchManagementClientContext.ts index ab46edfae202..32e5508eb276 100644 --- a/sdk/search/arm-search/src/searchManagementClientContext.ts +++ b/sdk/search/arm-search/src/searchManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-search"; -const packageVersion = "0.1.0"; +const packageVersion = "1.4.0"; export class SearchManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the SearchManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain * this value from the Azure Resource Manager API or the portal. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SearchManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SearchManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From 5565230074f768cd2d67707d67edd3a3dc06743b Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 9 Jul 2021 08:55:36 +0800 Subject: [PATCH 125/134] 70 rp identity support (#16294) --- .../arm-recoveryservices/README.md | 108 +++++++------- .../arm-recoveryservices/package.json | 9 +- .../src/recoveryServicesClient.ts | 10 +- .../src/recoveryServicesClientContext.ts | 14 +- sdk/serialconsole/arm-serialconsole/README.md | 106 +++++++------- .../arm-serialconsole/package.json | 9 +- .../src/microsoftSerialConsoleClient.ts | 10 +- .../microsoftSerialConsoleClientContext.ts | 14 +- sdk/service-map/arm-servicemap/README.md | 132 ++++++++++-------- sdk/service-map/arm-servicemap/package.json | 9 +- .../src/servicemapManagementClient.ts | 10 +- .../src/servicemapManagementClientContext.ts | 14 +- sdk/servicebus/arm-servicebus/README.md | 104 +++++++------- sdk/servicebus/arm-servicebus/package.json | 9 +- .../src/serviceBusManagementClient.ts | 10 +- .../src/serviceBusManagementClientContext.ts | 14 +- sdk/servicefabric/arm-servicefabric/README.md | 111 ++++++++------- .../arm-servicefabric/package.json | 9 +- .../src/serviceFabricManagementClient.ts | 10 +- .../serviceFabricManagementClientContext.ts | 14 +- .../arm-servicefabricmesh/README.md | 108 +++++++------- .../arm-servicefabricmesh/package.json | 9 +- .../src/serviceFabricMeshManagementClient.ts | 10 +- ...erviceFabricMeshManagementClientContext.ts | 14 +- sdk/signalr/arm-signalr/README.md | 114 +++++++-------- sdk/signalr/arm-signalr/package.json | 9 +- .../src/signalRManagementClient.ts | 10 +- .../src/signalRManagementClientContext.ts | 14 +- .../arm-sqlvirtualmachine/README.md | 115 ++++++++------- .../arm-sqlvirtualmachine/package.json | 9 +- .../src/sqlVirtualMachineManagementClient.ts | 10 +- ...qlVirtualMachineManagementClientContext.ts | 14 +- .../README.md | 106 +++++++------- .../package.json | 9 +- .../src/storageManagementClient.ts | 10 +- .../src/storageManagementClientContext.ts | 14 +- sdk/storage/arm-storage/README.md | 101 ++++++++------ sdk/storage/arm-storage/package.json | 9 +- .../src/storageManagementClient.ts | 10 +- .../src/storageManagementClientContext.ts | 14 +- 40 files changed, 828 insertions(+), 607 deletions(-) diff --git a/sdk/recoveryservices/arm-recoveryservices/README.md b/sdk/recoveryservices/arm-recoveryservices/README.md index 54336c35cd94..ab315519a42c 100644 --- a/sdk/recoveryservices/arm-recoveryservices/README.md +++ b/sdk/recoveryservices/arm-recoveryservices/README.md @@ -1,93 +1,103 @@ ## Azure RecoveryServicesClient SDK for JavaScript -This package contains an isomorphic SDK for RecoveryServicesClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for RecoveryServicesClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-recoveryservices` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-recoveryservices +npm install --save @azure/arm-recoveryservices @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list replicationUsages as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list replicationUsages as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { RecoveryServicesClient } = require("@azure/arm-recoveryservices"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new RecoveryServicesClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const vaultName = "testvaultName"; - client.replicationUsages.list(resourceGroupName, vaultName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new RecoveryServicesClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const vaultName = "testvaultName"; +client.replicationUsages.list(resourceGroupName, vaultName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list replicationUsages as an example written in JavaScript. +#### browser - Authentication, client creation, and list replicationUsages as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-recoveryservices sample - - + diff --git a/sdk/recoveryservices/arm-recoveryservices/package.json b/sdk/recoveryservices/arm-recoveryservices/package.json index 20376606d69b..1ecba9962174 100644 --- a/sdk/recoveryservices/arm-recoveryservices/package.json +++ b/sdk/recoveryservices/arm-recoveryservices/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-recoveryservices", "author": "Microsoft Corporation", "description": "RecoveryServicesClient Library with typescript type definitions for node.js and browser.", - "version": "4.1.0", + "version": "4.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/recoveryServicesClient.js", "types": "./esm/recoveryServicesClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/recoveryservices/arm-recoveryservices/src/recoveryServicesClient.ts b/sdk/recoveryservices/arm-recoveryservices/src/recoveryServicesClient.ts index 7e1df780c2ed..d15c270d9e32 100644 --- a/sdk/recoveryservices/arm-recoveryservices/src/recoveryServicesClient.ts +++ b/sdk/recoveryservices/arm-recoveryservices/src/recoveryServicesClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -28,11 +29,16 @@ class RecoveryServicesClient extends RecoveryServicesClientContext { /** * Initializes a new instance of the RecoveryServicesClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription Id. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RecoveryServicesClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.RecoveryServicesClientOptions) { super(credentials, subscriptionId, options); this.vaultCertificates = new operations.VaultCertificates(this); this.registeredIdentities = new operations.RegisteredIdentities(this); diff --git a/sdk/recoveryservices/arm-recoveryservices/src/recoveryServicesClientContext.ts b/sdk/recoveryservices/arm-recoveryservices/src/recoveryServicesClientContext.ts index 01afef1bd386..9d0b92a7d8d7 100644 --- a/sdk/recoveryservices/arm-recoveryservices/src/recoveryServicesClientContext.ts +++ b/sdk/recoveryservices/arm-recoveryservices/src/recoveryServicesClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-recoveryservices"; -const packageVersion = "4.1.0"; +const packageVersion = "4.2.0"; export class RecoveryServicesClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the RecoveryServicesClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription Id. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.RecoveryServicesClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.RecoveryServicesClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/serialconsole/arm-serialconsole/README.md b/sdk/serialconsole/arm-serialconsole/README.md index 8fcae878eebe..f82477f8a106 100644 --- a/sdk/serialconsole/arm-serialconsole/README.md +++ b/sdk/serialconsole/arm-serialconsole/README.md @@ -1,89 +1,100 @@ ## Azure MicrosoftSerialConsoleClient SDK for JavaScript -This package contains an isomorphic SDK for MicrosoftSerialConsoleClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MicrosoftSerialConsoleClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-serialconsole` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-serialconsole +npm install --save @azure/arm-serialconsole @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and operations list as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and operations list as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MicrosoftSerialConsoleClient, MicrosoftSerialConsoleModels, MicrosoftSerialConsoleMappers } from "@azure/arm-serialconsole"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MicrosoftSerialConsoleClient } = require("@azure/arm-serialconsole"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MicrosoftSerialConsoleClient(creds, subscriptionId); - client.list.operations().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MicrosoftSerialConsoleClient(creds, subscriptionId); + +client.list.operations().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and operations list as an example written in JavaScript. +#### browser - Authentication, client creation, and operations list as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-serialconsole sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fserialconsole%2Farm-serialconsole%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/serialconsole/arm-serialconsole/README.png) diff --git a/sdk/serialconsole/arm-serialconsole/package.json b/sdk/serialconsole/arm-serialconsole/package.json index f2093c23c83a..45a0b393d480 100644 --- a/sdk/serialconsole/arm-serialconsole/package.json +++ b/sdk/serialconsole/arm-serialconsole/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-serialconsole", "author": "Microsoft Corporation", "description": "MicrosoftSerialConsoleClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/microsoftSerialConsoleClient.js", "types": "./esm/microsoftSerialConsoleClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts b/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts index ba521794b237..9735e35a8420 100644 --- a/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts +++ b/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,11 +24,16 @@ class MicrosoftSerialConsoleClient extends MicrosoftSerialConsoleClientContext { /** * Initializes a new instance of the MicrosoftSerialConsoleClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftSerialConsoleClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MicrosoftSerialConsoleClientOptions) { super(credentials, subscriptionId, options); this.list = new operations.List(this); this.listConsole = new operations.ListConsole(this); diff --git a/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClientContext.ts b/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClientContext.ts index 1478ee9b10b3..2fda18a50afb 100644 --- a/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClientContext.ts +++ b/sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-serialconsole"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class MicrosoftSerialConsoleClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MicrosoftSerialConsoleClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftSerialConsoleClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MicrosoftSerialConsoleClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/service-map/arm-servicemap/README.md b/sdk/service-map/arm-servicemap/README.md index fc63791a3f0a..68f74734fbc0 100644 --- a/sdk/service-map/arm-servicemap/README.md +++ b/sdk/service-map/arm-servicemap/README.md @@ -1,103 +1,113 @@ ## Azure ServicemapManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ServicemapManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ServicemapManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-servicemap` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-servicemap +npm install --save @azure/arm-servicemap @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listByWorkspace machines as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and listByWorkspace machines as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ServicemapManagementClient, ServicemapManagementModels, ServicemapManagementMappers } from "@azure/arm-servicemap"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ServicemapManagementClient } = require("@azure/arm-servicemap"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ServicemapManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const workspaceName = "testworkspaceName"; - const live = true; - const startTime = new Date().toISOString(); - const endTime = new Date().toISOString(); - const timestamp = new Date().toISOString(); - const top = 1; - client.machines.listByWorkspace(resourceGroupName, workspaceName, live, startTime, endTime, timestamp, top).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ServicemapManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const workspaceName = "testworkspaceName"; +const live = true; +const startTime = new Date().toISOString(); +const endTime = new Date().toISOString(); +const timestamp = new Date().toISOString(); +const top = 1; +client.machines.listByWorkspace(resourceGroupName, workspaceName, live, startTime, endTime, timestamp, top).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listByWorkspace machines as an example written in JavaScript. +#### browser - Authentication, client creation, and listByWorkspace machines as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-servicemap sample - - + @@ -109,4 +119,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fservice-map%2Farm-servicemap%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/service-map/arm-servicemap/README.png) diff --git a/sdk/service-map/arm-servicemap/package.json b/sdk/service-map/arm-servicemap/package.json index 0fd1d7250ed8..cfa445d99063 100644 --- a/sdk/service-map/arm-servicemap/package.json +++ b/sdk/service-map/arm-servicemap/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-servicemap", "author": "Microsoft Corporation", "description": "ServicemapManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.2.0", + "version": "2.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.0", - "@azure/ms-rest-js": "^2.0.3", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/servicemapManagementClient.js", "types": "./esm/servicemapManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/service-map/arm-servicemap/src/servicemapManagementClient.ts b/sdk/service-map/arm-servicemap/src/servicemapManagementClient.ts index 22ab164d4ac2..a8725b5b9c85 100644 --- a/sdk/service-map/arm-servicemap/src/servicemapManagementClient.ts +++ b/sdk/service-map/arm-servicemap/src/servicemapManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -27,11 +28,16 @@ class ServicemapManagementClient extends ServicemapManagementClientContext { /** * Initializes a new instance of the ServicemapManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServicemapManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ServicemapManagementClientOptions) { super(credentials, subscriptionId, options); this.machines = new operations.Machines(this); this.processes = new operations.Processes(this); diff --git a/sdk/service-map/arm-servicemap/src/servicemapManagementClientContext.ts b/sdk/service-map/arm-servicemap/src/servicemapManagementClientContext.ts index 782f18140578..ccdb98cfe729 100644 --- a/sdk/service-map/arm-servicemap/src/servicemapManagementClientContext.ts +++ b/sdk/service-map/arm-servicemap/src/servicemapManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-servicemap"; -const packageVersion = "2.2.0"; +const packageVersion = "2.3.0"; export class ServicemapManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ServicemapManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServicemapManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ServicemapManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/servicebus/arm-servicebus/README.md b/sdk/servicebus/arm-servicebus/README.md index b14c18cc53b8..81020e0cfe26 100644 --- a/sdk/servicebus/arm-servicebus/README.md +++ b/sdk/servicebus/arm-servicebus/README.md @@ -1,90 +1,100 @@ ## Azure ServiceBusManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ServiceBusManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ServiceBusManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-servicebus` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-servicebus +npm install --save @azure/arm-servicebus @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ServiceBusManagementClient, ServiceBusManagementModels, ServiceBusManagementMappers } from "@azure/arm-servicebus"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ServiceBusManagementClient } = require("@azure/arm-servicebus"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ServiceBusManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ServiceBusManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-servicebus sample - - + diff --git a/sdk/servicebus/arm-servicebus/package.json b/sdk/servicebus/arm-servicebus/package.json index 4a3e56681e22..fe7310bb84d2 100644 --- a/sdk/servicebus/arm-servicebus/package.json +++ b/sdk/servicebus/arm-servicebus/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-servicebus", "author": "Microsoft Corporation", "description": "ServiceBusManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/serviceBusManagementClient.js", "types": "./esm/serviceBusManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/servicebus/arm-servicebus/src/serviceBusManagementClient.ts b/sdk/servicebus/arm-servicebus/src/serviceBusManagementClient.ts index d2cb78a62bf5..f289ed461edd 100644 --- a/sdk/servicebus/arm-servicebus/src/serviceBusManagementClient.ts +++ b/sdk/servicebus/arm-servicebus/src/serviceBusManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -31,12 +32,17 @@ class ServiceBusManagementClient extends ServiceBusManagementClientContext { /** * Initializes a new instance of the ServiceBusManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServiceBusManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ServiceBusManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.namespaces = new operations.Namespaces(this); diff --git a/sdk/servicebus/arm-servicebus/src/serviceBusManagementClientContext.ts b/sdk/servicebus/arm-servicebus/src/serviceBusManagementClientContext.ts index 49a30c3cba92..44ffe2155450 100644 --- a/sdk/servicebus/arm-servicebus/src/serviceBusManagementClientContext.ts +++ b/sdk/servicebus/arm-servicebus/src/serviceBusManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-servicebus"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class ServiceBusManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the ServiceBusManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServiceBusManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ServiceBusManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/servicefabric/arm-servicefabric/README.md b/sdk/servicefabric/arm-servicefabric/README.md index 04ec2c7d4bd6..37a16ad25db6 100644 --- a/sdk/servicefabric/arm-servicefabric/README.md +++ b/sdk/servicefabric/arm-servicefabric/README.md @@ -1,94 +1,103 @@ ## Azure ServiceFabricManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ServiceFabricManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ServiceFabricManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-servicefabric` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-servicefabric +npm install --save @azure/arm-servicefabric @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get clusters as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get clusters as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ServiceFabricManagementClient, ServiceFabricManagementModels, ServiceFabricManagementMappers } from "@azure/arm-servicefabric"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ServiceFabricManagementClient } = require("@azure/arm-servicefabric"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ServiceFabricManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const clusterName = "testclusterName"; - client.clusters.get(resourceGroupName, clusterName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ServiceFabricManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const clusterName = "testclusterName"; +client.clusters.get(resourceGroupName, clusterName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get clusters as an example written in JavaScript. +#### browser - Authentication, client creation, and get clusters as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-servicefabric sample - - + diff --git a/sdk/servicefabric/arm-servicefabric/package.json b/sdk/servicefabric/arm-servicefabric/package.json index 09e9088903be..98a10ebc21f0 100644 --- a/sdk/servicefabric/arm-servicefabric/package.json +++ b/sdk/servicefabric/arm-servicefabric/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-servicefabric", "author": "Microsoft Corporation", "description": "ServiceFabricManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/serviceFabricManagementClient.js", "types": "./esm/serviceFabricManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClient.ts b/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClient.ts index df9866ea3461..8d396cf11af4 100644 --- a/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClient.ts +++ b/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -30,11 +31,16 @@ class ServiceFabricManagementClient extends ServiceFabricManagementClientContext /** * Initializes a new instance of the ServiceFabricManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The customer subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServiceFabricManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ServiceFabricManagementClientOptions) { super(credentials, subscriptionId, options); this.clusters = new operations.Clusters(this); this.clusterVersions = new operations.ClusterVersions(this); diff --git a/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClientContext.ts b/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClientContext.ts index b2a44ab3f52f..1b2bd54440af 100644 --- a/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClientContext.ts +++ b/sdk/servicefabric/arm-servicefabric/src/serviceFabricManagementClientContext.ts @@ -10,22 +10,28 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-servicefabric"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class ServiceFabricManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the ServiceFabricManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The customer subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServiceFabricManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ServiceFabricManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/README.md b/sdk/servicefabricmesh/arm-servicefabricmesh/README.md index 8201d8575194..d1f3156643dd 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/README.md +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/README.md @@ -1,89 +1,100 @@ ## Azure ServiceFabricMeshManagementClient SDK for JavaScript -This package contains an isomorphic SDK for ServiceFabricMeshManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ServiceFabricMeshManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-servicefabricmesh +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-servicefabricmesh` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-servicefabricmesh @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { ServiceFabricMeshManagementClient, ServiceFabricMeshManagementModels, ServiceFabricMeshManagementMappers } from "@azure/arm-servicefabricmesh"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { ServiceFabricMeshManagementClient } = require("@azure/arm-servicefabricmesh"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new ServiceFabricMeshManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new ServiceFabricMeshManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-servicefabricmesh sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fservicefabricmesh%2Farm-servicefabricmesh%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/servicefabricmesh/arm-servicefabricmesh/README.png) diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/package.json b/sdk/servicefabricmesh/arm-servicefabricmesh/package.json index fdd1e11017b6..9bc80260c79b 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/package.json +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-servicefabricmesh", "author": "Microsoft Corporation", "description": "ServiceFabricMeshManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.1.0", + "version": "2.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/serviceFabricMeshManagementClient.js", "types": "./esm/serviceFabricMeshManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClient.ts b/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClient.ts index d63849585195..f8e97eff4825 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClient.ts +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -30,11 +31,16 @@ class ServiceFabricMeshManagementClient extends ServiceFabricMeshManagementClien /** * Initializes a new instance of the ServiceFabricMeshManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The customer subscription identifier * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServiceFabricMeshManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ServiceFabricMeshManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.secret = new operations.Secret(this); diff --git a/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClientContext.ts b/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClientContext.ts index 2cb5036ab674..b34764aa52c1 100644 --- a/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClientContext.ts +++ b/sdk/servicefabricmesh/arm-servicefabricmesh/src/serviceFabricMeshManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-servicefabricmesh"; -const packageVersion = "0.1.0"; +const packageVersion = "2.2.0"; export class ServiceFabricMeshManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the ServiceFabricMeshManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The customer subscription identifier * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.ServiceFabricMeshManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ServiceFabricMeshManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/signalr/arm-signalr/README.md b/sdk/signalr/arm-signalr/README.md index 7423938c8103..41b5de8f57fa 100644 --- a/sdk/signalr/arm-signalr/README.md +++ b/sdk/signalr/arm-signalr/README.md @@ -1,65 +1,74 @@ ## Azure SignalRManagementClient SDK for JavaScript -This package contains an isomorphic SDK for SignalRManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SignalRManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-signalr` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-signalr +npm install --save @azure/arm-signalr @azure/identity ``` -### How to use +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. -#### nodejs - client creation and list operations as an example written in TypeScript. +### How to use -##### Install @azure/ms-rest-nodeauth +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package - -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { SignalRManagementClient } = require("@azure/arm-signalr"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth - .interactiveLogin() - .then((creds) => { - const client = new SignalRManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); - }) - .catch((err) => { - console.error(err); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SignalRManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); +}).catch((err) => { + console.log("An error occurred:"); + console.error(err); +}); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html ```html @@ -67,32 +76,25 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to @azure/arm-signalr sample - - + diff --git a/sdk/signalr/arm-signalr/package.json b/sdk/signalr/arm-signalr/package.json index d6e619813daa..3b83e183076c 100644 --- a/sdk/signalr/arm-signalr/package.json +++ b/sdk/signalr/arm-signalr/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-signalr", "author": "Microsoft Corporation", "description": "SignalRManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/signalRManagementClient.js", "types": "./esm/signalRManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/signalr/arm-signalr/src/signalRManagementClient.ts b/sdk/signalr/arm-signalr/src/signalRManagementClient.ts index f89ba0585838..8d164ba3d84f 100644 --- a/sdk/signalr/arm-signalr/src/signalRManagementClient.ts +++ b/sdk/signalr/arm-signalr/src/signalRManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,13 +25,18 @@ class SignalRManagementClient extends SignalRManagementClientContext { /** * Initializes a new instance of the SignalRManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription Id which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SignalRManagementClientOptions ) { diff --git a/sdk/signalr/arm-signalr/src/signalRManagementClientContext.ts b/sdk/signalr/arm-signalr/src/signalRManagementClientContext.ts index 066c749b799a..d087e8bdb6ae 100644 --- a/sdk/signalr/arm-signalr/src/signalRManagementClientContext.ts +++ b/sdk/signalr/arm-signalr/src/signalRManagementClientContext.ts @@ -9,25 +9,31 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-signalr"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class SignalRManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the SignalRManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription Id which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SignalRManagementClientOptions ) { diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/README.md b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/README.md index ac5fca0a2f2a..33f39830ef60 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/README.md +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/README.md @@ -1,96 +1,105 @@ ## Azure SqlVirtualMachineManagementClient SDK for JavaScript -This package contains an isomorphic SDK for SqlVirtualMachineManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SqlVirtualMachineManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-sqlvirtualmachine` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-sqlvirtualmachine +npm install --save @azure/arm-sqlvirtualmachine @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get availabilityGroupListeners as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get availabilityGroupListeners as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SqlVirtualMachineManagementClient, SqlVirtualMachineManagementModels, SqlVirtualMachineManagementMappers } from "@azure/arm-sqlvirtualmachine"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { SqlVirtualMachineManagementClient } = require("@azure/arm-sqlvirtualmachine"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SqlVirtualMachineManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const sqlVirtualMachineGroupName = "testsqlVirtualMachineGroupName"; - const availabilityGroupListenerName = "testavailabilityGroupListenerName"; - client.availabilityGroupListeners.get(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SqlVirtualMachineManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const sqlVirtualMachineGroupName = "testsqlVirtualMachineGroupName"; +const availabilityGroupListenerName = "testavailabilityGroupListenerName"; +client.availabilityGroupListeners.get(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get availabilityGroupListeners as an example written in JavaScript. +#### browser - Authentication, client creation, and get availabilityGroupListeners as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-sqlvirtualmachine sample - - + diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json index d398e0f6d994..139c5e42f65f 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-sqlvirtualmachine", "author": "Microsoft Corporation", "description": "SqlVirtualMachineManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/sqlVirtualMachineManagementClient.js", "types": "./esm/sqlVirtualMachineManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClient.ts b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClient.ts index 1e7c8b18f037..8605a2c6a825 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClient.ts +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,11 +25,16 @@ class SqlVirtualMachineManagementClient extends SqlVirtualMachineManagementClien /** * Initializes a new instance of the SqlVirtualMachineManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription ID that identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SqlVirtualMachineManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SqlVirtualMachineManagementClientOptions) { super(credentials, subscriptionId, options); this.availabilityGroupListeners = new operations.AvailabilityGroupListeners(this); this.operations = new operations.Operations(this); diff --git a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClientContext.ts b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClientContext.ts index fd4e2c8469cf..f72063e4112d 100644 --- a/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClientContext.ts +++ b/sdk/sqlvirtualmachine/arm-sqlvirtualmachine/src/sqlVirtualMachineManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-sqlvirtualmachine"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class SqlVirtualMachineManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the SqlVirtualMachineManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription ID that identifies an Azure subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SqlVirtualMachineManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SqlVirtualMachineManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/storage/arm-storage-profile-2019-03-01-hybrid/README.md b/sdk/storage/arm-storage-profile-2019-03-01-hybrid/README.md index 970386f1d2f2..433fac8b794e 100644 --- a/sdk/storage/arm-storage-profile-2019-03-01-hybrid/README.md +++ b/sdk/storage/arm-storage-profile-2019-03-01-hybrid/README.md @@ -1,89 +1,100 @@ ## Azure StorageManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StorageManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StorageManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-storage-profile-2019-03-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-storage-profile-2019-03-01-hybrid +npm install --save @azure/arm-storage-profile-2019-03-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { StorageManagementClient, StorageManagementModels, StorageManagementMappers } from "@azure/arm-storage-profile-2019-03-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { StorageManagementClient } = require("@azure/arm-storage-profile-2019-03-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StorageManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StorageManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-storage-profile-2019-03-01-hybrid sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorage%2Farm-storage-profile-2019-03-01-hybrid%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/storage/arm-storage-profile-2019-03-01-hybrid/README.png) diff --git a/sdk/storage/arm-storage-profile-2019-03-01-hybrid/package.json b/sdk/storage/arm-storage-profile-2019-03-01-hybrid/package.json index 74c912b34582..c731499aa5b8 100644 --- a/sdk/storage/arm-storage-profile-2019-03-01-hybrid/package.json +++ b/sdk/storage/arm-storage-profile-2019-03-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-storage-profile-2019-03-01-hybrid", "author": "Microsoft Corporation", "description": "StorageManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/storageManagementClient.js", "types": "./esm/storageManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/storage/arm-storage-profile-2019-03-01-hybrid/src/storageManagementClient.ts b/sdk/storage/arm-storage-profile-2019-03-01-hybrid/src/storageManagementClient.ts index c14b7f11a76f..61b48769f0e3 100644 --- a/sdk/storage/arm-storage-profile-2019-03-01-hybrid/src/storageManagementClient.ts +++ b/sdk/storage/arm-storage-profile-2019-03-01-hybrid/src/storageManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,12 +25,17 @@ class StorageManagementClient extends StorageManagementClientContext { /** * Initializes a new instance of the StorageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.skus = new operations.Skus(this); diff --git a/sdk/storage/arm-storage-profile-2019-03-01-hybrid/src/storageManagementClientContext.ts b/sdk/storage/arm-storage-profile-2019-03-01-hybrid/src/storageManagementClientContext.ts index 0dc8e6064c1a..dcd6e04a2a9d 100644 --- a/sdk/storage/arm-storage-profile-2019-03-01-hybrid/src/storageManagementClientContext.ts +++ b/sdk/storage/arm-storage-profile-2019-03-01-hybrid/src/storageManagementClientContext.ts @@ -10,24 +10,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-storage-profile-2019-03-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class StorageManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the StorageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Gets subscription credentials which uniquely identify the Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/storage/arm-storage/README.md b/sdk/storage/arm-storage/README.md index d95b62a15586..71fc9ecbee4a 100644 --- a/sdk/storage/arm-storage/README.md +++ b/sdk/storage/arm-storage/README.md @@ -1,89 +1,100 @@ ## Azure StorageManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StorageManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StorageManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-storage` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-storage +npm install --save @azure/arm-storage @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { StorageManagementClient } = require("@azure/arm-storage"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StorageManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StorageManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-storage sample - - + diff --git a/sdk/storage/arm-storage/package.json b/sdk/storage/arm-storage/package.json index f1ec9c4fe09c..e9dfee4fe9e6 100644 --- a/sdk/storage/arm-storage/package.json +++ b/sdk/storage/arm-storage/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-storage", "author": "Microsoft Corporation", "description": "StorageManagementClient Library with typescript type definitions for node.js and browser.", - "version": "16.0.0", + "version": "16.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/storageManagementClient.js", "types": "./esm/storageManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/storage/arm-storage/src/storageManagementClient.ts b/sdk/storage/arm-storage/src/storageManagementClient.ts index 243688c40ba2..49219deb5668 100644 --- a/sdk/storage/arm-storage/src/storageManagementClient.ts +++ b/sdk/storage/arm-storage/src/storageManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -38,11 +39,16 @@ class StorageManagementClient extends StorageManagementClientContext { /** * Initializes a new instance of the StorageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.skus = new operations.Skus(this); diff --git a/sdk/storage/arm-storage/src/storageManagementClientContext.ts b/sdk/storage/arm-storage/src/storageManagementClientContext.ts index 6e9d9eefca84..59f62b7b557a 100644 --- a/sdk/storage/arm-storage/src/storageManagementClientContext.ts +++ b/sdk/storage/arm-storage/src/storageManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-storage"; -const packageVersion = "16.0.0"; +const packageVersion = "16.1.0"; export class StorageManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the StorageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ constructor( - credentials: msRest.ServiceClientCredentials, + credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageManagementClientOptions ) { From 4dbf0547dee26e3a936383df0fd5134572d98d03 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 9 Jul 2021 08:55:45 +0800 Subject: [PATCH 126/134] 80 rp support identity (#16295) --- .../README.md | 104 ++++++++-------- .../package.json | 9 +- .../src/storageManagementClient.ts | 10 +- .../src/storageManagementClientContext.ts | 14 ++- sdk/storagecache/arm-storagecache/README.md | 101 +++++++++------- .../arm-storagecache/package.json | 9 +- .../src/storageCacheManagementClient.ts | 10 +- .../storageCacheManagementClientContext.ts | 14 ++- .../arm-storageimportexport/README.md | 108 +++++++++-------- .../arm-storageimportexport/package.json | 9 +- .../storageImportExportManagementClient.ts | 10 +- ...rageImportExportManagementClientContext.ts | 14 ++- sdk/storagesync/arm-storagesync/README.md | 104 ++++++++-------- sdk/storagesync/arm-storagesync/package.json | 9 +- .../src/storageSyncManagementClient.ts | 10 +- .../src/storageSyncManagementClientContext.ts | 14 ++- .../arm-storsimple1200series/README.md | 108 +++++++++-------- .../arm-storsimple1200series/package.json | 9 +- .../src/storSimpleManagementClient.ts | 10 +- .../src/storSimpleManagementClientContext.ts | 14 ++- .../arm-storsimple8000series/README.md | 108 +++++++++-------- .../arm-storsimple8000series/package.json | 9 +- .../storSimple8000SeriesManagementClient.ts | 10 +- ...Simple8000SeriesManagementClientContext.ts | 14 ++- .../arm-streamanalytics/README.md | 112 ++++++++++-------- .../arm-streamanalytics/package.json | 9 +- .../src/streamAnalyticsManagementClient.ts | 10 +- .../streamAnalyticsManagementClientContext.ts | 14 ++- .../README.md | 104 ++++++++-------- .../package.json | 9 +- .../src/subscriptionClient.ts | 10 +- .../src/subscriptionClientContext.ts | 14 ++- .../README.md | 106 +++++++++-------- .../package.json | 9 +- .../src/subscriptionClient.ts | 10 +- .../src/subscriptionClientContext.ts | 14 ++- sdk/support/arm-support/README.md | 104 ++++++++-------- sdk/support/arm-support/package.json | 9 +- .../arm-support/src/microsoftSupport.ts | 10 +- .../src/microsoftSupportContext.ts | 14 ++- 40 files changed, 810 insertions(+), 579 deletions(-) diff --git a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/README.md b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/README.md index af77a5cd2cfa..05785727ec1b 100644 --- a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/README.md +++ b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure StorageManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StorageManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StorageManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-storage-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-storage-profile-2020-09-01-hybrid +npm install --save @azure/arm-storage-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { StorageManagementClient, StorageManagementModels, StorageManagementMappers } from "@azure/arm-storage-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { StorageManagementClient } = require("@azure/arm-storage-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StorageManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StorageManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-storage-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json index a01053038129..470e73450200 100644 --- a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json +++ b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-storage-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "StorageManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/storageManagementClient.js", "types": "./esm/storageManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/src/storageManagementClient.ts b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/src/storageManagementClient.ts index 78d85210f6cf..68af8489b41e 100644 --- a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/src/storageManagementClient.ts +++ b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/src/storageManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -29,11 +30,16 @@ class StorageManagementClient extends StorageManagementClientContext { /** * Initializes a new instance of the StorageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.skus = new operations.Skus(this); diff --git a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/src/storageManagementClientContext.ts b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/src/storageManagementClientContext.ts index 91e12eeb1319..9492f44e1359 100644 --- a/sdk/storage/arm-storage-profile-2020-09-01-hybrid/src/storageManagementClientContext.ts +++ b/sdk/storage/arm-storage-profile-2020-09-01-hybrid/src/storageManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-storage-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class StorageManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the StorageManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/storagecache/arm-storagecache/README.md b/sdk/storagecache/arm-storagecache/README.md index d42f43290e2c..1982b3cbc515 100644 --- a/sdk/storagecache/arm-storagecache/README.md +++ b/sdk/storagecache/arm-storagecache/README.md @@ -1,89 +1,100 @@ ## Azure StorageCacheManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StorageCacheManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StorageCacheManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-storagecache` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-storagecache +npm install --save @azure/arm-storagecache @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { StorageCacheManagementClient } = require("@azure/arm-storagecache"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StorageCacheManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StorageCacheManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-storagecache sample - - + diff --git a/sdk/storagecache/arm-storagecache/package.json b/sdk/storagecache/arm-storagecache/package.json index be9abbe053c5..ed330acbca45 100644 --- a/sdk/storagecache/arm-storagecache/package.json +++ b/sdk/storagecache/arm-storagecache/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-storagecache", "author": "Microsoft Corporation", "description": "StorageCacheManagementClient Library with typescript type definitions for node.js and browser.", - "version": "4.0.0", + "version": "4.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/storageCacheManagementClient.js", "types": "./esm/storageCacheManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/storagecache/arm-storagecache/src/storageCacheManagementClient.ts b/sdk/storagecache/arm-storagecache/src/storageCacheManagementClient.ts index cb15178503bf..c57bfac9ce88 100644 --- a/sdk/storagecache/arm-storagecache/src/storageCacheManagementClient.ts +++ b/sdk/storagecache/arm-storagecache/src/storageCacheManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,12 +26,17 @@ class StorageCacheManagementClient extends StorageCacheManagementClientContext { /** * Initializes a new instance of the StorageCacheManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageCacheManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageCacheManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.skus = new operations.Skus(this); diff --git a/sdk/storagecache/arm-storagecache/src/storageCacheManagementClientContext.ts b/sdk/storagecache/arm-storagecache/src/storageCacheManagementClientContext.ts index 563563daa716..9c2eac11305d 100644 --- a/sdk/storagecache/arm-storagecache/src/storageCacheManagementClientContext.ts +++ b/sdk/storagecache/arm-storagecache/src/storageCacheManagementClientContext.ts @@ -9,24 +9,30 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-storagecache"; -const packageVersion = "4.0.0"; +const packageVersion = "4.1.0"; export class StorageCacheManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the StorageCacheManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageCacheManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageCacheManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/storageimportexport/arm-storageimportexport/README.md b/sdk/storageimportexport/arm-storageimportexport/README.md index cb45c729d669..cce2a48b974c 100644 --- a/sdk/storageimportexport/arm-storageimportexport/README.md +++ b/sdk/storageimportexport/arm-storageimportexport/README.md @@ -1,89 +1,100 @@ ## Azure StorageImportExportManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StorageImportExportManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StorageImportExportManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-storageimportexport +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-storageimportexport` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-storageimportexport @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list locations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list locations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { StorageImportExportManagementClient, StorageImportExportManagementModels, StorageImportExportManagementMappers } from "@azure/arm-storageimportexport"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { StorageImportExportManagementClient } = require("@azure/arm-storageimportexport"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StorageImportExportManagementClient(creds, subscriptionId); - client.locations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StorageImportExportManagementClient(creds, subscriptionId); + +client.locations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list locations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list locations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-storageimportexport sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorageimportexport%2Farm-storageimportexport%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/storageimportexport/arm-storageimportexport/README.png) diff --git a/sdk/storageimportexport/arm-storageimportexport/package.json b/sdk/storageimportexport/arm-storageimportexport/package.json index 9a79781b78a0..010046dba505 100644 --- a/sdk/storageimportexport/arm-storageimportexport/package.json +++ b/sdk/storageimportexport/arm-storageimportexport/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-storageimportexport", "author": "Microsoft Corporation", "description": "StorageImportExportManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.2.0", + "version": "1.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/storageImportExportManagementClient.js", "types": "./esm/storageImportExportManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/storageimportexport/arm-storageimportexport/src/storageImportExportManagementClient.ts b/sdk/storageimportexport/arm-storageimportexport/src/storageImportExportManagementClient.ts index fdc10047f102..2690f8c348dd 100644 --- a/sdk/storageimportexport/arm-storageimportexport/src/storageImportExportManagementClient.ts +++ b/sdk/storageimportexport/arm-storageimportexport/src/storageImportExportManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,11 +25,16 @@ class StorageImportExportManagementClient extends StorageImportExportManagementC /** * Initializes a new instance of the StorageImportExportManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID for the Azure user. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageImportExportManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageImportExportManagementClientOptions) { super(credentials, subscriptionId, options); this.locations = new operations.Locations(this); this.jobs = new operations.Jobs(this); diff --git a/sdk/storageimportexport/arm-storageimportexport/src/storageImportExportManagementClientContext.ts b/sdk/storageimportexport/arm-storageimportexport/src/storageImportExportManagementClientContext.ts index 08a5786a8d6a..26b4751baeac 100644 --- a/sdk/storageimportexport/arm-storageimportexport/src/storageImportExportManagementClientContext.ts +++ b/sdk/storageimportexport/arm-storageimportexport/src/storageImportExportManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-storageimportexport"; -const packageVersion = "0.1.0"; +const packageVersion = "1.3.0"; export class StorageImportExportManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the StorageImportExportManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID for the Azure user. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageImportExportManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageImportExportManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/storagesync/arm-storagesync/README.md b/sdk/storagesync/arm-storagesync/README.md index 09b380bd29de..94c95f784e04 100644 --- a/sdk/storagesync/arm-storagesync/README.md +++ b/sdk/storagesync/arm-storagesync/README.md @@ -1,90 +1,100 @@ ## Azure StorageSyncManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StorageSyncManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StorageSyncManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-storagesync` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-storagesync +npm install --save @azure/arm-storagesync @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { StorageSyncManagementClient, StorageSyncManagementModels, StorageSyncManagementMappers } from "@azure/arm-storagesync"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { StorageSyncManagementClient } = require("@azure/arm-storagesync"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StorageSyncManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StorageSyncManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-storagesync sample - - + diff --git a/sdk/storagesync/arm-storagesync/package.json b/sdk/storagesync/arm-storagesync/package.json index 29b8ef52098c..b9e48bc76811 100644 --- a/sdk/storagesync/arm-storagesync/package.json +++ b/sdk/storagesync/arm-storagesync/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-storagesync", "author": "Microsoft Corporation", "description": "StorageSyncManagementClient Library with typescript type definitions for node.js and browser.", - "version": "8.0.0", + "version": "8.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/storageSyncManagementClient.js", "types": "./esm/storageSyncManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/storagesync/arm-storagesync/src/storageSyncManagementClient.ts b/sdk/storagesync/arm-storagesync/src/storageSyncManagementClient.ts index e8507d474340..9197adff1266 100644 --- a/sdk/storagesync/arm-storagesync/src/storageSyncManagementClient.ts +++ b/sdk/storagesync/arm-storagesync/src/storageSyncManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -28,11 +29,16 @@ class StorageSyncManagementClient extends StorageSyncManagementClientContext { /** * Initializes a new instance of the StorageSyncManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageSyncManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageSyncManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.storageSyncServices = new operations.StorageSyncServices(this); diff --git a/sdk/storagesync/arm-storagesync/src/storageSyncManagementClientContext.ts b/sdk/storagesync/arm-storagesync/src/storageSyncManagementClientContext.ts index ef8da155c09f..8361453ab16c 100644 --- a/sdk/storagesync/arm-storagesync/src/storageSyncManagementClientContext.ts +++ b/sdk/storagesync/arm-storagesync/src/storageSyncManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-storagesync"; -const packageVersion = "8.0.0"; +const packageVersion = "8.1.0"; export class StorageSyncManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the StorageSyncManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorageSyncManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorageSyncManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/storsimple1200series/arm-storsimple1200series/README.md b/sdk/storsimple1200series/arm-storsimple1200series/README.md index 20eccc8968fe..c877b2307124 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/README.md +++ b/sdk/storsimple1200series/arm-storsimple1200series/README.md @@ -1,89 +1,100 @@ ## Azure StorSimpleManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StorSimpleManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StorSimpleManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-storsimple1200series +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-storsimple1200series` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-storsimple1200series @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list managers as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list managers as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { StorSimpleManagementClient, StorSimpleManagementModels, StorSimpleManagementMappers } from "@azure/arm-storsimple1200series"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { StorSimpleManagementClient } = require("@azure/arm-storsimple1200series"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StorSimpleManagementClient(creds, subscriptionId); - client.managers.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StorSimpleManagementClient(creds, subscriptionId); + +client.managers.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list managers as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list managers as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-storsimple1200series sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorsimple1200series%2Farm-storsimple1200series%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/storsimple1200series/arm-storsimple1200series/README.png) diff --git a/sdk/storsimple1200series/arm-storsimple1200series/package.json b/sdk/storsimple1200series/arm-storsimple1200series/package.json index 9a197dea0fdb..db28102f38dd 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/package.json +++ b/sdk/storsimple1200series/arm-storsimple1200series/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-storsimple1200series", "author": "Microsoft Corporation", "description": "StorSimpleManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/storSimpleManagementClient.js", "types": "./esm/storSimpleManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClient.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClient.ts index 142f5f4dd5e2..287f8a1c3a16 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClient.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -35,11 +36,16 @@ class StorSimpleManagementClient extends StorSimpleManagementClientContext { /** * Initializes a new instance of the StorSimpleManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription id * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorSimpleManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorSimpleManagementClientOptions) { super(credentials, subscriptionId, options); this.managers = new operations.Managers(this); this.availableProviderOperations = new operations.AvailableProviderOperationsOperations(this); diff --git a/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClientContext.ts b/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClientContext.ts index 4d4df0919526..f3963c937b05 100644 --- a/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClientContext.ts +++ b/sdk/storsimple1200series/arm-storsimple1200series/src/storSimpleManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-storsimple1200series"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class StorSimpleManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the StorSimpleManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription id * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorSimpleManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorSimpleManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/storsimple8000series/arm-storsimple8000series/README.md b/sdk/storsimple8000series/arm-storsimple8000series/README.md index 6b8d3c897e52..25fcbbb75913 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/README.md +++ b/sdk/storsimple8000series/arm-storsimple8000series/README.md @@ -1,89 +1,100 @@ ## Azure StorSimple8000SeriesManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StorSimple8000SeriesManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StorSimple8000SeriesManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-storsimple8000series +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-storsimple8000series` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-storsimple8000series @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { StorSimple8000SeriesManagementClient, StorSimple8000SeriesManagementModels, StorSimple8000SeriesManagementMappers } from "@azure/arm-storsimple8000series"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { StorSimple8000SeriesManagementClient } = require("@azure/arm-storsimple8000series"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StorSimple8000SeriesManagementClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StorSimple8000SeriesManagementClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-storsimple8000series sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fstorsimple8000series%2Farm-storsimple8000series%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/storsimple8000series/arm-storsimple8000series/README.png) diff --git a/sdk/storsimple8000series/arm-storsimple8000series/package.json b/sdk/storsimple8000series/arm-storsimple8000series/package.json index 192caba6625a..2e099d5968bf 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/package.json +++ b/sdk/storsimple8000series/arm-storsimple8000series/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-storsimple8000series", "author": "Microsoft Corporation", "description": "StorSimple8000SeriesManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/storSimple8000SeriesManagementClient.js", "types": "./esm/storSimple8000SeriesManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClient.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClient.ts index abe8192f1fff..fa637e5d592a 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClient.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -36,11 +37,16 @@ class StorSimple8000SeriesManagementClient extends StorSimple8000SeriesManagemen /** * Initializes a new instance of the StorSimple8000SeriesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription id * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorSimple8000SeriesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorSimple8000SeriesManagementClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.managers = new operations.Managers(this); diff --git a/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClientContext.ts b/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClientContext.ts index 3839ad510595..d85dbba90b3e 100644 --- a/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClientContext.ts +++ b/sdk/storsimple8000series/arm-storsimple8000series/src/storSimple8000SeriesManagementClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-storsimple8000series"; -const packageVersion = "0.1.0"; +const packageVersion = "1.2.0"; export class StorSimple8000SeriesManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; subscriptionId: string; /** * Initializes a new instance of the StorSimple8000SeriesManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription id * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StorSimple8000SeriesManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StorSimple8000SeriesManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/streamanalytics/arm-streamanalytics/README.md b/sdk/streamanalytics/arm-streamanalytics/README.md index 9a7ba43bf422..512d5b856076 100644 --- a/sdk/streamanalytics/arm-streamanalytics/README.md +++ b/sdk/streamanalytics/arm-streamanalytics/README.md @@ -1,95 +1,105 @@ ## Azure StreamAnalyticsManagementClient SDK for JavaScript -This package contains an isomorphic SDK for StreamAnalyticsManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for StreamAnalyticsManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-streamanalytics` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-streamanalytics +npm install --save @azure/arm-streamanalytics @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get functions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get functions as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { StreamAnalyticsManagementClient } = require("@azure/arm-streamanalytics"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new StreamAnalyticsManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const jobName = "testjobName"; - const functionName = "testfunctionName"; - client.functions.get(resourceGroupName, jobName, functionName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new StreamAnalyticsManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const jobName = "testjobName"; +const functionName = "testfunctionName"; +client.functions.get(resourceGroupName, jobName, functionName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get functions as an example written in JavaScript. +#### browser - Authentication, client creation, and get functions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-streamanalytics sample - - + diff --git a/sdk/streamanalytics/arm-streamanalytics/package.json b/sdk/streamanalytics/arm-streamanalytics/package.json index e5246c121745..68082d5df897 100644 --- a/sdk/streamanalytics/arm-streamanalytics/package.json +++ b/sdk/streamanalytics/arm-streamanalytics/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-streamanalytics", "author": "Microsoft Corporation", "description": "StreamAnalyticsManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/streamAnalyticsManagementClient.js", "types": "./esm/streamAnalyticsManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClient.ts b/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClient.ts index 64d4307d04e4..38328160afb4 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClient.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -28,11 +29,16 @@ class StreamAnalyticsManagementClient extends StreamAnalyticsManagementClientCon /** * Initializes a new instance of the StreamAnalyticsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StreamAnalyticsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StreamAnalyticsManagementClientOptions) { super(credentials, subscriptionId, options); this.functions = new operations.Functions(this); this.inputs = new operations.Inputs(this); diff --git a/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClientContext.ts b/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClientContext.ts index 752d8b339deb..cf3c3070ca7d 100644 --- a/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClientContext.ts +++ b/sdk/streamanalytics/arm-streamanalytics/src/streamAnalyticsManagementClientContext.ts @@ -9,22 +9,28 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-streamanalytics"; -const packageVersion = "2.0.0"; +const packageVersion = "2.1.0"; export class StreamAnalyticsManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; /** * Initializes a new instance of the StreamAnalyticsManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.StreamAnalyticsManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.StreamAnalyticsManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/README.md b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/README.md index 6b4a8ef48d90..9c81510dbe11 100644 --- a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/README.md +++ b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/README.md @@ -1,90 +1,100 @@ ## Azure SubscriptionClient SDK for JavaScript -This package contains an isomorphic SDK for SubscriptionClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SubscriptionClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-subscriptions-profile-2020-09-01-hybrid` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-subscriptions-profile-2020-09-01-hybrid +npm install --save @azure/arm-subscriptions-profile-2020-09-01-hybrid @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SubscriptionClient, SubscriptionModels, SubscriptionMappers } from "@azure/arm-subscriptions-profile-2020-09-01-hybrid"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { SubscriptionClient } = require("@azure/arm-subscriptions-profile-2020-09-01-hybrid"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SubscriptionClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SubscriptionClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-subscriptions-profile-2020-09-01-hybrid sample - - + diff --git a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/package.json b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/package.json index 7b5d90e547fa..4b20151cb221 100644 --- a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/package.json +++ b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-subscriptions-profile-2020-09-01-hybrid", "author": "Microsoft Corporation", "description": "SubscriptionClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/subscriptionClient.js", "types": "./esm/subscriptionClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/src/subscriptionClient.ts b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/src/subscriptionClient.ts index 431b90d98a38..8141c14175c2 100644 --- a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/src/subscriptionClient.ts +++ b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/src/subscriptionClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -24,10 +25,15 @@ class SubscriptionClient extends SubscriptionClientContext { /** * Initializes a new instance of the SubscriptionClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.SubscriptionClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.SubscriptionClientOptions) { super(credentials, options); this.operations = new operations.Operations(this); this.subscriptions = new operations.Subscriptions(this); diff --git a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/src/subscriptionClientContext.ts b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/src/subscriptionClientContext.ts index bcef1cc8ac0b..52dafc913ef9 100644 --- a/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/src/subscriptionClientContext.ts +++ b/sdk/subscription/arm-subscriptions-profile-2020-09-01-hybrid/src/subscriptionClientContext.ts @@ -10,21 +10,27 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-subscriptions-profile-2020-09-01-hybrid"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class SubscriptionClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; /** * Initializes a new instance of the SubscriptionClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.SubscriptionClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.SubscriptionClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/README.md b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/README.md index 5996256d2f2a..584920a5b6c1 100644 --- a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/README.md +++ b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/README.md @@ -1,89 +1,100 @@ ## Azure SubscriptionClient SDK for JavaScript -This package contains an isomorphic SDK for SubscriptionClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SubscriptionClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-subscriptions-profile-hybrid-2019-03-01` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-subscriptions-profile-hybrid-2019-03-01 +npm install --save @azure/arm-subscriptions-profile-hybrid-2019-03-01 @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -```bash -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SubscriptionClient, SubscriptionModels, SubscriptionMappers } from "@azure/arm-subscriptions-profile-hybrid-2019-03-01"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { SubscriptionClient } = require("@azure/arm-subscriptions-profile-hybrid-2019-03-01"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SubscriptionClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SubscriptionClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-subscriptions-profile-hybrid-2019-03-01 sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fsubscription%2Farm-subscriptions-profile-hybrid-2019-03-01%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/README.png) diff --git a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/package.json b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/package.json index 41779db9b83e..3328bf47c719 100644 --- a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/package.json +++ b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-subscriptions-profile-hybrid-2019-03-01", "author": "Microsoft Corporation", "description": "SubscriptionClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -21,7 +22,7 @@ "module": "./esm/subscriptionClient.js", "types": "./esm/subscriptionClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/src/subscriptionClient.ts b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/src/subscriptionClient.ts index 188113792eb6..26798d65c839 100644 --- a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/src/subscriptionClient.ts +++ b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/src/subscriptionClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -23,10 +24,15 @@ class SubscriptionClient extends SubscriptionClientContext { /** * Initializes a new instance of the SubscriptionClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.SubscriptionClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.SubscriptionClientOptions) { super(credentials, options); this.operations = new operations.Operations(this); this.subscriptions = new operations.Subscriptions(this); diff --git a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/src/subscriptionClientContext.ts b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/src/subscriptionClientContext.ts index 112d5311b639..36f21676a48c 100644 --- a/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/src/subscriptionClientContext.ts +++ b/sdk/subscription/arm-subscriptions-profile-hybrid-2019-03-01/src/subscriptionClientContext.ts @@ -10,21 +10,27 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-subscriptions-profile-hybrid-2019-03-01"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class SubscriptionClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; apiVersion?: string; /** * Initializes a new instance of the SubscriptionClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.SubscriptionClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.SubscriptionClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/support/arm-support/README.md b/sdk/support/arm-support/README.md index 967c7b23d6d9..38122e7912e5 100644 --- a/sdk/support/arm-support/README.md +++ b/sdk/support/arm-support/README.md @@ -1,90 +1,100 @@ ## Azure MicrosoftSupport SDK for JavaScript -This package contains an isomorphic SDK for MicrosoftSupport. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for MicrosoftSupport. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-support` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-support +npm install --save @azure/arm-support @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { MicrosoftSupport, MicrosoftSupportModels, MicrosoftSupportMappers } from "@azure/arm-support"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { MicrosoftSupport } = require("@azure/arm-support"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new MicrosoftSupport(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new MicrosoftSupport(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-support sample - - + diff --git a/sdk/support/arm-support/package.json b/sdk/support/arm-support/package.json index 275ea5195a21..de53022cc98d 100644 --- a/sdk/support/arm-support/package.json +++ b/sdk/support/arm-support/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-support", "author": "Microsoft Corporation", "description": "MicrosoftSupport Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/microsoftSupport.js", "types": "./esm/microsoftSupport.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/support/arm-support/src/microsoftSupport.ts b/sdk/support/arm-support/src/microsoftSupport.ts index 4b52aeb0dd1e..8395932926de 100644 --- a/sdk/support/arm-support/src/microsoftSupport.ts +++ b/sdk/support/arm-support/src/microsoftSupport.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class MicrosoftSupport extends MicrosoftSupportContext { /** * Initializes a new instance of the MicrosoftSupport class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription Id. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftSupportOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MicrosoftSupportOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.services = new operations.Services(this); diff --git a/sdk/support/arm-support/src/microsoftSupportContext.ts b/sdk/support/arm-support/src/microsoftSupportContext.ts index 2ba89d1d59f5..c1d8a884823a 100644 --- a/sdk/support/arm-support/src/microsoftSupportContext.ts +++ b/sdk/support/arm-support/src/microsoftSupportContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-support"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class MicrosoftSupportContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the MicrosoftSupport class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure subscription Id. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftSupportOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MicrosoftSupportOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From 719cb86b3cd6d280849047b4c6e9835de0093910 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 9 Jul 2021 08:55:54 +0800 Subject: [PATCH 127/134] 90 rp identity support (#16296) --- sdk/synapse/arm-synapse/README.md | 112 ++++++++++-------- sdk/synapse/arm-synapse/package.json | 9 +- .../src/synapseManagementClient.ts | 10 +- .../src/synapseManagementClientContext.ts | 14 ++- .../arm-timeseriesinsights/README.md | 104 ++++++++-------- .../arm-timeseriesinsights/package.json | 9 +- .../src/timeSeriesInsightsClient.ts | 10 +- .../src/timeSeriesInsightsClientContext.ts | 14 ++- sdk/visualstudio/arm-visualstudio/README.md | 108 +++++++++-------- .../arm-visualstudio/package.json | 9 +- .../src/visualStudioResourceProviderClient.ts | 10 +- ...sualStudioResourceProviderClientContext.ts | 14 ++- .../arm-vmwarecloudsimple/README.md | 106 +++++++++-------- .../arm-vmwarecloudsimple/package.json | 9 +- .../src/vMwareCloudSimpleClient.ts | 10 +- .../src/vMwareCloudSimpleClientContext.ts | 14 ++- 16 files changed, 327 insertions(+), 235 deletions(-) diff --git a/sdk/synapse/arm-synapse/README.md b/sdk/synapse/arm-synapse/README.md index 1bda5ed3936c..f7c40f51a535 100644 --- a/sdk/synapse/arm-synapse/README.md +++ b/sdk/synapse/arm-synapse/README.md @@ -1,95 +1,105 @@ ## Azure SynapseManagementClient SDK for JavaScript -This package contains an isomorphic SDK for SynapseManagementClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SynapseManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-synapse` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-synapse +npm install --save @azure/arm-synapse @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - client creation and get bigDataPools as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get bigDataPools as an example written in JavaScript. ##### Sample code -While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package -```typescript -const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { SynapseManagementClient } = require("@azure/arm-synapse"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SynapseManagementClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const workspaceName = "testworkspaceName"; - const bigDataPoolName = "testbigDataPoolName"; - client.bigDataPools.get(resourceGroupName, workspaceName, bigDataPoolName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SynapseManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const workspaceName = "testworkspaceName"; +const bigDataPoolName = "testbigDataPoolName"; +client.bigDataPools.get(resourceGroupName, workspaceName, bigDataPoolName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get bigDataPools as an example written in JavaScript. +#### browser - Authentication, client creation, and get bigDataPools as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-synapse sample - - + diff --git a/sdk/synapse/arm-synapse/package.json b/sdk/synapse/arm-synapse/package.json index c01cf1d6f7d6..22336c8f5773 100644 --- a/sdk/synapse/arm-synapse/package.json +++ b/sdk/synapse/arm-synapse/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-synapse", "author": "Microsoft Corporation", "description": "SynapseManagementClient Library with typescript type definitions for node.js and browser.", - "version": "5.1.0", + "version": "5.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/synapseManagementClient.js", "types": "./esm/synapseManagementClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts index b2adedb6fd50..1c289b9a605d 100644 --- a/sdk/synapse/arm-synapse/src/synapseManagementClient.ts +++ b/sdk/synapse/arm-synapse/src/synapseManagementClient.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -80,11 +81,16 @@ class SynapseManagementClient extends SynapseManagementClientContext { /** * Initializes a new instance of the SynapseManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SynapseManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SynapseManagementClientOptions) { super(credentials, subscriptionId, options); this.bigDataPools = new operations.BigDataPools(this); this.operations = new operations.Operations(this); diff --git a/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts b/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts index 5e44f5084cde..9274fc474b11 100644 --- a/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts +++ b/sdk/synapse/arm-synapse/src/synapseManagementClientContext.ts @@ -9,23 +9,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-synapse"; -const packageVersion = "5.1.0"; +const packageVersion = "5.2.0"; export class SynapseManagementClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the SynapseManagementClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.SynapseManagementClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.SynapseManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/README.md b/sdk/timeseriesinsights/arm-timeseriesinsights/README.md index 06b870353566..6076933bd31b 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/README.md +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/README.md @@ -1,90 +1,100 @@ ## Azure TimeSeriesInsightsClient SDK for JavaScript -This package contains an isomorphic SDK for TimeSeriesInsightsClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for TimeSeriesInsightsClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-timeseriesinsights` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-timeseriesinsights +npm install --save @azure/arm-timeseriesinsights @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { TimeSeriesInsightsClient, TimeSeriesInsightsModels, TimeSeriesInsightsMappers } from "@azure/arm-timeseriesinsights"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { TimeSeriesInsightsClient } = require("@azure/arm-timeseriesinsights"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new TimeSeriesInsightsClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new TimeSeriesInsightsClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-timeseriesinsights sample - - + diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/package.json b/sdk/timeseriesinsights/arm-timeseriesinsights/package.json index d16181f08035..2d7985567227 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/package.json +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-timeseriesinsights", "author": "Microsoft Corporation", "description": "TimeSeriesInsightsClient Library with typescript type definitions for node.js and browser.", - "version": "1.2.1", + "version": "1.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/timeSeriesInsightsClient.js", "types": "./esm/timeSeriesInsightsClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClient.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClient.ts index e42685b68999..92bd53330bd6 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClient.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,11 +26,16 @@ class TimeSeriesInsightsClient extends TimeSeriesInsightsClientContext { /** * Initializes a new instance of the TimeSeriesInsightsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.TimeSeriesInsightsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.TimeSeriesInsightsClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.environments = new operations.Environments(this); diff --git a/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClientContext.ts b/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClientContext.ts index a472e6cfb5f7..7a3cc5a196fb 100644 --- a/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClientContext.ts +++ b/sdk/timeseriesinsights/arm-timeseriesinsights/src/timeSeriesInsightsClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-timeseriesinsights"; -const packageVersion = "1.2.1"; +const packageVersion = "1.3.0"; export class TimeSeriesInsightsClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the TimeSeriesInsightsClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId Azure Subscription ID. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.TimeSeriesInsightsClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.TimeSeriesInsightsClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/visualstudio/arm-visualstudio/README.md b/sdk/visualstudio/arm-visualstudio/README.md index 668b7d702b16..5b43aff9aa0b 100644 --- a/sdk/visualstudio/arm-visualstudio/README.md +++ b/sdk/visualstudio/arm-visualstudio/README.md @@ -1,89 +1,100 @@ ## Azure VisualStudioResourceProviderClient SDK for JavaScript -This package contains an isomorphic SDK for VisualStudioResourceProviderClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for VisualStudioResourceProviderClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites -``` -npm install @azure/arm-visualstudio +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-visualstudio` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-visualstudio @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -``` -npm install @azure/ms-rest-nodeauth -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { VisualStudioResourceProviderClient, VisualStudioResourceProviderModels, VisualStudioResourceProviderMappers } from "@azure/arm-visualstudio"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { VisualStudioResourceProviderClient } = require("@azure/arm-visualstudio"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new VisualStudioResourceProviderClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new VisualStudioResourceProviderClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-visualstudio sample - - + @@ -95,5 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fvisualstudio%2Farm-visualstudio%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/visualstudio/arm-visualstudio/README.png) diff --git a/sdk/visualstudio/arm-visualstudio/package.json b/sdk/visualstudio/arm-visualstudio/package.json index e5a4f09f2f82..1f69fe3a0500 100644 --- a/sdk/visualstudio/arm-visualstudio/package.json +++ b/sdk/visualstudio/arm-visualstudio/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-visualstudio", "author": "Microsoft Corporation", "description": "VisualStudioResourceProviderClient Library with typescript type definitions for node.js and browser.", - "version": "2.2.0", + "version": "2.3.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", + "@azure/ms-rest-azure-js": "^1.4.0", + "@azure/ms-rest-js": "^1.11.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.9.3" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/visualStudioResourceProviderClient.js", "types": "./esm/visualStudioResourceProviderClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", + "typescript": "^3.6.0", "rollup": "^0.66.2", "rollup-plugin-node-resolve": "^3.4.0", "uglify-js": "^3.4.9" diff --git a/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClient.ts b/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClient.ts index f96554b8c9e7..0e47cd85f7c0 100644 --- a/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClient.ts +++ b/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -24,11 +25,16 @@ class VisualStudioResourceProviderClient extends VisualStudioResourceProviderCli /** * Initializes a new instance of the VisualStudioResourceProviderClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.VisualStudioResourceProviderClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.VisualStudioResourceProviderClientOptions) { super(credentials, subscriptionId, options); this.operations = new operations.Operations(this); this.accounts = new operations.Accounts(this); diff --git a/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClientContext.ts b/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClientContext.ts index 92491e79696f..736d63d2a3b5 100644 --- a/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClientContext.ts +++ b/sdk/visualstudio/arm-visualstudio/src/visualStudioResourceProviderClientContext.ts @@ -10,23 +10,29 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-visualstudio"; -const packageVersion = "0.1.0"; +const packageVersion = "2.3.0"; export class VisualStudioResourceProviderClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; /** * Initializes a new instance of the VisualStudioResourceProviderClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The Azure subscription identifier. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.VisualStudioResourceProviderClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.VisualStudioResourceProviderClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md index a5d845825218..7fe7e0ea23d6 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.md @@ -1,90 +1,100 @@ ## Azure VMwareCloudSimpleClient SDK for JavaScript -This package contains an isomorphic SDK for VMwareCloudSimpleClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for VMwareCloudSimpleClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-vmwarecloudsimple` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-vmwarecloudsimple +npm install --save @azure/arm-vmwarecloudsimple @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and list operations as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { VMwareCloudSimpleClient, VMwareCloudSimpleModels, VMwareCloudSimpleMappers } from "@azure/arm-vmwarecloudsimple"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { VMwareCloudSimpleClient } = require("@azure/arm-vmwarecloudsimple"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new VMwareCloudSimpleClient(creds, subscriptionId); - client.operations.list().then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new VMwareCloudSimpleClient(creds, subscriptionId); + +client.operations.list().then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and list operations as an example written in JavaScript. - -##### Install @azure/ms-rest-browserauth +#### browser - Authentication, client creation, and list operations as an example written in JavaScript. -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-vmwarecloudsimple sample - - + @@ -96,4 +106,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fvmwarecloudsimple%2Farm-vmwarecloudsimple%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/README.png) diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json index 2c614357cfc1..5ddf8b14ee49 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-vmwarecloudsimple", "author": "Microsoft Corporation", "description": "VMwareCloudSimpleClient Library with typescript type definitions for node.js and browser.", - "version": "1.0.0", + "version": "1.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/vMwareCloudSimpleClient.js", "types": "./esm/vMwareCloudSimpleClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimpleClient.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimpleClient.ts index dfebce6d20b3..b30d98c95adf 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimpleClient.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimpleClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -30,12 +31,17 @@ class VMwareCloudSimpleClient extends VMwareCloudSimpleClientContext { /** * Initializes a new instance of the VMwareCloudSimpleClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param referer referer url * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, referer: string, options?: Models.VMwareCloudSimpleClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, referer: string, options?: Models.VMwareCloudSimpleClientOptions) { super(credentials, subscriptionId, referer, options); this.operations = new operations.Operations(this); this.dedicatedCloudNodes = new operations.DedicatedCloudNodes(this); diff --git a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimpleClientContext.ts b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimpleClientContext.ts index 4110fc980a0a..735cf0f942e7 100644 --- a/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimpleClientContext.ts +++ b/sdk/vmwarecloudsimple/arm-vmwarecloudsimple/src/vMwareCloudSimpleClientContext.ts @@ -10,25 +10,31 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-vmwarecloudsimple"; -const packageVersion = "1.0.0"; +const packageVersion = "1.1.0"; export class VMwareCloudSimpleClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; apiVersion?: string; referer: string; /** * Initializes a new instance of the VMwareCloudSimpleClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The subscription ID. * @param referer referer url * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, referer: string, options?: Models.VMwareCloudSimpleClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, referer: string, options?: Models.VMwareCloudSimpleClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From 35fc536f443454b23b21bc7d63a86c07a9465369 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 9 Jul 2021 14:57:20 +0800 Subject: [PATCH 128/134] arm-databricks-release (#16327) --- sdk/databricks/arm-databricks/LICENSE.txt | 2 +- sdk/databricks/arm-databricks/README.md | 115 +- sdk/databricks/arm-databricks/package.json | 31 +- .../arm-databricks/rollup.config.js | 24 +- .../src/azureDatabricksManagementClient.ts | 55 + ...azureDatabricksManagementClientContext.ts} | 31 +- .../arm-databricks/src/databricksClient.ts | 44 - .../arm-databricks/src/models/index.ts | 1287 ++++++++++++++--- .../arm-databricks/src/models/mappers.ts | 975 ++++++++++++- .../src/models/operationsMappers.ts | 17 +- .../arm-databricks/src/models/parameters.ts | 51 +- .../privateEndpointConnectionsMappers.ts | 43 + .../src/models/privateLinkResourcesMappers.ts | 43 + .../src/models/vNetPeeringMappers.ts | 43 + .../src/models/workspacesMappers.ts | 50 +- .../arm-databricks/src/operations/index.ts | 8 +- .../src/operations/operations.ts | 18 +- .../operations/privateEndpointConnections.ts | 339 +++++ .../src/operations/privateLinkResources.ts | 203 +++ .../src/operations/vNetPeering.ts | 333 +++++ .../src/operations/workspaces.ts | 33 +- sdk/databricks/arm-databricks/tsconfig.json | 2 +- 22 files changed, 3322 insertions(+), 425 deletions(-) create mode 100644 sdk/databricks/arm-databricks/src/azureDatabricksManagementClient.ts rename sdk/databricks/arm-databricks/src/{databricksClientContext.ts => azureDatabricksManagementClientContext.ts} (55%) delete mode 100644 sdk/databricks/arm-databricks/src/databricksClient.ts create mode 100644 sdk/databricks/arm-databricks/src/models/privateEndpointConnectionsMappers.ts create mode 100644 sdk/databricks/arm-databricks/src/models/privateLinkResourcesMappers.ts create mode 100644 sdk/databricks/arm-databricks/src/models/vNetPeeringMappers.ts create mode 100644 sdk/databricks/arm-databricks/src/operations/privateEndpointConnections.ts create mode 100644 sdk/databricks/arm-databricks/src/operations/privateLinkResources.ts create mode 100644 sdk/databricks/arm-databricks/src/operations/vNetPeering.ts diff --git a/sdk/databricks/arm-databricks/LICENSE.txt b/sdk/databricks/arm-databricks/LICENSE.txt index a70e8cf66038..2d3163745319 100644 --- a/sdk/databricks/arm-databricks/LICENSE.txt +++ b/sdk/databricks/arm-databricks/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/databricks/arm-databricks/README.md b/sdk/databricks/arm-databricks/README.md index a98459c8bb4d..b95c4cee0248 100644 --- a/sdk/databricks/arm-databricks/README.md +++ b/sdk/databricks/arm-databricks/README.md @@ -1,93 +1,101 @@ -## Azure DatabricksClient SDK for JavaScript +## Azure AzureDatabricksManagementClient SDK for JavaScript -This package contains an isomorphic SDK for DatabricksClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for AzureDatabricksManagementClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-databricks` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: +```bash +npm install --save @azure/arm-databricks @azure/identity ``` -npm install @azure/arm-databricks -``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. ### How to use -#### nodejs - Authentication, client creation and get workspaces as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth - -``` -npm install @azure/ms-rest-nodeauth -``` +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. +#### nodejs - Authentication, client creation, and get workspaces as an example written in JavaScript. ##### Sample code -```ts -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { DatabricksClient, DatabricksModels, DatabricksMappers } from "@azure/arm-databricks"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { AzureDatabricksManagementClient } = require("@azure/arm-databricks"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new DatabricksClient(creds, subscriptionId); - const resourceGroupName = "testresourceGroupName"; - const workspaceName = "testworkspaceName"; - client.workspaces.get(resourceGroupName, workspaceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureDatabricksManagementClient(creds, subscriptionId); +const resourceGroupName = "testresourceGroupName"; +const workspaceName = "testworkspaceName"; +client.workspaces.get(resourceGroupName, workspaceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get workspaces as an example written in JavaScript. +#### browser - Authentication, client creation, and get workspaces as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -``` -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-databricks sample - - + @@ -99,5 +107,4 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to - [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fdatabricks%2Farm-databricks%2FREADME.png) +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/databricks/arm-databricks/README.png) diff --git a/sdk/databricks/arm-databricks/package.json b/sdk/databricks/arm-databricks/package.json index bf9a5c43a413..050a2526cc69 100644 --- a/sdk/databricks/arm-databricks/package.json +++ b/sdk/databricks/arm-databricks/package.json @@ -1,12 +1,13 @@ { "name": "@azure/arm-databricks", "author": "Microsoft Corporation", - "description": "DatabricksClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "description": "AzureDatabricksManagementClient Library with typescript type definitions for node.js and browser.", + "version": "2.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.1.0", - "@azure/ms-rest-js": "^1.1.0", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -17,21 +18,22 @@ ], "license": "MIT", "main": "./dist/arm-databricks.js", - "module": "./esm/databricksClient.js", - "types": "./esm/databricksClient.d.ts", + "module": "./esm/azureDatabricksManagementClient.js", + "types": "./esm/azureDatabricksManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", - "uglify-js": "^3.4.9" + "typescript": "^3.6.0", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-sourcemaps": "^0.4.2", + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/azure/azure-sdk-for-js/tree/main/sdk/databricks/arm-databricks", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/databricks/arm-databricks", "repository": { "type": "git", - "url": "https://github.com/azure/azure-sdk-for-js.git" + "url": "https://github.com/Azure/azure-sdk-for-js.git" }, "bugs": { - "url": "https://github.com/azure/azure-sdk-for-js/issues" + "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/**/*.js", @@ -43,6 +45,7 @@ "esm/**/*.d.ts", "esm/**/*.d.ts.map", "src/**/*.ts", + "README.md", "rollup.config.js", "tsconfig.json" ], diff --git a/sdk/databricks/arm-databricks/rollup.config.js b/sdk/databricks/arm-databricks/rollup.config.js index 10910c284024..c802420682fb 100644 --- a/sdk/databricks/arm-databricks/rollup.config.js +++ b/sdk/databricks/arm-databricks/rollup.config.js @@ -1,10 +1,16 @@ +import rollup from "rollup"; import nodeResolve from "rollup-plugin-node-resolve"; +import sourcemaps from "rollup-plugin-sourcemaps"; + /** - * @type {import('rollup').RollupFileOptions} + * @type {rollup.RollupFileOptions} */ const config = { - input: './esm/databricksClient.js', - external: ["@azure/ms-rest-js", "@azure/ms-rest-azure-js"], + input: "./esm/azureDatabricksManagementClient.js", + external: [ + "@azure/ms-rest-js", + "@azure/ms-rest-azure-js" + ], output: { file: "./dist/arm-databricks.js", format: "umd", @@ -15,17 +21,17 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }) + nodeResolve({ mainFields: ['module', 'main'] }), + sourcemaps() ] }; + export default config; diff --git a/sdk/databricks/arm-databricks/src/azureDatabricksManagementClient.ts b/sdk/databricks/arm-databricks/src/azureDatabricksManagementClient.ts new file mode 100644 index 000000000000..5d55e69868a9 --- /dev/null +++ b/sdk/databricks/arm-databricks/src/azureDatabricksManagementClient.ts @@ -0,0 +1,55 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; +import * as Models from "./models"; +import * as Mappers from "./models/mappers"; +import * as operations from "./operations"; +import { AzureDatabricksManagementClientContext } from "./azureDatabricksManagementClientContext"; + + +class AzureDatabricksManagementClient extends AzureDatabricksManagementClientContext { + // Operation groups + workspaces: operations.Workspaces; + operations: operations.Operations; + privateLinkResources: operations.PrivateLinkResources; + privateEndpointConnections: operations.PrivateEndpointConnections; + vNetPeering: operations.VNetPeering; + + /** + * Initializes a new instance of the AzureDatabricksManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. + * @param subscriptionId The ID of the target subscription. + * @param [options] The parameter options + */ + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureDatabricksManagementClientOptions) { + super(credentials, subscriptionId, options); + this.workspaces = new operations.Workspaces(this); + this.operations = new operations.Operations(this); + this.privateLinkResources = new operations.PrivateLinkResources(this); + this.privateEndpointConnections = new operations.PrivateEndpointConnections(this); + this.vNetPeering = new operations.VNetPeering(this); + } +} + +// Operation Specifications + +export { + AzureDatabricksManagementClient, + AzureDatabricksManagementClientContext, + Models as AzureDatabricksManagementModels, + Mappers as AzureDatabricksManagementMappers +}; +export * from "./operations"; diff --git a/sdk/databricks/arm-databricks/src/databricksClientContext.ts b/sdk/databricks/arm-databricks/src/azureDatabricksManagementClientContext.ts similarity index 55% rename from sdk/databricks/arm-databricks/src/databricksClientContext.ts rename to sdk/databricks/arm-databricks/src/azureDatabricksManagementClientContext.ts index be3305b83c0f..56998e973ae1 100644 --- a/sdk/databricks/arm-databricks/src/databricksClientContext.ts +++ b/sdk/databricks/arm-databricks/src/azureDatabricksManagementClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -11,22 +10,27 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-databricks"; -const packageVersion = "0.1.0"; +const packageVersion = "2.0.0"; -export class DatabricksClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; +export class AzureDatabricksManagementClientContext extends msRestAzure.AzureServiceClient { + credentials: msRest.ServiceClientCredentials | TokenCredential; subscriptionId: string; - apiVersion?: string; /** - * Initializes a new instance of the DatabricksClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * Initializes a new instance of the AzureDatabricksManagementClient class. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param subscriptionId The ID of the target subscription. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DatabricksClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.AzureDatabricksManagementClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } @@ -37,14 +41,13 @@ export class DatabricksClientContext extends msRestAzure.AzureServiceClient { if (!options) { options = {}; } - if(!options.userAgent) { + if (!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } super(credentials, options); - this.apiVersion = '2018-04-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; @@ -52,10 +55,10 @@ export class DatabricksClientContext extends msRestAzure.AzureServiceClient { this.credentials = credentials; this.subscriptionId = subscriptionId; - if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/databricks/arm-databricks/src/databricksClient.ts b/sdk/databricks/arm-databricks/src/databricksClient.ts deleted file mode 100644 index ef1cc667e629..000000000000 --- a/sdk/databricks/arm-databricks/src/databricksClient.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. - */ - -import * as msRest from "@azure/ms-rest-js"; -import * as Models from "./models"; -import * as Mappers from "./models/mappers"; -import * as operations from "./operations"; -import { DatabricksClientContext } from "./databricksClientContext"; - - -class DatabricksClient extends DatabricksClientContext { - // Operation groups - workspaces: operations.Workspaces; - operations: operations.Operations; - - /** - * Initializes a new instance of the DatabricksClient class. - * @param credentials Credentials needed for the client to connect to Azure. - * @param subscriptionId The ID of the target subscription. - * @param [options] The parameter options - */ - constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.DatabricksClientOptions) { - super(credentials, subscriptionId, options); - this.workspaces = new operations.Workspaces(this); - this.operations = new operations.Operations(this); - } -} - -// Operation Specifications - -export { - DatabricksClient, - DatabricksClientContext, - Models as DatabricksModels, - Mappers as DatabricksMappers -}; -export * from "./operations"; diff --git a/sdk/databricks/arm-databricks/src/models/index.ts b/sdk/databricks/arm-databricks/src/models/index.ts index 5b622f068da9..356dc9ebbf76 100644 --- a/sdk/databricks/arm-databricks/src/models/index.ts +++ b/sdk/databricks/arm-databricks/src/models/index.ts @@ -1,11 +1,9 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js"; @@ -13,307 +11,1153 @@ import * as msRest from "@azure/ms-rest-js"; export { BaseResource, CloudError }; +/** + * The Value. + */ +export interface WorkspaceCustomStringParameter { + /** + * The type of variable that this is. Possible values include: 'Bool', 'Object', 'String' + */ + type?: CustomParameterType; + /** + * The value which should be used for this field. + */ + value: string; +} + +/** + * The value which should be used for this field. + */ +export interface WorkspaceCustomBooleanParameter { + /** + * The type of variable that this is. Possible values include: 'Bool', 'Object', 'String' + */ + type?: CustomParameterType; + /** + * The value which should be used for this field. + */ + value: boolean; +} + +/** + * The object that contains details of encryption used on the workspace. + */ +export interface Encryption { + /** + * The encryption keySource (provider). Possible values (case-insensitive): Default, + * Microsoft.Keyvault. Possible values include: 'Default', 'Microsoft.Keyvault'. Default value: + * 'Default'. + */ + keySource?: KeySource; + /** + * The name of KeyVault key. + */ + keyName?: string; + /** + * The version of KeyVault key. + */ + keyVersion?: string; + /** + * The Uri of KeyVault. + */ + keyVaultUri?: string; +} + +/** + * The object that contains details of encryption used on the workspace. + */ +export interface WorkspaceEncryptionParameter { + /** + * The type of variable that this is. Possible values include: 'Bool', 'Object', 'String' + */ + type?: CustomParameterType; + /** + * The value which should be used for this field. + */ + value?: Encryption; +} + +/** + * The value which should be used for this field. + */ +export interface WorkspaceCustomObjectParameter { + /** + * The type of variable that this is. Possible values include: 'Bool', 'Object', 'String' + */ + type?: CustomParameterType; + /** + * The value which should be used for this field. + */ + value: any; +} + +/** + * Custom Parameters used for Cluster Creation. + */ +export interface WorkspaceCustomParameters { + /** + * The ID of a Azure Machine Learning workspace to link with Databricks workspace + */ + amlWorkspaceId?: WorkspaceCustomStringParameter; + /** + * The ID of a Virtual Network where this Databricks Cluster should be created + */ + customVirtualNetworkId?: WorkspaceCustomStringParameter; + /** + * The name of a Public Subnet within the Virtual Network + */ + customPublicSubnetName?: WorkspaceCustomStringParameter; + /** + * The name of the Private Subnet within the Virtual Network + */ + customPrivateSubnetName?: WorkspaceCustomStringParameter; + /** + * Should the Public IP be Disabled? + */ + enableNoPublicIp?: WorkspaceCustomBooleanParameter; + /** + * Name of the outbound Load Balancer Backend Pool for Secure Cluster Connectivity (No Public + * IP). + */ + loadBalancerBackendPoolName?: WorkspaceCustomStringParameter; + /** + * Resource URI of Outbound Load balancer for Secure Cluster Connectivity (No Public IP) + * workspace. + */ + loadBalancerId?: WorkspaceCustomStringParameter; + /** + * Name of the NAT gateway for Secure Cluster Connectivity (No Public IP) workspace subnets. + */ + natGatewayName?: WorkspaceCustomStringParameter; + /** + * Name of the Public IP for No Public IP workspace with managed vNet. + */ + publicIpName?: WorkspaceCustomStringParameter; + /** + * Prepare the workspace for encryption. Enables the Managed Identity for managed storage + * account. + */ + prepareEncryption?: WorkspaceCustomBooleanParameter; + /** + * Contains the encryption details for Customer-Managed Key (CMK) enabled workspace. + */ + encryption?: WorkspaceEncryptionParameter; + /** + * A boolean indicating whether or not the DBFS root file system will be enabled with secondary + * layer of encryption with platform managed keys for data at rest. + */ + requireInfrastructureEncryption?: WorkspaceCustomBooleanParameter; + /** + * Default DBFS storage account name. + */ + storageAccountName?: WorkspaceCustomStringParameter; + /** + * Storage account SKU name, ex: Standard_GRS, Standard_LRS. Refer https://aka.ms/storageskus for + * valid inputs. + */ + storageAccountSkuName?: WorkspaceCustomStringParameter; + /** + * Address prefix for Managed virtual network. Default value for this input is 10.139. + */ + vnetAddressPrefix?: WorkspaceCustomStringParameter; + /** + * Tags applied to resources under Managed resource group. These can be updated by updating tags + * at workspace level. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceTags?: WorkspaceCustomObjectParameter; +} /** - * @interface - * An interface representing WorkspaceProviderAuthorization. * The workspace provider authorization. - * */ export interface WorkspaceProviderAuthorization { /** - * @member {string} principalId The provider's principal identifier. This is - * the identity that the provider will use to call ARM to manage the - * workspace resources. + * The provider's principal identifier. This is the identity that the provider will use to call + * ARM to manage the workspace resources. */ principalId: string; /** - * @member {string} roleDefinitionId The provider's role definition - * identifier. This role will define all the permissions that the provider - * must have on the workspace's container resource group. This role - * definition cannot have permission to delete the resource group. + * The provider's role definition identifier. This role will define all the permissions that the + * provider must have on the workspace's container resource group. This role definition cannot + * have permission to delete the resource group. */ roleDefinitionId: string; } /** - * @interface - * An interface representing Sku. + * Provides details of the entity that created/updated the workspace. + */ +export interface CreatedBy { + /** + * The Object ID that created the workspace. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly oid?: string; + /** + * The Personal Object ID corresponding to the object ID above + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly puid?: string; + /** + * The application ID of the application that initiated the creation of the workspace. For + * example, Azure Portal. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly applicationId?: string; +} + +/** + * The Managed Identity details for storage account. + */ +export interface ManagedIdentityConfiguration { + /** + * The objectId of the Managed Identity that is linked to the Managed Storage account. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly principalId?: string; + /** + * The tenant Id where the Managed Identity is created. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly tenantId?: string; + /** + * The type of Identity created. It can be either SystemAssigned or UserAssigned. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * Key Vault input properties for encryption. + */ +export interface EncryptionV2KeyVaultProperties { + /** + * The Uri of KeyVault. + */ + keyVaultUri: string; + /** + * The name of KeyVault key. + */ + keyName: string; + /** + * The version of KeyVault key. + */ + keyVersion: string; +} + +/** + * The object that contains details of encryption used on the workspace. + */ +export interface EncryptionV2 { + /** + * Key Vault input properties for encryption. + */ + keyVaultProperties?: EncryptionV2KeyVaultProperties; +} + +/** + * Encryption entities for databricks workspace resource. + */ +export interface EncryptionEntitiesDefinition { + /** + * Encryption properties for the databricks managed services. + */ + managedServices?: EncryptionV2; +} + +/** + * Encryption properties for databricks workspace + */ +export interface WorkspacePropertiesEncryption { + /** + * Encryption entities definition for the workspace. + */ + entities: EncryptionEntitiesDefinition; +} + +/** + * The private endpoint property of a private endpoint connection + */ +export interface PrivateEndpoint { + /** + * The resource identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; +} + +/** + * The current state of a private endpoint connection + */ +export interface PrivateLinkServiceConnectionState { + /** + * The status of a private endpoint connection. Possible values include: 'Pending', 'Approved', + * 'Rejected', 'Disconnected' + */ + status: PrivateLinkServiceConnectionStatus; + /** + * The description for the current state of a private endpoint connection + */ + description?: string; + /** + * Actions required for a private endpoint connection + */ + actionRequired?: string; +} + +/** + * The properties of a private endpoint connection + */ +export interface PrivateEndpointConnectionProperties { + /** + * Private endpoint. Private endpoint + */ + privateEndpoint?: PrivateEndpoint; + /** + * Private link service service connection state. Private endpoint connection state + */ + privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; + /** + * Provisioning state of the private endpoint connection. Possible values include: 'Succeeded', + * 'Creating', 'Updating', 'Deleting', 'Failed' + */ + provisioningState?: PrivateEndpointConnectionProvisioningState; +} + +/** + * The private endpoint connection of a workspace + */ +export interface PrivateEndpointConnection extends BaseResource { + /** + * The resource identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * The resource name. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * The private endpoint connection properties. + */ + properties: PrivateEndpointConnectionProperties; +} + +/** * SKU for the resource. - * */ export interface Sku { /** - * @member {string} name The SKU name. + * The SKU name. */ name: string; /** - * @member {string} [tier] The SKU tier. + * The SKU tier. */ tier?: string; } /** - * @interface - * An interface representing Resource. + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; +} + +/** * The core properties of ARM resources - * - * @extends BaseResource */ export interface Resource extends BaseResource { /** - * @member {string} [id] Fully qualified resource Id for the resource. Ex - + * Fully qualified resource Id for the resource. Ex - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly id?: string; /** - * @member {string} [name] The name of the resource - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The name of the resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** - * @member {string} [type] The type of the resource. Ex- - * Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The type of the resource. Ex- Microsoft.Compute/virtualMachines or + * Microsoft.Storage/storageAccounts. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * @interface - * An interface representing TrackedResource. * The resource model definition for a ARM tracked top level resource - * - * @extends Resource */ export interface TrackedResource extends Resource { /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags. + * Resource tags. */ tags?: { [propertyName: string]: string }; /** - * @member {string} location The geo-location where the resource lives + * The geo-location where the resource lives */ location: string; } /** - * @interface - * An interface representing Workspace. * Information about workspace. - * - * @extends TrackedResource */ export interface Workspace extends TrackedResource { /** - * @member {string} managedResourceGroupId The managed resource group Id. + * The managed resource group Id. */ managedResourceGroupId: string; /** - * @member {any} [parameters] Name and value pairs that define the workspace - * parameters. + * The workspace's custom parameters. */ - parameters?: any; + parameters?: WorkspaceCustomParameters; /** - * @member {ProvisioningState} [provisioningState] The workspace provisioning - * state. Possible values include: 'Accepted', 'Running', 'Ready', - * 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', - * 'Succeeded', 'Updating' - * **NOTE: This property will not be serialized. It can only be populated by - * the server.** + * The workspace provisioning state. Possible values include: 'Accepted', 'Running', 'Ready', + * 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * @member {string} [uiDefinitionUri] The blob URI where the UI definition - * file is located. + * The blob URI where the UI definition file is located. */ uiDefinitionUri?: string; /** - * @member {WorkspaceProviderAuthorization[]} [authorizations] The workspace - * provider authorizations. + * The workspace provider authorizations. */ authorizations?: WorkspaceProviderAuthorization[]; /** - * @member {Sku} [sku] The SKU of the resource. + * Indicates the Object ID, PUID and Application ID of entity that created the workspace. + */ + createdBy?: CreatedBy; + /** + * Indicates the Object ID, PUID and Application ID of entity that last updated the workspace. + */ + updatedBy?: CreatedBy; + /** + * Specifies the date and time when the workspace is created. + */ + createdDateTime?: Date; + /** + * The unique identifier of the databricks workspace in databricks control plane. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly workspaceId?: string; + /** + * The workspace URL which is of the format 'adb-{workspaceId}.{random}.azuredatabricks.net' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly workspaceUrl?: string; + /** + * The details of Managed Identity of Storage Account + */ + storageAccountIdentity?: ManagedIdentityConfiguration; + /** + * Encryption properties for databricks workspace + */ + encryption?: WorkspacePropertiesEncryption; + /** + * Private endpoint connections created on the workspace + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateEndpointConnections?: PrivateEndpointConnection[]; + /** + * The network access type for accessing workspace. Set value to disabled to access workspace + * only via private link. Possible values include: 'Enabled', 'Disabled' + */ + publicNetworkAccess?: PublicNetworkAccess; + /** + * Gets or sets a value indicating whether data plane (clusters) to control plane communication + * happen over private endpoint. Supported values are 'AllRules' and 'NoAzureDatabricksRules'. + * 'NoAzureServiceRules' value is for internal use only. Possible values include: 'AllRules', + * 'NoAzureDatabricksRules', 'NoAzureServiceRules' + */ + requiredNsgRules?: RequiredNsgRules; + /** + * The SKU of the resource. */ sku?: Sku; + /** + * The system metadata relating to this resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; +} + +/** + * An update to a workspace. + */ +export interface WorkspaceUpdate { + /** + * Resource tags. + */ + tags?: { [propertyName: string]: string }; +} + +/** + * An interface representing ErrorDetail. + * @summary Error details. + */ +export interface ErrorDetail { + /** + * The error's code. + */ + code: string; + /** + * A human readable error message. + */ + message: string; + /** + * Indicates which property in the request is responsible for the error. + */ + target?: string; } /** - * @interface - * An interface representing WorkspaceUpdate. - * An update to a workspace. - * + * An interface representing ErrorInfo. + * @summary The code and message for an error. + */ +export interface ErrorInfo { + /** + * A machine readable error code. + */ + code: string; + /** + * A human readable error message. + */ + message: string; + /** + * error details. + */ + details?: ErrorDetail[]; + /** + * Inner error details if they exist. + */ + innererror?: string; +} + +/** + * Contains details when the response code indicates an error. + * @summary Error response. + */ +export interface ErrorResponse { + /** + * The error details. + */ + error: ErrorInfo; +} + +/** + * The object that represents the operation. + */ +export interface OperationDisplay { + /** + * Service provider: Microsoft.ResourceProvider + */ + provider?: string; + /** + * Resource on which the operation is performed. + */ + resource?: string; + /** + * Operation type: Read, write, delete, etc. + */ + operation?: string; +} + +/** + * REST API operation + */ +export interface Operation { + /** + * Operation name: {provider}/{resource}/{operation} + */ + name?: string; + /** + * The object that represents the operation. + */ + display?: OperationDisplay; +} + +/** + * The properties for a group information object + */ +export interface GroupIdInformationProperties { + /** + * The group id + */ + groupId?: string; + /** + * The required members for a specific group id + */ + requiredMembers?: string[]; + /** + * The required DNS zones for a specific group id + */ + requiredZoneNames?: string[]; +} + +/** + * The group information for creating a private endpoint on a workspace + */ +export interface GroupIdInformation extends Resource { + /** + * The group id properties. + */ + properties: GroupIdInformationProperties; +} + +/** + * The remote virtual network should be in the same region. See here to learn more + * (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). + */ +export interface VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork { + /** + * The Id of the databricks virtual network. + */ + id?: string; +} + +/** + * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual + * network. + */ +export interface AddressSpace { + /** + * A list of address blocks reserved for this virtual network in CIDR notation. + */ + addressPrefixes?: string[]; +} + +/** + * The remote virtual network should be in the same region. See here to learn more + * (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). + */ +export interface VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork { + /** + * The Id of the remote virtual network. + */ + id?: string; +} + +/** + * Peerings in a VirtualNetwork resource + */ +export interface VirtualNetworkPeering extends BaseResource { + /** + * Whether the VMs in the local virtual network space would be able to access the VMs in remote + * virtual network space. + */ + allowVirtualNetworkAccess?: boolean; + /** + * Whether the forwarded traffic from the VMs in the local virtual network will be + * allowed/disallowed in remote virtual network. + */ + allowForwardedTraffic?: boolean; + /** + * If gateway links can be used in remote virtual networking to link to this virtual network. + */ + allowGatewayTransit?: boolean; + /** + * If remote gateways can be used on this virtual network. If the flag is set to true, and + * allowGatewayTransit on remote peering is also true, virtual network will use gateways of + * remote virtual network for transit. Only one peering can have this flag set to true. This flag + * cannot be set if virtual network already has a gateway. + */ + useRemoteGateways?: boolean; + /** + * The remote virtual network should be in the same region. See here to learn more + * (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). + */ + databricksVirtualNetwork?: VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork; + /** + * The reference to the databricks virtual network address space. + */ + databricksAddressSpace?: AddressSpace; + /** + * The remote virtual network should be in the same region. See here to learn more + * (https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-peering). + */ + remoteVirtualNetwork: VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork; + /** + * The reference to the remote virtual network address space. + */ + remoteAddressSpace?: AddressSpace; + /** + * The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', + * 'Disconnected' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly peeringState?: PeeringState; + /** + * The provisioning state of the virtual network peering resource. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: PeeringProvisioningState; + /** + * Name of the virtual network peering resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * Resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * type of the virtual network peering resource + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * An interface representing AzureDatabricksManagementClientOptions. + */ +export interface AzureDatabricksManagementClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * List of workspaces. + * @extends Array + */ +export interface WorkspaceListResult extends Array { + /** + * The URL to use for getting the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * Result of the request to list Resource Provider operations. It contains a list of operations and + * a URL link to get the next set of results. + * @extends Array + */ +export interface OperationListResult extends Array { + /** + * URL to get the next set of operation list results if there are any. + */ + nextLink?: string; +} + +/** + * @interface + * The available private link resources for a workspace + * @extends Array + */ +export interface PrivateLinkResourcesList extends Array { + /** + * The URL to get the next set of private link resources. + */ + nextLink?: string; +} + +/** + * @interface + * List of private link connections. + * @extends Array + */ +export interface PrivateEndpointConnectionsList extends Array { + /** + * The URL to get the next set of endpoint connections. + */ + nextLink?: string; +} + +/** + * @interface + * Gets all virtual network peerings under a workspace. + * @extends Array + */ +export interface VirtualNetworkPeeringList extends Array { + /** + * URL to get the next set of virtual network peering list results if there are any. + */ + nextLink?: string; +} + +/** + * Defines values for CustomParameterType. + * Possible values include: 'Bool', 'Object', 'String' + * @readonly + * @enum {string} + */ +export type CustomParameterType = 'Bool' | 'Object' | 'String'; + +/** + * Defines values for KeySource. + * Possible values include: 'Default', 'Microsoft.Keyvault' + * @readonly + * @enum {string} + */ +export type KeySource = 'Default' | 'Microsoft.Keyvault'; + +/** + * Defines values for ProvisioningState. + * Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', + * 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Updating'; + +/** + * Defines values for PrivateLinkServiceConnectionStatus. + * Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected' + * @readonly + * @enum {string} + */ +export type PrivateLinkServiceConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected'; + +/** + * Defines values for PrivateEndpointConnectionProvisioningState. + * Possible values include: 'Succeeded', 'Creating', 'Updating', 'Deleting', 'Failed' + * @readonly + * @enum {string} + */ +export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating' | 'Updating' | 'Deleting' | 'Failed'; + +/** + * Defines values for PublicNetworkAccess. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type PublicNetworkAccess = 'Enabled' | 'Disabled'; + +/** + * Defines values for RequiredNsgRules. + * Possible values include: 'AllRules', 'NoAzureDatabricksRules', 'NoAzureServiceRules' + * @readonly + * @enum {string} + */ +export type RequiredNsgRules = 'AllRules' | 'NoAzureDatabricksRules' | 'NoAzureServiceRules'; + +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + +/** + * Defines values for PeeringProvisioningState. + * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + * @readonly + * @enum {string} + */ +export type PeeringProvisioningState = 'Succeeded' | 'Updating' | 'Deleting' | 'Failed'; + +/** + * Defines values for PeeringState. + * Possible values include: 'Initiated', 'Connected', 'Disconnected' + * @readonly + * @enum {string} + */ +export type PeeringState = 'Initiated' | 'Connected' | 'Disconnected'; + +/** + * Contains response data for the get operation. + */ +export type WorkspacesGetResponse = Workspace & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type WorkspacesCreateOrUpdateResponse = Workspace & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type WorkspacesUpdateResponse = Workspace & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceListResult; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type WorkspacesListBySubscriptionResponse = WorkspaceListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceListResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. */ -export interface WorkspaceUpdate { +export type WorkspacesBeginCreateOrUpdateResponse = Workspace & { /** - * @member {{ [propertyName: string]: string }} [tags] Resource tags. + * The underlying HTTP response. */ - tags?: { [propertyName: string]: string }; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * @interface - * An interface representing ErrorDetail. - * @summary Error details. - * - */ -export interface ErrorDetail { - /** - * @member {string} code The error's code. - */ - code: string; - /** - * @member {string} message A human readable error message. - */ - message: string; - /** - * @member {string} [target] Indicates which property in the request is - * responsible for the error. - */ - target?: string; -} + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; +}; /** - * @interface - * An interface representing ErrorInfo. - * @summary The code and message for an error. - * + * Contains response data for the beginUpdate operation. */ -export interface ErrorInfo { - /** - * @member {string} code A machine readable error code. - */ - code: string; - /** - * @member {string} message A human readable error message. - */ - message: string; - /** - * @member {ErrorDetail[]} [details] error details. - */ - details?: ErrorDetail[]; +export type WorkspacesBeginUpdateResponse = Workspace & { /** - * @member {string} [innererror] Inner error details if they exist. + * The underlying HTTP response. */ - innererror?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Workspace; + }; +}; /** - * @interface - * An interface representing ErrorResponse. - * @summary Error response. - * - * Contains details when the response code indicates an error. - * + * Contains response data for the listByResourceGroupNext operation. */ -export interface ErrorResponse { +export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & { /** - * @member {ErrorInfo} error The error details. + * The underlying HTTP response. */ - error: ErrorInfo; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceListResult; + }; +}; /** - * @interface - * An interface representing OperationDisplay. - * The object that represents the operation. - * + * Contains response data for the listBySubscriptionNext operation. */ -export interface OperationDisplay { - /** - * @member {string} [provider] Service provider: Microsoft.ResourceProvider - */ - provider?: string; - /** - * @member {string} [resource] Resource on which the operation is performed. - */ - resource?: string; +export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult & { /** - * @member {string} [operation] Operation type: Read, write, delete, etc. + * The underlying HTTP response. */ - operation?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkspaceListResult; + }; +}; /** - * @interface - * An interface representing Operation. - * REST API operation - * + * Contains response data for the list operation. */ -export interface Operation { - /** - * @member {string} [name] Operation name: {provider}/{resource}/{operation} - */ - name?: string; +export type OperationsListResponse = OperationListResult & { /** - * @member {OperationDisplay} [display] The object that represents the - * operation. + * The underlying HTTP response. */ - display?: OperationDisplay; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; /** - * @interface - * An interface representing DatabricksClientOptions. - * @extends AzureServiceClientOptions + * Contains response data for the listNext operation. */ -export interface DatabricksClientOptions extends AzureServiceClientOptions { +export type OperationsListNextResponse = OperationListResult & { /** - * @member {string} [baseUri] + * The underlying HTTP response. */ - baseUri?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationListResult; + }; +}; /** - * @interface - * An interface representing the WorkspaceListResult. - * List of workspaces. - * - * @extends Array + * Contains response data for the list operation. */ -export interface WorkspaceListResult extends Array { +export type PrivateLinkResourcesListResponse = PrivateLinkResourcesList & { /** - * @member {string} [nextLink] The URL to use for getting the next set of - * results. + * The underlying HTTP response. */ - nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateLinkResourcesList; + }; +}; /** - * @interface - * An interface representing the OperationListResult. - * Result of the request to list Resource Provider operations. It contains a - * list of operations and a URL link to get the next set of results. - * - * @extends Array + * Contains response data for the get operation. */ -export interface OperationListResult extends Array { +export type PrivateLinkResourcesGetResponse = GroupIdInformation & { /** - * @member {string} [nextLink] URL to get the next set of operation list - * results if there are any. + * The underlying HTTP response. */ - nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ProvisioningState. - * Possible values include: 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', - * 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating' - * @readonly - * @enum {string} - */ -export type ProvisioningState = 'Accepted' | 'Running' | 'Ready' | 'Creating' | 'Created' | 'Deleting' | 'Deleted' | 'Canceled' | 'Failed' | 'Succeeded' | 'Updating'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: GroupIdInformation; + }; +}; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type WorkspacesGetResponse = Workspace & { +export type PrivateLinkResourcesListNextResponse = PrivateLinkResourcesList & { /** * The underlying HTTP response. */ @@ -322,17 +1166,18 @@ export type WorkspacesGetResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: PrivateLinkResourcesList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type WorkspacesCreateOrUpdateResponse = Workspace & { +export type PrivateEndpointConnectionsListResponse = PrivateEndpointConnectionsList & { /** * The underlying HTTP response. */ @@ -341,17 +1186,18 @@ export type WorkspacesCreateOrUpdateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: PrivateEndpointConnectionsList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the get operation. */ -export type WorkspacesUpdateResponse = Workspace & { +export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -360,17 +1206,18 @@ export type WorkspacesUpdateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the create operation. */ -export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & { +export type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -379,17 +1226,18 @@ export type WorkspacesListByResourceGroupResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the beginCreate operation. */ -export type WorkspacesListBySubscriptionResponse = WorkspaceListResult & { +export type PrivateEndpointConnectionsBeginCreateResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -398,17 +1246,18 @@ export type WorkspacesListBySubscriptionResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceListResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type WorkspacesBeginCreateOrUpdateResponse = Workspace & { +export type PrivateEndpointConnectionsListNextResponse = PrivateEndpointConnectionsList & { /** * The underlying HTTP response. */ @@ -417,17 +1266,18 @@ export type WorkspacesBeginCreateOrUpdateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: PrivateEndpointConnectionsList; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the get operation. */ -export type WorkspacesBeginUpdateResponse = Workspace & { +export type VNetPeeringGetResponse = VirtualNetworkPeering & { /** * The underlying HTTP response. */ @@ -436,17 +1286,18 @@ export type WorkspacesBeginUpdateResponse = Workspace & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: Workspace; + parsedBody: VirtualNetworkPeering; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the createOrUpdate operation. */ -export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & { +export type VNetPeeringCreateOrUpdateResponse = VirtualNetworkPeering & { /** * The underlying HTTP response. */ @@ -455,17 +1306,18 @@ export type WorkspacesListByResourceGroupNextResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceListResult; + parsedBody: VirtualNetworkPeering; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the listByWorkspace operation. */ -export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult & { +export type VNetPeeringListByWorkspaceResponse = VirtualNetworkPeeringList & { /** * The underlying HTTP response. */ @@ -474,17 +1326,18 @@ export type WorkspacesListBySubscriptionNextResponse = WorkspaceListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: WorkspaceListResult; + parsedBody: VirtualNetworkPeeringList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type OperationsListResponse = OperationListResult & { +export type VNetPeeringBeginCreateOrUpdateResponse = VirtualNetworkPeering & { /** * The underlying HTTP response. */ @@ -493,17 +1346,18 @@ export type OperationsListResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: VirtualNetworkPeering; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByWorkspaceNext operation. */ -export type OperationsListNextResponse = OperationListResult & { +export type VNetPeeringListByWorkspaceNextResponse = VirtualNetworkPeeringList & { /** * The underlying HTTP response. */ @@ -512,9 +1366,10 @@ export type OperationsListNextResponse = OperationListResult & { * The response body as text (string format) */ bodyAsText: string; + /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: VirtualNetworkPeeringList; }; }; diff --git a/sdk/databricks/arm-databricks/src/models/mappers.ts b/sdk/databricks/arm-databricks/src/models/mappers.ts index 8d5caa24faef..ccaf8f4e0995 100644 --- a/sdk/databricks/arm-databricks/src/models/mappers.ts +++ b/sdk/databricks/arm-databricks/src/models/mappers.ts @@ -1,11 +1,9 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js"; @@ -14,6 +12,256 @@ import * as msRest from "@azure/ms-rest-js"; export const CloudError = CloudErrorMapper; export const BaseResource = BaseResourceMapper; +export const WorkspaceCustomStringParameter: msRest.CompositeMapper = { + serializedName: "WorkspaceCustomStringParameter", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + }, + value: { + required: true, + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const WorkspaceCustomBooleanParameter: msRest.CompositeMapper = { + serializedName: "WorkspaceCustomBooleanParameter", + type: { + name: "Composite", + className: "WorkspaceCustomBooleanParameter", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + }, + value: { + required: true, + serializedName: "value", + type: { + name: "Boolean" + } + } + } + } +}; + +export const Encryption: msRest.CompositeMapper = { + serializedName: "Encryption", + type: { + name: "Composite", + className: "Encryption", + modelProperties: { + keySource: { + serializedName: "keySource", + defaultValue: 'Default', + type: { + name: "String" + } + }, + keyName: { + serializedName: "KeyName", + type: { + name: "String" + } + }, + keyVersion: { + serializedName: "keyversion", + type: { + name: "String" + } + }, + keyVaultUri: { + serializedName: "keyvaulturi", + type: { + name: "String" + } + } + } + } +}; + +export const WorkspaceEncryptionParameter: msRest.CompositeMapper = { + serializedName: "WorkspaceEncryptionParameter", + type: { + name: "Composite", + className: "WorkspaceEncryptionParameter", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "Composite", + className: "Encryption" + } + } + } + } +}; + +export const WorkspaceCustomObjectParameter: msRest.CompositeMapper = { + serializedName: "WorkspaceCustomObjectParameter", + type: { + name: "Composite", + className: "WorkspaceCustomObjectParameter", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + }, + value: { + required: true, + serializedName: "value", + type: { + name: "Object" + } + } + } + } +}; + +export const WorkspaceCustomParameters: msRest.CompositeMapper = { + serializedName: "WorkspaceCustomParameters", + type: { + name: "Composite", + className: "WorkspaceCustomParameters", + modelProperties: { + amlWorkspaceId: { + serializedName: "amlWorkspaceId", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + customVirtualNetworkId: { + serializedName: "customVirtualNetworkId", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + customPublicSubnetName: { + serializedName: "customPublicSubnetName", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + customPrivateSubnetName: { + serializedName: "customPrivateSubnetName", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + enableNoPublicIp: { + serializedName: "enableNoPublicIp", + type: { + name: "Composite", + className: "WorkspaceCustomBooleanParameter" + } + }, + loadBalancerBackendPoolName: { + serializedName: "loadBalancerBackendPoolName", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + loadBalancerId: { + serializedName: "loadBalancerId", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + natGatewayName: { + serializedName: "natGatewayName", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + publicIpName: { + serializedName: "publicIpName", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + prepareEncryption: { + serializedName: "prepareEncryption", + type: { + name: "Composite", + className: "WorkspaceCustomBooleanParameter" + } + }, + encryption: { + serializedName: "encryption", + type: { + name: "Composite", + className: "WorkspaceEncryptionParameter" + } + }, + requireInfrastructureEncryption: { + serializedName: "requireInfrastructureEncryption", + type: { + name: "Composite", + className: "WorkspaceCustomBooleanParameter" + } + }, + storageAccountName: { + serializedName: "storageAccountName", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + storageAccountSkuName: { + serializedName: "storageAccountSkuName", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + vnetAddressPrefix: { + serializedName: "vnetAddressPrefix", + type: { + name: "Composite", + className: "WorkspaceCustomStringParameter" + } + }, + resourceTags: { + readOnly: true, + serializedName: "resourceTags", + type: { + name: "Composite", + className: "WorkspaceCustomObjectParameter" + } + } + } + } +}; + export const WorkspaceProviderAuthorization: msRest.CompositeMapper = { serializedName: "WorkspaceProviderAuthorization", type: { @@ -38,6 +286,277 @@ export const WorkspaceProviderAuthorization: msRest.CompositeMapper = { } }; +export const CreatedBy: msRest.CompositeMapper = { + serializedName: "CreatedBy", + type: { + name: "Composite", + className: "CreatedBy", + modelProperties: { + oid: { + readOnly: true, + serializedName: "oid", + type: { + name: "Uuid" + } + }, + puid: { + readOnly: true, + serializedName: "puid", + type: { + name: "String" + } + }, + applicationId: { + readOnly: true, + serializedName: "applicationId", + type: { + name: "Uuid" + } + } + } + } +}; + +export const ManagedIdentityConfiguration: msRest.CompositeMapper = { + serializedName: "ManagedIdentityConfiguration", + type: { + name: "Composite", + className: "ManagedIdentityConfiguration", + modelProperties: { + principalId: { + readOnly: true, + serializedName: "principalId", + type: { + name: "Uuid" + } + }, + tenantId: { + readOnly: true, + serializedName: "tenantId", + type: { + name: "Uuid" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const EncryptionV2KeyVaultProperties: msRest.CompositeMapper = { + serializedName: "EncryptionV2_keyVaultProperties", + type: { + name: "Composite", + className: "EncryptionV2KeyVaultProperties", + modelProperties: { + keyVaultUri: { + required: true, + serializedName: "keyVaultUri", + type: { + name: "String" + } + }, + keyName: { + required: true, + serializedName: "keyName", + type: { + name: "String" + } + }, + keyVersion: { + required: true, + serializedName: "keyVersion", + type: { + name: "String" + } + } + } + } +}; + +export const EncryptionV2: msRest.CompositeMapper = { + serializedName: "EncryptionV2", + type: { + name: "Composite", + className: "EncryptionV2", + modelProperties: { + keySource: { + required: true, + isConstant: true, + serializedName: "keySource", + defaultValue: 'Microsoft.Keyvault', + type: { + name: "String" + } + }, + keyVaultProperties: { + serializedName: "keyVaultProperties", + type: { + name: "Composite", + className: "EncryptionV2KeyVaultProperties" + } + } + } + } +}; + +export const EncryptionEntitiesDefinition: msRest.CompositeMapper = { + serializedName: "EncryptionEntitiesDefinition", + type: { + name: "Composite", + className: "EncryptionEntitiesDefinition", + modelProperties: { + managedServices: { + serializedName: "managedServices", + type: { + name: "Composite", + className: "EncryptionV2" + } + } + } + } +}; + +export const WorkspacePropertiesEncryption: msRest.CompositeMapper = { + serializedName: "WorkspaceProperties_encryption", + type: { + name: "Composite", + className: "WorkspacePropertiesEncryption", + modelProperties: { + entities: { + required: true, + serializedName: "entities", + defaultValue: {}, + type: { + name: "Composite", + className: "EncryptionEntitiesDefinition" + } + } + } + } +}; + +export const PrivateEndpoint: msRest.CompositeMapper = { + serializedName: "PrivateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkServiceConnectionState: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState", + modelProperties: { + status: { + required: true, + serializedName: "status", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + actionRequired: { + serializedName: "actionRequired", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnectionProperties: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionProperties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionProperties", + modelProperties: { + privateEndpoint: { + serializedName: "privateEndpoint", + type: { + name: "Composite", + className: "PrivateEndpoint" + } + }, + privateLinkServiceConnectionState: { + required: true, + serializedName: "privateLinkServiceConnectionState", + type: { + name: "Composite", + className: "PrivateLinkServiceConnectionState" + } + }, + provisioningState: { + serializedName: "provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", + type: { + name: "Composite", + className: "PrivateEndpointConnection", + modelProperties: { + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "PrivateEndpointConnectionProperties" + } + } + } + } +}; + export const Sku: msRest.CompositeMapper = { serializedName: "Sku", type: { @@ -61,6 +580,52 @@ export const Sku: msRest.CompositeMapper = { } }; +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + export const Resource: msRest.CompositeMapper = { serializedName: "Resource", type: { @@ -135,43 +700,125 @@ export const Workspace: msRest.CompositeMapper = { name: "String" } }, - parameters: { - serializedName: "properties.parameters", + parameters: { + serializedName: "properties.parameters", + type: { + name: "Composite", + className: "WorkspaceCustomParameters" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + uiDefinitionUri: { + serializedName: "properties.uiDefinitionUri", + type: { + name: "String" + } + }, + authorizations: { + serializedName: "properties.authorizations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkspaceProviderAuthorization" + } + } + } + }, + createdBy: { + serializedName: "properties.createdBy", + type: { + name: "Composite", + className: "CreatedBy" + } + }, + updatedBy: { + serializedName: "properties.updatedBy", + type: { + name: "Composite", + className: "CreatedBy" + } + }, + createdDateTime: { + serializedName: "properties.createdDateTime", + type: { + name: "DateTime" + } + }, + workspaceId: { + readOnly: true, + serializedName: "properties.workspaceId", + type: { + name: "String" + } + }, + workspaceUrl: { + readOnly: true, + serializedName: "properties.workspaceUrl", type: { - name: "Object" + name: "String" } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", + storageAccountIdentity: { + serializedName: "properties.storageAccountIdentity", type: { - name: "String" + name: "Composite", + className: "ManagedIdentityConfiguration" } }, - uiDefinitionUri: { - serializedName: "properties.uiDefinitionUri", + encryption: { + serializedName: "properties.encryption", type: { - name: "String" + name: "Composite", + className: "WorkspacePropertiesEncryption" } }, - authorizations: { - serializedName: "properties.authorizations", + privateEndpointConnections: { + readOnly: true, + serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "WorkspaceProviderAuthorization" + className: "PrivateEndpointConnection" } } } }, + publicNetworkAccess: { + serializedName: "properties.publicNetworkAccess", + type: { + name: "String" + } + }, + requiredNsgRules: { + serializedName: "properties.requiredNsgRules", + type: { + name: "String" + } + }, sku: { serializedName: "sku", type: { name: "Composite", className: "Sku" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -339,6 +986,214 @@ export const Operation: msRest.CompositeMapper = { } }; +export const GroupIdInformationProperties: msRest.CompositeMapper = { + serializedName: "GroupIdInformationProperties", + type: { + name: "Composite", + className: "GroupIdInformationProperties", + modelProperties: { + groupId: { + serializedName: "groupId", + type: { + name: "String" + } + }, + requiredMembers: { + serializedName: "requiredMembers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + requiredZoneNames: { + serializedName: "requiredZoneNames", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const GroupIdInformation: msRest.CompositeMapper = { + serializedName: "GroupIdInformation", + type: { + name: "Composite", + className: "GroupIdInformation", + modelProperties: { + ...Resource.type.modelProperties, + properties: { + required: true, + serializedName: "properties", + type: { + name: "Composite", + className: "GroupIdInformationProperties" + } + } + } + } +}; + +export const VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork: msRest.CompositeMapper = { + serializedName: "VirtualNetworkPeeringPropertiesFormat_databricksVirtualNetwork", + type: { + name: "Composite", + className: "VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const AddressSpace: msRest.CompositeMapper = { + serializedName: "AddressSpace", + type: { + name: "Composite", + className: "AddressSpace", + modelProperties: { + addressPrefixes: { + serializedName: "addressPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork: msRest.CompositeMapper = { + serializedName: "VirtualNetworkPeeringPropertiesFormat_remoteVirtualNetwork", + type: { + name: "Composite", + className: "VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const VirtualNetworkPeering: msRest.CompositeMapper = { + serializedName: "VirtualNetworkPeering", + type: { + name: "Composite", + className: "VirtualNetworkPeering", + modelProperties: { + allowVirtualNetworkAccess: { + serializedName: "properties.allowVirtualNetworkAccess", + type: { + name: "Boolean" + } + }, + allowForwardedTraffic: { + serializedName: "properties.allowForwardedTraffic", + type: { + name: "Boolean" + } + }, + allowGatewayTransit: { + serializedName: "properties.allowGatewayTransit", + type: { + name: "Boolean" + } + }, + useRemoteGateways: { + serializedName: "properties.useRemoteGateways", + type: { + name: "Boolean" + } + }, + databricksVirtualNetwork: { + serializedName: "properties.databricksVirtualNetwork", + type: { + name: "Composite", + className: "VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork" + } + }, + databricksAddressSpace: { + serializedName: "properties.databricksAddressSpace", + type: { + name: "Composite", + className: "AddressSpace" + } + }, + remoteVirtualNetwork: { + required: true, + serializedName: "properties.remoteVirtualNetwork", + type: { + name: "Composite", + className: "VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork" + } + }, + remoteAddressSpace: { + serializedName: "properties.remoteAddressSpace", + type: { + name: "Composite", + className: "AddressSpace" + } + }, + peeringState: { + readOnly: true, + serializedName: "properties.peeringState", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const WorkspaceListResult: msRest.CompositeMapper = { serializedName: "WorkspaceListResult", type: { @@ -394,3 +1249,87 @@ export const OperationListResult: msRest.CompositeMapper = { } } }; + +export const PrivateLinkResourcesList: msRest.CompositeMapper = { + serializedName: "PrivateLinkResourcesList", + type: { + name: "Composite", + className: "PrivateLinkResourcesList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GroupIdInformation" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateEndpointConnectionsList: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnectionsList", + type: { + name: "Composite", + className: "PrivateEndpointConnectionsList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpointConnection" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const VirtualNetworkPeeringList: msRest.CompositeMapper = { + serializedName: "VirtualNetworkPeeringList", + type: { + name: "Composite", + className: "VirtualNetworkPeeringList", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualNetworkPeering" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; diff --git a/sdk/databricks/arm-databricks/src/models/operationsMappers.ts b/sdk/databricks/arm-databricks/src/models/operationsMappers.ts index ca1587789d15..872cb56fb0bd 100644 --- a/sdk/databricks/arm-databricks/src/models/operationsMappers.ts +++ b/sdk/databricks/arm-databricks/src/models/operationsMappers.ts @@ -1,19 +1,16 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - OperationListResult, + ErrorDetail, + ErrorInfo, + ErrorResponse, Operation, OperationDisplay, - ErrorResponse, - ErrorInfo, - ErrorDetail + OperationListResult } from "../models/mappers"; - diff --git a/sdk/databricks/arm-databricks/src/models/parameters.ts b/sdk/databricks/arm-databricks/src/models/parameters.ts index 0ebe5bdcaaa5..098101132b68 100644 --- a/sdk/databricks/arm-databricks/src/models/parameters.ts +++ b/sdk/databricks/arm-databricks/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -20,11 +19,35 @@ export const acceptLanguage: msRest.OperationParameter = { } } }; -export const apiVersion: msRest.OperationQueryParameter = { +export const apiVersion0: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, + isConstant: true, serializedName: "api-version", + defaultValue: '2021-04-01-preview', + type: { + name: "String" + } + } +}; +export const apiVersion1: msRest.OperationQueryParameter = { + parameterPath: "apiVersion", + mapper: { + required: true, + isConstant: true, + serializedName: "api-version", + defaultValue: '2018-04-01', + type: { + name: "String" + } + } +}; +export const groupId: msRest.OperationURLParameter = { + parameterPath: "groupId", + mapper: { + required: true, + serializedName: "groupId", type: { name: "String" } @@ -41,6 +64,26 @@ export const nextPageLink: msRest.OperationURLParameter = { }, skipEncoding: true }; +export const peeringName: msRest.OperationURLParameter = { + parameterPath: "peeringName", + mapper: { + required: true, + serializedName: "peeringName", + type: { + name: "String" + } + } +}; +export const privateEndpointConnectionName: msRest.OperationURLParameter = { + parameterPath: "privateEndpointConnectionName", + mapper: { + required: true, + serializedName: "privateEndpointConnectionName", + type: { + name: "String" + } + } +}; export const resourceGroupName: msRest.OperationURLParameter = { parameterPath: "resourceGroupName", mapper: { diff --git a/sdk/databricks/arm-databricks/src/models/privateEndpointConnectionsMappers.ts b/sdk/databricks/arm-databricks/src/models/privateEndpointConnectionsMappers.ts new file mode 100644 index 000000000000..7fb8e87c2230 --- /dev/null +++ b/sdk/databricks/arm-databricks/src/models/privateEndpointConnectionsMappers.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AddressSpace, + BaseResource, + CreatedBy, + Encryption, + EncryptionEntitiesDefinition, + EncryptionV2, + EncryptionV2KeyVaultProperties, + ErrorDetail, + ErrorInfo, + ErrorResponse, + GroupIdInformation, + GroupIdInformationProperties, + ManagedIdentityConfiguration, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateEndpointConnectionsList, + PrivateLinkServiceConnectionState, + Resource, + Sku, + SystemData, + TrackedResource, + VirtualNetworkPeering, + VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork, + VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork, + Workspace, + WorkspaceCustomBooleanParameter, + WorkspaceCustomObjectParameter, + WorkspaceCustomParameters, + WorkspaceCustomStringParameter, + WorkspaceEncryptionParameter, + WorkspacePropertiesEncryption, + WorkspaceProviderAuthorization +} from "../models/mappers"; diff --git a/sdk/databricks/arm-databricks/src/models/privateLinkResourcesMappers.ts b/sdk/databricks/arm-databricks/src/models/privateLinkResourcesMappers.ts new file mode 100644 index 000000000000..1bc4c5b4b2c7 --- /dev/null +++ b/sdk/databricks/arm-databricks/src/models/privateLinkResourcesMappers.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AddressSpace, + BaseResource, + CreatedBy, + Encryption, + EncryptionEntitiesDefinition, + EncryptionV2, + EncryptionV2KeyVaultProperties, + ErrorDetail, + ErrorInfo, + ErrorResponse, + GroupIdInformation, + GroupIdInformationProperties, + ManagedIdentityConfiguration, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateLinkResourcesList, + PrivateLinkServiceConnectionState, + Resource, + Sku, + SystemData, + TrackedResource, + VirtualNetworkPeering, + VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork, + VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork, + Workspace, + WorkspaceCustomBooleanParameter, + WorkspaceCustomObjectParameter, + WorkspaceCustomParameters, + WorkspaceCustomStringParameter, + WorkspaceEncryptionParameter, + WorkspacePropertiesEncryption, + WorkspaceProviderAuthorization +} from "../models/mappers"; diff --git a/sdk/databricks/arm-databricks/src/models/vNetPeeringMappers.ts b/sdk/databricks/arm-databricks/src/models/vNetPeeringMappers.ts new file mode 100644 index 000000000000..86dc085e6743 --- /dev/null +++ b/sdk/databricks/arm-databricks/src/models/vNetPeeringMappers.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + AddressSpace, + BaseResource, + CreatedBy, + Encryption, + EncryptionEntitiesDefinition, + EncryptionV2, + EncryptionV2KeyVaultProperties, + ErrorDetail, + ErrorInfo, + ErrorResponse, + GroupIdInformation, + GroupIdInformationProperties, + ManagedIdentityConfiguration, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateLinkServiceConnectionState, + Resource, + Sku, + SystemData, + TrackedResource, + VirtualNetworkPeering, + VirtualNetworkPeeringList, + VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork, + VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork, + Workspace, + WorkspaceCustomBooleanParameter, + WorkspaceCustomObjectParameter, + WorkspaceCustomParameters, + WorkspaceCustomStringParameter, + WorkspaceEncryptionParameter, + WorkspacePropertiesEncryption, + WorkspaceProviderAuthorization +} from "../models/mappers"; diff --git a/sdk/databricks/arm-databricks/src/models/workspacesMappers.ts b/sdk/databricks/arm-databricks/src/models/workspacesMappers.ts index e6f592d4a993..d1896d68580b 100644 --- a/sdk/databricks/arm-databricks/src/models/workspacesMappers.ts +++ b/sdk/databricks/arm-databricks/src/models/workspacesMappers.ts @@ -1,24 +1,44 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is - * regenerated. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { - Workspace, - TrackedResource, - Resource, + AddressSpace, BaseResource, - WorkspaceProviderAuthorization, - Sku, - ErrorResponse, - ErrorInfo, + CreatedBy, + Encryption, + EncryptionEntitiesDefinition, + EncryptionV2, + EncryptionV2KeyVaultProperties, ErrorDetail, - WorkspaceUpdate, - WorkspaceListResult + ErrorInfo, + ErrorResponse, + GroupIdInformation, + GroupIdInformationProperties, + ManagedIdentityConfiguration, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointConnectionProperties, + PrivateLinkServiceConnectionState, + Resource, + Sku, + SystemData, + TrackedResource, + VirtualNetworkPeering, + VirtualNetworkPeeringPropertiesFormatDatabricksVirtualNetwork, + VirtualNetworkPeeringPropertiesFormatRemoteVirtualNetwork, + Workspace, + WorkspaceCustomBooleanParameter, + WorkspaceCustomObjectParameter, + WorkspaceCustomParameters, + WorkspaceCustomStringParameter, + WorkspaceEncryptionParameter, + WorkspaceListResult, + WorkspacePropertiesEncryption, + WorkspaceProviderAuthorization, + WorkspaceUpdate } from "../models/mappers"; - diff --git a/sdk/databricks/arm-databricks/src/operations/index.ts b/sdk/databricks/arm-databricks/src/operations/index.ts index 74640cd56b69..06215340107a 100644 --- a/sdk/databricks/arm-databricks/src/operations/index.ts +++ b/sdk/databricks/arm-databricks/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -10,3 +9,6 @@ export * from "./workspaces"; export * from "./operations"; +export * from "./privateLinkResources"; +export * from "./privateEndpointConnections"; +export * from "./vNetPeering"; diff --git a/sdk/databricks/arm-databricks/src/operations/operations.ts b/sdk/databricks/arm-databricks/src/operations/operations.ts index 69151b9b3e14..ee8855264031 100644 --- a/sdk/databricks/arm-databricks/src/operations/operations.ts +++ b/sdk/databricks/arm-databricks/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -12,17 +11,17 @@ import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import * as Mappers from "../models/operationsMappers"; import * as Parameters from "../models/parameters"; -import { DatabricksClientContext } from "../databricksClientContext"; +import { AzureDatabricksManagementClientContext } from "../azureDatabricksManagementClientContext"; /** Class representing a Operations. */ export class Operations { - private readonly client: DatabricksClientContext; + private readonly client: AzureDatabricksManagementClientContext; /** * Create a Operations. - * @param {DatabricksClientContext} client Reference to the service client. + * @param {AzureDatabricksManagementClientContext} client Reference to the service client. */ - constructor(client: DatabricksClientContext) { + constructor(client: AzureDatabricksManagementClientContext) { this.client = client; } @@ -85,7 +84,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.Databricks/operations", queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databricks/arm-databricks/src/operations/privateEndpointConnections.ts b/sdk/databricks/arm-databricks/src/operations/privateEndpointConnections.ts new file mode 100644 index 000000000000..157402cae6aa --- /dev/null +++ b/sdk/databricks/arm-databricks/src/operations/privateEndpointConnections.ts @@ -0,0 +1,339 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/privateEndpointConnectionsMappers"; +import * as Parameters from "../models/parameters"; +import { AzureDatabricksManagementClientContext } from "../azureDatabricksManagementClientContext"; + +/** Class representing a PrivateEndpointConnections. */ +export class PrivateEndpointConnections { + private readonly client: AzureDatabricksManagementClientContext; + + /** + * Create a PrivateEndpointConnections. + * @param {AzureDatabricksManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureDatabricksManagementClientContext) { + this.client = client; + } + + /** + * List private endpoint connections of the workspace + * @summary List private endpoint connections + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param callback The callback + */ + list(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get a private endpoint connection properties for a workspace + * @summary Get private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + privateEndpointConnectionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Update the status of a private endpoint connection with the specified name + * @summary Update private endpoint connection status + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param privateEndpointConnection The private endpoint connection with updated properties + * @param [options] The optional parameters + * @returns Promise + */ + create(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreate(resourceGroupName,workspaceName,privateEndpointConnectionName,privateEndpointConnection,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Remove private endpoint connection with the specified name + * @summary Remove private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,workspaceName,privateEndpointConnectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Update the status of a private endpoint connection with the specified name + * @summary Update private endpoint connection status + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param privateEndpointConnection The private endpoint connection with updated properties + * @param [options] The optional parameters + * @returns Promise + */ + beginCreate(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, privateEndpointConnection: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + privateEndpointConnectionName, + privateEndpointConnection, + options + }, + beginCreateOperationSpec, + options); + } + + /** + * Remove private endpoint connection with the specified name + * @summary Remove private endpoint connection + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param privateEndpointConnectionName The name of the private endpoint connection + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + privateEndpointConnectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * List private endpoint connections of the workspace + * @summary List private endpoint connections + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionsList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginCreateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "privateEndpointConnection", + mapper: { + ...Mappers.PrivateEndpointConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + 202: { + bodyMapper: Mappers.PrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId, + Parameters.privateEndpointConnectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateEndpointConnectionsList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/databricks/arm-databricks/src/operations/privateLinkResources.ts b/sdk/databricks/arm-databricks/src/operations/privateLinkResources.ts new file mode 100644 index 000000000000..70ff1d3234d8 --- /dev/null +++ b/sdk/databricks/arm-databricks/src/operations/privateLinkResources.ts @@ -0,0 +1,203 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/privateLinkResourcesMappers"; +import * as Parameters from "../models/parameters"; +import { AzureDatabricksManagementClientContext } from "../azureDatabricksManagementClientContext"; + +/** Class representing a PrivateLinkResources. */ +export class PrivateLinkResources { + private readonly client: AzureDatabricksManagementClientContext; + + /** + * Create a PrivateLinkResources. + * @param {AzureDatabricksManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureDatabricksManagementClientContext) { + this.client = client; + } + + /** + * List private link resources for a given workspace + * @summary List private link resources + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param callback The callback + */ + list(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Get the specified private link resource for the given group id (sub-resource) + * @summary Get the specified private link resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param groupId The name of the private link resource + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, groupId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param groupId The name of the private link resource + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, groupId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param groupId The name of the private link resource + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, groupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, groupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + groupId, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * List private link resources for a given workspace + * @summary List private link resources + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkResourcesList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/privateLinkResources/{groupId}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId, + Parameters.groupId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GroupIdInformation + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkResourcesList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/databricks/arm-databricks/src/operations/vNetPeering.ts b/sdk/databricks/arm-databricks/src/operations/vNetPeering.ts new file mode 100644 index 000000000000..7d36413fb6be --- /dev/null +++ b/sdk/databricks/arm-databricks/src/operations/vNetPeering.ts @@ -0,0 +1,333 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/vNetPeeringMappers"; +import * as Parameters from "../models/parameters"; +import { AzureDatabricksManagementClientContext } from "../azureDatabricksManagementClientContext"; + +/** Class representing a VNetPeering. */ +export class VNetPeering { + private readonly client: AzureDatabricksManagementClientContext; + + /** + * Create a VNetPeering. + * @param {AzureDatabricksManagementClientContext} client Reference to the service client. + */ + constructor(client: AzureDatabricksManagementClientContext) { + this.client = client; + } + + /** + * Gets the workspace vNet Peering. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param peeringName The name of the workspace vNet peering. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, workspaceName: string, peeringName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param peeringName The name of the workspace vNet peering. + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, peeringName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param peeringName The name of the workspace vNet peering. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, workspaceName: string, peeringName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, workspaceName: string, peeringName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + peeringName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Deletes the workspace vNetPeering. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param peeringName The name of the workspace vNet peering. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, workspaceName: string, peeringName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,workspaceName,peeringName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Creates vNet Peering for workspace. + * @param virtualNetworkPeeringParameters Parameters supplied to the create workspace vNet Peering. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param peeringName The name of the workspace vNet peering. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, resourceGroupName: string, workspaceName: string, peeringName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(virtualNetworkPeeringParameters,resourceGroupName,workspaceName,peeringName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Lists the workspace vNet Peerings. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param [options] The optional parameters + * @returns Promise + */ + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param callback The callback + */ + listByWorkspace(resourceGroupName: string, workspaceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param options The optional parameters + * @param callback The callback + */ + listByWorkspace(resourceGroupName: string, workspaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByWorkspace(resourceGroupName: string, workspaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + workspaceName, + options + }, + listByWorkspaceOperationSpec, + callback) as Promise; + } + + /** + * Deletes the workspace vNetPeering. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param peeringName The name of the workspace vNet peering. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, workspaceName: string, peeringName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + workspaceName, + peeringName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Creates vNet Peering for workspace. + * @param virtualNetworkPeeringParameters Parameters supplied to the create workspace vNet Peering. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param workspaceName The name of the workspace. + * @param peeringName The name of the workspace vNet peering. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, resourceGroupName: string, workspaceName: string, peeringName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + virtualNetworkPeeringParameters, + resourceGroupName, + workspaceName, + peeringName, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Lists the workspace vNet Peerings. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByWorkspaceNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByWorkspaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByWorkspaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByWorkspaceNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId, + Parameters.peeringName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkPeering + }, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByWorkspaceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkPeeringList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId, + Parameters.peeringName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Databricks/workspaces/{workspaceName}/virtualNetworkPeerings/{peeringName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.workspaceName, + Parameters.subscriptionId, + Parameters.peeringName + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "virtualNetworkPeeringParameters", + mapper: { + ...Mappers.VirtualNetworkPeering, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkPeering + }, + 201: { + bodyMapper: Mappers.VirtualNetworkPeering + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + +const listByWorkspaceNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkPeeringList + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; diff --git a/sdk/databricks/arm-databricks/src/operations/workspaces.ts b/sdk/databricks/arm-databricks/src/operations/workspaces.ts index df498c59fb03..57faea6c5ebc 100644 --- a/sdk/databricks/arm-databricks/src/operations/workspaces.ts +++ b/sdk/databricks/arm-databricks/src/operations/workspaces.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -13,17 +12,17 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import * as Models from "../models"; import * as Mappers from "../models/workspacesMappers"; import * as Parameters from "../models/parameters"; -import { DatabricksClientContext } from "../databricksClientContext"; +import { AzureDatabricksManagementClientContext } from "../azureDatabricksManagementClientContext"; /** Class representing a Workspaces. */ export class Workspaces { - private readonly client: DatabricksClientContext; + private readonly client: AzureDatabricksManagementClientContext; /** * Create a Workspaces. - * @param {DatabricksClientContext} client Reference to the service client. + * @param {AzureDatabricksManagementClientContext} client Reference to the service client. */ - constructor(client: DatabricksClientContext) { + constructor(client: AzureDatabricksManagementClientContext) { this.client = client; } @@ -275,7 +274,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -284,7 +283,6 @@ const getOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.Workspace }, - 404: {}, default: { bodyMapper: Mappers.ErrorResponse } @@ -300,7 +298,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -323,7 +321,7 @@ const listBySubscriptionOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -348,12 +346,13 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], responses: { + 200: {}, 202: {}, 204: {}, default: { @@ -372,7 +371,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -407,7 +406,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion + Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage @@ -438,6 +437,9 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], @@ -459,6 +461,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion0 + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/databricks/arm-databricks/tsconfig.json b/sdk/databricks/arm-databricks/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/databricks/arm-databricks/tsconfig.json +++ b/sdk/databricks/arm-databricks/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true From de107dd9e84607745d04d4b5b0f25d35bae72488 Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 9 Jul 2021 14:58:16 +0800 Subject: [PATCH 129/134] arm-appplatform (#16139) --- sdk/appplatform/arm-appplatform/README.md | 8 +- sdk/appplatform/arm-appplatform/package.json | 4 +- .../src/appPlatformManagementClientContext.ts | 6 +- .../arm-appplatform/src/models/appsMappers.ts | 3 + .../src/models/bindingsMappers.ts | 3 + .../src/models/certificatesMappers.ts | 3 + .../src/models/configServersMappers.ts | 3 + .../src/models/customDomainsMappers.ts | 3 + .../src/models/deploymentsMappers.ts | 3 + .../arm-appplatform/src/models/index.ts | 101 ++++++++++++-- .../arm-appplatform/src/models/mappers.ts | 129 +++++++++++++++++- .../src/models/monitoringSettingsMappers.ts | 3 + .../src/models/servicesMappers.ts | 3 + 13 files changed, 243 insertions(+), 29 deletions(-) diff --git a/sdk/appplatform/arm-appplatform/README.md b/sdk/appplatform/arm-appplatform/README.md index c06e938283f7..86419554dac7 100644 --- a/sdk/appplatform/arm-appplatform/README.md +++ b/sdk/appplatform/arm-appplatform/README.md @@ -1,11 +1,11 @@ ## Azure AppPlatformManagementClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AppPlatformManagementClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for AppPlatformManagementClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-appplatform @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and get services as an example written in JavaScript. ##### Sample code @@ -87,7 +85,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmAppplatform.AppPlatformManagementClient(creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; diff --git a/sdk/appplatform/arm-appplatform/package.json b/sdk/appplatform/arm-appplatform/package.json index 048062d2f2ef..5858db62b3c0 100644 --- a/sdk/appplatform/arm-appplatform/package.json +++ b/sdk/appplatform/arm-appplatform/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-appplatform", "author": "Microsoft Corporation", "description": "AppPlatformManagementClient Library with typescript type definitions for node.js and browser.", - "version": "1.3.0", + "version": "1.4.0", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appplatform/arm-appplatform", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/appplatform/arm-appplatform", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts b/sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts index 1c6af685d8ac..27e67f0731fd 100644 --- a/sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts +++ b/sdk/appplatform/arm-appplatform/src/appPlatformManagementClientContext.ts @@ -9,11 +9,11 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-appplatform"; -const packageVersion = "1.3.0"; +const packageVersion = "1.4.0"; export class AppPlatformManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; @@ -50,7 +50,7 @@ export class AppPlatformManagementClientContext extends msRestAzure.AzureService super(credentials, options); - this.apiVersion = '2020-11-01-preview'; + this.apiVersion = '2021-06-01-preview'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/appplatform/arm-appplatform/src/models/appsMappers.ts b/sdk/appplatform/arm-appplatform/src/models/appsMappers.ts index 99e4dea19713..c1543243c627 100644 --- a/sdk/appplatform/arm-appplatform/src/models/appsMappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/appsMappers.ts @@ -22,6 +22,7 @@ export { ConfigServerProperties, ConfigServerResource, ConfigServerSettings, + CustomContainer, CustomDomainProperties, CustomDomainResource, CustomDomainValidatePayload, @@ -32,6 +33,7 @@ export { DeploymentSettings, ErrorModel, GitPatternRepository, + ImageRegistryCredential, ManagedIdentityProperties, MonitoringSettingProperties, MonitoringSettingResource, @@ -41,6 +43,7 @@ export { ProxyResource, RequiredTraffic, Resource, + ResourceRequests, ResourceUploadDefinition, ServiceResource, Sku, diff --git a/sdk/appplatform/arm-appplatform/src/models/bindingsMappers.ts b/sdk/appplatform/arm-appplatform/src/models/bindingsMappers.ts index 30588e309be2..a8fef206e095 100644 --- a/sdk/appplatform/arm-appplatform/src/models/bindingsMappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/bindingsMappers.ts @@ -22,6 +22,7 @@ export { ConfigServerProperties, ConfigServerResource, ConfigServerSettings, + CustomContainer, CustomDomainProperties, CustomDomainResource, DeploymentInstance, @@ -30,6 +31,7 @@ export { DeploymentSettings, ErrorModel, GitPatternRepository, + ImageRegistryCredential, ManagedIdentityProperties, MonitoringSettingProperties, MonitoringSettingResource, @@ -39,6 +41,7 @@ export { ProxyResource, RequiredTraffic, Resource, + ResourceRequests, ServiceResource, Sku, TemporaryDisk, diff --git a/sdk/appplatform/arm-appplatform/src/models/certificatesMappers.ts b/sdk/appplatform/arm-appplatform/src/models/certificatesMappers.ts index 74a82eb8d30a..f0d9c604020b 100644 --- a/sdk/appplatform/arm-appplatform/src/models/certificatesMappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/certificatesMappers.ts @@ -22,6 +22,7 @@ export { ConfigServerProperties, ConfigServerResource, ConfigServerSettings, + CustomContainer, CustomDomainProperties, CustomDomainResource, DeploymentInstance, @@ -30,6 +31,7 @@ export { DeploymentSettings, ErrorModel, GitPatternRepository, + ImageRegistryCredential, ManagedIdentityProperties, MonitoringSettingProperties, MonitoringSettingResource, @@ -39,6 +41,7 @@ export { ProxyResource, RequiredTraffic, Resource, + ResourceRequests, ServiceResource, Sku, TemporaryDisk, diff --git a/sdk/appplatform/arm-appplatform/src/models/configServersMappers.ts b/sdk/appplatform/arm-appplatform/src/models/configServersMappers.ts index a4f7578092d0..4fbb71a816ed 100644 --- a/sdk/appplatform/arm-appplatform/src/models/configServersMappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/configServersMappers.ts @@ -23,6 +23,7 @@ export { ConfigServerSettings, ConfigServerSettingsErrorRecord, ConfigServerSettingsValidateResult, + CustomContainer, CustomDomainProperties, CustomDomainResource, DeploymentInstance, @@ -31,6 +32,7 @@ export { DeploymentSettings, ErrorModel, GitPatternRepository, + ImageRegistryCredential, ManagedIdentityProperties, MonitoringSettingProperties, MonitoringSettingResource, @@ -40,6 +42,7 @@ export { ProxyResource, RequiredTraffic, Resource, + ResourceRequests, ServiceResource, Sku, TemporaryDisk, diff --git a/sdk/appplatform/arm-appplatform/src/models/customDomainsMappers.ts b/sdk/appplatform/arm-appplatform/src/models/customDomainsMappers.ts index 02fcb4f36e3d..66d675938524 100644 --- a/sdk/appplatform/arm-appplatform/src/models/customDomainsMappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/customDomainsMappers.ts @@ -21,6 +21,7 @@ export { ConfigServerProperties, ConfigServerResource, ConfigServerSettings, + CustomContainer, CustomDomainProperties, CustomDomainResource, CustomDomainResourceCollection, @@ -30,6 +31,7 @@ export { DeploymentSettings, ErrorModel, GitPatternRepository, + ImageRegistryCredential, ManagedIdentityProperties, MonitoringSettingProperties, MonitoringSettingResource, @@ -39,6 +41,7 @@ export { ProxyResource, RequiredTraffic, Resource, + ResourceRequests, ServiceResource, Sku, TemporaryDisk, diff --git a/sdk/appplatform/arm-appplatform/src/models/deploymentsMappers.ts b/sdk/appplatform/arm-appplatform/src/models/deploymentsMappers.ts index 7414c396b7b1..3da0223f88d1 100644 --- a/sdk/appplatform/arm-appplatform/src/models/deploymentsMappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/deploymentsMappers.ts @@ -21,6 +21,7 @@ export { ConfigServerProperties, ConfigServerResource, ConfigServerSettings, + CustomContainer, CustomDomainProperties, CustomDomainResource, DeploymentInstance, @@ -30,6 +31,7 @@ export { DeploymentSettings, ErrorModel, GitPatternRepository, + ImageRegistryCredential, LogFileUrlResponse, ManagedIdentityProperties, MonitoringSettingProperties, @@ -40,6 +42,7 @@ export { ProxyResource, RequiredTraffic, Resource, + ResourceRequests, ServiceResource, Sku, TemporaryDisk, diff --git a/sdk/appplatform/arm-appplatform/src/models/index.ts b/sdk/appplatform/arm-appplatform/src/models/index.ts index 221fe440bc9f..542f5caec2d9 100644 --- a/sdk/appplatform/arm-appplatform/src/models/index.ts +++ b/sdk/appplatform/arm-appplatform/src/models/index.ts @@ -120,11 +120,11 @@ export interface ClusterResourceProperties { */ export interface Sku { /** - * Name of the Sku + * Name of the Sku. Default value: 'S0'. */ name?: string; /** - * Tier of the Sku + * Tier of the Sku. Default value: 'Standard'. */ tier?: string; /** @@ -546,10 +546,6 @@ export interface AppResourceProperties { * Indicate if only https is allowed. */ httpsOnly?: boolean; - /** - * Indicate if end to end TLS is enabled. - */ - enableEndToEndTLS?: boolean; /** * Date time when the resource is created * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -563,6 +559,10 @@ export interface AppResourceProperties { * Persistent disk settings */ persistentDisk?: PersistentDisk; + /** + * Indicate if end to end TLS is enabled. + */ + enableEndToEndTLS?: boolean; } /** @@ -798,12 +798,55 @@ export interface CustomDomainValidateResult { message?: string; } +/** + * Credential of the image registry + */ +export interface ImageRegistryCredential { + /** + * The username of the image registry credential + */ + username?: string; + /** + * The password of the image registry credential + */ + password?: string; +} + +/** + * Custom container payload + */ +export interface CustomContainer { + /** + * The name of the registry that contains the container image + */ + server?: string; + /** + * Container image of the custom container. This should be in the form of : + * without the server name of the registry + */ + containerImage?: string; + /** + * Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this + * is not provided. + */ + command?: string[]; + /** + * Arguments to the entrypoint. The docker image's CMD is used if this is not provided. + */ + args?: string[]; + /** + * Credential of the image registry + */ + imageRegistryCredential?: ImageRegistryCredential; +} + /** * Source information for a deployment */ export interface UserSourceInfo { /** - * Type of the source uploaded. Possible values include: 'Jar', 'NetCoreZip', 'Source' + * Type of the source uploaded. Possible values include: 'Jar', 'NetCoreZip', 'Source', + * 'Container' */ type?: UserSourceType; /** @@ -820,6 +863,26 @@ export interface UserSourceInfo { * the relative path to the target module/project. */ artifactSelector?: string; + /** + * Custom container payload + */ + customContainer?: CustomContainer; +} + +/** + * Deployment resource request payload + */ +export interface ResourceRequests { + /** + * Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic + * tier, and {500m, 1, 2, 3, 4} for Standard tier. + */ + cpu?: string; + /** + * Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} + * for Basic tier, and {512Mi, 1Gi, 2Gi, ..., 8Gi} for Standard tier. + */ + memory?: string; } /** @@ -827,15 +890,23 @@ export interface UserSourceInfo { */ export interface DeploymentSettings { /** - * Required CPU, basic tier should be 1, standard tier should be in range (1, 4). Default value: - * 1. + * Required CPU. This should be 1 for Basic tier, and in range [1, 4] for Standard tier. This is + * deprecated starting from API version 2021-06-01-preview. Please use the resourceRequests field + * to set the CPU size. Default value: 1. */ cpu?: number; /** - * Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in - * range (1, 8). Default value: 1. + * Required Memory size in GB. This should be in range [1, 2] for Basic tier, and in range [1, 8] + * for Standard tier. This is deprecated starting from API version 2021-06-01-preview. Please use + * the resourceRequests field to set the the memory size. Default value: 1. */ memoryInGB?: number; + /** + * The requested resource quantity for required CPU and Memory. It is recommended that using this + * field to represent the required CPU and Memory, the old field cpu and memoryInGB will be + * deprecated later. + */ + resourceRequests?: ResourceRequests; /** * JVM parameter */ @@ -1007,6 +1078,10 @@ export interface MetricDimension { * Localized friendly display name of the dimension */ displayName?: string; + /** + * Whether this dimension should be included for the Shoebox export scenario + */ + toBeExportedForShoebox?: boolean; } /** @@ -1499,11 +1574,11 @@ export type AppResourceProvisioningState = 'Succeeded' | 'Failed' | 'Creating' | /** * Defines values for UserSourceType. - * Possible values include: 'Jar', 'NetCoreZip', 'Source' + * Possible values include: 'Jar', 'NetCoreZip', 'Source', 'Container' * @readonly * @enum {string} */ -export type UserSourceType = 'Jar' | 'NetCoreZip' | 'Source'; +export type UserSourceType = 'Jar' | 'NetCoreZip' | 'Source' | 'Container'; /** * Defines values for RuntimeVersion. diff --git a/sdk/appplatform/arm-appplatform/src/models/mappers.ts b/sdk/appplatform/arm-appplatform/src/models/mappers.ts index d5aea74885fa..c80ead76b135 100644 --- a/sdk/appplatform/arm-appplatform/src/models/mappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/mappers.ts @@ -196,12 +196,14 @@ export const Sku: msRest.CompositeMapper = { modelProperties: { name: { serializedName: "name", + defaultValue: 'S0', type: { name: "String" } }, tier: { serializedName: "tier", + defaultValue: 'Standard', type: { name: "String" } @@ -910,12 +912,6 @@ export const AppResourceProperties: msRest.CompositeMapper = { name: "Boolean" } }, - enableEndToEndTLS: { - serializedName: "enableEndToEndTLS", - type: { - name: "Boolean" - } - }, createdTime: { readOnly: true, serializedName: "createdTime", @@ -936,6 +932,12 @@ export const AppResourceProperties: msRest.CompositeMapper = { name: "Composite", className: "PersistentDisk" } + }, + enableEndToEndTLS: { + serializedName: "enableEndToEndTLS", + type: { + name: "Boolean" + } } } } @@ -1320,6 +1322,79 @@ export const CustomDomainValidateResult: msRest.CompositeMapper = { } }; +export const ImageRegistryCredential: msRest.CompositeMapper = { + serializedName: "ImageRegistryCredential", + type: { + name: "Composite", + className: "ImageRegistryCredential", + modelProperties: { + username: { + serializedName: "username", + type: { + name: "String" + } + }, + password: { + serializedName: "password", + type: { + name: "String" + } + } + } + } +}; + +export const CustomContainer: msRest.CompositeMapper = { + serializedName: "CustomContainer", + type: { + name: "Composite", + className: "CustomContainer", + modelProperties: { + server: { + serializedName: "server", + type: { + name: "String" + } + }, + containerImage: { + serializedName: "containerImage", + type: { + name: "String" + } + }, + command: { + serializedName: "command", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + args: { + serializedName: "args", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + imageRegistryCredential: { + serializedName: "imageRegistryCredential", + type: { + name: "Composite", + className: "ImageRegistryCredential" + } + } + } + } +}; + export const UserSourceInfo: msRest.CompositeMapper = { serializedName: "UserSourceInfo", type: { @@ -1349,6 +1424,35 @@ export const UserSourceInfo: msRest.CompositeMapper = { type: { name: "String" } + }, + customContainer: { + serializedName: "customContainer", + type: { + name: "Composite", + className: "CustomContainer" + } + } + } + } +}; + +export const ResourceRequests: msRest.CompositeMapper = { + serializedName: "ResourceRequests", + type: { + name: "Composite", + className: "ResourceRequests", + modelProperties: { + cpu: { + serializedName: "cpu", + type: { + name: "String" + } + }, + memory: { + serializedName: "memory", + type: { + name: "String" + } } } } @@ -1374,6 +1478,13 @@ export const DeploymentSettings: msRest.CompositeMapper = { name: "Number" } }, + resourceRequests: { + serializedName: "resourceRequests", + type: { + name: "Composite", + className: "ResourceRequests" + } + }, jvmOptions: { serializedName: "jvmOptions", type: { @@ -1645,6 +1756,12 @@ export const MetricDimension: msRest.CompositeMapper = { type: { name: "String" } + }, + toBeExportedForShoebox: { + serializedName: "toBeExportedForShoebox", + type: { + name: "Boolean" + } } } } diff --git a/sdk/appplatform/arm-appplatform/src/models/monitoringSettingsMappers.ts b/sdk/appplatform/arm-appplatform/src/models/monitoringSettingsMappers.ts index 0463b1feac36..b827ef84ea79 100644 --- a/sdk/appplatform/arm-appplatform/src/models/monitoringSettingsMappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/monitoringSettingsMappers.ts @@ -21,6 +21,7 @@ export { ConfigServerProperties, ConfigServerResource, ConfigServerSettings, + CustomContainer, CustomDomainProperties, CustomDomainResource, DeploymentInstance, @@ -29,6 +30,7 @@ export { DeploymentSettings, ErrorModel, GitPatternRepository, + ImageRegistryCredential, ManagedIdentityProperties, MonitoringSettingProperties, MonitoringSettingResource, @@ -38,6 +40,7 @@ export { ProxyResource, RequiredTraffic, Resource, + ResourceRequests, ServiceResource, Sku, TemporaryDisk, diff --git a/sdk/appplatform/arm-appplatform/src/models/servicesMappers.ts b/sdk/appplatform/arm-appplatform/src/models/servicesMappers.ts index de115949d99c..58194934685e 100644 --- a/sdk/appplatform/arm-appplatform/src/models/servicesMappers.ts +++ b/sdk/appplatform/arm-appplatform/src/models/servicesMappers.ts @@ -21,6 +21,7 @@ export { ConfigServerProperties, ConfigServerResource, ConfigServerSettings, + CustomContainer, CustomDomainProperties, CustomDomainResource, DeploymentInstance, @@ -29,6 +30,7 @@ export { DeploymentSettings, ErrorModel, GitPatternRepository, + ImageRegistryCredential, ManagedIdentityProperties, MonitoringSettingProperties, MonitoringSettingResource, @@ -41,6 +43,7 @@ export { RegenerateTestKeyRequestPayload, RequiredTraffic, Resource, + ResourceRequests, ServiceResource, ServiceResourceList, Sku, From 38040718514f951b153da88d68ca7a8df92d363f Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 9 Jul 2021 15:01:58 +0800 Subject: [PATCH 130/134] arm-avs-release (#16198) --- sdk/avs/arm-avs/LICENSE.txt | 2 +- sdk/avs/arm-avs/README.md | 9 +- sdk/avs/arm-avs/package.json | 4 +- sdk/avs/arm-avs/rollup.config.js | 4 +- sdk/avs/arm-avs/src/avsClient.ts | 21 +- sdk/avs/arm-avs/src/avsClientContext.ts | 11 +- sdk/avs/arm-avs/src/models/addonsMappers.ts | 61 + .../src/models/authorizationsMappers.ts | 42 +- .../arm-avs/src/models/cloudLinksMappers.ts | 61 + sdk/avs/arm-avs/src/models/clustersMappers.ts | 42 +- .../arm-avs/src/models/datastoresMappers.ts | 61 + .../models/globalReachConnectionsMappers.ts | 61 + .../src/models/hcxEnterpriseSitesMappers.ts | 42 +- sdk/avs/arm-avs/src/models/index.ts | 3539 ++++++++++++++++- .../arm-avs/src/models/locationsMappers.ts | 5 +- sdk/avs/arm-avs/src/models/mappers.ts | 2066 +++++++++- .../arm-avs/src/models/operationsMappers.ts | 12 +- sdk/avs/arm-avs/src/models/parameters.ts | 168 +- .../src/models/privateCloudsMappers.ts | 42 +- .../src/models/scriptCmdletsMappers.ts | 61 + .../src/models/scriptExecutionsMappers.ts | 61 + .../src/models/scriptPackagesMappers.ts | 61 + .../src/models/workloadNetworksMappers.ts | 69 + sdk/avs/arm-avs/src/operations/addons.ts | 334 ++ .../arm-avs/src/operations/authorizations.ts | 24 +- sdk/avs/arm-avs/src/operations/cloudLinks.ts | 334 ++ sdk/avs/arm-avs/src/operations/clusters.ts | 8 +- sdk/avs/arm-avs/src/operations/datastores.ts | 350 ++ .../src/operations/globalReachConnections.ts | 332 ++ .../src/operations/hcxEnterpriseSites.ts | 27 +- sdk/avs/arm-avs/src/operations/index.ts | 13 +- sdk/avs/arm-avs/src/operations/locations.ts | 5 +- sdk/avs/arm-avs/src/operations/operations.ts | 8 +- .../arm-avs/src/operations/privateClouds.ts | 119 +- .../arm-avs/src/operations/scriptCmdlets.ts | 215 + .../src/operations/scriptExecutions.ts | 411 ++ .../arm-avs/src/operations/scriptPackages.ts | 200 + .../src/operations/workloadNetworks.ts | 2935 ++++++++++++++ 38 files changed, 11456 insertions(+), 364 deletions(-) create mode 100644 sdk/avs/arm-avs/src/models/addonsMappers.ts create mode 100644 sdk/avs/arm-avs/src/models/cloudLinksMappers.ts create mode 100644 sdk/avs/arm-avs/src/models/datastoresMappers.ts create mode 100644 sdk/avs/arm-avs/src/models/globalReachConnectionsMappers.ts create mode 100644 sdk/avs/arm-avs/src/models/scriptCmdletsMappers.ts create mode 100644 sdk/avs/arm-avs/src/models/scriptExecutionsMappers.ts create mode 100644 sdk/avs/arm-avs/src/models/scriptPackagesMappers.ts create mode 100644 sdk/avs/arm-avs/src/models/workloadNetworksMappers.ts create mode 100644 sdk/avs/arm-avs/src/operations/addons.ts create mode 100644 sdk/avs/arm-avs/src/operations/cloudLinks.ts create mode 100644 sdk/avs/arm-avs/src/operations/datastores.ts create mode 100644 sdk/avs/arm-avs/src/operations/globalReachConnections.ts create mode 100644 sdk/avs/arm-avs/src/operations/scriptCmdlets.ts create mode 100644 sdk/avs/arm-avs/src/operations/scriptExecutions.ts create mode 100644 sdk/avs/arm-avs/src/operations/scriptPackages.ts create mode 100644 sdk/avs/arm-avs/src/operations/workloadNetworks.ts diff --git a/sdk/avs/arm-avs/LICENSE.txt b/sdk/avs/arm-avs/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/avs/arm-avs/LICENSE.txt +++ b/sdk/avs/arm-avs/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/avs/arm-avs/README.md b/sdk/avs/arm-avs/README.md index 63a73a5aafa8..353b532b2dd2 100644 --- a/sdk/avs/arm-avs/README.md +++ b/sdk/avs/arm-avs/README.md @@ -1,11 +1,11 @@ ## Azure AvsClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AvsClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for AvsClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-avs @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and list operations as an example written in JavaScript. ##### Sample code @@ -51,7 +49,6 @@ const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; // Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. const creds = new DefaultAzureCredential(); const client = new AvsClient(creds, subscriptionId); - client.operations.list().then((result) => { console.log("The result is:"); console.log(result); @@ -86,7 +83,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmAvs.AvsClient(creds, subscriptionId); client.operations.list().then((result) => { diff --git a/sdk/avs/arm-avs/package.json b/sdk/avs/arm-avs/package.json index 6cac221a8bca..1a2e860f94ab 100644 --- a/sdk/avs/arm-avs/package.json +++ b/sdk/avs/arm-avs/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-avs", "author": "Microsoft Corporation", "description": "AvsClient Library with typescript type definitions for node.js and browser.", - "version": "1.1.0", + "version": "2.0.0", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/avs/arm-avs", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/avs/arm-avs", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/avs/arm-avs/rollup.config.js b/sdk/avs/arm-avs/rollup.config.js index f2cc59bca8c9..9e2c6038eb1d 100644 --- a/sdk/avs/arm-avs/rollup.config.js +++ b/sdk/avs/arm-avs/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/avs/arm-avs/src/avsClient.ts b/sdk/avs/arm-avs/src/avsClient.ts index 3b2edc265a44..aaaa5a6236b2 100644 --- a/sdk/avs/arm-avs/src/avsClient.ts +++ b/sdk/avs/arm-avs/src/avsClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -22,8 +21,16 @@ class AvsClient extends AvsClientContext { locations: operations.Locations; privateClouds: operations.PrivateClouds; clusters: operations.Clusters; + datastores: operations.Datastores; hcxEnterpriseSites: operations.HcxEnterpriseSites; authorizations: operations.Authorizations; + globalReachConnections: operations.GlobalReachConnections; + workloadNetworks: operations.WorkloadNetworks; + cloudLinks: operations.CloudLinks; + addons: operations.Addons; + scriptPackages: operations.ScriptPackages; + scriptCmdlets: operations.ScriptCmdlets; + scriptExecutions: operations.ScriptExecutions; /** * Initializes a new instance of the AvsClient class. @@ -42,8 +49,16 @@ class AvsClient extends AvsClientContext { this.locations = new operations.Locations(this); this.privateClouds = new operations.PrivateClouds(this); this.clusters = new operations.Clusters(this); + this.datastores = new operations.Datastores(this); this.hcxEnterpriseSites = new operations.HcxEnterpriseSites(this); this.authorizations = new operations.Authorizations(this); + this.globalReachConnections = new operations.GlobalReachConnections(this); + this.workloadNetworks = new operations.WorkloadNetworks(this); + this.cloudLinks = new operations.CloudLinks(this); + this.addons = new operations.Addons(this); + this.scriptPackages = new operations.ScriptPackages(this); + this.scriptCmdlets = new operations.ScriptCmdlets(this); + this.scriptExecutions = new operations.ScriptExecutions(this); } } diff --git a/sdk/avs/arm-avs/src/avsClientContext.ts b/sdk/avs/arm-avs/src/avsClientContext.ts index 03dceb2252d3..ce126894cc98 100644 --- a/sdk/avs/arm-avs/src/avsClientContext.ts +++ b/sdk/avs/arm-avs/src/avsClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -10,11 +9,11 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-avs"; -const packageVersion = "1.1.0"; +const packageVersion = "2.0.0"; export class AvsClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; @@ -50,7 +49,7 @@ export class AvsClientContext extends msRestAzure.AzureServiceClient { super(credentials, options); - this.apiVersion = '2020-03-20'; + this.apiVersion = '2021-06-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/avs/arm-avs/src/models/addonsMappers.ts b/sdk/avs/arm-avs/src/models/addonsMappers.ts new file mode 100644 index 000000000000..cf965d12f4b9 --- /dev/null +++ b/sdk/avs/arm-avs/src/models/addonsMappers.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Addon, + AddonHcxProperties, + AddonList, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, + BaseResource, + Circuit, + CloudError, + CloudLink, + Cluster, + CommonClusterProperties, + Datastore, + DiskPoolVolume, + Endpoints, + ErrorAdditionalInfo, + ErrorResponse, + ExpressRouteAuthorization, + GlobalReachConnection, + HcxEnterpriseSite, + IdentitySource, + ManagementCluster, + NetAppVolume, + PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, + Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, + Sku, + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup +} from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/authorizationsMappers.ts b/sdk/avs/arm-avs/src/models/authorizationsMappers.ts index e05ac88a10b2..971a067ca334 100644 --- a/sdk/avs/arm-avs/src/models/authorizationsMappers.ts +++ b/sdk/avs/arm-avs/src/models/authorizationsMappers.ts @@ -1,27 +1,61 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, BaseResource, Circuit, CloudError, + CloudLink, Cluster, - ClusterUpdateProperties, + CommonClusterProperties, + Datastore, + DiskPoolVolume, Endpoints, ErrorAdditionalInfo, ErrorResponse, ExpressRouteAuthorization, ExpressRouteAuthorizationList, + GlobalReachConnection, HcxEnterpriseSite, IdentitySource, ManagementCluster, + NetAppVolume, PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, Sku, - TrackedResource + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup } from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/cloudLinksMappers.ts b/sdk/avs/arm-avs/src/models/cloudLinksMappers.ts new file mode 100644 index 000000000000..ab66f0a4c077 --- /dev/null +++ b/sdk/avs/arm-avs/src/models/cloudLinksMappers.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, + BaseResource, + Circuit, + CloudError, + CloudLink, + CloudLinkList, + Cluster, + CommonClusterProperties, + Datastore, + DiskPoolVolume, + Endpoints, + ErrorAdditionalInfo, + ErrorResponse, + ExpressRouteAuthorization, + GlobalReachConnection, + HcxEnterpriseSite, + IdentitySource, + ManagementCluster, + NetAppVolume, + PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, + Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, + Sku, + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup +} from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/clustersMappers.ts b/sdk/avs/arm-avs/src/models/clustersMappers.ts index 124b77e9e04d..f63850920810 100644 --- a/sdk/avs/arm-avs/src/models/clustersMappers.ts +++ b/sdk/avs/arm-avs/src/models/clustersMappers.ts @@ -1,28 +1,62 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, BaseResource, Circuit, CloudError, + CloudLink, Cluster, ClusterList, ClusterUpdate, - ClusterUpdateProperties, + CommonClusterProperties, + Datastore, + DiskPoolVolume, Endpoints, ErrorAdditionalInfo, ErrorResponse, ExpressRouteAuthorization, + GlobalReachConnection, HcxEnterpriseSite, IdentitySource, ManagementCluster, + NetAppVolume, PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, Sku, - TrackedResource + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup } from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/datastoresMappers.ts b/sdk/avs/arm-avs/src/models/datastoresMappers.ts new file mode 100644 index 000000000000..29be66bd71da --- /dev/null +++ b/sdk/avs/arm-avs/src/models/datastoresMappers.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, + BaseResource, + Circuit, + CloudError, + CloudLink, + Cluster, + CommonClusterProperties, + Datastore, + DatastoreList, + DiskPoolVolume, + Endpoints, + ErrorAdditionalInfo, + ErrorResponse, + ExpressRouteAuthorization, + GlobalReachConnection, + HcxEnterpriseSite, + IdentitySource, + ManagementCluster, + NetAppVolume, + PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, + Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, + Sku, + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup +} from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/globalReachConnectionsMappers.ts b/sdk/avs/arm-avs/src/models/globalReachConnectionsMappers.ts new file mode 100644 index 000000000000..9fb905d075f7 --- /dev/null +++ b/sdk/avs/arm-avs/src/models/globalReachConnectionsMappers.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, + BaseResource, + Circuit, + CloudError, + CloudLink, + Cluster, + CommonClusterProperties, + Datastore, + DiskPoolVolume, + Endpoints, + ErrorAdditionalInfo, + ErrorResponse, + ExpressRouteAuthorization, + GlobalReachConnection, + GlobalReachConnectionList, + HcxEnterpriseSite, + IdentitySource, + ManagementCluster, + NetAppVolume, + PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, + Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, + Sku, + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup +} from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/hcxEnterpriseSitesMappers.ts b/sdk/avs/arm-avs/src/models/hcxEnterpriseSitesMappers.ts index 874d20947675..083d84e54139 100644 --- a/sdk/avs/arm-avs/src/models/hcxEnterpriseSitesMappers.ts +++ b/sdk/avs/arm-avs/src/models/hcxEnterpriseSitesMappers.ts @@ -1,27 +1,61 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, BaseResource, Circuit, CloudError, + CloudLink, Cluster, - ClusterUpdateProperties, + CommonClusterProperties, + Datastore, + DiskPoolVolume, Endpoints, ErrorAdditionalInfo, ErrorResponse, ExpressRouteAuthorization, + GlobalReachConnection, HcxEnterpriseSite, HcxEnterpriseSiteList, IdentitySource, ManagementCluster, + NetAppVolume, PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, Sku, - TrackedResource + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup } from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/index.ts b/sdk/avs/arm-avs/src/models/index.ts index b2e5781ec254..e55e9bcb1955 100644 --- a/sdk/avs/arm-avs/src/models/index.ts +++ b/sdk/avs/arm-avs/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -78,6 +78,12 @@ export interface TrackedResource extends Resource { tags?: { [propertyName: string]: string }; } +/** + * The resource model definition for a ARM proxy resource + */ +export interface ProxyResource extends Resource { +} + /** * The resource management error additional info. */ @@ -95,7 +101,9 @@ export interface ErrorAdditionalInfo { } /** - * The resource management error response. + * Common error response for all Azure Resource Manager APIs to return error details for failed + * operations. (This also follows the OData error response format.) + * @summary Error Response */ export interface ErrorResponse { /** @@ -151,6 +159,131 @@ export interface OperationDisplay { readonly description?: string; } +/** + * Specifications of the Log for Azure Monitoring + */ +export interface LogSpecification { + /** + * Name of the log + */ + name?: string; + /** + * Localized friendly display name of the log + */ + displayName?: string; + /** + * Blob duration of the log + */ + blobDuration?: string; +} + +/** + * Specifications of the Dimension of metrics + */ +export interface MetricDimension { + /** + * Name of the dimension + */ + name?: string; + /** + * Localized friendly display name of the dimension + */ + displayName?: string; + /** + * Name of the dimension as it appears in MDM + */ + internalName?: string; + /** + * A boolean flag indicating whether this dimension should be included for the shoebox export + * scenario + */ + toBeExportedForShoebox?: boolean; +} + +/** + * Specifications of the Metrics for Azure Monitoring + */ +export interface MetricSpecification { + /** + * Name of the metric + */ + name?: string; + /** + * Localized friendly display name of the metric + */ + displayName?: string; + /** + * Localized friendly description of the metric + */ + displayDescription?: string; + /** + * Unit that makes sense for the metric + */ + unit?: string; + /** + * Name of the metric category that the metric belongs to. A metric can only belong to a single + * category. + */ + category?: string; + /** + * Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. + */ + aggregationType?: string; + /** + * Supported aggregation types + */ + supportedAggregationTypes?: string[]; + /** + * Supported time grain types + */ + supportedTimeGrainTypes?: string[]; + /** + * Optional. If set to true, then zero will be returned for time duration where no metric is + * emitted/published. + */ + fillGapWithZero?: boolean; + /** + * Dimensions of the metric + */ + dimensions?: MetricDimension[]; + /** + * Whether or not the service is using regional MDM accounts. + */ + enableRegionalMdmAccount?: string; + /** + * The name of the MDM account. + */ + sourceMdmAccount?: string; + /** + * The name of the MDM namespace. + */ + sourceMdmNamespace?: string; +} + +/** + * Service specification payload + */ +export interface ServiceSpecification { + /** + * Specifications of the Log for Azure Monitoring + */ + logSpecifications?: LogSpecification[]; + /** + * Specifications of the Metrics for Azure Monitoring + */ + metricSpecifications?: MetricSpecification[]; +} + +/** + * Extra Operation properties + */ +export interface OperationProperties { + /** + * Service specifications of the operation + */ + serviceSpecification?: ServiceSpecification; +} + /** * A REST API operation */ @@ -165,6 +298,18 @@ export interface Operation { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly display?: OperationDisplay; + /** + * Gets or sets a value indicating whether the operation is a data action or not + */ + isDataAction?: boolean; + /** + * Origin of the operation + */ + origin?: string; + /** + * Properties of the operation + */ + properties?: OperationProperties; } /** @@ -309,7 +454,7 @@ export interface PrivateCloud extends TrackedResource { managementCluster?: ManagementCluster; /** * Connectivity to internet is enabled or disabled. Possible values include: 'Enabled', - * 'Disabled' + * 'Disabled'. Default value: 'Disabled'. */ internet?: InternetEnum; /** @@ -370,22 +515,26 @@ export interface PrivateCloud extends TrackedResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nsxtCertificateThumbprint?: string; + /** + * Array of cloud link IDs from other clouds that connect to this one + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly externalCloudLinks?: string[]; } /** - * The properties of a cluster that may be updated + * The common properties of a cluster */ -export interface ClusterUpdateProperties { +export interface CommonClusterProperties { /** * The cluster size */ clusterSize?: number; -} - -/** - * The properties of a default cluster - */ -export interface ManagementCluster extends ClusterUpdateProperties { + /** + * The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', + * 'Cancelled', 'Deleting', 'Updating' + */ + provisioningState?: ClusterProvisioningState; /** * The identity * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -398,12 +547,18 @@ export interface ManagementCluster extends ClusterUpdateProperties { readonly hosts?: string[]; } +/** + * The properties of a management cluster + */ +export interface ManagementCluster extends CommonClusterProperties { +} + /** * An update to a private cloud resource */ export interface PrivateCloudUpdate { /** - * Resource tags. + * Resource tags */ tags?: { [propertyName: string]: string }; /** @@ -412,7 +567,7 @@ export interface PrivateCloudUpdate { managementCluster?: ManagementCluster; /** * Connectivity to internet is enabled or disabled. Possible values include: 'Enabled', - * 'Disabled' + * 'Disabled'. Default value: 'Disabled'. */ internet?: InternetEnum; /** @@ -433,6 +588,11 @@ export interface Cluster extends Resource { * The cluster size */ clusterSize?: number; + /** + * The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', + * 'Cancelled', 'Deleting', 'Updating' + */ + provisioningState?: ClusterProvisioningState; /** * The identity * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -443,12 +603,6 @@ export interface Cluster extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly hosts?: string[]; - /** - * The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', - * 'Cancelled', 'Deleting', 'Updating' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: ClusterProvisioningState; } /** @@ -461,6 +615,151 @@ export interface ClusterUpdate { clusterSize?: number; } +/** + * Contains the possible cases for AddonProperties. + */ +export type AddonPropertiesUnion = AddonProperties | AddonSrmProperties | AddonVrProperties | AddonHcxProperties; + +/** + * The properties of an addon + */ +export interface AddonProperties { + /** + * Polymorphic Discriminator + */ + addonType: "AddonProperties"; + /** + * The state of the addon provisioning. Possible values include: 'Succeeded', 'Failed', + * 'Cancelled', 'Building', 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: AddonProvisioningState; +} + +/** + * An addon resource + */ +export interface Addon extends Resource { + /** + * The properties of an addon resource + */ + properties?: AddonPropertiesUnion; +} + +/** + * The properties of a Site Recovery Manager (SRM) addon + */ +export interface AddonSrmProperties { + /** + * Polymorphic Discriminator + */ + addonType: "SRM"; + /** + * The state of the addon provisioning. Possible values include: 'Succeeded', 'Failed', + * 'Cancelled', 'Building', 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: AddonProvisioningState; + /** + * The Site Recovery Manager (SRM) license + */ + licenseKey: string; +} + +/** + * The properties of a vSphere Replication (VR) addon + */ +export interface AddonVrProperties { + /** + * Polymorphic Discriminator + */ + addonType: "VR"; + /** + * The state of the addon provisioning. Possible values include: 'Succeeded', 'Failed', + * 'Cancelled', 'Building', 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: AddonProvisioningState; + /** + * The vSphere Replication Server (VRS) count + */ + vrsCount: number; +} + +/** + * The properties of an HCX addon + */ +export interface AddonHcxProperties { + /** + * Polymorphic Discriminator + */ + addonType: "HCX"; + /** + * The state of the addon provisioning. Possible values include: 'Succeeded', 'Failed', + * 'Cancelled', 'Building', 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: AddonProvisioningState; + /** + * The HCX offer, example VMware MaaS Cloud Provider (Enterprise) + */ + offer: string; +} + +/** + * An Azure NetApp Files volume from Microsoft.NetApp provider + */ +export interface NetAppVolume { + /** + * Azure resource ID of the NetApp volume + */ + id: string; +} + +/** + * An iSCSI volume from Microsoft.StoragePool provider + */ +export interface DiskPoolVolume { + /** + * Azure resource ID of the iSCSI target + */ + targetId: string; + /** + * Name of the LUN to be used for datastore + */ + lunName: string; + /** + * Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN. + * Possible values include: 'MOUNT', 'ATTACH'. Default value: 'MOUNT'. + */ + mountOption?: MountOptionEnum; + /** + * Device path + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly path?: string; +} + +/** + * A datastore resource + */ +export interface Datastore extends Resource { + /** + * The state of the datastore provisioning. Possible values include: 'Succeeded', 'Failed', + * 'Cancelled', 'Pending', 'Creating', 'Updating', 'Deleting' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: DatastoreProvisioningState; + /** + * An Azure NetApp Files volume + */ + netAppVolume?: NetAppVolume; + /** + * An iSCSI volume + */ + diskPoolVolume?: DiskPoolVolume; +} + /** * Administrative credentials for accessing vCenter and NSX-T */ @@ -505,166 +804,2990 @@ export interface HcxEnterpriseSite extends Resource { } /** - * Optional Parameters. + * A global reach connection resource */ -export interface ClustersUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface GlobalReachConnection extends Resource { /** - * The cluster size + * The state of the ExpressRoute Circuit Authorization provisioning. Possible values include: + * 'Succeeded', 'Failed', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - clusterSize?: number; + readonly provisioningState?: GlobalReachConnectionProvisioningState; + /** + * The network used for global reach carved out from the original network block provided for the + * private cloud + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly addressPrefix?: string; + /** + * Authorization key from the peer express route used for the global reach connection + */ + authorizationKey?: string; + /** + * The connection status of the global reach connection. Possible values include: 'Connected', + * 'Connecting', 'Disconnected' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly circuitConnectionStatus?: GlobalReachConnectionStatus; + /** + * Identifier of the ExpressRoute Circuit to peer with in the global reach connection + */ + peerExpressRouteCircuit?: string; } /** - * Optional Parameters. + * A cloud link resource */ -export interface ClustersBeginUpdateOptionalParams extends msRest.RequestOptionsBase { +export interface CloudLink extends Resource { /** - * The cluster size + * The state of the cloud link. Possible values include: 'Active', 'Building', 'Deleting', + * 'Failed', 'Disconnected' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - clusterSize?: number; + readonly status?: CloudLinkStatus; + /** + * Identifier of the other private cloud participating in the link. + */ + linkedCloud?: string; } /** - * An interface representing AvsClientOptions. + * Subnet configuration for segment */ -export interface AvsClientOptions extends AzureServiceClientOptions { - baseUri?: string; +export interface WorkloadNetworkSegmentSubnet { + /** + * DHCP Range assigned for subnet. + */ + dhcpRanges?: string[]; + /** + * Gateway address. + */ + gatewayAddress?: string; } /** - * @interface - * Pageable list of operations - * @extends Array + * Ports and any VIF attached to segment. */ -export interface OperationList extends Array { +export interface WorkloadNetworkSegmentPortVif { /** - * URL to get the next page if any - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Name of port or VIF attached to segment. */ - readonly nextLink?: string; + portName?: string; } /** - * @interface - * A paged list of private clouds - * @extends Array + * NSX Segment */ -export interface PrivateCloudList extends Array { +export interface WorkloadNetworkSegment extends ProxyResource { /** - * URL to get the next page if any + * Display name of the segment. + */ + displayName?: string; + /** + * Gateway which to connect segment to. + */ + connectedGateway?: string; + /** + * Subnet which to connect segment to. + */ + subnet?: WorkloadNetworkSegmentSubnet; + /** + * Port Vif which segment is associated with. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly nextLink?: string; + readonly portVif?: WorkloadNetworkSegmentPortVif[]; + /** + * Segment status. Possible values include: 'SUCCESS, FAILURE' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: SegmentStatusEnum; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkSegmentProvisioningState; + /** + * NSX revision number. + */ + revision?: number; } /** - * @interface - * A paged list of clusters - * @extends Array + * Contains the possible cases for WorkloadNetworkDhcpEntity. */ -export interface ClusterList extends Array { +export type WorkloadNetworkDhcpEntityUnion = WorkloadNetworkDhcpEntity | WorkloadNetworkDhcpServer | WorkloadNetworkDhcpRelay; + +/** + * Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from + */ +export interface WorkloadNetworkDhcpEntity { /** - * URL to get the next page if any - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly nextLink?: string; -} + dhcpType: "WorkloadNetworkDhcpEntity"; + /** + * Display name of the DHCP entity. + */ + displayName?: string; + /** + * NSX Segments consuming DHCP. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly segments?: string[]; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkDhcpProvisioningState; + /** + * NSX revision number. + */ + revision?: number; +} + +/** + * NSX DHCP Server + */ +export interface WorkloadNetworkDhcpServer { + /** + * Polymorphic Discriminator + */ + dhcpType: "SERVER"; + /** + * Display name of the DHCP entity. + */ + displayName?: string; + /** + * NSX Segments consuming DHCP. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly segments?: string[]; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkDhcpProvisioningState; + /** + * NSX revision number. + */ + revision?: number; + /** + * DHCP Server Address. + */ + serverAddress?: string; + /** + * DHCP Server Lease Time. + */ + leaseTime?: number; +} + +/** + * NSX DHCP Relay + */ +export interface WorkloadNetworkDhcpRelay { + /** + * Polymorphic Discriminator + */ + dhcpType: "RELAY"; + /** + * Display name of the DHCP entity. + */ + displayName?: string; + /** + * NSX Segments consuming DHCP. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly segments?: string[]; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkDhcpProvisioningState; + /** + * NSX revision number. + */ + revision?: number; + /** + * DHCP Relay Addresses. Max 3. + */ + serverAddresses?: string[]; +} + +/** + * NSX DHCP + */ +export interface WorkloadNetworkDhcp extends ProxyResource { + /** + * DHCP properties. + */ + properties?: WorkloadNetworkDhcpEntityUnion; +} + +/** + * NSX Port Mirroring + */ +export interface WorkloadNetworkPortMirroring extends ProxyResource { + /** + * Display name of the port mirroring profile. + */ + displayName?: string; + /** + * Direction of port mirroring profile. Possible values include: 'INGRESS, EGRESS, BIDIRECTIONAL' + */ + direction?: PortMirroringDirectionEnum; + /** + * Source VM Group. + */ + source?: string; + /** + * Destination VM Group. + */ + destination?: string; + /** + * Port Mirroring Status. Possible values include: 'SUCCESS, FAILURE' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: PortMirroringStatusEnum; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkPortMirroringProvisioningState; + /** + * NSX revision number. + */ + revision?: number; +} + +/** + * NSX VM Group + */ +export interface WorkloadNetworkVMGroup extends ProxyResource { + /** + * Display name of the VM group. + */ + displayName?: string; + /** + * Virtual machine members of this group. + */ + members?: string[]; + /** + * VM Group status. Possible values include: 'SUCCESS, FAILURE' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: VMGroupStatusEnum; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkVMGroupProvisioningState; + /** + * NSX revision number. + */ + revision?: number; +} + +/** + * NSX Virtual Machine + */ +export interface WorkloadNetworkVirtualMachine extends ProxyResource { + /** + * Display name of the VM. + */ + displayName?: string; + /** + * Virtual machine type. Possible values include: 'REGULAR, EDGE, SERVICE' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vmType?: VMTypeEnum; +} + +/** + * NSX Gateway. + */ +export interface WorkloadNetworkGateway extends ProxyResource { + /** + * Display name of the DHCP entity. + */ + displayName?: string; + /** + * NSX Gateway Path. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly path?: string; +} + +/** + * NSX DNS Service + */ +export interface WorkloadNetworkDnsService extends ProxyResource { + /** + * Display name of the DNS Service. + */ + displayName?: string; + /** + * DNS service IP of the DNS Service. + */ + dnsServiceIp?: string; + /** + * Default DNS zone of the DNS Service. + */ + defaultDnsZone?: string; + /** + * FQDN zones of the DNS Service. + */ + fqdnZones?: string[]; + /** + * DNS Service log level. Possible values include: 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL' + */ + logLevel?: DnsServiceLogLevelEnum; + /** + * DNS Service status. Possible values include: 'SUCCESS', 'FAILURE' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: DnsServiceStatusEnum; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkDnsServiceProvisioningState; + /** + * NSX revision number. + */ + revision?: number; +} + +/** + * NSX DNS Zone + */ +export interface WorkloadNetworkDnsZone extends ProxyResource { + /** + * Display name of the DNS Zone. + */ + displayName?: string; + /** + * Domain names of the DNS Zone. + */ + domain?: string[]; + /** + * DNS Server IP array of the DNS Zone. + */ + dnsServerIps?: string[]; + /** + * Source IP of the DNS Zone. + */ + sourceIp?: string; + /** + * Number of DNS Services using the DNS zone. + */ + dnsServices?: number; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkDnsZoneProvisioningState; + /** + * NSX revision number. + */ + revision?: number; +} + +/** + * NSX Public IP Block + */ +export interface WorkloadNetworkPublicIP extends ProxyResource { + /** + * Display name of the Public IP Block. + */ + displayName?: string; + /** + * Number of Public IPs requested. + */ + numberOfPublicIPs?: number; + /** + * CIDR Block of the Public IP Block. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly publicIPBlock?: string; + /** + * The provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', + * 'Deleting', 'Updating' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: WorkloadNetworkPublicIPProvisioningState; +} + +/** + * Script Package resources available for execution + */ +export interface ScriptPackage extends ProxyResource { + /** + * User friendly description of the package + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * Module version + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly version?: string; +} + +/** + * An parameter that the script will accept + */ +export interface ScriptParameter { + /** + * The type of parameter the script is expecting. psCredential is a PSCredentialObject. Possible + * values include: 'String', 'SecureString', 'Credential', 'Int', 'Bool', 'Float' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: ScriptParameterTypes; + /** + * The parameter name that the script will expect a parameter value for + */ + name?: string; + /** + * User friendly description of the parameter + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * Should this parameter be visible to arm and passed in the parameters argument when executing. + * Possible values include: 'Visible', 'Hidden' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly visibility?: VisibilityParameterEnum; + /** + * Is this parameter required or optional. Possible values include: 'Optional', 'Required' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly optional?: OptionalParamEnum; +} + +/** + * A cmdlet available for script execution + */ +export interface ScriptCmdlet extends ProxyResource { + /** + * Description of the scripts functionality + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly description?: string; + /** + * Recommended time limit for execution + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly timeout?: string; + /** + * Parameters the script will accept + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly parameters?: ScriptParameter[]; +} + +/** + * Contains the possible cases for ScriptExecutionParameter. + */ +export type ScriptExecutionParameterUnion = ScriptExecutionParameter | ScriptSecureStringExecutionParameter | ScriptStringExecutionParameter | PSCredentialExecutionParameter; + +/** + * The arguments passed in to the execution + */ +export interface ScriptExecutionParameter { + /** + * Polymorphic Discriminator + */ + type: "ScriptExecutionParameter"; + /** + * The parameter name + */ + name: string; +} + +/** + * An instance of a script executed by a user - custom or AVS + */ +export interface ScriptExecution extends ProxyResource { + /** + * A reference to the script cmdlet resource if user is running a AVS script + */ + scriptCmdletId?: string; + /** + * Parameters the script will accept + */ + parameters?: ScriptExecutionParameterUnion[]; + /** + * Parameters that will be hidden/not visible to ARM, such as passwords and credentials + */ + hiddenParameters?: ScriptExecutionParameterUnion[]; + /** + * Error message if the script was able to run, but if the script itself had errors or powershell + * threw an exception + */ + failureReason?: string; + /** + * Time limit for execution + */ + timeout: string; + /** + * Time to live for the resource. If not provided, will be available for 60 days + */ + retention?: string; + /** + * Time the script execution was submitted + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly submittedAt?: Date; + /** + * Time the script execution was started + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly startedAt?: Date; + /** + * Time the script execution was finished + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly finishedAt?: Date; + /** + * The state of the script execution resource. Possible values include: 'Pending', 'Running', + * 'Succeeded', 'Failed', 'Cancelling', 'Cancelled', 'Deleting' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ScriptExecutionProvisioningState; + /** + * Standard output stream from the powershell execution + */ + output?: string[]; + /** + * User-defined dictionary. + */ + namedOutputs?: { [propertyName: string]: any }; + /** + * Standard information out stream from the powershell execution + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly information?: string[]; + /** + * Standard warning out stream from the powershell execution + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly warnings?: string[]; + /** + * Standard error output stream from the powershell execution + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly errors?: string[]; +} + +/** + * a plain text value execution parameter + */ +export interface ScriptSecureStringExecutionParameter { + /** + * Polymorphic Discriminator + */ + type: "SecureValue"; + /** + * The parameter name + */ + name: string; + /** + * A secure value for the passed parameter, not to be stored in logs + */ + secureValue?: string; +} + +/** + * a plain text value execution parameter + */ +export interface ScriptStringExecutionParameter { + /** + * Polymorphic Discriminator + */ + type: "Value"; + /** + * The parameter name + */ + name: string; + /** + * The value for the passed parameter + */ + value?: string; +} + +/** + * a powershell credential object + */ +export interface PSCredentialExecutionParameter { + /** + * Polymorphic Discriminator + */ + type: "Credential"; + /** + * The parameter name + */ + name: string; + /** + * username for login + */ + username?: string; + /** + * password for login + */ + password?: string; +} + +/** + * Optional Parameters. + */ +export interface ClustersUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cluster size + */ + clusterSize?: number; +} + +/** + * Optional Parameters. + */ +export interface ClustersBeginUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The cluster size + */ + clusterSize?: number; +} + +/** + * Optional Parameters. + */ +export interface WorkloadNetworksCreateDhcpOptionalParams extends msRest.RequestOptionsBase { + /** + * DHCP properties. + */ + properties?: WorkloadNetworkDhcpEntityUnion; +} + +/** + * Optional Parameters. + */ +export interface WorkloadNetworksUpdateDhcpOptionalParams extends msRest.RequestOptionsBase { + /** + * DHCP properties. + */ + properties?: WorkloadNetworkDhcpEntityUnion; +} + +/** + * Optional Parameters. + */ +export interface WorkloadNetworksBeginCreateDhcpOptionalParams extends msRest.RequestOptionsBase { + /** + * DHCP properties. + */ + properties?: WorkloadNetworkDhcpEntityUnion; +} + +/** + * Optional Parameters. + */ +export interface WorkloadNetworksBeginUpdateDhcpOptionalParams extends msRest.RequestOptionsBase { + /** + * DHCP properties. + */ + properties?: WorkloadNetworkDhcpEntityUnion; +} + +/** + * Optional Parameters. + */ +export interface CloudLinksCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Identifier of the other private cloud participating in the link. + */ + linkedCloud?: string; +} + +/** + * Optional Parameters. + */ +export interface CloudLinksBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Identifier of the other private cloud participating in the link. + */ + linkedCloud?: string; +} + +/** + * Optional Parameters. + */ +export interface AddonsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The properties of an addon resource + */ + properties?: AddonPropertiesUnion; +} + +/** + * Optional Parameters. + */ +export interface AddonsBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * The properties of an addon resource + */ + properties?: AddonPropertiesUnion; +} + +/** + * Optional Parameters. + */ +export interface ScriptExecutionsGetExecutionLogsOptionalParams extends msRest.RequestOptionsBase { + /** + * Name of the desired output stream to return. If not provided, will return all. An empty array + * will return nothing + */ + scriptOutputStreamType?: ScriptOutputStreamType[]; +} + +/** + * An interface representing AvsClientOptions. + */ +export interface AvsClientOptions extends AzureServiceClientOptions { + baseUri?: string; +} + +/** + * @interface + * Pageable list of operations + * @extends Array + */ +export interface OperationList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A paged list of private clouds + * @extends Array + */ +export interface PrivateCloudList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A paged list of clusters + * @extends Array + */ +export interface ClusterList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A paged list of datastores + * @extends Array + */ +export interface DatastoreList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A paged list of HCX Enterprise Sites + * @extends Array + */ +export interface HcxEnterpriseSiteList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A paged list of ExpressRoute Circuit Authorizations + * @extends Array + */ +export interface ExpressRouteAuthorizationList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A paged list of global reach connections + * @extends Array + */ +export interface GlobalReachConnectionList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX Segments + * @extends Array + */ +export interface WorkloadNetworkSegmentsList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX dhcp entities + * @extends Array + */ +export interface WorkloadNetworkDhcpList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX Gateways + * @extends Array + */ +export interface WorkloadNetworkGatewayList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX Port Mirroring + * @extends Array + */ +export interface WorkloadNetworkPortMirroringList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX VM Groups + * @extends Array + */ +export interface WorkloadNetworkVMGroupsList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX Virtual Machines + * @extends Array + */ +export interface WorkloadNetworkVirtualMachinesList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX DNS Services + * @extends Array + */ +export interface WorkloadNetworkDnsServicesList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX DNS Zones + * @extends Array + */ +export interface WorkloadNetworkDnsZonesList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of NSX Public IP Blocks + * @extends Array + */ +export interface WorkloadNetworkPublicIPsList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A paged list of cloud links + * @extends Array + */ +export interface CloudLinkList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A paged list of addons + * @extends Array + */ +export interface AddonList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * A list of the available script packages + * @extends Array + */ +export interface ScriptPackagesList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Pageable list of scripts/cmdlets + * @extends Array + */ +export interface ScriptCmdletsList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Pageable list of script executions + * @extends Array + */ +export interface ScriptExecutionsList extends Array { + /** + * URL to get the next page if any + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * Defines values for TrialStatus. + * Possible values include: 'TrialAvailable', 'TrialUsed', 'TrialDisabled' + * @readonly + * @enum {string} + */ +export type TrialStatus = 'TrialAvailable' | 'TrialUsed' | 'TrialDisabled'; + +/** + * Defines values for QuotaEnabled. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type QuotaEnabled = 'Enabled' | 'Disabled'; + +/** + * Defines values for ExpressRouteAuthorizationProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Updating' + * @readonly + * @enum {string} + */ +export type ExpressRouteAuthorizationProvisioningState = 'Succeeded' | 'Failed' | 'Updating'; + +/** + * Defines values for SslEnum. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type SslEnum = 'Enabled' | 'Disabled'; + +/** + * Defines values for PrivateCloudProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Pending', 'Building', 'Deleting', + * 'Updating' + * @readonly + * @enum {string} + */ +export type PrivateCloudProvisioningState = 'Succeeded' | 'Failed' | 'Cancelled' | 'Pending' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for InternetEnum. + * Possible values include: 'Enabled', 'Disabled' + * @readonly + * @enum {string} + */ +export type InternetEnum = 'Enabled' | 'Disabled'; + +/** + * Defines values for ClusterProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type ClusterProvisioningState = 'Succeeded' | 'Failed' | 'Cancelled' | 'Deleting' | 'Updating'; + +/** + * Defines values for AddonProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Building', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type AddonProvisioningState = 'Succeeded' | 'Failed' | 'Cancelled' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for DatastoreProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Pending', 'Creating', 'Updating', + * 'Deleting' + * @readonly + * @enum {string} + */ +export type DatastoreProvisioningState = 'Succeeded' | 'Failed' | 'Cancelled' | 'Pending' | 'Creating' | 'Updating' | 'Deleting'; + +/** + * Defines values for MountOptionEnum. + * Possible values include: 'MOUNT', 'ATTACH' + * @readonly + * @enum {string} + */ +export type MountOptionEnum = 'MOUNT' | 'ATTACH'; + +/** + * Defines values for HcxEnterpriseSiteStatus. + * Possible values include: 'Available', 'Consumed', 'Deactivated', 'Deleted' + * @readonly + * @enum {string} + */ +export type HcxEnterpriseSiteStatus = 'Available' | 'Consumed' | 'Deactivated' | 'Deleted'; + +/** + * Defines values for GlobalReachConnectionProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Updating' + * @readonly + * @enum {string} + */ +export type GlobalReachConnectionProvisioningState = 'Succeeded' | 'Failed' | 'Updating'; + +/** + * Defines values for GlobalReachConnectionStatus. + * Possible values include: 'Connected', 'Connecting', 'Disconnected' + * @readonly + * @enum {string} + */ +export type GlobalReachConnectionStatus = 'Connected' | 'Connecting' | 'Disconnected'; + +/** + * Defines values for CloudLinkStatus. + * Possible values include: 'Active', 'Building', 'Deleting', 'Failed', 'Disconnected' + * @readonly + * @enum {string} + */ +export type CloudLinkStatus = 'Active' | 'Building' | 'Deleting' | 'Failed' | 'Disconnected'; + +/** + * Defines values for SegmentStatusEnum. + * Possible values include: 'SUCCESS, FAILURE' + * @readonly + * @enum {string} + */ +export type SegmentStatusEnum = 'SUCCESS, FAILURE'; + +/** + * Defines values for WorkloadNetworkSegmentProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type WorkloadNetworkSegmentProvisioningState = 'Succeeded' | 'Failed' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for WorkloadNetworkDhcpProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type WorkloadNetworkDhcpProvisioningState = 'Succeeded' | 'Failed' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for PortMirroringDirectionEnum. + * Possible values include: 'INGRESS, EGRESS, BIDIRECTIONAL' + * @readonly + * @enum {string} + */ +export type PortMirroringDirectionEnum = 'INGRESS, EGRESS, BIDIRECTIONAL'; + +/** + * Defines values for PortMirroringStatusEnum. + * Possible values include: 'SUCCESS, FAILURE' + * @readonly + * @enum {string} + */ +export type PortMirroringStatusEnum = 'SUCCESS, FAILURE'; + +/** + * Defines values for WorkloadNetworkPortMirroringProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type WorkloadNetworkPortMirroringProvisioningState = 'Succeeded' | 'Failed' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for VMGroupStatusEnum. + * Possible values include: 'SUCCESS, FAILURE' + * @readonly + * @enum {string} + */ +export type VMGroupStatusEnum = 'SUCCESS, FAILURE'; + +/** + * Defines values for WorkloadNetworkVMGroupProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type WorkloadNetworkVMGroupProvisioningState = 'Succeeded' | 'Failed' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for VMTypeEnum. + * Possible values include: 'REGULAR, EDGE, SERVICE' + * @readonly + * @enum {string} + */ +export type VMTypeEnum = 'REGULAR, EDGE, SERVICE'; + +/** + * Defines values for DnsServiceLogLevelEnum. + * Possible values include: 'DEBUG', 'INFO', 'WARNING', 'ERROR', 'FATAL' + * @readonly + * @enum {string} + */ +export type DnsServiceLogLevelEnum = 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'FATAL'; + +/** + * Defines values for DnsServiceStatusEnum. + * Possible values include: 'SUCCESS', 'FAILURE' + * @readonly + * @enum {string} + */ +export type DnsServiceStatusEnum = 'SUCCESS' | 'FAILURE'; + +/** + * Defines values for WorkloadNetworkDnsServiceProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type WorkloadNetworkDnsServiceProvisioningState = 'Succeeded' | 'Failed' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for WorkloadNetworkDnsZoneProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type WorkloadNetworkDnsZoneProvisioningState = 'Succeeded' | 'Failed' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for WorkloadNetworkPublicIPProvisioningState. + * Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating' + * @readonly + * @enum {string} + */ +export type WorkloadNetworkPublicIPProvisioningState = 'Succeeded' | 'Failed' | 'Building' | 'Deleting' | 'Updating'; + +/** + * Defines values for ScriptParameterTypes. + * Possible values include: 'String', 'SecureString', 'Credential', 'Int', 'Bool', 'Float' + * @readonly + * @enum {string} + */ +export type ScriptParameterTypes = 'String' | 'SecureString' | 'Credential' | 'Int' | 'Bool' | 'Float'; + +/** + * Defines values for VisibilityParameterEnum. + * Possible values include: 'Visible', 'Hidden' + * @readonly + * @enum {string} + */ +export type VisibilityParameterEnum = 'Visible' | 'Hidden'; + +/** + * Defines values for OptionalParamEnum. + * Possible values include: 'Optional', 'Required' + * @readonly + * @enum {string} + */ +export type OptionalParamEnum = 'Optional' | 'Required'; + +/** + * Defines values for ScriptExecutionProvisioningState. + * Possible values include: 'Pending', 'Running', 'Succeeded', 'Failed', 'Cancelling', 'Cancelled', + * 'Deleting' + * @readonly + * @enum {string} + */ +export type ScriptExecutionProvisioningState = 'Pending' | 'Running' | 'Succeeded' | 'Failed' | 'Cancelling' | 'Cancelled' | 'Deleting'; + +/** + * Defines values for ScriptOutputStreamType. + * Possible values include: 'Information', 'Warning', 'Output', 'Error' + * @readonly + * @enum {string} + */ +export type ScriptOutputStreamType = 'Information' | 'Warning' | 'Output' | 'Error'; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationList; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type OperationsListNextResponse = OperationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: OperationList; + }; +}; + +/** + * Contains response data for the checkTrialAvailability operation. + */ +export type LocationsCheckTrialAvailabilityResponse = Trial & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Trial; + }; +}; + +/** + * Contains response data for the checkQuotaAvailability operation. + */ +export type LocationsCheckQuotaAvailabilityResponse = Quota & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Quota; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type PrivateCloudsListResponse = PrivateCloudList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloudList; + }; +}; + +/** + * Contains response data for the listInSubscription operation. + */ +export type PrivateCloudsListInSubscriptionResponse = PrivateCloudList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloudList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type PrivateCloudsGetResponse = PrivateCloud & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloud; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type PrivateCloudsCreateOrUpdateResponse = PrivateCloud & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloud; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type PrivateCloudsUpdateResponse = PrivateCloud & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloud; + }; +}; + +/** + * Contains response data for the listAdminCredentials operation. + */ +export type PrivateCloudsListAdminCredentialsResponse = AdminCredentials & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AdminCredentials; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type PrivateCloudsBeginCreateOrUpdateResponse = PrivateCloud & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloud; + }; +}; + +/** + * Contains response data for the beginUpdate operation. + */ +export type PrivateCloudsBeginUpdateResponse = PrivateCloud & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloud; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type PrivateCloudsListNextResponse = PrivateCloudList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloudList; + }; +}; + +/** + * Contains response data for the listInSubscriptionNext operation. + */ +export type PrivateCloudsListInSubscriptionNextResponse = PrivateCloudList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: PrivateCloudList; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ClustersListResponse = ClusterList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ClusterList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ClustersGetResponse = Cluster & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Cluster; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ClustersCreateOrUpdateResponse = Cluster & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Cluster; + }; +}; + +/** + * Contains response data for the update operation. + */ +export type ClustersUpdateResponse = Cluster & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Cluster; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type ClustersBeginCreateOrUpdateResponse = Cluster & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Cluster; + }; +}; + +/** + * Contains response data for the beginUpdate operation. + */ +export type ClustersBeginUpdateResponse = Cluster & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Cluster; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ClustersListNextResponse = ClusterList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ClusterList; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type DatastoresListResponse = DatastoreList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatastoreList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type DatastoresGetResponse = Datastore & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Datastore; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type DatastoresCreateOrUpdateResponse = Datastore & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Datastore; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type DatastoresBeginCreateOrUpdateResponse = Datastore & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Datastore; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type DatastoresListNextResponse = DatastoreList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: DatastoreList; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type HcxEnterpriseSitesListResponse = HcxEnterpriseSiteList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: HcxEnterpriseSiteList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type HcxEnterpriseSitesGetResponse = HcxEnterpriseSite & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: HcxEnterpriseSite; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type HcxEnterpriseSitesCreateOrUpdateResponse = HcxEnterpriseSite & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: HcxEnterpriseSite; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type HcxEnterpriseSitesListNextResponse = HcxEnterpriseSiteList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: HcxEnterpriseSiteList; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type AuthorizationsListResponse = ExpressRouteAuthorizationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRouteAuthorizationList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type AuthorizationsGetResponse = ExpressRouteAuthorization & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRouteAuthorization; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type AuthorizationsCreateOrUpdateResponse = ExpressRouteAuthorization & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRouteAuthorization; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type AuthorizationsBeginCreateOrUpdateResponse = ExpressRouteAuthorization & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRouteAuthorization; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type AuthorizationsListNextResponse = ExpressRouteAuthorizationList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRouteAuthorizationList; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type GlobalReachConnectionsListResponse = GlobalReachConnectionList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GlobalReachConnectionList; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type GlobalReachConnectionsGetResponse = GlobalReachConnection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GlobalReachConnection; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type GlobalReachConnectionsCreateOrUpdateResponse = GlobalReachConnection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GlobalReachConnection; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type GlobalReachConnectionsBeginCreateOrUpdateResponse = GlobalReachConnection & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GlobalReachConnection; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type GlobalReachConnectionsListNextResponse = GlobalReachConnectionList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: GlobalReachConnectionList; + }; +}; + +/** + * Contains response data for the listSegments operation. + */ +export type WorkloadNetworksListSegmentsResponse = WorkloadNetworkSegmentsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkSegmentsList; + }; +}; + +/** + * Contains response data for the getSegment operation. + */ +export type WorkloadNetworksGetSegmentResponse = WorkloadNetworkSegment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkSegment; + }; +}; + +/** + * Contains response data for the createSegments operation. + */ +export type WorkloadNetworksCreateSegmentsResponse = WorkloadNetworkSegment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkSegment; + }; +}; + +/** + * Contains response data for the updateSegments operation. + */ +export type WorkloadNetworksUpdateSegmentsResponse = WorkloadNetworkSegment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkSegment; + }; +}; + +/** + * Contains response data for the listDhcp operation. + */ +export type WorkloadNetworksListDhcpResponse = WorkloadNetworkDhcpList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDhcpList; + }; +}; + +/** + * Contains response data for the getDhcp operation. + */ +export type WorkloadNetworksGetDhcpResponse = WorkloadNetworkDhcp & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDhcp; + }; +}; + +/** + * Contains response data for the createDhcp operation. + */ +export type WorkloadNetworksCreateDhcpResponse = WorkloadNetworkDhcp & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDhcp; + }; +}; + +/** + * Contains response data for the updateDhcp operation. + */ +export type WorkloadNetworksUpdateDhcpResponse = WorkloadNetworkDhcp & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDhcp; + }; +}; + +/** + * Contains response data for the listGateways operation. + */ +export type WorkloadNetworksListGatewaysResponse = WorkloadNetworkGatewayList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkGatewayList; + }; +}; + +/** + * Contains response data for the getGateway operation. + */ +export type WorkloadNetworksGetGatewayResponse = WorkloadNetworkGateway & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkGateway; + }; +}; + +/** + * Contains response data for the listPortMirroring operation. + */ +export type WorkloadNetworksListPortMirroringResponse = WorkloadNetworkPortMirroringList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPortMirroringList; + }; +}; + +/** + * Contains response data for the getPortMirroring operation. + */ +export type WorkloadNetworksGetPortMirroringResponse = WorkloadNetworkPortMirroring & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPortMirroring; + }; +}; + +/** + * Contains response data for the createPortMirroring operation. + */ +export type WorkloadNetworksCreatePortMirroringResponse = WorkloadNetworkPortMirroring & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPortMirroring; + }; +}; + +/** + * Contains response data for the updatePortMirroring operation. + */ +export type WorkloadNetworksUpdatePortMirroringResponse = WorkloadNetworkPortMirroring & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPortMirroring; + }; +}; + +/** + * Contains response data for the listVMGroups operation. + */ +export type WorkloadNetworksListVMGroupsResponse = WorkloadNetworkVMGroupsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkVMGroupsList; + }; +}; + +/** + * Contains response data for the getVMGroup operation. + */ +export type WorkloadNetworksGetVMGroupResponse = WorkloadNetworkVMGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkVMGroup; + }; +}; + +/** + * Contains response data for the createVMGroup operation. + */ +export type WorkloadNetworksCreateVMGroupResponse = WorkloadNetworkVMGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkVMGroup; + }; +}; + +/** + * Contains response data for the updateVMGroup operation. + */ +export type WorkloadNetworksUpdateVMGroupResponse = WorkloadNetworkVMGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkVMGroup; + }; +}; + +/** + * Contains response data for the listVirtualMachines operation. + */ +export type WorkloadNetworksListVirtualMachinesResponse = WorkloadNetworkVirtualMachinesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkVirtualMachinesList; + }; +}; + +/** + * Contains response data for the getVirtualMachine operation. + */ +export type WorkloadNetworksGetVirtualMachineResponse = WorkloadNetworkVirtualMachine & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkVirtualMachine; + }; +}; + +/** + * Contains response data for the listDnsServices operation. + */ +export type WorkloadNetworksListDnsServicesResponse = WorkloadNetworkDnsServicesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsServicesList; + }; +}; + +/** + * Contains response data for the getDnsService operation. + */ +export type WorkloadNetworksGetDnsServiceResponse = WorkloadNetworkDnsService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsService; + }; +}; + +/** + * Contains response data for the createDnsService operation. + */ +export type WorkloadNetworksCreateDnsServiceResponse = WorkloadNetworkDnsService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsService; + }; +}; + +/** + * Contains response data for the updateDnsService operation. + */ +export type WorkloadNetworksUpdateDnsServiceResponse = WorkloadNetworkDnsService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsService; + }; +}; + +/** + * Contains response data for the listDnsZones operation. + */ +export type WorkloadNetworksListDnsZonesResponse = WorkloadNetworkDnsZonesList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsZonesList; + }; +}; + +/** + * Contains response data for the getDnsZone operation. + */ +export type WorkloadNetworksGetDnsZoneResponse = WorkloadNetworkDnsZone & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsZone; + }; +}; + +/** + * Contains response data for the createDnsZone operation. + */ +export type WorkloadNetworksCreateDnsZoneResponse = WorkloadNetworkDnsZone & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsZone; + }; +}; + +/** + * Contains response data for the updateDnsZone operation. + */ +export type WorkloadNetworksUpdateDnsZoneResponse = WorkloadNetworkDnsZone & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsZone; + }; +}; + +/** + * Contains response data for the listPublicIPs operation. + */ +export type WorkloadNetworksListPublicIPsResponse = WorkloadNetworkPublicIPsList & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPublicIPsList; + }; +}; + +/** + * Contains response data for the getPublicIP operation. + */ +export type WorkloadNetworksGetPublicIPResponse = WorkloadNetworkPublicIP & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPublicIP; + }; +}; + +/** + * Contains response data for the createPublicIP operation. + */ +export type WorkloadNetworksCreatePublicIPResponse = WorkloadNetworkPublicIP & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPublicIP; + }; +}; + +/** + * Contains response data for the beginCreateSegments operation. + */ +export type WorkloadNetworksBeginCreateSegmentsResponse = WorkloadNetworkSegment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkSegment; + }; +}; + +/** + * Contains response data for the beginUpdateSegments operation. + */ +export type WorkloadNetworksBeginUpdateSegmentsResponse = WorkloadNetworkSegment & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkSegment; + }; +}; + +/** + * Contains response data for the beginCreateDhcp operation. + */ +export type WorkloadNetworksBeginCreateDhcpResponse = WorkloadNetworkDhcp & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDhcp; + }; +}; + +/** + * Contains response data for the beginUpdateDhcp operation. + */ +export type WorkloadNetworksBeginUpdateDhcpResponse = WorkloadNetworkDhcp & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDhcp; + }; +}; + +/** + * Contains response data for the beginCreatePortMirroring operation. + */ +export type WorkloadNetworksBeginCreatePortMirroringResponse = WorkloadNetworkPortMirroring & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPortMirroring; + }; +}; + +/** + * Contains response data for the beginUpdatePortMirroring operation. + */ +export type WorkloadNetworksBeginUpdatePortMirroringResponse = WorkloadNetworkPortMirroring & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPortMirroring; + }; +}; + +/** + * Contains response data for the beginCreateVMGroup operation. + */ +export type WorkloadNetworksBeginCreateVMGroupResponse = WorkloadNetworkVMGroup & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkVMGroup; + }; +}; /** - * @interface - * A paged list of HCX Enterprise Sites - * @extends Array + * Contains response data for the beginUpdateVMGroup operation. */ -export interface HcxEnterpriseSiteList extends Array { +export type WorkloadNetworksBeginUpdateVMGroupResponse = WorkloadNetworkVMGroup & { /** - * URL to get the next page if any - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkVMGroup; + }; +}; /** - * @interface - * A paged list of ExpressRoute Circuit Authorizations - * @extends Array + * Contains response data for the beginCreateDnsService operation. */ -export interface ExpressRouteAuthorizationList extends Array { +export type WorkloadNetworksBeginCreateDnsServiceResponse = WorkloadNetworkDnsService & { /** - * URL to get the next page if any - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The underlying HTTP response. */ - readonly nextLink?: string; -} + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for TrialStatus. - * Possible values include: 'TrialAvailable', 'TrialUsed', 'TrialDisabled' - * @readonly - * @enum {string} - */ -export type TrialStatus = 'TrialAvailable' | 'TrialUsed' | 'TrialDisabled'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsService; + }; +}; /** - * Defines values for QuotaEnabled. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the beginUpdateDnsService operation. */ -export type QuotaEnabled = 'Enabled' | 'Disabled'; +export type WorkloadNetworksBeginUpdateDnsServiceResponse = WorkloadNetworkDnsService & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ExpressRouteAuthorizationProvisioningState. - * Possible values include: 'Succeeded', 'Failed', 'Updating' - * @readonly - * @enum {string} - */ -export type ExpressRouteAuthorizationProvisioningState = 'Succeeded' | 'Failed' | 'Updating'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsService; + }; +}; /** - * Defines values for SslEnum. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the beginCreateDnsZone operation. */ -export type SslEnum = 'Enabled' | 'Disabled'; +export type WorkloadNetworksBeginCreateDnsZoneResponse = WorkloadNetworkDnsZone & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for PrivateCloudProvisioningState. - * Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Pending', 'Building', 'Deleting', - * 'Updating' - * @readonly - * @enum {string} - */ -export type PrivateCloudProvisioningState = 'Succeeded' | 'Failed' | 'Cancelled' | 'Pending' | 'Building' | 'Deleting' | 'Updating'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsZone; + }; +}; /** - * Defines values for InternetEnum. - * Possible values include: 'Enabled', 'Disabled' - * @readonly - * @enum {string} + * Contains response data for the beginUpdateDnsZone operation. */ -export type InternetEnum = 'Enabled' | 'Disabled'; +export type WorkloadNetworksBeginUpdateDnsZoneResponse = WorkloadNetworkDnsZone & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; -/** - * Defines values for ClusterProvisioningState. - * Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Deleting', 'Updating' - * @readonly - * @enum {string} - */ -export type ClusterProvisioningState = 'Succeeded' | 'Failed' | 'Cancelled' | 'Deleting' | 'Updating'; + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkDnsZone; + }; +}; /** - * Defines values for HcxEnterpriseSiteStatus. - * Possible values include: 'Available', 'Consumed', 'Deactivated', 'Deleted' - * @readonly - * @enum {string} + * Contains response data for the beginCreatePublicIP operation. */ -export type HcxEnterpriseSiteStatus = 'Available' | 'Consumed' | 'Deactivated' | 'Deleted'; +export type WorkloadNetworksBeginCreatePublicIPResponse = WorkloadNetworkPublicIP & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: WorkloadNetworkPublicIP; + }; +}; /** - * Contains response data for the list operation. + * Contains response data for the listSegmentsNext operation. */ -export type OperationsListResponse = OperationList & { +export type WorkloadNetworksListSegmentsNextResponse = WorkloadNetworkSegmentsList & { /** * The underlying HTTP response. */ @@ -677,14 +3800,14 @@ export type OperationsListResponse = OperationList & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationList; + parsedBody: WorkloadNetworkSegmentsList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listDhcpNext operation. */ -export type OperationsListNextResponse = OperationList & { +export type WorkloadNetworksListDhcpNextResponse = WorkloadNetworkDhcpList & { /** * The underlying HTTP response. */ @@ -697,14 +3820,14 @@ export type OperationsListNextResponse = OperationList & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationList; + parsedBody: WorkloadNetworkDhcpList; }; }; /** - * Contains response data for the checkTrialAvailability operation. + * Contains response data for the listGatewaysNext operation. */ -export type LocationsCheckTrialAvailabilityResponse = Trial & { +export type WorkloadNetworksListGatewaysNextResponse = WorkloadNetworkGatewayList & { /** * The underlying HTTP response. */ @@ -717,14 +3840,14 @@ export type LocationsCheckTrialAvailabilityResponse = Trial & { /** * The response body as parsed JSON or XML */ - parsedBody: Trial; + parsedBody: WorkloadNetworkGatewayList; }; }; /** - * Contains response data for the checkQuotaAvailability operation. + * Contains response data for the listPortMirroringNext operation. */ -export type LocationsCheckQuotaAvailabilityResponse = Quota & { +export type WorkloadNetworksListPortMirroringNextResponse = WorkloadNetworkPortMirroringList & { /** * The underlying HTTP response. */ @@ -737,14 +3860,14 @@ export type LocationsCheckQuotaAvailabilityResponse = Quota & { /** * The response body as parsed JSON or XML */ - parsedBody: Quota; + parsedBody: WorkloadNetworkPortMirroringList; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listVMGroupsNext operation. */ -export type PrivateCloudsListResponse = PrivateCloudList & { +export type WorkloadNetworksListVMGroupsNextResponse = WorkloadNetworkVMGroupsList & { /** * The underlying HTTP response. */ @@ -757,14 +3880,14 @@ export type PrivateCloudsListResponse = PrivateCloudList & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloudList; + parsedBody: WorkloadNetworkVMGroupsList; }; }; /** - * Contains response data for the listInSubscription operation. + * Contains response data for the listVirtualMachinesNext operation. */ -export type PrivateCloudsListInSubscriptionResponse = PrivateCloudList & { +export type WorkloadNetworksListVirtualMachinesNextResponse = WorkloadNetworkVirtualMachinesList & { /** * The underlying HTTP response. */ @@ -777,14 +3900,14 @@ export type PrivateCloudsListInSubscriptionResponse = PrivateCloudList & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloudList; + parsedBody: WorkloadNetworkVirtualMachinesList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listDnsServicesNext operation. */ -export type PrivateCloudsGetResponse = PrivateCloud & { +export type WorkloadNetworksListDnsServicesNextResponse = WorkloadNetworkDnsServicesList & { /** * The underlying HTTP response. */ @@ -797,14 +3920,14 @@ export type PrivateCloudsGetResponse = PrivateCloud & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloud; + parsedBody: WorkloadNetworkDnsServicesList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listDnsZonesNext operation. */ -export type PrivateCloudsCreateOrUpdateResponse = PrivateCloud & { +export type WorkloadNetworksListDnsZonesNextResponse = WorkloadNetworkDnsZonesList & { /** * The underlying HTTP response. */ @@ -817,14 +3940,14 @@ export type PrivateCloudsCreateOrUpdateResponse = PrivateCloud & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloud; + parsedBody: WorkloadNetworkDnsZonesList; }; }; /** - * Contains response data for the update operation. + * Contains response data for the listPublicIPsNext operation. */ -export type PrivateCloudsUpdateResponse = PrivateCloud & { +export type WorkloadNetworksListPublicIPsNextResponse = WorkloadNetworkPublicIPsList & { /** * The underlying HTTP response. */ @@ -837,14 +3960,14 @@ export type PrivateCloudsUpdateResponse = PrivateCloud & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloud; + parsedBody: WorkloadNetworkPublicIPsList; }; }; /** - * Contains response data for the listAdminCredentials operation. + * Contains response data for the list operation. */ -export type PrivateCloudsListAdminCredentialsResponse = AdminCredentials & { +export type CloudLinksListResponse = CloudLinkList & { /** * The underlying HTTP response. */ @@ -857,14 +3980,14 @@ export type PrivateCloudsListAdminCredentialsResponse = AdminCredentials & { /** * The response body as parsed JSON or XML */ - parsedBody: AdminCredentials; + parsedBody: CloudLinkList; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the get operation. */ -export type PrivateCloudsBeginCreateOrUpdateResponse = PrivateCloud & { +export type CloudLinksGetResponse = CloudLink & { /** * The underlying HTTP response. */ @@ -877,14 +4000,14 @@ export type PrivateCloudsBeginCreateOrUpdateResponse = PrivateCloud & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloud; + parsedBody: CloudLink; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateCloudsBeginUpdateResponse = PrivateCloud & { +export type CloudLinksCreateOrUpdateResponse = CloudLink & { /** * The underlying HTTP response. */ @@ -897,14 +4020,14 @@ export type PrivateCloudsBeginUpdateResponse = PrivateCloud & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloud; + parsedBody: CloudLink; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateCloudsListNextResponse = PrivateCloudList & { +export type CloudLinksBeginCreateOrUpdateResponse = CloudLink & { /** * The underlying HTTP response. */ @@ -917,14 +4040,14 @@ export type PrivateCloudsListNextResponse = PrivateCloudList & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloudList; + parsedBody: CloudLink; }; }; /** - * Contains response data for the listInSubscriptionNext operation. + * Contains response data for the listNext operation. */ -export type PrivateCloudsListInSubscriptionNextResponse = PrivateCloudList & { +export type CloudLinksListNextResponse = CloudLinkList & { /** * The underlying HTTP response. */ @@ -937,14 +4060,14 @@ export type PrivateCloudsListInSubscriptionNextResponse = PrivateCloudList & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateCloudList; + parsedBody: CloudLinkList; }; }; /** * Contains response data for the list operation. */ -export type ClustersListResponse = ClusterList & { +export type AddonsListResponse = AddonList & { /** * The underlying HTTP response. */ @@ -957,14 +4080,14 @@ export type ClustersListResponse = ClusterList & { /** * The response body as parsed JSON or XML */ - parsedBody: ClusterList; + parsedBody: AddonList; }; }; /** * Contains response data for the get operation. */ -export type ClustersGetResponse = Cluster & { +export type AddonsGetResponse = Addon & { /** * The underlying HTTP response. */ @@ -977,14 +4100,14 @@ export type ClustersGetResponse = Cluster & { /** * The response body as parsed JSON or XML */ - parsedBody: Cluster; + parsedBody: Addon; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type ClustersCreateOrUpdateResponse = Cluster & { +export type AddonsCreateOrUpdateResponse = Addon & { /** * The underlying HTTP response. */ @@ -997,14 +4120,14 @@ export type ClustersCreateOrUpdateResponse = Cluster & { /** * The response body as parsed JSON or XML */ - parsedBody: Cluster; + parsedBody: Addon; }; }; /** - * Contains response data for the update operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ClustersUpdateResponse = Cluster & { +export type AddonsBeginCreateOrUpdateResponse = Addon & { /** * The underlying HTTP response. */ @@ -1017,14 +4140,14 @@ export type ClustersUpdateResponse = Cluster & { /** * The response body as parsed JSON or XML */ - parsedBody: Cluster; + parsedBody: Addon; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ClustersBeginCreateOrUpdateResponse = Cluster & { +export type AddonsListNextResponse = AddonList & { /** * The underlying HTTP response. */ @@ -1037,14 +4160,14 @@ export type ClustersBeginCreateOrUpdateResponse = Cluster & { /** * The response body as parsed JSON or XML */ - parsedBody: Cluster; + parsedBody: AddonList; }; }; /** - * Contains response data for the beginUpdate operation. + * Contains response data for the list operation. */ -export type ClustersBeginUpdateResponse = Cluster & { +export type ScriptPackagesListResponse = ScriptPackagesList & { /** * The underlying HTTP response. */ @@ -1057,14 +4180,14 @@ export type ClustersBeginUpdateResponse = Cluster & { /** * The response body as parsed JSON or XML */ - parsedBody: Cluster; + parsedBody: ScriptPackagesList; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type ClustersListNextResponse = ClusterList & { +export type ScriptPackagesGetResponse = ScriptPackage & { /** * The underlying HTTP response. */ @@ -1077,14 +4200,14 @@ export type ClustersListNextResponse = ClusterList & { /** * The response body as parsed JSON or XML */ - parsedBody: ClusterList; + parsedBody: ScriptPackage; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type HcxEnterpriseSitesListResponse = HcxEnterpriseSiteList & { +export type ScriptPackagesListNextResponse = ScriptPackagesList & { /** * The underlying HTTP response. */ @@ -1097,14 +4220,14 @@ export type HcxEnterpriseSitesListResponse = HcxEnterpriseSiteList & { /** * The response body as parsed JSON or XML */ - parsedBody: HcxEnterpriseSiteList; + parsedBody: ScriptPackagesList; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type HcxEnterpriseSitesGetResponse = HcxEnterpriseSite & { +export type ScriptCmdletsListResponse = ScriptCmdletsList & { /** * The underlying HTTP response. */ @@ -1117,14 +4240,14 @@ export type HcxEnterpriseSitesGetResponse = HcxEnterpriseSite & { /** * The response body as parsed JSON or XML */ - parsedBody: HcxEnterpriseSite; + parsedBody: ScriptCmdletsList; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type HcxEnterpriseSitesCreateOrUpdateResponse = HcxEnterpriseSite & { +export type ScriptCmdletsGetResponse = ScriptCmdlet & { /** * The underlying HTTP response. */ @@ -1137,14 +4260,14 @@ export type HcxEnterpriseSitesCreateOrUpdateResponse = HcxEnterpriseSite & { /** * The response body as parsed JSON or XML */ - parsedBody: HcxEnterpriseSite; + parsedBody: ScriptCmdlet; }; }; /** * Contains response data for the listNext operation. */ -export type HcxEnterpriseSitesListNextResponse = HcxEnterpriseSiteList & { +export type ScriptCmdletsListNextResponse = ScriptCmdletsList & { /** * The underlying HTTP response. */ @@ -1157,14 +4280,14 @@ export type HcxEnterpriseSitesListNextResponse = HcxEnterpriseSiteList & { /** * The response body as parsed JSON or XML */ - parsedBody: HcxEnterpriseSiteList; + parsedBody: ScriptCmdletsList; }; }; /** * Contains response data for the list operation. */ -export type AuthorizationsListResponse = ExpressRouteAuthorizationList & { +export type ScriptExecutionsListResponse = ScriptExecutionsList & { /** * The underlying HTTP response. */ @@ -1177,14 +4300,14 @@ export type AuthorizationsListResponse = ExpressRouteAuthorizationList & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteAuthorizationList; + parsedBody: ScriptExecutionsList; }; }; /** * Contains response data for the get operation. */ -export type AuthorizationsGetResponse = ExpressRouteAuthorization & { +export type ScriptExecutionsGetResponse = ScriptExecution & { /** * The underlying HTTP response. */ @@ -1197,14 +4320,14 @@ export type AuthorizationsGetResponse = ExpressRouteAuthorization & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteAuthorization; + parsedBody: ScriptExecution; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type AuthorizationsCreateOrUpdateResponse = ExpressRouteAuthorization & { +export type ScriptExecutionsCreateOrUpdateResponse = ScriptExecution & { /** * The underlying HTTP response. */ @@ -1217,14 +4340,34 @@ export type AuthorizationsCreateOrUpdateResponse = ExpressRouteAuthorization & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteAuthorization; + parsedBody: ScriptExecution; + }; +}; + +/** + * Contains response data for the getExecutionLogs operation. + */ +export type ScriptExecutionsGetExecutionLogsResponse = ScriptExecution & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ScriptExecution; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type AuthorizationsBeginCreateOrUpdateResponse = ExpressRouteAuthorization & { +export type ScriptExecutionsBeginCreateOrUpdateResponse = ScriptExecution & { /** * The underlying HTTP response. */ @@ -1237,14 +4380,14 @@ export type AuthorizationsBeginCreateOrUpdateResponse = ExpressRouteAuthorizatio /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteAuthorization; + parsedBody: ScriptExecution; }; }; /** * Contains response data for the listNext operation. */ -export type AuthorizationsListNextResponse = ExpressRouteAuthorizationList & { +export type ScriptExecutionsListNextResponse = ScriptExecutionsList & { /** * The underlying HTTP response. */ @@ -1257,6 +4400,6 @@ export type AuthorizationsListNextResponse = ExpressRouteAuthorizationList & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteAuthorizationList; + parsedBody: ScriptExecutionsList; }; }; diff --git a/sdk/avs/arm-avs/src/models/locationsMappers.ts b/sdk/avs/arm-avs/src/models/locationsMappers.ts index 42d375510a29..b3717d115978 100644 --- a/sdk/avs/arm-avs/src/models/locationsMappers.ts +++ b/sdk/avs/arm-avs/src/models/locationsMappers.ts @@ -1,12 +1,13 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + discriminators, CloudError, ErrorAdditionalInfo, ErrorResponse, diff --git a/sdk/avs/arm-avs/src/models/mappers.ts b/sdk/avs/arm-avs/src/models/mappers.ts index a3e223e991ab..fb43aa751017 100644 --- a/sdk/avs/arm-avs/src/models/mappers.ts +++ b/sdk/avs/arm-avs/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -124,6 +124,17 @@ export const TrackedResource: msRest.CompositeMapper = { } }; +export const ProxyResource: msRest.CompositeMapper = { + serializedName: "ProxyResource", + type: { + name: "Composite", + className: "ProxyResource", + modelProperties: { + ...Resource.type.modelProperties + } + } +}; + export const ErrorAdditionalInfo: msRest.CompositeMapper = { serializedName: "ErrorAdditionalInfo", type: { @@ -243,6 +254,223 @@ export const OperationDisplay: msRest.CompositeMapper = { } }; +export const LogSpecification: msRest.CompositeMapper = { + serializedName: "LogSpecification", + type: { + name: "Composite", + className: "LogSpecification", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", + type: { + name: "String" + } + } + } + } +}; + +export const MetricDimension: msRest.CompositeMapper = { + serializedName: "MetricDimension", + type: { + name: "Composite", + className: "MetricDimension", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + internalName: { + serializedName: "internalName", + type: { + name: "String" + } + }, + toBeExportedForShoebox: { + serializedName: "toBeExportedForShoebox", + type: { + name: "Boolean" + } + } + } + } +}; + +export const MetricSpecification: msRest.CompositeMapper = { + serializedName: "MetricSpecification", + type: { + name: "Composite", + className: "MetricSpecification", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + displayDescription: { + serializedName: "displayDescription", + type: { + name: "String" + } + }, + unit: { + serializedName: "unit", + type: { + name: "String" + } + }, + category: { + serializedName: "category", + type: { + name: "String" + } + }, + aggregationType: { + serializedName: "aggregationType", + type: { + name: "String" + } + }, + supportedAggregationTypes: { + serializedName: "supportedAggregationTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + supportedTimeGrainTypes: { + serializedName: "supportedTimeGrainTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + fillGapWithZero: { + serializedName: "fillGapWithZero", + type: { + name: "Boolean" + } + }, + dimensions: { + serializedName: "dimensions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetricDimension" + } + } + } + }, + enableRegionalMdmAccount: { + serializedName: "enableRegionalMdmAccount", + type: { + name: "String" + } + }, + sourceMdmAccount: { + serializedName: "sourceMdmAccount", + type: { + name: "String" + } + }, + sourceMdmNamespace: { + serializedName: "sourceMdmNamespace", + type: { + name: "String" + } + } + } + } +}; + +export const ServiceSpecification: msRest.CompositeMapper = { + serializedName: "ServiceSpecification", + type: { + name: "Composite", + className: "ServiceSpecification", + modelProperties: { + logSpecifications: { + serializedName: "logSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LogSpecification" + } + } + } + }, + metricSpecifications: { + serializedName: "metricSpecifications", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetricSpecification" + } + } + } + } + } + } +}; + +export const OperationProperties: msRest.CompositeMapper = { + serializedName: "OperationProperties", + type: { + name: "Composite", + className: "OperationProperties", + modelProperties: { + serviceSpecification: { + serializedName: "serviceSpecification", + type: { + name: "Composite", + className: "ServiceSpecification" + } + } + } + } +}; + export const Operation: msRest.CompositeMapper = { serializedName: "Operation", type: { @@ -263,6 +491,25 @@ export const Operation: msRest.CompositeMapper = { name: "Composite", className: "OperationDisplay" } + }, + isDataAction: { + serializedName: "isDataAction", + type: { + name: "Boolean" + } + }, + origin: { + serializedName: "origin", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "OperationProperties" + } } } } @@ -480,6 +727,7 @@ export const PrivateCloud: msRest.CompositeMapper = { }, internet: { serializedName: "properties.internet", + defaultValue: 'Disabled', type: { name: "String" } @@ -571,34 +819,41 @@ export const PrivateCloud: msRest.CompositeMapper = { type: { name: "String" } + }, + externalCloudLinks: { + readOnly: true, + serializedName: "properties.externalCloudLinks", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } } } } }; -export const ClusterUpdateProperties: msRest.CompositeMapper = { - serializedName: "ClusterUpdateProperties", +export const CommonClusterProperties: msRest.CompositeMapper = { + serializedName: "CommonClusterProperties", type: { name: "Composite", - className: "ClusterUpdateProperties", + className: "CommonClusterProperties", modelProperties: { clusterSize: { serializedName: "clusterSize", type: { name: "Number" } - } - } - } -}; - -export const ManagementCluster: msRest.CompositeMapper = { - serializedName: "ManagementCluster", - type: { - name: "Composite", - className: "ManagementCluster", - modelProperties: { - ...ClusterUpdateProperties.type.modelProperties, + }, + provisioningState: { + serializedName: "provisioningState", + type: { + name: "String" + } + }, clusterId: { readOnly: true, serializedName: "clusterId", @@ -622,6 +877,17 @@ export const ManagementCluster: msRest.CompositeMapper = { } }; +export const ManagementCluster: msRest.CompositeMapper = { + serializedName: "ManagementCluster", + type: { + name: "Composite", + className: "ManagementCluster", + modelProperties: { + ...CommonClusterProperties.type.modelProperties + } + } +}; + export const PrivateCloudUpdate: msRest.CompositeMapper = { serializedName: "PrivateCloudUpdate", type: { @@ -648,6 +914,7 @@ export const PrivateCloudUpdate: msRest.CompositeMapper = { }, internet: { serializedName: "properties.internet", + defaultValue: 'Disabled', type: { name: "String" } @@ -689,6 +956,12 @@ export const Cluster: msRest.CompositeMapper = { name: "Number" } }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, clusterId: { readOnly: true, serializedName: "properties.clusterId", @@ -707,13 +980,6 @@ export const Cluster: msRest.CompositeMapper = { } } } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } } } } @@ -735,36 +1001,27 @@ export const ClusterUpdate: msRest.CompositeMapper = { } }; -export const AdminCredentials: msRest.CompositeMapper = { - serializedName: "AdminCredentials", +export const AddonProperties: msRest.CompositeMapper = { + serializedName: "AddonProperties", type: { name: "Composite", - className: "AdminCredentials", + polymorphicDiscriminator: { + serializedName: "addonType", + clientName: "addonType" + }, + uberParent: "AddonProperties", + className: "AddonProperties", modelProperties: { - nsxtUsername: { - readOnly: true, - serializedName: "nsxtUsername", - type: { - name: "String" - } - }, - nsxtPassword: { - readOnly: true, - serializedName: "nsxtPassword", - type: { - name: "String" - } - }, - vcenterUsername: { + provisioningState: { readOnly: true, - serializedName: "vcenterUsername", + serializedName: "provisioningState", type: { name: "String" } }, - vcenterPassword: { - readOnly: true, - serializedName: "vcenterPassword", + addonType: { + required: true, + serializedName: "addonType", type: { name: "String" } @@ -773,23 +1030,1427 @@ export const AdminCredentials: msRest.CompositeMapper = { } }; -export const HcxEnterpriseSite: msRest.CompositeMapper = { - serializedName: "HcxEnterpriseSite", +export const Addon: msRest.CompositeMapper = { + serializedName: "Addon", type: { name: "Composite", - className: "HcxEnterpriseSite", + className: "Addon", modelProperties: { ...Resource.type.modelProperties, - activationKey: { - readOnly: true, - serializedName: "properties.activationKey", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "AddonProperties" + } + } + } + } +}; + +export const AddonSrmProperties: msRest.CompositeMapper = { + serializedName: "SRM", + type: { + name: "Composite", + polymorphicDiscriminator: AddonProperties.type.polymorphicDiscriminator, + uberParent: "AddonProperties", + className: "AddonSrmProperties", + modelProperties: { + ...AddonProperties.type.modelProperties, + licenseKey: { + required: true, + serializedName: "licenseKey", + type: { + name: "String" + } + } + } + } +}; + +export const AddonVrProperties: msRest.CompositeMapper = { + serializedName: "VR", + type: { + name: "Composite", + polymorphicDiscriminator: AddonProperties.type.polymorphicDiscriminator, + uberParent: "AddonProperties", + className: "AddonVrProperties", + modelProperties: { + ...AddonProperties.type.modelProperties, + vrsCount: { + required: true, + serializedName: "vrsCount", + type: { + name: "Number" + } + } + } + } +}; + +export const AddonHcxProperties: msRest.CompositeMapper = { + serializedName: "HCX", + type: { + name: "Composite", + polymorphicDiscriminator: AddonProperties.type.polymorphicDiscriminator, + uberParent: "AddonProperties", + className: "AddonHcxProperties", + modelProperties: { + ...AddonProperties.type.modelProperties, + offer: { + required: true, + serializedName: "offer", + type: { + name: "String" + } + } + } + } +}; + +export const NetAppVolume: msRest.CompositeMapper = { + serializedName: "NetAppVolume", + type: { + name: "Composite", + className: "NetAppVolume", + modelProperties: { + id: { + required: true, + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const DiskPoolVolume: msRest.CompositeMapper = { + serializedName: "DiskPoolVolume", + type: { + name: "Composite", + className: "DiskPoolVolume", + modelProperties: { + targetId: { + required: true, + serializedName: "targetId", + type: { + name: "String" + } + }, + lunName: { + required: true, + serializedName: "lunName", + type: { + name: "String" + } + }, + mountOption: { + serializedName: "mountOption", + defaultValue: 'MOUNT', + type: { + name: "String" + } + }, + path: { + readOnly: true, + serializedName: "path", + type: { + name: "String" + } + } + } + } +}; + +export const Datastore: msRest.CompositeMapper = { + serializedName: "Datastore", + type: { + name: "Composite", + className: "Datastore", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + netAppVolume: { + serializedName: "properties.netAppVolume", + type: { + name: "Composite", + className: "NetAppVolume" + } + }, + diskPoolVolume: { + serializedName: "properties.diskPoolVolume", + type: { + name: "Composite", + className: "DiskPoolVolume" + } + } + } + } +}; + +export const AdminCredentials: msRest.CompositeMapper = { + serializedName: "AdminCredentials", + type: { + name: "Composite", + className: "AdminCredentials", + modelProperties: { + nsxtUsername: { + readOnly: true, + serializedName: "nsxtUsername", + type: { + name: "String" + } + }, + nsxtPassword: { + readOnly: true, + serializedName: "nsxtPassword", + type: { + name: "String" + } + }, + vcenterUsername: { + readOnly: true, + serializedName: "vcenterUsername", + type: { + name: "String" + } + }, + vcenterPassword: { + readOnly: true, + serializedName: "vcenterPassword", + type: { + name: "String" + } + } + } + } +}; + +export const HcxEnterpriseSite: msRest.CompositeMapper = { + serializedName: "HcxEnterpriseSite", + type: { + name: "Composite", + className: "HcxEnterpriseSite", + modelProperties: { + ...Resource.type.modelProperties, + activationKey: { + readOnly: true, + serializedName: "properties.activationKey", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + } + } + } +}; + +export const GlobalReachConnection: msRest.CompositeMapper = { + serializedName: "GlobalReachConnection", + type: { + name: "Composite", + className: "GlobalReachConnection", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + addressPrefix: { + readOnly: true, + serializedName: "properties.addressPrefix", + type: { + name: "String" + } + }, + authorizationKey: { + serializedName: "properties.authorizationKey", + type: { + name: "String" + } + }, + circuitConnectionStatus: { + readOnly: true, + serializedName: "properties.circuitConnectionStatus", + type: { + name: "String" + } + }, + peerExpressRouteCircuit: { + serializedName: "properties.peerExpressRouteCircuit", + type: { + name: "String" + } + } + } + } +}; + +export const CloudLink: msRest.CompositeMapper = { + serializedName: "CloudLink", + type: { + name: "Composite", + className: "CloudLink", + modelProperties: { + ...Resource.type.modelProperties, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + linkedCloud: { + serializedName: "properties.linkedCloud", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkSegmentSubnet: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkSegmentSubnet", + type: { + name: "Composite", + className: "WorkloadNetworkSegmentSubnet", + modelProperties: { + dhcpRanges: { + serializedName: "dhcpRanges", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + gatewayAddress: { + serializedName: "gatewayAddress", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkSegmentPortVif: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkSegmentPortVif", + type: { + name: "Composite", + className: "WorkloadNetworkSegmentPortVif", + modelProperties: { + portName: { + serializedName: "portName", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkSegment: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkSegment", + type: { + name: "Composite", + className: "WorkloadNetworkSegment", + modelProperties: { + ...ProxyResource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + connectedGateway: { + serializedName: "properties.connectedGateway", + type: { + name: "String" + } + }, + subnet: { + serializedName: "properties.subnet", + type: { + name: "Composite", + className: "WorkloadNetworkSegmentSubnet" + } + }, + portVif: { + readOnly: true, + serializedName: "properties.portVif", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkloadNetworkSegmentPortVif" + } + } + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + revision: { + serializedName: "properties.revision", + type: { + name: "Number" + } + } + } + } +}; + +export const WorkloadNetworkDhcpEntity: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkDhcpEntity", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "dhcpType", + clientName: "dhcpType" + }, + uberParent: "WorkloadNetworkDhcpEntity", + className: "WorkloadNetworkDhcpEntity", + modelProperties: { + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + segments: { + readOnly: true, + serializedName: "segments", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + provisioningState: { + readOnly: true, + serializedName: "provisioningState", + type: { + name: "String" + } + }, + revision: { + serializedName: "revision", + type: { + name: "Number" + } + }, + dhcpType: { + required: true, + serializedName: "dhcpType", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkDhcpServer: msRest.CompositeMapper = { + serializedName: "SERVER", + type: { + name: "Composite", + polymorphicDiscriminator: WorkloadNetworkDhcpEntity.type.polymorphicDiscriminator, + uberParent: "WorkloadNetworkDhcpEntity", + className: "WorkloadNetworkDhcpServer", + modelProperties: { + ...WorkloadNetworkDhcpEntity.type.modelProperties, + serverAddress: { + serializedName: "serverAddress", + type: { + name: "String" + } + }, + leaseTime: { + serializedName: "leaseTime", + type: { + name: "Number" + } + } + } + } +}; + +export const WorkloadNetworkDhcpRelay: msRest.CompositeMapper = { + serializedName: "RELAY", + type: { + name: "Composite", + polymorphicDiscriminator: WorkloadNetworkDhcpEntity.type.polymorphicDiscriminator, + uberParent: "WorkloadNetworkDhcpEntity", + className: "WorkloadNetworkDhcpRelay", + modelProperties: { + ...WorkloadNetworkDhcpEntity.type.modelProperties, + serverAddresses: { + serializedName: "serverAddresses", + constraints: { + MaxItems: 3, + MinItems: 1 + }, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const WorkloadNetworkDhcp: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkDhcp", + type: { + name: "Composite", + className: "WorkloadNetworkDhcp", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "WorkloadNetworkDhcpEntity" + } + } + } + } +}; + +export const WorkloadNetworkPortMirroring: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkPortMirroring", + type: { + name: "Composite", + className: "WorkloadNetworkPortMirroring", + modelProperties: { + ...ProxyResource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + direction: { + serializedName: "properties.direction", + type: { + name: "String" + } + }, + source: { + serializedName: "properties.source", + type: { + name: "String" + } + }, + destination: { + serializedName: "properties.destination", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + revision: { + serializedName: "properties.revision", + type: { + name: "Number" + } + } + } + } +}; + +export const WorkloadNetworkVMGroup: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkVMGroup", + type: { + name: "Composite", + className: "WorkloadNetworkVMGroup", + modelProperties: { + ...ProxyResource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + members: { + serializedName: "properties.members", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + revision: { + serializedName: "properties.revision", + type: { + name: "Number" + } + } + } + } +}; + +export const WorkloadNetworkVirtualMachine: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkVirtualMachine", + type: { + name: "Composite", + className: "WorkloadNetworkVirtualMachine", + modelProperties: { + ...ProxyResource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + vmType: { + readOnly: true, + serializedName: "properties.vmType", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkGateway: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkGateway", + type: { + name: "Composite", + className: "WorkloadNetworkGateway", + modelProperties: { + ...ProxyResource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + path: { + readOnly: true, + serializedName: "properties.path", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkDnsService: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkDnsService", + type: { + name: "Composite", + className: "WorkloadNetworkDnsService", + modelProperties: { + ...ProxyResource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + dnsServiceIp: { + serializedName: "properties.dnsServiceIp", + type: { + name: "String" + } + }, + defaultDnsZone: { + serializedName: "properties.defaultDnsZone", + type: { + name: "String" + } + }, + fqdnZones: { + serializedName: "properties.fqdnZones", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + logLevel: { + serializedName: "properties.logLevel", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "properties.status", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + revision: { + serializedName: "properties.revision", + type: { + name: "Number" + } + } + } + } +}; + +export const WorkloadNetworkDnsZone: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkDnsZone", + type: { + name: "Composite", + className: "WorkloadNetworkDnsZone", + modelProperties: { + ...ProxyResource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + domain: { + serializedName: "properties.domain", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + dnsServerIps: { + serializedName: "properties.dnsServerIps", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + sourceIp: { + serializedName: "properties.sourceIp", + type: { + name: "String" + } + }, + dnsServices: { + serializedName: "properties.dnsServices", + type: { + name: "Number" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + revision: { + serializedName: "properties.revision", + type: { + name: "Number" + } + } + } + } +}; + +export const WorkloadNetworkPublicIP: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkPublicIP", + type: { + name: "Composite", + className: "WorkloadNetworkPublicIP", + modelProperties: { + ...ProxyResource.type.modelProperties, + displayName: { + serializedName: "properties.displayName", + type: { + name: "String" + } + }, + numberOfPublicIPs: { + serializedName: "properties.numberOfPublicIPs", + type: { + name: "Number" + } + }, + publicIPBlock: { + readOnly: true, + serializedName: "properties.publicIPBlock", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + } + } + } +}; + +export const ScriptPackage: msRest.CompositeMapper = { + serializedName: "ScriptPackage", + type: { + name: "Composite", + className: "ScriptPackage", + modelProperties: { + ...ProxyResource.type.modelProperties, + description: { + readOnly: true, + serializedName: "properties.description", + type: { + name: "String" + } + }, + version: { + readOnly: true, + serializedName: "properties.version", + type: { + name: "String" + } + } + } + } +}; + +export const ScriptParameter: msRest.CompositeMapper = { + serializedName: "ScriptParameter", + type: { + name: "Composite", + className: "ScriptParameter", + modelProperties: { + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + description: { + readOnly: true, + serializedName: "description", + type: { + name: "String" + } + }, + visibility: { + readOnly: true, + serializedName: "visibility", + type: { + name: "String" + } + }, + optional: { + readOnly: true, + serializedName: "optional", + type: { + name: "String" + } + } + } + } +}; + +export const ScriptCmdlet: msRest.CompositeMapper = { + serializedName: "ScriptCmdlet", + type: { + name: "Composite", + className: "ScriptCmdlet", + modelProperties: { + ...ProxyResource.type.modelProperties, + description: { + readOnly: true, + serializedName: "properties.description", + type: { + name: "String" + } + }, + timeout: { + readOnly: true, + serializedName: "properties.timeout", + type: { + name: "String" + } + }, + parameters: { + readOnly: true, + serializedName: "properties.parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptParameter" + } + } + } + } + } + } +}; + +export const ScriptExecutionParameter: msRest.CompositeMapper = { + serializedName: "ScriptExecutionParameter", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "type", + clientName: "type" + }, + uberParent: "ScriptExecutionParameter", + className: "ScriptExecutionParameter", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + required: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const ScriptExecution: msRest.CompositeMapper = { + serializedName: "ScriptExecution", + type: { + name: "Composite", + className: "ScriptExecution", + modelProperties: { + ...ProxyResource.type.modelProperties, + scriptCmdletId: { + serializedName: "properties.scriptCmdletId", + type: { + name: "String" + } + }, + parameters: { + serializedName: "properties.parameters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptExecutionParameter" + } + } + } + }, + hiddenParameters: { + serializedName: "properties.hiddenParameters", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptExecutionParameter" + } + } + } + }, + failureReason: { + serializedName: "properties.failureReason", + type: { + name: "String" + } + }, + timeout: { + required: true, + serializedName: "properties.timeout", + type: { + name: "String" + } + }, + retention: { + serializedName: "properties.retention", + type: { + name: "String" + } + }, + submittedAt: { + readOnly: true, + serializedName: "properties.submittedAt", + type: { + name: "DateTime" + } + }, + startedAt: { + readOnly: true, + serializedName: "properties.startedAt", + type: { + name: "DateTime" + } + }, + finishedAt: { + readOnly: true, + serializedName: "properties.finishedAt", + type: { + name: "DateTime" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + output: { + serializedName: "properties.output", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + namedOutputs: { + serializedName: "properties.namedOutputs", + type: { + name: "Dictionary", + value: { + type: { + name: "Object" + } + } + } + }, + information: { + readOnly: true, + serializedName: "properties.information", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + warnings: { + readOnly: true, + serializedName: "properties.warnings", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + errors: { + readOnly: true, + serializedName: "properties.errors", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ScriptSecureStringExecutionParameter: msRest.CompositeMapper = { + serializedName: "SecureValue", + type: { + name: "Composite", + polymorphicDiscriminator: ScriptExecutionParameter.type.polymorphicDiscriminator, + uberParent: "ScriptExecutionParameter", + className: "ScriptSecureStringExecutionParameter", + modelProperties: { + ...ScriptExecutionParameter.type.modelProperties, + secureValue: { + serializedName: "secureValue", + type: { + name: "String" + } + } + } + } +}; + +export const ScriptStringExecutionParameter: msRest.CompositeMapper = { + serializedName: "Value", + type: { + name: "Composite", + polymorphicDiscriminator: ScriptExecutionParameter.type.polymorphicDiscriminator, + uberParent: "ScriptExecutionParameter", + className: "ScriptStringExecutionParameter", + modelProperties: { + ...ScriptExecutionParameter.type.modelProperties, + value: { + serializedName: "value", + type: { + name: "String" + } + } + } + } +}; + +export const PSCredentialExecutionParameter: msRest.CompositeMapper = { + serializedName: "Credential", + type: { + name: "Composite", + polymorphicDiscriminator: ScriptExecutionParameter.type.polymorphicDiscriminator, + uberParent: "ScriptExecutionParameter", + className: "PSCredentialExecutionParameter", + modelProperties: { + ...ScriptExecutionParameter.type.modelProperties, + username: { + serializedName: "username", + type: { + name: "String" + } + }, + password: { + serializedName: "password", + type: { + name: "String" + } + } + } + } +}; + +export const OperationList: msRest.CompositeMapper = { + serializedName: "OperationList", + type: { + name: "Composite", + className: "OperationList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Operation" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateCloudList: msRest.CompositeMapper = { + serializedName: "PrivateCloudList", + type: { + name: "Composite", + className: "PrivateCloudList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateCloud" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ClusterList: msRest.CompositeMapper = { + serializedName: "ClusterList", + type: { + name: "Composite", + className: "ClusterList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Cluster" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const DatastoreList: msRest.CompositeMapper = { + serializedName: "DatastoreList", + type: { + name: "Composite", + className: "DatastoreList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Datastore" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const HcxEnterpriseSiteList: msRest.CompositeMapper = { + serializedName: "HcxEnterpriseSiteList", + type: { + name: "Composite", + className: "HcxEnterpriseSiteList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HcxEnterpriseSite" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ExpressRouteAuthorizationList: msRest.CompositeMapper = { + serializedName: "ExpressRouteAuthorizationList", + type: { + name: "Composite", + className: "ExpressRouteAuthorizationList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRouteAuthorization" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const GlobalReachConnectionList: msRest.CompositeMapper = { + serializedName: "GlobalReachConnectionList", + type: { + name: "Composite", + className: "GlobalReachConnectionList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GlobalReachConnection" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkSegmentsList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkSegmentsList", + type: { + name: "Composite", + className: "WorkloadNetworkSegmentsList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkloadNetworkSegment" + } + } } }, - status: { + nextLink: { readOnly: true, - serializedName: "properties.status", + serializedName: "nextLink", type: { name: "String" } @@ -798,11 +2459,11 @@ export const HcxEnterpriseSite: msRest.CompositeMapper = { } }; -export const OperationList: msRest.CompositeMapper = { - serializedName: "OperationList", +export const WorkloadNetworkDhcpList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkDhcpList", type: { name: "Composite", - className: "OperationList", + className: "WorkloadNetworkDhcpList", modelProperties: { value: { readOnly: true, @@ -812,7 +2473,7 @@ export const OperationList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Operation" + className: "WorkloadNetworkDhcp" } } } @@ -828,11 +2489,11 @@ export const OperationList: msRest.CompositeMapper = { } }; -export const PrivateCloudList: msRest.CompositeMapper = { - serializedName: "PrivateCloudList", +export const WorkloadNetworkGatewayList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkGatewayList", type: { name: "Composite", - className: "PrivateCloudList", + className: "WorkloadNetworkGatewayList", modelProperties: { value: { readOnly: true, @@ -842,7 +2503,7 @@ export const PrivateCloudList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateCloud" + className: "WorkloadNetworkGateway" } } } @@ -858,11 +2519,11 @@ export const PrivateCloudList: msRest.CompositeMapper = { } }; -export const ClusterList: msRest.CompositeMapper = { - serializedName: "ClusterList", +export const WorkloadNetworkPortMirroringList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkPortMirroringList", type: { name: "Composite", - className: "ClusterList", + className: "WorkloadNetworkPortMirroringList", modelProperties: { value: { readOnly: true, @@ -872,7 +2533,7 @@ export const ClusterList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "Cluster" + className: "WorkloadNetworkPortMirroring" } } } @@ -888,11 +2549,11 @@ export const ClusterList: msRest.CompositeMapper = { } }; -export const HcxEnterpriseSiteList: msRest.CompositeMapper = { - serializedName: "HcxEnterpriseSiteList", +export const WorkloadNetworkVMGroupsList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkVMGroupsList", type: { name: "Composite", - className: "HcxEnterpriseSiteList", + className: "WorkloadNetworkVMGroupsList", modelProperties: { value: { readOnly: true, @@ -902,7 +2563,7 @@ export const HcxEnterpriseSiteList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "HcxEnterpriseSite" + className: "WorkloadNetworkVMGroup" } } } @@ -918,11 +2579,11 @@ export const HcxEnterpriseSiteList: msRest.CompositeMapper = { } }; -export const ExpressRouteAuthorizationList: msRest.CompositeMapper = { - serializedName: "ExpressRouteAuthorizationList", +export const WorkloadNetworkVirtualMachinesList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkVirtualMachinesList", type: { name: "Composite", - className: "ExpressRouteAuthorizationList", + className: "WorkloadNetworkVirtualMachinesList", modelProperties: { value: { readOnly: true, @@ -932,7 +2593,247 @@ export const ExpressRouteAuthorizationList: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ExpressRouteAuthorization" + className: "WorkloadNetworkVirtualMachine" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkDnsServicesList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkDnsServicesList", + type: { + name: "Composite", + className: "WorkloadNetworkDnsServicesList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkloadNetworkDnsService" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkDnsZonesList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkDnsZonesList", + type: { + name: "Composite", + className: "WorkloadNetworkDnsZonesList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkloadNetworkDnsZone" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const WorkloadNetworkPublicIPsList: msRest.CompositeMapper = { + serializedName: "WorkloadNetworkPublicIPsList", + type: { + name: "Composite", + className: "WorkloadNetworkPublicIPsList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "WorkloadNetworkPublicIP" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const CloudLinkList: msRest.CompositeMapper = { + serializedName: "CloudLinkList", + type: { + name: "Composite", + className: "CloudLinkList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CloudLink" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const AddonList: msRest.CompositeMapper = { + serializedName: "AddonList", + type: { + name: "Composite", + className: "AddonList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Addon" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ScriptPackagesList: msRest.CompositeMapper = { + serializedName: "ScriptPackagesList", + type: { + name: "Composite", + className: "ScriptPackagesList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptPackage" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ScriptCmdletsList: msRest.CompositeMapper = { + serializedName: "ScriptCmdletsList", + type: { + name: "Composite", + className: "ScriptCmdletsList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptCmdlet" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const ScriptExecutionsList: msRest.CompositeMapper = { + serializedName: "ScriptExecutionsList", + type: { + name: "Composite", + className: "ScriptExecutionsList", + modelProperties: { + value: { + readOnly: true, + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ScriptExecution" } } } @@ -947,3 +2848,18 @@ export const ExpressRouteAuthorizationList: msRest.CompositeMapper = { } } }; + +export const discriminators = { + 'AddonProperties' : AddonProperties, + 'AddonProperties.SRM' : AddonSrmProperties, + 'AddonProperties.VR' : AddonVrProperties, + 'AddonProperties.HCX' : AddonHcxProperties, + 'WorkloadNetworkDhcpEntity' : WorkloadNetworkDhcpEntity, + 'WorkloadNetworkDhcpEntity.SERVER' : WorkloadNetworkDhcpServer, + 'WorkloadNetworkDhcpEntity.RELAY' : WorkloadNetworkDhcpRelay, + 'ScriptExecutionParameter' : ScriptExecutionParameter, + 'ScriptExecutionParameter.SecureValue' : ScriptSecureStringExecutionParameter, + 'ScriptExecutionParameter.Value' : ScriptStringExecutionParameter, + 'ScriptExecutionParameter.Credential' : PSCredentialExecutionParameter + +}; diff --git a/sdk/avs/arm-avs/src/models/operationsMappers.ts b/sdk/avs/arm-avs/src/models/operationsMappers.ts index 0a19c814cee4..47dcbdb04409 100644 --- a/sdk/avs/arm-avs/src/models/operationsMappers.ts +++ b/sdk/avs/arm-avs/src/models/operationsMappers.ts @@ -1,16 +1,22 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + discriminators, CloudError, ErrorAdditionalInfo, ErrorResponse, + LogSpecification, + MetricDimension, + MetricSpecification, Operation, OperationDisplay, - OperationList + OperationList, + OperationProperties, + ServiceSpecification } from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/parameters.ts b/sdk/avs/arm-avs/src/models/parameters.ts index a6e0588f1cac..2ebe6b72c6a3 100644 --- a/sdk/avs/arm-avs/src/models/parameters.ts +++ b/sdk/avs/arm-avs/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -20,6 +19,16 @@ export const acceptLanguage: msRest.OperationParameter = { } } }; +export const addonName: msRest.OperationURLParameter = { + parameterPath: "addonName", + mapper: { + required: true, + serializedName: "addonName", + type: { + name: "String" + } + } +}; export const apiVersion: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { @@ -43,6 +52,16 @@ export const authorizationName: msRest.OperationURLParameter = { } } }; +export const cloudLinkName: msRest.OperationURLParameter = { + parameterPath: "cloudLinkName", + mapper: { + required: true, + serializedName: "cloudLinkName", + type: { + name: "String" + } + } +}; export const clusterName: msRest.OperationURLParameter = { parameterPath: "clusterName", mapper: { @@ -53,6 +72,66 @@ export const clusterName: msRest.OperationURLParameter = { } } }; +export const datastoreName: msRest.OperationURLParameter = { + parameterPath: "datastoreName", + mapper: { + required: true, + serializedName: "datastoreName", + type: { + name: "String" + } + } +}; +export const dhcpId: msRest.OperationURLParameter = { + parameterPath: "dhcpId", + mapper: { + required: true, + serializedName: "dhcpId", + type: { + name: "String" + } + } +}; +export const dnsServiceId: msRest.OperationURLParameter = { + parameterPath: "dnsServiceId", + mapper: { + required: true, + serializedName: "dnsServiceId", + type: { + name: "String" + } + } +}; +export const dnsZoneId: msRest.OperationURLParameter = { + parameterPath: "dnsZoneId", + mapper: { + required: true, + serializedName: "dnsZoneId", + type: { + name: "String" + } + } +}; +export const gatewayId: msRest.OperationURLParameter = { + parameterPath: "gatewayId", + mapper: { + required: true, + serializedName: "gatewayId", + type: { + name: "String" + } + } +}; +export const globalReachConnectionName: msRest.OperationURLParameter = { + parameterPath: "globalReachConnectionName", + mapper: { + required: true, + serializedName: "globalReachConnectionName", + type: { + name: "String" + } + } +}; export const hcxEnterpriseSiteName: msRest.OperationURLParameter = { parameterPath: "hcxEnterpriseSiteName", mapper: { @@ -84,6 +163,16 @@ export const nextPageLink: msRest.OperationURLParameter = { }, skipEncoding: true }; +export const portMirroringId: msRest.OperationURLParameter = { + parameterPath: "portMirroringId", + mapper: { + required: true, + serializedName: "portMirroringId", + type: { + name: "String" + } + } +}; export const privateCloudName: msRest.OperationURLParameter = { parameterPath: "privateCloudName", mapper: { @@ -94,6 +183,16 @@ export const privateCloudName: msRest.OperationURLParameter = { } } }; +export const publicIPId: msRest.OperationURLParameter = { + parameterPath: "publicIPId", + mapper: { + required: true, + serializedName: "publicIPId", + type: { + name: "String" + } + } +}; export const resourceGroupName: msRest.OperationURLParameter = { parameterPath: "resourceGroupName", mapper: { @@ -101,14 +200,53 @@ export const resourceGroupName: msRest.OperationURLParameter = { serializedName: "resourceGroupName", constraints: { MaxLength: 90, - MinLength: 1, - Pattern: /^[-\w\._\(\)]+$/ + MinLength: 1 }, type: { name: "String" } } }; +export const scriptCmdletName: msRest.OperationURLParameter = { + parameterPath: "scriptCmdletName", + mapper: { + required: true, + serializedName: "scriptCmdletName", + type: { + name: "String" + } + } +}; +export const scriptExecutionName: msRest.OperationURLParameter = { + parameterPath: "scriptExecutionName", + mapper: { + required: true, + serializedName: "scriptExecutionName", + type: { + name: "String" + } + } +}; +export const scriptPackageName: msRest.OperationURLParameter = { + parameterPath: "scriptPackageName", + mapper: { + required: true, + serializedName: "scriptPackageName", + type: { + name: "String" + } + } +}; +export const segmentId: msRest.OperationURLParameter = { + parameterPath: "segmentId", + mapper: { + required: true, + serializedName: "segmentId", + type: { + name: "String" + } + } +}; export const subscriptionId: msRest.OperationURLParameter = { parameterPath: "subscriptionId", mapper: { @@ -122,3 +260,23 @@ export const subscriptionId: msRest.OperationURLParameter = { } } }; +export const virtualMachineId: msRest.OperationURLParameter = { + parameterPath: "virtualMachineId", + mapper: { + required: true, + serializedName: "virtualMachineId", + type: { + name: "String" + } + } +}; +export const vmGroupId: msRest.OperationURLParameter = { + parameterPath: "vmGroupId", + mapper: { + required: true, + serializedName: "vmGroupId", + type: { + name: "String" + } + } +}; diff --git a/sdk/avs/arm-avs/src/models/privateCloudsMappers.ts b/sdk/avs/arm-avs/src/models/privateCloudsMappers.ts index edfebca08ab4..4d28dbae9f81 100644 --- a/sdk/avs/arm-avs/src/models/privateCloudsMappers.ts +++ b/sdk/avs/arm-avs/src/models/privateCloudsMappers.ts @@ -1,29 +1,63 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, AdminCredentials, BaseResource, Circuit, CloudError, + CloudLink, Cluster, - ClusterUpdateProperties, + CommonClusterProperties, + Datastore, + DiskPoolVolume, Endpoints, ErrorAdditionalInfo, ErrorResponse, ExpressRouteAuthorization, + GlobalReachConnection, HcxEnterpriseSite, IdentitySource, ManagementCluster, + NetAppVolume, PrivateCloud, PrivateCloudList, PrivateCloudUpdate, + ProxyResource, + PSCredentialExecutionParameter, Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, Sku, - TrackedResource + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup } from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/scriptCmdletsMappers.ts b/sdk/avs/arm-avs/src/models/scriptCmdletsMappers.ts new file mode 100644 index 000000000000..2943c74d4ddc --- /dev/null +++ b/sdk/avs/arm-avs/src/models/scriptCmdletsMappers.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, + BaseResource, + Circuit, + CloudError, + CloudLink, + Cluster, + CommonClusterProperties, + Datastore, + DiskPoolVolume, + Endpoints, + ErrorAdditionalInfo, + ErrorResponse, + ExpressRouteAuthorization, + GlobalReachConnection, + HcxEnterpriseSite, + IdentitySource, + ManagementCluster, + NetAppVolume, + PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, + Resource, + ScriptCmdlet, + ScriptCmdletsList, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, + Sku, + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup +} from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/scriptExecutionsMappers.ts b/sdk/avs/arm-avs/src/models/scriptExecutionsMappers.ts new file mode 100644 index 000000000000..7aff1c90f446 --- /dev/null +++ b/sdk/avs/arm-avs/src/models/scriptExecutionsMappers.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, + BaseResource, + Circuit, + CloudError, + CloudLink, + Cluster, + CommonClusterProperties, + Datastore, + DiskPoolVolume, + Endpoints, + ErrorAdditionalInfo, + ErrorResponse, + ExpressRouteAuthorization, + GlobalReachConnection, + HcxEnterpriseSite, + IdentitySource, + ManagementCluster, + NetAppVolume, + PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, + Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptExecutionsList, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, + Sku, + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup +} from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/scriptPackagesMappers.ts b/sdk/avs/arm-avs/src/models/scriptPackagesMappers.ts new file mode 100644 index 000000000000..89ed471cebd5 --- /dev/null +++ b/sdk/avs/arm-avs/src/models/scriptPackagesMappers.ts @@ -0,0 +1,61 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, + BaseResource, + Circuit, + CloudError, + CloudLink, + Cluster, + CommonClusterProperties, + Datastore, + DiskPoolVolume, + Endpoints, + ErrorAdditionalInfo, + ErrorResponse, + ExpressRouteAuthorization, + GlobalReachConnection, + HcxEnterpriseSite, + IdentitySource, + ManagementCluster, + NetAppVolume, + PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, + Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptPackagesList, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, + Sku, + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsZone, + WorkloadNetworkGateway, + WorkloadNetworkPortMirroring, + WorkloadNetworkPublicIP, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVMGroup +} from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/models/workloadNetworksMappers.ts b/sdk/avs/arm-avs/src/models/workloadNetworksMappers.ts new file mode 100644 index 000000000000..5a85a4df625a --- /dev/null +++ b/sdk/avs/arm-avs/src/models/workloadNetworksMappers.ts @@ -0,0 +1,69 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + Addon, + AddonHcxProperties, + AddonProperties, + AddonSrmProperties, + AddonVrProperties, + BaseResource, + Circuit, + CloudError, + CloudLink, + Cluster, + CommonClusterProperties, + Datastore, + DiskPoolVolume, + Endpoints, + ErrorAdditionalInfo, + ErrorResponse, + ExpressRouteAuthorization, + GlobalReachConnection, + HcxEnterpriseSite, + IdentitySource, + ManagementCluster, + NetAppVolume, + PrivateCloud, + ProxyResource, + PSCredentialExecutionParameter, + Resource, + ScriptCmdlet, + ScriptExecution, + ScriptExecutionParameter, + ScriptPackage, + ScriptParameter, + ScriptSecureStringExecutionParameter, + ScriptStringExecutionParameter, + Sku, + TrackedResource, + WorkloadNetworkDhcp, + WorkloadNetworkDhcpEntity, + WorkloadNetworkDhcpList, + WorkloadNetworkDhcpRelay, + WorkloadNetworkDhcpServer, + WorkloadNetworkDnsService, + WorkloadNetworkDnsServicesList, + WorkloadNetworkDnsZone, + WorkloadNetworkDnsZonesList, + WorkloadNetworkGateway, + WorkloadNetworkGatewayList, + WorkloadNetworkPortMirroring, + WorkloadNetworkPortMirroringList, + WorkloadNetworkPublicIP, + WorkloadNetworkPublicIPsList, + WorkloadNetworkSegment, + WorkloadNetworkSegmentPortVif, + WorkloadNetworkSegmentsList, + WorkloadNetworkSegmentSubnet, + WorkloadNetworkVirtualMachine, + WorkloadNetworkVirtualMachinesList, + WorkloadNetworkVMGroup, + WorkloadNetworkVMGroupsList +} from "../models/mappers"; diff --git a/sdk/avs/arm-avs/src/operations/addons.ts b/sdk/avs/arm-avs/src/operations/addons.ts new file mode 100644 index 000000000000..f1e204b403b1 --- /dev/null +++ b/sdk/avs/arm-avs/src/operations/addons.ts @@ -0,0 +1,334 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/addonsMappers"; +import * as Parameters from "../models/parameters"; +import { AvsClientContext } from "../avsClientContext"; + +/** Class representing a Addons. */ +export class Addons { + private readonly client: AvsClientContext; + + /** + * Create a Addons. + * @param {AvsClientContext} client Reference to the service client. + */ + constructor(client: AvsClientContext) { + this.client = client; + } + + /** + * @summary List addons in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * @summary Get an addon by name in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param addonName Name of the addon for the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, privateCloudName: string, addonName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param addonName Name of the addon for the private cloud + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, addonName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param addonName Name of the addon for the private cloud + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, addonName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, privateCloudName: string, addonName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + addonName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Create or update a addon in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName The name of the private cloud. + * @param addonName Name of the addon for the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, privateCloudName: string, addonName: string, options?: Models.AddonsCreateOrUpdateOptionalParams): Promise { + return this.beginCreateOrUpdate(resourceGroupName,privateCloudName,addonName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a addon in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param addonName Name of the addon for the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, privateCloudName: string, addonName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,privateCloudName,addonName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary Create or update a addon in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName The name of the private cloud. + * @param addonName Name of the addon for the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, addonName: string, options?: Models.AddonsBeginCreateOrUpdateOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + addonName, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * @summary Delete a addon in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param addonName Name of the addon for the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, privateCloudName: string, addonName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + addonName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * @summary List addons in a private cloud + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AddonList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.addonName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Addon + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.addonName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: { + properties: [ + "options", + "properties" + ] + }, + mapper: { + ...Mappers.Addon, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Addon + }, + 201: { + bodyMapper: Mappers.Addon + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.addonName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AddonList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/avs/arm-avs/src/operations/authorizations.ts b/sdk/avs/arm-avs/src/operations/authorizations.ts index 6111185333ad..a1b4337f2904 100644 --- a/sdk/avs/arm-avs/src/operations/authorizations.ts +++ b/sdk/avs/arm-avs/src/operations/authorizations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -100,12 +99,11 @@ export class Authorizations { * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName The name of the private cloud. * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud - * @param authorization An ExpressRoute Circuit Authorization * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, privateCloudName: string, authorizationName: string, authorization: any, options?: msRest.RequestOptionsBase): Promise { - return this.beginCreateOrUpdate(resourceGroupName,privateCloudName,authorizationName,authorization,options) + createOrUpdate(resourceGroupName: string, privateCloudName: string, authorizationName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,privateCloudName,authorizationName,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -127,17 +125,15 @@ export class Authorizations { * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName The name of the private cloud. * @param authorizationName Name of the ExpressRoute Circuit Authorization in the private cloud - * @param authorization An ExpressRoute Circuit Authorization * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, authorizationName: string, authorization: any, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, authorizationName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, privateCloudName, authorizationName, - authorization, options }, beginCreateOrUpdateOperationSpec, @@ -264,11 +260,8 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "authorization", mapper: { - required: true, - serializedName: "authorization", - type: { - name: "Object" - } + ...Mappers.ExpressRouteAuthorization, + required: true } }, responses: { @@ -318,6 +311,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/avs/arm-avs/src/operations/cloudLinks.ts b/sdk/avs/arm-avs/src/operations/cloudLinks.ts new file mode 100644 index 000000000000..5460d5f876b9 --- /dev/null +++ b/sdk/avs/arm-avs/src/operations/cloudLinks.ts @@ -0,0 +1,334 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/cloudLinksMappers"; +import * as Parameters from "../models/parameters"; +import { AvsClientContext } from "../avsClientContext"; + +/** Class representing a CloudLinks. */ +export class CloudLinks { + private readonly client: AvsClientContext; + + /** + * Create a CloudLinks. + * @param {AvsClientContext} client Reference to the service client. + */ + constructor(client: AvsClientContext) { + this.client = client; + } + + /** + * @summary List cloud link in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * @summary Get an cloud link by name in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param cloudLinkName Name of the cloud link resource + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, privateCloudName: string, cloudLinkName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param cloudLinkName Name of the cloud link resource + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, cloudLinkName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param cloudLinkName Name of the cloud link resource + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, cloudLinkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, privateCloudName: string, cloudLinkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + cloudLinkName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Create or update a cloud link in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName The name of the private cloud. + * @param cloudLinkName Name of the cloud link resource + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, privateCloudName: string, cloudLinkName: string, options?: Models.CloudLinksCreateOrUpdateOptionalParams): Promise { + return this.beginCreateOrUpdate(resourceGroupName,privateCloudName,cloudLinkName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a cloud link in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param cloudLinkName Name of the cloud link resource + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, privateCloudName: string, cloudLinkName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,privateCloudName,cloudLinkName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary Create or update a cloud link in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName The name of the private cloud. + * @param cloudLinkName Name of the cloud link resource + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, cloudLinkName: string, options?: Models.CloudLinksBeginCreateOrUpdateOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + cloudLinkName, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * @summary Delete a cloud link in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param cloudLinkName Name of the cloud link resource + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, privateCloudName: string, cloudLinkName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + cloudLinkName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * @summary List cloud link in a private cloud + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudLinkList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.cloudLinkName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudLink + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.cloudLinkName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: { + linkedCloud: [ + "options", + "linkedCloud" + ] + }, + mapper: { + ...Mappers.CloudLink, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.CloudLink + }, + 201: { + bodyMapper: Mappers.CloudLink + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.cloudLinkName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.CloudLinkList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/avs/arm-avs/src/operations/clusters.ts b/sdk/avs/arm-avs/src/operations/clusters.ts index 2c005ebadd1c..300a524a845c 100644 --- a/sdk/avs/arm-avs/src/operations/clusters.ts +++ b/sdk/avs/arm-avs/src/operations/clusters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -389,6 +388,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/avs/arm-avs/src/operations/datastores.ts b/sdk/avs/arm-avs/src/operations/datastores.ts new file mode 100644 index 000000000000..b9fb66bb0b93 --- /dev/null +++ b/sdk/avs/arm-avs/src/operations/datastores.ts @@ -0,0 +1,350 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/datastoresMappers"; +import * as Parameters from "../models/parameters"; +import { AvsClientContext } from "../avsClientContext"; + +/** Class representing a Datastores. */ +export class Datastores { + private readonly client: AvsClientContext; + + /** + * Create a Datastores. + * @param {AvsClientContext} client Reference to the service client. + */ + constructor(client: AvsClientContext) { + this.client = client; + } + + /** + * @summary List datastores in a private cloud cluster + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, privateCloudName: string, clusterName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, clusterName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, clusterName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, privateCloudName: string, clusterName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + clusterName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a datastore in a private cloud cluster + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param datastoreName Name of the datastore in the private cloud cluster + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param datastoreName Name of the datastore in the private cloud cluster + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param datastoreName Name of the datastore in the private cloud cluster + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + clusterName, + datastoreName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Create or update a datastore in a private cloud cluster + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param datastoreName Name of the datastore in the private cloud cluster + * @param datastore A datastore in a private cloud cluster + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, datastore: Models.Datastore, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,privateCloudName,clusterName,datastoreName,datastore,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a datastore in a private cloud cluster + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param datastoreName Name of the datastore in the private cloud cluster + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,privateCloudName,clusterName,datastoreName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary Create or update a datastore in a private cloud cluster + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param datastoreName Name of the datastore in the private cloud cluster + * @param datastore A datastore in a private cloud cluster + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, datastore: Models.Datastore, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + clusterName, + datastoreName, + datastore, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * @summary Delete a datastore in a private cloud cluster + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param clusterName Name of the cluster in the private cloud + * @param datastoreName Name of the datastore in the private cloud cluster + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, privateCloudName: string, clusterName: string, datastoreName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + clusterName, + datastoreName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * @summary List datastores in a private cloud cluster + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.clusterName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DatastoreList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.clusterName, + Parameters.datastoreName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.Datastore + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.clusterName, + Parameters.datastoreName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "datastore", + mapper: { + ...Mappers.Datastore, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Datastore + }, + 201: { + bodyMapper: Mappers.Datastore + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/clusters/{clusterName}/datastores/{datastoreName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.clusterName, + Parameters.datastoreName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.DatastoreList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/avs/arm-avs/src/operations/globalReachConnections.ts b/sdk/avs/arm-avs/src/operations/globalReachConnections.ts new file mode 100644 index 000000000000..19aab04b254a --- /dev/null +++ b/sdk/avs/arm-avs/src/operations/globalReachConnections.ts @@ -0,0 +1,332 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/globalReachConnectionsMappers"; +import * as Parameters from "../models/parameters"; +import { AvsClientContext } from "../avsClientContext"; + +/** Class representing a GlobalReachConnections. */ +export class GlobalReachConnections { + private readonly client: AvsClientContext; + + /** + * Create a GlobalReachConnections. + * @param {AvsClientContext} client Reference to the service client. + */ + constructor(client: AvsClientContext) { + this.client = client; + } + + /** + * @summary List global reach connections in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a global reach connection by name in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param globalReachConnectionName Name of the global reach connection in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param globalReachConnectionName Name of the global reach connection in the private cloud + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param globalReachConnectionName Name of the global reach connection in the private cloud + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + globalReachConnectionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Create or update a global reach connection in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName The name of the private cloud. + * @param globalReachConnectionName Name of the global reach connection in the private cloud + * @param globalReachConnection A global reach connection in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, globalReachConnection: Models.GlobalReachConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,privateCloudName,globalReachConnectionName,globalReachConnection,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a global reach connection in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param globalReachConnectionName Name of the global reach connection in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,privateCloudName,globalReachConnectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary Create or update a global reach connection in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName The name of the private cloud. + * @param globalReachConnectionName Name of the global reach connection in the private cloud + * @param globalReachConnection A global reach connection in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, globalReachConnection: Models.GlobalReachConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + globalReachConnectionName, + globalReachConnection, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * @summary Delete a global reach connection in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param globalReachConnectionName Name of the global reach connection in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, privateCloudName: string, globalReachConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + globalReachConnectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * @summary List global reach connections in a private cloud + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GlobalReachConnectionList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.globalReachConnectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GlobalReachConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.globalReachConnectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "globalReachConnection", + mapper: { + ...Mappers.GlobalReachConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.GlobalReachConnection + }, + 201: { + bodyMapper: Mappers.GlobalReachConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/globalReachConnections/{globalReachConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.globalReachConnectionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GlobalReachConnectionList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/avs/arm-avs/src/operations/hcxEnterpriseSites.ts b/sdk/avs/arm-avs/src/operations/hcxEnterpriseSites.ts index ed9205e69420..6872ad97df76 100644 --- a/sdk/avs/arm-avs/src/operations/hcxEnterpriseSites.ts +++ b/sdk/avs/arm-avs/src/operations/hcxEnterpriseSites.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -99,35 +98,31 @@ export class HcxEnterpriseSites { * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName The name of the private cloud. * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud - * @param hcxEnterpriseSite The HCX Enterprise Site * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, hcxEnterpriseSite: any, options?: msRest.RequestOptionsBase): Promise; + createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName The name of the private cloud. * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud - * @param hcxEnterpriseSite The HCX Enterprise Site * @param callback The callback */ - createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, hcxEnterpriseSite: any, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param privateCloudName The name of the private cloud. * @param hcxEnterpriseSiteName Name of the HCX Enterprise Site in the private cloud - * @param hcxEnterpriseSite The HCX Enterprise Site * @param options The optional parameters * @param callback The callback */ - createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, hcxEnterpriseSite: any, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, hcxEnterpriseSite: any, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(resourceGroupName: string, privateCloudName: string, hcxEnterpriseSiteName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, privateCloudName, hcxEnterpriseSiteName, - hcxEnterpriseSite, options }, createOrUpdateOperationSpec, @@ -270,11 +265,8 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "hcxEnterpriseSite", mapper: { - required: true, - serializedName: "hcxEnterpriseSite", - type: { - name: "Object" - } + ...Mappers.HcxEnterpriseSite, + required: true } }, responses: { @@ -323,6 +315,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/avs/arm-avs/src/operations/index.ts b/sdk/avs/arm-avs/src/operations/index.ts index 41167f64dfff..0e75ff3ae113 100644 --- a/sdk/avs/arm-avs/src/operations/index.ts +++ b/sdk/avs/arm-avs/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -12,5 +11,13 @@ export * from "./operations"; export * from "./locations"; export * from "./privateClouds"; export * from "./clusters"; +export * from "./datastores"; export * from "./hcxEnterpriseSites"; export * from "./authorizations"; +export * from "./globalReachConnections"; +export * from "./workloadNetworks"; +export * from "./cloudLinks"; +export * from "./addons"; +export * from "./scriptPackages"; +export * from "./scriptCmdlets"; +export * from "./scriptExecutions"; diff --git a/sdk/avs/arm-avs/src/operations/locations.ts b/sdk/avs/arm-avs/src/operations/locations.ts index 7ff1fa9c7351..0ad6b1f865c4 100644 --- a/sdk/avs/arm-avs/src/operations/locations.ts +++ b/sdk/avs/arm-avs/src/operations/locations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/avs/arm-avs/src/operations/operations.ts b/sdk/avs/arm-avs/src/operations/operations.ts index af15d66d1a93..b06ec348fd51 100644 --- a/sdk/avs/arm-avs/src/operations/operations.ts +++ b/sdk/avs/arm-avs/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/avs/arm-avs/src/operations/privateClouds.ts b/sdk/avs/arm-avs/src/operations/privateClouds.ts index eebc9d8ac564..80341dad85db 100644 --- a/sdk/avs/arm-avs/src/operations/privateClouds.ts +++ b/sdk/avs/arm-avs/src/operations/privateClouds.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -149,6 +148,30 @@ export class PrivateClouds { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * @summary Rotate the vCenter password + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + rotateVcenterPassword(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRotateVcenterPassword(resourceGroupName,privateCloudName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary Rotate the NSX-T Manager password + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + rotateNsxtPassword(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginRotateNsxtPassword(resourceGroupName,privateCloudName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * @summary List the admin credentials for the private cloud * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -239,6 +262,42 @@ export class PrivateClouds { options); } + /** + * @summary Rotate the vCenter password + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginRotateVcenterPassword(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + options + }, + beginRotateVcenterPasswordOperationSpec, + options); + } + + /** + * @summary Rotate the NSX-T Manager password + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginRotateNsxtPassword(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + options + }, + beginRotateNsxtPasswordOperationSpec, + options); + } + /** * @summary List private clouds in a resource group * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -490,6 +549,54 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const beginRotateVcenterPasswordOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateVcenterPassword", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginRotateNsxtPasswordOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/rotateNsxtPassword", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -497,6 +604,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -518,6 +628,9 @@ const listInSubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/avs/arm-avs/src/operations/scriptCmdlets.ts b/sdk/avs/arm-avs/src/operations/scriptCmdlets.ts new file mode 100644 index 000000000000..00250ba63797 --- /dev/null +++ b/sdk/avs/arm-avs/src/operations/scriptCmdlets.ts @@ -0,0 +1,215 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/scriptCmdletsMappers"; +import * as Parameters from "../models/parameters"; +import { AvsClientContext } from "../avsClientContext"; + +/** Class representing a ScriptCmdlets. */ +export class ScriptCmdlets { + private readonly client: AvsClientContext; + + /** + * Create a ScriptCmdlets. + * @param {AvsClientContext} client Reference to the service client. + */ + constructor(client: AvsClientContext) { + this.client = client; + } + + /** + * Return script cmdlet resources available for a private cloud to create a script execution + * resource on their Private Cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + scriptPackageName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Return information about a script cmdlet resource in a specific package on a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param scriptCmdletName Name of the script cmdlet resource in the script package in the private + * cloud + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, scriptCmdletName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param scriptCmdletName Name of the script cmdlet resource in the script package in the private + * cloud + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, scriptCmdletName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param scriptCmdletName Name of the script cmdlet resource in the script package in the private + * cloud + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, scriptCmdletName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, scriptCmdletName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + scriptPackageName, + scriptCmdletName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Return script cmdlet resources available for a private cloud to create a script execution + * resource on their Private Cloud + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.scriptPackageName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptCmdletsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}/scriptCmdlets/{scriptCmdletName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.scriptPackageName, + Parameters.scriptCmdletName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptCmdlet + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptCmdletsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/avs/arm-avs/src/operations/scriptExecutions.ts b/sdk/avs/arm-avs/src/operations/scriptExecutions.ts new file mode 100644 index 000000000000..5ceca22b6fed --- /dev/null +++ b/sdk/avs/arm-avs/src/operations/scriptExecutions.ts @@ -0,0 +1,411 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/scriptExecutionsMappers"; +import * as Parameters from "../models/parameters"; +import { AvsClientContext } from "../avsClientContext"; + +/** Class representing a ScriptExecutions. */ +export class ScriptExecutions { + private readonly client: AvsClientContext; + + /** + * Create a ScriptExecutions. + * @param {AvsClientContext} client Reference to the service client. + */ + constructor(client: AvsClientContext) { + this.client = client; + } + + /** + * @summary Get an script execution resource by name in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * @summary Get an script execution resource by name in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + scriptExecutionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * @summary Create or update a script execution resource in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName The name of the private cloud. + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param scriptExecution A script running in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, scriptExecution: Models.ScriptExecution, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,privateCloudName,scriptExecutionName,scriptExecution,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Cancel a ScriptExecution in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,privateCloudName,scriptExecutionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Return the logs for a script execution resource + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param [options] The optional parameters + * @returns Promise + */ + getExecutionLogs(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: Models.ScriptExecutionsGetExecutionLogsOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param callback The callback + */ + getExecutionLogs(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param options The optional parameters + * @param callback The callback + */ + getExecutionLogs(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options: Models.ScriptExecutionsGetExecutionLogsOptionalParams, callback: msRest.ServiceCallback): void; + getExecutionLogs(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: Models.ScriptExecutionsGetExecutionLogsOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + scriptExecutionName, + options + }, + getExecutionLogsOperationSpec, + callback) as Promise; + } + + /** + * @summary Create or update a script execution resource in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName The name of the private cloud. + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param scriptExecution A script running in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, scriptExecution: Models.ScriptExecution, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + scriptExecutionName, + scriptExecution, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * @summary Cancel a ScriptExecution in a private cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptExecutionName Name of the user-invoked script execution resource + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, privateCloudName: string, scriptExecutionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + scriptExecutionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * @summary Get an script execution resource by name in a private cloud + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptExecutionsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.scriptExecutionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptExecution + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getExecutionLogsOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.scriptExecutionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "scriptOutputStreamType" + ], + mapper: { + serializedName: "scriptOutputStreamType", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + }, + responses: { + 200: { + bodyMapper: Mappers.ScriptExecution + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.scriptExecutionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "scriptExecution", + mapper: { + ...Mappers.ScriptExecution, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ScriptExecution + }, + 201: { + bodyMapper: Mappers.ScriptExecution + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.scriptExecutionName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptExecutionsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/avs/arm-avs/src/operations/scriptPackages.ts b/sdk/avs/arm-avs/src/operations/scriptPackages.ts new file mode 100644 index 000000000000..9dec8dd568ee --- /dev/null +++ b/sdk/avs/arm-avs/src/operations/scriptPackages.ts @@ -0,0 +1,200 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/scriptPackagesMappers"; +import * as Parameters from "../models/parameters"; +import { AvsClientContext } from "../avsClientContext"; + +/** Class representing a ScriptPackages. */ +export class ScriptPackages { + private readonly client: AvsClientContext; + + /** + * Create a ScriptPackages. + * @param {AvsClientContext} client Reference to the service client. + */ + constructor(client: AvsClientContext) { + this.client = client; + } + + /** + * Return script packages available for a private cloud to run on their Private Cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Return script package available to run on an Private Cloud + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param scriptPackageName Name of the script package in the private cloud + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, privateCloudName: string, scriptPackageName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + scriptPackageName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Return script packages available for a private cloud to run on their Private Cloud + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptPackagesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptPackages/{scriptPackageName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.scriptPackageName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptPackage + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ScriptPackagesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/avs/arm-avs/src/operations/workloadNetworks.ts b/sdk/avs/arm-avs/src/operations/workloadNetworks.ts new file mode 100644 index 000000000000..42bea81cd6cc --- /dev/null +++ b/sdk/avs/arm-avs/src/operations/workloadNetworks.ts @@ -0,0 +1,2935 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/workloadNetworksMappers"; +import * as Parameters from "../models/parameters"; +import { AvsClientContext } from "../avsClientContext"; + +/** Class representing a WorkloadNetworks. */ +export class WorkloadNetworks { + private readonly client: AvsClientContext; + + /** + * Create a WorkloadNetworks. + * @param {AvsClientContext} client Reference to the service client. + */ + constructor(client: AvsClientContext) { + this.client = client; + } + + /** + * @summary List of segments in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listSegments(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listSegments(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listSegments(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSegments(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listSegmentsOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a segment by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param [options] The optional parameters + * @returns Promise + */ + getSegment(resourceGroupName: string, privateCloudName: string, segmentId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param callback The callback + */ + getSegment(resourceGroupName: string, privateCloudName: string, segmentId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param options The optional parameters + * @param callback The callback + */ + getSegment(resourceGroupName: string, privateCloudName: string, segmentId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getSegment(resourceGroupName: string, privateCloudName: string, segmentId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + segmentId, + options + }, + getSegmentOperationSpec, + callback) as Promise; + } + + /** + * @summary Create a segment by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param workloadNetworkSegment NSX Segment + * @param [options] The optional parameters + * @returns Promise + */ + createSegments(resourceGroupName: string, privateCloudName: string, segmentId: string, workloadNetworkSegment: Models.WorkloadNetworkSegment, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateSegments(resourceGroupName,privateCloudName,segmentId,workloadNetworkSegment,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Create or update a segment by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param workloadNetworkSegment NSX Segment + * @param [options] The optional parameters + * @returns Promise + */ + updateSegments(resourceGroupName: string, privateCloudName: string, segmentId: string, workloadNetworkSegment: Models.WorkloadNetworkSegment, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateSegments(resourceGroupName,privateCloudName,segmentId,workloadNetworkSegment,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a segment by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param [options] The optional parameters + * @returns Promise + */ + deleteSegment(resourceGroupName: string, privateCloudName: string, segmentId: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteSegment(resourceGroupName,privateCloudName,segmentId,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary List dhcp in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listDhcp(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listDhcp(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listDhcp(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listDhcp(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listDhcpOperationSpec, + callback) as Promise; + } + + /** + * @summary Get dhcp by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + getDhcp(resourceGroupName: string, dhcpId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + getDhcp(resourceGroupName: string, dhcpId: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + getDhcp(resourceGroupName: string, dhcpId: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getDhcp(resourceGroupName: string, dhcpId: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + dhcpId, + privateCloudName, + options + }, + getDhcpOperationSpec, + callback) as Promise; + } + + /** + * @summary Create dhcp by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param [options] The optional parameters + * @returns Promise + */ + createDhcp(resourceGroupName: string, privateCloudName: string, dhcpId: string, options?: Models.WorkloadNetworksCreateDhcpOptionalParams): Promise { + return this.beginCreateDhcp(resourceGroupName,privateCloudName,dhcpId,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Create or update dhcp by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param [options] The optional parameters + * @returns Promise + */ + updateDhcp(resourceGroupName: string, privateCloudName: string, dhcpId: string, options?: Models.WorkloadNetworksUpdateDhcpOptionalParams): Promise { + return this.beginUpdateDhcp(resourceGroupName,privateCloudName,dhcpId,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete dhcp by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param [options] The optional parameters + * @returns Promise + */ + deleteDhcp(resourceGroupName: string, privateCloudName: string, dhcpId: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteDhcp(resourceGroupName,privateCloudName,dhcpId,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary List of gateways in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listGateways(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listGateways(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listGateways(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listGateways(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listGatewaysOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a gateway by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param gatewayId NSX Gateway identifier. Generally the same as the Gateway's display name + * @param [options] The optional parameters + * @returns Promise + */ + getGateway(resourceGroupName: string, privateCloudName: string, gatewayId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param gatewayId NSX Gateway identifier. Generally the same as the Gateway's display name + * @param callback The callback + */ + getGateway(resourceGroupName: string, privateCloudName: string, gatewayId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param gatewayId NSX Gateway identifier. Generally the same as the Gateway's display name + * @param options The optional parameters + * @param callback The callback + */ + getGateway(resourceGroupName: string, privateCloudName: string, gatewayId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getGateway(resourceGroupName: string, privateCloudName: string, gatewayId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + gatewayId, + options + }, + getGatewayOperationSpec, + callback) as Promise; + } + + /** + * @summary List of port mirroring profiles in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listPortMirroring(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listPortMirroring(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listPortMirroring(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPortMirroring(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listPortMirroringOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a port mirroring profile by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param [options] The optional parameters + * @returns Promise + */ + getPortMirroring(resourceGroupName: string, privateCloudName: string, portMirroringId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param callback The callback + */ + getPortMirroring(resourceGroupName: string, privateCloudName: string, portMirroringId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param options The optional parameters + * @param callback The callback + */ + getPortMirroring(resourceGroupName: string, privateCloudName: string, portMirroringId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getPortMirroring(resourceGroupName: string, privateCloudName: string, portMirroringId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + portMirroringId, + options + }, + getPortMirroringOperationSpec, + callback) as Promise; + } + + /** + * @summary Create a port mirroring profile by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param workloadNetworkPortMirroring NSX port mirroring + * @param [options] The optional parameters + * @returns Promise + */ + createPortMirroring(resourceGroupName: string, privateCloudName: string, portMirroringId: string, workloadNetworkPortMirroring: Models.WorkloadNetworkPortMirroring, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreatePortMirroring(resourceGroupName,privateCloudName,portMirroringId,workloadNetworkPortMirroring,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Create or update a port mirroring profile by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param workloadNetworkPortMirroring NSX port mirroring + * @param [options] The optional parameters + * @returns Promise + */ + updatePortMirroring(resourceGroupName: string, privateCloudName: string, portMirroringId: string, workloadNetworkPortMirroring: Models.WorkloadNetworkPortMirroring, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdatePortMirroring(resourceGroupName,privateCloudName,portMirroringId,workloadNetworkPortMirroring,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a port mirroring profile by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + deletePortMirroring(resourceGroupName: string, portMirroringId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeletePortMirroring(resourceGroupName,portMirroringId,privateCloudName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary List of vm groups in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listVMGroups(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listVMGroups(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listVMGroups(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listVMGroups(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listVMGroupsOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a vm group by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param [options] The optional parameters + * @returns Promise + */ + getVMGroup(resourceGroupName: string, privateCloudName: string, vmGroupId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param callback The callback + */ + getVMGroup(resourceGroupName: string, privateCloudName: string, vmGroupId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param options The optional parameters + * @param callback The callback + */ + getVMGroup(resourceGroupName: string, privateCloudName: string, vmGroupId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getVMGroup(resourceGroupName: string, privateCloudName: string, vmGroupId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + vmGroupId, + options + }, + getVMGroupOperationSpec, + callback) as Promise; + } + + /** + * @summary Create a vm group by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param workloadNetworkVMGroup NSX VM Group + * @param [options] The optional parameters + * @returns Promise + */ + createVMGroup(resourceGroupName: string, privateCloudName: string, vmGroupId: string, workloadNetworkVMGroup: Models.WorkloadNetworkVMGroup, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateVMGroup(resourceGroupName,privateCloudName,vmGroupId,workloadNetworkVMGroup,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Create or update a vm group by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param workloadNetworkVMGroup NSX VM Group + * @param [options] The optional parameters + * @returns Promise + */ + updateVMGroup(resourceGroupName: string, privateCloudName: string, vmGroupId: string, workloadNetworkVMGroup: Models.WorkloadNetworkVMGroup, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateVMGroup(resourceGroupName,privateCloudName,vmGroupId,workloadNetworkVMGroup,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a vm group by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + deleteVMGroup(resourceGroupName: string, vmGroupId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteVMGroup(resourceGroupName,vmGroupId,privateCloudName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary List of virtual machines in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listVirtualMachines(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listVirtualMachines(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listVirtualMachines(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listVirtualMachines(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listVirtualMachinesOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a virtual machine by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param virtualMachineId Virtual Machine identifier + * @param [options] The optional parameters + * @returns Promise + */ + getVirtualMachine(resourceGroupName: string, privateCloudName: string, virtualMachineId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param virtualMachineId Virtual Machine identifier + * @param callback The callback + */ + getVirtualMachine(resourceGroupName: string, privateCloudName: string, virtualMachineId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param virtualMachineId Virtual Machine identifier + * @param options The optional parameters + * @param callback The callback + */ + getVirtualMachine(resourceGroupName: string, privateCloudName: string, virtualMachineId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getVirtualMachine(resourceGroupName: string, privateCloudName: string, virtualMachineId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + virtualMachineId, + options + }, + getVirtualMachineOperationSpec, + callback) as Promise; + } + + /** + * @summary List of DNS services in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listDnsServices(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listDnsServices(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listDnsServices(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listDnsServices(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listDnsServicesOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a DNS service by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param [options] The optional parameters + * @returns Promise + */ + getDnsService(resourceGroupName: string, privateCloudName: string, dnsServiceId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param callback The callback + */ + getDnsService(resourceGroupName: string, privateCloudName: string, dnsServiceId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param options The optional parameters + * @param callback The callback + */ + getDnsService(resourceGroupName: string, privateCloudName: string, dnsServiceId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getDnsService(resourceGroupName: string, privateCloudName: string, dnsServiceId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + dnsServiceId, + options + }, + getDnsServiceOperationSpec, + callback) as Promise; + } + + /** + * @summary Create a DNS service by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param workloadNetworkDnsService NSX DNS Service + * @param [options] The optional parameters + * @returns Promise + */ + createDnsService(resourceGroupName: string, privateCloudName: string, dnsServiceId: string, workloadNetworkDnsService: Models.WorkloadNetworkDnsService, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateDnsService(resourceGroupName,privateCloudName,dnsServiceId,workloadNetworkDnsService,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Create or update a DNS service by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param workloadNetworkDnsService NSX DNS Service + * @param [options] The optional parameters + * @returns Promise + */ + updateDnsService(resourceGroupName: string, privateCloudName: string, dnsServiceId: string, workloadNetworkDnsService: Models.WorkloadNetworkDnsService, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateDnsService(resourceGroupName,privateCloudName,dnsServiceId,workloadNetworkDnsService,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a DNS service by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + deleteDnsService(resourceGroupName: string, dnsServiceId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteDnsService(resourceGroupName,dnsServiceId,privateCloudName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary List of DNS zones in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listDnsZones(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listDnsZones(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listDnsZones(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listDnsZones(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listDnsZonesOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a DNS zone by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param [options] The optional parameters + * @returns Promise + */ + getDnsZone(resourceGroupName: string, privateCloudName: string, dnsZoneId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param callback The callback + */ + getDnsZone(resourceGroupName: string, privateCloudName: string, dnsZoneId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param options The optional parameters + * @param callback The callback + */ + getDnsZone(resourceGroupName: string, privateCloudName: string, dnsZoneId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getDnsZone(resourceGroupName: string, privateCloudName: string, dnsZoneId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + dnsZoneId, + options + }, + getDnsZoneOperationSpec, + callback) as Promise; + } + + /** + * @summary Create a DNS zone by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param workloadNetworkDnsZone NSX DNS Zone + * @param [options] The optional parameters + * @returns Promise + */ + createDnsZone(resourceGroupName: string, privateCloudName: string, dnsZoneId: string, workloadNetworkDnsZone: Models.WorkloadNetworkDnsZone, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateDnsZone(resourceGroupName,privateCloudName,dnsZoneId,workloadNetworkDnsZone,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Create or update a DNS zone by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param workloadNetworkDnsZone NSX DNS Zone + * @param [options] The optional parameters + * @returns Promise + */ + updateDnsZone(resourceGroupName: string, privateCloudName: string, dnsZoneId: string, workloadNetworkDnsZone: Models.WorkloadNetworkDnsZone, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateDnsZone(resourceGroupName,privateCloudName,dnsZoneId,workloadNetworkDnsZone,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a DNS zone by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + deleteDnsZone(resourceGroupName: string, dnsZoneId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteDnsZone(resourceGroupName,dnsZoneId,privateCloudName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary List of Public IP Blocks in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + listPublicIPs(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param callback The callback + */ + listPublicIPs(resourceGroupName: string, privateCloudName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param options The optional parameters + * @param callback The callback + */ + listPublicIPs(resourceGroupName: string, privateCloudName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPublicIPs(resourceGroupName: string, privateCloudName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + options + }, + listPublicIPsOperationSpec, + callback) as Promise; + } + + /** + * @summary Get a Public IP Block by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's + * display name + * @param [options] The optional parameters + * @returns Promise + */ + getPublicIP(resourceGroupName: string, privateCloudName: string, publicIPId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's + * display name + * @param callback The callback + */ + getPublicIP(resourceGroupName: string, privateCloudName: string, publicIPId: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's + * display name + * @param options The optional parameters + * @param callback The callback + */ + getPublicIP(resourceGroupName: string, privateCloudName: string, publicIPId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + getPublicIP(resourceGroupName: string, privateCloudName: string, publicIPId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + privateCloudName, + publicIPId, + options + }, + getPublicIPOperationSpec, + callback) as Promise; + } + + /** + * @summary Create a Public IP Block by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's + * display name + * @param workloadNetworkPublicIP NSX Public IP Block + * @param [options] The optional parameters + * @returns Promise + */ + createPublicIP(resourceGroupName: string, privateCloudName: string, publicIPId: string, workloadNetworkPublicIP: Models.WorkloadNetworkPublicIP, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreatePublicIP(resourceGroupName,privateCloudName,publicIPId,workloadNetworkPublicIP,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * @summary Delete a Public IP Block by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's + * display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + deletePublicIP(resourceGroupName: string, publicIPId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeletePublicIP(resourceGroupName,publicIPId,privateCloudName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * @summary Create a segment by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param workloadNetworkSegment NSX Segment + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateSegments(resourceGroupName: string, privateCloudName: string, segmentId: string, workloadNetworkSegment: Models.WorkloadNetworkSegment, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + segmentId, + workloadNetworkSegment, + options + }, + beginCreateSegmentsOperationSpec, + options); + } + + /** + * @summary Create or update a segment by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param workloadNetworkSegment NSX Segment + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateSegments(resourceGroupName: string, privateCloudName: string, segmentId: string, workloadNetworkSegment: Models.WorkloadNetworkSegment, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + segmentId, + workloadNetworkSegment, + options + }, + beginUpdateSegmentsOperationSpec, + options); + } + + /** + * @summary Delete a segment by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param segmentId NSX Segment identifier. Generally the same as the Segment's display name + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteSegment(resourceGroupName: string, privateCloudName: string, segmentId: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + segmentId, + options + }, + beginDeleteSegmentOperationSpec, + options); + } + + /** + * @summary Create dhcp by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateDhcp(resourceGroupName: string, privateCloudName: string, dhcpId: string, options?: Models.WorkloadNetworksBeginCreateDhcpOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + dhcpId, + options + }, + beginCreateDhcpOperationSpec, + options); + } + + /** + * @summary Create or update dhcp by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateDhcp(resourceGroupName: string, privateCloudName: string, dhcpId: string, options?: Models.WorkloadNetworksBeginUpdateDhcpOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + dhcpId, + options + }, + beginUpdateDhcpOperationSpec, + options); + } + + /** + * @summary Delete dhcp by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dhcpId NSX DHCP identifier. Generally the same as the DHCP display name + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteDhcp(resourceGroupName: string, privateCloudName: string, dhcpId: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + dhcpId, + options + }, + beginDeleteDhcpOperationSpec, + options); + } + + /** + * @summary Create a port mirroring profile by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param workloadNetworkPortMirroring NSX port mirroring + * @param [options] The optional parameters + * @returns Promise + */ + beginCreatePortMirroring(resourceGroupName: string, privateCloudName: string, portMirroringId: string, workloadNetworkPortMirroring: Models.WorkloadNetworkPortMirroring, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + portMirroringId, + workloadNetworkPortMirroring, + options + }, + beginCreatePortMirroringOperationSpec, + options); + } + + /** + * @summary Create or update a port mirroring profile by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param workloadNetworkPortMirroring NSX port mirroring + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdatePortMirroring(resourceGroupName: string, privateCloudName: string, portMirroringId: string, workloadNetworkPortMirroring: Models.WorkloadNetworkPortMirroring, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + portMirroringId, + workloadNetworkPortMirroring, + options + }, + beginUpdatePortMirroringOperationSpec, + options); + } + + /** + * @summary Delete a port mirroring profile by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param portMirroringId NSX Port Mirroring identifier. Generally the same as the Port Mirroring + * display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginDeletePortMirroring(resourceGroupName: string, portMirroringId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + portMirroringId, + privateCloudName, + options + }, + beginDeletePortMirroringOperationSpec, + options); + } + + /** + * @summary Create a vm group by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param workloadNetworkVMGroup NSX VM Group + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateVMGroup(resourceGroupName: string, privateCloudName: string, vmGroupId: string, workloadNetworkVMGroup: Models.WorkloadNetworkVMGroup, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + vmGroupId, + workloadNetworkVMGroup, + options + }, + beginCreateVMGroupOperationSpec, + options); + } + + /** + * @summary Create or update a vm group by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param workloadNetworkVMGroup NSX VM Group + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateVMGroup(resourceGroupName: string, privateCloudName: string, vmGroupId: string, workloadNetworkVMGroup: Models.WorkloadNetworkVMGroup, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + vmGroupId, + workloadNetworkVMGroup, + options + }, + beginUpdateVMGroupOperationSpec, + options); + } + + /** + * @summary Delete a vm group by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param vmGroupId NSX VM Group identifier. Generally the same as the VM Group's display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteVMGroup(resourceGroupName: string, vmGroupId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + vmGroupId, + privateCloudName, + options + }, + beginDeleteVMGroupOperationSpec, + options); + } + + /** + * @summary Create a DNS service by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param workloadNetworkDnsService NSX DNS Service + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateDnsService(resourceGroupName: string, privateCloudName: string, dnsServiceId: string, workloadNetworkDnsService: Models.WorkloadNetworkDnsService, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + dnsServiceId, + workloadNetworkDnsService, + options + }, + beginCreateDnsServiceOperationSpec, + options); + } + + /** + * @summary Create or update a DNS service by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param workloadNetworkDnsService NSX DNS Service + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateDnsService(resourceGroupName: string, privateCloudName: string, dnsServiceId: string, workloadNetworkDnsService: Models.WorkloadNetworkDnsService, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + dnsServiceId, + workloadNetworkDnsService, + options + }, + beginUpdateDnsServiceOperationSpec, + options); + } + + /** + * @summary Delete a DNS service by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dnsServiceId NSX DNS Service identifier. Generally the same as the DNS Service's display + * name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteDnsService(resourceGroupName: string, dnsServiceId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + dnsServiceId, + privateCloudName, + options + }, + beginDeleteDnsServiceOperationSpec, + options); + } + + /** + * @summary Create a DNS zone by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param workloadNetworkDnsZone NSX DNS Zone + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateDnsZone(resourceGroupName: string, privateCloudName: string, dnsZoneId: string, workloadNetworkDnsZone: Models.WorkloadNetworkDnsZone, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + dnsZoneId, + workloadNetworkDnsZone, + options + }, + beginCreateDnsZoneOperationSpec, + options); + } + + /** + * @summary Create or update a DNS zone by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param workloadNetworkDnsZone NSX DNS Zone + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateDnsZone(resourceGroupName: string, privateCloudName: string, dnsZoneId: string, workloadNetworkDnsZone: Models.WorkloadNetworkDnsZone, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + dnsZoneId, + workloadNetworkDnsZone, + options + }, + beginUpdateDnsZoneOperationSpec, + options); + } + + /** + * @summary Delete a DNS zone by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param dnsZoneId NSX DNS Zone identifier. Generally the same as the DNS Zone's display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteDnsZone(resourceGroupName: string, dnsZoneId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + dnsZoneId, + privateCloudName, + options + }, + beginDeleteDnsZoneOperationSpec, + options); + } + + /** + * @summary Create a Public IP Block by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param privateCloudName Name of the private cloud + * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's + * display name + * @param workloadNetworkPublicIP NSX Public IP Block + * @param [options] The optional parameters + * @returns Promise + */ + beginCreatePublicIP(resourceGroupName: string, privateCloudName: string, publicIPId: string, workloadNetworkPublicIP: Models.WorkloadNetworkPublicIP, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + privateCloudName, + publicIPId, + workloadNetworkPublicIP, + options + }, + beginCreatePublicIPOperationSpec, + options); + } + + /** + * @summary Delete a Public IP Block by id in a private cloud workload network. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param publicIPId NSX Public IP Block identifier. Generally the same as the Public IP Block's + * display name + * @param privateCloudName Name of the private cloud + * @param [options] The optional parameters + * @returns Promise + */ + beginDeletePublicIP(resourceGroupName: string, publicIPId: string, privateCloudName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + publicIPId, + privateCloudName, + options + }, + beginDeletePublicIPOperationSpec, + options); + } + + /** + * @summary List of segments in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listSegmentsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listSegmentsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listSegmentsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listSegmentsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listSegmentsNextOperationSpec, + callback) as Promise; + } + + /** + * @summary List dhcp in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listDhcpNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listDhcpNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listDhcpNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listDhcpNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listDhcpNextOperationSpec, + callback) as Promise; + } + + /** + * @summary List of gateways in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listGatewaysNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listGatewaysNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listGatewaysNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listGatewaysNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listGatewaysNextOperationSpec, + callback) as Promise; + } + + /** + * @summary List of port mirroring profiles in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listPortMirroringNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listPortMirroringNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listPortMirroringNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPortMirroringNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listPortMirroringNextOperationSpec, + callback) as Promise; + } + + /** + * @summary List of vm groups in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listVMGroupsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listVMGroupsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listVMGroupsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listVMGroupsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listVMGroupsNextOperationSpec, + callback) as Promise; + } + + /** + * @summary List of virtual machines in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listVirtualMachinesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listVirtualMachinesNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listVirtualMachinesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listVirtualMachinesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listVirtualMachinesNextOperationSpec, + callback) as Promise; + } + + /** + * @summary List of DNS services in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listDnsServicesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listDnsServicesNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listDnsServicesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listDnsServicesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listDnsServicesNextOperationSpec, + callback) as Promise; + } + + /** + * @summary List of DNS zones in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listDnsZonesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listDnsZonesNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listDnsZonesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listDnsZonesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listDnsZonesNextOperationSpec, + callback) as Promise; + } + + /** + * @summary List of Public IP Blocks in a private cloud workload network. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listPublicIPsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listPublicIPsNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listPublicIPsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listPublicIPsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listPublicIPsNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listSegmentsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkSegmentsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getSegmentOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.segmentId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkSegment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listDhcpOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDhcpList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getDhcpOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.dhcpId, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDhcp + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listGatewaysOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkGatewayList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getGatewayOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/gateways/{gatewayId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.gatewayId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkGateway + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listPortMirroringOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPortMirroringList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getPortMirroringOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.portMirroringId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPortMirroring + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listVMGroupsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkVMGroupsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getVMGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.vmGroupId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkVMGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listVirtualMachinesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkVirtualMachinesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getVirtualMachineOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/virtualMachines/{virtualMachineId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.virtualMachineId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkVirtualMachine + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listDnsServicesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsServicesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getDnsServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dnsServiceId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listDnsZonesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsZonesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getDnsZoneOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dnsZoneId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsZone + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listPublicIPsOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPublicIPsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getPublicIPOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.publicIPId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPublicIP + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateSegmentsOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.segmentId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkSegment", + mapper: { + ...Mappers.WorkloadNetworkSegment, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkSegment + }, + 201: { + bodyMapper: Mappers.WorkloadNetworkSegment + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateSegmentsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.segmentId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkSegment", + mapper: { + ...Mappers.WorkloadNetworkSegment, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkSegment + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteSegmentOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/segments/{segmentId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.segmentId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateDhcpOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dhcpId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: { + properties: [ + "options", + "properties" + ] + }, + mapper: { + ...Mappers.WorkloadNetworkDhcp, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDhcp + }, + 201: { + bodyMapper: Mappers.WorkloadNetworkDhcp + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateDhcpOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dhcpId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: { + properties: [ + "options", + "properties" + ] + }, + mapper: { + ...Mappers.WorkloadNetworkDhcp, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDhcp + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteDhcpOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dhcpId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreatePortMirroringOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.portMirroringId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkPortMirroring", + mapper: { + ...Mappers.WorkloadNetworkPortMirroring, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPortMirroring + }, + 201: { + bodyMapper: Mappers.WorkloadNetworkPortMirroring + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdatePortMirroringOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.portMirroringId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkPortMirroring", + mapper: { + ...Mappers.WorkloadNetworkPortMirroring, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPortMirroring + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeletePortMirroringOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.portMirroringId, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateVMGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.vmGroupId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkVMGroup", + mapper: { + ...Mappers.WorkloadNetworkVMGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkVMGroup + }, + 201: { + bodyMapper: Mappers.WorkloadNetworkVMGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateVMGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.vmGroupId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkVMGroup", + mapper: { + ...Mappers.WorkloadNetworkVMGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkVMGroup + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteVMGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.vmGroupId, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateDnsServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dnsServiceId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkDnsService", + mapper: { + ...Mappers.WorkloadNetworkDnsService, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsService + }, + 201: { + bodyMapper: Mappers.WorkloadNetworkDnsService + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateDnsServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dnsServiceId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkDnsService", + mapper: { + ...Mappers.WorkloadNetworkDnsService, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsService + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteDnsServiceOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.dnsServiceId, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateDnsZoneOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dnsZoneId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkDnsZone", + mapper: { + ...Mappers.WorkloadNetworkDnsZone, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsZone + }, + 201: { + bodyMapper: Mappers.WorkloadNetworkDnsZone + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateDnsZoneOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.dnsZoneId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkDnsZone", + mapper: { + ...Mappers.WorkloadNetworkDnsZone, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsZone + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteDnsZoneOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.dnsZoneId, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreatePublicIPOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.privateCloudName, + Parameters.publicIPId + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "workloadNetworkPublicIP", + mapper: { + ...Mappers.WorkloadNetworkPublicIP, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPublicIP + }, + 201: { + bodyMapper: Mappers.WorkloadNetworkPublicIP + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeletePublicIPOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.publicIPId, + Parameters.privateCloudName + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listSegmentsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkSegmentsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listDhcpNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDhcpList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listGatewaysNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkGatewayList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listPortMirroringNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPortMirroringList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listVMGroupsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkVMGroupsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listVirtualMachinesNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkVirtualMachinesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listDnsServicesNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsServicesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listDnsZonesNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkDnsZonesList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listPublicIPsNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.WorkloadNetworkPublicIPsList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; From 18c9ac9ce52d9bf633344af0d2a853732e1fc8dc Mon Sep 17 00:00:00 2001 From: colawwj <70128817+colawwj@users.noreply.github.com> Date: Fri, 9 Jul 2021 15:02:49 +0800 Subject: [PATCH 131/134] arm-postgresql-flexible-release (#16307) --- .../arm-postgresql-flexible/package.json | 2 +- .../src/models/configurationsMappers.ts | 8 +- .../src/models/databasesMappers.ts | 8 +- .../src/models/firewallRulesMappers.ts | 8 +- .../src/models/index.ts | 460 ++++++++++++---- .../locationBasedCapabilitiesMappers.ts | 4 +- .../src/models/mappers.ts | 513 ++++++++++++++---- .../src/models/parameters.ts | 34 +- .../src/models/serversMappers.ts | 9 +- .../src/operations/checkNameAvailability.ts | 2 +- .../src/operations/configurations.ts | 78 ++- .../src/operations/databases.ts | 10 +- .../src/operations/firewallRules.ts | 10 +- .../src/operations/getPrivateDnsZoneSuffix.ts | 32 +- .../operations/locationBasedCapabilities.ts | 4 +- .../src/operations/operations.ts | 2 +- .../src/operations/servers.ts | 33 +- .../operations/virtualNetworkSubnetUsage.ts | 2 +- .../src/postgreSQLManagementClientContext.ts | 4 +- 19 files changed, 907 insertions(+), 316 deletions(-) diff --git a/sdk/postgresql/arm-postgresql-flexible/package.json b/sdk/postgresql/arm-postgresql-flexible/package.json index 0f5129a384a6..04750712d11c 100644 --- a/sdk/postgresql/arm-postgresql-flexible/package.json +++ b/sdk/postgresql/arm-postgresql-flexible/package.json @@ -2,7 +2,7 @@ "name": "@azure/arm-postgresql-flexible", "author": "Microsoft Corporation", "description": "PostgreSQLManagementClient Library with typescript type definitions for node.js and browser.", - "version": "2.0.0", + "version": "3.0.0", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts index acac8c76e960..e63c693ddc6d 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/configurationsMappers.ts @@ -8,6 +8,7 @@ export { AzureEntityResource, + Backup, BaseResource, CloudError, Configuration, @@ -16,8 +17,10 @@ export { ErrorAdditionalInfo, ErrorResponse, FirewallRule, + HighAvailability, Identity, MaintenanceWindow, + Network, Plan, ProxyResource, Resource, @@ -26,9 +29,8 @@ export { ResourceModelWithAllowedPropertySetPlan, ResourceModelWithAllowedPropertySetSku, Server, - ServerPropertiesDelegatedSubnetArguments, - ServerPropertiesPrivateDnsZoneArguments, Sku, - StorageProfile, + Storage, + SystemData, TrackedResource } from "../models/mappers"; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts index f519c40fac30..3ac50955c92d 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/databasesMappers.ts @@ -8,6 +8,7 @@ export { AzureEntityResource, + Backup, BaseResource, CloudError, Configuration, @@ -16,8 +17,10 @@ export { ErrorAdditionalInfo, ErrorResponse, FirewallRule, + HighAvailability, Identity, MaintenanceWindow, + Network, Plan, ProxyResource, Resource, @@ -26,9 +29,8 @@ export { ResourceModelWithAllowedPropertySetPlan, ResourceModelWithAllowedPropertySetSku, Server, - ServerPropertiesDelegatedSubnetArguments, - ServerPropertiesPrivateDnsZoneArguments, Sku, - StorageProfile, + Storage, + SystemData, TrackedResource } from "../models/mappers"; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts index b60c3edd80c1..19d3f36b91aa 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/firewallRulesMappers.ts @@ -8,6 +8,7 @@ export { AzureEntityResource, + Backup, BaseResource, CloudError, Configuration, @@ -16,8 +17,10 @@ export { ErrorResponse, FirewallRule, FirewallRuleListResult, + HighAvailability, Identity, MaintenanceWindow, + Network, Plan, ProxyResource, Resource, @@ -26,9 +29,8 @@ export { ResourceModelWithAllowedPropertySetPlan, ResourceModelWithAllowedPropertySetSku, Server, - ServerPropertiesDelegatedSubnetArguments, - ServerPropertiesPrivateDnsZoneArguments, Sku, - StorageProfile, + Storage, + SystemData, TrackedResource } from "../models/mappers"; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts index f38a69ae811e..9ad7cffe0b82 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/index.ts @@ -66,6 +66,11 @@ export interface StorageMBCapability { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly storageSizeMB?: number; + /** + * The status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; } /** @@ -92,6 +97,11 @@ export interface VcoreCapability { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportedMemoryPerVcoreMB?: number; + /** + * The status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; } /** @@ -107,6 +117,11 @@ export interface ServerVersionCapability { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportedVcores?: VcoreCapability[]; + /** + * The status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; } /** @@ -122,25 +137,89 @@ export interface StorageEditionCapability { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportedStorageMB?: StorageMBCapability[]; + /** + * The status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; +} + +/** + * node type capability + */ +export interface NodeTypeCapability { + /** + * note type name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * note type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nodeType?: string; + /** + * The status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; +} + +/** + * Flexible server edition capabilities. + */ +export interface FlexibleServerEditionCapability { + /** + * Server edition name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: string; + /** + * The list of editions supported by this server edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedStorageEditions?: StorageEditionCapability[]; + /** + * The list of server versions supported by this server edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedServerVersions?: ServerVersionCapability[]; + /** + * The status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; } /** - * Server edition capabilities. + * Hyperscale node edition capabilities. */ -export interface ServerEditionCapability { +export interface HyperscaleNodeEditionCapability { /** * Server edition name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; /** + * The list of editions supported by this server edition. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportedStorageEditions?: StorageEditionCapability[]; /** + * The list of server versions supported by this server edition. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly supportedServerVersions?: ServerVersionCapability[]; + /** + * The list of Node Types supported by this server edition. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedNodeTypes?: NodeTypeCapability[]; + /** + * The status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; } /** @@ -153,65 +232,124 @@ export interface CapabilityProperties { */ readonly zone?: string; /** + * A value indicating whether a new server in this region can have geo-backups to paired region. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly geoBackupSupported?: boolean; + /** + * A value indicating whether a new server in this region can support multi zone HA. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly zoneRedundantHaSupported?: boolean; + /** + * A value indicating whether a new server in this region can have geo-backups to paired region. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly supportedFlexibleServerEditions?: ServerEditionCapability[]; + readonly zoneRedundantHaAndGeoBackupSupported?: boolean; + /** + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedFlexibleServerEditions?: FlexibleServerEditionCapability[]; + /** + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly supportedHyperscaleNodeEditions?: HyperscaleNodeEditionCapability[]; + /** + * The status + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly status?: string; } /** - * Storage Profile properties of a server + * Storage properties of a server */ -export interface StorageProfile { +export interface Storage { + /** + * Max storage allowed for a server. + */ + storageSizeGB?: number; +} + +/** + * Backup properties of a server + */ +export interface Backup { /** * Backup retention days for the server. */ backupRetentionDays?: number; /** - * Max storage allowed for a server. + * A value indicating whether Geo-Redundant backup is enabled on the server. Possible values + * include: 'Enabled', 'Disabled' */ - storageMB?: number; + geoRedundantBackup?: GeoRedundantBackupEnum; + /** + * The earliest restore point time (ISO8601 format) for server. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly earliestRestoreDate?: Date; } /** - * Maintenance window of a server. + * Network properties of a server */ -export interface MaintenanceWindow { - /** - * indicates whether custom window is enabled or disabled - */ - customWindow?: string; +export interface Network { /** - * start hour for maintenance window + * public network access is enabled or not. Possible values include: 'Enabled', 'Disabled' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - startHour?: number; + readonly publicNetworkAccess?: ServerPublicNetworkAccessState; /** - * start minute for maintenance window + * delegated subnet arm resource id. */ - startMinute?: number; + delegatedSubnetResourceId?: string; /** - * day of week for maintenance window + * private dns zone arm resource id. */ - dayOfWeek?: number; + privateDnsZoneArmResourceId?: string; } /** - * An interface representing ServerPropertiesDelegatedSubnetArguments. + * High availability properties of a server */ -export interface ServerPropertiesDelegatedSubnetArguments { +export interface HighAvailability { /** - * delegated subnet arm resource id. + * The HA mode for the server. Possible values include: 'Disabled', 'ZoneRedundant' */ - subnetArmResourceId?: string; + mode?: HighAvailabilityMode; + /** + * A state of a HA server that is visible to user. Possible values include: 'NotEnabled', + * 'CreatingStandby', 'ReplicatingData', 'FailingOver', 'Healthy', 'RemovingStandby' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly state?: ServerHAState; + /** + * availability zone information of the standby. + */ + standbyAvailabilityZone?: string; } /** - * An interface representing ServerPropertiesPrivateDnsZoneArguments. + * Maintenance window properties of a server. */ -export interface ServerPropertiesPrivateDnsZoneArguments { +export interface MaintenanceWindow { /** - * private dns zone arm resource id. + * indicates whether custom window is enabled or disabled */ - privateDnsZoneArmResourceId?: string; + customWindow?: string; + /** + * start hour for maintenance window + */ + startHour?: number; + /** + * start minute for maintenance window + */ + startMinute?: number; + /** + * day of week for maintenance window + */ + dayOfWeek?: number; } /** @@ -249,6 +387,38 @@ export interface Sku { tier: SkuTier; } +/** + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: Date; +} + /** * Common fields that are returned in the response for all Azure Resource Manager resources * @summary Resource @@ -311,89 +481,73 @@ export interface Server extends TrackedResource { */ administratorLoginPassword?: string; /** - * PostgreSQL Server version. Possible values include: '12', '11' + * PostgreSQL Server version. Possible values include: '13', '12', '11' */ version?: ServerVersion; /** - * A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', - * 'Disabled', 'Starting', 'Stopping', 'Stopped', 'Updating' + * The minor version of the server. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly state?: ServerState; + readonly minorVersion?: string; /** - * A state of a HA server that is visible to user. Possible values include: 'NotEnabled', - * 'CreatingStandby', 'ReplicatingData', 'FailingOver', 'Healthy', 'RemovingStandby' + * A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', + * 'Disabled', 'Starting', 'Stopping', 'Stopped', 'Updating' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly haState?: ServerHAState; + readonly state?: ServerState; /** * The fully qualified domain name of a server. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly fullyQualifiedDomainName?: string; /** - * The display name of a server. + * Storage properties of a server. */ - displayName?: string; + storage?: Storage; /** - * Storage profile of a server. + * Backup properties of a server. */ - storageProfile?: StorageProfile; + backup?: Backup; /** - * public network access is enabled or not. Possible values include: 'Enabled', 'Disabled' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Network properties of a server. */ - readonly publicNetworkAccess?: ServerPublicNetworkAccessState; + network?: Network; /** - * Maintenance window of a server. + * High availability properties of a server. */ - maintenanceWindow?: MaintenanceWindow; + highAvailability?: HighAvailability; /** - * stand by count value can be either enabled or disabled. Possible values include: 'Enabled', - * 'Disabled' + * Maintenance window properties of a server. */ - haEnabled?: HAEnabledEnum; - /** - * The source PostgreSQL server name to restore from. - */ - sourceServerName?: string; - /** - * The subscription id of source serve PostgreSQL server name to restore from. - */ - sourceSubscriptionId?: string; + maintenanceWindow?: MaintenanceWindow; /** - * The resource group name of source serve PostgreSQL server name to restore from. + * The source server resource ID to restore from. It's required when 'createMode' is + * 'PointInTimeRestore'. */ - sourceResourceGroupName?: string; + sourceServerResourceId?: string; /** - * Restore point creation time (ISO8601 format), specifying the time to restore from. + * Restore point creation time (ISO8601 format), specifying the time to restore from. It's + * required when 'createMode' is 'PointInTimeRestore'. */ pointInTimeUTC?: Date; /** - * availability Zone information of the server. + * availability zone information of the server. */ availabilityZone?: string; /** - * availability Zone information of the server. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly standbyAvailabilityZone?: string; - /** - * Status showing whether the data encryption is enabled with customer-managed keys. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly byokEnforcement?: string; - delegatedSubnetArguments?: ServerPropertiesDelegatedSubnetArguments; - privateDnsZoneArguments?: ServerPropertiesPrivateDnsZoneArguments; - /** - * The mode to create a new PostgreSQL server. Possible values include: 'Default', - * 'PointInTimeRestore' + * The mode to create a new PostgreSQL server. Possible values include: 'Default', 'Create', + * 'Update', 'PointInTimeRestore' */ createMode?: CreateMode; /** * Application-specific metadata in the form of key-value pairs. */ serverTags?: { [propertyName: string]: string }; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -413,18 +567,25 @@ export interface ServerForUpdate { */ administratorLoginPassword?: string; /** - * Storage profile of a server. + * Storage properties of a server. + */ + storage?: Storage; + /** + * Backup properties of a server. */ - storageProfile?: StorageProfile; + backup?: Backup; /** - * stand by count value can be either enabled or disabled. Possible values include: 'Enabled', - * 'Disabled' + * High availability properties of a server. */ - haEnabled?: HAEnabledEnum; + highAvailability?: HighAvailability; /** - * Maintenance window of a server. + * Maintenance window properties of a server. */ maintenanceWindow?: MaintenanceWindow; + /** + * The mode to update a new PostgreSQL server. Possible values include: 'Default', 'Update' + */ + createMode?: CreateModeForUpdate; /** * Application-specific metadata in the form of key-value pairs. */ @@ -451,6 +612,11 @@ export interface FirewallRule extends ProxyResource { * The end IP address of the server firewall rule. Must be IPv4 format. */ endIpAddress: string; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -486,6 +652,11 @@ export interface Configuration extends ProxyResource { * Source of the configuration. */ source?: string; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -596,6 +767,20 @@ export interface NameAvailability { type?: string; } +/** + * Represents server restart parameters. + */ +export interface RestartParameter { + /** + * Indicates whether to restart the server with failover. + */ + restartWithFailover?: boolean; + /** + * Failover mode. + */ + failoverMode?: string; +} + /** * The resource management error additional info. */ @@ -772,6 +957,31 @@ export interface Database extends ProxyResource { * The collation of the database. */ collation?: string; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; +} + +/** + * Optional Parameters. + */ +export interface ServersRestartOptionalParams extends msRest.RequestOptionsBase { + /** + * The parameters for restarting a server. + */ + parameters?: RestartParameter; +} + +/** + * Optional Parameters. + */ +export interface ServersBeginRestartOptionalParams extends msRest.RequestOptionsBase { + /** + * The parameters for restarting a server. + */ + parameters?: RestartParameter; } /** @@ -844,11 +1054,11 @@ export interface DatabaseListResult extends Array { /** * Defines values for ServerVersion. - * Possible values include: '12', '11' + * Possible values include: '13', '12', '11' * @readonly * @enum {string} */ -export type ServerVersion = '12' | '11'; +export type ServerVersion = '13' | '12' | '11'; /** * Defines values for ServerState. @@ -860,13 +1070,12 @@ export type ServerVersion = '12' | '11'; export type ServerState = 'Ready' | 'Dropping' | 'Disabled' | 'Starting' | 'Stopping' | 'Stopped' | 'Updating'; /** - * Defines values for ServerHAState. - * Possible values include: 'NotEnabled', 'CreatingStandby', 'ReplicatingData', 'FailingOver', - * 'Healthy', 'RemovingStandby' + * Defines values for GeoRedundantBackupEnum. + * Possible values include: 'Enabled', 'Disabled' * @readonly * @enum {string} */ -export type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData' | 'FailingOver' | 'Healthy' | 'RemovingStandby'; +export type GeoRedundantBackupEnum = 'Enabled' | 'Disabled'; /** * Defines values for ServerPublicNetworkAccessState. @@ -877,20 +1086,29 @@ export type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData' export type ServerPublicNetworkAccessState = 'Enabled' | 'Disabled'; /** - * Defines values for HAEnabledEnum. - * Possible values include: 'Enabled', 'Disabled' + * Defines values for HighAvailabilityMode. + * Possible values include: 'Disabled', 'ZoneRedundant' * @readonly * @enum {string} */ -export type HAEnabledEnum = 'Enabled' | 'Disabled'; +export type HighAvailabilityMode = 'Disabled' | 'ZoneRedundant'; + +/** + * Defines values for ServerHAState. + * Possible values include: 'NotEnabled', 'CreatingStandby', 'ReplicatingData', 'FailingOver', + * 'Healthy', 'RemovingStandby' + * @readonly + * @enum {string} + */ +export type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData' | 'FailingOver' | 'Healthy' | 'RemovingStandby'; /** * Defines values for CreateMode. - * Possible values include: 'Default', 'PointInTimeRestore' + * Possible values include: 'Default', 'Create', 'Update', 'PointInTimeRestore' * @readonly * @enum {string} */ -export type CreateMode = 'Default' | 'PointInTimeRestore'; +export type CreateMode = 'Default' | 'Create' | 'Update' | 'PointInTimeRestore'; /** * Defines values for ResourceIdentityType. @@ -908,6 +1126,22 @@ export type ResourceIdentityType = 'SystemAssigned'; */ export type SkuTier = 'Burstable' | 'GeneralPurpose' | 'MemoryOptimized'; +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + +/** + * Defines values for CreateModeForUpdate. + * Possible values include: 'Default', 'Update' + * @readonly + * @enum {string} + */ +export type CreateModeForUpdate = 'Default' | 'Update'; + /** * Defines values for ConfigurationDataType. * Possible values include: 'Boolean', 'Numeric', 'Integer', 'Enumeration' @@ -924,14 +1158,6 @@ export type ConfigurationDataType = 'Boolean' | 'Numeric' | 'Integer' | 'Enumera */ export type OperationOrigin = 'NotSpecified' | 'user' | 'system'; -/** - * Defines values for Body. - * Possible values include: 'PostgreSQL', 'PostgreSQLCitus', 'MySQL', 'MariaDb', 'Oracle' - * @readonly - * @enum {string} - */ -export type Body = 'PostgreSQL' | 'PostgreSQLCitus' | 'MySQL' | 'MariaDb' | 'Oracle'; - /** * Contains response data for the create operation. */ @@ -1272,6 +1498,26 @@ export type ConfigurationsUpdateResponse = Configuration & { }; }; +/** + * Contains response data for the put operation. + */ +export type ConfigurationsPutResponse = Configuration & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Configuration; + }; +}; + /** * Contains response data for the beginUpdate operation. */ @@ -1292,6 +1538,26 @@ export type ConfigurationsBeginUpdateResponse = Configuration & { }; }; +/** + * Contains response data for the beginPut operation. + */ +export type ConfigurationsBeginPutResponse = Configuration & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: Configuration; + }; +}; + /** * Contains response data for the listByServerNext operation. */ diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/locationBasedCapabilitiesMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/locationBasedCapabilitiesMappers.ts index d8ca8f65034d..731cba513de0 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/locationBasedCapabilitiesMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/locationBasedCapabilitiesMappers.ts @@ -12,7 +12,9 @@ export { CloudError, ErrorAdditionalInfo, ErrorResponse, - ServerEditionCapability, + FlexibleServerEditionCapability, + HyperscaleNodeEditionCapability, + NodeTypeCapability, ServerVersionCapability, StorageEditionCapability, StorageMBCapability, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts index 0f33f76e46ce..0069331612de 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/mappers.ts @@ -101,6 +101,13 @@ export const StorageMBCapability: msRest.CompositeMapper = { type: { name: "Number" } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } } } } @@ -139,6 +146,13 @@ export const VcoreCapability: msRest.CompositeMapper = { type: { name: "Number" } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } } } } @@ -169,6 +183,13 @@ export const ServerVersionCapability: msRest.CompositeMapper = { } } } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } } } } @@ -199,16 +220,54 @@ export const StorageEditionCapability: msRest.CompositeMapper = { } } } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } } } } }; -export const ServerEditionCapability: msRest.CompositeMapper = { - serializedName: "ServerEditionCapability", +export const NodeTypeCapability: msRest.CompositeMapper = { + serializedName: "NodeTypeCapability", type: { name: "Composite", - className: "ServerEditionCapability", + className: "NodeTypeCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + nodeType: { + readOnly: true, + serializedName: "nodeType", + type: { + name: "String" + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const FlexibleServerEditionCapability: msRest.CompositeMapper = { + serializedName: "FlexibleServerEditionCapability", + type: { + name: "Composite", + className: "FlexibleServerEditionCapability", modelProperties: { name: { readOnly: true, @@ -242,6 +301,76 @@ export const ServerEditionCapability: msRest.CompositeMapper = { } } } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } + } + } + } +}; + +export const HyperscaleNodeEditionCapability: msRest.CompositeMapper = { + serializedName: "HyperscaleNodeEditionCapability", + type: { + name: "Composite", + className: "HyperscaleNodeEditionCapability", + modelProperties: { + name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + supportedStorageEditions: { + readOnly: true, + serializedName: "supportedStorageEditions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "StorageEditionCapability" + } + } + } + }, + supportedServerVersions: { + readOnly: true, + serializedName: "supportedServerVersions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ServerVersionCapability" + } + } + } + }, + supportedNodeTypes: { + readOnly: true, + serializedName: "supportedNodeTypes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NodeTypeCapability" + } + } + } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } } } } @@ -260,6 +389,27 @@ export const CapabilityProperties: msRest.CompositeMapper = { name: "String" } }, + geoBackupSupported: { + readOnly: true, + serializedName: "geoBackupSupported", + type: { + name: "Boolean" + } + }, + zoneRedundantHaSupported: { + readOnly: true, + serializedName: "zoneRedundantHaSupported", + type: { + name: "Boolean" + } + }, + zoneRedundantHaAndGeoBackupSupported: { + readOnly: true, + serializedName: "zoneRedundantHaAndGeoBackupSupported", + type: { + name: "Boolean" + } + }, supportedFlexibleServerEditions: { readOnly: true, serializedName: "supportedFlexibleServerEditions", @@ -268,20 +418,56 @@ export const CapabilityProperties: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "ServerEditionCapability" + className: "FlexibleServerEditionCapability" + } + } + } + }, + supportedHyperscaleNodeEditions: { + readOnly: true, + serializedName: "supportedHyperscaleNodeEditions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HyperscaleNodeEditionCapability" } } } + }, + status: { + readOnly: true, + serializedName: "status", + type: { + name: "String" + } } } } }; -export const StorageProfile: msRest.CompositeMapper = { - serializedName: "StorageProfile", +export const Storage: msRest.CompositeMapper = { + serializedName: "Storage", type: { name: "Composite", - className: "StorageProfile", + className: "Storage", + modelProperties: { + storageSizeGB: { + serializedName: "storageSizeGB", + type: { + name: "Number" + } + } + } + } +}; + +export const Backup: msRest.CompositeMapper = { + serializedName: "Backup", + type: { + name: "Composite", + className: "Backup", modelProperties: { backupRetentionDays: { serializedName: "backupRetentionDays", @@ -289,58 +475,73 @@ export const StorageProfile: msRest.CompositeMapper = { name: "Number" } }, - storageMB: { - serializedName: "storageMB", + geoRedundantBackup: { + serializedName: "geoRedundantBackup", type: { - name: "Number" + name: "String" + } + }, + earliestRestoreDate: { + readOnly: true, + serializedName: "earliestRestoreDate", + type: { + name: "DateTime" } } } } }; -export const MaintenanceWindow: msRest.CompositeMapper = { - serializedName: "MaintenanceWindow", +export const Network: msRest.CompositeMapper = { + serializedName: "Network", type: { name: "Composite", - className: "MaintenanceWindow", + className: "Network", modelProperties: { - customWindow: { - serializedName: "customWindow", + publicNetworkAccess: { + readOnly: true, + serializedName: "publicNetworkAccess", type: { name: "String" } }, - startHour: { - serializedName: "startHour", - type: { - name: "Number" - } - }, - startMinute: { - serializedName: "startMinute", + delegatedSubnetResourceId: { + serializedName: "delegatedSubnetResourceId", type: { - name: "Number" + name: "String" } }, - dayOfWeek: { - serializedName: "dayOfWeek", + privateDnsZoneArmResourceId: { + serializedName: "privateDnsZoneArmResourceId", type: { - name: "Number" + name: "String" } } } } }; -export const ServerPropertiesDelegatedSubnetArguments: msRest.CompositeMapper = { - serializedName: "ServerProperties_delegatedSubnetArguments", +export const HighAvailability: msRest.CompositeMapper = { + serializedName: "HighAvailability", type: { name: "Composite", - className: "ServerPropertiesDelegatedSubnetArguments", + className: "HighAvailability", modelProperties: { - subnetArmResourceId: { - serializedName: "subnetArmResourceId", + mode: { + serializedName: "mode", + type: { + name: "String" + } + }, + state: { + readOnly: true, + serializedName: "state", + type: { + name: "String" + } + }, + standbyAvailabilityZone: { + serializedName: "standbyAvailabilityZone", type: { name: "String" } @@ -349,17 +550,35 @@ export const ServerPropertiesDelegatedSubnetArguments: msRest.CompositeMapper = } }; -export const ServerPropertiesPrivateDnsZoneArguments: msRest.CompositeMapper = { - serializedName: "ServerProperties_privateDnsZoneArguments", +export const MaintenanceWindow: msRest.CompositeMapper = { + serializedName: "MaintenanceWindow", type: { name: "Composite", - className: "ServerPropertiesPrivateDnsZoneArguments", + className: "MaintenanceWindow", modelProperties: { - privateDnsZoneArmResourceId: { - serializedName: "privateDnsZoneArmResourceId", + customWindow: { + serializedName: "customWindow", type: { name: "String" } + }, + startHour: { + serializedName: "startHour", + type: { + name: "Number" + } + }, + startMinute: { + serializedName: "startMinute", + type: { + name: "Number" + } + }, + dayOfWeek: { + serializedName: "dayOfWeek", + type: { + name: "Number" + } } } } @@ -422,6 +641,52 @@ export const Sku: msRest.CompositeMapper = { } }; +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + export const Resource: msRest.CompositeMapper = { serializedName: "Resource", type: { @@ -521,16 +786,16 @@ export const Server: msRest.CompositeMapper = { name: "String" } }, - state: { + minorVersion: { readOnly: true, - serializedName: "properties.state", + serializedName: "properties.minorVersion", type: { name: "String" } }, - haState: { + state: { readOnly: true, - serializedName: "properties.haState", + serializedName: "properties.state", type: { name: "String" } @@ -542,57 +807,43 @@ export const Server: msRest.CompositeMapper = { name: "String" } }, - displayName: { - serializedName: "properties.displayName", - type: { - name: "String" - } - }, - storageProfile: { - serializedName: "properties.storageProfile", + storage: { + serializedName: "properties.storage", type: { name: "Composite", - className: "StorageProfile" + className: "Storage" } }, - publicNetworkAccess: { - readOnly: true, - serializedName: "properties.publicNetworkAccess", - type: { - name: "String" - } - }, - maintenanceWindow: { - serializedName: "properties.maintenanceWindow", + backup: { + serializedName: "properties.backup", type: { name: "Composite", - className: "MaintenanceWindow" + className: "Backup" } }, - haEnabled: { - serializedName: "properties.haEnabled", + network: { + serializedName: "properties.network", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] + name: "Composite", + className: "Network" } }, - sourceServerName: { - serializedName: "properties.sourceServerName", + highAvailability: { + serializedName: "properties.highAvailability", type: { - name: "String" + name: "Composite", + className: "HighAvailability" } }, - sourceSubscriptionId: { - serializedName: "properties.sourceSubscriptionId", + maintenanceWindow: { + serializedName: "properties.maintenanceWindow", type: { - name: "String" + name: "Composite", + className: "MaintenanceWindow" } }, - sourceResourceGroupName: { - serializedName: "properties.sourceResourceGroupName", + sourceServerResourceId: { + serializedName: "properties.sourceServerResourceId", type: { name: "String" } @@ -609,34 +860,6 @@ export const Server: msRest.CompositeMapper = { name: "String" } }, - standbyAvailabilityZone: { - readOnly: true, - serializedName: "properties.standbyAvailabilityZone", - type: { - name: "String" - } - }, - byokEnforcement: { - readOnly: true, - serializedName: "properties.byokEnforcement", - type: { - name: "String" - } - }, - delegatedSubnetArguments: { - serializedName: "properties.delegatedSubnetArguments", - type: { - name: "Composite", - className: "ServerPropertiesDelegatedSubnetArguments" - } - }, - privateDnsZoneArguments: { - serializedName: "properties.privateDnsZoneArguments", - type: { - name: "Composite", - className: "ServerPropertiesPrivateDnsZoneArguments" - } - }, createMode: { serializedName: "properties.createMode", type: { @@ -653,6 +876,14 @@ export const Server: msRest.CompositeMapper = { } } } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -683,21 +914,25 @@ export const ServerForUpdate: msRest.CompositeMapper = { name: "String" } }, - storageProfile: { - serializedName: "properties.storageProfile", + storage: { + serializedName: "properties.storage", type: { name: "Composite", - className: "StorageProfile" + className: "Storage" } }, - haEnabled: { - serializedName: "properties.haEnabled", + backup: { + serializedName: "properties.backup", type: { - name: "Enum", - allowedValues: [ - "Enabled", - "Disabled" - ] + name: "Composite", + className: "Backup" + } + }, + highAvailability: { + serializedName: "properties.highAvailability", + type: { + name: "Composite", + className: "HighAvailability" } }, maintenanceWindow: { @@ -707,6 +942,12 @@ export const ServerForUpdate: msRest.CompositeMapper = { className: "MaintenanceWindow" } }, + createMode: { + serializedName: "properties.createMode", + type: { + name: "String" + } + }, tags: { serializedName: "tags", type: { @@ -759,6 +1000,14 @@ export const FirewallRule: msRest.CompositeMapper = { type: { name: "String" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -810,6 +1059,14 @@ export const Configuration: msRest.CompositeMapper = { type: { name: "String" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -988,6 +1245,28 @@ export const NameAvailability: msRest.CompositeMapper = { } }; +export const RestartParameter: msRest.CompositeMapper = { + serializedName: "RestartParameter", + type: { + name: "Composite", + className: "RestartParameter", + modelProperties: { + restartWithFailover: { + serializedName: "restartWithFailover", + type: { + name: "Boolean" + } + }, + failoverMode: { + serializedName: "failoverMode", + type: { + name: "String" + } + } + } + } +}; + export const ErrorAdditionalInfo: msRest.CompositeMapper = { serializedName: "ErrorAdditionalInfo", type: { @@ -1272,6 +1551,14 @@ export const Database: msRest.CompositeMapper = { type: { name: "String" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/parameters.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/parameters.ts index 57a1ec746a91..de9e3c42451a 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/parameters.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/parameters.ts @@ -19,43 +19,11 @@ export const acceptLanguage: msRest.OperationParameter = { } } }; -export const apiVersion0: msRest.OperationQueryParameter = { +export const apiVersion: msRest.OperationQueryParameter = { parameterPath: "apiVersion", mapper: { required: true, - isConstant: true, serializedName: "api-version", - defaultValue: '2020-02-14-preview', - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } -}; -export const apiVersion1: msRest.OperationQueryParameter = { - parameterPath: "apiVersion", - mapper: { - required: true, - isConstant: true, - serializedName: "api-version", - defaultValue: '2020-11-05-preview', - constraints: { - MinLength: 1 - }, - type: { - name: "String" - } - } -}; -export const apiVersion2: msRest.OperationQueryParameter = { - parameterPath: "apiVersion", - mapper: { - required: true, - isConstant: true, - serializedName: "api-version", - defaultValue: '2021-03-31-privatepreview', constraints: { MinLength: 1 }, diff --git a/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts b/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts index 980b29e943e4..121df0cf53d1 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/models/serversMappers.ts @@ -8,6 +8,7 @@ export { AzureEntityResource, + Backup, BaseResource, CloudError, Configuration, @@ -15,8 +16,10 @@ export { ErrorAdditionalInfo, ErrorResponse, FirewallRule, + HighAvailability, Identity, MaintenanceWindow, + Network, Plan, ProxyResource, Resource, @@ -24,12 +27,12 @@ export { ResourceModelWithAllowedPropertySetIdentity, ResourceModelWithAllowedPropertySetPlan, ResourceModelWithAllowedPropertySetSku, + RestartParameter, Server, ServerForUpdate, ServerListResult, - ServerPropertiesDelegatedSubnetArguments, - ServerPropertiesPrivateDnsZoneArguments, Sku, - StorageProfile, + Storage, + SystemData, TrackedResource } from "../models/mappers"; diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts index 8d21d47efba5..b91464de1da5 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/checkNameAvailability.ts @@ -66,7 +66,7 @@ const executeOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts index b8464f046acb..3c43d0482b49 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/configurations.ts @@ -108,6 +108,20 @@ export class Configurations { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Updates a configuration of a server. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serverName The name of the server. + * @param configurationName The name of the server configuration. + * @param parameters The required parameters for updating a server configuration. + * @param [options] The optional parameters + * @returns Promise + */ + put(resourceGroupName: string, serverName: string, configurationName: string, parameters: Models.Configuration, options?: msRest.RequestOptionsBase): Promise { + return this.beginPut(resourceGroupName,serverName,configurationName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Updates a configuration of a server. * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -130,6 +144,28 @@ export class Configurations { options); } + /** + * Updates a configuration of a server. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param serverName The name of the server. + * @param configurationName The name of the server configuration. + * @param parameters The required parameters for updating a server configuration. + * @param [options] The optional parameters + * @returns Promise + */ + beginPut(resourceGroupName: string, serverName: string, configurationName: string, parameters: Models.Configuration, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + serverName, + configurationName, + parameters, + options + }, + beginPutOperationSpec, + options); + } + /** * List all the configurations in a given server. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -170,7 +206,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -196,7 +232,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.configurationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -222,7 +258,41 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.configurationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.Configuration, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.Configuration + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginPutOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/flexibleServers/{serverName}/configurations/{configurationName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.serverName, + Parameters.configurationName + ], + queryParameters: [ + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -254,7 +324,7 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts index 2ac841ead905..92c5fdc95bd9 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/databases.ts @@ -204,7 +204,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.databaseName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -255,7 +255,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.databaseName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -292,7 +292,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.databaseName ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion1 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts index c643e1f139a2..82417e785e5b 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/firewallRules.ts @@ -204,7 +204,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.firewallRuleName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -229,7 +229,7 @@ const listByServerOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -255,7 +255,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.firewallRuleName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -292,7 +292,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.firewallRuleName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -316,7 +316,7 @@ const listByServerNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts index 59a5549084b4..cf523a0e02fd 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/getPrivateDnsZoneSuffix.ts @@ -27,29 +27,22 @@ export class GetPrivateDnsZoneSuffix { /** * Get private DNS zone suffix in the cloud - * @param body The required parameters for getting private DNS zone suffix based on server type. - * Possible values include: 'PostgreSQL', 'PostgreSQLCitus', 'MySQL', 'MariaDb', 'Oracle' * @param [options] The optional parameters * @returns Promise */ - execute(body: Models.Body, options?: msRest.RequestOptionsBase): Promise; + execute(options?: msRest.RequestOptionsBase): Promise; /** - * @param body The required parameters for getting private DNS zone suffix based on server type. - * Possible values include: 'PostgreSQL', 'PostgreSQLCitus', 'MySQL', 'MariaDb', 'Oracle' * @param callback The callback */ - execute(body: Models.Body, callback: msRest.ServiceCallback): void; + execute(callback: msRest.ServiceCallback): void; /** - * @param body The required parameters for getting private DNS zone suffix based on server type. - * Possible values include: 'PostgreSQL', 'PostgreSQLCitus', 'MySQL', 'MariaDb', 'Oracle' * @param options The optional parameters * @param callback The callback */ - execute(body: Models.Body, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - execute(body: Models.Body, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + execute(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + execute(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { - body, options }, executeOperationSpec, @@ -61,26 +54,13 @@ export class GetPrivateDnsZoneSuffix { const serializer = new msRest.Serializer(Mappers); const executeOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/getPrivateDnsZoneSuffix", - urlParameters: [ - Parameters.subscriptionId - ], + path: "providers/Microsoft.DBForPostgreSql/getPrivateDnsZoneSuffix", queryParameters: [ - Parameters.apiVersion2 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "body", - mapper: { - required: true, - serializedName: "body", - type: { - name: "String" - } - } - }, responses: { 200: { bodyMapper: { diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts index 4c5cb150cb80..0bafacc33c84 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/locationBasedCapabilities.ts @@ -92,7 +92,7 @@ const executeOperationSpec: msRest.OperationSpec = { Parameters.locationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -116,7 +116,7 @@ const executeNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts index 079d53b2dd21..155dbe32fe3d 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/operations.ts @@ -56,7 +56,7 @@ const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "providers/Microsoft.DBForPostgreSql/operations", queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts index 8f552abd68e6..03f8a8b190f3 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/servers.ts @@ -156,7 +156,7 @@ export class Servers { * @param [options] The optional parameters * @returns Promise */ - restart(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + restart(resourceGroupName: string, serverName: string, options?: Models.ServersRestartOptionalParams): Promise { return this.beginRestart(resourceGroupName,serverName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } @@ -251,7 +251,7 @@ export class Servers { * @param [options] The optional parameters * @returns Promise */ - beginRestart(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise { + beginRestart(resourceGroupName: string, serverName: string, options?: Models.ServersBeginRestartOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -366,7 +366,7 @@ const getOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -390,7 +390,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { Parameters.resourceGroupName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -413,7 +413,7 @@ const listOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -438,7 +438,7 @@ const beginCreateOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -474,7 +474,7 @@ const beginUpdateOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -507,7 +507,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -532,11 +532,18 @@ const beginRestartOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: [ + "options", + "parameters" + ], + mapper: Mappers.RestartParameter + }, responses: { 200: {}, 202: {}, @@ -556,7 +563,7 @@ const beginStartOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -580,7 +587,7 @@ const beginStopOperationSpec: msRest.OperationSpec = { Parameters.serverName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -603,7 +610,7 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage @@ -627,7 +634,7 @@ const listNextOperationSpec: msRest.OperationSpec = { Parameters.nextPageLink ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts b/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts index 7132c84f1eaf..dbd7f7574e1f 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/operations/virtualNetworkSubnetUsage.ts @@ -68,7 +68,7 @@ const executeOperationSpec: msRest.OperationSpec = { Parameters.locationName ], queryParameters: [ - Parameters.apiVersion0 + Parameters.apiVersion ], headerParameters: [ Parameters.acceptLanguage diff --git a/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClientContext.ts b/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClientContext.ts index 1b12aa2e9d10..5366ffd5f270 100644 --- a/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClientContext.ts +++ b/sdk/postgresql/arm-postgresql-flexible/src/postgreSQLManagementClientContext.ts @@ -13,10 +13,11 @@ import * as msRestAzure from "@azure/ms-rest-azure-js"; import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-postgresql-flexible"; -const packageVersion = "2.0.0"; +const packageVersion = "3.0.0"; export class PostgreSQLManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials | TokenCredential; + apiVersion?: string; subscriptionId: string; /** @@ -48,6 +49,7 @@ export class PostgreSQLManagementClientContext extends msRestAzure.AzureServiceC super(credentials, options); + this.apiVersion = '2021-06-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; From 24c4d4688bcfc5a93df4f181403ffabe207f2a72 Mon Sep 17 00:00:00 2001 From: Wei Dong <40835867+dw511214992@users.noreply.github.com> Date: Mon, 12 Jul 2021 08:53:59 +0800 Subject: [PATCH 132/134] bugfix (#16329) --- sdk/reservations/arm-reservations/README.md | 117 ++++++++++-------- .../arm-reservations/package.json | 9 +- .../src/azureReservationAPI.ts | 10 +- .../src/azureReservationAPIContext.ts | 14 ++- sdk/subscription/arm-subscriptions/README.md | 107 ++++++++-------- .../arm-subscriptions/package.json | 9 +- .../src/subscriptionClient.ts | 10 +- .../src/subscriptionClientContext.ts | 14 ++- 8 files changed, 169 insertions(+), 121 deletions(-) diff --git a/sdk/reservations/arm-reservations/README.md b/sdk/reservations/arm-reservations/README.md index 156ab2e58ad8..0e5eb07ebc3c 100644 --- a/sdk/reservations/arm-reservations/README.md +++ b/sdk/reservations/arm-reservations/README.md @@ -1,94 +1,107 @@ ## Azure AzureReservationAPI SDK for JavaScript -This package contains an isomorphic SDK for AzureReservationAPI. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureReservationAPI. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-reservations` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-reservations +npm install --save @azure/arm-reservations @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and get quota as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and get quota as an example written in JavaScript. ##### Sample code ```javascript +const { DefaultAzureCredential } = require("@azure/identity"); const { AzureReservationAPI } = require("@azure/arm-reservations"); -const { interactiveLogin } = require("@azure/ms-rest-nodeauth"); - -interactiveLogin().then((creds) => { - const client = new AzureReservationAPI(creds); - const subscriptionId = "testsubscriptionId"; - const providerId = "testproviderId"; - const location = "westus"; - const resourceName = "testresourceName"; - client.quota.get(subscriptionId, providerId, location, resourceName).then((result) => { - console.log("The result is:"); - console.log(result); - }); +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new AzureReservationAPI(creds, subscriptionId); +const testSubscriptionId = "testsubscriptionId"; +const providerId = "testproviderId"; +const location = "westus"; +const resourceName = "testresourceName"; +client.quota.get(testSubscriptionId, providerId, location, resourceName).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and get quota as an example written in JavaScript. +#### browser - Authentication, client creation, and get quota as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-reservations sample - - + diff --git a/sdk/reservations/arm-reservations/package.json b/sdk/reservations/arm-reservations/package.json index 3ed3ffb6d440..30a5d2de2c52 100644 --- a/sdk/reservations/arm-reservations/package.json +++ b/sdk/reservations/arm-reservations/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-reservations", "author": "Microsoft Corporation", "description": "AzureReservationAPI Library with typescript type definitions for node.js and browser.", - "version": "6.0.0", + "version": "6.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/azureReservationAPI.js", "types": "./esm/azureReservationAPI.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/reservations/arm-reservations/src/azureReservationAPI.ts b/sdk/reservations/arm-reservations/src/azureReservationAPI.ts index 6f761cb07da8..93f338093fde 100644 --- a/sdk/reservations/arm-reservations/src/azureReservationAPI.ts +++ b/sdk/reservations/arm-reservations/src/azureReservationAPI.ts @@ -8,6 +8,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as Parameters from "./models/parameters"; @@ -27,10 +28,15 @@ class AzureReservationAPI extends AzureReservationAPIContext { /** * Initializes a new instance of the AzureReservationAPI class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.AzureReservationAPIOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.AzureReservationAPIOptions) { super(credentials, options); this.reservation = new operations.Reservation(this); this.reservationOrder = new operations.ReservationOrder(this); diff --git a/sdk/reservations/arm-reservations/src/azureReservationAPIContext.ts b/sdk/reservations/arm-reservations/src/azureReservationAPIContext.ts index 49da34adf76d..e068f355fc82 100644 --- a/sdk/reservations/arm-reservations/src/azureReservationAPIContext.ts +++ b/sdk/reservations/arm-reservations/src/azureReservationAPIContext.ts @@ -9,20 +9,26 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-reservations"; -const packageVersion = "6.0.0"; +const packageVersion = "6.1.0"; export class AzureReservationAPIContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; /** * Initializes a new instance of the AzureReservationAPI class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.AzureReservationAPIOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.AzureReservationAPIOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } diff --git a/sdk/subscription/arm-subscriptions/README.md b/sdk/subscription/arm-subscriptions/README.md index e57ebc12be19..2b3b9e76e8c9 100644 --- a/sdk/subscription/arm-subscriptions/README.md +++ b/sdk/subscription/arm-subscriptions/README.md @@ -1,92 +1,101 @@ ## Azure SubscriptionClient SDK for JavaScript -This package contains an isomorphic SDK for SubscriptionClient. +This package contains an isomorphic SDK (runs both in Node.js and in browsers) for SubscriptionClient. ### Currently supported environments -- Node.js version 6.x.x or higher -- Browser JavaScript +- [LTS versions of Node.js](https://nodejs.org/about/releases/) +- Latest versions of Safari, Chrome, Edge, and Firefox. -### How to Install +### Prerequisites +You must have an [Azure subscription](https://azure.microsoft.com/free/). + +### How to install + +To use this SDK in your project, you will need to install two packages. +- `@azure/arm-subscriptions` that contains the client. +- `@azure/identity` that provides different mechanisms for the client to authenticate your requests using Azure Active Directory. + +Install both packages using the below command: ```bash -npm install @azure/arm-subscriptions +npm install --save @azure/arm-subscriptions @azure/identity ``` +> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. +If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. + ### How to use -#### nodejs - Authentication, client creation and listLocations subscriptions as an example written in TypeScript. +- If you are writing a client side browser application, + - Follow the instructions in the section on Authenticating client side browser applications in [Azure Identity examples](https://aka.ms/azsdk/js/identity/examples) to register your application in the Microsoft identity platform and set the right permissions. + - Copy the client ID and tenant ID from the Overview section of your app registration in Azure portal and use it in the browser sample below. +- If you are writing a server side application, + - [Select a credential from `@azure/identity` based on the authentication method of your choice](https://aka.ms/azsdk/js/identity/examples) + - Complete the set up steps required by the credential if any. + - Use the credential you picked in the place of `DefaultAzureCredential` in the Node.js sample below. -##### Install @azure/ms-rest-nodeauth +In the below samples, we pass the credential and the Azure subscription id to instantiate the client. +Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. -- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. -```bash -npm install @azure/ms-rest-nodeauth@"^3.0.0" -``` +#### nodejs - Authentication, client creation, and listLocations subscriptions as an example written in JavaScript. ##### Sample code -```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { SubscriptionClient, SubscriptionModels, SubscriptionMappers } from "@azure/arm-subscriptions"; +```javascript +const { DefaultAzureCredential } = require("@azure/identity"); +const { SubscriptionClient } = require("@azure/arm-subscriptions"); const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; -msRestNodeAuth.interactiveLogin().then((creds) => { - const client = new SubscriptionClient(creds, subscriptionId); - const subscriptionId = "testsubscriptionId"; - client.subscriptions.listLocations(subscriptionId).then((result) => { - console.log("The result is:"); - console.log(result); - }); +// Use `DefaultAzureCredential` or any other credential of your choice based on https://aka.ms/azsdk/js/identity/examples +// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. +const creds = new DefaultAzureCredential(); +const client = new SubscriptionClient(creds, subscriptionId); +const testSubscriptionId = "testsubscriptionId"; +client.subscriptions.listLocations(testSubscriptionId).then((result) => { + console.log("The result is:"); + console.log(result); }).catch((err) => { + console.log("An error occurred:"); console.error(err); }); ``` -#### browser - Authentication, client creation and listLocations subscriptions as an example written in JavaScript. +#### browser - Authentication, client creation, and listLocations subscriptions as an example written in JavaScript. -##### Install @azure/ms-rest-browserauth - -```bash -npm install @azure/ms-rest-browserauth -``` +In browser applications, we recommend using the `InteractiveBrowserCredential` that interactively authenticates using the default system browser. + - See [Single-page application: App registration guide](https://docs.microsoft.com/azure/active-directory/develop/scenario-spa-app-registration) to configure your app registration for the browser. + - Note down the client Id from the previous step and use it in the browser sample below. ##### Sample code -See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to Azure in the browser. - - index.html + ```html @azure/arm-subscriptions sample - - + diff --git a/sdk/subscription/arm-subscriptions/package.json b/sdk/subscription/arm-subscriptions/package.json index 6f56ecd0b90b..496e84d39a30 100644 --- a/sdk/subscription/arm-subscriptions/package.json +++ b/sdk/subscription/arm-subscriptions/package.json @@ -2,10 +2,11 @@ "name": "@azure/arm-subscriptions", "author": "Microsoft Corporation", "description": "SubscriptionClient Library with typescript type definitions for node.js and browser.", - "version": "3.0.0", + "version": "3.1.0", "dependencies": { - "@azure/ms-rest-azure-js": "^2.0.1", - "@azure/ms-rest-js": "^2.0.4", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", + "@azure/core-auth": "^1.1.4", "tslib": "^1.10.0" }, "keywords": [ @@ -20,7 +21,7 @@ "module": "./esm/subscriptionClient.js", "types": "./esm/subscriptionClient.d.ts", "devDependencies": { - "typescript": "^3.5.3", + "typescript": "^3.6.0", "rollup": "^1.18.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", diff --git a/sdk/subscription/arm-subscriptions/src/subscriptionClient.ts b/sdk/subscription/arm-subscriptions/src/subscriptionClient.ts index e09ea265f1f4..1422cd860dec 100644 --- a/sdk/subscription/arm-subscriptions/src/subscriptionClient.ts +++ b/sdk/subscription/arm-subscriptions/src/subscriptionClient.ts @@ -9,6 +9,7 @@ */ import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as Models from "./models"; import * as Mappers from "./models/mappers"; import * as operations from "./operations"; @@ -25,10 +26,15 @@ class SubscriptionClient extends SubscriptionClientContext { /** * Initializes a new instance of the SubscriptionClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.SubscriptionClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.SubscriptionClientOptions) { super(credentials, options); this.subscriptions = new operations.Subscriptions(this); this.tenants = new operations.Tenants(this); diff --git a/sdk/subscription/arm-subscriptions/src/subscriptionClientContext.ts b/sdk/subscription/arm-subscriptions/src/subscriptionClientContext.ts index e04e4ea0027c..3971cb1fd930 100644 --- a/sdk/subscription/arm-subscriptions/src/subscriptionClientContext.ts +++ b/sdk/subscription/arm-subscriptions/src/subscriptionClientContext.ts @@ -10,20 +10,26 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; +import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-subscriptions"; -const packageVersion = "3.0.0"; +const packageVersion = "3.1.0"; export class SubscriptionClientContext extends msRestAzure.AzureServiceClient { - credentials: msRest.ServiceClientCredentials; + credentials: msRest.ServiceClientCredentials | TokenCredential; /** * Initializes a new instance of the SubscriptionClient class. - * @param credentials Credentials needed for the client to connect to Azure. + * @param credentials Credentials needed for the client to connect to Azure. Credentials + * implementing the TokenCredential interface from the @azure/identity package are recommended. For + * more information about these credentials, see + * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the + * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and + * @azure/ms-rest-browserauth are also supported. * @param [options] The parameter options */ - constructor(credentials: msRest.ServiceClientCredentials, options?: Models.SubscriptionClientOptions) { + constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, options?: Models.SubscriptionClientOptions) { if (credentials == undefined) { throw new Error('\'credentials\' cannot be null.'); } From eb5b44c7c1d6636c6a810234bcbdad511fd61402 Mon Sep 17 00:00:00 2001 From: Wei Dong <40835867+dw511214992@users.noreply.github.com> Date: Mon, 12 Jul 2021 09:42:25 +0800 Subject: [PATCH 133/134] enable ci only when branch is feature/* --- eng/pipelines/mgmt-pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/pipelines/mgmt-pr.yml b/eng/pipelines/mgmt-pr.yml index 22ec82033297..ea6064520837 100644 --- a/eng/pipelines/mgmt-pr.yml +++ b/eng/pipelines/mgmt-pr.yml @@ -1,3 +1,7 @@ +trigger: + branches: + include: + - feature/* pr: branches: include: From 03ee84a8016f41c41864d1e48933f53a42553456 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 12 Jul 2021 18:41:41 +0000 Subject: [PATCH 134/134] CodeGen from PR 13945 in Azure/azure-rest-api-specs Merge 9fb392c3cc6d332236ea007c20f1481428e62521 into 571282bb195d489c7a127d8a5336bda35a3b282e --- sdk/locks/arm-locks/LICENSE.txt | 2 +- sdk/locks/arm-locks/README.md | 9 ++-- sdk/locks/arm-locks/package.json | 14 +++--- sdk/locks/arm-locks/rollup.config.js | 6 +-- .../arm-locks/src/managementLockClient.ts | 5 +-- .../src/managementLockClientContext.ts | 13 +++--- .../models/authorizationOperationsMappers.ts | 4 +- sdk/locks/arm-locks/src/models/index.ts | 44 +++++++++++++++++- .../src/models/managementLocksMappers.ts | 4 +- sdk/locks/arm-locks/src/models/mappers.ts | 4 +- sdk/locks/arm-locks/src/models/parameters.ts | 5 +-- .../src/operations/authorizationOperations.ts | 8 ++-- sdk/locks/arm-locks/src/operations/index.ts | 5 +-- .../src/operations/managementLocks.ts | 45 ++++++++++++------- sdk/locks/arm-locks/tsconfig.json | 2 +- 15 files changed, 110 insertions(+), 60 deletions(-) diff --git a/sdk/locks/arm-locks/LICENSE.txt b/sdk/locks/arm-locks/LICENSE.txt index b73b4a1293c3..2d3163745319 100644 --- a/sdk/locks/arm-locks/LICENSE.txt +++ b/sdk/locks/arm-locks/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/locks/arm-locks/README.md b/sdk/locks/arm-locks/README.md index cb93d1272533..41c37e538a08 100644 --- a/sdk/locks/arm-locks/README.md +++ b/sdk/locks/arm-locks/README.md @@ -1,11 +1,11 @@ ## Azure ManagementLockClient SDK for JavaScript -This package contains an isomorphic SDK (runs both in Node.js and in browsers) for ManagementLockClient. +This package contains an isomorphic SDK (runs both in node.js and in browsers) for ManagementLockClient. ### Currently supported environments - [LTS versions of Node.js](https://nodejs.org/about/releases/) -- Latest versions of Safari, Chrome, Edge, and Firefox. +- Latest versions of Safari, Chrome, Edge and Firefox. ### Prerequisites @@ -21,7 +21,6 @@ Install both packages using the below command: ```bash npm install --save @azure/arm-locks @azure/identity ``` - > **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features. If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options. @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/ In the below samples, we pass the credential and the Azure subscription id to instantiate the client. Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started. - #### nodejs - Authentication, client creation, and list authorizationOperations as an example written in JavaScript. ##### Sample code @@ -51,7 +49,6 @@ const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; // Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead. const creds = new DefaultAzureCredential(); const client = new ManagementLockClient(creds, subscriptionId); - client.authorizationOperations.list().then((result) => { console.log("The result is:"); console.log(result); @@ -86,7 +83,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t const credential = new InteractiveBrowserCredential( { clientId: "", - tenantId: "" + tenant: "" }); const client = new Azure.ArmLocks.ManagementLockClient(creds, subscriptionId); client.authorizationOperations.list().then((result) => { diff --git a/sdk/locks/arm-locks/package.json b/sdk/locks/arm-locks/package.json index 04b2b5689fe1..5a03e6842e33 100644 --- a/sdk/locks/arm-locks/package.json +++ b/sdk/locks/arm-locks/package.json @@ -4,10 +4,10 @@ "description": "ManagementLockClient Library with typescript type definitions for node.js and browser.", "version": "1.2.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.4.0", - "@azure/ms-rest-js": "^1.11.0", + "@azure/ms-rest-azure-js": "^2.1.0", + "@azure/ms-rest-js": "^2.2.0", "@azure/core-auth": "^1.1.4", - "tslib": "^1.9.3" + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -22,12 +22,12 @@ "types": "./esm/managementLockClient.d.ts", "devDependencies": { "typescript": "^3.6.0", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", - "uglify-js": "^3.4.9" + "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/locks/arm-locks", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/locks/arm-locks", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/locks/arm-locks/rollup.config.js b/sdk/locks/arm-locks/rollup.config.js index ad258f7a3de7..634feec9bd0f 100644 --- a/sdk/locks/arm-locks/rollup.config.js +++ b/sdk/locks/arm-locks/rollup.config.js @@ -21,15 +21,15 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */` }, plugins: [ - nodeResolve({ module: true }), + nodeResolve({ mainFields: ['module', 'main'] }), sourcemaps() ] }; diff --git a/sdk/locks/arm-locks/src/managementLockClient.ts b/sdk/locks/arm-locks/src/managementLockClient.ts index e732ae6e8de1..2430543d465e 100644 --- a/sdk/locks/arm-locks/src/managementLockClient.ts +++ b/sdk/locks/arm-locks/src/managementLockClient.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/locks/arm-locks/src/managementLockClientContext.ts b/sdk/locks/arm-locks/src/managementLockClientContext.ts index 49465f512f87..24e9d7fcb1d4 100644 --- a/sdk/locks/arm-locks/src/managementLockClientContext.ts +++ b/sdk/locks/arm-locks/src/managementLockClientContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -10,8 +9,8 @@ import * as Models from "./models"; import * as msRest from "@azure/ms-rest-js"; -import { TokenCredential } from "@azure/core-auth"; import * as msRestAzure from "@azure/ms-rest-azure-js"; +import { TokenCredential } from "@azure/core-auth"; const packageName = "@azure/arm-locks"; const packageVersion = "1.2.0"; @@ -43,7 +42,7 @@ export class ManagementLockClientContext extends msRestAzure.AzureServiceClient if (!options) { options = {}; } - if(!options.userAgent) { + if (!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } @@ -58,10 +57,10 @@ export class ManagementLockClientContext extends msRestAzure.AzureServiceClient this.credentials = credentials; this.subscriptionId = subscriptionId; - if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { + if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/locks/arm-locks/src/models/authorizationOperationsMappers.ts b/sdk/locks/arm-locks/src/models/authorizationOperationsMappers.ts index 689688180be7..938d3e665a23 100644 --- a/sdk/locks/arm-locks/src/models/authorizationOperationsMappers.ts +++ b/sdk/locks/arm-locks/src/models/authorizationOperationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/locks/arm-locks/src/models/index.ts b/sdk/locks/arm-locks/src/models/index.ts index cb1a27b7a18b..416c69793916 100644 --- a/sdk/locks/arm-locks/src/models/index.ts +++ b/sdk/locks/arm-locks/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -129,6 +129,46 @@ export interface ManagementLocksListByScopeOptionalParams extends msRest.Request filter?: string; } +/** + * Optional Parameters. + */ +export interface ManagementLocksListAtResourceGroupLevelNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagementLocksListAtResourceLevelNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagementLocksListAtSubscriptionLevelNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + +/** + * Optional Parameters. + */ +export interface ManagementLocksListByScopeNextOptionalParams extends msRest.RequestOptionsBase { + /** + * The filter to apply on the operation. + */ + filter?: string; +} + /** * An interface representing ManagementLockClientOptions. */ diff --git a/sdk/locks/arm-locks/src/models/managementLocksMappers.ts b/sdk/locks/arm-locks/src/models/managementLocksMappers.ts index 829964b3158a..ca0b95dc96f3 100644 --- a/sdk/locks/arm-locks/src/models/managementLocksMappers.ts +++ b/sdk/locks/arm-locks/src/models/managementLocksMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/locks/arm-locks/src/models/mappers.ts b/sdk/locks/arm-locks/src/models/mappers.ts index 6a0539a576e5..b4a81ecd3b4e 100644 --- a/sdk/locks/arm-locks/src/models/mappers.ts +++ b/sdk/locks/arm-locks/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/locks/arm-locks/src/models/parameters.ts b/sdk/locks/arm-locks/src/models/parameters.ts index fe8e8e08a3b1..df9eaad06d05 100644 --- a/sdk/locks/arm-locks/src/models/parameters.ts +++ b/sdk/locks/arm-locks/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/locks/arm-locks/src/operations/authorizationOperations.ts b/sdk/locks/arm-locks/src/operations/authorizationOperations.ts index 29d0a0621e3b..fa837ad33dba 100644 --- a/sdk/locks/arm-locks/src/operations/authorizationOperations.ts +++ b/sdk/locks/arm-locks/src/operations/authorizationOperations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -108,6 +107,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/locks/arm-locks/src/operations/index.ts b/sdk/locks/arm-locks/src/operations/index.ts index 83933898775f..7c3e495d3386 100644 --- a/sdk/locks/arm-locks/src/operations/index.ts +++ b/sdk/locks/arm-locks/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/locks/arm-locks/src/operations/managementLocks.ts b/sdk/locks/arm-locks/src/operations/managementLocks.ts index d6f3a7b68d01..894eda1a1ff1 100644 --- a/sdk/locks/arm-locks/src/operations/managementLocks.ts +++ b/sdk/locks/arm-locks/src/operations/managementLocks.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -656,7 +655,7 @@ export class ManagementLocks { * @param [options] The optional parameters * @returns Promise */ - listAtResourceGroupLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listAtResourceGroupLevelNext(nextPageLink: string, options?: Models.ManagementLocksListAtResourceGroupLevelNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -667,8 +666,8 @@ export class ManagementLocks { * @param options The optional parameters * @param callback The callback */ - listAtResourceGroupLevelNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtResourceGroupLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listAtResourceGroupLevelNext(nextPageLink: string, options: Models.ManagementLocksListAtResourceGroupLevelNextOptionalParams, callback: msRest.ServiceCallback): void; + listAtResourceGroupLevelNext(nextPageLink: string, options?: Models.ManagementLocksListAtResourceGroupLevelNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -684,7 +683,7 @@ export class ManagementLocks { * @param [options] The optional parameters * @returns Promise */ - listAtResourceLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listAtResourceLevelNext(nextPageLink: string, options?: Models.ManagementLocksListAtResourceLevelNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -695,8 +694,8 @@ export class ManagementLocks { * @param options The optional parameters * @param callback The callback */ - listAtResourceLevelNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtResourceLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listAtResourceLevelNext(nextPageLink: string, options: Models.ManagementLocksListAtResourceLevelNextOptionalParams, callback: msRest.ServiceCallback): void; + listAtResourceLevelNext(nextPageLink: string, options?: Models.ManagementLocksListAtResourceLevelNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -712,7 +711,7 @@ export class ManagementLocks { * @param [options] The optional parameters * @returns Promise */ - listAtSubscriptionLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listAtSubscriptionLevelNext(nextPageLink: string, options?: Models.ManagementLocksListAtSubscriptionLevelNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -723,8 +722,8 @@ export class ManagementLocks { * @param options The optional parameters * @param callback The callback */ - listAtSubscriptionLevelNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listAtSubscriptionLevelNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listAtSubscriptionLevelNext(nextPageLink: string, options: Models.ManagementLocksListAtSubscriptionLevelNextOptionalParams, callback: msRest.ServiceCallback): void; + listAtSubscriptionLevelNext(nextPageLink: string, options?: Models.ManagementLocksListAtSubscriptionLevelNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -740,7 +739,7 @@ export class ManagementLocks { * @param [options] The optional parameters * @returns Promise */ - listByScopeNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listByScopeNext(nextPageLink: string, options?: Models.ManagementLocksListByScopeNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -751,8 +750,8 @@ export class ManagementLocks { * @param options The optional parameters * @param callback The callback */ - listByScopeNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listByScopeNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listByScopeNext(nextPageLink: string, options: Models.ManagementLocksListByScopeNextOptionalParams, callback: msRest.ServiceCallback): void; + listByScopeNext(nextPageLink: string, options?: Models.ManagementLocksListByScopeNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -1216,6 +1215,10 @@ const listAtResourceGroupLevelNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1237,6 +1240,10 @@ const listAtResourceLevelNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1258,6 +1265,10 @@ const listAtSubscriptionLevelNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -1279,6 +1290,10 @@ const listByScopeNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.filter, + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/locks/arm-locks/tsconfig.json b/sdk/locks/arm-locks/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/locks/arm-locks/tsconfig.json +++ b/sdk/locks/arm-locks/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true